@greensecurity/javascript-sdk 0.37.6 → 0.37.8
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/bin/mcp-server.js +10 -10
- package/bin/mcp-server.js.map +6 -6
- package/dist/commonjs/__tests__/zones.test.js +5 -2
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/models/operations/securityzonecheckin.d.ts +4 -4
- package/dist/commonjs/models/operations/securityzonecheckin.js +4 -4
- package/dist/commonjs/models/operations/securityzonecheckin.js.map +1 -1
- package/dist/esm/__tests__/zones.test.js +5 -2
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/models/operations/securityzonecheckin.d.ts +4 -4
- package/dist/esm/models/operations/securityzonecheckin.js +4 -4
- package/dist/esm/models/operations/securityzonecheckin.js.map +1 -1
- package/examples/package-lock.json +643 -0
- package/examples/package.json +18 -0
- package/examples/vendorsCreateVendorRegistration.example.ts +29 -0
- package/jsr.json +1 -1
- package/package.json +2 -2
- package/src/__tests__/zones.test.ts +5 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/operations/securityzonecheckin.ts +8 -8
package/bin/mcp-server.js
CHANGED
|
@@ -34160,9 +34160,9 @@ var init_config = __esm(() => {
|
|
|
34160
34160
|
SDK_METADATA = {
|
|
34161
34161
|
language: "typescript",
|
|
34162
34162
|
openapiDocVersion: "0.0.3",
|
|
34163
|
-
sdkVersion: "0.37.
|
|
34164
|
-
genVersion: "2.
|
|
34165
|
-
userAgent: "speakeasy-sdk/typescript 0.37.
|
|
34163
|
+
sdkVersion: "0.37.8",
|
|
34164
|
+
genVersion: "2.656.3",
|
|
34165
|
+
userAgent: "speakeasy-sdk/typescript 0.37.8 2.656.3 0.0.3 @greensecurity/javascript-sdk"
|
|
34166
34166
|
};
|
|
34167
34167
|
});
|
|
34168
34168
|
|
|
@@ -43233,7 +43233,7 @@ var init_securityzonecheckin = __esm(() => {
|
|
|
43233
43233
|
email: stringType().optional(),
|
|
43234
43234
|
password: stringType().optional(),
|
|
43235
43235
|
device_id: numberType().int().optional(),
|
|
43236
|
-
department_id:
|
|
43236
|
+
department_id: stringType().optional(),
|
|
43237
43237
|
department_other: stringType().optional(),
|
|
43238
43238
|
checkout_time: stringType().optional(),
|
|
43239
43239
|
visit_purpose: stringType().optional(),
|
|
@@ -43267,7 +43267,7 @@ var init_securityzonecheckin = __esm(() => {
|
|
|
43267
43267
|
email: stringType().optional(),
|
|
43268
43268
|
password: stringType().optional(),
|
|
43269
43269
|
deviceId: numberType().int().optional(),
|
|
43270
|
-
departmentId:
|
|
43270
|
+
departmentId: stringType().optional(),
|
|
43271
43271
|
departmentOther: stringType().optional(),
|
|
43272
43272
|
checkoutTime: stringType().optional(),
|
|
43273
43273
|
visitPurpose: stringType().optional(),
|
|
@@ -43306,7 +43306,7 @@ var init_securityzonecheckin = __esm(() => {
|
|
|
43306
43306
|
email: stringType().optional(),
|
|
43307
43307
|
password: stringType().optional(),
|
|
43308
43308
|
device_id: numberType().int().optional(),
|
|
43309
|
-
department_id:
|
|
43309
|
+
department_id: stringType().optional(),
|
|
43310
43310
|
department_other: stringType().optional(),
|
|
43311
43311
|
checkout_time: stringType().optional(),
|
|
43312
43312
|
visit_purpose: stringType().optional(),
|
|
@@ -43340,7 +43340,7 @@ var init_securityzonecheckin = __esm(() => {
|
|
|
43340
43340
|
email: stringType().optional(),
|
|
43341
43341
|
password: stringType().optional(),
|
|
43342
43342
|
deviceId: numberType().int().optional(),
|
|
43343
|
-
departmentId:
|
|
43343
|
+
departmentId: stringType().optional(),
|
|
43344
43344
|
departmentOther: stringType().optional(),
|
|
43345
43345
|
checkoutTime: stringType().optional(),
|
|
43346
43346
|
visitPurpose: stringType().optional(),
|
|
@@ -52253,7 +52253,7 @@ Security zone checkin request`,
|
|
|
52253
52253
|
function createMCPServer(deps) {
|
|
52254
52254
|
const server = new McpServer({
|
|
52255
52255
|
name: "GreenSecurity",
|
|
52256
|
-
version: "0.37.
|
|
52256
|
+
version: "0.37.8"
|
|
52257
52257
|
});
|
|
52258
52258
|
const client = new GreenSecurityCore({
|
|
52259
52259
|
security: deps.security,
|
|
@@ -53595,7 +53595,7 @@ var routes = rn({
|
|
|
53595
53595
|
var app = Ve(routes, {
|
|
53596
53596
|
name: "mcp",
|
|
53597
53597
|
versionInfo: {
|
|
53598
|
-
currentVersion: "0.37.
|
|
53598
|
+
currentVersion: "0.37.8"
|
|
53599
53599
|
}
|
|
53600
53600
|
});
|
|
53601
53601
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -53603,5 +53603,5 @@ export {
|
|
|
53603
53603
|
app
|
|
53604
53604
|
};
|
|
53605
53605
|
|
|
53606
|
-
//# debugId=
|
|
53606
|
+
//# debugId=C3BBCD6F8E086B3364756E2164756E21
|
|
53607
53607
|
//# sourceMappingURL=mcp-server.js.map
|