@rhinosaas/rebillia-mcp-server 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/LICENSE +21 -0
- package/README.md +415 -0
- package/dist/client.d.ts +45 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +130 -0
- package/dist/client.js.map +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +93 -0
- package/dist/index.js.map +1 -0
- package/dist/prompts/index.d.ts +2 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/index.js +3 -0
- package/dist/prompts/index.js.map +1 -0
- package/dist/resources/api-docs.d.ts +31 -0
- package/dist/resources/api-docs.d.ts.map +1 -0
- package/dist/resources/api-docs.js +425 -0
- package/dist/resources/api-docs.js.map +1 -0
- package/dist/resources/index.d.ts +22 -0
- package/dist/resources/index.d.ts.map +1 -0
- package/dist/resources/index.js +31 -0
- package/dist/resources/index.js.map +1 -0
- package/dist/services/billRunServices.d.ts +26 -0
- package/dist/services/billRunServices.d.ts.map +1 -0
- package/dist/services/billRunServices.js +51 -0
- package/dist/services/billRunServices.js.map +1 -0
- package/dist/services/countryResolverService.d.ts +28 -0
- package/dist/services/countryResolverService.d.ts.map +1 -0
- package/dist/services/countryResolverService.js +121 -0
- package/dist/services/countryResolverService.js.map +1 -0
- package/dist/services/currencyServices.d.ts +43 -0
- package/dist/services/currencyServices.d.ts.map +1 -0
- package/dist/services/currencyServices.js +41 -0
- package/dist/services/currencyServices.js.map +1 -0
- package/dist/services/customerServices.d.ts +156 -0
- package/dist/services/customerServices.d.ts.map +1 -0
- package/dist/services/customerServices.js +181 -0
- package/dist/services/customerServices.js.map +1 -0
- package/dist/services/filterServices.d.ts +33 -0
- package/dist/services/filterServices.d.ts.map +1 -0
- package/dist/services/filterServices.js +27 -0
- package/dist/services/filterServices.js.map +1 -0
- package/dist/services/gatewayServices.d.ts +50 -0
- package/dist/services/gatewayServices.d.ts.map +1 -0
- package/dist/services/gatewayServices.js +53 -0
- package/dist/services/gatewayServices.js.map +1 -0
- package/dist/services/globalGatewayService.d.ts +22 -0
- package/dist/services/globalGatewayService.d.ts.map +1 -0
- package/dist/services/globalGatewayService.js +74 -0
- package/dist/services/globalGatewayService.js.map +1 -0
- package/dist/services/integrationServices.d.ts +40 -0
- package/dist/services/integrationServices.d.ts.map +1 -0
- package/dist/services/integrationServices.js +59 -0
- package/dist/services/integrationServices.js.map +1 -0
- package/dist/services/invoiceServices.d.ts +99 -0
- package/dist/services/invoiceServices.d.ts.map +1 -0
- package/dist/services/invoiceServices.js +59 -0
- package/dist/services/invoiceServices.js.map +1 -0
- package/dist/services/productRatePlanChargeServices.d.ts +94 -0
- package/dist/services/productRatePlanChargeServices.d.ts.map +1 -0
- package/dist/services/productRatePlanChargeServices.js +125 -0
- package/dist/services/productRatePlanChargeServices.js.map +1 -0
- package/dist/services/productRatePlanServices.d.ts +57 -0
- package/dist/services/productRatePlanServices.d.ts.map +1 -0
- package/dist/services/productRatePlanServices.js +49 -0
- package/dist/services/productRatePlanServices.js.map +1 -0
- package/dist/services/productServices.d.ts +60 -0
- package/dist/services/productServices.d.ts.map +1 -0
- package/dist/services/productServices.js +64 -0
- package/dist/services/productServices.js.map +1 -0
- package/dist/services/shippingServices.d.ts +34 -0
- package/dist/services/shippingServices.d.ts.map +1 -0
- package/dist/services/shippingServices.js +15 -0
- package/dist/services/shippingServices.js.map +1 -0
- package/dist/services/subscriptionServices.d.ts +193 -0
- package/dist/services/subscriptionServices.d.ts.map +1 -0
- package/dist/services/subscriptionServices.js +169 -0
- package/dist/services/subscriptionServices.js.map +1 -0
- package/dist/services/transactionServices.d.ts +20 -0
- package/dist/services/transactionServices.d.ts.map +1 -0
- package/dist/services/transactionServices.js +33 -0
- package/dist/services/transactionServices.js.map +1 -0
- package/dist/tools/bill_runs/getBillRun.d.ts +3 -0
- package/dist/tools/bill_runs/getBillRun.d.ts.map +1 -0
- package/dist/tools/bill_runs/getBillRun.js +29 -0
- package/dist/tools/bill_runs/getBillRun.js.map +1 -0
- package/dist/tools/bill_runs/getBillRunInvoices.d.ts +3 -0
- package/dist/tools/bill_runs/getBillRunInvoices.d.ts.map +1 -0
- package/dist/tools/bill_runs/getBillRunInvoices.js +29 -0
- package/dist/tools/bill_runs/getBillRunInvoices.js.map +1 -0
- package/dist/tools/bill_runs/helpers.d.ts +6 -0
- package/dist/tools/bill_runs/helpers.d.ts.map +1 -0
- package/dist/tools/bill_runs/helpers.js +22 -0
- package/dist/tools/bill_runs/helpers.js.map +1 -0
- package/dist/tools/bill_runs/index.d.ts +11 -0
- package/dist/tools/bill_runs/index.d.ts.map +1 -0
- package/dist/tools/bill_runs/index.js +21 -0
- package/dist/tools/bill_runs/index.js.map +1 -0
- package/dist/tools/bill_runs/listBillRuns.d.ts +3 -0
- package/dist/tools/bill_runs/listBillRuns.d.ts.map +1 -0
- package/dist/tools/bill_runs/listBillRuns.js +43 -0
- package/dist/tools/bill_runs/listBillRuns.js.map +1 -0
- package/dist/tools/bill_runs/updateBillRun.d.ts +3 -0
- package/dist/tools/bill_runs/updateBillRun.d.ts.map +1 -0
- package/dist/tools/bill_runs/updateBillRun.js +35 -0
- package/dist/tools/bill_runs/updateBillRun.js.map +1 -0
- package/dist/tools/currencies/createCurrency.d.ts +3 -0
- package/dist/tools/currencies/createCurrency.d.ts.map +1 -0
- package/dist/tools/currencies/createCurrency.js +33 -0
- package/dist/tools/currencies/createCurrency.js.map +1 -0
- package/dist/tools/currencies/deleteCurrency.d.ts +3 -0
- package/dist/tools/currencies/deleteCurrency.d.ts.map +1 -0
- package/dist/tools/currencies/deleteCurrency.js +29 -0
- package/dist/tools/currencies/deleteCurrency.js.map +1 -0
- package/dist/tools/currencies/getCurrency.d.ts +3 -0
- package/dist/tools/currencies/getCurrency.d.ts.map +1 -0
- package/dist/tools/currencies/getCurrency.js +29 -0
- package/dist/tools/currencies/getCurrency.js.map +1 -0
- package/dist/tools/currencies/getDefaultCurrency.d.ts +3 -0
- package/dist/tools/currencies/getDefaultCurrency.d.ts.map +1 -0
- package/dist/tools/currencies/getDefaultCurrency.js +19 -0
- package/dist/tools/currencies/getDefaultCurrency.js.map +1 -0
- package/dist/tools/currencies/helpers.d.ts +6 -0
- package/dist/tools/currencies/helpers.d.ts.map +1 -0
- package/dist/tools/currencies/helpers.js +22 -0
- package/dist/tools/currencies/helpers.js.map +1 -0
- package/dist/tools/currencies/index.d.ts +14 -0
- package/dist/tools/currencies/index.d.ts.map +1 -0
- package/dist/tools/currencies/index.js +30 -0
- package/dist/tools/currencies/index.js.map +1 -0
- package/dist/tools/currencies/listCurrencies.d.ts +3 -0
- package/dist/tools/currencies/listCurrencies.d.ts.map +1 -0
- package/dist/tools/currencies/listCurrencies.js +33 -0
- package/dist/tools/currencies/listCurrencies.js.map +1 -0
- package/dist/tools/currencies/setDefaultCurrency.d.ts +3 -0
- package/dist/tools/currencies/setDefaultCurrency.d.ts.map +1 -0
- package/dist/tools/currencies/setDefaultCurrency.js +29 -0
- package/dist/tools/currencies/setDefaultCurrency.js.map +1 -0
- package/dist/tools/currencies/updateCurrency.d.ts +3 -0
- package/dist/tools/currencies/updateCurrency.d.ts.map +1 -0
- package/dist/tools/currencies/updateCurrency.js +34 -0
- package/dist/tools/currencies/updateCurrency.js.map +1 -0
- package/dist/tools/customers/createCustomer.d.ts +3 -0
- package/dist/tools/customers/createCustomer.d.ts.map +1 -0
- package/dist/tools/customers/createCustomer.js +45 -0
- package/dist/tools/customers/createCustomer.js.map +1 -0
- package/dist/tools/customers/createCustomerAddress.d.ts +3 -0
- package/dist/tools/customers/createCustomerAddress.d.ts.map +1 -0
- package/dist/tools/customers/createCustomerAddress.js +68 -0
- package/dist/tools/customers/createCustomerAddress.js.map +1 -0
- package/dist/tools/customers/createCustomerChargeCredit.d.ts +3 -0
- package/dist/tools/customers/createCustomerChargeCredit.d.ts.map +1 -0
- package/dist/tools/customers/createCustomerChargeCredit.js +74 -0
- package/dist/tools/customers/createCustomerChargeCredit.js.map +1 -0
- package/dist/tools/customers/createCustomerPaymentMethod.d.ts +3 -0
- package/dist/tools/customers/createCustomerPaymentMethod.d.ts.map +1 -0
- package/dist/tools/customers/createCustomerPaymentMethod.js +80 -0
- package/dist/tools/customers/createCustomerPaymentMethod.js.map +1 -0
- package/dist/tools/customers/deleteCustomer.d.ts +3 -0
- package/dist/tools/customers/deleteCustomer.d.ts.map +1 -0
- package/dist/tools/customers/deleteCustomer.js +29 -0
- package/dist/tools/customers/deleteCustomer.js.map +1 -0
- package/dist/tools/customers/deleteCustomerAddress.d.ts +3 -0
- package/dist/tools/customers/deleteCustomerAddress.d.ts.map +1 -0
- package/dist/tools/customers/deleteCustomerAddress.js +32 -0
- package/dist/tools/customers/deleteCustomerAddress.js.map +1 -0
- package/dist/tools/customers/deleteCustomerChargeCredit.d.ts +3 -0
- package/dist/tools/customers/deleteCustomerChargeCredit.d.ts.map +1 -0
- package/dist/tools/customers/deleteCustomerChargeCredit.js +32 -0
- package/dist/tools/customers/deleteCustomerChargeCredit.js.map +1 -0
- package/dist/tools/customers/deleteCustomerPaymentMethod.d.ts +3 -0
- package/dist/tools/customers/deleteCustomerPaymentMethod.d.ts.map +1 -0
- package/dist/tools/customers/deleteCustomerPaymentMethod.js +32 -0
- package/dist/tools/customers/deleteCustomerPaymentMethod.js.map +1 -0
- package/dist/tools/customers/getCustomer.d.ts +3 -0
- package/dist/tools/customers/getCustomer.d.ts.map +1 -0
- package/dist/tools/customers/getCustomer.js +34 -0
- package/dist/tools/customers/getCustomer.js.map +1 -0
- package/dist/tools/customers/getCustomerAddress.d.ts +3 -0
- package/dist/tools/customers/getCustomerAddress.d.ts.map +1 -0
- package/dist/tools/customers/getCustomerAddress.js +32 -0
- package/dist/tools/customers/getCustomerAddress.js.map +1 -0
- package/dist/tools/customers/getCustomerInvoices.d.ts +3 -0
- package/dist/tools/customers/getCustomerInvoices.d.ts.map +1 -0
- package/dist/tools/customers/getCustomerInvoices.js +36 -0
- package/dist/tools/customers/getCustomerInvoices.js.map +1 -0
- package/dist/tools/customers/getCustomerLogs.d.ts +3 -0
- package/dist/tools/customers/getCustomerLogs.d.ts.map +1 -0
- package/dist/tools/customers/getCustomerLogs.js +34 -0
- package/dist/tools/customers/getCustomerLogs.js.map +1 -0
- package/dist/tools/customers/getCustomerPaymentMethod.d.ts +3 -0
- package/dist/tools/customers/getCustomerPaymentMethod.d.ts.map +1 -0
- package/dist/tools/customers/getCustomerPaymentMethod.js +32 -0
- package/dist/tools/customers/getCustomerPaymentMethod.js.map +1 -0
- package/dist/tools/customers/getCustomerSubscriptions.d.ts +3 -0
- package/dist/tools/customers/getCustomerSubscriptions.d.ts.map +1 -0
- package/dist/tools/customers/getCustomerSubscriptions.js +36 -0
- package/dist/tools/customers/getCustomerSubscriptions.js.map +1 -0
- package/dist/tools/customers/helpers.d.ts +6 -0
- package/dist/tools/customers/helpers.d.ts.map +1 -0
- package/dist/tools/customers/helpers.js +27 -0
- package/dist/tools/customers/helpers.js.map +1 -0
- package/dist/tools/customers/index.d.ts +29 -0
- package/dist/tools/customers/index.d.ts.map +1 -0
- package/dist/tools/customers/index.js +73 -0
- package/dist/tools/customers/index.js.map +1 -0
- package/dist/tools/customers/listCustomerAddresses.d.ts +3 -0
- package/dist/tools/customers/listCustomerAddresses.d.ts.map +1 -0
- package/dist/tools/customers/listCustomerAddresses.js +30 -0
- package/dist/tools/customers/listCustomerAddresses.js.map +1 -0
- package/dist/tools/customers/listCustomerChargesCredits.d.ts +3 -0
- package/dist/tools/customers/listCustomerChargesCredits.d.ts.map +1 -0
- package/dist/tools/customers/listCustomerChargesCredits.js +43 -0
- package/dist/tools/customers/listCustomerChargesCredits.js.map +1 -0
- package/dist/tools/customers/listCustomerPaymentMethods.d.ts +3 -0
- package/dist/tools/customers/listCustomerPaymentMethods.d.ts.map +1 -0
- package/dist/tools/customers/listCustomerPaymentMethods.js +30 -0
- package/dist/tools/customers/listCustomerPaymentMethods.js.map +1 -0
- package/dist/tools/customers/listCustomers.d.ts +3 -0
- package/dist/tools/customers/listCustomers.d.ts.map +1 -0
- package/dist/tools/customers/listCustomers.js +50 -0
- package/dist/tools/customers/listCustomers.js.map +1 -0
- package/dist/tools/customers/updateCustomer.d.ts +3 -0
- package/dist/tools/customers/updateCustomer.d.ts.map +1 -0
- package/dist/tools/customers/updateCustomer.js +50 -0
- package/dist/tools/customers/updateCustomer.js.map +1 -0
- package/dist/tools/customers/updateCustomerAddress.d.ts +3 -0
- package/dist/tools/customers/updateCustomerAddress.d.ts.map +1 -0
- package/dist/tools/customers/updateCustomerAddress.js +78 -0
- package/dist/tools/customers/updateCustomerAddress.js.map +1 -0
- package/dist/tools/customers/updateCustomerPaymentMethod.d.ts +3 -0
- package/dist/tools/customers/updateCustomerPaymentMethod.d.ts.map +1 -0
- package/dist/tools/customers/updateCustomerPaymentMethod.js +59 -0
- package/dist/tools/customers/updateCustomerPaymentMethod.js.map +1 -0
- package/dist/tools/docs/getApiDocs.d.ts +3 -0
- package/dist/tools/docs/getApiDocs.d.ts.map +1 -0
- package/dist/tools/docs/getApiDocs.js +39 -0
- package/dist/tools/docs/getApiDocs.js.map +1 -0
- package/dist/tools/docs/helpers.d.ts +4 -0
- package/dist/tools/docs/helpers.d.ts.map +1 -0
- package/dist/tools/docs/helpers.js +7 -0
- package/dist/tools/docs/helpers.js.map +1 -0
- package/dist/tools/docs/index.d.ts +8 -0
- package/dist/tools/docs/index.d.ts.map +1 -0
- package/dist/tools/docs/index.js +10 -0
- package/dist/tools/docs/index.js.map +1 -0
- package/dist/tools/filters/constants.d.ts +7 -0
- package/dist/tools/filters/constants.d.ts.map +1 -0
- package/dist/tools/filters/constants.js +64 -0
- package/dist/tools/filters/constants.js.map +1 -0
- package/dist/tools/filters/createFilter.d.ts +3 -0
- package/dist/tools/filters/createFilter.d.ts.map +1 -0
- package/dist/tools/filters/createFilter.js +65 -0
- package/dist/tools/filters/createFilter.js.map +1 -0
- package/dist/tools/filters/helpers.d.ts +6 -0
- package/dist/tools/filters/helpers.d.ts.map +1 -0
- package/dist/tools/filters/helpers.js +22 -0
- package/dist/tools/filters/helpers.js.map +1 -0
- package/dist/tools/filters/index.d.ts +12 -0
- package/dist/tools/filters/index.d.ts.map +1 -0
- package/dist/tools/filters/index.js +17 -0
- package/dist/tools/filters/index.js.map +1 -0
- package/dist/tools/filters/listFilterFields.d.ts +3 -0
- package/dist/tools/filters/listFilterFields.d.ts.map +1 -0
- package/dist/tools/filters/listFilterFields.js +35 -0
- package/dist/tools/filters/listFilterFields.js.map +1 -0
- package/dist/tools/filters/listFilters.d.ts +3 -0
- package/dist/tools/filters/listFilters.d.ts.map +1 -0
- package/dist/tools/filters/listFilters.js +35 -0
- package/dist/tools/filters/listFilters.js.map +1 -0
- package/dist/tools/filters/removeFilter.d.ts +3 -0
- package/dist/tools/filters/removeFilter.d.ts.map +1 -0
- package/dist/tools/filters/removeFilter.js +32 -0
- package/dist/tools/filters/removeFilter.js.map +1 -0
- package/dist/tools/gateways/createGateway.d.ts +3 -0
- package/dist/tools/gateways/createGateway.d.ts.map +1 -0
- package/dist/tools/gateways/createGateway.js +55 -0
- package/dist/tools/gateways/createGateway.js.map +1 -0
- package/dist/tools/gateways/createSetupIntent.d.ts +3 -0
- package/dist/tools/gateways/createSetupIntent.d.ts.map +1 -0
- package/dist/tools/gateways/createSetupIntent.js +32 -0
- package/dist/tools/gateways/createSetupIntent.js.map +1 -0
- package/dist/tools/gateways/deleteGateway.d.ts +3 -0
- package/dist/tools/gateways/deleteGateway.d.ts.map +1 -0
- package/dist/tools/gateways/deleteGateway.js +29 -0
- package/dist/tools/gateways/deleteGateway.js.map +1 -0
- package/dist/tools/gateways/getClientToken.d.ts +3 -0
- package/dist/tools/gateways/getClientToken.d.ts.map +1 -0
- package/dist/tools/gateways/getClientToken.js +38 -0
- package/dist/tools/gateways/getClientToken.js.map +1 -0
- package/dist/tools/gateways/getGateway.d.ts +3 -0
- package/dist/tools/gateways/getGateway.d.ts.map +1 -0
- package/dist/tools/gateways/getGateway.js +29 -0
- package/dist/tools/gateways/getGateway.js.map +1 -0
- package/dist/tools/gateways/helpers.d.ts +6 -0
- package/dist/tools/gateways/helpers.d.ts.map +1 -0
- package/dist/tools/gateways/helpers.js +22 -0
- package/dist/tools/gateways/helpers.js.map +1 -0
- package/dist/tools/gateways/index.d.ts +16 -0
- package/dist/tools/gateways/index.d.ts.map +1 -0
- package/dist/tools/gateways/index.js +36 -0
- package/dist/tools/gateways/index.js.map +1 -0
- package/dist/tools/gateways/listGateways.d.ts +3 -0
- package/dist/tools/gateways/listGateways.d.ts.map +1 -0
- package/dist/tools/gateways/listGateways.js +33 -0
- package/dist/tools/gateways/listGateways.js.map +1 -0
- package/dist/tools/gateways/listGlobalGateways.d.ts +3 -0
- package/dist/tools/gateways/listGlobalGateways.d.ts.map +1 -0
- package/dist/tools/gateways/listGlobalGateways.js +19 -0
- package/dist/tools/gateways/listGlobalGateways.js.map +1 -0
- package/dist/tools/gateways/testGateway.d.ts +3 -0
- package/dist/tools/gateways/testGateway.d.ts.map +1 -0
- package/dist/tools/gateways/testGateway.js +29 -0
- package/dist/tools/gateways/testGateway.js.map +1 -0
- package/dist/tools/gateways/updateGateway.d.ts +3 -0
- package/dist/tools/gateways/updateGateway.d.ts.map +1 -0
- package/dist/tools/gateways/updateGateway.js +39 -0
- package/dist/tools/gateways/updateGateway.js.map +1 -0
- package/dist/tools/index.d.ts +10 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +48 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/integrations/constants.d.ts +7 -0
- package/dist/tools/integrations/constants.d.ts.map +1 -0
- package/dist/tools/integrations/constants.js +42 -0
- package/dist/tools/integrations/constants.js.map +1 -0
- package/dist/tools/integrations/getExternalProduct.d.ts +3 -0
- package/dist/tools/integrations/getExternalProduct.d.ts.map +1 -0
- package/dist/tools/integrations/getExternalProduct.js +35 -0
- package/dist/tools/integrations/getExternalProduct.js.map +1 -0
- package/dist/tools/integrations/getIntegrationByKey.d.ts +3 -0
- package/dist/tools/integrations/getIntegrationByKey.d.ts.map +1 -0
- package/dist/tools/integrations/getIntegrationByKey.js +36 -0
- package/dist/tools/integrations/getIntegrationByKey.js.map +1 -0
- package/dist/tools/integrations/getIntegrationConfig.d.ts +3 -0
- package/dist/tools/integrations/getIntegrationConfig.d.ts.map +1 -0
- package/dist/tools/integrations/getIntegrationConfig.js +29 -0
- package/dist/tools/integrations/getIntegrationConfig.js.map +1 -0
- package/dist/tools/integrations/helpers.d.ts +6 -0
- package/dist/tools/integrations/helpers.d.ts.map +1 -0
- package/dist/tools/integrations/helpers.js +22 -0
- package/dist/tools/integrations/helpers.js.map +1 -0
- package/dist/tools/integrations/index.d.ts +16 -0
- package/dist/tools/integrations/index.d.ts.map +1 -0
- package/dist/tools/integrations/index.js +34 -0
- package/dist/tools/integrations/index.js.map +1 -0
- package/dist/tools/integrations/listExternalInvoices.d.ts +3 -0
- package/dist/tools/integrations/listExternalInvoices.d.ts.map +1 -0
- package/dist/tools/integrations/listExternalInvoices.js +40 -0
- package/dist/tools/integrations/listExternalInvoices.js.map +1 -0
- package/dist/tools/integrations/listExternalProducts.d.ts +3 -0
- package/dist/tools/integrations/listExternalProducts.d.ts.map +1 -0
- package/dist/tools/integrations/listExternalProducts.js +32 -0
- package/dist/tools/integrations/listExternalProducts.js.map +1 -0
- package/dist/tools/integrations/listIntegrations.d.ts +3 -0
- package/dist/tools/integrations/listIntegrations.d.ts.map +1 -0
- package/dist/tools/integrations/listIntegrations.js +39 -0
- package/dist/tools/integrations/listIntegrations.js.map +1 -0
- package/dist/tools/integrations/listIntegrationsByKey.d.ts +3 -0
- package/dist/tools/integrations/listIntegrationsByKey.d.ts.map +1 -0
- package/dist/tools/integrations/listIntegrationsByKey.js +36 -0
- package/dist/tools/integrations/listIntegrationsByKey.js.map +1 -0
- package/dist/tools/integrations/listOrderStatuses.d.ts +3 -0
- package/dist/tools/integrations/listOrderStatuses.d.ts.map +1 -0
- package/dist/tools/integrations/listOrderStatuses.js +29 -0
- package/dist/tools/integrations/listOrderStatuses.js.map +1 -0
- package/dist/tools/invoices/chargeInvoice.d.ts +3 -0
- package/dist/tools/invoices/chargeInvoice.d.ts.map +1 -0
- package/dist/tools/invoices/chargeInvoice.js +41 -0
- package/dist/tools/invoices/chargeInvoice.js.map +1 -0
- package/dist/tools/invoices/chargeInvoiceExternal.d.ts +3 -0
- package/dist/tools/invoices/chargeInvoiceExternal.d.ts.map +1 -0
- package/dist/tools/invoices/chargeInvoiceExternal.js +35 -0
- package/dist/tools/invoices/chargeInvoiceExternal.js.map +1 -0
- package/dist/tools/invoices/createInvoice.d.ts +3 -0
- package/dist/tools/invoices/createInvoice.d.ts.map +1 -0
- package/dist/tools/invoices/createInvoice.js +188 -0
- package/dist/tools/invoices/createInvoice.js.map +1 -0
- package/dist/tools/invoices/deleteInvoice.d.ts +3 -0
- package/dist/tools/invoices/deleteInvoice.d.ts.map +1 -0
- package/dist/tools/invoices/deleteInvoice.js +29 -0
- package/dist/tools/invoices/deleteInvoice.js.map +1 -0
- package/dist/tools/invoices/getInvoice.d.ts +3 -0
- package/dist/tools/invoices/getInvoice.d.ts.map +1 -0
- package/dist/tools/invoices/getInvoice.js +32 -0
- package/dist/tools/invoices/getInvoice.js.map +1 -0
- package/dist/tools/invoices/helpers.d.ts +6 -0
- package/dist/tools/invoices/helpers.d.ts.map +1 -0
- package/dist/tools/invoices/helpers.js +22 -0
- package/dist/tools/invoices/helpers.js.map +1 -0
- package/dist/tools/invoices/index.d.ts +15 -0
- package/dist/tools/invoices/index.d.ts.map +1 -0
- package/dist/tools/invoices/index.js +33 -0
- package/dist/tools/invoices/index.js.map +1 -0
- package/dist/tools/invoices/listInvoices.d.ts +3 -0
- package/dist/tools/invoices/listInvoices.d.ts.map +1 -0
- package/dist/tools/invoices/listInvoices.js +43 -0
- package/dist/tools/invoices/listInvoices.js.map +1 -0
- package/dist/tools/invoices/updateInvoice.d.ts +3 -0
- package/dist/tools/invoices/updateInvoice.d.ts.map +1 -0
- package/dist/tools/invoices/updateInvoice.js +137 -0
- package/dist/tools/invoices/updateInvoice.js.map +1 -0
- package/dist/tools/invoices/voidInvoice.d.ts +3 -0
- package/dist/tools/invoices/voidInvoice.d.ts.map +1 -0
- package/dist/tools/invoices/voidInvoice.js +29 -0
- package/dist/tools/invoices/voidInvoice.js.map +1 -0
- package/dist/tools/product_rate_plan_charges/createRatePlanCharge.d.ts +3 -0
- package/dist/tools/product_rate_plan_charges/createRatePlanCharge.d.ts.map +1 -0
- package/dist/tools/product_rate_plan_charges/createRatePlanCharge.js +132 -0
- package/dist/tools/product_rate_plan_charges/createRatePlanCharge.js.map +1 -0
- package/dist/tools/product_rate_plan_charges/deleteRatePlanCharge.d.ts +3 -0
- package/dist/tools/product_rate_plan_charges/deleteRatePlanCharge.d.ts.map +1 -0
- package/dist/tools/product_rate_plan_charges/deleteRatePlanCharge.js +29 -0
- package/dist/tools/product_rate_plan_charges/deleteRatePlanCharge.js.map +1 -0
- package/dist/tools/product_rate_plan_charges/getRatePlanCharge.d.ts +3 -0
- package/dist/tools/product_rate_plan_charges/getRatePlanCharge.d.ts.map +1 -0
- package/dist/tools/product_rate_plan_charges/getRatePlanCharge.js +32 -0
- package/dist/tools/product_rate_plan_charges/getRatePlanCharge.js.map +1 -0
- package/dist/tools/product_rate_plan_charges/helpers.d.ts +6 -0
- package/dist/tools/product_rate_plan_charges/helpers.d.ts.map +1 -0
- package/dist/tools/product_rate_plan_charges/helpers.js +24 -0
- package/dist/tools/product_rate_plan_charges/helpers.js.map +1 -0
- package/dist/tools/product_rate_plan_charges/index.d.ts +12 -0
- package/dist/tools/product_rate_plan_charges/index.d.ts.map +1 -0
- package/dist/tools/product_rate_plan_charges/index.js +24 -0
- package/dist/tools/product_rate_plan_charges/index.js.map +1 -0
- package/dist/tools/product_rate_plan_charges/listRatePlanCharges.d.ts +3 -0
- package/dist/tools/product_rate_plan_charges/listRatePlanCharges.d.ts.map +1 -0
- package/dist/tools/product_rate_plan_charges/listRatePlanCharges.js +40 -0
- package/dist/tools/product_rate_plan_charges/listRatePlanCharges.js.map +1 -0
- package/dist/tools/product_rate_plan_charges/updateRatePlanCharge.d.ts +3 -0
- package/dist/tools/product_rate_plan_charges/updateRatePlanCharge.d.ts.map +1 -0
- package/dist/tools/product_rate_plan_charges/updateRatePlanCharge.js +279 -0
- package/dist/tools/product_rate_plan_charges/updateRatePlanCharge.js.map +1 -0
- package/dist/tools/product_rate_plans/createRatePlan.d.ts +3 -0
- package/dist/tools/product_rate_plans/createRatePlan.d.ts.map +1 -0
- package/dist/tools/product_rate_plans/createRatePlan.js +53 -0
- package/dist/tools/product_rate_plans/createRatePlan.js.map +1 -0
- package/dist/tools/product_rate_plans/deleteRatePlan.d.ts +3 -0
- package/dist/tools/product_rate_plans/deleteRatePlan.d.ts.map +1 -0
- package/dist/tools/product_rate_plans/deleteRatePlan.js +29 -0
- package/dist/tools/product_rate_plans/deleteRatePlan.js.map +1 -0
- package/dist/tools/product_rate_plans/getRatePlan.d.ts +3 -0
- package/dist/tools/product_rate_plans/getRatePlan.d.ts.map +1 -0
- package/dist/tools/product_rate_plans/getRatePlan.js +32 -0
- package/dist/tools/product_rate_plans/getRatePlan.js.map +1 -0
- package/dist/tools/product_rate_plans/helpers.d.ts +6 -0
- package/dist/tools/product_rate_plans/helpers.d.ts.map +1 -0
- package/dist/tools/product_rate_plans/helpers.js +24 -0
- package/dist/tools/product_rate_plans/helpers.js.map +1 -0
- package/dist/tools/product_rate_plans/index.d.ts +14 -0
- package/dist/tools/product_rate_plans/index.d.ts.map +1 -0
- package/dist/tools/product_rate_plans/index.js +30 -0
- package/dist/tools/product_rate_plans/index.js.map +1 -0
- package/dist/tools/product_rate_plans/listRatePlans.d.ts +3 -0
- package/dist/tools/product_rate_plans/listRatePlans.d.ts.map +1 -0
- package/dist/tools/product_rate_plans/listRatePlans.js +40 -0
- package/dist/tools/product_rate_plans/listRatePlans.js.map +1 -0
- package/dist/tools/product_rate_plans/syncRatePlan.d.ts +3 -0
- package/dist/tools/product_rate_plans/syncRatePlan.d.ts.map +1 -0
- package/dist/tools/product_rate_plans/syncRatePlan.js +29 -0
- package/dist/tools/product_rate_plans/syncRatePlan.js.map +1 -0
- package/dist/tools/product_rate_plans/updateRatePlan.d.ts +3 -0
- package/dist/tools/product_rate_plans/updateRatePlan.d.ts.map +1 -0
- package/dist/tools/product_rate_plans/updateRatePlan.js +50 -0
- package/dist/tools/product_rate_plans/updateRatePlan.js.map +1 -0
- package/dist/tools/product_rate_plans/updateRatePlanStatus.d.ts +3 -0
- package/dist/tools/product_rate_plans/updateRatePlanStatus.d.ts.map +1 -0
- package/dist/tools/product_rate_plans/updateRatePlanStatus.js +38 -0
- package/dist/tools/product_rate_plans/updateRatePlanStatus.js.map +1 -0
- package/dist/tools/products/createProduct.d.ts +3 -0
- package/dist/tools/products/createProduct.d.ts.map +1 -0
- package/dist/tools/products/createProduct.js +37 -0
- package/dist/tools/products/createProduct.js.map +1 -0
- package/dist/tools/products/deleteProduct.d.ts +3 -0
- package/dist/tools/products/deleteProduct.d.ts.map +1 -0
- package/dist/tools/products/deleteProduct.js +29 -0
- package/dist/tools/products/deleteProduct.js.map +1 -0
- package/dist/tools/products/getProduct.d.ts +3 -0
- package/dist/tools/products/getProduct.d.ts.map +1 -0
- package/dist/tools/products/getProduct.js +32 -0
- package/dist/tools/products/getProduct.js.map +1 -0
- package/dist/tools/products/helpers.d.ts +6 -0
- package/dist/tools/products/helpers.d.ts.map +1 -0
- package/dist/tools/products/helpers.js +27 -0
- package/dist/tools/products/helpers.js.map +1 -0
- package/dist/tools/products/index.d.ts +15 -0
- package/dist/tools/products/index.d.ts.map +1 -0
- package/dist/tools/products/index.js +33 -0
- package/dist/tools/products/index.js.map +1 -0
- package/dist/tools/products/linkExternalProduct.d.ts +3 -0
- package/dist/tools/products/linkExternalProduct.d.ts.map +1 -0
- package/dist/tools/products/linkExternalProduct.js +56 -0
- package/dist/tools/products/linkExternalProduct.js.map +1 -0
- package/dist/tools/products/listProducts.d.ts +3 -0
- package/dist/tools/products/listProducts.d.ts.map +1 -0
- package/dist/tools/products/listProducts.js +37 -0
- package/dist/tools/products/listProducts.js.map +1 -0
- package/dist/tools/products/unlinkExternalProduct.d.ts +3 -0
- package/dist/tools/products/unlinkExternalProduct.d.ts.map +1 -0
- package/dist/tools/products/unlinkExternalProduct.js +35 -0
- package/dist/tools/products/unlinkExternalProduct.js.map +1 -0
- package/dist/tools/products/updateProduct.d.ts +3 -0
- package/dist/tools/products/updateProduct.d.ts.map +1 -0
- package/dist/tools/products/updateProduct.js +40 -0
- package/dist/tools/products/updateProduct.js.map +1 -0
- package/dist/tools/products/updateProductStatus.d.ts +3 -0
- package/dist/tools/products/updateProductStatus.d.ts.map +1 -0
- package/dist/tools/products/updateProductStatus.js +38 -0
- package/dist/tools/products/updateProductStatus.js.map +1 -0
- package/dist/tools/shipping/calculateShipping.d.ts +3 -0
- package/dist/tools/shipping/calculateShipping.d.ts.map +1 -0
- package/dist/tools/shipping/calculateShipping.js +84 -0
- package/dist/tools/shipping/calculateShipping.js.map +1 -0
- package/dist/tools/shipping/helpers.d.ts +6 -0
- package/dist/tools/shipping/helpers.d.ts.map +1 -0
- package/dist/tools/shipping/helpers.js +22 -0
- package/dist/tools/shipping/helpers.js.map +1 -0
- package/dist/tools/shipping/index.d.ts +9 -0
- package/dist/tools/shipping/index.d.ts.map +1 -0
- package/dist/tools/shipping/index.js +12 -0
- package/dist/tools/shipping/index.js.map +1 -0
- package/dist/tools/shipping/listShippingServices.d.ts +3 -0
- package/dist/tools/shipping/listShippingServices.d.ts.map +1 -0
- package/dist/tools/shipping/listShippingServices.js +19 -0
- package/dist/tools/shipping/listShippingServices.js.map +1 -0
- package/dist/tools/subscriptions/addSubscriptionRatePlan.d.ts +3 -0
- package/dist/tools/subscriptions/addSubscriptionRatePlan.d.ts.map +1 -0
- package/dist/tools/subscriptions/addSubscriptionRatePlan.js +67 -0
- package/dist/tools/subscriptions/addSubscriptionRatePlan.js.map +1 -0
- package/dist/tools/subscriptions/addSubscriptionRatePlanCharge.d.ts +3 -0
- package/dist/tools/subscriptions/addSubscriptionRatePlanCharge.d.ts.map +1 -0
- package/dist/tools/subscriptions/addSubscriptionRatePlanCharge.js +159 -0
- package/dist/tools/subscriptions/addSubscriptionRatePlanCharge.js.map +1 -0
- package/dist/tools/subscriptions/createSubscription.d.ts +3 -0
- package/dist/tools/subscriptions/createSubscription.d.ts.map +1 -0
- package/dist/tools/subscriptions/createSubscription.js +84 -0
- package/dist/tools/subscriptions/createSubscription.js.map +1 -0
- package/dist/tools/subscriptions/deleteSubscription.d.ts +3 -0
- package/dist/tools/subscriptions/deleteSubscription.d.ts.map +1 -0
- package/dist/tools/subscriptions/deleteSubscription.js +29 -0
- package/dist/tools/subscriptions/deleteSubscription.js.map +1 -0
- package/dist/tools/subscriptions/getSubscription.d.ts +3 -0
- package/dist/tools/subscriptions/getSubscription.d.ts.map +1 -0
- package/dist/tools/subscriptions/getSubscription.js +32 -0
- package/dist/tools/subscriptions/getSubscription.js.map +1 -0
- package/dist/tools/subscriptions/getSubscriptionExternalInvoices.d.ts +3 -0
- package/dist/tools/subscriptions/getSubscriptionExternalInvoices.d.ts.map +1 -0
- package/dist/tools/subscriptions/getSubscriptionExternalInvoices.js +40 -0
- package/dist/tools/subscriptions/getSubscriptionExternalInvoices.js.map +1 -0
- package/dist/tools/subscriptions/getSubscriptionInvoices.d.ts +3 -0
- package/dist/tools/subscriptions/getSubscriptionInvoices.d.ts.map +1 -0
- package/dist/tools/subscriptions/getSubscriptionInvoices.js +43 -0
- package/dist/tools/subscriptions/getSubscriptionInvoices.js.map +1 -0
- package/dist/tools/subscriptions/getSubscriptionLogs.d.ts +3 -0
- package/dist/tools/subscriptions/getSubscriptionLogs.d.ts.map +1 -0
- package/dist/tools/subscriptions/getSubscriptionLogs.js +34 -0
- package/dist/tools/subscriptions/getSubscriptionLogs.js.map +1 -0
- package/dist/tools/subscriptions/getSubscriptionNextBill.d.ts +3 -0
- package/dist/tools/subscriptions/getSubscriptionNextBill.d.ts.map +1 -0
- package/dist/tools/subscriptions/getSubscriptionNextBill.js +32 -0
- package/dist/tools/subscriptions/getSubscriptionNextBill.js.map +1 -0
- package/dist/tools/subscriptions/getSubscriptionRatePlan.d.ts +3 -0
- package/dist/tools/subscriptions/getSubscriptionRatePlan.d.ts.map +1 -0
- package/dist/tools/subscriptions/getSubscriptionRatePlan.js +34 -0
- package/dist/tools/subscriptions/getSubscriptionRatePlan.js.map +1 -0
- package/dist/tools/subscriptions/getSubscriptionRatePlanCharge.d.ts +3 -0
- package/dist/tools/subscriptions/getSubscriptionRatePlanCharge.d.ts.map +1 -0
- package/dist/tools/subscriptions/getSubscriptionRatePlanCharge.js +36 -0
- package/dist/tools/subscriptions/getSubscriptionRatePlanCharge.js.map +1 -0
- package/dist/tools/subscriptions/getSubscriptionUpcomingCharges.d.ts +3 -0
- package/dist/tools/subscriptions/getSubscriptionUpcomingCharges.d.ts.map +1 -0
- package/dist/tools/subscriptions/getSubscriptionUpcomingCharges.js +32 -0
- package/dist/tools/subscriptions/getSubscriptionUpcomingCharges.js.map +1 -0
- package/dist/tools/subscriptions/helpers.d.ts +6 -0
- package/dist/tools/subscriptions/helpers.d.ts.map +1 -0
- package/dist/tools/subscriptions/helpers.js +22 -0
- package/dist/tools/subscriptions/helpers.js.map +1 -0
- package/dist/tools/subscriptions/index.d.ts +27 -0
- package/dist/tools/subscriptions/index.d.ts.map +1 -0
- package/dist/tools/subscriptions/index.js +69 -0
- package/dist/tools/subscriptions/index.js.map +1 -0
- package/dist/tools/subscriptions/listSubscriptionRatePlans.d.ts +3 -0
- package/dist/tools/subscriptions/listSubscriptionRatePlans.d.ts.map +1 -0
- package/dist/tools/subscriptions/listSubscriptionRatePlans.js +40 -0
- package/dist/tools/subscriptions/listSubscriptionRatePlans.js.map +1 -0
- package/dist/tools/subscriptions/listSubscriptions.d.ts +3 -0
- package/dist/tools/subscriptions/listSubscriptions.d.ts.map +1 -0
- package/dist/tools/subscriptions/listSubscriptions.js +41 -0
- package/dist/tools/subscriptions/listSubscriptions.js.map +1 -0
- package/dist/tools/subscriptions/removeSubscriptionRatePlan.d.ts +3 -0
- package/dist/tools/subscriptions/removeSubscriptionRatePlan.d.ts.map +1 -0
- package/dist/tools/subscriptions/removeSubscriptionRatePlan.js +32 -0
- package/dist/tools/subscriptions/removeSubscriptionRatePlan.js.map +1 -0
- package/dist/tools/subscriptions/removeSubscriptionRatePlanCharge.d.ts +3 -0
- package/dist/tools/subscriptions/removeSubscriptionRatePlanCharge.d.ts.map +1 -0
- package/dist/tools/subscriptions/removeSubscriptionRatePlanCharge.js +32 -0
- package/dist/tools/subscriptions/removeSubscriptionRatePlanCharge.js.map +1 -0
- package/dist/tools/subscriptions/updateSubscription.d.ts +3 -0
- package/dist/tools/subscriptions/updateSubscription.d.ts.map +1 -0
- package/dist/tools/subscriptions/updateSubscription.js +46 -0
- package/dist/tools/subscriptions/updateSubscription.js.map +1 -0
- package/dist/tools/subscriptions/updateSubscriptionRatePlan.d.ts +3 -0
- package/dist/tools/subscriptions/updateSubscriptionRatePlan.d.ts.map +1 -0
- package/dist/tools/subscriptions/updateSubscriptionRatePlan.js +40 -0
- package/dist/tools/subscriptions/updateSubscriptionRatePlan.js.map +1 -0
- package/dist/tools/subscriptions/updateSubscriptionRatePlanCharge.d.ts +3 -0
- package/dist/tools/subscriptions/updateSubscriptionRatePlanCharge.d.ts.map +1 -0
- package/dist/tools/subscriptions/updateSubscriptionRatePlanCharge.js +195 -0
- package/dist/tools/subscriptions/updateSubscriptionRatePlanCharge.js.map +1 -0
- package/dist/tools/subscriptions/updateSubscriptionStatus.d.ts +3 -0
- package/dist/tools/subscriptions/updateSubscriptionStatus.d.ts.map +1 -0
- package/dist/tools/subscriptions/updateSubscriptionStatus.js +38 -0
- package/dist/tools/subscriptions/updateSubscriptionStatus.js.map +1 -0
- package/dist/tools/transactions/getTransaction.d.ts +3 -0
- package/dist/tools/transactions/getTransaction.d.ts.map +1 -0
- package/dist/tools/transactions/getTransaction.js +29 -0
- package/dist/tools/transactions/getTransaction.js.map +1 -0
- package/dist/tools/transactions/helpers.d.ts +6 -0
- package/dist/tools/transactions/helpers.d.ts.map +1 -0
- package/dist/tools/transactions/helpers.js +22 -0
- package/dist/tools/transactions/helpers.js.map +1 -0
- package/dist/tools/transactions/index.d.ts +11 -0
- package/dist/tools/transactions/index.d.ts.map +1 -0
- package/dist/tools/transactions/index.js +21 -0
- package/dist/tools/transactions/index.js.map +1 -0
- package/dist/tools/transactions/listTransactions.d.ts +3 -0
- package/dist/tools/transactions/listTransactions.d.ts.map +1 -0
- package/dist/tools/transactions/listTransactions.js +35 -0
- package/dist/tools/transactions/listTransactions.js.map +1 -0
- package/dist/tools/transactions/refundTransaction.d.ts +3 -0
- package/dist/tools/transactions/refundTransaction.d.ts.map +1 -0
- package/dist/tools/transactions/refundTransaction.js +35 -0
- package/dist/tools/transactions/refundTransaction.js.map +1 -0
- package/dist/tools/transactions/voidTransaction.d.ts +3 -0
- package/dist/tools/transactions/voidTransaction.d.ts.map +1 -0
- package/dist/tools/transactions/voidTransaction.js +32 -0
- package/dist/tools/transactions/voidTransaction.js.map +1 -0
- package/dist/tools/types.d.ts +34 -0
- package/dist/tools/types.d.ts.map +1 -0
- package/dist/tools/types.js +5 -0
- package/dist/tools/types.js.map +1 -0
- package/dist/types/addressInput.d.ts +97 -0
- package/dist/types/addressInput.d.ts.map +1 -0
- package/dist/types/addressInput.js +98 -0
- package/dist/types/addressInput.js.map +1 -0
- package/dist/types.d.ts +412 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +35 -0
- package/dist/types.js.map +1 -0
- package/package.json +58 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [1.0.0] - 2025-02-18
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- MCP server for the Rebillia subscription billing API
|
|
13
|
+
- Tools: customers, products, rate plans, rate plan charges, subscriptions, invoices, transactions, bill runs, gateways, currencies, integrations, shipping, filters, documentation
|
|
14
|
+
- Resources: API docs (overview, models, subscription-statuses, charge-types)
|
|
15
|
+
- `get_api_docs` tool for documentation without external fetch
|
|
16
|
+
- Vitest tests: client, customer tools, subscription tools, integration (MCP protocol)
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Rebillia
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
# Rebillia MCP Server
|
|
2
|
+
|
|
3
|
+
Model Context Protocol (MCP) server for the [Rebillia Public API](https://apiguide.rebillia.com/). It exposes **tools** to call the API and **resources** with API documentation so AI assistants can manage customers, products, rate plans, and understand the API.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Tools** – Call Rebillia endpoints from your MCP client (e.g. Cursor, Claude Desktop):
|
|
8
|
+
- **Customers** (21 tools) – List, get, create, update, delete; invoices, subscriptions, logs; addresses and payment methods; charges/credits
|
|
9
|
+
- **Products** (8 tools) – List, get, create, update, delete; update status; link/unlink external products
|
|
10
|
+
- **Product rate plans** (7 tools) – List by product, get, create, update, delete; update status; sync
|
|
11
|
+
- **Product rate plan charges** (5 tools) – List by product rate plan, get, create, update, delete (with chargeType, chargeModel, billingPeriod, billingTiming enums and chargeTier array)
|
|
12
|
+
- **Subscriptions** (20 tools) – List, get, create, update, delete; status; next bill, upcoming charges, invoices, logs, external invoices; subscription rate plans and rate plan charges (add/update/remove)
|
|
13
|
+
- **Invoices** (8 tools) – List, get, create, update, delete; charge (card/online with paymentType), charge_external (offline), void
|
|
14
|
+
- **Transactions** (4 tools) – List, get, refund (amount in **cents**), void (before settlement only)
|
|
15
|
+
- **Bill runs** (4 tools) – List (filter by completed/pending/error), get, update (newDateTime, ISO 8601), get bill run invoices
|
|
16
|
+
- **Gateways** (9 tools) – List global gateways (discover gblGatewayId and required setting keys), list company gateways, get, create, update, delete, test gateway, get client token, create setup intent
|
|
17
|
+
- **Currencies** (7 tools) – List, get, create, update, delete, get/set default currency
|
|
18
|
+
- **Integrations** (8 tools) – List, get config, get/list by key; external invoices, products, order statuses
|
|
19
|
+
- **Shipping** (2 tools) – List shipping services, calculate shipping
|
|
20
|
+
- **Filters** (4 tools) – List filters (section required), create filter, list filter fields, remove filter
|
|
21
|
+
- **Documentation** (1 tool) – `get_api_docs` returns overview or other API docs as markdown (no external fetch)
|
|
22
|
+
- **Resources** – API docs via MCP resources (`rebillia://docs/*`): overview, models, subscription-statuses, charge-types, gateways. Country list at `rebillia://globals/countries` (id, code, name) for address tools. Global gateways at `rebillia://globals/gateways` (gblGatewayId, requiredFields) for gateway creation. All docs are self-contained; use these or the tool instead of fetching external URLs.
|
|
23
|
+
- **Types** – TypeScript types aligned with the Rebillia Public API response shapes
|
|
24
|
+
|
|
25
|
+
## Requirements
|
|
26
|
+
|
|
27
|
+
- Node.js 18+
|
|
28
|
+
- A Rebillia API key (see below)
|
|
29
|
+
|
|
30
|
+
### Getting Your API Key
|
|
31
|
+
|
|
32
|
+
1. Go to [Rebillia setup / welcome](https://admin.rebillia.com/setup/welcome?source=dev).
|
|
33
|
+
2. **Select a plan** and continue.
|
|
34
|
+
3. **Sign up** (create an account) or **log in** if you already have a Rebillia account.
|
|
35
|
+
4. After you’re in your company, open the **dashboard**.
|
|
36
|
+
5. In the dashboard, **copy your API Token** and use it as `REBILLIA_API_KEY` in your environment or MCP client config.
|
|
37
|
+
|
|
38
|
+
## Setup
|
|
39
|
+
|
|
40
|
+
1. **Clone and install**
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
cd /path/to/rebillia-mcp-server
|
|
44
|
+
npm install
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
2. **Configure environment**
|
|
48
|
+
|
|
49
|
+
Copy the example env file and set your API key and optional base URL:
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
cp .env.example .env
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Edit `.env`:
|
|
56
|
+
|
|
57
|
+
```env
|
|
58
|
+
REBILLIA_API_KEY=your_api_key_here
|
|
59
|
+
REBILLIA_API_URL=https://api.rebillia.com/v1
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
- `REBILLIA_API_KEY` – **Required.** Used as `X-AUTH-TOKEN` for all requests.
|
|
63
|
+
- `REBILLIA_API_URL` – Optional. Defaults to `https://api.rebillia.com/v1` (include `/v1` for the Public API).
|
|
64
|
+
|
|
65
|
+
3. **Build**
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
npm run build
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## Usage
|
|
72
|
+
|
|
73
|
+
### Running the server
|
|
74
|
+
|
|
75
|
+
Development (no build step):
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
npm run dev
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Production:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
npm run build
|
|
85
|
+
npm start
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Or run the binary:
|
|
89
|
+
|
|
90
|
+
```bash
|
|
91
|
+
./node_modules/.bin/rebillia-mcp-server
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
The server uses **stdio** transport: it reads JSON-RPC from stdin and writes responses to stdout. MCP clients connect to it as a subprocess.
|
|
95
|
+
|
|
96
|
+
### Configuring Claude Desktop
|
|
97
|
+
|
|
98
|
+
1. **Build the server** (if you haven’t already):
|
|
99
|
+
```bash
|
|
100
|
+
npm run build
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
2. **Open the Claude Desktop MCP config file:**
|
|
104
|
+
- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
105
|
+
- **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
|
|
106
|
+
|
|
107
|
+
3. **Add the Rebillia server** under `mcpServers`:
|
|
108
|
+
|
|
109
|
+
```json
|
|
110
|
+
{
|
|
111
|
+
"mcpServers": {
|
|
112
|
+
"rebillia": {
|
|
113
|
+
"command": "npx",
|
|
114
|
+
"args": ["@rhinosaas/rebillia-mcp-server"],
|
|
115
|
+
"env": {
|
|
116
|
+
"REBILLIA_API_KEY": "YOUR_API_KEY",
|
|
117
|
+
"REBILLIA_API_URL": "https://api.rebillia.com/v1"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
4. **Restart Claude Desktop.** The Rebillia tools and resources (including `get_api_docs`) will appear. You can ask Claude to use the Rebillia API or to “get the API docs” for overview information.
|
|
125
|
+
|
|
126
|
+
### Configuring Cursor
|
|
127
|
+
|
|
128
|
+
1. **Build the server:**
|
|
129
|
+
```bash
|
|
130
|
+
npm run build
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
2. **Open Cursor MCP settings:**
|
|
134
|
+
- **Settings** → **Cursor Settings** → **MCP**, or
|
|
135
|
+
- Open the MCP config file directly:
|
|
136
|
+
- **macOS/Linux:** `~/.cursor/rebillia-mcp-server.json` or project-level `.cursor/mcp.json`
|
|
137
|
+
- **Windows:** `%USERPROFILE%\.cursor\-rebillia-mcp-server.json`
|
|
138
|
+
|
|
139
|
+
3. **Add the Rebillia server** in the MCP config. Example:
|
|
140
|
+
|
|
141
|
+
```json
|
|
142
|
+
{
|
|
143
|
+
"mcpServers": {
|
|
144
|
+
"rebillia": {
|
|
145
|
+
"command": "npx",
|
|
146
|
+
"args": ["@rhinosaas/rebillia-mcp-server"],
|
|
147
|
+
"env": {
|
|
148
|
+
"REBILLIA_API_KEY": "your_api_key_here",
|
|
149
|
+
"REBILLIA_API_URL": "https://api.rebillia.com/v1"
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
4. **Restart Cursor** or reload the MCP servers. Rebillia tools and resources will be available in the AI chat (e.g. “List customers”, “Get API docs”).
|
|
157
|
+
|
|
158
|
+
### Tools
|
|
159
|
+
|
|
160
|
+
Responses are JSON from the Rebillia Public API (paginated for list endpoints, single object for get).
|
|
161
|
+
|
|
162
|
+
#### Customers (21 tools)
|
|
163
|
+
|
|
164
|
+
| Tool | Description |
|
|
165
|
+
|------|-------------|
|
|
166
|
+
| `list_customers` | List customers (pageNo, itemPerPage, query, status, sortBy, orderBy, include, filterId). |
|
|
167
|
+
| `get_customer` | Get customer by ID (optional include). |
|
|
168
|
+
| `create_customer` | Create customer (firstName, lastName, email, optional fields). |
|
|
169
|
+
| `update_customer` | Update customer by ID. |
|
|
170
|
+
| `delete_customer` | Delete customer by ID. |
|
|
171
|
+
| `get_customer_invoices` | Get invoices for a customer. |
|
|
172
|
+
| `get_customer_subscriptions` | Get subscriptions for a customer. |
|
|
173
|
+
| `get_customer_logs` | Get logs for a customer. |
|
|
174
|
+
| `list_customer_addresses` | List address book entries for a customer. |
|
|
175
|
+
| `get_customer_address` | Get address by ID. |
|
|
176
|
+
| `create_customer_address` | Create address (name, contactName, street1, city, state, zip, countryCode (ISO 3166-1 alpha-2), type, …). |
|
|
177
|
+
| `update_customer_address` | Update address by ID. Required: customerId, addressId, street1, city, state, zip, countryCode. Optional: name, contactName, street2, company, contactEmail, contactPhone, type. |
|
|
178
|
+
| `delete_customer_address` | Delete address by ID. |
|
|
179
|
+
| `list_customer_payment_methods` | List payment methods for a customer. |
|
|
180
|
+
| `get_customer_payment_method` | Get payment method by ID. |
|
|
181
|
+
| `create_customer_payment_method` | Create payment method (gateway-agnostic). Required: companyGatewayId, type, **paymentMethodNonce**, billingAddress (countryCode, …). Get client credential via get_client_token; use your payment UI to produce paymentMethodNonce. No raw card data or gateway-specific fields. |
|
|
182
|
+
| `update_customer_payment_method` | Update payment method billing address (gateway-agnostic). Required: customerId, paymentMethodId, billingAddress (countryCode, …). No payment or gateway-specific fields. |
|
|
183
|
+
| `delete_customer_payment_method` | Delete payment method by ID. |
|
|
184
|
+
| `list_customer_charges_credits` | List charges/credits (optional status, type). |
|
|
185
|
+
| `create_customer_charge_credit` | Create charge/credit (amount in **cents**, description, type, companyCurrencyId, category, …). |
|
|
186
|
+
| `delete_customer_charge_credit` | Delete charge/credit by ID. |
|
|
187
|
+
|
|
188
|
+
#### Products (8 tools)
|
|
189
|
+
|
|
190
|
+
| Tool | Description |
|
|
191
|
+
|------|-------------|
|
|
192
|
+
| `list_products` | List products (include, orderBy, sortBy, itemPerPage, pageNo). |
|
|
193
|
+
| `get_product` | Get product by ID. |
|
|
194
|
+
| `create_product` | Create product (name, category, optional description, sku). |
|
|
195
|
+
| `update_product` | Update product by ID. |
|
|
196
|
+
| `delete_product` | Delete product by ID (cascades to product rate plans). |
|
|
197
|
+
| `update_product_status` | Update status (published, archived, disabled). |
|
|
198
|
+
| `link_external_product` | Link external product (productId, companyIntegrationId, external productId, settings). |
|
|
199
|
+
| `unlink_external_product` | Unlink external product by ID. |
|
|
200
|
+
|
|
201
|
+
#### Product rate plans (7 tools)
|
|
202
|
+
|
|
203
|
+
| Tool | Description |
|
|
204
|
+
|------|-------------|
|
|
205
|
+
| `list_product_rate_plans` | List product rate plans for a product (GET /products/{productId}/product-rateplans). |
|
|
206
|
+
| `get_product_rate_plan` | Get product rate plan by ID. |
|
|
207
|
+
| `create_product_rate_plan` | Create product rate plan (productId, name, type: contract\|ongoing\|prepaid). |
|
|
208
|
+
| `update_product_rate_plan` | Update product rate plan by ID. |
|
|
209
|
+
| `delete_product_rate_plan` | Delete product rate plan by ID. |
|
|
210
|
+
| `update_product_rate_plan_status` | Update status (published, archived, disabled, discontinue). |
|
|
211
|
+
| `sync_product_rate_plan` | Sync product rate plan (POST …/sync). |
|
|
212
|
+
|
|
213
|
+
#### Product rate plan charges (5 tools)
|
|
214
|
+
|
|
215
|
+
| Tool | Description |
|
|
216
|
+
|------|-------------|
|
|
217
|
+
| `list_product_rate_plan_charges` | List product rate plan charges for a product rate plan (GET …/product-rateplan-charges). |
|
|
218
|
+
| `get_product_rate_plan_charge` | Get product rate plan charge by ID. |
|
|
219
|
+
| `create_product_rate_plan_charge` | Create product rate plan charge (ratePlanId, name, chargeType, chargeModel, billCycleType, category, **chargeTier** array, taxable, weight, endDateCondition, …). Enums: chargeType (oneTime, recurring, usage), chargeModel (flatFeePricing, perUnitPricing, tieredPricing, volumePricing), billingPeriod (day, week, month, year), billingTiming (inAdvance, inArrears). |
|
|
220
|
+
| `update_product_rate_plan_charge` | Update product rate plan charge by ID. |
|
|
221
|
+
| `delete_product_rate_plan_charge` | Delete product rate plan charge by ID. |
|
|
222
|
+
|
|
223
|
+
#### Subscriptions (20 tools)
|
|
224
|
+
|
|
225
|
+
| Tool | Description |
|
|
226
|
+
|------|-------------|
|
|
227
|
+
| `list_subscriptions` | List subscriptions (include, status, query, orderBy, sortBy, itemPerPage, pageNo). |
|
|
228
|
+
| `get_subscription` | Get subscription by ID. |
|
|
229
|
+
| `create_subscription` | Create subscription (customerId, name, companyCurrencyId, effectiveStartDate, ratePlan array). |
|
|
230
|
+
| `update_subscription` | Update subscription by ID. |
|
|
231
|
+
| `delete_subscription` | Delete subscription by ID. |
|
|
232
|
+
| `update_subscription_status` | Update status (e.g. archived). |
|
|
233
|
+
| `get_subscription_next_bill` | Preview next bill. |
|
|
234
|
+
| `get_subscription_upcoming_charges` | Upcoming charges. |
|
|
235
|
+
| `get_subscription_invoices` | Invoices for subscription. |
|
|
236
|
+
| `get_subscription_logs` | Logs for subscription. |
|
|
237
|
+
| `get_subscription_external_invoices` | External invoices. |
|
|
238
|
+
| `list_subscription_rate_plans` | Rate plans on subscription. |
|
|
239
|
+
| `get_subscription_rate_plan` | Get rate plan by ID. |
|
|
240
|
+
| `add_subscription_rate_plan` | Add rate plan to subscription. |
|
|
241
|
+
| `update_subscription_rate_plan` | Update rate plan (effectiveStartDate, etc.). |
|
|
242
|
+
| `remove_subscription_rate_plan` | Remove rate plan from subscription. |
|
|
243
|
+
| `get_subscription_rate_plan_charge` | Get rate plan charge by ID. |
|
|
244
|
+
| `add_subscription_rate_plan_charge` | Add charge to rate plan. Required: subscriptionId, ratePlanId, quantity, name, category (physical\|digital), chargeModel (flatFeePricing\|perUnitPricing\|tieredPricing\|volumePricing), billCycleType, chargeTier (array: currency, price required; optional startingUnit, endingUnit, priceFormat, tier), chargeType (oneTime\|recurring\|usage), endDateCondition (subscriptionEnd\|fixedPeriod), taxable (boolean), weight. When chargeType is recurring, billingPeriodAlignment is also required. |
|
|
245
|
+
| `update_subscription_rate_plan_charge` | Update rate plan charge. Required: subscriptionId, chargeId, quantity, name, chargeModel, billCycleType, chargeTier (currency, price), chargeType, endDateCondition, taxable, weight. When chargeType is recurring, billingPeriodAlignment required. |
|
|
246
|
+
| `remove_subscription_rate_plan_charge` | Remove charge from rate plan. |
|
|
247
|
+
|
|
248
|
+
#### Invoices (8 tools)
|
|
249
|
+
|
|
250
|
+
| Tool | Description |
|
|
251
|
+
|------|-------------|
|
|
252
|
+
| `list_invoices` | List invoices (include, status, query, orderBy, sortBy, filterId, itemPerPage, pageNo). |
|
|
253
|
+
| `get_invoice` | Get invoice by ID. |
|
|
254
|
+
| `create_invoice` | Create invoice. Required: companyCurrencyId, companyGatewayId, customerId, paymentMethodId, detail. Optional billingAddress/shippingAddress use countryCode (ISO 3166-1 alpha-2). Amount can be '41.00' (dollars) or 4100 (cents); tool always sends cents to publicAPI. |
|
|
255
|
+
| `update_invoice` | Update invoice (only posted/requestPayment). |
|
|
256
|
+
| `delete_invoice` | Delete invoice by ID. |
|
|
257
|
+
| `charge_invoice` | Charge invoice (card/online). Required: invoiceId, amount (cents), paymentType (e.g. thirdPartyPaymentProvider). |
|
|
258
|
+
| `charge_invoice_external` | Charge via offline (cash/check/wire). Required: invoiceId, amount (cents). |
|
|
259
|
+
| `void_invoice` | Void invoice (irreversible). |
|
|
260
|
+
|
|
261
|
+
#### Transactions (4 tools)
|
|
262
|
+
|
|
263
|
+
| Tool | Description |
|
|
264
|
+
|------|-------------|
|
|
265
|
+
| `list_transactions` | List transactions (orderBy, sortBy, itemPerPage, pageNo). |
|
|
266
|
+
| `get_transaction` | Get transaction by ID. |
|
|
267
|
+
| `refund_transaction` | Refund transaction. Required: transactionId, amount (**in cents**, e.g. 250 = $2.50). |
|
|
268
|
+
| `void_transaction` | Void transaction (before settlement only). |
|
|
269
|
+
|
|
270
|
+
#### Bill runs (4 tools)
|
|
271
|
+
|
|
272
|
+
| Tool | Description |
|
|
273
|
+
|------|-------------|
|
|
274
|
+
| `list_bill_runs` | List bill runs. Optional: include (e.g. invoice), query (completed/pending/error), orderBy, sortBy, itemPerPage, pageNo. |
|
|
275
|
+
| `get_bill_run` | Get bill run by ID. |
|
|
276
|
+
| `update_bill_run` | Update bill run schedule. Required: billRunId, newDateTime (ISO 8601, e.g. 2026-02-26T20:05:00Z). |
|
|
277
|
+
| `get_bill_run_invoices` | Get invoices for a bill run. |
|
|
278
|
+
|
|
279
|
+
#### Gateways (9 tools)
|
|
280
|
+
|
|
281
|
+
| Tool | Description |
|
|
282
|
+
|------|-------------|
|
|
283
|
+
| `list_global_gateways` | List available global gateway types (e.g. Stripe, Braintree). Returns **gblGatewayId**, name, keyName, **requiredFields** (setting keys), and fieldDetails. Call this before `create_gateway` to discover valid gateway IDs and which keys to pass in `setting`. |
|
|
284
|
+
| `list_gateways` | List company gateways. |
|
|
285
|
+
| `get_gateway` | Get gateway by ID. |
|
|
286
|
+
| `create_gateway` | Create gateway. Required: **gblGatewayId** (from `list_global_gateways`), **setting** (object with keys from that gateway’s `requiredFields`). Optional: displayName, card, paymentMethod. Use `list_global_gateways` first to get gblGatewayId and required credential field names. |
|
|
287
|
+
| `update_gateway` | Update gateway by ID. |
|
|
288
|
+
| `delete_gateway` | Delete gateway by ID. |
|
|
289
|
+
| `test_gateway` | Test gateway connection. |
|
|
290
|
+
| `get_client_token` | Get the gateway client credential to initialize your payment integration and produce a **paymentMethodNonce** for create_customer_payment_method. Gateway-agnostic. Required: gatewayId. Optional: customerId; **required for PayFabric**, optional for others. |
|
|
291
|
+
| `create_setup_intent` | Create/retrieve a setup intent via `/gateways/{companyGatewayId}/customers/{customerId}/setup_intent`. Use setupIntent.id as **paymentMethodNonce** for create_customer_payment_method (gateway-agnostic payment flow). |
|
|
292
|
+
|
|
293
|
+
**Gateway creation example flow:** (1) Call `list_global_gateways` (no args). (2) Pick a gateway (e.g. Stripe, Braintree) and note its `gblGatewayId` and `requiredFields`. (3) Build a `setting` object with those keys and your credential values. (4) Call `create_gateway` with that `gblGatewayId` and `setting`. See `rebillia://docs/gateways` or `get_api_docs` with `doc: "gateways"` for full details.
|
|
294
|
+
|
|
295
|
+
#### Currencies (7 tools)
|
|
296
|
+
|
|
297
|
+
| Tool | Description |
|
|
298
|
+
|------|-------------|
|
|
299
|
+
| `list_currencies` | List company currencies. |
|
|
300
|
+
| `get_currency` | Get currency by ID. |
|
|
301
|
+
| `create_currency` | Create company currency. |
|
|
302
|
+
| `update_currency` | Update currency by ID. |
|
|
303
|
+
| `delete_currency` | Delete currency by ID. |
|
|
304
|
+
| `get_default_currency` | Get default company currency. |
|
|
305
|
+
| `set_default_currency` | Set default currency by ID. |
|
|
306
|
+
|
|
307
|
+
#### Integrations (8 tools)
|
|
308
|
+
|
|
309
|
+
| Tool | Description |
|
|
310
|
+
|------|-------------|
|
|
311
|
+
| `list_integrations` | List company integrations. |
|
|
312
|
+
| `get_integration_config` | Get integration config by ID. |
|
|
313
|
+
| `get_integration_by_key` | Get integration by key. |
|
|
314
|
+
| `list_integrations_by_key` | List integrations by key. |
|
|
315
|
+
| `list_external_invoices` | List external invoices. |
|
|
316
|
+
| `list_external_products` | List external products (productName required). |
|
|
317
|
+
| `get_external_product` | Get external product by ID. |
|
|
318
|
+
| `list_order_statuses` | List order statuses. |
|
|
319
|
+
|
|
320
|
+
#### Shipping (2 tools)
|
|
321
|
+
|
|
322
|
+
| Tool | Description |
|
|
323
|
+
|------|-------------|
|
|
324
|
+
| `list_shipping_services` | List shipping services. |
|
|
325
|
+
| `calculate_shipping` | Calculate shipping (companyCurrencyId, fromZip, fromCountry, zip, country, weight, orderAmount, etc.). |
|
|
326
|
+
|
|
327
|
+
#### Filters (4 tools)
|
|
328
|
+
|
|
329
|
+
| Tool | Description |
|
|
330
|
+
|------|-------------|
|
|
331
|
+
| `list_filters` | List company filters. Required: section (e.g. subscriptions, invoices, customers, products, orders, billRuns). |
|
|
332
|
+
| `create_filter` | Create filter (section, displayName, rules). |
|
|
333
|
+
| `list_filter_fields` | List filter fields for a section. |
|
|
334
|
+
| `remove_filter` | Delete a company filter by ID (DELETE /companies/filters/{filterId}). |
|
|
335
|
+
|
|
336
|
+
#### Documentation (1 tool)
|
|
337
|
+
|
|
338
|
+
| Tool | Description |
|
|
339
|
+
|------|-------------|
|
|
340
|
+
| `get_api_docs` | Get Rebillia API documentation as markdown. Default: overview (base URLs, auth, pagination, dates, amounts). Optional: doc = overview \| models \| subscription-statuses \| charge-types \| gateways. Use this so Claude can read docs without fetching external URLs. |
|
|
341
|
+
|
|
342
|
+
### Resources
|
|
343
|
+
|
|
344
|
+
API documentation is exposed as MCP resources under `rebillia://docs/*`. Use `resources/list` then `resources/read` with the URI, or call the `get_api_docs` tool. All docs are self-contained; do not fetch external URLs.
|
|
345
|
+
|
|
346
|
+
| URI | Description |
|
|
347
|
+
|-----|-------------|
|
|
348
|
+
| `rebillia://docs/overview` | Overview documentation – base URLs, auth, pagination, date format, amount handling (read this first) |
|
|
349
|
+
| `rebillia://docs/models` | Domain model hierarchy and relationships |
|
|
350
|
+
| `rebillia://docs/subscription-statuses` | Subscription statuses: active, paused, archived, requestPayment |
|
|
351
|
+
| `rebillia://docs/charge-types` | chargeType, chargeModel, billingPeriod, billingTiming enums |
|
|
352
|
+
| `rebillia://docs/gateways` | Gateway creation flow: use `list_global_gateways` to discover gblGatewayId and requiredFields, then build `setting` and call `create_gateway` |
|
|
353
|
+
| `rebillia://globals/gateways` | Global gateways list (when client provided): gblGatewayId, name, keyName, requiredFields, fieldDetails – use with `create_gateway` |
|
|
354
|
+
|
|
355
|
+
## Project structure
|
|
356
|
+
|
|
357
|
+
```
|
|
358
|
+
mcp/
|
|
359
|
+
├── src/
|
|
360
|
+
│ ├── index.ts # MCP server entry, registerResources(), tools & resources handlers
|
|
361
|
+
│ ├── client.ts # HTTP client for Rebillia API (X-AUTH-TOKEN)
|
|
362
|
+
│ ├── types.ts # Rebillia API types (customers, invoices, etc.)
|
|
363
|
+
│ ├── services/ # API call layer (used by tools)
|
|
364
|
+
│ │ ├── customerServices.ts
|
|
365
|
+
│ │ ├── productServices.ts
|
|
366
|
+
│ │ ├── productRatePlanServices.ts
|
|
367
|
+
│ │ ├── productRatePlanChargeServices.ts
|
|
368
|
+
│ │ ├── subscriptionServices.ts
|
|
369
|
+
│ │ ├── invoiceServices.ts
|
|
370
|
+
│ │ ├── transactionServices.ts
|
|
371
|
+
│ │ ├── billRunServices.ts
|
|
372
|
+
│ │ ├── gatewayServices.ts
|
|
373
|
+
│ │ ├── currencyServices.ts
|
|
374
|
+
│ │ ├── integrationServices.ts
|
|
375
|
+
│ │ ├── shippingServices.ts
|
|
376
|
+
│ │ └── filterServices.ts
|
|
377
|
+
│ ├── tools/
|
|
378
|
+
│ │ ├── index.ts # Tool registry, getToolDefinitions(), executeTool()
|
|
379
|
+
│ │ ├── types.ts # Tool definition and handler types
|
|
380
|
+
│ │ ├── customers/ # Customer tools (21)
|
|
381
|
+
│ │ ├── products/ # Product tools (8)
|
|
382
|
+
│ │ ├── product_rate_plans/ # Product rate plan tools (7)
|
|
383
|
+
│ │ ├── product_rate_plan_charges/# Product rate plan charge tools (5)
|
|
384
|
+
│ │ ├── subscriptions/ # Subscription tools (20)
|
|
385
|
+
│ │ ├── invoices/ # Invoice tools (8)
|
|
386
|
+
│ │ ├── transactions/ # Transaction tools (4)
|
|
387
|
+
│ │ ├── bill_runs/ # Bill run tools (4)
|
|
388
|
+
│ │ ├── gateways/ # Gateway tools (8)
|
|
389
|
+
│ │ ├── currencies/ # Currency tools (7)
|
|
390
|
+
│ │ ├── integrations/ # Integration tools (8)
|
|
391
|
+
│ │ ├── shipping/ # Shipping tools (2)
|
|
392
|
+
│ │ ├── filters/ # Filter tools (4)
|
|
393
|
+
│ │ └── docs/ # get_api_docs (1)
|
|
394
|
+
│ ├── resources/
|
|
395
|
+
│ │ ├── index.ts # listResources(), readResource() (legacy apiResources)
|
|
396
|
+
│ │ └── api-docs.ts # registerResources(), docResources (rebillia://docs/*), getDocContent()
|
|
397
|
+
│ └── prompts/ # (reserved for MCP prompts)
|
|
398
|
+
├── .env.example
|
|
399
|
+
├── package.json
|
|
400
|
+
├── tsconfig.json
|
|
401
|
+
└── README.md
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
## Scripts
|
|
405
|
+
|
|
406
|
+
| Script | Command | Description |
|
|
407
|
+
|--------|---------|-------------|
|
|
408
|
+
| build | `npm run build` | Compile TypeScript to `dist/` |
|
|
409
|
+
| start | `npm start` | Run `node dist/index.js` |
|
|
410
|
+
| dev | `npm run dev` | Run with `tsx` (no build) |
|
|
411
|
+
| test | `npm test` | Run Vitest |
|
|
412
|
+
|
|
413
|
+
## License
|
|
414
|
+
|
|
415
|
+
MIT
|
package/dist/client.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HTTP client for the Rebillia REST API
|
|
3
|
+
*/
|
|
4
|
+
export default class RebilliaClient {
|
|
5
|
+
private apiKey;
|
|
6
|
+
private baseUrl;
|
|
7
|
+
constructor(apiKey: string, baseUrl?: string);
|
|
8
|
+
/**
|
|
9
|
+
* Root base URL without trailing /v1 (some endpoints like /globals/* are not versioned).
|
|
10
|
+
*/
|
|
11
|
+
private rootBaseUrl;
|
|
12
|
+
/**
|
|
13
|
+
* Authenticate API requests with X-AUTH-TOKEN header
|
|
14
|
+
*/
|
|
15
|
+
private authenticate;
|
|
16
|
+
/**
|
|
17
|
+
* Handle API errors with descriptive messages
|
|
18
|
+
*/
|
|
19
|
+
private handleError;
|
|
20
|
+
/**
|
|
21
|
+
* GET request
|
|
22
|
+
*/
|
|
23
|
+
get<T = any>(endpoint: string): Promise<T>;
|
|
24
|
+
/**
|
|
25
|
+
* GET request against API root (no /v1). Use for endpoints like /globals/countries.
|
|
26
|
+
*/
|
|
27
|
+
getRoot<T = any>(endpoint: string): Promise<T>;
|
|
28
|
+
/**
|
|
29
|
+
* POST request against API root (no /v1). Use for unversioned/internal endpoints.
|
|
30
|
+
*/
|
|
31
|
+
postRoot<T = any>(endpoint: string, data?: any): Promise<T>;
|
|
32
|
+
/**
|
|
33
|
+
* POST request
|
|
34
|
+
*/
|
|
35
|
+
post<T = any>(endpoint: string, data?: any): Promise<T>;
|
|
36
|
+
/**
|
|
37
|
+
* PUT request
|
|
38
|
+
*/
|
|
39
|
+
put<T = any>(endpoint: string, data?: any): Promise<T>;
|
|
40
|
+
/**
|
|
41
|
+
* DELETE request
|
|
42
|
+
*/
|
|
43
|
+
delete<T = any>(endpoint: string): Promise<T>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,OAAO,CAAS;gBAEZ,MAAM,EAAE,MAAM,EAAE,OAAO,GAAE,MAAsC;IAK3E;;OAEG;IACH,OAAO,CAAC,WAAW;IAInB;;OAEG;IACH,OAAO,CAAC,YAAY;IAOpB;;OAEG;YACW,WAAW;IAazB;;OAEG;IACG,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;IAchD;;OAEG;IACG,OAAO,CAAC,CAAC,GAAG,GAAG,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;IAcpD;;OAEG;IACG,QAAQ,CAAC,CAAC,GAAG,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC;IAejE;;OAEG;IACG,IAAI,CAAC,CAAC,GAAG,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC;IAe7D;;OAEG;IACG,GAAG,CAAC,CAAC,GAAG,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,CAAC,CAAC;IAe5D;;OAEG;IACG,MAAM,CAAC,CAAC,GAAG,GAAG,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC;CAgBpD"}
|
package/dist/client.js
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* HTTP client for the Rebillia REST API
|
|
3
|
+
*/
|
|
4
|
+
export default class RebilliaClient {
|
|
5
|
+
apiKey;
|
|
6
|
+
baseUrl;
|
|
7
|
+
constructor(apiKey, baseUrl = "https://api.rebillia.com/v1") {
|
|
8
|
+
this.apiKey = apiKey;
|
|
9
|
+
this.baseUrl = baseUrl;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Root base URL without trailing /v1 (some endpoints like /globals/* are not versioned).
|
|
13
|
+
*/
|
|
14
|
+
rootBaseUrl() {
|
|
15
|
+
return this.baseUrl.replace(/\/v1\/?$/, "");
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Authenticate API requests with X-AUTH-TOKEN header
|
|
19
|
+
*/
|
|
20
|
+
authenticate() {
|
|
21
|
+
return {
|
|
22
|
+
"X-AUTH-TOKEN": this.apiKey,
|
|
23
|
+
"Content-Type": "application/json",
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Handle API errors with descriptive messages
|
|
28
|
+
*/
|
|
29
|
+
async handleError(response) {
|
|
30
|
+
let errorBody;
|
|
31
|
+
try {
|
|
32
|
+
errorBody = await response.text();
|
|
33
|
+
}
|
|
34
|
+
catch {
|
|
35
|
+
errorBody = "Unable to read error response";
|
|
36
|
+
}
|
|
37
|
+
throw new Error(`Rebillia API error (${response.status} ${response.statusText}): ${errorBody}`);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* GET request
|
|
41
|
+
*/
|
|
42
|
+
async get(endpoint) {
|
|
43
|
+
const url = `${this.baseUrl}${endpoint}`;
|
|
44
|
+
const response = await fetch(url, {
|
|
45
|
+
method: "GET",
|
|
46
|
+
headers: this.authenticate(),
|
|
47
|
+
});
|
|
48
|
+
if (!response.ok) {
|
|
49
|
+
await this.handleError(response);
|
|
50
|
+
}
|
|
51
|
+
return response.json();
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* GET request against API root (no /v1). Use for endpoints like /globals/countries.
|
|
55
|
+
*/
|
|
56
|
+
async getRoot(endpoint) {
|
|
57
|
+
const url = `${this.rootBaseUrl()}${endpoint}`;
|
|
58
|
+
const response = await fetch(url, {
|
|
59
|
+
method: "GET",
|
|
60
|
+
headers: this.authenticate(),
|
|
61
|
+
});
|
|
62
|
+
if (!response.ok) {
|
|
63
|
+
await this.handleError(response);
|
|
64
|
+
}
|
|
65
|
+
return response.json();
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* POST request against API root (no /v1). Use for unversioned/internal endpoints.
|
|
69
|
+
*/
|
|
70
|
+
async postRoot(endpoint, data) {
|
|
71
|
+
const url = `${this.rootBaseUrl()}${endpoint}`;
|
|
72
|
+
const response = await fetch(url, {
|
|
73
|
+
method: "POST",
|
|
74
|
+
headers: this.authenticate(),
|
|
75
|
+
body: data ? JSON.stringify(data) : undefined,
|
|
76
|
+
});
|
|
77
|
+
if (!response.ok) {
|
|
78
|
+
await this.handleError(response);
|
|
79
|
+
}
|
|
80
|
+
return response.json();
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* POST request
|
|
84
|
+
*/
|
|
85
|
+
async post(endpoint, data) {
|
|
86
|
+
const url = `${this.baseUrl}${endpoint}`;
|
|
87
|
+
const response = await fetch(url, {
|
|
88
|
+
method: "POST",
|
|
89
|
+
headers: this.authenticate(),
|
|
90
|
+
body: data ? JSON.stringify(data) : undefined,
|
|
91
|
+
});
|
|
92
|
+
if (!response.ok) {
|
|
93
|
+
await this.handleError(response);
|
|
94
|
+
}
|
|
95
|
+
return response.json();
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* PUT request
|
|
99
|
+
*/
|
|
100
|
+
async put(endpoint, data) {
|
|
101
|
+
const url = `${this.baseUrl}${endpoint}`;
|
|
102
|
+
const response = await fetch(url, {
|
|
103
|
+
method: "PUT",
|
|
104
|
+
headers: this.authenticate(),
|
|
105
|
+
body: data ? JSON.stringify(data) : undefined,
|
|
106
|
+
});
|
|
107
|
+
if (!response.ok) {
|
|
108
|
+
await this.handleError(response);
|
|
109
|
+
}
|
|
110
|
+
return response.json();
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* DELETE request
|
|
114
|
+
*/
|
|
115
|
+
async delete(endpoint) {
|
|
116
|
+
const url = `${this.baseUrl}${endpoint}`;
|
|
117
|
+
const response = await fetch(url, {
|
|
118
|
+
method: "DELETE",
|
|
119
|
+
headers: this.authenticate(),
|
|
120
|
+
});
|
|
121
|
+
if (!response.ok) {
|
|
122
|
+
await this.handleError(response);
|
|
123
|
+
}
|
|
124
|
+
if (response.status === 204) {
|
|
125
|
+
return {};
|
|
126
|
+
}
|
|
127
|
+
return response.json();
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
//# sourceMappingURL=client.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"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"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA;;;GAGG;AAEH,OAAO,eAAe,CAAC"}
|