@greensecurity/javascript-sdk 0.21.3 → 0.21.4
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 +3 -0
- package/bin/mcp-server.js +314 -50
- package/bin/mcp-server.js.map +13 -9
- package/funcs/vendorsListVendorCredits.d.ts +20 -0
- package/funcs/vendorsListVendorCredits.d.ts.map +1 -0
- package/funcs/vendorsListVendorCredits.js +160 -0
- package/funcs/vendorsListVendorCredits.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/vendorsListVendorCredits.d.ts +8 -0
- package/mcp-server/tools/vendorsListVendorCredits.d.ts.map +1 -0
- package/mcp-server/tools/vendorsListVendorCredits.js +64 -0
- package/mcp-server/tools/vendorsListVendorCredits.js.map +1 -0
- package/models/components/credit.d.ts +72 -0
- package/models/components/credit.d.ts.map +1 -0
- package/models/components/credit.js +114 -0
- package/models/components/credit.js.map +1 -0
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/subscription.d.ts +2 -2
- package/models/components/subscription.d.ts.map +1 -1
- package/models/components/subscription.js +2 -2
- package/models/components/subscription.js.map +1 -1
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listvendorcredits.d.ts +111 -0
- package/models/operations/listvendorcredits.d.ts.map +1 -0
- package/models/operations/listvendorcredits.js +153 -0
- package/models/operations/listvendorcredits.js.map +1 -0
- package/package.json +1 -1
- package/react-query/index.d.ts +1 -0
- package/react-query/index.d.ts.map +1 -1
- package/react-query/index.js +1 -0
- package/react-query/index.js.map +1 -1
- package/react-query/vendorsListVendorCredits.d.ts +77 -0
- package/react-query/vendorsListVendorCredits.d.ts.map +1 -0
- package/react-query/vendorsListVendorCredits.js +156 -0
- package/react-query/vendorsListVendorCredits.js.map +1 -0
- package/sdk/vendors.d.ts +9 -0
- package/sdk/vendors.d.ts.map +1 -1
- package/sdk/vendors.js +10 -0
- package/sdk/vendors.js.map +1 -1
- package/src/__tests__/vendors.test.ts +36 -0
- package/src/funcs/vendorsListVendorCredits.ts +251 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/vendorsListVendorCredits.ts +37 -0
- package/src/models/components/credit.ts +123 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/components/subscription.ts +4 -4
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/listvendorcredits.ts +245 -0
- package/src/react-query/index.ts +1 -0
- package/src/react-query/vendorsListVendorCredits.ts +334 -0
- package/src/sdk/vendors.ts +20 -0
package/sdk/vendors.d.ts
CHANGED
|
@@ -106,5 +106,14 @@ export declare class Vendors extends ClientSDK {
|
|
|
106
106
|
* vendor.background_check_date_expires
|
|
107
107
|
*/
|
|
108
108
|
getVendorsDetails(request: operations.GetVendorsDetailsRequest, options?: RequestOptions): Promise<components.Vendor>;
|
|
109
|
+
/**
|
|
110
|
+
* List vendor credits
|
|
111
|
+
*
|
|
112
|
+
* @remarks
|
|
113
|
+
* List the credits for the vendor
|
|
114
|
+
*/
|
|
115
|
+
listVendorCredits(request: operations.ListVendorCreditsRequest, options?: RequestOptions): Promise<PageIterator<operations.ListVendorCreditsResponse, {
|
|
116
|
+
page: number;
|
|
117
|
+
}>>;
|
|
109
118
|
}
|
|
110
119
|
//# sourceMappingURL=vendors.d.ts.map
|
package/sdk/vendors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vendors.d.ts","sourceRoot":"","sources":["../src/sdk/vendors.ts"],"names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R
|
|
|
9
9
|
const vendorsGetVendorInvoiceDetails_js_1 = require("../funcs/vendorsGetVendorInvoiceDetails.js");
|
|
10
10
|
const vendorsGetVendorsDetails_js_1 = require("../funcs/vendorsGetVendorsDetails.js");
|
|
11
11
|
const vendorsListVendorCredentials_js_1 = require("../funcs/vendorsListVendorCredentials.js");
|
|
12
|
+
const vendorsListVendorCredits_js_1 = require("../funcs/vendorsListVendorCredits.js");
|
|
12
13
|
const vendorsListVendorFacilityStatuses_js_1 = require("../funcs/vendorsListVendorFacilityStatuses.js");
|
|
13
14
|
const vendorsListVendorInvoices_js_1 = require("../funcs/vendorsListVendorInvoices.js");
|
|
14
15
|
const vendorsListVendorJobTitles_js_1 = require("../funcs/vendorsListVendorJobTitles.js");
|
|
@@ -131,6 +132,15 @@ class Vendors extends sdks_js_1.ClientSDK {
|
|
|
131
132
|
async getVendorsDetails(request, options) {
|
|
132
133
|
return (0, fp_js_1.unwrapAsync)((0, vendorsGetVendorsDetails_js_1.vendorsGetVendorsDetails)(this, request, options));
|
|
133
134
|
}
|
|
135
|
+
/**
|
|
136
|
+
* List vendor credits
|
|
137
|
+
*
|
|
138
|
+
* @remarks
|
|
139
|
+
* List the credits for the vendor
|
|
140
|
+
*/
|
|
141
|
+
async listVendorCredits(request, options) {
|
|
142
|
+
return (0, operations_js_1.unwrapResultIterator)((0, vendorsListVendorCredits_js_1.vendorsListVendorCredits)(this, request, options));
|
|
143
|
+
}
|
|
134
144
|
}
|
|
135
145
|
exports.Vendors = Vendors;
|
|
136
146
|
//# sourceMappingURL=vendors.js.map
|
package/sdk/vendors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vendors.js","sourceRoot":"","sources":["../src/sdk/vendors.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,oGAA8F;AAC9F,8FAAwF;AACxF,kGAA4F;AAC5F,sFAAgF;AAChF,8FAAwF;AACxF,wGAAkG;AAClG,wFAAkF;AAClF,0FAAoF;AAC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,EACzD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,sBAAsB,CAC1B,OAAiD,EACjD,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gEAA6B,EAC9C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAA4C,EAC5C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,sDAAwB,EACzC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,iBAAiB,CACrB,OAA4C,EAC5C,OAAwB;QAIxB,OAAO,IAAA,oCAAoB,EAAC,IAAA,sDAAwB,EAClD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AArOD,0BAqOC"}
|
|
@@ -86,3 +86,39 @@ test("Vendors Get Vendors Details", async () => {
|
|
|
86
86
|
},
|
|
87
87
|
});
|
|
88
88
|
});
|
|
89
|
+
|
|
90
|
+
test("Vendors List Vendor Credits", async () => {
|
|
91
|
+
const testHttpClient = createTestHTTPClient("listVendorCredits");
|
|
92
|
+
|
|
93
|
+
const greenSecurity = new GreenSecurity({
|
|
94
|
+
serverURL: process.env["TEST_SERVER_URL"] ?? "https://localhost:3000/api",
|
|
95
|
+
httpClient: testHttpClient,
|
|
96
|
+
security: {
|
|
97
|
+
token: process.env["GREEN_SECURITY_TOKEN"] ?? "value",
|
|
98
|
+
},
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
const result = await greenSecurity.vendors.listVendorCredits({
|
|
102
|
+
sort: "job",
|
|
103
|
+
desc: true,
|
|
104
|
+
itemsPerPage: 25,
|
|
105
|
+
vendorIdOrMe: "<value>",
|
|
106
|
+
});
|
|
107
|
+
expect(result).toBeDefined();
|
|
108
|
+
expect(result.result).toBeDefined();
|
|
109
|
+
expect(result.result).toEqual({
|
|
110
|
+
items: [
|
|
111
|
+
{},
|
|
112
|
+
{},
|
|
113
|
+
],
|
|
114
|
+
pager: {
|
|
115
|
+
baseUrl: "api/vendors/job_titles",
|
|
116
|
+
sort: "name",
|
|
117
|
+
desc: 1,
|
|
118
|
+
itemCount: 228,
|
|
119
|
+
itemsPerPage: 584670,
|
|
120
|
+
page: 1,
|
|
121
|
+
useUrlParams: false,
|
|
122
|
+
},
|
|
123
|
+
});
|
|
124
|
+
});
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { GreenSecurityCore } from "../core.js";
|
|
6
|
+
import { dlv } from "../lib/dlv.js";
|
|
7
|
+
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
8
|
+
import * as M from "../lib/matchers.js";
|
|
9
|
+
import { compactMap } from "../lib/primitives.js";
|
|
10
|
+
import { safeParse } from "../lib/schemas.js";
|
|
11
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
12
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
13
|
+
import { pathToFunc } from "../lib/url.js";
|
|
14
|
+
import { APIError } from "../models/errors/apierror.js";
|
|
15
|
+
import {
|
|
16
|
+
ConnectionError,
|
|
17
|
+
InvalidRequestError,
|
|
18
|
+
RequestAbortedError,
|
|
19
|
+
RequestTimeoutError,
|
|
20
|
+
UnexpectedClientError,
|
|
21
|
+
} from "../models/errors/httpclienterrors.js";
|
|
22
|
+
import * as errors from "../models/errors/index.js";
|
|
23
|
+
import { SDKValidationError } from "../models/errors/sdkvalidationerror.js";
|
|
24
|
+
import * as operations from "../models/operations/index.js";
|
|
25
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
26
|
+
import { Result } from "../types/fp.js";
|
|
27
|
+
import {
|
|
28
|
+
createPageIterator,
|
|
29
|
+
haltIterator,
|
|
30
|
+
PageIterator,
|
|
31
|
+
Paginator,
|
|
32
|
+
} from "../types/operations.js";
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* List vendor credits
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* List the credits for the vendor
|
|
39
|
+
*/
|
|
40
|
+
export function vendorsListVendorCredits(
|
|
41
|
+
client: GreenSecurityCore,
|
|
42
|
+
request: operations.ListVendorCreditsRequest,
|
|
43
|
+
options?: RequestOptions,
|
|
44
|
+
): APIPromise<
|
|
45
|
+
PageIterator<
|
|
46
|
+
Result<
|
|
47
|
+
operations.ListVendorCreditsResponse,
|
|
48
|
+
| errors.ApiErrorResponse
|
|
49
|
+
| errors.ApiErrorResponse
|
|
50
|
+
| APIError
|
|
51
|
+
| SDKValidationError
|
|
52
|
+
| UnexpectedClientError
|
|
53
|
+
| InvalidRequestError
|
|
54
|
+
| RequestAbortedError
|
|
55
|
+
| RequestTimeoutError
|
|
56
|
+
| ConnectionError
|
|
57
|
+
>,
|
|
58
|
+
{ page: number }
|
|
59
|
+
>
|
|
60
|
+
> {
|
|
61
|
+
return new APIPromise($do(
|
|
62
|
+
client,
|
|
63
|
+
request,
|
|
64
|
+
options,
|
|
65
|
+
));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
async function $do(
|
|
69
|
+
client: GreenSecurityCore,
|
|
70
|
+
request: operations.ListVendorCreditsRequest,
|
|
71
|
+
options?: RequestOptions,
|
|
72
|
+
): Promise<
|
|
73
|
+
[
|
|
74
|
+
PageIterator<
|
|
75
|
+
Result<
|
|
76
|
+
operations.ListVendorCreditsResponse,
|
|
77
|
+
| errors.ApiErrorResponse
|
|
78
|
+
| errors.ApiErrorResponse
|
|
79
|
+
| APIError
|
|
80
|
+
| SDKValidationError
|
|
81
|
+
| UnexpectedClientError
|
|
82
|
+
| InvalidRequestError
|
|
83
|
+
| RequestAbortedError
|
|
84
|
+
| RequestTimeoutError
|
|
85
|
+
| ConnectionError
|
|
86
|
+
>,
|
|
87
|
+
{ page: number }
|
|
88
|
+
>,
|
|
89
|
+
APICall,
|
|
90
|
+
]
|
|
91
|
+
> {
|
|
92
|
+
const parsed = safeParse(
|
|
93
|
+
request,
|
|
94
|
+
(value) => operations.ListVendorCreditsRequest$outboundSchema.parse(value),
|
|
95
|
+
"Input validation failed",
|
|
96
|
+
);
|
|
97
|
+
if (!parsed.ok) {
|
|
98
|
+
return [haltIterator(parsed), { status: "invalid" }];
|
|
99
|
+
}
|
|
100
|
+
const payload = parsed.value;
|
|
101
|
+
const body = null;
|
|
102
|
+
|
|
103
|
+
const pathParams = {
|
|
104
|
+
vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
|
|
105
|
+
explode: false,
|
|
106
|
+
charEncoding: "percent",
|
|
107
|
+
}),
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
const path = pathToFunc("/vendors/{vendor_id_or_me}/credits")(pathParams);
|
|
111
|
+
|
|
112
|
+
const query = encodeFormQuery({
|
|
113
|
+
"desc": payload.desc,
|
|
114
|
+
"items_per_page": payload.items_per_page,
|
|
115
|
+
"page": payload.page,
|
|
116
|
+
"sort": payload.sort,
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
const headers = new Headers(compactMap({
|
|
120
|
+
Accept: "application/json",
|
|
121
|
+
}));
|
|
122
|
+
|
|
123
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
124
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
125
|
+
|
|
126
|
+
const context = {
|
|
127
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
128
|
+
operationID: "listVendorCredits",
|
|
129
|
+
oAuth2Scopes: [],
|
|
130
|
+
|
|
131
|
+
resolvedSecurity: requestSecurity,
|
|
132
|
+
|
|
133
|
+
securitySource: client._options.security,
|
|
134
|
+
retryConfig: options?.retries
|
|
135
|
+
|| client._options.retryConfig
|
|
136
|
+
|| { strategy: "none" },
|
|
137
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
138
|
+
};
|
|
139
|
+
|
|
140
|
+
const requestRes = client._createRequest(context, {
|
|
141
|
+
security: requestSecurity,
|
|
142
|
+
method: "GET",
|
|
143
|
+
baseURL: options?.serverURL,
|
|
144
|
+
path: path,
|
|
145
|
+
headers: headers,
|
|
146
|
+
query: query,
|
|
147
|
+
body: body,
|
|
148
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
149
|
+
}, options);
|
|
150
|
+
if (!requestRes.ok) {
|
|
151
|
+
return [haltIterator(requestRes), { status: "invalid" }];
|
|
152
|
+
}
|
|
153
|
+
const req = requestRes.value;
|
|
154
|
+
|
|
155
|
+
const doResult = await client._do(req, {
|
|
156
|
+
context,
|
|
157
|
+
errorCodes: ["400", "401", "4XX", "500", "5XX"],
|
|
158
|
+
retryConfig: context.retryConfig,
|
|
159
|
+
retryCodes: context.retryCodes,
|
|
160
|
+
});
|
|
161
|
+
if (!doResult.ok) {
|
|
162
|
+
return [haltIterator(doResult), { status: "request-error", request: req }];
|
|
163
|
+
}
|
|
164
|
+
const response = doResult.value;
|
|
165
|
+
|
|
166
|
+
const responseFields = {
|
|
167
|
+
HttpMeta: { Response: response, Request: req },
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
const [result, raw] = await M.match<
|
|
171
|
+
operations.ListVendorCreditsResponse,
|
|
172
|
+
| errors.ApiErrorResponse
|
|
173
|
+
| errors.ApiErrorResponse
|
|
174
|
+
| APIError
|
|
175
|
+
| SDKValidationError
|
|
176
|
+
| UnexpectedClientError
|
|
177
|
+
| InvalidRequestError
|
|
178
|
+
| RequestAbortedError
|
|
179
|
+
| RequestTimeoutError
|
|
180
|
+
| ConnectionError
|
|
181
|
+
>(
|
|
182
|
+
M.json(200, operations.ListVendorCreditsResponse$inboundSchema, {
|
|
183
|
+
key: "Result",
|
|
184
|
+
}),
|
|
185
|
+
M.jsonErr([400, 401], errors.ApiErrorResponse$inboundSchema),
|
|
186
|
+
M.jsonErr(500, errors.ApiErrorResponse$inboundSchema),
|
|
187
|
+
M.fail("4XX"),
|
|
188
|
+
M.fail("5XX"),
|
|
189
|
+
)(response, { extraFields: responseFields });
|
|
190
|
+
if (!result.ok) {
|
|
191
|
+
return [haltIterator(result), {
|
|
192
|
+
status: "complete",
|
|
193
|
+
request: req,
|
|
194
|
+
response,
|
|
195
|
+
}];
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
const nextFunc = (
|
|
199
|
+
responseData: unknown,
|
|
200
|
+
): {
|
|
201
|
+
next: Paginator<
|
|
202
|
+
Result<
|
|
203
|
+
operations.ListVendorCreditsResponse,
|
|
204
|
+
| errors.ApiErrorResponse
|
|
205
|
+
| errors.ApiErrorResponse
|
|
206
|
+
| APIError
|
|
207
|
+
| SDKValidationError
|
|
208
|
+
| UnexpectedClientError
|
|
209
|
+
| InvalidRequestError
|
|
210
|
+
| RequestAbortedError
|
|
211
|
+
| RequestTimeoutError
|
|
212
|
+
| ConnectionError
|
|
213
|
+
>
|
|
214
|
+
>;
|
|
215
|
+
"~next"?: { page: number };
|
|
216
|
+
} => {
|
|
217
|
+
const page = request?.page ?? 1;
|
|
218
|
+
const nextPage = page + 1;
|
|
219
|
+
|
|
220
|
+
if (!responseData) {
|
|
221
|
+
return { next: () => null };
|
|
222
|
+
}
|
|
223
|
+
const results = dlv(responseData, "items");
|
|
224
|
+
if (!Array.isArray(results) || !results.length) {
|
|
225
|
+
return { next: () => null };
|
|
226
|
+
}
|
|
227
|
+
const limit = request?.itemsPerPage ?? 0;
|
|
228
|
+
if (results.length < limit) {
|
|
229
|
+
return { next: () => null };
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
const nextVal = () =>
|
|
233
|
+
vendorsListVendorCredits(
|
|
234
|
+
client,
|
|
235
|
+
{
|
|
236
|
+
...request,
|
|
237
|
+
page: nextPage,
|
|
238
|
+
},
|
|
239
|
+
options,
|
|
240
|
+
);
|
|
241
|
+
|
|
242
|
+
return { next: nextVal, "~next": { page: nextPage } };
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
const page = { ...result, ...nextFunc(raw) };
|
|
246
|
+
return [{ ...page, ...createPageIterator(page, (v) => !v.ok) }, {
|
|
247
|
+
status: "complete",
|
|
248
|
+
request: req,
|
|
249
|
+
response,
|
|
250
|
+
}];
|
|
251
|
+
}
|
package/src/lib/config.ts
CHANGED
|
@@ -72,8 +72,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
72
72
|
export const SDK_METADATA = {
|
|
73
73
|
language: "typescript",
|
|
74
74
|
openapiDocVersion: "0.0.3",
|
|
75
|
-
sdkVersion: "0.21.
|
|
76
|
-
genVersion: "2.
|
|
75
|
+
sdkVersion: "0.21.4",
|
|
76
|
+
genVersion: "2.559.0",
|
|
77
77
|
userAgent:
|
|
78
|
-
"speakeasy-sdk/typescript 0.21.
|
|
78
|
+
"speakeasy-sdk/typescript 0.21.4 2.559.0 0.0.3 @greensecurity/javascript-sdk",
|
|
79
79
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -29,6 +29,7 @@ import { tool$vendorsExpediteTimeRemaining } from "./tools/vendorsExpediteTimeRe
|
|
|
29
29
|
import { tool$vendorsGetVendorInvoiceDetails } from "./tools/vendorsGetVendorInvoiceDetails.js";
|
|
30
30
|
import { tool$vendorsGetVendorsDetails } from "./tools/vendorsGetVendorsDetails.js";
|
|
31
31
|
import { tool$vendorsListVendorCredentials } from "./tools/vendorsListVendorCredentials.js";
|
|
32
|
+
import { tool$vendorsListVendorCredits } from "./tools/vendorsListVendorCredits.js";
|
|
32
33
|
import { tool$vendorsListVendorFacilityStatuses } from "./tools/vendorsListVendorFacilityStatuses.js";
|
|
33
34
|
import { tool$vendorsListVendorInvoices } from "./tools/vendorsListVendorInvoices.js";
|
|
34
35
|
import { tool$vendorsListVendorScrubDetails } from "./tools/vendorsListVendorScrubDetails.js";
|
|
@@ -46,7 +47,7 @@ export function createMCPServer(deps: {
|
|
|
46
47
|
}) {
|
|
47
48
|
const server = new McpServer({
|
|
48
49
|
name: "GreenSecurity",
|
|
49
|
-
version: "0.21.
|
|
50
|
+
version: "0.21.4",
|
|
50
51
|
});
|
|
51
52
|
|
|
52
53
|
const client = new GreenSecurityCore({
|
|
@@ -85,6 +86,7 @@ export function createMCPServer(deps: {
|
|
|
85
86
|
tool(tool$vendorsListVendorScrubPurchases);
|
|
86
87
|
tool(tool$vendorsListVendorScrubDetails);
|
|
87
88
|
tool(tool$vendorsGetVendorsDetails);
|
|
89
|
+
tool(tool$vendorsListVendorCredits);
|
|
88
90
|
tool(tool$usersGetCurrentUser);
|
|
89
91
|
tool(tool$usersGetUserById);
|
|
90
92
|
tool(tool$usersLogsUserIntoTheSystem);
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { vendorsListVendorCredits } from "../../funcs/vendorsListVendorCredits.js";
|
|
6
|
+
import * as operations from "../../models/operations/index.js";
|
|
7
|
+
import { formatResult, ToolDefinition } from "../tools.js";
|
|
8
|
+
|
|
9
|
+
const args = {
|
|
10
|
+
request: operations.ListVendorCreditsRequest$inboundSchema,
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export const tool$vendorsListVendorCredits: ToolDefinition<typeof args> = {
|
|
14
|
+
name: "vendors-list-vendor-credits",
|
|
15
|
+
description: `List vendor credits
|
|
16
|
+
|
|
17
|
+
List the credits for the vendor`,
|
|
18
|
+
args,
|
|
19
|
+
tool: async (client, args, ctx) => {
|
|
20
|
+
const [result, apiCall] = await vendorsListVendorCredits(
|
|
21
|
+
client,
|
|
22
|
+
args.request,
|
|
23
|
+
{ fetchOptions: { signal: ctx.signal } },
|
|
24
|
+
).$inspect();
|
|
25
|
+
|
|
26
|
+
if (!result.ok) {
|
|
27
|
+
return {
|
|
28
|
+
content: [{ type: "text", text: result.error.message }],
|
|
29
|
+
isError: true,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
const value = result.value.result;
|
|
34
|
+
|
|
35
|
+
return formatResult(value, apiCall);
|
|
36
|
+
},
|
|
37
|
+
};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export const Action = {
|
|
13
|
+
Credit: "credit",
|
|
14
|
+
Debit: "debit",
|
|
15
|
+
Transfer: "transfer",
|
|
16
|
+
} as const;
|
|
17
|
+
export type Action = ClosedEnum<typeof Action>;
|
|
18
|
+
|
|
19
|
+
export type Credit = {
|
|
20
|
+
id?: number | undefined;
|
|
21
|
+
date?: string | null | undefined;
|
|
22
|
+
action?: Action | undefined;
|
|
23
|
+
amount?: number | undefined;
|
|
24
|
+
balance?: number | undefined;
|
|
25
|
+
from?: string | null | undefined;
|
|
26
|
+
to?: string | null | undefined;
|
|
27
|
+
invoiceId?: number | null | undefined;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const Action$inboundSchema: z.ZodNativeEnum<typeof Action> = z
|
|
32
|
+
.nativeEnum(Action);
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const Action$outboundSchema: z.ZodNativeEnum<typeof Action> =
|
|
36
|
+
Action$inboundSchema;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
41
|
+
*/
|
|
42
|
+
export namespace Action$ {
|
|
43
|
+
/** @deprecated use `Action$inboundSchema` instead. */
|
|
44
|
+
export const inboundSchema = Action$inboundSchema;
|
|
45
|
+
/** @deprecated use `Action$outboundSchema` instead. */
|
|
46
|
+
export const outboundSchema = Action$outboundSchema;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const Credit$inboundSchema: z.ZodType<Credit, z.ZodTypeDef, unknown> = z
|
|
51
|
+
.object({
|
|
52
|
+
id: z.number().int().optional(),
|
|
53
|
+
date: z.nullable(z.string()).optional(),
|
|
54
|
+
action: Action$inboundSchema.optional(),
|
|
55
|
+
amount: z.number().int().optional(),
|
|
56
|
+
balance: z.number().int().optional(),
|
|
57
|
+
from: z.nullable(z.string()).optional(),
|
|
58
|
+
to: z.nullable(z.string()).optional(),
|
|
59
|
+
invoice_id: z.nullable(z.number().int()).optional(),
|
|
60
|
+
}).transform((v) => {
|
|
61
|
+
return remap$(v, {
|
|
62
|
+
"invoice_id": "invoiceId",
|
|
63
|
+
});
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
/** @internal */
|
|
67
|
+
export type Credit$Outbound = {
|
|
68
|
+
id?: number | undefined;
|
|
69
|
+
date?: string | null | undefined;
|
|
70
|
+
action?: string | undefined;
|
|
71
|
+
amount?: number | undefined;
|
|
72
|
+
balance?: number | undefined;
|
|
73
|
+
from?: string | null | undefined;
|
|
74
|
+
to?: string | null | undefined;
|
|
75
|
+
invoice_id?: number | null | undefined;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/** @internal */
|
|
79
|
+
export const Credit$outboundSchema: z.ZodType<
|
|
80
|
+
Credit$Outbound,
|
|
81
|
+
z.ZodTypeDef,
|
|
82
|
+
Credit
|
|
83
|
+
> = z.object({
|
|
84
|
+
id: z.number().int().optional(),
|
|
85
|
+
date: z.nullable(z.string()).optional(),
|
|
86
|
+
action: Action$outboundSchema.optional(),
|
|
87
|
+
amount: z.number().int().optional(),
|
|
88
|
+
balance: z.number().int().optional(),
|
|
89
|
+
from: z.nullable(z.string()).optional(),
|
|
90
|
+
to: z.nullable(z.string()).optional(),
|
|
91
|
+
invoiceId: z.nullable(z.number().int()).optional(),
|
|
92
|
+
}).transform((v) => {
|
|
93
|
+
return remap$(v, {
|
|
94
|
+
invoiceId: "invoice_id",
|
|
95
|
+
});
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
101
|
+
*/
|
|
102
|
+
export namespace Credit$ {
|
|
103
|
+
/** @deprecated use `Credit$inboundSchema` instead. */
|
|
104
|
+
export const inboundSchema = Credit$inboundSchema;
|
|
105
|
+
/** @deprecated use `Credit$outboundSchema` instead. */
|
|
106
|
+
export const outboundSchema = Credit$outboundSchema;
|
|
107
|
+
/** @deprecated use `Credit$Outbound` instead. */
|
|
108
|
+
export type Outbound = Credit$Outbound;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function creditToJSON(credit: Credit): string {
|
|
112
|
+
return JSON.stringify(Credit$outboundSchema.parse(credit));
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function creditFromJSON(
|
|
116
|
+
jsonString: string,
|
|
117
|
+
): SafeParseResult<Credit, SDKValidationError> {
|
|
118
|
+
return safeParse(
|
|
119
|
+
jsonString,
|
|
120
|
+
(x) => Credit$inboundSchema.parse(JSON.parse(x)),
|
|
121
|
+
`Failed to parse 'Credit' from JSON`,
|
|
122
|
+
);
|
|
123
|
+
}
|
|
@@ -6,6 +6,7 @@ export * from "./activestatus.js";
|
|
|
6
6
|
export * from "./company.js";
|
|
7
7
|
export * from "./contact.js";
|
|
8
8
|
export * from "./credentialstatus.js";
|
|
9
|
+
export * from "./credit.js";
|
|
9
10
|
export * from "./department.js";
|
|
10
11
|
export * from "./departmentsummary.js";
|
|
11
12
|
export * from "./desc.js";
|
|
@@ -17,7 +17,7 @@ export type Subscription = {
|
|
|
17
17
|
dateEnds?: string | null | undefined;
|
|
18
18
|
status?: string | null | undefined;
|
|
19
19
|
locked?: boolean | null | undefined;
|
|
20
|
-
variantTitle?:
|
|
20
|
+
variantTitle?: string | null | undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
/** @internal */
|
|
@@ -31,7 +31,7 @@ export const Subscription$inboundSchema: z.ZodType<
|
|
|
31
31
|
date_ends: z.nullable(z.string()).optional(),
|
|
32
32
|
status: z.nullable(z.string()).optional(),
|
|
33
33
|
locked: z.nullable(z.boolean()).optional(),
|
|
34
|
-
variant_title: z.nullable(z.
|
|
34
|
+
variant_title: z.nullable(z.string()).optional(),
|
|
35
35
|
}).transform((v) => {
|
|
36
36
|
return remap$(v, {
|
|
37
37
|
"date_started": "dateStarted",
|
|
@@ -47,7 +47,7 @@ export type Subscription$Outbound = {
|
|
|
47
47
|
date_ends?: string | null | undefined;
|
|
48
48
|
status?: string | null | undefined;
|
|
49
49
|
locked?: boolean | null | undefined;
|
|
50
|
-
variant_title?:
|
|
50
|
+
variant_title?: string | null | undefined;
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
/** @internal */
|
|
@@ -61,7 +61,7 @@ export const Subscription$outboundSchema: z.ZodType<
|
|
|
61
61
|
dateEnds: z.nullable(z.string()).optional(),
|
|
62
62
|
status: z.nullable(z.string()).optional(),
|
|
63
63
|
locked: z.nullable(z.boolean()).optional(),
|
|
64
|
-
variantTitle: z.nullable(z.
|
|
64
|
+
variantTitle: z.nullable(z.string()).optional(),
|
|
65
65
|
}).transform((v) => {
|
|
66
66
|
return remap$(v, {
|
|
67
67
|
dateStarted: "date_started",
|
|
@@ -14,6 +14,7 @@ export * from "./listallwebhookendpoints.js";
|
|
|
14
14
|
export * from "./listorsearchfacilities.js";
|
|
15
15
|
export * from "./listorsearchsupportarticles.js";
|
|
16
16
|
export * from "./listvendorcredentials.js";
|
|
17
|
+
export * from "./listvendorcredits.js";
|
|
17
18
|
export * from "./listvendorfacilitystatuses.js";
|
|
18
19
|
export * from "./listvendorinvoices.js";
|
|
19
20
|
export * from "./listvendorjobtitles.js";
|