@greensecurity/javascript-sdk 0.31.7 → 0.31.9

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.
@@ -36,66 +36,10 @@ test("Zones List Or Search Security Zones", async () => {
36
36
  },
37
37
  items: [
38
38
  {
39
- facility: {
40
- contacts: {
41
- contact: {
42
- status: "Active",
43
- department: 123,
44
- },
45
- adminContact: {
46
- status: "Active",
47
- department: 123,
48
- },
49
- techContact: {
50
- status: "Deleted",
51
- department: 123,
52
- },
53
- greenSecurityCsm: {
54
- status: "Inactive",
55
- department: 123,
56
- },
57
- accountManager: {
58
- status: "Deleted",
59
- department: 123,
60
- },
61
- },
62
- vendorGuestPolicy: {
63
- enabled: false,
64
- vendorGuestLimitAndOr: "or",
65
- vendorGuestRequireEmail: false,
66
- },
67
- },
39
+ facility: {},
68
40
  },
69
41
  {
70
- facility: {
71
- contacts: {
72
- contact: {
73
- status: "Active",
74
- department: 123,
75
- },
76
- adminContact: {
77
- status: "Deleted",
78
- department: 123,
79
- },
80
- techContact: {
81
- status: "Deleted",
82
- department: 123,
83
- },
84
- greenSecurityCsm: {
85
- status: "Active",
86
- department: 123,
87
- },
88
- accountManager: {
89
- status: "Inactive",
90
- department: 123,
91
- },
92
- },
93
- vendorGuestPolicy: {
94
- enabled: false,
95
- vendorGuestLimitAndOr: "or",
96
- vendorGuestRequireEmail: false,
97
- },
98
- },
42
+ facility: {},
99
43
  },
100
44
  ],
101
45
  });
@@ -113,9 +57,8 @@ test("Zones Security Zone Checkin", async () => {
113
57
  });
114
58
 
115
59
  const result = await greenSecurity.zones.securityZoneCheckin({
116
- zoneId: 931198,
117
- longitude: "<value>",
118
- latitude: "<value>",
60
+ qrCode: "<value>",
61
+ zoneId: 544883,
119
62
  });
120
63
  expect(result).toBeDefined();
121
64
  expect(result).toEqual({});
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.31.7",
75
+ sdkVersion: "0.31.9",
76
76
  genVersion: "2.610.0",
77
77
  userAgent:
78
- "speakeasy-sdk/typescript 0.31.7 2.610.0 0.0.3 @greensecurity/javascript-sdk",
78
+ "speakeasy-sdk/typescript 0.31.9 2.610.0 0.0.3 @greensecurity/javascript-sdk",
79
79
  } as const;
@@ -19,7 +19,7 @@ const routes = buildRouteMap({
19
19
  export const app = buildApplication(routes, {
20
20
  name: "mcp",
21
21
  versionInfo: {
22
- currentVersion: "0.31.7",
22
+ currentVersion: "0.31.9",
23
23
  },
24
24
  });
25
25
 
@@ -72,7 +72,7 @@ export function createMCPServer(deps: {
72
72
  }) {
73
73
  const server = new McpServer({
74
74
  name: "GreenSecurity",
75
- version: "0.31.7",
75
+ version: "0.31.9",
76
76
  });
77
77
 
78
78
  const client = new GreenSecurityCore({