@greensecurity/javascript-sdk 0.30.27 → 0.30.31

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 (129) hide show
  1. package/README.md +3 -0
  2. package/bin/mcp-server.js +713 -534
  3. package/bin/mcp-server.js.map +18 -14
  4. package/dist/commonjs/__tests__/vendors.test.js +25 -2
  5. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/webhooks.test.js +1 -1
  7. package/dist/commonjs/__tests__/webhooks.test.js.map +1 -1
  8. package/dist/commonjs/funcs/vendorsCreateVendorCompany.d.ts +17 -0
  9. package/dist/commonjs/funcs/vendorsCreateVendorCompany.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/vendorsCreateVendorCompany.js +121 -0
  11. package/dist/commonjs/funcs/vendorsCreateVendorCompany.js.map +1 -0
  12. package/dist/commonjs/lib/config.d.ts +3 -3
  13. package/dist/commonjs/lib/config.js +3 -3
  14. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  15. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  16. package/dist/commonjs/mcp-server/server.js +3 -1
  17. package/dist/commonjs/mcp-server/server.js.map +1 -1
  18. package/dist/commonjs/mcp-server/tools/vendorsCreateVendorCompany.d.ts +8 -0
  19. package/dist/commonjs/mcp-server/tools/vendorsCreateVendorCompany.d.ts.map +1 -0
  20. package/dist/commonjs/mcp-server/tools/vendorsCreateVendorCompany.js +64 -0
  21. package/dist/commonjs/mcp-server/tools/vendorsCreateVendorCompany.js.map +1 -0
  22. package/dist/commonjs/models/components/index.d.ts +1 -0
  23. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  24. package/dist/commonjs/models/components/index.js +1 -0
  25. package/dist/commonjs/models/components/index.js.map +1 -1
  26. package/dist/commonjs/models/components/state.d.ts +181 -0
  27. package/dist/commonjs/models/components/state.d.ts.map +1 -0
  28. package/dist/commonjs/models/components/state.js +112 -0
  29. package/dist/commonjs/models/components/state.js.map +1 -0
  30. package/dist/commonjs/models/components/userlocation.d.ts +4 -172
  31. package/dist/commonjs/models/components/userlocation.d.ts.map +1 -1
  32. package/dist/commonjs/models/components/userlocation.js +4 -71
  33. package/dist/commonjs/models/components/userlocation.js.map +1 -1
  34. package/dist/commonjs/models/operations/createvendorcompany.d.ts +116 -0
  35. package/dist/commonjs/models/operations/createvendorcompany.d.ts.map +1 -0
  36. package/dist/commonjs/models/operations/createvendorcompany.js +163 -0
  37. package/dist/commonjs/models/operations/createvendorcompany.js.map +1 -0
  38. package/dist/commonjs/models/operations/index.d.ts +1 -0
  39. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  40. package/dist/commonjs/models/operations/index.js +1 -0
  41. package/dist/commonjs/models/operations/index.js.map +1 -1
  42. package/dist/commonjs/models/operations/listvendorinvoices.d.ts +3 -45
  43. package/dist/commonjs/models/operations/listvendorinvoices.d.ts.map +1 -1
  44. package/dist/commonjs/models/operations/listvendorinvoices.js +1 -15
  45. package/dist/commonjs/models/operations/listvendorinvoices.js.map +1 -1
  46. package/dist/commonjs/react-query/index.d.ts +1 -0
  47. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  48. package/dist/commonjs/react-query/index.js +1 -0
  49. package/dist/commonjs/react-query/index.js.map +1 -1
  50. package/dist/commonjs/react-query/vendorsCreateVendorCompany.d.ts +23 -0
  51. package/dist/commonjs/react-query/vendorsCreateVendorCompany.d.ts.map +1 -0
  52. package/dist/commonjs/react-query/vendorsCreateVendorCompany.js +47 -0
  53. package/dist/commonjs/react-query/vendorsCreateVendorCompany.js.map +1 -0
  54. package/dist/commonjs/sdk/vendors.d.ts +7 -0
  55. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  56. package/dist/commonjs/sdk/vendors.js +10 -0
  57. package/dist/commonjs/sdk/vendors.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 +3 -3
  67. package/dist/esm/lib/config.js +3 -3
  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/models/operations/listvendorinvoices.d.ts +3 -45
  97. package/dist/esm/models/operations/listvendorinvoices.d.ts.map +1 -1
  98. package/dist/esm/models/operations/listvendorinvoices.js +1 -15
  99. package/dist/esm/models/operations/listvendorinvoices.js.map +1 -1
  100. package/dist/esm/react-query/index.d.ts +1 -0
  101. package/dist/esm/react-query/index.d.ts.map +1 -1
  102. package/dist/esm/react-query/index.js +1 -0
  103. package/dist/esm/react-query/index.js.map +1 -1
  104. package/dist/esm/react-query/vendorsCreateVendorCompany.d.ts +23 -0
  105. package/dist/esm/react-query/vendorsCreateVendorCompany.d.ts.map +1 -0
  106. package/dist/esm/react-query/vendorsCreateVendorCompany.js +42 -0
  107. package/dist/esm/react-query/vendorsCreateVendorCompany.js.map +1 -0
  108. package/dist/esm/sdk/vendors.d.ts +7 -0
  109. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  110. package/dist/esm/sdk/vendors.js +10 -0
  111. package/dist/esm/sdk/vendors.js.map +1 -1
  112. package/jsr.json +1 -1
  113. package/package.json +3 -3
  114. package/src/__tests__/vendors.test.ts +28 -2
  115. package/src/__tests__/webhooks.test.ts +1 -1
  116. package/src/funcs/vendorsCreateVendorCompany.ts +174 -0
  117. package/src/lib/config.ts +3 -3
  118. package/src/mcp-server/mcp-server.ts +1 -1
  119. package/src/mcp-server/server.ts +3 -1
  120. package/src/mcp-server/tools/vendorsCreateVendorCompany.ts +37 -0
  121. package/src/models/components/index.ts +1 -0
  122. package/src/models/components/state.ts +87 -0
  123. package/src/models/components/userlocation.ts +4 -75
  124. package/src/models/operations/createvendorcompany.ts +262 -0
  125. package/src/models/operations/index.ts +1 -0
  126. package/src/models/operations/listvendorinvoices.ts +1 -15
  127. package/src/react-query/index.ts +1 -0
  128. package/src/react-query/vendorsCreateVendorCompany.ts +89 -0
  129. 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",
