@greensecurity/javascript-sdk 0.37.12 → 0.37.14
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 +726 -436
- package/bin/mcp-server.js.map +15 -10
- package/dist/commonjs/__tests__/organizations.test.js +42 -0
- package/dist/commonjs/__tests__/organizations.test.js.map +1 -1
- package/dist/commonjs/__tests__/zones.test.js +25 -12
- package/dist/commonjs/__tests__/zones.test.js.map +1 -1
- package/dist/commonjs/funcs/organizationsListOrSearchDepartmentContacts.d.ts +26 -0
- package/dist/commonjs/funcs/organizationsListOrSearchDepartmentContacts.d.ts.map +1 -0
- package/dist/commonjs/funcs/organizationsListOrSearchDepartmentContacts.js +168 -0
- package/dist/commonjs/funcs/organizationsListOrSearchDepartmentContacts.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/organizationsListOrSearchDepartmentContacts.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/organizationsListOrSearchDepartmentContacts.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/organizationsListOrSearchDepartmentContacts.js +69 -0
- package/dist/commonjs/mcp-server/tools/organizationsListOrSearchDepartmentContacts.js.map +1 -0
- package/dist/commonjs/models/components/contact.d.ts +30 -4
- package/dist/commonjs/models/components/contact.d.ts.map +1 -1
- package/dist/commonjs/models/components/contact.js +35 -5
- package/dist/commonjs/models/components/contact.js.map +1 -1
- package/dist/commonjs/models/components/departmentmembership.d.ts +80 -0
- package/dist/commonjs/models/components/departmentmembership.d.ts.map +1 -0
- package/dist/commonjs/models/components/departmentmembership.js +123 -0
- package/dist/commonjs/models/components/departmentmembership.js.map +1 -0
- package/dist/commonjs/models/components/expand.d.ts +6 -0
- package/dist/commonjs/models/components/expand.d.ts.map +1 -1
- package/dist/commonjs/models/components/expand.js +2 -0
- package/dist/commonjs/models/components/expand.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +2 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +2 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/usersummary.d.ts +34 -0
- package/dist/commonjs/models/components/usersummary.d.ts.map +1 -0
- package/dist/commonjs/models/components/usersummary.js +71 -0
- package/dist/commonjs/models/components/usersummary.js.map +1 -0
- 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/listorsearchdepartmentcontacts.d.ts +121 -0
- package/dist/commonjs/models/operations/listorsearchdepartmentcontacts.d.ts.map +1 -0
- package/dist/commonjs/models/operations/listorsearchdepartmentcontacts.js +155 -0
- package/dist/commonjs/models/operations/listorsearchdepartmentcontacts.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/organizationsListOrSearchDepartmentContacts.d.ts +103 -0
- package/dist/commonjs/react-query/organizationsListOrSearchDepartmentContacts.d.ts.map +1 -0
- package/dist/commonjs/react-query/organizationsListOrSearchDepartmentContacts.js +184 -0
- package/dist/commonjs/react-query/organizationsListOrSearchDepartmentContacts.js.map +1 -0
- package/dist/commonjs/sdk/organizations.d.ts +14 -0
- package/dist/commonjs/sdk/organizations.d.ts.map +1 -1
- package/dist/commonjs/sdk/organizations.js +15 -0
- package/dist/commonjs/sdk/organizations.js.map +1 -1
- package/dist/esm/__tests__/organizations.test.js +42 -0
- package/dist/esm/__tests__/organizations.test.js.map +1 -1
- package/dist/esm/__tests__/zones.test.js +25 -12
- package/dist/esm/__tests__/zones.test.js.map +1 -1
- package/dist/esm/funcs/organizationsListOrSearchDepartmentContacts.d.ts +26 -0
- package/dist/esm/funcs/organizationsListOrSearchDepartmentContacts.d.ts.map +1 -0
- package/dist/esm/funcs/organizationsListOrSearchDepartmentContacts.js +132 -0
- package/dist/esm/funcs/organizationsListOrSearchDepartmentContacts.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/organizationsListOrSearchDepartmentContacts.d.ts +8 -0
- package/dist/esm/mcp-server/tools/organizationsListOrSearchDepartmentContacts.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/organizationsListOrSearchDepartmentContacts.js +33 -0
- package/dist/esm/mcp-server/tools/organizationsListOrSearchDepartmentContacts.js.map +1 -0
- package/dist/esm/models/components/contact.d.ts +30 -4
- package/dist/esm/models/components/contact.d.ts.map +1 -1
- package/dist/esm/models/components/contact.js +32 -4
- package/dist/esm/models/components/contact.js.map +1 -1
- package/dist/esm/models/components/departmentmembership.d.ts +80 -0
- package/dist/esm/models/components/departmentmembership.d.ts.map +1 -0
- package/dist/esm/models/components/departmentmembership.js +81 -0
- package/dist/esm/models/components/departmentmembership.js.map +1 -0
- package/dist/esm/models/components/expand.d.ts +6 -0
- package/dist/esm/models/components/expand.d.ts.map +1 -1
- package/dist/esm/models/components/expand.js +2 -0
- package/dist/esm/models/components/expand.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +2 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +2 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/usersummary.d.ts +34 -0
- package/dist/esm/models/components/usersummary.d.ts.map +1 -0
- package/dist/esm/models/components/usersummary.js +33 -0
- package/dist/esm/models/components/usersummary.js.map +1 -0
- 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/listorsearchdepartmentcontacts.d.ts +121 -0
- package/dist/esm/models/operations/listorsearchdepartmentcontacts.d.ts.map +1 -0
- package/dist/esm/models/operations/listorsearchdepartmentcontacts.js +113 -0
- package/dist/esm/models/operations/listorsearchdepartmentcontacts.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/organizationsListOrSearchDepartmentContacts.d.ts +103 -0
- package/dist/esm/react-query/organizationsListOrSearchDepartmentContacts.d.ts.map +1 -0
- package/dist/esm/react-query/organizationsListOrSearchDepartmentContacts.js +171 -0
- package/dist/esm/react-query/organizationsListOrSearchDepartmentContacts.js.map +1 -0
- package/dist/esm/sdk/organizations.d.ts +14 -0
- package/dist/esm/sdk/organizations.d.ts.map +1 -1
- package/dist/esm/sdk/organizations.js +15 -0
- package/dist/esm/sdk/organizations.js.map +1 -1
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/__tests__/organizations.test.ts +45 -0
- package/src/__tests__/zones.test.ts +25 -12
- package/src/funcs/organizationsListOrSearchDepartmentContacts.ts +270 -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/organizationsListOrSearchDepartmentContacts.ts +44 -0
- package/src/models/components/contact.ts +74 -8
- package/src/models/components/departmentmembership.ts +201 -0
- package/src/models/components/expand.ts +2 -0
- package/src/models/components/index.ts +2 -0
- package/src/models/components/usersummary.ts +69 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/listorsearchdepartmentcontacts.ts +280 -0
- package/src/react-query/index.ts +1 -0
- package/src/react-query/organizationsListOrSearchDepartmentContacts.ts +386 -0
- package/src/sdk/organizations.ts +28 -0
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.14",
|
|
34164
|
+
genVersion: "2.657.1",
|
|
34165
|
+
userAgent: "speakeasy-sdk/typescript 0.37.14 2.657.1 0.0.3 @greensecurity/javascript-sdk"
|
|
34166
34166
|
};
|
|
34167
34167
|
});
|
|
34168
34168
|
|
|
@@ -36556,13 +36556,32 @@ var init_systemsummary = __esm(() => {
|
|
|
36556
36556
|
})(SystemSummary$ ||= {});
|
|
36557
36557
|
});
|
|
36558
36558
|
|
|
36559
|
+
// src/models/components/usersummary.ts
|
|
36560
|
+
var UserSummary$inboundSchema, UserSummary$outboundSchema, UserSummary$;
|
|
36561
|
+
var init_usersummary = __esm(() => {
|
|
36562
|
+
init_esm();
|
|
36563
|
+
UserSummary$inboundSchema = objectType({
|
|
36564
|
+
id: numberType().int(),
|
|
36565
|
+
name: stringType()
|
|
36566
|
+
});
|
|
36567
|
+
UserSummary$outboundSchema = objectType({
|
|
36568
|
+
id: numberType().int(),
|
|
36569
|
+
name: stringType()
|
|
36570
|
+
});
|
|
36571
|
+
((UserSummary$) => {
|
|
36572
|
+
UserSummary$.inboundSchema = UserSummary$inboundSchema;
|
|
36573
|
+
UserSummary$.outboundSchema = UserSummary$outboundSchema;
|
|
36574
|
+
})(UserSummary$ ||= {});
|
|
36575
|
+
});
|
|
36576
|
+
|
|
36559
36577
|
// src/models/components/contact.ts
|
|
36560
|
-
var Status, ContactFacility$inboundSchema, ContactFacility$outboundSchema, ContactFacility$, System$inboundSchema, System$outboundSchema, System$, Status$inboundSchema, Status$outboundSchema, Status$, ContactDepartment$inboundSchema, ContactDepartment$outboundSchema, ContactDepartment$, Contact$inboundSchema, Contact$outboundSchema, Contact$;
|
|
36578
|
+
var Status, ContactFacility$inboundSchema, ContactFacility$outboundSchema, ContactFacility$, System$inboundSchema, System$outboundSchema, System$, ContactUser$inboundSchema, ContactUser$outboundSchema, ContactUser$, Status$inboundSchema, Status$outboundSchema, Status$, ContactDepartment$inboundSchema, ContactDepartment$outboundSchema, ContactDepartment$, Contact$inboundSchema, Contact$outboundSchema, Contact$;
|
|
36561
36579
|
var init_contact = __esm(() => {
|
|
36562
36580
|
init_esm();
|
|
36563
36581
|
init_departmentsummary();
|
|
36564
36582
|
init_facilitysummary();
|
|
36565
36583
|
init_systemsummary();
|
|
36584
|
+
init_usersummary();
|
|
36566
36585
|
Status = {
|
|
36567
36586
|
Active: "Active",
|
|
36568
36587
|
Inactive: "Inactive",
|
|
@@ -36580,6 +36599,12 @@ var init_contact = __esm(() => {
|
|
|
36580
36599
|
System$.inboundSchema = System$inboundSchema;
|
|
36581
36600
|
System$.outboundSchema = System$outboundSchema;
|
|
36582
36601
|
})(System$ ||= {});
|
|
36602
|
+
ContactUser$inboundSchema = unionType([UserSummary$inboundSchema, numberType().int()]);
|
|
36603
|
+
ContactUser$outboundSchema = unionType([UserSummary$outboundSchema, numberType().int()]);
|
|
36604
|
+
((ContactUser$) => {
|
|
36605
|
+
ContactUser$.inboundSchema = ContactUser$inboundSchema;
|
|
36606
|
+
ContactUser$.outboundSchema = ContactUser$outboundSchema;
|
|
36607
|
+
})(ContactUser$ ||= {});
|
|
36583
36608
|
Status$inboundSchema = nativeEnumType(Status);
|
|
36584
36609
|
Status$outboundSchema = Status$inboundSchema;
|
|
36585
36610
|
((Status$) => {
|
|
@@ -36593,15 +36618,19 @@ var init_contact = __esm(() => {
|
|
|
36593
36618
|
ContactDepartment$.outboundSchema = ContactDepartment$outboundSchema;
|
|
36594
36619
|
})(ContactDepartment$ ||= {});
|
|
36595
36620
|
Contact$inboundSchema = objectType({
|
|
36596
|
-
|
|
36597
|
-
|
|
36621
|
+
id: numberType().int().optional(),
|
|
36622
|
+
facility: nullableType(unionType([FacilitySummary$inboundSchema, numberType().int()])).optional(),
|
|
36623
|
+
system: nullableType(unionType([SystemSummary$inboundSchema, numberType().int()])).optional(),
|
|
36624
|
+
user: nullableType(unionType([UserSummary$inboundSchema, numberType().int()])).optional(),
|
|
36598
36625
|
status: Status$inboundSchema,
|
|
36599
36626
|
position: nullableType(stringType()).optional(),
|
|
36600
36627
|
department: nullableType(unionType([DepartmentSummary$inboundSchema, numberType().int()])).optional()
|
|
36601
36628
|
});
|
|
36602
36629
|
Contact$outboundSchema = objectType({
|
|
36603
|
-
|
|
36604
|
-
|
|
36630
|
+
id: numberType().int().optional(),
|
|
36631
|
+
facility: nullableType(unionType([FacilitySummary$outboundSchema, numberType().int()])).optional(),
|
|
36632
|
+
system: nullableType(unionType([SystemSummary$outboundSchema, numberType().int()])).optional(),
|
|
36633
|
+
user: nullableType(unionType([UserSummary$outboundSchema, numberType().int()])).optional(),
|
|
36605
36634
|
status: Status$outboundSchema,
|
|
36606
36635
|
position: nullableType(stringType()).optional(),
|
|
36607
36636
|
department: nullableType(unionType([DepartmentSummary$outboundSchema, numberType().int()])).optional()
|
|
@@ -37068,6 +37097,40 @@ var init_department = __esm(() => {
|
|
|
37068
37097
|
})(Department$ ||= {});
|
|
37069
37098
|
});
|
|
37070
37099
|
|
|
37100
|
+
// src/models/components/departmentmembership.ts
|
|
37101
|
+
var DepartmentMembershipDepartment$inboundSchema, DepartmentMembershipDepartment$outboundSchema, DepartmentMembershipDepartment$, DepartmentMembershipContact$inboundSchema, DepartmentMembershipContact$outboundSchema, DepartmentMembershipContact$, DepartmentMembership$inboundSchema, DepartmentMembership$outboundSchema, DepartmentMembership$;
|
|
37102
|
+
var init_departmentmembership = __esm(() => {
|
|
37103
|
+
init_esm();
|
|
37104
|
+
init_contact();
|
|
37105
|
+
init_departmentsummary();
|
|
37106
|
+
DepartmentMembershipDepartment$inboundSchema = unionType([DepartmentSummary$inboundSchema, numberType().int()]);
|
|
37107
|
+
DepartmentMembershipDepartment$outboundSchema = unionType([DepartmentSummary$outboundSchema, numberType().int()]);
|
|
37108
|
+
((DepartmentMembershipDepartment$) => {
|
|
37109
|
+
DepartmentMembershipDepartment$.inboundSchema = DepartmentMembershipDepartment$inboundSchema;
|
|
37110
|
+
DepartmentMembershipDepartment$.outboundSchema = DepartmentMembershipDepartment$outboundSchema;
|
|
37111
|
+
})(DepartmentMembershipDepartment$ ||= {});
|
|
37112
|
+
DepartmentMembershipContact$inboundSchema = unionType([Contact$inboundSchema, numberType().int()]);
|
|
37113
|
+
DepartmentMembershipContact$outboundSchema = unionType([Contact$outboundSchema, numberType().int()]);
|
|
37114
|
+
((DepartmentMembershipContact$) => {
|
|
37115
|
+
DepartmentMembershipContact$.inboundSchema = DepartmentMembershipContact$inboundSchema;
|
|
37116
|
+
DepartmentMembershipContact$.outboundSchema = DepartmentMembershipContact$outboundSchema;
|
|
37117
|
+
})(DepartmentMembershipContact$ ||= {});
|
|
37118
|
+
DepartmentMembership$inboundSchema = objectType({
|
|
37119
|
+
id: numberType().int(),
|
|
37120
|
+
department: nullableType(unionType([DepartmentSummary$inboundSchema, numberType().int()])).optional(),
|
|
37121
|
+
contact: nullableType(unionType([Contact$inboundSchema, numberType().int()])).optional()
|
|
37122
|
+
});
|
|
37123
|
+
DepartmentMembership$outboundSchema = objectType({
|
|
37124
|
+
id: numberType().int(),
|
|
37125
|
+
department: nullableType(unionType([DepartmentSummary$outboundSchema, numberType().int()])).optional(),
|
|
37126
|
+
contact: nullableType(unionType([Contact$outboundSchema, numberType().int()])).optional()
|
|
37127
|
+
});
|
|
37128
|
+
((DepartmentMembership$) => {
|
|
37129
|
+
DepartmentMembership$.inboundSchema = DepartmentMembership$inboundSchema;
|
|
37130
|
+
DepartmentMembership$.outboundSchema = DepartmentMembership$outboundSchema;
|
|
37131
|
+
})(DepartmentMembership$ ||= {});
|
|
37132
|
+
});
|
|
37133
|
+
|
|
37071
37134
|
// src/models/components/desc.ts
|
|
37072
37135
|
var Desc$inboundSchema, Desc$outboundSchema, Desc$;
|
|
37073
37136
|
var init_desc = __esm(() => {
|
|
@@ -37147,7 +37210,9 @@ var init_expand = __esm(() => {
|
|
|
37147
37210
|
ZoneDepartment: "zone.department",
|
|
37148
37211
|
ZoneRules: "zone.rules",
|
|
37149
37212
|
SystemFacilities: "system.facilities",
|
|
37150
|
-
SubscriptionExpeditedOffer: "subscription.expedited_offer"
|
|
37213
|
+
SubscriptionExpeditedOffer: "subscription.expedited_offer",
|
|
37214
|
+
DepartmentMembershipContact: "department_membership.contact",
|
|
37215
|
+
DepartmentMembershipDepartment: "department_membership.department"
|
|
37151
37216
|
};
|
|
37152
37217
|
Expand$inboundSchema = nativeEnumType(Expand);
|
|
37153
37218
|
Expand$outboundSchema = Expand$inboundSchema;
|
|
@@ -40534,6 +40599,7 @@ var init_components = __esm(() => {
|
|
|
40534
40599
|
init_credit();
|
|
40535
40600
|
init_datarequest();
|
|
40536
40601
|
init_department();
|
|
40602
|
+
init_departmentmembership();
|
|
40537
40603
|
init_departmentsummary();
|
|
40538
40604
|
init_desc();
|
|
40539
40605
|
init_expand();
|
|
@@ -40566,6 +40632,7 @@ var init_components = __esm(() => {
|
|
|
40566
40632
|
init_systemsummary();
|
|
40567
40633
|
init_user();
|
|
40568
40634
|
init_userlocation();
|
|
40635
|
+
init_usersummary();
|
|
40569
40636
|
init_vendor();
|
|
40570
40637
|
init_vendoradditionalfacilityfields();
|
|
40571
40638
|
init_vendorcredentialdatarequest();
|
|
@@ -42149,6 +42216,74 @@ var init_listorsearchcompanies = __esm(() => {
|
|
|
42149
42216
|
})(ListOrSearchCompaniesResponse$ ||= {});
|
|
42150
42217
|
});
|
|
42151
42218
|
|
|
42219
|
+
// src/models/operations/listorsearchdepartmentcontacts.ts
|
|
42220
|
+
var ListOrSearchDepartmentContactsRequest$inboundSchema, ListOrSearchDepartmentContactsRequest$outboundSchema, ListOrSearchDepartmentContactsRequest$, ListOrSearchDepartmentContactsResponseBody$inboundSchema, ListOrSearchDepartmentContactsResponseBody$outboundSchema, ListOrSearchDepartmentContactsResponseBody$, ListOrSearchDepartmentContactsResponse$inboundSchema, ListOrSearchDepartmentContactsResponse$outboundSchema, ListOrSearchDepartmentContactsResponse$;
|
|
42221
|
+
var init_listorsearchdepartmentcontacts = __esm(() => {
|
|
42222
|
+
init_esm();
|
|
42223
|
+
init_primitives();
|
|
42224
|
+
init_components();
|
|
42225
|
+
ListOrSearchDepartmentContactsRequest$inboundSchema = objectType({
|
|
42226
|
+
id: numberType().int(),
|
|
42227
|
+
sort: nullableType(stringType()).optional(),
|
|
42228
|
+
desc: Desc$inboundSchema.optional(),
|
|
42229
|
+
page: numberType().int().optional(),
|
|
42230
|
+
items_per_page: numberType().int().optional(),
|
|
42231
|
+
search: stringType().optional(),
|
|
42232
|
+
expand: arrayType(Expand$inboundSchema).optional()
|
|
42233
|
+
}).transform((v2) => {
|
|
42234
|
+
return remap(v2, {
|
|
42235
|
+
items_per_page: "itemsPerPage"
|
|
42236
|
+
});
|
|
42237
|
+
});
|
|
42238
|
+
ListOrSearchDepartmentContactsRequest$outboundSchema = objectType({
|
|
42239
|
+
id: numberType().int(),
|
|
42240
|
+
sort: nullableType(stringType()).optional(),
|
|
42241
|
+
desc: Desc$outboundSchema.optional(),
|
|
42242
|
+
page: numberType().int().optional(),
|
|
42243
|
+
itemsPerPage: numberType().int().optional(),
|
|
42244
|
+
search: stringType().optional(),
|
|
42245
|
+
expand: arrayType(Expand$outboundSchema).optional()
|
|
42246
|
+
}).transform((v2) => {
|
|
42247
|
+
return remap(v2, {
|
|
42248
|
+
itemsPerPage: "items_per_page"
|
|
42249
|
+
});
|
|
42250
|
+
});
|
|
42251
|
+
((ListOrSearchDepartmentContactsRequest$) => {
|
|
42252
|
+
ListOrSearchDepartmentContactsRequest$.inboundSchema = ListOrSearchDepartmentContactsRequest$inboundSchema;
|
|
42253
|
+
ListOrSearchDepartmentContactsRequest$.outboundSchema = ListOrSearchDepartmentContactsRequest$outboundSchema;
|
|
42254
|
+
})(ListOrSearchDepartmentContactsRequest$ ||= {});
|
|
42255
|
+
ListOrSearchDepartmentContactsResponseBody$inboundSchema = objectType({
|
|
42256
|
+
pager: Pager$inboundSchema,
|
|
42257
|
+
items: arrayType(nullableType(DepartmentMembership$inboundSchema))
|
|
42258
|
+
});
|
|
42259
|
+
ListOrSearchDepartmentContactsResponseBody$outboundSchema = objectType({
|
|
42260
|
+
pager: Pager$outboundSchema,
|
|
42261
|
+
items: arrayType(nullableType(DepartmentMembership$outboundSchema))
|
|
42262
|
+
});
|
|
42263
|
+
((ListOrSearchDepartmentContactsResponseBody$) => {
|
|
42264
|
+
ListOrSearchDepartmentContactsResponseBody$.inboundSchema = ListOrSearchDepartmentContactsResponseBody$inboundSchema;
|
|
42265
|
+
ListOrSearchDepartmentContactsResponseBody$.outboundSchema = ListOrSearchDepartmentContactsResponseBody$outboundSchema;
|
|
42266
|
+
})(ListOrSearchDepartmentContactsResponseBody$ ||= {});
|
|
42267
|
+
ListOrSearchDepartmentContactsResponse$inboundSchema = objectType({
|
|
42268
|
+
Result: lazyType(() => ListOrSearchDepartmentContactsResponseBody$inboundSchema)
|
|
42269
|
+
}).transform((v2) => {
|
|
42270
|
+
return remap(v2, {
|
|
42271
|
+
Result: "result"
|
|
42272
|
+
});
|
|
42273
|
+
});
|
|
42274
|
+
ListOrSearchDepartmentContactsResponse$outboundSchema = objectType({
|
|
42275
|
+
result: lazyType(() => ListOrSearchDepartmentContactsResponseBody$outboundSchema)
|
|
42276
|
+
}).transform((v2) => {
|
|
42277
|
+
return remap(v2, {
|
|
42278
|
+
result: "Result"
|
|
42279
|
+
});
|
|
42280
|
+
});
|
|
42281
|
+
((ListOrSearchDepartmentContactsResponse$) => {
|
|
42282
|
+
ListOrSearchDepartmentContactsResponse$.inboundSchema = ListOrSearchDepartmentContactsResponse$inboundSchema;
|
|
42283
|
+
ListOrSearchDepartmentContactsResponse$.outboundSchema = ListOrSearchDepartmentContactsResponse$outboundSchema;
|
|
42284
|
+
})(ListOrSearchDepartmentContactsResponse$ ||= {});
|
|
42285
|
+
});
|
|
42286
|
+
|
|
42152
42287
|
// src/models/operations/listorsearchdepartments.ts
|
|
42153
42288
|
var ListOrSearchDepartmentsRequest$inboundSchema, ListOrSearchDepartmentsRequest$outboundSchema, ListOrSearchDepartmentsRequest$, ListOrSearchDepartmentsResponseBody$inboundSchema, ListOrSearchDepartmentsResponseBody$outboundSchema, ListOrSearchDepartmentsResponseBody$, ListOrSearchDepartmentsResponse$inboundSchema, ListOrSearchDepartmentsResponse$outboundSchema, ListOrSearchDepartmentsResponse$;
|
|
42154
42289
|
var init_listorsearchdepartments = __esm(() => {
|
|
@@ -45036,6 +45171,7 @@ var init_operations = __esm(() => {
|
|
|
45036
45171
|
init_getwebhookendpoint();
|
|
45037
45172
|
init_listallwebhookendpoints();
|
|
45038
45173
|
init_listorsearchcompanies();
|
|
45174
|
+
init_listorsearchdepartmentcontacts();
|
|
45039
45175
|
init_listorsearchdepartments();
|
|
45040
45176
|
init_listorsearchfacilities();
|
|
45041
45177
|
init_listorsearchsecurityzones();
|
|
@@ -46046,11 +46182,163 @@ Retrieve an individual facility.`,
|
|
|
46046
46182
|
};
|
|
46047
46183
|
});
|
|
46048
46184
|
|
|
46049
|
-
// src/funcs/
|
|
46050
|
-
function
|
|
46185
|
+
// src/funcs/organizationsListOrSearchDepartmentContacts.ts
|
|
46186
|
+
function organizationsListOrSearchDepartmentContacts(client, request, options) {
|
|
46051
46187
|
return new APIPromise($do9(client, request, options));
|
|
46052
46188
|
}
|
|
46053
46189
|
async function $do9(client, request, options) {
|
|
46190
|
+
const parsed = safeParse(request, (value) => ListOrSearchDepartmentContactsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46191
|
+
if (!parsed.ok) {
|
|
46192
|
+
return [haltIterator(parsed), { status: "invalid" }];
|
|
46193
|
+
}
|
|
46194
|
+
const payload = parsed.value;
|
|
46195
|
+
const body = null;
|
|
46196
|
+
const pathParams = {
|
|
46197
|
+
id: encodeSimple("id", payload.id, {
|
|
46198
|
+
explode: false,
|
|
46199
|
+
charEncoding: "percent"
|
|
46200
|
+
})
|
|
46201
|
+
};
|
|
46202
|
+
const path = pathToFunc("/departments/{id}/contacts")(pathParams);
|
|
46203
|
+
const query = queryJoin(encodeFormQuery({
|
|
46204
|
+
expand: payload.expand
|
|
46205
|
+
}, { explode: false }), encodeFormQuery({
|
|
46206
|
+
desc: payload.desc,
|
|
46207
|
+
items_per_page: payload.items_per_page,
|
|
46208
|
+
page: payload.page,
|
|
46209
|
+
search: payload.search,
|
|
46210
|
+
sort: payload.sort
|
|
46211
|
+
}));
|
|
46212
|
+
const headers = new Headers(compactMap({
|
|
46213
|
+
Accept: "application/json"
|
|
46214
|
+
}));
|
|
46215
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
46216
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
46217
|
+
const context = {
|
|
46218
|
+
options: client._options,
|
|
46219
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
46220
|
+
operationID: "listOrSearchDepartmentContacts",
|
|
46221
|
+
oAuth2Scopes: [],
|
|
46222
|
+
resolvedSecurity: requestSecurity,
|
|
46223
|
+
securitySource: client._options.security,
|
|
46224
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
46225
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
46226
|
+
};
|
|
46227
|
+
const requestRes = client._createRequest(context, {
|
|
46228
|
+
security: requestSecurity,
|
|
46229
|
+
method: "GET",
|
|
46230
|
+
baseURL: options?.serverURL,
|
|
46231
|
+
path,
|
|
46232
|
+
headers,
|
|
46233
|
+
query,
|
|
46234
|
+
body,
|
|
46235
|
+
userAgent: client._options.userAgent,
|
|
46236
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
46237
|
+
}, options);
|
|
46238
|
+
if (!requestRes.ok) {
|
|
46239
|
+
return [haltIterator(requestRes), { status: "invalid" }];
|
|
46240
|
+
}
|
|
46241
|
+
const req = requestRes.value;
|
|
46242
|
+
const doResult = await client._do(req, {
|
|
46243
|
+
context,
|
|
46244
|
+
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
46245
|
+
retryConfig: context.retryConfig,
|
|
46246
|
+
retryCodes: context.retryCodes
|
|
46247
|
+
});
|
|
46248
|
+
if (!doResult.ok) {
|
|
46249
|
+
return [haltIterator(doResult), { status: "request-error", request: req }];
|
|
46250
|
+
}
|
|
46251
|
+
const response = doResult.value;
|
|
46252
|
+
const responseFields = {
|
|
46253
|
+
HttpMeta: { Response: response, Request: req }
|
|
46254
|
+
};
|
|
46255
|
+
const [result, raw] = await match(json(200, ListOrSearchDepartmentContactsResponse$inboundSchema, { key: "Result" }), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
46256
|
+
if (!result.ok) {
|
|
46257
|
+
return [haltIterator(result), {
|
|
46258
|
+
status: "complete",
|
|
46259
|
+
request: req,
|
|
46260
|
+
response
|
|
46261
|
+
}];
|
|
46262
|
+
}
|
|
46263
|
+
const nextFunc = (responseData) => {
|
|
46264
|
+
const page2 = request?.page ?? 1;
|
|
46265
|
+
const nextPage = page2 + 1;
|
|
46266
|
+
if (!responseData) {
|
|
46267
|
+
return { next: () => null };
|
|
46268
|
+
}
|
|
46269
|
+
const results = dlv(responseData, "items");
|
|
46270
|
+
if (!Array.isArray(results) || !results.length) {
|
|
46271
|
+
return { next: () => null };
|
|
46272
|
+
}
|
|
46273
|
+
const limit = request?.itemsPerPage ?? 0;
|
|
46274
|
+
if (results.length < limit) {
|
|
46275
|
+
return { next: () => null };
|
|
46276
|
+
}
|
|
46277
|
+
const nextVal = () => organizationsListOrSearchDepartmentContacts(client, {
|
|
46278
|
+
...request,
|
|
46279
|
+
page: nextPage
|
|
46280
|
+
}, options);
|
|
46281
|
+
return { next: nextVal, "~next": { page: nextPage } };
|
|
46282
|
+
};
|
|
46283
|
+
const page = { ...result, ...nextFunc(raw) };
|
|
46284
|
+
return [{ ...page, ...createPageIterator(page, (v2) => !v2.ok) }, {
|
|
46285
|
+
status: "complete",
|
|
46286
|
+
request: req,
|
|
46287
|
+
response
|
|
46288
|
+
}];
|
|
46289
|
+
}
|
|
46290
|
+
var init_organizationsListOrSearchDepartmentContacts = __esm(() => {
|
|
46291
|
+
init_encodings();
|
|
46292
|
+
init_matchers();
|
|
46293
|
+
init_primitives();
|
|
46294
|
+
init_schemas();
|
|
46295
|
+
init_security();
|
|
46296
|
+
init_url();
|
|
46297
|
+
init_errors2();
|
|
46298
|
+
init_operations();
|
|
46299
|
+
init_async();
|
|
46300
|
+
init_operations2();
|
|
46301
|
+
});
|
|
46302
|
+
|
|
46303
|
+
// src/mcp-server/tools/organizationsListOrSearchDepartmentContacts.ts
|
|
46304
|
+
var args9, tool$organizationsListOrSearchDepartmentContacts;
|
|
46305
|
+
var init_organizationsListOrSearchDepartmentContacts2 = __esm(() => {
|
|
46306
|
+
init_organizationsListOrSearchDepartmentContacts();
|
|
46307
|
+
init_operations();
|
|
46308
|
+
init_tools();
|
|
46309
|
+
args9 = {
|
|
46310
|
+
request: ListOrSearchDepartmentContactsRequest$inboundSchema
|
|
46311
|
+
};
|
|
46312
|
+
tool$organizationsListOrSearchDepartmentContacts = {
|
|
46313
|
+
name: "organizations-list-or-search-department-contacts",
|
|
46314
|
+
description: `List or search department contacts
|
|
46315
|
+
|
|
46316
|
+
List or search department contacts.
|
|
46317
|
+
|
|
46318
|
+
Available \`expand\` scopes are:
|
|
46319
|
+
|
|
46320
|
+
- department_membership.contact
|
|
46321
|
+
- department_membership.department`,
|
|
46322
|
+
args: args9,
|
|
46323
|
+
tool: async (client, args10, ctx) => {
|
|
46324
|
+
const [result, apiCall] = await organizationsListOrSearchDepartmentContacts(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46325
|
+
if (!result.ok) {
|
|
46326
|
+
return {
|
|
46327
|
+
content: [{ type: "text", text: result.error.message }],
|
|
46328
|
+
isError: true
|
|
46329
|
+
};
|
|
46330
|
+
}
|
|
46331
|
+
const value = result.value.result;
|
|
46332
|
+
return formatResult(value, apiCall);
|
|
46333
|
+
}
|
|
46334
|
+
};
|
|
46335
|
+
});
|
|
46336
|
+
|
|
46337
|
+
// src/funcs/organizationsListOrSearchDepartments.ts
|
|
46338
|
+
function organizationsListOrSearchDepartments(client, request, options) {
|
|
46339
|
+
return new APIPromise($do10(client, request, options));
|
|
46340
|
+
}
|
|
46341
|
+
async function $do10(client, request, options) {
|
|
46054
46342
|
const parsed = safeParse(request, (value) => ListOrSearchDepartmentsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46055
46343
|
if (!parsed.ok) {
|
|
46056
46344
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -46165,12 +46453,12 @@ var init_organizationsListOrSearchDepartments = __esm(() => {
|
|
|
46165
46453
|
});
|
|
46166
46454
|
|
|
46167
46455
|
// src/mcp-server/tools/organizationsListOrSearchDepartments.ts
|
|
46168
|
-
var
|
|
46456
|
+
var args10, tool$organizationsListOrSearchDepartments;
|
|
46169
46457
|
var init_organizationsListOrSearchDepartments2 = __esm(() => {
|
|
46170
46458
|
init_organizationsListOrSearchDepartments();
|
|
46171
46459
|
init_operations();
|
|
46172
46460
|
init_tools();
|
|
46173
|
-
|
|
46461
|
+
args10 = {
|
|
46174
46462
|
request: ListOrSearchDepartmentsRequest$inboundSchema
|
|
46175
46463
|
};
|
|
46176
46464
|
tool$organizationsListOrSearchDepartments = {
|
|
@@ -46178,9 +46466,9 @@ var init_organizationsListOrSearchDepartments2 = __esm(() => {
|
|
|
46178
46466
|
description: `List or search departments
|
|
46179
46467
|
|
|
46180
46468
|
List or search departments.`,
|
|
46181
|
-
args:
|
|
46182
|
-
tool: async (client,
|
|
46183
|
-
const [result, apiCall] = await organizationsListOrSearchDepartments(client,
|
|
46469
|
+
args: args10,
|
|
46470
|
+
tool: async (client, args11, ctx) => {
|
|
46471
|
+
const [result, apiCall] = await organizationsListOrSearchDepartments(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46184
46472
|
if (!result.ok) {
|
|
46185
46473
|
return {
|
|
46186
46474
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46195,9 +46483,9 @@ List or search departments.`,
|
|
|
46195
46483
|
|
|
46196
46484
|
// src/funcs/organizationsListOrSearchFacilities.ts
|
|
46197
46485
|
function organizationsListOrSearchFacilities(client, request, options) {
|
|
46198
|
-
return new APIPromise($
|
|
46486
|
+
return new APIPromise($do11(client, request, options));
|
|
46199
46487
|
}
|
|
46200
|
-
async function $
|
|
46488
|
+
async function $do11(client, request, options) {
|
|
46201
46489
|
const parsed = safeParse(request, (value) => ListOrSearchFacilitiesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46202
46490
|
if (!parsed.ok) {
|
|
46203
46491
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -46313,12 +46601,12 @@ var init_organizationsListOrSearchFacilities = __esm(() => {
|
|
|
46313
46601
|
});
|
|
46314
46602
|
|
|
46315
46603
|
// src/mcp-server/tools/organizationsListOrSearchFacilities.ts
|
|
46316
|
-
var
|
|
46604
|
+
var args11, tool$organizationsListOrSearchFacilities;
|
|
46317
46605
|
var init_organizationsListOrSearchFacilities2 = __esm(() => {
|
|
46318
46606
|
init_organizationsListOrSearchFacilities();
|
|
46319
46607
|
init_operations();
|
|
46320
46608
|
init_tools();
|
|
46321
|
-
|
|
46609
|
+
args11 = {
|
|
46322
46610
|
request: ListOrSearchFacilitiesRequest$inboundSchema
|
|
46323
46611
|
};
|
|
46324
46612
|
tool$organizationsListOrSearchFacilities = {
|
|
@@ -46339,9 +46627,9 @@ Available \`expand\` scopes are:
|
|
|
46339
46627
|
- facility.vendor_policy
|
|
46340
46628
|
- facility.visitor_policy
|
|
46341
46629
|
- facility.workflow`,
|
|
46342
|
-
args:
|
|
46343
|
-
tool: async (client,
|
|
46344
|
-
const [result, apiCall] = await organizationsListOrSearchFacilities(client,
|
|
46630
|
+
args: args11,
|
|
46631
|
+
tool: async (client, args12, ctx) => {
|
|
46632
|
+
const [result, apiCall] = await organizationsListOrSearchFacilities(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46345
46633
|
if (!result.ok) {
|
|
46346
46634
|
return {
|
|
46347
46635
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46356,9 +46644,9 @@ Available \`expand\` scopes are:
|
|
|
46356
46644
|
|
|
46357
46645
|
// src/funcs/supportArticlesGetSupportArticle.ts
|
|
46358
46646
|
function supportArticlesGetSupportArticle(client, request, options) {
|
|
46359
|
-
return new APIPromise($
|
|
46647
|
+
return new APIPromise($do12(client, request, options));
|
|
46360
46648
|
}
|
|
46361
|
-
async function $
|
|
46649
|
+
async function $do12(client, request, options) {
|
|
46362
46650
|
const parsed = safeParse(request, (value) => GetSupportArticleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46363
46651
|
if (!parsed.ok) {
|
|
46364
46652
|
return [parsed, { status: "invalid" }];
|
|
@@ -46438,12 +46726,12 @@ var init_supportArticlesGetSupportArticle = __esm(() => {
|
|
|
46438
46726
|
});
|
|
46439
46727
|
|
|
46440
46728
|
// src/mcp-server/tools/supportArticlesGetSupportArticle.ts
|
|
46441
|
-
var
|
|
46729
|
+
var args12, tool$supportArticlesGetSupportArticle;
|
|
46442
46730
|
var init_supportArticlesGetSupportArticle2 = __esm(() => {
|
|
46443
46731
|
init_supportArticlesGetSupportArticle();
|
|
46444
46732
|
init_operations();
|
|
46445
46733
|
init_tools();
|
|
46446
|
-
|
|
46734
|
+
args12 = {
|
|
46447
46735
|
request: GetSupportArticleRequest$inboundSchema
|
|
46448
46736
|
};
|
|
46449
46737
|
tool$supportArticlesGetSupportArticle = {
|
|
@@ -46458,9 +46746,9 @@ Available \`expand\` scopes are:
|
|
|
46458
46746
|
- support_article.published
|
|
46459
46747
|
- support_article.notes
|
|
46460
46748
|
- support_article.support_category`,
|
|
46461
|
-
args:
|
|
46462
|
-
tool: async (client,
|
|
46463
|
-
const [result, apiCall] = await supportArticlesGetSupportArticle(client,
|
|
46749
|
+
args: args12,
|
|
46750
|
+
tool: async (client, args13, ctx) => {
|
|
46751
|
+
const [result, apiCall] = await supportArticlesGetSupportArticle(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46464
46752
|
if (!result.ok) {
|
|
46465
46753
|
return {
|
|
46466
46754
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46475,9 +46763,9 @@ Available \`expand\` scopes are:
|
|
|
46475
46763
|
|
|
46476
46764
|
// src/funcs/supportArticlesListOrSearchSupportArticles.ts
|
|
46477
46765
|
function supportArticlesListOrSearchSupportArticles(client, request, options) {
|
|
46478
|
-
return new APIPromise($
|
|
46766
|
+
return new APIPromise($do13(client, request, options));
|
|
46479
46767
|
}
|
|
46480
|
-
async function $
|
|
46768
|
+
async function $do13(client, request, options) {
|
|
46481
46769
|
const parsed = safeParse(request, (value) => ListOrSearchSupportArticlesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46482
46770
|
if (!parsed.ok) {
|
|
46483
46771
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -46587,12 +46875,12 @@ var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
|
|
|
46587
46875
|
});
|
|
46588
46876
|
|
|
46589
46877
|
// src/mcp-server/tools/supportArticlesListOrSearchSupportArticles.ts
|
|
46590
|
-
var
|
|
46878
|
+
var args13, tool$supportArticlesListOrSearchSupportArticles;
|
|
46591
46879
|
var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
|
|
46592
46880
|
init_supportArticlesListOrSearchSupportArticles();
|
|
46593
46881
|
init_operations();
|
|
46594
46882
|
init_tools();
|
|
46595
|
-
|
|
46883
|
+
args13 = {
|
|
46596
46884
|
request: ListOrSearchSupportArticlesRequest$inboundSchema
|
|
46597
46885
|
};
|
|
46598
46886
|
tool$supportArticlesListOrSearchSupportArticles = {
|
|
@@ -46600,9 +46888,9 @@ var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
|
|
|
46600
46888
|
description: `List or search support articles
|
|
46601
46889
|
|
|
46602
46890
|
List or search support articles for FAQ.`,
|
|
46603
|
-
args:
|
|
46604
|
-
tool: async (client,
|
|
46605
|
-
const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client,
|
|
46891
|
+
args: args13,
|
|
46892
|
+
tool: async (client, args14, ctx) => {
|
|
46893
|
+
const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46606
46894
|
if (!result.ok) {
|
|
46607
46895
|
return {
|
|
46608
46896
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46617,9 +46905,9 @@ List or search support articles for FAQ.`,
|
|
|
46617
46905
|
|
|
46618
46906
|
// src/funcs/systemsListSystems.ts
|
|
46619
46907
|
function systemsListSystems(client, request, options) {
|
|
46620
|
-
return new APIPromise($
|
|
46908
|
+
return new APIPromise($do14(client, request, options));
|
|
46621
46909
|
}
|
|
46622
|
-
async function $
|
|
46910
|
+
async function $do14(client, request, options) {
|
|
46623
46911
|
const parsed = safeParse(request, (value) => ListSystemsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46624
46912
|
if (!parsed.ok) {
|
|
46625
46913
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -46730,12 +47018,12 @@ var init_systemsListSystems = __esm(() => {
|
|
|
46730
47018
|
});
|
|
46731
47019
|
|
|
46732
47020
|
// src/mcp-server/tools/systemsListSystems.ts
|
|
46733
|
-
var
|
|
47021
|
+
var args14, tool$systemsListSystems;
|
|
46734
47022
|
var init_systemsListSystems2 = __esm(() => {
|
|
46735
47023
|
init_systemsListSystems();
|
|
46736
47024
|
init_operations();
|
|
46737
47025
|
init_tools();
|
|
46738
|
-
|
|
47026
|
+
args14 = {
|
|
46739
47027
|
request: ListSystemsRequest$inboundSchema
|
|
46740
47028
|
};
|
|
46741
47029
|
tool$systemsListSystems = {
|
|
@@ -46747,9 +47035,9 @@ List or search systems.
|
|
|
46747
47035
|
Available \`expand\` scopes are:
|
|
46748
47036
|
|
|
46749
47037
|
- system.facilities`,
|
|
46750
|
-
args:
|
|
46751
|
-
tool: async (client,
|
|
46752
|
-
const [result, apiCall] = await systemsListSystems(client,
|
|
47038
|
+
args: args14,
|
|
47039
|
+
tool: async (client, args15, ctx) => {
|
|
47040
|
+
const [result, apiCall] = await systemsListSystems(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46753
47041
|
if (!result.ok) {
|
|
46754
47042
|
return {
|
|
46755
47043
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46764,9 +47052,9 @@ Available \`expand\` scopes are:
|
|
|
46764
47052
|
|
|
46765
47053
|
// src/funcs/usersChangePassword.ts
|
|
46766
47054
|
function usersChangePassword(client, request, options) {
|
|
46767
|
-
return new APIPromise($
|
|
47055
|
+
return new APIPromise($do15(client, request, options));
|
|
46768
47056
|
}
|
|
46769
|
-
async function $
|
|
47057
|
+
async function $do15(client, request, options) {
|
|
46770
47058
|
const parsed = safeParse(request, (value) => ChangePasswordRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46771
47059
|
if (!parsed.ok) {
|
|
46772
47060
|
return [parsed, { status: "invalid" }];
|
|
@@ -46842,12 +47130,12 @@ var init_usersChangePassword = __esm(() => {
|
|
|
46842
47130
|
});
|
|
46843
47131
|
|
|
46844
47132
|
// src/mcp-server/tools/usersChangePassword.ts
|
|
46845
|
-
var
|
|
47133
|
+
var args15, tool$usersChangePassword;
|
|
46846
47134
|
var init_usersChangePassword2 = __esm(() => {
|
|
46847
47135
|
init_usersChangePassword();
|
|
46848
47136
|
init_operations();
|
|
46849
47137
|
init_tools();
|
|
46850
|
-
|
|
47138
|
+
args15 = {
|
|
46851
47139
|
request: ChangePasswordRequest$inboundSchema
|
|
46852
47140
|
};
|
|
46853
47141
|
tool$usersChangePassword = {
|
|
@@ -46855,9 +47143,9 @@ var init_usersChangePassword2 = __esm(() => {
|
|
|
46855
47143
|
description: `Change password
|
|
46856
47144
|
|
|
46857
47145
|
Change the user's password to the new passed as parameter`,
|
|
46858
|
-
args:
|
|
46859
|
-
tool: async (client,
|
|
46860
|
-
const [result, apiCall] = await usersChangePassword(client,
|
|
47146
|
+
args: args15,
|
|
47147
|
+
tool: async (client, args16, ctx) => {
|
|
47148
|
+
const [result, apiCall] = await usersChangePassword(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
46861
47149
|
if (!result.ok) {
|
|
46862
47150
|
return {
|
|
46863
47151
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -46872,9 +47160,9 @@ Change the user's password to the new passed as parameter`,
|
|
|
46872
47160
|
|
|
46873
47161
|
// src/funcs/usersGetCurrentUser.ts
|
|
46874
47162
|
function usersGetCurrentUser(client, options) {
|
|
46875
|
-
return new APIPromise($
|
|
47163
|
+
return new APIPromise($do16(client, options));
|
|
46876
47164
|
}
|
|
46877
|
-
async function $
|
|
47165
|
+
async function $do16(client, options) {
|
|
46878
47166
|
const path = pathToFunc("/users/me")();
|
|
46879
47167
|
const headers = new Headers(compactMap({
|
|
46880
47168
|
Accept: "application/json"
|
|
@@ -46959,9 +47247,9 @@ Returns a user object for the user represented by the authorization token`,
|
|
|
46959
47247
|
|
|
46960
47248
|
// src/funcs/usersGetUserById.ts
|
|
46961
47249
|
function usersGetUserById(client, request, options) {
|
|
46962
|
-
return new APIPromise($
|
|
47250
|
+
return new APIPromise($do17(client, request, options));
|
|
46963
47251
|
}
|
|
46964
|
-
async function $
|
|
47252
|
+
async function $do17(client, request, options) {
|
|
46965
47253
|
const parsed = safeParse(request, (value) => GetUserByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
46966
47254
|
if (!parsed.ok) {
|
|
46967
47255
|
return [parsed, { status: "invalid" }];
|
|
@@ -47037,12 +47325,12 @@ var init_usersGetUserById = __esm(() => {
|
|
|
47037
47325
|
});
|
|
47038
47326
|
|
|
47039
47327
|
// src/mcp-server/tools/usersGetUserById.ts
|
|
47040
|
-
var
|
|
47328
|
+
var args16, tool$usersGetUserById;
|
|
47041
47329
|
var init_usersGetUserById2 = __esm(() => {
|
|
47042
47330
|
init_usersGetUserById();
|
|
47043
47331
|
init_operations();
|
|
47044
47332
|
init_tools();
|
|
47045
|
-
|
|
47333
|
+
args16 = {
|
|
47046
47334
|
request: GetUserByIdRequest$inboundSchema
|
|
47047
47335
|
};
|
|
47048
47336
|
tool$usersGetUserById = {
|
|
@@ -47050,9 +47338,9 @@ var init_usersGetUserById2 = __esm(() => {
|
|
|
47050
47338
|
description: `Get user by id
|
|
47051
47339
|
|
|
47052
47340
|
Returns a user object for the user represented by the identifier in the path.`,
|
|
47053
|
-
args:
|
|
47054
|
-
tool: async (client,
|
|
47055
|
-
const [result, apiCall] = await usersGetUserById(client,
|
|
47341
|
+
args: args16,
|
|
47342
|
+
tool: async (client, args17, ctx) => {
|
|
47343
|
+
const [result, apiCall] = await usersGetUserById(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47056
47344
|
if (!result.ok) {
|
|
47057
47345
|
return {
|
|
47058
47346
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47067,9 +47355,9 @@ Returns a user object for the user represented by the identifier in the path.`,
|
|
|
47067
47355
|
|
|
47068
47356
|
// src/funcs/usersMagiclink.ts
|
|
47069
47357
|
function usersMagiclink(client, request, options) {
|
|
47070
|
-
return new APIPromise($
|
|
47358
|
+
return new APIPromise($do18(client, request, options));
|
|
47071
47359
|
}
|
|
47072
|
-
async function $
|
|
47360
|
+
async function $do18(client, request, options) {
|
|
47073
47361
|
const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
47074
47362
|
if (!parsed.ok) {
|
|
47075
47363
|
return [parsed, { status: "invalid" }];
|
|
@@ -47139,12 +47427,12 @@ var init_usersMagiclink = __esm(() => {
|
|
|
47139
47427
|
});
|
|
47140
47428
|
|
|
47141
47429
|
// src/mcp-server/tools/usersMagiclink.ts
|
|
47142
|
-
var
|
|
47430
|
+
var args17, tool$usersMagiclink;
|
|
47143
47431
|
var init_usersMagiclink2 = __esm(() => {
|
|
47144
47432
|
init_usersMagiclink();
|
|
47145
47433
|
init_operations();
|
|
47146
47434
|
init_tools();
|
|
47147
|
-
|
|
47435
|
+
args17 = {
|
|
47148
47436
|
request: MagiclinkRequestBody$inboundSchema
|
|
47149
47437
|
};
|
|
47150
47438
|
tool$usersMagiclink = {
|
|
@@ -47152,9 +47440,9 @@ var init_usersMagiclink2 = __esm(() => {
|
|
|
47152
47440
|
description: `Magic link
|
|
47153
47441
|
|
|
47154
47442
|
It sends an email with a magic link to allow the user to log in.`,
|
|
47155
|
-
args:
|
|
47156
|
-
tool: async (client,
|
|
47157
|
-
const [result, apiCall] = await usersMagiclink(client,
|
|
47443
|
+
args: args17,
|
|
47444
|
+
tool: async (client, args18, ctx) => {
|
|
47445
|
+
const [result, apiCall] = await usersMagiclink(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47158
47446
|
if (!result.ok) {
|
|
47159
47447
|
return {
|
|
47160
47448
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47169,9 +47457,9 @@ It sends an email with a magic link to allow the user to log in.`,
|
|
|
47169
47457
|
|
|
47170
47458
|
// src/funcs/usersPassword.ts
|
|
47171
47459
|
function usersPassword(client, request, options) {
|
|
47172
|
-
return new APIPromise($
|
|
47460
|
+
return new APIPromise($do19(client, request, options));
|
|
47173
47461
|
}
|
|
47174
|
-
async function $
|
|
47462
|
+
async function $do19(client, request, options) {
|
|
47175
47463
|
const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
47176
47464
|
if (!parsed.ok) {
|
|
47177
47465
|
return [parsed, { status: "invalid" }];
|
|
@@ -47241,12 +47529,12 @@ var init_usersPassword = __esm(() => {
|
|
|
47241
47529
|
});
|
|
47242
47530
|
|
|
47243
47531
|
// src/mcp-server/tools/usersPassword.ts
|
|
47244
|
-
var
|
|
47532
|
+
var args18, tool$usersPassword;
|
|
47245
47533
|
var init_usersPassword2 = __esm(() => {
|
|
47246
47534
|
init_usersPassword();
|
|
47247
47535
|
init_operations();
|
|
47248
47536
|
init_tools();
|
|
47249
|
-
|
|
47537
|
+
args18 = {
|
|
47250
47538
|
request: PasswordRequestBody$inboundSchema
|
|
47251
47539
|
};
|
|
47252
47540
|
tool$usersPassword = {
|
|
@@ -47255,9 +47543,9 @@ var init_usersPassword2 = __esm(() => {
|
|
|
47255
47543
|
|
|
47256
47544
|
Resets the a user's password using a password_reset_id that was sent to them via email.
|
|
47257
47545
|
See /users/passwordresetrequest to initiate a password reset flow.`,
|
|
47258
|
-
args:
|
|
47259
|
-
tool: async (client,
|
|
47260
|
-
const [result, apiCall] = await usersPassword(client,
|
|
47546
|
+
args: args18,
|
|
47547
|
+
tool: async (client, args19, ctx) => {
|
|
47548
|
+
const [result, apiCall] = await usersPassword(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47261
47549
|
if (!result.ok) {
|
|
47262
47550
|
return {
|
|
47263
47551
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47272,9 +47560,9 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
|
|
|
47272
47560
|
|
|
47273
47561
|
// src/funcs/usersPasswordResetRequest.ts
|
|
47274
47562
|
function usersPasswordResetRequest(client, request, options) {
|
|
47275
|
-
return new APIPromise($
|
|
47563
|
+
return new APIPromise($do20(client, request, options));
|
|
47276
47564
|
}
|
|
47277
|
-
async function $
|
|
47565
|
+
async function $do20(client, request, options) {
|
|
47278
47566
|
const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
47279
47567
|
if (!parsed.ok) {
|
|
47280
47568
|
return [parsed, { status: "invalid" }];
|
|
@@ -47344,12 +47632,12 @@ var init_usersPasswordResetRequest = __esm(() => {
|
|
|
47344
47632
|
});
|
|
47345
47633
|
|
|
47346
47634
|
// src/mcp-server/tools/usersPasswordResetRequest.ts
|
|
47347
|
-
var
|
|
47635
|
+
var args19, tool$usersPasswordResetRequest;
|
|
47348
47636
|
var init_usersPasswordResetRequest2 = __esm(() => {
|
|
47349
47637
|
init_usersPasswordResetRequest();
|
|
47350
47638
|
init_operations();
|
|
47351
47639
|
init_tools();
|
|
47352
|
-
|
|
47640
|
+
args19 = {
|
|
47353
47641
|
request: PasswordResetRequestRequestBody$inboundSchema
|
|
47354
47642
|
};
|
|
47355
47643
|
tool$usersPasswordResetRequest = {
|
|
@@ -47357,9 +47645,9 @@ var init_usersPasswordResetRequest2 = __esm(() => {
|
|
|
47357
47645
|
description: `Password reset request
|
|
47358
47646
|
|
|
47359
47647
|
It sends an email with a link for resetting a user's password.`,
|
|
47360
|
-
args:
|
|
47361
|
-
tool: async (client,
|
|
47362
|
-
const [result, apiCall] = await usersPasswordResetRequest(client,
|
|
47648
|
+
args: args19,
|
|
47649
|
+
tool: async (client, args20, ctx) => {
|
|
47650
|
+
const [result, apiCall] = await usersPasswordResetRequest(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47363
47651
|
if (!result.ok) {
|
|
47364
47652
|
return {
|
|
47365
47653
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47374,9 +47662,9 @@ It sends an email with a link for resetting a user's password.`,
|
|
|
47374
47662
|
|
|
47375
47663
|
// src/funcs/usersPostAuthenticate.ts
|
|
47376
47664
|
function usersPostAuthenticate(client, request, options) {
|
|
47377
|
-
return new APIPromise($
|
|
47665
|
+
return new APIPromise($do21(client, request, options));
|
|
47378
47666
|
}
|
|
47379
|
-
async function $
|
|
47667
|
+
async function $do21(client, request, options) {
|
|
47380
47668
|
const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
47381
47669
|
if (!parsed.ok) {
|
|
47382
47670
|
return [parsed, { status: "invalid" }];
|
|
@@ -47442,12 +47730,12 @@ var init_usersPostAuthenticate = __esm(() => {
|
|
|
47442
47730
|
});
|
|
47443
47731
|
|
|
47444
47732
|
// src/mcp-server/tools/usersPostAuthenticate.ts
|
|
47445
|
-
var
|
|
47733
|
+
var args20, tool$usersPostAuthenticate;
|
|
47446
47734
|
var init_usersPostAuthenticate2 = __esm(() => {
|
|
47447
47735
|
init_usersPostAuthenticate();
|
|
47448
47736
|
init_operations();
|
|
47449
47737
|
init_tools();
|
|
47450
|
-
|
|
47738
|
+
args20 = {
|
|
47451
47739
|
request: PostAuthenticateRequestBody$inboundSchema
|
|
47452
47740
|
};
|
|
47453
47741
|
tool$usersPostAuthenticate = {
|
|
@@ -47485,9 +47773,9 @@ Requires: \`saml_login\`
|
|
|
47485
47773
|
3. Site redirects to your selected \`return_url\`
|
|
47486
47774
|
4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
|
|
47487
47775
|
5. Fetch the user object from \`/users/me\` using the token`,
|
|
47488
|
-
args:
|
|
47489
|
-
tool: async (client,
|
|
47490
|
-
const [result, apiCall] = await usersPostAuthenticate(client,
|
|
47776
|
+
args: args20,
|
|
47777
|
+
tool: async (client, args21, ctx) => {
|
|
47778
|
+
const [result, apiCall] = await usersPostAuthenticate(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47491
47779
|
if (!result.ok) {
|
|
47492
47780
|
return {
|
|
47493
47781
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47502,9 +47790,9 @@ Requires: \`saml_login\`
|
|
|
47502
47790
|
|
|
47503
47791
|
// src/funcs/usersRotateApiKey.ts
|
|
47504
47792
|
function usersRotateApiKey(client, options) {
|
|
47505
|
-
return new APIPromise($
|
|
47793
|
+
return new APIPromise($do22(client, options));
|
|
47506
47794
|
}
|
|
47507
|
-
async function $
|
|
47795
|
+
async function $do22(client, options) {
|
|
47508
47796
|
const path = pathToFunc("/users/api_key_rotator")();
|
|
47509
47797
|
const headers = new Headers(compactMap({
|
|
47510
47798
|
Accept: "application/json"
|
|
@@ -47589,9 +47877,9 @@ Allows an API user to rotate their own API key. Note, the key rotation happens i
|
|
|
47589
47877
|
|
|
47590
47878
|
// src/funcs/vendorsAcceptVendorCredential.ts
|
|
47591
47879
|
function vendorsAcceptVendorCredential(client, request, options) {
|
|
47592
|
-
return new APIPromise($
|
|
47880
|
+
return new APIPromise($do23(client, request, options));
|
|
47593
47881
|
}
|
|
47594
|
-
async function $
|
|
47882
|
+
async function $do23(client, request, options) {
|
|
47595
47883
|
const parsed = safeParse(request, (value) => AcceptVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47596
47884
|
if (!parsed.ok) {
|
|
47597
47885
|
return [parsed, { status: "invalid" }];
|
|
@@ -47664,12 +47952,12 @@ var init_vendorsAcceptVendorCredential = __esm(() => {
|
|
|
47664
47952
|
});
|
|
47665
47953
|
|
|
47666
47954
|
// src/mcp-server/tools/vendorsAcceptVendorCredential.ts
|
|
47667
|
-
var
|
|
47955
|
+
var args21, tool$vendorsAcceptVendorCredential;
|
|
47668
47956
|
var init_vendorsAcceptVendorCredential2 = __esm(() => {
|
|
47669
47957
|
init_vendorsAcceptVendorCredential();
|
|
47670
47958
|
init_operations();
|
|
47671
47959
|
init_tools();
|
|
47672
|
-
|
|
47960
|
+
args21 = {
|
|
47673
47961
|
request: AcceptVendorCredentialRequest$inboundSchema
|
|
47674
47962
|
};
|
|
47675
47963
|
tool$vendorsAcceptVendorCredential = {
|
|
@@ -47677,9 +47965,9 @@ var init_vendorsAcceptVendorCredential2 = __esm(() => {
|
|
|
47677
47965
|
description: `Accept vendor credential
|
|
47678
47966
|
|
|
47679
47967
|
It will accept vendor credential`,
|
|
47680
|
-
args:
|
|
47681
|
-
tool: async (client,
|
|
47682
|
-
const [result, apiCall] = await vendorsAcceptVendorCredential(client,
|
|
47968
|
+
args: args21,
|
|
47969
|
+
tool: async (client, args22, ctx) => {
|
|
47970
|
+
const [result, apiCall] = await vendorsAcceptVendorCredential(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47683
47971
|
if (!result.ok) {
|
|
47684
47972
|
return {
|
|
47685
47973
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47694,9 +47982,9 @@ It will accept vendor credential`,
|
|
|
47694
47982
|
|
|
47695
47983
|
// src/funcs/vendorsAddVendorCredentialFile.ts
|
|
47696
47984
|
function vendorsAddVendorCredentialFile(client, request, options) {
|
|
47697
|
-
return new APIPromise($
|
|
47985
|
+
return new APIPromise($do24(client, request, options));
|
|
47698
47986
|
}
|
|
47699
|
-
async function $
|
|
47987
|
+
async function $do24(client, request, options) {
|
|
47700
47988
|
const parsed = safeParse(request, (value) => AddVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47701
47989
|
if (!parsed.ok) {
|
|
47702
47990
|
return [parsed, { status: "invalid" }];
|
|
@@ -47769,12 +48057,12 @@ var init_vendorsAddVendorCredentialFile = __esm(() => {
|
|
|
47769
48057
|
});
|
|
47770
48058
|
|
|
47771
48059
|
// src/mcp-server/tools/vendorsAddVendorCredentialFile.ts
|
|
47772
|
-
var
|
|
48060
|
+
var args22, tool$vendorsAddVendorCredentialFile;
|
|
47773
48061
|
var init_vendorsAddVendorCredentialFile2 = __esm(() => {
|
|
47774
48062
|
init_vendorsAddVendorCredentialFile();
|
|
47775
48063
|
init_operations();
|
|
47776
48064
|
init_tools();
|
|
47777
|
-
|
|
48065
|
+
args22 = {
|
|
47778
48066
|
request: AddVendorCredentialFileRequest$inboundSchema
|
|
47779
48067
|
};
|
|
47780
48068
|
tool$vendorsAddVendorCredentialFile = {
|
|
@@ -47782,9 +48070,9 @@ var init_vendorsAddVendorCredentialFile2 = __esm(() => {
|
|
|
47782
48070
|
description: `Add vendor credential file
|
|
47783
48071
|
|
|
47784
48072
|
It will add a new vendor credential file`,
|
|
47785
|
-
args:
|
|
47786
|
-
tool: async (client,
|
|
47787
|
-
const [result, apiCall] = await vendorsAddVendorCredentialFile(client,
|
|
48073
|
+
args: args22,
|
|
48074
|
+
tool: async (client, args23, ctx) => {
|
|
48075
|
+
const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47788
48076
|
if (!result.ok) {
|
|
47789
48077
|
return {
|
|
47790
48078
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47799,9 +48087,9 @@ It will add a new vendor credential file`,
|
|
|
47799
48087
|
|
|
47800
48088
|
// src/funcs/vendorsAddVendorManagedByCompany.ts
|
|
47801
48089
|
function vendorsAddVendorManagedByCompany(client, request, options) {
|
|
47802
|
-
return new APIPromise($
|
|
48090
|
+
return new APIPromise($do25(client, request, options));
|
|
47803
48091
|
}
|
|
47804
|
-
async function $
|
|
48092
|
+
async function $do25(client, request, options) {
|
|
47805
48093
|
const parsed = safeParse(request, (value) => AddVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47806
48094
|
if (!parsed.ok) {
|
|
47807
48095
|
return [parsed, { status: "invalid" }];
|
|
@@ -47877,12 +48165,12 @@ var init_vendorsAddVendorManagedByCompany = __esm(() => {
|
|
|
47877
48165
|
});
|
|
47878
48166
|
|
|
47879
48167
|
// src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
|
|
47880
|
-
var
|
|
48168
|
+
var args23, tool$vendorsAddVendorManagedByCompany;
|
|
47881
48169
|
var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
|
|
47882
48170
|
init_vendorsAddVendorManagedByCompany();
|
|
47883
48171
|
init_operations();
|
|
47884
48172
|
init_tools();
|
|
47885
|
-
|
|
48173
|
+
args23 = {
|
|
47886
48174
|
request: AddVendorManagedByCompanyRequest$inboundSchema
|
|
47887
48175
|
};
|
|
47888
48176
|
tool$vendorsAddVendorManagedByCompany = {
|
|
@@ -47890,9 +48178,9 @@ var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
|
|
|
47890
48178
|
description: `Add vendor managed by company
|
|
47891
48179
|
|
|
47892
48180
|
It will add a vendor managed by company`,
|
|
47893
|
-
args:
|
|
47894
|
-
tool: async (client,
|
|
47895
|
-
const [result, apiCall] = await vendorsAddVendorManagedByCompany(client,
|
|
48181
|
+
args: args23,
|
|
48182
|
+
tool: async (client, args24, ctx) => {
|
|
48183
|
+
const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
47896
48184
|
if (!result.ok) {
|
|
47897
48185
|
return {
|
|
47898
48186
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -47907,9 +48195,9 @@ It will add a vendor managed by company`,
|
|
|
47907
48195
|
|
|
47908
48196
|
// src/funcs/vendorsCalculateSubscriptionPrice.ts
|
|
47909
48197
|
function vendorsCalculateSubscriptionPrice(client, request, options) {
|
|
47910
|
-
return new APIPromise($
|
|
48198
|
+
return new APIPromise($do26(client, request, options));
|
|
47911
48199
|
}
|
|
47912
|
-
async function $
|
|
48200
|
+
async function $do26(client, request, options) {
|
|
47913
48201
|
const parsed = safeParse(request, (value) => CalculateSubscriptionPriceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
47914
48202
|
if (!parsed.ok) {
|
|
47915
48203
|
return [parsed, { status: "invalid" }];
|
|
@@ -47985,12 +48273,12 @@ var init_vendorsCalculateSubscriptionPrice = __esm(() => {
|
|
|
47985
48273
|
});
|
|
47986
48274
|
|
|
47987
48275
|
// src/mcp-server/tools/vendorsCalculateSubscriptionPrice.ts
|
|
47988
|
-
var
|
|
48276
|
+
var args24, tool$vendorsCalculateSubscriptionPrice;
|
|
47989
48277
|
var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
|
|
47990
48278
|
init_vendorsCalculateSubscriptionPrice();
|
|
47991
48279
|
init_operations();
|
|
47992
48280
|
init_tools();
|
|
47993
|
-
|
|
48281
|
+
args24 = {
|
|
47994
48282
|
request: CalculateSubscriptionPriceRequest$inboundSchema
|
|
47995
48283
|
};
|
|
47996
48284
|
tool$vendorsCalculateSubscriptionPrice = {
|
|
@@ -47998,9 +48286,9 @@ var init_vendorsCalculateSubscriptionPrice2 = __esm(() => {
|
|
|
47998
48286
|
description: `Calculate subscription price
|
|
47999
48287
|
|
|
48000
48288
|
Calculate subscription price`,
|
|
48001
|
-
args:
|
|
48002
|
-
tool: async (client,
|
|
48003
|
-
const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client,
|
|
48289
|
+
args: args24,
|
|
48290
|
+
tool: async (client, args25, ctx) => {
|
|
48291
|
+
const [result, apiCall] = await vendorsCalculateSubscriptionPrice(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48004
48292
|
if (!result.ok) {
|
|
48005
48293
|
return {
|
|
48006
48294
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48015,9 +48303,9 @@ Calculate subscription price`,
|
|
|
48015
48303
|
|
|
48016
48304
|
// src/funcs/vendorScansVendorScanOut.ts
|
|
48017
48305
|
function vendorScansVendorScanOut(client, request, options) {
|
|
48018
|
-
return new APIPromise($
|
|
48306
|
+
return new APIPromise($do27(client, request, options));
|
|
48019
48307
|
}
|
|
48020
|
-
async function $
|
|
48308
|
+
async function $do27(client, request, options) {
|
|
48021
48309
|
const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48022
48310
|
if (!parsed.ok) {
|
|
48023
48311
|
return [parsed, { status: "invalid" }];
|
|
@@ -48092,12 +48380,12 @@ var init_vendorScansVendorScanOut = __esm(() => {
|
|
|
48092
48380
|
});
|
|
48093
48381
|
|
|
48094
48382
|
// src/mcp-server/tools/vendorScansVendorScanOut.ts
|
|
48095
|
-
var
|
|
48383
|
+
var args25, tool$vendorScansVendorScanOut;
|
|
48096
48384
|
var init_vendorScansVendorScanOut2 = __esm(() => {
|
|
48097
48385
|
init_vendorScansVendorScanOut();
|
|
48098
48386
|
init_operations();
|
|
48099
48387
|
init_tools();
|
|
48100
|
-
|
|
48388
|
+
args25 = {
|
|
48101
48389
|
request: VendorScanOutRequest$inboundSchema
|
|
48102
48390
|
};
|
|
48103
48391
|
tool$vendorScansVendorScanOut = {
|
|
@@ -48105,9 +48393,9 @@ var init_vendorScansVendorScanOut2 = __esm(() => {
|
|
|
48105
48393
|
description: `Vendor scan out
|
|
48106
48394
|
|
|
48107
48395
|
It scans out vendor from facility`,
|
|
48108
|
-
args:
|
|
48109
|
-
tool: async (client,
|
|
48110
|
-
const [result, apiCall] = await vendorScansVendorScanOut(client,
|
|
48396
|
+
args: args25,
|
|
48397
|
+
tool: async (client, args26, ctx) => {
|
|
48398
|
+
const [result, apiCall] = await vendorScansVendorScanOut(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48111
48399
|
if (!result.ok) {
|
|
48112
48400
|
return {
|
|
48113
48401
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48122,9 +48410,9 @@ It scans out vendor from facility`,
|
|
|
48122
48410
|
|
|
48123
48411
|
// src/funcs/vendorsChangeSubscription.ts
|
|
48124
48412
|
function vendorsChangeSubscription(client, request, options) {
|
|
48125
|
-
return new APIPromise($
|
|
48413
|
+
return new APIPromise($do28(client, request, options));
|
|
48126
48414
|
}
|
|
48127
|
-
async function $
|
|
48415
|
+
async function $do28(client, request, options) {
|
|
48128
48416
|
const parsed = safeParse(request, (value) => ChangeSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48129
48417
|
if (!parsed.ok) {
|
|
48130
48418
|
return [parsed, { status: "invalid" }];
|
|
@@ -48200,12 +48488,12 @@ var init_vendorsChangeSubscription = __esm(() => {
|
|
|
48200
48488
|
});
|
|
48201
48489
|
|
|
48202
48490
|
// src/mcp-server/tools/vendorsChangeSubscription.ts
|
|
48203
|
-
var
|
|
48491
|
+
var args26, tool$vendorsChangeSubscription;
|
|
48204
48492
|
var init_vendorsChangeSubscription2 = __esm(() => {
|
|
48205
48493
|
init_vendorsChangeSubscription();
|
|
48206
48494
|
init_operations();
|
|
48207
48495
|
init_tools();
|
|
48208
|
-
|
|
48496
|
+
args26 = {
|
|
48209
48497
|
request: ChangeSubscriptionRequest$inboundSchema
|
|
48210
48498
|
};
|
|
48211
48499
|
tool$vendorsChangeSubscription = {
|
|
@@ -48213,9 +48501,9 @@ var init_vendorsChangeSubscription2 = __esm(() => {
|
|
|
48213
48501
|
description: `Change subscription
|
|
48214
48502
|
|
|
48215
48503
|
Calculate subscription price`,
|
|
48216
|
-
args:
|
|
48217
|
-
tool: async (client,
|
|
48218
|
-
const [result, apiCall] = await vendorsChangeSubscription(client,
|
|
48504
|
+
args: args26,
|
|
48505
|
+
tool: async (client, args27, ctx) => {
|
|
48506
|
+
const [result, apiCall] = await vendorsChangeSubscription(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48219
48507
|
if (!result.ok) {
|
|
48220
48508
|
return {
|
|
48221
48509
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48230,9 +48518,9 @@ Calculate subscription price`,
|
|
|
48230
48518
|
|
|
48231
48519
|
// src/funcs/vendorsCheckDownloadCode.ts
|
|
48232
48520
|
function vendorsCheckDownloadCode(client, request, options) {
|
|
48233
|
-
return new APIPromise($
|
|
48521
|
+
return new APIPromise($do29(client, request, options));
|
|
48234
48522
|
}
|
|
48235
|
-
async function $
|
|
48523
|
+
async function $do29(client, request, options) {
|
|
48236
48524
|
const parsed = safeParse(request, (value) => CheckDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48237
48525
|
if (!parsed.ok) {
|
|
48238
48526
|
return [parsed, { status: "invalid" }];
|
|
@@ -48308,12 +48596,12 @@ var init_vendorsCheckDownloadCode = __esm(() => {
|
|
|
48308
48596
|
});
|
|
48309
48597
|
|
|
48310
48598
|
// src/mcp-server/tools/vendorsCheckDownloadCode.ts
|
|
48311
|
-
var
|
|
48599
|
+
var args27, tool$vendorsCheckDownloadCode;
|
|
48312
48600
|
var init_vendorsCheckDownloadCode2 = __esm(() => {
|
|
48313
48601
|
init_vendorsCheckDownloadCode();
|
|
48314
48602
|
init_operations();
|
|
48315
48603
|
init_tools();
|
|
48316
|
-
|
|
48604
|
+
args27 = {
|
|
48317
48605
|
request: CheckDownloadCodeRequest$inboundSchema
|
|
48318
48606
|
};
|
|
48319
48607
|
tool$vendorsCheckDownloadCode = {
|
|
@@ -48321,9 +48609,9 @@ var init_vendorsCheckDownloadCode2 = __esm(() => {
|
|
|
48321
48609
|
description: `Check download code for vendor credential
|
|
48322
48610
|
|
|
48323
48611
|
It will check download code for vendor credential`,
|
|
48324
|
-
args:
|
|
48325
|
-
tool: async (client,
|
|
48326
|
-
const [result, apiCall] = await vendorsCheckDownloadCode(client,
|
|
48612
|
+
args: args27,
|
|
48613
|
+
tool: async (client, args28, ctx) => {
|
|
48614
|
+
const [result, apiCall] = await vendorsCheckDownloadCode(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48327
48615
|
if (!result.ok) {
|
|
48328
48616
|
return {
|
|
48329
48617
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48338,9 +48626,9 @@ It will check download code for vendor credential`,
|
|
|
48338
48626
|
|
|
48339
48627
|
// src/funcs/vendorsCreateNewVendorCredentialVersion.ts
|
|
48340
48628
|
function vendorsCreateNewVendorCredentialVersion(client, request, options) {
|
|
48341
|
-
return new APIPromise($
|
|
48629
|
+
return new APIPromise($do30(client, request, options));
|
|
48342
48630
|
}
|
|
48343
|
-
async function $
|
|
48631
|
+
async function $do30(client, request, options) {
|
|
48344
48632
|
const parsed = safeParse(request, (value) => CreateNewVendorCredentialVersionRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
48345
48633
|
if (!parsed.ok) {
|
|
48346
48634
|
return [parsed, { status: "invalid" }];
|
|
@@ -48410,12 +48698,12 @@ var init_vendorsCreateNewVendorCredentialVersion = __esm(() => {
|
|
|
48410
48698
|
});
|
|
48411
48699
|
|
|
48412
48700
|
// src/mcp-server/tools/vendorsCreateNewVendorCredentialVersion.ts
|
|
48413
|
-
var
|
|
48701
|
+
var args28, tool$vendorsCreateNewVendorCredentialVersion;
|
|
48414
48702
|
var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
|
|
48415
48703
|
init_vendorsCreateNewVendorCredentialVersion();
|
|
48416
48704
|
init_operations();
|
|
48417
48705
|
init_tools();
|
|
48418
|
-
|
|
48706
|
+
args28 = {
|
|
48419
48707
|
request: CreateNewVendorCredentialVersionRequestBody$inboundSchema
|
|
48420
48708
|
};
|
|
48421
48709
|
tool$vendorsCreateNewVendorCredentialVersion = {
|
|
@@ -48423,9 +48711,9 @@ var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
|
|
|
48423
48711
|
description: `Create new vendor credential version
|
|
48424
48712
|
|
|
48425
48713
|
It will submit vendor credential`,
|
|
48426
|
-
args:
|
|
48427
|
-
tool: async (client,
|
|
48428
|
-
const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client,
|
|
48714
|
+
args: args28,
|
|
48715
|
+
tool: async (client, args29, ctx) => {
|
|
48716
|
+
const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48429
48717
|
if (!result.ok) {
|
|
48430
48718
|
return {
|
|
48431
48719
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48440,9 +48728,9 @@ It will submit vendor credential`,
|
|
|
48440
48728
|
|
|
48441
48729
|
// src/funcs/vendorsCreateOrUpdateBcr.ts
|
|
48442
48730
|
function vendorsCreateOrUpdateBcr(client, request, options) {
|
|
48443
|
-
return new APIPromise($
|
|
48731
|
+
return new APIPromise($do31(client, request, options));
|
|
48444
48732
|
}
|
|
48445
|
-
async function $
|
|
48733
|
+
async function $do31(client, request, options) {
|
|
48446
48734
|
const parsed = safeParse(request, (value) => CreateOrUpdateBcrRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48447
48735
|
if (!parsed.ok) {
|
|
48448
48736
|
return [parsed, { status: "invalid" }];
|
|
@@ -48516,12 +48804,12 @@ var init_vendorsCreateOrUpdateBcr = __esm(() => {
|
|
|
48516
48804
|
});
|
|
48517
48805
|
|
|
48518
48806
|
// src/mcp-server/tools/vendorsCreateOrUpdateBcr.ts
|
|
48519
|
-
var
|
|
48807
|
+
var args29, tool$vendorsCreateOrUpdateBcr;
|
|
48520
48808
|
var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
|
|
48521
48809
|
init_vendorsCreateOrUpdateBcr();
|
|
48522
48810
|
init_operations();
|
|
48523
48811
|
init_tools();
|
|
48524
|
-
|
|
48812
|
+
args29 = {
|
|
48525
48813
|
request: CreateOrUpdateBcrRequest$inboundSchema
|
|
48526
48814
|
};
|
|
48527
48815
|
tool$vendorsCreateOrUpdateBcr = {
|
|
@@ -48529,9 +48817,9 @@ var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
|
|
|
48529
48817
|
description: `Create or update BackgroundCheckResults
|
|
48530
48818
|
|
|
48531
48819
|
It will create or update BackgroundCheckResults`,
|
|
48532
|
-
args:
|
|
48533
|
-
tool: async (client,
|
|
48534
|
-
const [result, apiCall] = await vendorsCreateOrUpdateBcr(client,
|
|
48820
|
+
args: args29,
|
|
48821
|
+
tool: async (client, args30, ctx) => {
|
|
48822
|
+
const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48535
48823
|
if (!result.ok) {
|
|
48536
48824
|
return {
|
|
48537
48825
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48546,9 +48834,9 @@ It will create or update BackgroundCheckResults`,
|
|
|
48546
48834
|
|
|
48547
48835
|
// src/funcs/vendorsCreateVendorCompany.ts
|
|
48548
48836
|
function vendorsCreateVendorCompany(client, request, options) {
|
|
48549
|
-
return new APIPromise($
|
|
48837
|
+
return new APIPromise($do32(client, request, options));
|
|
48550
48838
|
}
|
|
48551
|
-
async function $
|
|
48839
|
+
async function $do32(client, request, options) {
|
|
48552
48840
|
const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48553
48841
|
if (!parsed.ok) {
|
|
48554
48842
|
return [parsed, { status: "invalid" }];
|
|
@@ -48624,12 +48912,12 @@ var init_vendorsCreateVendorCompany = __esm(() => {
|
|
|
48624
48912
|
});
|
|
48625
48913
|
|
|
48626
48914
|
// src/mcp-server/tools/vendorsCreateVendorCompany.ts
|
|
48627
|
-
var
|
|
48915
|
+
var args30, tool$vendorsCreateVendorCompany;
|
|
48628
48916
|
var init_vendorsCreateVendorCompany2 = __esm(() => {
|
|
48629
48917
|
init_vendorsCreateVendorCompany();
|
|
48630
48918
|
init_operations();
|
|
48631
48919
|
init_tools();
|
|
48632
|
-
|
|
48920
|
+
args30 = {
|
|
48633
48921
|
request: CreateVendorCompanyRequest$inboundSchema
|
|
48634
48922
|
};
|
|
48635
48923
|
tool$vendorsCreateVendorCompany = {
|
|
@@ -48637,9 +48925,9 @@ var init_vendorsCreateVendorCompany2 = __esm(() => {
|
|
|
48637
48925
|
description: `Create vendor company
|
|
48638
48926
|
|
|
48639
48927
|
Create vendor company`,
|
|
48640
|
-
args:
|
|
48641
|
-
tool: async (client,
|
|
48642
|
-
const [result, apiCall] = await vendorsCreateVendorCompany(client,
|
|
48928
|
+
args: args30,
|
|
48929
|
+
tool: async (client, args31, ctx) => {
|
|
48930
|
+
const [result, apiCall] = await vendorsCreateVendorCompany(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48643
48931
|
if (!result.ok) {
|
|
48644
48932
|
return {
|
|
48645
48933
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48654,9 +48942,9 @@ Create vendor company`,
|
|
|
48654
48942
|
|
|
48655
48943
|
// src/funcs/vendorsCreateVendorRegistration.ts
|
|
48656
48944
|
function vendorsCreateVendorRegistration(client, request, options) {
|
|
48657
|
-
return new APIPromise($
|
|
48945
|
+
return new APIPromise($do33(client, request, options));
|
|
48658
48946
|
}
|
|
48659
|
-
async function $
|
|
48947
|
+
async function $do33(client, request, options) {
|
|
48660
48948
|
const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
48661
48949
|
if (!parsed.ok) {
|
|
48662
48950
|
return [parsed, { status: "invalid" }];
|
|
@@ -48723,12 +49011,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
|
|
|
48723
49011
|
});
|
|
48724
49012
|
|
|
48725
49013
|
// src/mcp-server/tools/vendorsCreateVendorRegistration.ts
|
|
48726
|
-
var
|
|
49014
|
+
var args31, tool$vendorsCreateVendorRegistration;
|
|
48727
49015
|
var init_vendorsCreateVendorRegistration2 = __esm(() => {
|
|
48728
49016
|
init_vendorsCreateVendorRegistration();
|
|
48729
49017
|
init_operations();
|
|
48730
49018
|
init_tools();
|
|
48731
|
-
|
|
49019
|
+
args31 = {
|
|
48732
49020
|
request: CreateVendorRegistrationRequestBody$inboundSchema
|
|
48733
49021
|
};
|
|
48734
49022
|
tool$vendorsCreateVendorRegistration = {
|
|
@@ -48736,9 +49024,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
|
|
|
48736
49024
|
description: `Create vendor registration
|
|
48737
49025
|
|
|
48738
49026
|
Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
|
|
48739
|
-
args:
|
|
48740
|
-
tool: async (client,
|
|
48741
|
-
const [result, apiCall] = await vendorsCreateVendorRegistration(client,
|
|
49027
|
+
args: args31,
|
|
49028
|
+
tool: async (client, args32, ctx) => {
|
|
49029
|
+
const [result, apiCall] = await vendorsCreateVendorRegistration(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48742
49030
|
if (!result.ok) {
|
|
48743
49031
|
return {
|
|
48744
49032
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48753,9 +49041,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
|
|
|
48753
49041
|
|
|
48754
49042
|
// src/funcs/vendorsDeclineVendorCredential.ts
|
|
48755
49043
|
function vendorsDeclineVendorCredential(client, request, options) {
|
|
48756
|
-
return new APIPromise($
|
|
49044
|
+
return new APIPromise($do34(client, request, options));
|
|
48757
49045
|
}
|
|
48758
|
-
async function $
|
|
49046
|
+
async function $do34(client, request, options) {
|
|
48759
49047
|
const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48760
49048
|
if (!parsed.ok) {
|
|
48761
49049
|
return [parsed, { status: "invalid" }];
|
|
@@ -48828,12 +49116,12 @@ var init_vendorsDeclineVendorCredential = __esm(() => {
|
|
|
48828
49116
|
});
|
|
48829
49117
|
|
|
48830
49118
|
// src/mcp-server/tools/vendorsDeclineVendorCredential.ts
|
|
48831
|
-
var
|
|
49119
|
+
var args32, tool$vendorsDeclineVendorCredential;
|
|
48832
49120
|
var init_vendorsDeclineVendorCredential2 = __esm(() => {
|
|
48833
49121
|
init_vendorsDeclineVendorCredential();
|
|
48834
49122
|
init_operations();
|
|
48835
49123
|
init_tools();
|
|
48836
|
-
|
|
49124
|
+
args32 = {
|
|
48837
49125
|
request: DeclineVendorCredentialRequest$inboundSchema
|
|
48838
49126
|
};
|
|
48839
49127
|
tool$vendorsDeclineVendorCredential = {
|
|
@@ -48841,9 +49129,9 @@ var init_vendorsDeclineVendorCredential2 = __esm(() => {
|
|
|
48841
49129
|
description: `Decline vendor credential
|
|
48842
49130
|
|
|
48843
49131
|
It will decline vendor credential`,
|
|
48844
|
-
args:
|
|
48845
|
-
tool: async (client,
|
|
48846
|
-
const [result, apiCall] = await vendorsDeclineVendorCredential(client,
|
|
49132
|
+
args: args32,
|
|
49133
|
+
tool: async (client, args33, ctx) => {
|
|
49134
|
+
const [result, apiCall] = await vendorsDeclineVendorCredential(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48847
49135
|
if (!result.ok) {
|
|
48848
49136
|
return {
|
|
48849
49137
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48858,9 +49146,9 @@ It will decline vendor credential`,
|
|
|
48858
49146
|
|
|
48859
49147
|
// src/funcs/vendorsDeleteVendorCredentialFile.ts
|
|
48860
49148
|
function vendorsDeleteVendorCredentialFile(client, request, options) {
|
|
48861
|
-
return new APIPromise($
|
|
49149
|
+
return new APIPromise($do35(client, request, options));
|
|
48862
49150
|
}
|
|
48863
|
-
async function $
|
|
49151
|
+
async function $do35(client, request, options) {
|
|
48864
49152
|
const parsed = safeParse(request, (value) => DeleteVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48865
49153
|
if (!parsed.ok) {
|
|
48866
49154
|
return [parsed, { status: "invalid" }];
|
|
@@ -48937,12 +49225,12 @@ var init_vendorsDeleteVendorCredentialFile = __esm(() => {
|
|
|
48937
49225
|
});
|
|
48938
49226
|
|
|
48939
49227
|
// src/mcp-server/tools/vendorsDeleteVendorCredentialFile.ts
|
|
48940
|
-
var
|
|
49228
|
+
var args33, tool$vendorsDeleteVendorCredentialFile;
|
|
48941
49229
|
var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
|
|
48942
49230
|
init_vendorsDeleteVendorCredentialFile();
|
|
48943
49231
|
init_operations();
|
|
48944
49232
|
init_tools();
|
|
48945
|
-
|
|
49233
|
+
args33 = {
|
|
48946
49234
|
request: DeleteVendorCredentialFileRequest$inboundSchema
|
|
48947
49235
|
};
|
|
48948
49236
|
tool$vendorsDeleteVendorCredentialFile = {
|
|
@@ -48950,9 +49238,9 @@ var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
|
|
|
48950
49238
|
description: `Delete vendor credential file
|
|
48951
49239
|
|
|
48952
49240
|
It will delete the vendor credential file`,
|
|
48953
|
-
args:
|
|
48954
|
-
tool: async (client,
|
|
48955
|
-
const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client,
|
|
49241
|
+
args: args33,
|
|
49242
|
+
tool: async (client, args34, ctx) => {
|
|
49243
|
+
const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
48956
49244
|
if (!result.ok) {
|
|
48957
49245
|
return {
|
|
48958
49246
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -48967,9 +49255,9 @@ It will delete the vendor credential file`,
|
|
|
48967
49255
|
|
|
48968
49256
|
// src/funcs/vendorsDeleteVendorManagedByCompany.ts
|
|
48969
49257
|
function vendorsDeleteVendorManagedByCompany(client, request, options) {
|
|
48970
|
-
return new APIPromise($
|
|
49258
|
+
return new APIPromise($do36(client, request, options));
|
|
48971
49259
|
}
|
|
48972
|
-
async function $
|
|
49260
|
+
async function $do36(client, request, options) {
|
|
48973
49261
|
const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
48974
49262
|
if (!parsed.ok) {
|
|
48975
49263
|
return [parsed, { status: "invalid" }];
|
|
@@ -49045,12 +49333,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
|
|
|
49045
49333
|
});
|
|
49046
49334
|
|
|
49047
49335
|
// src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
|
|
49048
|
-
var
|
|
49336
|
+
var args34, tool$vendorsDeleteVendorManagedByCompany;
|
|
49049
49337
|
var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
|
|
49050
49338
|
init_vendorsDeleteVendorManagedByCompany();
|
|
49051
49339
|
init_operations();
|
|
49052
49340
|
init_tools();
|
|
49053
|
-
|
|
49341
|
+
args34 = {
|
|
49054
49342
|
request: DeleteVendorManagedByCompanyRequest$inboundSchema
|
|
49055
49343
|
};
|
|
49056
49344
|
tool$vendorsDeleteVendorManagedByCompany = {
|
|
@@ -49058,9 +49346,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
|
|
|
49058
49346
|
description: `Delete vendor managed by company
|
|
49059
49347
|
|
|
49060
49348
|
It will delete the vendor managed by company`,
|
|
49061
|
-
args:
|
|
49062
|
-
tool: async (client,
|
|
49063
|
-
const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client,
|
|
49349
|
+
args: args34,
|
|
49350
|
+
tool: async (client, args35, ctx) => {
|
|
49351
|
+
const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49064
49352
|
if (!result.ok) {
|
|
49065
49353
|
return {
|
|
49066
49354
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49075,9 +49363,9 @@ It will delete the vendor managed by company`,
|
|
|
49075
49363
|
|
|
49076
49364
|
// src/funcs/vendorsExpediteTimeRemaining.ts
|
|
49077
49365
|
function vendorsExpediteTimeRemaining(client, request, options) {
|
|
49078
|
-
return new APIPromise($
|
|
49366
|
+
return new APIPromise($do37(client, request, options));
|
|
49079
49367
|
}
|
|
49080
|
-
async function $
|
|
49368
|
+
async function $do37(client, request, options) {
|
|
49081
49369
|
const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49082
49370
|
if (!parsed.ok) {
|
|
49083
49371
|
return [parsed, { status: "invalid" }];
|
|
@@ -49152,12 +49440,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
|
|
|
49152
49440
|
});
|
|
49153
49441
|
|
|
49154
49442
|
// src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
|
|
49155
|
-
var
|
|
49443
|
+
var args35, tool$vendorsExpediteTimeRemaining;
|
|
49156
49444
|
var init_vendorsExpediteTimeRemaining2 = __esm(() => {
|
|
49157
49445
|
init_vendorsExpediteTimeRemaining();
|
|
49158
49446
|
init_operations();
|
|
49159
49447
|
init_tools();
|
|
49160
|
-
|
|
49448
|
+
args35 = {
|
|
49161
49449
|
request: ExpediteTimeRemainingRequest$inboundSchema
|
|
49162
49450
|
};
|
|
49163
49451
|
tool$vendorsExpediteTimeRemaining = {
|
|
@@ -49165,9 +49453,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
|
|
|
49165
49453
|
description: `Expedite time remaining
|
|
49166
49454
|
|
|
49167
49455
|
For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
|
|
49168
|
-
args:
|
|
49169
|
-
tool: async (client,
|
|
49170
|
-
const [result, apiCall] = await vendorsExpediteTimeRemaining(client,
|
|
49456
|
+
args: args35,
|
|
49457
|
+
tool: async (client, args36, ctx) => {
|
|
49458
|
+
const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49171
49459
|
if (!result.ok) {
|
|
49172
49460
|
return {
|
|
49173
49461
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49182,9 +49470,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
|
|
|
49182
49470
|
|
|
49183
49471
|
// src/funcs/vendorsGetSubscription.ts
|
|
49184
49472
|
function vendorsGetSubscription(client, request, options) {
|
|
49185
|
-
return new APIPromise($
|
|
49473
|
+
return new APIPromise($do38(client, request, options));
|
|
49186
49474
|
}
|
|
49187
|
-
async function $
|
|
49475
|
+
async function $do38(client, request, options) {
|
|
49188
49476
|
const parsed = safeParse(request, (value) => GetSubscriptionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49189
49477
|
if (!parsed.ok) {
|
|
49190
49478
|
return [parsed, { status: "invalid" }];
|
|
@@ -49263,12 +49551,12 @@ var init_vendorsGetSubscription = __esm(() => {
|
|
|
49263
49551
|
});
|
|
49264
49552
|
|
|
49265
49553
|
// src/mcp-server/tools/vendorsGetSubscription.ts
|
|
49266
|
-
var
|
|
49554
|
+
var args36, tool$vendorsGetSubscription;
|
|
49267
49555
|
var init_vendorsGetSubscription2 = __esm(() => {
|
|
49268
49556
|
init_vendorsGetSubscription();
|
|
49269
49557
|
init_operations();
|
|
49270
49558
|
init_tools();
|
|
49271
|
-
|
|
49559
|
+
args36 = {
|
|
49272
49560
|
request: GetSubscriptionRequest$inboundSchema
|
|
49273
49561
|
};
|
|
49274
49562
|
tool$vendorsGetSubscription = {
|
|
@@ -49280,9 +49568,9 @@ Get vendor subscription
|
|
|
49280
49568
|
Available \`expand\` scopes are:
|
|
49281
49569
|
|
|
49282
49570
|
subscription.expedited_offer`,
|
|
49283
|
-
args:
|
|
49284
|
-
tool: async (client,
|
|
49285
|
-
const [result, apiCall] = await vendorsGetSubscription(client,
|
|
49571
|
+
args: args36,
|
|
49572
|
+
tool: async (client, args37, ctx) => {
|
|
49573
|
+
const [result, apiCall] = await vendorsGetSubscription(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49286
49574
|
if (!result.ok) {
|
|
49287
49575
|
return {
|
|
49288
49576
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49297,9 +49585,9 @@ subscription.expedited_offer`,
|
|
|
49297
49585
|
|
|
49298
49586
|
// src/funcs/vendorsGetVendorCredentialDetails.ts
|
|
49299
49587
|
function vendorsGetVendorCredentialDetails(client, request, options) {
|
|
49300
|
-
return new APIPromise($
|
|
49588
|
+
return new APIPromise($do39(client, request, options));
|
|
49301
49589
|
}
|
|
49302
|
-
async function $
|
|
49590
|
+
async function $do39(client, request, options) {
|
|
49303
49591
|
const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49304
49592
|
if (!parsed.ok) {
|
|
49305
49593
|
return [parsed, { status: "invalid" }];
|
|
@@ -49382,12 +49670,12 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
|
|
|
49382
49670
|
});
|
|
49383
49671
|
|
|
49384
49672
|
// src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
|
|
49385
|
-
var
|
|
49673
|
+
var args37, tool$vendorsGetVendorCredentialDetails;
|
|
49386
49674
|
var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
|
|
49387
49675
|
init_vendorsGetVendorCredentialDetails();
|
|
49388
49676
|
init_operations();
|
|
49389
49677
|
init_tools();
|
|
49390
|
-
|
|
49678
|
+
args37 = {
|
|
49391
49679
|
request: GetVendorCredentialDetailsRequest$inboundSchema
|
|
49392
49680
|
};
|
|
49393
49681
|
tool$vendorsGetVendorCredentialDetails = {
|
|
@@ -49413,9 +49701,9 @@ Available \`expand\` scopes are:
|
|
|
49413
49701
|
- vendor_credential.credential_variants
|
|
49414
49702
|
- vendor_credential.targets_chop
|
|
49415
49703
|
- vendor_credential.total_pending_credentials`,
|
|
49416
|
-
args:
|
|
49417
|
-
tool: async (client,
|
|
49418
|
-
const [result, apiCall] = await vendorsGetVendorCredentialDetails(client,
|
|
49704
|
+
args: args37,
|
|
49705
|
+
tool: async (client, args38, ctx) => {
|
|
49706
|
+
const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49419
49707
|
if (!result.ok) {
|
|
49420
49708
|
return {
|
|
49421
49709
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49430,9 +49718,9 @@ Available \`expand\` scopes are:
|
|
|
49430
49718
|
|
|
49431
49719
|
// src/funcs/vendorsGetVendorCredentialFile.ts
|
|
49432
49720
|
function vendorsGetVendorCredentialFile(client, request, options) {
|
|
49433
|
-
return new APIPromise($
|
|
49721
|
+
return new APIPromise($do40(client, request, options));
|
|
49434
49722
|
}
|
|
49435
|
-
async function $
|
|
49723
|
+
async function $do40(client, request, options) {
|
|
49436
49724
|
const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49437
49725
|
if (!parsed.ok) {
|
|
49438
49726
|
return [parsed, { status: "invalid" }];
|
|
@@ -49513,12 +49801,12 @@ var init_vendorsGetVendorCredentialFile = __esm(() => {
|
|
|
49513
49801
|
});
|
|
49514
49802
|
|
|
49515
49803
|
// src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
|
|
49516
|
-
var
|
|
49804
|
+
var args38, tool$vendorsGetVendorCredentialFile;
|
|
49517
49805
|
var init_vendorsGetVendorCredentialFile2 = __esm(() => {
|
|
49518
49806
|
init_vendorsGetVendorCredentialFile();
|
|
49519
49807
|
init_operations();
|
|
49520
49808
|
init_tools();
|
|
49521
|
-
|
|
49809
|
+
args38 = {
|
|
49522
49810
|
request: GetVendorCredentialFileRequest$inboundSchema
|
|
49523
49811
|
};
|
|
49524
49812
|
tool$vendorsGetVendorCredentialFile = {
|
|
@@ -49531,9 +49819,9 @@ Available \`expand\` scopes are:
|
|
|
49531
49819
|
|
|
49532
49820
|
- vendor_credential_file.vendor_credential
|
|
49533
49821
|
- vendor_credential_file.credential_document`,
|
|
49534
|
-
args:
|
|
49535
|
-
tool: async (client,
|
|
49536
|
-
const [result, apiCall] = await vendorsGetVendorCredentialFile(client,
|
|
49822
|
+
args: args38,
|
|
49823
|
+
tool: async (client, args39, ctx) => {
|
|
49824
|
+
const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49537
49825
|
if (!result.ok) {
|
|
49538
49826
|
return {
|
|
49539
49827
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49548,9 +49836,9 @@ Available \`expand\` scopes are:
|
|
|
49548
49836
|
|
|
49549
49837
|
// src/funcs/vendorsGetVendorInvoiceDetails.ts
|
|
49550
49838
|
function vendorsGetVendorInvoiceDetails(client, request, options) {
|
|
49551
|
-
return new APIPromise($
|
|
49839
|
+
return new APIPromise($do41(client, request, options));
|
|
49552
49840
|
}
|
|
49553
|
-
async function $
|
|
49841
|
+
async function $do41(client, request, options) {
|
|
49554
49842
|
const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49555
49843
|
if (!parsed.ok) {
|
|
49556
49844
|
return [parsed, { status: "invalid" }];
|
|
@@ -49630,12 +49918,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
|
|
|
49630
49918
|
});
|
|
49631
49919
|
|
|
49632
49920
|
// src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
|
|
49633
|
-
var
|
|
49921
|
+
var args39, tool$vendorsGetVendorInvoiceDetails;
|
|
49634
49922
|
var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
|
|
49635
49923
|
init_vendorsGetVendorInvoiceDetails();
|
|
49636
49924
|
init_operations();
|
|
49637
49925
|
init_tools();
|
|
49638
|
-
|
|
49926
|
+
args39 = {
|
|
49639
49927
|
request: GetVendorInvoiceDetailsRequest$inboundSchema
|
|
49640
49928
|
};
|
|
49641
49929
|
tool$vendorsGetVendorInvoiceDetails = {
|
|
@@ -49648,9 +49936,9 @@ Available \`expand\` scopes are:
|
|
|
49648
49936
|
|
|
49649
49937
|
invoice.line_items
|
|
49650
49938
|
invoice.invoice_transactions`,
|
|
49651
|
-
args:
|
|
49652
|
-
tool: async (client,
|
|
49653
|
-
const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client,
|
|
49939
|
+
args: args39,
|
|
49940
|
+
tool: async (client, args40, ctx) => {
|
|
49941
|
+
const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49654
49942
|
if (!result.ok) {
|
|
49655
49943
|
return {
|
|
49656
49944
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49665,9 +49953,9 @@ invoice.invoice_transactions`,
|
|
|
49665
49953
|
|
|
49666
49954
|
// src/funcs/vendorsGetVendorLegalName.ts
|
|
49667
49955
|
function vendorsGetVendorLegalName(client, request, options) {
|
|
49668
|
-
return new APIPromise($
|
|
49956
|
+
return new APIPromise($do42(client, request, options));
|
|
49669
49957
|
}
|
|
49670
|
-
async function $
|
|
49958
|
+
async function $do42(client, request, options) {
|
|
49671
49959
|
const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49672
49960
|
if (!parsed.ok) {
|
|
49673
49961
|
return [parsed, { status: "invalid" }];
|
|
@@ -49742,12 +50030,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
|
|
|
49742
50030
|
});
|
|
49743
50031
|
|
|
49744
50032
|
// src/mcp-server/tools/vendorsGetVendorLegalName.ts
|
|
49745
|
-
var
|
|
50033
|
+
var args40, tool$vendorsGetVendorLegalName;
|
|
49746
50034
|
var init_vendorsGetVendorLegalName2 = __esm(() => {
|
|
49747
50035
|
init_vendorsGetVendorLegalName();
|
|
49748
50036
|
init_operations();
|
|
49749
50037
|
init_tools();
|
|
49750
|
-
|
|
50038
|
+
args40 = {
|
|
49751
50039
|
request: GetVendorLegalNameRequest$inboundSchema
|
|
49752
50040
|
};
|
|
49753
50041
|
tool$vendorsGetVendorLegalName = {
|
|
@@ -49755,9 +50043,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
|
|
|
49755
50043
|
description: `Get Vendor legal name
|
|
49756
50044
|
|
|
49757
50045
|
Get vendor legal name`,
|
|
49758
|
-
args:
|
|
49759
|
-
tool: async (client,
|
|
49760
|
-
const [result, apiCall] = await vendorsGetVendorLegalName(client,
|
|
50046
|
+
args: args40,
|
|
50047
|
+
tool: async (client, args41, ctx) => {
|
|
50048
|
+
const [result, apiCall] = await vendorsGetVendorLegalName(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49761
50049
|
if (!result.ok) {
|
|
49762
50050
|
return {
|
|
49763
50051
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49772,9 +50060,9 @@ Get vendor legal name`,
|
|
|
49772
50060
|
|
|
49773
50061
|
// src/funcs/vendorsGetVendorsDetails.ts
|
|
49774
50062
|
function vendorsGetVendorsDetails(client, request, options) {
|
|
49775
|
-
return new APIPromise($
|
|
50063
|
+
return new APIPromise($do43(client, request, options));
|
|
49776
50064
|
}
|
|
49777
|
-
async function $
|
|
50065
|
+
async function $do43(client, request, options) {
|
|
49778
50066
|
const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49779
50067
|
if (!parsed.ok) {
|
|
49780
50068
|
return [parsed, { status: "invalid" }];
|
|
@@ -49854,12 +50142,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
|
|
|
49854
50142
|
});
|
|
49855
50143
|
|
|
49856
50144
|
// src/mcp-server/tools/vendorsGetVendorsDetails.ts
|
|
49857
|
-
var
|
|
50145
|
+
var args41, tool$vendorsGetVendorsDetails;
|
|
49858
50146
|
var init_vendorsGetVendorsDetails2 = __esm(() => {
|
|
49859
50147
|
init_vendorsGetVendorsDetails();
|
|
49860
50148
|
init_operations();
|
|
49861
50149
|
init_tools();
|
|
49862
|
-
|
|
50150
|
+
args41 = {
|
|
49863
50151
|
request: GetVendorsDetailsRequest$inboundSchema
|
|
49864
50152
|
};
|
|
49865
50153
|
tool$vendorsGetVendorsDetails = {
|
|
@@ -49888,9 +50176,9 @@ vendor.registration_finished
|
|
|
49888
50176
|
vendor.target_facilities
|
|
49889
50177
|
vendor.pending_invoice
|
|
49890
50178
|
vendor.vendor_groups`,
|
|
49891
|
-
args:
|
|
49892
|
-
tool: async (client,
|
|
49893
|
-
const [result, apiCall] = await vendorsGetVendorsDetails(client,
|
|
50179
|
+
args: args41,
|
|
50180
|
+
tool: async (client, args42, ctx) => {
|
|
50181
|
+
const [result, apiCall] = await vendorsGetVendorsDetails(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
49894
50182
|
if (!result.ok) {
|
|
49895
50183
|
return {
|
|
49896
50184
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -49905,9 +50193,9 @@ vendor.vendor_groups`,
|
|
|
49905
50193
|
|
|
49906
50194
|
// src/funcs/vendorsListVendorAdditionalFacilityFields.ts
|
|
49907
50195
|
function vendorsListVendorAdditionalFacilityFields(client, request, options) {
|
|
49908
|
-
return new APIPromise($
|
|
50196
|
+
return new APIPromise($do44(client, request, options));
|
|
49909
50197
|
}
|
|
49910
|
-
async function $
|
|
50198
|
+
async function $do44(client, request, options) {
|
|
49911
50199
|
const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
49912
50200
|
if (!parsed.ok) {
|
|
49913
50201
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50019,12 +50307,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
|
|
|
50019
50307
|
});
|
|
50020
50308
|
|
|
50021
50309
|
// src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
|
|
50022
|
-
var
|
|
50310
|
+
var args42, tool$vendorsListVendorAdditionalFacilityFields;
|
|
50023
50311
|
var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
|
|
50024
50312
|
init_vendorsListVendorAdditionalFacilityFields();
|
|
50025
50313
|
init_operations();
|
|
50026
50314
|
init_tools();
|
|
50027
|
-
|
|
50315
|
+
args42 = {
|
|
50028
50316
|
request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
|
|
50029
50317
|
};
|
|
50030
50318
|
tool$vendorsListVendorAdditionalFacilityFields = {
|
|
@@ -50032,9 +50320,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
|
|
|
50032
50320
|
description: `List of vendor's additional facility fields
|
|
50033
50321
|
|
|
50034
50322
|
List of vendor's additional facility fields`,
|
|
50035
|
-
args:
|
|
50036
|
-
tool: async (client,
|
|
50037
|
-
const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client,
|
|
50323
|
+
args: args42,
|
|
50324
|
+
tool: async (client, args43, ctx) => {
|
|
50325
|
+
const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50038
50326
|
if (!result.ok) {
|
|
50039
50327
|
return {
|
|
50040
50328
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50049,9 +50337,9 @@ List of vendor's additional facility fields`,
|
|
|
50049
50337
|
|
|
50050
50338
|
// src/funcs/vendorsListVendorCredentialDataRequests.ts
|
|
50051
50339
|
function vendorsListVendorCredentialDataRequests(client, request, options) {
|
|
50052
|
-
return new APIPromise($
|
|
50340
|
+
return new APIPromise($do45(client, request, options));
|
|
50053
50341
|
}
|
|
50054
|
-
async function $
|
|
50342
|
+
async function $do45(client, request, options) {
|
|
50055
50343
|
const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50056
50344
|
if (!parsed.ok) {
|
|
50057
50345
|
return [parsed, { status: "invalid" }];
|
|
@@ -50134,12 +50422,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
|
|
|
50134
50422
|
});
|
|
50135
50423
|
|
|
50136
50424
|
// src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
|
|
50137
|
-
var
|
|
50425
|
+
var args43, tool$vendorsListVendorCredentialDataRequests;
|
|
50138
50426
|
var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
|
|
50139
50427
|
init_vendorsListVendorCredentialDataRequests();
|
|
50140
50428
|
init_operations();
|
|
50141
50429
|
init_tools();
|
|
50142
|
-
|
|
50430
|
+
args43 = {
|
|
50143
50431
|
request: ListVendorCredentialDataRequestsRequest$inboundSchema
|
|
50144
50432
|
};
|
|
50145
50433
|
tool$vendorsListVendorCredentialDataRequests = {
|
|
@@ -50152,9 +50440,9 @@ Available \`expand\` scopes are:
|
|
|
50152
50440
|
|
|
50153
50441
|
- vendor_credential_data_request.vendor_credential
|
|
50154
50442
|
- vendor_credential_data_request.data_request`,
|
|
50155
|
-
args:
|
|
50156
|
-
tool: async (client,
|
|
50157
|
-
const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client,
|
|
50443
|
+
args: args43,
|
|
50444
|
+
tool: async (client, args44, ctx) => {
|
|
50445
|
+
const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50158
50446
|
if (!result.ok) {
|
|
50159
50447
|
return {
|
|
50160
50448
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50169,9 +50457,9 @@ Available \`expand\` scopes are:
|
|
|
50169
50457
|
|
|
50170
50458
|
// src/funcs/vendorsListVendorCredentialFiles.ts
|
|
50171
50459
|
function vendorsListVendorCredentialFiles(client, request, options) {
|
|
50172
|
-
return new APIPromise($
|
|
50460
|
+
return new APIPromise($do46(client, request, options));
|
|
50173
50461
|
}
|
|
50174
|
-
async function $
|
|
50462
|
+
async function $do46(client, request, options) {
|
|
50175
50463
|
const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50176
50464
|
if (!parsed.ok) {
|
|
50177
50465
|
return [parsed, { status: "invalid" }];
|
|
@@ -50254,12 +50542,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
|
|
|
50254
50542
|
});
|
|
50255
50543
|
|
|
50256
50544
|
// src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
|
|
50257
|
-
var
|
|
50545
|
+
var args44, tool$vendorsListVendorCredentialFiles;
|
|
50258
50546
|
var init_vendorsListVendorCredentialFiles2 = __esm(() => {
|
|
50259
50547
|
init_vendorsListVendorCredentialFiles();
|
|
50260
50548
|
init_operations();
|
|
50261
50549
|
init_tools();
|
|
50262
|
-
|
|
50550
|
+
args44 = {
|
|
50263
50551
|
request: ListVendorCredentialFilesRequest$inboundSchema
|
|
50264
50552
|
};
|
|
50265
50553
|
tool$vendorsListVendorCredentialFiles = {
|
|
@@ -50272,9 +50560,9 @@ Available \`expand\` scopes are:
|
|
|
50272
50560
|
|
|
50273
50561
|
- vendor_credential_file.vendor_credential
|
|
50274
50562
|
- vendor_credential_file.credential_document`,
|
|
50275
|
-
args:
|
|
50276
|
-
tool: async (client,
|
|
50277
|
-
const [result, apiCall] = await vendorsListVendorCredentialFiles(client,
|
|
50563
|
+
args: args44,
|
|
50564
|
+
tool: async (client, args45, ctx) => {
|
|
50565
|
+
const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50278
50566
|
if (!result.ok) {
|
|
50279
50567
|
return {
|
|
50280
50568
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50289,9 +50577,9 @@ Available \`expand\` scopes are:
|
|
|
50289
50577
|
|
|
50290
50578
|
// src/funcs/vendorsListVendorCredentialHistory.ts
|
|
50291
50579
|
function vendorsListVendorCredentialHistory(client, request, options) {
|
|
50292
|
-
return new APIPromise($
|
|
50580
|
+
return new APIPromise($do47(client, request, options));
|
|
50293
50581
|
}
|
|
50294
|
-
async function $
|
|
50582
|
+
async function $do47(client, request, options) {
|
|
50295
50583
|
const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50296
50584
|
if (!parsed.ok) {
|
|
50297
50585
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50406,12 +50694,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
|
|
|
50406
50694
|
});
|
|
50407
50695
|
|
|
50408
50696
|
// src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
|
|
50409
|
-
var
|
|
50697
|
+
var args45, tool$vendorsListVendorCredentialHistory;
|
|
50410
50698
|
var init_vendorsListVendorCredentialHistory2 = __esm(() => {
|
|
50411
50699
|
init_vendorsListVendorCredentialHistory();
|
|
50412
50700
|
init_operations();
|
|
50413
50701
|
init_tools();
|
|
50414
|
-
|
|
50702
|
+
args45 = {
|
|
50415
50703
|
request: ListVendorCredentialHistoryRequest$inboundSchema
|
|
50416
50704
|
};
|
|
50417
50705
|
tool$vendorsListVendorCredentialHistory = {
|
|
@@ -50419,9 +50707,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
|
|
|
50419
50707
|
description: `List Vendor Credential History
|
|
50420
50708
|
|
|
50421
50709
|
Lists vendor credentials history`,
|
|
50422
|
-
args:
|
|
50423
|
-
tool: async (client,
|
|
50424
|
-
const [result, apiCall] = await vendorsListVendorCredentialHistory(client,
|
|
50710
|
+
args: args45,
|
|
50711
|
+
tool: async (client, args46, ctx) => {
|
|
50712
|
+
const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50425
50713
|
if (!result.ok) {
|
|
50426
50714
|
return {
|
|
50427
50715
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50436,9 +50724,9 @@ Lists vendor credentials history`,
|
|
|
50436
50724
|
|
|
50437
50725
|
// src/funcs/vendorsListVendorCredentials.ts
|
|
50438
50726
|
function vendorsListVendorCredentials(client, request, options) {
|
|
50439
|
-
return new APIPromise($
|
|
50727
|
+
return new APIPromise($do48(client, request, options));
|
|
50440
50728
|
}
|
|
50441
|
-
async function $
|
|
50729
|
+
async function $do48(client, request, options) {
|
|
50442
50730
|
const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50443
50731
|
if (!parsed.ok) {
|
|
50444
50732
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50558,12 +50846,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
|
|
|
50558
50846
|
});
|
|
50559
50847
|
|
|
50560
50848
|
// src/mcp-server/tools/vendorsListVendorCredentials.ts
|
|
50561
|
-
var
|
|
50849
|
+
var args46, tool$vendorsListVendorCredentials;
|
|
50562
50850
|
var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
50563
50851
|
init_vendorsListVendorCredentials();
|
|
50564
50852
|
init_operations();
|
|
50565
50853
|
init_tools();
|
|
50566
|
-
|
|
50854
|
+
args46 = {
|
|
50567
50855
|
request: ListVendorCredentialsRequest$inboundSchema
|
|
50568
50856
|
};
|
|
50569
50857
|
tool$vendorsListVendorCredentials = {
|
|
@@ -50571,9 +50859,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
|
|
|
50571
50859
|
description: `List Vendor Credentials
|
|
50572
50860
|
|
|
50573
50861
|
Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
|
|
50574
|
-
args:
|
|
50575
|
-
tool: async (client,
|
|
50576
|
-
const [result, apiCall] = await vendorsListVendorCredentials(client,
|
|
50862
|
+
args: args46,
|
|
50863
|
+
tool: async (client, args47, ctx) => {
|
|
50864
|
+
const [result, apiCall] = await vendorsListVendorCredentials(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50577
50865
|
if (!result.ok) {
|
|
50578
50866
|
return {
|
|
50579
50867
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50588,9 +50876,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
|
|
|
50588
50876
|
|
|
50589
50877
|
// src/funcs/vendorsListVendorCredits.ts
|
|
50590
50878
|
function vendorsListVendorCredits(client, request, options) {
|
|
50591
|
-
return new APIPromise($
|
|
50879
|
+
return new APIPromise($do49(client, request, options));
|
|
50592
50880
|
}
|
|
50593
|
-
async function $
|
|
50881
|
+
async function $do49(client, request, options) {
|
|
50594
50882
|
const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50595
50883
|
if (!parsed.ok) {
|
|
50596
50884
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50704,12 +50992,12 @@ var init_vendorsListVendorCredits = __esm(() => {
|
|
|
50704
50992
|
});
|
|
50705
50993
|
|
|
50706
50994
|
// src/mcp-server/tools/vendorsListVendorCredits.ts
|
|
50707
|
-
var
|
|
50995
|
+
var args47, tool$vendorsListVendorCredits;
|
|
50708
50996
|
var init_vendorsListVendorCredits2 = __esm(() => {
|
|
50709
50997
|
init_vendorsListVendorCredits();
|
|
50710
50998
|
init_operations();
|
|
50711
50999
|
init_tools();
|
|
50712
|
-
|
|
51000
|
+
args47 = {
|
|
50713
51001
|
request: ListVendorCreditsRequest$inboundSchema
|
|
50714
51002
|
};
|
|
50715
51003
|
tool$vendorsListVendorCredits = {
|
|
@@ -50717,9 +51005,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
|
|
|
50717
51005
|
description: `List vendor credits
|
|
50718
51006
|
|
|
50719
51007
|
List the credits for the vendor`,
|
|
50720
|
-
args:
|
|
50721
|
-
tool: async (client,
|
|
50722
|
-
const [result, apiCall] = await vendorsListVendorCredits(client,
|
|
51008
|
+
args: args47,
|
|
51009
|
+
tool: async (client, args48, ctx) => {
|
|
51010
|
+
const [result, apiCall] = await vendorsListVendorCredits(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50723
51011
|
if (!result.ok) {
|
|
50724
51012
|
return {
|
|
50725
51013
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50734,9 +51022,9 @@ List the credits for the vendor`,
|
|
|
50734
51022
|
|
|
50735
51023
|
// src/funcs/vendorsListVendorFacilityStatuses.ts
|
|
50736
51024
|
function vendorsListVendorFacilityStatuses(client, request, options) {
|
|
50737
|
-
return new APIPromise($
|
|
51025
|
+
return new APIPromise($do50(client, request, options));
|
|
50738
51026
|
}
|
|
50739
|
-
async function $
|
|
51027
|
+
async function $do50(client, request, options) {
|
|
50740
51028
|
const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50741
51029
|
if (!parsed.ok) {
|
|
50742
51030
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -50854,12 +51142,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
|
|
|
50854
51142
|
});
|
|
50855
51143
|
|
|
50856
51144
|
// src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
|
|
50857
|
-
var
|
|
51145
|
+
var args48, tool$vendorsListVendorFacilityStatuses;
|
|
50858
51146
|
var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
|
|
50859
51147
|
init_vendorsListVendorFacilityStatuses();
|
|
50860
51148
|
init_operations();
|
|
50861
51149
|
init_tools();
|
|
50862
|
-
|
|
51150
|
+
args48 = {
|
|
50863
51151
|
request: ListVendorFacilityStatusesRequest$inboundSchema
|
|
50864
51152
|
};
|
|
50865
51153
|
tool$vendorsListVendorFacilityStatuses = {
|
|
@@ -50867,9 +51155,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
|
|
|
50867
51155
|
description: `List vendor facility statuses
|
|
50868
51156
|
|
|
50869
51157
|
List the facilities for the vendor`,
|
|
50870
|
-
args:
|
|
50871
|
-
tool: async (client,
|
|
50872
|
-
const [result, apiCall] = await vendorsListVendorFacilityStatuses(client,
|
|
51158
|
+
args: args48,
|
|
51159
|
+
tool: async (client, args49, ctx) => {
|
|
51160
|
+
const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
50873
51161
|
if (!result.ok) {
|
|
50874
51162
|
return {
|
|
50875
51163
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -50884,9 +51172,9 @@ List the facilities for the vendor`,
|
|
|
50884
51172
|
|
|
50885
51173
|
// src/funcs/vendorsListVendorInvoices.ts
|
|
50886
51174
|
function vendorsListVendorInvoices(client, request, options) {
|
|
50887
|
-
return new APIPromise($
|
|
51175
|
+
return new APIPromise($do51(client, request, options));
|
|
50888
51176
|
}
|
|
50889
|
-
async function $
|
|
51177
|
+
async function $do51(client, request, options) {
|
|
50890
51178
|
const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
50891
51179
|
if (!parsed.ok) {
|
|
50892
51180
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51004,12 +51292,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
|
|
|
51004
51292
|
});
|
|
51005
51293
|
|
|
51006
51294
|
// src/mcp-server/tools/vendorsListVendorInvoices.ts
|
|
51007
|
-
var
|
|
51295
|
+
var args49, tool$vendorsListVendorInvoices;
|
|
51008
51296
|
var init_vendorsListVendorInvoices2 = __esm(() => {
|
|
51009
51297
|
init_vendorsListVendorInvoices();
|
|
51010
51298
|
init_operations();
|
|
51011
51299
|
init_tools();
|
|
51012
|
-
|
|
51300
|
+
args49 = {
|
|
51013
51301
|
request: ListVendorInvoicesRequest$inboundSchema
|
|
51014
51302
|
};
|
|
51015
51303
|
tool$vendorsListVendorInvoices = {
|
|
@@ -51021,9 +51309,9 @@ List invoices for Vendors
|
|
|
51021
51309
|
Available \`expand\` scopes are:
|
|
51022
51310
|
|
|
51023
51311
|
invoice.line_items`,
|
|
51024
|
-
args:
|
|
51025
|
-
tool: async (client,
|
|
51026
|
-
const [result, apiCall] = await vendorsListVendorInvoices(client,
|
|
51312
|
+
args: args49,
|
|
51313
|
+
tool: async (client, args50, ctx) => {
|
|
51314
|
+
const [result, apiCall] = await vendorsListVendorInvoices(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51027
51315
|
if (!result.ok) {
|
|
51028
51316
|
return {
|
|
51029
51317
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51038,9 +51326,9 @@ invoice.line_items`,
|
|
|
51038
51326
|
|
|
51039
51327
|
// src/funcs/vendorsListVendorJobTitles.ts
|
|
51040
51328
|
function vendorsListVendorJobTitles(client, request, options) {
|
|
51041
|
-
return new APIPromise($
|
|
51329
|
+
return new APIPromise($do52(client, request, options));
|
|
51042
51330
|
}
|
|
51043
|
-
async function $
|
|
51331
|
+
async function $do52(client, request, options) {
|
|
51044
51332
|
const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51045
51333
|
if (!parsed.ok) {
|
|
51046
51334
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51149,12 +51437,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
|
|
|
51149
51437
|
});
|
|
51150
51438
|
|
|
51151
51439
|
// src/mcp-server/tools/vendorsListVendorJobTitles.ts
|
|
51152
|
-
var
|
|
51440
|
+
var args50, tool$vendorsListVendorJobTitles;
|
|
51153
51441
|
var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
51154
51442
|
init_vendorsListVendorJobTitles();
|
|
51155
51443
|
init_operations();
|
|
51156
51444
|
init_tools();
|
|
51157
|
-
|
|
51445
|
+
args50 = {
|
|
51158
51446
|
request: ListVendorJobTitlesRequest$inboundSchema
|
|
51159
51447
|
};
|
|
51160
51448
|
tool$vendorsListVendorJobTitles = {
|
|
@@ -51162,9 +51450,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
|
|
|
51162
51450
|
description: `List vendor job titles
|
|
51163
51451
|
|
|
51164
51452
|
List valid job titles for Vendors. This can be used during sign up or in a filter.`,
|
|
51165
|
-
args:
|
|
51166
|
-
tool: async (client,
|
|
51167
|
-
const [result, apiCall] = await vendorsListVendorJobTitles(client,
|
|
51453
|
+
args: args50,
|
|
51454
|
+
tool: async (client, args51, ctx) => {
|
|
51455
|
+
const [result, apiCall] = await vendorsListVendorJobTitles(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51168
51456
|
if (!result.ok) {
|
|
51169
51457
|
return {
|
|
51170
51458
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51179,9 +51467,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
|
|
|
51179
51467
|
|
|
51180
51468
|
// src/funcs/vendorsListVendorManagedByCompanies.ts
|
|
51181
51469
|
function vendorsListVendorManagedByCompanies(client, request, options) {
|
|
51182
|
-
return new APIPromise($
|
|
51470
|
+
return new APIPromise($do53(client, request, options));
|
|
51183
51471
|
}
|
|
51184
|
-
async function $
|
|
51472
|
+
async function $do53(client, request, options) {
|
|
51185
51473
|
const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51186
51474
|
if (!parsed.ok) {
|
|
51187
51475
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51295,12 +51583,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
|
|
|
51295
51583
|
});
|
|
51296
51584
|
|
|
51297
51585
|
// src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
|
|
51298
|
-
var
|
|
51586
|
+
var args51, tool$vendorsListVendorManagedByCompanies;
|
|
51299
51587
|
var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
|
|
51300
51588
|
init_vendorsListVendorManagedByCompanies();
|
|
51301
51589
|
init_operations();
|
|
51302
51590
|
init_tools();
|
|
51303
|
-
|
|
51591
|
+
args51 = {
|
|
51304
51592
|
request: ListVendorManagedByCompaniesRequest$inboundSchema
|
|
51305
51593
|
};
|
|
51306
51594
|
tool$vendorsListVendorManagedByCompanies = {
|
|
@@ -51308,9 +51596,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
|
|
|
51308
51596
|
description: `List of companies managing the vendor
|
|
51309
51597
|
|
|
51310
51598
|
List of companies managing the vendor`,
|
|
51311
|
-
args:
|
|
51312
|
-
tool: async (client,
|
|
51313
|
-
const [result, apiCall] = await vendorsListVendorManagedByCompanies(client,
|
|
51599
|
+
args: args51,
|
|
51600
|
+
tool: async (client, args52, ctx) => {
|
|
51601
|
+
const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51314
51602
|
if (!result.ok) {
|
|
51315
51603
|
return {
|
|
51316
51604
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51325,9 +51613,9 @@ List of companies managing the vendor`,
|
|
|
51325
51613
|
|
|
51326
51614
|
// src/funcs/vendorsListVendorScrubDetails.ts
|
|
51327
51615
|
function vendorsListVendorScrubDetails(client, request, options) {
|
|
51328
|
-
return new APIPromise($
|
|
51616
|
+
return new APIPromise($do54(client, request, options));
|
|
51329
51617
|
}
|
|
51330
|
-
async function $
|
|
51618
|
+
async function $do54(client, request, options) {
|
|
51331
51619
|
const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51332
51620
|
if (!parsed.ok) {
|
|
51333
51621
|
return [parsed, { status: "invalid" }];
|
|
@@ -51403,12 +51691,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
|
|
|
51403
51691
|
});
|
|
51404
51692
|
|
|
51405
51693
|
// src/mcp-server/tools/vendorsListVendorScrubDetails.ts
|
|
51406
|
-
var
|
|
51694
|
+
var args52, tool$vendorsListVendorScrubDetails;
|
|
51407
51695
|
var init_vendorsListVendorScrubDetails2 = __esm(() => {
|
|
51408
51696
|
init_vendorsListVendorScrubDetails();
|
|
51409
51697
|
init_operations();
|
|
51410
51698
|
init_tools();
|
|
51411
|
-
|
|
51699
|
+
args52 = {
|
|
51412
51700
|
request: ListVendorScrubDetailsRequest$inboundSchema
|
|
51413
51701
|
};
|
|
51414
51702
|
tool$vendorsListVendorScrubDetails = {
|
|
@@ -51416,9 +51704,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
|
|
|
51416
51704
|
description: `List vendor scrub details
|
|
51417
51705
|
|
|
51418
51706
|
List vendor scrub details`,
|
|
51419
|
-
args:
|
|
51420
|
-
tool: async (client,
|
|
51421
|
-
const [result, apiCall] = await vendorsListVendorScrubDetails(client,
|
|
51707
|
+
args: args52,
|
|
51708
|
+
tool: async (client, args53, ctx) => {
|
|
51709
|
+
const [result, apiCall] = await vendorsListVendorScrubDetails(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51422
51710
|
if (!result.ok) {
|
|
51423
51711
|
return {
|
|
51424
51712
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51433,9 +51721,9 @@ List vendor scrub details`,
|
|
|
51433
51721
|
|
|
51434
51722
|
// src/funcs/vendorsListVendorScrubPackages.ts
|
|
51435
51723
|
function vendorsListVendorScrubPackages(client, request, options) {
|
|
51436
|
-
return new APIPromise($
|
|
51724
|
+
return new APIPromise($do55(client, request, options));
|
|
51437
51725
|
}
|
|
51438
|
-
async function $
|
|
51726
|
+
async function $do55(client, request, options) {
|
|
51439
51727
|
const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51440
51728
|
if (!parsed.ok) {
|
|
51441
51729
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51549,12 +51837,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
|
|
|
51549
51837
|
});
|
|
51550
51838
|
|
|
51551
51839
|
// src/mcp-server/tools/vendorsListVendorScrubPackages.ts
|
|
51552
|
-
var
|
|
51840
|
+
var args53, tool$vendorsListVendorScrubPackages;
|
|
51553
51841
|
var init_vendorsListVendorScrubPackages2 = __esm(() => {
|
|
51554
51842
|
init_vendorsListVendorScrubPackages();
|
|
51555
51843
|
init_operations();
|
|
51556
51844
|
init_tools();
|
|
51557
|
-
|
|
51845
|
+
args53 = {
|
|
51558
51846
|
request: ListVendorScrubPackagesRequest$inboundSchema
|
|
51559
51847
|
};
|
|
51560
51848
|
tool$vendorsListVendorScrubPackages = {
|
|
@@ -51562,9 +51850,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
|
|
|
51562
51850
|
description: `List vendor scrub packages
|
|
51563
51851
|
|
|
51564
51852
|
List vendor scrub packages`,
|
|
51565
|
-
args:
|
|
51566
|
-
tool: async (client,
|
|
51567
|
-
const [result, apiCall] = await vendorsListVendorScrubPackages(client,
|
|
51853
|
+
args: args53,
|
|
51854
|
+
tool: async (client, args54, ctx) => {
|
|
51855
|
+
const [result, apiCall] = await vendorsListVendorScrubPackages(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51568
51856
|
if (!result.ok) {
|
|
51569
51857
|
return {
|
|
51570
51858
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51579,9 +51867,9 @@ List vendor scrub packages`,
|
|
|
51579
51867
|
|
|
51580
51868
|
// src/funcs/vendorsListVendorScrubPurchases.ts
|
|
51581
51869
|
function vendorsListVendorScrubPurchases(client, request, options) {
|
|
51582
|
-
return new APIPromise($
|
|
51870
|
+
return new APIPromise($do56(client, request, options));
|
|
51583
51871
|
}
|
|
51584
|
-
async function $
|
|
51872
|
+
async function $do56(client, request, options) {
|
|
51585
51873
|
const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51586
51874
|
if (!parsed.ok) {
|
|
51587
51875
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51695,12 +51983,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
|
|
|
51695
51983
|
});
|
|
51696
51984
|
|
|
51697
51985
|
// src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
|
|
51698
|
-
var
|
|
51986
|
+
var args54, tool$vendorsListVendorScrubPurchases;
|
|
51699
51987
|
var init_vendorsListVendorScrubPurchases2 = __esm(() => {
|
|
51700
51988
|
init_vendorsListVendorScrubPurchases();
|
|
51701
51989
|
init_operations();
|
|
51702
51990
|
init_tools();
|
|
51703
|
-
|
|
51991
|
+
args54 = {
|
|
51704
51992
|
request: ListVendorScrubPurchasesRequest$inboundSchema
|
|
51705
51993
|
};
|
|
51706
51994
|
tool$vendorsListVendorScrubPurchases = {
|
|
@@ -51708,9 +51996,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
|
|
|
51708
51996
|
description: `List vendor scrub purchases
|
|
51709
51997
|
|
|
51710
51998
|
List vendor scrub purchases`,
|
|
51711
|
-
args:
|
|
51712
|
-
tool: async (client,
|
|
51713
|
-
const [result, apiCall] = await vendorsListVendorScrubPurchases(client,
|
|
51999
|
+
args: args54,
|
|
52000
|
+
tool: async (client, args55, ctx) => {
|
|
52001
|
+
const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51714
52002
|
if (!result.ok) {
|
|
51715
52003
|
return {
|
|
51716
52004
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51725,9 +52013,9 @@ List vendor scrub purchases`,
|
|
|
51725
52013
|
|
|
51726
52014
|
// src/funcs/vendorsListVendorTypes.ts
|
|
51727
52015
|
function vendorsListVendorTypes(client, request, options) {
|
|
51728
|
-
return new APIPromise($
|
|
52016
|
+
return new APIPromise($do57(client, request, options));
|
|
51729
52017
|
}
|
|
51730
|
-
async function $
|
|
52018
|
+
async function $do57(client, request, options) {
|
|
51731
52019
|
const parsed = safeParse(request, (value) => ListVendorTypesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51732
52020
|
if (!parsed.ok) {
|
|
51733
52021
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -51835,12 +52123,12 @@ var init_vendorsListVendorTypes = __esm(() => {
|
|
|
51835
52123
|
});
|
|
51836
52124
|
|
|
51837
52125
|
// src/mcp-server/tools/vendorsListVendorTypes.ts
|
|
51838
|
-
var
|
|
52126
|
+
var args55, tool$vendorsListVendorTypes;
|
|
51839
52127
|
var init_vendorsListVendorTypes2 = __esm(() => {
|
|
51840
52128
|
init_vendorsListVendorTypes();
|
|
51841
52129
|
init_operations();
|
|
51842
52130
|
init_tools();
|
|
51843
|
-
|
|
52131
|
+
args55 = {
|
|
51844
52132
|
request: ListVendorTypesRequest$inboundSchema
|
|
51845
52133
|
};
|
|
51846
52134
|
tool$vendorsListVendorTypes = {
|
|
@@ -51848,9 +52136,9 @@ var init_vendorsListVendorTypes2 = __esm(() => {
|
|
|
51848
52136
|
description: `List vendor types
|
|
51849
52137
|
|
|
51850
52138
|
List vendor types.`,
|
|
51851
|
-
args:
|
|
51852
|
-
tool: async (client,
|
|
51853
|
-
const [result, apiCall] = await vendorsListVendorTypes(client,
|
|
52139
|
+
args: args55,
|
|
52140
|
+
tool: async (client, args56, ctx) => {
|
|
52141
|
+
const [result, apiCall] = await vendorsListVendorTypes(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51854
52142
|
if (!result.ok) {
|
|
51855
52143
|
return {
|
|
51856
52144
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51865,9 +52153,9 @@ List vendor types.`,
|
|
|
51865
52153
|
|
|
51866
52154
|
// src/funcs/vendorsPurchaseScrubCredits.ts
|
|
51867
52155
|
function vendorsPurchaseScrubCredits(client, request, options) {
|
|
51868
|
-
return new APIPromise($
|
|
52156
|
+
return new APIPromise($do58(client, request, options));
|
|
51869
52157
|
}
|
|
51870
|
-
async function $
|
|
52158
|
+
async function $do58(client, request, options) {
|
|
51871
52159
|
const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51872
52160
|
if (!parsed.ok) {
|
|
51873
52161
|
return [parsed, { status: "invalid" }];
|
|
@@ -51943,12 +52231,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
|
|
|
51943
52231
|
});
|
|
51944
52232
|
|
|
51945
52233
|
// src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
|
|
51946
|
-
var
|
|
52234
|
+
var args56, tool$vendorsPurchaseScrubCredits;
|
|
51947
52235
|
var init_vendorsPurchaseScrubCredits2 = __esm(() => {
|
|
51948
52236
|
init_vendorsPurchaseScrubCredits();
|
|
51949
52237
|
init_operations();
|
|
51950
52238
|
init_tools();
|
|
51951
|
-
|
|
52239
|
+
args56 = {
|
|
51952
52240
|
request: PurchaseScrubCreditsRequest$inboundSchema
|
|
51953
52241
|
};
|
|
51954
52242
|
tool$vendorsPurchaseScrubCredits = {
|
|
@@ -51956,9 +52244,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
|
|
|
51956
52244
|
description: `Purchase scrub credits
|
|
51957
52245
|
|
|
51958
52246
|
Purchase scrub credits`,
|
|
51959
|
-
args:
|
|
51960
|
-
tool: async (client,
|
|
51961
|
-
const [result, apiCall] = await vendorsPurchaseScrubCredits(client,
|
|
52247
|
+
args: args56,
|
|
52248
|
+
tool: async (client, args57, ctx) => {
|
|
52249
|
+
const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
51962
52250
|
if (!result.ok) {
|
|
51963
52251
|
return {
|
|
51964
52252
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -51973,9 +52261,9 @@ Purchase scrub credits`,
|
|
|
51973
52261
|
|
|
51974
52262
|
// src/funcs/vendorsSendDownloadCode.ts
|
|
51975
52263
|
function vendorsSendDownloadCode(client, request, options) {
|
|
51976
|
-
return new APIPromise($
|
|
52264
|
+
return new APIPromise($do59(client, request, options));
|
|
51977
52265
|
}
|
|
51978
|
-
async function $
|
|
52266
|
+
async function $do59(client, request, options) {
|
|
51979
52267
|
const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
51980
52268
|
if (!parsed.ok) {
|
|
51981
52269
|
return [parsed, { status: "invalid" }];
|
|
@@ -52049,12 +52337,12 @@ var init_vendorsSendDownloadCode = __esm(() => {
|
|
|
52049
52337
|
});
|
|
52050
52338
|
|
|
52051
52339
|
// src/mcp-server/tools/vendorsSendDownloadCode.ts
|
|
52052
|
-
var
|
|
52340
|
+
var args57, tool$vendorsSendDownloadCode;
|
|
52053
52341
|
var init_vendorsSendDownloadCode2 = __esm(() => {
|
|
52054
52342
|
init_vendorsSendDownloadCode();
|
|
52055
52343
|
init_operations();
|
|
52056
52344
|
init_tools();
|
|
52057
|
-
|
|
52345
|
+
args57 = {
|
|
52058
52346
|
request: SendDownloadCodeRequest$inboundSchema
|
|
52059
52347
|
};
|
|
52060
52348
|
tool$vendorsSendDownloadCode = {
|
|
@@ -52062,9 +52350,9 @@ var init_vendorsSendDownloadCode2 = __esm(() => {
|
|
|
52062
52350
|
description: `Send download code for vendor credential
|
|
52063
52351
|
|
|
52064
52352
|
It will send download code for vendor credential`,
|
|
52065
|
-
args:
|
|
52066
|
-
tool: async (client,
|
|
52067
|
-
const [result, apiCall] = await vendorsSendDownloadCode(client,
|
|
52353
|
+
args: args57,
|
|
52354
|
+
tool: async (client, args58, ctx) => {
|
|
52355
|
+
const [result, apiCall] = await vendorsSendDownloadCode(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52068
52356
|
if (!result.ok) {
|
|
52069
52357
|
return {
|
|
52070
52358
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52079,9 +52367,9 @@ It will send download code for vendor credential`,
|
|
|
52079
52367
|
|
|
52080
52368
|
// src/funcs/vendorsSubmitVendorCredential.ts
|
|
52081
52369
|
function vendorsSubmitVendorCredential(client, request, options) {
|
|
52082
|
-
return new APIPromise($
|
|
52370
|
+
return new APIPromise($do60(client, request, options));
|
|
52083
52371
|
}
|
|
52084
|
-
async function $
|
|
52372
|
+
async function $do60(client, request, options) {
|
|
52085
52373
|
const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52086
52374
|
if (!parsed.ok) {
|
|
52087
52375
|
return [parsed, { status: "invalid" }];
|
|
@@ -52155,12 +52443,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
|
|
|
52155
52443
|
});
|
|
52156
52444
|
|
|
52157
52445
|
// src/mcp-server/tools/vendorsSubmitVendorCredential.ts
|
|
52158
|
-
var
|
|
52446
|
+
var args58, tool$vendorsSubmitVendorCredential;
|
|
52159
52447
|
var init_vendorsSubmitVendorCredential2 = __esm(() => {
|
|
52160
52448
|
init_vendorsSubmitVendorCredential();
|
|
52161
52449
|
init_operations();
|
|
52162
52450
|
init_tools();
|
|
52163
|
-
|
|
52451
|
+
args58 = {
|
|
52164
52452
|
request: SubmitVendorCredentialRequest$inboundSchema
|
|
52165
52453
|
};
|
|
52166
52454
|
tool$vendorsSubmitVendorCredential = {
|
|
@@ -52168,9 +52456,9 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
|
|
|
52168
52456
|
description: `Submit vendor credential
|
|
52169
52457
|
|
|
52170
52458
|
It will submit vendor credential`,
|
|
52171
|
-
args:
|
|
52172
|
-
tool: async (client,
|
|
52173
|
-
const [result, apiCall] = await vendorsSubmitVendorCredential(client,
|
|
52459
|
+
args: args58,
|
|
52460
|
+
tool: async (client, args59, ctx) => {
|
|
52461
|
+
const [result, apiCall] = await vendorsSubmitVendorCredential(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52174
52462
|
if (!result.ok) {
|
|
52175
52463
|
return {
|
|
52176
52464
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52185,9 +52473,9 @@ It will submit vendor credential`,
|
|
|
52185
52473
|
|
|
52186
52474
|
// src/funcs/vendorsUpdateVendorCredentialData.ts
|
|
52187
52475
|
function vendorsUpdateVendorCredentialData(client, request, options) {
|
|
52188
|
-
return new APIPromise($
|
|
52476
|
+
return new APIPromise($do61(client, request, options));
|
|
52189
52477
|
}
|
|
52190
|
-
async function $
|
|
52478
|
+
async function $do61(client, request, options) {
|
|
52191
52479
|
const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52192
52480
|
if (!parsed.ok) {
|
|
52193
52481
|
return [parsed, { status: "invalid" }];
|
|
@@ -52268,12 +52556,12 @@ var init_vendorsUpdateVendorCredentialData = __esm(() => {
|
|
|
52268
52556
|
});
|
|
52269
52557
|
|
|
52270
52558
|
// src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
|
|
52271
|
-
var
|
|
52559
|
+
var args59, tool$vendorsUpdateVendorCredentialData;
|
|
52272
52560
|
var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
|
|
52273
52561
|
init_vendorsUpdateVendorCredentialData();
|
|
52274
52562
|
init_operations();
|
|
52275
52563
|
init_tools();
|
|
52276
|
-
|
|
52564
|
+
args59 = {
|
|
52277
52565
|
request: UpdateVendorCredentialDataRequest$inboundSchema
|
|
52278
52566
|
};
|
|
52279
52567
|
tool$vendorsUpdateVendorCredentialData = {
|
|
@@ -52281,9 +52569,9 @@ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
|
|
|
52281
52569
|
description: `Update vendor credential data
|
|
52282
52570
|
|
|
52283
52571
|
Update vendor credential data`,
|
|
52284
|
-
args:
|
|
52285
|
-
tool: async (client,
|
|
52286
|
-
const [result, apiCall] = await vendorsUpdateVendorCredentialData(client,
|
|
52572
|
+
args: args59,
|
|
52573
|
+
tool: async (client, args60, ctx) => {
|
|
52574
|
+
const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52287
52575
|
if (!result.ok) {
|
|
52288
52576
|
return {
|
|
52289
52577
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52298,9 +52586,9 @@ Update vendor credential data`,
|
|
|
52298
52586
|
|
|
52299
52587
|
// src/funcs/vendorsUpdateVendorCredentialFile.ts
|
|
52300
52588
|
function vendorsUpdateVendorCredentialFile(client, request, options) {
|
|
52301
|
-
return new APIPromise($
|
|
52589
|
+
return new APIPromise($do62(client, request, options));
|
|
52302
52590
|
}
|
|
52303
|
-
async function $
|
|
52591
|
+
async function $do62(client, request, options) {
|
|
52304
52592
|
const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52305
52593
|
if (!parsed.ok) {
|
|
52306
52594
|
return [parsed, { status: "invalid" }];
|
|
@@ -52378,12 +52666,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
|
|
|
52378
52666
|
});
|
|
52379
52667
|
|
|
52380
52668
|
// src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
|
|
52381
|
-
var
|
|
52669
|
+
var args60, tool$vendorsUpdateVendorCredentialFile;
|
|
52382
52670
|
var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
|
|
52383
52671
|
init_vendorsUpdateVendorCredentialFile();
|
|
52384
52672
|
init_operations();
|
|
52385
52673
|
init_tools();
|
|
52386
|
-
|
|
52674
|
+
args60 = {
|
|
52387
52675
|
request: UpdateVendorCredentialFileRequest$inboundSchema
|
|
52388
52676
|
};
|
|
52389
52677
|
tool$vendorsUpdateVendorCredentialFile = {
|
|
@@ -52391,9 +52679,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
|
|
|
52391
52679
|
description: `Update vendor credential file
|
|
52392
52680
|
|
|
52393
52681
|
It will update the vendor credential file properties`,
|
|
52394
|
-
args:
|
|
52395
|
-
tool: async (client,
|
|
52396
|
-
const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client,
|
|
52682
|
+
args: args60,
|
|
52683
|
+
tool: async (client, args61, ctx) => {
|
|
52684
|
+
const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52397
52685
|
if (!result.ok) {
|
|
52398
52686
|
return {
|
|
52399
52687
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52408,9 +52696,9 @@ It will update the vendor credential file properties`,
|
|
|
52408
52696
|
|
|
52409
52697
|
// src/funcs/vendorsUpdateVendorDetails.ts
|
|
52410
52698
|
function vendorsUpdateVendorDetails(client, request, options) {
|
|
52411
|
-
return new APIPromise($
|
|
52699
|
+
return new APIPromise($do63(client, request, options));
|
|
52412
52700
|
}
|
|
52413
|
-
async function $
|
|
52701
|
+
async function $do63(client, request, options) {
|
|
52414
52702
|
const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52415
52703
|
if (!parsed.ok) {
|
|
52416
52704
|
return [parsed, { status: "invalid" }];
|
|
@@ -52487,12 +52775,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
|
|
|
52487
52775
|
});
|
|
52488
52776
|
|
|
52489
52777
|
// src/mcp-server/tools/vendorsUpdateVendorDetails.ts
|
|
52490
|
-
var
|
|
52778
|
+
var args61, tool$vendorsUpdateVendorDetails;
|
|
52491
52779
|
var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
52492
52780
|
init_vendorsUpdateVendorDetails();
|
|
52493
52781
|
init_operations();
|
|
52494
52782
|
init_tools();
|
|
52495
|
-
|
|
52783
|
+
args61 = {
|
|
52496
52784
|
request: UpdateVendorDetailsRequest$inboundSchema
|
|
52497
52785
|
};
|
|
52498
52786
|
tool$vendorsUpdateVendorDetails = {
|
|
@@ -52500,9 +52788,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
|
|
|
52500
52788
|
description: `Update vendor details
|
|
52501
52789
|
|
|
52502
52790
|
It will update the vendor details`,
|
|
52503
|
-
args:
|
|
52504
|
-
tool: async (client,
|
|
52505
|
-
const [result, apiCall] = await vendorsUpdateVendorDetails(client,
|
|
52791
|
+
args: args61,
|
|
52792
|
+
tool: async (client, args62, ctx) => {
|
|
52793
|
+
const [result, apiCall] = await vendorsUpdateVendorDetails(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52506
52794
|
if (!result.ok) {
|
|
52507
52795
|
return {
|
|
52508
52796
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52517,9 +52805,9 @@ It will update the vendor details`,
|
|
|
52517
52805
|
|
|
52518
52806
|
// src/funcs/vendorsUpdateVendorManagedByCompany.ts
|
|
52519
52807
|
function vendorsUpdateVendorManagedByCompany(client, request, options) {
|
|
52520
|
-
return new APIPromise($
|
|
52808
|
+
return new APIPromise($do64(client, request, options));
|
|
52521
52809
|
}
|
|
52522
|
-
async function $
|
|
52810
|
+
async function $do64(client, request, options) {
|
|
52523
52811
|
const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52524
52812
|
if (!parsed.ok) {
|
|
52525
52813
|
return [parsed, { status: "invalid" }];
|
|
@@ -52595,12 +52883,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
|
|
|
52595
52883
|
});
|
|
52596
52884
|
|
|
52597
52885
|
// src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
|
|
52598
|
-
var
|
|
52886
|
+
var args62, tool$vendorsUpdateVendorManagedByCompany;
|
|
52599
52887
|
var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
52600
52888
|
init_vendorsUpdateVendorManagedByCompany();
|
|
52601
52889
|
init_operations();
|
|
52602
52890
|
init_tools();
|
|
52603
|
-
|
|
52891
|
+
args62 = {
|
|
52604
52892
|
request: UpdateVendorManagedByCompanyRequest$inboundSchema
|
|
52605
52893
|
};
|
|
52606
52894
|
tool$vendorsUpdateVendorManagedByCompany = {
|
|
@@ -52608,9 +52896,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
|
|
|
52608
52896
|
description: `Update vendor managed by company access rights
|
|
52609
52897
|
|
|
52610
52898
|
It will update the vendor managed by company access rights`,
|
|
52611
|
-
args:
|
|
52612
|
-
tool: async (client,
|
|
52613
|
-
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client,
|
|
52899
|
+
args: args62,
|
|
52900
|
+
tool: async (client, args63, ctx) => {
|
|
52901
|
+
const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args63.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52614
52902
|
if (!result.ok) {
|
|
52615
52903
|
return {
|
|
52616
52904
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52625,9 +52913,9 @@ It will update the vendor managed by company access rights`,
|
|
|
52625
52913
|
|
|
52626
52914
|
// src/funcs/vendorsUpdateVendorScrubDetails.ts
|
|
52627
52915
|
function vendorsUpdateVendorScrubDetails(client, request, options) {
|
|
52628
|
-
return new APIPromise($
|
|
52916
|
+
return new APIPromise($do65(client, request, options));
|
|
52629
52917
|
}
|
|
52630
|
-
async function $
|
|
52918
|
+
async function $do65(client, request, options) {
|
|
52631
52919
|
const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52632
52920
|
if (!parsed.ok) {
|
|
52633
52921
|
return [parsed, { status: "invalid" }];
|
|
@@ -52704,12 +52992,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
|
|
|
52704
52992
|
});
|
|
52705
52993
|
|
|
52706
52994
|
// src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
|
|
52707
|
-
var
|
|
52995
|
+
var args63, tool$vendorsUpdateVendorScrubDetails;
|
|
52708
52996
|
var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
52709
52997
|
init_vendorsUpdateVendorScrubDetails();
|
|
52710
52998
|
init_operations();
|
|
52711
52999
|
init_tools();
|
|
52712
|
-
|
|
53000
|
+
args63 = {
|
|
52713
53001
|
request: UpdateVendorScrubDetailsRequest$inboundSchema
|
|
52714
53002
|
};
|
|
52715
53003
|
tool$vendorsUpdateVendorScrubDetails = {
|
|
@@ -52717,9 +53005,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
|
|
|
52717
53005
|
description: `Update vendor scrub details
|
|
52718
53006
|
|
|
52719
53007
|
Update vendor scrub details`,
|
|
52720
|
-
args:
|
|
52721
|
-
tool: async (client,
|
|
52722
|
-
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client,
|
|
53008
|
+
args: args63,
|
|
53009
|
+
tool: async (client, args64, ctx) => {
|
|
53010
|
+
const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args64.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52723
53011
|
if (!result.ok) {
|
|
52724
53012
|
return {
|
|
52725
53013
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52734,9 +53022,9 @@ Update vendor scrub details`,
|
|
|
52734
53022
|
|
|
52735
53023
|
// src/funcs/webhooksGetWebhookEndpoint.ts
|
|
52736
53024
|
function webhooksGetWebhookEndpoint(client, request, options) {
|
|
52737
|
-
return new APIPromise($
|
|
53025
|
+
return new APIPromise($do66(client, request, options));
|
|
52738
53026
|
}
|
|
52739
|
-
async function $
|
|
53027
|
+
async function $do66(client, request, options) {
|
|
52740
53028
|
const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52741
53029
|
if (!parsed.ok) {
|
|
52742
53030
|
return [parsed, { status: "invalid" }];
|
|
@@ -52812,12 +53100,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
|
|
|
52812
53100
|
});
|
|
52813
53101
|
|
|
52814
53102
|
// src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
|
|
52815
|
-
var
|
|
53103
|
+
var args64, tool$webhooksGetWebhookEndpoint;
|
|
52816
53104
|
var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
52817
53105
|
init_webhooksGetWebhookEndpoint();
|
|
52818
53106
|
init_operations();
|
|
52819
53107
|
init_tools();
|
|
52820
|
-
|
|
53108
|
+
args64 = {
|
|
52821
53109
|
request: GetWebhookEndpointRequest$inboundSchema
|
|
52822
53110
|
};
|
|
52823
53111
|
tool$webhooksGetWebhookEndpoint = {
|
|
@@ -52825,9 +53113,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
|
|
|
52825
53113
|
description: `Retrieves the webhook endpoint with the given ID.
|
|
52826
53114
|
|
|
52827
53115
|
Returns the definition of a webhook endpoint by ID.`,
|
|
52828
|
-
args:
|
|
52829
|
-
tool: async (client,
|
|
52830
|
-
const [result, apiCall] = await webhooksGetWebhookEndpoint(client,
|
|
53116
|
+
args: args64,
|
|
53117
|
+
tool: async (client, args65, ctx) => {
|
|
53118
|
+
const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args65.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52831
53119
|
if (!result.ok) {
|
|
52832
53120
|
return {
|
|
52833
53121
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52842,9 +53130,9 @@ Returns the definition of a webhook endpoint by ID.`,
|
|
|
52842
53130
|
|
|
52843
53131
|
// src/funcs/webhooksListAllWebhookEndpoints.ts
|
|
52844
53132
|
function webhooksListAllWebhookEndpoints(client, request, options) {
|
|
52845
|
-
return new APIPromise($
|
|
53133
|
+
return new APIPromise($do67(client, request, options));
|
|
52846
53134
|
}
|
|
52847
|
-
async function $
|
|
53135
|
+
async function $do67(client, request, options) {
|
|
52848
53136
|
const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52849
53137
|
if (!parsed.ok) {
|
|
52850
53138
|
return [parsed, { status: "invalid" }];
|
|
@@ -52920,12 +53208,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
|
|
|
52920
53208
|
});
|
|
52921
53209
|
|
|
52922
53210
|
// src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
|
|
52923
|
-
var
|
|
53211
|
+
var args65, tool$webhooksListAllWebhookEndpoints;
|
|
52924
53212
|
var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
52925
53213
|
init_webhooksListAllWebhookEndpoints();
|
|
52926
53214
|
init_operations();
|
|
52927
53215
|
init_tools();
|
|
52928
|
-
|
|
53216
|
+
args65 = {
|
|
52929
53217
|
request: ListAllWebhookEndpointsRequest$inboundSchema
|
|
52930
53218
|
};
|
|
52931
53219
|
tool$webhooksListAllWebhookEndpoints = {
|
|
@@ -52933,9 +53221,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
|
|
|
52933
53221
|
description: `List all webhook endpoints
|
|
52934
53222
|
|
|
52935
53223
|
Returns a list of your webhook endpoints.`,
|
|
52936
|
-
args:
|
|
52937
|
-
tool: async (client,
|
|
52938
|
-
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client,
|
|
53224
|
+
args: args65,
|
|
53225
|
+
tool: async (client, args66, ctx) => {
|
|
53226
|
+
const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args66.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
52939
53227
|
if (!result.ok) {
|
|
52940
53228
|
return {
|
|
52941
53229
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -52950,9 +53238,9 @@ Returns a list of your webhook endpoints.`,
|
|
|
52950
53238
|
|
|
52951
53239
|
// src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
|
|
52952
53240
|
function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
|
|
52953
|
-
return new APIPromise($
|
|
53241
|
+
return new APIPromise($do68(client, request, options));
|
|
52954
53242
|
}
|
|
52955
|
-
async function $
|
|
53243
|
+
async function $do68(client, request, options) {
|
|
52956
53244
|
const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
52957
53245
|
if (!parsed.ok) {
|
|
52958
53246
|
return [parsed, { status: "invalid" }];
|
|
@@ -53029,12 +53317,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
|
|
|
53029
53317
|
});
|
|
53030
53318
|
|
|
53031
53319
|
// src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
|
|
53032
|
-
var
|
|
53320
|
+
var args66, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
|
|
53033
53321
|
var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
|
|
53034
53322
|
init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
|
|
53035
53323
|
init_operations();
|
|
53036
53324
|
init_tools();
|
|
53037
|
-
|
|
53325
|
+
args66 = {
|
|
53038
53326
|
request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
|
|
53039
53327
|
};
|
|
53040
53328
|
tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
|
|
@@ -53042,9 +53330,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
|
|
|
53042
53330
|
description: `Updates the webhook endpoint with the given ID.
|
|
53043
53331
|
|
|
53044
53332
|
Updates the webhook endpoint with the given ID.`,
|
|
53045
|
-
args:
|
|
53046
|
-
tool: async (client,
|
|
53047
|
-
const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client,
|
|
53333
|
+
args: args66,
|
|
53334
|
+
tool: async (client, args67, ctx) => {
|
|
53335
|
+
const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args67.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53048
53336
|
if (!result.ok) {
|
|
53049
53337
|
return {
|
|
53050
53338
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53059,9 +53347,9 @@ Updates the webhook endpoint with the given ID.`,
|
|
|
53059
53347
|
|
|
53060
53348
|
// src/funcs/zonesGetSecurityZone.ts
|
|
53061
53349
|
function zonesGetSecurityZone(client, request, options) {
|
|
53062
|
-
return new APIPromise($
|
|
53350
|
+
return new APIPromise($do69(client, request, options));
|
|
53063
53351
|
}
|
|
53064
|
-
async function $
|
|
53352
|
+
async function $do69(client, request, options) {
|
|
53065
53353
|
const parsed = safeParse(request, (value) => GetSecurityZoneRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53066
53354
|
if (!parsed.ok) {
|
|
53067
53355
|
return [parsed, { status: "invalid" }];
|
|
@@ -53141,12 +53429,12 @@ var init_zonesGetSecurityZone = __esm(() => {
|
|
|
53141
53429
|
});
|
|
53142
53430
|
|
|
53143
53431
|
// src/mcp-server/tools/zonesGetSecurityZone.ts
|
|
53144
|
-
var
|
|
53432
|
+
var args67, tool$zonesGetSecurityZone;
|
|
53145
53433
|
var init_zonesGetSecurityZone2 = __esm(() => {
|
|
53146
53434
|
init_zonesGetSecurityZone();
|
|
53147
53435
|
init_operations();
|
|
53148
53436
|
init_tools();
|
|
53149
|
-
|
|
53437
|
+
args67 = {
|
|
53150
53438
|
request: GetSecurityZoneRequest$inboundSchema
|
|
53151
53439
|
};
|
|
53152
53440
|
tool$zonesGetSecurityZone = {
|
|
@@ -53160,9 +53448,9 @@ Available \`expand\` scopes are:
|
|
|
53160
53448
|
- zone.facility
|
|
53161
53449
|
- zone.department
|
|
53162
53450
|
- zone.rules`,
|
|
53163
|
-
args:
|
|
53164
|
-
tool: async (client,
|
|
53165
|
-
const [result, apiCall] = await zonesGetSecurityZone(client,
|
|
53451
|
+
args: args67,
|
|
53452
|
+
tool: async (client, args68, ctx) => {
|
|
53453
|
+
const [result, apiCall] = await zonesGetSecurityZone(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53166
53454
|
if (!result.ok) {
|
|
53167
53455
|
return {
|
|
53168
53456
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53177,9 +53465,9 @@ Available \`expand\` scopes are:
|
|
|
53177
53465
|
|
|
53178
53466
|
// src/funcs/zonesListOrSearchSecurityZones.ts
|
|
53179
53467
|
function zonesListOrSearchSecurityZones(client, request, options) {
|
|
53180
|
-
return new APIPromise($
|
|
53468
|
+
return new APIPromise($do70(client, request, options));
|
|
53181
53469
|
}
|
|
53182
|
-
async function $
|
|
53470
|
+
async function $do70(client, request, options) {
|
|
53183
53471
|
const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
53184
53472
|
if (!parsed.ok) {
|
|
53185
53473
|
return [haltIterator(parsed), { status: "invalid" }];
|
|
@@ -53293,12 +53581,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
|
|
|
53293
53581
|
});
|
|
53294
53582
|
|
|
53295
53583
|
// src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
|
|
53296
|
-
var
|
|
53584
|
+
var args68, tool$zonesListOrSearchSecurityZones;
|
|
53297
53585
|
var init_zonesListOrSearchSecurityZones2 = __esm(() => {
|
|
53298
53586
|
init_zonesListOrSearchSecurityZones();
|
|
53299
53587
|
init_operations();
|
|
53300
53588
|
init_tools();
|
|
53301
|
-
|
|
53589
|
+
args68 = {
|
|
53302
53590
|
request: ListOrSearchSecurityZonesRequest$inboundSchema
|
|
53303
53591
|
};
|
|
53304
53592
|
tool$zonesListOrSearchSecurityZones = {
|
|
@@ -53306,9 +53594,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
|
|
|
53306
53594
|
description: `List or search security zones
|
|
53307
53595
|
|
|
53308
53596
|
List or search security zones`,
|
|
53309
|
-
args:
|
|
53310
|
-
tool: async (client,
|
|
53311
|
-
const [result, apiCall] = await zonesListOrSearchSecurityZones(client,
|
|
53597
|
+
args: args68,
|
|
53598
|
+
tool: async (client, args69, ctx) => {
|
|
53599
|
+
const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53312
53600
|
if (!result.ok) {
|
|
53313
53601
|
return {
|
|
53314
53602
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53323,9 +53611,9 @@ List or search security zones`,
|
|
|
53323
53611
|
|
|
53324
53612
|
// src/funcs/zonesSecurityZoneCheckin.ts
|
|
53325
53613
|
function zonesSecurityZoneCheckin(client, request, options) {
|
|
53326
|
-
return new APIPromise($
|
|
53614
|
+
return new APIPromise($do71(client, request, options));
|
|
53327
53615
|
}
|
|
53328
|
-
async function $
|
|
53616
|
+
async function $do71(client, request, options) {
|
|
53329
53617
|
const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
|
|
53330
53618
|
if (!parsed.ok) {
|
|
53331
53619
|
return [parsed, { status: "invalid" }];
|
|
@@ -53395,12 +53683,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
|
|
|
53395
53683
|
});
|
|
53396
53684
|
|
|
53397
53685
|
// src/mcp-server/tools/zonesSecurityZoneCheckin.ts
|
|
53398
|
-
var
|
|
53686
|
+
var args69, tool$zonesSecurityZoneCheckin;
|
|
53399
53687
|
var init_zonesSecurityZoneCheckin2 = __esm(() => {
|
|
53400
53688
|
init_zonesSecurityZoneCheckin();
|
|
53401
53689
|
init_operations();
|
|
53402
53690
|
init_tools();
|
|
53403
|
-
|
|
53691
|
+
args69 = {
|
|
53404
53692
|
request: SecurityZoneCheckinRequestBody$inboundSchema
|
|
53405
53693
|
};
|
|
53406
53694
|
tool$zonesSecurityZoneCheckin = {
|
|
@@ -53408,9 +53696,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
|
|
|
53408
53696
|
description: `Security zone checkin request
|
|
53409
53697
|
|
|
53410
53698
|
Security zone checkin request`,
|
|
53411
|
-
args:
|
|
53412
|
-
tool: async (client,
|
|
53413
|
-
const [result, apiCall] = await zonesSecurityZoneCheckin(client,
|
|
53699
|
+
args: args69,
|
|
53700
|
+
tool: async (client, args70, ctx) => {
|
|
53701
|
+
const [result, apiCall] = await zonesSecurityZoneCheckin(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
53414
53702
|
if (!result.ok) {
|
|
53415
53703
|
return {
|
|
53416
53704
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -53427,7 +53715,7 @@ Security zone checkin request`,
|
|
|
53427
53715
|
function createMCPServer(deps) {
|
|
53428
53716
|
const server = new McpServer({
|
|
53429
53717
|
name: "GreenSecurity",
|
|
53430
|
-
version: "0.37.
|
|
53718
|
+
version: "0.37.14"
|
|
53431
53719
|
});
|
|
53432
53720
|
const client = new GreenSecurityCore({
|
|
53433
53721
|
security: deps.security,
|
|
@@ -53494,6 +53782,7 @@ function createMCPServer(deps) {
|
|
|
53494
53782
|
tool(tool$organizationsListOrSearchFacilities);
|
|
53495
53783
|
tool(tool$organizationsGetFacility);
|
|
53496
53784
|
tool(tool$organizationsListOrSearchDepartments);
|
|
53785
|
+
tool(tool$organizationsListOrSearchDepartmentContacts);
|
|
53497
53786
|
tool(tool$supportArticlesListOrSearchSupportArticles);
|
|
53498
53787
|
tool(tool$supportArticlesGetSupportArticle);
|
|
53499
53788
|
tool(tool$webhooksListAllWebhookEndpoints);
|
|
@@ -53526,6 +53815,7 @@ var init_server2 = __esm(() => {
|
|
|
53526
53815
|
init_invoicesMakePayment2();
|
|
53527
53816
|
init_invoicesUpdateInvoice2();
|
|
53528
53817
|
init_organizationsGetFacility2();
|
|
53818
|
+
init_organizationsListOrSearchDepartmentContacts2();
|
|
53529
53819
|
init_organizationsListOrSearchDepartments2();
|
|
53530
53820
|
init_organizationsListOrSearchFacilities2();
|
|
53531
53821
|
init_supportArticlesGetSupportArticle2();
|
|
@@ -54779,7 +55069,7 @@ var routes = rn({
|
|
|
54779
55069
|
var app = Ve(routes, {
|
|
54780
55070
|
name: "mcp",
|
|
54781
55071
|
versionInfo: {
|
|
54782
|
-
currentVersion: "0.37.
|
|
55072
|
+
currentVersion: "0.37.14"
|
|
54783
55073
|
}
|
|
54784
55074
|
});
|
|
54785
55075
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -54787,5 +55077,5 @@ export {
|
|
|
54787
55077
|
app
|
|
54788
55078
|
};
|
|
54789
55079
|
|
|
54790
|
-
//# debugId=
|
|
55080
|
+
//# debugId=4F602BF9337F440464756E2164756E21
|
|
54791
55081
|
//# sourceMappingURL=mcp-server.js.map
|