@greensecurity/javascript-sdk 0.30.27 → 0.30.29

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.
Files changed (125) hide show
  1. package/README.md +3 -0
  2. package/bin/mcp-server.js +711 -518
  3. package/bin/mcp-server.js.map +17 -13
  4. package/dist/commonjs/__tests__/vendormanagedbycompanies.test.js +1 -1
  5. package/dist/commonjs/__tests__/vendormanagedbycompanies.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/vendors.test.js +25 -2
  7. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  8. package/dist/commonjs/__tests__/webhooks.test.js +1 -1
  9. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  10. package/dist/commonjs/funcs/vendorsCreateVendorCompany.d.ts +17 -0
  11. package/dist/commonjs/funcs/vendorsCreateVendorCompany.d.ts.map +1 -0
  12. package/dist/commonjs/funcs/vendorsCreateVendorCompany.js +121 -0
  13. package/dist/commonjs/funcs/vendorsCreateVendorCompany.js.map +1 -0
  14. package/dist/commonjs/lib/config.d.ts +2 -2
  15. package/dist/commonjs/lib/config.js +2 -2
  16. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  17. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  18. package/dist/commonjs/mcp-server/server.js +3 -1
  19. package/dist/commonjs/mcp-server/server.js.map +1 -1
  20. package/dist/commonjs/mcp-server/tools/vendorsCreateVendorCompany.d.ts +8 -0
  21. package/dist/commonjs/mcp-server/tools/vendorsCreateVendorCompany.d.ts.map +1 -0
  22. package/dist/commonjs/mcp-server/tools/vendorsCreateVendorCompany.js +64 -0
  23. package/dist/commonjs/mcp-server/tools/vendorsCreateVendorCompany.js.map +1 -0
  24. package/dist/commonjs/models/components/index.d.ts +1 -0
  25. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  26. package/dist/commonjs/models/components/index.js +1 -0
  27. package/dist/commonjs/models/components/index.js.map +1 -1
  28. package/dist/commonjs/models/components/state.d.ts +181 -0
  29. package/dist/commonjs/models/components/state.d.ts.map +1 -0
  30. package/dist/commonjs/models/components/state.js +112 -0
  31. package/dist/commonjs/models/components/state.js.map +1 -0
  32. package/dist/commonjs/models/components/userlocation.d.ts +4 -172
  33. package/dist/commonjs/models/components/userlocation.d.ts.map +1 -1
  34. package/dist/commonjs/models/components/userlocation.js +4 -71
  35. package/dist/commonjs/models/components/userlocation.js.map +1 -1
  36. package/dist/commonjs/models/operations/createvendorcompany.d.ts +116 -0
  37. package/dist/commonjs/models/operations/createvendorcompany.d.ts.map +1 -0
  38. package/dist/commonjs/models/operations/createvendorcompany.js +163 -0
  39. package/dist/commonjs/models/operations/createvendorcompany.js.map +1 -0
  40. package/dist/commonjs/models/operations/index.d.ts +1 -0
  41. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  42. package/dist/commonjs/models/operations/index.js +1 -0
  43. package/dist/commonjs/models/operations/index.js.map +1 -1
  44. package/dist/commonjs/react-query/index.d.ts +1 -0
  45. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  46. package/dist/commonjs/react-query/index.js +1 -0
  47. package/dist/commonjs/react-query/index.js.map +1 -1
  48. package/dist/commonjs/react-query/vendorsCreateVendorCompany.d.ts +23 -0
  49. package/dist/commonjs/react-query/vendorsCreateVendorCompany.d.ts.map +1 -0
  50. package/dist/commonjs/react-query/vendorsCreateVendorCompany.js +47 -0
  51. package/dist/commonjs/react-query/vendorsCreateVendorCompany.js.map +1 -0
  52. package/dist/commonjs/sdk/vendors.d.ts +7 -0
  53. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  54. package/dist/commonjs/sdk/vendors.js +10 -0
  55. package/dist/commonjs/sdk/vendors.js.map +1 -1
  56. package/dist/esm/__tests__/vendormanagedbycompanies.test.js +1 -1
  57. package/dist/esm/__tests__/vendormanagedbycompanies.test.js.map +1 -1
  58. package/dist/esm/__tests__/vendors.test.js +25 -2
  59. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  60. package/dist/esm/__tests__/webhooks.test.js +1 -1
  61. package/dist/esm/__tests__/webhooks.test.js.map +1 -1
  62. package/dist/esm/funcs/vendorsCreateVendorCompany.d.ts +17 -0
  63. package/dist/esm/funcs/vendorsCreateVendorCompany.d.ts.map +1 -0
  64. package/dist/esm/funcs/vendorsCreateVendorCompany.js +85 -0
  65. package/dist/esm/funcs/vendorsCreateVendorCompany.js.map +1 -0
  66. package/dist/esm/lib/config.d.ts +2 -2
  67. package/dist/esm/lib/config.js +2 -2
  68. package/dist/esm/mcp-server/mcp-server.js +1 -1
  69. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  70. package/dist/esm/mcp-server/server.js +3 -1
  71. package/dist/esm/mcp-server/server.js.map +1 -1
  72. package/dist/esm/mcp-server/tools/vendorsCreateVendorCompany.d.ts +8 -0
  73. package/dist/esm/mcp-server/tools/vendorsCreateVendorCompany.d.ts.map +1 -0
  74. package/dist/esm/mcp-server/tools/vendorsCreateVendorCompany.js +28 -0
  75. package/dist/esm/mcp-server/tools/vendorsCreateVendorCompany.js.map +1 -0
  76. package/dist/esm/models/components/index.d.ts +1 -0
  77. package/dist/esm/models/components/index.d.ts.map +1 -1
  78. package/dist/esm/models/components/index.js +1 -0
  79. package/dist/esm/models/components/index.js.map +1 -1
  80. package/dist/esm/models/components/state.d.ts +181 -0
  81. package/dist/esm/models/components/state.d.ts.map +1 -0
  82. package/dist/esm/models/components/state.js +76 -0
  83. package/dist/esm/models/components/state.js.map +1 -0
  84. package/dist/esm/models/components/userlocation.d.ts +4 -172
  85. package/dist/esm/models/components/userlocation.d.ts.map +1 -1
  86. package/dist/esm/models/components/userlocation.js +1 -68
  87. package/dist/esm/models/components/userlocation.js.map +1 -1
  88. package/dist/esm/models/operations/createvendorcompany.d.ts +116 -0
  89. package/dist/esm/models/operations/createvendorcompany.d.ts.map +1 -0
  90. package/dist/esm/models/operations/createvendorcompany.js +121 -0
  91. package/dist/esm/models/operations/createvendorcompany.js.map +1 -0
  92. package/dist/esm/models/operations/index.d.ts +1 -0
  93. package/dist/esm/models/operations/index.d.ts.map +1 -1
  94. package/dist/esm/models/operations/index.js +1 -0
  95. package/dist/esm/models/operations/index.js.map +1 -1
  96. package/dist/esm/react-query/index.d.ts +1 -0
  97. package/dist/esm/react-query/index.d.ts.map +1 -1
  98. package/dist/esm/react-query/index.js +1 -0
  99. package/dist/esm/react-query/index.js.map +1 -1
  100. package/dist/esm/react-query/vendorsCreateVendorCompany.d.ts +23 -0
  101. package/dist/esm/react-query/vendorsCreateVendorCompany.d.ts.map +1 -0
  102. package/dist/esm/react-query/vendorsCreateVendorCompany.js +42 -0
  103. package/dist/esm/react-query/vendorsCreateVendorCompany.js.map +1 -0
  104. package/dist/esm/sdk/vendors.d.ts +7 -0
  105. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  106. package/dist/esm/sdk/vendors.js +10 -0
  107. package/dist/esm/sdk/vendors.js.map +1 -1
  108. package/jsr.json +1 -1
  109. package/package.json +1 -1
  110. package/src/__tests__/vendormanagedbycompanies.test.ts +1 -1
  111. package/src/__tests__/vendors.test.ts +28 -2
  112. package/src/__tests__/webhooks.test.ts +1 -1
  113. package/src/funcs/vendorsCreateVendorCompany.ts +174 -0
  114. package/src/lib/config.ts +2 -2
  115. package/src/mcp-server/mcp-server.ts +1 -1
  116. package/src/mcp-server/server.ts +3 -1
  117. package/src/mcp-server/tools/vendorsCreateVendorCompany.ts +37 -0
  118. package/src/models/components/index.ts +1 -0
  119. package/src/models/components/state.ts +87 -0
  120. package/src/models/components/userlocation.ts +4 -75
  121. package/src/models/operations/createvendorcompany.ts +262 -0
  122. package/src/models/operations/index.ts +1 -0
  123. package/src/react-query/index.ts +1 -0
  124. package/src/react-query/vendorsCreateVendorCompany.ts +89 -0
  125. package/src/sdk/vendors.ts +18 -0
package/bin/mcp-server.js CHANGED
@@ -34166,9 +34166,9 @@ var init_config = __esm(() => {
34166
34166
  SDK_METADATA = {
34167
34167
  language: "typescript",
34168
34168
  openapiDocVersion: "0.0.3",
34169
- sdkVersion: "0.30.27",
34169
+ sdkVersion: "0.30.29",
34170
34170
  genVersion: "2.578.0",
34171
- userAgent: "speakeasy-sdk/typescript 0.30.27 2.578.0 0.0.3 @greensecurity/javascript-sdk"
34171
+ userAgent: "speakeasy-sdk/typescript 0.30.29 2.578.0 0.0.3 @greensecurity/javascript-sdk"
34172
34172
  };
34173
34173
  });
34174
34174
 
@@ -35729,177 +35729,6 @@ var init_changepassword = __esm(() => {
35729
35729
  })(ChangePasswordResponseBody$ ||= {});
35730
35730
  });
35731
35731
 
