@greensecurity/javascript-sdk 0.35.33 → 0.35.37

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 (152) hide show
  1. package/README.md +6 -0
  2. package/bin/mcp-server.js +1299 -700
  3. package/bin/mcp-server.js.map +14 -8
  4. package/dist/commonjs/__tests__/invoices.test.js +15 -0
  5. package/dist/commonjs/__tests__/invoices.test.js.map +1 -1
  6. package/dist/commonjs/__tests__/vendors.test.js +15 -0
  7. package/dist/commonjs/__tests__/vendors.test.js.map +1 -1
  8. package/dist/commonjs/__tests__/zones.test.js +27 -13
  9. package/dist/commonjs/__tests__/zones.test.js.map +1 -1
  10. package/dist/commonjs/funcs/invoicesCreateInvoice.d.ts +26 -0
  11. package/dist/commonjs/funcs/invoicesCreateInvoice.d.ts.map +1 -0
  12. package/dist/commonjs/funcs/invoicesCreateInvoice.js +126 -0
  13. package/dist/commonjs/funcs/invoicesCreateInvoice.js.map +1 -0
  14. package/dist/commonjs/funcs/vendorsAcceptVendorCredential.d.ts +17 -0
  15. package/dist/commonjs/funcs/vendorsAcceptVendorCredential.d.ts.map +1 -0
  16. package/dist/commonjs/funcs/vendorsAcceptVendorCredential.js +120 -0
  17. package/dist/commonjs/funcs/vendorsAcceptVendorCredential.js.map +1 -0
  18. package/dist/commonjs/lib/config.d.ts +2 -2
  19. package/dist/commonjs/lib/config.js +2 -2
  20. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  21. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  22. package/dist/commonjs/mcp-server/server.js +5 -1
  23. package/dist/commonjs/mcp-server/server.js.map +1 -1
  24. package/dist/commonjs/mcp-server/tools/invoicesCreateInvoice.d.ts +8 -0
  25. package/dist/commonjs/mcp-server/tools/invoicesCreateInvoice.d.ts.map +1 -0
  26. package/dist/commonjs/mcp-server/tools/invoicesCreateInvoice.js +73 -0
  27. package/dist/commonjs/mcp-server/tools/invoicesCreateInvoice.js.map +1 -0
  28. package/dist/commonjs/mcp-server/tools/vendorsAcceptVendorCredential.d.ts +8 -0
  29. package/dist/commonjs/mcp-server/tools/vendorsAcceptVendorCredential.d.ts.map +1 -0
  30. package/dist/commonjs/mcp-server/tools/vendorsAcceptVendorCredential.js +64 -0
  31. package/dist/commonjs/mcp-server/tools/vendorsAcceptVendorCredential.js.map +1 -0
  32. package/dist/commonjs/models/operations/acceptvendorcredential.d.ts +32 -0
  33. package/dist/commonjs/models/operations/acceptvendorcredential.d.ts.map +1 -0
  34. package/dist/commonjs/models/operations/acceptvendorcredential.js +78 -0
  35. package/dist/commonjs/models/operations/acceptvendorcredential.js.map +1 -0
  36. package/dist/commonjs/models/operations/createinvoice.d.ts +441 -0
  37. package/dist/commonjs/models/operations/createinvoice.d.ts.map +1 -0
  38. package/dist/commonjs/models/operations/createinvoice.js +604 -0
  39. package/dist/commonjs/models/operations/createinvoice.js.map +1 -0
  40. package/dist/commonjs/models/operations/index.d.ts +2 -0
  41. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  42. package/dist/commonjs/models/operations/index.js +2 -0
  43. package/dist/commonjs/models/operations/index.js.map +1 -1
  44. package/dist/commonjs/models/operations/updateinvoice.d.ts +148 -148
  45. package/dist/commonjs/models/operations/updateinvoice.d.ts.map +1 -1
  46. package/dist/commonjs/models/operations/updateinvoice.js +196 -195
  47. package/dist/commonjs/models/operations/updateinvoice.js.map +1 -1
  48. package/dist/commonjs/react-query/index.d.ts +2 -0
  49. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  50. package/dist/commonjs/react-query/index.js +2 -0
  51. package/dist/commonjs/react-query/index.js.map +1 -1
  52. package/dist/commonjs/react-query/invoicesCreateInvoice.d.ts +32 -0
  53. package/dist/commonjs/react-query/invoicesCreateInvoice.d.ts.map +1 -0
  54. package/dist/commonjs/react-query/invoicesCreateInvoice.js +56 -0
  55. package/dist/commonjs/react-query/invoicesCreateInvoice.js.map +1 -0
  56. package/dist/commonjs/react-query/vendorsAcceptVendorCredential.d.ts +23 -0
  57. package/dist/commonjs/react-query/vendorsAcceptVendorCredential.d.ts.map +1 -0
  58. package/dist/commonjs/react-query/vendorsAcceptVendorCredential.js +47 -0
  59. package/dist/commonjs/react-query/vendorsAcceptVendorCredential.js.map +1 -0
  60. package/dist/commonjs/sdk/invoices.d.ts +16 -0
  61. package/dist/commonjs/sdk/invoices.d.ts.map +1 -1
  62. package/dist/commonjs/sdk/invoices.js +19 -0
  63. package/dist/commonjs/sdk/invoices.js.map +1 -1
  64. package/dist/commonjs/sdk/vendors.d.ts +7 -0
  65. package/dist/commonjs/sdk/vendors.d.ts.map +1 -1
  66. package/dist/commonjs/sdk/vendors.js +10 -0
  67. package/dist/commonjs/sdk/vendors.js.map +1 -1
  68. package/dist/esm/__tests__/invoices.test.js +15 -0
  69. package/dist/esm/__tests__/invoices.test.js.map +1 -1
  70. package/dist/esm/__tests__/vendors.test.js +15 -0
  71. package/dist/esm/__tests__/vendors.test.js.map +1 -1
  72. package/dist/esm/__tests__/zones.test.js +27 -13
  73. package/dist/esm/__tests__/zones.test.js.map +1 -1
  74. package/dist/esm/funcs/invoicesCreateInvoice.d.ts +26 -0
  75. package/dist/esm/funcs/invoicesCreateInvoice.d.ts.map +1 -0
  76. package/dist/esm/funcs/invoicesCreateInvoice.js +90 -0
  77. package/dist/esm/funcs/invoicesCreateInvoice.js.map +1 -0
  78. package/dist/esm/funcs/vendorsAcceptVendorCredential.d.ts +17 -0
  79. package/dist/esm/funcs/vendorsAcceptVendorCredential.d.ts.map +1 -0
  80. package/dist/esm/funcs/vendorsAcceptVendorCredential.js +84 -0
  81. package/dist/esm/funcs/vendorsAcceptVendorCredential.js.map +1 -0
  82. package/dist/esm/lib/config.d.ts +2 -2
  83. package/dist/esm/lib/config.js +2 -2
  84. package/dist/esm/mcp-server/mcp-server.js +1 -1
  85. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  86. package/dist/esm/mcp-server/server.js +5 -1
  87. package/dist/esm/mcp-server/server.js.map +1 -1
  88. package/dist/esm/mcp-server/tools/invoicesCreateInvoice.d.ts +8 -0
  89. package/dist/esm/mcp-server/tools/invoicesCreateInvoice.d.ts.map +1 -0
  90. package/dist/esm/mcp-server/tools/invoicesCreateInvoice.js +37 -0
  91. package/dist/esm/mcp-server/tools/invoicesCreateInvoice.js.map +1 -0
  92. package/dist/esm/mcp-server/tools/vendorsAcceptVendorCredential.d.ts +8 -0
  93. package/dist/esm/mcp-server/tools/vendorsAcceptVendorCredential.d.ts.map +1 -0
  94. package/dist/esm/mcp-server/tools/vendorsAcceptVendorCredential.js +28 -0
  95. package/dist/esm/mcp-server/tools/vendorsAcceptVendorCredential.js.map +1 -0
  96. package/dist/esm/models/operations/acceptvendorcredential.d.ts +32 -0
  97. package/dist/esm/models/operations/acceptvendorcredential.d.ts.map +1 -0
  98. package/dist/esm/models/operations/acceptvendorcredential.js +40 -0
  99. package/dist/esm/models/operations/acceptvendorcredential.js.map +1 -0
  100. package/dist/esm/models/operations/createinvoice.d.ts +441 -0
  101. package/dist/esm/models/operations/createinvoice.d.ts.map +1 -0
  102. package/dist/esm/models/operations/createinvoice.js +548 -0
  103. package/dist/esm/models/operations/createinvoice.js.map +1 -0
  104. package/dist/esm/models/operations/index.d.ts +2 -0
  105. package/dist/esm/models/operations/index.d.ts.map +1 -1
  106. package/dist/esm/models/operations/index.js +2 -0
  107. package/dist/esm/models/operations/index.js.map +1 -1
  108. package/dist/esm/models/operations/updateinvoice.d.ts +148 -148
  109. package/dist/esm/models/operations/updateinvoice.d.ts.map +1 -1
  110. package/dist/esm/models/operations/updateinvoice.js +183 -182
  111. package/dist/esm/models/operations/updateinvoice.js.map +1 -1
  112. package/dist/esm/react-query/index.d.ts +2 -0
  113. package/dist/esm/react-query/index.d.ts.map +1 -1
  114. package/dist/esm/react-query/index.js +2 -0
  115. package/dist/esm/react-query/index.js.map +1 -1
  116. package/dist/esm/react-query/invoicesCreateInvoice.d.ts +32 -0
  117. package/dist/esm/react-query/invoicesCreateInvoice.d.ts.map +1 -0
  118. package/dist/esm/react-query/invoicesCreateInvoice.js +51 -0
  119. package/dist/esm/react-query/invoicesCreateInvoice.js.map +1 -0
  120. package/dist/esm/react-query/vendorsAcceptVendorCredential.d.ts +23 -0
  121. package/dist/esm/react-query/vendorsAcceptVendorCredential.d.ts.map +1 -0
  122. package/dist/esm/react-query/vendorsAcceptVendorCredential.js +42 -0
  123. package/dist/esm/react-query/vendorsAcceptVendorCredential.js.map +1 -0
  124. package/dist/esm/sdk/invoices.d.ts +16 -0
  125. package/dist/esm/sdk/invoices.d.ts.map +1 -1
  126. package/dist/esm/sdk/invoices.js +19 -0
  127. package/dist/esm/sdk/invoices.js.map +1 -1
  128. package/dist/esm/sdk/vendors.d.ts +7 -0
  129. package/dist/esm/sdk/vendors.d.ts.map +1 -1
  130. package/dist/esm/sdk/vendors.js +10 -0
  131. package/dist/esm/sdk/vendors.js.map +1 -1
  132. package/jsr.json +1 -1
  133. package/package.json +1 -1
  134. package/src/__tests__/invoices.test.ts +18 -0
  135. package/src/__tests__/vendors.test.ts +18 -0
  136. package/src/__tests__/zones.test.ts +27 -13
  137. package/src/funcs/invoicesCreateInvoice.ts +174 -0
  138. package/src/funcs/vendorsAcceptVendorCredential.ts +176 -0
  139. package/src/lib/config.ts +2 -2
  140. package/src/mcp-server/mcp-server.ts +1 -1
  141. package/src/mcp-server/server.ts +5 -1
  142. package/src/mcp-server/tools/invoicesCreateInvoice.ts +46 -0
  143. package/src/mcp-server/tools/vendorsAcceptVendorCredential.ts +37 -0
  144. package/src/models/operations/acceptvendorcredential.ts +80 -0
  145. package/src/models/operations/createinvoice.ts +980 -0
  146. package/src/models/operations/index.ts +2 -0
  147. package/src/models/operations/updateinvoice.ts +491 -403
  148. package/src/react-query/index.ts +2 -0
  149. package/src/react-query/invoicesCreateInvoice.ts +98 -0
  150. package/src/react-query/vendorsAcceptVendorCredential.ts +88 -0
  151. package/src/sdk/invoices.ts +27 -0
  152. package/src/sdk/vendors.ts +18 -0
package/bin/mcp-server.js CHANGED
@@ -34236,9 +34236,9 @@ var init_config = __esm(() => {
34236
34236
  SDK_METADATA = {
34237
34237
  language: "typescript",
34238
34238
  openapiDocVersion: "0.0.3",
34239
- sdkVersion: "0.35.33",
34239
+ sdkVersion: "0.35.37",
34240
34240
  genVersion: "2.620.2",
34241
- userAgent: "speakeasy-sdk/typescript 0.35.33 2.620.2 0.0.3 @greensecurity/javascript-sdk"
34241
+ userAgent: "speakeasy-sdk/typescript 0.35.37 2.620.2 0.0.3 @greensecurity/javascript-sdk"
34242
34242
  };
34243
34243
  });
34244
34244
 
@@ -35675,6 +35675,31 @@ var init_errors2 = __esm(() => {
35675
35675
  init_sdkvalidationerror();
35676
35676
  });
35677
35677
 
35678
+ // src/models/operations/acceptvendorcredential.ts
35679
+ var AcceptVendorCredentialRequest$inboundSchema, AcceptVendorCredentialRequest$outboundSchema, AcceptVendorCredentialRequest$;
35680
+ var init_acceptvendorcredential = __esm(() => {
35681
+ init_esm();
35682
+ init_primitives();
35683
+ AcceptVendorCredentialRequest$inboundSchema = objectType({
35684
+ vendor_credential_id: numberType().int()
35685
+ }).transform((v2) => {
35686
+ return remap(v2, {
35687
+ vendor_credential_id: "vendorCredentialId"
35688
+ });
35689
+ });
35690
+ AcceptVendorCredentialRequest$outboundSchema = objectType({
35691
+ vendorCredentialId: numberType().int()
35692
+ }).transform((v2) => {
35693
+ return remap(v2, {
35694
+ vendorCredentialId: "vendor_credential_id"
35695
+ });
35696
+ });
35697
+ ((AcceptVendorCredentialRequest$) => {
35698
+ AcceptVendorCredentialRequest$.inboundSchema = AcceptVendorCredentialRequest$inboundSchema;
35699
+ AcceptVendorCredentialRequest$.outboundSchema = AcceptVendorCredentialRequest$outboundSchema;
35700
+ })(AcceptVendorCredentialRequest$ ||= {});
35701
+ });
35702
+
35678
35703
  // src/models/components/activestatus.ts
35679
35704
  var ActiveStatus, ActiveStatus$inboundSchema, ActiveStatus$outboundSchema, ActiveStatus$;
35680
35705
  var init_activestatus = __esm(() => {
@@ -40549,164 +40574,516 @@ var init_checkdownloadcode = __esm(() => {
40549
40574
  })(CheckDownloadCodeResponseBody$ ||= {});
40550
40575
  });
40551
40576
 
