chargebee-typescript
chargebee-typescript copied to clipboard
Typescript library for the Chargebee API.
```ts async acknowledge(id: string): Promise { try { const result = await this.chargebee.hosted_page.retrieve(id).request(); this.logger.debug(`${JSON.stringify(result)}`); const hosted_page: HostedPage = result?.hosted_page; this.logger.debug(`${JSON.stringify(hosted_page)}`); if ( hosted_page.type === 'checkout_new' && hosted_page.state === 'succeeded' )...
Version: [email protected] Using this ``` const response = await this.chargebee.subscription .list({ 'sort_by[desc]': 'created_at', customer_id: { is: customerId, }, }) .request(); return response.list; ``` it returns an array of empty objects...
Hey there, in the modern times the "Edge" runtime gets more and more attention. It is a subset of the NodeJS API which makes it faster and more suitable for...
Hello everyone 👋 We're excited to announce the release of Chargebee v3 (beta) SDK for Node.js / TypeScript! Here are some major changes / new features in the new version:...
I see the chargebee SDK is clearly autogenerated. I'm just a Chargebee customer, but a lot of big companies have been picking up https://www.stainlessapi.com/ as their SDK generator of choice....
Add missing `feature_type` to SubscriptionEntitlement, which is present in the API response
Using the filter options `is`, `in`, etc, I run into problems: ```typescript const entitlements = await this.chargebee?.entitlement .list({ feature_id: { is: featureId }, entity_type: { in: ['plan_price'] }, }) .request();...
Since `@types/q` is listed in `devDependencies` then it is not installed when `chargebee-typescript` is installed. Projects that use `chargebee-typescript` can have problems with the typescript compilation without this package and...
## Context A typical use case for me is to check the `value` when fetching `SubscriptionEntitlement`. One example API call: ```typescript import { ChargeBee } from 'chargebee-typescript'; const chargebee =...