35732
- // src/models/operations/createvendorregistration.ts
35733
- var CreateVendorRegistrationRequestBody$inboundSchema, CreateVendorRegistrationRequestBody$outboundSchema, CreateVendorRegistrationRequestBody$, Data$inboundSchema, Data$outboundSchema, Data$, CreateVendorRegistrationCreateVendorRegistrationCreated$inboundSchema, CreateVendorRegistrationCreateVendorRegistrationCreated$outboundSchema, CreateVendorRegistrationCreateVendorRegistrationCreated$;
35734
- var init_createvendorregistration = __esm(() => {
35735
- init_lib();
35736
- init_primitives();
35737
- CreateVendorRegistrationRequestBody$inboundSchema = objectType({
35738
- email: stringType(),
35739
- password: stringType(),
35740
- timezone: stringType().optional(),
35741
- affiliate_id: numberType().int().optional(),
35742
- vendor_group_id: numberType().int().optional(),
35743
- managing_company_id: numberType().int().optional()
35744
- }).transform((v2) => {
35745
- return remap(v2, {
35746
- affiliate_id: "affiliateId",
35747
- vendor_group_id: "vendorGroupId",
35748
- managing_company_id: "managingCompanyId"
35749
- });
35750
- });
35751
- CreateVendorRegistrationRequestBody$outboundSchema = objectType({
35752
- email: stringType(),
35753
- password: stringType(),
35754
- timezone: stringType().optional(),
35755
- affiliateId: numberType().int().optional(),
35756
- vendorGroupId: numberType().int().optional(),
35757
- managingCompanyId: numberType().int().optional()
35758
- }).transform((v2) => {
35759
- return remap(v2, {
35760
- affiliateId: "affiliate_id",
35761
- vendorGroupId: "vendor_group_id",
35762
- managingCompanyId: "managing_company_id"
35763
- });
35764
- });
35765
- ((CreateVendorRegistrationRequestBody$) => {
35766
- CreateVendorRegistrationRequestBody$.inboundSchema = CreateVendorRegistrationRequestBody$inboundSchema;
35767
- CreateVendorRegistrationRequestBody$.outboundSchema = CreateVendorRegistrationRequestBody$outboundSchema;
35768
- })(CreateVendorRegistrationRequestBody$ ||= {});
35769
- Data$inboundSchema = objectType({});
35770
- Data$outboundSchema = objectType({});
35771
- ((Data$) => {
35772
- Data$.inboundSchema = Data$inboundSchema;
35773
- Data$.outboundSchema = Data$outboundSchema;
35774
- })(Data$ ||= {});
35775
- CreateVendorRegistrationCreateVendorRegistrationCreated$inboundSchema = objectType({
35776
- data: lazyType(() => Data$inboundSchema)
35777
- });
35778
- CreateVendorRegistrationCreateVendorRegistrationCreated$outboundSchema = objectType({
35779
- data: lazyType(() => Data$outboundSchema)
35780
- });
35781
- ((CreateVendorRegistrationCreateVendorRegistrationCreated$) => {
35782
- CreateVendorRegistrationCreateVendorRegistrationCreated$.inboundSchema = CreateVendorRegistrationCreateVendorRegistrationCreated$inboundSchema;
35783
- CreateVendorRegistrationCreateVendorRegistrationCreated$.outboundSchema = CreateVendorRegistrationCreateVendorRegistrationCreated$outboundSchema;
35784
- })(CreateVendorRegistrationCreateVendorRegistrationCreated$ ||= {});
35785
- });
35786
-
35787
- // src/models/operations/deletevendormanagedbycompany.ts
35788
- var DeleteVendorManagedByCompanyRequestBody$inboundSchema, DeleteVendorManagedByCompanyRequestBody$outboundSchema, DeleteVendorManagedByCompanyRequestBody$, DeleteVendorManagedByCompanyRequest$inboundSchema, DeleteVendorManagedByCompanyRequest$outboundSchema, DeleteVendorManagedByCompanyRequest$, DeleteVendorManagedByCompanyResponseBody$inboundSchema, DeleteVendorManagedByCompanyResponseBody$outboundSchema, DeleteVendorManagedByCompanyResponseBody$;
35789
- var init_deletevendormanagedbycompany = __esm(() => {
35790
- init_lib();
35791
- init_primitives();
35792
- DeleteVendorManagedByCompanyRequestBody$inboundSchema = objectType({
35793
- managed_vendor_id: numberType().int()
35794
- }).transform((v2) => {
35795
- return remap(v2, {
35796
- managed_vendor_id: "managedVendorId"
35797
- });
35798
- });
35799
- DeleteVendorManagedByCompanyRequestBody$outboundSchema = objectType({
35800
- managedVendorId: numberType().int()
35801
- }).transform((v2) => {
35802
- return remap(v2, {
35803
- managedVendorId: "managed_vendor_id"
35804
- });
35805
- });
35806
- ((DeleteVendorManagedByCompanyRequestBody$) => {
35807
- DeleteVendorManagedByCompanyRequestBody$.inboundSchema = DeleteVendorManagedByCompanyRequestBody$inboundSchema;
35808
- DeleteVendorManagedByCompanyRequestBody$.outboundSchema = DeleteVendorManagedByCompanyRequestBody$outboundSchema;
35809
- })(DeleteVendorManagedByCompanyRequestBody$ ||= {});
35810
- DeleteVendorManagedByCompanyRequest$inboundSchema = objectType({
35811
- vendor_id_or_me: stringType(),
35812
- RequestBody: lazyType(() => DeleteVendorManagedByCompanyRequestBody$inboundSchema)
35813
- }).transform((v2) => {
35814
- return remap(v2, {
35815
- vendor_id_or_me: "vendorIdOrMe",
35816
- RequestBody: "requestBody"
35817
- });
35818
- });
35819
- DeleteVendorManagedByCompanyRequest$outboundSchema = objectType({
35820
- vendorIdOrMe: stringType(),
35821
- requestBody: lazyType(() => DeleteVendorManagedByCompanyRequestBody$outboundSchema)
35822
- }).transform((v2) => {
35823
- return remap(v2, {
35824
- vendorIdOrMe: "vendor_id_or_me",
35825
- requestBody: "RequestBody"
35826
- });
35827
- });
35828
- ((DeleteVendorManagedByCompanyRequest$) => {
35829
- DeleteVendorManagedByCompanyRequest$.inboundSchema = DeleteVendorManagedByCompanyRequest$inboundSchema;
35830
- DeleteVendorManagedByCompanyRequest$.outboundSchema = DeleteVendorManagedByCompanyRequest$outboundSchema;
35831
- })(DeleteVendorManagedByCompanyRequest$ ||= {});
35832
- DeleteVendorManagedByCompanyResponseBody$inboundSchema = objectType({
35833
- success: booleanType()
35834
- });
35835
- DeleteVendorManagedByCompanyResponseBody$outboundSchema = objectType({
35836
- success: booleanType()
35837
- });
35838
- ((DeleteVendorManagedByCompanyResponseBody$) => {
35839
- DeleteVendorManagedByCompanyResponseBody$.inboundSchema = DeleteVendorManagedByCompanyResponseBody$inboundSchema;
35840
- DeleteVendorManagedByCompanyResponseBody$.outboundSchema = DeleteVendorManagedByCompanyResponseBody$outboundSchema;
35841
- })(DeleteVendorManagedByCompanyResponseBody$ ||= {});
35842
- });
35843
-
35844
- // src/models/operations/expeditetimeremaining.ts
35845
- var ExpediteTimeRemainingRequest$inboundSchema, ExpediteTimeRemainingRequest$outboundSchema, ExpediteTimeRemainingRequest$, ExpediteTimeRemainingResponseBody$inboundSchema, ExpediteTimeRemainingResponseBody$outboundSchema, ExpediteTimeRemainingResponseBody$;
35846
- var init_expeditetimeremaining = __esm(() => {
35847
- init_lib();
35848
- init_primitives();
35849
- ExpediteTimeRemainingRequest$inboundSchema = objectType({
35850
- vendor_id_or_me: stringType()
35851
- }).transform((v2) => {
35852
- return remap(v2, {
35853
- vendor_id_or_me: "vendorIdOrMe"
35854
- });
35855
- });
35856
- ExpediteTimeRemainingRequest$outboundSchema = objectType({
35857
- vendorIdOrMe: stringType()
35858
- }).transform((v2) => {
35859
- return remap(v2, {
35860
- vendorIdOrMe: "vendor_id_or_me"
35861
- });
35862
- });
35863
- ((ExpediteTimeRemainingRequest$) => {
35864
- ExpediteTimeRemainingRequest$.inboundSchema = ExpediteTimeRemainingRequest$inboundSchema;
35865
- ExpediteTimeRemainingRequest$.outboundSchema = ExpediteTimeRemainingRequest$outboundSchema;
35866
- })(ExpediteTimeRemainingRequest$ ||= {});
35867
- ExpediteTimeRemainingResponseBody$inboundSchema = objectType({
35868
- seconds_remaining: numberType().int()
35869
- }).transform((v2) => {
35870
- return remap(v2, {
35871
- seconds_remaining: "secondsRemaining"
35872
- });
35873
- });
35874
- ExpediteTimeRemainingResponseBody$outboundSchema = objectType({
35875
- secondsRemaining: numberType().int()
35876
- }).transform((v2) => {
35877
- return remap(v2, {
35878
- secondsRemaining: "seconds_remaining"
35879
- });
35880
- });
35881
- ((ExpediteTimeRemainingResponseBody$) => {
35882
- ExpediteTimeRemainingResponseBody$.inboundSchema = ExpediteTimeRemainingResponseBody$inboundSchema;
35883
- ExpediteTimeRemainingResponseBody$.outboundSchema = ExpediteTimeRemainingResponseBody$outboundSchema;
35884
- })(ExpediteTimeRemainingResponseBody$ ||= {});
35885
- });
35886
-
35887
- // src/models/operations/getfacility.ts
35888
- var GetFacilityRequest$inboundSchema, GetFacilityRequest$outboundSchema, GetFacilityRequest$;
35889
- var init_getfacility = __esm(() => {
35890
- init_lib();
35891
- GetFacilityRequest$inboundSchema = objectType({
35892
- id: numberType().int()
35893
- });
35894
- GetFacilityRequest$outboundSchema = objectType({
35895
- id: numberType().int()
35896
- });
35897
- ((GetFacilityRequest$) => {
35898
- GetFacilityRequest$.inboundSchema = GetFacilityRequest$inboundSchema;
35899
- GetFacilityRequest$.outboundSchema = GetFacilityRequest$outboundSchema;
35900
- })(GetFacilityRequest$ ||= {});
35901
- });
35902
-
35903
35732
  // src/models/components/activestatus.ts
35904
35733
  var ActiveStatus, ActiveStatus$inboundSchema, ActiveStatus$outboundSchema, ActiveStatus$;
35905
35734
  var init_activestatus = __esm(() => {
@@ -37371,6 +37200,71 @@ var init_security2 = __esm(() => {
37371
37200
  })(Security$ ||= {});
37372
37201
  });
37373
37202
 
37203
+ // src/models/components/state.ts
37204
+ var State, State$inboundSchema, State$outboundSchema, State$;
37205
+ var init_state = __esm(() => {
37206
+ init_lib();
37207
+ State = {
37208
+ Al: "AL",
37209
+ Ak: "AK",
37210
+ Az: "AZ",
37211
+ Ar: "AR",
37212
+ Ca: "CA",
37213
+ Co: "CO",
37214
+ Ct: "CT",
37215
+ De: "DE",
37216
+ Dc: "DC",
37217
+ Fl: "FL",
37218
+ Ga: "GA",
37219
+ Hi: "HI",
37220
+ Id: "ID",
37221
+ Il: "IL",
37222
+ In: "IN",
37223
+ Ia: "IA",
37224
+ Ks: "KS",
37225
+ Ky: "KY",
37226
+ La: "LA",
37227
+ Me: "ME",
37228
+ Md: "MD",
37229
+ Ma: "MA",
37230
+ Mi: "MI",
37231
+ Mn: "MN",
37232
+ Ms: "MS",
37233
+ Mo: "MO",
37234
+ Mt: "MT",
37235
+ Ne: "NE",
37236
+ Nv: "NV",
37237
+ Nh: "NH",
37238
+ Nj: "NJ",
37239
+ Nm: "NM",
37240
+ Ny: "NY",
37241
+ Nc: "NC",
37242
+ Nd: "ND",
37243
+ Oh: "OH",
37244
+ Ok: "OK",
37245
+ Or: "OR",
37246
+ Pa: "PA",
37247
+ Ri: "RI",
37248
+ Sc: "SC",
37249
+ Sd: "SD",
37250
+ Tn: "TN",
37251
+ Tx: "TX",
37252
+ Ut: "UT",
37253
+ Vt: "VT",
37254
+ Va: "VA",
37255
+ Wa: "WA",
37256
+ Wv: "WV",
37257
+ Wi: "WI",
37258
+ Wy: "WY"
37259
+ };
37260
+ State$inboundSchema = nativeEnumType(State);
37261
+ State$outboundSchema = State$inboundSchema;
37262
+ ((State$) => {
37263
+ State$.inboundSchema = State$inboundSchema;
37264
+ State$.outboundSchema = State$outboundSchema;
37265
+ })(State$ ||= {});
37266
+ });
37267
+
37374
37268
  // src/models/components/subscription.ts
37375
37269
  var Subscription$inboundSchema, Subscription$outboundSchema, Subscription$;