40552
- // src/models/operations/createnewvendorcredentialversion.ts
40553
- var CreateNewVendorCredentialVersionRequestBody$inboundSchema, CreateNewVendorCredentialVersionRequestBody$outboundSchema, CreateNewVendorCredentialVersionRequestBody$, CreateNewVendorCredentialVersionResponseBody$inboundSchema, CreateNewVendorCredentialVersionResponseBody$outboundSchema, CreateNewVendorCredentialVersionResponseBody$;
40554
- var init_createnewvendorcredentialversion = __esm(() => {
40577
+ // src/models/operations/createinvoice.ts
40578
+ var CreateInvoiceRequestBodyInvoicesPaymentHandler, CreateInvoiceRequestBodyPaymentHandler, RequestBodyPaymentHandler, PaymentHandler, CreateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema, CreateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema, CreateInvoiceRequestBodyInvoicesPaymentHandler$, CreateInvoiceRequestBodyInvoicesLines$inboundSchema, CreateInvoiceRequestBodyInvoicesLines$outboundSchema, CreateInvoiceRequestBodyInvoicesLines$, Four$inboundSchema, Four$outboundSchema, Four$, CreateInvoiceRequestBodyPaymentHandler$inboundSchema, CreateInvoiceRequestBodyPaymentHandler$outboundSchema, CreateInvoiceRequestBodyPaymentHandler$, CreateInvoiceRequestBodyLines$inboundSchema, CreateInvoiceRequestBodyLines$outboundSchema, CreateInvoiceRequestBodyLines$, Three$inboundSchema, Three$outboundSchema, Three$, RequestBodyPaymentHandler$inboundSchema, RequestBodyPaymentHandler$outboundSchema, RequestBodyPaymentHandler$, RequestBodyLines$inboundSchema, RequestBodyLines$outboundSchema, RequestBodyLines$, RequestBody2$inboundSchema, RequestBody2$outboundSchema, RequestBody2$, PaymentHandler$inboundSchema, PaymentHandler$outboundSchema, PaymentHandler$, Lines$inboundSchema, Lines$outboundSchema, Lines$, RequestBody1$inboundSchema, RequestBody1$outboundSchema, RequestBody1$, CreateInvoiceRequestBody$inboundSchema, CreateInvoiceRequestBody$outboundSchema, CreateInvoiceRequestBody$, CreateInvoiceResponseBody$inboundSchema, CreateInvoiceResponseBody$outboundSchema, CreateInvoiceResponseBody$;
40579
+ var init_createinvoice = __esm(() => {
40555
40580
  init_esm();
40556
40581
  init_primitives();
40557
- CreateNewVendorCredentialVersionRequestBody$inboundSchema = objectType({
40558
- vendor_credential_id: numberType().int()
40582
+ init_rfcdate();
40583
+ CreateInvoiceRequestBodyInvoicesPaymentHandler = {
40584
+ VendorCredential: "vendor credential",
40585
+ CredentialingSubscription: "credentialing subscription",
40586
+ ExpeditedCredential: "expedited credential"
40587
+ };
40588
+ CreateInvoiceRequestBodyPaymentHandler = {
40589
+ VendorCredential: "vendor credential",
40590
+ CredentialingSubscription: "credentialing subscription",
40591
+ ExpeditedCredential: "expedited credential"
40592
+ };
40593
+ RequestBodyPaymentHandler = {
40594
+ VendorCredential: "vendor credential",
40595
+ CredentialingSubscription: "credentialing subscription",
40596
+ ExpeditedCredential: "expedited credential"
40597
+ };
40598
+ PaymentHandler = {
40599
+ VendorCredential: "vendor credential",
40600
+ CredentialingSubscription: "credentialing subscription",
40601
+ ExpeditedCredential: "expedited credential"
40602
+ };
40603
+ CreateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema = nativeEnumType(CreateInvoiceRequestBodyInvoicesPaymentHandler);
40604
+ CreateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema = CreateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema;
40605
+ ((CreateInvoiceRequestBodyInvoicesPaymentHandler$) => {
40606
+ CreateInvoiceRequestBodyInvoicesPaymentHandler$.inboundSchema = CreateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema;
40607
+ CreateInvoiceRequestBodyInvoicesPaymentHandler$.outboundSchema = CreateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema;
40608
+ })(CreateInvoiceRequestBodyInvoicesPaymentHandler$ ||= {});
40609
+ CreateInvoiceRequestBodyInvoicesLines$inboundSchema = objectType({
40610
+ variant_id: numberType().int(),
40611
+ unit_price: numberType().optional(),
40612
+ quantity: numberType().int().optional(),
40613
+ subscription_id: numberType().int().optional(),
40614
+ date_starts: stringType().transform((v2) => new RFCDate(v2)).optional(),
40615
+ date_ends: stringType().transform((v2) => new RFCDate(v2)).optional(),
40616
+ payment_handler: CreateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema.optional(),
40617
+ payment_handler_data: stringType().optional()
40559
40618
  }).transform((v2) => {
40560
40619
  return remap(v2, {
40561
- vendor_credential_id: "vendorCredentialId"
40620
+ variant_id: "variantId",
40621
+ unit_price: "unitPrice",
40622
+ subscription_id: "subscriptionId",
40623
+ date_starts: "dateStarts",
40624
+ date_ends: "dateEnds",
40625
+ payment_handler: "paymentHandler",
40626
+ payment_handler_data: "paymentHandlerData"
40562
40627
  });
40563
40628
  });
40564
- CreateNewVendorCredentialVersionRequestBody$outboundSchema = objectType({
40565
- vendorCredentialId: numberType().int()
40629
+ CreateInvoiceRequestBodyInvoicesLines$outboundSchema = objectType({
40630
+ variantId: numberType().int(),
40631
+ unitPrice: numberType().optional(),
40632
+ quantity: numberType().int().optional(),
40633
+ subscriptionId: numberType().int().optional(),
40634
+ dateStarts: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
40635
+ dateEnds: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
40636
+ paymentHandler: CreateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema.optional(),
40637
+ paymentHandlerData: stringType().optional()
40566
40638
  }).transform((v2) => {
40567
40639
  return remap(v2, {
40568
- vendorCredentialId: "vendor_credential_id"
40640
+ variantId: "variant_id",
40641
+ unitPrice: "unit_price",
40642
+ subscriptionId: "subscription_id",
40643
+ dateStarts: "date_starts",
40644
+ dateEnds: "date_ends",
40645
+ paymentHandler: "payment_handler",
40646
+ paymentHandlerData: "payment_handler_data"
40569
40647
  });
40570
40648
  });
40571
- ((CreateNewVendorCredentialVersionRequestBody$) => {
40572
- CreateNewVendorCredentialVersionRequestBody$.inboundSchema = CreateNewVendorCredentialVersionRequestBody$inboundSchema;
40573
- CreateNewVendorCredentialVersionRequestBody$.outboundSchema = CreateNewVendorCredentialVersionRequestBody$outboundSchema;
40574
- })(CreateNewVendorCredentialVersionRequestBody$ ||= {});
40575
- CreateNewVendorCredentialVersionResponseBody$inboundSchema = objectType({
40576
- id: numberType().int().optional(),
40577
- success: booleanType().optional()
40578
- });
40579
- CreateNewVendorCredentialVersionResponseBody$outboundSchema = objectType({
40580
- id: numberType().int().optional(),
40581
- success: booleanType().optional()
40582
- });
40583
- ((CreateNewVendorCredentialVersionResponseBody$) => {
40584
- CreateNewVendorCredentialVersionResponseBody$.inboundSchema = CreateNewVendorCredentialVersionResponseBody$inboundSchema;
40585
- CreateNewVendorCredentialVersionResponseBody$.outboundSchema = CreateNewVendorCredentialVersionResponseBody$outboundSchema;
40586
- })(CreateNewVendorCredentialVersionResponseBody$ ||= {});
40587
- });
40588
-
40589
- // src/models/operations/createorupdatebcr.ts
40590
- var DeliveryMethod2, DeliveryMethod$inboundSchema2, DeliveryMethod$outboundSchema2, DeliveryMethod$2, CreateOrUpdateBcrRequestBody$inboundSchema, CreateOrUpdateBcrRequestBody$outboundSchema, CreateOrUpdateBcrRequestBody$, CreateOrUpdateBcrRequest$inboundSchema, CreateOrUpdateBcrRequest$outboundSchema, CreateOrUpdateBcrRequest$;
40591
- var init_createorupdatebcr = __esm(() => {
40592
- init_esm();
40593
- init_primitives();
40594
- init_components();
40595
- DeliveryMethod2 = {
40596
- Email: "email",
40597
- Mail: "mail"
40598
- };
40599
- DeliveryMethod$inboundSchema2 = nativeEnumType(DeliveryMethod2);
40600
- DeliveryMethod$outboundSchema2 = DeliveryMethod$inboundSchema2;
40601
- ((DeliveryMethod$) => {
40602
- DeliveryMethod$.inboundSchema = DeliveryMethod$inboundSchema2;
40603
- DeliveryMethod$.outboundSchema = DeliveryMethod$outboundSchema2;
40604
- })(DeliveryMethod$2 ||= {});
40605
- CreateOrUpdateBcrRequestBody$inboundSchema = objectType({
40606
- electronic_signature: stringType().optional(),
40607
- delivery_method: DeliveryMethod$inboundSchema2.optional(),
40608
- email: stringType().optional(),
40609
- address1: stringType().optional(),
40610
- address2: stringType().optional(),
40611
- city: stringType().optional(),
40612
- state: nullableType(State$inboundSchema).optional(),
40613
- zip: stringType().optional()
40649
+ ((CreateInvoiceRequestBodyInvoicesLines$) => {
40650
+ CreateInvoiceRequestBodyInvoicesLines$.inboundSchema = CreateInvoiceRequestBodyInvoicesLines$inboundSchema;
40651
+ CreateInvoiceRequestBodyInvoicesLines$.outboundSchema = CreateInvoiceRequestBodyInvoicesLines$outboundSchema;
40652
+ })(CreateInvoiceRequestBodyInvoicesLines$ ||= {});
40653
+ Four$inboundSchema = objectType({
40654
+ system_id: numberType().int(),
40655
+ lines: arrayType(lazyType(() => CreateInvoiceRequestBodyInvoicesLines$inboundSchema)).optional(),
40656
+ vendor_credential_id: numberType().int().optional()
40614
40657
  }).transform((v2) => {
40615
40658
  return remap(v2, {
40616
- electronic_signature: "electronicSignature",
40617
- delivery_method: "deliveryMethod"
40659
+ system_id: "systemId",
40660
+ vendor_credential_id: "vendorCredentialId"
40618
40661
  });
40619
40662
  });
40620
- CreateOrUpdateBcrRequestBody$outboundSchema = objectType({
40621
- electronicSignature: stringType().optional(),
40622
- deliveryMethod: DeliveryMethod$outboundSchema2.optional(),
40623
- email: stringType().optional(),
40624
- address1: stringType().optional(),
40625
- address2: stringType().optional(),
40626
- city: stringType().optional(),
40627
- state: nullableType(State$outboundSchema).optional(),
40628
- zip: stringType().optional()
40663
+ Four$outboundSchema = objectType({
40664
+ systemId: numberType().int(),
40665
+ lines: arrayType(lazyType(() => CreateInvoiceRequestBodyInvoicesLines$outboundSchema)).optional(),
40666
+ vendorCredentialId: numberType().int().optional()
40629
40667
  }).transform((v2) => {
40630
40668
  return remap(v2, {
40631
- electronicSignature: "electronic_signature",
40632
- deliveryMethod: "delivery_method"
40669
+ systemId: "system_id",
40670
+ vendorCredentialId: "vendor_credential_id"
40633
40671
  });
40634
40672
  });
40635
- ((CreateOrUpdateBcrRequestBody$) => {
40636
- CreateOrUpdateBcrRequestBody$.inboundSchema = CreateOrUpdateBcrRequestBody$inboundSchema;
40637
- CreateOrUpdateBcrRequestBody$.outboundSchema = CreateOrUpdateBcrRequestBody$outboundSchema;
40638
- })(CreateOrUpdateBcrRequestBody$ ||= {});
40639
- CreateOrUpdateBcrRequest$inboundSchema = objectType({
40640
- vendor_credential_id: numberType().int(),
40641
- RequestBody: lazyType(() => CreateOrUpdateBcrRequestBody$inboundSchema)
40673
+ ((Four$) => {
40674
+ Four$.inboundSchema = Four$inboundSchema;
40675
+ Four$.outboundSchema = Four$outboundSchema;
40676
+ })(Four$ ||= {});
40677
+ CreateInvoiceRequestBodyPaymentHandler$inboundSchema = nativeEnumType(CreateInvoiceRequestBodyPaymentHandler);
40678
+ CreateInvoiceRequestBodyPaymentHandler$outboundSchema = CreateInvoiceRequestBodyPaymentHandler$inboundSchema;
40679
+ ((CreateInvoiceRequestBodyPaymentHandler$) => {
40680
+ CreateInvoiceRequestBodyPaymentHandler$.inboundSchema = CreateInvoiceRequestBodyPaymentHandler$inboundSchema;
40681
+ CreateInvoiceRequestBodyPaymentHandler$.outboundSchema = CreateInvoiceRequestBodyPaymentHandler$outboundSchema;
40682
+ })(CreateInvoiceRequestBodyPaymentHandler$ ||= {});
40683
+ CreateInvoiceRequestBodyLines$inboundSchema = objectType({
40684
+ variant_id: numberType().int(),
40685
+ unit_price: numberType().optional(),
40686
+ quantity: numberType().int().optional(),
40687
+ subscription_id: numberType().int().optional(),
40688
+ date_starts: stringType().transform((v2) => new RFCDate(v2)).optional(),
40689
+ date_ends: stringType().transform((v2) => new RFCDate(v2)).optional(),
40690
+ payment_handler: CreateInvoiceRequestBodyPaymentHandler$inboundSchema.optional(),
40691
+ payment_handler_data: stringType().optional()
40642
40692
  }).transform((v2) => {
40643
40693
  return remap(v2, {
40644
- vendor_credential_id: "vendorCredentialId",
40645
- RequestBody: "requestBody"
40694
+ variant_id: "variantId",
40695
+ unit_price: "unitPrice",
40696
+ subscription_id: "subscriptionId",
40697
+ date_starts: "dateStarts",
40698
+ date_ends: "dateEnds",
40699
+ payment_handler: "paymentHandler",
40700
+ payment_handler_data: "paymentHandlerData"
40646
40701
  });
40647
40702
  });
40648
- CreateOrUpdateBcrRequest$outboundSchema = objectType({
40649
- vendorCredentialId: numberType().int(),
40650
- requestBody: lazyType(() => CreateOrUpdateBcrRequestBody$outboundSchema)
40703
+ CreateInvoiceRequestBodyLines$outboundSchema = objectType({
40704
+ variantId: numberType().int(),
40705
+ unitPrice: numberType().optional(),
40706
+ quantity: numberType().int().optional(),
40707
+ subscriptionId: numberType().int().optional(),
40708
+ dateStarts: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
40709
+ dateEnds: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
40710
+ paymentHandler: CreateInvoiceRequestBodyPaymentHandler$outboundSchema.optional(),
40711
+ paymentHandlerData: stringType().optional()
40651
40712
  }).transform((v2) => {
40652
40713
  return remap(v2, {
40653
- vendorCredentialId: "vendor_credential_id",
40654
- requestBody: "RequestBody"
40714
+ variantId: "variant_id",
40715
+ unitPrice: "unit_price",
40716
+ subscriptionId: "subscription_id",
40717
+ dateStarts: "date_starts",
40718
+ dateEnds: "date_ends",
40719
+ paymentHandler: "payment_handler",
40720
+ paymentHandlerData: "payment_handler_data"
40655
40721
  });
40656
40722
  });
40657
- ((CreateOrUpdateBcrRequest$) => {
40658
- CreateOrUpdateBcrRequest$.inboundSchema = CreateOrUpdateBcrRequest$inboundSchema;
40659
- CreateOrUpdateBcrRequest$.outboundSchema = CreateOrUpdateBcrRequest$outboundSchema;
40660
- })(CreateOrUpdateBcrRequest$ ||= {});
40661
- });
40662
-
40663
- // src/models/operations/createvendorcompany.ts
40664
- var CreateVendorCompanyRequestBody$inboundSchema, CreateVendorCompanyRequestBody$outboundSchema, CreateVendorCompanyRequestBody$, CreateVendorCompanyRequest$inboundSchema, CreateVendorCompanyRequest$outboundSchema, CreateVendorCompanyRequest$, CreateVendorCompanyResponseBody$inboundSchema, CreateVendorCompanyResponseBody$outboundSchema, CreateVendorCompanyResponseBody$;
40665
- var init_createvendorcompany = __esm(() => {
40666
- init_esm();
40667
- init_primitives();
40668
- init_components();
40669
- CreateVendorCompanyRequestBody$inboundSchema = objectType({
40670
- name: stringType(),
40671
- address: stringType(),
40672
- city: stringType(),
40673
- state: nullableType(State$inboundSchema),
40674
- zip: stringType(),
40675
- tax_id: stringType()
40723
+ ((CreateInvoiceRequestBodyLines$) => {
40724
+ CreateInvoiceRequestBodyLines$.inboundSchema = CreateInvoiceRequestBodyLines$inboundSchema;
40725
+ CreateInvoiceRequestBodyLines$.outboundSchema = CreateInvoiceRequestBodyLines$outboundSchema;
40726
+ })(CreateInvoiceRequestBodyLines$ ||= {});
40727
+ Three$inboundSchema = objectType({
40728
+ facility_id: numberType().int(),
40729
+ lines: arrayType(lazyType(() => CreateInvoiceRequestBodyLines$inboundSchema)).optional(),
40730
+ vendor_credential_id: numberType().int().optional()
40676
40731
  }).transform((v2) => {
40677
40732
  return remap(v2, {
40678
- tax_id: "taxId"
40733
+ facility_id: "facilityId",
40734
+ vendor_credential_id: "vendorCredentialId"
40679
40735
  });
40680
40736
  });
40681
- CreateVendorCompanyRequestBody$outboundSchema = objectType({
40682
- name: stringType(),
40683
- address: stringType(),
40684
- city: stringType(),
40685
- state: nullableType(State$outboundSchema),
40686
- zip: stringType(),
40687
- taxId: stringType()
40737
+ Three$outboundSchema = objectType({
40738
+ facilityId: numberType().int(),
40739
+ lines: arrayType(lazyType(() => CreateInvoiceRequestBodyLines$outboundSchema)).optional(),
40740
+ vendorCredentialId: numberType().int().optional()
40688
40741
  }).transform((v2) => {
40689
40742
  return remap(v2, {
40690
- taxId: "tax_id"
40743
+ facilityId: "facility_id",
40744
+ vendorCredentialId: "vendor_credential_id"
40691
40745
  });
40692
40746
  });
40693
- ((CreateVendorCompanyRequestBody$) => {
40694
- CreateVendorCompanyRequestBody$.inboundSchema = CreateVendorCompanyRequestBody$inboundSchema;
40695
- CreateVendorCompanyRequestBody$.outboundSchema = CreateVendorCompanyRequestBody$outboundSchema;
40696
- })(CreateVendorCompanyRequestBody$ ||= {});
40697
- CreateVendorCompanyRequest$inboundSchema = objectType({
40698
- vendor_id_or_me: stringType(),
40699
- RequestBody: lazyType(() => CreateVendorCompanyRequestBody$inboundSchema)
40747
+ ((Three$) => {
40748
+ Three$.inboundSchema = Three$inboundSchema;
40749
+ Three$.outboundSchema = Three$outboundSchema;
40750
+ })(Three$ ||= {});
40751
+ RequestBodyPaymentHandler$inboundSchema = nativeEnumType(RequestBodyPaymentHandler);
40752
+ RequestBodyPaymentHandler$outboundSchema = RequestBodyPaymentHandler$inboundSchema;
40753
+ ((RequestBodyPaymentHandler$) => {
40754
+ RequestBodyPaymentHandler$.inboundSchema = RequestBodyPaymentHandler$inboundSchema;
40755
+ RequestBodyPaymentHandler$.outboundSchema = RequestBodyPaymentHandler$outboundSchema;
40756
+ })(RequestBodyPaymentHandler$ ||= {});
40757
+ RequestBodyLines$inboundSchema = objectType({
40758
+ variant_id: numberType().int(),
40759
+ unit_price: numberType().optional(),
40760
+ quantity: numberType().int().optional(),
40761
+ subscription_id: numberType().int().optional(),
40762
+ date_starts: stringType().transform((v2) => new RFCDate(v2)).optional(),
40763
+ date_ends: stringType().transform((v2) => new RFCDate(v2)).optional(),
40764
+ payment_handler: RequestBodyPaymentHandler$inboundSchema.optional(),
40765
+ payment_handler_data: stringType().optional()
40700
40766
  }).transform((v2) => {
40701
40767
  return remap(v2, {
40702
- vendor_id_or_me: "vendorIdOrMe",
40703
- RequestBody: "requestBody"
40704
- });
40705
- });
40706
- CreateVendorCompanyRequest$outboundSchema = objectType({
40707
- vendorIdOrMe: stringType(),
40708
- requestBody: lazyType(() => CreateVendorCompanyRequestBody$outboundSchema)
40709
- }).transform((v2) => {
40768
+ variant_id: "variantId",
40769
+ unit_price: "unitPrice",
40770
+ subscription_id: "subscriptionId",
40771
+ date_starts: "dateStarts",
40772
+ date_ends: "dateEnds",
40773
+ payment_handler: "paymentHandler",
40774
+ payment_handler_data: "paymentHandlerData"
40775
+ });
40776
+ });
40777
+ RequestBodyLines$outboundSchema = objectType({
40778
+ variantId: numberType().int(),
40779
+ unitPrice: numberType().optional(),
40780
+ quantity: numberType().int().optional(),
40781
+ subscriptionId: numberType().int().optional(),
40782
+ dateStarts: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
40783
+ dateEnds: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
40784
+ paymentHandler: RequestBodyPaymentHandler$outboundSchema.optional(),
40785
+ paymentHandlerData: stringType().optional()
40786
+ }).transform((v2) => {
40787
+ return remap(v2, {
40788
+ variantId: "variant_id",
40789
+ unitPrice: "unit_price",
40790
+ subscriptionId: "subscription_id",
40791
+ dateStarts: "date_starts",
40792
+ dateEnds: "date_ends",
40793
+ paymentHandler: "payment_handler",
40794
+ paymentHandlerData: "payment_handler_data"
40795
+ });
40796
+ });
40797
+ ((RequestBodyLines$) => {
40798
+ RequestBodyLines$.inboundSchema = RequestBodyLines$inboundSchema;
40799
+ RequestBodyLines$.outboundSchema = RequestBodyLines$outboundSchema;
40800
+ })(RequestBodyLines$ ||= {});
40801
+ RequestBody2$inboundSchema = objectType({
40802
+ company_id: numberType().int(),
40803
+ lines: arrayType(lazyType(() => RequestBodyLines$inboundSchema)).optional(),
40804
+ vendor_credential_id: numberType().int().optional()
40805
+ }).transform((v2) => {
40806
+ return remap(v2, {
40807
+ company_id: "companyId",
40808
+ vendor_credential_id: "vendorCredentialId"
40809
+ });
40810
+ });
40811
+ RequestBody2$outboundSchema = objectType({
40812
+ companyId: numberType().int(),
40813
+ lines: arrayType(lazyType(() => RequestBodyLines$outboundSchema)).optional(),
40814
+ vendorCredentialId: numberType().int().optional()
40815
+ }).transform((v2) => {
40816
+ return remap(v2, {
40817
+ companyId: "company_id",
40818
+ vendorCredentialId: "vendor_credential_id"
40819
+ });
40820
+ });
40821
+ ((RequestBody2$) => {
40822
+ RequestBody2$.inboundSchema = RequestBody2$inboundSchema;
40823
+ RequestBody2$.outboundSchema = RequestBody2$outboundSchema;
40824
+ })(RequestBody2$ ||= {});
40825
+ PaymentHandler$inboundSchema = nativeEnumType(PaymentHandler);
40826
+ PaymentHandler$outboundSchema = PaymentHandler$inboundSchema;
40827
+ ((PaymentHandler$) => {
40828
+ PaymentHandler$.inboundSchema = PaymentHandler$inboundSchema;
40829
+ PaymentHandler$.outboundSchema = PaymentHandler$outboundSchema;
40830
+ })(PaymentHandler$ ||= {});
40831
+ Lines$inboundSchema = objectType({
40832
+ variant_id: numberType().int(),
40833
+ unit_price: numberType().optional(),
40834
+ quantity: numberType().int().optional(),
40835
+ subscription_id: numberType().int().optional(),
40836
+ date_starts: stringType().transform((v2) => new RFCDate(v2)).optional(),
40837
+ date_ends: stringType().transform((v2) => new RFCDate(v2)).optional(),
40838
+ payment_handler: PaymentHandler$inboundSchema.optional(),
40839
+ payment_handler_data: stringType().optional()
40840
+ }).transform((v2) => {
40841
+ return remap(v2, {
40842
+ variant_id: "variantId",
40843
+ unit_price: "unitPrice",
40844
+ subscription_id: "subscriptionId",
40845
+ date_starts: "dateStarts",
40846
+ date_ends: "dateEnds",
40847
+ payment_handler: "paymentHandler",
40848
+ payment_handler_data: "paymentHandlerData"
40849
+ });
40850
+ });
40851
+ Lines$outboundSchema = objectType({
40852
+ variantId: numberType().int(),
40853
+ unitPrice: numberType().optional(),
40854
+ quantity: numberType().int().optional(),
40855
+ subscriptionId: numberType().int().optional(),
40856
+ dateStarts: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
40857
+ dateEnds: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
40858
+ paymentHandler: PaymentHandler$outboundSchema.optional(),
40859
+ paymentHandlerData: stringType().optional()
40860
+ }).transform((v2) => {
40861
+ return remap(v2, {
40862
+ variantId: "variant_id",
40863
+ unitPrice: "unit_price",
40864
+ subscriptionId: "subscription_id",
40865
+ dateStarts: "date_starts",
40866
+ dateEnds: "date_ends",
40867
+ paymentHandler: "payment_handler",
40868
+ paymentHandlerData: "payment_handler_data"
40869
+ });
40870
+ });
40871
+ ((Lines$) => {
40872
+ Lines$.inboundSchema = Lines$inboundSchema;
40873
+ Lines$.outboundSchema = Lines$outboundSchema;
40874
+ })(Lines$ ||= {});
40875
+ RequestBody1$inboundSchema = objectType({
40876
+ vendor_id: numberType().int(),
40877
+ lines: arrayType(lazyType(() => Lines$inboundSchema)).optional(),
40878
+ vendor_credential_id: numberType().int().optional()
40879
+ }).transform((v2) => {
40880
+ return remap(v2, {
40881
+ vendor_id: "vendorId",
40882
+ vendor_credential_id: "vendorCredentialId"
40883
+ });
40884
+ });
40885
+ RequestBody1$outboundSchema = objectType({
40886
+ vendorId: numberType().int(),
40887
+ lines: arrayType(lazyType(() => Lines$outboundSchema)).optional(),
40888
+ vendorCredentialId: numberType().int().optional()
40889
+ }).transform((v2) => {
40890
+ return remap(v2, {
40891
+ vendorId: "vendor_id",
40892
+ vendorCredentialId: "vendor_credential_id"
40893
+ });
40894
+ });
40895
+ ((RequestBody1$) => {
40896
+ RequestBody1$.inboundSchema = RequestBody1$inboundSchema;
40897
+ RequestBody1$.outboundSchema = RequestBody1$outboundSchema;
40898
+ })(RequestBody1$ ||= {});
40899
+ CreateInvoiceRequestBody$inboundSchema = unionType([
40900
+ lazyType(() => RequestBody1$inboundSchema),
40901
+ lazyType(() => RequestBody2$inboundSchema),
40902
+ lazyType(() => Three$inboundSchema),
40903
+ lazyType(() => Four$inboundSchema)
40904
+ ]);
40905
+ CreateInvoiceRequestBody$outboundSchema = unionType([
40906
+ lazyType(() => RequestBody1$outboundSchema),
40907
+ lazyType(() => RequestBody2$outboundSchema),
40908
+ lazyType(() => Three$outboundSchema),
40909
+ lazyType(() => Four$outboundSchema)
40910
+ ]);
40911
+ ((CreateInvoiceRequestBody$) => {
40912
+ CreateInvoiceRequestBody$.inboundSchema = CreateInvoiceRequestBody$inboundSchema;
40913
+ CreateInvoiceRequestBody$.outboundSchema = CreateInvoiceRequestBody$outboundSchema;
40914
+ })(CreateInvoiceRequestBody$ ||= {});
40915
+ CreateInvoiceResponseBody$inboundSchema = objectType({
40916
+ id: numberType().int().optional(),
40917
+ success: booleanType().optional()
40918
+ });
40919
+ CreateInvoiceResponseBody$outboundSchema = objectType({
40920
+ id: numberType().int().optional(),
40921
+ success: booleanType().optional()
40922
+ });
40923
+ ((CreateInvoiceResponseBody$) => {
40924
+ CreateInvoiceResponseBody$.inboundSchema = CreateInvoiceResponseBody$inboundSchema;
40925
+ CreateInvoiceResponseBody$.outboundSchema = CreateInvoiceResponseBody$outboundSchema;
40926
+ })(CreateInvoiceResponseBody$ ||= {});
40927
+ });
40928
+
40929
+ // src/models/operations/createnewvendorcredentialversion.ts
40930
+ var CreateNewVendorCredentialVersionRequestBody$inboundSchema, CreateNewVendorCredentialVersionRequestBody$outboundSchema, CreateNewVendorCredentialVersionRequestBody$, CreateNewVendorCredentialVersionResponseBody$inboundSchema, CreateNewVendorCredentialVersionResponseBody$outboundSchema, CreateNewVendorCredentialVersionResponseBody$;
40931
+ var init_createnewvendorcredentialversion = __esm(() => {
40932
+ init_esm();
40933
+ init_primitives();
40934
+ CreateNewVendorCredentialVersionRequestBody$inboundSchema = objectType({
40935
+ vendor_credential_id: numberType().int()
40936
+ }).transform((v2) => {
40937
+ return remap(v2, {
40938
+ vendor_credential_id: "vendorCredentialId"
40939
+ });
40940
+ });
40941
+ CreateNewVendorCredentialVersionRequestBody$outboundSchema = objectType({
40942
+ vendorCredentialId: numberType().int()
40943
+ }).transform((v2) => {
40944
+ return remap(v2, {
40945
+ vendorCredentialId: "vendor_credential_id"
40946
+ });
40947
+ });
40948
+ ((CreateNewVendorCredentialVersionRequestBody$) => {
40949
+ CreateNewVendorCredentialVersionRequestBody$.inboundSchema = CreateNewVendorCredentialVersionRequestBody$inboundSchema;
40950
+ CreateNewVendorCredentialVersionRequestBody$.outboundSchema = CreateNewVendorCredentialVersionRequestBody$outboundSchema;
40951
+ })(CreateNewVendorCredentialVersionRequestBody$ ||= {});
40952
+ CreateNewVendorCredentialVersionResponseBody$inboundSchema = objectType({
40953
+ id: numberType().int().optional(),
40954
+ success: booleanType().optional()
40955
+ });
40956
+ CreateNewVendorCredentialVersionResponseBody$outboundSchema = objectType({
40957
+ id: numberType().int().optional(),
40958
+ success: booleanType().optional()
40959
+ });
40960
+ ((CreateNewVendorCredentialVersionResponseBody$) => {
40961
+ CreateNewVendorCredentialVersionResponseBody$.inboundSchema = CreateNewVendorCredentialVersionResponseBody$inboundSchema;
40962
+ CreateNewVendorCredentialVersionResponseBody$.outboundSchema = CreateNewVendorCredentialVersionResponseBody$outboundSchema;
40963
+ })(CreateNewVendorCredentialVersionResponseBody$ ||= {});
40964
+ });
40965
+
40966
+ // src/models/operations/createorupdatebcr.ts
40967
+ var DeliveryMethod2, DeliveryMethod$inboundSchema2, DeliveryMethod$outboundSchema2, DeliveryMethod$2, CreateOrUpdateBcrRequestBody$inboundSchema, CreateOrUpdateBcrRequestBody$outboundSchema, CreateOrUpdateBcrRequestBody$, CreateOrUpdateBcrRequest$inboundSchema, CreateOrUpdateBcrRequest$outboundSchema, CreateOrUpdateBcrRequest$;
40968
+ var init_createorupdatebcr = __esm(() => {
40969
+ init_esm();
40970
+ init_primitives();
40971
+ init_components();
40972
+ DeliveryMethod2 = {
40973
+ Email: "email",
40974
+ Mail: "mail"
40975
+ };
40976
+ DeliveryMethod$inboundSchema2 = nativeEnumType(DeliveryMethod2);
40977
+ DeliveryMethod$outboundSchema2 = DeliveryMethod$inboundSchema2;
40978
+ ((DeliveryMethod$) => {
40979
+ DeliveryMethod$.inboundSchema = DeliveryMethod$inboundSchema2;
40980
+ DeliveryMethod$.outboundSchema = DeliveryMethod$outboundSchema2;
40981
+ })(DeliveryMethod$2 ||= {});
40982
+ CreateOrUpdateBcrRequestBody$inboundSchema = objectType({
40983
+ electronic_signature: stringType().optional(),
40984
+ delivery_method: DeliveryMethod$inboundSchema2.optional(),
40985
+ email: stringType().optional(),
40986
+ address1: stringType().optional(),
40987
+ address2: stringType().optional(),
40988
+ city: stringType().optional(),
40989
+ state: nullableType(State$inboundSchema).optional(),
40990
+ zip: stringType().optional()
40991
+ }).transform((v2) => {
40992
+ return remap(v2, {
40993
+ electronic_signature: "electronicSignature",
40994
+ delivery_method: "deliveryMethod"
40995
+ });
40996
+ });
40997
+ CreateOrUpdateBcrRequestBody$outboundSchema = objectType({
40998
+ electronicSignature: stringType().optional(),
40999
+ deliveryMethod: DeliveryMethod$outboundSchema2.optional(),
41000
+ email: stringType().optional(),
41001
+ address1: stringType().optional(),
41002
+ address2: stringType().optional(),
41003
+ city: stringType().optional(),
41004
+ state: nullableType(State$outboundSchema).optional(),
41005
+ zip: stringType().optional()
41006
+ }).transform((v2) => {
41007
+ return remap(v2, {
41008
+ electronicSignature: "electronic_signature",
41009
+ deliveryMethod: "delivery_method"
41010
+ });
41011
+ });
41012
+ ((CreateOrUpdateBcrRequestBody$) => {
41013
+ CreateOrUpdateBcrRequestBody$.inboundSchema = CreateOrUpdateBcrRequestBody$inboundSchema;
41014
+ CreateOrUpdateBcrRequestBody$.outboundSchema = CreateOrUpdateBcrRequestBody$outboundSchema;
41015
+ })(CreateOrUpdateBcrRequestBody$ ||= {});
41016
+ CreateOrUpdateBcrRequest$inboundSchema = objectType({
41017
+ vendor_credential_id: numberType().int(),
41018
+ RequestBody: lazyType(() => CreateOrUpdateBcrRequestBody$inboundSchema)
41019
+ }).transform((v2) => {
41020
+ return remap(v2, {
41021
+ vendor_credential_id: "vendorCredentialId",
41022
+ RequestBody: "requestBody"
41023
+ });
41024
+ });
41025
+ CreateOrUpdateBcrRequest$outboundSchema = objectType({
41026
+ vendorCredentialId: numberType().int(),
41027
+ requestBody: lazyType(() => CreateOrUpdateBcrRequestBody$outboundSchema)
41028
+ }).transform((v2) => {
41029
+ return remap(v2, {
41030
+ vendorCredentialId: "vendor_credential_id",
41031
+ requestBody: "RequestBody"
41032
+ });
41033
+ });
41034
+ ((CreateOrUpdateBcrRequest$) => {
41035
+ CreateOrUpdateBcrRequest$.inboundSchema = CreateOrUpdateBcrRequest$inboundSchema;
41036
+ CreateOrUpdateBcrRequest$.outboundSchema = CreateOrUpdateBcrRequest$outboundSchema;
41037
+ })(CreateOrUpdateBcrRequest$ ||= {});
41038
+ });
41039
+
41040
+ // src/models/operations/createvendorcompany.ts
41041
+ var CreateVendorCompanyRequestBody$inboundSchema, CreateVendorCompanyRequestBody$outboundSchema, CreateVendorCompanyRequestBody$, CreateVendorCompanyRequest$inboundSchema, CreateVendorCompanyRequest$outboundSchema, CreateVendorCompanyRequest$, CreateVendorCompanyResponseBody$inboundSchema, CreateVendorCompanyResponseBody$outboundSchema, CreateVendorCompanyResponseBody$;
41042
+ var init_createvendorcompany = __esm(() => {
41043
+ init_esm();
41044
+ init_primitives();
41045
+ init_components();
41046
+ CreateVendorCompanyRequestBody$inboundSchema = objectType({
41047
+ name: stringType(),
41048
+ address: stringType(),
41049
+ city: stringType(),
41050
+ state: nullableType(State$inboundSchema),
41051
+ zip: stringType(),
41052
+ tax_id: stringType()
41053
+ }).transform((v2) => {
41054
+ return remap(v2, {
41055
+ tax_id: "taxId"
41056
+ });
41057
+ });
41058
+ CreateVendorCompanyRequestBody$outboundSchema = objectType({
41059
+ name: stringType(),
41060
+ address: stringType(),
41061
+ city: stringType(),
41062
+ state: nullableType(State$outboundSchema),
41063
+ zip: stringType(),
41064
+ taxId: stringType()
41065
+ }).transform((v2) => {
41066
+ return remap(v2, {
41067
+ taxId: "tax_id"
41068
+ });
41069
+ });
41070
+ ((CreateVendorCompanyRequestBody$) => {
41071
+ CreateVendorCompanyRequestBody$.inboundSchema = CreateVendorCompanyRequestBody$inboundSchema;
41072
+ CreateVendorCompanyRequestBody$.outboundSchema = CreateVendorCompanyRequestBody$outboundSchema;
41073
+ })(CreateVendorCompanyRequestBody$ ||= {});
41074
+ CreateVendorCompanyRequest$inboundSchema = objectType({
41075
+ vendor_id_or_me: stringType(),
41076
+ RequestBody: lazyType(() => CreateVendorCompanyRequestBody$inboundSchema)
41077
+ }).transform((v2) => {
41078
+ return remap(v2, {
41079
+ vendor_id_or_me: "vendorIdOrMe",
41080
+ RequestBody: "requestBody"
41081
+ });
41082
+ });
41083
+ CreateVendorCompanyRequest$outboundSchema = objectType({
41084
+ vendorIdOrMe: stringType(),
41085
+ requestBody: lazyType(() => CreateVendorCompanyRequestBody$outboundSchema)
41086
+ }).transform((v2) => {
40710
41087
  return remap(v2, {
40711
41088
  vendorIdOrMe: "vendor_id_or_me",
40712
41089
  requestBody: "RequestBody"
@@ -43063,45 +43440,45 @@ var init_updatedatarequest = __esm(() => {
43063
43440
  });
43064
43441
 
43065
43442
  // src/models/operations/updateinvoice.ts
43066
- var UpdateInvoiceRequestBodyInvoicesPaymentHandler, UpdateInvoiceRequestBodyPaymentHandler, RequestBodyPaymentHandler, PaymentHandler, UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema, UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema, UpdateInvoiceRequestBodyInvoicesPaymentHandler$, UpdateInvoiceRequestBodyInvoicesLines$inboundSchema, UpdateInvoiceRequestBodyInvoicesLines$outboundSchema, UpdateInvoiceRequestBodyInvoicesLines$, Four$inboundSchema, Four$outboundSchema, Four$, UpdateInvoiceRequestBodyPaymentHandler$inboundSchema, UpdateInvoiceRequestBodyPaymentHandler$outboundSchema, UpdateInvoiceRequestBodyPaymentHandler$, UpdateInvoiceRequestBodyLines$inboundSchema, UpdateInvoiceRequestBodyLines$outboundSchema, UpdateInvoiceRequestBodyLines$, Three$inboundSchema, Three$outboundSchema, Three$, RequestBodyPaymentHandler$inboundSchema, RequestBodyPaymentHandler$outboundSchema, RequestBodyPaymentHandler$, RequestBodyLines$inboundSchema, RequestBodyLines$outboundSchema, RequestBodyLines$, RequestBody2$inboundSchema, RequestBody2$outboundSchema, RequestBody2$, PaymentHandler$inboundSchema, PaymentHandler$outboundSchema, PaymentHandler$, Lines$inboundSchema, Lines$outboundSchema, Lines$, RequestBody1$inboundSchema, RequestBody1$outboundSchema, RequestBody1$, UpdateInvoiceRequestBody$inboundSchema, UpdateInvoiceRequestBody$outboundSchema, UpdateInvoiceRequestBody$, UpdateInvoiceRequest$inboundSchema, UpdateInvoiceRequest$outboundSchema, UpdateInvoiceRequest$;
43443
+ var UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler, UpdateInvoiceRequestBodyInvoicesPaymentHandler, UpdateInvoiceRequestBodyPaymentHandler, UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$, UpdateInvoiceRequestBodyInvoicesRequest4Lines$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4Lines$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequest4Lines$, RequestBody4$inboundSchema, RequestBody4$outboundSchema, RequestBody4$, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$, UpdateInvoiceRequestBodyInvoicesRequestLines$inboundSchema, UpdateInvoiceRequestBodyInvoicesRequestLines$outboundSchema, UpdateInvoiceRequestBodyInvoicesRequestLines$, RequestBody3$inboundSchema, RequestBody3$outboundSchema, RequestBody3$, UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema, UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema, UpdateInvoiceRequestBodyInvoicesPaymentHandler$, UpdateInvoiceRequestBodyInvoicesLines$inboundSchema, UpdateInvoiceRequestBodyInvoicesLines$outboundSchema, UpdateInvoiceRequestBodyInvoicesLines$, UpdateInvoiceRequestBody2$inboundSchema, UpdateInvoiceRequestBody2$outboundSchema, UpdateInvoiceRequestBody2$, UpdateInvoiceRequestBodyPaymentHandler$inboundSchema, UpdateInvoiceRequestBodyPaymentHandler$outboundSchema, UpdateInvoiceRequestBodyPaymentHandler$, UpdateInvoiceRequestBodyLines$inboundSchema, UpdateInvoiceRequestBodyLines$outboundSchema, UpdateInvoiceRequestBodyLines$, UpdateInvoiceRequestBody1$inboundSchema, UpdateInvoiceRequestBody1$outboundSchema, UpdateInvoiceRequestBody1$, UpdateInvoiceRequestBody$inboundSchema, UpdateInvoiceRequestBody$outboundSchema, UpdateInvoiceRequestBody$, UpdateInvoiceRequest$inboundSchema, UpdateInvoiceRequest$outboundSchema, UpdateInvoiceRequest$;
43067
43444
  var init_updateinvoice = __esm(() => {
43068
43445
  init_esm();
43069
43446
  init_primitives();
43070
43447
  init_rfcdate();
43071
- UpdateInvoiceRequestBodyInvoicesPaymentHandler = {
43448
+ UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler = {
43072
43449
  VendorCredential: "vendor credential",
43073
43450
  CredentialingSubscription: "credentialing subscription",
43074
43451
  ExpeditedCredential: "expedited credential"
43075
43452
  };
43076
- UpdateInvoiceRequestBodyPaymentHandler = {
43453
+ UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler = {
43077
43454
  VendorCredential: "vendor credential",
43078
43455
  CredentialingSubscription: "credentialing subscription",
43079
43456
  ExpeditedCredential: "expedited credential"
43080
43457
  };
43081
- RequestBodyPaymentHandler = {
43458
+ UpdateInvoiceRequestBodyInvoicesPaymentHandler = {
43082
43459
  VendorCredential: "vendor credential",
43083
43460
  CredentialingSubscription: "credentialing subscription",
43084
43461
  ExpeditedCredential: "expedited credential"
43085
43462
  };
43086
- PaymentHandler = {
43463
+ UpdateInvoiceRequestBodyPaymentHandler = {
43087
43464
  VendorCredential: "vendor credential",
43088
43465
  CredentialingSubscription: "credentialing subscription",
43089
43466
  ExpeditedCredential: "expedited credential"
43090
43467
  };
43091
- UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyInvoicesPaymentHandler);
43092
- UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema;
43093
- ((UpdateInvoiceRequestBodyInvoicesPaymentHandler$) => {
43094
- UpdateInvoiceRequestBodyInvoicesPaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema;
43095
- UpdateInvoiceRequestBodyInvoicesPaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema;
43096
- })(UpdateInvoiceRequestBodyInvoicesPaymentHandler$ ||= {});
43097
- UpdateInvoiceRequestBodyInvoicesLines$inboundSchema = objectType({
43468
+ UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler);
43469
+ UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$outboundSchema = UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$inboundSchema;
43470
+ ((UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$) => {
43471
+ UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$inboundSchema;
43472
+ UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$outboundSchema;
43473
+ })(UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$ ||= {});
43474
+ UpdateInvoiceRequestBodyInvoicesRequest4Lines$inboundSchema = objectType({
43098
43475
  variant_id: numberType().int(),
43099
43476
  unit_price: numberType().optional(),
43100
43477
  quantity: numberType().int().optional(),
43101
43478
  subscription_id: numberType().int().optional(),
43102
43479
  date_starts: stringType().transform((v2) => new RFCDate(v2)).optional(),
43103
43480
  date_ends: stringType().transform((v2) => new RFCDate(v2)).optional(),
43104
- payment_handler: UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema.optional(),
43481
+ payment_handler: UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$inboundSchema.optional(),
43105
43482
  payment_handler_data: stringType().optional()
43106
43483
  }).transform((v2) => {
43107
43484
  return remap(v2, {
@@ -43114,14 +43491,14 @@ var init_updateinvoice = __esm(() => {
43114
43491
  payment_handler_data: "paymentHandlerData"
43115
43492
  });
43116
43493
  });
43117
- UpdateInvoiceRequestBodyInvoicesLines$outboundSchema = objectType({
43494
+ UpdateInvoiceRequestBodyInvoicesRequest4Lines$outboundSchema = objectType({
43118
43495
  variantId: numberType().int(),
43119
43496
  unitPrice: numberType().optional(),
43120
43497
  quantity: numberType().int().optional(),
43121
43498
  subscriptionId: numberType().int().optional(),
43122
43499
  dateStarts: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
43123
43500
  dateEnds: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
43124
- paymentHandler: UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema.optional(),
43501
+ paymentHandler: UpdateInvoiceRequestBodyInvoicesRequest4PaymentHandler$outboundSchema.optional(),
43125
43502
  paymentHandlerData: stringType().optional()
43126
43503
  }).transform((v2) => {
43127
43504
  return remap(v2, {
@@ -43134,13 +43511,13 @@ var init_updateinvoice = __esm(() => {
43134
43511
  paymentHandlerData: "payment_handler_data"
43135
43512
  });
43136
43513
  });
43137
- ((UpdateInvoiceRequestBodyInvoicesLines$) => {
43138
- UpdateInvoiceRequestBodyInvoicesLines$.inboundSchema = UpdateInvoiceRequestBodyInvoicesLines$inboundSchema;
43139
- UpdateInvoiceRequestBodyInvoicesLines$.outboundSchema = UpdateInvoiceRequestBodyInvoicesLines$outboundSchema;
43140
- })(UpdateInvoiceRequestBodyInvoicesLines$ ||= {});
43141
- Four$inboundSchema = objectType({
43514
+ ((UpdateInvoiceRequestBodyInvoicesRequest4Lines$) => {
43515
+ UpdateInvoiceRequestBodyInvoicesRequest4Lines$.inboundSchema = UpdateInvoiceRequestBodyInvoicesRequest4Lines$inboundSchema;
43516
+ UpdateInvoiceRequestBodyInvoicesRequest4Lines$.outboundSchema = UpdateInvoiceRequestBodyInvoicesRequest4Lines$outboundSchema;
43517
+ })(UpdateInvoiceRequestBodyInvoicesRequest4Lines$ ||= {});
43518
+ RequestBody4$inboundSchema = objectType({
43142
43519
  system_id: numberType().int(),
43143
- lines: arrayType(lazyType(() => UpdateInvoiceRequestBodyInvoicesLines$inboundSchema)).optional(),
43520
+ lines: arrayType(lazyType(() => UpdateInvoiceRequestBodyInvoicesRequest4Lines$inboundSchema)).optional(),
43144
43521
  vendor_credential_id: numberType().int().optional()
43145
43522
  }).transform((v2) => {
43146
43523
  return remap(v2, {
@@ -43148,9 +43525,9 @@ var init_updateinvoice = __esm(() => {
43148
43525
  vendor_credential_id: "vendorCredentialId"
43149
43526
  });
43150
43527
  });
43151
- Four$outboundSchema = objectType({
43528
+ RequestBody4$outboundSchema = objectType({
43152
43529
  systemId: numberType().int(),
43153
- lines: arrayType(lazyType(() => UpdateInvoiceRequestBodyInvoicesLines$outboundSchema)).optional(),
43530
+ lines: arrayType(lazyType(() => UpdateInvoiceRequestBodyInvoicesRequest4Lines$outboundSchema)).optional(),
43154
43531
  vendorCredentialId: numberType().int().optional()
43155
43532
  }).transform((v2) => {
43156
43533
  return remap(v2, {
@@ -43158,24 +43535,24 @@ var init_updateinvoice = __esm(() => {
43158
43535
  vendorCredentialId: "vendor_credential_id"
43159
43536
  });
43160
43537
  });
43161
- ((Four$) => {
43162
- Four$.inboundSchema = Four$inboundSchema;
43163
- Four$.outboundSchema = Four$outboundSchema;
43164
- })(Four$ ||= {});
43165
- UpdateInvoiceRequestBodyPaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyPaymentHandler);
43166
- UpdateInvoiceRequestBodyPaymentHandler$outboundSchema = UpdateInvoiceRequestBodyPaymentHandler$inboundSchema;
43167
- ((UpdateInvoiceRequestBodyPaymentHandler$) => {
43168
- UpdateInvoiceRequestBodyPaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyPaymentHandler$inboundSchema;
43169
- UpdateInvoiceRequestBodyPaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyPaymentHandler$outboundSchema;
43170
- })(UpdateInvoiceRequestBodyPaymentHandler$ ||= {});
43171
- UpdateInvoiceRequestBodyLines$inboundSchema = objectType({
43538
+ ((RequestBody4$) => {
43539
+ RequestBody4$.inboundSchema = RequestBody4$inboundSchema;
43540
+ RequestBody4$.outboundSchema = RequestBody4$outboundSchema;
43541
+ })(RequestBody4$ ||= {});
43542
+ UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler);
43543
+ UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$outboundSchema = UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema;
43544
+ ((UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$) => {
43545
+ UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema;
43546
+ UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$outboundSchema;
43547
+ })(UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$ ||= {});
43548
+ UpdateInvoiceRequestBodyInvoicesRequestLines$inboundSchema = objectType({
43172
43549
  variant_id: numberType().int(),
43173
43550
  unit_price: numberType().optional(),
43174
43551
  quantity: numberType().int().optional(),
43175
43552
  subscription_id: numberType().int().optional(),
43176
43553
  date_starts: stringType().transform((v2) => new RFCDate(v2)).optional(),
43177
43554
  date_ends: stringType().transform((v2) => new RFCDate(v2)).optional(),
43178
- payment_handler: UpdateInvoiceRequestBodyPaymentHandler$inboundSchema.optional(),
43555
+ payment_handler: UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$inboundSchema.optional(),
43179
43556
  payment_handler_data: stringType().optional()
43180
43557
  }).transform((v2) => {
43181
43558
  return remap(v2, {
@@ -43188,14 +43565,14 @@ var init_updateinvoice = __esm(() => {
43188
43565
  payment_handler_data: "paymentHandlerData"
43189
43566
  });
43190
43567
  });
43191
- UpdateInvoiceRequestBodyLines$outboundSchema = objectType({
43568
+ UpdateInvoiceRequestBodyInvoicesRequestLines$outboundSchema = objectType({
43192
43569
  variantId: numberType().int(),
43193
43570
  unitPrice: numberType().optional(),
43194
43571
  quantity: numberType().int().optional(),
43195
43572
  subscriptionId: numberType().int().optional(),
43196
43573
  dateStarts: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
43197
43574
  dateEnds: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
43198
- paymentHandler: UpdateInvoiceRequestBodyPaymentHandler$outboundSchema.optional(),
43575
+ paymentHandler: UpdateInvoiceRequestBodyInvoicesRequestPaymentHandler$outboundSchema.optional(),
43199
43576
  paymentHandlerData: stringType().optional()
43200
43577
  }).transform((v2) => {
43201
43578
  return remap(v2, {
@@ -43208,13 +43585,13 @@ var init_updateinvoice = __esm(() => {
43208
43585
  paymentHandlerData: "payment_handler_data"
43209
43586
  });
43210
43587
  });
43211
- ((UpdateInvoiceRequestBodyLines$) => {
43212
- UpdateInvoiceRequestBodyLines$.inboundSchema = UpdateInvoiceRequestBodyLines$inboundSchema;
43213
- UpdateInvoiceRequestBodyLines$.outboundSchema = UpdateInvoiceRequestBodyLines$outboundSchema;
43214
- })(UpdateInvoiceRequestBodyLines$ ||= {});
43215
- Three$inboundSchema = objectType({
43588
+ ((UpdateInvoiceRequestBodyInvoicesRequestLines$) => {
43589
+ UpdateInvoiceRequestBodyInvoicesRequestLines$.inboundSchema = UpdateInvoiceRequestBodyInvoicesRequestLines$inboundSchema;
43590
+ UpdateInvoiceRequestBodyInvoicesRequestLines$.outboundSchema = UpdateInvoiceRequestBodyInvoicesRequestLines$outboundSchema;
43591
+ })(UpdateInvoiceRequestBodyInvoicesRequestLines$ ||= {});
43592
+ RequestBody3$inboundSchema = objectType({
43216
43593
  facility_id: numberType().int(),
43217
- lines: arrayType(lazyType(() => UpdateInvoiceRequestBodyLines$inboundSchema)).optional(),
43594
+ lines: arrayType(lazyType(() => UpdateInvoiceRequestBodyInvoicesRequestLines$inboundSchema)).optional(),
43218
43595
  vendor_credential_id: numberType().int().optional()
43219
43596
  }).transform((v2) => {
43220
43597
  return remap(v2, {
@@ -43222,9 +43599,9 @@ var init_updateinvoice = __esm(() => {
43222
43599
  vendor_credential_id: "vendorCredentialId"
43223
43600
  });
43224
43601
  });
43225
- Three$outboundSchema = objectType({
43602
+ RequestBody3$outboundSchema = objectType({
43226
43603
  facilityId: numberType().int(),
43227
- lines: arrayType(lazyType(() => UpdateInvoiceRequestBodyLines$outboundSchema)).optional(),
43604
+ lines: arrayType(lazyType(() => UpdateInvoiceRequestBodyInvoicesRequestLines$outboundSchema)).optional(),
43228
43605
  vendorCredentialId: numberType().int().optional()
43229
43606
  }).transform((v2) => {
43230
43607
  return remap(v2, {
@@ -43232,24 +43609,24 @@ var init_updateinvoice = __esm(() => {
43232
43609
  vendorCredentialId: "vendor_credential_id"
43233
43610
  });
43234
43611
  });
43235
- ((Three$) => {
43236
- Three$.inboundSchema = Three$inboundSchema;
43237
- Three$.outboundSchema = Three$outboundSchema;
43238
- })(Three$ ||= {});
43239
- RequestBodyPaymentHandler$inboundSchema = nativeEnumType(RequestBodyPaymentHandler);
43240
- RequestBodyPaymentHandler$outboundSchema = RequestBodyPaymentHandler$inboundSchema;
43241
- ((RequestBodyPaymentHandler$) => {
43242
- RequestBodyPaymentHandler$.inboundSchema = RequestBodyPaymentHandler$inboundSchema;
43243
- RequestBodyPaymentHandler$.outboundSchema = RequestBodyPaymentHandler$outboundSchema;
43244
- })(RequestBodyPaymentHandler$ ||= {});
43245
- RequestBodyLines$inboundSchema = objectType({
43612
+ ((RequestBody3$) => {
43613
+ RequestBody3$.inboundSchema = RequestBody3$inboundSchema;
43614
+ RequestBody3$.outboundSchema = RequestBody3$outboundSchema;
43615
+ })(RequestBody3$ ||= {});
43616
+ UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyInvoicesPaymentHandler);
43617
+ UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema;
43618
+ ((UpdateInvoiceRequestBodyInvoicesPaymentHandler$) => {
43619
+ UpdateInvoiceRequestBodyInvoicesPaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema;
43620
+ UpdateInvoiceRequestBodyInvoicesPaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema;
43621
+ })(UpdateInvoiceRequestBodyInvoicesPaymentHandler$ ||= {});
43622
+ UpdateInvoiceRequestBodyInvoicesLines$inboundSchema = objectType({
43246
43623
  variant_id: numberType().int(),
43247
43624
  unit_price: numberType().optional(),
43248
43625
  quantity: numberType().int().optional(),
43249
43626
  subscription_id: numberType().int().optional(),
43250
43627
  date_starts: stringType().transform((v2) => new RFCDate(v2)).optional(),
43251
43628
  date_ends: stringType().transform((v2) => new RFCDate(v2)).optional(),
43252
- payment_handler: RequestBodyPaymentHandler$inboundSchema.optional(),
43629
+ payment_handler: UpdateInvoiceRequestBodyInvoicesPaymentHandler$inboundSchema.optional(),
43253
43630
  payment_handler_data: stringType().optional()
43254
43631
  }).transform((v2) => {
43255
43632
  return remap(v2, {
@@ -43262,14 +43639,14 @@ var init_updateinvoice = __esm(() => {
43262
43639
  payment_handler_data: "paymentHandlerData"
43263
43640
  });
43264
43641
  });
43265
- RequestBodyLines$outboundSchema = objectType({
43642
+ UpdateInvoiceRequestBodyInvoicesLines$outboundSchema = objectType({
43266
43643
  variantId: numberType().int(),
43267
43644
  unitPrice: numberType().optional(),
43268
43645
  quantity: numberType().int().optional(),
43269
43646
  subscriptionId: numberType().int().optional(),
43270
43647
  dateStarts: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
43271
43648
  dateEnds: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
43272
- paymentHandler: RequestBodyPaymentHandler$outboundSchema.optional(),
43649
+ paymentHandler: UpdateInvoiceRequestBodyInvoicesPaymentHandler$outboundSchema.optional(),
43273
43650
  paymentHandlerData: stringType().optional()
43274
43651
  }).transform((v2) => {
43275
43652
  return remap(v2, {
@@ -43282,13 +43659,13 @@ var init_updateinvoice = __esm(() => {
43282
43659
  paymentHandlerData: "payment_handler_data"
43283
43660
  });
43284
43661
  });
43285
- ((RequestBodyLines$) => {
43286
- RequestBodyLines$.inboundSchema = RequestBodyLines$inboundSchema;
43287
- RequestBodyLines$.outboundSchema = RequestBodyLines$outboundSchema;
43288
- })(RequestBodyLines$ ||= {});
43289
- RequestBody2$inboundSchema = objectType({
43662
+ ((UpdateInvoiceRequestBodyInvoicesLines$) => {
43663
+ UpdateInvoiceRequestBodyInvoicesLines$.inboundSchema = UpdateInvoiceRequestBodyInvoicesLines$inboundSchema;
43664
+ UpdateInvoiceRequestBodyInvoicesLines$.outboundSchema = UpdateInvoiceRequestBodyInvoicesLines$outboundSchema;
43665
+ })(UpdateInvoiceRequestBodyInvoicesLines$ ||= {});
43666
+ UpdateInvoiceRequestBody2$inboundSchema = objectType({
43290
43667
  company_id: numberType().int(),
43291
- lines: arrayType(lazyType(() => RequestBodyLines$inboundSchema)).optional(),
43668
+ lines: arrayType(lazyType(() => UpdateInvoiceRequestBodyInvoicesLines$inboundSchema)).optional(),
43292
43669
  vendor_credential_id: numberType().int().optional()
43293
43670
  }).transform((v2) => {
43294
43671
  return remap(v2, {
@@ -43296,9 +43673,9 @@ var init_updateinvoice = __esm(() => {
43296
43673
  vendor_credential_id: "vendorCredentialId"
43297
43674
  });
43298
43675
  });
43299
- RequestBody2$outboundSchema = objectType({
43676
+ UpdateInvoiceRequestBody2$outboundSchema = objectType({
43300
43677
  companyId: numberType().int(),
43301
- lines: arrayType(lazyType(() => RequestBodyLines$outboundSchema)).optional(),
43678
+ lines: arrayType(lazyType(() => UpdateInvoiceRequestBodyInvoicesLines$outboundSchema)).optional(),
43302
43679
  vendorCredentialId: numberType().int().optional()
43303
43680
  }).transform((v2) => {
43304
43681
  return remap(v2, {
@@ -43306,24 +43683,24 @@ var init_updateinvoice = __esm(() => {
43306
43683
  vendorCredentialId: "vendor_credential_id"
43307
43684
  });
43308
43685
  });
43309
- ((RequestBody2$) => {
43310
- RequestBody2$.inboundSchema = RequestBody2$inboundSchema;
43311
- RequestBody2$.outboundSchema = RequestBody2$outboundSchema;
43312
- })(RequestBody2$ ||= {});
43313
- PaymentHandler$inboundSchema = nativeEnumType(PaymentHandler);
43314
- PaymentHandler$outboundSchema = PaymentHandler$inboundSchema;
43315
- ((PaymentHandler$) => {
43316
- PaymentHandler$.inboundSchema = PaymentHandler$inboundSchema;
43317
- PaymentHandler$.outboundSchema = PaymentHandler$outboundSchema;
43318
- })(PaymentHandler$ ||= {});
43319
- Lines$inboundSchema = objectType({
43686
+ ((UpdateInvoiceRequestBody2$) => {
43687
+ UpdateInvoiceRequestBody2$.inboundSchema = UpdateInvoiceRequestBody2$inboundSchema;
43688
+ UpdateInvoiceRequestBody2$.outboundSchema = UpdateInvoiceRequestBody2$outboundSchema;
43689
+ })(UpdateInvoiceRequestBody2$ ||= {});
43690
+ UpdateInvoiceRequestBodyPaymentHandler$inboundSchema = nativeEnumType(UpdateInvoiceRequestBodyPaymentHandler);
43691
+ UpdateInvoiceRequestBodyPaymentHandler$outboundSchema = UpdateInvoiceRequestBodyPaymentHandler$inboundSchema;
43692
+ ((UpdateInvoiceRequestBodyPaymentHandler$) => {
43693
+ UpdateInvoiceRequestBodyPaymentHandler$.inboundSchema = UpdateInvoiceRequestBodyPaymentHandler$inboundSchema;
43694
+ UpdateInvoiceRequestBodyPaymentHandler$.outboundSchema = UpdateInvoiceRequestBodyPaymentHandler$outboundSchema;
43695
+ })(UpdateInvoiceRequestBodyPaymentHandler$ ||= {});
43696
+ UpdateInvoiceRequestBodyLines$inboundSchema = objectType({
43320
43697
  variant_id: numberType().int(),
43321
43698
  unit_price: numberType().optional(),
43322
43699
  quantity: numberType().int().optional(),
43323
43700
  subscription_id: numberType().int().optional(),
43324
43701
  date_starts: stringType().transform((v2) => new RFCDate(v2)).optional(),
43325
43702
  date_ends: stringType().transform((v2) => new RFCDate(v2)).optional(),
43326
- payment_handler: PaymentHandler$inboundSchema.optional(),
43703
+ payment_handler: UpdateInvoiceRequestBodyPaymentHandler$inboundSchema.optional(),
43327
43704
  payment_handler_data: stringType().optional()
43328
43705
  }).transform((v2) => {
43329
43706
  return remap(v2, {
@@ -43336,14 +43713,14 @@ var init_updateinvoice = __esm(() => {
43336
43713
  payment_handler_data: "paymentHandlerData"
43337
43714
  });
43338
43715
  });
43339
- Lines$outboundSchema = objectType({
43716
+ UpdateInvoiceRequestBodyLines$outboundSchema = objectType({
43340
43717
  variantId: numberType().int(),
43341
43718
  unitPrice: numberType().optional(),
43342
43719
  quantity: numberType().int().optional(),
43343
43720
  subscriptionId: numberType().int().optional(),
43344
43721
  dateStarts: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
43345
43722
  dateEnds: instanceOfType(RFCDate).transform((v2) => v2.toString()).optional(),
43346
- paymentHandler: PaymentHandler$outboundSchema.optional(),
43723
+ paymentHandler: UpdateInvoiceRequestBodyPaymentHandler$outboundSchema.optional(),
43347
43724
  paymentHandlerData: stringType().optional()
43348
43725
  }).transform((v2) => {
43349
43726
  return remap(v2, {
@@ -43356,13 +43733,13 @@ var init_updateinvoice = __esm(() => {
43356
43733
  paymentHandlerData: "payment_handler_data"
43357
43734
  });
43358
43735
  });
43359
- ((Lines$) => {
43360
- Lines$.inboundSchema = Lines$inboundSchema;
43361
- Lines$.outboundSchema = Lines$outboundSchema;
43362
- })(Lines$ ||= {});
43363
- RequestBody1$inboundSchema = objectType({
43736
+ ((UpdateInvoiceRequestBodyLines$) => {
43737
+ UpdateInvoiceRequestBodyLines$.inboundSchema = UpdateInvoiceRequestBodyLines$inboundSchema;
43738
+ UpdateInvoiceRequestBodyLines$.outboundSchema = UpdateInvoiceRequestBodyLines$outboundSchema;
43739
+ })(UpdateInvoiceRequestBodyLines$ ||= {});
43740
+ UpdateInvoiceRequestBody1$inboundSchema = objectType({
43364
43741
  vendor_id: numberType().int(),
43365
- lines: arrayType(lazyType(() => Lines$inboundSchema)).optional(),
43742
+ lines: arrayType(lazyType(() => UpdateInvoiceRequestBodyLines$inboundSchema)).optional(),
43366
43743
  vendor_credential_id: numberType().int().optional()
43367
43744
  }).transform((v2) => {
43368
43745
  return remap(v2, {
@@ -43370,9 +43747,9 @@ var init_updateinvoice = __esm(() => {
43370
43747
  vendor_credential_id: "vendorCredentialId"
43371
43748
  });
43372
43749
  });
43373
- RequestBody1$outboundSchema = objectType({
43750
+ UpdateInvoiceRequestBody1$outboundSchema = objectType({
43374
43751
  vendorId: numberType().int(),
43375
- lines: arrayType(lazyType(() => Lines$outboundSchema)).optional(),
43752
+ lines: arrayType(lazyType(() => UpdateInvoiceRequestBodyLines$outboundSchema)).optional(),
43376
43753
  vendorCredentialId: numberType().int().optional()
43377
43754
  }).transform((v2) => {
43378
43755
  return remap(v2, {
@@ -43380,21 +43757,21 @@ var init_updateinvoice = __esm(() => {
43380
43757
  vendorCredentialId: "vendor_credential_id"
43381
43758
  });
43382
43759
  });
43383
- ((RequestBody1$) => {
43384
- RequestBody1$.inboundSchema = RequestBody1$inboundSchema;
43385
- RequestBody1$.outboundSchema = RequestBody1$outboundSchema;
43386
- })(RequestBody1$ ||= {});
43760
+ ((UpdateInvoiceRequestBody1$) => {
43761
+ UpdateInvoiceRequestBody1$.inboundSchema = UpdateInvoiceRequestBody1$inboundSchema;
43762
+ UpdateInvoiceRequestBody1$.outboundSchema = UpdateInvoiceRequestBody1$outboundSchema;
43763
+ })(UpdateInvoiceRequestBody1$ ||= {});
43387
43764
  UpdateInvoiceRequestBody$inboundSchema = unionType([
43388
- lazyType(() => RequestBody1$inboundSchema),
43389
- lazyType(() => RequestBody2$inboundSchema),
43390
- lazyType(() => Three$inboundSchema),
43391
- lazyType(() => Four$inboundSchema)
43765
+ lazyType(() => UpdateInvoiceRequestBody1$inboundSchema),
43766
+ lazyType(() => UpdateInvoiceRequestBody2$inboundSchema),
43767
+ lazyType(() => RequestBody3$inboundSchema),
43768
+ lazyType(() => RequestBody4$inboundSchema)
43392
43769
  ]);
43393
43770
  UpdateInvoiceRequestBody$outboundSchema = unionType([
43394
- lazyType(() => RequestBody1$outboundSchema),
43395
- lazyType(() => RequestBody2$outboundSchema),
43396
- lazyType(() => Three$outboundSchema),
43397
- lazyType(() => Four$outboundSchema)
43771
+ lazyType(() => UpdateInvoiceRequestBody1$outboundSchema),
43772
+ lazyType(() => UpdateInvoiceRequestBody2$outboundSchema),
43773
+ lazyType(() => RequestBody3$outboundSchema),
43774
+ lazyType(() => RequestBody4$outboundSchema)
43398
43775
  ]);
43399
43776
  ((UpdateInvoiceRequestBody$) => {
43400
43777
  UpdateInvoiceRequestBody$.inboundSchema = UpdateInvoiceRequestBody$inboundSchema;
@@ -43403,10 +43780,10 @@ var init_updateinvoice = __esm(() => {
43403
43780
  UpdateInvoiceRequest$inboundSchema = objectType({
43404
43781
  id: numberType().int(),
43405
43782
  RequestBody: unionType([
43406
- lazyType(() => RequestBody1$inboundSchema),
43407
- lazyType(() => RequestBody2$inboundSchema),
43408
- lazyType(() => Three$inboundSchema),
43409
- lazyType(() => Four$inboundSchema)
43783
+ lazyType(() => UpdateInvoiceRequestBody1$inboundSchema),
43784
+ lazyType(() => UpdateInvoiceRequestBody2$inboundSchema),
43785
+ lazyType(() => RequestBody3$inboundSchema),
43786
+ lazyType(() => RequestBody4$inboundSchema)
43410
43787
  ])
43411
43788
  }).transform((v2) => {
43412
43789
  return remap(v2, {
@@ -43416,10 +43793,10 @@ var init_updateinvoice = __esm(() => {
43416
43793
  UpdateInvoiceRequest$outboundSchema = objectType({
43417
43794
  id: numberType().int(),
43418
43795
  requestBody: unionType([
43419
- lazyType(() => RequestBody1$outboundSchema),
43420
- lazyType(() => RequestBody2$outboundSchema),
43421
- lazyType(() => Three$outboundSchema),
43422
- lazyType(() => Four$outboundSchema)
43796
+ lazyType(() => UpdateInvoiceRequestBody1$outboundSchema),
43797
+ lazyType(() => UpdateInvoiceRequestBody2$outboundSchema),
43798
+ lazyType(() => RequestBody3$outboundSchema),
43799
+ lazyType(() => RequestBody4$outboundSchema)
43423
43800
  ])
43424
43801
  }).transform((v2) => {
43425
43802
  return remap(v2, {
@@ -43911,11 +44288,13 @@ var init_vendorscanout = __esm(() => {
43911
44288
 
43912
44289
  // src/models/operations/index.ts
43913
44290
  var init_operations = __esm(() => {
44291
+ init_acceptvendorcredential();
43914
44292
  init_adddatarequestfile();
43915
44293
  init_addvendorcredentialfile();
43916
44294
  init_addvendormanagedbycompany();
43917
44295
  init_changepassword();
43918
44296
  init_checkdownloadcode();
44297
+ init_createinvoice();
43919
44298
  init_createnewvendorcredentialversion();
43920
44299
  init_createorupdatebcr();
43921
44300
  init_createvendorcompany();
@@ -44398,14 +44777,117 @@ async function $do4(client, request, options) {
44398
44777
  return [parsed, { status: "invalid" }];
44399
44778
  }
44400
44779
  const payload = parsed.value;
44401
- const body = encodeJSON("body", payload.RequestBody, { explode: true });
44402
- const pathParams = {
44403
- id: encodeSimple("id", payload.id, {
44404
- explode: false,
44405
- charEncoding: "percent"
44406
- })
44407
- };
44408
- const path = pathToFunc("/data_requests/{id}")(pathParams);
44780
+ const body = encodeJSON("body", payload.RequestBody, { explode: true });
44781
+ const pathParams = {
44782
+ id: encodeSimple("id", payload.id, {
44783
+ explode: false,
44784
+ charEncoding: "percent"
44785
+ })
44786
+ };
44787
+ const path = pathToFunc("/data_requests/{id}")(pathParams);
44788
+ const headers = new Headers(compactMap({
44789
+ "Content-Type": "application/json",
44790
+ Accept: "application/json"
44791
+ }));
44792
+ const securityInput = await extractSecurity(client._options.security);
44793
+ const requestSecurity = resolveGlobalSecurity(securityInput);
44794
+ const context = {
44795
+ options: client._options,
44796
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
44797
+ operationID: "updateDataRequest",
44798
+ oAuth2Scopes: [],
44799
+ resolvedSecurity: requestSecurity,
44800
+ securitySource: client._options.security,
44801
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
44802
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
44803
+ };
44804
+ const requestRes = client._createRequest(context, {
44805
+ security: requestSecurity,
44806
+ method: "PUT",
44807
+ baseURL: options?.serverURL,
44808
+ path,
44809
+ headers,
44810
+ body,
44811
+ userAgent: client._options.userAgent,
44812
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
44813
+ }, options);
44814
+ if (!requestRes.ok) {
44815
+ return [requestRes, { status: "invalid" }];
44816
+ }
44817
+ const req = requestRes.value;
44818
+ const doResult = await client._do(req, {
44819
+ context,
44820
+ errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
44821
+ retryConfig: context.retryConfig,
44822
+ retryCodes: context.retryCodes
44823
+ });
44824
+ if (!doResult.ok) {
44825
+ return [doResult, { status: "request-error", request: req }];
44826
+ }
44827
+ const response = doResult.value;
44828
+ const responseFields = {
44829
+ HttpMeta: { Response: response, Request: req }
44830
+ };
44831
+ const [result] = await match(json(200, booleanType()), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44832
+ if (!result.ok) {
44833
+ return [result, { status: "complete", request: req, response }];
44834
+ }
44835
+ return [result, { status: "complete", request: req, response }];
44836
+ }
44837
+ var init_dataRequestsUpdateDataRequest = __esm(() => {
44838
+ init_esm();
44839
+ init_encodings();
44840
+ init_matchers();
44841
+ init_primitives();
44842
+ init_schemas();
44843
+ init_security();
44844
+ init_url();
44845
+ init_errors2();
44846
+ init_operations();
44847
+ init_async();
44848
+ });
44849
+
44850
+ // src/mcp-server/tools/dataRequestsUpdateDataRequest.ts
44851
+ var args4, tool$dataRequestsUpdateDataRequest;
44852
+ var init_dataRequestsUpdateDataRequest2 = __esm(() => {
44853
+ init_dataRequestsUpdateDataRequest();
44854
+ init_operations();
44855
+ init_tools();
44856
+ args4 = {
44857
+ request: UpdateDataRequestRequest$inboundSchema
44858
+ };
44859
+ tool$dataRequestsUpdateDataRequest = {
44860
+ name: "data-requests-update-data-request",
44861
+ description: `Update vendor credential data request
44862
+
44863
+ It will update the vendor credential data request attributes`,
44864
+ args: args4,
44865
+ tool: async (client, args5, ctx) => {
44866
+ const [result, apiCall] = await dataRequestsUpdateDataRequest(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44867
+ if (!result.ok) {
44868
+ return {
44869
+ content: [{ type: "text", text: result.error.message }],
44870
+ isError: true
44871
+ };
44872
+ }
44873
+ const value = result.value;
44874
+ return formatResult(value, apiCall);
44875
+ }
44876
+ };
44877
+ });
44878
+
44879
+ // src/funcs/invoicesCreateInvoice.ts
44880
+ function invoicesCreateInvoice(client, request, options) {
44881
+ return new APIPromise($do5(client, request, options));
44882
+ }
44883
+ async function $do5(client, request, options) {
44884
+ const parsed = safeParse(request, (value) => CreateInvoiceRequestBody$outboundSchema.parse(value), "Input validation failed");
44885
+ if (!parsed.ok) {
44886
+ return [parsed, { status: "invalid" }];
44887
+ }
44888
+ const payload = parsed.value;
44889
+ const body = encodeJSON("body", payload, { explode: true });
44890
+ const path = pathToFunc("/invoices")();
44409
44891
  const headers = new Headers(compactMap({
44410
44892
  "Content-Type": "application/json",
44411
44893
  Accept: "application/json"
@@ -44415,7 +44897,7 @@ async function $do4(client, request, options) {
44415
44897
  const context = {
44416
44898
  options: client._options,
44417
44899
  baseURL: options?.serverURL ?? client._baseURL ?? "",
44418
- operationID: "updateDataRequest",
44900
+ operationID: "createInvoice",
44419
44901
  oAuth2Scopes: [],
44420
44902
  resolvedSecurity: requestSecurity,
44421
44903
  securitySource: client._options.security,
@@ -44424,7 +44906,7 @@ async function $do4(client, request, options) {
44424
44906
  };
44425
44907
  const requestRes = client._createRequest(context, {
44426
44908
  security: requestSecurity,
44427
- method: "PUT",
44909
+ method: "POST",
44428
44910
  baseURL: options?.serverURL,
44429
44911
  path,
44430
44912
  headers,
@@ -44438,7 +44920,7 @@ async function $do4(client, request, options) {
44438
44920
  const req = requestRes.value;
44439
44921
  const doResult = await client._do(req, {
44440
44922
  context,
44441
- errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
44923
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
44442
44924
  retryConfig: context.retryConfig,
44443
44925
  retryCodes: context.retryCodes
44444
44926
  });
@@ -44449,14 +44931,13 @@ async function $do4(client, request, options) {
44449
44931
  const responseFields = {
44450
44932
  HttpMeta: { Response: response, Request: req }
44451
44933
  };
44452
- const [result] = await match(json(200, booleanType()), jsonErr([400, 401, 403], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44934
+ const [result] = await match(json(200, CreateInvoiceResponseBody$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
44453
44935
  if (!result.ok) {
44454
44936
  return [result, { status: "complete", request: req, response }];
44455
44937
  }
44456
44938
  return [result, { status: "complete", request: req, response }];
44457
44939
  }
44458
- var init_dataRequestsUpdateDataRequest = __esm(() => {
44459
- init_esm();
44940
+ var init_invoicesCreateInvoice = __esm(() => {
44460
44941
  init_encodings();
44461
44942
  init_matchers();
44462
44943
  init_primitives();
@@ -44468,23 +44949,32 @@ var init_dataRequestsUpdateDataRequest = __esm(() => {
44468
44949
  init_async();
44469
44950
  });
44470
44951
 
44471
- // src/mcp-server/tools/dataRequestsUpdateDataRequest.ts
44472
- var args4, tool$dataRequestsUpdateDataRequest;
44473
- var init_dataRequestsUpdateDataRequest2 = __esm(() => {
44474
- init_dataRequestsUpdateDataRequest();
44952
+ // src/mcp-server/tools/invoicesCreateInvoice.ts
44953
+ var args5, tool$invoicesCreateInvoice;
44954
+ var init_invoicesCreateInvoice2 = __esm(() => {
44955
+ init_invoicesCreateInvoice();
44475
44956
  init_operations();
44476
44957
  init_tools();
44477
- args4 = {
44478
- request: UpdateDataRequestRequest$inboundSchema
44958
+ args5 = {
44959
+ request: CreateInvoiceRequestBody$inboundSchema
44479
44960
  };
44480
- tool$dataRequestsUpdateDataRequest = {
44481
- name: "data-requests-update-data-request",
44482
- description: `Update vendor credential data request
44961
+ tool$invoicesCreateInvoice = {
44962
+ name: "invoices-create-invoice",
44963
+ description: `Create invoice
44483
44964
 
44484
- It will update the vendor credential data request attributes`,
44485
- args: args4,
44486
- tool: async (client, args5, ctx) => {
44487
- const [result, apiCall] = await dataRequestsUpdateDataRequest(client, args5.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44965
+ It will create an invoice based on the lines passed as parameter.
44966
+ - Exactly one of vendor_id, company_id, facility_id, or system_id must be provided. - variant_id is required for the line - payment_handler_data must be set in the following format:
44967
+ 1. for the 'vendor credential' and 'expedited credential' payment_handlers this should be a JSON
44968
+ with a key 'vendor_credential_id' and value as integer
44969
+ 2. for the 'credentialing subscription' payment handler this should be a JSON
44970
+ with the following keys and values:
44971
+ - old_vendor_type_id: required, must be nil or integer
44972
+ - new_vendor_type_id: required, must be integer
44973
+ - old_facility_ids: required, must be an array of integers (can be empty)
44974
+ - new_facility_ids: required, must be array of integers`,
44975
+ args: args5,
44976
+ tool: async (client, args6, ctx) => {
44977
+ const [result, apiCall] = await invoicesCreateInvoice(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44488
44978
  if (!result.ok) {
44489
44979
  return {
44490
44980
  content: [{ type: "text", text: result.error.message }],
@@ -44499,9 +44989,9 @@ It will update the vendor credential data request attributes`,
44499
44989
 
44500
44990
  // src/funcs/invoicesMakePayment.ts
44501
44991
  function invoicesMakePayment(client, request, options) {
44502
- return new APIPromise($do5(client, request, options));
44992
+ return new APIPromise($do6(client, request, options));
44503
44993
  }
44504
- async function $do5(client, request, options) {
44994
+ async function $do6(client, request, options) {
44505
44995
  const parsed = safeParse(request, (value) => MakePaymentRequest$outboundSchema.parse(value), "Input validation failed");
44506
44996
  if (!parsed.ok) {
44507
44997
  return [parsed, { status: "invalid" }];
@@ -44577,12 +45067,12 @@ var init_invoicesMakePayment = __esm(() => {
44577
45067
  });
44578
45068
 
44579
45069
  // src/mcp-server/tools/invoicesMakePayment.ts
44580
- var args5, tool$invoicesMakePayment;
45070
+ var args6, tool$invoicesMakePayment;
44581
45071
  var init_invoicesMakePayment2 = __esm(() => {
44582
45072
  init_invoicesMakePayment();
44583
45073
  init_operations();
44584
45074
  init_tools();
44585
- args5 = {
45075
+ args6 = {
44586
45076
  request: MakePaymentRequest$inboundSchema
44587
45077
  };
44588
45078
  tool$invoicesMakePayment = {
@@ -44590,9 +45080,9 @@ var init_invoicesMakePayment2 = __esm(() => {
44590
45080
  description: `Make payment for the invoice
44591
45081
 
44592
45082
  Make payment for the invoice`,
44593
- args: args5,
44594
- tool: async (client, args6, ctx) => {
44595
- const [result, apiCall] = await invoicesMakePayment(client, args6.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45083
+ args: args6,
45084
+ tool: async (client, args7, ctx) => {
45085
+ const [result, apiCall] = await invoicesMakePayment(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44596
45086
  if (!result.ok) {
44597
45087
  return {
44598
45088
  content: [{ type: "text", text: result.error.message }],
@@ -44607,9 +45097,9 @@ Make payment for the invoice`,
44607
45097
 
44608
45098
  // src/funcs/invoicesUpdateInvoice.ts
44609
45099
  function invoicesUpdateInvoice(client, request, options) {
44610
- return new APIPromise($do6(client, request, options));
45100
+ return new APIPromise($do7(client, request, options));
44611
45101
  }
44612
- async function $do6(client, request, options) {
45102
+ async function $do7(client, request, options) {
44613
45103
  const parsed = safeParse(request, (value) => UpdateInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
44614
45104
  if (!parsed.ok) {
44615
45105
  return [parsed, { status: "invalid" }];
@@ -44686,12 +45176,12 @@ var init_invoicesUpdateInvoice = __esm(() => {
44686
45176
  });
44687
45177
 
44688
45178
  // src/mcp-server/tools/invoicesUpdateInvoice.ts
44689
- var args6, tool$invoicesUpdateInvoice;
45179
+ var args7, tool$invoicesUpdateInvoice;
44690
45180
  var init_invoicesUpdateInvoice2 = __esm(() => {
44691
45181
  init_invoicesUpdateInvoice();
44692
45182
  init_operations();
44693
45183
  init_tools();
44694
- args6 = {
45184
+ args7 = {
44695
45185
  request: UpdateInvoiceRequest$inboundSchema
44696
45186
  };
44697
45187
  tool$invoicesUpdateInvoice = {
@@ -44708,9 +45198,9 @@ It will replace all the lines with the lines passed as parameter
44708
45198
  - new_vendor_type_id: required, must be integer
44709
45199
  - old_facility_ids: required, must be an array of integers (can be empty)
44710
45200
  - new_facility_ids: required, must be array of integers`,
44711
- args: args6,
44712
- tool: async (client, args7, ctx) => {
44713
- const [result, apiCall] = await invoicesUpdateInvoice(client, args7.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45201
+ args: args7,
45202
+ tool: async (client, args8, ctx) => {
45203
+ const [result, apiCall] = await invoicesUpdateInvoice(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44714
45204
  if (!result.ok) {
44715
45205
  return {
44716
45206
  content: [{ type: "text", text: result.error.message }],
@@ -44725,9 +45215,9 @@ It will replace all the lines with the lines passed as parameter
44725
45215
 
44726
45216
  // src/funcs/organizationsGetFacility.ts
44727
45217
  function organizationsGetFacility(client, request, options) {
44728
- return new APIPromise($do7(client, request, options));
45218
+ return new APIPromise($do8(client, request, options));
44729
45219
  }
44730
- async function $do7(client, request, options) {
45220
+ async function $do8(client, request, options) {
44731
45221
  const parsed = safeParse(request, (value) => GetFacilityRequest$outboundSchema.parse(value), "Input validation failed");
44732
45222
  if (!parsed.ok) {
44733
45223
  return [parsed, { status: "invalid" }];
@@ -44803,12 +45293,12 @@ var init_organizationsGetFacility = __esm(() => {
44803
45293
  });
44804
45294
 
44805
45295
  // src/mcp-server/tools/organizationsGetFacility.ts
44806
- var args7, tool$organizationsGetFacility;
45296
+ var args8, tool$organizationsGetFacility;
44807
45297
  var init_organizationsGetFacility2 = __esm(() => {
44808
45298
  init_organizationsGetFacility();
44809
45299
  init_operations();
44810
45300
  init_tools();
44811
- args7 = {
45301
+ args8 = {
44812
45302
  request: GetFacilityRequest$inboundSchema
44813
45303
  };
44814
45304
  tool$organizationsGetFacility = {
@@ -44816,9 +45306,9 @@ var init_organizationsGetFacility2 = __esm(() => {
44816
45306
  description: `Get facility
44817
45307
 
44818
45308
  Retrieve an individual facility.`,
44819
- args: args7,
44820
- tool: async (client, args8, ctx) => {
44821
- const [result, apiCall] = await organizationsGetFacility(client, args8.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45309
+ args: args8,
45310
+ tool: async (client, args9, ctx) => {
45311
+ const [result, apiCall] = await organizationsGetFacility(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44822
45312
  if (!result.ok) {
44823
45313
  return {
44824
45314
  content: [{ type: "text", text: result.error.message }],
@@ -44833,9 +45323,9 @@ Retrieve an individual facility.`,
44833
45323
 
44834
45324
  // src/funcs/organizationsListOrSearchFacilities.ts
44835
45325
  function organizationsListOrSearchFacilities(client, request, options) {
44836
- return new APIPromise($do8(client, request, options));
45326
+ return new APIPromise($do9(client, request, options));
44837
45327
  }
44838
- async function $do8(client, request, options) {
45328
+ async function $do9(client, request, options) {
44839
45329
  const parsed = safeParse(request, (value) => ListOrSearchFacilitiesRequest$outboundSchema.parse(value), "Input validation failed");
44840
45330
  if (!parsed.ok) {
44841
45331
  return [haltIterator(parsed), { status: "invalid" }];
@@ -44951,12 +45441,12 @@ var init_organizationsListOrSearchFacilities = __esm(() => {
44951
45441
  });
44952
45442
 
44953
45443
  // src/mcp-server/tools/organizationsListOrSearchFacilities.ts
44954
- var args8, tool$organizationsListOrSearchFacilities;
45444
+ var args9, tool$organizationsListOrSearchFacilities;
44955
45445
  var init_organizationsListOrSearchFacilities2 = __esm(() => {
44956
45446
  init_organizationsListOrSearchFacilities();
44957
45447
  init_operations();
44958
45448
  init_tools();
44959
- args8 = {
45449
+ args9 = {
44960
45450
  request: ListOrSearchFacilitiesRequest$inboundSchema
44961
45451
  };
44962
45452
  tool$organizationsListOrSearchFacilities = {
@@ -44977,9 +45467,9 @@ Available \`expand\` scopes are:
44977
45467
  - facility.vendor_policy
44978
45468
  - facility.visitor_policy
44979
45469
  - facility.workflow`,
44980
- args: args8,
44981
- tool: async (client, args9, ctx) => {
44982
- const [result, apiCall] = await organizationsListOrSearchFacilities(client, args9.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45470
+ args: args9,
45471
+ tool: async (client, args10, ctx) => {
45472
+ const [result, apiCall] = await organizationsListOrSearchFacilities(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
44983
45473
  if (!result.ok) {
44984
45474
  return {
44985
45475
  content: [{ type: "text", text: result.error.message }],
@@ -44994,9 +45484,9 @@ Available \`expand\` scopes are:
44994
45484
 
44995
45485
  // src/funcs/supportArticlesGetSupportArticle.ts
44996
45486
  function supportArticlesGetSupportArticle(client, request, options) {
44997
- return new APIPromise($do9(client, request, options));
45487
+ return new APIPromise($do10(client, request, options));
44998
45488
  }
44999
- async function $do9(client, request, options) {
45489
+ async function $do10(client, request, options) {
45000
45490
  const parsed = safeParse(request, (value) => GetSupportArticleRequest$outboundSchema.parse(value), "Input validation failed");
45001
45491
  if (!parsed.ok) {
45002
45492
  return [parsed, { status: "invalid" }];
@@ -45076,12 +45566,12 @@ var init_supportArticlesGetSupportArticle = __esm(() => {
45076
45566
  });
45077
45567
 
45078
45568
  // src/mcp-server/tools/supportArticlesGetSupportArticle.ts
45079
- var args9, tool$supportArticlesGetSupportArticle;
45569
+ var args10, tool$supportArticlesGetSupportArticle;
45080
45570
  var init_supportArticlesGetSupportArticle2 = __esm(() => {
45081
45571
  init_supportArticlesGetSupportArticle();
45082
45572
  init_operations();
45083
45573
  init_tools();
45084
- args9 = {
45574
+ args10 = {
45085
45575
  request: GetSupportArticleRequest$inboundSchema
45086
45576
  };
45087
45577
  tool$supportArticlesGetSupportArticle = {
@@ -45096,9 +45586,9 @@ Available \`expand\` scopes are:
45096
45586
  - support_article.published
45097
45587
  - support_article.notes
45098
45588
  - support_article.support_category`,
45099
- args: args9,
45100
- tool: async (client, args10, ctx) => {
45101
- const [result, apiCall] = await supportArticlesGetSupportArticle(client, args10.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45589
+ args: args10,
45590
+ tool: async (client, args11, ctx) => {
45591
+ const [result, apiCall] = await supportArticlesGetSupportArticle(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45102
45592
  if (!result.ok) {
45103
45593
  return {
45104
45594
  content: [{ type: "text", text: result.error.message }],
@@ -45113,9 +45603,9 @@ Available \`expand\` scopes are:
45113
45603
 
45114
45604
  // src/funcs/supportArticlesListOrSearchSupportArticles.ts
45115
45605
  function supportArticlesListOrSearchSupportArticles(client, request, options) {
45116
- return new APIPromise($do10(client, request, options));
45606
+ return new APIPromise($do11(client, request, options));
45117
45607
  }
45118
- async function $do10(client, request, options) {
45608
+ async function $do11(client, request, options) {
45119
45609
  const parsed = safeParse(request, (value) => ListOrSearchSupportArticlesRequest$outboundSchema.parse(value), "Input validation failed");
45120
45610
  if (!parsed.ok) {
45121
45611
  return [haltIterator(parsed), { status: "invalid" }];
@@ -45225,12 +45715,12 @@ var init_supportArticlesListOrSearchSupportArticles = __esm(() => {
45225
45715
  });
45226
45716
 
45227
45717
  // src/mcp-server/tools/supportArticlesListOrSearchSupportArticles.ts
45228
- var args10, tool$supportArticlesListOrSearchSupportArticles;
45718
+ var args11, tool$supportArticlesListOrSearchSupportArticles;
45229
45719
  var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
45230
45720
  init_supportArticlesListOrSearchSupportArticles();
45231
45721
  init_operations();
45232
45722
  init_tools();
45233
- args10 = {
45723
+ args11 = {
45234
45724
  request: ListOrSearchSupportArticlesRequest$inboundSchema
45235
45725
  };
45236
45726
  tool$supportArticlesListOrSearchSupportArticles = {
@@ -45238,9 +45728,9 @@ var init_supportArticlesListOrSearchSupportArticles2 = __esm(() => {
45238
45728
  description: `List or search support articles
45239
45729
 
45240
45730
  List or search support articles for FAQ.`,
45241
- args: args10,
45242
- tool: async (client, args11, ctx) => {
45243
- const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args11.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45731
+ args: args11,
45732
+ tool: async (client, args12, ctx) => {
45733
+ const [result, apiCall] = await supportArticlesListOrSearchSupportArticles(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45244
45734
  if (!result.ok) {
45245
45735
  return {
45246
45736
  content: [{ type: "text", text: result.error.message }],
@@ -45255,9 +45745,9 @@ List or search support articles for FAQ.`,
45255
45745
 
45256
45746
  // src/funcs/usersChangePassword.ts
45257
45747
  function usersChangePassword(client, request, options) {
45258
- return new APIPromise($do11(client, request, options));
45748
+ return new APIPromise($do12(client, request, options));
45259
45749
  }
45260
- async function $do11(client, request, options) {
45750
+ async function $do12(client, request, options) {
45261
45751
  const parsed = safeParse(request, (value) => ChangePasswordRequest$outboundSchema.parse(value), "Input validation failed");
45262
45752
  if (!parsed.ok) {
45263
45753
  return [parsed, { status: "invalid" }];
@@ -45333,12 +45823,12 @@ var init_usersChangePassword = __esm(() => {
45333
45823
  });
45334
45824
 
45335
45825
  // src/mcp-server/tools/usersChangePassword.ts
45336
- var args11, tool$usersChangePassword;
45826
+ var args12, tool$usersChangePassword;
45337
45827
  var init_usersChangePassword2 = __esm(() => {
45338
45828
  init_usersChangePassword();
45339
45829
  init_operations();
45340
45830
  init_tools();
45341
- args11 = {
45831
+ args12 = {
45342
45832
  request: ChangePasswordRequest$inboundSchema
45343
45833
  };
45344
45834
  tool$usersChangePassword = {
@@ -45346,9 +45836,9 @@ var init_usersChangePassword2 = __esm(() => {
45346
45836
  description: `Change password
45347
45837
 
45348
45838
  Change the user's password to the new passed as parameter`,
45349
- args: args11,
45350
- tool: async (client, args12, ctx) => {
45351
- const [result, apiCall] = await usersChangePassword(client, args12.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45839
+ args: args12,
45840
+ tool: async (client, args13, ctx) => {
45841
+ const [result, apiCall] = await usersChangePassword(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45352
45842
  if (!result.ok) {
45353
45843
  return {
45354
45844
  content: [{ type: "text", text: result.error.message }],
@@ -45363,9 +45853,9 @@ Change the user's password to the new passed as parameter`,
45363
45853
 
45364
45854
  // src/funcs/usersGetCurrentUser.ts
45365
45855
  function usersGetCurrentUser(client, options) {
45366
- return new APIPromise($do12(client, options));
45856
+ return new APIPromise($do13(client, options));
45367
45857
  }
45368
- async function $do12(client, options) {
45858
+ async function $do13(client, options) {
45369
45859
  const path = pathToFunc("/users/me")();
45370
45860
  const headers = new Headers(compactMap({
45371
45861
  Accept: "application/json"
@@ -45450,9 +45940,9 @@ Returns a user object for the user represented by the authorization token`,
45450
45940
 
45451
45941
  // src/funcs/usersGetUserById.ts
45452
45942
  function usersGetUserById(client, request, options) {
45453
- return new APIPromise($do13(client, request, options));
45943
+ return new APIPromise($do14(client, request, options));
45454
45944
  }
45455
- async function $do13(client, request, options) {
45945
+ async function $do14(client, request, options) {
45456
45946
  const parsed = safeParse(request, (value) => GetUserByIdRequest$outboundSchema.parse(value), "Input validation failed");
45457
45947
  if (!parsed.ok) {
45458
45948
  return [parsed, { status: "invalid" }];
@@ -45528,12 +46018,12 @@ var init_usersGetUserById = __esm(() => {
45528
46018
  });
45529
46019
 
45530
46020
  // src/mcp-server/tools/usersGetUserById.ts
45531
- var args12, tool$usersGetUserById;
46021
+ var args13, tool$usersGetUserById;
45532
46022
  var init_usersGetUserById2 = __esm(() => {
45533
46023
  init_usersGetUserById();
45534
46024
  init_operations();
45535
46025
  init_tools();
45536
- args12 = {
46026
+ args13 = {
45537
46027
  request: GetUserByIdRequest$inboundSchema
45538
46028
  };
45539
46029
  tool$usersGetUserById = {
@@ -45541,9 +46031,9 @@ var init_usersGetUserById2 = __esm(() => {
45541
46031
  description: `Get user by id
45542
46032
 
45543
46033
  Returns a user object for the user represented by the identifier in the path.`,
45544
- args: args12,
45545
- tool: async (client, args13, ctx) => {
45546
- const [result, apiCall] = await usersGetUserById(client, args13.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46034
+ args: args13,
46035
+ tool: async (client, args14, ctx) => {
46036
+ const [result, apiCall] = await usersGetUserById(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45547
46037
  if (!result.ok) {
45548
46038
  return {
45549
46039
  content: [{ type: "text", text: result.error.message }],
@@ -45558,9 +46048,9 @@ Returns a user object for the user represented by the identifier in the path.`,
45558
46048
 
45559
46049
  // src/funcs/usersMagiclink.ts
45560
46050
  function usersMagiclink(client, request, options) {
45561
- return new APIPromise($do14(client, request, options));
46051
+ return new APIPromise($do15(client, request, options));
45562
46052
  }
45563
- async function $do14(client, request, options) {
46053
+ async function $do15(client, request, options) {
45564
46054
  const parsed = safeParse(request, (value) => MagiclinkRequestBody$outboundSchema.parse(value), "Input validation failed");
45565
46055
  if (!parsed.ok) {
45566
46056
  return [parsed, { status: "invalid" }];
@@ -45630,12 +46120,12 @@ var init_usersMagiclink = __esm(() => {
45630
46120
  });
45631
46121
 
45632
46122
  // src/mcp-server/tools/usersMagiclink.ts
45633
- var args13, tool$usersMagiclink;
46123
+ var args14, tool$usersMagiclink;
45634
46124
  var init_usersMagiclink2 = __esm(() => {
45635
46125
  init_usersMagiclink();
45636
46126
  init_operations();
45637
46127
  init_tools();
45638
- args13 = {
46128
+ args14 = {
45639
46129
  request: MagiclinkRequestBody$inboundSchema
45640
46130
  };
45641
46131
  tool$usersMagiclink = {
@@ -45643,9 +46133,9 @@ var init_usersMagiclink2 = __esm(() => {
45643
46133
  description: `Magic link
45644
46134
 
45645
46135
  It sends an email with a magic link to allow the user to log in.`,
45646
- args: args13,
45647
- tool: async (client, args14, ctx) => {
45648
- const [result, apiCall] = await usersMagiclink(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46136
+ args: args14,
46137
+ tool: async (client, args15, ctx) => {
46138
+ const [result, apiCall] = await usersMagiclink(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45649
46139
  if (!result.ok) {
45650
46140
  return {
45651
46141
  content: [{ type: "text", text: result.error.message }],
@@ -45660,9 +46150,9 @@ It sends an email with a magic link to allow the user to log in.`,
45660
46150
 
45661
46151
  // src/funcs/usersPassword.ts
45662
46152
  function usersPassword(client, request, options) {
45663
- return new APIPromise($do15(client, request, options));
46153
+ return new APIPromise($do16(client, request, options));
45664
46154
  }
45665
- async function $do15(client, request, options) {
46155
+ async function $do16(client, request, options) {
45666
46156
  const parsed = safeParse(request, (value) => PasswordRequestBody$outboundSchema.parse(value), "Input validation failed");
45667
46157
  if (!parsed.ok) {
45668
46158
  return [parsed, { status: "invalid" }];
@@ -45732,12 +46222,12 @@ var init_usersPassword = __esm(() => {
45732
46222
  });
45733
46223
 
45734
46224
  // src/mcp-server/tools/usersPassword.ts
45735
- var args14, tool$usersPassword;
46225
+ var args15, tool$usersPassword;
45736
46226
  var init_usersPassword2 = __esm(() => {
45737
46227
  init_usersPassword();
45738
46228
  init_operations();
45739
46229
  init_tools();
45740
- args14 = {
46230
+ args15 = {
45741
46231
  request: PasswordRequestBody$inboundSchema
45742
46232
  };
45743
46233
  tool$usersPassword = {
@@ -45746,9 +46236,9 @@ var init_usersPassword2 = __esm(() => {
45746
46236
 
45747
46237
  Resets the a user's password using a password_reset_id that was sent to them via email.
45748
46238
  See /users/passwordresetrequest to initiate a password reset flow.`,
45749
- args: args14,
45750
- tool: async (client, args15, ctx) => {
45751
- const [result, apiCall] = await usersPassword(client, args15.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46239
+ args: args15,
46240
+ tool: async (client, args16, ctx) => {
46241
+ const [result, apiCall] = await usersPassword(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45752
46242
  if (!result.ok) {
45753
46243
  return {
45754
46244
  content: [{ type: "text", text: result.error.message }],
@@ -45763,9 +46253,9 @@ See /users/passwordresetrequest to initiate a password reset flow.`,
45763
46253
 
45764
46254
  // src/funcs/usersPasswordResetRequest.ts
45765
46255
  function usersPasswordResetRequest(client, request, options) {
45766
- return new APIPromise($do16(client, request, options));
46256
+ return new APIPromise($do17(client, request, options));
45767
46257
  }
45768
- async function $do16(client, request, options) {
46258
+ async function $do17(client, request, options) {
45769
46259
  const parsed = safeParse(request, (value) => PasswordResetRequestRequestBody$outboundSchema.parse(value), "Input validation failed");
45770
46260
  if (!parsed.ok) {
45771
46261
  return [parsed, { status: "invalid" }];
@@ -45835,22 +46325,150 @@ var init_usersPasswordResetRequest = __esm(() => {
45835
46325
  });
45836
46326
 
45837
46327
  // src/mcp-server/tools/usersPasswordResetRequest.ts
45838
- var args15, tool$usersPasswordResetRequest;
46328
+ var args16, tool$usersPasswordResetRequest;
45839
46329
  var init_usersPasswordResetRequest2 = __esm(() => {
45840
46330
  init_usersPasswordResetRequest();
45841
46331
  init_operations();
45842
46332
  init_tools();
45843
- args15 = {
46333
+ args16 = {
45844
46334
  request: PasswordResetRequestRequestBody$inboundSchema
45845
46335
  };
45846
46336
  tool$usersPasswordResetRequest = {
45847
46337
  name: "users-password-reset-request",
45848
46338
  description: `Password reset request
45849
46339
 
45850
- It sends an email with a link for resetting a user's password.`,
45851
- args: args15,
45852
- tool: async (client, args16, ctx) => {
45853
- const [result, apiCall] = await usersPasswordResetRequest(client, args16.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46340
+ It sends an email with a link for resetting a user's password.`,
46341
+ args: args16,
46342
+ tool: async (client, args17, ctx) => {
46343
+ const [result, apiCall] = await usersPasswordResetRequest(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46344
+ if (!result.ok) {
46345
+ return {
46346
+ content: [{ type: "text", text: result.error.message }],
46347
+ isError: true
46348
+ };
46349
+ }
46350
+ const value = result.value;
46351
+ return formatResult(value, apiCall);
46352
+ }
46353
+ };
46354
+ });
46355
+
46356
+ // src/funcs/usersPostAuthenticate.ts
46357
+ function usersPostAuthenticate(client, request, options) {
46358
+ return new APIPromise($do18(client, request, options));
46359
+ }
46360
+ async function $do18(client, request, options) {
46361
+ const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
46362
+ if (!parsed.ok) {
46363
+ return [parsed, { status: "invalid" }];
46364
+ }
46365
+ const payload = parsed.value;
46366
+ const body = encodeJSON("body", payload, { explode: true });
46367
+ const path = pathToFunc("/users/authenticate")();
46368
+ const headers = new Headers(compactMap({
46369
+ "Content-Type": "application/json",
46370
+ Accept: "application/json"
46371
+ }));
46372
+ const context = {
46373
+ options: client._options,
46374
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
46375
+ operationID: "postAuthenticate",
46376
+ oAuth2Scopes: [],
46377
+ resolvedSecurity: null,
46378
+ securitySource: null,
46379
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
46380
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
46381
+ };
46382
+ const requestRes = client._createRequest(context, {
46383
+ method: "POST",
46384
+ baseURL: options?.serverURL,
46385
+ path,
46386
+ headers,
46387
+ body,
46388
+ userAgent: client._options.userAgent,
46389
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
46390
+ }, options);
46391
+ if (!requestRes.ok) {
46392
+ return [requestRes, { status: "invalid" }];
46393
+ }
46394
+ const req = requestRes.value;
46395
+ const doResult = await client._do(req, {
46396
+ context,
46397
+ errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
46398
+ retryConfig: context.retryConfig,
46399
+ retryCodes: context.retryCodes
46400
+ });
46401
+ if (!doResult.ok) {
46402
+ return [doResult, { status: "request-error", request: req }];
46403
+ }
46404
+ const response = doResult.value;
46405
+ const responseFields = {
46406
+ HttpMeta: { Response: response, Request: req }
46407
+ };
46408
+ const [result] = await match(json(200, PostAuthenticateResponse$inboundSchema), json(202, PostAuthenticateResponse$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
46409
+ if (!result.ok) {
46410
+ return [result, { status: "complete", request: req, response }];
46411
+ }
46412
+ return [result, { status: "complete", request: req, response }];
46413
+ }
46414
+ var init_usersPostAuthenticate = __esm(() => {
46415
+ init_encodings();
46416
+ init_matchers();
46417
+ init_primitives();
46418
+ init_schemas();
46419
+ init_url();
46420
+ init_errors2();
46421
+ init_operations();
46422
+ init_async();
46423
+ });
46424
+
46425
+ // src/mcp-server/tools/usersPostAuthenticate.ts
46426
+ var args17, tool$usersPostAuthenticate;
46427
+ var init_usersPostAuthenticate2 = __esm(() => {
46428
+ init_usersPostAuthenticate();
46429
+ init_operations();
46430
+ init_tools();
46431
+ args17 = {
46432
+ request: PostAuthenticateRequestBody$inboundSchema
46433
+ };
46434
+ tool$usersPostAuthenticate = {
46435
+ name: "users-post-authenticate",
46436
+ description: `Logs user into the system
46437
+
46438
+ This endpoint allows a user to authenticate themselves and retrieve a permanent token for access.
46439
+
46440
+ Permanent tokens should only ever be stored in an encrypted storage because they represent a fully logged in user.
46441
+
46442
+ Users may log in with \`email/password\`, \`SAML\`, \`magic link\` or \`mfa\`. The application should handle all of the above as equally valid login methods.
46443
+
46444
+ The most common way to authenticate a user is to log in with an email and password. If the user provides valid credentials, the server will either respond with a full user object including the token.
46445
+
46446
+ When the user's account is protected via MFA, the server will send a 6 digit code to the user via their default MFA provider. You should collect that code and resend the email, password and mfa_code together to get a successful authentication.
46447
+
46448
+ The ideal flow for a login sequence is the following:
46449
+
46450
+ 1. Present an email address field only and allow the user to submit
46451
+ 2. Send \`email\` and \`return_url\` payload to this endpoint
46452
+ 3. Follow the flow based on the response \`requires\` field
46453
+
46454
+ Requires: \`password\`
46455
+
46456
+ 1. Show a password field for the user to fill out
46457
+ 2. Submit the \`email\` and \`password\` to this endpoint
46458
+ 3. If the response is \`200\`, the login is done. If the response is \`201\`, then check if \`requires: mfa_code\` is returned and show MFA flow
46459
+ 4. Submit \`email\`, \`password\`, \`mfa_code\` to this endpoint
46460
+ 5. If the response is \`200\`, the login is done. Otherwise, show the appropriate error to the user and go back to step 1 or 3 depending on the error.
46461
+
46462
+ Requires: \`saml_login\`
46463
+
46464
+ 1. [Open a browser](https://docs.expo.dev/versions/latest/sdk/webbrowser/#webbrowseropenauthsessionasyncurl-redirecturl-options) to the url returned in \`sso_url\`
46465
+ 2. User completes sign-in using their configured SAML IdP
46466
+ 3. Site redirects to your selected \`return_url\`
46467
+ 4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
46468
+ 5. Fetch the user object from \`/users/me\` using the token`,
46469
+ args: args17,
46470
+ tool: async (client, args18, ctx) => {
46471
+ const [result, apiCall] = await usersPostAuthenticate(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45854
46472
  if (!result.ok) {
45855
46473
  return {
45856
46474
  content: [{ type: "text", text: result.error.message }],
@@ -45863,33 +46481,38 @@ It sends an email with a link for resetting a user's password.`,
45863
46481
  };
45864
46482
  });
45865
46483
 
45866
- // src/funcs/usersPostAuthenticate.ts
45867
- function usersPostAuthenticate(client, request, options) {
45868
- return new APIPromise($do17(client, request, options));
46484
+ // src/funcs/vendorsAcceptVendorCredential.ts
46485
+ function vendorsAcceptVendorCredential(client, request, options) {
46486
+ return new APIPromise($do19(client, request, options));
45869
46487
  }
45870
- async function $do17(client, request, options) {
45871
- const parsed = safeParse(request, (value) => PostAuthenticateRequestBody$outboundSchema.parse(value), "Input validation failed");
46488
+ async function $do19(client, request, options) {
46489
+ const parsed = safeParse(request, (value) => AcceptVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
45872
46490
  if (!parsed.ok) {
45873
46491
  return [parsed, { status: "invalid" }];
45874
46492
  }
45875
46493
  const payload = parsed.value;
45876
- const body = encodeJSON("body", payload, { explode: true });
45877
- const path = pathToFunc("/users/authenticate")();
46494
+ const body = null;
46495
+ const pathParams = {
46496
+ vendor_credential_id: encodeSimple("vendor_credential_id", payload.vendor_credential_id, { explode: false, charEncoding: "percent" })
46497
+ };
46498
+ const path = pathToFunc("/vendors/credentials/{vendor_credential_id}/acceptance")(pathParams);
45878
46499
  const headers = new Headers(compactMap({
45879
- "Content-Type": "application/json",
45880
46500
  Accept: "application/json"
45881
46501
  }));
46502
+ const securityInput = await extractSecurity(client._options.security);
46503
+ const requestSecurity = resolveGlobalSecurity(securityInput);
45882
46504
  const context = {
45883
46505
  options: client._options,
45884
46506
  baseURL: options?.serverURL ?? client._baseURL ?? "",
45885
- operationID: "postAuthenticate",
46507
+ operationID: "acceptVendorCredential",
45886
46508
  oAuth2Scopes: [],
45887
- resolvedSecurity: null,
45888
- securitySource: null,
46509
+ resolvedSecurity: requestSecurity,
46510
+ securitySource: client._options.security,
45889
46511
  retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
45890
46512
  retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
45891
46513
  };
45892
46514
  const requestRes = client._createRequest(context, {
46515
+ security: requestSecurity,
45893
46516
  method: "POST",
45894
46517
  baseURL: options?.serverURL,
45895
46518
  path,
@@ -45915,70 +46538,42 @@ async function $do17(client, request, options) {
45915
46538
  const responseFields = {
45916
46539
  HttpMeta: { Response: response, Request: req }
45917
46540
  };
45918
- const [result] = await match(json(200, PostAuthenticateResponse$inboundSchema), json(202, PostAuthenticateResponse$inboundSchema), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
46541
+ const [result] = await match(json(200, booleanType()), jsonErr([400, 401, 403, 404], ApiErrorResponse$inboundSchema), jsonErr(500, ApiErrorResponse$inboundSchema), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
45919
46542
  if (!result.ok) {
45920
46543
  return [result, { status: "complete", request: req, response }];
45921
46544
  }
45922
46545
  return [result, { status: "complete", request: req, response }];
45923
46546
  }
45924
- var init_usersPostAuthenticate = __esm(() => {
46547
+ var init_vendorsAcceptVendorCredential = __esm(() => {
46548
+ init_esm();
45925
46549
  init_encodings();
45926
46550
  init_matchers();
45927
46551
  init_primitives();
45928
46552
  init_schemas();
46553
+ init_security();
45929
46554
  init_url();
45930
46555
  init_errors2();
45931
46556
  init_operations();
45932
46557
  init_async();
45933
46558
  });
45934
46559
 
45935
- // src/mcp-server/tools/usersPostAuthenticate.ts
45936
- var args16, tool$usersPostAuthenticate;
45937
- var init_usersPostAuthenticate2 = __esm(() => {
45938
- init_usersPostAuthenticate();
46560
+ // src/mcp-server/tools/vendorsAcceptVendorCredential.ts
46561
+ var args18, tool$vendorsAcceptVendorCredential;
46562
+ var init_vendorsAcceptVendorCredential2 = __esm(() => {
46563
+ init_vendorsAcceptVendorCredential();
45939
46564
  init_operations();
45940
46565
  init_tools();
45941
- args16 = {
45942
- request: PostAuthenticateRequestBody$inboundSchema
46566
+ args18 = {
46567
+ request: AcceptVendorCredentialRequest$inboundSchema
45943
46568
  };
45944
- tool$usersPostAuthenticate = {
45945
- name: "users-post-authenticate",
45946
- description: `Logs user into the system
45947
-
45948
- This endpoint allows a user to authenticate themselves and retrieve a permanent token for access.
45949
-
45950
- Permanent tokens should only ever be stored in an encrypted storage because they represent a fully logged in user.
45951
-
45952
- Users may log in with \`email/password\`, \`SAML\`, \`magic link\` or \`mfa\`. The application should handle all of the above as equally valid login methods.
45953
-
45954
- The most common way to authenticate a user is to log in with an email and password. If the user provides valid credentials, the server will either respond with a full user object including the token.
45955
-
45956
- When the user's account is protected via MFA, the server will send a 6 digit code to the user via their default MFA provider. You should collect that code and resend the email, password and mfa_code together to get a successful authentication.
45957
-
45958
- The ideal flow for a login sequence is the following:
45959
-
45960
- 1. Present an email address field only and allow the user to submit
45961
- 2. Send \`email\` and \`return_url\` payload to this endpoint
45962
- 3. Follow the flow based on the response \`requires\` field
45963
-
45964
- Requires: \`password\`
45965
-
45966
- 1. Show a password field for the user to fill out
45967
- 2. Submit the \`email\` and \`password\` to this endpoint
45968
- 3. If the response is \`200\`, the login is done. If the response is \`201\`, then check if \`requires: mfa_code\` is returned and show MFA flow
45969
- 4. Submit \`email\`, \`password\`, \`mfa_code\` to this endpoint
45970
- 5. If the response is \`200\`, the login is done. Otherwise, show the appropriate error to the user and go back to step 1 or 3 depending on the error.
45971
-
45972
- Requires: \`saml_login\`
46569
+ tool$vendorsAcceptVendorCredential = {
46570
+ name: "vendors-accept-vendor-credential",
46571
+ description: `Accept vendor credential
45973
46572
 
45974
- 1. [Open a browser](https://docs.expo.dev/versions/latest/sdk/webbrowser/#webbrowseropenauthsessionasyncurl-redirecturl-options) to the url returned in \`sso_url\`
45975
- 2. User completes sign-in using their configured SAML IdP
45976
- 3. Site redirects to your selected \`return_url\`
45977
- 4. The \`user_token\` will be appended as a query string parameter to your \`return_url\` - you must parse this token and store it
45978
- 5. Fetch the user object from \`/users/me\` using the token`,
45979
- args: args16,
45980
- tool: async (client, args17, ctx) => {
45981
- const [result, apiCall] = await usersPostAuthenticate(client, args17.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46573
+ It will accept vendor credential`,
46574
+ args: args18,
46575
+ tool: async (client, args19, ctx) => {
46576
+ const [result, apiCall] = await vendorsAcceptVendorCredential(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
45982
46577
  if (!result.ok) {
45983
46578
  return {
45984
46579
  content: [{ type: "text", text: result.error.message }],
@@ -45993,9 +46588,9 @@ Requires: \`saml_login\`
45993
46588
 
45994
46589
  // src/funcs/vendorsAddVendorCredentialFile.ts
45995
46590
  function vendorsAddVendorCredentialFile(client, request, options) {
45996
- return new APIPromise($do18(client, request, options));
46591
+ return new APIPromise($do20(client, request, options));
45997
46592
  }
45998
- async function $do18(client, request, options) {
46593
+ async function $do20(client, request, options) {
45999
46594
  const parsed = safeParse(request, (value) => AddVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
46000
46595
  if (!parsed.ok) {
46001
46596
  return [parsed, { status: "invalid" }];
@@ -46068,12 +46663,12 @@ var init_vendorsAddVendorCredentialFile = __esm(() => {
46068
46663
  });
46069
46664
 
46070
46665
  // src/mcp-server/tools/vendorsAddVendorCredentialFile.ts
46071
- var args17, tool$vendorsAddVendorCredentialFile;
46666
+ var args19, tool$vendorsAddVendorCredentialFile;
46072
46667
  var init_vendorsAddVendorCredentialFile2 = __esm(() => {
46073
46668
  init_vendorsAddVendorCredentialFile();
46074
46669
  init_operations();
46075
46670
  init_tools();
46076
- args17 = {
46671
+ args19 = {
46077
46672
  request: AddVendorCredentialFileRequest$inboundSchema
46078
46673
  };
46079
46674
  tool$vendorsAddVendorCredentialFile = {
@@ -46081,9 +46676,9 @@ var init_vendorsAddVendorCredentialFile2 = __esm(() => {
46081
46676
  description: `Add vendor credential file
46082
46677
 
46083
46678
  It will add a new vendor credential file`,
46084
- args: args17,
46085
- tool: async (client, args18, ctx) => {
46086
- const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args18.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46679
+ args: args19,
46680
+ tool: async (client, args20, ctx) => {
46681
+ const [result, apiCall] = await vendorsAddVendorCredentialFile(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46087
46682
  if (!result.ok) {
46088
46683
  return {
46089
46684
  content: [{ type: "text", text: result.error.message }],
@@ -46098,9 +46693,9 @@ It will add a new vendor credential file`,
46098
46693
 
46099
46694
  // src/funcs/vendorsAddVendorManagedByCompany.ts
46100
46695
  function vendorsAddVendorManagedByCompany(client, request, options) {
46101
- return new APIPromise($do19(client, request, options));
46696
+ return new APIPromise($do21(client, request, options));
46102
46697
  }
46103
- async function $do19(client, request, options) {
46698
+ async function $do21(client, request, options) {
46104
46699
  const parsed = safeParse(request, (value) => AddVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
46105
46700
  if (!parsed.ok) {
46106
46701
  return [parsed, { status: "invalid" }];
@@ -46176,12 +46771,12 @@ var init_vendorsAddVendorManagedByCompany = __esm(() => {
46176
46771
  });
46177
46772
 
46178
46773
  // src/mcp-server/tools/vendorsAddVendorManagedByCompany.ts
46179
- var args18, tool$vendorsAddVendorManagedByCompany;
46774
+ var args20, tool$vendorsAddVendorManagedByCompany;
46180
46775
  var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
46181
46776
  init_vendorsAddVendorManagedByCompany();
46182
46777
  init_operations();
46183
46778
  init_tools();
46184
- args18 = {
46779
+ args20 = {
46185
46780
  request: AddVendorManagedByCompanyRequest$inboundSchema
46186
46781
  };
46187
46782
  tool$vendorsAddVendorManagedByCompany = {
@@ -46189,9 +46784,9 @@ var init_vendorsAddVendorManagedByCompany2 = __esm(() => {
46189
46784
  description: `Add vendor managed by company
46190
46785
 
46191
46786
  It will add a vendor managed by company`,
46192
- args: args18,
46193
- tool: async (client, args19, ctx) => {
46194
- const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args19.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46787
+ args: args20,
46788
+ tool: async (client, args21, ctx) => {
46789
+ const [result, apiCall] = await vendorsAddVendorManagedByCompany(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46195
46790
  if (!result.ok) {
46196
46791
  return {
46197
46792
  content: [{ type: "text", text: result.error.message }],
@@ -46206,9 +46801,9 @@ It will add a vendor managed by company`,
46206
46801
 
46207
46802
  // src/funcs/vendorScansVendorScanOut.ts
46208
46803
  function vendorScansVendorScanOut(client, request, options) {
46209
- return new APIPromise($do20(client, request, options));
46804
+ return new APIPromise($do22(client, request, options));
46210
46805
  }
46211
- async function $do20(client, request, options) {
46806
+ async function $do22(client, request, options) {
46212
46807
  const parsed = safeParse(request, (value) => VendorScanOutRequest$outboundSchema.parse(value), "Input validation failed");
46213
46808
  if (!parsed.ok) {
46214
46809
  return [parsed, { status: "invalid" }];
@@ -46283,12 +46878,12 @@ var init_vendorScansVendorScanOut = __esm(() => {
46283
46878
  });
46284
46879
 
46285
46880
  // src/mcp-server/tools/vendorScansVendorScanOut.ts
46286
- var args19, tool$vendorScansVendorScanOut;
46881
+ var args21, tool$vendorScansVendorScanOut;
46287
46882
  var init_vendorScansVendorScanOut2 = __esm(() => {
46288
46883
  init_vendorScansVendorScanOut();
46289
46884
  init_operations();
46290
46885
  init_tools();
46291
- args19 = {
46886
+ args21 = {
46292
46887
  request: VendorScanOutRequest$inboundSchema
46293
46888
  };
46294
46889
  tool$vendorScansVendorScanOut = {
@@ -46296,9 +46891,9 @@ var init_vendorScansVendorScanOut2 = __esm(() => {
46296
46891
  description: `Vendor scan out
46297
46892
 
46298
46893
  It scans out vendor from facility`,
46299
- args: args19,
46300
- tool: async (client, args20, ctx) => {
46301
- const [result, apiCall] = await vendorScansVendorScanOut(client, args20.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46894
+ args: args21,
46895
+ tool: async (client, args22, ctx) => {
46896
+ const [result, apiCall] = await vendorScansVendorScanOut(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46302
46897
  if (!result.ok) {
46303
46898
  return {
46304
46899
  content: [{ type: "text", text: result.error.message }],
@@ -46313,9 +46908,9 @@ It scans out vendor from facility`,
46313
46908
 
46314
46909
  // src/funcs/vendorsCheckDownloadCode.ts
46315
46910
  function vendorsCheckDownloadCode(client, request, options) {
46316
- return new APIPromise($do21(client, request, options));
46911
+ return new APIPromise($do23(client, request, options));
46317
46912
  }
46318
- async function $do21(client, request, options) {
46913
+ async function $do23(client, request, options) {
46319
46914
  const parsed = safeParse(request, (value) => CheckDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
46320
46915
  if (!parsed.ok) {
46321
46916
  return [parsed, { status: "invalid" }];
@@ -46391,12 +46986,12 @@ var init_vendorsCheckDownloadCode = __esm(() => {
46391
46986
  });
46392
46987
 
46393
46988
  // src/mcp-server/tools/vendorsCheckDownloadCode.ts
46394
- var args20, tool$vendorsCheckDownloadCode;
46989
+ var args22, tool$vendorsCheckDownloadCode;
46395
46990
  var init_vendorsCheckDownloadCode2 = __esm(() => {
46396
46991
  init_vendorsCheckDownloadCode();
46397
46992
  init_operations();
46398
46993
  init_tools();
46399
- args20 = {
46994
+ args22 = {
46400
46995
  request: CheckDownloadCodeRequest$inboundSchema
46401
46996
  };
46402
46997
  tool$vendorsCheckDownloadCode = {
@@ -46404,9 +46999,9 @@ var init_vendorsCheckDownloadCode2 = __esm(() => {
46404
46999
  description: `Check download code for vendor credential
46405
47000
 
46406
47001
  It will check download code for vendor credential`,
46407
- args: args20,
46408
- tool: async (client, args21, ctx) => {
46409
- const [result, apiCall] = await vendorsCheckDownloadCode(client, args21.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47002
+ args: args22,
47003
+ tool: async (client, args23, ctx) => {
47004
+ const [result, apiCall] = await vendorsCheckDownloadCode(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46410
47005
  if (!result.ok) {
46411
47006
  return {
46412
47007
  content: [{ type: "text", text: result.error.message }],
@@ -46421,9 +47016,9 @@ It will check download code for vendor credential`,
46421
47016
 
46422
47017
  // src/funcs/vendorsCreateNewVendorCredentialVersion.ts
46423
47018
  function vendorsCreateNewVendorCredentialVersion(client, request, options) {
46424
- return new APIPromise($do22(client, request, options));
47019
+ return new APIPromise($do24(client, request, options));
46425
47020
  }
46426
- async function $do22(client, request, options) {
47021
+ async function $do24(client, request, options) {
46427
47022
  const parsed = safeParse(request, (value) => CreateNewVendorCredentialVersionRequestBody$outboundSchema.parse(value), "Input validation failed");
46428
47023
  if (!parsed.ok) {
46429
47024
  return [parsed, { status: "invalid" }];
@@ -46493,12 +47088,12 @@ var init_vendorsCreateNewVendorCredentialVersion = __esm(() => {
46493
47088
  });
46494
47089
 
46495
47090
  // src/mcp-server/tools/vendorsCreateNewVendorCredentialVersion.ts
46496
- var args21, tool$vendorsCreateNewVendorCredentialVersion;
47091
+ var args23, tool$vendorsCreateNewVendorCredentialVersion;
46497
47092
  var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
46498
47093
  init_vendorsCreateNewVendorCredentialVersion();
46499
47094
  init_operations();
46500
47095
  init_tools();
46501
- args21 = {
47096
+ args23 = {
46502
47097
  request: CreateNewVendorCredentialVersionRequestBody$inboundSchema
46503
47098
  };
46504
47099
  tool$vendorsCreateNewVendorCredentialVersion = {
@@ -46506,9 +47101,9 @@ var init_vendorsCreateNewVendorCredentialVersion2 = __esm(() => {
46506
47101
  description: `Create new vendor credential version
46507
47102
 
46508
47103
  It will submit vendor credential`,
46509
- args: args21,
46510
- tool: async (client, args22, ctx) => {
46511
- const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args22.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47104
+ args: args23,
47105
+ tool: async (client, args24, ctx) => {
47106
+ const [result, apiCall] = await vendorsCreateNewVendorCredentialVersion(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46512
47107
  if (!result.ok) {
46513
47108
  return {
46514
47109
  content: [{ type: "text", text: result.error.message }],
@@ -46523,9 +47118,9 @@ It will submit vendor credential`,
46523
47118
 
46524
47119
  // src/funcs/vendorsCreateOrUpdateBcr.ts
46525
47120
  function vendorsCreateOrUpdateBcr(client, request, options) {
46526
- return new APIPromise($do23(client, request, options));
47121
+ return new APIPromise($do25(client, request, options));
46527
47122
  }
46528
- async function $do23(client, request, options) {
47123
+ async function $do25(client, request, options) {
46529
47124
  const parsed = safeParse(request, (value) => CreateOrUpdateBcrRequest$outboundSchema.parse(value), "Input validation failed");
46530
47125
  if (!parsed.ok) {
46531
47126
  return [parsed, { status: "invalid" }];
@@ -46599,12 +47194,12 @@ var init_vendorsCreateOrUpdateBcr = __esm(() => {
46599
47194
  });
46600
47195
 
46601
47196
  // src/mcp-server/tools/vendorsCreateOrUpdateBcr.ts
46602
- var args22, tool$vendorsCreateOrUpdateBcr;
47197
+ var args24, tool$vendorsCreateOrUpdateBcr;
46603
47198
  var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
46604
47199
  init_vendorsCreateOrUpdateBcr();
46605
47200
  init_operations();
46606
47201
  init_tools();
46607
- args22 = {
47202
+ args24 = {
46608
47203
  request: CreateOrUpdateBcrRequest$inboundSchema
46609
47204
  };
46610
47205
  tool$vendorsCreateOrUpdateBcr = {
@@ -46612,9 +47207,9 @@ var init_vendorsCreateOrUpdateBcr2 = __esm(() => {
46612
47207
  description: `Create or update BackgroundCheckResults
46613
47208
 
46614
47209
  It will create or update BackgroundCheckResults`,
46615
- args: args22,
46616
- tool: async (client, args23, ctx) => {
46617
- const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args23.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47210
+ args: args24,
47211
+ tool: async (client, args25, ctx) => {
47212
+ const [result, apiCall] = await vendorsCreateOrUpdateBcr(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46618
47213
  if (!result.ok) {
46619
47214
  return {
46620
47215
  content: [{ type: "text", text: result.error.message }],
@@ -46629,9 +47224,9 @@ It will create or update BackgroundCheckResults`,
46629
47224
 
46630
47225
  // src/funcs/vendorsCreateVendorCompany.ts
46631
47226
  function vendorsCreateVendorCompany(client, request, options) {
46632
- return new APIPromise($do24(client, request, options));
47227
+ return new APIPromise($do26(client, request, options));
46633
47228
  }
46634
- async function $do24(client, request, options) {
47229
+ async function $do26(client, request, options) {
46635
47230
  const parsed = safeParse(request, (value) => CreateVendorCompanyRequest$outboundSchema.parse(value), "Input validation failed");
46636
47231
  if (!parsed.ok) {
46637
47232
  return [parsed, { status: "invalid" }];
@@ -46707,12 +47302,12 @@ var init_vendorsCreateVendorCompany = __esm(() => {
46707
47302
  });
46708
47303
 
46709
47304
  // src/mcp-server/tools/vendorsCreateVendorCompany.ts
46710
- var args23, tool$vendorsCreateVendorCompany;
47305
+ var args25, tool$vendorsCreateVendorCompany;
46711
47306
  var init_vendorsCreateVendorCompany2 = __esm(() => {
46712
47307
  init_vendorsCreateVendorCompany();
46713
47308
  init_operations();
46714
47309
  init_tools();
46715
- args23 = {
47310
+ args25 = {
46716
47311
  request: CreateVendorCompanyRequest$inboundSchema
46717
47312
  };
46718
47313
  tool$vendorsCreateVendorCompany = {
@@ -46720,9 +47315,9 @@ var init_vendorsCreateVendorCompany2 = __esm(() => {
46720
47315
  description: `Create vendor company
46721
47316
 
46722
47317
  Create vendor company`,
46723
- args: args23,
46724
- tool: async (client, args24, ctx) => {
46725
- const [result, apiCall] = await vendorsCreateVendorCompany(client, args24.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47318
+ args: args25,
47319
+ tool: async (client, args26, ctx) => {
47320
+ const [result, apiCall] = await vendorsCreateVendorCompany(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46726
47321
  if (!result.ok) {
46727
47322
  return {
46728
47323
  content: [{ type: "text", text: result.error.message }],
@@ -46737,9 +47332,9 @@ Create vendor company`,
46737
47332
 
46738
47333
  // src/funcs/vendorsCreateVendorRegistration.ts
46739
47334
  function vendorsCreateVendorRegistration(client, request, options) {
46740
- return new APIPromise($do25(client, request, options));
47335
+ return new APIPromise($do27(client, request, options));
46741
47336
  }
46742
- async function $do25(client, request, options) {
47337
+ async function $do27(client, request, options) {
46743
47338
  const parsed = safeParse(request, (value) => CreateVendorRegistrationRequestBody$outboundSchema.parse(value), "Input validation failed");
46744
47339
  if (!parsed.ok) {
46745
47340
  return [parsed, { status: "invalid" }];
@@ -46806,12 +47401,12 @@ var init_vendorsCreateVendorRegistration = __esm(() => {
46806
47401
  });
46807
47402
 
46808
47403
  // src/mcp-server/tools/vendorsCreateVendorRegistration.ts
46809
- var args24, tool$vendorsCreateVendorRegistration;
47404
+ var args26, tool$vendorsCreateVendorRegistration;
46810
47405
  var init_vendorsCreateVendorRegistration2 = __esm(() => {
46811
47406
  init_vendorsCreateVendorRegistration();
46812
47407
  init_operations();
46813
47408
  init_tools();
46814
- args24 = {
47409
+ args26 = {
46815
47410
  request: CreateVendorRegistrationRequestBody$inboundSchema
46816
47411
  };
46817
47412
  tool$vendorsCreateVendorRegistration = {
@@ -46819,9 +47414,9 @@ var init_vendorsCreateVendorRegistration2 = __esm(() => {
46819
47414
  description: `Create vendor registration
46820
47415
 
46821
47416
  Create an initial vendor registration. Once successful, the vendor will be able to continue to filling out the rest of their onboarding profile.`,
46822
- args: args24,
46823
- tool: async (client, args25, ctx) => {
46824
- const [result, apiCall] = await vendorsCreateVendorRegistration(client, args25.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47417
+ args: args26,
47418
+ tool: async (client, args27, ctx) => {
47419
+ const [result, apiCall] = await vendorsCreateVendorRegistration(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46825
47420
  if (!result.ok) {
46826
47421
  return {
46827
47422
  content: [{ type: "text", text: result.error.message }],
@@ -46836,9 +47431,9 @@ Create an initial vendor registration. Once successful, the vendor will be able
46836
47431
 
46837
47432
  // src/funcs/vendorsDeclineVendorCredential.ts
46838
47433
  function vendorsDeclineVendorCredential(client, request, options) {
46839
- return new APIPromise($do26(client, request, options));
47434
+ return new APIPromise($do28(client, request, options));
46840
47435
  }
46841
- async function $do26(client, request, options) {
47436
+ async function $do28(client, request, options) {
46842
47437
  const parsed = safeParse(request, (value) => DeclineVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
46843
47438
  if (!parsed.ok) {
46844
47439
  return [parsed, { status: "invalid" }];
@@ -46911,12 +47506,12 @@ var init_vendorsDeclineVendorCredential = __esm(() => {
46911
47506
  });
46912
47507
 
46913
47508
  // src/mcp-server/tools/vendorsDeclineVendorCredential.ts
46914
- var args25, tool$vendorsDeclineVendorCredential;
47509
+ var args27, tool$vendorsDeclineVendorCredential;
46915
47510
  var init_vendorsDeclineVendorCredential2 = __esm(() => {
46916
47511
  init_vendorsDeclineVendorCredential();
46917
47512
  init_operations();
46918
47513
  init_tools();
46919
- args25 = {
47514
+ args27 = {
46920
47515
  request: DeclineVendorCredentialRequest$inboundSchema
46921
47516
  };
46922
47517
  tool$vendorsDeclineVendorCredential = {
@@ -46924,9 +47519,9 @@ var init_vendorsDeclineVendorCredential2 = __esm(() => {
46924
47519
  description: `Decline vendor credential
46925
47520
 
46926
47521
  It will decline vendor credential`,
46927
- args: args25,
46928
- tool: async (client, args26, ctx) => {
46929
- const [result, apiCall] = await vendorsDeclineVendorCredential(client, args26.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47522
+ args: args27,
47523
+ tool: async (client, args28, ctx) => {
47524
+ const [result, apiCall] = await vendorsDeclineVendorCredential(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
46930
47525
  if (!result.ok) {
46931
47526
  return {
46932
47527
  content: [{ type: "text", text: result.error.message }],
@@ -46941,9 +47536,9 @@ It will decline vendor credential`,
46941
47536
 
46942
47537
  // src/funcs/vendorsDeleteVendorCredentialFile.ts
46943
47538
  function vendorsDeleteVendorCredentialFile(client, request, options) {
46944
- return new APIPromise($do27(client, request, options));
47539
+ return new APIPromise($do29(client, request, options));
46945
47540
  }
46946
- async function $do27(client, request, options) {
47541
+ async function $do29(client, request, options) {
46947
47542
  const parsed = safeParse(request, (value) => DeleteVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
46948
47543
  if (!parsed.ok) {
46949
47544
  return [parsed, { status: "invalid" }];
@@ -47020,12 +47615,12 @@ var init_vendorsDeleteVendorCredentialFile = __esm(() => {
47020
47615
  });
47021
47616
 
47022
47617
  // src/mcp-server/tools/vendorsDeleteVendorCredentialFile.ts
47023
- var args26, tool$vendorsDeleteVendorCredentialFile;
47618
+ var args28, tool$vendorsDeleteVendorCredentialFile;
47024
47619
  var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
47025
47620
  init_vendorsDeleteVendorCredentialFile();
47026
47621
  init_operations();
47027
47622
  init_tools();
47028
- args26 = {
47623
+ args28 = {
47029
47624
  request: DeleteVendorCredentialFileRequest$inboundSchema
47030
47625
  };
47031
47626
  tool$vendorsDeleteVendorCredentialFile = {
@@ -47033,9 +47628,9 @@ var init_vendorsDeleteVendorCredentialFile2 = __esm(() => {
47033
47628
  description: `Delete vendor credential file
47034
47629
 
47035
47630
  It will delete the vendor credential file`,
47036
- args: args26,
47037
- tool: async (client, args27, ctx) => {
47038
- const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args27.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47631
+ args: args28,
47632
+ tool: async (client, args29, ctx) => {
47633
+ const [result, apiCall] = await vendorsDeleteVendorCredentialFile(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47039
47634
  if (!result.ok) {
47040
47635
  return {
47041
47636
  content: [{ type: "text", text: result.error.message }],
@@ -47050,9 +47645,9 @@ It will delete the vendor credential file`,
47050
47645
 
47051
47646
  // src/funcs/vendorsDeleteVendorManagedByCompany.ts
47052
47647
  function vendorsDeleteVendorManagedByCompany(client, request, options) {
47053
- return new APIPromise($do28(client, request, options));
47648
+ return new APIPromise($do30(client, request, options));
47054
47649
  }
47055
- async function $do28(client, request, options) {
47650
+ async function $do30(client, request, options) {
47056
47651
  const parsed = safeParse(request, (value) => DeleteVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
47057
47652
  if (!parsed.ok) {
47058
47653
  return [parsed, { status: "invalid" }];
@@ -47128,12 +47723,12 @@ var init_vendorsDeleteVendorManagedByCompany = __esm(() => {
47128
47723
  });
47129
47724
 
47130
47725
  // src/mcp-server/tools/vendorsDeleteVendorManagedByCompany.ts
47131
- var args27, tool$vendorsDeleteVendorManagedByCompany;
47726
+ var args29, tool$vendorsDeleteVendorManagedByCompany;
47132
47727
  var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
47133
47728
  init_vendorsDeleteVendorManagedByCompany();
47134
47729
  init_operations();
47135
47730
  init_tools();
47136
- args27 = {
47731
+ args29 = {
47137
47732
  request: DeleteVendorManagedByCompanyRequest$inboundSchema
47138
47733
  };
47139
47734
  tool$vendorsDeleteVendorManagedByCompany = {
@@ -47141,9 +47736,9 @@ var init_vendorsDeleteVendorManagedByCompany2 = __esm(() => {
47141
47736
  description: `Delete vendor managed by company
47142
47737
 
47143
47738
  It will delete the vendor managed by company`,
47144
- args: args27,
47145
- tool: async (client, args28, ctx) => {
47146
- const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args28.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47739
+ args: args29,
47740
+ tool: async (client, args30, ctx) => {
47741
+ const [result, apiCall] = await vendorsDeleteVendorManagedByCompany(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47147
47742
  if (!result.ok) {
47148
47743
  return {
47149
47744
  content: [{ type: "text", text: result.error.message }],
@@ -47158,9 +47753,9 @@ It will delete the vendor managed by company`,
47158
47753
 
47159
47754
  // src/funcs/vendorsExpediteTimeRemaining.ts
47160
47755
  function vendorsExpediteTimeRemaining(client, request, options) {
47161
- return new APIPromise($do29(client, request, options));
47756
+ return new APIPromise($do31(client, request, options));
47162
47757
  }
47163
- async function $do29(client, request, options) {
47758
+ async function $do31(client, request, options) {
47164
47759
  const parsed = safeParse(request, (value) => ExpediteTimeRemainingRequest$outboundSchema.parse(value), "Input validation failed");
47165
47760
  if (!parsed.ok) {
47166
47761
  return [parsed, { status: "invalid" }];
@@ -47235,12 +47830,12 @@ var init_vendorsExpediteTimeRemaining = __esm(() => {
47235
47830
  });
47236
47831
 
47237
47832
  // src/mcp-server/tools/vendorsExpediteTimeRemaining.ts
47238
- var args28, tool$vendorsExpediteTimeRemaining;
47833
+ var args30, tool$vendorsExpediteTimeRemaining;
47239
47834
  var init_vendorsExpediteTimeRemaining2 = __esm(() => {
47240
47835
  init_vendorsExpediteTimeRemaining();
47241
47836
  init_operations();
47242
47837
  init_tools();
47243
- args28 = {
47838
+ args30 = {
47244
47839
  request: ExpediteTimeRemainingRequest$inboundSchema
47245
47840
  };
47246
47841
  tool$vendorsExpediteTimeRemaining = {
@@ -47248,9 +47843,9 @@ var init_vendorsExpediteTimeRemaining2 = __esm(() => {
47248
47843
  description: `Expedite time remaining
47249
47844
 
47250
47845
  For vendors who have a paid 24-hour expedite credentials invoice, get the remaining time (in seconds) for which submitted credentials will be expedited.`,
47251
- args: args28,
47252
- tool: async (client, args29, ctx) => {
47253
- const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args29.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47846
+ args: args30,
47847
+ tool: async (client, args31, ctx) => {
47848
+ const [result, apiCall] = await vendorsExpediteTimeRemaining(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47254
47849
  if (!result.ok) {
47255
47850
  return {
47256
47851
  content: [{ type: "text", text: result.error.message }],
@@ -47265,9 +47860,9 @@ For vendors who have a paid 24-hour expedite credentials invoice, get the remain
47265
47860
 
47266
47861
  // src/funcs/vendorsGetVendorCredentialDetails.ts
47267
47862
  function vendorsGetVendorCredentialDetails(client, request, options) {
47268
- return new APIPromise($do30(client, request, options));
47863
+ return new APIPromise($do32(client, request, options));
47269
47864
  }
47270
- async function $do30(client, request, options) {
47865
+ async function $do32(client, request, options) {
47271
47866
  const parsed = safeParse(request, (value) => GetVendorCredentialDetailsRequest$outboundSchema.parse(value), "Input validation failed");
47272
47867
  if (!parsed.ok) {
47273
47868
  return [parsed, { status: "invalid" }];
@@ -47350,12 +47945,12 @@ var init_vendorsGetVendorCredentialDetails = __esm(() => {
47350
47945
  });
47351
47946
 
47352
47947
  // src/mcp-server/tools/vendorsGetVendorCredentialDetails.ts
47353
- var args29, tool$vendorsGetVendorCredentialDetails;
47948
+ var args31, tool$vendorsGetVendorCredentialDetails;
47354
47949
  var init_vendorsGetVendorCredentialDetails2 = __esm(() => {
47355
47950
  init_vendorsGetVendorCredentialDetails();
47356
47951
  init_operations();
47357
47952
  init_tools();
47358
- args29 = {
47953
+ args31 = {
47359
47954
  request: GetVendorCredentialDetailsRequest$inboundSchema
47360
47955
  };
47361
47956
  tool$vendorsGetVendorCredentialDetails = {
@@ -47381,9 +47976,9 @@ Available \`expand\` scopes are:
47381
47976
  - vendor_credential.credential_variants
47382
47977
  - vendor_credential.targets_chop
47383
47978
  - vendor_credential.total_pending_credentials`,
47384
- args: args29,
47385
- tool: async (client, args30, ctx) => {
47386
- const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args30.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47979
+ args: args31,
47980
+ tool: async (client, args32, ctx) => {
47981
+ const [result, apiCall] = await vendorsGetVendorCredentialDetails(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47387
47982
  if (!result.ok) {
47388
47983
  return {
47389
47984
  content: [{ type: "text", text: result.error.message }],
@@ -47398,9 +47993,9 @@ Available \`expand\` scopes are:
47398
47993
 
47399
47994
  // src/funcs/vendorsGetVendorCredentialFile.ts
47400
47995
  function vendorsGetVendorCredentialFile(client, request, options) {
47401
- return new APIPromise($do31(client, request, options));
47996
+ return new APIPromise($do33(client, request, options));
47402
47997
  }
47403
- async function $do31(client, request, options) {
47998
+ async function $do33(client, request, options) {
47404
47999
  const parsed = safeParse(request, (value) => GetVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
47405
48000
  if (!parsed.ok) {
47406
48001
  return [parsed, { status: "invalid" }];
@@ -47481,12 +48076,12 @@ var init_vendorsGetVendorCredentialFile = __esm(() => {
47481
48076
  });
47482
48077
 
47483
48078
  // src/mcp-server/tools/vendorsGetVendorCredentialFile.ts
47484
- var args30, tool$vendorsGetVendorCredentialFile;
48079
+ var args32, tool$vendorsGetVendorCredentialFile;
47485
48080
  var init_vendorsGetVendorCredentialFile2 = __esm(() => {
47486
48081
  init_vendorsGetVendorCredentialFile();
47487
48082
  init_operations();
47488
48083
  init_tools();
47489
- args30 = {
48084
+ args32 = {
47490
48085
  request: GetVendorCredentialFileRequest$inboundSchema
47491
48086
  };
47492
48087
  tool$vendorsGetVendorCredentialFile = {
@@ -47499,9 +48094,9 @@ Available \`expand\` scopes are:
47499
48094
 
47500
48095
  - vendor_credential_file.vendor_credential
47501
48096
  - vendor_credential_file.credential_document`,
47502
- args: args30,
47503
- tool: async (client, args31, ctx) => {
47504
- const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args31.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48097
+ args: args32,
48098
+ tool: async (client, args33, ctx) => {
48099
+ const [result, apiCall] = await vendorsGetVendorCredentialFile(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47505
48100
  if (!result.ok) {
47506
48101
  return {
47507
48102
  content: [{ type: "text", text: result.error.message }],
@@ -47516,9 +48111,9 @@ Available \`expand\` scopes are:
47516
48111
 
47517
48112
  // src/funcs/vendorsGetVendorInvoiceDetails.ts
47518
48113
  function vendorsGetVendorInvoiceDetails(client, request, options) {
47519
- return new APIPromise($do32(client, request, options));
48114
+ return new APIPromise($do34(client, request, options));
47520
48115
  }
47521
- async function $do32(client, request, options) {
48116
+ async function $do34(client, request, options) {
47522
48117
  const parsed = safeParse(request, (value) => GetVendorInvoiceDetailsRequest$outboundSchema.parse(value), "Input validation failed");
47523
48118
  if (!parsed.ok) {
47524
48119
  return [parsed, { status: "invalid" }];
@@ -47598,12 +48193,12 @@ var init_vendorsGetVendorInvoiceDetails = __esm(() => {
47598
48193
  });
47599
48194
 
47600
48195
  // src/mcp-server/tools/vendorsGetVendorInvoiceDetails.ts
47601
- var args31, tool$vendorsGetVendorInvoiceDetails;
48196
+ var args33, tool$vendorsGetVendorInvoiceDetails;
47602
48197
  var init_vendorsGetVendorInvoiceDetails2 = __esm(() => {
47603
48198
  init_vendorsGetVendorInvoiceDetails();
47604
48199
  init_operations();
47605
48200
  init_tools();
47606
- args31 = {
48201
+ args33 = {
47607
48202
  request: GetVendorInvoiceDetailsRequest$inboundSchema
47608
48203
  };
47609
48204
  tool$vendorsGetVendorInvoiceDetails = {
@@ -47616,9 +48211,9 @@ Available \`expand\` scopes are:
47616
48211
 
47617
48212
  invoice.line_items
47618
48213
  invoice.invoice_transactions`,
47619
- args: args31,
47620
- tool: async (client, args32, ctx) => {
47621
- const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args32.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48214
+ args: args33,
48215
+ tool: async (client, args34, ctx) => {
48216
+ const [result, apiCall] = await vendorsGetVendorInvoiceDetails(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47622
48217
  if (!result.ok) {
47623
48218
  return {
47624
48219
  content: [{ type: "text", text: result.error.message }],
@@ -47633,9 +48228,9 @@ invoice.invoice_transactions`,
47633
48228
 
47634
48229
  // src/funcs/vendorsGetVendorLegalName.ts
47635
48230
  function vendorsGetVendorLegalName(client, request, options) {
47636
- return new APIPromise($do33(client, request, options));
48231
+ return new APIPromise($do35(client, request, options));
47637
48232
  }
47638
- async function $do33(client, request, options) {
48233
+ async function $do35(client, request, options) {
47639
48234
  const parsed = safeParse(request, (value) => GetVendorLegalNameRequest$outboundSchema.parse(value), "Input validation failed");
47640
48235
  if (!parsed.ok) {
47641
48236
  return [parsed, { status: "invalid" }];
@@ -47710,12 +48305,12 @@ var init_vendorsGetVendorLegalName = __esm(() => {
47710
48305
  });
47711
48306
 
47712
48307
  // src/mcp-server/tools/vendorsGetVendorLegalName.ts
47713
- var args32, tool$vendorsGetVendorLegalName;
48308
+ var args34, tool$vendorsGetVendorLegalName;
47714
48309
  var init_vendorsGetVendorLegalName2 = __esm(() => {
47715
48310
  init_vendorsGetVendorLegalName();
47716
48311
  init_operations();
47717
48312
  init_tools();
47718
- args32 = {
48313
+ args34 = {
47719
48314
  request: GetVendorLegalNameRequest$inboundSchema
47720
48315
  };
47721
48316
  tool$vendorsGetVendorLegalName = {
@@ -47723,9 +48318,9 @@ var init_vendorsGetVendorLegalName2 = __esm(() => {
47723
48318
  description: `Get Vendor legal name
47724
48319
 
47725
48320
  Get vendor legal name`,
47726
- args: args32,
47727
- tool: async (client, args33, ctx) => {
47728
- const [result, apiCall] = await vendorsGetVendorLegalName(client, args33.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48321
+ args: args34,
48322
+ tool: async (client, args35, ctx) => {
48323
+ const [result, apiCall] = await vendorsGetVendorLegalName(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47729
48324
  if (!result.ok) {
47730
48325
  return {
47731
48326
  content: [{ type: "text", text: result.error.message }],
@@ -47740,9 +48335,9 @@ Get vendor legal name`,
47740
48335
 
47741
48336
  // src/funcs/vendorsGetVendorsDetails.ts
47742
48337
  function vendorsGetVendorsDetails(client, request, options) {
47743
- return new APIPromise($do34(client, request, options));
48338
+ return new APIPromise($do36(client, request, options));
47744
48339
  }
47745
- async function $do34(client, request, options) {
48340
+ async function $do36(client, request, options) {
47746
48341
  const parsed = safeParse(request, (value) => GetVendorsDetailsRequest$outboundSchema.parse(value), "Input validation failed");
47747
48342
  if (!parsed.ok) {
47748
48343
  return [parsed, { status: "invalid" }];
@@ -47822,12 +48417,12 @@ var init_vendorsGetVendorsDetails = __esm(() => {
47822
48417
  });
47823
48418
 
47824
48419
  // src/mcp-server/tools/vendorsGetVendorsDetails.ts
47825
- var args33, tool$vendorsGetVendorsDetails;
48420
+ var args35, tool$vendorsGetVendorsDetails;
47826
48421
  var init_vendorsGetVendorsDetails2 = __esm(() => {
47827
48422
  init_vendorsGetVendorsDetails();
47828
48423
  init_operations();
47829
48424
  init_tools();
47830
- args33 = {
48425
+ args35 = {
47831
48426
  request: GetVendorsDetailsRequest$inboundSchema
47832
48427
  };
47833
48428
  tool$vendorsGetVendorsDetails = {
@@ -47853,9 +48448,9 @@ vendor.background_check_date_expires
47853
48448
  vendor.credit_balance
47854
48449
  vendor.registration_data
47855
48450
  vendor.registration_finished`,
47856
- args: args33,
47857
- tool: async (client, args34, ctx) => {
47858
- const [result, apiCall] = await vendorsGetVendorsDetails(client, args34.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48451
+ args: args35,
48452
+ tool: async (client, args36, ctx) => {
48453
+ const [result, apiCall] = await vendorsGetVendorsDetails(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
47859
48454
  if (!result.ok) {
47860
48455
  return {
47861
48456
  content: [{ type: "text", text: result.error.message }],
@@ -47870,9 +48465,9 @@ vendor.registration_finished`,
47870
48465
 
47871
48466
  // src/funcs/vendorsListVendorAdditionalFacilityFields.ts
47872
48467
  function vendorsListVendorAdditionalFacilityFields(client, request, options) {
47873
- return new APIPromise($do35(client, request, options));
48468
+ return new APIPromise($do37(client, request, options));
47874
48469
  }
47875
- async function $do35(client, request, options) {
48470
+ async function $do37(client, request, options) {
47876
48471
  const parsed = safeParse(request, (value) => ListVendorAdditionalFacilityFieldsRequest$outboundSchema.parse(value), "Input validation failed");
47877
48472
  if (!parsed.ok) {
47878
48473
  return [haltIterator(parsed), { status: "invalid" }];
@@ -47984,12 +48579,12 @@ var init_vendorsListVendorAdditionalFacilityFields = __esm(() => {
47984
48579
  });
47985
48580
 
47986
48581
  // src/mcp-server/tools/vendorsListVendorAdditionalFacilityFields.ts
47987
- var args34, tool$vendorsListVendorAdditionalFacilityFields;
48582
+ var args36, tool$vendorsListVendorAdditionalFacilityFields;
47988
48583
  var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
47989
48584
  init_vendorsListVendorAdditionalFacilityFields();
47990
48585
  init_operations();
47991
48586
  init_tools();
47992
- args34 = {
48587
+ args36 = {
47993
48588
  request: ListVendorAdditionalFacilityFieldsRequest$inboundSchema
47994
48589
  };
47995
48590
  tool$vendorsListVendorAdditionalFacilityFields = {
@@ -47997,9 +48592,9 @@ var init_vendorsListVendorAdditionalFacilityFields2 = __esm(() => {
47997
48592
  description: `List of vendor's additional facility fields
47998
48593
 
47999
48594
  List of vendor's additional facility fields`,
48000
- args: args34,
48001
- tool: async (client, args35, ctx) => {
48002
- const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args35.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48595
+ args: args36,
48596
+ tool: async (client, args37, ctx) => {
48597
+ const [result, apiCall] = await vendorsListVendorAdditionalFacilityFields(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48003
48598
  if (!result.ok) {
48004
48599
  return {
48005
48600
  content: [{ type: "text", text: result.error.message }],
@@ -48014,9 +48609,9 @@ List of vendor's additional facility fields`,
48014
48609
 
48015
48610
  // src/funcs/vendorsListVendorCredentialDataRequests.ts
48016
48611
  function vendorsListVendorCredentialDataRequests(client, request, options) {
48017
- return new APIPromise($do36(client, request, options));
48612
+ return new APIPromise($do38(client, request, options));
48018
48613
  }
48019
- async function $do36(client, request, options) {
48614
+ async function $do38(client, request, options) {
48020
48615
  const parsed = safeParse(request, (value) => ListVendorCredentialDataRequestsRequest$outboundSchema.parse(value), "Input validation failed");
48021
48616
  if (!parsed.ok) {
48022
48617
  return [parsed, { status: "invalid" }];
@@ -48099,12 +48694,12 @@ var init_vendorsListVendorCredentialDataRequests = __esm(() => {
48099
48694
  });
48100
48695
 
48101
48696
  // src/mcp-server/tools/vendorsListVendorCredentialDataRequests.ts
48102
- var args35, tool$vendorsListVendorCredentialDataRequests;
48697
+ var args37, tool$vendorsListVendorCredentialDataRequests;
48103
48698
  var init_vendorsListVendorCredentialDataRequests2 = __esm(() => {
48104
48699
  init_vendorsListVendorCredentialDataRequests();
48105
48700
  init_operations();
48106
48701
  init_tools();
48107
- args35 = {
48702
+ args37 = {
48108
48703
  request: ListVendorCredentialDataRequestsRequest$inboundSchema
48109
48704
  };
48110
48705
  tool$vendorsListVendorCredentialDataRequests = {
@@ -48117,9 +48712,9 @@ Available \`expand\` scopes are:
48117
48712
 
48118
48713
  - vendor_credential_data_request.vendor_credential
48119
48714
  - vendor_credential_data_request.data_request`,
48120
- args: args35,
48121
- tool: async (client, args36, ctx) => {
48122
- const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args36.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48715
+ args: args37,
48716
+ tool: async (client, args38, ctx) => {
48717
+ const [result, apiCall] = await vendorsListVendorCredentialDataRequests(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48123
48718
  if (!result.ok) {
48124
48719
  return {
48125
48720
  content: [{ type: "text", text: result.error.message }],
@@ -48134,9 +48729,9 @@ Available \`expand\` scopes are:
48134
48729
 
48135
48730
  // src/funcs/vendorsListVendorCredentialFiles.ts
48136
48731
  function vendorsListVendorCredentialFiles(client, request, options) {
48137
- return new APIPromise($do37(client, request, options));
48732
+ return new APIPromise($do39(client, request, options));
48138
48733
  }
48139
- async function $do37(client, request, options) {
48734
+ async function $do39(client, request, options) {
48140
48735
  const parsed = safeParse(request, (value) => ListVendorCredentialFilesRequest$outboundSchema.parse(value), "Input validation failed");
48141
48736
  if (!parsed.ok) {
48142
48737
  return [parsed, { status: "invalid" }];
@@ -48219,12 +48814,12 @@ var init_vendorsListVendorCredentialFiles = __esm(() => {
48219
48814
  });
48220
48815
 
48221
48816
  // src/mcp-server/tools/vendorsListVendorCredentialFiles.ts
48222
- var args36, tool$vendorsListVendorCredentialFiles;
48817
+ var args38, tool$vendorsListVendorCredentialFiles;
48223
48818
  var init_vendorsListVendorCredentialFiles2 = __esm(() => {
48224
48819
  init_vendorsListVendorCredentialFiles();
48225
48820
  init_operations();
48226
48821
  init_tools();
48227
- args36 = {
48822
+ args38 = {
48228
48823
  request: ListVendorCredentialFilesRequest$inboundSchema
48229
48824
  };
48230
48825
  tool$vendorsListVendorCredentialFiles = {
@@ -48237,9 +48832,9 @@ Available \`expand\` scopes are:
48237
48832
 
48238
48833
  - vendor_credential_file.vendor_credential
48239
48834
  - vendor_credential_file.credential_document`,
48240
- args: args36,
48241
- tool: async (client, args37, ctx) => {
48242
- const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args37.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48835
+ args: args38,
48836
+ tool: async (client, args39, ctx) => {
48837
+ const [result, apiCall] = await vendorsListVendorCredentialFiles(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48243
48838
  if (!result.ok) {
48244
48839
  return {
48245
48840
  content: [{ type: "text", text: result.error.message }],
@@ -48254,9 +48849,9 @@ Available \`expand\` scopes are:
48254
48849
 
48255
48850
  // src/funcs/vendorsListVendorCredentialHistory.ts
48256
48851
  function vendorsListVendorCredentialHistory(client, request, options) {
48257
- return new APIPromise($do38(client, request, options));
48852
+ return new APIPromise($do40(client, request, options));
48258
48853
  }
48259
- async function $do38(client, request, options) {
48854
+ async function $do40(client, request, options) {
48260
48855
  const parsed = safeParse(request, (value) => ListVendorCredentialHistoryRequest$outboundSchema.parse(value), "Input validation failed");
48261
48856
  if (!parsed.ok) {
48262
48857
  return [haltIterator(parsed), { status: "invalid" }];
@@ -48371,12 +48966,12 @@ var init_vendorsListVendorCredentialHistory = __esm(() => {
48371
48966
  });
48372
48967
 
48373
48968
  // src/mcp-server/tools/vendorsListVendorCredentialHistory.ts
48374
- var args37, tool$vendorsListVendorCredentialHistory;
48969
+ var args39, tool$vendorsListVendorCredentialHistory;
48375
48970
  var init_vendorsListVendorCredentialHistory2 = __esm(() => {
48376
48971
  init_vendorsListVendorCredentialHistory();
48377
48972
  init_operations();
48378
48973
  init_tools();
48379
- args37 = {
48974
+ args39 = {
48380
48975
  request: ListVendorCredentialHistoryRequest$inboundSchema
48381
48976
  };
48382
48977
  tool$vendorsListVendorCredentialHistory = {
@@ -48384,9 +48979,9 @@ var init_vendorsListVendorCredentialHistory2 = __esm(() => {
48384
48979
  description: `List Vendor Credential History
48385
48980
 
48386
48981
  Lists vendor credentials history`,
48387
- args: args37,
48388
- tool: async (client, args38, ctx) => {
48389
- const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args38.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48982
+ args: args39,
48983
+ tool: async (client, args40, ctx) => {
48984
+ const [result, apiCall] = await vendorsListVendorCredentialHistory(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48390
48985
  if (!result.ok) {
48391
48986
  return {
48392
48987
  content: [{ type: "text", text: result.error.message }],
@@ -48401,9 +48996,9 @@ Lists vendor credentials history`,
48401
48996
 
48402
48997
  // src/funcs/vendorsListVendorCredentials.ts
48403
48998
  function vendorsListVendorCredentials(client, request, options) {
48404
- return new APIPromise($do39(client, request, options));
48999
+ return new APIPromise($do41(client, request, options));
48405
49000
  }
48406
- async function $do39(client, request, options) {
49001
+ async function $do41(client, request, options) {
48407
49002
  const parsed = safeParse(request, (value) => ListVendorCredentialsRequest$outboundSchema.parse(value), "Input validation failed");
48408
49003
  if (!parsed.ok) {
48409
49004
  return [haltIterator(parsed), { status: "invalid" }];
@@ -48523,12 +49118,12 @@ var init_vendorsListVendorCredentials = __esm(() => {
48523
49118
  });
48524
49119
 
48525
49120
  // src/mcp-server/tools/vendorsListVendorCredentials.ts
48526
- var args38, tool$vendorsListVendorCredentials;
49121
+ var args40, tool$vendorsListVendorCredentials;
48527
49122
  var init_vendorsListVendorCredentials2 = __esm(() => {
48528
49123
  init_vendorsListVendorCredentials();
48529
49124
  init_operations();
48530
49125
  init_tools();
48531
- args38 = {
49126
+ args40 = {
48532
49127
  request: ListVendorCredentialsRequest$inboundSchema
48533
49128
  };
48534
49129
  tool$vendorsListVendorCredentials = {
@@ -48536,9 +49131,9 @@ var init_vendorsListVendorCredentials2 = __esm(() => {
48536
49131
  description: `List Vendor Credentials
48537
49132
 
48538
49133
  Lists vendor credentials, required credentials, and company credentials. Utilized in Vendor Dashboard.`,
48539
- args: args38,
48540
- tool: async (client, args39, ctx) => {
48541
- const [result, apiCall] = await vendorsListVendorCredentials(client, args39.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49134
+ args: args40,
49135
+ tool: async (client, args41, ctx) => {
49136
+ const [result, apiCall] = await vendorsListVendorCredentials(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48542
49137
  if (!result.ok) {
48543
49138
  return {
48544
49139
  content: [{ type: "text", text: result.error.message }],
@@ -48553,9 +49148,9 @@ Lists vendor credentials, required credentials, and company credentials. Utilize
48553
49148
 
48554
49149
  // src/funcs/vendorsListVendorCredits.ts
48555
49150
  function vendorsListVendorCredits(client, request, options) {
48556
- return new APIPromise($do40(client, request, options));
49151
+ return new APIPromise($do42(client, request, options));
48557
49152
  }
48558
- async function $do40(client, request, options) {
49153
+ async function $do42(client, request, options) {
48559
49154
  const parsed = safeParse(request, (value) => ListVendorCreditsRequest$outboundSchema.parse(value), "Input validation failed");
48560
49155
  if (!parsed.ok) {
48561
49156
  return [haltIterator(parsed), { status: "invalid" }];
@@ -48669,12 +49264,12 @@ var init_vendorsListVendorCredits = __esm(() => {
48669
49264
  });
48670
49265
 
48671
49266
  // src/mcp-server/tools/vendorsListVendorCredits.ts
48672
- var args39, tool$vendorsListVendorCredits;
49267
+ var args41, tool$vendorsListVendorCredits;
48673
49268
  var init_vendorsListVendorCredits2 = __esm(() => {
48674
49269
  init_vendorsListVendorCredits();
48675
49270
  init_operations();
48676
49271
  init_tools();
48677
- args39 = {
49272
+ args41 = {
48678
49273
  request: ListVendorCreditsRequest$inboundSchema
48679
49274
  };
48680
49275
  tool$vendorsListVendorCredits = {
@@ -48682,9 +49277,9 @@ var init_vendorsListVendorCredits2 = __esm(() => {
48682
49277
  description: `List vendor credits
48683
49278
 
48684
49279
  List the credits for the vendor`,
48685
- args: args39,
48686
- tool: async (client, args40, ctx) => {
48687
- const [result, apiCall] = await vendorsListVendorCredits(client, args40.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49280
+ args: args41,
49281
+ tool: async (client, args42, ctx) => {
49282
+ const [result, apiCall] = await vendorsListVendorCredits(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48688
49283
  if (!result.ok) {
48689
49284
  return {
48690
49285
  content: [{ type: "text", text: result.error.message }],
@@ -48699,9 +49294,9 @@ List the credits for the vendor`,
48699
49294
 
48700
49295
  // src/funcs/vendorsListVendorFacilityStatuses.ts
48701
49296
  function vendorsListVendorFacilityStatuses(client, request, options) {
48702
- return new APIPromise($do41(client, request, options));
49297
+ return new APIPromise($do43(client, request, options));
48703
49298
  }
48704
- async function $do41(client, request, options) {
49299
+ async function $do43(client, request, options) {
48705
49300
  const parsed = safeParse(request, (value) => ListVendorFacilityStatusesRequest$outboundSchema.parse(value), "Input validation failed");
48706
49301
  if (!parsed.ok) {
48707
49302
  return [haltIterator(parsed), { status: "invalid" }];
@@ -48811,12 +49406,12 @@ var init_vendorsListVendorFacilityStatuses = __esm(() => {
48811
49406
  });
48812
49407
 
48813
49408
  // src/mcp-server/tools/vendorsListVendorFacilityStatuses.ts
48814
- var args40, tool$vendorsListVendorFacilityStatuses;
49409
+ var args42, tool$vendorsListVendorFacilityStatuses;
48815
49410
  var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
48816
49411
  init_vendorsListVendorFacilityStatuses();
48817
49412
  init_operations();
48818
49413
  init_tools();
48819
- args40 = {
49414
+ args42 = {
48820
49415
  request: ListVendorFacilityStatusesRequest$inboundSchema
48821
49416
  };
48822
49417
  tool$vendorsListVendorFacilityStatuses = {
@@ -48824,9 +49419,9 @@ var init_vendorsListVendorFacilityStatuses2 = __esm(() => {
48824
49419
  description: `List vendor facility statuses
48825
49420
 
48826
49421
  List the facilities for the vendor`,
48827
- args: args40,
48828
- tool: async (client, args41, ctx) => {
48829
- const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args41.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49422
+ args: args42,
49423
+ tool: async (client, args43, ctx) => {
49424
+ const [result, apiCall] = await vendorsListVendorFacilityStatuses(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48830
49425
  if (!result.ok) {
48831
49426
  return {
48832
49427
  content: [{ type: "text", text: result.error.message }],
@@ -48841,9 +49436,9 @@ List the facilities for the vendor`,
48841
49436
 
48842
49437
  // src/funcs/vendorsListVendorInvoices.ts
48843
49438
  function vendorsListVendorInvoices(client, request, options) {
48844
- return new APIPromise($do42(client, request, options));
49439
+ return new APIPromise($do44(client, request, options));
48845
49440
  }
48846
- async function $do42(client, request, options) {
49441
+ async function $do44(client, request, options) {
48847
49442
  const parsed = safeParse(request, (value) => ListVendorInvoicesRequest$outboundSchema.parse(value), "Input validation failed");
48848
49443
  if (!parsed.ok) {
48849
49444
  return [haltIterator(parsed), { status: "invalid" }];
@@ -48961,12 +49556,12 @@ var init_vendorsListVendorInvoices = __esm(() => {
48961
49556
  });
48962
49557
 
48963
49558
  // src/mcp-server/tools/vendorsListVendorInvoices.ts
48964
- var args41, tool$vendorsListVendorInvoices;
49559
+ var args43, tool$vendorsListVendorInvoices;
48965
49560
  var init_vendorsListVendorInvoices2 = __esm(() => {
48966
49561
  init_vendorsListVendorInvoices();
48967
49562
  init_operations();
48968
49563
  init_tools();
48969
- args41 = {
49564
+ args43 = {
48970
49565
  request: ListVendorInvoicesRequest$inboundSchema
48971
49566
  };
48972
49567
  tool$vendorsListVendorInvoices = {
@@ -48978,9 +49573,9 @@ List invoices for Vendors
48978
49573
  Available \`expand\` scopes are:
48979
49574
 
48980
49575
  invoice.line_items`,
48981
- args: args41,
48982
- tool: async (client, args42, ctx) => {
48983
- const [result, apiCall] = await vendorsListVendorInvoices(client, args42.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49576
+ args: args43,
49577
+ tool: async (client, args44, ctx) => {
49578
+ const [result, apiCall] = await vendorsListVendorInvoices(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
48984
49579
  if (!result.ok) {
48985
49580
  return {
48986
49581
  content: [{ type: "text", text: result.error.message }],
@@ -48995,9 +49590,9 @@ invoice.line_items`,
48995
49590
 
48996
49591
  // src/funcs/vendorsListVendorJobTitles.ts
48997
49592
  function vendorsListVendorJobTitles(client, request, options) {
48998
- return new APIPromise($do43(client, request, options));
49593
+ return new APIPromise($do45(client, request, options));
48999
49594
  }
49000
- async function $do43(client, request, options) {
49595
+ async function $do45(client, request, options) {
49001
49596
  const parsed = safeParse(request, (value) => ListVendorJobTitlesRequest$outboundSchema.parse(value), "Input validation failed");
49002
49597
  if (!parsed.ok) {
49003
49598
  return [haltIterator(parsed), { status: "invalid" }];
@@ -49106,12 +49701,12 @@ var init_vendorsListVendorJobTitles = __esm(() => {
49106
49701
  });
49107
49702
 
49108
49703
  // src/mcp-server/tools/vendorsListVendorJobTitles.ts
49109
- var args42, tool$vendorsListVendorJobTitles;
49704
+ var args44, tool$vendorsListVendorJobTitles;
49110
49705
  var init_vendorsListVendorJobTitles2 = __esm(() => {
49111
49706
  init_vendorsListVendorJobTitles();
49112
49707
  init_operations();
49113
49708
  init_tools();
49114
- args42 = {
49709
+ args44 = {
49115
49710
  request: ListVendorJobTitlesRequest$inboundSchema
49116
49711
  };
49117
49712
  tool$vendorsListVendorJobTitles = {
@@ -49119,9 +49714,9 @@ var init_vendorsListVendorJobTitles2 = __esm(() => {
49119
49714
  description: `List vendor job titles
49120
49715
 
49121
49716
  List valid job titles for Vendors. This can be used during sign up or in a filter.`,
49122
- args: args42,
49123
- tool: async (client, args43, ctx) => {
49124
- const [result, apiCall] = await vendorsListVendorJobTitles(client, args43.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49717
+ args: args44,
49718
+ tool: async (client, args45, ctx) => {
49719
+ const [result, apiCall] = await vendorsListVendorJobTitles(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49125
49720
  if (!result.ok) {
49126
49721
  return {
49127
49722
  content: [{ type: "text", text: result.error.message }],
@@ -49136,9 +49731,9 @@ List valid job titles for Vendors. This can be used during sign up or in a filte
49136
49731
 
49137
49732
  // src/funcs/vendorsListVendorManagedByCompanies.ts
49138
49733
  function vendorsListVendorManagedByCompanies(client, request, options) {
49139
- return new APIPromise($do44(client, request, options));
49734
+ return new APIPromise($do46(client, request, options));
49140
49735
  }
49141
- async function $do44(client, request, options) {
49736
+ async function $do46(client, request, options) {
49142
49737
  const parsed = safeParse(request, (value) => ListVendorManagedByCompaniesRequest$outboundSchema.parse(value), "Input validation failed");
49143
49738
  if (!parsed.ok) {
49144
49739
  return [haltIterator(parsed), { status: "invalid" }];
@@ -49252,12 +49847,12 @@ var init_vendorsListVendorManagedByCompanies = __esm(() => {
49252
49847
  });
49253
49848
 
49254
49849
  // src/mcp-server/tools/vendorsListVendorManagedByCompanies.ts
49255
- var args43, tool$vendorsListVendorManagedByCompanies;
49850
+ var args45, tool$vendorsListVendorManagedByCompanies;
49256
49851
  var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
49257
49852
  init_vendorsListVendorManagedByCompanies();
49258
49853
  init_operations();
49259
49854
  init_tools();
49260
- args43 = {
49855
+ args45 = {
49261
49856
  request: ListVendorManagedByCompaniesRequest$inboundSchema
49262
49857
  };
49263
49858
  tool$vendorsListVendorManagedByCompanies = {
@@ -49265,9 +49860,9 @@ var init_vendorsListVendorManagedByCompanies2 = __esm(() => {
49265
49860
  description: `List of companies managing the vendor
49266
49861
 
49267
49862
  List of companies managing the vendor`,
49268
- args: args43,
49269
- tool: async (client, args44, ctx) => {
49270
- const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args44.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49863
+ args: args45,
49864
+ tool: async (client, args46, ctx) => {
49865
+ const [result, apiCall] = await vendorsListVendorManagedByCompanies(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49271
49866
  if (!result.ok) {
49272
49867
  return {
49273
49868
  content: [{ type: "text", text: result.error.message }],
@@ -49282,9 +49877,9 @@ List of companies managing the vendor`,
49282
49877
 
49283
49878
  // src/funcs/vendorsListVendorScrubDetails.ts
49284
49879
  function vendorsListVendorScrubDetails(client, request, options) {
49285
- return new APIPromise($do45(client, request, options));
49880
+ return new APIPromise($do47(client, request, options));
49286
49881
  }
49287
- async function $do45(client, request, options) {
49882
+ async function $do47(client, request, options) {
49288
49883
  const parsed = safeParse(request, (value) => ListVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
49289
49884
  if (!parsed.ok) {
49290
49885
  return [parsed, { status: "invalid" }];
@@ -49360,12 +49955,12 @@ var init_vendorsListVendorScrubDetails = __esm(() => {
49360
49955
  });
49361
49956
 
49362
49957
  // src/mcp-server/tools/vendorsListVendorScrubDetails.ts
49363
- var args44, tool$vendorsListVendorScrubDetails;
49958
+ var args46, tool$vendorsListVendorScrubDetails;
49364
49959
  var init_vendorsListVendorScrubDetails2 = __esm(() => {
49365
49960
  init_vendorsListVendorScrubDetails();
49366
49961
  init_operations();
49367
49962
  init_tools();
49368
- args44 = {
49963
+ args46 = {
49369
49964
  request: ListVendorScrubDetailsRequest$inboundSchema
49370
49965
  };
49371
49966
  tool$vendorsListVendorScrubDetails = {
@@ -49373,9 +49968,9 @@ var init_vendorsListVendorScrubDetails2 = __esm(() => {
49373
49968
  description: `List vendor scrub details
49374
49969
 
49375
49970
  List vendor scrub details`,
49376
- args: args44,
49377
- tool: async (client, args45, ctx) => {
49378
- const [result, apiCall] = await vendorsListVendorScrubDetails(client, args45.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49971
+ args: args46,
49972
+ tool: async (client, args47, ctx) => {
49973
+ const [result, apiCall] = await vendorsListVendorScrubDetails(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49379
49974
  if (!result.ok) {
49380
49975
  return {
49381
49976
  content: [{ type: "text", text: result.error.message }],
@@ -49390,9 +49985,9 @@ List vendor scrub details`,
49390
49985
 
49391
49986
  // src/funcs/vendorsListVendorScrubPackages.ts
49392
49987
  function vendorsListVendorScrubPackages(client, request, options) {
49393
- return new APIPromise($do46(client, request, options));
49988
+ return new APIPromise($do48(client, request, options));
49394
49989
  }
49395
- async function $do46(client, request, options) {
49990
+ async function $do48(client, request, options) {
49396
49991
  const parsed = safeParse(request, (value) => ListVendorScrubPackagesRequest$outboundSchema.parse(value), "Input validation failed");
49397
49992
  if (!parsed.ok) {
49398
49993
  return [haltIterator(parsed), { status: "invalid" }];
@@ -49506,12 +50101,12 @@ var init_vendorsListVendorScrubPackages = __esm(() => {
49506
50101
  });
49507
50102
 
49508
50103
  // src/mcp-server/tools/vendorsListVendorScrubPackages.ts
49509
- var args45, tool$vendorsListVendorScrubPackages;
50104
+ var args47, tool$vendorsListVendorScrubPackages;
49510
50105
  var init_vendorsListVendorScrubPackages2 = __esm(() => {
49511
50106
  init_vendorsListVendorScrubPackages();
49512
50107
  init_operations();
49513
50108
  init_tools();
49514
- args45 = {
50109
+ args47 = {
49515
50110
  request: ListVendorScrubPackagesRequest$inboundSchema
49516
50111
  };
49517
50112
  tool$vendorsListVendorScrubPackages = {
@@ -49519,9 +50114,9 @@ var init_vendorsListVendorScrubPackages2 = __esm(() => {
49519
50114
  description: `List vendor scrub packages
49520
50115
 
49521
50116
  List vendor scrub packages`,
49522
- args: args45,
49523
- tool: async (client, args46, ctx) => {
49524
- const [result, apiCall] = await vendorsListVendorScrubPackages(client, args46.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50117
+ args: args47,
50118
+ tool: async (client, args48, ctx) => {
50119
+ const [result, apiCall] = await vendorsListVendorScrubPackages(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49525
50120
  if (!result.ok) {
49526
50121
  return {
49527
50122
  content: [{ type: "text", text: result.error.message }],
@@ -49536,9 +50131,9 @@ List vendor scrub packages`,
49536
50131
 
49537
50132
  // src/funcs/vendorsListVendorScrubPurchases.ts
49538
50133
  function vendorsListVendorScrubPurchases(client, request, options) {
49539
- return new APIPromise($do47(client, request, options));
50134
+ return new APIPromise($do49(client, request, options));
49540
50135
  }
49541
- async function $do47(client, request, options) {
50136
+ async function $do49(client, request, options) {
49542
50137
  const parsed = safeParse(request, (value) => ListVendorScrubPurchasesRequest$outboundSchema.parse(value), "Input validation failed");
49543
50138
  if (!parsed.ok) {
49544
50139
  return [haltIterator(parsed), { status: "invalid" }];
@@ -49652,12 +50247,12 @@ var init_vendorsListVendorScrubPurchases = __esm(() => {
49652
50247
  });
49653
50248
 
49654
50249
  // src/mcp-server/tools/vendorsListVendorScrubPurchases.ts
49655
- var args46, tool$vendorsListVendorScrubPurchases;
50250
+ var args48, tool$vendorsListVendorScrubPurchases;
49656
50251
  var init_vendorsListVendorScrubPurchases2 = __esm(() => {
49657
50252
  init_vendorsListVendorScrubPurchases();
49658
50253
  init_operations();
49659
50254
  init_tools();
49660
- args46 = {
50255
+ args48 = {
49661
50256
  request: ListVendorScrubPurchasesRequest$inboundSchema
49662
50257
  };
49663
50258
  tool$vendorsListVendorScrubPurchases = {
@@ -49665,9 +50260,9 @@ var init_vendorsListVendorScrubPurchases2 = __esm(() => {
49665
50260
  description: `List vendor scrub purchases
49666
50261
 
49667
50262
  List vendor scrub purchases`,
49668
- args: args46,
49669
- tool: async (client, args47, ctx) => {
49670
- const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args47.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50263
+ args: args48,
50264
+ tool: async (client, args49, ctx) => {
50265
+ const [result, apiCall] = await vendorsListVendorScrubPurchases(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49671
50266
  if (!result.ok) {
49672
50267
  return {
49673
50268
  content: [{ type: "text", text: result.error.message }],
@@ -49682,9 +50277,9 @@ List vendor scrub purchases`,
49682
50277
 
49683
50278
  // src/funcs/vendorsPurchaseScrubCredits.ts
49684
50279
  function vendorsPurchaseScrubCredits(client, request, options) {
49685
- return new APIPromise($do48(client, request, options));
50280
+ return new APIPromise($do50(client, request, options));
49686
50281
  }
49687
- async function $do48(client, request, options) {
50282
+ async function $do50(client, request, options) {
49688
50283
  const parsed = safeParse(request, (value) => PurchaseScrubCreditsRequest$outboundSchema.parse(value), "Input validation failed");
49689
50284
  if (!parsed.ok) {
49690
50285
  return [parsed, { status: "invalid" }];
@@ -49760,12 +50355,12 @@ var init_vendorsPurchaseScrubCredits = __esm(() => {
49760
50355
  });
49761
50356
 
49762
50357
  // src/mcp-server/tools/vendorsPurchaseScrubCredits.ts
49763
- var args47, tool$vendorsPurchaseScrubCredits;
50358
+ var args49, tool$vendorsPurchaseScrubCredits;
49764
50359
  var init_vendorsPurchaseScrubCredits2 = __esm(() => {
49765
50360
  init_vendorsPurchaseScrubCredits();
49766
50361
  init_operations();
49767
50362
  init_tools();
49768
- args47 = {
50363
+ args49 = {
49769
50364
  request: PurchaseScrubCreditsRequest$inboundSchema
49770
50365
  };
49771
50366
  tool$vendorsPurchaseScrubCredits = {
@@ -49773,9 +50368,9 @@ var init_vendorsPurchaseScrubCredits2 = __esm(() => {
49773
50368
  description: `Purchase scrub credits
49774
50369
 
49775
50370
  Purchase scrub credits`,
49776
- args: args47,
49777
- tool: async (client, args48, ctx) => {
49778
- const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args48.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50371
+ args: args49,
50372
+ tool: async (client, args50, ctx) => {
50373
+ const [result, apiCall] = await vendorsPurchaseScrubCredits(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49779
50374
  if (!result.ok) {
49780
50375
  return {
49781
50376
  content: [{ type: "text", text: result.error.message }],
@@ -49790,9 +50385,9 @@ Purchase scrub credits`,
49790
50385
 
49791
50386
  // src/funcs/vendorsSendDownloadCode.ts
49792
50387
  function vendorsSendDownloadCode(client, request, options) {
49793
- return new APIPromise($do49(client, request, options));
50388
+ return new APIPromise($do51(client, request, options));
49794
50389
  }
49795
- async function $do49(client, request, options) {
50390
+ async function $do51(client, request, options) {
49796
50391
  const parsed = safeParse(request, (value) => SendDownloadCodeRequest$outboundSchema.parse(value), "Input validation failed");
49797
50392
  if (!parsed.ok) {
49798
50393
  return [parsed, { status: "invalid" }];
@@ -49866,12 +50461,12 @@ var init_vendorsSendDownloadCode = __esm(() => {
49866
50461
  });
49867
50462
 
49868
50463
  // src/mcp-server/tools/vendorsSendDownloadCode.ts
49869
- var args48, tool$vendorsSendDownloadCode;
50464
+ var args50, tool$vendorsSendDownloadCode;
49870
50465
  var init_vendorsSendDownloadCode2 = __esm(() => {
49871
50466
  init_vendorsSendDownloadCode();
49872
50467
  init_operations();
49873
50468
  init_tools();
49874
- args48 = {
50469
+ args50 = {
49875
50470
  request: SendDownloadCodeRequest$inboundSchema
49876
50471
  };
49877
50472
  tool$vendorsSendDownloadCode = {
@@ -49879,9 +50474,9 @@ var init_vendorsSendDownloadCode2 = __esm(() => {
49879
50474
  description: `Send download code for vendor credential
49880
50475
 
49881
50476
  It will send download code for vendor credential`,
49882
- args: args48,
49883
- tool: async (client, args49, ctx) => {
49884
- const [result, apiCall] = await vendorsSendDownloadCode(client, args49.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50477
+ args: args50,
50478
+ tool: async (client, args51, ctx) => {
50479
+ const [result, apiCall] = await vendorsSendDownloadCode(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49885
50480
  if (!result.ok) {
49886
50481
  return {
49887
50482
  content: [{ type: "text", text: result.error.message }],
@@ -49896,9 +50491,9 @@ It will send download code for vendor credential`,
49896
50491
 
49897
50492
  // src/funcs/vendorsSubmitVendorCredential.ts
49898
50493
  function vendorsSubmitVendorCredential(client, request, options) {
49899
- return new APIPromise($do50(client, request, options));
50494
+ return new APIPromise($do52(client, request, options));
49900
50495
  }
49901
- async function $do50(client, request, options) {
50496
+ async function $do52(client, request, options) {
49902
50497
  const parsed = safeParse(request, (value) => SubmitVendorCredentialRequest$outboundSchema.parse(value), "Input validation failed");
49903
50498
  if (!parsed.ok) {
49904
50499
  return [parsed, { status: "invalid" }];
@@ -49972,12 +50567,12 @@ var init_vendorsSubmitVendorCredential = __esm(() => {
49972
50567
  });
49973
50568
 
49974
50569
  // src/mcp-server/tools/vendorsSubmitVendorCredential.ts
49975
- var args49, tool$vendorsSubmitVendorCredential;
50570
+ var args51, tool$vendorsSubmitVendorCredential;
49976
50571
  var init_vendorsSubmitVendorCredential2 = __esm(() => {
49977
50572
  init_vendorsSubmitVendorCredential();
49978
50573
  init_operations();
49979
50574
  init_tools();
49980
- args49 = {
50575
+ args51 = {
49981
50576
  request: SubmitVendorCredentialRequest$inboundSchema
49982
50577
  };
49983
50578
  tool$vendorsSubmitVendorCredential = {
@@ -49985,9 +50580,9 @@ var init_vendorsSubmitVendorCredential2 = __esm(() => {
49985
50580
  description: `Submit vendor credential
49986
50581
 
49987
50582
  It will submit vendor credential`,
49988
- args: args49,
49989
- tool: async (client, args50, ctx) => {
49990
- const [result, apiCall] = await vendorsSubmitVendorCredential(client, args50.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50583
+ args: args51,
50584
+ tool: async (client, args52, ctx) => {
50585
+ const [result, apiCall] = await vendorsSubmitVendorCredential(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
49991
50586
  if (!result.ok) {
49992
50587
  return {
49993
50588
  content: [{ type: "text", text: result.error.message }],
@@ -50002,9 +50597,9 @@ It will submit vendor credential`,
50002
50597
 
50003
50598
  // src/funcs/vendorsUpdateVendorCredentialData.ts
50004
50599
  function vendorsUpdateVendorCredentialData(client, request, options) {
50005
- return new APIPromise($do51(client, request, options));
50600
+ return new APIPromise($do53(client, request, options));
50006
50601
  }
50007
- async function $do51(client, request, options) {
50602
+ async function $do53(client, request, options) {
50008
50603
  const parsed = safeParse(request, (value) => UpdateVendorCredentialDataRequest$outboundSchema.parse(value), "Input validation failed");
50009
50604
  if (!parsed.ok) {
50010
50605
  return [parsed, { status: "invalid" }];
@@ -50085,12 +50680,12 @@ var init_vendorsUpdateVendorCredentialData = __esm(() => {
50085
50680
  });
50086
50681
 
50087
50682
  // src/mcp-server/tools/vendorsUpdateVendorCredentialData.ts
50088
- var args50, tool$vendorsUpdateVendorCredentialData;
50683
+ var args52, tool$vendorsUpdateVendorCredentialData;
50089
50684
  var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
50090
50685
  init_vendorsUpdateVendorCredentialData();
50091
50686
  init_operations();
50092
50687
  init_tools();
50093
- args50 = {
50688
+ args52 = {
50094
50689
  request: UpdateVendorCredentialDataRequest$inboundSchema
50095
50690
  };
50096
50691
  tool$vendorsUpdateVendorCredentialData = {
@@ -50098,9 +50693,9 @@ var init_vendorsUpdateVendorCredentialData2 = __esm(() => {
50098
50693
  description: `Update vendor credential data
50099
50694
 
50100
50695
  Update vendor credential data`,
50101
- args: args50,
50102
- tool: async (client, args51, ctx) => {
50103
- const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args51.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50696
+ args: args52,
50697
+ tool: async (client, args53, ctx) => {
50698
+ const [result, apiCall] = await vendorsUpdateVendorCredentialData(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50104
50699
  if (!result.ok) {
50105
50700
  return {
50106
50701
  content: [{ type: "text", text: result.error.message }],
@@ -50115,9 +50710,9 @@ Update vendor credential data`,
50115
50710
 
50116
50711
  // src/funcs/vendorsUpdateVendorCredentialFile.ts
50117
50712
  function vendorsUpdateVendorCredentialFile(client, request, options) {
50118
- return new APIPromise($do52(client, request, options));
50713
+ return new APIPromise($do54(client, request, options));
50119
50714
  }
50120
- async function $do52(client, request, options) {
50715
+ async function $do54(client, request, options) {
50121
50716
  const parsed = safeParse(request, (value) => UpdateVendorCredentialFileRequest$outboundSchema.parse(value), "Input validation failed");
50122
50717
  if (!parsed.ok) {
50123
50718
  return [parsed, { status: "invalid" }];
@@ -50195,12 +50790,12 @@ var init_vendorsUpdateVendorCredentialFile = __esm(() => {
50195
50790
  });
50196
50791
 
50197
50792
  // src/mcp-server/tools/vendorsUpdateVendorCredentialFile.ts
50198
- var args51, tool$vendorsUpdateVendorCredentialFile;
50793
+ var args53, tool$vendorsUpdateVendorCredentialFile;
50199
50794
  var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
50200
50795
  init_vendorsUpdateVendorCredentialFile();
50201
50796
  init_operations();
50202
50797
  init_tools();
50203
- args51 = {
50798
+ args53 = {
50204
50799
  request: UpdateVendorCredentialFileRequest$inboundSchema
50205
50800
  };
50206
50801
  tool$vendorsUpdateVendorCredentialFile = {
@@ -50208,9 +50803,9 @@ var init_vendorsUpdateVendorCredentialFile2 = __esm(() => {
50208
50803
  description: `Update vendor credential file
50209
50804
 
50210
50805
  It will update the vendor credential file properties`,
50211
- args: args51,
50212
- tool: async (client, args52, ctx) => {
50213
- const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args52.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50806
+ args: args53,
50807
+ tool: async (client, args54, ctx) => {
50808
+ const [result, apiCall] = await vendorsUpdateVendorCredentialFile(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50214
50809
  if (!result.ok) {
50215
50810
  return {
50216
50811
  content: [{ type: "text", text: result.error.message }],
@@ -50225,9 +50820,9 @@ It will update the vendor credential file properties`,
50225
50820
 
50226
50821
  // src/funcs/vendorsUpdateVendorDetails.ts
50227
50822
  function vendorsUpdateVendorDetails(client, request, options) {
50228
- return new APIPromise($do53(client, request, options));
50823
+ return new APIPromise($do55(client, request, options));
50229
50824
  }
50230
- async function $do53(client, request, options) {
50825
+ async function $do55(client, request, options) {
50231
50826
  const parsed = safeParse(request, (value) => UpdateVendorDetailsRequest$outboundSchema.parse(value), "Input validation failed");
50232
50827
  if (!parsed.ok) {
50233
50828
  return [parsed, { status: "invalid" }];
@@ -50304,12 +50899,12 @@ var init_vendorsUpdateVendorDetails = __esm(() => {
50304
50899
  });
50305
50900
 
50306
50901
  // src/mcp-server/tools/vendorsUpdateVendorDetails.ts
50307
- var args52, tool$vendorsUpdateVendorDetails;
50902
+ var args54, tool$vendorsUpdateVendorDetails;
50308
50903
  var init_vendorsUpdateVendorDetails2 = __esm(() => {
50309
50904
  init_vendorsUpdateVendorDetails();
50310
50905
  init_operations();
50311
50906
  init_tools();
50312
- args52 = {
50907
+ args54 = {
50313
50908
  request: UpdateVendorDetailsRequest$inboundSchema
50314
50909
  };
50315
50910
  tool$vendorsUpdateVendorDetails = {
@@ -50317,9 +50912,9 @@ var init_vendorsUpdateVendorDetails2 = __esm(() => {
50317
50912
  description: `Update vendor details
50318
50913
 
50319
50914
  It will update the vendor details`,
50320
- args: args52,
50321
- tool: async (client, args53, ctx) => {
50322
- const [result, apiCall] = await vendorsUpdateVendorDetails(client, args53.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50915
+ args: args54,
50916
+ tool: async (client, args55, ctx) => {
50917
+ const [result, apiCall] = await vendorsUpdateVendorDetails(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50323
50918
  if (!result.ok) {
50324
50919
  return {
50325
50920
  content: [{ type: "text", text: result.error.message }],
@@ -50334,9 +50929,9 @@ It will update the vendor details`,
50334
50929
 
50335
50930
  // src/funcs/vendorsUpdateVendorManagedByCompany.ts
50336
50931
  function vendorsUpdateVendorManagedByCompany(client, request, options) {
50337
- return new APIPromise($do54(client, request, options));
50932
+ return new APIPromise($do56(client, request, options));
50338
50933
  }
50339
- async function $do54(client, request, options) {
50934
+ async function $do56(client, request, options) {
50340
50935
  const parsed = safeParse(request, (value) => UpdateVendorManagedByCompanyRequest$outboundSchema.parse(value), "Input validation failed");
50341
50936
  if (!parsed.ok) {
50342
50937
  return [parsed, { status: "invalid" }];
@@ -50412,12 +51007,12 @@ var init_vendorsUpdateVendorManagedByCompany = __esm(() => {
50412
51007
  });
50413
51008
 
50414
51009
  // src/mcp-server/tools/vendorsUpdateVendorManagedByCompany.ts
50415
- var args53, tool$vendorsUpdateVendorManagedByCompany;
51010
+ var args55, tool$vendorsUpdateVendorManagedByCompany;
50416
51011
  var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
50417
51012
  init_vendorsUpdateVendorManagedByCompany();
50418
51013
  init_operations();
50419
51014
  init_tools();
50420
- args53 = {
51015
+ args55 = {
50421
51016
  request: UpdateVendorManagedByCompanyRequest$inboundSchema
50422
51017
  };
50423
51018
  tool$vendorsUpdateVendorManagedByCompany = {
@@ -50425,9 +51020,9 @@ var init_vendorsUpdateVendorManagedByCompany2 = __esm(() => {
50425
51020
  description: `Update vendor managed by company access rights
50426
51021
 
50427
51022
  It will update the vendor managed by company access rights`,
50428
- args: args53,
50429
- tool: async (client, args54, ctx) => {
50430
- const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args54.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51023
+ args: args55,
51024
+ tool: async (client, args56, ctx) => {
51025
+ const [result, apiCall] = await vendorsUpdateVendorManagedByCompany(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50431
51026
  if (!result.ok) {
50432
51027
  return {
50433
51028
  content: [{ type: "text", text: result.error.message }],
@@ -50442,9 +51037,9 @@ It will update the vendor managed by company access rights`,
50442
51037
 
50443
51038
  // src/funcs/vendorsUpdateVendorScrubDetails.ts
50444
51039
  function vendorsUpdateVendorScrubDetails(client, request, options) {
50445
- return new APIPromise($do55(client, request, options));
51040
+ return new APIPromise($do57(client, request, options));
50446
51041
  }
50447
- async function $do55(client, request, options) {
51042
+ async function $do57(client, request, options) {
50448
51043
  const parsed = safeParse(request, (value) => UpdateVendorScrubDetailsRequest$outboundSchema.parse(value), "Input validation failed");
50449
51044
  if (!parsed.ok) {
50450
51045
  return [parsed, { status: "invalid" }];
@@ -50521,12 +51116,12 @@ var init_vendorsUpdateVendorScrubDetails = __esm(() => {
50521
51116
  });
50522
51117
 
50523
51118
  // src/mcp-server/tools/vendorsUpdateVendorScrubDetails.ts
50524
- var args54, tool$vendorsUpdateVendorScrubDetails;
51119
+ var args56, tool$vendorsUpdateVendorScrubDetails;
50525
51120
  var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
50526
51121
  init_vendorsUpdateVendorScrubDetails();
50527
51122
  init_operations();
50528
51123
  init_tools();
50529
- args54 = {
51124
+ args56 = {
50530
51125
  request: UpdateVendorScrubDetailsRequest$inboundSchema
50531
51126
  };
50532
51127
  tool$vendorsUpdateVendorScrubDetails = {
@@ -50534,9 +51129,9 @@ var init_vendorsUpdateVendorScrubDetails2 = __esm(() => {
50534
51129
  description: `Update vendor scrub details
50535
51130
 
50536
51131
  Update vendor scrub details`,
50537
- args: args54,
50538
- tool: async (client, args55, ctx) => {
50539
- const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args55.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51132
+ args: args56,
51133
+ tool: async (client, args57, ctx) => {
51134
+ const [result, apiCall] = await vendorsUpdateVendorScrubDetails(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50540
51135
  if (!result.ok) {
50541
51136
  return {
50542
51137
  content: [{ type: "text", text: result.error.message }],
@@ -50551,9 +51146,9 @@ Update vendor scrub details`,
50551
51146
 
50552
51147
  // src/funcs/webhooksGetWebhookEndpoint.ts
50553
51148
  function webhooksGetWebhookEndpoint(client, request, options) {
50554
- return new APIPromise($do56(client, request, options));
51149
+ return new APIPromise($do58(client, request, options));
50555
51150
  }
50556
- async function $do56(client, request, options) {
51151
+ async function $do58(client, request, options) {
50557
51152
  const parsed = safeParse(request, (value) => GetWebhookEndpointRequest$outboundSchema.parse(value), "Input validation failed");
50558
51153
  if (!parsed.ok) {
50559
51154
  return [parsed, { status: "invalid" }];
@@ -50629,12 +51224,12 @@ var init_webhooksGetWebhookEndpoint = __esm(() => {
50629
51224
  });
50630
51225
 
50631
51226
  // src/mcp-server/tools/webhooksGetWebhookEndpoint.ts
50632
- var args55, tool$webhooksGetWebhookEndpoint;
51227
+ var args57, tool$webhooksGetWebhookEndpoint;
50633
51228
  var init_webhooksGetWebhookEndpoint2 = __esm(() => {
50634
51229
  init_webhooksGetWebhookEndpoint();
50635
51230
  init_operations();
50636
51231
  init_tools();
50637
- args55 = {
51232
+ args57 = {
50638
51233
  request: GetWebhookEndpointRequest$inboundSchema
50639
51234
  };
50640
51235
  tool$webhooksGetWebhookEndpoint = {
@@ -50642,9 +51237,9 @@ var init_webhooksGetWebhookEndpoint2 = __esm(() => {
50642
51237
  description: `Retrieves the webhook endpoint with the given ID.
50643
51238
 
50644
51239
  Returns the definition of a webhook endpoint by ID.`,
50645
- args: args55,
50646
- tool: async (client, args56, ctx) => {
50647
- const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args56.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51240
+ args: args57,
51241
+ tool: async (client, args58, ctx) => {
51242
+ const [result, apiCall] = await webhooksGetWebhookEndpoint(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50648
51243
  if (!result.ok) {
50649
51244
  return {
50650
51245
  content: [{ type: "text", text: result.error.message }],
@@ -50659,9 +51254,9 @@ Returns the definition of a webhook endpoint by ID.`,
50659
51254
 
50660
51255
  // src/funcs/webhooksListAllWebhookEndpoints.ts
50661
51256
  function webhooksListAllWebhookEndpoints(client, request, options) {
50662
- return new APIPromise($do57(client, request, options));
51257
+ return new APIPromise($do59(client, request, options));
50663
51258
  }
50664
- async function $do57(client, request, options) {
51259
+ async function $do59(client, request, options) {
50665
51260
  const parsed = safeParse(request, (value) => ListAllWebhookEndpointsRequest$outboundSchema.parse(value), "Input validation failed");
50666
51261
  if (!parsed.ok) {
50667
51262
  return [parsed, { status: "invalid" }];
@@ -50737,12 +51332,12 @@ var init_webhooksListAllWebhookEndpoints = __esm(() => {
50737
51332
  });
50738
51333
 
50739
51334
  // src/mcp-server/tools/webhooksListAllWebhookEndpoints.ts
50740
- var args56, tool$webhooksListAllWebhookEndpoints;
51335
+ var args58, tool$webhooksListAllWebhookEndpoints;
50741
51336
  var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
50742
51337
  init_webhooksListAllWebhookEndpoints();
50743
51338
  init_operations();
50744
51339
  init_tools();
50745
- args56 = {
51340
+ args58 = {
50746
51341
  request: ListAllWebhookEndpointsRequest$inboundSchema
50747
51342
  };
50748
51343
  tool$webhooksListAllWebhookEndpoints = {
@@ -50750,9 +51345,9 @@ var init_webhooksListAllWebhookEndpoints2 = __esm(() => {
50750
51345
  description: `List all webhook endpoints
50751
51346
 
50752
51347
  Returns a list of your webhook endpoints.`,
50753
- args: args56,
50754
- tool: async (client, args57, ctx) => {
50755
- const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args57.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51348
+ args: args58,
51349
+ tool: async (client, args59, ctx) => {
51350
+ const [result, apiCall] = await webhooksListAllWebhookEndpoints(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50756
51351
  if (!result.ok) {
50757
51352
  return {
50758
51353
  content: [{ type: "text", text: result.error.message }],
@@ -50767,9 +51362,9 @@ Returns a list of your webhook endpoints.`,
50767
51362
 
50768
51363
  // src/funcs/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
50769
51364
  function webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, request, options) {
50770
- return new APIPromise($do58(client, request, options));
51365
+ return new APIPromise($do60(client, request, options));
50771
51366
  }
50772
- async function $do58(client, request, options) {
51367
+ async function $do60(client, request, options) {
50773
51368
  const parsed = safeParse(request, (value) => UpdatesTheWebhookEndpointWithTheGivenIdRequest$outboundSchema.parse(value), "Input validation failed");
50774
51369
  if (!parsed.ok) {
50775
51370
  return [parsed, { status: "invalid" }];
@@ -50846,12 +51441,12 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId = __esm(() => {
50846
51441
  });
50847
51442
 
50848
51443
  // src/mcp-server/tools/webhooksUpdatesTheWebhookEndpointWithTheGivenId.ts
50849
- var args57, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
51444
+ var args59, tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId;
50850
51445
  var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
50851
51446
  init_webhooksUpdatesTheWebhookEndpointWithTheGivenId();
50852
51447
  init_operations();
50853
51448
  init_tools();
50854
- args57 = {
51449
+ args59 = {
50855
51450
  request: UpdatesTheWebhookEndpointWithTheGivenIdRequest$inboundSchema
50856
51451
  };
50857
51452
  tool$webhooksUpdatesTheWebhookEndpointWithTheGivenId = {
@@ -50859,9 +51454,9 @@ var init_webhooksUpdatesTheWebhookEndpointWithTheGivenId2 = __esm(() => {
50859
51454
  description: `Updates the webhook endpoint with the given ID.
50860
51455
 
50861
51456
  Updates the webhook endpoint with the given ID.`,
50862
- args: args57,
50863
- tool: async (client, args58, ctx) => {
50864
- const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args58.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51457
+ args: args59,
51458
+ tool: async (client, args60, ctx) => {
51459
+ const [result, apiCall] = await webhooksUpdatesTheWebhookEndpointWithTheGivenId(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
50865
51460
  if (!result.ok) {
50866
51461
  return {
50867
51462
  content: [{ type: "text", text: result.error.message }],
@@ -50876,9 +51471,9 @@ Updates the webhook endpoint with the given ID.`,
50876
51471
 
50877
51472
  // src/funcs/zonesListOrSearchSecurityZones.ts
50878
51473
  function zonesListOrSearchSecurityZones(client, request, options) {
50879
- return new APIPromise($do59(client, request, options));
51474
+ return new APIPromise($do61(client, request, options));
50880
51475
  }
50881
- async function $do59(client, request, options) {
51476
+ async function $do61(client, request, options) {
50882
51477
  const parsed = safeParse(request, (value) => ListOrSearchSecurityZonesRequest$outboundSchema.parse(value), "Input validation failed");
50883
51478
  if (!parsed.ok) {
50884
51479
  return [haltIterator(parsed), { status: "invalid" }];
@@ -50992,12 +51587,12 @@ var init_zonesListOrSearchSecurityZones = __esm(() => {
50992
51587
  });
50993
51588
 
50994
51589
  // src/mcp-server/tools/zonesListOrSearchSecurityZones.ts
50995
- var args58, tool$zonesListOrSearchSecurityZones;
51590
+ var args60, tool$zonesListOrSearchSecurityZones;
50996
51591
  var init_zonesListOrSearchSecurityZones2 = __esm(() => {
50997
51592
  init_zonesListOrSearchSecurityZones();
50998
51593
  init_operations();
50999
51594
  init_tools();
51000
- args58 = {
51595
+ args60 = {
51001
51596
  request: ListOrSearchSecurityZonesRequest$inboundSchema
51002
51597
  };
51003
51598
  tool$zonesListOrSearchSecurityZones = {
@@ -51005,9 +51600,9 @@ var init_zonesListOrSearchSecurityZones2 = __esm(() => {
51005
51600
  description: `List or search security zones
51006
51601
 
51007
51602
  List or search security zones`,
51008
- args: args58,
51009
- tool: async (client, args59, ctx) => {
51010
- const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args59.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51603
+ args: args60,
51604
+ tool: async (client, args61, ctx) => {
51605
+ const [result, apiCall] = await zonesListOrSearchSecurityZones(client, args61.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51011
51606
  if (!result.ok) {
51012
51607
  return {
51013
51608
  content: [{ type: "text", text: result.error.message }],
@@ -51022,9 +51617,9 @@ List or search security zones`,
51022
51617
 
51023
51618
  // src/funcs/zonesSecurityZoneCheckin.ts
51024
51619
  function zonesSecurityZoneCheckin(client, request, options) {
51025
- return new APIPromise($do60(client, request, options));
51620
+ return new APIPromise($do62(client, request, options));
51026
51621
  }
51027
- async function $do60(client, request, options) {
51622
+ async function $do62(client, request, options) {
51028
51623
  const parsed = safeParse(request, (value) => SecurityZoneCheckinRequestBody$outboundSchema.parse(value), "Input validation failed");
51029
51624
  if (!parsed.ok) {
51030
51625
  return [parsed, { status: "invalid" }];
@@ -51094,12 +51689,12 @@ var init_zonesSecurityZoneCheckin = __esm(() => {
51094
51689
  });
51095
51690
 
51096
51691
  // src/mcp-server/tools/zonesSecurityZoneCheckin.ts
51097
- var args59, tool$zonesSecurityZoneCheckin;
51692
+ var args61, tool$zonesSecurityZoneCheckin;
51098
51693
  var init_zonesSecurityZoneCheckin2 = __esm(() => {
51099
51694
  init_zonesSecurityZoneCheckin();
51100
51695
  init_operations();
51101
51696
  init_tools();
51102
- args59 = {
51697
+ args61 = {
51103
51698
  request: SecurityZoneCheckinRequestBody$inboundSchema
51104
51699
  };
51105
51700
  tool$zonesSecurityZoneCheckin = {
@@ -51107,9 +51702,9 @@ var init_zonesSecurityZoneCheckin2 = __esm(() => {
51107
51702
  description: `Security zone checkin request
51108
51703
 
51109
51704
  Security zone checkin request`,
51110
- args: args59,
51111
- tool: async (client, args60, ctx) => {
51112
- const [result, apiCall] = await zonesSecurityZoneCheckin(client, args60.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51705
+ args: args61,
51706
+ tool: async (client, args62, ctx) => {
51707
+ const [result, apiCall] = await zonesSecurityZoneCheckin(client, args62.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
51113
51708
  if (!result.ok) {
51114
51709
  return {
51115
51710
  content: [{ type: "text", text: result.error.message }],
@@ -51126,7 +51721,7 @@ Security zone checkin request`,
51126
51721
  function createMCPServer(deps) {
51127
51722
  const server = new McpServer({
51128
51723
  name: "GreenSecurity",
51129
- version: "0.35.33"
51724
+ version: "0.35.37"
51130
51725
  });
51131
51726
  const client = new GreenSecurityCore({
51132
51727
  security: deps.security,
@@ -51150,6 +51745,7 @@ function createMCPServer(deps) {
51150
51745
  tool(tool$vendorsDeleteVendorCredentialFile);
51151
51746
  tool(tool$vendorsGetVendorLegalName);
51152
51747
  tool(tool$vendorsDeclineVendorCredential);
51748
+ tool(tool$vendorsAcceptVendorCredential);
51153
51749
  tool(tool$vendorsCheckDownloadCode);
51154
51750
  tool(tool$vendorsSendDownloadCode);
51155
51751
  tool(tool$vendorsListVendorCredentialFiles);
@@ -51198,6 +51794,7 @@ function createMCPServer(deps) {
51198
51794
  tool(tool$dataRequestsAddDataRequestFile);
51199
51795
  tool(tool$dataRequestsDeleteDataRequestFile);
51200
51796
  tool(tool$dataRequestsUpdateDataRequest);
51797
+ tool(tool$invoicesCreateInvoice);
51201
51798
  tool(tool$invoicesUpdateInvoice);
51202
51799
  tool(tool$invoicesMakePayment);
51203
51800
  return server;
@@ -51211,6 +51808,7 @@ var init_server2 = __esm(() => {
51211
51808
  init_dataRequestsAddDataRequestFile2();
51212
51809
  init_dataRequestsDeleteDataRequestFile2();
51213
51810
  init_dataRequestsUpdateDataRequest2();
51811
+ init_invoicesCreateInvoice2();
51214
51812
  init_invoicesMakePayment2();
51215
51813
  init_invoicesUpdateInvoice2();
51216
51814
  init_organizationsGetFacility2();
@@ -51224,6 +51822,7 @@ var init_server2 = __esm(() => {
51224
51822
  init_usersPassword2();
51225
51823
  init_usersPasswordResetRequest2();
51226
51824
  init_usersPostAuthenticate2();
51825
+ init_vendorsAcceptVendorCredential2();
51227
51826
  init_vendorsAddVendorCredentialFile2();
51228
51827
  init_vendorsAddVendorManagedByCompany2();
51229
51828
  init_vendorScansVendorScanOut2();
@@ -52471,7 +53070,7 @@ var routes = an({
52471
53070
  var app = He(routes, {
52472
53071
  name: "mcp",
52473
53072
  versionInfo: {
52474
- currentVersion: "0.35.33"
53073
+ currentVersion: "0.35.37"
52475
53074
  }
52476
53075
  });
52477
53076
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -52479,5 +53078,5 @@ export {
52479
53078
  app
52480
53079
  };
52481
53080
 
52482
- //# debugId=BE07EA8580D664DA64756E2164756E21
53081
+ //# debugId=451B0FB943D2DEC964756E2164756E21
52483
53082
  //# sourceMappingURL=mcp-server.js.map