orb-billing
Advanced tools
Comparing version 4.47.1 to 4.47.2
{ | ||
"name": "orb-billing", | ||
"version": "4.47.1", | ||
"version": "4.47.2", | ||
"description": "The official TypeScript library for the Orb API", | ||
@@ -5,0 +5,0 @@ "author": "Orb <team@withorb.com>", |
@@ -15,18 +15,16 @@ export interface AmountDiscount { | ||
export type BillingCycleRelativeDate = 'start_of_term' | 'end_of_term'; | ||
export type Discount = PercentageDiscount | TrialDiscount | Discount.UsageDiscount | AmountDiscount; | ||
export declare namespace Discount { | ||
interface UsageDiscount { | ||
/** | ||
* List of price_ids that this discount applies to. For plan/plan phase discounts, | ||
* this can be a subset of prices. | ||
*/ | ||
applies_to_price_ids: Array<string>; | ||
discount_type: 'usage'; | ||
/** | ||
* Only available if discount_type is `usage`. Number of usage units that this | ||
* discount is for | ||
*/ | ||
usage_discount: number; | ||
reason?: string | null; | ||
} | ||
export type Discount = PercentageDiscount | TrialDiscount | UsageDiscount | AmountDiscount; | ||
export interface UsageDiscount { | ||
/** | ||
* List of price_ids that this discount applies to. For plan/plan phase discounts, | ||
* this can be a subset of prices. | ||
*/ | ||
applies_to_price_ids: Array<string>; | ||
discount_type: 'usage'; | ||
/** | ||
* Only available if discount_type is `usage`. Number of usage units that this | ||
* discount is for | ||
*/ | ||
usage_discount: number; | ||
reason?: string | null; | ||
} | ||
@@ -33,0 +31,0 @@ export type InvoiceLevelDiscount = PercentageDiscount | AmountDiscount | TrialDiscount; |
@@ -22,22 +22,20 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
export type Discount = PercentageDiscount | TrialDiscount | Discount.UsageDiscount | AmountDiscount; | ||
export type Discount = PercentageDiscount | TrialDiscount | UsageDiscount | AmountDiscount; | ||
export namespace Discount { | ||
export interface UsageDiscount { | ||
/** | ||
* List of price_ids that this discount applies to. For plan/plan phase discounts, | ||
* this can be a subset of prices. | ||
*/ | ||
applies_to_price_ids: Array<string>; | ||
export interface UsageDiscount { | ||
/** | ||
* List of price_ids that this discount applies to. For plan/plan phase discounts, | ||
* this can be a subset of prices. | ||
*/ | ||
applies_to_price_ids: Array<string>; | ||
discount_type: 'usage'; | ||
discount_type: 'usage'; | ||
/** | ||
* Only available if discount_type is `usage`. Number of usage units that this | ||
* discount is for | ||
*/ | ||
usage_discount: number; | ||
/** | ||
* Only available if discount_type is `usage`. Number of usage units that this | ||
* discount is for | ||
*/ | ||
usage_discount: number; | ||
reason?: string | null; | ||
} | ||
reason?: string | null; | ||
} | ||
@@ -44,0 +42,0 @@ |
@@ -1,1 +0,1 @@ | ||
export const VERSION = '4.47.1'; // x-release-please-version | ||
export const VERSION = '4.47.2'; // x-release-please-version |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "4.47.1"; | ||
export declare const VERSION = "4.47.2"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '4.47.1'; // x-release-please-version | ||
exports.VERSION = '4.47.2'; // x-release-please-version | ||
//# sourceMappingURL=version.js.map |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
4586710
91289