37376
37270
  var init_subscription = __esm(() => {
@@ -37470,63 +37364,11 @@ var init_supportarticle = __esm(() => {
37470
37364
  });
37471
37365
 
37472
37366
  // src/models/components/userlocation.ts
37473
- var State, Timezone, State$inboundSchema, State$outboundSchema, State$, Timezone$inboundSchema, Timezone$outboundSchema, Timezone$, UserLocation$inboundSchema, UserLocation$outboundSchema, UserLocation$;
37367
+ var Timezone, Timezone$inboundSchema, Timezone$outboundSchema, Timezone$, UserLocation$inboundSchema, UserLocation$outboundSchema, UserLocation$;
37474
37368
  var init_userlocation = __esm(() => {
37475
37369
  init_lib();
37476
37370
  init_primitives();
37477
- State = {
37478
- Al: "AL",
37479
- Ak: "AK",
37480
- Az: "AZ",
37481
- Ar: "AR",
37482
- Ca: "CA",
37483
- Co: "CO",
37484
- Ct: "CT",
37485
- De: "DE",
37486
- Dc: "DC",
37487
- Fl: "FL",
37488
- Ga: "GA",
37489
- Hi: "HI",
37490
- Id: "ID",
37491
- Il: "IL",
37492
- In: "IN",
37493
- Ia: "IA",
37494
- Ks: "KS",
37495
- Ky: "KY",
37496
- La: "LA",
37497
- Me: "ME",
37498
- Md: "MD",
37499
- Ma: "MA",
37500
- Mi: "MI",
37501
- Mn: "MN",
37502
- Ms: "MS",
37503
- Mo: "MO",
37504
- Mt: "MT",
37505
- Ne: "NE",
37506
- Nv: "NV",
37507
- Nh: "NH",
37508
- Nj: "NJ",
37509
- Nm: "NM",
37510
- Ny: "NY",
37511
- Nc: "NC",
37512
- Nd: "ND",
37513
- Oh: "OH",
37514
- Ok: "OK",
37515
- Or: "OR",
37516
- Pa: "PA",
37517
- Ri: "RI",
37518
- Sc: "SC",
37519
- Sd: "SD",
37520
- Tn: "TN",
37521
- Tx: "TX",
37522
- Ut: "UT",
37523
- Vt: "VT",
37524
- Va: "VA",
37525
- Wa: "WA",
37526
- Wv: "WV",
37527
- Wi: "WI",
37528
- Wy: "WY"
37529
- };
37371
+ init_state();
37530
37372
  Timezone = {
37531
37373
  InternationalDateLineWest: "International Date Line West",
37532
37374
  MidwayIsland: "Midway Island",
@@ -37680,12 +37522,6 @@ var init_userlocation = __esm(() => {
37680
37522
  ChathamIs: "Chatham Is.",
37681
37523
  Samoa: "Samoa"
37682
37524
  };
37683
- State$inboundSchema = nativeEnumType(State);
37684
- State$outboundSchema = State$inboundSchema;
37685
- ((State$) => {
37686
- State$.inboundSchema = State$inboundSchema;
37687
- State$.outboundSchema = State$outboundSchema;
37688
- })(State$ ||= {});
37689
37525
  Timezone$inboundSchema = nativeEnumType(Timezone);
37690
37526
  Timezone$outboundSchema = Timezone$inboundSchema;
37691
37527
  ((Timezone$) => {
@@ -38519,132 +38355,380 @@ var init_vendorscrubpurchase = __esm(() => {
38519
38355
  purchaseDate: "purchase_date"
38520
38356
  });
38521
38357
  });
38522
- ((VendorScrubPurchase$) => {
38523
- VendorScrubPurchase$.inboundSchema = VendorScrubPurchase$inboundSchema;
38524
- VendorScrubPurchase$.outboundSchema = VendorScrubPurchase$outboundSchema;
38525
- })(VendorScrubPurchase$ ||= {});
38358
+ ((VendorScrubPurchase$) => {
38359
+ VendorScrubPurchase$.inboundSchema = VendorScrubPurchase$inboundSchema;
38360
+ VendorScrubPurchase$.outboundSchema = VendorScrubPurchase$outboundSchema;
38361
+ })(VendorScrubPurchase$ ||= {});
38362
+ });
38363
+
38364
+ // src/models/components/webhookendpoint.ts
38365
+ var SignatureAlgo, SignatureAlgo$inboundSchema, SignatureAlgo$outboundSchema, SignatureAlgo$, Consumers$inboundSchema, Consumers$outboundSchema, Consumers$, WebhookEndpoint$inboundSchema, WebhookEndpoint$outboundSchema, WebhookEndpoint$;
38366
+ var init_webhookendpoint = __esm(() => {
38367
+ init_lib();
38368
+ init_primitives();
38369
+ SignatureAlgo = {
38370
+ SigHmacSha256: "sig_hmac_sha256"
38371
+ };
38372
+ SignatureAlgo$inboundSchema = nativeEnumType(SignatureAlgo);
38373
+ SignatureAlgo$outboundSchema = SignatureAlgo$inboundSchema;
38374
+ ((SignatureAlgo$) => {
38375
+ SignatureAlgo$.inboundSchema = SignatureAlgo$inboundSchema;
38376
+ SignatureAlgo$.outboundSchema = SignatureAlgo$outboundSchema;
38377
+ })(SignatureAlgo$ ||= {});
38378
+ Consumers$inboundSchema = objectType({
38379
+ system_id: nullableType(numberType().int()).optional(),
38380
+ facility_id: nullableType(numberType().int()).optional(),
38381
+ company_id: nullableType(numberType().int()).optional(),
38382
+ user_id: nullableType(numberType().int()).optional()
38383
+ }).transform((v2) => {
38384
+ return remap(v2, {
38385
+ system_id: "systemId",
38386
+ facility_id: "facilityId",
38387
+ company_id: "companyId",
38388
+ user_id: "userId"
38389
+ });
38390
+ });
38391
+ Consumers$outboundSchema = objectType({
38392
+ systemId: nullableType(numberType().int()).optional(),
38393
+ facilityId: nullableType(numberType().int()).optional(),
38394
+ companyId: nullableType(numberType().int()).optional(),
38395
+ userId: nullableType(numberType().int()).optional()
38396
+ }).transform((v2) => {
38397
+ return remap(v2, {
38398
+ systemId: "system_id",
38399
+ facilityId: "facility_id",
38400
+ companyId: "company_id",
38401
+ userId: "user_id"
38402
+ });
38403
+ });
38404
+ ((Consumers$) => {
38405
+ Consumers$.inboundSchema = Consumers$inboundSchema;
38406
+ Consumers$.outboundSchema = Consumers$outboundSchema;
38407
+ })(Consumers$ ||= {});
38408
+ WebhookEndpoint$inboundSchema = objectType({
38409
+ id: numberType().int(),
38410
+ webhook_url: stringType(),
38411
+ signature_algo: SignatureAlgo$inboundSchema.default("sig_hmac_sha256"),
38412
+ subscriptions: nullableType(arrayType(stringType())),
38413
+ consumers: lazyType(() => Consumers$inboundSchema),
38414
+ secrets: nullableType(arrayType(stringType())).optional()
38415
+ }).transform((v2) => {
38416
+ return remap(v2, {
38417
+ webhook_url: "webhookUrl",
38418
+ signature_algo: "signatureAlgo"
38419
+ });
38420
+ });
38421
+ WebhookEndpoint$outboundSchema = objectType({
38422
+ id: numberType().int(),
38423
+ webhookUrl: stringType(),
38424
+ signatureAlgo: SignatureAlgo$outboundSchema.default("sig_hmac_sha256"),
38425
+ subscriptions: nullableType(arrayType(stringType())),
38426
+ consumers: lazyType(() => Consumers$outboundSchema),
38427
+ secrets: nullableType(arrayType(stringType())).optional()
38428
+ }).transform((v2) => {
38429
+ return remap(v2, {
38430
+ webhookUrl: "webhook_url",
38431
+ signatureAlgo: "signature_algo"
38432
+ });
38433
+ });
38434
+ ((WebhookEndpoint$) => {
38435
+ WebhookEndpoint$.inboundSchema = WebhookEndpoint$inboundSchema;
38436
+ WebhookEndpoint$.outboundSchema = WebhookEndpoint$outboundSchema;
38437
+ })(WebhookEndpoint$ ||= {});
38438
+ });
38439
+
38440
+ // src/models/components/index.ts
38441
+ var init_components = __esm(() => {
38442
+ init_activestatus();
38443
+ init_company();
38444
+ init_contact();
38445
+ init_credentialstatus();
38446
+ init_credit();
38447
+ init_department();
38448
+ init_departmentsummary();
38449
+ init_desc();
38450
+ init_expand();
38451
+ init_facility();
38452
+ init_facilitysummary();
38453
+ init_imageset();
38454
+ init_invoice();
38455
+ init_invoiceitem();
38456
+ init_invoicetransaction();
38457
+ init_loginemailandpassword();
38458
+ init_loginrequirementsfromemail();
38459
+ init_mfarequiredresponse();
38460
+ init_pager();
38461
+ init_passwordrequiredresponse();
38462
+ init_productvariant();
38463
+ init_samlloginrequiredresponse();
38464
+ init_scantype();
38465
+ init_security2();
38466
+ init_state();
38467
+ init_subscription();
38468
+ init_supervisor();
38469
+ init_supportarticle();
38470
+ init_systemsummary();
38471
+ init_user();
38472
+ init_userlocation();
38473
+ init_vendor();
38474
+ init_vendoradditionalfacilityfields();
38475
+ init_vendorcredentialscontainer();
38476
+ init_vendorcredentialsummary();
38477
+ init_vendorfacilitystatusview();
38478
+ init_vendorjobtitle();
38479
+ init_vendormanagedbycompany();
38480
+ init_vendorrequiredcredential();
38481
+ init_vendorscrubdetails();
38482
+ init_vendorscrubpurchase();
38483
+ init_vendortype();
38484
+ init_webhookendpoint();
38485
+ });
38486
+
38487
+ // src/models/operations/createvendorcompany.ts
38488
+ var CreateVendorCompanyRequestBody$inboundSchema, CreateVendorCompanyRequestBody$outboundSchema, CreateVendorCompanyRequestBody$, CreateVendorCompanyRequest$inboundSchema, CreateVendorCompanyRequest$outboundSchema, CreateVendorCompanyRequest$, CreateVendorCompanyResponseBody$inboundSchema, CreateVendorCompanyResponseBody$outboundSchema, CreateVendorCompanyResponseBody$;
38489
+ var init_createvendorcompany = __esm(() => {
38490
+ init_lib();
38491
+ init_primitives();
38492
+ init_components();
38493
+ CreateVendorCompanyRequestBody$inboundSchema = objectType({
38494
+ name: stringType(),
38495
+ address: stringType(),
38496
+ city: stringType(),
38497
+ state: nullableType(State$inboundSchema),
38498
+ zip: stringType(),
38499
+ tax_id: stringType()
38500
+ }).transform((v2) => {
38501
+ return remap(v2, {
38502
+ tax_id: "taxId"
38503
+ });
38504
+ });
38505
+ CreateVendorCompanyRequestBody$outboundSchema = objectType({
38506
+ name: stringType(),
38507
+ address: stringType(),
38508
+ city: stringType(),
38509
+ state: nullableType(State$outboundSchema),
38510
+ zip: stringType(),
38511
+ taxId: stringType()
38512
+ }).transform((v2) => {
38513
+ return remap(v2, {
38514
+ taxId: "tax_id"
38515
+ });
38516
+ });
38517
+ ((CreateVendorCompanyRequestBody$) => {
38518
+ CreateVendorCompanyRequestBody$.inboundSchema = CreateVendorCompanyRequestBody$inboundSchema;
38519
+ CreateVendorCompanyRequestBody$.outboundSchema = CreateVendorCompanyRequestBody$outboundSchema;
38520
+ })(CreateVendorCompanyRequestBody$ ||= {});
38521
+ CreateVendorCompanyRequest$inboundSchema = objectType({
38522
+ vendor_id_or_me: stringType(),
38523
+ RequestBody: lazyType(() => CreateVendorCompanyRequestBody$inboundSchema)
38524
+ }).transform((v2) => {
38525
+ return remap(v2, {
38526
+ vendor_id_or_me: "vendorIdOrMe",
38527
+ RequestBody: "requestBody"
38528
+ });
38529
+ });
38530
+ CreateVendorCompanyRequest$outboundSchema = objectType({
38531
+ vendorIdOrMe: stringType(),
38532
+ requestBody: lazyType(() => CreateVendorCompanyRequestBody$outboundSchema)
38533
+ }).transform((v2) => {
38534
+ return remap(v2, {
38535
+ vendorIdOrMe: "vendor_id_or_me",
38536
+ requestBody: "RequestBody"
38537
+ });
38538
+ });
38539
+ ((CreateVendorCompanyRequest$) => {
38540
+ CreateVendorCompanyRequest$.inboundSchema = CreateVendorCompanyRequest$inboundSchema;
38541
+ CreateVendorCompanyRequest$.outboundSchema = CreateVendorCompanyRequest$outboundSchema;
38542
+ })(CreateVendorCompanyRequest$ ||= {});
38543
+ CreateVendorCompanyResponseBody$inboundSchema = objectType({
38544
+ company_id: numberType().int().optional()
38545
+ }).transform((v2) => {
38546
+ return remap(v2, {
38547
+ company_id: "companyId"
38548
+ });
38549
+ });
38550
+ CreateVendorCompanyResponseBody$outboundSchema = objectType({
38551
+ companyId: numberType().int().optional()
38552
+ }).transform((v2) => {
38553
+ return remap(v2, {
38554
+ companyId: "company_id"
38555
+ });
38556
+ });
38557
+ ((CreateVendorCompanyResponseBody$) => {
38558
+ CreateVendorCompanyResponseBody$.inboundSchema = CreateVendorCompanyResponseBody$inboundSchema;
38559
+ CreateVendorCompanyResponseBody$.outboundSchema = CreateVendorCompanyResponseBody$outboundSchema;
38560
+ })(CreateVendorCompanyResponseBody$ ||= {});
38561
+ });
38562
+
38563
+ // src/models/operations/createvendorregistration.ts
38564
+ var CreateVendorRegistrationRequestBody$inboundSchema, CreateVendorRegistrationRequestBody$outboundSchema, CreateVendorRegistrationRequestBody$, Data$inboundSchema, Data$outboundSchema, Data$, CreateVendorRegistrationCreateVendorRegistrationCreated$inboundSchema, CreateVendorRegistrationCreateVendorRegistrationCreated$outboundSchema, CreateVendorRegistrationCreateVendorRegistrationCreated$;
38565
+ var init_createvendorregistration = __esm(() => {
38566
+ init_lib();
38567
+ init_primitives();
38568
+ CreateVendorRegistrationRequestBody$inboundSchema = objectType({
38569
+ email: stringType(),
38570
+ password: stringType(),
38571
+ timezone: stringType().optional(),
38572
+ affiliate_id: numberType().int().optional(),
38573
+ vendor_group_id: numberType().int().optional(),
38574
+ managing_company_id: numberType().int().optional()
38575
+ }).transform((v2) => {
38576
+ return remap(v2, {
38577
+ affiliate_id: "affiliateId",
38578
+ vendor_group_id: "vendorGroupId",
38579
+ managing_company_id: "managingCompanyId"
38580
+ });
38581
+ });
38582
+ CreateVendorRegistrationRequestBody$outboundSchema = objectType({
38583
+ email: stringType(),
38584
+ password: stringType(),
38585
+ timezone: stringType().optional(),
38586
+ affiliateId: numberType().int().optional(),
38587
+ vendorGroupId: numberType().int().optional(),
38588
+ managingCompanyId: numberType().int().optional()
38589
+ }).transform((v2) => {
38590
+ return remap(v2, {
38591
+ affiliateId: "affiliate_id",
38592
+ vendorGroupId: "vendor_group_id",
38593
+ managingCompanyId: "managing_company_id"
38594
+ });
38595
+ });
38596
+ ((CreateVendorRegistrationRequestBody$) => {
38597
+ CreateVendorRegistrationRequestBody$.inboundSchema = CreateVendorRegistrationRequestBody$inboundSchema;
38598
+ CreateVendorRegistrationRequestBody$.outboundSchema = CreateVendorRegistrationRequestBody$outboundSchema;
38599
+ })(CreateVendorRegistrationRequestBody$ ||= {});
38600
+ Data$inboundSchema = objectType({});
38601
+ Data$outboundSchema = objectType({});
38602
+ ((Data$) => {
38603
+ Data$.inboundSchema = Data$inboundSchema;
38604
+ Data$.outboundSchema = Data$outboundSchema;
38605
+ })(Data$ ||= {});
38606
+ CreateVendorRegistrationCreateVendorRegistrationCreated$inboundSchema = objectType({
38607
+ data: lazyType(() => Data$inboundSchema)
38608
+ });
38609
+ CreateVendorRegistrationCreateVendorRegistrationCreated$outboundSchema = objectType({
38610
+ data: lazyType(() => Data$outboundSchema)
38611
+ });
38612
+ ((CreateVendorRegistrationCreateVendorRegistrationCreated$) => {
38613
+ CreateVendorRegistrationCreateVendorRegistrationCreated$.inboundSchema = CreateVendorRegistrationCreateVendorRegistrationCreated$inboundSchema;
38614
+ CreateVendorRegistrationCreateVendorRegistrationCreated$.outboundSchema = CreateVendorRegistrationCreateVendorRegistrationCreated$outboundSchema;
38615
+ })(CreateVendorRegistrationCreateVendorRegistrationCreated$ ||= {});
38616
+ });
38617
+
38618
+ // src/models/operations/deletevendormanagedbycompany.ts
38619
+ var DeleteVendorManagedByCompanyRequestBody$inboundSchema, DeleteVendorManagedByCompanyRequestBody$outboundSchema, DeleteVendorManagedByCompanyRequestBody$, DeleteVendorManagedByCompanyRequest$inboundSchema, DeleteVendorManagedByCompanyRequest$outboundSchema, DeleteVendorManagedByCompanyRequest$, DeleteVendorManagedByCompanyResponseBody$inboundSchema, DeleteVendorManagedByCompanyResponseBody$outboundSchema, DeleteVendorManagedByCompanyResponseBody$;
38620
+ var init_deletevendormanagedbycompany = __esm(() => {
38621
+ init_lib();
38622
+ init_primitives();
38623
+ DeleteVendorManagedByCompanyRequestBody$inboundSchema = objectType({
38624
+ managed_vendor_id: numberType().int()
38625
+ }).transform((v2) => {
38626
+ return remap(v2, {
38627
+ managed_vendor_id: "managedVendorId"
38628
+ });
38629
+ });
38630
+ DeleteVendorManagedByCompanyRequestBody$outboundSchema = objectType({
38631
+ managedVendorId: numberType().int()
38632
+ }).transform((v2) => {
38633
+ return remap(v2, {
38634
+ managedVendorId: "managed_vendor_id"
38635
+ });
38636
+ });
38637
+ ((DeleteVendorManagedByCompanyRequestBody$) => {
38638
+ DeleteVendorManagedByCompanyRequestBody$.inboundSchema = DeleteVendorManagedByCompanyRequestBody$inboundSchema;
38639
+ DeleteVendorManagedByCompanyRequestBody$.outboundSchema = DeleteVendorManagedByCompanyRequestBody$outboundSchema;
38640
+ })(DeleteVendorManagedByCompanyRequestBody$ ||= {});
38641
+ DeleteVendorManagedByCompanyRequest$inboundSchema = objectType({
38642
+ vendor_id_or_me: stringType(),
38643
+ RequestBody: lazyType(() => DeleteVendorManagedByCompanyRequestBody$inboundSchema)
38644
+ }).transform((v2) => {
38645
+ return remap(v2, {
38646
+ vendor_id_or_me: "vendorIdOrMe",
38647
+ RequestBody: "requestBody"
38648
+ });
38649
+ });
38650
+ DeleteVendorManagedByCompanyRequest$outboundSchema = objectType({
38651
+ vendorIdOrMe: stringType(),
38652
+ requestBody: lazyType(() => DeleteVendorManagedByCompanyRequestBody$outboundSchema)
38653
+ }).transform((v2) => {
38654
+ return remap(v2, {
38655
+ vendorIdOrMe: "vendor_id_or_me",
38656
+ requestBody: "RequestBody"
38657
+ });
38658
+ });
38659
+ ((DeleteVendorManagedByCompanyRequest$) => {
38660
+ DeleteVendorManagedByCompanyRequest$.inboundSchema = DeleteVendorManagedByCompanyRequest$inboundSchema;
38661
+ DeleteVendorManagedByCompanyRequest$.outboundSchema = DeleteVendorManagedByCompanyRequest$outboundSchema;
38662
+ })(DeleteVendorManagedByCompanyRequest$ ||= {});
38663
+ DeleteVendorManagedByCompanyResponseBody$inboundSchema = objectType({
38664
+ success: booleanType()
38665
+ });
38666
+ DeleteVendorManagedByCompanyResponseBody$outboundSchema = objectType({
38667
+ success: booleanType()
38668
+ });
38669
+ ((DeleteVendorManagedByCompanyResponseBody$) => {
38670
+ DeleteVendorManagedByCompanyResponseBody$.inboundSchema = DeleteVendorManagedByCompanyResponseBody$inboundSchema;
38671
+ DeleteVendorManagedByCompanyResponseBody$.outboundSchema = DeleteVendorManagedByCompanyResponseBody$outboundSchema;
38672
+ })(DeleteVendorManagedByCompanyResponseBody$ ||= {});
38526
38673
  });
38527
38674
 
38528
- // src/models/components/webhookendpoint.ts
38529
- var SignatureAlgo, SignatureAlgo$inboundSchema, SignatureAlgo$outboundSchema, SignatureAlgo$, Consumers$inboundSchema, Consumers$outboundSchema, Consumers$, WebhookEndpoint$inboundSchema, WebhookEndpoint$outboundSchema, WebhookEndpoint$;
38530
- var init_webhookendpoint = __esm(() => {
38675
+ // src/models/operations/expeditetimeremaining.ts
38676
+ var ExpediteTimeRemainingRequest$inboundSchema, ExpediteTimeRemainingRequest$outboundSchema, ExpediteTimeRemainingRequest$, ExpediteTimeRemainingResponseBody$inboundSchema, ExpediteTimeRemainingResponseBody$outboundSchema, ExpediteTimeRemainingResponseBody$;
38677
+ var init_expeditetimeremaining = __esm(() => {
38531
38678
  init_lib();
38532
38679
  init_primitives();
38533
- SignatureAlgo = {
38534
- SigHmacSha256: "sig_hmac_sha256"
38535
- };
38536
- SignatureAlgo$inboundSchema = nativeEnumType(SignatureAlgo);
38537
- SignatureAlgo$outboundSchema = SignatureAlgo$inboundSchema;
38538
- ((SignatureAlgo$) => {
38539
- SignatureAlgo$.inboundSchema = SignatureAlgo$inboundSchema;
38540
- SignatureAlgo$.outboundSchema = SignatureAlgo$outboundSchema;
38541
- })(SignatureAlgo$ ||= {});
38542
- Consumers$inboundSchema = objectType({
38543
- system_id: nullableType(numberType().int()).optional(),
38544
- facility_id: nullableType(numberType().int()).optional(),
38545
- company_id: nullableType(numberType().int()).optional(),
38546
- user_id: nullableType(numberType().int()).optional()
38680
+ ExpediteTimeRemainingRequest$inboundSchema = objectType({
38681
+ vendor_id_or_me: stringType()
38547
38682
  }).transform((v2) => {
38548
38683
  return remap(v2, {
38549
- system_id: "systemId",
38550
- facility_id: "facilityId",
38551
- company_id: "companyId",
38552
- user_id: "userId"
38684
+ vendor_id_or_me: "vendorIdOrMe"
38553
38685
  });
38554
38686
  });
38555
- Consumers$outboundSchema = objectType({
38556
- systemId: nullableType(numberType().int()).optional(),
38557
- facilityId: nullableType(numberType().int()).optional(),
38558
- companyId: nullableType(numberType().int()).optional(),
38559
- userId: nullableType(numberType().int()).optional()
38687
+ ExpediteTimeRemainingRequest$outboundSchema = objectType({
38688
+ vendorIdOrMe: stringType()
38560
38689
  }).transform((v2) => {
38561
38690
  return remap(v2, {
38562
- systemId: "system_id",
38563
- facilityId: "facility_id",
38564
- companyId: "company_id",
38565
- userId: "user_id"
38691
+ vendorIdOrMe: "vendor_id_or_me"
38566
38692
  });
38567
38693
  });
38568
- ((Consumers$) => {
38569
- Consumers$.inboundSchema = Consumers$inboundSchema;
38570
- Consumers$.outboundSchema = Consumers$outboundSchema;
38571
- })(Consumers$ ||= {});
38572
- WebhookEndpoint$inboundSchema = objectType({
38573
- id: numberType().int(),
38574
- webhook_url: stringType(),
38575
- signature_algo: SignatureAlgo$inboundSchema.default("sig_hmac_sha256"),
38576
- subscriptions: nullableType(arrayType(stringType())),
38577
- consumers: lazyType(() => Consumers$inboundSchema),
38578
- secrets: nullableType(arrayType(stringType())).optional()
38694
+ ((ExpediteTimeRemainingRequest$) => {
38695
+ ExpediteTimeRemainingRequest$.inboundSchema = ExpediteTimeRemainingRequest$inboundSchema;
38696
+ ExpediteTimeRemainingRequest$.outboundSchema = ExpediteTimeRemainingRequest$outboundSchema;
38697
+ })(ExpediteTimeRemainingRequest$ ||= {});
38698
+ ExpediteTimeRemainingResponseBody$inboundSchema = objectType({
38699
+ seconds_remaining: numberType().int()
38579
38700
  }).transform((v2) => {
38580
38701
  return remap(v2, {
38581
- webhook_url: "webhookUrl",
38582
- signature_algo: "signatureAlgo"
38702
+ seconds_remaining: "secondsRemaining"
38583
38703
  });
38584
38704
  });
38585
- WebhookEndpoint$outboundSchema = objectType({
38586
- id: numberType().int(),
38587
- webhookUrl: stringType(),
38588
- signatureAlgo: SignatureAlgo$outboundSchema.default("sig_hmac_sha256"),
38589
- subscriptions: nullableType(arrayType(stringType())),
38590
- consumers: lazyType(() => Consumers$outboundSchema),
38591
- secrets: nullableType(arrayType(stringType())).optional()
38705
+ ExpediteTimeRemainingResponseBody$outboundSchema = objectType({
38706
+ secondsRemaining: numberType().int()
38592
38707
  }).transform((v2) => {
38593
38708
  return remap(v2, {
38594
- webhookUrl: "webhook_url",
38595
- signatureAlgo: "signature_algo"
38709
+ secondsRemaining: "seconds_remaining"
38596
38710
  });
38597
38711
  });
38598
- ((WebhookEndpoint$) => {
38599
- WebhookEndpoint$.inboundSchema = WebhookEndpoint$inboundSchema;
38600
- WebhookEndpoint$.outboundSchema = WebhookEndpoint$outboundSchema;
38601
- })(WebhookEndpoint$ ||= {});
38712
+ ((ExpediteTimeRemainingResponseBody$) => {
38713
+ ExpediteTimeRemainingResponseBody$.inboundSchema = ExpediteTimeRemainingResponseBody$inboundSchema;
38714
+ ExpediteTimeRemainingResponseBody$.outboundSchema = ExpediteTimeRemainingResponseBody$outboundSchema;
38715
+ })(ExpediteTimeRemainingResponseBody$ ||= {});
38602
38716
  });
38603
38717
 
38604
- // src/models/components/index.ts
38605
- var init_components = __esm(() => {
38606
- init_activestatus();
38607
- init_company();
38608
- init_contact();
38609
- init_credentialstatus();
38610
- init_credit();
38611
- init_department();
38612
- init_departmentsummary();
38613
- init_desc();
38614
- init_expand();
38615
- init_facility();
38616
- init_facilitysummary();
38617
- init_imageset();
38618
- init_invoice();
38619
- init_invoiceitem();
38620
- init_invoicetransaction();
38621
- init_loginemailandpassword();
38622
- init_loginrequirementsfromemail();
38623
- init_mfarequiredresponse();
38624
- init_pager();
38625
- init_passwordrequiredresponse();
38626
- init_productvariant();
38627
- init_samlloginrequiredresponse();
38628
- init_scantype();
38629
- init_security2();
38630
- init_subscription();
38631
- init_supervisor();
38632
- init_supportarticle();
38633
- init_systemsummary();
38634
- init_user();
38635
- init_userlocation();
38636
- init_vendor();
38637
- init_vendoradditionalfacilityfields();
38638
- init_vendorcredentialscontainer();
38639
- init_vendorcredentialsummary();
38640
- init_vendorfacilitystatusview();
38641
- init_vendorjobtitle();
38642
- init_vendormanagedbycompany();
38643
- init_vendorrequiredcredential();
38644
- init_vendorscrubdetails();
38645
- init_vendorscrubpurchase();
38646
- init_vendortype();
38647
- init_webhookendpoint();
38718
+ // src/models/operations/getfacility.ts
38719
+ var GetFacilityRequest$inboundSchema, GetFacilityRequest$outboundSchema, GetFacilityRequest$;
38720
+ var init_getfacility = __esm(() => {
38721
+ init_lib();
38722
+ GetFacilityRequest$inboundSchema = objectType({
38723
+ id: numberType().int()
38724
+ });
38725
+ GetFacilityRequest$outboundSchema = objectType({
38726
+ id: numberType().int()
38727
+ });
38728
+ ((GetFacilityRequest$) => {
38729
+ GetFacilityRequest$.inboundSchema = GetFacilityRequest$inboundSchema;
38730
+ GetFacilityRequest$.outboundSchema = GetFacilityRequest$outboundSchema;
38731
+ })(GetFacilityRequest$ ||= {});
38648
38732
  });
38649
38733
 
38650
38734
  // src/models/operations/getsupportarticle.ts
@@ -40258,6 +40342,7 @@ var init_vendorscanout = __esm(() => {
40258
40342
  var init_operations = __esm(() => {
40259
40343
  init_addvendormanagedbycompany();
40260
40344
  init_changepassword();
40345
+ init_createvendorcompany();
40261
40346
  init_createvendorregistration();
40262
40347
  init_deletevendormanagedbycompany();
40263
40348
  init_expeditetimeremaining();
@@ -41797,7 +41882,112 @@ async function $do13(client, request, options) {
41797
41882
  }
41798
41883
  return [result, { status: "complete", request: req, response }];
41799
41884
  }
41800
- var init_vendorsAddVendorManagedByCompany = __esm(() => {
41885
+ var init_vendorsAddVendorManagedByCompany = __esm(() => {
41886
+ init_encodings();
41887
+ init_matchers();
41888
+ init_primitives();
41889
+ init_schemas();
41890
+ init_security();
41891
+ init_url();
41892
+ init_errors();
41893
+ init_operations();
41894
+ init_async();
41895
+ });
41896
+
41897
+ // src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
41898
+ var args12, tool$vendorsAddVendorManagedByCompany;
41899
+ var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
41900
+ init_vendorsAddVendorManagedByCompany();
41901
+ init_operations();
41902
+ init_tools();
41903
+ args12 = {
41904
+ request: AddVendorManagedByCompanyRequest$inboundSchema
41905
+ };
41906
+ tool$vendorsAddVendorManagedByCompany = {
41907
+ name: "vendors-add-vendor-managed-by-company",
41908
+ description: `Add vendor managed by company
41909
+
41910
+ It will add a vendor managed by company`,
41911
+ args: args12,
41912
+ tool: async (client, args13, ctx) => {
41913
+ const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
41914
+ if (!result.ok) {
41915
+ return {
41916
+ content: [{ type: "text", text: result.error.message }],
41917
+ isError: true
41918
+ };
41919
+ }
41920
+ const value = result.value;
41921
+ return formatResult(value, apiCall);
41922
+ }
41923
+ };
41924
+ });
41925
+
41926
+ // src/funcs/vendorScansVendorScanOut.ts
41927
+ function vendorScansVendorScanOut(client, request, options) {
41928
+ return new APIPromise($do14(client, request, options));
41929
+ }
41930
+ async function $do14(client, request, options) {
41931
+ const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
41932
+ if (!parsed.ok) {
41933
+ return [parsed, { status: "invalid" }];
41934
+ }
41935
+ const payload = parsed.value;
41936
+ const body = null;
41937
+ const pathParams = {
41938
+ id: encodeSimple("id", payload.id, {
41939
+ explode: false,
41940
+ charEncoding: "percent"
41941
+ })
41942
+ };
41943
+ const path = pathToFunc("/vendor-scans/{id}/scan-out")(pathParams);
41944
+ const headers = new Headers(compactMap({
41945
+ Accept: "application/json"
41946
+ }));
41947
+ const securityInput = await extractSecurity(client._options.security);
41948
+ const requestSecurity = resolveGlobalSecurity(securityInput);
41949
+ const context = {
41950
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
41951
+ operationID: "vendorScanOut",
41952
+ oAuth2Scopes: [],
41953
+ resolvedSecurity: requestSecurity,
41954
+ securitySource: client._options.security,
41955
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
41956
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
41957
+ };
41958
+ const requestRes = client._createRequest(context, {
41959
+ security: requestSecurity,
41960
+ method: "POST",
41961
+ baseURL: options?.serverURL,
41962
+ path,
41963
+ headers,
41964
+ body,
41965
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
41966
+ }, options);
41967
+ if (!requestRes.ok) {
41968
+ return [requestRes, { status: "invalid" }];
41969
+ }
41970
+ const req = requestRes.value;
41971
+ const doResult = await client._do(req, {
41972
+ context,
41973
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
41974
+ retryConfig: context.retryConfig,
41975
+ retryCodes: context.retryCodes
41976
+ });
41977
+ if (!doResult.ok) {
41978
+ return [doResult, { status: "request-error", request: req }];
41979
+ }
41980
+ const response = doResult.value;
41981
+ const responseFields = {
41982
+ HttpMeta: { Response: response, Request: req }
41983
+ };
41984
+ const [result] = await match(json(200, VendorScanOutResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
41985
+ if (!result.ok) {
41986
+ return [result, { status: "complete", request: req, response }];
41987
+ }
41988
+ return [result, { status: "complete", request: req, response }];
41989
+ }
41990
+ var init_vendorScansVendorScanOut = __esm(() => {
41801
41991
  init_encodings();
41802
41992
  init_matchers();
41803
41993
  init_primitives();
@@ -41809,23 +41999,23 @@ var init_vendorsAddVendorManagedByCompany = __esm(() => {
41809
41999
  init_async();
41810
42000
  });
41811
42001
 
41812
- // src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
41813
- var args12, tool$vendorsAddVendorManagedByCompany;
41814
- var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
41815
- init_vendorsAddVendorManagedByCompany();
42002
+ // src/mcp-server/tools/vendorScansVendorScanOut.ts
42003
+ var args13, tool$vendorScansVendorScanOut;
42004
+ var init_vendorScansVendorScanOut2 = __esm(() => {
42005
+ init_vendorScansVendorScanOut();
41816
42006
  init_operations();
41817
42007
  init_tools();
41818
- args12 = {
41819
- request: AddVendorManagedByCompanyRequest$inboundSchema
42008
+ args13 = {
42009
+ request: VendorScanOutRequest$inboundSchema
41820
42010
  };
41821
- tool$vendorsAddVendorManagedByCompany = {
41822
- name: "vendors-add-vendor-managed-by-company",
41823
- description: `Add vendor managed by company
42011
+ tool$vendorScansVendorScanOut = {
42012
+ name: "vendor-scans-vendor-scan-out",
42013
+ description: `Vendor scan out
41824
42014
 
41825
- It will add a vendor managed by company`,
41826
- args: args12,
41827
- tool: async (client, args13, ctx) => {
41828
- const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42015
+ It scans out vendor from facility`,
42016
+ args: args13,
42017
+ tool: async (client, args14, ctx) => {
42018
+ const [result, apiCall] = await vendorScansVendorScanOut(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
41829
42019
  if (!result.ok) {
41830
42020
  return {
41831
42021
  content: [{ type: "text", text: result.error.message }],
@@ -41838,32 +42028,33 @@ It will add a vendor managed by company`,
41838
42028
  };
41839
42029
  });
41840
42030
 
41841
- // src/funcs/vendorScansVendorScanOut.ts
41842
- function vendorScansVendorScanOut(client, request, options) {
41843
- return new APIPromise($do14(client, request, options));
42031
+ // src/funcs/vendorsCreateVendorCompany.ts
42032
+ function vendorsCreateVendorCompany(client, request, options) {
42033
+ return new APIPromise($do15(client, request, options));
41844
42034
  }
41845
- async function $do14(client, request, options) {
41846
- const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
42035
+ async function $do15(client, request, options) {
42036
+ const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
41847
42037
  if (!parsed.ok) {
41848
42038
  return [parsed, { status: "invalid" }];
41849
42039
  }
41850
42040
  const payload = parsed.value;
41851
- const body = null;
42041
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
41852
42042
  const pathParams = {
41853
- id: encodeSimple("id", payload.id, {
42043
+ vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
41854
42044
  explode: false,
41855
42045
  charEncoding: "percent"
41856
42046
  })
41857
42047
  };
41858
- const path = pathToFunc("/vendor-scans/{id}/scan-out")(pathParams);
42048
+ const path = pathToFunc("/vendors/{vendor_id_or_me}/company")(pathParams);
41859
42049
  const headers = new Headers(compactMap({
42050
+ "Content-Type": "application/json",
41860
42051
  Accept: "application/json"
41861
42052
  }));
41862
42053
  const securityInput = await extractSecurity(client._options.security);
41863
42054
  const requestSecurity = resolveGlobalSecurity(securityInput);
41864
42055
  const context = {
41865
42056
  baseURL: options?.serverURL ?? client._baseURL ?? "",
41866
- operationID: "vendorScanOut",
42057
+ operationID: "createVendorCompany",
41867
42058
  oAuth2Scopes: [],
41868
42059
  resolvedSecurity: requestSecurity,
41869
42060
  securitySource: client._options.security,
@@ -41896,13 +42087,13 @@ async function $do14(client, request, options) {
41896
42087
  const responseFields = {
41897
42088
  HttpMeta: { Response: response, Request: req }
41898
42089
  };
41899
- const [result] = await match(json(200, VendorScanOutResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
42090
+ const [result] = await match(json(200, CreateVendorCompanyResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
41900
42091
  if (!result.ok) {
41901
42092
  return [result, { status: "complete", request: req, response }];
41902
42093
  }
41903
42094
  return [result, { status: "complete", request: req, response }];
41904
42095
  }
41905
- var init_vendorScansVendorScanOut = __esm(() => {
42096
+ var init_vendorsCreateVendorCompany = __esm(() => {
41906
42097
  init_encodings();
41907
42098
  init_matchers();
41908
42099
  init_primitives();
@@ -41914,23 +42105,23 @@ var init_vendorScansVendorScanOut = __esm(() => {
41914
42105
  init_async();
41915
42106
  });
41916
42107
 
41917
- // src/mcp-server/tools/vendorScansVendorScanOut.ts
41918
- var args13, tool$vendorScansVendorScanOut;
41919
- var init_vendorScansVendorScanOut2 = __esm(() => {
41920
- init_vendorScansVendorScanOut();
42108
+ // src/mcp-server/tools/vendorsCreateVendorCompany.ts
42109
+ var args14, tool$vendorsCreateVendorCompany;
42110
+ var init_vendorsCreateVendorCompany2 = __esm(() => {
42111
+ init_vendorsCreateVendorCompany();
41921
42112
  init_operations();
41922
42113
  init_tools();
41923
- args13 = {
41924
- request: VendorScanOutRequest$inboundSchema
42114
+ args14 = {
42115
+ request: CreateVendorCompanyRequest$inboundSchema
41925
42116
  };
41926
- tool$vendorScansVendorScanOut = {
41927
- name: "vendor-scans-vendor-scan-out",
41928
- description: `Vendor scan out
42117
+ tool$vendorsCreateVendorCompany = {
42118
+ name: "vendors-create-vendor-company",
42119
+ description: `Create vendor company
41929
42120
 
41930
- It scans out vendor from facility`,
41931
- args: args13,
41932
- tool: async (client, args14, ctx) => {
41933
- const [result, apiCall] = await vendorScansVendorScanOut(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42121
+ Create vendor company`,
42122
+ args: args14,
42123
+ tool: async (client, args15, ctx) => {
42124
+ const [result, apiCall] = await vendorsCreateVendorCompany(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
41934
42125
  if (!result.ok) {
41935
42126
  return {
41936
42127
  content: [{ type: "text", text: result.error.message }],
@@ -41945,9 +42136,9 @@ It scans out vendor from facility`,
41945
42136
 
41946
42137
  // src/funcs/vendorsCreateVendorRegistration.ts
41947
42138
  function vendorsCreateVendorRegistration(client, request, options) {
41948
- return new APIPromise($do15(client, request, options));
42139
+ return new APIPromise($do16(client, request, options));
41949
42140
  }
41950
- async function $do15(client, request, options) {
42141
+ async function $do16(client, request, options) {
41951
42142
  const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
41952
42143
  if (!parsed.ok) {
41953
42144
  return [parsed, { status: "invalid" }];
@@ -42011,12 +42202,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
42011
42202
  });
42012
42203
 
42013
42204
  // src/mcp-server/tools/vendorsCreateVendorRegistration.ts
42014
- var args14, tool$vendorsCreateVendorRegistration;
42205
+ var args15, tool$vendorsCreateVendorRegistration;
42015
42206
  var init_vendorsCreateVendorRegistration2 = __esm(() => {
42016
42207
  init_vendorsCreateVendorRegistration();
42017
42208
  init_operations();
42018
42209
  init_tools();
42019
- args14 = {
42210
+ args15 = {
42020
42211
  request: CreateVendorRegistrationRequestBody$inboundSchema
42021
42212
  };
42022
42213
  tool$vendorsCreateVendorRegistration = {
@@ -42024,9 +42215,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
42024
42215
  description: `Create vendor registration
42025
42216
 
42026
42217
  Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
42027
- args: args14,
42028
- tool: async (client, args15, ctx) => {
42029
- const [result, apiCall] = await vendorsCreateVendorRegistration(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42218
+ args: args15,
42219
+ tool: async (client, args16, ctx) => {
42220
+ const [result, apiCall] = await vendorsCreateVendorRegistration(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42030
42221
  if (!result.ok) {
42031
42222
  return {
42032
42223
  content: [{ type: "text", text: result.error.message }],
@@ -42041,9 +42232,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
42041
42232
 
42042
42233
  // src/funcs/vendorsDeleteVendorManagedByCompany.ts
42043
42234
  function vendorsDeleteVendorManagedByCompany(client, request, options) {
42044
- return new APIPromise($do16(client, request, options));
42235
+ return new APIPromise($do17(client, request, options));
42045
42236
  }
42046
- async function $do16(client, request, options) {
42237
+ async function $do17(client, request, options) {
42047
42238
  const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
42048
42239
  if (!parsed.ok) {
42049
42240
  return [parsed, { status: "invalid" }];
@@ -42117,12 +42308,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
42117
42308
  });
42118
42309
 
42119
42310
  // src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
42120
- var args15, tool$vendorsDeleteVendorManagedByCompany;
42311
+ var args16, tool$vendorsDeleteVendorManagedByCompany;
42121
42312
  var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
42122
42313
  init_vendorsDeleteVendorManagedByCompany();
42123
42314
  init_operations();
42124
42315
  init_tools();
42125
- args15 = {
42316
+ args16 = {
42126
42317
  request: DeleteVendorManagedByCompanyRequest$inboundSchema
42127
42318
  };
42128
42319
  tool$vendorsDeleteVendorManagedByCompany = {
@@ -42130,9 +42321,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
42130
42321
  description: `Delete vendor managed by company
42131
42322
 
42132
42323
  It will delete the vendor managed by company`,
42133
- args: args15,
42134
- tool: async (client, args16, ctx) => {
42135
- const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42324
+ args: args16,
42325
+ tool: async (client, args17, ctx) => {
42326
+ const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42136
42327
  if (!result.ok) {
42137
42328
  return {
42138
42329
  content: [{ type: "text", text: result.error.message }],
@@ -42147,9 +42338,9 @@ It will delete the vendor managed by company`,
42147
42338
 
42148
42339
  // src/funcs/vendorsExpediteTimeRemaining.ts
42149
42340
  function vendorsExpediteTimeRemaining(client, request, options) {
42150
- return new APIPromise($do17(client, request, options));
42341
+ return new APIPromise($do18(client, request, options));
42151
42342
  }
42152
- async function $do17(client, request, options) {
42343
+ async function $do18(client, request, options) {
42153
42344
  const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
42154
42345
  if (!parsed.ok) {
42155
42346
  return [parsed, { status: "invalid" }];
@@ -42222,12 +42413,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
42222
42413
  });
42223
42414
 
42224
42415
  // src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
42225
- var args16, tool$vendorsExpediteTimeRemaining;
42416
+ var args17, tool$vendorsExpediteTimeRemaining;
42226
42417
  var init_vendorsExpediteTimeRemaining2 = __esm(() => {
42227
42418
  init_vendorsExpediteTimeRemaining();
42228
42419
  init_operations();
42229
42420
  init_tools();
42230
- args16 = {
42421
+ args17 = {
42231
42422
  request: ExpediteTimeRemainingRequest$inboundSchema
42232
42423
  };
42233
42424
  tool$vendorsExpediteTimeRemaining = {
@@ -42235,9 +42426,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
42235
42426
  description: `Expedite time remaining
42236
42427
 
42237
42428
  For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
42238
- args: args16,
42239
- tool: async (client, args17, ctx) => {
42240
- const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42429
+ args: args17,
42430
+ tool: async (client, args18, ctx) => {
42431
+ const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42241
42432
  if (!result.ok) {
42242
42433
  return {
42243
42434
  content: [{ type: "text", text: result.error.message }],
@@ -42252,9 +42443,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
42252
42443
 
42253
42444
  // src/funcs/vendorsGetVendorInvoiceDetails.ts
42254
42445
  function vendorsGetVendorInvoiceDetails(client, request, options) {
42255
- return new APIPromise($do18(client, request, options));
42446
+ return new APIPromise($do19(client, request, options));
42256
42447
  }
42257
- async function $do18(client, request, options) {
42448
+ async function $do19(client, request, options) {
42258
42449
  const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
42259
42450
  if (!parsed.ok) {
42260
42451
  return [parsed, { status: "invalid" }];
@@ -42332,12 +42523,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
42332
42523
  });
42333
42524
 
42334
42525
  // src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
42335
- var args17, tool$vendorsGetVendorInvoiceDetails;
42526
+ var args18, tool$vendorsGetVendorInvoiceDetails;
42336
42527
  var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
42337
42528
  init_vendorsGetVendorInvoiceDetails();
42338
42529
  init_operations();
42339
42530
  init_tools();
42340
- args17 = {
42531
+ args18 = {
42341
42532
  request: GetVendorInvoiceDetailsRequest$inboundSchema
42342
42533
  };
42343
42534
  tool$vendorsGetVendorInvoiceDetails = {
@@ -42350,9 +42541,9 @@ Available \`expand\` scopes are:
42350
42541
 
42351
42542
  invoice.line_items
42352
42543
  invoice.invoice_transactions`,
42353
- args: args17,
42354
- tool: async (client, args18, ctx) => {
42355
- const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42544
+ args: args18,
42545
+ tool: async (client, args19, ctx) => {
42546
+ const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42356
42547
  if (!result.ok) {
42357
42548
  return {
42358
42549
  content: [{ type: "text", text: result.error.message }],
@@ -42367,9 +42558,9 @@ invoice.invoice_transactions`,
42367
42558
 
42368
42559
  // src/funcs/vendorsGetVendorsDetails.ts
42369
42560
  function vendorsGetVendorsDetails(client, request, options) {
42370
- return new APIPromise($do19(client, request, options));
42561
+ return new APIPromise($do20(client, request, options));
42371
42562
  }
42372
- async function $do19(client, request, options) {
42563
+ async function $do20(client, request, options) {
42373
42564
  const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
42374
42565
  if (!parsed.ok) {
42375
42566
  return [parsed, { status: "invalid" }];
@@ -42447,12 +42638,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
42447
42638
  });
42448
42639
 
42449
42640
  // src/mcp-server/tools/vendorsGetVendorsDetails.ts
42450
- var args18, tool$vendorsGetVendorsDetails;
42641
+ var args19, tool$vendorsGetVendorsDetails;
42451
42642
  var init_vendorsGetVendorsDetails2 = __esm(() => {
42452
42643
  init_vendorsGetVendorsDetails();
42453
42644
  init_operations();
42454
42645
  init_tools();
42455
- args18 = {
42646
+ args19 = {
42456
42647
  request: GetVendorsDetailsRequest$inboundSchema
42457
42648
  };
42458
42649
  tool$vendorsGetVendorsDetails = {
@@ -42474,9 +42665,9 @@ vendor.credentialing_subscription
42474
42665
  vendor.scrubs_subscription
42475
42666
  vendor.payment_responsibility
42476
42667
  vendor.background_check_date_expires`,
42477
- args: args18,
42478
- tool: async (client, args19, ctx) => {
42479
- const [result, apiCall] = await vendorsGetVendorsDetails(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42668
+ args: args19,
42669
+ tool: async (client, args20, ctx) => {
42670
+ const [result, apiCall] = await vendorsGetVendorsDetails(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42480
42671
  if (!result.ok) {
42481
42672
  return {
42482
42673
  content: [{ type: "text", text: result.error.message }],
@@ -42491,9 +42682,9 @@ vendor.background_check_date_expires`,
42491
42682
 
42492
42683
  // src/funcs/vendorsListVendorAdditionalFacilityFields.ts
42493
42684
  function vendorsListVendorAdditionalFacilityFields(client, request, options) {
42494
- return new APIPromise($do20(client, request, options));
42685
+ return new APIPromise($do21(client, request, options));
42495
42686
  }
42496
- async function $do20(client, request, options) {
42687
+ async function $do21(client, request, options) {
42497
42688
  const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
42498
42689
  if (!parsed.ok) {
42499
42690
  return [haltIterator(parsed), { status: "invalid" }];
@@ -42603,12 +42794,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
42603
42794
  });
42604
42795
 
42605
42796
  // src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
42606
- var args19, tool$vendorsListVendorAdditionalFacilityFields;
42797
+ var args20, tool$vendorsListVendorAdditionalFacilityFields;
42607
42798
  var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
42608
42799
  init_vendorsListVendorAdditionalFacilityFields();
42609
42800
  init_operations();
42610
42801
  init_tools();
42611
- args19 = {
42802
+ args20 = {
42612
42803
  request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
42613
42804
  };
42614
42805
  tool$vendorsListVendorAdditionalFacilityFields = {
@@ -42616,9 +42807,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
42616
42807
  description: `List of vendor's additional facility fields
42617
42808
 
42618
42809
  List of vendor's additional facility fields`,
42619
- args: args19,
42620
- tool: async (client, args20, ctx) => {
42621
- const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42810
+ args: args20,
42811
+ tool: async (client, args21, ctx) => {
42812
+ const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42622
42813
  if (!result.ok) {
42623
42814
  return {
42624
42815
  content: [{ type: "text", text: result.error.message }],
@@ -42633,9 +42824,9 @@ List of vendor's additional facility fields`,
42633
42824
 
42634
42825
  // src/funcs/vendorsListVendorCredentials.ts
42635
42826
  function vendorsListVendorCredentials(client, request, options) {
42636
- return new APIPromise($do21(client, request, options));
42827
+ return new APIPromise($do22(client, request, options));
42637
42828
  }
42638
- async function $do21(client, request, options) {
42829
+ async function $do22(client, request, options) {
42639
42830
  const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
42640
42831
  if (!parsed.ok) {
42641
42832
  return [haltIterator(parsed), { status: "invalid" }];
@@ -42752,12 +42943,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
42752
42943
  });
42753
42944
 
42754
42945
  // src/mcp-server/tools/vendorsListVendorCredentials.ts
42755
- var args20, tool$vendorsListVendorCredentials;
42946
+ var args21, tool$vendorsListVendorCredentials;
42756
42947
  var init_vendorsListVendorCredentials2 = __esm(() => {
42757
42948
  init_vendorsListVendorCredentials();
42758
42949
  init_operations();
42759
42950
  init_tools();
42760
- args20 = {
42951
+ args21 = {
42761
42952
  request: ListVendorCredentialsRequest$inboundSchema
42762
42953
  };
42763
42954
  tool$vendorsListVendorCredentials = {
@@ -42765,9 +42956,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
42765
42956
  description: `List Vendor Credentials
42766
42957
 
42767
42958
  Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
42768
- args: args20,
42769
- tool: async (client, args21, ctx) => {
42770
- const [result, apiCall] = await vendorsListVendorCredentials(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42959
+ args: args21,
42960
+ tool: async (client, args22, ctx) => {
42961
+ const [result, apiCall] = await vendorsListVendorCredentials(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42771
42962
  if (!result.ok) {
42772
42963
  return {
42773
42964
  content: [{ type: "text", text: result.error.message }],
@@ -42782,9 +42973,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
42782
42973
 
42783
42974
  // src/funcs/vendorsListVendorCredits.ts
42784
42975
  function vendorsListVendorCredits(client, request, options) {
42785
- return new APIPromise($do22(client, request, options));
42976
+ return new APIPromise($do23(client, request, options));
42786
42977
  }
42787
- async function $do22(client, request, options) {
42978
+ async function $do23(client, request, options) {
42788
42979
  const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
42789
42980
  if (!parsed.ok) {
42790
42981
  return [haltIterator(parsed), { status: "invalid" }];
@@ -42896,12 +43087,12 @@ var init_vendorsListVendorCredits = __esm(() => {
42896
43087
  });
42897
43088
 
42898
43089
  // src/mcp-server/tools/vendorsListVendorCredits.ts
42899
- var args21, tool$vendorsListVendorCredits;
43090
+ var args22, tool$vendorsListVendorCredits;
42900
43091
  var init_vendorsListVendorCredits2 = __esm(() => {
42901
43092
  init_vendorsListVendorCredits();
42902
43093
  init_operations();
42903
43094
  init_tools();
42904
- args21 = {
43095
+ args22 = {
42905
43096
  request: ListVendorCreditsRequest$inboundSchema
42906
43097
  };
42907
43098
  tool$vendorsListVendorCredits = {
@@ -42909,9 +43100,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
42909
43100
  description: `List vendor credits
42910
43101
 
42911
43102
  List the credits for the vendor`,
42912
- args: args21,
42913
- tool: async (client, args22, ctx) => {
42914
- const [result, apiCall] = await vendorsListVendorCredits(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43103
+ args: args22,
43104
+ tool: async (client, args23, ctx) => {
43105
+ const [result, apiCall] = await vendorsListVendorCredits(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42915
43106
  if (!result.ok) {
42916
43107
  return {
42917
43108
  content: [{ type: "text", text: result.error.message }],
@@ -42926,9 +43117,9 @@ List the credits for the vendor`,
42926
43117
 
42927
43118
  // src/funcs/vendorsListVendorFacilityStatuses.ts
42928
43119
  function vendorsListVendorFacilityStatuses(client, request, options) {
42929
- return new APIPromise($do23(client, request, options));
43120
+ return new APIPromise($do24(client, request, options));
42930
43121
  }
42931
- async function $do23(client, request, options) {
43122
+ async function $do24(client, request, options) {
42932
43123
  const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
42933
43124
  if (!parsed.ok) {
42934
43125
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43036,12 +43227,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
43036
43227
  });
43037
43228
 
43038
43229
  // src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
43039
- var args22, tool$vendorsListVendorFacilityStatuses;
43230
+ var args23, tool$vendorsListVendorFacilityStatuses;
43040
43231
  var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
43041
43232
  init_vendorsListVendorFacilityStatuses();
43042
43233
  init_operations();
43043
43234
  init_tools();
43044
- args22 = {
43235
+ args23 = {
43045
43236
  request: ListVendorFacilityStatusesRequest$inboundSchema
43046
43237
  };
43047
43238
  tool$vendorsListVendorFacilityStatuses = {
@@ -43049,9 +43240,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
43049
43240
  description: `List vendor facility statuses
43050
43241
 
43051
43242
  List the facilities for the vendor`,
43052
- args: args22,
43053
- tool: async (client, args23, ctx) => {
43054
- const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43243
+ args: args23,
43244
+ tool: async (client, args24, ctx) => {
43245
+ const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43055
43246
  if (!result.ok) {
43056
43247
  return {
43057
43248
  content: [{ type: "text", text: result.error.message }],
@@ -43066,9 +43257,9 @@ List the facilities for the vendor`,
43066
43257
 
43067
43258
  // src/funcs/vendorsListVendorInvoices.ts
43068
43259
  function vendorsListVendorInvoices(client, request, options) {
43069
- return new APIPromise($do24(client, request, options));
43260
+ return new APIPromise($do25(client, request, options));
43070
43261
  }
43071
- async function $do24(client, request, options) {
43262
+ async function $do25(client, request, options) {
43072
43263
  const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
43073
43264
  if (!parsed.ok) {
43074
43265
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43184,12 +43375,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
43184
43375
  });
43185
43376
 
43186
43377
  // src/mcp-server/tools/vendorsListVendorInvoices.ts
43187
- var args23, tool$vendorsListVendorInvoices;
43378
+ var args24, tool$vendorsListVendorInvoices;
43188
43379
  var init_vendorsListVendorInvoices2 = __esm(() => {
43189
43380
  init_vendorsListVendorInvoices();
43190
43381
  init_operations();
43191
43382
  init_tools();
43192
- args23 = {
43383
+ args24 = {
43193
43384
  request: ListVendorInvoicesRequest$inboundSchema
43194
43385
  };
43195
43386
  tool$vendorsListVendorInvoices = {
@@ -43201,9 +43392,9 @@ List invoices for Vendors
43201
43392
  Available \`expand\` scopes are:
43202
43393
 
43203
43394
  invoice.line_items`,
43204
- args: args23,
43205
- tool: async (client, args24, ctx) => {
43206
- const [result, apiCall] = await vendorsListVendorInvoices(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43395
+ args: args24,
43396
+ tool: async (client, args25, ctx) => {
43397
+ const [result, apiCall] = await vendorsListVendorInvoices(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43207
43398
  if (!result.ok) {
43208
43399
  return {
43209
43400
  content: [{ type: "text", text: result.error.message }],
@@ -43218,9 +43409,9 @@ invoice.line_items`,
43218
43409
 
43219
43410
  // src/funcs/vendorsListVendorManagedByCompanies.ts
43220
43411
  function vendorsListVendorManagedByCompanies(client, request, options) {
43221
- return new APIPromise($do25(client, request, options));
43412
+ return new APIPromise($do26(client, request, options));
43222
43413
  }
43223
- async function $do25(client, request, options) {
43414
+ async function $do26(client, request, options) {
43224
43415
  const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
43225
43416
  if (!parsed.ok) {
43226
43417
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43332,12 +43523,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
43332
43523
  });
43333
43524
 
43334
43525
  // src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
43335
- var args24, tool$vendorsListVendorManagedByCompanies;
43526
+ var args25, tool$vendorsListVendorManagedByCompanies;
43336
43527
  var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
43337
43528
  init_vendorsListVendorManagedByCompanies();
43338
43529
  init_operations();
43339
43530
  init_tools();
43340
- args24 = {
43531
+ args25 = {
43341
43532
  request: ListVendorManagedByCompaniesRequest$inboundSchema
43342
43533
  };
43343
43534
  tool$vendorsListVendorManagedByCompanies = {
@@ -43345,9 +43536,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
43345
43536
  description: `List of companies managing the vendor
43346
43537
 
43347
43538
  List of companies managing the vendor`,
43348
- args: args24,
43349
- tool: async (client, args25, ctx) => {
43350
- const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43539
+ args: args25,
43540
+ tool: async (client, args26, ctx) => {
43541
+ const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43351
43542
  if (!result.ok) {
43352
43543
  return {
43353
43544
  content: [{ type: "text", text: result.error.message }],
@@ -43362,9 +43553,9 @@ List of companies managing the vendor`,
43362
43553
 
43363
43554
  // src/funcs/vendorsListVendorScrubDetails.ts
43364
43555
  function vendorsListVendorScrubDetails(client, request, options) {
43365
- return new APIPromise($do26(client, request, options));
43556
+ return new APIPromise($do27(client, request, options));
43366
43557
  }
43367
- async function $do26(client, request, options) {
43558
+ async function $do27(client, request, options) {
43368
43559
  const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
43369
43560
  if (!parsed.ok) {
43370
43561
  return [parsed, { status: "invalid" }];
@@ -43438,12 +43629,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
43438
43629
  });
43439
43630
 
43440
43631
  // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
43441
- var args25, tool$vendorsListVendorScrubDetails;
43632
+ var args26, tool$vendorsListVendorScrubDetails;
43442
43633
  var init_vendorsListVendorScrubDetails2 = __esm(() => {
43443
43634
  init_vendorsListVendorScrubDetails();
43444
43635
  init_operations();
43445
43636
  init_tools();
43446
- args25 = {
43637
+ args26 = {
43447
43638
  request: ListVendorScrubDetailsRequest$inboundSchema
43448
43639
  };
43449
43640
  tool$vendorsListVendorScrubDetails = {
@@ -43451,9 +43642,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
43451
43642
  description: `List vendor scrub details
43452
43643
 
43453
43644
  List vendor scrub details`,
43454
- args: args25,
43455
- tool: async (client, args26, ctx) => {
43456
- const [result, apiCall] = await vendorsListVendorScrubDetails(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43645
+ args: args26,
43646
+ tool: async (client, args27, ctx) => {
43647
+ const [result, apiCall] = await vendorsListVendorScrubDetails(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43457
43648
  if (!result.ok) {
43458
43649
  return {
43459
43650
  content: [{ type: "text", text: result.error.message }],
@@ -43468,9 +43659,9 @@ List vendor scrub details`,
43468
43659
 
43469
43660
  // src/funcs/vendorsListVendorScrubPackages.ts
43470
43661
  function vendorsListVendorScrubPackages(client, request, options) {
43471
- return new APIPromise($do27(client, request, options));
43662
+ return new APIPromise($do28(client, request, options));
43472
43663
  }
43473
- async function $do27(client, request, options) {
43664
+ async function $do28(client, request, options) {
43474
43665
  const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
43475
43666
  if (!parsed.ok) {
43476
43667
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43582,12 +43773,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
43582
43773
  });
43583
43774
 
43584
43775
  // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
43585
- var args26, tool$vendorsListVendorScrubPackages;
43776
+ var args27, tool$vendorsListVendorScrubPackages;
43586
43777
  var init_vendorsListVendorScrubPackages2 = __esm(() => {
43587
43778
  init_vendorsListVendorScrubPackages();
43588
43779
  init_operations();
43589
43780
  init_tools();
43590
- args26 = {
43781
+ args27 = {
43591
43782
  request: ListVendorScrubPackagesRequest$inboundSchema
43592
43783
  };
43593
43784
  tool$vendorsListVendorScrubPackages = {
@@ -43595,9 +43786,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
43595
43786
  description: `List vendor scrub packages
43596
43787
 
43597
43788
  List vendor scrub packages`,
43598
- args: args26,
43599
- tool: async (client, args27, ctx) => {
43600
- const [result, apiCall] = await vendorsListVendorScrubPackages(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43789
+ args: args27,
43790
+ tool: async (client, args28, ctx) => {
43791
+ const [result, apiCall] = await vendorsListVendorScrubPackages(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43601
43792
  if (!result.ok) {
43602
43793
  return {
43603
43794
  content: [{ type: "text", text: result.error.message }],
@@ -43612,9 +43803,9 @@ List vendor scrub packages`,
43612
43803
 
43613
43804
  // src/funcs/vendorsListVendorScrubPurchases.ts
43614
43805
  function vendorsListVendorScrubPurchases(client, request, options) {
43615
- return new APIPromise($do28(client, request, options));
43806
+ return new APIPromise($do29(client, request, options));
43616
43807
  }
43617
- async function $do28(client, request, options) {
43808
+ async function $do29(client, request, options) {
43618
43809
  const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
43619
43810
  if (!parsed.ok) {
43620
43811
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43726,12 +43917,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
43726
43917
  });
43727
43918
 
43728
43919
  // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
43729
- var args27, tool$vendorsListVendorScrubPurchases;
43920
+ var args28, tool$vendorsListVendorScrubPurchases;
43730
43921
  var init_vendorsListVendorScrubPurchases2 = __esm(() => {
43731
43922
  init_vendorsListVendorScrubPurchases();
43732
43923
  init_operations();
43733
43924
  init_tools();
43734
- args27 = {
43925
+ args28 = {
43735
43926
  request: ListVendorScrubPurchasesRequest$inboundSchema
43736
43927
  };
43737
43928
  tool$vendorsListVendorScrubPurchases = {
@@ -43739,9 +43930,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
43739
43930
  description: `List vendor scrub purchases
43740
43931
 
43741
43932
  List vendor scrub purchases`,
43742
- args: args27,
43743
- tool: async (client, args28, ctx) => {
43744
- const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43933
+ args: args28,
43934
+ tool: async (client, args29, ctx) => {
43935
+ const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43745
43936
  if (!result.ok) {
43746
43937
  return {
43747
43938
  content: [{ type: "text", text: result.error.message }],
@@ -43756,9 +43947,9 @@ List vendor scrub purchases`,
43756
43947
 
43757
43948
  // src/funcs/vendorsPurchaseScrubCredits.ts
43758
43949
  function vendorsPurchaseScrubCredits(client, request, options) {
43759
- return new APIPromise($do29(client, request, options));
43950
+ return new APIPromise($do30(client, request, options));
43760
43951
  }
43761
- async function $do29(client, request, options) {
43952
+ async function $do30(client, request, options) {
43762
43953
  const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
43763
43954
  if (!parsed.ok) {
43764
43955
  return [parsed, { status: "invalid" }];
@@ -43832,12 +44023,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
43832
44023
  });
43833
44024
 
43834
44025
  // src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
43835
- var args28, tool$vendorsPurchaseScrubCredits;
44026
+ var args29, tool$vendorsPurchaseScrubCredits;
43836
44027
  var init_vendorsPurchaseScrubCredits2 = __esm(() => {
43837
44028
  init_vendorsPurchaseScrubCredits();
43838
44029
  init_operations();
43839
44030
  init_tools();
43840
- args28 = {
44031
+ args29 = {
43841
44032
  request: PurchaseScrubCreditsRequest$inboundSchema
43842
44033
  };
43843
44034
  tool$vendorsPurchaseScrubCredits = {
@@ -43845,9 +44036,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
43845
44036
  description: `Purchase scrub credits
43846
44037
 
43847
44038
  Purchase scrub credits`,
43848
- args: args28,
43849
- tool: async (client, args29, ctx) => {
43850
- const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44039
+ args: args29,
44040
+ tool: async (client, args30, ctx) => {
44041
+ const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43851
44042
  if (!result.ok) {
43852
44043
  return {
43853
44044
  content: [{ type: "text", text: result.error.message }],
@@ -43862,9 +44053,9 @@ Purchase scrub credits`,
43862
44053
 
43863
44054
  // src/funcs/vendorsUpdateVendorDetails.ts
43864
44055
  function vendorsUpdateVendorDetails(client, request, options) {
43865
- return new APIPromise($do30(client, request, options));
44056
+ return new APIPromise($do31(client, request, options));
43866
44057
  }
43867
- async function $do30(client, request, options) {
44058
+ async function $do31(client, request, options) {
43868
44059
  const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
43869
44060
  if (!parsed.ok) {
43870
44061
  return [parsed, { status: "invalid" }];
@@ -43939,12 +44130,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
43939
44130
  });
43940
44131
 
43941
44132
  // src/mcp-server/tools/vendorsUpdateVendorDetails.ts
43942
- var args29, tool$vendorsUpdateVendorDetails;
44133
+ var args30, tool$vendorsUpdateVendorDetails;
43943
44134
  var init_vendorsUpdateVendorDetails2 = __esm(() => {
43944
44135
  init_vendorsUpdateVendorDetails();
43945
44136
  init_operations();
43946
44137
  init_tools();
43947
- args29 = {
44138
+ args30 = {
43948
44139
  request: UpdateVendorDetailsRequest$inboundSchema
43949
44140
  };
43950
44141
  tool$vendorsUpdateVendorDetails = {
@@ -43952,9 +44143,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
43952
44143
  description: `Update vendor details
43953
44144
 
43954
44145
  It will update the vendor details`,
43955
- args: args29,
43956
- tool: async (client, args30, ctx) => {
43957
- const [result, apiCall] = await vendorsUpdateVendorDetails(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44146
+ args: args30,
44147
+ tool: async (client, args31, ctx) => {
44148
+ const [result, apiCall] = await vendorsUpdateVendorDetails(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43958
44149
  if (!result.ok) {
43959
44150
  return {
43960
44151
  content: [{ type: "text", text: result.error.message }],
@@ -43969,9 +44160,9 @@ It will update the vendor details`,
43969
44160
 
43970
44161
  // src/funcs/vendorsUpdateVendorManagedByCompany.ts
43971
44162
  function vendorsUpdateVendorManagedByCompany(client, request, options) {
43972
- return new APIPromise($do31(client, request, options));
44163
+ return new APIPromise($do32(client, request, options));
43973
44164
  }
43974
- async function $do31(client, request, options) {
44165
+ async function $do32(client, request, options) {
43975
44166
  const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
43976
44167
  if (!parsed.ok) {
43977
44168
  return [parsed, { status: "invalid" }];
@@ -44045,12 +44236,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
44045
44236
  });
44046
44237
 
44047
44238
  // src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
44048
- var args30, tool$vendorsUpdateVendorManagedByCompany;
44239
+ var args31, tool$vendorsUpdateVendorManagedByCompany;
44049
44240
  var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
44050
44241
  init_vendorsUpdateVendorManagedByCompany();
44051
44242
  init_operations();
44052
44243
  init_tools();
44053
- args30 = {
44244
+ args31 = {
44054
44245
  request: UpdateVendorManagedByCompanyRequest$inboundSchema
44055
44246
  };
44056
44247
  tool$vendorsUpdateVendorManagedByCompany = {
@@ -44058,9 +44249,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
44058
44249
  description: `Update vendor managed by company access rights
44059
44250
 
44060
44251
  It will update the vendor managed by company access rights`,
44061
- args: args30,
44062
- tool: async (client, args31, ctx) => {
44063
- const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44252
+ args: args31,
44253
+ tool: async (client, args32, ctx) => {
44254
+ const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44064
44255
  if (!result.ok) {
44065
44256
  return {
44066
44257
  content: [{ type: "text", text: result.error.message }],
@@ -44075,9 +44266,9 @@ It will update the vendor managed by company access rights`,
44075
44266
 
44076
44267
  // src/funcs/vendorsUpdateVendorScrubDetails.ts
44077
44268
  function vendorsUpdateVendorScrubDetails(client, request, options) {
44078
- return new APIPromise($do32(client, request, options));
44269
+ return new APIPromise($do33(client, request, options));
44079
44270
  }
44080
- async function $do32(client, request, options) {
44271
+ async function $do33(client, request, options) {
44081
44272
  const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
44082
44273
  if (!parsed.ok) {
44083
44274
  return [parsed, { status: "invalid" }];
@@ -44152,12 +44343,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
44152
44343
  });
44153
44344
 
44154
44345
  // src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
44155
- var args31, tool$vendorsUpdateVendorScrubDetails;
44346
+ var args32, tool$vendorsUpdateVendorScrubDetails;
44156
44347
  var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
44157
44348
  init_vendorsUpdateVendorScrubDetails();
44158
44349
  init_operations();
44159
44350
  init_tools();
44160
- args31 = {
44351
+ args32 = {
44161
44352
  request: UpdateVendorScrubDetailsRequest$inboundSchema
44162
44353
  };
44163
44354
  tool$vendorsUpdateVendorScrubDetails = {
@@ -44165,9 +44356,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
44165
44356
  description: `Update vendor scrub details
44166
44357
 
44167
44358
  Update vendor scrub details`,
44168
- args: args31,
44169
- tool: async (client, args32, ctx) => {
44170
- const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44359
+ args: args32,
44360
+ tool: async (client, args33, ctx) => {
44361
+ const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44171
44362
  if (!result.ok) {
44172
44363
  return {
44173
44364
  content: [{ type: "text", text: result.error.message }],
@@ -44182,9 +44373,9 @@ Update vendor scrub details`,
44182
44373
 
44183
44374
  // src/funcs/webhooksGetWebhookEndpoint.ts
44184
44375
  function webhooksGetWebhookEndpoint(client, request, options) {
44185
- return new APIPromise($do33(client, request, options));
44376
+ return new APIPromise($do34(client, request, options));
44186
44377
  }
44187
- async function $do33(client, request, options) {
44378
+ async function $do34(client, request, options) {
44188
44379
  const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
44189
44380
  if (!parsed.ok) {
44190
44381
  return [parsed, { status: "invalid" }];
@@ -44258,12 +44449,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
44258
44449
  });
44259
44450
 
44260
44451
  // src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
44261
- var args32, tool$webhooksGetWebhookEndpoint;
44452
+ var args33, tool$webhooksGetWebhookEndpoint;
44262
44453
  var init_webhooksGetWebhookEndpoint2 = __esm(() => {
44263
44454
  init_webhooksGetWebhookEndpoint();
44264
44455
  init_operations();
44265
44456
  init_tools();
44266
- args32 = {
44457
+ args33 = {
44267
44458
  request: GetWebhookEndpointRequest$inboundSchema
44268
44459
  };
44269
44460
  tool$webhooksGetWebhookEndpoint = {
@@ -44271,9 +44462,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
44271
44462
  description: `Retrieves the webhook endpoint with the given ID.
44272
44463
 
44273
44464
  Returns the definition of a webhook endpoint by ID.`,
44274
- args: args32,
44275
- tool: async (client, args33, ctx) => {
44276
- const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44465
+ args: args33,
44466
+ tool: async (client, args34, ctx) => {
44467
+ const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44277
44468
  if (!result.ok) {
44278
44469
  return {
44279
44470
  content: [{ type: "text", text: result.error.message }],
@@ -44288,9 +44479,9 @@ Returns the definition of a webhook endpoint by ID.`,
44288
44479
 
44289
44480
  // src/funcs/webhooksListAllWebhookEndpoints.ts
44290
44481
  function webhooksListAllWebhookEndpoints(client, request, options) {
44291
- return new APIPromise($do34(client, request, options));
44482
+ return new APIPromise($do35(client, request, options));
44292
44483
  }
44293
- async function $do34(client, request, options) {
44484
+ async function $do35(client, request, options) {
44294
44485
  const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
44295
44486
  if (!parsed.ok) {
44296
44487
  return [parsed, { status: "invalid" }];
@@ -44364,12 +44555,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
44364
44555
  });
44365
44556
 
44366
44557
  // src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
44367
- var args33, tool$webhooksListAllWebhookEndpoints;
44558
+ var args34, tool$webhooksListAllWebhookEndpoints;
44368
44559
  var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
44369
44560
  init_webhooksListAllWebhookEndpoints();
44370
44561
  init_operations();
44371
44562
  init_tools();
44372
- args33 = {
44563
+ args34 = {
44373
44564
  request: ListAllWebhookEndpointsRequest$inboundSchema
44374
44565
  };
44375
44566
  tool$webhooksListAllWebhookEndpoints = {
@@ -44377,9 +44568,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
44377
44568
  description: `List all webhook endpoints
44378
44569
 
44379
44570
  Returns a list of your webhook endpoints.`,
44380
- args: args33,
44381
- tool: async (client, args34, ctx) => {
44382
- const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44571
+ args: args34,
44572
+ tool: async (client, args35, ctx) => {
44573
+ const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44383
44574
  if (!result.ok) {
44384
44575
  return {
44385
44576
  content: [{ type: "text", text: result.error.message }],
@@ -44396,7 +44587,7 @@ Returns a list of your webhook endpoints.`,
44396
44587
  function createMCPServer(deps) {
44397
44588
  const server = new McpServer({
44398
44589
  name: "GreenSecurity",
44399
- version: "0.30.27"
44590
+ version: "0.30.29"
44400
44591
  });
44401
44592
  const client = new GreenSecurityCore({
44402
44593
  security: deps.security,
@@ -44429,6 +44620,7 @@ function createMCPServer(deps) {
44429
44620
  tool(tool$vendorsDeleteVendorManagedByCompany);
44430
44621
  tool(tool$vendorsUpdateVendorManagedByCompany);
44431
44622
  tool(tool$vendorsPurchaseScrubCredits);
44623
+ tool(tool$vendorsCreateVendorCompany);
44432
44624
  tool(tool$usersGetCurrentUser);
44433
44625
  tool(tool$usersGetUserById);
44434
44626
  tool(tool$usersLogsUserIntoTheSystem);
@@ -44465,6 +44657,7 @@ var init_server2 = __esm(() => {
44465
44657
  init_usersPasswordResetRequest2();
44466
44658
  init_vendorsAddVendorManagedByCompany2();
44467
44659
  init_vendorScansVendorScanOut2();
44660
+ init_vendorsCreateVendorCompany2();
44468
44661
  init_vendorsCreateVendorRegistration2();
44469
44662
  init_vendorsDeleteVendorManagedByCompany2();
44470
44663
  init_vendorsExpediteTimeRemaining2();
@@ -45686,7 +45879,7 @@ var routes = rn({
45686
45879
  var app = Ve(routes, {
45687
45880
  name: "mcp",
45688
45881
  versionInfo: {
45689
- currentVersion: "0.30.27"
45882
+ currentVersion: "0.30.29"
45690
45883
  }
45691
45884
  });
45692
45885
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -45694,5 +45887,5 @@ export {
45694
45887
  app
45695
45888
  };
45696
45889
 
45697
- //# debugId=725BCB5C737B432864756E2164756E21
45890
+ //# debugId=1F9D77C2209BA46564756E2164756E21
45698
45891
  //# sourceMappingURL=mcp-server.js.map