orb-billing
Advanced tools
Comparing version 4.3.0 to 4.4.0
# Changelog | ||
## 4.4.0 (2024-08-17) | ||
Full Changelog: [v4.3.0...v4.4.0](https://github.com/orbcorp/orb-node/compare/v4.3.0...v4.4.0) | ||
### Features | ||
* **api:** OpenAPI spec update via Stainless API ([#262](https://github.com/orbcorp/orb-node/issues/262)) ([e9cbe38](https://github.com/orbcorp/orb-node/commit/e9cbe3879ac4d59bfd54fc8ac73c5107cefccff7)) | ||
## 4.3.0 (2024-08-16) | ||
@@ -4,0 +12,0 @@ |
{ | ||
"name": "orb-billing", | ||
"version": "4.3.0", | ||
"version": "4.4.0", | ||
"description": "The official TypeScript library for the Orb API", | ||
@@ -5,0 +5,0 @@ "author": "Orb <team@withorb.com>", |
@@ -221,3 +221,3 @@ import { APIResource } from "../../resource.js"; | ||
*/ | ||
prices: Array<PlanCreateParams.NewPlanUnitPrice | PlanCreateParams.NewPlanPackagePrice | PlanCreateParams.NewPlanMatrixPrice | PlanCreateParams.NewPlanTieredPrice | PlanCreateParams.NewPlanTieredBpsPrice | PlanCreateParams.NewPlanBpsPrice | PlanCreateParams.NewPlanBulkBpsPrice | PlanCreateParams.NewPlanBulkPrice | PlanCreateParams.NewPlanThresholdTotalAmountPrice | PlanCreateParams.NewPlanTieredPackagePrice | PlanCreateParams.NewPlanTieredWithMinimumPrice | PlanCreateParams.NewPlanUnitWithPercentPrice | PlanCreateParams.NewPlanPackageWithAllocationPrice | PlanCreateParams.NewPlanTierWithProrationPrice | PlanCreateParams.NewPlanUnitWithProrationPrice | PlanCreateParams.NewPlanGroupedAllocationPrice>; | ||
prices: Array<PlanCreateParams.NewPlanUnitPrice | PlanCreateParams.NewPlanPackagePrice | PlanCreateParams.NewPlanMatrixPrice | PlanCreateParams.NewPlanTieredPrice | PlanCreateParams.NewPlanTieredBpsPrice | PlanCreateParams.NewPlanBpsPrice | PlanCreateParams.NewPlanBulkBpsPrice | PlanCreateParams.NewPlanBulkPrice | PlanCreateParams.NewPlanThresholdTotalAmountPrice | PlanCreateParams.NewPlanTieredPackagePrice | PlanCreateParams.NewPlanTieredWithMinimumPrice | PlanCreateParams.NewPlanUnitWithPercentPrice | PlanCreateParams.NewPlanPackageWithAllocationPrice | PlanCreateParams.NewPlanTierWithProrationPrice | PlanCreateParams.NewPlanUnitWithProrationPrice | PlanCreateParams.NewPlanGroupedAllocationPrice | PlanCreateParams.NewPlanBulkWithProrationPrice>; | ||
/** | ||
@@ -1272,2 +1272,56 @@ * Free-form text which is available on the invoice PDF and the Orb invoice portal. | ||
} | ||
interface NewPlanBulkWithProrationPrice { | ||
bulk_with_proration_config: Record<string, unknown>; | ||
/** | ||
* The cadence to bill for this price on. | ||
*/ | ||
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom'; | ||
/** | ||
* The id of the item the plan will be associated with. | ||
*/ | ||
item_id: string; | ||
model_type: 'bulk_with_proration'; | ||
/** | ||
* The name of the price. | ||
*/ | ||
name: string; | ||
/** | ||
* The id of the billable metric for the price. Only needed if the price is | ||
* usage-based. | ||
*/ | ||
billable_metric_id?: string | null; | ||
/** | ||
* If the Price represents a fixed cost, the price will be billed in-advance if | ||
* this is true, and in-arrears if this is false. | ||
*/ | ||
billed_in_advance?: boolean | null; | ||
/** | ||
* The per unit conversion rate of the price currency to the invoicing currency. | ||
*/ | ||
conversion_rate?: number | null; | ||
/** | ||
* An ISO 4217 currency string, or custom pricing unit identifier, in which this | ||
* price is billed. | ||
*/ | ||
currency?: string | null; | ||
/** | ||
* An alias for the price. | ||
*/ | ||
external_price_id?: string | null; | ||
/** | ||
* If the Price represents a fixed cost, this represents the quantity of units | ||
* applied. | ||
*/ | ||
fixed_price_quantity?: number | null; | ||
/** | ||
* The property used to group this price on an invoice | ||
*/ | ||
invoice_grouping_key?: string | null; | ||
/** | ||
* User-specified key/value pairs for the resource. Individual keys can be removed | ||
* by setting the value to `null`, and the entire metadata mapping can be cleared | ||
* by setting `metadata` to `null`. | ||
*/ | ||
metadata?: Record<string, string | null> | null; | ||
} | ||
} | ||
@@ -1274,0 +1328,0 @@ export interface PlanUpdateParams { |
@@ -322,2 +322,3 @@ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
| PlanCreateParams.NewPlanGroupedAllocationPrice | ||
| PlanCreateParams.NewPlanBulkWithProrationPrice | ||
>; | ||
@@ -1612,2 +1613,69 @@ | ||
} | ||
export interface NewPlanBulkWithProrationPrice { | ||
bulk_with_proration_config: Record<string, unknown>; | ||
/** | ||
* The cadence to bill for this price on. | ||
*/ | ||
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom'; | ||
/** | ||
* The id of the item the plan will be associated with. | ||
*/ | ||
item_id: string; | ||
model_type: 'bulk_with_proration'; | ||
/** | ||
* The name of the price. | ||
*/ | ||
name: string; | ||
/** | ||
* The id of the billable metric for the price. Only needed if the price is | ||
* usage-based. | ||
*/ | ||
billable_metric_id?: string | null; | ||
/** | ||
* If the Price represents a fixed cost, the price will be billed in-advance if | ||
* this is true, and in-arrears if this is false. | ||
*/ | ||
billed_in_advance?: boolean | null; | ||
/** | ||
* The per unit conversion rate of the price currency to the invoicing currency. | ||
*/ | ||
conversion_rate?: number | null; | ||
/** | ||
* An ISO 4217 currency string, or custom pricing unit identifier, in which this | ||
* price is billed. | ||
*/ | ||
currency?: string | null; | ||
/** | ||
* An alias for the price. | ||
*/ | ||
external_price_id?: string | null; | ||
/** | ||
* If the Price represents a fixed cost, this represents the quantity of units | ||
* applied. | ||
*/ | ||
fixed_price_quantity?: number | null; | ||
/** | ||
* The property used to group this price on an invoice | ||
*/ | ||
invoice_grouping_key?: string | null; | ||
/** | ||
* User-specified key/value pairs for the resource. Individual keys can be removed | ||
* by setting the value to `null`, and the entire metadata mapping can be cleared | ||
* by setting `metadata` to `null`. | ||
*/ | ||
metadata?: Record<string, string | null> | null; | ||
} | ||
} | ||
@@ -1614,0 +1682,0 @@ |
@@ -1,1 +0,1 @@ | ||
export const VERSION = '4.3.0'; // x-release-please-version | ||
export const VERSION = '4.4.0'; // x-release-please-version |
@@ -1,2 +0,2 @@ | ||
export declare const VERSION = "4.3.0"; | ||
export declare const VERSION = "4.4.0"; | ||
//# sourceMappingURL=version.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.VERSION = void 0; | ||
exports.VERSION = '4.3.0'; // x-release-please-version | ||
exports.VERSION = '4.4.0'; // x-release-please-version | ||
//# sourceMappingURL=version.js.map |
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 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 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2828864
52060