conductor-node-mcp 14.24.4 → 15.0.0

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.
Files changed (71) hide show
  1. package/README.md +2 -2
  2. package/agent-errors.d.mts +3 -0
  3. package/agent-errors.d.mts.map +1 -0
  4. package/agent-errors.d.ts +3 -0
  5. package/agent-errors.d.ts.map +1 -0
  6. package/agent-errors.js +97 -0
  7. package/agent-errors.js.map +1 -0
  8. package/agent-errors.mjs +93 -0
  9. package/agent-errors.mjs.map +1 -0
  10. package/code-tool-worker.d.mts.map +1 -1
  11. package/code-tool-worker.d.ts.map +1 -1
  12. package/code-tool-worker.js +3 -0
  13. package/code-tool-worker.js.map +1 -1
  14. package/code-tool-worker.mjs +3 -0
  15. package/code-tool-worker.mjs.map +1 -1
  16. package/code-tool.d.mts.map +1 -1
  17. package/code-tool.d.ts.map +1 -1
  18. package/code-tool.js +73 -14
  19. package/code-tool.js.map +1 -1
  20. package/code-tool.mjs +73 -14
  21. package/code-tool.mjs.map +1 -1
  22. package/http.d.mts.map +1 -1
  23. package/http.d.ts.map +1 -1
  24. package/http.js +38 -22
  25. package/http.js.map +1 -1
  26. package/http.mjs +37 -21
  27. package/http.mjs.map +1 -1
  28. package/local-docs-search.js +3 -3
  29. package/local-docs-search.js.map +1 -1
  30. package/local-docs-search.mjs +3 -3
  31. package/local-docs-search.mjs.map +1 -1
  32. package/oauth.d.mts +26 -0
  33. package/oauth.d.mts.map +1 -0
  34. package/oauth.d.ts +26 -0
  35. package/oauth.d.ts.map +1 -0
  36. package/oauth.js +446 -0
  37. package/oauth.js.map +1 -0
  38. package/oauth.mjs +433 -0
  39. package/oauth.mjs.map +1 -0
  40. package/package.json +32 -2
  41. package/server.d.mts +2 -1
  42. package/server.d.mts.map +1 -1
  43. package/server.d.ts +2 -1
  44. package/server.d.ts.map +1 -1
  45. package/server.js +7 -3
  46. package/server.js.map +1 -1
  47. package/server.mjs +7 -3
  48. package/server.mjs.map +1 -1
  49. package/src/agent-errors.ts +98 -0
  50. package/src/code-tool-worker.ts +3 -0
  51. package/src/code-tool.ts +78 -18
  52. package/src/http.ts +35 -30
  53. package/src/local-docs-search.ts +3 -3
  54. package/src/oauth.ts +540 -0
  55. package/src/server.ts +8 -3
  56. package/src/telemetry.ts +110 -0
  57. package/src/types.ts +4 -0
  58. package/telemetry.d.mts +18 -0
  59. package/telemetry.d.mts.map +1 -0
  60. package/telemetry.d.ts +18 -0
  61. package/telemetry.d.ts.map +1 -0
  62. package/telemetry.js +105 -0
  63. package/telemetry.js.map +1 -0
  64. package/telemetry.mjs +96 -0
  65. package/telemetry.mjs.map +1 -0
  66. package/types.d.mts +2 -0
  67. package/types.d.mts.map +1 -1
  68. package/types.d.ts +2 -0
  69. package/types.d.ts.map +1 -1
  70. package/types.js.map +1 -1
  71. package/types.mjs.map +1 -1
@@ -567,7 +567,7 @@ const EMBEDDED_METHODS = [
567
567
  'refNumber?: string;',
568
568
  ],
