conductor-node-mcp 12.13.0 → 12.14.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 +8 -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/build-assemblies/create-qbd-build-assemblies.ts +97 -0
- package/src/tools/qbd/build-assemblies/delete-qbd-build-assemblies.ts +42 -0
- package/src/tools/qbd/build-assemblies/list-qbd-build-assemblies.ts +127 -0
- package/src/tools/qbd/build-assemblies/retrieve-qbd-build-assemblies.ts +41 -0
- package/src/tools/qbd/build-assemblies/update-qbd-build-assemblies.ts +101 -0
- package/src/tools/qbd/inventory-adjustments/create-qbd-inventory-adjustments.ts +5 -5
- package/src/tools/qbd/price-levels/create-qbd-price-levels.ts +6 -6
- package/src/tools/qbd/price-levels/update-qbd-price-levels.ts +6 -6
- 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/build-assemblies/create-qbd-build-assemblies.d.mts +45 -0
- package/tools/qbd/build-assemblies/create-qbd-build-assemblies.d.mts.map +1 -0
- package/tools/qbd/build-assemblies/create-qbd-build-assemblies.d.ts +45 -0
- package/tools/qbd/build-assemblies/create-qbd-build-assemblies.d.ts.map +1 -0
- package/tools/qbd/build-assemblies/create-qbd-build-assemblies.js +82 -0
- package/tools/qbd/build-assemblies/create-qbd-build-assemblies.js.map +1 -0
- package/tools/qbd/build-assemblies/create-qbd-build-assemblies.mjs +78 -0
- package/tools/qbd/build-assemblies/create-qbd-build-assemblies.mjs.map +1 -0
- package/tools/qbd/build-assemblies/delete-qbd-build-assemblies.d.mts +45 -0
- package/tools/qbd/build-assemblies/delete-qbd-build-assemblies.d.mts.map +1 -0
- package/tools/qbd/build-assemblies/delete-qbd-build-assemblies.d.ts +45 -0
- package/tools/qbd/build-assemblies/delete-qbd-build-assemblies.d.ts.map +1 -0
- package/tools/qbd/build-assemblies/delete-qbd-build-assemblies.js +36 -0
- package/tools/qbd/build-assemblies/delete-qbd-build-assemblies.js.map +1 -0
- package/tools/qbd/build-assemblies/delete-qbd-build-assemblies.mjs +32 -0
- package/tools/qbd/build-assemblies/delete-qbd-build-assemblies.mjs.map +1 -0
- package/tools/qbd/build-assemblies/list-qbd-build-assemblies.d.mts +45 -0
- package/tools/qbd/build-assemblies/list-qbd-build-assemblies.d.mts.map +1 -0
- package/tools/qbd/build-assemblies/list-qbd-build-assemblies.d.ts +45 -0
- package/tools/qbd/build-assemblies/list-qbd-build-assemblies.d.ts.map +1 -0
- package/tools/qbd/build-assemblies/list-qbd-build-assemblies.js +108 -0
- package/tools/qbd/build-assemblies/list-qbd-build-assemblies.js.map +1 -0
- package/tools/qbd/build-assemblies/list-qbd-build-assemblies.mjs +104 -0
- package/tools/qbd/build-assemblies/list-qbd-build-assemblies.mjs.map +1 -0
- package/tools/qbd/build-assemblies/retrieve-qbd-build-assemblies.d.mts +45 -0
- package/tools/qbd/build-assemblies/retrieve-qbd-build-assemblies.d.mts.map +1 -0
- package/tools/qbd/build-assemblies/retrieve-qbd-build-assemblies.d.ts +45 -0
- package/tools/qbd/build-assemblies/retrieve-qbd-build-assemblies.d.ts.map +1 -0
- package/tools/qbd/build-assemblies/retrieve-qbd-build-assemblies.js +36 -0
- package/tools/qbd/build-assemblies/retrieve-qbd-build-assemblies.js.map +1 -0
- package/tools/qbd/build-assemblies/retrieve-qbd-build-assemblies.mjs +32 -0
- package/tools/qbd/build-assemblies/retrieve-qbd-build-assemblies.mjs.map +1 -0
- package/tools/qbd/build-assemblies/update-qbd-build-assemblies.d.mts +45 -0
- package/tools/qbd/build-assemblies/update-qbd-build-assemblies.d.mts.map +1 -0
- package/tools/qbd/build-assemblies/update-qbd-build-assemblies.d.ts +45 -0
- package/tools/qbd/build-assemblies/update-qbd-build-assemblies.d.ts.map +1 -0
- package/tools/qbd/build-assemblies/update-qbd-build-assemblies.js +86 -0
- package/tools/qbd/build-assemblies/update-qbd-build-assemblies.js.map +1 -0
- package/tools/qbd/build-assemblies/update-qbd-build-assemblies.mjs +82 -0
- package/tools/qbd/build-assemblies/update-qbd-build-assemblies.mjs.map +1 -0
- package/tools/qbd/inventory-adjustments/create-qbd-inventory-adjustments.js +5 -5
- package/tools/qbd/inventory-adjustments/create-qbd-inventory-adjustments.js.map +1 -1
- package/tools/qbd/inventory-adjustments/create-qbd-inventory-adjustments.mjs +5 -5
- package/tools/qbd/inventory-adjustments/create-qbd-inventory-adjustments.mjs.map +1 -1
- package/tools/qbd/price-levels/create-qbd-price-levels.js +5 -5
- package/tools/qbd/price-levels/create-qbd-price-levels.js.map +1 -1
- package/tools/qbd/price-levels/create-qbd-price-levels.mjs +5 -5
- package/tools/qbd/price-levels/create-qbd-price-levels.mjs.map +1 -1
- package/tools/qbd/price-levels/update-qbd-price-levels.js +5 -5
- package/tools/qbd/price-levels/update-qbd-price-levels.js.map +1 -1
- package/tools/qbd/price-levels/update-qbd-price-levels.mjs +5 -5
- package/tools/qbd/price-levels/update-qbd-price-levels.mjs.map +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
import type { Metadata } from "../..//index.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-build-assemblies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-qbd-build-assemblies.d.ts","sourceRoot":"","sources":["../../../src/tools/qbd/build-assemblies/list-qbd-build-assemblies.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAMtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAuGlB,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,108 @@
|
|
|
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.build_assemblies',
|
|
8
|
+
operation: 'read',
|
|
9
|
+
tags: [],
|
|
10
|
+
httpMethod: 'get',
|
|
11
|
+
httpPath: '/quickbooks-desktop/build-assemblies',
|
|
12
|
+
};
|
|
13
|
+
exports.tool = {
|
|
14
|
+
name: 'list_qbd_build_assemblies',
|
|
15
|
+
description: 'Returns a list of build assemblies. Use the `cursor` parameter to paginate through the results.',
|
|
16
|
+
inputSchema: {
|
|
17
|
+
type: 'object',
|
|
18
|
+
properties: {
|
|
19
|
+
'Conductor-End-User-Id': {
|
|
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
|
+
cursor: {
|
|
24
|
+
type: 'string',
|
|
25
|
+
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.',
|
|
26
|
+
},
|
|
27
|
+
ids: {
|
|
28
|
+
type: 'array',
|
|
29
|
+
description: 'Filter for specific build assemblies 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.',
|
|
30
|
+
items: {
|
|
31
|
+
type: 'string',
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
includeComponentLineItems: {
|
|
35
|
+
type: 'boolean',
|
|
36
|
+
description: 'Whether to include component line items in the response. Defaults to `true`.',
|
|
37
|
+
},
|
|
38
|
+
itemIds: {
|
|
39
|
+
type: 'array',
|
|
40
|
+
description: 'Filter for build assemblies containing these items.',
|
|
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
|
+
pendingStatus: {
|
|
50
|
+
type: 'string',
|
|
51
|
+
description: 'Filter for build assemblies that are pending, not pending, or both.',
|
|
52
|
+
enum: ['all', 'not_pending', 'pending'],
|
|
53
|
+
},
|
|
54
|
+
refNumberContains: {
|
|
55
|
+
type: 'string',
|
|
56
|
+
description: 'Filter for build assemblies whose `refNumber` contains this substring.\n\n**NOTE**: If you use this parameter, you cannot also use `refNumberStartsWith` or `refNumberEndsWith`.',
|
|
57
|
+
},
|
|
58
|
+
refNumberEndsWith: {
|
|
59
|
+
type: 'string',
|
|
60
|
+
description: 'Filter for build assemblies whose `refNumber` ends with this substring.\n\n**NOTE**: If you use this parameter, you cannot also use `refNumberContains` or `refNumberStartsWith`.',
|
|
61
|
+
},
|
|
62
|
+
refNumberFrom: {
|
|
63
|
+
type: 'string',
|
|
64
|
+
description: 'Filter for build assemblies whose `refNumber` is greater than or equal to this value. If omitted, the range will begin with the first number of the list. Uses a numerical comparison for values that contain only digits; otherwise, uses a lexicographical comparison.',
|
|
65
|
+
},
|
|
66
|
+
refNumbers: {
|
|
67
|
+
type: 'array',
|
|
68
|
+
description: 'Filter for specific build assemblies by their ref-number(s), case-sensitive. In QuickBooks, ref-numbers are not required to be unique and can be arbitrarily changed by the QuickBooks user.\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.',
|
|
69
|
+
items: {
|
|
70
|
+
type: 'string',
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
refNumberStartsWith: {
|
|
74
|
+
type: 'string',
|
|
75
|
+
description: 'Filter for build assemblies whose `refNumber` starts with this substring.\n\n**NOTE**: If you use this parameter, you cannot also use `refNumberContains` or `refNumberEndsWith`.',
|
|
76
|
+
},
|
|
77
|
+
refNumberTo: {
|
|
78
|
+
type: 'string',
|
|
79
|
+
description: 'Filter for build assemblies whose `refNumber` is less than or equal to this value. If omitted, the range will end with the last number of the list. Uses a numerical comparison for values that contain only digits; otherwise, uses a lexicographical comparison.',
|
|
80
|
+
},
|
|
81
|
+
transactionDateFrom: {
|
|
82
|
+
type: 'string',
|
|
83
|
+
description: 'Filter for build assemblies whose `date` field is on or after this date, in ISO 8601 format (YYYY-MM-DD).',
|
|
84
|
+
format: 'date',
|
|
85
|
+
},
|
|
86
|
+
transactionDateTo: {
|
|
87
|
+
type: 'string',
|
|
88
|
+
description: 'Filter for build assemblies whose `date` field is on or before this date, in ISO 8601 format (YYYY-MM-DD).',
|
|
89
|
+
format: 'date',
|
|
90
|
+
},
|
|
91
|
+
updatedAfter: {
|
|
92
|
+
type: 'string',
|
|
93
|
+
description: 'Filter for build assemblies 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.',
|
|
94
|
+
},
|
|
95
|
+
updatedBefore: {
|
|
96
|
+
type: 'string',
|
|
97
|
+
description: 'Filter for build assemblies 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.',
|
|
98
|
+
},
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
const handler = async (conductor, args) => {
|
|
103
|
+
const body = args;
|
|
104
|
+
return (0, types_1.asTextContentResult)(await conductor.qbd.buildAssemblies.list(body));
|
|
105
|
+
};
|
|
106
|
+
exports.handler = handler;
|
|
107
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
108
|
+
//# sourceMappingURL=list-qbd-build-assemblies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-qbd-build-assemblies.js","sourceRoot":"","sources":["../../../src/tools/qbd/build-assemblies/list-qbd-build-assemblies.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAAqE;AAMxD,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,sBAAsB;IAChC,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,sCAAsC;CACjD,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,2BAA2B;IACjC,WAAW,EACT,iGAAiG;IACnG,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,uBAAuB,EAAE;gBACvB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,mGAAmG;aACtG;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,gPAAgP;aACnP;YACD,GAAG,EAAE;gBACH,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,+TAA+T;gBACjU,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,yBAAyB,EAAE;gBACzB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,8EAA8E;aAC5F;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,qDAAqD;gBAClE,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,gZAAgZ;aACnZ;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qEAAqE;gBAClF,IAAI,EAAE,CAAC,KAAK,EAAE,aAAa,EAAE,SAAS,CAAC;aACxC;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,kLAAkL;aACrL;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,mLAAmL;aACtL;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,0QAA0Q;aAC7Q;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,oaAAoa;gBACta,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,mLAAmL;aACtL;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,oQAAoQ;aACvQ;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,2GAA2G;gBAC7G,MAAM,EAAE,MAAM;aACf;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,4GAA4G;gBAC9G,MAAM,EAAE,MAAM;aACf;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,wMAAwM;aAC3M;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,yMAAyM;aAC5M;SACF;KACF;CACF,CAAC;AAEK,MAAM,OAAO,GAAG,KAAK,EAAE,SAAoB,EAAE,IAAyC,EAAE,EAAE;IAC/F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,OAAO,IAAA,2BAAmB,EAAC,MAAM,SAAS,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AAC7E,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,104 @@
|
|
|
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.build_assemblies',
|
|
5
|
+
operation: 'read',
|
|
6
|
+
tags: [],
|
|
7
|
+
httpMethod: 'get',
|
|
8
|
+
httpPath: '/quickbooks-desktop/build-assemblies',
|
|
9
|
+
};
|
|
10
|
+
export const tool = {
|
|
11
|
+
name: 'list_qbd_build_assemblies',
|
|
12
|
+
description: 'Returns a list of build assemblies. Use the `cursor` parameter to paginate through the results.',
|
|
13
|
+
inputSchema: {
|
|
14
|
+
type: 'object',
|
|
15
|
+
properties: {
|
|
16
|
+
'Conductor-End-User-Id': {
|
|
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
|
+
cursor: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
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.',
|
|
23
|
+
},
|
|
24
|
+
ids: {
|
|
25
|
+
type: 'array',
|
|
26
|
+
description: 'Filter for specific build assemblies 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.',
|
|
27
|
+
items: {
|
|
28
|
+
type: 'string',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
includeComponentLineItems: {
|
|
32
|
+
type: 'boolean',
|
|
33
|
+
description: 'Whether to include component line items in the response. Defaults to `true`.',
|
|
34
|
+
},
|
|
35
|
+
itemIds: {
|
|
36
|
+
type: 'array',
|
|
37
|
+
description: 'Filter for build assemblies containing these items.',
|
|
38
|
+
items: {
|
|
39
|
+
type: 'string',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
limit: {
|
|
43
|
+
type: 'integer',
|
|
44
|
+
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.',
|
|
45
|
+
},
|
|
46
|
+
pendingStatus: {
|
|
47
|
+
type: 'string',
|
|
48
|
+
description: 'Filter for build assemblies that are pending, not pending, or both.',
|
|
49
|
+
enum: ['all', 'not_pending', 'pending'],
|
|
50
|
+
},
|
|
51
|
+
refNumberContains: {
|
|
52
|
+
type: 'string',
|
|
53
|
+
description: 'Filter for build assemblies whose `refNumber` contains this substring.\n\n**NOTE**: If you use this parameter, you cannot also use `refNumberStartsWith` or `refNumberEndsWith`.',
|
|
54
|
+
},
|
|
55
|
+
refNumberEndsWith: {
|
|
56
|
+
type: 'string',
|
|
57
|
+
description: 'Filter for build assemblies whose `refNumber` ends with this substring.\n\n**NOTE**: If you use this parameter, you cannot also use `refNumberContains` or `refNumberStartsWith`.',
|
|
58
|
+
},
|
|
59
|
+
refNumberFrom: {
|
|
60
|
+
type: 'string',
|
|
61
|
+
description: 'Filter for build assemblies whose `refNumber` is greater than or equal to this value. If omitted, the range will begin with the first number of the list. Uses a numerical comparison for values that contain only digits; otherwise, uses a lexicographical comparison.',
|
|
62
|
+
},
|
|
63
|
+
refNumbers: {
|
|
64
|
+
type: 'array',
|
|
65
|
+
description: 'Filter for specific build assemblies by their ref-number(s), case-sensitive. In QuickBooks, ref-numbers are not required to be unique and can be arbitrarily changed by the QuickBooks user.\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.',
|
|
66
|
+
items: {
|
|
67
|
+
type: 'string',
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
refNumberStartsWith: {
|
|
71
|
+
type: 'string',
|
|
72
|
+
description: 'Filter for build assemblies whose `refNumber` starts with this substring.\n\n**NOTE**: If you use this parameter, you cannot also use `refNumberContains` or `refNumberEndsWith`.',
|
|
73
|
+
},
|
|
74
|
+
refNumberTo: {
|
|
75
|
+
type: 'string',
|
|
76
|
+
description: 'Filter for build assemblies whose `refNumber` is less than or equal to this value. If omitted, the range will end with the last number of the list. Uses a numerical comparison for values that contain only digits; otherwise, uses a lexicographical comparison.',
|
|
77
|
+
},
|
|
78
|
+
transactionDateFrom: {
|
|
79
|
+
type: 'string',
|
|
80
|
+
description: 'Filter for build assemblies whose `date` field is on or after this date, in ISO 8601 format (YYYY-MM-DD).',
|
|
81
|
+
format: 'date',
|
|
82
|
+
},
|
|
83
|
+
transactionDateTo: {
|
|
84
|
+
type: 'string',
|
|
85
|
+
description: 'Filter for build assemblies whose `date` field is on or before this date, in ISO 8601 format (YYYY-MM-DD).',
|
|
86
|
+
format: 'date',
|
|
87
|
+
},
|
|
88
|
+
updatedAfter: {
|
|
89
|
+
type: 'string',
|
|
90
|
+
description: 'Filter for build assemblies 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.',
|
|
91
|
+
},
|
|
92
|
+
updatedBefore: {
|
|
93
|
+
type: 'string',
|
|
94
|
+
description: 'Filter for build assemblies 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.',
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
};
|
|
99
|
+
export const handler = async (conductor, args) => {
|
|
100
|
+
const body = args;
|
|
101
|
+
return asTextContentResult(await conductor.qbd.buildAssemblies.list(body));
|
|
102
|
+
};
|
|
103
|
+
export default { metadata, tool, handler };
|
|
104
|
+
//# sourceMappingURL=list-qbd-build-assemblies.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-qbd-build-assemblies.mjs","sourceRoot":"","sources":["../../../src/tools/qbd/build-assemblies/list-qbd-build-assemblies.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,mBAAmB,EAAE,MAAM,gCAAgC;AAMpE,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,sBAAsB;IAChC,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,sCAAsC;CACjD,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,2BAA2B;IACjC,WAAW,EACT,iGAAiG;IACnG,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,uBAAuB,EAAE;gBACvB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,mGAAmG;aACtG;YACD,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,gPAAgP;aACnP;YACD,GAAG,EAAE;gBACH,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,+TAA+T;gBACjU,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,yBAAyB,EAAE;gBACzB,IAAI,EAAE,SAAS;gBACf,WAAW,EAAE,8EAA8E;aAC5F;YACD,OAAO,EAAE;gBACP,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,qDAAqD;gBAClE,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,SAAS;gBACf,WAAW,EACT,gZAAgZ;aACnZ;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qEAAqE;gBAClF,IAAI,EAAE,CAAC,KAAK,EAAE,aAAa,EAAE,SAAS,CAAC;aACxC;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,kLAAkL;aACrL;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,mLAAmL;aACtL;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,0QAA0Q;aAC7Q;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,OAAO;gBACb,WAAW,EACT,oaAAoa;gBACta,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,mLAAmL;aACtL;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,oQAAoQ;aACvQ;YACD,mBAAmB,EAAE;gBACnB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,2GAA2G;gBAC7G,MAAM,EAAE,MAAM;aACf;YACD,iBAAiB,EAAE;gBACjB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,4GAA4G;gBAC9G,MAAM,EAAE,MAAM;aACf;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,wMAAwM;aAC3M;YACD,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,yMAAyM;aAC5M;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAAG,KAAK,EAAE,SAAoB,EAAE,IAAyC,EAAE,EAAE;IAC/F,MAAM,IAAI,GAAG,IAAW,CAAC;IACzB,OAAO,mBAAmB,CAAC,MAAM,SAAS,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;AAC7E,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
import type { Metadata } from "../..//index.mjs";
|
|
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-build-assemblies.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-qbd-build-assemblies.d.mts","sourceRoot":"","sources":["../../../src/tools/qbd/build-assemblies/retrieve-qbd-build-assemblies.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAMtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAiBlB,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 { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
import type { Metadata } from "../..//index.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-build-assemblies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-qbd-build-assemblies.d.ts","sourceRoot":"","sources":["../../../src/tools/qbd/build-assemblies/retrieve-qbd-build-assemblies.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAMtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAiBlB,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,36 @@
|
|
|
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.build_assemblies',
|
|
8
|
+
operation: 'read',
|
|
9
|
+
tags: [],
|
|
10
|
+
httpMethod: 'get',
|
|
11
|
+
httpPath: '/quickbooks-desktop/build-assemblies/{id}',
|
|
12
|
+
};
|
|
13
|
+
exports.tool = {
|
|
14
|
+
name: 'retrieve_qbd_build_assemblies',
|
|
15
|
+
description: 'Retrieves a build assembly by ID.',
|
|
16
|
+
inputSchema: {
|
|
17
|
+
type: 'object',
|
|
18
|
+
properties: {
|
|
19
|
+
id: {
|
|
20
|
+
type: 'string',
|
|
21
|
+
description: 'The QuickBooks-assigned unique identifier of the build assembly to retrieve.',
|
|
22
|
+
},
|
|
23
|
+
'Conductor-End-User-Id': {
|
|
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
|
+
},
|
|
29
|
+
};
|
|
30
|
+
const handler = async (conductor, args) => {
|
|
31
|
+
const { id, ...body } = args;
|
|
32
|
+
return (0, types_1.asTextContentResult)(await conductor.qbd.buildAssemblies.retrieve(id, body));
|
|
33
|
+
};
|
|
34
|
+
exports.handler = handler;
|
|
35
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
36
|
+
//# sourceMappingURL=retrieve-qbd-build-assemblies.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-qbd-build-assemblies.js","sourceRoot":"","sources":["../../../src/tools/qbd/build-assemblies/retrieve-qbd-build-assemblies.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,0DAAqE;AAMxD,QAAA,QAAQ,GAAa;IAChC,QAAQ,EAAE,sBAAsB;IAChC,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,2CAA2C;CACtD,CAAC;AAEW,QAAA,IAAI,GAAS;IACxB,IAAI,EAAE,+BAA+B;IACrC,WAAW,EAAE,mCAAmC;IAChD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8EAA8E;aAC5F;YACD,uBAAuB,EAAE;gBACvB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,mGAAmG;aACtG;SACF;KACF;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,eAAe,CAAC,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;AACrF,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,32 @@
|
|
|
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.build_assemblies',
|
|
5
|
+
operation: 'read',
|
|
6
|
+
tags: [],
|
|
7
|
+
httpMethod: 'get',
|
|
8
|
+
httpPath: '/quickbooks-desktop/build-assemblies/{id}',
|
|
9
|
+
};
|
|
10
|
+
export const tool = {
|
|
11
|
+
name: 'retrieve_qbd_build_assemblies',
|
|
12
|
+
description: 'Retrieves a build assembly by ID.',
|
|
13
|
+
inputSchema: {
|
|
14
|
+
type: 'object',
|
|
15
|
+
properties: {
|
|
16
|
+
id: {
|
|
17
|
+
type: 'string',
|
|
18
|
+
description: 'The QuickBooks-assigned unique identifier of the build assembly to retrieve.',
|
|
19
|
+
},
|
|
20
|
+
'Conductor-End-User-Id': {
|
|
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
|
+
},
|
|
26
|
+
};
|
|
27
|
+
export const handler = async (conductor, args) => {
|
|
28
|
+
const { id, ...body } = args;
|
|
29
|
+
return asTextContentResult(await conductor.qbd.buildAssemblies.retrieve(id, body));
|
|
30
|
+
};
|
|
31
|
+
export default { metadata, tool, handler };
|
|
32
|
+
//# sourceMappingURL=retrieve-qbd-build-assemblies.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve-qbd-build-assemblies.mjs","sourceRoot":"","sources":["../../../src/tools/qbd/build-assemblies/retrieve-qbd-build-assemblies.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,mBAAmB,EAAE,MAAM,gCAAgC;AAMpE,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,sBAAsB;IAChC,SAAS,EAAE,MAAM;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,KAAK;IACjB,QAAQ,EAAE,2CAA2C;CACtD,CAAC;AAEF,MAAM,CAAC,MAAM,IAAI,GAAS;IACxB,IAAI,EAAE,+BAA+B;IACrC,WAAW,EAAE,mCAAmC;IAChD,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,EAAE,EAAE;gBACF,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,8EAA8E;aAC5F;YACD,uBAAuB,EAAE;gBACvB,IAAI,EAAE,QAAQ;gBACd,WAAW,EACT,mGAAmG;aACtG;SACF;KACF;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,eAAe,CAAC,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC;AACrF,CAAC,CAAC;AAEF,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
import type { Metadata } from "../..//index.mjs";
|
|
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=update-qbd-build-assemblies.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-qbd-build-assemblies.d.mts","sourceRoot":"","sources":["../../../src/tools/qbd/build-assemblies/update-qbd-build-assemblies.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAMtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA6ElB,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 { Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
import type { Metadata } from "../..//index.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=update-qbd-build-assemblies.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-qbd-build-assemblies.d.ts","sourceRoot":"","sources":["../../../src/tools/qbd/build-assemblies/update-qbd-build-assemblies.ts"],"names":[],"mappings":"OAIO,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,KAAK,EAAE,QAAQ,EAAE;OACjB,SAAS,MAAM,gBAAgB;AAEtC,eAAO,MAAM,QAAQ,EAAE,QAMtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IA6ElB,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,86 @@
|
|
|
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.build_assemblies',
|
|
8
|
+
operation: 'write',
|
|
9
|
+
tags: [],
|
|
10
|
+
httpMethod: 'post',
|
|
11
|
+
httpPath: '/quickbooks-desktop/build-assemblies/{id}',
|
|
12
|
+
};
|
|
13
|
+
exports.tool = {
|
|
14
|
+
name: 'update_qbd_build_assemblies',
|
|
15
|
+
description: 'Updates an existing build assembly.',
|
|
16
|
+
inputSchema: {
|
|
17
|
+
type: 'object',
|
|
18
|
+
properties: {
|
|
19
|
+
id: {
|
|
20
|
+
type: 'string',
|
|
21
|
+
description: 'The QuickBooks-assigned unique identifier of the build assembly to update.',
|
|
22
|
+
},
|
|
23
|
+
revisionNumber: {
|
|
24
|
+
type: 'string',
|
|
25
|
+
description: "The current QuickBooks-assigned revision number of the build assembly 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.",
|
|
26
|
+
},
|
|
27
|
+
'Conductor-End-User-Id': {
|
|
28
|
+
type: 'string',
|
|
29
|
+
description: 'The ID of the EndUser to receive this request (e.g., `"Conductor-End-User-Id: {{END_USER_ID}}"`).',
|
|
30
|
+
},
|
|
31
|
+
expirationDate: {
|
|
32
|
+
type: 'string',
|
|
33
|
+
description: 'The expiration date for the serial number or lot number of the item associated with this build assembly, in ISO 8601 format (YYYY-MM-DD). This is particularly relevant for perishable or time-sensitive inventory items. Note that this field is only supported on QuickBooks Desktop 2023 or later.',
|
|
34
|
+
format: 'date',
|
|
35
|
+
},
|
|
36
|
+
inventorySiteId: {
|
|
37
|
+
type: 'string',
|
|
38
|
+
description: 'The site location where inventory for the item associated with this build assembly is stored.',
|
|
39
|
+
},
|
|
40
|
+
inventorySiteLocationId: {
|
|
41
|
+
type: 'string',
|
|
42
|
+
description: 'The specific location (e.g., bin or shelf) within the inventory site where the item associated with this build assembly is stored.',
|
|
43
|
+
},
|
|
44
|
+
lotNumber: {
|
|
45
|
+
type: 'string',
|
|
46
|
+
description: 'The lot number of the item associated with this build assembly. Used for tracking groups of inventory items that are purchased or manufactured together.',
|
|
47
|
+
},
|
|
48
|
+
markPendingIfRequired: {
|
|
49
|
+
type: 'boolean',
|
|
50
|
+
description: 'When `true`, the build assembly will be marked pending if there are insufficient quantities to complete the build assembly.',
|
|
51
|
+
},
|
|
52
|
+
memo: {
|
|
53
|
+
type: 'string',
|
|
54
|
+
description: 'A memo or note for this build assembly.',
|
|
55
|
+
},
|
|
56
|
+
quantityToBuild: {
|
|
57
|
+
type: 'number',
|
|
58
|
+
description: 'The number of build assembly to be built. The transaction will fail if the number specified here exceeds the number of on-hand components.',
|
|
59
|
+
},
|
|
60
|
+
refNumber: {
|
|
61
|
+
type: 'string',
|
|
62
|
+
description: 'The case-sensitive user-defined reference number for this build assembly, 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.',
|
|
63
|
+
},
|
|
64
|
+
removePending: {
|
|
65
|
+
type: 'boolean',
|
|
66
|
+
description: "When `true`, changes this build assembly's status from pending to non-pending, which effectively performs the build transaction. The operation will fail if there are insufficient component quantities on hand to complete the build.",
|
|
67
|
+
},
|
|
68
|
+
serialNumber: {
|
|
69
|
+
type: 'string',
|
|
70
|
+
description: 'The serial number of the item associated with this build assembly. This is used for tracking individual units of serialized inventory items.',
|
|
71
|
+
},
|
|
72
|
+
transactionDate: {
|
|
73
|
+
type: 'string',
|
|
74
|
+
description: 'The date of this build assembly, in ISO 8601 format (YYYY-MM-DD).',
|
|
75
|
+
format: 'date',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
const handler = async (conductor, args) => {
|
|
81
|
+
const { id, ...body } = args;
|
|
82
|
+
return (0, types_1.asTextContentResult)(await conductor.qbd.buildAssemblies.update(id, body));
|
|
83
|
+
};
|
|
84
|
+
exports.handler = handler;
|
|
85
|
+
exports.default = { metadata: exports.metadata, tool: exports.tool, handler: exports.handler };
|
|
86
|
+
//# sourceMappingURL=update-qbd-build-assemblies.js.map
|