34170
- genVersion: "2.578.0",
34171
- userAgent: "speakeasy-sdk/typescript 0.30.27 2.578.0 0.0.3 @greensecurity/javascript-sdk"
34169
+ sdkVersion: "0.30.31",
34170
+ genVersion: "2.585.2",
34171
+ userAgent: "speakeasy-sdk/typescript 0.30.31 2.585.2 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
@@ -39334,22 +39418,8 @@ var init_listvendorinvoices = __esm(() => {
39334
39418
  init_primitives();
39335
39419
  init_components();
39336
39420
  InvoiceFinancialStatus = {
39337
- Pending: "pending",
39338
- Authorized: "authorized",
39339
- Captured: "captured",
39340
- Refunded: "refunded",
39341
- RefundedToCredits: "refunded to credits",
39342
- Voided: "voided",
39343
- Waived: "waived",
39344
- Overdue: "overdue",
39345
39421
  Paid: "paid",
39346
- PaidByCredits: "paid by credits",
39347
- PaidByCreditCard: "paid by credit card",
39348
- PaidByCheck: "paid by check",
39349
- PaidByShareback: "paid by shareback",
39350
- PaidByPo: "paid by po",
39351
- PaidByOtherMeans: "paid by other means",
39352
- Credited: "credited"
39422
+ Unpaid: "unpaid"
39353
39423
  };
39354
39424
  InvoiceFinancialStatus$inboundSchema = nativeEnumType(InvoiceFinancialStatus);
39355
39425
  InvoiceFinancialStatus$outboundSchema = InvoiceFinancialStatus$inboundSchema;
@@ -40258,6 +40328,7 @@ var init_vendorscanout = __esm(() => {
40258
40328
  var init_operations = __esm(() => {
40259
40329
  init_addvendormanagedbycompany();
40260
40330
  init_changepassword();
40331
+ init_createvendorcompany();
40261
40332
  init_createvendorregistration();
40262
40333
  init_deletevendormanagedbycompany();
40263
40334
  init_expeditetimeremaining();
@@ -41797,7 +41868,112 @@ async function $do13(client, request, options) {
41797
41868
  }
41798
41869
  return [result, { status: "complete", request: req, response }];
41799
41870
  }
41800
- var init_vendorsAddVendorManagedByCompany = __esm(() => {
41871
+ var init_vendorsAddVendorManagedByCompany = __esm(() => {
41872
+ init_encodings();
41873
+ init_matchers();
41874
+ init_primitives();
41875
+ init_schemas();
41876
+ init_security();
41877
+ init_url();
41878
+ init_errors();
41879
+ init_operations();
41880
+ init_async();
41881
+ });
41882
+
41883
+ // src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
41884
+ var args12, tool$vendorsAddVendorManagedByCompany;
41885
+ var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
41886
+ init_vendorsAddVendorManagedByCompany();
41887
+ init_operations();
41888
+ init_tools();
41889
+ args12 = {
41890
+ request: AddVendorManagedByCompanyRequest$inboundSchema
41891
+ };
41892
+ tool$vendorsAddVendorManagedByCompany = {
41893
+ name: "vendors-add-vendor-managed-by-company",
41894
+ description: `Add vendor managed by company
41895
+
41896
+ It will add a vendor managed by company`,
41897
+ args: args12,
41898
+ tool: async (client, args13, ctx) => {
41899
+ const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
41900
+ if (!result.ok) {
41901
+ return {
41902
+ content: [{ type: "text", text: result.error.message }],
41903
+ isError: true
41904
+ };
41905
+ }
41906
+ const value = result.value;
41907
+ return formatResult(value, apiCall);
41908
+ }
41909
+ };
41910
+ });
41911
+
41912
+ // src/funcs/vendorScansVendorScanOut.ts
41913
+ function vendorScansVendorScanOut(client, request, options) {
41914
+ return new APIPromise($do14(client, request, options));
41915
+ }
41916
+ async function $do14(client, request, options) {
41917
+ const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
41918
+ if (!parsed.ok) {
41919
+ return [parsed, { status: "invalid" }];
41920
+ }
41921
+ const payload = parsed.value;
41922
+ const body = null;
41923
+ const pathParams = {
41924
+ id: encodeSimple("id", payload.id, {
41925
+ explode: false,
41926
+ charEncoding: "percent"
41927
+ })
41928
+ };
41929
+ const path = pathToFunc("/vendor-scans/{id}/scan-out")(pathParams);
41930
+ const headers = new Headers(compactMap({
41931
+ Accept: "application/json"
41932
+ }));
41933
+ const securityInput = await extractSecurity(client._options.security);
41934
+ const requestSecurity = resolveGlobalSecurity(securityInput);
41935
+ const context = {
41936
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
41937
+ operationID: "vendorScanOut",
41938
+ oAuth2Scopes: [],
41939
+ resolvedSecurity: requestSecurity,
41940
+ securitySource: client._options.security,
41941
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
41942
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
41943
+ };
41944
+ const requestRes = client._createRequest(context, {
41945
+ security: requestSecurity,
41946
+ method: "POST",
41947
+ baseURL: options?.serverURL,
41948
+ path,
41949
+ headers,
41950
+ body,
41951
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
41952
+ }, options);
41953
+ if (!requestRes.ok) {
41954
+ return [requestRes, { status: "invalid" }];
41955
+ }
41956
+ const req = requestRes.value;
41957
+ const doResult = await client._do(req, {
41958
+ context,
41959
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
41960
+ retryConfig: context.retryConfig,
41961
+ retryCodes: context.retryCodes
41962
+ });
41963
+ if (!doResult.ok) {
41964
+ return [doResult, { status: "request-error", request: req }];
41965
+ }
41966
+ const response = doResult.value;
41967
+ const responseFields = {
41968
+ HttpMeta: { Response: response, Request: req }
41969
+ };
41970
+ 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 });
41971
+ if (!result.ok) {
41972
+ return [result, { status: "complete", request: req, response }];
41973
+ }
41974
+ return [result, { status: "complete", request: req, response }];
41975
+ }
41976
+ var init_vendorScansVendorScanOut = __esm(() => {
41801
41977
  init_encodings();
41802
41978
  init_matchers();
41803
41979
  init_primitives();
@@ -41809,23 +41985,23 @@ var init_vendorsAddVendorManagedByCompany = __esm(() => {
41809
41985
  init_async();
41810
41986
  });
41811
41987
 
41812
- // src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
41813
- var args12, tool$vendorsAddVendorManagedByCompany;
41814
- var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
41815
- init_vendorsAddVendorManagedByCompany();
41988
+ // src/mcp-server/tools/vendorScansVendorScanOut.ts
41989
+ var args13, tool$vendorScansVendorScanOut;
41990
+ var init_vendorScansVendorScanOut2 = __esm(() => {
41991
+ init_vendorScansVendorScanOut();
41816
41992
  init_operations();
41817
41993
  init_tools();
41818
- args12 = {
41819
- request: AddVendorManagedByCompanyRequest$inboundSchema
41994
+ args13 = {
41995
+ request: VendorScanOutRequest$inboundSchema
41820
41996
  };
41821
- tool$vendorsAddVendorManagedByCompany = {
41822
- name: "vendors-add-vendor-managed-by-company",
41823
- description: `Add vendor managed by company
41997
+ tool$vendorScansVendorScanOut = {
41998
+ name: "vendor-scans-vendor-scan-out",
41999
+ description: `Vendor scan out
41824
42000
 
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();
42001
+ It scans out vendor from facility`,
42002
+ args: args13,
42003
+ tool: async (client, args14, ctx) => {
42004
+ const [result, apiCall] = await vendorScansVendorScanOut(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
41829
42005
  if (!result.ok) {
41830
42006
  return {
41831
42007
  content: [{ type: "text", text: result.error.message }],
@@ -41838,32 +42014,33 @@ It will add a vendor managed by company`,
41838
42014
  };
41839
42015
  });
41840
42016
 
41841
- // src/funcs/vendorScansVendorScanOut.ts
41842
- function vendorScansVendorScanOut(client, request, options) {
41843
- return new APIPromise($do14(client, request, options));
42017
+ // src/funcs/vendorsCreateVendorCompany.ts
42018
+ function vendorsCreateVendorCompany(client, request, options) {
42019
+ return new APIPromise($do15(client, request, options));
41844
42020
  }
41845
- async function $do14(client, request, options) {
41846
- const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
42021
+ async function $do15(client, request, options) {
42022
+ const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
41847
42023
  if (!parsed.ok) {
41848
42024
  return [parsed, { status: "invalid" }];
41849
42025
  }
41850
42026
  const payload = parsed.value;
41851
- const body = null;
42027
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
41852
42028
  const pathParams = {
41853
- id: encodeSimple("id", payload.id, {
42029
+ vendor_id_or_me: encodeSimple("vendor_id_or_me", payload.vendor_id_or_me, {
41854
42030
  explode: false,
41855
42031
  charEncoding: "percent"
41856
42032
  })
41857
42033
  };
41858
- const path = pathToFunc("/vendor-scans/{id}/scan-out")(pathParams);
42034
+ const path = pathToFunc("/vendors/{vendor_id_or_me}/company")(pathParams);
41859
42035
  const headers = new Headers(compactMap({
42036
+ "Content-Type": "application/json",
41860
42037
  Accept: "application/json"
41861
42038
  }));
41862
42039
  const securityInput = await extractSecurity(client._options.security);
41863
42040
  const requestSecurity = resolveGlobalSecurity(securityInput);
41864
42041
  const context = {
41865
42042
  baseURL: options?.serverURL ?? client._baseURL ?? "",
41866
- operationID: "vendorScanOut",
42043
+ operationID: "createVendorCompany",
41867
42044
  oAuth2Scopes: [],
41868
42045
  resolvedSecurity: requestSecurity,
41869
42046
  securitySource: client._options.security,
@@ -41896,13 +42073,13 @@ async function $do14(client, request, options) {
41896
42073
  const responseFields = {
41897
42074
  HttpMeta: { Response: response, Request: req }
41898
42075
  };
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 });
42076
+ 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
42077
  if (!result.ok) {
41901
42078
  return [result, { status: "complete", request: req, response }];
41902
42079
  }
41903
42080
  return [result, { status: "complete", request: req, response }];
41904
42081
  }
41905
- var init_vendorScansVendorScanOut = __esm(() => {
42082
+ var init_vendorsCreateVendorCompany = __esm(() => {
41906
42083
  init_encodings();
41907
42084
  init_matchers();
41908
42085
  init_primitives();
@@ -41914,23 +42091,23 @@ var init_vendorScansVendorScanOut = __esm(() => {
41914
42091
  init_async();
41915
42092
  });
41916
42093
 
41917
- // src/mcp-server/tools/vendorScansVendorScanOut.ts
41918
- var args13, tool$vendorScansVendorScanOut;
41919
- var init_vendorScansVendorScanOut2 = __esm(() => {
41920
- init_vendorScansVendorScanOut();
42094
+ // src/mcp-server/tools/vendorsCreateVendorCompany.ts
42095
+ var args14, tool$vendorsCreateVendorCompany;
42096
+ var init_vendorsCreateVendorCompany2 = __esm(() => {
42097
+ init_vendorsCreateVendorCompany();
41921
42098
  init_operations();
41922
42099
  init_tools();
41923
- args13 = {
41924
- request: VendorScanOutRequest$inboundSchema
42100
+ args14 = {
42101
+ request: CreateVendorCompanyRequest$inboundSchema
41925
42102
  };
41926
- tool$vendorScansVendorScanOut = {
41927
- name: "vendor-scans-vendor-scan-out",
41928
- description: `Vendor scan out
42103
+ tool$vendorsCreateVendorCompany = {
42104
+ name: "vendors-create-vendor-company",
42105
+ description: `Create vendor company
41929
42106
 
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();
42107
+ Create vendor company`,
42108
+ args: args14,
42109
+ tool: async (client, args15, ctx) => {
42110
+ const [result, apiCall] = await vendorsCreateVendorCompany(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
41934
42111
  if (!result.ok) {
41935
42112
  return {
41936
42113
  content: [{ type: "text", text: result.error.message }],
@@ -41945,9 +42122,9 @@ It scans out vendor from facility`,
41945
42122
 
41946
42123
  // src/funcs/vendorsCreateVendorRegistration.ts
41947
42124
  function vendorsCreateVendorRegistration(client, request, options) {
41948
- return new APIPromise($do15(client, request, options));
42125
+ return new APIPromise($do16(client, request, options));
41949
42126
  }
41950
- async function $do15(client, request, options) {
42127
+ async function $do16(client, request, options) {
41951
42128
  const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
41952
42129
  if (!parsed.ok) {
41953
42130
  return [parsed, { status: "invalid" }];
@@ -42011,12 +42188,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
42011
42188
  });
42012
42189
 
42013
42190
  // src/mcp-server/tools/vendorsCreateVendorRegistration.ts
42014
- var args14, tool$vendorsCreateVendorRegistration;
42191
+ var args15, tool$vendorsCreateVendorRegistration;
42015
42192
  var init_vendorsCreateVendorRegistration2 = __esm(() => {
42016
42193
  init_vendorsCreateVendorRegistration();
42017
42194
  init_operations();
42018
42195
  init_tools();
42019
- args14 = {
42196
+ args15 = {
42020
42197
  request: CreateVendorRegistrationRequestBody$inboundSchema
42021
42198
  };
42022
42199
  tool$vendorsCreateVendorRegistration = {
@@ -42024,9 +42201,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
42024
42201
  description: `Create vendor registration
42025
42202
 
42026
42203
  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();
42204
+ args: args15,
42205
+ tool: async (client, args16, ctx) => {
42206
+ const [result, apiCall] = await vendorsCreateVendorRegistration(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42030
42207
  if (!result.ok) {
42031
42208
  return {
42032
42209
  content: [{ type: "text", text: result.error.message }],
@@ -42041,9 +42218,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
42041
42218
 
42042
42219
  // src/funcs/vendorsDeleteVendorManagedByCompany.ts
42043
42220
  function vendorsDeleteVendorManagedByCompany(client, request, options) {
42044
- return new APIPromise($do16(client, request, options));
42221
+ return new APIPromise($do17(client, request, options));
42045
42222
  }
42046
- async function $do16(client, request, options) {
42223
+ async function $do17(client, request, options) {
42047
42224
  const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
42048
42225
  if (!parsed.ok) {
42049
42226
  return [parsed, { status: "invalid" }];
@@ -42117,12 +42294,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
42117
42294
  });
42118
42295
 
42119
42296
  // src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
42120
- var args15, tool$vendorsDeleteVendorManagedByCompany;
42297
+ var args16, tool$vendorsDeleteVendorManagedByCompany;
42121
42298
  var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
42122
42299
  init_vendorsDeleteVendorManagedByCompany();
42123
42300
  init_operations();
42124
42301
  init_tools();
42125
- args15 = {
42302
+ args16 = {
42126
42303
  request: DeleteVendorManagedByCompanyRequest$inboundSchema
42127
42304
  };
42128
42305
  tool$vendorsDeleteVendorManagedByCompany = {
@@ -42130,9 +42307,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
42130
42307
  description: `Delete vendor managed by company
42131
42308
 
42132
42309
  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();
42310
+ args: args16,
42311
+ tool: async (client, args17, ctx) => {
42312
+ const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42136
42313
  if (!result.ok) {
42137
42314
  return {
42138
42315
  content: [{ type: "text", text: result.error.message }],
@@ -42147,9 +42324,9 @@ It will delete the vendor managed by company`,
42147
42324
 
42148
42325
  // src/funcs/vendorsExpediteTimeRemaining.ts
42149
42326
  function vendorsExpediteTimeRemaining(client, request, options) {
42150
- return new APIPromise($do17(client, request, options));
42327
+ return new APIPromise($do18(client, request, options));
42151
42328
  }
42152
- async function $do17(client, request, options) {
42329
+ async function $do18(client, request, options) {
42153
42330
  const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
42154
42331
  if (!parsed.ok) {
42155
42332
  return [parsed, { status: "invalid" }];
@@ -42222,12 +42399,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
42222
42399
  });
42223
42400
 
42224
42401
  // src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
42225
- var args16, tool$vendorsExpediteTimeRemaining;
42402
+ var args17, tool$vendorsExpediteTimeRemaining;
42226
42403
  var init_vendorsExpediteTimeRemaining2 = __esm(() => {
42227
42404
  init_vendorsExpediteTimeRemaining();
42228
42405
  init_operations();
42229
42406
  init_tools();
42230
- args16 = {
42407
+ args17 = {
42231
42408
  request: ExpediteTimeRemainingRequest$inboundSchema
42232
42409
  };
42233
42410
  tool$vendorsExpediteTimeRemaining = {
@@ -42235,9 +42412,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
42235
42412
  description: `Expedite time remaining
42236
42413
 
42237
42414
  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();
42415
+ args: args17,
42416
+ tool: async (client, args18, ctx) => {
42417
+ const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42241
42418
  if (!result.ok) {
42242
42419
  return {
42243
42420
  content: [{ type: "text", text: result.error.message }],
@@ -42252,9 +42429,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
42252
42429
 
42253
42430
  // src/funcs/vendorsGetVendorInvoiceDetails.ts
42254
42431
  function vendorsGetVendorInvoiceDetails(client, request, options) {
42255
- return new APIPromise($do18(client, request, options));
42432
+ return new APIPromise($do19(client, request, options));
42256
42433
  }
42257
- async function $do18(client, request, options) {
42434
+ async function $do19(client, request, options) {
42258
42435
  const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
42259
42436
  if (!parsed.ok) {
42260
42437
  return [parsed, { status: "invalid" }];
@@ -42332,12 +42509,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
42332
42509
  });
42333
42510
 
42334
42511
  // src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
42335
- var args17, tool$vendorsGetVendorInvoiceDetails;
42512
+ var args18, tool$vendorsGetVendorInvoiceDetails;
42336
42513
  var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
42337
42514
  init_vendorsGetVendorInvoiceDetails();
42338
42515
  init_operations();
42339
42516
  init_tools();
42340
- args17 = {
42517
+ args18 = {
42341
42518
  request: GetVendorInvoiceDetailsRequest$inboundSchema
42342
42519
  };
42343
42520
  tool$vendorsGetVendorInvoiceDetails = {
@@ -42350,9 +42527,9 @@ Available \`expand\` scopes are:
42350
42527
 
42351
42528
  invoice.line_items
42352
42529
  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();
42530
+ args: args18,
42531
+ tool: async (client, args19, ctx) => {
42532
+ const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42356
42533
  if (!result.ok) {
42357
42534
  return {
42358
42535
  content: [{ type: "text", text: result.error.message }],
@@ -42367,9 +42544,9 @@ invoice.invoice_transactions`,
42367
42544
 
42368
42545
  // src/funcs/vendorsGetVendorsDetails.ts
42369
42546
  function vendorsGetVendorsDetails(client, request, options) {
42370
- return new APIPromise($do19(client, request, options));
42547
+ return new APIPromise($do20(client, request, options));
42371
42548
  }
42372
- async function $do19(client, request, options) {
42549
+ async function $do20(client, request, options) {
42373
42550
  const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
42374
42551
  if (!parsed.ok) {
42375
42552
  return [parsed, { status: "invalid" }];
@@ -42447,12 +42624,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
42447
42624
  });
42448
42625
 
42449
42626
  // src/mcp-server/tools/vendorsGetVendorsDetails.ts
42450
- var args18, tool$vendorsGetVendorsDetails;
42627
+ var args19, tool$vendorsGetVendorsDetails;
42451
42628
  var init_vendorsGetVendorsDetails2 = __esm(() => {
42452
42629
  init_vendorsGetVendorsDetails();
42453
42630
  init_operations();
42454
42631
  init_tools();
42455
- args18 = {
42632
+ args19 = {
42456
42633
  request: GetVendorsDetailsRequest$inboundSchema
42457
42634
  };
42458
42635
  tool$vendorsGetVendorsDetails = {
@@ -42474,9 +42651,9 @@ vendor.credentialing_subscription
42474
42651
  vendor.scrubs_subscription
42475
42652
  vendor.payment_responsibility
42476
42653
  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();
42654
+ args: args19,
42655
+ tool: async (client, args20, ctx) => {
42656
+ const [result, apiCall] = await vendorsGetVendorsDetails(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42480
42657
  if (!result.ok) {
42481
42658
  return {
42482
42659
  content: [{ type: "text", text: result.error.message }],
@@ -42491,9 +42668,9 @@ vendor.background_check_date_expires`,
42491
42668
 
42492
42669
  // src/funcs/vendorsListVendorAdditionalFacilityFields.ts
42493
42670
  function vendorsListVendorAdditionalFacilityFields(client, request, options) {
42494
- return new APIPromise($do20(client, request, options));
42671
+ return new APIPromise($do21(client, request, options));
42495
42672
  }
42496
- async function $do20(client, request, options) {
42673
+ async function $do21(client, request, options) {
42497
42674
  const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
42498
42675
  if (!parsed.ok) {
42499
42676
  return [haltIterator(parsed), { status: "invalid" }];
@@ -42603,12 +42780,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
42603
42780
  });
42604
42781
 
42605
42782
  // src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
42606
- var args19, tool$vendorsListVendorAdditionalFacilityFields;
42783
+ var args20, tool$vendorsListVendorAdditionalFacilityFields;
42607
42784
  var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
42608
42785
  init_vendorsListVendorAdditionalFacilityFields();
42609
42786
  init_operations();
42610
42787
  init_tools();
42611
- args19 = {
42788
+ args20 = {
42612
42789
  request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
42613
42790
  };
42614
42791
  tool$vendorsListVendorAdditionalFacilityFields = {
@@ -42616,9 +42793,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
42616
42793
  description: `List of vendor's additional facility fields
42617
42794
 
42618
42795
  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();
42796
+ args: args20,
42797
+ tool: async (client, args21, ctx) => {
42798
+ const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42622
42799
  if (!result.ok) {
42623
42800
  return {
42624
42801
  content: [{ type: "text", text: result.error.message }],
@@ -42633,9 +42810,9 @@ List of vendor's additional facility fields`,
42633
42810
 
42634
42811
  // src/funcs/vendorsListVendorCredentials.ts
42635
42812
  function vendorsListVendorCredentials(client, request, options) {
42636
- return new APIPromise($do21(client, request, options));
42813
+ return new APIPromise($do22(client, request, options));
42637
42814
  }
42638
- async function $do21(client, request, options) {
42815
+ async function $do22(client, request, options) {
42639
42816
  const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
42640
42817
  if (!parsed.ok) {
42641
42818
  return [haltIterator(parsed), { status: "invalid" }];
@@ -42752,12 +42929,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
42752
42929
  });
42753
42930
 
42754
42931
  // src/mcp-server/tools/vendorsListVendorCredentials.ts
42755
- var args20, tool$vendorsListVendorCredentials;
42932
+ var args21, tool$vendorsListVendorCredentials;
42756
42933
  var init_vendorsListVendorCredentials2 = __esm(() => {
42757
42934
  init_vendorsListVendorCredentials();
42758
42935
  init_operations();
42759
42936
  init_tools();
42760
- args20 = {
42937
+ args21 = {
42761
42938
  request: ListVendorCredentialsRequest$inboundSchema
42762
42939
  };
42763
42940
  tool$vendorsListVendorCredentials = {
@@ -42765,9 +42942,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
42765
42942
  description: `List Vendor Credentials
42766
42943
 
42767
42944
  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();
42945
+ args: args21,
42946
+ tool: async (client, args22, ctx) => {
42947
+ const [result, apiCall] = await vendorsListVendorCredentials(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42771
42948
  if (!result.ok) {
42772
42949
  return {
42773
42950
  content: [{ type: "text", text: result.error.message }],
@@ -42782,9 +42959,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
42782
42959
 
42783
42960
  // src/funcs/vendorsListVendorCredits.ts
42784
42961
  function vendorsListVendorCredits(client, request, options) {
42785
- return new APIPromise($do22(client, request, options));
42962
+ return new APIPromise($do23(client, request, options));
42786
42963
  }
42787
- async function $do22(client, request, options) {
42964
+ async function $do23(client, request, options) {
42788
42965
  const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
42789
42966
  if (!parsed.ok) {
42790
42967
  return [haltIterator(parsed), { status: "invalid" }];
@@ -42896,12 +43073,12 @@ var init_vendorsListVendorCredits = __esm(() => {
42896
43073
  });
42897
43074
 
42898
43075
  // src/mcp-server/tools/vendorsListVendorCredits.ts
42899
- var args21, tool$vendorsListVendorCredits;
43076
+ var args22, tool$vendorsListVendorCredits;
42900
43077
  var init_vendorsListVendorCredits2 = __esm(() => {
42901
43078
  init_vendorsListVendorCredits();
42902
43079
  init_operations();
42903
43080
  init_tools();
42904
- args21 = {
43081
+ args22 = {
42905
43082
  request: ListVendorCreditsRequest$inboundSchema
42906
43083
  };
42907
43084
  tool$vendorsListVendorCredits = {
@@ -42909,9 +43086,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
42909
43086
  description: `List vendor credits
42910
43087
 
42911
43088
  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();
43089
+ args: args22,
43090
+ tool: async (client, args23, ctx) => {
43091
+ const [result, apiCall] = await vendorsListVendorCredits(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
42915
43092
  if (!result.ok) {
42916
43093
  return {
42917
43094
  content: [{ type: "text", text: result.error.message }],
@@ -42926,9 +43103,9 @@ List the credits for the vendor`,
42926
43103
 
42927
43104
  // src/funcs/vendorsListVendorFacilityStatuses.ts
42928
43105
  function vendorsListVendorFacilityStatuses(client, request, options) {
42929
- return new APIPromise($do23(client, request, options));
43106
+ return new APIPromise($do24(client, request, options));
42930
43107
  }
42931
- async function $do23(client, request, options) {
43108
+ async function $do24(client, request, options) {
42932
43109
  const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
42933
43110
  if (!parsed.ok) {
42934
43111
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43036,12 +43213,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
43036
43213
  });
43037
43214
 
43038
43215
  // src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
43039
- var args22, tool$vendorsListVendorFacilityStatuses;
43216
+ var args23, tool$vendorsListVendorFacilityStatuses;
43040
43217
  var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
43041
43218
  init_vendorsListVendorFacilityStatuses();
43042
43219
  init_operations();
43043
43220
  init_tools();
43044
- args22 = {
43221
+ args23 = {
43045
43222
  request: ListVendorFacilityStatusesRequest$inboundSchema
43046
43223
  };
43047
43224
  tool$vendorsListVendorFacilityStatuses = {
@@ -43049,9 +43226,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
43049
43226
  description: `List vendor facility statuses
43050
43227
 
43051
43228
  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();
43229
+ args: args23,
43230
+ tool: async (client, args24, ctx) => {
43231
+ const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43055
43232
  if (!result.ok) {
43056
43233
  return {
43057
43234
  content: [{ type: "text", text: result.error.message }],
@@ -43066,9 +43243,9 @@ List the facilities for the vendor`,
43066
43243
 
43067
43244
  // src/funcs/vendorsListVendorInvoices.ts
43068
43245
  function vendorsListVendorInvoices(client, request, options) {
43069
- return new APIPromise($do24(client, request, options));
43246
+ return new APIPromise($do25(client, request, options));
43070
43247
  }
43071
- async function $do24(client, request, options) {
43248
+ async function $do25(client, request, options) {
43072
43249
  const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
43073
43250
  if (!parsed.ok) {
43074
43251
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43184,12 +43361,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
43184
43361
  });
43185
43362
 
43186
43363
  // src/mcp-server/tools/vendorsListVendorInvoices.ts
43187
- var args23, tool$vendorsListVendorInvoices;
43364
+ var args24, tool$vendorsListVendorInvoices;
43188
43365
  var init_vendorsListVendorInvoices2 = __esm(() => {
43189
43366
  init_vendorsListVendorInvoices();
43190
43367
  init_operations();
43191
43368
  init_tools();
43192
- args23 = {
43369
+ args24 = {
43193
43370
  request: ListVendorInvoicesRequest$inboundSchema
43194
43371
  };
43195
43372
  tool$vendorsListVendorInvoices = {
@@ -43201,9 +43378,9 @@ List invoices for Vendors
43201
43378
  Available \`expand\` scopes are:
43202
43379
 
43203
43380
  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();
43381
+ args: args24,
43382
+ tool: async (client, args25, ctx) => {
43383
+ const [result, apiCall] = await vendorsListVendorInvoices(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43207
43384
  if (!result.ok) {
43208
43385
  return {
43209
43386
  content: [{ type: "text", text: result.error.message }],
@@ -43218,9 +43395,9 @@ invoice.line_items`,
43218
43395
 
43219
43396
  // src/funcs/vendorsListVendorManagedByCompanies.ts
43220
43397
  function vendorsListVendorManagedByCompanies(client, request, options) {
43221
- return new APIPromise($do25(client, request, options));
43398
+ return new APIPromise($do26(client, request, options));
43222
43399
  }
43223
- async function $do25(client, request, options) {
43400
+ async function $do26(client, request, options) {
43224
43401
  const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
43225
43402
  if (!parsed.ok) {
43226
43403
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43332,12 +43509,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
43332
43509
  });
43333
43510
 
43334
43511
  // src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
43335
- var args24, tool$vendorsListVendorManagedByCompanies;
43512
+ var args25, tool$vendorsListVendorManagedByCompanies;
43336
43513
  var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
43337
43514
  init_vendorsListVendorManagedByCompanies();
43338
43515
  init_operations();
43339
43516
  init_tools();
43340
- args24 = {
43517
+ args25 = {
43341
43518
  request: ListVendorManagedByCompaniesRequest$inboundSchema
43342
43519
  };
43343
43520
  tool$vendorsListVendorManagedByCompanies = {
@@ -43345,9 +43522,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
43345
43522
  description: `List of companies managing the vendor
43346
43523
 
43347
43524
  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();
43525
+ args: args25,
43526
+ tool: async (client, args26, ctx) => {
43527
+ const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43351
43528
  if (!result.ok) {
43352
43529
  return {
43353
43530
  content: [{ type: "text", text: result.error.message }],
@@ -43362,9 +43539,9 @@ List of companies managing the vendor`,
43362
43539
 
43363
43540
  // src/funcs/vendorsListVendorScrubDetails.ts
43364
43541
  function vendorsListVendorScrubDetails(client, request, options) {
43365
- return new APIPromise($do26(client, request, options));
43542
+ return new APIPromise($do27(client, request, options));
43366
43543
  }
43367
- async function $do26(client, request, options) {
43544
+ async function $do27(client, request, options) {
43368
43545
  const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
43369
43546
  if (!parsed.ok) {
43370
43547
  return [parsed, { status: "invalid" }];
@@ -43438,12 +43615,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
43438
43615
  });
43439
43616
 
43440
43617
  // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
43441
- var args25, tool$vendorsListVendorScrubDetails;
43618
+ var args26, tool$vendorsListVendorScrubDetails;
43442
43619
  var init_vendorsListVendorScrubDetails2 = __esm(() => {
43443
43620
  init_vendorsListVendorScrubDetails();
43444
43621
  init_operations();
43445
43622
  init_tools();
43446
- args25 = {
43623
+ args26 = {
43447
43624
  request: ListVendorScrubDetailsRequest$inboundSchema
43448
43625
  };
43449
43626
  tool$vendorsListVendorScrubDetails = {
@@ -43451,9 +43628,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
43451
43628
  description: `List vendor scrub details
43452
43629
 
43453
43630
  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();
43631
+ args: args26,
43632
+ tool: async (client, args27, ctx) => {
43633
+ const [result, apiCall] = await vendorsListVendorScrubDetails(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43457
43634
  if (!result.ok) {
43458
43635
  return {
43459
43636
  content: [{ type: "text", text: result.error.message }],
@@ -43468,9 +43645,9 @@ List vendor scrub details`,
43468
43645
 
43469
43646
  // src/funcs/vendorsListVendorScrubPackages.ts
43470
43647
  function vendorsListVendorScrubPackages(client, request, options) {
43471
- return new APIPromise($do27(client, request, options));
43648
+ return new APIPromise($do28(client, request, options));
43472
43649
  }
43473
- async function $do27(client, request, options) {
43650
+ async function $do28(client, request, options) {
43474
43651
  const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
43475
43652
  if (!parsed.ok) {
43476
43653
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43582,12 +43759,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
43582
43759
  });
43583
43760
 
43584
43761
  // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
43585
- var args26, tool$vendorsListVendorScrubPackages;
43762
+ var args27, tool$vendorsListVendorScrubPackages;
43586
43763
  var init_vendorsListVendorScrubPackages2 = __esm(() => {
43587
43764
  init_vendorsListVendorScrubPackages();
43588
43765
  init_operations();
43589
43766
  init_tools();
43590
- args26 = {
43767
+ args27 = {
43591
43768
  request: ListVendorScrubPackagesRequest$inboundSchema
43592
43769
  };
43593
43770
  tool$vendorsListVendorScrubPackages = {
@@ -43595,9 +43772,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
43595
43772
  description: `List vendor scrub packages
43596
43773
 
43597
43774
  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();
43775
+ args: args27,
43776
+ tool: async (client, args28, ctx) => {
43777
+ const [result, apiCall] = await vendorsListVendorScrubPackages(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43601
43778
  if (!result.ok) {
43602
43779
  return {
43603
43780
  content: [{ type: "text", text: result.error.message }],
@@ -43612,9 +43789,9 @@ List vendor scrub packages`,
43612
43789
 
43613
43790
  // src/funcs/vendorsListVendorScrubPurchases.ts
43614
43791
  function vendorsListVendorScrubPurchases(client, request, options) {
43615
- return new APIPromise($do28(client, request, options));
43792
+ return new APIPromise($do29(client, request, options));
43616
43793
  }
43617
- async function $do28(client, request, options) {
43794
+ async function $do29(client, request, options) {
43618
43795
  const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
43619
43796
  if (!parsed.ok) {
43620
43797
  return [haltIterator(parsed), { status: "invalid" }];
@@ -43726,12 +43903,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
43726
43903
  });
43727
43904
 
43728
43905
  // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
43729
- var args27, tool$vendorsListVendorScrubPurchases;
43906
+ var args28, tool$vendorsListVendorScrubPurchases;
43730
43907
  var init_vendorsListVendorScrubPurchases2 = __esm(() => {
43731
43908
  init_vendorsListVendorScrubPurchases();
43732
43909
  init_operations();
43733
43910
  init_tools();
43734
- args27 = {
43911
+ args28 = {
43735
43912
  request: ListVendorScrubPurchasesRequest$inboundSchema
43736
43913
  };
43737
43914
  tool$vendorsListVendorScrubPurchases = {
@@ -43739,9 +43916,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
43739
43916
  description: `List vendor scrub purchases
43740
43917
 
43741
43918
  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();
43919
+ args: args28,
43920
+ tool: async (client, args29, ctx) => {
43921
+ const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43745
43922
  if (!result.ok) {
43746
43923
  return {
43747
43924
  content: [{ type: "text", text: result.error.message }],
@@ -43756,9 +43933,9 @@ List vendor scrub purchases`,
43756
43933
 
43757
43934
  // src/funcs/vendorsPurchaseScrubCredits.ts
43758
43935
  function vendorsPurchaseScrubCredits(client, request, options) {
43759
- return new APIPromise($do29(client, request, options));
43936
+ return new APIPromise($do30(client, request, options));
43760
43937
  }
43761
- async function $do29(client, request, options) {
43938
+ async function $do30(client, request, options) {
43762
43939
  const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
43763
43940
  if (!parsed.ok) {
43764
43941
  return [parsed, { status: "invalid" }];
@@ -43832,12 +44009,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
43832
44009
  });
43833
44010
 
43834
44011
  // src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
43835
- var args28, tool$vendorsPurchaseScrubCredits;
44012
+ var args29, tool$vendorsPurchaseScrubCredits;
43836
44013
  var init_vendorsPurchaseScrubCredits2 = __esm(() => {
43837
44014
  init_vendorsPurchaseScrubCredits();
43838
44015
  init_operations();
43839
44016
  init_tools();
43840
- args28 = {
44017
+ args29 = {
43841
44018
  request: PurchaseScrubCreditsRequest$inboundSchema
43842
44019
  };
43843
44020
  tool$vendorsPurchaseScrubCredits = {
@@ -43845,9 +44022,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
43845
44022
  description: `Purchase scrub credits
43846
44023
 
43847
44024
  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();
44025
+ args: args29,
44026
+ tool: async (client, args30, ctx) => {
44027
+ const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43851
44028
  if (!result.ok) {
43852
44029
  return {
43853
44030
  content: [{ type: "text", text: result.error.message }],
@@ -43862,9 +44039,9 @@ Purchase scrub credits`,
43862
44039
 
43863
44040
  // src/funcs/vendorsUpdateVendorDetails.ts
43864
44041
  function vendorsUpdateVendorDetails(client, request, options) {
43865
- return new APIPromise($do30(client, request, options));
44042
+ return new APIPromise($do31(client, request, options));
43866
44043
  }
43867
- async function $do30(client, request, options) {
44044
+ async function $do31(client, request, options) {
43868
44045
  const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
43869
44046
  if (!parsed.ok) {
43870
44047
  return [parsed, { status: "invalid" }];
@@ -43939,12 +44116,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
43939
44116
  });
43940
44117
 
43941
44118
  // src/mcp-server/tools/vendorsUpdateVendorDetails.ts
43942
- var args29, tool$vendorsUpdateVendorDetails;
44119
+ var args30, tool$vendorsUpdateVendorDetails;
43943
44120
  var init_vendorsUpdateVendorDetails2 = __esm(() => {
43944
44121
  init_vendorsUpdateVendorDetails();
43945
44122
  init_operations();
43946
44123
  init_tools();
43947
- args29 = {
44124
+ args30 = {
43948
44125
  request: UpdateVendorDetailsRequest$inboundSchema
43949
44126
  };
43950
44127
  tool$vendorsUpdateVendorDetails = {
@@ -43952,9 +44129,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
43952
44129
  description: `Update vendor details
43953
44130
 
43954
44131
  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();
44132
+ args: args30,
44133
+ tool: async (client, args31, ctx) => {
44134
+ const [result, apiCall] = await vendorsUpdateVendorDetails(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
43958
44135
  if (!result.ok) {
43959
44136
  return {
43960
44137
  content: [{ type: "text", text: result.error.message }],
@@ -43969,9 +44146,9 @@ It will update the vendor details`,
43969
44146
 
43970
44147
  // src/funcs/vendorsUpdateVendorManagedByCompany.ts
43971
44148
  function vendorsUpdateVendorManagedByCompany(client, request, options) {
43972
- return new APIPromise($do31(client, request, options));
44149
+ return new APIPromise($do32(client, request, options));
43973
44150
  }
43974
- async function $do31(client, request, options) {
44151
+ async function $do32(client, request, options) {
43975
44152
  const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
43976
44153
  if (!parsed.ok) {
43977
44154
  return [parsed, { status: "invalid" }];
@@ -44045,12 +44222,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
44045
44222
  });
44046
44223
 
44047
44224
  // src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
44048
- var args30, tool$vendorsUpdateVendorManagedByCompany;
44225
+ var args31, tool$vendorsUpdateVendorManagedByCompany;
44049
44226
  var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
44050
44227
  init_vendorsUpdateVendorManagedByCompany();
44051
44228
  init_operations();
44052
44229
  init_tools();
44053
- args30 = {
44230
+ args31 = {
44054
44231
  request: UpdateVendorManagedByCompanyRequest$inboundSchema
44055
44232
  };
44056
44233
  tool$vendorsUpdateVendorManagedByCompany = {
@@ -44058,9 +44235,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
44058
44235
  description: `Update vendor managed by company access rights
44059
44236
 
44060
44237
  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();
44238
+ args: args31,
44239
+ tool: async (client, args32, ctx) => {
44240
+ const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44064
44241
  if (!result.ok) {
44065
44242
  return {
44066
44243
  content: [{ type: "text", text: result.error.message }],
@@ -44075,9 +44252,9 @@ It will update the vendor managed by company access rights`,
44075
44252
 
44076
44253
  // src/funcs/vendorsUpdateVendorScrubDetails.ts
44077
44254
  function vendorsUpdateVendorScrubDetails(client, request, options) {
44078
- return new APIPromise($do32(client, request, options));
44255
+ return new APIPromise($do33(client, request, options));
44079
44256
  }
44080
- async function $do32(client, request, options) {
44257
+ async function $do33(client, request, options) {
44081
44258
  const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
44082
44259
  if (!parsed.ok) {
44083
44260
  return [parsed, { status: "invalid" }];
@@ -44152,12 +44329,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
44152
44329
  });
44153
44330
 
44154
44331
  // src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
44155
- var args31, tool$vendorsUpdateVendorScrubDetails;
44332
+ var args32, tool$vendorsUpdateVendorScrubDetails;
44156
44333
  var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
44157
44334
  init_vendorsUpdateVendorScrubDetails();
44158
44335
  init_operations();
44159
44336
  init_tools();
44160
- args31 = {
44337
+ args32 = {
44161
44338
  request: UpdateVendorScrubDetailsRequest$inboundSchema
44162
44339
  };
44163
44340
  tool$vendorsUpdateVendorScrubDetails = {
@@ -44165,9 +44342,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
44165
44342
  description: `Update vendor scrub details
44166
44343
 
44167
44344
  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();
44345
+ args: args32,
44346
+ tool: async (client, args33, ctx) => {
44347
+ const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44171
44348
  if (!result.ok) {
44172
44349
  return {
44173
44350
  content: [{ type: "text", text: result.error.message }],
@@ -44182,9 +44359,9 @@ Update vendor scrub details`,
44182
44359
 
44183
44360
  // src/funcs/webhooksGetWebhookEndpoint.ts
44184
44361
  function webhooksGetWebhookEndpoint(client, request, options) {
44185
- return new APIPromise($do33(client, request, options));
44362
+ return new APIPromise($do34(client, request, options));
44186
44363
  }
44187
- async function $do33(client, request, options) {
44364
+ async function $do34(client, request, options) {
44188
44365
  const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
44189
44366
  if (!parsed.ok) {
44190
44367
  return [parsed, { status: "invalid" }];
@@ -44258,12 +44435,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
44258
44435
  });
44259
44436
 
44260
44437
  // src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
44261
- var args32, tool$webhooksGetWebhookEndpoint;
44438
+ var args33, tool$webhooksGetWebhookEndpoint;
44262
44439
  var init_webhooksGetWebhookEndpoint2 = __esm(() => {
44263
44440
  init_webhooksGetWebhookEndpoint();
44264
44441
  init_operations();
44265
44442
  init_tools();
44266
- args32 = {
44443
+ args33 = {
44267
44444
  request: GetWebhookEndpointRequest$inboundSchema
44268
44445
  };
44269
44446
  tool$webhooksGetWebhookEndpoint = {
@@ -44271,9 +44448,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
44271
44448
  description: `Retrieves the webhook endpoint with the given ID.
44272
44449
 
44273
44450
  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();
44451
+ args: args33,
44452
+ tool: async (client, args34, ctx) => {
44453
+ const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44277
44454
  if (!result.ok) {
44278
44455
  return {
44279
44456
  content: [{ type: "text", text: result.error.message }],
@@ -44288,9 +44465,9 @@ Returns the definition of a webhook endpoint by ID.`,
44288
44465
 
44289
44466
  // src/funcs/webhooksListAllWebhookEndpoints.ts
44290
44467
  function webhooksListAllWebhookEndpoints(client, request, options) {
44291
- return new APIPromise($do34(client, request, options));
44468
+ return new APIPromise($do35(client, request, options));
44292
44469
  }
44293
- async function $do34(client, request, options) {
44470
+ async function $do35(client, request, options) {
44294
44471
  const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
44295
44472
  if (!parsed.ok) {
44296
44473
  return [parsed, { status: "invalid" }];
@@ -44364,12 +44541,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
44364
44541
  });
44365
44542
 
44366
44543
  // src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
44367
- var args33, tool$webhooksListAllWebhookEndpoints;
44544
+ var args34, tool$webhooksListAllWebhookEndpoints;
44368
44545
  var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
44369
44546
  init_webhooksListAllWebhookEndpoints();
44370
44547
  init_operations();
44371
44548
  init_tools();
44372
- args33 = {
44549
+ args34 = {
44373
44550
  request: ListAllWebhookEndpointsRequest$inboundSchema
44374
44551
  };
44375
44552
  tool$webhooksListAllWebhookEndpoints = {
@@ -44377,9 +44554,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
44377
44554
  description: `List all webhook endpoints
44378
44555
 
44379
44556
  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();
44557
+ args: args34,
44558
+ tool: async (client, args35, ctx) => {
44559
+ const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44383
44560
  if (!result.ok) {
44384
44561
  return {
44385
44562
  content: [{ type: "text", text: result.error.message }],
@@ -44396,7 +44573,7 @@ Returns a list of your webhook endpoints.`,
44396
44573
  function createMCPServer(deps) {
44397
44574
  const server = new McpServer({
44398
44575
  name: "GreenSecurity",
44399
- version: "0.30.27"
44576
+ version: "0.30.31"
44400
44577
  });
44401
44578
  const client = new GreenSecurityCore({
44402
44579
  security: deps.security,
@@ -44429,6 +44606,7 @@ function createMCPServer(deps) {
44429
44606
  tool(tool$vendorsDeleteVendorManagedByCompany);
44430
44607
  tool(tool$vendorsUpdateVendorManagedByCompany);
44431
44608
  tool(tool$vendorsPurchaseScrubCredits);
44609
+ tool(tool$vendorsCreateVendorCompany);
44432
44610
  tool(tool$usersGetCurrentUser);
44433
44611
  tool(tool$usersGetUserById);
44434
44612
  tool(tool$usersLogsUserIntoTheSystem);
@@ -44465,6 +44643,7 @@ var init_server2 = __esm(() => {
44465
44643
  init_usersPasswordResetRequest2();
44466
44644
  init_vendorsAddVendorManagedByCompany2();
44467
44645
  init_vendorScansVendorScanOut2();
44646
+ init_vendorsCreateVendorCompany2();
44468
44647
  init_vendorsCreateVendorRegistration2();
44469
44648
  init_vendorsDeleteVendorManagedByCompany2();
44470
44649
  init_vendorsExpediteTimeRemaining2();
@@ -45686,7 +45865,7 @@ var routes = rn({
45686
45865
  var app = Ve(routes, {
45687
45866
  name: "mcp",
45688
45867
  versionInfo: {
45689
- currentVersion: "0.30.27"
45868
+ currentVersion: "0.30.31"
45690
45869
  }
45691
45870
  });
45692
45871
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -45694,5 +45873,5 @@ export {
45694
45873
  app
45695
45874
  };
45696
45875
 
45697
- //# debugId=725BCB5C737B432864756E2164756E21
45876
+ //# debugId=C6C74EAF1F91033A64756E2164756E21
45698
45877
  //# sourceMappingURL=mcp-server.js.map