569
569
  response: "{ id: string; amount: string; amountInHomeCurrency: string; appliedToTransactions: { amount: string; balanceRemaining: string; discountAccount: { id: string; fullName: string; }; discountAmount: string; discountClass: { id: string; fullName: string; }; linkedTransactions: { id: string; amount: string; linkType: 'amount' | 'quantity'; objectType: 'qbd_linked_transaction'; refNumber: string; transactionDate: string; transactionType: string; }[]; refNumber: string; transactionDate: string; transactionId: string; transactionType: string; }[]; createdAt: string; creditCardAccount: { id: string; fullName: string; }; currency: { id: string; fullName: string; }; customFields: { name: string; ownerId: string; type: string; value: string; }[]; exchangeRate: number; externalId: string; memo: string; objectType: 'qbd_bill_credit_card_payment'; payablesAccount: { id: string; fullName: string; }; refNumber: string; revisionNumber: string; transactionDate: string; updatedAt: string; vendor: { id: string; fullName: string; }; }",
570
- markdown: "## create\n\n`conductor.qbd.billCreditCardPayments.create(applyToTransactions: { transactionId: string; applyCredits?: { appliedAmount: string; creditTransactionId: string; overrideCreditApplication?: boolean; }[]; discountAccountId?: string; discountAmount?: string; discountClassId?: string; paymentAmount?: string; }[], creditCardAccountId: string, transactionDate: string, vendorId: string, Conductor-End-User-Id: string, exchangeRate?: number, externalId?: string, memo?: string, payablesAccountId?: string, refNumber?: string): { id: string; amount: string; amountInHomeCurrency: string; appliedToTransactions: object[]; createdAt: string; creditCardAccount: object; currency: object; customFields: object[]; exchangeRate: number; externalId: string; memo: string; objectType: 'qbd_bill_credit_card_payment'; payablesAccount: object; refNumber: string; revisionNumber: string; transactionDate: string; updatedAt: string; vendor: object; }`\n\n**post** `/quickbooks-desktop/bill-credit-card-payments`\n\nCharges one vendor’s bills to a credit card account. Each bill allocation must supply a payment amount, discount, or credit, and you have to use the same accounts payable account that’s on the bills being closed.\n\n### Parameters\n\n- `applyToTransactions: { transactionId: string; applyCredits?: { appliedAmount: string; creditTransactionId: string; overrideCreditApplication?: boolean; }[]; discountAccountId?: string; discountAmount?: string; discountClassId?: string; paymentAmount?: string; }[]`\n The bills to be paid by this bill credit card payment. This will create a link between this bill credit card payment and the specified bills.\n\n**IMPORTANT**: In each `applyToTransactions` object, you must specify either `paymentAmount`, `applyCredits`, `discountAmount`, or any combination of these; if none of these are specified, you will receive an error for an empty transaction.\n\n**IMPORTANT**: The target bill must have `isPaid=false`, otherwise, QuickBooks will report this object as \"cannot be found\".\n\n- `creditCardAccountId: string`\n The credit card account to which this bill credit card payment is being charged. This bill credit card payment will decrease the balance of this account.\n\n- `transactionDate: string`\n The date of this bill credit card payment, in ISO 8601 format (YYYY-MM-DD).\n\n- `vendorId: string`\n The vendor who sent the bill(s) that this bill credit card payment is paying and who will receive this payment.\n\n**IMPORTANT**: This vendor must match the `vendor` on the bill(s) specified in `applyToTransactions`; otherwise, QuickBooks will say the `transactionId` in `applyToTransactions` \"does not exist\".\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `exchangeRate?: number`\n The market exchange rate between this bill credit card payment's currency and the home currency in QuickBooks at the time of this transaction. Represented as a decimal value (e.g., 1.2345 for 1 EUR = 1.2345 USD if USD is the home currency).\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- `memo?: string`\n A memo or note for this bill credit card payment.\n\nMaximum length: 4095 characters.\n\n- `payablesAccountId?: string`\n The Accounts-Payable (A/P) account to which this bill credit card payment is assigned, used for accounts-payable tracking. If omitted, QuickBooks Desktop uses the default A/P account configured in the company file.\n\n**IMPORTANT**: If this bill credit card payment is linked to other transactions, this A/P account must match the `payablesAccount` used in those other transactions.\n\n- `refNumber?: string`\n The case-sensitive user-defined reference number for this bill credit card payment, which can be used to identify the transaction in QuickBooks. This value is not required to be unique and can be arbitrarily changed by the QuickBooks user. When left blank in this create request, this field will be left blank in QuickBooks (i.e., it does *not* auto-increment).\n\nMaximum length: 11 characters.\n\n### Returns\n\n- `{ id: string; amount: string; amountInHomeCurrency: string; appliedToTransactions: { amount: string; balanceRemaining: string; discountAccount: { id: string; fullName: string; }; discountAmount: string; discountClass: { id: string; fullName: string; }; linkedTransactions: { id: string; amount: string; linkType: 'amount' | 'quantity'; objectType: 'qbd_linked_transaction'; refNumber: string; transactionDate: string; transactionType: string; }[]; refNumber: string; transactionDate: string; transactionId: string; transactionType: string; }[]; createdAt: string; creditCardAccount: { id: string; fullName: string; }; currency: { id: string; fullName: string; }; customFields: { name: string; ownerId: string; type: string; value: string; }[]; exchangeRate: number; externalId: string; memo: string; objectType: 'qbd_bill_credit_card_payment'; payablesAccount: { id: string; fullName: string; }; refNumber: string; revisionNumber: string; transactionDate: string; updatedAt: string; vendor: { id: string; fullName: string; }; }`\n\n - `id: string`\n - `amount: string`\n - `amountInHomeCurrency: string`\n - `appliedToTransactions: { amount: string; balanceRemaining: string; discountAccount: { id: string; fullName: string; }; discountAmount: string; discountClass: { id: string; fullName: string; }; linkedTransactions: { id: string; amount: string; linkType: 'amount' | 'quantity'; objectType: 'qbd_linked_transaction'; refNumber: string; transactionDate: string; transactionType: string; }[]; refNumber: string; transactionDate: string; transactionId: string; transactionType: string; }[]`\n - `createdAt: string`\n - `creditCardAccount: { id: string; fullName: string; }`\n - `currency: { id: string; fullName: string; }`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `exchangeRate: number`\n - `externalId: string`\n - `memo: string`\n - `objectType: 'qbd_bill_credit_card_payment'`\n - `payablesAccount: { id: string; fullName: string; }`\n - `refNumber: string`\n - `revisionNumber: string`\n - `transactionDate: string`\n - `updatedAt: string`\n - `vendor: { id: string; fullName: string; }`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst billCreditCardPayment = await conductor.qbd.billCreditCardPayments.create({\n applyToTransactions: [{ transactionId: '123ABC-1234567890' }],\n creditCardAccountId: '80000001-1234567890',\n transactionDate: '2024-10-01',\n vendorId: '80000001-1234567890',\n conductorEndUserId: 'end_usr_1234567abcdefg',\n});\n\nconsole.log(billCreditCardPayment);\n```",
570
+ markdown: "## create\n\n`conductor.qbd.billCreditCardPayments.create(applyToTransactions: { transactionId: string; applyCredits?: { appliedAmount: string; creditTransactionId: string; overrideCreditApplication?: boolean; }[]; discountAccountId?: string; discountAmount?: string; discountClassId?: string; paymentAmount?: string; }[], creditCardAccountId: string, transactionDate: string, vendorId: string, Conductor-End-User-Id: string, exchangeRate?: number, externalId?: string, memo?: string, payablesAccountId?: string, refNumber?: string): { id: string; amount: string; amountInHomeCurrency: string; appliedToTransactions: object[]; createdAt: string; creditCardAccount: object; currency: object; customFields: object[]; exchangeRate: number; externalId: string; memo: string; objectType: 'qbd_bill_credit_card_payment'; payablesAccount: object; refNumber: string; revisionNumber: string; transactionDate: string; updatedAt: string; vendor: object; }`\n\n**post** `/quickbooks-desktop/bill-credit-card-payments`\n\nCharges one vendor’s bills to a credit card account. Each bill allocation must supply a payment amount, discount, or credit, and you have to use the same accounts payable account that’s on the bills being closed.\n\n### Parameters\n\n- `applyToTransactions: { transactionId: string; applyCredits?: { appliedAmount: string; creditTransactionId: string; overrideCreditApplication?: boolean; }[]; discountAccountId?: string; discountAmount?: string; discountClassId?: string; paymentAmount?: string; }[]`\n The bills to be paid by this bill credit card payment. This will create a link between this bill credit card payment and the specified bills.\n\n**IMPORTANT**: In each `applyToTransactions` object, you must specify either `paymentAmount`, `applyCredits`, `discountAmount`, or any combination of these; if none of these are specified, you will receive an error for an empty transaction.\n\n**IMPORTANT**: The target bill must have `isPaid=false`, otherwise, QuickBooks will report this object as \"cannot be found\".\n\n- `creditCardAccountId: string`\n The credit card account to which this bill credit card payment is being charged. This bill credit card payment will increase the balance owed on this account. This account's `accountType` must be `credit_card`. To pay bills from a bank account, including a debit card or a card the company file tracks as a bank account, use `POST /quickbooks-desktop/bill-check-payments` with `bankAccountId` instead.\n\n- `transactionDate: string`\n The date of this bill credit card payment, in ISO 8601 format (YYYY-MM-DD).\n\n- `vendorId: string`\n The vendor who sent the bill(s) that this bill credit card payment is paying and who will receive this payment.\n\n**IMPORTANT**: This vendor must match the `vendor` on the bill(s) specified in `applyToTransactions`; otherwise, QuickBooks will say the `transactionId` in `applyToTransactions` \"does not exist\".\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `exchangeRate?: number`\n The market exchange rate between this bill credit card payment's currency and the home currency in QuickBooks at the time of this transaction. Represented as a decimal value (e.g., 1.2345 for 1 EUR = 1.2345 USD if USD is the home currency).\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- `memo?: string`\n A memo or note for this bill credit card payment.\n\nMaximum length: 4095 characters.\n\n- `payablesAccountId?: string`\n The Accounts-Payable (A/P) account to which this bill credit card payment is assigned, used for accounts-payable tracking. If omitted, QuickBooks Desktop uses the default A/P account configured in the company file.\n\n**IMPORTANT**: If this bill credit card payment is linked to other transactions, this A/P account must match the `payablesAccount` used in those other transactions.\n\n- `refNumber?: string`\n The case-sensitive user-defined reference number for this bill credit card payment, which can be used to identify the transaction in QuickBooks. This value is not required to be unique and can be arbitrarily changed by the QuickBooks user. When left blank in this create request, this field will be left blank in QuickBooks (i.e., it does *not* auto-increment).\n\nMaximum length: 11 characters.\n\n### Returns\n\n- `{ id: string; amount: string; amountInHomeCurrency: string; appliedToTransactions: { amount: string; balanceRemaining: string; discountAccount: { id: string; fullName: string; }; discountAmount: string; discountClass: { id: string; fullName: string; }; linkedTransactions: { id: string; amount: string; linkType: 'amount' | 'quantity'; objectType: 'qbd_linked_transaction'; refNumber: string; transactionDate: string; transactionType: string; }[]; refNumber: string; transactionDate: string; transactionId: string; transactionType: string; }[]; createdAt: string; creditCardAccount: { id: string; fullName: string; }; currency: { id: string; fullName: string; }; customFields: { name: string; ownerId: string; type: string; value: string; }[]; exchangeRate: number; externalId: string; memo: string; objectType: 'qbd_bill_credit_card_payment'; payablesAccount: { id: string; fullName: string; }; refNumber: string; revisionNumber: string; transactionDate: string; updatedAt: string; vendor: { id: string; fullName: string; }; }`\n\n - `id: string`\n - `amount: string`\n - `amountInHomeCurrency: string`\n - `appliedToTransactions: { amount: string; balanceRemaining: string; discountAccount: { id: string; fullName: string; }; discountAmount: string; discountClass: { id: string; fullName: string; }; linkedTransactions: { id: string; amount: string; linkType: 'amount' | 'quantity'; objectType: 'qbd_linked_transaction'; refNumber: string; transactionDate: string; transactionType: string; }[]; refNumber: string; transactionDate: string; transactionId: string; transactionType: string; }[]`\n - `createdAt: string`\n - `creditCardAccount: { id: string; fullName: string; }`\n - `currency: { id: string; fullName: string; }`\n - `customFields: { name: string; ownerId: string; type: string; value: string; }[]`\n - `exchangeRate: number`\n - `externalId: string`\n - `memo: string`\n - `objectType: 'qbd_bill_credit_card_payment'`\n - `payablesAccount: { id: string; fullName: string; }`\n - `refNumber: string`\n - `revisionNumber: string`\n - `transactionDate: string`\n - `updatedAt: string`\n - `vendor: { id: string; fullName: string; }`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst billCreditCardPayment = await conductor.qbd.billCreditCardPayments.create({\n applyToTransactions: [{ transactionId: '123ABC-1234567890' }],\n creditCardAccountId: '80000001-1234567890',\n transactionDate: '2024-10-01',\n vendorId: '80000001-1234567890',\n conductorEndUserId: 'end_usr_1234567abcdefg',\n});\n\nconsole.log(billCreditCardPayment);\n```",
571
571
  perLanguage: {
572
572
  typescript: {
573
573
  method: 'client.qbd.billCreditCardPayments.create',
@@ -5766,7 +5766,7 @@ const EMBEDDED_METHODS = [
5766
5766
  'Conductor-End-User-Id: string;',
5767
5767
  'currencyIds?: string[];',
5768
5768
  'ids?: string[];',
5769
- 'itemIds?: string[];',
5769
+ 'itemId?: string;',
5770
5770
  'limit?: number;',
5771
5771
  'nameContains?: string;',
5772
5772
  'nameEndsWith?: string;',
@@ -5779,7 +5779,7 @@ const EMBEDDED_METHODS = [
5779
5779
  'updatedBefore?: string;',
5780
5780
  ],
5781
5781
  response: "{ data: { id: string; createdAt: string; currency: object; fixedPercentage: string; isActive: boolean; name: string; objectType: 'qbd_price_level'; perItemPriceLevels: object[]; priceLevelType: 'fixed_percentage' | 'per_item'; revisionNumber: string; updatedAt: string; }[]; objectType: 'list'; url: string; }",
5782
- markdown: "## list\n\n`conductor.qbd.priceLevels.list(Conductor-End-User-Id: string, currencyIds?: string[], ids?: string[], itemIds?: string[], limit?: number, nameContains?: string, nameEndsWith?: string, nameFrom?: string, names?: string[], nameStartsWith?: string, nameTo?: string, status?: 'active' | 'all' | 'inactive', updatedAfter?: string, updatedBefore?: string): { data: price_level[]; objectType: 'list'; url: string; }`\n\n**get** `/quickbooks-desktop/price-levels`\n\nReturns a list of price levels.\n\n**NOTE:** QuickBooks Desktop does not support pagination for price levels; hence, there is no `cursor` parameter. Users typically have few price levels.\n\n### Parameters\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `currencyIds?: string[]`\n Filter for price levels in these currencies.\n\n- `ids?: string[]`\n Filter for specific price levels by their QuickBooks-assigned unique identifier(s).\n\n**IMPORTANT**: If you include this parameter, QuickBooks will ignore all other query parameters for this request.\n\n**NOTE**: If any of the values you specify in this parameter are not found, the request will return an error.\n\n- `itemIds?: string[]`\n Filter for price levels containing these items.\n\n- `limit?: number`\n The maximum number of objects to return.\n\n**IMPORTANT**: QuickBooks Desktop does not support cursor-based pagination for price levels, so this parameter only limits the response size.\n\nWhen this parameter is omitted, the endpoint returns all price levels without limit, unlike paginated endpoints which default to 150 records.\n\n- `nameContains?: string`\n Filter for price levels whose `name` contains this substring, case-insensitive.\n\n**NOTE**: If you use this parameter, you cannot also use `nameStartsWith` or `nameEndsWith`.\n\n- `nameEndsWith?: string`\n Filter for price levels whose `name` ends with this substring, case-insensitive.\n\n**NOTE**: If you use this parameter, you cannot also use `nameContains` or `nameStartsWith`.\n\n- `nameFrom?: string`\n Filter for price levels whose `name` sorts at or after this value (inclusive), compared case-insensitively in QuickBooks' sort order: punctuation first, then digits, then letters.\n\n**IMPORTANT**: Even when you set `nameFrom` or `nameTo`, QuickBooks does not return price levels sorted by name: it returns fixed-percentage price levels first, then per-item price levels, each group sorted by name. Do not use these parameters to page through price levels.\n\n**NOTE**: If you use this parameter, you cannot also use `nameContains`, `nameStartsWith`, or `nameEndsWith`.\n\n- `names?: string[]`\n Filter for specific price levels by their name(s), case-insensitive. Like `id`, `name` is a unique identifier for a price level.\n\n**IMPORTANT**: If you include this parameter, QuickBooks will ignore all other query parameters for this request.\n\n**NOTE**: If any of the values you specify in this parameter are not found, the request will return an error.\n\n- `nameStartsWith?: string`\n Filter for price levels whose `name` starts with this substring, case-insensitive.\n\n**NOTE**: If you use this parameter, you cannot also use `nameContains` or `nameEndsWith`.\n\n- `nameTo?: string`\n Filter for price levels whose `name` sorts at or before this value (inclusive), compared case-insensitively in QuickBooks' sort order: punctuation first, then digits, then letters. If you also set `nameFrom`, it must not sort after this value, or QuickBooks returns an error.\n\n**IMPORTANT**: Even when you set `nameFrom` or `nameTo`, QuickBooks does not return price levels sorted by name: it returns fixed-percentage price levels first, then per-item price levels, each group sorted by name. Do not use these parameters to page through price levels.\n\n**NOTE**: If you use this parameter, you cannot also use `nameContains`, `nameStartsWith`, or `nameEndsWith`.\n\n- `status?: 'active' | 'all' | 'inactive'`\n Filter for price levels that are active, inactive, or both.\n\n- `updatedAfter?: string`\n Filter for price levels updated on or after this date/time. Accepts the following ISO 8601 formats:\n- **date-only** (YYYY-MM-DD) - QuickBooks Desktop interprets the date as the **start of the specified day** in the local timezone of the end-user's computer (e.g., `2025-01-01` → `2025-01-01T00:00:00`).\n- **datetime without timezone** (YYYY-MM-DDTHH:mm:ss) - QuickBooks Desktop interprets the timestamp in the local timezone of the end-user's computer.\n- **datetime with timezone** (YYYY-MM-DDTHH:mm:ss±HH:mm) - QuickBooks Desktop interprets the timestamp using the specified timezone.\n\n- `updatedBefore?: string`\n Filter for price levels updated on or before this date/time. Accepts the following ISO 8601 formats:\n- **date-only** (YYYY-MM-DD) - QuickBooks Desktop interprets the date as the **end of the specified day** in the local timezone of the end-user's computer (e.g., `2025-01-01` → `2025-01-01T23:59:59`).\n- **datetime without timezone** (YYYY-MM-DDTHH:mm:ss) - QuickBooks Desktop interprets the timestamp in the local timezone of the end-user's computer.\n- **datetime with timezone** (YYYY-MM-DDTHH:mm:ss±HH:mm) - QuickBooks Desktop interprets the timestamp using the specified timezone.\n\n### Returns\n\n- `{ data: { id: string; createdAt: string; currency: object; fixedPercentage: string; isActive: boolean; name: string; objectType: 'qbd_price_level'; perItemPriceLevels: object[]; priceLevelType: 'fixed_percentage' | 'per_item'; revisionNumber: string; updatedAt: string; }[]; objectType: 'list'; url: string; }`\n\n - `data: { id: string; createdAt: string; currency: { id: string; fullName: string; }; fixedPercentage: string; isActive: boolean; name: string; objectType: 'qbd_price_level'; perItemPriceLevels: { customPrice: string; customPricePercent: string; item: { id: string; fullName: string; }; }[]; priceLevelType: 'fixed_percentage' | 'per_item'; revisionNumber: string; updatedAt: string; }[]`\n - `objectType: 'list'`\n - `url: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst priceLevels = await conductor.qbd.priceLevels.list({ conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(priceLevels);\n```",
5782
+ markdown: "## list\n\n`conductor.qbd.priceLevels.list(Conductor-End-User-Id: string, currencyIds?: string[], ids?: string[], itemId?: string, limit?: number, nameContains?: string, nameEndsWith?: string, nameFrom?: string, names?: string[], nameStartsWith?: string, nameTo?: string, status?: 'active' | 'all' | 'inactive', updatedAfter?: string, updatedBefore?: string): { data: price_level[]; objectType: 'list'; url: string; }`\n\n**get** `/quickbooks-desktop/price-levels`\n\nReturns a list of price levels.\n\n**NOTE:** QuickBooks Desktop does not support pagination for price levels; hence, there is no `cursor` parameter. Users typically have few price levels.\n\n### Parameters\n\n- `Conductor-End-User-Id: string`\n The ID of the End-User to receive this request.\n\n- `currencyIds?: string[]`\n Filter for price levels in these currencies.\n\n- `ids?: string[]`\n Filter for specific price levels by their QuickBooks-assigned unique identifier(s).\n\n**IMPORTANT**: If you include this parameter, QuickBooks will ignore all other query parameters for this request.\n\n**NOTE**: If any of the values you specify in this parameter are not found, the request will return an error.\n\n- `itemId?: string`\n Filter for price levels containing this item. QuickBooks Desktop accepts only one item for this filter.\n\n- `limit?: number`\n The maximum number of objects to return.\n\n**IMPORTANT**: QuickBooks Desktop does not support cursor-based pagination for price levels, so this parameter only limits the response size.\n\nWhen this parameter is omitted, the endpoint returns all price levels without limit, unlike paginated endpoints which default to 150 records.\n\n- `nameContains?: string`\n Filter for price levels whose `name` contains this substring, case-insensitive.\n\n**NOTE**: If you use this parameter, you cannot also use `nameStartsWith` or `nameEndsWith`.\n\n- `nameEndsWith?: string`\n Filter for price levels whose `name` ends with this substring, case-insensitive.\n\n**NOTE**: If you use this parameter, you cannot also use `nameContains` or `nameStartsWith`.\n\n- `nameFrom?: string`\n Filter for price levels whose `name` sorts at or after this value (inclusive), compared case-insensitively in QuickBooks' sort order: punctuation first, then digits, then letters.\n\n**IMPORTANT**: Even when you set `nameFrom` or `nameTo`, QuickBooks does not return price levels sorted by name: it returns fixed-percentage price levels first, then per-item price levels, each group sorted by name. Do not use these parameters to page through price levels.\n\n**NOTE**: If you use this parameter, you cannot also use `nameContains`, `nameStartsWith`, or `nameEndsWith`.\n\n- `names?: string[]`\n Filter for specific price levels by their name(s), case-insensitive. Like `id`, `name` is a unique identifier for a price level.\n\n**IMPORTANT**: If you include this parameter, QuickBooks will ignore all other query parameters for this request.\n\n**NOTE**: If any of the values you specify in this parameter are not found, the request will return an error.\n\n- `nameStartsWith?: string`\n Filter for price levels whose `name` starts with this substring, case-insensitive.\n\n**NOTE**: If you use this parameter, you cannot also use `nameContains` or `nameEndsWith`.\n\n- `nameTo?: string`\n Filter for price levels whose `name` sorts at or before this value (inclusive), compared case-insensitively in QuickBooks' sort order: punctuation first, then digits, then letters. If you also set `nameFrom`, it must not sort after this value, or QuickBooks returns an error.\n\n**IMPORTANT**: Even when you set `nameFrom` or `nameTo`, QuickBooks does not return price levels sorted by name: it returns fixed-percentage price levels first, then per-item price levels, each group sorted by name. Do not use these parameters to page through price levels.\n\n**NOTE**: If you use this parameter, you cannot also use `nameContains`, `nameStartsWith`, or `nameEndsWith`.\n\n- `status?: 'active' | 'all' | 'inactive'`\n Filter for price levels that are active, inactive, or both.\n\n- `updatedAfter?: string`\n Filter for price levels updated on or after this date/time. Accepts the following ISO 8601 formats:\n- **date-only** (YYYY-MM-DD) - QuickBooks Desktop interprets the date as the **start of the specified day** in the local timezone of the end-user's computer (e.g., `2025-01-01` → `2025-01-01T00:00:00`).\n- **datetime without timezone** (YYYY-MM-DDTHH:mm:ss) - QuickBooks Desktop interprets the timestamp in the local timezone of the end-user's computer.\n- **datetime with timezone** (YYYY-MM-DDTHH:mm:ss±HH:mm) - QuickBooks Desktop interprets the timestamp using the specified timezone.\n\n- `updatedBefore?: string`\n Filter for price levels updated on or before this date/time. Accepts the following ISO 8601 formats:\n- **date-only** (YYYY-MM-DD) - QuickBooks Desktop interprets the date as the **end of the specified day** in the local timezone of the end-user's computer (e.g., `2025-01-01` → `2025-01-01T23:59:59`).\n- **datetime without timezone** (YYYY-MM-DDTHH:mm:ss) - QuickBooks Desktop interprets the timestamp in the local timezone of the end-user's computer.\n- **datetime with timezone** (YYYY-MM-DDTHH:mm:ss±HH:mm) - QuickBooks Desktop interprets the timestamp using the specified timezone.\n\n### Returns\n\n- `{ data: { id: string; createdAt: string; currency: object; fixedPercentage: string; isActive: boolean; name: string; objectType: 'qbd_price_level'; perItemPriceLevels: object[]; priceLevelType: 'fixed_percentage' | 'per_item'; revisionNumber: string; updatedAt: string; }[]; objectType: 'list'; url: string; }`\n\n - `data: { id: string; createdAt: string; currency: { id: string; fullName: string; }; fixedPercentage: string; isActive: boolean; name: string; objectType: 'qbd_price_level'; perItemPriceLevels: { customPrice: string; customPricePercent: string; item: { id: string; fullName: string; }; }[]; priceLevelType: 'fixed_percentage' | 'per_item'; revisionNumber: string; updatedAt: string; }[]`\n - `objectType: 'list'`\n - `url: string`\n\n### Example\n\n```typescript\nimport Conductor from 'conductor-node';\n\nconst client = new Conductor();\n\nconst priceLevels = await conductor.qbd.priceLevels.list({ conductorEndUserId: 'end_usr_1234567abcdefg' });\n\nconsole.log(priceLevels);\n```",
5783
5783
  perLanguage: {
5784
5784
  typescript: {
5785
5785
  method: 'client.qbd.priceLevels.list',