@greensecurity/javascript-sdk 0.30.13 → 0.30.15
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 +456 -39
- package/bin/mcp-server.js.map +11 -8
- 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 +18 -2
- package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
- package/dist/commonjs/funcs/vendorsListVendorJobTitles.js +1 -1
- package/dist/commonjs/funcs/vendorsListVendorJobTitles.js.map +1 -1
- package/dist/commonjs/funcs/vendorsUpdateVendorDetails.d.ts +17 -0
- package/dist/commonjs/funcs/vendorsUpdateVendorDetails.d.ts.map +1 -0
- package/dist/commonjs/funcs/vendorsUpdateVendorDetails.js +122 -0
- package/dist/commonjs/funcs/vendorsUpdateVendorDetails.js.map +1 -0
- 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.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +3 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/vendorsUpdateVendorDetails.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/vendorsUpdateVendorDetails.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/vendorsUpdateVendorDetails.js +64 -0
- package/dist/commonjs/mcp-server/tools/vendorsUpdateVendorDetails.js.map +1 -0
- package/dist/commonjs/models/components/userlocation.d.ts +654 -1
- package/dist/commonjs/models/components/userlocation.d.ts.map +1 -1
- package/dist/commonjs/models/components/userlocation.js +257 -3
- package/dist/commonjs/models/components/userlocation.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +1 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +1 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/updatevendordetails.d.ts +121 -0
- package/dist/commonjs/models/operations/updatevendordetails.d.ts.map +1 -0
- package/dist/commonjs/models/operations/updatevendordetails.js +154 -0
- package/dist/commonjs/models/operations/updatevendordetails.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +1 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +1 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/vendorsUpdateVendorDetails.d.ts +23 -0
- package/dist/commonjs/react-query/vendorsUpdateVendorDetails.d.ts.map +1 -0
- package/dist/commonjs/react-query/vendorsUpdateVendorDetails.js +47 -0
- package/dist/commonjs/react-query/vendorsUpdateVendorDetails.js.map +1 -0
- package/dist/commonjs/sdk/vendors.d.ts +7 -0
- package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
- package/dist/commonjs/sdk/vendors.js +10 -0
- package/dist/commonjs/sdk/vendors.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 +18 -2
- package/dist/esm/__tests__/vendors.test.js.map +1 -1
- package/dist/esm/funcs/vendorsListVendorJobTitles.js +1 -1
- package/dist/esm/funcs/vendorsListVendorJobTitles.js.map +1 -1
- package/dist/esm/funcs/vendorsUpdateVendorDetails.d.ts +17 -0
- package/dist/esm/funcs/vendorsUpdateVendorDetails.d.ts.map +1 -0
- package/dist/esm/funcs/vendorsUpdateVendorDetails.js +86 -0
- package/dist/esm/funcs/vendorsUpdateVendorDetails.js.map +1 -0
- 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.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +3 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/vendorsUpdateVendorDetails.d.ts +8 -0
- package/dist/esm/mcp-server/tools/vendorsUpdateVendorDetails.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/vendorsUpdateVendorDetails.js +28 -0
- package/dist/esm/mcp-server/tools/vendorsUpdateVendorDetails.js.map +1 -0
- package/dist/esm/models/components/userlocation.d.ts +654 -1
- package/dist/esm/models/components/userlocation.d.ts.map +1 -1
- package/dist/esm/models/components/userlocation.js +256 -2
- package/dist/esm/models/components/userlocation.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +1 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +1 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/updatevendordetails.d.ts +121 -0
- package/dist/esm/models/operations/updatevendordetails.d.ts.map +1 -0
- package/dist/esm/models/operations/updatevendordetails.js +114 -0
- package/dist/esm/models/operations/updatevendordetails.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +1 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +1 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/vendorsUpdateVendorDetails.d.ts +23 -0
- package/dist/esm/react-query/vendorsUpdateVendorDetails.d.ts.map +1 -0
- package/dist/esm/react-query/vendorsUpdateVendorDetails.js +42 -0
- package/dist/esm/react-query/vendorsUpdateVendorDetails.js.map +1 -0
- package/dist/esm/sdk/vendors.d.ts +7 -0
- package/dist/esm/sdk/vendors.d.ts.map +1 -1
- package/dist/esm/sdk/vendors.js +10 -0
- package/dist/esm/sdk/vendors.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 +21 -2
- package/src/funcs/vendorsListVendorJobTitles.ts +1 -1
- package/src/funcs/vendorsUpdateVendorDetails.ts +175 -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/vendorsUpdateVendorDetails.ts +37 -0
- package/src/models/components/userlocation.ts +278 -3
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/updatevendordetails.ts +224 -0
- package/src/react-query/index.ts +1 -0
- package/src/react-query/vendorsUpdateVendorDetails.ts +88 -0
- package/src/sdk/vendors.ts +18 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34172,9 +34172,9 @@ var init_config = __esm(() => {
|
|
|
34172
34172
|
SDK_METADATA = {
|
|
34173
34173
|
language: "typescript",
|
|
34174
34174
|
openapiDocVersion: "0.0.3",
|
|
34175
|
-
sdkVersion: "0.30.
|
|
34176
|
-
genVersion: "2.
|
|
34177
|
-
userAgent: "speakeasy-sdk/typescript 0.30.
|
|
34175
|
+
sdkVersion: "0.30.15",
|
|
34176
|
+
genVersion: "2.566.5",
|
|
34177
|
+
userAgent: "speakeasy-sdk/typescript 0.30.15 2.566.5 0.0.3 @greensecurity/javascript-sdk"
|
|
34178
34178
|
};
|
|
34179
34179
|
});
|
|
34180
34180
|
|
|
@@ -37098,26 +37098,261 @@ var init_supportarticle = __esm(() => {
|
|
|
37098
37098
|
});
|
|
37099
37099
|
|
|
37100
37100
|
// src/models/components/userlocation.ts
|
|
37101
|
-
var UserLocation$inboundSchema, UserLocation$outboundSchema, UserLocation$;
|
|
37101
|
+
var State, Timezone, State$inboundSchema, State$outboundSchema, State$, Timezone$inboundSchema, Timezone$outboundSchema, Timezone$, UserLocation$inboundSchema, UserLocation$outboundSchema, UserLocation$;
|
|
37102
37102
|
var init_userlocation = __esm(() => {
|
|
37103
37103
|
init_lib();
|
|
37104
|
+
init_primitives();
|
|
37105
|
+
State = {
|
|
37106
|
+
Al: "AL",
|
|
37107
|
+
Ak: "AK",
|
|
37108
|
+
Az: "AZ",
|
|
37109
|
+
Ar: "AR",
|
|
37110
|
+
Ca: "CA",
|
|
37111
|
+
Co: "CO",
|
|
37112
|
+
Ct: "CT",
|
|
37113
|
+
De: "DE",
|
|
37114
|
+
Dc: "DC",
|
|
37115
|
+
Fl: "FL",
|
|
37116
|
+
Ga: "GA",
|
|
37117
|
+
Hi: "HI",
|
|
37118
|
+
Id: "ID",
|
|
37119
|
+
Il: "IL",
|
|
37120
|
+
In: "IN",
|
|
37121
|
+
Ia: "IA",
|
|
37122
|
+
Ks: "KS",
|
|
37123
|
+
Ky: "KY",
|
|
37124
|
+
La: "LA",
|
|
37125
|
+
Me: "ME",
|
|
37126
|
+
Md: "MD",
|
|
37127
|
+
Ma: "MA",
|
|
37128
|
+
Mi: "MI",
|
|
37129
|
+
Mn: "MN",
|
|
37130
|
+
Ms: "MS",
|
|
37131
|
+
Mo: "MO",
|
|
37132
|
+
Mt: "MT",
|
|
37133
|
+
Ne: "NE",
|
|
37134
|
+
Nv: "NV",
|
|
37135
|
+
Nh: "NH",
|
|
37136
|
+
Nj: "NJ",
|
|
37137
|
+
Nm: "NM",
|
|
37138
|
+
Ny: "NY",
|
|
37139
|
+
Nc: "NC",
|
|
37140
|
+
Nd: "ND",
|
|
37141
|
+
Oh: "OH",
|
|
37142
|
+
Ok: "OK",
|
|
37143
|
+
Or: "OR",
|
|
37144
|
+
Pa: "PA",
|
|
37145
|
+
Ri: "RI",
|
|
37146
|
+
Sc: "SC",
|
|
37147
|
+
Sd: "SD",
|
|
37148
|
+
Tn: "TN",
|
|
37149
|
+
Tx: "TX",
|
|
37150
|
+
Ut: "UT",
|
|
37151
|
+
Vt: "VT",
|
|
37152
|
+
Va: "VA",
|
|
37153
|
+
Wa: "WA",
|
|
37154
|
+
Wv: "WV",
|
|
37155
|
+
Wi: "WI",
|
|
37156
|
+
Wy: "WY"
|
|
37157
|
+
};
|
|
37158
|
+
Timezone = {
|
|
37159
|
+
InternationalDateLineWest: "International Date Line West",
|
|
37160
|
+
MidwayIsland: "Midway Island",
|
|
37161
|
+
AmericanSamoa: "American Samoa",
|
|
37162
|
+
Hawaii: "Hawaii",
|
|
37163
|
+
Alaska: "Alaska",
|
|
37164
|
+
PacificTimeUSAndCanada: "Pacific Time (US & Canada)",
|
|
37165
|
+
Tijuana: "Tijuana",
|
|
37166
|
+
MountainTimeUSAndCanada: "Mountain Time (US & Canada)",
|
|
37167
|
+
Arizona: "Arizona",
|
|
37168
|
+
Chihuahua: "Chihuahua",
|
|
37169
|
+
Mazatlan: "Mazatlan",
|
|
37170
|
+
CentralTimeUSAndCanada: "Central Time (US & Canada)",
|
|
37171
|
+
Saskatchewan: "Saskatchewan",
|
|
37172
|
+
Guadalajara: "Guadalajara",
|
|
37173
|
+
MexicoCity: "Mexico City",
|
|
37174
|
+
Monterrey: "Monterrey",
|
|
37175
|
+
CentralAmerica: "Central America",
|
|
37176
|
+
EasternTimeUSAndCanada: "Eastern Time (US & Canada)",
|
|
37177
|
+
IndianaEast: "Indiana (East)",
|
|
37178
|
+
Bogota: "Bogota",
|
|
37179
|
+
Lima: "Lima",
|
|
37180
|
+
Quito: "Quito",
|
|
37181
|
+
AtlanticTimeCanada: "Atlantic Time (Canada)",
|
|
37182
|
+
Caracas: "Caracas",
|
|
37183
|
+
LaPaz: "La Paz",
|
|
37184
|
+
Santiago: "Santiago",
|
|
37185
|
+
Newfoundland: "Newfoundland",
|
|
37186
|
+
Brasilia: "Brasilia",
|
|
37187
|
+
BuenosAires: "Buenos Aires",
|
|
37188
|
+
Montevideo: "Montevideo",
|
|
37189
|
+
Georgetown: "Georgetown",
|
|
37190
|
+
PuertoRico: "Puerto Rico",
|
|
37191
|
+
Greenland: "Greenland",
|
|
37192
|
+
MidAtlantic: "Mid-Atlantic",
|
|
37193
|
+
Azores: "Azores",
|
|
37194
|
+
CapeVerdeIs: "Cape Verde Is.",
|
|
37195
|
+
Dublin: "Dublin",
|
|
37196
|
+
Edinburgh: "Edinburgh",
|
|
37197
|
+
Lisbon: "Lisbon",
|
|
37198
|
+
London: "London",
|
|
37199
|
+
Casablanca: "Casablanca",
|
|
37200
|
+
Monrovia: "Monrovia",
|
|
37201
|
+
Utc: "UTC",
|
|
37202
|
+
Belgrade: "Belgrade",
|
|
37203
|
+
Bratislava: "Bratislava",
|
|
37204
|
+
Budapest: "Budapest",
|
|
37205
|
+
Ljubljana: "Ljubljana",
|
|
37206
|
+
Prague: "Prague",
|
|
37207
|
+
Sarajevo: "Sarajevo",
|
|
37208
|
+
Skopje: "Skopje",
|
|
37209
|
+
Warsaw: "Warsaw",
|
|
37210
|
+
Zagreb: "Zagreb",
|
|
37211
|
+
Brussels: "Brussels",
|
|
37212
|
+
Copenhagen: "Copenhagen",
|
|
37213
|
+
Madrid: "Madrid",
|
|
37214
|
+
Paris: "Paris",
|
|
37215
|
+
Amsterdam: "Amsterdam",
|
|
37216
|
+
Berlin: "Berlin",
|
|
37217
|
+
Bern: "Bern",
|
|
37218
|
+
Zurich: "Zurich",
|
|
37219
|
+
Rome: "Rome",
|
|
37220
|
+
Stockholm: "Stockholm",
|
|
37221
|
+
Vienna: "Vienna",
|
|
37222
|
+
WestCentralAfrica: "West Central Africa",
|
|
37223
|
+
Bucharest: "Bucharest",
|
|
37224
|
+
Cairo: "Cairo",
|
|
37225
|
+
Helsinki: "Helsinki",
|
|
37226
|
+
Kyiv: "Kyiv",
|
|
37227
|
+
Riga: "Riga",
|
|
37228
|
+
Sofia: "Sofia",
|
|
37229
|
+
Tallinn: "Tallinn",
|
|
37230
|
+
Vilnius: "Vilnius",
|
|
37231
|
+
Athens: "Athens",
|
|
37232
|
+
Istanbul: "Istanbul",
|
|
37233
|
+
Minsk: "Minsk",
|
|
37234
|
+
Jerusalem: "Jerusalem",
|
|
37235
|
+
Harare: "Harare",
|
|
37236
|
+
Pretoria: "Pretoria",
|
|
37237
|
+
Kaliningrad: "Kaliningrad",
|
|
37238
|
+
Moscow: "Moscow",
|
|
37239
|
+
StPetersburg: "St. Petersburg",
|
|
37240
|
+
Volgograd: "Volgograd",
|
|
37241
|
+
Samara: "Samara",
|
|
37242
|
+
Kuwait: "Kuwait",
|
|
37243
|
+
Riyadh: "Riyadh",
|
|
37244
|
+
Nairobi: "Nairobi",
|
|
37245
|
+
Baghdad: "Baghdad",
|
|
37246
|
+
Tehran: "Tehran",
|
|
37247
|
+
AbuDhabi: "Abu Dhabi",
|
|
37248
|
+
Muscat: "Muscat",
|
|
37249
|
+
Baku: "Baku",
|
|
37250
|
+
Tbilisi: "Tbilisi",
|
|
37251
|
+
Yerevan: "Yerevan",
|
|
37252
|
+
Kabul: "Kabul",
|
|
37253
|
+
Ekaterinburg: "Ekaterinburg",
|
|
37254
|
+
Islamabad: "Islamabad",
|
|
37255
|
+
Karachi: "Karachi",
|
|
37256
|
+
Tashkent: "Tashkent",
|
|
37257
|
+
Chennai: "Chennai",
|
|
37258
|
+
Kolkata: "Kolkata",
|
|
37259
|
+
Mumbai: "Mumbai",
|
|
37260
|
+
NewDelhi: "New Delhi",
|
|
37261
|
+
Kathmandu: "Kathmandu",
|
|
37262
|
+
Astana: "Astana",
|
|
37263
|
+
Dhaka: "Dhaka",
|
|
37264
|
+
SriJayawardenepura: "Sri Jayawardenepura",
|
|
37265
|
+
Almaty: "Almaty",
|
|
37266
|
+
Novosibirsk: "Novosibirsk",
|
|
37267
|
+
Rangoon: "Rangoon",
|
|
37268
|
+
Bangkok: "Bangkok",
|
|
37269
|
+
Hanoi: "Hanoi",
|
|
37270
|
+
Jakarta: "Jakarta",
|
|
37271
|
+
Krasnoyarsk: "Krasnoyarsk",
|
|
37272
|
+
Beijing: "Beijing",
|
|
37273
|
+
Chongqing: "Chongqing",
|
|
37274
|
+
HongKong: "Hong Kong",
|
|
37275
|
+
Urumqi: "Urumqi",
|
|
37276
|
+
KualaLumpur: "Kuala Lumpur",
|
|
37277
|
+
Singapore: "Singapore",
|
|
37278
|
+
Taipei: "Taipei",
|
|
37279
|
+
Perth: "Perth",
|
|
37280
|
+
Irkutsk: "Irkutsk",
|
|
37281
|
+
Ulaanbaatar: "Ulaanbaatar",
|
|
37282
|
+
Seoul: "Seoul",
|
|
37283
|
+
Osaka: "Osaka",
|
|
37284
|
+
Sapporo: "Sapporo",
|
|
37285
|
+
Tokyo: "Tokyo",
|
|
37286
|
+
Yakutsk: "Yakutsk",
|
|
37287
|
+
Darwin: "Darwin",
|
|
37288
|
+
Adelaide: "Adelaide",
|
|
37289
|
+
Canberra: "Canberra",
|
|
37290
|
+
Melbourne: "Melbourne",
|
|
37291
|
+
Sydney: "Sydney",
|
|
37292
|
+
Brisbane: "Brisbane",
|
|
37293
|
+
Hobart: "Hobart",
|
|
37294
|
+
Vladivostok: "Vladivostok",
|
|
37295
|
+
Guam: "Guam",
|
|
37296
|
+
PortMoresby: "Port Moresby",
|
|
37297
|
+
Magadan: "Magadan",
|
|
37298
|
+
Srednekolymsk: "Srednekolymsk",
|
|
37299
|
+
SolomonIs: "Solomon Is.",
|
|
37300
|
+
NewCaledonia: "New Caledonia",
|
|
37301
|
+
Fiji: "Fiji",
|
|
37302
|
+
Kamchatka: "Kamchatka",
|
|
37303
|
+
MarshallIs: "Marshall Is.",
|
|
37304
|
+
Auckland: "Auckland",
|
|
37305
|
+
Wellington: "Wellington",
|
|
37306
|
+
NukuAlofa: "Nuku'alofa",
|
|
37307
|
+
TokelauIs: "Tokelau Is.",
|
|
37308
|
+
ChathamIs: "Chatham Is.",
|
|
37309
|
+
Samoa: "Samoa"
|
|
37310
|
+
};
|
|
37311
|
+
State$inboundSchema = nativeEnumType(State);
|
|
37312
|
+
State$outboundSchema = State$inboundSchema;
|
|
37313
|
+
((State$) => {
|
|
37314
|
+
State$.inboundSchema = State$inboundSchema;
|
|
37315
|
+
State$.outboundSchema = State$outboundSchema;
|
|
37316
|
+
})(State$ ||= {});
|
|
37317
|
+
Timezone$inboundSchema = nativeEnumType(Timezone);
|
|
37318
|
+
Timezone$outboundSchema = Timezone$inboundSchema;
|
|
37319
|
+
((Timezone$) => {
|
|
37320
|
+
Timezone$.inboundSchema = Timezone$inboundSchema;
|
|
37321
|
+
Timezone$.outboundSchema = Timezone$outboundSchema;
|
|
37322
|
+
})(Timezone$ ||= {});
|
|
37104
37323
|
UserLocation$inboundSchema = objectType({
|
|
37105
37324
|
address: nullableType(stringType()).optional(),
|
|
37106
37325
|
address1: nullableType(stringType()).optional(),
|
|
37107
37326
|
address2: nullableType(stringType()).optional(),
|
|
37108
37327
|
city: nullableType(stringType()).optional(),
|
|
37109
|
-
state: nullableType(
|
|
37328
|
+
state: nullableType(State$inboundSchema).optional(),
|
|
37110
37329
|
zip: nullableType(stringType()).optional(),
|
|
37111
|
-
|
|
37330
|
+
phone: nullableType(stringType()).optional(),
|
|
37331
|
+
mobile_phone: nullableType(stringType()).optional(),
|
|
37332
|
+
fax: nullableType(stringType()).optional(),
|
|
37333
|
+
country: nullableType(stringType()).optional(),
|
|
37334
|
+
timezone: nullableType(Timezone$inboundSchema).optional()
|
|
37335
|
+
}).transform((v2) => {
|
|
37336
|
+
return remap(v2, {
|
|
37337
|
+
mobile_phone: "mobilePhone"
|
|
37338
|
+
});
|
|
37112
37339
|
});
|
|
37113
37340
|
UserLocation$outboundSchema = objectType({
|
|
37114
37341
|
address: nullableType(stringType()).optional(),
|
|
37115
37342
|
address1: nullableType(stringType()).optional(),
|
|
37116
37343
|
address2: nullableType(stringType()).optional(),
|
|
37117
37344
|
city: nullableType(stringType()).optional(),
|
|
37118
|
-
state: nullableType(
|
|
37345
|
+
state: nullableType(State$outboundSchema).optional(),
|
|
37119
37346
|
zip: nullableType(stringType()).optional(),
|
|
37120
|
-
|
|
37347
|
+
phone: nullableType(stringType()).optional(),
|
|
37348
|
+
mobilePhone: nullableType(stringType()).optional(),
|
|
37349
|
+
fax: nullableType(stringType()).optional(),
|
|
37350
|
+
country: nullableType(stringType()).optional(),
|
|
37351
|
+
timezone: nullableType(Timezone$outboundSchema).optional()
|
|
37352
|
+
}).transform((v2) => {
|
|
37353
|
+
return remap(v2, {
|
|
37354
|
+
mobilePhone: "mobile_phone"
|
|
37355
|
+
});
|
|
37121
37356
|
});
|
|
37122
37357
|
((UserLocation$) => {
|
|
37123
37358
|
UserLocation$.inboundSchema = UserLocation$inboundSchema;
|
|
@@ -39540,6 +39775,78 @@ var init_passwordresetrequest = __esm(() => {
|
|
|
39540
39775
|
})(PasswordResetRequestPasswordResetRequestOk$ ||= {});
|
|
39541
39776
|
});
|
|
39542
39777
|
|
|
39778
|
+
// src/models/operations/updatevendordetails.ts
|
|
39779
|
+
var EmailRecepient, EmailRecepient$inboundSchema, EmailRecepient$outboundSchema, EmailRecepient$, UpdateVendorDetailsRequestBody$inboundSchema, UpdateVendorDetailsRequestBody$outboundSchema, UpdateVendorDetailsRequestBody$, UpdateVendorDetailsRequest$inboundSchema, UpdateVendorDetailsRequest$outboundSchema, UpdateVendorDetailsRequest$;
|
|
39780
|
+
var init_updatevendordetails = __esm(() => {
|
|
39781
|
+
init_lib();
|
|
39782
|
+
init_primitives();
|
|
39783
|
+
init_components();
|
|
39784
|
+
EmailRecepient = {
|
|
39785
|
+
NoEmail: "No email",
|
|
39786
|
+
Vendor: "Vendor",
|
|
39787
|
+
CompanyManager: "Company manager",
|
|
39788
|
+
VendorAndCompanyManager: "Vendor and company manager"
|
|
39789
|
+
};
|
|
39790
|
+
EmailRecepient$inboundSchema = nativeEnumType(EmailRecepient);
|
|
39791
|
+
EmailRecepient$outboundSchema = EmailRecepient$inboundSchema;
|
|
39792
|
+
((EmailRecepient$) => {
|
|
39793
|
+
EmailRecepient$.inboundSchema = EmailRecepient$inboundSchema;
|
|
39794
|
+
EmailRecepient$.outboundSchema = EmailRecepient$outboundSchema;
|
|
39795
|
+
})(EmailRecepient$ ||= {});
|
|
39796
|
+
UpdateVendorDetailsRequestBody$inboundSchema = objectType({
|
|
39797
|
+
qr_code: stringType().optional(),
|
|
39798
|
+
email_recepient: EmailRecepient$inboundSchema.optional(),
|
|
39799
|
+
send_weekly_summary_email: booleanType().optional(),
|
|
39800
|
+
title: stringType().optional(),
|
|
39801
|
+
location: nullableType(UserLocation$inboundSchema).optional()
|
|
39802
|
+
}).transform((v2) => {
|
|
39803
|
+
return remap(v2, {
|
|
39804
|
+
qr_code: "qrCode",
|
|
39805
|
+
email_recepient: "emailRecepient",
|
|
39806
|
+
send_weekly_summary_email: "sendWeeklySummaryEmail"
|
|
39807
|
+
});
|
|
39808
|
+
});
|
|
39809
|
+
UpdateVendorDetailsRequestBody$outboundSchema = objectType({
|
|
39810
|
+
qrCode: stringType().optional(),
|
|
39811
|
+
emailRecepient: EmailRecepient$outboundSchema.optional(),
|
|
39812
|
+
sendWeeklySummaryEmail: booleanType().optional(),
|
|
39813
|
+
title: stringType().optional(),
|
|
39814
|
+
location: nullableType(UserLocation$outboundSchema).optional()
|
|
39815
|
+
}).transform((v2) => {
|
|
39816
|
+
return remap(v2, {
|
|
39817
|
+
qrCode: "qr_code",
|
|
39818
|
+
emailRecepient: "email_recepient",
|
|
39819
|
+
sendWeeklySummaryEmail: "send_weekly_summary_email"
|
|
39820
|
+
});
|
|
39821
|
+
});
|
|
39822
|
+
((UpdateVendorDetailsRequestBody$) => {
|
|
39823
|
+
UpdateVendorDetailsRequestBody$.inboundSchema = UpdateVendorDetailsRequestBody$inboundSchema;
|
|
39824
|
+
UpdateVendorDetailsRequestBody$.outboundSchema = UpdateVendorDetailsRequestBody$outboundSchema;
|
|
39825
|
+
})(UpdateVendorDetailsRequestBody$ ||= {});
|
|
39826
|
+
UpdateVendorDetailsRequest$inboundSchema = objectType({
|
|
39827
|
+
vendor_id_or_me: stringType(),
|
|
39828
|
+
RequestBody: lazyType(() => UpdateVendorDetailsRequestBody$inboundSchema)
|
|
39829
|
+
}).transform((v2) => {
|
|
39830
|
+
return remap(v2, {
|
|
39831
|
+
vendor_id_or_me: "vendorIdOrMe",
|
|
39832
|
+
RequestBody: "requestBody"
|
|
39833
|
+
});
|
|
39834
|
+
});
|
|
39835
|
+
UpdateVendorDetailsRequest$outboundSchema = objectType({
|
|
39836
|
+
vendorIdOrMe: stringType(),
|
|
39837
|
+
requestBody: lazyType(() => UpdateVendorDetailsRequestBody$outboundSchema)
|
|
39838
|
+
}).transform((v2) => {
|
|
39839
|
+
return remap(v2, {
|
|
39840
|
+
vendorIdOrMe: "vendor_id_or_me",
|
|
39841
|
+
requestBody: "RequestBody"
|
|
39842
|
+
});
|
|
39843
|
+
});
|
|
39844
|
+
((UpdateVendorDetailsRequest$) => {
|
|
39845
|
+
UpdateVendorDetailsRequest$.inboundSchema = UpdateVendorDetailsRequest$inboundSchema;
|
|
39846
|
+
UpdateVendorDetailsRequest$.outboundSchema = UpdateVendorDetailsRequest$outboundSchema;
|
|
39847
|
+
})(UpdateVendorDetailsRequest$ ||= {});
|
|
39848
|
+
});
|
|
39849
|
+
|
|
39543
39850
|
// src/models/operations/updatevendormanagedbycompany.ts
|
|
39544
39851
|
var UpdateVendorManagedByCompanyRequestBody$inboundSchema, UpdateVendorManagedByCompanyRequestBody$outboundSchema, UpdateVendorManagedByCompanyRequestBody$, UpdateVendorManagedByCompanyRequest$inboundSchema, UpdateVendorManagedByCompanyRequest$outboundSchema, UpdateVendorManagedByCompanyRequest$, UpdateVendorManagedByCompanyResponseBody$inboundSchema, UpdateVendorManagedByCompanyResponseBody$outboundSchema, UpdateVendorManagedByCompanyResponseBody$;
|
|
39545
39852
|
var init_updatevendormanagedbycompany = __esm(() => {
|
|
@@ -39775,6 +40082,7 @@ var init_operations = __esm(() => {
|
|
|
39775
40082
|
init_magiclink();
|
|
39776
40083
|
init_password();
|
|
39777
40084
|
init_passwordresetrequest();
|
|
40085
|
+
init_updatevendordetails();
|
|
39778
40086
|
init_updatevendormanagedbycompany();
|
|
39779
40087
|
init_updatevendorscrubdetails();
|
|
39780
40088
|
init_vendorscanout();
|
|
@@ -43100,11 +43408,118 @@ List vendor scrub purchases`,
|
|
|
43100
43408
|
};
|
|
43101
43409
|
});
|
|
43102
43410
|
|
|
43103
|
-
// src/funcs/
|
|
43104
|
-
function
|
|
43411
|
+
// src/funcs/vendorsUpdateVendorDetails.ts
|
|
43412
|
+
function vendorsUpdateVendorDetails(client, request, options) {
|
|
43105
43413
|
return new APIPromise($do28(client, request, options));
|
|
43106
43414
|
}
|
|
43107
43415
|
async function $do28(client, request, options) {
|
|
43416
|
+
const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
43417
|
+
if (!parsed.ok) {
|
|
43418
|
+
return [parsed, { status: "invalid" }];
|
|
43419
|
+
}
|
|
43420
|
+
const payload = parsed.value;
|
|
43421
|
+
const body = encodeJSON("body", payload.RequestBody, { explode: true });
|
|
43422
|
+
const pathParams = {
|
|
43423
|
+
vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
|
|
43424
|
+
explode: false,
|
|
43425
|
+
charEncoding: "percent"
|
|
43426
|
+
})
|
|
43427
|
+
};
|
|
43428
|
+
const path = pathToFunc("/vendors/{vendor_id_or_me}")(pathParams);
|
|
43429
|
+
const headers = new Headers(compactMap({
|
|
43430
|
+
"Content-Type": "application/json",
|
|
43431
|
+
Accept: "application/json"
|
|
43432
|
+
}));
|
|
43433
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
43434
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
43435
|
+
const context = {
|
|
43436
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
43437
|
+
operationID: "updateVendorDetails",
|
|
43438
|
+
oAuth2Scopes: [],
|
|
43439
|
+
resolvedSecurity: requestSecurity,
|
|
43440
|
+
securitySource: client._options.security,
|
|
43441
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
43442
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
43443
|
+
};
|
|
43444
|
+
const requestRes = client._createRequest(context, {
|
|
43445
|
+
security: requestSecurity,
|
|
43446
|
+
method: "PUT",
|
|
43447
|
+
baseURL: options?.serverURL,
|
|
43448
|
+
path,
|
|
43449
|
+
headers,
|
|
43450
|
+
body,
|
|
43451
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
43452
|
+
}, options);
|
|
43453
|
+
if (!requestRes.ok) {
|
|
43454
|
+
return [requestRes, { status: "invalid" }];
|
|
43455
|
+
}
|
|
43456
|
+
const req = requestRes.value;
|
|
43457
|
+
const doResult = await client._do(req, {
|
|
43458
|
+
context,
|
|
43459
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
43460
|
+
retryConfig: context.retryConfig,
|
|
43461
|
+
retryCodes: context.retryCodes
|
|
43462
|
+
});
|
|
43463
|
+
if (!doResult.ok) {
|
|
43464
|
+
return [doResult, { status: "request-error", request: req }];
|
|
43465
|
+
}
|
|
43466
|
+
const response = doResult.value;
|
|
43467
|
+
const responseFields = {
|
|
43468
|
+
HttpMeta: { Response: response, Request: req }
|
|
43469
|
+
};
|
|
43470
|
+
const [result] = await match(json(200, booleanType()), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
|
|
43471
|
+
if (!result.ok) {
|
|
43472
|
+
return [result, { status: "complete", request: req, response }];
|
|
43473
|
+
}
|
|
43474
|
+
return [result, { status: "complete", request: req, response }];
|
|
43475
|
+
}
|
|
43476
|
+
var init_vendorsUpdateVendorDetails = __esm(() => {
|
|
43477
|
+
init_lib();
|
|
43478
|
+
init_encodings();
|
|
43479
|
+
init_matchers();
|
|
43480
|
+
init_primitives();
|
|
43481
|
+
init_schemas();
|
|
43482
|
+
init_security();
|
|
43483
|
+
init_url();
|
|
43484
|
+
init_errors();
|
|
43485
|
+
init_operations();
|
|
43486
|
+
init_async();
|
|
43487
|
+
});
|
|
43488
|
+
|
|
43489
|
+
// src/mcp-server/tools/vendorsUpdateVendorDetails.ts
|
|
43490
|
+
var args27, tool$vendorsUpdateVendorDetails;
|
|
43491
|
+
var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
43492
|
+
init_vendorsUpdateVendorDetails();
|
|
43493
|
+
init_operations();
|
|
43494
|
+
init_tools();
|
|
43495
|
+
args27 = {
|
|
43496
|
+
request: UpdateVendorDetailsRequest$inboundSchema
|
|
43497
|
+
};
|
|
43498
|
+
tool$vendorsUpdateVendorDetails = {
|
|
43499
|
+
name: "vendors-update-vendor-details",
|
|
43500
|
+
description: `Update vendor details
|
|
43501
|
+
|
|
43502
|
+
It will update the vendor details`,
|
|
43503
|
+
args: args27,
|
|
43504
|
+
tool: async (client, args28, ctx) => {
|
|
43505
|
+
const [result, apiCall] = await vendorsUpdateVendorDetails(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
43506
|
+
if (!result.ok) {
|
|
43507
|
+
return {
|
|
43508
|
+
content: [{ type: "text", text: result.error.message }],
|
|
43509
|
+
isError: true
|
|
43510
|
+
};
|
|
43511
|
+
}
|
|
43512
|
+
const value = result.value;
|
|
43513
|
+
return formatResult(value, apiCall);
|
|
43514
|
+
}
|
|
43515
|
+
};
|
|
43516
|
+
});
|
|
43517
|
+
|
|
43518
|
+
// src/funcs/vendorsUpdateVendorManagedByCompany.ts
|
|
43519
|
+
function vendorsUpdateVendorManagedByCompany(client, request, options) {
|
|
43520
|
+
return new APIPromise($do29(client, request, options));
|
|
43521
|
+
}
|
|
43522
|
+
async function $do29(client, request, options) {
|
|
43108
43523
|
const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
43109
43524
|
if (!parsed.ok) {
|
|
43110
43525
|
return [parsed, { status: "invalid" }];
|
|
@@ -43178,12 +43593,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
|
|
|
43178
43593
|
});
|
|
43179
43594
|
|
|
43180
43595
|
// src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
|
|
43181
|
-
var
|
|
43596
|
+
var args28, tool$vendorsUpdateVendorManagedByCompany;
|
|
43182
43597
|
var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
43183
43598
|
init_vendorsUpdateVendorManagedByCompany();
|
|
43184
43599
|
init_operations();
|
|
43185
43600
|
init_tools();
|
|
43186
|
-
|
|
43601
|
+
args28 = {
|
|
43187
43602
|
request: UpdateVendorManagedByCompanyRequest$inboundSchema
|
|
43188
43603
|
};
|
|
43189
43604
|
tool$vendorsUpdateVendorManagedByCompany = {
|
|
@@ -43191,9 +43606,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
|
43191
43606
|
description: `Update vendor managed by company access rights
|
|
43192
43607
|
|
|
43193
43608
|
It will update the vendor managed by company access rights`,
|
|
43194
|
-
args:
|
|
43195
|
-
tool: async (client,
|
|
43196
|
-
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client,
|
|
43609
|
+
args: args28,
|
|
43610
|
+
tool: async (client, args29, ctx) => {
|
|
43611
|
+
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
43197
43612
|
if (!result.ok) {
|
|
43198
43613
|
return {
|
|
43199
43614
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -43208,9 +43623,9 @@ It will update the vendor managed by company access rights`,
|
|
|
43208
43623
|
|
|
43209
43624
|
// src/funcs/vendorsUpdateVendorScrubDetails.ts
|
|
43210
43625
|
function vendorsUpdateVendorScrubDetails(client, request, options) {
|
|
43211
|
-
return new APIPromise($
|
|
43626
|
+
return new APIPromise($do30(client, request, options));
|
|
43212
43627
|
}
|
|
43213
|
-
async function $
|
|
43628
|
+
async function $do30(client, request, options) {
|
|
43214
43629
|
const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
43215
43630
|
if (!parsed.ok) {
|
|
43216
43631
|
return [parsed, { status: "invalid" }];
|
|
@@ -43285,12 +43700,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
|
|
|
43285
43700
|
});
|
|
43286
43701
|
|
|
43287
43702
|
// src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
|
|
43288
|
-
var
|
|
43703
|
+
var args29, tool$vendorsUpdateVendorScrubDetails;
|
|
43289
43704
|
var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
43290
43705
|
init_vendorsUpdateVendorScrubDetails();
|
|
43291
43706
|
init_operations();
|
|
43292
43707
|
init_tools();
|
|
43293
|
-
|
|
43708
|
+
args29 = {
|
|
43294
43709
|
request: UpdateVendorScrubDetailsRequest$inboundSchema
|
|
43295
43710
|
};
|
|
43296
43711
|
tool$vendorsUpdateVendorScrubDetails = {
|
|
@@ -43298,9 +43713,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
|
43298
43713
|
description: `Update vendor scrub details
|
|
43299
43714
|
|
|
43300
43715
|
Update vendor scrub details`,
|
|
43301
|
-
args:
|
|
43302
|
-
tool: async (client,
|
|
43303
|
-
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client,
|
|
43716
|
+
args: args29,
|
|
43717
|
+
tool: async (client, args30, ctx) => {
|
|
43718
|
+
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
43304
43719
|
if (!result.ok) {
|
|
43305
43720
|
return {
|
|
43306
43721
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -43315,9 +43730,9 @@ Update vendor scrub details`,
|
|
|
43315
43730
|
|
|
43316
43731
|
// src/funcs/webhooksGetWebhookEndpoint.ts
|
|
43317
43732
|
function webhooksGetWebhookEndpoint(client, request, options) {
|
|
43318
|
-
return new APIPromise($
|
|
43733
|
+
return new APIPromise($do31(client, request, options));
|
|
43319
43734
|
}
|
|
43320
|
-
async function $
|
|
43735
|
+
async function $do31(client, request, options) {
|
|
43321
43736
|
const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
43322
43737
|
if (!parsed.ok) {
|
|
43323
43738
|
return [parsed, { status: "invalid" }];
|
|
@@ -43391,12 +43806,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
|
|
|
43391
43806
|
});
|
|
43392
43807
|
|
|
43393
43808
|
// src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
|
|
43394
|
-
var
|
|
43809
|
+
var args30, tool$webhooksGetWebhookEndpoint;
|
|
43395
43810
|
var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
43396
43811
|
init_webhooksGetWebhookEndpoint();
|
|
43397
43812
|
init_operations();
|
|
43398
43813
|
init_tools();
|
|
43399
|
-
|
|
43814
|
+
args30 = {
|
|
43400
43815
|
request: GetWebhookEndpointRequest$inboundSchema
|
|
43401
43816
|
};
|
|
43402
43817
|
tool$webhooksGetWebhookEndpoint = {
|
|
@@ -43404,9 +43819,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
|
43404
43819
|
description: `Retrieves the webhook endpoint with the given ID.
|
|
43405
43820
|
|
|
43406
43821
|
Returns the definition of a webhook endpoint by ID.`,
|
|
43407
|
-
args:
|
|
43408
|
-
tool: async (client,
|
|
43409
|
-
const [result, apiCall] = await webhooksGetWebhookEndpoint(client,
|
|
43822
|
+
args: args30,
|
|
43823
|
+
tool: async (client, args31, ctx) => {
|
|
43824
|
+
const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
43410
43825
|
if (!result.ok) {
|
|
43411
43826
|
return {
|
|
43412
43827
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -43421,9 +43836,9 @@ Returns the definition of a webhook endpoint by ID.`,
|
|
|
43421
43836
|
|
|
43422
43837
|
// src/funcs/webhooksListAllWebhookEndpoints.ts
|
|
43423
43838
|
function webhooksListAllWebhookEndpoints(client, request, options) {
|
|
43424
|
-
return new APIPromise($
|
|
43839
|
+
return new APIPromise($do32(client, request, options));
|
|
43425
43840
|
}
|
|
43426
|
-
async function $
|
|
43841
|
+
async function $do32(client, request, options) {
|
|
43427
43842
|
const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
43428
43843
|
if (!parsed.ok) {
|
|
43429
43844
|
return [parsed, { status: "invalid" }];
|
|
@@ -43497,12 +43912,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
|
|
|
43497
43912
|
});
|
|
43498
43913
|
|
|
43499
43914
|
// src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
|
|
43500
|
-
var
|
|
43915
|
+
var args31, tool$webhooksListAllWebhookEndpoints;
|
|
43501
43916
|
var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
43502
43917
|
init_webhooksListAllWebhookEndpoints();
|
|
43503
43918
|
init_operations();
|
|
43504
43919
|
init_tools();
|
|
43505
|
-
|
|
43920
|
+
args31 = {
|
|
43506
43921
|
request: ListAllWebhookEndpointsRequest$inboundSchema
|
|
43507
43922
|
};
|
|
43508
43923
|
tool$webhooksListAllWebhookEndpoints = {
|
|
@@ -43510,9 +43925,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
|
43510
43925
|
description: `List all webhook endpoints
|
|
43511
43926
|
|
|
43512
43927
|
Returns a list of your webhook endpoints.`,
|
|
43513
|
-
args:
|
|
43514
|
-
tool: async (client,
|
|
43515
|
-
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client,
|
|
43928
|
+
args: args31,
|
|
43929
|
+
tool: async (client, args32, ctx) => {
|
|
43930
|
+
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
43516
43931
|
if (!result.ok) {
|
|
43517
43932
|
return {
|
|
43518
43933
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -43529,7 +43944,7 @@ Returns a list of your webhook endpoints.`,
|
|
|
43529
43944
|
function createMCPServer(deps) {
|
|
43530
43945
|
const server = new McpServer({
|
|
43531
43946
|
name: "GreenSecurity",
|
|
43532
|
-
version: "0.30.
|
|
43947
|
+
version: "0.30.15"
|
|
43533
43948
|
});
|
|
43534
43949
|
const client = new GreenSecurityCore({
|
|
43535
43950
|
security: deps.security,
|
|
@@ -43554,6 +43969,7 @@ function createMCPServer(deps) {
|
|
|
43554
43969
|
tool(tool$vendorsUpdateVendorScrubDetails);
|
|
43555
43970
|
tool(tool$vendorsListVendorScrubPackages);
|
|
43556
43971
|
tool(tool$vendorsGetVendorsDetails);
|
|
43972
|
+
tool(tool$vendorsUpdateVendorDetails);
|
|
43557
43973
|
tool(tool$vendorsListVendorCredits);
|
|
43558
43974
|
tool(tool$vendorsListVendorAdditionalFacilityFields);
|
|
43559
43975
|
tool(tool$vendorsListVendorManagedByCompanies);
|
|
@@ -43609,6 +44025,7 @@ var init_server2 = __esm(() => {
|
|
|
43609
44025
|
init_vendorsListVendorScrubDetails2();
|
|
43610
44026
|
init_vendorsListVendorScrubPackages2();
|
|
43611
44027
|
init_vendorsListVendorScrubPurchases2();
|
|
44028
|
+
init_vendorsUpdateVendorDetails2();
|
|
43612
44029
|
init_vendorsUpdateVendorManagedByCompany2();
|
|
43613
44030
|
init_vendorsUpdateVendorScrubDetails2();
|
|
43614
44031
|
init_webhooksGetWebhookEndpoint2();
|
|
@@ -44810,7 +45227,7 @@ var routes = rn({
|
|
|
44810
45227
|
var app = Ve(routes, {
|
|
44811
45228
|
name: "mcp",
|
|
44812
45229
|
versionInfo: {
|
|
44813
|
-
currentVersion: "0.30.
|
|
45230
|
+
currentVersion: "0.30.15"
|
|
44814
45231
|
}
|
|
44815
45232
|
});
|
|
44816
45233
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -44818,5 +45235,5 @@ export {
|
|
|
44818
45235
|
app
|
|
44819
45236
|
};
|
|
44820
45237
|
|
|
44821
|
-
//# debugId=
|
|
45238
|
+
//# debugId=DEA8235F208F1C2D64756E2164756E21
|
|
44822
45239
|
//# sourceMappingURL=mcp-server.js.map
|