@greensecurity/javascript-sdk 0.30.21 → 0.30.23
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 +37 -25
- package/bin/mcp-server.js.map +11 -10
- package/dist/commonjs/__tests__/vendormanagedbycompanies.test.js +1 -1
- package/dist/commonjs/__tests__/vendormanagedbycompanies.test.js.map +1 -1
- package/dist/commonjs/__tests__/vendors.test.js +3 -3
- package/dist/commonjs/__tests__/vendors.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/components/index.d.ts +1 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/invoice.d.ts +2 -0
- package/dist/commonjs/models/components/invoice.d.ts.map +1 -1
- package/dist/commonjs/models/components/invoice.js +2 -0
- package/dist/commonjs/models/components/invoice.js.map +1 -1
- package/dist/commonjs/models/components/supervisor.d.ts +36 -0
- package/dist/commonjs/models/components/supervisor.d.ts.map +1 -0
- package/dist/commonjs/models/components/supervisor.js +73 -0
- package/dist/commonjs/models/components/supervisor.js.map +1 -0
- package/dist/commonjs/models/components/vendor.d.ts +6 -31
- package/dist/commonjs/models/components/vendor.d.ts.map +1 -1
- package/dist/commonjs/models/components/vendor.js +4 -34
- package/dist/commonjs/models/components/vendor.js.map +1 -1
- package/dist/commonjs/models/operations/updatevendordetails.d.ts +5 -0
- package/dist/commonjs/models/operations/updatevendordetails.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatevendordetails.js +2 -0
- package/dist/commonjs/models/operations/updatevendordetails.js.map +1 -1
- package/dist/esm/__tests__/vendormanagedbycompanies.test.js +1 -1
- package/dist/esm/__tests__/vendormanagedbycompanies.test.js.map +1 -1
- package/dist/esm/__tests__/vendors.test.js +3 -3
- package/dist/esm/__tests__/vendors.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/components/index.d.ts +1 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/invoice.d.ts +2 -0
- package/dist/esm/models/components/invoice.d.ts.map +1 -1
- package/dist/esm/models/components/invoice.js +2 -0
- package/dist/esm/models/components/invoice.js.map +1 -1
- package/dist/esm/models/components/supervisor.d.ts +36 -0
- package/dist/esm/models/components/supervisor.d.ts.map +1 -0
- package/dist/esm/models/components/supervisor.js +35 -0
- package/dist/esm/models/components/supervisor.js.map +1 -0
- package/dist/esm/models/components/vendor.d.ts +6 -31
- package/dist/esm/models/components/vendor.d.ts.map +1 -1
- package/dist/esm/models/components/vendor.js +3 -31
- package/dist/esm/models/components/vendor.js.map +1 -1
- package/dist/esm/models/operations/updatevendordetails.d.ts +5 -0
- package/dist/esm/models/operations/updatevendordetails.d.ts.map +1 -1
- package/dist/esm/models/operations/updatevendordetails.js +2 -0
- package/dist/esm/models/operations/updatevendordetails.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/vendormanagedbycompanies.test.ts +1 -1
- package/src/__tests__/vendors.test.ts +3 -3
- 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/components/index.ts +1 -0
- package/src/models/components/invoice.ts +4 -0
- package/src/models/components/supervisor.ts +73 -0
- package/src/models/components/vendor.ts +13 -66
- package/src/models/operations/updatevendordetails.ts +7 -0
|
@@ -45,6 +45,10 @@ export type UpdateVendorDetailsRequestBody = {
|
|
|
45
45
|
* Reduced list of attributes of the User Location
|
|
46
46
|
*/
|
|
47
47
|
location?: components.UserLocation | null | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* list of the vendor supervisor attributes
|
|
50
|
+
*/
|
|
51
|
+
supervisor?: components.Supervisor | null | undefined;
|
|
48
52
|
};
|
|
49
53
|
|
|
50
54
|
export type UpdateVendorDetailsRequest = {
|
|
@@ -87,6 +91,7 @@ export const UpdateVendorDetailsRequestBody$inboundSchema: z.ZodType<
|
|
|
87
91
|
send_weekly_summary_email: z.boolean().optional(),
|
|
88
92
|
title: z.string().optional(),
|
|
89
93
|
location: z.nullable(components.UserLocation$inboundSchema).optional(),
|
|
94
|
+
supervisor: z.nullable(components.Supervisor$inboundSchema).optional(),
|
|
90
95
|
}).transform((v) => {
|
|
91
96
|
return remap$(v, {
|
|
92
97
|
"qr_code": "qrCode",
|
|
@@ -102,6 +107,7 @@ export type UpdateVendorDetailsRequestBody$Outbound = {
|
|
|
102
107
|
send_weekly_summary_email?: boolean | undefined;
|
|
103
108
|
title?: string | undefined;
|
|
104
109
|
location?: components.UserLocation$Outbound | null | undefined;
|
|
110
|
+
supervisor?: components.Supervisor$Outbound | null | undefined;
|
|
105
111
|
};
|
|
106
112
|
|
|
107
113
|
/** @internal */
|
|
@@ -115,6 +121,7 @@ export const UpdateVendorDetailsRequestBody$outboundSchema: z.ZodType<
|
|
|
115
121
|
sendWeeklySummaryEmail: z.boolean().optional(),
|
|
116
122
|
title: z.string().optional(),
|
|
117
123
|
location: z.nullable(components.UserLocation$outboundSchema).optional(),
|
|
124
|
+
supervisor: z.nullable(components.Supervisor$outboundSchema).optional(),
|
|
118
125
|
}).transform((v) => {
|
|
119
126
|
return remap$(v, {
|
|
120
127
|
qrCode: "qr_code",
|