Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.23.1
3.24.0
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "chargebee",
"version": "3.23.1",
"version": "3.24.0",
"description": "A library for integrating with Chargebee.",
"scripts": {
"prepack": "npm install && npm run build",
Expand Down
2 changes: 1 addition & 1 deletion src/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const Environment = {
hostSuffix: '.chargebee.com',
apiPath: '/api/v2',
timeout: DEFAULT_TIME_OUT,
clientVersion: 'v3.23.1',
clientVersion: 'v3.24.0',
port: DEFAULT_PORT,
timemachineWaitInMillis: DEFAULT_TIME_MACHINE_WAIT,
exportWaitInMillis: DEFAULT_EXPORT_WAIT,
Expand Down
84 changes: 82 additions & 2 deletions src/resources/api_endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ interface Endpoints {
quotedDeltaRamp: EndpointTuple[];
billingConfiguration: EndpointTuple[];
quoteLineGroup: EndpointTuple[];
quoteEntitlement: EndpointTuple[];
cpqQuoteSignature: EndpointTuple[];
plan: EndpointTuple[];
addon: EndpointTuple[];
Expand Down Expand Up @@ -109,6 +110,7 @@ interface Endpoints {
usageSummary: EndpointTuple[];
usageCharge: EndpointTuple[];
alert: EndpointTuple[];
filterCondition: EndpointTuple[];
alertStatus: EndpointTuple[];
impactedCustomer: EndpointTuple[];
subscriptionEntitlementsUpdatedDetail: EndpointTuple[];
Expand Down Expand Up @@ -3145,6 +3147,7 @@ export const Endpoints: Endpoints = {
quotedDeltaRamp: [],
billingConfiguration: [],
quoteLineGroup: [],
quoteEntitlement: [],
cpqQuoteSignature: [],
plan: [
[
Expand Down Expand Up @@ -5088,8 +5091,85 @@ export const Endpoints: Endpoints = {
{},
],
],
alert: [],
alertStatus: [],
alert: [
[
'create',
'POST',
'/alerts',
null,
false,
null,
false,
{},
{
isIdempotent: true,
},
],
['retrieve', 'GET', '/alerts', null, true, null, false, {}, {}],
['list', 'GET', '/alerts', null, false, null, false, {}, {}],
[
'update',
'POST',
'/alerts',
null,
true,
null,
false,
{},
{
isIdempotent: true,
},
],
[
'delete',
'POST',
'/alerts',
'/delete',
true,
null,
false,
{},
{
isIdempotent: true,
},
],
[
'application_alertsForSubscription',
'GET',
Comment thread
cb-alish marked this conversation as resolved.
'/subscriptions',
'/applicable_alerts',
true,
null,
false,
{},
{},
],
],
filterCondition: [],
alertStatus: [
[
'alert_statusesForSubscription',
'GET',
'/subscriptions',
'/alert_statuses',
true,
null,
false,
{},
{},
],
[
'alert_statusesForAlert',
'GET',
'/alerts',
'/alert_statuses',
true,
null,
false,
{},
{},
],
],
impactedCustomer: [],
subscriptionEntitlementsUpdatedDetail: [],
subscriptionEntitlementsCreatedDetail: [],
Expand Down
40 changes: 32 additions & 8 deletions types/core.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ declare module 'chargebee' {
| 'business_checking'
| 'current';
type ActionEnum = 'upsert' | 'remove';
type AlarmStatusEnum = 'within_limit' | 'in_alarm';
type ApiVersionEnum = 'v1' | 'v2';
type ApplyOnEnum = 'invoice_amount' | 'specific_item_price';
type AutoCollectionEnum = 'on' | 'off';
Expand Down Expand Up @@ -118,6 +119,10 @@ declare module 'chargebee' {
| 'plan_item_price'
| 'addon_item_price'
| 'charge_item_price'
| 'plan_price'
| 'addon_price'
| 'charge_price'
| 'charge'
| 'invoice'
| 'quote'
| 'credit_note'
Expand All @@ -131,9 +136,6 @@ declare module 'chargebee' {
| 'plan_item'
| 'addon_item'
| 'charge_item'
| 'plan_price'
| 'addon_price'
| 'charge_price'
| 'differential_price'
| 'attached_item'
| 'feature'
Expand All @@ -152,8 +154,7 @@ declare module 'chargebee' {
| 'usage_file'
| 'business_rule'
| 'ruleset'
| 'alert_status'
| 'charge';
| 'alert_status';
type EventNameEnum = 'cancellation_page_loaded';
type EventTypeEnum =
| 'coupon_created'
Expand Down Expand Up @@ -435,6 +436,8 @@ declare module 'chargebee' {
| 'ezidebit'
| 'twikey'
| 'tempus'
| 'moyasar'
| 'payway'
| 'gocardless'
| 'not_applicable';
type HierarchyOperationTypeEnum =
Expand All @@ -444,6 +447,7 @@ declare module 'chargebee' {
type InvoiceDunningHandlingEnum = 'continue' | 'stop';
type ItemTypeEnum = 'plan' | 'addon' | 'charge';
type LayoutEnum = 'in_app' | 'full_page';
type ModeEnum = 'absolute' | 'percentage';
type NotifyReferralSystemEnum =
| 'none'
| 'first_paid_conversion'
Expand Down Expand Up @@ -519,7 +523,14 @@ declare module 'chargebee' {
| 'naver_pay'
| 'revolut_pay'
| 'cash_app_pay'
| 'pix';
| 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
| 'payme';
type PaymentMethodSavePolicyEnum = 'always' | 'ask' | 'never';
type PaymentMethodTypeEnum =
| 'card'
Expand Down Expand Up @@ -556,7 +567,14 @@ declare module 'chargebee' {
| 'naver_pay'
| 'revolut_pay'
| 'cash_app_pay'
| 'pix';
| 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
| 'payme';
type PaymentVoucherTypeEnum = 'boleto';
type PeriodUnitEnum = 'day' | 'week' | 'month' | 'year';
type PriceTypeEnum = 'tax_exclusive' | 'tax_inclusive';
Expand Down Expand Up @@ -660,6 +678,13 @@ declare module 'chargebee' {
| 'revolut_pay'
| 'cash_app_pay'
| 'pix'
| 'twint'
| 'go_pay'
| 'grab_pay'
| 'pay_co'
| 'after_pay'
| 'swish'
| 'payme'
| 'free_trial'
| 'pay_up_front'
| 'pay_as_you_go'
Expand All @@ -678,7 +703,6 @@ declare module 'chargebee' {
type VoucherTypeEnum = 'boleto';
type WindowSizeEnum = 'month' | 'week' | 'day' | 'hour' | 'minute';
type ChargeOnEnum = 'immediately' | 'on_event';
type AlertStatusEnum = AlertStatusEnum;
type EnabledEventsEnum =
| 'coupon_created'
| 'coupon_updated'
Expand Down
4 changes: 4 additions & 0 deletions types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
///<reference path='./resources/Event.d.ts' />
///<reference path='./resources/Export.d.ts' />
///<reference path='./resources/Feature.d.ts' />
///<reference path='./resources/FilterCondition.d.ts' />
///<reference path='./resources/GatewayErrorDetail.d.ts' />
///<reference path='./resources/Gift.d.ts' />
///<reference path='./resources/Hierarchy.d.ts' />
Expand Down Expand Up @@ -75,6 +76,7 @@
///<reference path='./resources/PromotionalCredit.d.ts' />
///<reference path='./resources/Purchase.d.ts' />
///<reference path='./resources/Quote.d.ts' />
///<reference path='./resources/QuoteEntitlement.d.ts' />
///<reference path='./resources/QuoteLineGroup.d.ts' />
///<reference path='./resources/QuotedCharge.d.ts' />
///<reference path='./resources/QuotedDeltaRamp.d.ts' />
Expand Down Expand Up @@ -186,6 +188,8 @@ declare module 'chargebee' {
constructor(config: Config);
addon: Addon.AddonResource;
address: Address.AddressResource;
alert: Alert.AlertResource;
alertStatu: AlertStatus.AlertStatusResource;
attachedItem: AttachedItem.AttachedItemResource;
Comment thread
cb-alish marked this conversation as resolved.
businessEntity: BusinessEntity.BusinessEntityResource;
card: Card.CardResource;
Expand Down
Loading
Loading