conductor-node-mcp 14.24.0 → 14.24.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3833,7 +3833,7 @@ const EMBEDDED_METHODS = [
3833
3833
  'unitOfMeasureSetId?: string;',
3834
3834
  ],
3835
3835
  response: "{ id: string; assetAccount: { id: string; fullName: string; }; averageCost: string; barcode: string; buildNotificationThreshold: number; class: { id: string; fullName: string; }; cogsAccount: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; incomeAccount: { id: string; fullName: string; }; isActive: boolean; lines: { inventoryItem: { id: string; fullName: string; }; quantity: number; }[]; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_assembly_item'; parent: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }",
3836
- markdown: "## create\n\n`conductor.qbd.inventoryAssemblyItems.create(assetAccountId: string, cogsAccountId: string, incomeAccountId: string, name: string, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, buildNotificationThreshold?: number, classId?: string, externalId?: string, inventoryDate?: string, isActive?: boolean, lines?: { inventoryItemId?: string; quantity?: number; }[], maximumQuantityOnHand?: number, parentId?: string, preferredVendorId?: string, purchaseCost?: string, purchaseDescription?: string, purchaseTaxCodeId?: string, quantityOnHand?: number, salesDescription?: string, salesPrice?: string, salesTaxCodeId?: string, totalValue?: string, unitOfMeasureSetId?: string): { id: string; assetAccount: object; averageCost: string; barcode: string; buildNotificationThreshold: number; class: object; cogsAccount: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; incomeAccount: object; isActive: boolean; lines: object[]; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_assembly_item'; parent: object; preferredVendor: object; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: object; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: object; sku: string; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/inventory-assembly-items`\n\nCreates an inventory assembly item that bundles existing inventory items.\n\n### Parameters\n\n- `assetAccountId: string`\n The asset account used to track the current value of this inventory assembly item in inventory.\n\n- `cogsAccountId: string`\n The Cost of Goods Sold (COGS) account for this inventory assembly item, tracking the original direct costs of producing goods sold.\n\n- `incomeAccountId: string`\n The income account used to track revenue from sales of this inventory assembly item.\n\n- `name: string`\n The case-insensitive name of this inventory assembly item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two inventory assembly items could both have the `name` \"Deluxe Kit\", but they could have unique `fullName` values, such as \"Assemblies:Deluxe Kit\" and \"Inventory:Deluxe Kit\".\n\nMaximum length: 31 characters.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The inventory assembly item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `buildNotificationThreshold?: number`\n The inventory assembly item's minimum quantity threshold that triggers a build notification in QuickBooks. When the sum of `quantityOnHand` (current inventory) and `quantityOnOrder` (pending purchase orders) drops below this threshold, QuickBooks will notify users that more units need to be built or assembled. This helps ensure adequate inventory levels for inventory assembly items.\n\n- `classId?: string`\n The inventory assembly item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `externalId?: string`\n A globally unique identifier (GUID) you, the developer, can provide for tracking this object in your external system. This field is immutable and can only be set during object creation.\n\n**IMPORTANT**: This field must be formatted as a valid GUID; otherwise, QuickBooks will return an error.\n\n- `inventoryDate?: string`\n The date when this inventory assembly item was converted into an inventory item from some other type of item, in ISO 8601 format (YYYY-MM-DD).\n\n- `isActive?: boolean`\n Indicates whether this inventory assembly item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `lines?: { inventoryItemId?: string; quantity?: number; }[]`\n The inventory assembly item's lines.\n\n- `maximumQuantityOnHand?: number`\n The maximum quantity of this inventory assembly item desired in inventory.\n\n- `parentId?: string`\n The parent inventory assembly item one level above this one in the hierarchy. For example, if this inventory assembly item has a `fullName` of \"Assemblies:Deluxe Kit\", its parent has a `fullName` of \"Assemblies\". If this inventory assembly item is at the top level, this field will be `null`.\n\n- `preferredVendorId?: string`\n The preferred vendor from whom this inventory assembly item is typically purchased.\n\n- `purchaseCost?: string`\n The cost at which this inventory assembly item is purchased from vendors, represented as a decimal string.\n\n- `purchaseDescription?: string`\n The description of this inventory assembly item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n\n- `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this inventory assembly item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n\n- `quantityOnHand?: number`\n The number of units of this inventory assembly item currently in inventory. `quantityOnHand` multiplied by `averageCost` equals `totalValue` for inventory item lists. To change the `quantityOnHand` for an inventory assembly item, you must use an inventory-adjustment instead of updating the inventory assembly item directly.\n\n- `salesDescription?: string`\n The description of this inventory assembly item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n\n- `salesPrice?: string`\n The price at which this inventory assembly item is sold to customers, represented as a decimal string.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this inventory assembly item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `totalValue?: string`\n The total value of this inventory assembly item, represented as a decimal string. If `totalValue` is provided, `quantityOnHand` must also be provided and must be greater than zero. If both `quantityOnHand` and `purchaseCost` are provided, then `totalValue` will be set to `quantityOnHand` times `purchaseCost`, regardless of what `totalValue` is explicitly set to.\n\nDecimal string format: exactly 2 decimal places when cents are included and up to 13 digits before the decimal point (for example, \"123.45\").\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this inventory assembly item, which consists of a base unit and related units.\n\n### Returns\n\n- `{ id: string; assetAccount: { id: string; fullName: string; }; averageCost: string; barcode: string; buildNotificationThreshold: number; class: { id: string; fullName: string; }; cogsAccount: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; incomeAccount: { id: string; fullName: string; }; isActive: boolean; lines: { inventoryItem: { id: string; fullName: string; }; quantity: number; }[]; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_assembly_item'; parent: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `assetAccount: { id: string; fullName: string; }`\n - `averageCost: string`\n - `barcode: string`\n - `buildNotificationThreshold: number`\n - `class: { id: string; fullName: string; }`\n - `cogsAccount: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `incomeAccount: { id: string; fullName: string; }`\n - `isActive: boolean`\n - `lines: { inventoryItem: { id: string; fullName: string; }; quantity: number; }[]`\n - `maximumQuantityOnHand: number`\n - `name: string`\n - `objectType: 'qbd_inventory_assembly_item'`\n - `parent: { id: string; fullName: string; }`\n - `preferredVendor: { id: string; fullName: string; }`\n - `purchaseCost: string`\n - `purchaseDescription: string`\n - `purchaseTaxCode: { id: string; fullName: string; }`\n - `quantityOnHand: number`\n - `quantityOnPurchaseOrder: number`\n - `quantityOnSalesOrder: number`\n - `revisionNumber: string`\n - `salesDescription: string`\n - `salesPrice: string`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sku: string`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst inventoryAssemblyItem = await conductor.qbd.inventoryAssemblyItems.create({\n assetAccountId: '80000001-1234567890',\n cogsAccountId: '80000001-1234567890',\n incomeAccountId: '80000001-1234567890',\n name: 'Deluxe Kit',\n conductorEndUserId: 'end_usr_1234567abcdefg',\n});\n\nconsole.log(inventoryAssemblyItem);\n```",
3836
+ markdown: "## create\n\n`conductor.qbd.inventoryAssemblyItems.create(assetAccountId: string, cogsAccountId: string, incomeAccountId: string, name: string, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, buildNotificationThreshold?: number, classId?: string, externalId?: string, inventoryDate?: string, isActive?: boolean, lines?: { inventoryItemId?: string; quantity?: number; }[], maximumQuantityOnHand?: number, parentId?: string, preferredVendorId?: string, purchaseCost?: string, purchaseDescription?: string, purchaseTaxCodeId?: string, quantityOnHand?: number, salesDescription?: string, salesPrice?: string, salesTaxCodeId?: string, totalValue?: string, unitOfMeasureSetId?: string): { id: string; assetAccount: object; averageCost: string; barcode: string; buildNotificationThreshold: number; class: object; cogsAccount: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; incomeAccount: object; isActive: boolean; lines: object[]; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_assembly_item'; parent: object; preferredVendor: object; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: object; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: object; sku: string; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/inventory-assembly-items`\n\nCreates an inventory assembly item that bundles existing inventory items.\n\n### Parameters\n\n- `assetAccountId: string`\n The asset account used to track the current value of this inventory assembly item in inventory.\n\n- `cogsAccountId: string`\n The Cost of Goods Sold (COGS) account for this inventory assembly item, tracking the original direct costs of producing goods sold.\n\n- `incomeAccountId: string`\n The income account used to track revenue from sales of this inventory assembly item.\n\n- `name: string`\n The case-insensitive name of this inventory assembly item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two inventory assembly items could both have the `name` \"Deluxe Kit\", but they could have unique `fullName` values, such as \"Assemblies:Deluxe Kit\" and \"Inventory:Deluxe Kit\".\n\nMaximum length: 31 characters.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The inventory assembly item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `buildNotificationThreshold?: number`\n The inventory assembly item's minimum quantity threshold that triggers a build notification in QuickBooks. When the sum of `quantityOnHand` (current inventory) and `quantityOnOrder` (pending purchase orders) drops below this threshold, QuickBooks will notify users that more units need to be built or assembled. This helps ensure adequate inventory levels for inventory assembly items.\n\n- `classId?: string`\n The inventory assembly item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `externalId?: string`\n A globally unique identifier (GUID) you, the developer, can provide for tracking this object in your external system. This field is immutable and can only be set during object creation.\n\n**IMPORTANT**: This field must be formatted as a valid GUID; otherwise, QuickBooks will return an error.\n\n- `inventoryDate?: string`\n The date when this inventory assembly item was converted into an inventory item from some other type of item, in ISO 8601 format (YYYY-MM-DD).\n\n- `isActive?: boolean`\n Indicates whether this inventory assembly item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `lines?: { inventoryItemId?: string; quantity?: number; }[]`\n The inventory assembly item's lines.\n\n- `maximumQuantityOnHand?: number`\n The maximum quantity of this inventory assembly item desired in inventory.\n\n- `parentId?: string`\n The parent inventory assembly item one level above this one in the hierarchy. For example, if this inventory assembly item has a `fullName` of \"Assemblies:Deluxe Kit\", its parent has a `fullName` of \"Assemblies\". If this inventory assembly item is at the top level, this field will be `null`.\n\n- `preferredVendorId?: string`\n The preferred vendor from whom this inventory assembly item is typically purchased.\n\n- `purchaseCost?: string`\n The cost at which this inventory assembly item is purchased from vendors, represented as a decimal string.\n\n- `purchaseDescription?: string`\n The description of this inventory assembly item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n\n- `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this inventory assembly item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n\n- `quantityOnHand?: number`\n The number of units of this inventory assembly item currently in inventory. `quantityOnHand` multiplied by `averageCost` equals `totalValue` for inventory item lists. To change the `quantityOnHand` for an inventory assembly item, you must use an inventory-adjustment instead of updating the inventory assembly item directly.\n\n- `salesDescription?: string`\n The description of this inventory assembly item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n\n- `salesPrice?: string`\n The price at which this inventory assembly item is sold to customers, represented as a decimal string.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this inventory assembly item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `totalValue?: string`\n The total value of this inventory assembly item, represented as a decimal string. If `totalValue` is provided, `quantityOnHand` must also be provided and must be greater than zero. If both `quantityOnHand` and `purchaseCost` are provided, then `totalValue` will be set to `quantityOnHand` times `purchaseCost`, regardless of what `totalValue` is explicitly set to.\n\nDecimal string format: exactly 2 decimal places when cents are included and up to 13 digits before the decimal point (for example, \"123.45\").\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this inventory assembly item, which consists of a base unit and related units.\n\nIMPORTANT: Right after QuickBooks Desktop launches, it can briefly report an alternate `id` for a unit-of-measure set, so match on `fullName` when joining to the unit-of-measure sets list.\n\n### Returns\n\n- `{ id: string; assetAccount: { id: string; fullName: string; }; averageCost: string; barcode: string; buildNotificationThreshold: number; class: { id: string; fullName: string; }; cogsAccount: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; incomeAccount: { id: string; fullName: string; }; isActive: boolean; lines: { inventoryItem: { id: string; fullName: string; }; quantity: number; }[]; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_assembly_item'; parent: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `assetAccount: { id: string; fullName: string; }`\n - `averageCost: string`\n - `barcode: string`\n - `buildNotificationThreshold: number`\n - `class: { id: string; fullName: string; }`\n - `cogsAccount: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `incomeAccount: { id: string; fullName: string; }`\n - `isActive: boolean`\n - `lines: { inventoryItem: { id: string; fullName: string; }; quantity: number; }[]`\n - `maximumQuantityOnHand: number`\n - `name: string`\n - `objectType: 'qbd_inventory_assembly_item'`\n - `parent: { id: string; fullName: string; }`\n - `preferredVendor: { id: string; fullName: string; }`\n - `purchaseCost: string`\n - `purchaseDescription: string`\n - `purchaseTaxCode: { id: string; fullName: string; }`\n - `quantityOnHand: number`\n - `quantityOnPurchaseOrder: number`\n - `quantityOnSalesOrder: number`\n - `revisionNumber: string`\n - `salesDescription: string`\n - `salesPrice: string`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sku: string`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst inventoryAssemblyItem = await conductor.qbd.inventoryAssemblyItems.create({\n assetAccountId: '80000001-1234567890',\n cogsAccountId: '80000001-1234567890',\n incomeAccountId: '80000001-1234567890',\n name: 'Deluxe Kit',\n conductorEndUserId: 'end_usr_1234567abcdefg',\n});\n\nconsole.log(inventoryAssemblyItem);\n```",
3837
3837
  perLanguage: {
3838
3838
  typescript: {
3839
3839
  method: 'client.qbd.inventoryAssemblyItems.create',
@@ -3950,7 +3950,7 @@ const EMBEDDED_METHODS = [
3950
3950
  'updateExistingTransactionsIncomeAccount?: boolean;',
3951
3951
  ],
3952
3952
  response: "{ id: string; assetAccount: { id: string; fullName: string; }; averageCost: string; barcode: string; buildNotificationThreshold: number; class: { id: string; fullName: string; }; cogsAccount: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; incomeAccount: { id: string; fullName: string; }; isActive: boolean; lines: { inventoryItem: { id: string; fullName: string; }; quantity: number; }[]; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_assembly_item'; parent: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }",
3953
- markdown: "## update\n\n`conductor.qbd.inventoryAssemblyItems.update(id: string, revisionNumber: string, Conductor-End-User-Id: string, assetAccountId?: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, buildNotificationThreshold?: number, classId?: string, clearItemLines?: boolean, cogsAccountId?: string, forceUnitOfMeasureChange?: boolean, incomeAccountId?: string, isActive?: boolean, lines?: { inventoryItemId?: string; quantity?: number; }[], maximumQuantityOnHand?: number, name?: string, parentId?: string, preferredVendorId?: string, purchaseCost?: string, purchaseDescription?: string, purchaseTaxCodeId?: string, salesDescription?: string, salesPrice?: string, salesTaxCodeId?: string, sku?: string, unitOfMeasureSetId?: string, updateExistingTransactionsIncomeAccount?: boolean): { id: string; assetAccount: object; averageCost: string; barcode: string; buildNotificationThreshold: number; class: object; cogsAccount: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; incomeAccount: object; isActive: boolean; lines: object[]; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_assembly_item'; parent: object; preferredVendor: object; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: object; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: object; sku: string; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/inventory-assembly-items/{id}`\n\nUpdates an inventory assembly item. If you change the income account, set `updateExistingTransactionsIncomeAccount` to true so QuickBooks applies the new account to existing transactions that use the assembly.\n\n### Parameters\n\n- `id: string`\n The QuickBooks-assigned unique identifier of the inventory assembly item to update.\n\n- `revisionNumber: string`\n The current QuickBooks-assigned revision number of the inventory assembly item object you are updating, which you can get by fetching the object first. Provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `assetAccountId?: string`\n The asset account used to track the current value of this inventory assembly item in inventory.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The inventory assembly item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `buildNotificationThreshold?: number`\n The inventory assembly item's minimum quantity threshold that triggers a build notification in QuickBooks. When the sum of `quantityOnHand` (current inventory) and `quantityOnOrder` (pending purchase orders) drops below this threshold, QuickBooks will notify users that more units need to be built or assembled. This helps ensure adequate inventory levels for inventory assembly items.\n\n- `classId?: string`\n The inventory assembly item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `clearItemLines?: boolean`\n When `true`, removes all existing item lines associated with this inventory assembly item. To modify or add individual item lines, use the field `itemLines` instead.\n\n- `cogsAccountId?: string`\n The Cost of Goods Sold (COGS) account for this inventory assembly item, tracking the original direct costs of producing goods sold.\n\n- `forceUnitOfMeasureChange?: boolean`\n Indicates whether to allow changing the inventory assembly item's unit-of-measure set (using the `unitOfMeasureSetId` field) when the base unit of the new unit-of-measure set does not match that of the currently assigned set. Without setting this field to `true` in this scenario, the request will fail with an error; hence, this field is equivalent to accepting the warning prompt in the QuickBooks UI.\n\nNOTE: Changing the base unit requires you to update the item's quantities-on-hand and cost to reflect the new unit; otherwise, these values will be inaccurate. Alternatively, consider creating a new item with the desired unit-of-measure set and deactivating the old item.\n\n- `incomeAccountId?: string`\n The income account used to track revenue from sales of this inventory assembly item.\n\n- `isActive?: boolean`\n Indicates whether this inventory assembly item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `lines?: { inventoryItemId?: string; quantity?: number; }[]`\n The inventory assembly item's lines.\n\n- `maximumQuantityOnHand?: number`\n The maximum quantity of this inventory assembly item desired in inventory.\n\n- `name?: string`\n The case-insensitive name of this inventory assembly item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two inventory assembly items could both have the `name` \"Deluxe Kit\", but they could have unique `fullName` values, such as \"Assemblies:Deluxe Kit\" and \"Inventory:Deluxe Kit\".\n\nMaximum length: 31 characters.\n\n- `parentId?: string`\n The parent inventory assembly item one level above this one in the hierarchy. For example, if this inventory assembly item has a `fullName` of \"Assemblies:Deluxe Kit\", its parent has a `fullName` of \"Assemblies\". If this inventory assembly item is at the top level, this field will be `null`.\n\n- `preferredVendorId?: string`\n The preferred vendor from whom this inventory assembly item is typically purchased.\n\n- `purchaseCost?: string`\n The cost at which this inventory assembly item is purchased from vendors, represented as a decimal string.\n\n- `purchaseDescription?: string`\n The description of this inventory assembly item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n\n- `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this inventory assembly item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n\n- `salesDescription?: string`\n The description of this inventory assembly item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n\n- `salesPrice?: string`\n The price at which this inventory assembly item is sold to customers, represented as a decimal string.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this inventory assembly item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `sku?: string`\n The inventory assembly item's stock keeping unit (SKU), which is sometimes the manufacturer's part number.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this inventory assembly item, which consists of a base unit and related units.\n\n- `updateExistingTransactionsIncomeAccount?: boolean`\n When `true`, applies the new income account (specified by the `incomeAccountId` field) to all existing transactions that use this inventory assembly item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n\n### Returns\n\n- `{ id: string; assetAccount: { id: string; fullName: string; }; averageCost: string; barcode: string; buildNotificationThreshold: number; class: { id: string; fullName: string; }; cogsAccount: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; incomeAccount: { id: string; fullName: string; }; isActive: boolean; lines: { inventoryItem: { id: string; fullName: string; }; quantity: number; }[]; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_assembly_item'; parent: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `assetAccount: { id: string; fullName: string; }`\n - `averageCost: string`\n - `barcode: string`\n - `buildNotificationThreshold: number`\n - `class: { id: string; fullName: string; }`\n - `cogsAccount: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `incomeAccount: { id: string; fullName: string; }`\n - `isActive: boolean`\n - `lines: { inventoryItem: { id: string; fullName: string; }; quantity: number; }[]`\n - `maximumQuantityOnHand: number`\n - `name: string`\n - `objectType: 'qbd_inventory_assembly_item'`\n - `parent: { id: string; fullName: string; }`\n - `preferredVendor: { id: string; fullName: string; }`\n - `purchaseCost: string`\n - `purchaseDescription: string`\n - `purchaseTaxCode: { id: string; fullName: string; }`\n - `quantityOnHand: number`\n - `quantityOnPurchaseOrder: number`\n - `quantityOnSalesOrder: number`\n - `revisionNumber: string`\n - `salesDescription: string`\n - `salesPrice: string`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sku: string`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst inventoryAssemblyItem = await conductor.qbd.inventoryAssemblyItems.update('80000001-1234567890', { revisionNumber: '1721172183', conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(inventoryAssemblyItem);\n```",
3953
+ markdown: "## update\n\n`conductor.qbd.inventoryAssemblyItems.update(id: string, revisionNumber: string, Conductor-End-User-Id: string, assetAccountId?: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, buildNotificationThreshold?: number, classId?: string, clearItemLines?: boolean, cogsAccountId?: string, forceUnitOfMeasureChange?: boolean, incomeAccountId?: string, isActive?: boolean, lines?: { inventoryItemId?: string; quantity?: number; }[], maximumQuantityOnHand?: number, name?: string, parentId?: string, preferredVendorId?: string, purchaseCost?: string, purchaseDescription?: string, purchaseTaxCodeId?: string, salesDescription?: string, salesPrice?: string, salesTaxCodeId?: string, sku?: string, unitOfMeasureSetId?: string, updateExistingTransactionsIncomeAccount?: boolean): { id: string; assetAccount: object; averageCost: string; barcode: string; buildNotificationThreshold: number; class: object; cogsAccount: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; incomeAccount: object; isActive: boolean; lines: object[]; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_assembly_item'; parent: object; preferredVendor: object; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: object; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: object; sku: string; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/inventory-assembly-items/{id}`\n\nUpdates an inventory assembly item. If you change the income account, set `updateExistingTransactionsIncomeAccount` to true so QuickBooks applies the new account to existing transactions that use the assembly.\n\n### Parameters\n\n- `id: string`\n The QuickBooks-assigned unique identifier of the inventory assembly item to update.\n\n- `revisionNumber: string`\n The current QuickBooks-assigned revision number of the inventory assembly item object you are updating, which you can get by fetching the object first. Provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `assetAccountId?: string`\n The asset account used to track the current value of this inventory assembly item in inventory.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The inventory assembly item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `buildNotificationThreshold?: number`\n The inventory assembly item's minimum quantity threshold that triggers a build notification in QuickBooks. When the sum of `quantityOnHand` (current inventory) and `quantityOnOrder` (pending purchase orders) drops below this threshold, QuickBooks will notify users that more units need to be built or assembled. This helps ensure adequate inventory levels for inventory assembly items.\n\n- `classId?: string`\n The inventory assembly item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `clearItemLines?: boolean`\n When `true`, removes all existing item lines associated with this inventory assembly item. To modify or add individual item lines, use the field `itemLines` instead.\n\n- `cogsAccountId?: string`\n The Cost of Goods Sold (COGS) account for this inventory assembly item, tracking the original direct costs of producing goods sold.\n\n- `forceUnitOfMeasureChange?: boolean`\n Indicates whether to allow changing the inventory assembly item's unit-of-measure set (using the `unitOfMeasureSetId` field) when the base unit of the new unit-of-measure set does not match that of the currently assigned set. Without setting this field to `true` in this scenario, the request will fail with an error; hence, this field is equivalent to accepting the warning prompt in the QuickBooks UI.\n\nNOTE: Changing the base unit requires you to update the item's quantities-on-hand and cost to reflect the new unit; otherwise, these values will be inaccurate. Alternatively, consider creating a new item with the desired unit-of-measure set and deactivating the old item.\n\n- `incomeAccountId?: string`\n The income account used to track revenue from sales of this inventory assembly item.\n\n- `isActive?: boolean`\n Indicates whether this inventory assembly item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `lines?: { inventoryItemId?: string; quantity?: number; }[]`\n The inventory assembly item's lines.\n\n- `maximumQuantityOnHand?: number`\n The maximum quantity of this inventory assembly item desired in inventory.\n\n- `name?: string`\n The case-insensitive name of this inventory assembly item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two inventory assembly items could both have the `name` \"Deluxe Kit\", but they could have unique `fullName` values, such as \"Assemblies:Deluxe Kit\" and \"Inventory:Deluxe Kit\".\n\nMaximum length: 31 characters.\n\n- `parentId?: string`\n The parent inventory assembly item one level above this one in the hierarchy. For example, if this inventory assembly item has a `fullName` of \"Assemblies:Deluxe Kit\", its parent has a `fullName` of \"Assemblies\". If this inventory assembly item is at the top level, this field will be `null`.\n\n- `preferredVendorId?: string`\n The preferred vendor from whom this inventory assembly item is typically purchased.\n\n- `purchaseCost?: string`\n The cost at which this inventory assembly item is purchased from vendors, represented as a decimal string.\n\n- `purchaseDescription?: string`\n The description of this inventory assembly item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n\n- `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this inventory assembly item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n\n- `salesDescription?: string`\n The description of this inventory assembly item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n\n- `salesPrice?: string`\n The price at which this inventory assembly item is sold to customers, represented as a decimal string.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this inventory assembly item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `sku?: string`\n The inventory assembly item's stock keeping unit (SKU), which is sometimes the manufacturer's part number.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this inventory assembly item, which consists of a base unit and related units.\n\nIMPORTANT: Right after QuickBooks Desktop launches, it can briefly report an alternate `id` for a unit-of-measure set, so match on `fullName` when joining to the unit-of-measure sets list.\n\n- `updateExistingTransactionsIncomeAccount?: boolean`\n When `true`, applies the new income account (specified by the `incomeAccountId` field) to all existing transactions that use this inventory assembly item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n\n### Returns\n\n- `{ id: string; assetAccount: { id: string; fullName: string; }; averageCost: string; barcode: string; buildNotificationThreshold: number; class: { id: string; fullName: string; }; cogsAccount: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; incomeAccount: { id: string; fullName: string; }; isActive: boolean; lines: { inventoryItem: { id: string; fullName: string; }; quantity: number; }[]; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_assembly_item'; parent: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `assetAccount: { id: string; fullName: string; }`\n - `averageCost: string`\n - `barcode: string`\n - `buildNotificationThreshold: number`\n - `class: { id: string; fullName: string; }`\n - `cogsAccount: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `incomeAccount: { id: string; fullName: string; }`\n - `isActive: boolean`\n - `lines: { inventoryItem: { id: string; fullName: string; }; quantity: number; }[]`\n - `maximumQuantityOnHand: number`\n - `name: string`\n - `objectType: 'qbd_inventory_assembly_item'`\n - `parent: { id: string; fullName: string; }`\n - `preferredVendor: { id: string; fullName: string; }`\n - `purchaseCost: string`\n - `purchaseDescription: string`\n - `purchaseTaxCode: { id: string; fullName: string; }`\n - `quantityOnHand: number`\n - `quantityOnPurchaseOrder: number`\n - `quantityOnSalesOrder: number`\n - `revisionNumber: string`\n - `salesDescription: string`\n - `salesPrice: string`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sku: string`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst inventoryAssemblyItem = await conductor.qbd.inventoryAssemblyItems.update('80000001-1234567890', { revisionNumber: '1721172183', conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(inventoryAssemblyItem);\n```",
3954
3954
  perLanguage: {
3955
3955
  typescript: {
3956
3956
  method: 'client.qbd.inventoryAssemblyItems.update',
@@ -4000,7 +4000,7 @@ const EMBEDDED_METHODS = [
4000
4000
  'unitOfMeasureSetId?: string;',
4001
4001
  ],
4002
4002
  response: "{ id: string; assetAccount: { id: string; fullName: string; }; averageCost: string; barcode: string; class: { id: string; fullName: string; }; cogsAccount: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; incomeAccount: { id: string; fullName: string; }; isActive: boolean; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_item'; parent: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; reorderPoint: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }",
4003
- markdown: "## create\n\n`conductor.qbd.inventoryItems.create(assetAccountId: string, cogsAccountId: string, incomeAccountId: string, name: string, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, classId?: string, externalId?: string, inventoryDate?: string, isActive?: boolean, maximumQuantityOnHand?: number, parentId?: string, preferredVendorId?: string, purchaseCost?: string, purchaseDescription?: string, purchaseTaxCodeId?: string, quantityOnHand?: number, reorderPoint?: number, salesDescription?: string, salesPrice?: string, salesTaxCodeId?: string, sku?: string, totalValue?: string, unitOfMeasureSetId?: string): { id: string; assetAccount: object; averageCost: string; barcode: string; class: object; cogsAccount: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; incomeAccount: object; isActive: boolean; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_item'; parent: object; preferredVendor: object; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: object; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; reorderPoint: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: object; sku: string; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/inventory-items`\n\nCreates a new inventory item.\n\n### Parameters\n\n- `assetAccountId: string`\n The asset account used to track the current value of this inventory item in inventory.\n\n- `cogsAccountId: string`\n The Cost of Goods Sold (COGS) account for this inventory item, tracking the original direct costs of producing goods sold.\n\n- `incomeAccountId: string`\n The income account used to track revenue from sales of this inventory item.\n\n- `name: string`\n The case-insensitive name of this inventory item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two inventory items could both have the `name` \"Cabinet\", but they could have unique `fullName` values, such as \"Kitchen:Cabinet\" and \"Inventory:Cabinet\".\n\nMaximum length: 31 characters.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The inventory item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `classId?: string`\n The inventory item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `externalId?: string`\n A globally unique identifier (GUID) you, the developer, can provide for tracking this object in your external system. This field is immutable and can only be set during object creation.\n\n**IMPORTANT**: This field must be formatted as a valid GUID; otherwise, QuickBooks will return an error.\n\n- `inventoryDate?: string`\n The date when this inventory item was converted into an inventory item from some other type of item, in ISO 8601 format (YYYY-MM-DD).\n\n- `isActive?: boolean`\n Indicates whether this inventory item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `maximumQuantityOnHand?: number`\n The maximum quantity of this inventory item desired in inventory.\n\n- `parentId?: string`\n The parent inventory item one level above this one in the hierarchy. For example, if this inventory item has a `fullName` of \"Kitchen:Cabinet\", its parent has a `fullName` of \"Kitchen\". If this inventory item is at the top level, this field will be `null`.\n\n- `preferredVendorId?: string`\n The preferred vendor from whom this inventory item is typically purchased.\n\n- `purchaseCost?: string`\n The cost at which this inventory item is purchased from vendors, represented as a decimal string.\n\n- `purchaseDescription?: string`\n The description of this inventory item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n\n- `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this inventory item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n\n- `quantityOnHand?: number`\n The number of units of this inventory item currently in inventory. `quantityOnHand` multiplied by `averageCost` equals `totalValue` for inventory item lists. To change the `quantityOnHand` for an inventory item, you must use an inventory-adjustment instead of updating the inventory item directly.\n\n- `reorderPoint?: number`\n The minimum quantity of this inventory item at which QuickBooks prompts for reordering.\n\n- `salesDescription?: string`\n The description of this inventory item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n\n- `salesPrice?: string`\n The price at which this inventory item is sold to customers, represented as a decimal string.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this inventory item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `sku?: string`\n The inventory item's stock keeping unit (SKU), which is sometimes the manufacturer's part number.\n\n- `totalValue?: string`\n The total value of this inventory item, represented as a decimal string. If `totalValue` is provided, `quantityOnHand` must also be provided and must be greater than zero. If both `quantityOnHand` and `purchaseCost` are provided, then `totalValue` will be set to `quantityOnHand` times `purchaseCost`, regardless of what `totalValue` is explicitly set to.\n\nDecimal string format: exactly 2 decimal places when cents are included and up to 13 digits before the decimal point (for example, \"123.45\").\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this inventory item, which consists of a base unit and related units.\n\n### Returns\n\n- `{ id: string; assetAccount: { id: string; fullName: string; }; averageCost: string; barcode: string; class: { id: string; fullName: string; }; cogsAccount: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; incomeAccount: { id: string; fullName: string; }; isActive: boolean; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_item'; parent: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; reorderPoint: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `assetAccount: { id: string; fullName: string; }`\n - `averageCost: string`\n - `barcode: string`\n - `class: { id: string; fullName: string; }`\n - `cogsAccount: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `incomeAccount: { id: string; fullName: string; }`\n - `isActive: boolean`\n - `maximumQuantityOnHand: number`\n - `name: string`\n - `objectType: 'qbd_inventory_item'`\n - `parent: { id: string; fullName: string; }`\n - `preferredVendor: { id: string; fullName: string; }`\n - `purchaseCost: string`\n - `purchaseDescription: string`\n - `purchaseTaxCode: { id: string; fullName: string; }`\n - `quantityOnHand: number`\n - `quantityOnPurchaseOrder: number`\n - `quantityOnSalesOrder: number`\n - `reorderPoint: number`\n - `revisionNumber: string`\n - `salesDescription: string`\n - `salesPrice: string`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sku: string`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst inventoryItem = await conductor.qbd.inventoryItems.create({\n assetAccountId: '80000001-1234567890',\n cogsAccountId: '80000001-1234567890',\n incomeAccountId: '80000001-1234567890',\n name: 'Cabinet',\n conductorEndUserId: 'end_usr_1234567abcdefg',\n});\n\nconsole.log(inventoryItem);\n```",
4003
+ markdown: "## create\n\n`conductor.qbd.inventoryItems.create(assetAccountId: string, cogsAccountId: string, incomeAccountId: string, name: string, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, classId?: string, externalId?: string, inventoryDate?: string, isActive?: boolean, maximumQuantityOnHand?: number, parentId?: string, preferredVendorId?: string, purchaseCost?: string, purchaseDescription?: string, purchaseTaxCodeId?: string, quantityOnHand?: number, reorderPoint?: number, salesDescription?: string, salesPrice?: string, salesTaxCodeId?: string, sku?: string, totalValue?: string, unitOfMeasureSetId?: string): { id: string; assetAccount: object; averageCost: string; barcode: string; class: object; cogsAccount: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; incomeAccount: object; isActive: boolean; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_item'; parent: object; preferredVendor: object; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: object; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; reorderPoint: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: object; sku: string; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/inventory-items`\n\nCreates a new inventory item.\n\n### Parameters\n\n- `assetAccountId: string`\n The asset account used to track the current value of this inventory item in inventory.\n\n- `cogsAccountId: string`\n The Cost of Goods Sold (COGS) account for this inventory item, tracking the original direct costs of producing goods sold.\n\n- `incomeAccountId: string`\n The income account used to track revenue from sales of this inventory item.\n\n- `name: string`\n The case-insensitive name of this inventory item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two inventory items could both have the `name` \"Cabinet\", but they could have unique `fullName` values, such as \"Kitchen:Cabinet\" and \"Inventory:Cabinet\".\n\nMaximum length: 31 characters.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The inventory item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `classId?: string`\n The inventory item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `externalId?: string`\n A globally unique identifier (GUID) you, the developer, can provide for tracking this object in your external system. This field is immutable and can only be set during object creation.\n\n**IMPORTANT**: This field must be formatted as a valid GUID; otherwise, QuickBooks will return an error.\n\n- `inventoryDate?: string`\n The date when this inventory item was converted into an inventory item from some other type of item, in ISO 8601 format (YYYY-MM-DD).\n\n- `isActive?: boolean`\n Indicates whether this inventory item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `maximumQuantityOnHand?: number`\n The maximum quantity of this inventory item desired in inventory.\n\n- `parentId?: string`\n The parent inventory item one level above this one in the hierarchy. For example, if this inventory item has a `fullName` of \"Kitchen:Cabinet\", its parent has a `fullName` of \"Kitchen\". If this inventory item is at the top level, this field will be `null`.\n\n- `preferredVendorId?: string`\n The preferred vendor from whom this inventory item is typically purchased.\n\n- `purchaseCost?: string`\n The cost at which this inventory item is purchased from vendors, represented as a decimal string.\n\n- `purchaseDescription?: string`\n The description of this inventory item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n\n- `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this inventory item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n\n- `quantityOnHand?: number`\n The number of units of this inventory item currently in inventory. `quantityOnHand` multiplied by `averageCost` equals `totalValue` for inventory item lists. To change the `quantityOnHand` for an inventory item, you must use an inventory-adjustment instead of updating the inventory item directly.\n\n- `reorderPoint?: number`\n The minimum quantity of this inventory item at which QuickBooks prompts for reordering.\n\n- `salesDescription?: string`\n The description of this inventory item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n\n- `salesPrice?: string`\n The price at which this inventory item is sold to customers, represented as a decimal string.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this inventory item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `sku?: string`\n The inventory item's stock keeping unit (SKU), which is sometimes the manufacturer's part number.\n\n- `totalValue?: string`\n The total value of this inventory item, represented as a decimal string. If `totalValue` is provided, `quantityOnHand` must also be provided and must be greater than zero. If both `quantityOnHand` and `purchaseCost` are provided, then `totalValue` will be set to `quantityOnHand` times `purchaseCost`, regardless of what `totalValue` is explicitly set to.\n\nDecimal string format: exactly 2 decimal places when cents are included and up to 13 digits before the decimal point (for example, \"123.45\").\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this inventory item, which consists of a base unit and related units.\n\nIMPORTANT: Right after QuickBooks Desktop launches, it can briefly report an alternate `id` for a unit-of-measure set, so match on `fullName` when joining to the unit-of-measure sets list.\n\n### Returns\n\n- `{ id: string; assetAccount: { id: string; fullName: string; }; averageCost: string; barcode: string; class: { id: string; fullName: string; }; cogsAccount: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; incomeAccount: { id: string; fullName: string; }; isActive: boolean; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_item'; parent: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; reorderPoint: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `assetAccount: { id: string; fullName: string; }`\n - `averageCost: string`\n - `barcode: string`\n - `class: { id: string; fullName: string; }`\n - `cogsAccount: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `incomeAccount: { id: string; fullName: string; }`\n - `isActive: boolean`\n - `maximumQuantityOnHand: number`\n - `name: string`\n - `objectType: 'qbd_inventory_item'`\n - `parent: { id: string; fullName: string; }`\n - `preferredVendor: { id: string; fullName: string; }`\n - `purchaseCost: string`\n - `purchaseDescription: string`\n - `purchaseTaxCode: { id: string; fullName: string; }`\n - `quantityOnHand: number`\n - `quantityOnPurchaseOrder: number`\n - `quantityOnSalesOrder: number`\n - `reorderPoint: number`\n - `revisionNumber: string`\n - `salesDescription: string`\n - `salesPrice: string`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sku: string`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst inventoryItem = await conductor.qbd.inventoryItems.create({\n assetAccountId: '80000001-1234567890',\n cogsAccountId: '80000001-1234567890',\n incomeAccountId: '80000001-1234567890',\n name: 'Cabinet',\n conductorEndUserId: 'end_usr_1234567abcdefg',\n});\n\nconsole.log(inventoryItem);\n```",
4004
4004
  perLanguage: {
4005
4005
  typescript: {
4006
4006
  method: 'client.qbd.inventoryItems.create',
@@ -4116,7 +4116,7 @@ const EMBEDDED_METHODS = [
4116
4116
  'updateExistingTransactionsIncomeAccount?: boolean;',
4117
4117
  ],
4118
4118
  response: "{ id: string; assetAccount: { id: string; fullName: string; }; averageCost: string; barcode: string; class: { id: string; fullName: string; }; cogsAccount: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; incomeAccount: { id: string; fullName: string; }; isActive: boolean; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_item'; parent: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; reorderPoint: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }",
4119
- markdown: "## update\n\n`conductor.qbd.inventoryItems.update(id: string, revisionNumber: string, Conductor-End-User-Id: string, assetAccountId?: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, classId?: string, cogsAccountId?: string, forceUnitOfMeasureChange?: boolean, incomeAccountId?: string, isActive?: boolean, maximumQuantityOnHand?: number, name?: string, parentId?: string, preferredVendorId?: string, purchaseCost?: string, purchaseDescription?: string, purchaseTaxCodeId?: string, reorderPoint?: number, salesDescription?: string, salesPrice?: string, salesTaxCodeId?: string, sku?: string, unitOfMeasureSetId?: string, updateExistingTransactionsCogsAccount?: boolean, updateExistingTransactionsIncomeAccount?: boolean): { id: string; assetAccount: object; averageCost: string; barcode: string; class: object; cogsAccount: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; incomeAccount: object; isActive: boolean; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_item'; parent: object; preferredVendor: object; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: object; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; reorderPoint: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: object; sku: string; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/inventory-items/{id}`\n\nUpdates an inventory item. If you switch the income account, set `updateExistingTransactionsIncomeAccount` to true so QuickBooks applies the new account to existing transactions that reference the item.\n\n### Parameters\n\n- `id: string`\n The QuickBooks-assigned unique identifier of the inventory item to update.\n\n- `revisionNumber: string`\n The current QuickBooks-assigned revision number of the inventory item object you are updating, which you can get by fetching the object first. Provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `assetAccountId?: string`\n The asset account used to track the current value of this inventory item in inventory.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The inventory item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `classId?: string`\n The inventory item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `cogsAccountId?: string`\n The Cost of Goods Sold (COGS) account for this inventory item, tracking the original direct costs of producing goods sold.\n\n- `forceUnitOfMeasureChange?: boolean`\n Indicates whether to allow changing the inventory item's unit-of-measure set (using the `unitOfMeasureSetId` field) when the base unit of the new unit-of-measure set does not match that of the currently assigned set. Without setting this field to `true` in this scenario, the request will fail with an error; hence, this field is equivalent to accepting the warning prompt in the QuickBooks UI.\n\nNOTE: Changing the base unit requires you to update the item's quantities-on-hand and cost to reflect the new unit; otherwise, these values will be inaccurate. Alternatively, consider creating a new item with the desired unit-of-measure set and deactivating the old item.\n\n- `incomeAccountId?: string`\n The income account used to track revenue from sales of this inventory item.\n\n- `isActive?: boolean`\n Indicates whether this inventory item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `maximumQuantityOnHand?: number`\n The maximum quantity of this inventory item desired in inventory.\n\n- `name?: string`\n The case-insensitive name of this inventory item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two inventory items could both have the `name` \"Cabinet\", but they could have unique `fullName` values, such as \"Kitchen:Cabinet\" and \"Inventory:Cabinet\".\n\nMaximum length: 31 characters.\n\n- `parentId?: string`\n The parent inventory item one level above this one in the hierarchy. For example, if this inventory item has a `fullName` of \"Kitchen:Cabinet\", its parent has a `fullName` of \"Kitchen\". If this inventory item is at the top level, this field will be `null`.\n\n- `preferredVendorId?: string`\n The preferred vendor from whom this inventory item is typically purchased.\n\n- `purchaseCost?: string`\n The cost at which this inventory item is purchased from vendors, represented as a decimal string.\n\n- `purchaseDescription?: string`\n The description of this inventory item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n\n- `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this inventory item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n\n- `reorderPoint?: number`\n The minimum quantity of this inventory item at which QuickBooks prompts for reordering.\n\n- `salesDescription?: string`\n The description of this inventory item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n\n- `salesPrice?: string`\n The price at which this inventory item is sold to customers, represented as a decimal string.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this inventory item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `sku?: string`\n The inventory item's stock keeping unit (SKU), which is sometimes the manufacturer's part number.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this inventory item, which consists of a base unit and related units.\n\n- `updateExistingTransactionsCogsAccount?: boolean`\n When `true`, applies the new COGS account (specified by the `cogsAccountId` field) to all existing transactions that use this inventory item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n\n- `updateExistingTransactionsIncomeAccount?: boolean`\n When `true`, applies the new income account (specified by the `incomeAccountId` field) to all existing transactions that use this inventory item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n\n### Returns\n\n- `{ id: string; assetAccount: { id: string; fullName: string; }; averageCost: string; barcode: string; class: { id: string; fullName: string; }; cogsAccount: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; incomeAccount: { id: string; fullName: string; }; isActive: boolean; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_item'; parent: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; reorderPoint: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `assetAccount: { id: string; fullName: string; }`\n - `averageCost: string`\n - `barcode: string`\n - `class: { id: string; fullName: string; }`\n - `cogsAccount: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `incomeAccount: { id: string; fullName: string; }`\n - `isActive: boolean`\n - `maximumQuantityOnHand: number`\n - `name: string`\n - `objectType: 'qbd_inventory_item'`\n - `parent: { id: string; fullName: string; }`\n - `preferredVendor: { id: string; fullName: string; }`\n - `purchaseCost: string`\n - `purchaseDescription: string`\n - `purchaseTaxCode: { id: string; fullName: string; }`\n - `quantityOnHand: number`\n - `quantityOnPurchaseOrder: number`\n - `quantityOnSalesOrder: number`\n - `reorderPoint: number`\n - `revisionNumber: string`\n - `salesDescription: string`\n - `salesPrice: string`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sku: string`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst inventoryItem = await conductor.qbd.inventoryItems.update('80000001-1234567890', { revisionNumber: '1721172183', conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(inventoryItem);\n```",
4119
+ markdown: "## update\n\n`conductor.qbd.inventoryItems.update(id: string, revisionNumber: string, Conductor-End-User-Id: string, assetAccountId?: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, classId?: string, cogsAccountId?: string, forceUnitOfMeasureChange?: boolean, incomeAccountId?: string, isActive?: boolean, maximumQuantityOnHand?: number, name?: string, parentId?: string, preferredVendorId?: string, purchaseCost?: string, purchaseDescription?: string, purchaseTaxCodeId?: string, reorderPoint?: number, salesDescription?: string, salesPrice?: string, salesTaxCodeId?: string, sku?: string, unitOfMeasureSetId?: string, updateExistingTransactionsCogsAccount?: boolean, updateExistingTransactionsIncomeAccount?: boolean): { id: string; assetAccount: object; averageCost: string; barcode: string; class: object; cogsAccount: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; incomeAccount: object; isActive: boolean; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_item'; parent: object; preferredVendor: object; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: object; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; reorderPoint: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: object; sku: string; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/inventory-items/{id}`\n\nUpdates an inventory item. If you switch the income account, set `updateExistingTransactionsIncomeAccount` to true so QuickBooks applies the new account to existing transactions that reference the item.\n\n### Parameters\n\n- `id: string`\n The QuickBooks-assigned unique identifier of the inventory item to update.\n\n- `revisionNumber: string`\n The current QuickBooks-assigned revision number of the inventory item object you are updating, which you can get by fetching the object first. Provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `assetAccountId?: string`\n The asset account used to track the current value of this inventory item in inventory.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The inventory item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `classId?: string`\n The inventory item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `cogsAccountId?: string`\n The Cost of Goods Sold (COGS) account for this inventory item, tracking the original direct costs of producing goods sold.\n\n- `forceUnitOfMeasureChange?: boolean`\n Indicates whether to allow changing the inventory item's unit-of-measure set (using the `unitOfMeasureSetId` field) when the base unit of the new unit-of-measure set does not match that of the currently assigned set. Without setting this field to `true` in this scenario, the request will fail with an error; hence, this field is equivalent to accepting the warning prompt in the QuickBooks UI.\n\nNOTE: Changing the base unit requires you to update the item's quantities-on-hand and cost to reflect the new unit; otherwise, these values will be inaccurate. Alternatively, consider creating a new item with the desired unit-of-measure set and deactivating the old item.\n\n- `incomeAccountId?: string`\n The income account used to track revenue from sales of this inventory item.\n\n- `isActive?: boolean`\n Indicates whether this inventory item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `maximumQuantityOnHand?: number`\n The maximum quantity of this inventory item desired in inventory.\n\n- `name?: string`\n The case-insensitive name of this inventory item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two inventory items could both have the `name` \"Cabinet\", but they could have unique `fullName` values, such as \"Kitchen:Cabinet\" and \"Inventory:Cabinet\".\n\nMaximum length: 31 characters.\n\n- `parentId?: string`\n The parent inventory item one level above this one in the hierarchy. For example, if this inventory item has a `fullName` of \"Kitchen:Cabinet\", its parent has a `fullName` of \"Kitchen\". If this inventory item is at the top level, this field will be `null`.\n\n- `preferredVendorId?: string`\n The preferred vendor from whom this inventory item is typically purchased.\n\n- `purchaseCost?: string`\n The cost at which this inventory item is purchased from vendors, represented as a decimal string.\n\n- `purchaseDescription?: string`\n The description of this inventory item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n\n- `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this inventory item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n\n- `reorderPoint?: number`\n The minimum quantity of this inventory item at which QuickBooks prompts for reordering.\n\n- `salesDescription?: string`\n The description of this inventory item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n\n- `salesPrice?: string`\n The price at which this inventory item is sold to customers, represented as a decimal string.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this inventory item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `sku?: string`\n The inventory item's stock keeping unit (SKU), which is sometimes the manufacturer's part number.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this inventory item, which consists of a base unit and related units.\n\nIMPORTANT: Right after QuickBooks Desktop launches, it can briefly report an alternate `id` for a unit-of-measure set, so match on `fullName` when joining to the unit-of-measure sets list.\n\n- `updateExistingTransactionsCogsAccount?: boolean`\n When `true`, applies the new COGS account (specified by the `cogsAccountId` field) to all existing transactions that use this inventory item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n\n- `updateExistingTransactionsIncomeAccount?: boolean`\n When `true`, applies the new income account (specified by the `incomeAccountId` field) to all existing transactions that use this inventory item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n\n### Returns\n\n- `{ id: string; assetAccount: { id: string; fullName: string; }; averageCost: string; barcode: string; class: { id: string; fullName: string; }; cogsAccount: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; incomeAccount: { id: string; fullName: string; }; isActive: boolean; maximumQuantityOnHand: number; name: string; objectType: 'qbd_inventory_item'; parent: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; quantityOnHand: number; quantityOnPurchaseOrder: number; quantityOnSalesOrder: number; reorderPoint: number; revisionNumber: string; salesDescription: string; salesPrice: string; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `assetAccount: { id: string; fullName: string; }`\n - `averageCost: string`\n - `barcode: string`\n - `class: { id: string; fullName: string; }`\n - `cogsAccount: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `incomeAccount: { id: string; fullName: string; }`\n - `isActive: boolean`\n - `maximumQuantityOnHand: number`\n - `name: string`\n - `objectType: 'qbd_inventory_item'`\n - `parent: { id: string; fullName: string; }`\n - `preferredVendor: { id: string; fullName: string; }`\n - `purchaseCost: string`\n - `purchaseDescription: string`\n - `purchaseTaxCode: { id: string; fullName: string; }`\n - `quantityOnHand: number`\n - `quantityOnPurchaseOrder: number`\n - `quantityOnSalesOrder: number`\n - `reorderPoint: number`\n - `revisionNumber: string`\n - `salesDescription: string`\n - `salesPrice: string`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sku: string`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst inventoryItem = await conductor.qbd.inventoryItems.update('80000001-1234567890', { revisionNumber: '1721172183', conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(inventoryItem);\n```",
4120
4120
  perLanguage: {
4121
4121
  typescript: {
4122
4122
  method: 'client.qbd.inventoryItems.update',
@@ -4518,7 +4518,7 @@ const EMBEDDED_METHODS = [
4518
4518
  'unitOfMeasureSetId?: string;',
4519
4519
  ],
4520
4520
  response: "{ id: string; barcode: string; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; description: string; externalId: string; isActive: boolean; lines: { item: { id: string; fullName: string; }; quantity: number; unitOfMeasure: string; }[]; name: string; objectType: 'qbd_item_group'; revisionNumber: string; shouldPrintItemsInGroup: boolean; specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal'; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }",
4521
- markdown: "## create\n\n`conductor.qbd.itemGroups.create(name: string, shouldPrintItemsInGroup: boolean, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, description?: string, externalId?: string, isActive?: boolean, lines?: { itemId?: string; quantity?: number; unitOfMeasure?: string; }[], unitOfMeasureSetId?: string): { id: string; barcode: string; createdAt: string; customFields: object[]; description: string; externalId: string; isActive: boolean; lines: object[]; name: string; objectType: 'qbd_item_group'; revisionNumber: string; shouldPrintItemsInGroup: boolean; specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal'; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/item-groups`\n\nCreates a new item group.\n\n### Parameters\n\n- `name: string`\n The case-insensitive unique name of this item group, unique across all item groups.\n\n**NOTE**: Item groups do not have a `fullName` field because they are not hierarchical objects, which is why `name` is unique for them but not for objects that have parents.\n\nMaximum length: 31 characters.\n\n- `shouldPrintItemsInGroup: boolean`\n Indicates whether the individual items in this item group and their separate amounts appear on printed forms.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The item group's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `description?: string`\n The item group's description that will appear on sales forms that include this item.\n\n- `externalId?: string`\n A globally unique identifier (GUID) you, the developer, can provide for tracking this object in your external system. This field is immutable and can only be set during object creation.\n\n**IMPORTANT**: This field must be formatted as a valid GUID; otherwise, QuickBooks will return an error.\n\n- `isActive?: boolean`\n Indicates whether this item group is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `lines?: { itemId?: string; quantity?: number; unitOfMeasure?: string; }[]`\n The item lines in this item group.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this item group, which consists of a base unit and related units.\n\n### Returns\n\n- `{ id: string; barcode: string; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; description: string; externalId: string; isActive: boolean; lines: { item: { id: string; fullName: string; }; quantity: number; unitOfMeasure: string; }[]; name: string; objectType: 'qbd_item_group'; revisionNumber: string; shouldPrintItemsInGroup: boolean; specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal'; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `barcode: string`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `description: string`\n - `externalId: string`\n - `isActive: boolean`\n - `lines: { item: { id: string; fullName: string; }; quantity: number; unitOfMeasure: string; }[]`\n - `name: string`\n - `objectType: 'qbd_item_group'`\n - `revisionNumber: string`\n - `shouldPrintItemsInGroup: boolean`\n - `specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal'`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst itemGroup = await conductor.qbd.itemGroups.create({\n name: 'Office Supplies Bundle',\n shouldPrintItemsInGroup: true,\n conductorEndUserId: 'end_usr_1234567abcdefg',\n});\n\nconsole.log(itemGroup);\n```",
4521
+ markdown: "## create\n\n`conductor.qbd.itemGroups.create(name: string, shouldPrintItemsInGroup: boolean, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, description?: string, externalId?: string, isActive?: boolean, lines?: { itemId?: string; quantity?: number; unitOfMeasure?: string; }[], unitOfMeasureSetId?: string): { id: string; barcode: string; createdAt: string; customFields: object[]; description: string; externalId: string; isActive: boolean; lines: object[]; name: string; objectType: 'qbd_item_group'; revisionNumber: string; shouldPrintItemsInGroup: boolean; specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal'; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/item-groups`\n\nCreates a new item group.\n\n### Parameters\n\n- `name: string`\n The case-insensitive unique name of this item group, unique across all item groups.\n\n**NOTE**: Item groups do not have a `fullName` field because they are not hierarchical objects, which is why `name` is unique for them but not for objects that have parents.\n\nMaximum length: 31 characters.\n\n- `shouldPrintItemsInGroup: boolean`\n Indicates whether the individual items in this item group and their separate amounts appear on printed forms.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The item group's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `description?: string`\n The item group's description that will appear on sales forms that include this item.\n\n- `externalId?: string`\n A globally unique identifier (GUID) you, the developer, can provide for tracking this object in your external system. This field is immutable and can only be set during object creation.\n\n**IMPORTANT**: This field must be formatted as a valid GUID; otherwise, QuickBooks will return an error.\n\n- `isActive?: boolean`\n Indicates whether this item group is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `lines?: { itemId?: string; quantity?: number; unitOfMeasure?: string; }[]`\n The item lines in this item group.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this item group, which consists of a base unit and related units.\n\nIMPORTANT: Right after QuickBooks Desktop launches, it can briefly report an alternate `id` for a unit-of-measure set, so match on `fullName` when joining to the unit-of-measure sets list.\n\n### Returns\n\n- `{ id: string; barcode: string; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; description: string; externalId: string; isActive: boolean; lines: { item: { id: string; fullName: string; }; quantity: number; unitOfMeasure: string; }[]; name: string; objectType: 'qbd_item_group'; revisionNumber: string; shouldPrintItemsInGroup: boolean; specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal'; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `barcode: string`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `description: string`\n - `externalId: string`\n - `isActive: boolean`\n - `lines: { item: { id: string; fullName: string; }; quantity: number; unitOfMeasure: string; }[]`\n - `name: string`\n - `objectType: 'qbd_item_group'`\n - `revisionNumber: string`\n - `shouldPrintItemsInGroup: boolean`\n - `specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal'`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst itemGroup = await conductor.qbd.itemGroups.create({\n name: 'Office Supplies Bundle',\n shouldPrintItemsInGroup: true,\n conductorEndUserId: 'end_usr_1234567abcdefg',\n});\n\nconsole.log(itemGroup);\n```",
4522
4522
  perLanguage: {
4523
4523
  typescript: {
4524
4524
  method: 'client.qbd.itemGroups.create',
@@ -4620,7 +4620,7 @@ const EMBEDDED_METHODS = [
4620
4620
  'unitOfMeasureSetId?: string;',
4621
4621
  ],
4622
4622
  response: "{ id: string; barcode: string; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; description: string; externalId: string; isActive: boolean; lines: { item: { id: string; fullName: string; }; quantity: number; unitOfMeasure: string; }[]; name: string; objectType: 'qbd_item_group'; revisionNumber: string; shouldPrintItemsInGroup: boolean; specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal'; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }",
4623
- markdown: "## update\n\n`conductor.qbd.itemGroups.update(id: string, revisionNumber: string, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, clearItemLines?: boolean, description?: string, forceUnitOfMeasureChange?: boolean, isActive?: boolean, lines?: { itemId?: string; quantity?: number; unitOfMeasure?: string; }[], name?: string, shouldPrintItemsInGroup?: boolean, unitOfMeasureSetId?: string): { id: string; barcode: string; createdAt: string; customFields: object[]; description: string; externalId: string; isActive: boolean; lines: object[]; name: string; objectType: 'qbd_item_group'; revisionNumber: string; shouldPrintItemsInGroup: boolean; specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal'; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/item-groups/{id}`\n\nUpdates an existing item group.\n\n### Parameters\n\n- `id: string`\n The QuickBooks-assigned unique identifier of the item group to update.\n\n- `revisionNumber: string`\n The current QuickBooks-assigned revision number of the item group object you are updating, which you can get by fetching the object first. Provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The item group's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `clearItemLines?: boolean`\n When `true`, removes all existing item lines associated with this item group. To modify or add individual item lines, use the field `itemLines` instead.\n\n- `description?: string`\n The item group's description that will appear on sales forms that include this item.\n\n- `forceUnitOfMeasureChange?: boolean`\n Indicates whether to allow changing the item group's unit-of-measure set (using the `unitOfMeasureSetId` field) when the base unit of the new unit-of-measure set does not match that of the currently assigned set. Without setting this field to `true` in this scenario, the request will fail with an error; hence, this field is equivalent to accepting the warning prompt in the QuickBooks UI.\n\nNOTE: Changing the base unit requires you to update the item's quantities-on-hand and cost to reflect the new unit; otherwise, these values will be inaccurate. Alternatively, consider creating a new item with the desired unit-of-measure set and deactivating the old item.\n\n- `isActive?: boolean`\n Indicates whether this item group is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `lines?: { itemId?: string; quantity?: number; unitOfMeasure?: string; }[]`\n The item lines in this item group.\n\n- `name?: string`\n The case-insensitive unique name of this item group, unique across all item groups.\n\n**NOTE**: Item groups do not have a `fullName` field because they are not hierarchical objects, which is why `name` is unique for them but not for objects that have parents.\n\nMaximum length: 31 characters.\n\n- `shouldPrintItemsInGroup?: boolean`\n Indicates whether the individual items in this item group and their separate amounts appear on printed forms.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this item group, which consists of a base unit and related units.\n\n### Returns\n\n- `{ id: string; barcode: string; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; description: string; externalId: string; isActive: boolean; lines: { item: { id: string; fullName: string; }; quantity: number; unitOfMeasure: string; }[]; name: string; objectType: 'qbd_item_group'; revisionNumber: string; shouldPrintItemsInGroup: boolean; specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal'; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `barcode: string`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `description: string`\n - `externalId: string`\n - `isActive: boolean`\n - `lines: { item: { id: string; fullName: string; }; quantity: number; unitOfMeasure: string; }[]`\n - `name: string`\n - `objectType: 'qbd_item_group'`\n - `revisionNumber: string`\n - `shouldPrintItemsInGroup: boolean`\n - `specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal'`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst itemGroup = await conductor.qbd.itemGroups.update('80000001-1234567890', { revisionNumber: '1721172183', conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(itemGroup);\n```",
4623
+ markdown: "## update\n\n`conductor.qbd.itemGroups.update(id: string, revisionNumber: string, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, clearItemLines?: boolean, description?: string, forceUnitOfMeasureChange?: boolean, isActive?: boolean, lines?: { itemId?: string; quantity?: number; unitOfMeasure?: string; }[], name?: string, shouldPrintItemsInGroup?: boolean, unitOfMeasureSetId?: string): { id: string; barcode: string; createdAt: string; customFields: object[]; description: string; externalId: string; isActive: boolean; lines: object[]; name: string; objectType: 'qbd_item_group'; revisionNumber: string; shouldPrintItemsInGroup: boolean; specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal'; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/item-groups/{id}`\n\nUpdates an existing item group.\n\n### Parameters\n\n- `id: string`\n The QuickBooks-assigned unique identifier of the item group to update.\n\n- `revisionNumber: string`\n The current QuickBooks-assigned revision number of the item group object you are updating, which you can get by fetching the object first. Provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The item group's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `clearItemLines?: boolean`\n When `true`, removes all existing item lines associated with this item group. To modify or add individual item lines, use the field `itemLines` instead.\n\n- `description?: string`\n The item group's description that will appear on sales forms that include this item.\n\n- `forceUnitOfMeasureChange?: boolean`\n Indicates whether to allow changing the item group's unit-of-measure set (using the `unitOfMeasureSetId` field) when the base unit of the new unit-of-measure set does not match that of the currently assigned set. Without setting this field to `true` in this scenario, the request will fail with an error; hence, this field is equivalent to accepting the warning prompt in the QuickBooks UI.\n\nNOTE: Changing the base unit requires you to update the item's quantities-on-hand and cost to reflect the new unit; otherwise, these values will be inaccurate. Alternatively, consider creating a new item with the desired unit-of-measure set and deactivating the old item.\n\n- `isActive?: boolean`\n Indicates whether this item group is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `lines?: { itemId?: string; quantity?: number; unitOfMeasure?: string; }[]`\n The item lines in this item group.\n\n- `name?: string`\n The case-insensitive unique name of this item group, unique across all item groups.\n\n**NOTE**: Item groups do not have a `fullName` field because they are not hierarchical objects, which is why `name` is unique for them but not for objects that have parents.\n\nMaximum length: 31 characters.\n\n- `shouldPrintItemsInGroup?: boolean`\n Indicates whether the individual items in this item group and their separate amounts appear on printed forms.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this item group, which consists of a base unit and related units.\n\nIMPORTANT: Right after QuickBooks Desktop launches, it can briefly report an alternate `id` for a unit-of-measure set, so match on `fullName` when joining to the unit-of-measure sets list.\n\n### Returns\n\n- `{ id: string; barcode: string; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; description: string; externalId: string; isActive: boolean; lines: { item: { id: string; fullName: string; }; quantity: number; unitOfMeasure: string; }[]; name: string; objectType: 'qbd_item_group'; revisionNumber: string; shouldPrintItemsInGroup: boolean; specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal'; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `barcode: string`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `description: string`\n - `externalId: string`\n - `isActive: boolean`\n - `lines: { item: { id: string; fullName: string; }; quantity: number; unitOfMeasure: string; }[]`\n - `name: string`\n - `objectType: 'qbd_item_group'`\n - `revisionNumber: string`\n - `shouldPrintItemsInGroup: boolean`\n - `specialItemType: 'finance_charge' | 'reimbursable_expense_group' | 'reimbursable_expense_subtotal'`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst itemGroup = await conductor.qbd.itemGroups.update('80000001-1234567890', { revisionNumber: '1721172183', conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(itemGroup);\n```",
4624
4624
  perLanguage: {
4625
4625
  typescript: {
4626
4626
  method: 'client.qbd.itemGroups.update',
@@ -5109,7 +5109,7 @@ const EMBEDDED_METHODS = [
5109
5109
  'unitOfMeasureSetId?: string;',
5110
5110
  ],
5111
5111
  response: "{ id: string; barcode: string; class: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_non_inventory_item'; parent: { id: string; fullName: string; }; revisionNumber: string; salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }; salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }",
5112
- markdown: "## create\n\n`conductor.qbd.nonInventoryItems.create(name: string, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, classId?: string, externalId?: string, isActive?: boolean, parentId?: string, salesAndPurchaseDetails?: { expenseAccountId: string; incomeAccountId: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; }, salesOrPurchaseDetails?: { postingAccountId: string; description?: string; price?: string; pricePercentage?: string; }, salesTaxCodeId?: string, sku?: string, unitOfMeasureSetId?: string): { id: string; barcode: string; class: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_non_inventory_item'; parent: object; revisionNumber: string; salesAndPurchaseDetails: object; salesOrPurchaseDetails: object; salesTaxCode: object; sku: string; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/non-inventory-items`\n\nCreates a new non-inventory item.\n\n### Parameters\n\n- `name: string`\n The case-insensitive name of this non-inventory item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two non-inventory items could both have the `name` \"Printer Ink Cartridge\", but they could have unique `fullName` values, such as \"Office Supplies:Printer Ink Cartridge\" and \"Miscellaneous:Printer Ink Cartridge\".\n\nMaximum length: 31 characters.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The non-inventory item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `classId?: string`\n The non-inventory item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `externalId?: string`\n A globally unique identifier (GUID) you, the developer, can provide for tracking this object in your external system. This field is immutable and can only be set during object creation.\n\n**IMPORTANT**: This field must be formatted as a valid GUID; otherwise, QuickBooks will return an error.\n\n- `isActive?: boolean`\n Indicates whether this non-inventory item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `parentId?: string`\n The parent non-inventory item one level above this one in the hierarchy. For example, if this non-inventory item has a `fullName` of \"Office Supplies:Printer Ink Cartridge\", its parent has a `fullName` of \"Office Supplies\". If this non-inventory item is at the top level, this field will be `null`.\n\n- `salesAndPurchaseDetails?: { expenseAccountId: string; incomeAccountId: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; }`\n Details for non-inventory items that are both purchased and sold, such as reimbursable expenses or inventory items that are bought from vendors and sold to customers.\n\n**IMPORTANT**: You must specify either `salesAndPurchaseDetails` or `salesOrPurchaseDetails` when creating a non-inventory item, but never both because an item cannot have both configurations.\n - `expenseAccountId: string`\n The expense account used to track costs from purchases of this item.\n - `incomeAccountId: string`\n The income account used to track revenue from sales of this item.\n - `preferredVendorId?: string`\n The preferred vendor from whom this item is typically purchased.\n - `purchaseCost?: string`\n The cost at which this item is purchased from vendors, represented as a decimal string.\n - `purchaseDescription?: string`\n The description of this item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n - `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n - `salesDescription?: string`\n The description of this item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n - `salesPrice?: string`\n The price at which this item is sold to customers, represented as a decimal string.\n\n- `salesOrPurchaseDetails?: { postingAccountId: string; description?: string; price?: string; pricePercentage?: string; }`\n Details for non-inventory items that are exclusively sold or exclusively purchased, but not both. This typically applies to non-inventory items (like a purchased office supply that isn't resold) or service items (like consulting services that are sold but not purchased).\n\n**IMPORTANT**: You must specify either `salesOrPurchaseDetails` or `salesAndPurchaseDetails` when creating a non-inventory item, but never both because an item cannot have both configurations.\n - `postingAccountId: string`\n The posting account to which transactions involving this item are posted. This could be an income account when selling or an expense account when purchasing.\n - `description?: string`\n A description of this item.\n - `price?: string`\n The price at which this item is purchased or sold, represented as a decimal string.\n - `pricePercentage?: string`\n The price of this item expressed as a percentage, used instead of `price` when the item's cost is calculated as a percentage of another amount. For example, a service item that costs a percentage of another item's price.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this non-inventory item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `sku?: string`\n The non-inventory item's stock keeping unit (SKU), which is sometimes the manufacturer's part number.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this non-inventory item, which consists of a base unit and related units.\n\n### Returns\n\n- `{ id: string; barcode: string; class: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_non_inventory_item'; parent: { id: string; fullName: string; }; revisionNumber: string; salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }; salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `barcode: string`\n - `class: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `isActive: boolean`\n - `name: string`\n - `objectType: 'qbd_non_inventory_item'`\n - `parent: { id: string; fullName: string; }`\n - `revisionNumber: string`\n - `salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }`\n - `salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sku: string`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst nonInventoryItem = await conductor.qbd.nonInventoryItems.create({ name: 'Printer Ink Cartridge', conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(nonInventoryItem);\n```",
5112
+ markdown: "## create\n\n`conductor.qbd.nonInventoryItems.create(name: string, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, classId?: string, externalId?: string, isActive?: boolean, parentId?: string, salesAndPurchaseDetails?: { expenseAccountId: string; incomeAccountId: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; }, salesOrPurchaseDetails?: { postingAccountId: string; description?: string; price?: string; pricePercentage?: string; }, salesTaxCodeId?: string, sku?: string, unitOfMeasureSetId?: string): { id: string; barcode: string; class: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_non_inventory_item'; parent: object; revisionNumber: string; salesAndPurchaseDetails: object; salesOrPurchaseDetails: object; salesTaxCode: object; sku: string; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/non-inventory-items`\n\nCreates a new non-inventory item.\n\n### Parameters\n\n- `name: string`\n The case-insensitive name of this non-inventory item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two non-inventory items could both have the `name` \"Printer Ink Cartridge\", but they could have unique `fullName` values, such as \"Office Supplies:Printer Ink Cartridge\" and \"Miscellaneous:Printer Ink Cartridge\".\n\nMaximum length: 31 characters.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The non-inventory item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `classId?: string`\n The non-inventory item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `externalId?: string`\n A globally unique identifier (GUID) you, the developer, can provide for tracking this object in your external system. This field is immutable and can only be set during object creation.\n\n**IMPORTANT**: This field must be formatted as a valid GUID; otherwise, QuickBooks will return an error.\n\n- `isActive?: boolean`\n Indicates whether this non-inventory item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `parentId?: string`\n The parent non-inventory item one level above this one in the hierarchy. For example, if this non-inventory item has a `fullName` of \"Office Supplies:Printer Ink Cartridge\", its parent has a `fullName` of \"Office Supplies\". If this non-inventory item is at the top level, this field will be `null`.\n\n- `salesAndPurchaseDetails?: { expenseAccountId: string; incomeAccountId: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; }`\n Details for non-inventory items that are both purchased and sold, such as reimbursable expenses or inventory items that are bought from vendors and sold to customers.\n\n**IMPORTANT**: You must specify either `salesAndPurchaseDetails` or `salesOrPurchaseDetails` when creating a non-inventory item, but never both because an item cannot have both configurations.\n - `expenseAccountId: string`\n The expense account used to track costs from purchases of this item.\n - `incomeAccountId: string`\n The income account used to track revenue from sales of this item.\n - `preferredVendorId?: string`\n The preferred vendor from whom this item is typically purchased.\n - `purchaseCost?: string`\n The cost at which this item is purchased from vendors, represented as a decimal string.\n - `purchaseDescription?: string`\n The description of this item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n - `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n - `salesDescription?: string`\n The description of this item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n - `salesPrice?: string`\n The price at which this item is sold to customers, represented as a decimal string.\n\n- `salesOrPurchaseDetails?: { postingAccountId: string; description?: string; price?: string; pricePercentage?: string; }`\n Details for non-inventory items that are exclusively sold or exclusively purchased, but not both. This typically applies to non-inventory items (like a purchased office supply that isn't resold) or service items (like consulting services that are sold but not purchased).\n\n**IMPORTANT**: You must specify either `salesOrPurchaseDetails` or `salesAndPurchaseDetails` when creating a non-inventory item, but never both because an item cannot have both configurations.\n - `postingAccountId: string`\n The posting account to which transactions involving this item are posted. This could be an income account when selling or an expense account when purchasing.\n - `description?: string`\n A description of this item.\n - `price?: string`\n The price at which this item is purchased or sold, represented as a decimal string.\n - `pricePercentage?: string`\n The price of this item expressed as a percentage, used instead of `price` when the item's cost is calculated as a percentage of another amount. For example, a service item that costs a percentage of another item's price.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this non-inventory item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `sku?: string`\n The non-inventory item's stock keeping unit (SKU), which is sometimes the manufacturer's part number.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this non-inventory item, which consists of a base unit and related units.\n\nIMPORTANT: Right after QuickBooks Desktop launches, it can briefly report an alternate `id` for a unit-of-measure set, so match on `fullName` when joining to the unit-of-measure sets list.\n\n### Returns\n\n- `{ id: string; barcode: string; class: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_non_inventory_item'; parent: { id: string; fullName: string; }; revisionNumber: string; salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }; salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `barcode: string`\n - `class: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `isActive: boolean`\n - `name: string`\n - `objectType: 'qbd_non_inventory_item'`\n - `parent: { id: string; fullName: string; }`\n - `revisionNumber: string`\n - `salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }`\n - `salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sku: string`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst nonInventoryItem = await conductor.qbd.nonInventoryItems.create({ name: 'Printer Ink Cartridge', conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(nonInventoryItem);\n```",
5113
5113
  perLanguage: {
5114
5114
  typescript: {
5115
5115
  method: 'client.qbd.nonInventoryItems.create',
@@ -5214,7 +5214,7 @@ const EMBEDDED_METHODS = [
5214
5214
  'unitOfMeasureSetId?: string;',
5215
5215
  ],
5216
5216
  response: "{ id: string; barcode: string; class: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_non_inventory_item'; parent: { id: string; fullName: string; }; revisionNumber: string; salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }; salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }",
5217
- markdown: "## update\n\n`conductor.qbd.nonInventoryItems.update(id: string, revisionNumber: string, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, classId?: string, forceUnitOfMeasureChange?: boolean, isActive?: boolean, name?: string, parentId?: string, salesAndPurchaseDetails?: { expenseAccountId?: string; incomeAccountId?: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; updateExistingTransactionsExpenseAccount?: boolean; updateExistingTransactionsIncomeAccount?: boolean; }, salesOrPurchaseDetails?: { description?: string; postingAccountId?: string; price?: string; pricePercentage?: string; updateExistingTransactionsAccount?: boolean; }, salesTaxCodeId?: string, sku?: string, unitOfMeasureSetId?: string): { id: string; barcode: string; class: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_non_inventory_item'; parent: object; revisionNumber: string; salesAndPurchaseDetails: object; salesOrPurchaseDetails: object; salesTaxCode: object; sku: string; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/non-inventory-items/{id}`\n\nUpdates a non-inventory item. You can modify either `salesOrPurchaseDetails` or `salesAndPurchaseDetails`, but the item must keep the same configuration it was created with. When you change `postingAccount`, `incomeAccount`, or `expenseAccount`, include the matching `updateExistingTransactions...` flag so QuickBooks applies the new account to existing transactions and doesn’t reject the update when historical activity is present.\n\n### Parameters\n\n- `id: string`\n The QuickBooks-assigned unique identifier of the non-inventory item to update.\n\n- `revisionNumber: string`\n The current QuickBooks-assigned revision number of the non-inventory item object you are updating, which you can get by fetching the object first. Provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The non-inventory item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `classId?: string`\n The non-inventory item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `forceUnitOfMeasureChange?: boolean`\n Indicates whether to allow changing the non-inventory item's unit-of-measure set (using the `unitOfMeasureSetId` field) when the base unit of the new unit-of-measure set does not match that of the currently assigned set. Without setting this field to `true` in this scenario, the request will fail with an error; hence, this field is equivalent to accepting the warning prompt in the QuickBooks UI.\n\nNOTE: Changing the base unit requires you to update the item's quantities-on-hand and cost to reflect the new unit; otherwise, these values will be inaccurate. Alternatively, consider creating a new item with the desired unit-of-measure set and deactivating the old item.\n\n- `isActive?: boolean`\n Indicates whether this non-inventory item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `name?: string`\n The case-insensitive name of this non-inventory item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two non-inventory items could both have the `name` \"Printer Ink Cartridge\", but they could have unique `fullName` values, such as \"Office Supplies:Printer Ink Cartridge\" and \"Miscellaneous:Printer Ink Cartridge\".\n\nMaximum length: 31 characters.\n\n- `parentId?: string`\n The parent non-inventory item one level above this one in the hierarchy. For example, if this non-inventory item has a `fullName` of \"Office Supplies:Printer Ink Cartridge\", its parent has a `fullName` of \"Office Supplies\". If this non-inventory item is at the top level, this field will be `null`.\n\n- `salesAndPurchaseDetails?: { expenseAccountId?: string; incomeAccountId?: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; updateExistingTransactionsExpenseAccount?: boolean; updateExistingTransactionsIncomeAccount?: boolean; }`\n Details for non-inventory items that are both purchased and sold, such as reimbursable expenses or inventory items that are bought from vendors and sold to customers.\n\n**IMPORTANT**: You cannot specify both `salesAndPurchaseDetails` and `salesOrPurchaseDetails` when modifying a non-inventory item because an item cannot have both configurations.\n - `expenseAccountId?: string`\n The expense account used to track costs from purchases of this item.\n - `incomeAccountId?: string`\n The income account used to track revenue from sales of this item.\n - `preferredVendorId?: string`\n The preferred vendor from whom this item is typically purchased.\n - `purchaseCost?: string`\n The cost at which this item is purchased from vendors, represented as a decimal string.\n - `purchaseDescription?: string`\n The description of this item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n - `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n - `salesDescription?: string`\n The description of this item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n - `salesPrice?: string`\n The price at which this item is sold to customers, represented as a decimal string.\n - `updateExistingTransactionsExpenseAccount?: boolean`\n When `true`, applies the new expense account (specified by the `expenseAccountId` field) to all existing transactions that use this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n - `updateExistingTransactionsIncomeAccount?: boolean`\n When `true`, applies the new income account (specified by the `incomeAccountId` field) to all existing transactions that use this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n\n- `salesOrPurchaseDetails?: { description?: string; postingAccountId?: string; price?: string; pricePercentage?: string; updateExistingTransactionsAccount?: boolean; }`\n Details for non-inventory items that are exclusively sold or exclusively purchased, but not both. This typically applies to non-inventory items (like a purchased office supply that isn't resold) or service items (like consulting services that are sold but not purchased).\n\n**IMPORTANT**: You cannot specify both `salesOrPurchaseDetails` and `salesAndPurchaseDetails` when modifying a non-inventory item because an item cannot have both configurations.\n - `description?: string`\n A description of this item.\n - `postingAccountId?: string`\n The posting account to which transactions involving this item are posted. This could be an income account when selling or an expense account when purchasing.\n - `price?: string`\n The price at which this item is purchased or sold, represented as a decimal string.\n - `pricePercentage?: string`\n The price of this item expressed as a percentage, used instead of `price` when the item's cost is calculated as a percentage of another amount. For example, a service item that costs a percentage of another item's price.\n - `updateExistingTransactionsAccount?: boolean`\n When `true`, applies the new account (specified by the `accountId` field) to all existing transactions associated with this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this non-inventory item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `sku?: string`\n The non-inventory item's stock keeping unit (SKU), which is sometimes the manufacturer's part number.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this non-inventory item, which consists of a base unit and related units.\n\n### Returns\n\n- `{ id: string; barcode: string; class: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_non_inventory_item'; parent: { id: string; fullName: string; }; revisionNumber: string; salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }; salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `barcode: string`\n - `class: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `isActive: boolean`\n - `name: string`\n - `objectType: 'qbd_non_inventory_item'`\n - `parent: { id: string; fullName: string; }`\n - `revisionNumber: string`\n - `salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }`\n - `salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sku: string`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst nonInventoryItem = await conductor.qbd.nonInventoryItems.update('80000001-1234567890', { revisionNumber: '1721172183', conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(nonInventoryItem);\n```",
5217
+ markdown: "## update\n\n`conductor.qbd.nonInventoryItems.update(id: string, revisionNumber: string, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, classId?: string, forceUnitOfMeasureChange?: boolean, isActive?: boolean, name?: string, parentId?: string, salesAndPurchaseDetails?: { expenseAccountId?: string; incomeAccountId?: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; updateExistingTransactionsExpenseAccount?: boolean; updateExistingTransactionsIncomeAccount?: boolean; }, salesOrPurchaseDetails?: { description?: string; postingAccountId?: string; price?: string; pricePercentage?: string; updateExistingTransactionsAccount?: boolean; }, salesTaxCodeId?: string, sku?: string, unitOfMeasureSetId?: string): { id: string; barcode: string; class: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_non_inventory_item'; parent: object; revisionNumber: string; salesAndPurchaseDetails: object; salesOrPurchaseDetails: object; salesTaxCode: object; sku: string; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/non-inventory-items/{id}`\n\nUpdates a non-inventory item. You can modify either `salesOrPurchaseDetails` or `salesAndPurchaseDetails`, but the item must keep the same configuration it was created with. When you change `postingAccount`, `incomeAccount`, or `expenseAccount`, include the matching `updateExistingTransactions...` flag so QuickBooks applies the new account to existing transactions and doesn’t reject the update when historical activity is present.\n\n### Parameters\n\n- `id: string`\n The QuickBooks-assigned unique identifier of the non-inventory item to update.\n\n- `revisionNumber: string`\n The current QuickBooks-assigned revision number of the non-inventory item object you are updating, which you can get by fetching the object first. Provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The non-inventory item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `classId?: string`\n The non-inventory item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `forceUnitOfMeasureChange?: boolean`\n Indicates whether to allow changing the non-inventory item's unit-of-measure set (using the `unitOfMeasureSetId` field) when the base unit of the new unit-of-measure set does not match that of the currently assigned set. Without setting this field to `true` in this scenario, the request will fail with an error; hence, this field is equivalent to accepting the warning prompt in the QuickBooks UI.\n\nNOTE: Changing the base unit requires you to update the item's quantities-on-hand and cost to reflect the new unit; otherwise, these values will be inaccurate. Alternatively, consider creating a new item with the desired unit-of-measure set and deactivating the old item.\n\n- `isActive?: boolean`\n Indicates whether this non-inventory item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `name?: string`\n The case-insensitive name of this non-inventory item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two non-inventory items could both have the `name` \"Printer Ink Cartridge\", but they could have unique `fullName` values, such as \"Office Supplies:Printer Ink Cartridge\" and \"Miscellaneous:Printer Ink Cartridge\".\n\nMaximum length: 31 characters.\n\n- `parentId?: string`\n The parent non-inventory item one level above this one in the hierarchy. For example, if this non-inventory item has a `fullName` of \"Office Supplies:Printer Ink Cartridge\", its parent has a `fullName` of \"Office Supplies\". If this non-inventory item is at the top level, this field will be `null`.\n\n- `salesAndPurchaseDetails?: { expenseAccountId?: string; incomeAccountId?: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; updateExistingTransactionsExpenseAccount?: boolean; updateExistingTransactionsIncomeAccount?: boolean; }`\n Details for non-inventory items that are both purchased and sold, such as reimbursable expenses or inventory items that are bought from vendors and sold to customers.\n\n**IMPORTANT**: You cannot specify both `salesAndPurchaseDetails` and `salesOrPurchaseDetails` when modifying a non-inventory item because an item cannot have both configurations.\n - `expenseAccountId?: string`\n The expense account used to track costs from purchases of this item.\n - `incomeAccountId?: string`\n The income account used to track revenue from sales of this item.\n - `preferredVendorId?: string`\n The preferred vendor from whom this item is typically purchased.\n - `purchaseCost?: string`\n The cost at which this item is purchased from vendors, represented as a decimal string.\n - `purchaseDescription?: string`\n The description of this item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n - `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n - `salesDescription?: string`\n The description of this item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n - `salesPrice?: string`\n The price at which this item is sold to customers, represented as a decimal string.\n - `updateExistingTransactionsExpenseAccount?: boolean`\n When `true`, applies the new expense account (specified by the `expenseAccountId` field) to all existing transactions that use this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n - `updateExistingTransactionsIncomeAccount?: boolean`\n When `true`, applies the new income account (specified by the `incomeAccountId` field) to all existing transactions that use this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n\n- `salesOrPurchaseDetails?: { description?: string; postingAccountId?: string; price?: string; pricePercentage?: string; updateExistingTransactionsAccount?: boolean; }`\n Details for non-inventory items that are exclusively sold or exclusively purchased, but not both. This typically applies to non-inventory items (like a purchased office supply that isn't resold) or service items (like consulting services that are sold but not purchased).\n\n**IMPORTANT**: You cannot specify both `salesOrPurchaseDetails` and `salesAndPurchaseDetails` when modifying a non-inventory item because an item cannot have both configurations.\n - `description?: string`\n A description of this item.\n - `postingAccountId?: string`\n The posting account to which transactions involving this item are posted. This could be an income account when selling or an expense account when purchasing.\n - `price?: string`\n The price at which this item is purchased or sold, represented as a decimal string.\n - `pricePercentage?: string`\n The price of this item expressed as a percentage, used instead of `price` when the item's cost is calculated as a percentage of another amount. For example, a service item that costs a percentage of another item's price.\n - `updateExistingTransactionsAccount?: boolean`\n When `true`, applies the new account (specified by the `accountId` field) to all existing transactions associated with this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this non-inventory item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `sku?: string`\n The non-inventory item's stock keeping unit (SKU), which is sometimes the manufacturer's part number.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this non-inventory item, which consists of a base unit and related units.\n\nIMPORTANT: Right after QuickBooks Desktop launches, it can briefly report an alternate `id` for a unit-of-measure set, so match on `fullName` when joining to the unit-of-measure sets list.\n\n### Returns\n\n- `{ id: string; barcode: string; class: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_non_inventory_item'; parent: { id: string; fullName: string; }; revisionNumber: string; salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }; salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }; salesTaxCode: { id: string; fullName: string; }; sku: string; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `barcode: string`\n - `class: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `isActive: boolean`\n - `name: string`\n - `objectType: 'qbd_non_inventory_item'`\n - `parent: { id: string; fullName: string; }`\n - `revisionNumber: string`\n - `salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }`\n - `salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sku: string`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst nonInventoryItem = await conductor.qbd.nonInventoryItems.update('80000001-1234567890', { revisionNumber: '1721172183', conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(nonInventoryItem);\n```",
5218
5218
  perLanguage: {
5219
5219
  typescript: {
5220
5220
  method: 'client.qbd.nonInventoryItems.update',
@@ -7938,7 +7938,7 @@ const EMBEDDED_METHODS = [
7938
7938
  'unitOfMeasureSetId?: string;',
7939
7939
  ],
7940
7940
  response: "{ id: string; barcode: string; class: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_service_item'; parent: { id: string; fullName: string; }; revisionNumber: string; salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }; salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }; salesTaxCode: { id: string; fullName: string; }; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }",
7941
- markdown: "## create\n\n`conductor.qbd.serviceItems.create(name: string, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, classId?: string, externalId?: string, isActive?: boolean, parentId?: string, salesAndPurchaseDetails?: { expenseAccountId: string; incomeAccountId: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; }, salesOrPurchaseDetails?: { postingAccountId: string; description?: string; price?: string; pricePercentage?: string; }, salesTaxCodeId?: string, unitOfMeasureSetId?: string): { id: string; barcode: string; class: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_service_item'; parent: object; revisionNumber: string; salesAndPurchaseDetails: object; salesOrPurchaseDetails: object; salesTaxCode: object; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/service-items`\n\nCreates a new service item.\n\n### Parameters\n\n- `name: string`\n The case-insensitive name of this service item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two service items could both have the `name` \"Web-Design\", but they could have unique `fullName` values, such as \"Consulting:Web-Design\" and \"Contracting:Web-Design\".\n\nMaximum length: 31 characters.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The service item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `classId?: string`\n The service item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `externalId?: string`\n A globally unique identifier (GUID) you, the developer, can provide for tracking this object in your external system. This field is immutable and can only be set during object creation.\n\n**IMPORTANT**: This field must be formatted as a valid GUID; otherwise, QuickBooks will return an error.\n\n- `isActive?: boolean`\n Indicates whether this service item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `parentId?: string`\n The parent service item one level above this one in the hierarchy. For example, if this service item has a `fullName` of \"Consulting:Web-Design\", its parent has a `fullName` of \"Consulting\". If this service item is at the top level, this field will be `null`.\n\n- `salesAndPurchaseDetails?: { expenseAccountId: string; incomeAccountId: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; }`\n Details for service items that are both purchased and sold, such as reimbursable expenses or inventory items that are bought from vendors and sold to customers.\n\n**IMPORTANT**: You must specify either `salesAndPurchaseDetails` or `salesOrPurchaseDetails` when creating a service item, but never both because an item cannot have both configurations.\n - `expenseAccountId: string`\n The expense account used to track costs from purchases of this item.\n - `incomeAccountId: string`\n The income account used to track revenue from sales of this item.\n - `preferredVendorId?: string`\n The preferred vendor from whom this item is typically purchased.\n - `purchaseCost?: string`\n The cost at which this item is purchased from vendors, represented as a decimal string.\n - `purchaseDescription?: string`\n The description of this item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n - `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n - `salesDescription?: string`\n The description of this item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n - `salesPrice?: string`\n The price at which this item is sold to customers, represented as a decimal string.\n\n- `salesOrPurchaseDetails?: { postingAccountId: string; description?: string; price?: string; pricePercentage?: string; }`\n Details for service items that are exclusively sold or exclusively purchased, but not both. This typically applies to non-inventory items (like a purchased office supply that isn't resold) or service items (like consulting services that are sold but not purchased).\n\n**IMPORTANT**: You must specify either `salesOrPurchaseDetails` or `salesAndPurchaseDetails` when creating a service item, but never both because an item cannot have both configurations.\n - `postingAccountId: string`\n The posting account to which transactions involving this item are posted. This could be an income account when selling or an expense account when purchasing.\n - `description?: string`\n A description of this item.\n - `price?: string`\n The price at which this item is purchased or sold, represented as a decimal string.\n - `pricePercentage?: string`\n The price of this item expressed as a percentage, used instead of `price` when the item's cost is calculated as a percentage of another amount. For example, a service item that costs a percentage of another item's price.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this service item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this service item, which consists of a base unit and related units.\n\n### Returns\n\n- `{ id: string; barcode: string; class: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_service_item'; parent: { id: string; fullName: string; }; revisionNumber: string; salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }; salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }; salesTaxCode: { id: string; fullName: string; }; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `barcode: string`\n - `class: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `isActive: boolean`\n - `name: string`\n - `objectType: 'qbd_service_item'`\n - `parent: { id: string; fullName: string; }`\n - `revisionNumber: string`\n - `salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }`\n - `salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst serviceItem = await conductor.qbd.serviceItems.create({ name: 'Web-Design', conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(serviceItem);\n```",
7941
+ markdown: "## create\n\n`conductor.qbd.serviceItems.create(name: string, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, classId?: string, externalId?: string, isActive?: boolean, parentId?: string, salesAndPurchaseDetails?: { expenseAccountId: string; incomeAccountId: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; }, salesOrPurchaseDetails?: { postingAccountId: string; description?: string; price?: string; pricePercentage?: string; }, salesTaxCodeId?: string, unitOfMeasureSetId?: string): { id: string; barcode: string; class: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_service_item'; parent: object; revisionNumber: string; salesAndPurchaseDetails: object; salesOrPurchaseDetails: object; salesTaxCode: object; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/service-items`\n\nCreates a new service item.\n\n### Parameters\n\n- `name: string`\n The case-insensitive name of this service item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two service items could both have the `name` \"Web-Design\", but they could have unique `fullName` values, such as \"Consulting:Web-Design\" and \"Contracting:Web-Design\".\n\nMaximum length: 31 characters.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The service item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `classId?: string`\n The service item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `externalId?: string`\n A globally unique identifier (GUID) you, the developer, can provide for tracking this object in your external system. This field is immutable and can only be set during object creation.\n\n**IMPORTANT**: This field must be formatted as a valid GUID; otherwise, QuickBooks will return an error.\n\n- `isActive?: boolean`\n Indicates whether this service item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `parentId?: string`\n The parent service item one level above this one in the hierarchy. For example, if this service item has a `fullName` of \"Consulting:Web-Design\", its parent has a `fullName` of \"Consulting\". If this service item is at the top level, this field will be `null`.\n\n- `salesAndPurchaseDetails?: { expenseAccountId: string; incomeAccountId: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; }`\n Details for service items that are both purchased and sold, such as reimbursable expenses or inventory items that are bought from vendors and sold to customers.\n\n**IMPORTANT**: You must specify either `salesAndPurchaseDetails` or `salesOrPurchaseDetails` when creating a service item, but never both because an item cannot have both configurations.\n - `expenseAccountId: string`\n The expense account used to track costs from purchases of this item.\n - `incomeAccountId: string`\n The income account used to track revenue from sales of this item.\n - `preferredVendorId?: string`\n The preferred vendor from whom this item is typically purchased.\n - `purchaseCost?: string`\n The cost at which this item is purchased from vendors, represented as a decimal string.\n - `purchaseDescription?: string`\n The description of this item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n - `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n - `salesDescription?: string`\n The description of this item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n - `salesPrice?: string`\n The price at which this item is sold to customers, represented as a decimal string.\n\n- `salesOrPurchaseDetails?: { postingAccountId: string; description?: string; price?: string; pricePercentage?: string; }`\n Details for service items that are exclusively sold or exclusively purchased, but not both. This typically applies to non-inventory items (like a purchased office supply that isn't resold) or service items (like consulting services that are sold but not purchased).\n\n**IMPORTANT**: You must specify either `salesOrPurchaseDetails` or `salesAndPurchaseDetails` when creating a service item, but never both because an item cannot have both configurations.\n - `postingAccountId: string`\n The posting account to which transactions involving this item are posted. This could be an income account when selling or an expense account when purchasing.\n - `description?: string`\n A description of this item.\n - `price?: string`\n The price at which this item is purchased or sold, represented as a decimal string.\n - `pricePercentage?: string`\n The price of this item expressed as a percentage, used instead of `price` when the item's cost is calculated as a percentage of another amount. For example, a service item that costs a percentage of another item's price.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this service item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this service item, which consists of a base unit and related units.\n\nIMPORTANT: Right after QuickBooks Desktop launches, it can briefly report an alternate `id` for a unit-of-measure set, so match on `fullName` when joining to the unit-of-measure sets list.\n\n### Returns\n\n- `{ id: string; barcode: string; class: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_service_item'; parent: { id: string; fullName: string; }; revisionNumber: string; salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }; salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }; salesTaxCode: { id: string; fullName: string; }; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `barcode: string`\n - `class: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `isActive: boolean`\n - `name: string`\n - `objectType: 'qbd_service_item'`\n - `parent: { id: string; fullName: string; }`\n - `revisionNumber: string`\n - `salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }`\n - `salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst serviceItem = await conductor.qbd.serviceItems.create({ name: 'Web-Design', conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(serviceItem);\n```",
7942
7942
  perLanguage: {
7943
7943
  typescript: {
7944
7944
  method: 'client.qbd.serviceItems.create',
@@ -8042,7 +8042,7 @@ const EMBEDDED_METHODS = [
8042
8042
  'unitOfMeasureSetId?: string;',
8043
8043
  ],
8044
8044
  response: "{ id: string; barcode: string; class: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_service_item'; parent: { id: string; fullName: string; }; revisionNumber: string; salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }; salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }; salesTaxCode: { id: string; fullName: string; }; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }",
8045
- markdown: "## update\n\n`conductor.qbd.serviceItems.update(id: string, revisionNumber: string, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, classId?: string, forceUnitOfMeasureChange?: boolean, isActive?: boolean, name?: string, parentId?: string, salesAndPurchaseDetails?: { expenseAccountId?: string; incomeAccountId?: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; updateExistingTransactionsExpenseAccount?: boolean; updateExistingTransactionsIncomeAccount?: boolean; }, salesOrPurchaseDetails?: { description?: string; postingAccountId?: string; price?: string; pricePercentage?: string; updateExistingTransactionsAccount?: boolean; }, salesTaxCodeId?: string, unitOfMeasureSetId?: string): { id: string; barcode: string; class: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_service_item'; parent: object; revisionNumber: string; salesAndPurchaseDetails: object; salesOrPurchaseDetails: object; salesTaxCode: object; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/service-items/{id}`\n\nUpdates a service item’s details, including its accounts and unit-of-measure set. QuickBooks won’t let you convert a sell-only service into a buy-and-sell service (or the reverse); create a separate item instead. If you’re switching the unit of measure, set `forceUnitOfMeasureChange` so QuickBooks replaces it on existing forms.\n\n### Parameters\n\n- `id: string`\n The QuickBooks-assigned unique identifier of the service item to update.\n\n- `revisionNumber: string`\n The current QuickBooks-assigned revision number of the service item object you are updating, which you can get by fetching the object first. Provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The service item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `classId?: string`\n The service item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `forceUnitOfMeasureChange?: boolean`\n Indicates whether to allow changing the service item's unit-of-measure set (using the `unitOfMeasureSetId` field) when the base unit of the new unit-of-measure set does not match that of the currently assigned set. Without setting this field to `true` in this scenario, the request will fail with an error; hence, this field is equivalent to accepting the warning prompt in the QuickBooks UI.\n\nNOTE: Changing the base unit requires you to update the item's quantities-on-hand and cost to reflect the new unit; otherwise, these values will be inaccurate. Alternatively, consider creating a new item with the desired unit-of-measure set and deactivating the old item.\n\n- `isActive?: boolean`\n Indicates whether this service item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `name?: string`\n The case-insensitive name of this service item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two service items could both have the `name` \"Web-Design\", but they could have unique `fullName` values, such as \"Consulting:Web-Design\" and \"Contracting:Web-Design\".\n\nMaximum length: 31 characters.\n\n- `parentId?: string`\n The parent service item one level above this one in the hierarchy. For example, if this service item has a `fullName` of \"Consulting:Web-Design\", its parent has a `fullName` of \"Consulting\". If this service item is at the top level, this field will be `null`.\n\n- `salesAndPurchaseDetails?: { expenseAccountId?: string; incomeAccountId?: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; updateExistingTransactionsExpenseAccount?: boolean; updateExistingTransactionsIncomeAccount?: boolean; }`\n Details for service items that are both purchased and sold, such as reimbursable expenses or inventory items that are bought from vendors and sold to customers.\n\n**IMPORTANT**: You cannot specify both `salesAndPurchaseDetails` and `salesOrPurchaseDetails` when modifying a service item because an item cannot have both configurations.\n - `expenseAccountId?: string`\n The expense account used to track costs from purchases of this item.\n - `incomeAccountId?: string`\n The income account used to track revenue from sales of this item.\n - `preferredVendorId?: string`\n The preferred vendor from whom this item is typically purchased.\n - `purchaseCost?: string`\n The cost at which this item is purchased from vendors, represented as a decimal string.\n - `purchaseDescription?: string`\n The description of this item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n - `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n - `salesDescription?: string`\n The description of this item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n - `salesPrice?: string`\n The price at which this item is sold to customers, represented as a decimal string.\n - `updateExistingTransactionsExpenseAccount?: boolean`\n When `true`, applies the new expense account (specified by the `expenseAccountId` field) to all existing transactions that use this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n - `updateExistingTransactionsIncomeAccount?: boolean`\n When `true`, applies the new income account (specified by the `incomeAccountId` field) to all existing transactions that use this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n\n- `salesOrPurchaseDetails?: { description?: string; postingAccountId?: string; price?: string; pricePercentage?: string; updateExistingTransactionsAccount?: boolean; }`\n Details for service items that are exclusively sold or exclusively purchased, but not both. This typically applies to non-inventory items (like a purchased office supply that isn't resold) or service items (like consulting services that are sold but not purchased).\n\n**IMPORTANT**: You cannot specify both `salesOrPurchaseDetails` and `salesAndPurchaseDetails` when modifying a service item because an item cannot have both configurations.\n - `description?: string`\n A description of this item.\n - `postingAccountId?: string`\n The posting account to which transactions involving this item are posted. This could be an income account when selling or an expense account when purchasing.\n - `price?: string`\n The price at which this item is purchased or sold, represented as a decimal string.\n - `pricePercentage?: string`\n The price of this item expressed as a percentage, used instead of `price` when the item's cost is calculated as a percentage of another amount. For example, a service item that costs a percentage of another item's price.\n - `updateExistingTransactionsAccount?: boolean`\n When `true`, applies the new account (specified by the `accountId` field) to all existing transactions associated with this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this service item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this service item, which consists of a base unit and related units.\n\n### Returns\n\n- `{ id: string; barcode: string; class: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_service_item'; parent: { id: string; fullName: string; }; revisionNumber: string; salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }; salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }; salesTaxCode: { id: string; fullName: string; }; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `barcode: string`\n - `class: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `isActive: boolean`\n - `name: string`\n - `objectType: 'qbd_service_item'`\n - `parent: { id: string; fullName: string; }`\n - `revisionNumber: string`\n - `salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }`\n - `salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst serviceItem = await conductor.qbd.serviceItems.update('80000001-1234567890', { revisionNumber: '1721172183', conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(serviceItem);\n```",
8045
+ markdown: "## update\n\n`conductor.qbd.serviceItems.update(id: string, revisionNumber: string, Conductor-End-User-Id: string, barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }, classId?: string, forceUnitOfMeasureChange?: boolean, isActive?: boolean, name?: string, parentId?: string, salesAndPurchaseDetails?: { expenseAccountId?: string; incomeAccountId?: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; updateExistingTransactionsExpenseAccount?: boolean; updateExistingTransactionsIncomeAccount?: boolean; }, salesOrPurchaseDetails?: { description?: string; postingAccountId?: string; price?: string; pricePercentage?: string; updateExistingTransactionsAccount?: boolean; }, salesTaxCodeId?: string, unitOfMeasureSetId?: string): { id: string; barcode: string; class: object; createdAt: string; customFields: object[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_service_item'; parent: object; revisionNumber: string; salesAndPurchaseDetails: object; salesOrPurchaseDetails: object; salesTaxCode: object; sublevel: number; unitOfMeasureSet: object; updatedAt: string; }`\n\n**post** `/quickbooks-desktop/service-items/{id}`\n\nUpdates a service item’s details, including its accounts and unit-of-measure set. QuickBooks won’t let you convert a sell-only service into a buy-and-sell service (or the reverse); create a separate item instead. If you’re switching the unit of measure, set `forceUnitOfMeasureChange` so QuickBooks replaces it on existing forms.\n\n### Parameters\n\n- `id: string`\n The QuickBooks-assigned unique identifier of the service item to update.\n\n- `revisionNumber: string`\n The current QuickBooks-assigned revision number of the service item object you are updating, which you can get by fetching the object first. Provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `barcode?: { allowOverride?: boolean; assignEvenIfUsed?: boolean; value?: string; }`\n The service item's barcode.\n - `allowOverride?: boolean`\n Indicates whether to allow the barcode to be overridden.\n - `assignEvenIfUsed?: boolean`\n Indicates whether to assign the barcode even if it is already used.\n - `value?: string`\n The item's barcode value.\n\n- `classId?: string`\n The service item's class. Classes can be used to categorize objects into meaningful segments, such as department, location, or type of work. In QuickBooks, class tracking is off by default.\n\n- `forceUnitOfMeasureChange?: boolean`\n Indicates whether to allow changing the service item's unit-of-measure set (using the `unitOfMeasureSetId` field) when the base unit of the new unit-of-measure set does not match that of the currently assigned set. Without setting this field to `true` in this scenario, the request will fail with an error; hence, this field is equivalent to accepting the warning prompt in the QuickBooks UI.\n\nNOTE: Changing the base unit requires you to update the item's quantities-on-hand and cost to reflect the new unit; otherwise, these values will be inaccurate. Alternatively, consider creating a new item with the desired unit-of-measure set and deactivating the old item.\n\n- `isActive?: boolean`\n Indicates whether this service item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.\n\n- `name?: string`\n The case-insensitive name of this service item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two service items could both have the `name` \"Web-Design\", but they could have unique `fullName` values, such as \"Consulting:Web-Design\" and \"Contracting:Web-Design\".\n\nMaximum length: 31 characters.\n\n- `parentId?: string`\n The parent service item one level above this one in the hierarchy. For example, if this service item has a `fullName` of \"Consulting:Web-Design\", its parent has a `fullName` of \"Consulting\". If this service item is at the top level, this field will be `null`.\n\n- `salesAndPurchaseDetails?: { expenseAccountId?: string; incomeAccountId?: string; preferredVendorId?: string; purchaseCost?: string; purchaseDescription?: string; purchaseTaxCodeId?: string; salesDescription?: string; salesPrice?: string; updateExistingTransactionsExpenseAccount?: boolean; updateExistingTransactionsIncomeAccount?: boolean; }`\n Details for service items that are both purchased and sold, such as reimbursable expenses or inventory items that are bought from vendors and sold to customers.\n\n**IMPORTANT**: You cannot specify both `salesAndPurchaseDetails` and `salesOrPurchaseDetails` when modifying a service item because an item cannot have both configurations.\n - `expenseAccountId?: string`\n The expense account used to track costs from purchases of this item.\n - `incomeAccountId?: string`\n The income account used to track revenue from sales of this item.\n - `preferredVendorId?: string`\n The preferred vendor from whom this item is typically purchased.\n - `purchaseCost?: string`\n The cost at which this item is purchased from vendors, represented as a decimal string.\n - `purchaseDescription?: string`\n The description of this item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.\n - `purchaseTaxCodeId?: string`\n The tax code applied to purchases of this item. Applicable in regions where purchase taxes are used, such as Canada or the UK.\n - `salesDescription?: string`\n The description of this item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.\n - `salesPrice?: string`\n The price at which this item is sold to customers, represented as a decimal string.\n - `updateExistingTransactionsExpenseAccount?: boolean`\n When `true`, applies the new expense account (specified by the `expenseAccountId` field) to all existing transactions that use this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n - `updateExistingTransactionsIncomeAccount?: boolean`\n When `true`, applies the new income account (specified by the `incomeAccountId` field) to all existing transactions that use this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n\n- `salesOrPurchaseDetails?: { description?: string; postingAccountId?: string; price?: string; pricePercentage?: string; updateExistingTransactionsAccount?: boolean; }`\n Details for service items that are exclusively sold or exclusively purchased, but not both. This typically applies to non-inventory items (like a purchased office supply that isn't resold) or service items (like consulting services that are sold but not purchased).\n\n**IMPORTANT**: You cannot specify both `salesOrPurchaseDetails` and `salesAndPurchaseDetails` when modifying a service item because an item cannot have both configurations.\n - `description?: string`\n A description of this item.\n - `postingAccountId?: string`\n The posting account to which transactions involving this item are posted. This could be an income account when selling or an expense account when purchasing.\n - `price?: string`\n The price at which this item is purchased or sold, represented as a decimal string.\n - `pricePercentage?: string`\n The price of this item expressed as a percentage, used instead of `price` when the item's cost is calculated as a percentage of another amount. For example, a service item that costs a percentage of another item's price.\n - `updateExistingTransactionsAccount?: boolean`\n When `true`, applies the new account (specified by the `accountId` field) to all existing transactions associated with this item. This updates historical data and should be used with caution. The update will fail if any affected transaction falls within a closed accounting period. If this parameter is not specified, QuickBooks will prompt the user before making any changes.\n\n- `salesTaxCodeId?: string`\n The default sales-tax code for this service item, determining whether it is taxable or non-taxable. This can be overridden at the transaction-line level.\n\nDefault codes include \"Non\" (non-taxable) and \"Tax\" (taxable), but custom codes can also be created in QuickBooks Desktop. If QuickBooks Desktop is not set up to charge sales tax (via the \"Do You Charge Sales Tax?\" preference), it assigns the default non-taxable sales-tax code configured in the company file to all sales.\n\n- `unitOfMeasureSetId?: string`\n The unit-of-measure set associated with this service item, which consists of a base unit and related units.\n\nIMPORTANT: Right after QuickBooks Desktop launches, it can briefly report an alternate `id` for a unit-of-measure set, so match on `fullName` when joining to the unit-of-measure sets list.\n\n### Returns\n\n- `{ id: string; barcode: string; class: { id: string; fullName: string; }; createdAt: string; customFields: { name: string; ownerId: string; type: string; value: string; }[]; externalId: string; fullName: string; isActive: boolean; name: string; objectType: 'qbd_service_item'; parent: { id: string; fullName: string; }; revisionNumber: string; salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }; salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }; salesTaxCode: { id: string; fullName: string; }; sublevel: number; unitOfMeasureSet: { id: string; fullName: string; }; updatedAt: string; }`\n\n - `id: string`\n - `barcode: string`\n - `class: { id: string; fullName: string; }`\n - `createdAt: string`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `externalId: string`\n - `fullName: string`\n - `isActive: boolean`\n - `name: string`\n - `objectType: 'qbd_service_item'`\n - `parent: { id: string; fullName: string; }`\n - `revisionNumber: string`\n - `salesAndPurchaseDetails: { expenseAccount: { id: string; fullName: string; }; incomeAccount: { id: string; fullName: string; }; preferredVendor: { id: string; fullName: string; }; purchaseCost: string; purchaseDescription: string; purchaseTaxCode: { id: string; fullName: string; }; salesDescription: string; salesPrice: string; }`\n - `salesOrPurchaseDetails: { description: string; postingAccount: { id: string; fullName: string; }; price: string; pricePercentage: string; }`\n - `salesTaxCode: { id: string; fullName: string; }`\n - `sublevel: number`\n - `unitOfMeasureSet: { id: string; fullName: string; }`\n - `updatedAt: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst serviceItem = await conductor.qbd.serviceItems.update('80000001-1234567890', { revisionNumber: '1721172183', conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(serviceItem);\n```",
8046
8046
  perLanguage: {
8047
8047
  typescript: {
8048
8048
  method: 'client.qbd.serviceItems.update',