Skip to content

Commit dfde438

Browse files
authored
Merge pull request #117 from flowglad/release-please--branches--main--changes--next--components--node
release: 0.14.0
2 parents e639c43 + 72f12d3 commit dfde438

File tree

7 files changed

+22
-7
lines changed

7 files changed

+22
-7
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.13.0"
2+
".": "0.14.0"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 38
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/flowglad%2Fflowglad-75f6b27137807013f1733ed1ea2662e4d2118c1d2996ac5f3e3c54143bda647e.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/flowglad%2Fflowglad-7fe7dce512fa0c93620ee00046f54caa6934dfb9c40d49c91db2646e9d499074.yml

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
# Changelog
2+
## 0.14.0 (2025-03-25)
3+
4+
Full Changelog: [v0.13.0...v0.14.0](https://github.com/flowglad/flowglad-node/compare/v0.13.0...v0.14.0)
5+
6+
### Features
7+
8+
* **api:** add checkout session outputmetadata ([#116](https://github.com/flowglad/flowglad-node/issues/116)) ([13103bb](https://github.com/flowglad/flowglad-node/commit/13103bb69a22fd6689099503d56d98fc94ad7aa9))
9+
210
## 0.13.0 (2025-03-25)
311

412
Full Changelog: [v0.12.0...v0.13.0](https://github.com/flowglad/flowglad-node/compare/v0.12.0...v0.13.0)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flowglad/node",
3-
"version": "0.13.0",
3+
"version": "0.14.0",
44
"description": "The official TypeScript library for the Flowglad API",
55
"author": "Flowglad <dev-feedback@flowglad.com>",
66
"types": "dist/index.d.ts",

src/resources/checkout-sessions.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export namespace CheckoutSessionCreateResponse {
149149

150150
organizationId: string;
151151

152-
outputMetadata: Record<string, unknown> | null;
152+
outputMetadata: 'null' | null;
153153

154154
paymentMethodType: 'card' | 'us_bank_account' | 'sepa_debit' | null;
155155

@@ -391,7 +391,7 @@ export namespace CheckoutSessionRetrieveResponse {
391391

392392
organizationId: string;
393393

394-
outputMetadata: Record<string, unknown> | null;
394+
outputMetadata: 'null' | null;
395395

396396
paymentMethodType: 'card' | 'us_bank_account' | 'sepa_debit' | null;
397397

@@ -637,7 +637,7 @@ export namespace CheckoutSessionListResponse {
637637

638638
organizationId: string;
639639

640-
outputMetadata: Record<string, unknown> | null;
640+
outputMetadata: 'null' | null;
641641

642642
paymentMethodType: 'card' | 'us_bank_account' | 'sepa_debit' | null;
643643

@@ -784,6 +784,12 @@ export interface CheckoutSessionCreateParams {
784784
* The URL to redirect to after the purchase is successful
785785
*/
786786
successUrl: string;
787+
788+
/**
789+
* Metadata that will get added to the purchase or subscription created when this
790+
* checkout session succeeds. Ignored if the checkout session is of type `invoice`.
791+
*/
792+
outputMetadata?: Record<string, unknown>;
787793
}
788794

789795
export interface CheckoutSessionListParams {

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = '0.13.0'; // x-release-please-version
1+
export const VERSION = '0.14.0'; // x-release-please-version

tests/api-resources/checkout-sessions.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ describe('resource checkoutSessions', () => {
3232
customerExternalId: 'customerExternalId',
3333
priceId: 'priceId',
3434
successUrl: 'successUrl',
35+
outputMetadata: { foo: 'bar' },
3536
});
3637
});
3738

0 commit comments

Comments
 (0)