conductor-node-mcp 14.24.0 → 14.24.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node-mcp",
3
- "version": "14.24.0",
3
+ "version": "14.24.1",
4
4
  "description": "The official MCP Server for the Conductor API",
5
5
  "author": "Conductor <support@conductor.is>",
6
6
  "types": "./index.d.ts",
@@ -27,7 +27,7 @@
27
27
  "fix": "eslint --fix ."
28
28
  },
29
29
  "dependencies": {
30
- "conductor-node": "^14.24.0",
30
+ "conductor-node": "^14.24.1",
31
31
  "ajv": "^8.18.0",
32
32
  "@cloudflare/cabidela": "^0.2.4",
33
33
  "@hono/node-server": "^1.19.10",
package/server.d.mts CHANGED
@@ -3,7 +3,7 @@ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
3
3
  import { ClientOptions } from 'conductor-node';
4
4
  import { McpOptions } from "./options.mjs";
5
5
  import { HandlerFunction, McpRequestContext, ToolCallResult, McpTool } from "./types.mjs";
6
- export declare const VERSION = "14.24.0";
6
+ export declare const VERSION = "14.24.1";
7
7
  export declare const newMcpServer: ({ stainlessApiKey, customInstructionsPath, }: {
8
8
  stainlessApiKey?: string | undefined;
9
9
  customInstructionsPath?: string | undefined;
package/server.d.ts CHANGED
@@ -3,7 +3,7 @@ import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
3
3
  import { ClientOptions } from 'conductor-node';
4
4
  import { McpOptions } from "./options.js";
5
5
  import { HandlerFunction, McpRequestContext, ToolCallResult, McpTool } from "./types.js";
6
- export declare const VERSION = "14.24.0";
6
+ export declare const VERSION = "14.24.1";
7
7
  export declare const newMcpServer: ({ stainlessApiKey, customInstructionsPath, }: {
8
8
  stainlessApiKey?: string | undefined;
9
9
  customInstructionsPath?: string | undefined;
package/server.js CHANGED
@@ -17,7 +17,7 @@ const docs_search_tool_2 = require("./docs-search-tool.js");
17
17
  const local_docs_search_1 = require("./local-docs-search.js");
18
18
  const instructions_1 = require("./instructions.js");
19
19
  const methods_1 = require("./methods.js");
20
- exports.VERSION = '14.24.0'; // x-release-please-version
20
+ exports.VERSION = '14.24.1'; // x-release-please-version
21
21
  const newMcpServer = async ({ stainlessApiKey, customInstructionsPath, }) => new mcp_js_1.McpServer({
22
22
  name: 'conductor_node_api',
23
23
  version: exports.VERSION,
package/server.mjs CHANGED
@@ -8,7 +8,7 @@ import { setLocalSearch } from "./docs-search-tool.mjs";
8
8
  import { LocalDocsSearch } from "./local-docs-search.mjs";
9
9
  import { getInstructions } from "./instructions.mjs";
10
10
  import { blockedMethodsForCodeTool } from "./methods.mjs";
11
- export const VERSION = '14.24.0'; // x-release-please-version
11
+ export const VERSION = '14.24.1'; // x-release-please-version
12
12
  export const newMcpServer = async ({ stainlessApiKey, customInstructionsPath, }) => new McpServer({
13
13
  name: 'conductor_node_api',
14
14
  version: VERSION,
@@ -4460,7 +4460,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
4460
4460
  response:
4461
4461
  "{ 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; }",
4462
4462
  markdown:
4463
- "## 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```",
4463
+ "## 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```",
4464
4464
  perLanguage: {
4465
4465
  typescript: {
4466
4466
  method: 'client.qbd.inventoryAssemblyItems.create',
@@ -4595,7 +4595,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
4595
4595
  response:
4596
4596
  "{ 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; }",
4597
4597
  markdown:
4598
- "## 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```",
4598
+ "## 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```",
4599
4599
  perLanguage: {
4600
4600
  typescript: {
4601
4601
  method: 'client.qbd.inventoryAssemblyItems.update',
@@ -4650,7 +4650,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
4650
4650
  response:
4651
4651
  "{ 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; }",
4652
4652
  markdown:
4653
- "## 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```",
4653
+ "## 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```",
4654
4654
  perLanguage: {
4655
4655
  typescript: {
4656
4656
  method: 'client.qbd.inventoryItems.create',
@@ -4784,7 +4784,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
4784
4784
  response:
4785
4785
  "{ 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; }",
4786
4786
  markdown:
4787
- "## 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```",
4787
+ "## 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```",
4788
4788
  perLanguage: {
4789
4789
  typescript: {
4790
4790
  method: 'client.qbd.inventoryItems.update',
@@ -5248,7 +5248,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
5248
5248
  response:
5249
5249
  "{ 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; }",
5250
5250
  markdown:
5251
- "## 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```",
5251
+ "## 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```",
5252
5252
  perLanguage: {
5253
5253
  typescript: {
5254
5254
  method: 'client.qbd.itemGroups.create',
@@ -5366,7 +5366,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
5366
5366
  response:
5367
5367
  "{ 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; }",
5368
5368
  markdown:
5369
- "## 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```",
5369
+ "## 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```",
5370
5370
  perLanguage: {
5371
5371
  typescript: {
5372
5372
  method: 'client.qbd.itemGroups.update',
@@ -5941,7 +5941,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
5941
5941
  response:
5942
5942
  "{ 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; }",
5943
5943
  markdown:
5944
- "## 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```",
5944
+ "## 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```",
5945
5945
  perLanguage: {
5946
5946
  typescript: {
5947
5947
  method: 'client.qbd.nonInventoryItems.create',
@@ -6064,7 +6064,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
6064
6064
  response:
6065
6065
  "{ 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; }",
6066
6066
  markdown:
6067
- "## 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```",
6067
+ "## 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```",
6068
6068
  perLanguage: {
6069
6069
  typescript: {
6070
6070
  method: 'client.qbd.nonInventoryItems.update',
@@ -9209,7 +9209,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
9209
9209
  response:
9210
9210
  "{ 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; }",
9211
9211
  markdown:
9212
- "## 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```",
9212
+ "## 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```",
9213
9213
  perLanguage: {
9214
9214
  typescript: {
9215
9215
  method: 'client.qbd.serviceItems.create',
@@ -9331,7 +9331,7 @@ const EMBEDDED_METHODS: MethodEntry[] = [
9331
9331
  response:
9332
9332
  "{ 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; }",
9333
9333
  markdown:
9334
- "## 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```",
9334
+ "## 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```",
9335
9335
  perLanguage: {
9336
9336
  typescript: {
9337
9337
  method: 'client.qbd.serviceItems.update',
package/src/server.ts CHANGED
@@ -18,7 +18,7 @@ import { McpOptions } from './options';
18
18
  import { blockedMethodsForCodeTool } from './methods';
19
19
  import { HandlerFunction, McpRequestContext, ToolCallResult, McpTool } from './types';
20
20
 
21
- export const VERSION = '14.24.0'; // x-release-please-version
21
+ export const VERSION = '14.24.1'; // x-release-please-version
22
22
 
23
23
  export const newMcpServer = async ({
24
24
  stainlessApiKey,