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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.33.1"
".": "1.34.0"
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.34.0 (2024-01-01)

Full Changelog: [v1.33.1...v1.34.0](https://github.com/orbcorp/orb-node/compare/v1.33.1...v1.34.0)

### Features

* **api:** add currency fields ([#67](https://github.com/orbcorp/orb-node/issues/67)) ([7147ea7](https://github.com/orbcorp/orb-node/commit/7147ea7e24352f824a44038373294f1a7cd55ac5))

## 1.33.1 (2023-12-26)

Full Changelog: [v1.33.0...v1.33.1](https://github.com/orbcorp/orb-node/compare/v1.33.0...v1.33.1)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2023 Orb
Copyright 2024 Orb

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "orb-billing",
"version": "1.33.1",
"version": "1.34.0",
"description": "The official TypeScript library for the Orb API",
"author": "Orb <team@withorb.com>",
"types": "dist/index.d.ts",
Expand Down
14 changes: 12 additions & 2 deletions src/resources/customers/credits/credits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,19 @@ export interface CreditListByExternalIDResponse {
per_unit_cost_basis: string | null;
}

export interface CreditListParams extends PageParams {}
export interface CreditListParams extends PageParams {
/**
* The ledger currency or custom pricing unit to use.
*/
currency?: string | null;
}

export interface CreditListByExternalIDParams extends PageParams {}
export interface CreditListByExternalIDParams extends PageParams {
/**
* The ledger currency or custom pricing unit to use.
*/
currency?: string | null;
}

export namespace Credits {
export import CreditListResponse = CreditsAPI.CreditListResponse;
Expand Down
Loading