conductor-node-mcp 12.18.2 → 12.20.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.
- package/README.md +11 -0
- package/package.json +2 -2
- package/server.js +1 -1
- package/server.mjs +1 -1
- package/src/server.ts +1 -1
- package/src/tools/index.ts +10 -0
- package/src/tools/qbd/other-charge-items/create-qbd-other-charge-items.ts +158 -0
- package/src/tools/qbd/other-charge-items/list-qbd-other-charge-items.ts +116 -0
- package/src/tools/qbd/other-charge-items/retrieve-qbd-other-charge-items.ts +44 -0
- package/src/tools/qbd/other-charge-items/update-qbd-other-charge-items.ts +175 -0
- package/src/tools/qbd/templates/list-qbd-templates.ts +48 -0
- package/tools/index.d.mts.map +1 -1
- package/tools/index.d.ts.map +1 -1
- package/tools/index.js +10 -0
- package/tools/index.js.map +1 -1
- package/tools/index.mjs +10 -0
- package/tools/index.mjs.map +1 -1
- package/tools/qbd/other-charge-items/create-qbd-other-charge-items.d.mts +45 -0
- package/tools/qbd/other-charge-items/create-qbd-other-charge-items.d.mts.map +1 -0
- package/tools/qbd/other-charge-items/create-qbd-other-charge-items.d.ts +45 -0
- package/tools/qbd/other-charge-items/create-qbd-other-charge-items.d.ts.map +1 -0
- package/tools/qbd/other-charge-items/create-qbd-other-charge-items.js +138 -0
- package/tools/qbd/other-charge-items/create-qbd-other-charge-items.js.map +1 -0
- package/tools/qbd/other-charge-items/create-qbd-other-charge-items.mjs +134 -0
- package/tools/qbd/other-charge-items/create-qbd-other-charge-items.mjs.map +1 -0
- package/tools/qbd/other-charge-items/list-qbd-other-charge-items.d.mts +45 -0
- package/tools/qbd/other-charge-items/list-qbd-other-charge-items.d.mts.map +1 -0
- package/tools/qbd/other-charge-items/list-qbd-other-charge-items.d.ts +45 -0
- package/tools/qbd/other-charge-items/list-qbd-other-charge-items.d.ts.map +1 -0
- package/tools/qbd/other-charge-items/list-qbd-other-charge-items.js +99 -0
- package/tools/qbd/other-charge-items/list-qbd-other-charge-items.js.map +1 -0
- package/tools/qbd/other-charge-items/list-qbd-other-charge-items.mjs +95 -0
- package/tools/qbd/other-charge-items/list-qbd-other-charge-items.mjs.map +1 -0
- package/tools/qbd/other-charge-items/retrieve-qbd-other-charge-items.d.mts +45 -0
- package/tools/qbd/other-charge-items/retrieve-qbd-other-charge-items.d.mts.map +1 -0
- package/tools/qbd/other-charge-items/retrieve-qbd-other-charge-items.d.ts +45 -0
- package/tools/qbd/other-charge-items/retrieve-qbd-other-charge-items.d.ts.map +1 -0
- package/tools/qbd/other-charge-items/retrieve-qbd-other-charge-items.js +40 -0
- package/tools/qbd/other-charge-items/retrieve-qbd-other-charge-items.js.map +1 -0
- package/tools/qbd/other-charge-items/retrieve-qbd-other-charge-items.mjs +36 -0
- package/tools/qbd/other-charge-items/retrieve-qbd-other-charge-items.mjs.map +1 -0
- package/tools/qbd/other-charge-items/update-qbd-other-charge-items.d.mts +45 -0
- package/tools/qbd/other-charge-items/update-qbd-other-charge-items.d.mts.map +1 -0
- package/tools/qbd/other-charge-items/update-qbd-other-charge-items.d.ts +45 -0
- package/tools/qbd/other-charge-items/update-qbd-other-charge-items.d.ts.map +1 -0
- package/tools/qbd/other-charge-items/update-qbd-other-charge-items.js +152 -0
- package/tools/qbd/other-charge-items/update-qbd-other-charge-items.js.map +1 -0
- package/tools/qbd/other-charge-items/update-qbd-other-charge-items.mjs +148 -0
- package/tools/qbd/other-charge-items/update-qbd-other-charge-items.mjs.map +1 -0
- package/tools/qbd/templates/list-qbd-templates.d.mts +45 -0
- package/tools/qbd/templates/list-qbd-templates.d.mts.map +1 -0
- package/tools/qbd/templates/list-qbd-templates.d.ts +45 -0
- package/tools/qbd/templates/list-qbd-templates.d.ts.map +1 -0
- package/tools/qbd/templates/list-qbd-templates.js +42 -0
- package/tools/qbd/templates/list-qbd-templates.js.map +1 -0
- package/tools/qbd/templates/list-qbd-templates.mjs +38 -0
- package/tools/qbd/templates/list-qbd-templates.mjs.map +1 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { asTextContentResult } from 'conductor-node-mcp/tools/types';
|
|
3
|
+
export const metadata = {
|
|
4
|
+
resource: 'qbd.other_charge_items',
|
|
5
|
+
operation: 'write',
|
|
6
|
+
tags: [],
|
|
7
|
+
httpMethod: 'post',
|
|
8
|
+
httpPath: '/quickbooks-desktop/other-charge-items',
|
|
9
|
+
};
|
|
10
|
+
export const tool = {
|
|
11
|
+
name: 'create_qbd_other_charge_items',
|
|
12
|
+
description: 'Creates a new other charge item.',
|
|
13
|
+
inputSchema: {
|
|
14
|
+
type: 'object',
|
|
15
|
+
properties: {
|
|
16
|
+
name: {
|
|
17
|
+
type: 'string',
|
|
18
|
+
description: 'The case-insensitive name of this other charge item. Not guaranteed to be unique because it does not include the names of its hierarchical parent objects like `fullName` does. For example, two other charge items could both have the `name` "Overnight Delivery", but they could have unique `fullName` values, such as "Shipping Charges:Overnight Delivery" and "Misc Fees:Overnight Delivery".\n\nMaximum length: 31 characters.',
|
|
19
|
+
},
|
|
20
|
+
conductorEndUserId: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
description: 'The ID of the EndUser to receive this request (e.g., `"Conductor-End-User-Id: {{END_USER_ID}}"`).',
|
|
23
|
+
},
|
|
24
|
+
barcode: {
|
|
25
|
+
type: 'object',
|
|
26
|
+
description: "The other charge item's barcode.",
|
|
27
|
+
properties: {
|
|
28
|
+
allowOverride: {
|
|
29
|
+
type: 'boolean',
|
|
30
|
+
description: 'Indicates whether to allow the barcode to be overridden.',
|
|
31
|
+
},
|
|
32
|
+
assignEvenIfUsed: {
|
|
33
|
+
type: 'boolean',
|
|
34
|
+
description: 'Indicates whether to assign the barcode even if it is already used.',
|
|
35
|
+
},
|
|
36
|
+
value: {
|
|
37
|
+
type: 'string',
|
|
38
|
+
description: "The item's barcode value.",
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
classId: {
|
|
43
|
+
type: 'string',
|
|
44
|
+
description: "The other charge 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.",
|
|
45
|
+
},
|
|
46
|
+
externalId: {
|
|
47
|
+
type: 'string',
|
|
48
|
+
description: '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.',
|
|
49
|
+
},
|
|
50
|
+
isActive: {
|
|
51
|
+
type: 'boolean',
|
|
52
|
+
description: 'Indicates whether this other charge item is active. Inactive objects are typically hidden from views and reports in QuickBooks. Defaults to `true`.',
|
|
53
|
+
},
|
|
54
|
+
parentId: {
|
|
55
|
+
type: 'string',
|
|
56
|
+
description: 'The parent other charge item one level above this one in the hierarchy. For example, if this other charge item has a `fullName` of "Shipping Charges:Overnight Delivery", its parent has a `fullName` of "Shipping Charges". If this other charge item is at the top level, this field will be `null`.',
|
|
57
|
+
},
|
|
58
|
+
salesAndPurchaseDetails: {
|
|
59
|
+
type: 'object',
|
|
60
|
+
description: 'Details for other charge 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 an other charge item, but never both because an item cannot have both configurations.',
|
|
61
|
+
properties: {
|
|
62
|
+
expenseAccountId: {
|
|
63
|
+
type: 'string',
|
|
64
|
+
description: 'The expense account used to track costs from purchases of this item.',
|
|
65
|
+
},
|
|
66
|
+
incomeAccountId: {
|
|
67
|
+
type: 'string',
|
|
68
|
+
description: 'The income account used to track revenue from sales of this item.',
|
|
69
|
+
},
|
|
70
|
+
preferredVendorId: {
|
|
71
|
+
type: 'string',
|
|
72
|
+
description: 'The preferred vendor from whom this item is typically purchased.',
|
|
73
|
+
},
|
|
74
|
+
purchaseCost: {
|
|
75
|
+
type: 'string',
|
|
76
|
+
description: 'The cost at which this item is purchased from vendors, represented as a decimal string.',
|
|
77
|
+
},
|
|
78
|
+
purchaseDescription: {
|
|
79
|
+
type: 'string',
|
|
80
|
+
description: 'The description of this item that appears on purchase forms (e.g., checks, bills, item receipts) when it is ordered or bought from vendors.',
|
|
81
|
+
},
|
|
82
|
+
purchaseTaxCodeId: {
|
|
83
|
+
type: 'string',
|
|
84
|
+
description: 'The tax code applied to purchases of this item. Applicable in regions where purchase taxes are used, such as Canada or the UK.',
|
|
85
|
+
},
|
|
86
|
+
salesDescription: {
|
|
87
|
+
type: 'string',
|
|
88
|
+
description: 'The description of this item that appears on sales forms (e.g., invoices, sales receipts) when sold to customers.',
|
|
89
|
+
},
|
|
90
|
+
salesPrice: {
|
|
91
|
+
type: 'string',
|
|
92
|
+
description: 'The price at which this item is sold to customers, represented as a decimal string.',
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
required: ['expenseAccountId', 'incomeAccountId'],
|
|
96
|
+
},
|
|
97
|
+
salesOrPurchaseDetails: {
|
|
98
|
+
type: 'object',
|
|
99
|
+
description: "Details for other charge 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 an other charge item, but never both because an item cannot have both configurations.",
|
|
100
|
+
properties: {
|
|
101
|
+
postingAccountId: {
|
|
102
|
+
type: 'string',
|
|
103
|
+
description: '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.',
|
|
104
|
+
},
|
|
105
|
+
description: {
|
|
106
|
+
type: 'string',
|
|
107
|
+
description: 'A description of this item.',
|
|
108
|
+
},
|
|
109
|
+
price: {
|
|
110
|
+
type: 'string',
|
|
111
|
+
description: 'The price at which this item is purchased or sold, represented as a decimal string.',
|
|
112
|
+
},
|
|
113
|
+
pricePercentage: {
|
|
114
|
+
type: 'string',
|
|
115
|
+
description: "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.",
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
required: ['postingAccountId'],
|
|
119
|
+
},
|
|
120
|
+
salesTaxCodeId: {
|
|
121
|
+
type: 'string',
|
|
122
|
+
description: 'The default sales-tax code for this other charge 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. If QuickBooks is not set up to charge sales tax (via the "Do You Charge Sales Tax?" preference), it will assign the default non-taxable code to all sales.',
|
|
123
|
+
},
|
|
124
|
+
},
|
|
125
|
+
required: ['name', 'conductorEndUserId'],
|
|
126
|
+
},
|
|
127
|
+
annotations: {},
|
|
128
|
+
};
|
|
129
|
+
export const handler = async (conductor, args) => {
|
|
130
|
+
const body = args;
|
|
131
|
+
return asTextContentResult(await conductor.qbd.otherChargeItems.create(body));
|
|
132
|
+
};
|
|
133
|
+
export default { metadata, tool, handler };
|
|
134
|
+
//# sourceMappingURL=create-qbd-other-charge-items.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-qbd-other-charge-items.mjs","sourceRoot":"","sources":["../../../src/tools/qbd/other-charge-items/create-qbd-other-charge-items.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAY,mBAAmB,EAAE,MAAM,gCAAgC;AAK9E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,wBAAwB;IAClC,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,wCAAwC;CACnD,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,+BAA+B;IACrC,WAAW,EAAE,kCAAkC;IAC/C,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,IAAI,EAAE;gBACJ,IAA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AC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from 'conductor-node-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import Conductor from 'conductor-node';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (conductor: Conductor, args: Record<string, unknown> | undefined) => Promise<import("conductor-node-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (conductor: Conductor, args: Record<string, unknown> | undefined) => Promise<import("conductor-node-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=list-qbd-other-charge-items.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-qbd-other-charge-items.d.mts","sourceRoot":"","sources":["../../../src/tools/qbd/other-charge-items/list-qbd-other-charge-items.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,gCAAgC;OAEvE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAMtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA4FlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,WAAW,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,qEAI5F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAJuC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM7F,wBAA2C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from 'conductor-node-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import Conductor from 'conductor-node';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (conductor: Conductor, args: Record<string, unknown> | undefined) => Promise<import("conductor-node-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (conductor: Conductor, args: Record<string, unknown> | undefined) => Promise<import("conductor-node-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=list-qbd-other-charge-items.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-qbd-other-charge-items.d.ts","sourceRoot":"","sources":["../../../src/tools/qbd/other-charge-items/list-qbd-other-charge-items.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,gCAAgC;OAEvE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAMtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA4FlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,WAAW,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,qEAI5F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAJuC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAM7F,wBAA2C"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
+
const types_1 = require("conductor-node-mcp/tools/types");
|
|
6
|
+
exports.metadata = {
|
|
7
|
+
resource: 'qbd.other_charge_items',
|
|
8
|
+
operation: 'read',
|
|
9
|
+
tags: [],
|
|
10
|
+
httpMethod: 'get',
|
|
11
|
+
httpPath: '/quickbooks-desktop/other-charge-items',
|
|
12
|
+
};
|
|
13
|
+
exports.tool = {
|
|
14
|
+
name: 'list_qbd_other_charge_items',
|
|
15
|
+
description: 'Returns a list of other charge items. Use the `cursor` parameter to paginate through the results.',
|
|
16
|
+
inputSchema: {
|
|
17
|
+
type: 'object',
|
|
18
|
+
properties: {
|
|
19
|
+
conductorEndUserId: {
|
|
20
|
+
type: 'string',
|
|
21
|
+
description: 'The ID of the EndUser to receive this request (e.g., `"Conductor-End-User-Id: {{END_USER_ID}}"`).',
|
|
22
|
+
},
|
|
23
|
+
classIds: {
|
|
24
|
+
type: 'array',
|
|
25
|
+
description: 'Filter for other charge items of these classes. A class is a way end-users can categorize other charge items in QuickBooks.',
|
|
26
|
+
items: {
|
|
27
|
+
type: 'string',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
cursor: {
|
|
31
|
+
type: 'string',
|
|
32
|
+
description: 'The pagination token to fetch the next set of results when paginating with the `limit` parameter. Do not include this parameter on the first call. Use the `nextCursor` value returned in the previous response to request subsequent results.',
|
|
33
|
+
},
|
|
34
|
+
fullNames: {
|
|
35
|
+
type: 'array',
|
|
36
|
+
description: 'Filter for specific other charge items by their full-name(s), case-insensitive. Like `id`, `fullName` is a unique identifier for an other charge item, formed by by combining the names of its parent objects with its own `name`, separated by colons. For example, if an other charge item is under "Shipping Charges" and has the `name` "Overnight Delivery", its `fullName` would be "Shipping Charges:Overnight Delivery".\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.',
|
|
37
|
+
items: {
|
|
38
|
+
type: 'string',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
ids: {
|
|
42
|
+
type: 'array',
|
|
43
|
+
description: 'Filter for specific other charge items 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.',
|
|
44
|
+
items: {
|
|
45
|
+
type: 'string',
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
limit: {
|
|
49
|
+
type: 'integer',
|
|
50
|
+
description: 'The maximum number of objects to return. Accepts values ranging from 1 to 150, defaults to 150. When used with cursor-based pagination, this parameter controls how many results are returned per page. To paginate through results, combine this with the `cursor` parameter. Each response will include a `nextCursor` value that can be passed to subsequent requests to retrieve the next page of results.',
|
|
51
|
+
},
|
|
52
|
+
nameContains: {
|
|
53
|
+
type: 'string',
|
|
54
|
+
description: 'Filter for other charge items whose `name` contains this substring, case-insensitive.\n\n**NOTE**: If you use this parameter, you cannot also use `nameStartsWith` or `nameEndsWith`.',
|
|
55
|
+
},
|
|
56
|
+
nameEndsWith: {
|
|
57
|
+
type: 'string',
|
|
58
|
+
description: 'Filter for other charge items whose `name` ends with this substring, case-insensitive.\n\n**NOTE**: If you use this parameter, you cannot also use `nameContains` or `nameStartsWith`.',
|
|
59
|
+
},
|
|
60
|
+
nameFrom: {
|
|
61
|
+
type: 'string',
|
|
62
|
+
description: 'Filter for other charge items whose `name` is alphabetically greater than or equal to this value.',
|
|
63
|
+
},
|
|
64
|
+
nameStartsWith: {
|
|
65
|
+
type: 'string',
|
|
66
|
+
description: 'Filter for other charge items whose `name` starts with this substring, case-insensitive.\n\n**NOTE**: If you use this parameter, you cannot also use `nameContains` or `nameEndsWith`.',
|
|
67
|
+
},
|
|
68
|
+
nameTo: {
|
|
69
|
+
type: 'string',
|
|
70
|
+
description: 'Filter for other charge items whose `name` is alphabetically less than or equal to this value.',
|
|
71
|
+
},
|
|
72
|
+
status: {
|
|
73
|
+
type: 'string',
|
|
74
|
+
description: 'Filter for other charge items that are active, inactive, or both.',
|
|
75
|
+
enum: ['active', 'all', 'inactive'],
|
|
76
|
+
},
|
|
77
|
+
updatedAfter: {
|
|
78
|
+
type: 'string',
|
|
79
|
+
description: 'Filter for other charge items updated on or after this date and time, in ISO 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date (YYYY-MM-DD), the time is assumed to be 00:00:00 of that day.',
|
|
80
|
+
},
|
|
81
|
+
updatedBefore: {
|
|
82
|
+
type: 'string',
|
|
83
|
+
description: 'Filter for other charge items updated on or before this date and time, in ISO 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date (YYYY-MM-DD), the time is assumed to be 23:59:59 of that day.',
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
required: ['conductorEndUserId'],
|
|
87
|
+
},
|
|
88
|
+
annotations: {
|
|
89
|
+
readOnlyHint: true,
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
const handler = async (conductor, args) => {
|
|
93
|
+
const body = args;
|
|
94
|
+
const response = await conductor.qbd.otherChargeItems.list(body).asResponse();
|
|
95
|
+
return (0, types_1.asTextContentResult)(await response.json());
|
|
96
|
+
};
|
|
97
|
+
exports.handler = handler;
|
|
98
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
99
|
+
//# sourceMappingURL=list-qbd-other-charge-items.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-qbd-other-charge-items.js","sourceRoot":"","sources":["../../../src/tools/qbd/other-charge-items/list-qbd-other-charge-items.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAA+E;AAKlE,QAAA,QAA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,EACT,gGAAgG;aACnG;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,mEAAmE;gBAChF,IAAI,EAAE,CAAC,QAAQ,EAAE,KAAK,EAAE,UAAU,CAAC;aACpC;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,0MAA0M;aAC7M;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,2MAA2M;aAC9M;SACF;QACD,QAAQ,EAAE,CAAC,oBAAoB,CAAC;KACjC;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,SAAoB,EAAE,IAAyC,EAAE,EAAE;IAC/F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,GAAG,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAC9E,OAAO,IAAA,2BAAmB,EAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC;AAJW,QAAA,OAAO,WAIlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { asTextContentResult } from 'conductor-node-mcp/tools/types';
|
|
3
|
+
export const metadata = {
|
|
4
|
+
resource: 'qbd.other_charge_items',
|
|
5
|
+
operation: 'read',
|
|
6
|
+
tags: [],
|
|
7
|
+
httpMethod: 'get',
|
|
8
|
+
httpPath: '/quickbooks-desktop/other-charge-items',
|
|
9
|
+
};
|
|
10
|
+
export const tool = {
|
|
11
|
+
name: 'list_qbd_other_charge_items',
|
|
12
|
+
description: 'Returns a list of other charge items. Use the `cursor` parameter to paginate through the results.',
|
|
13
|
+
inputSchema: {
|
|
14
|
+
type: 'object',
|
|
15
|
+
properties: {
|
|
16
|
+
conductorEndUserId: {
|
|
17
|
+
type: 'string',
|
|
18
|
+
description: 'The ID of the EndUser to receive this request (e.g., `"Conductor-End-User-Id: {{END_USER_ID}}"`).',
|
|
19
|
+
},
|
|
20
|
+
classIds: {
|
|
21
|
+
type: 'array',
|
|
22
|
+
description: 'Filter for other charge items of these classes. A class is a way end-users can categorize other charge items in QuickBooks.',
|
|
23
|
+
items: {
|
|
24
|
+
type: 'string',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
cursor: {
|
|
28
|
+
type: 'string',
|
|
29
|
+
description: 'The pagination token to fetch the next set of results when paginating with the `limit` parameter. Do not include this parameter on the first call. Use the `nextCursor` value returned in the previous response to request subsequent results.',
|
|
30
|
+
},
|
|
31
|
+
fullNames: {
|
|
32
|
+
type: 'array',
|
|
33
|
+
description: 'Filter for specific other charge items by their full-name(s), case-insensitive. Like `id`, `fullName` is a unique identifier for an other charge item, formed by by combining the names of its parent objects with its own `name`, separated by colons. For example, if an other charge item is under "Shipping Charges" and has the `name` "Overnight Delivery", its `fullName` would be "Shipping Charges:Overnight Delivery".\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.',
|
|
34
|
+
items: {
|
|
35
|
+
type: 'string',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
ids: {
|
|
39
|
+
type: 'array',
|
|
40
|
+
description: 'Filter for specific other charge items 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.',
|
|
41
|
+
items: {
|
|
42
|
+
type: 'string',
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
limit: {
|
|
46
|
+
type: 'integer',
|
|
47
|
+
description: 'The maximum number of objects to return. Accepts values ranging from 1 to 150, defaults to 150. When used with cursor-based pagination, this parameter controls how many results are returned per page. To paginate through results, combine this with the `cursor` parameter. Each response will include a `nextCursor` value that can be passed to subsequent requests to retrieve the next page of results.',
|
|
48
|
+
},
|
|
49
|
+
nameContains: {
|
|
50
|
+
type: 'string',
|
|
51
|
+
description: 'Filter for other charge items whose `name` contains this substring, case-insensitive.\n\n**NOTE**: If you use this parameter, you cannot also use `nameStartsWith` or `nameEndsWith`.',
|
|
52
|
+
},
|
|
53
|
+
nameEndsWith: {
|
|
54
|
+
type: 'string',
|
|
55
|
+
description: 'Filter for other charge items whose `name` ends with this substring, case-insensitive.\n\n**NOTE**: If you use this parameter, you cannot also use `nameContains` or `nameStartsWith`.',
|
|
56
|
+
},
|
|
57
|
+
nameFrom: {
|
|
58
|
+
type: 'string',
|
|
59
|
+
description: 'Filter for other charge items whose `name` is alphabetically greater than or equal to this value.',
|
|
60
|
+
},
|
|
61
|
+
nameStartsWith: {
|
|
62
|
+
type: 'string',
|
|
63
|
+
description: 'Filter for other charge items whose `name` starts with this substring, case-insensitive.\n\n**NOTE**: If you use this parameter, you cannot also use `nameContains` or `nameEndsWith`.',
|
|
64
|
+
},
|
|
65
|
+
nameTo: {
|
|
66
|
+
type: 'string',
|
|
67
|
+
description: 'Filter for other charge items whose `name` is alphabetically less than or equal to this value.',
|
|
68
|
+
},
|
|
69
|
+
status: {
|
|
70
|
+
type: 'string',
|
|
71
|
+
description: 'Filter for other charge items that are active, inactive, or both.',
|
|
72
|
+
enum: ['active', 'all', 'inactive'],
|
|
73
|
+
},
|
|
74
|
+
updatedAfter: {
|
|
75
|
+
type: 'string',
|
|
76
|
+
description: 'Filter for other charge items updated on or after this date and time, in ISO 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date (YYYY-MM-DD), the time is assumed to be 00:00:00 of that day.',
|
|
77
|
+
},
|
|
78
|
+
updatedBefore: {
|
|
79
|
+
type: 'string',
|
|
80
|
+
description: 'Filter for other charge items updated on or before this date and time, in ISO 8601 format (YYYY-MM-DDTHH:mm:ss). If you only provide a date (YYYY-MM-DD), the time is assumed to be 23:59:59 of that day.',
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
required: ['conductorEndUserId'],
|
|
84
|
+
},
|
|
85
|
+
annotations: {
|
|
86
|
+
readOnlyHint: true,
|
|
87
|
+
},
|
|
88
|
+
};
|
|
89
|
+
export const handler = async (conductor, args) => {
|
|
90
|
+
const body = args;
|
|
91
|
+
const response = await conductor.qbd.otherChargeItems.list(body).asResponse();
|
|
92
|
+
return asTextContentResult(await response.json());
|
|
93
|
+
};
|
|
94
|
+
export default { metadata, tool, handler };
|
|
95
|
+
//# sourceMappingURL=list-qbd-other-charge-items.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-qbd-other-charge-items.mjs","sourceRoot":"","sources":["../../../src/tools/qbd/other-charge-items/list-qbd-other-charge-items.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAY,mBAAmB,EAAE,MAAM,gCAAgC;AAK9E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,wBAAwB;IAClC,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,wCAAwC;CACnD,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,6BAA6B;IACnC,WAAW,EACT,mGAAmG;IACrG,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,kBAAkB,EAAE;gBAClB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,mGAAmG;aACtG;YACD,QAAQ,EAAE;gBACR,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,6HAA6H;gBAC/H,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM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;IAC/F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,MAAM,QAAQ,GAAG,MAAM,SAAS,CAAC,GAAG,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,CAAC;IAC9E,OAAO,mBAAmB,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC;AACpD,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from 'conductor-node-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import Conductor from 'conductor-node';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (conductor: Conductor, args: Record<string, unknown> | undefined) => Promise<import("conductor-node-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (conductor: Conductor, args: Record<string, unknown> | undefined) => Promise<import("conductor-node-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=retrieve-qbd-other-charge-items.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-qbd-other-charge-items.d.mts","sourceRoot":"","sources":["../../../src/tools/qbd/other-charge-items/retrieve-qbd-other-charge-items.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,gCAAgC;OAEvE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAMtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAqBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,WAAW,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,qEAG5F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAHuC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK7F,wBAA2C"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Metadata } from 'conductor-node-mcp/tools/types';
|
|
2
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
3
|
+
import Conductor from 'conductor-node';
|
|
4
|
+
export declare const metadata: Metadata;
|
|
5
|
+
export declare const tool: Tool;
|
|
6
|
+
export declare const handler: (conductor: Conductor, args: Record<string, unknown> | undefined) => Promise<import("conductor-node-mcp/tools/types").ToolCallResult>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
metadata: Metadata;
|
|
9
|
+
tool: {
|
|
10
|
+
[x: string]: unknown;
|
|
11
|
+
name: string;
|
|
12
|
+
inputSchema: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
type: "object";
|
|
15
|
+
properties?: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
} | undefined;
|
|
18
|
+
required?: string[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
title?: string | undefined;
|
|
21
|
+
description?: string | undefined;
|
|
22
|
+
outputSchema?: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
type: "object";
|
|
25
|
+
properties?: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
} | undefined;
|
|
28
|
+
required?: string[] | undefined;
|
|
29
|
+
} | undefined;
|
|
30
|
+
annotations?: {
|
|
31
|
+
[x: string]: unknown;
|
|
32
|
+
title?: string | undefined;
|
|
33
|
+
readOnlyHint?: boolean | undefined;
|
|
34
|
+
destructiveHint?: boolean | undefined;
|
|
35
|
+
idempotentHint?: boolean | undefined;
|
|
36
|
+
openWorldHint?: boolean | undefined;
|
|
37
|
+
} | undefined;
|
|
38
|
+
_meta?: {
|
|
39
|
+
[x: string]: unknown;
|
|
40
|
+
} | undefined;
|
|
41
|
+
};
|
|
42
|
+
handler: (conductor: Conductor, args: Record<string, unknown> | undefined) => Promise<import("conductor-node-mcp/tools/types").ToolCallResult>;
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
45
|
+
//# sourceMappingURL=retrieve-qbd-other-charge-items.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-qbd-other-charge-items.d.ts","sourceRoot":"","sources":["../../../src/tools/qbd/other-charge-items/retrieve-qbd-other-charge-items.ts"],"names":[],"mappings":"OAEO,EAAE,QAAQ,EAAuB,MAAM,gCAAgC;OAEvE,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAMtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAqBlB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,WAAW,SAAS,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,qEAG5F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBAHuC,SAAS,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAK7F,wBAA2C"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.handler = exports.tool = exports.metadata = void 0;
|
|
5
|
+
const types_1 = require("conductor-node-mcp/tools/types");
|
|
6
|
+
exports.metadata = {
|
|
7
|
+
resource: 'qbd.other_charge_items',
|
|
8
|
+
operation: 'read',
|
|
9
|
+
tags: [],
|
|
10
|
+
httpMethod: 'get',
|
|
11
|
+
httpPath: '/quickbooks-desktop/other-charge-items/{id}',
|
|
12
|
+
};
|
|
13
|
+
exports.tool = {
|
|
14
|
+
name: 'retrieve_qbd_other_charge_items',
|
|
15
|
+
description: 'Retrieves an other charge item by ID.',
|
|
16
|
+
inputSchema: {
|
|
17
|
+
type: 'object',
|
|
18
|
+
properties: {
|
|
19
|
+
id: {
|
|
20
|
+
type: 'string',
|
|
21
|
+
description: 'The QuickBooks-assigned unique identifier of the other charge item to retrieve.',
|
|
22
|
+
},
|
|
23
|
+
conductorEndUserId: {
|
|
24
|
+
type: 'string',
|
|
25
|
+
description: 'The ID of the EndUser to receive this request (e.g., `"Conductor-End-User-Id: {{END_USER_ID}}"`).',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
required: ['id', 'conductorEndUserId'],
|
|
29
|
+
},
|
|
30
|
+
annotations: {
|
|
31
|
+
readOnlyHint: true,
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
const handler = async (conductor, args) => {
|
|
35
|
+
const { id, ...body } = args;
|
|
36
|
+
return (0, types_1.asTextContentResult)(await conductor.qbd.otherChargeItems.retrieve(id, body));
|
|
37
|
+
};
|
|
38
|
+
exports.handler = handler;
|
|
39
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
40
|
+
//# sourceMappingURL=retrieve-qbd-other-charge-items.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-qbd-other-charge-items.js","sourceRoot":"","sources":["../../../src/tools/qbd/other-charge-items/retrieve-qbd-other-charge-items.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAA+E;AAKlE,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,wBAAwB;IAClC,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,6CAA6C;CACxD,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EAAE,uCAAuC;IACpD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iFAAiF;aAC/F;YACD,kBAAkB,EAAE;gBAClB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,mGAAmG;aACtG;SACF;QACD,QAAQ,EAAE,CAAC,IAAI,EAAE,oBAAoB,CAAC;KACvC;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,SAAoB,EAAE,IAAyC,EAAE,EAAE;IAC/F,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACpC,OAAO,IAAA,2BAAmB,EAAC,MAAM,SAAS,CAAC,GAAG,CAAC,gBAAgB,CAAC,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;AACtF,CAAC,CAAC;AAHW,QAAA,OAAO,WAGlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { asTextContentResult } from 'conductor-node-mcp/tools/types';
|
|
3
|
+
export const metadata = {
|
|
4
|
+
resource: 'qbd.other_charge_items',
|
|
5
|
+
operation: 'read',
|
|
6
|
+
tags: [],
|
|
7
|
+
httpMethod: 'get',
|
|
8
|
+
httpPath: '/quickbooks-desktop/other-charge-items/{id}',
|
|
9
|
+
};
|
|
10
|
+
export const tool = {
|
|
11
|
+
name: 'retrieve_qbd_other_charge_items',
|
|
12
|
+
description: 'Retrieves an other charge item by ID.',
|
|
13
|
+
inputSchema: {
|
|
14
|
+
type: 'object',
|
|
15
|
+
properties: {
|
|
16
|
+
id: {
|
|
17
|
+
type: 'string',
|
|
18
|
+
description: 'The QuickBooks-assigned unique identifier of the other charge item to retrieve.',
|
|
19
|
+
},
|
|
20
|
+
conductorEndUserId: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
description: 'The ID of the EndUser to receive this request (e.g., `"Conductor-End-User-Id: {{END_USER_ID}}"`).',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
required: ['id', 'conductorEndUserId'],
|
|
26
|
+
},
|
|
27
|
+
annotations: {
|
|
28
|
+
readOnlyHint: true,
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
export const handler = async (conductor, args) => {
|
|
32
|
+
const { id, ...body } = args;
|
|
33
|
+
return asTextContentResult(await conductor.qbd.otherChargeItems.retrieve(id, body));
|
|
34
|
+
};
|
|
35
|
+
export default { metadata, tool, handler };
|
|
36
|
+
//# sourceMappingURL=retrieve-qbd-other-charge-items.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-qbd-other-charge-items.mjs","sourceRoot":"","sources":["../../../src/tools/qbd/other-charge-items/retrieve-qbd-other-charge-items.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAY,mBAAmB,EAAE,MAAM,gCAAgC;AAK9E,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,wBAAwB;IAClC,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,6CAA6C;CACxD,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,iCAAiC;IACvC,WAAW,EAAE,uCAAuC;IACpD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iFAAiF;aAC/F;YACD,kBAAkB,EAAE;gBAClB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,mGAAmG;aACtG;SACF;QACD,QAAQ,EAAE,CAAC,IAAI,EAAE,oBAAoB,CAAC;KACvC;IACD,WAAW,EAAE;QACX,YAAY,EAAE,IAAI;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,SAAoB,EAAE,IAAyC,EAAE,EAAE;IAC/F,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,GAAG,IAAW,CAAC;IACpC,OAAO,mBAAmB,CAAC,MAAM,SAAS,CAAC,GAAG,CAAC,gBAAgB,CAAC,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;AACtF,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|