Skip to content

Commit f69ba6f

Browse files
authored
Merge pull request #120 from flowglad/release-please--branches--main--changes--next--components--node
release: 0.15.0
2 parents dfde438 + 5318fdb commit f69ba6f

File tree

11 files changed

+111
-46
lines changed

11 files changed

+111
-46
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.14.0"
2+
".": "0.15.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-7fe7dce512fa0c93620ee00046f54caa6934dfb9c40d49c91db2646e9d499074.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/flowglad%2Fflowglad-24cfaa4de9565b44df28662a366482a40fa6bbcfe53342b1bdf1b2ae220d7d6c.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.15.0 (2025-03-26)
3+
4+
Full Changelog: [v0.14.0...v0.15.0](https://github.com/flowglad/flowglad-node/compare/v0.14.0...v0.15.0)
5+
6+
### Features
7+
8+
* **api:** add output name to checkout session ([#119](https://github.com/flowglad/flowglad-node/issues/119)) ([e13aabb](https://github.com/flowglad/flowglad-node/commit/e13aabb1b98ddf4ac9f7185aca802e06c66308ab))
9+
210
## 0.14.0 (2025-03-25)
311

412
Full Changelog: [v0.13.0...v0.14.0](https://github.com/flowglad/flowglad-node/compare/v0.13.0...v0.14.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.14.0",
3+
"version": "0.15.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: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ export namespace CheckoutSessionCreateResponse {
7575

7676
outputMetadata: Record<string, unknown> | null;
7777

78+
outputName: string | null;
79+
7880
paymentMethodType: 'card' | 'us_bank_account' | 'sepa_debit' | null;
7981

8082
priceId: string;
@@ -151,6 +153,8 @@ export namespace CheckoutSessionCreateResponse {
151153

152154
outputMetadata: 'null' | null;
153155

156+
outputName: string | null;
157+
154158
paymentMethodType: 'card' | 'us_bank_account' | 'sepa_debit' | null;
155159

156160
priceId: 'null' | null;
@@ -227,6 +231,8 @@ export namespace CheckoutSessionCreateResponse {
227231

228232
outputMetadata: Record<string, unknown> | null;
229233

234+
outputName: string | null;
235+
230236
paymentMethodType: 'card' | 'us_bank_account' | 'sepa_debit' | null;
231237

232238
priceId: string;
@@ -317,6 +323,8 @@ export namespace CheckoutSessionRetrieveResponse {
317323

318324
outputMetadata: Record<string, unknown> | null;
319325

326+
outputName: string | null;
327+
320328
paymentMethodType: 'card' | 'us_bank_account' | 'sepa_debit' | null;
321329

322330
priceId: string;
@@ -393,6 +401,8 @@ export namespace CheckoutSessionRetrieveResponse {
393401

394402
outputMetadata: 'null' | null;
395403

404+
outputName: string | null;
405+
396406
paymentMethodType: 'card' | 'us_bank_account' | 'sepa_debit' | null;
397407

398408
priceId: 'null' | null;
@@ -469,6 +479,8 @@ export namespace CheckoutSessionRetrieveResponse {
469479

470480
outputMetadata: Record<string, unknown> | null;
471481

482+
outputName: string | null;
483+
472484
paymentMethodType: 'card' | 'us_bank_account' | 'sepa_debit' | null;
473485

474486
priceId: string;
@@ -563,6 +575,8 @@ export namespace CheckoutSessionListResponse {
563575

564576
outputMetadata: Record<string, unknown> | null;
565577

578+
outputName: string | null;
579+
566580
paymentMethodType: 'card' | 'us_bank_account' | 'sepa_debit' | null;
567581

568582
priceId: string;
@@ -639,6 +653,8 @@ export namespace CheckoutSessionListResponse {
639653

640654
outputMetadata: 'null' | null;
641655

656+
outputName: string | null;
657+
642658
paymentMethodType: 'card' | 'us_bank_account' | 'sepa_debit' | null;
643659

644660
priceId: 'null' | null;
@@ -715,6 +731,8 @@ export namespace CheckoutSessionListResponse {
715731

716732
outputMetadata: Record<string, unknown> | null;
717733

734+
outputName: string | null;
735+
718736
paymentMethodType: 'card' | 'us_bank_account' | 'sepa_debit' | null;
719737

720738
priceId: string;
@@ -790,6 +808,12 @@ export interface CheckoutSessionCreateParams {
790808
* checkout session succeeds. Ignored if the checkout session is of type `invoice`.
791809
*/
792810
outputMetadata?: Record<string, unknown>;
811+
812+
/**
813+
* The name of the purchase or subscription created when this checkout session
814+
* succeeds. Ignored if the checkout session is of type `invoice`.
815+
*/
816+
outputName?: string;
793817
}
794818

795819
export interface CheckoutSessionListParams {

src/resources/customers.ts

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,6 +1062,8 @@ export namespace CustomerRetrieveBillingResponse {
10621062
| 'partially_refunded'
10631063
| 'awaiting_payment_confirmation';
10641064

1065+
subscriptionId: 'null' | null;
1066+
10651067
subtotal: number | null;
10661068

10671069
taxAmount: number | null;
@@ -1522,6 +1524,8 @@ export namespace CustomerRetrieveBillingResponse {
15221524
| 'partially_refunded'
15231525
| 'awaiting_payment_confirmation';
15241526

1527+
subscriptionId: string;
1528+
15251529
subtotal: number | null;
15261530

15271531
taxAmount: number | null;
@@ -1982,6 +1986,8 @@ export namespace CustomerRetrieveBillingResponse {
19821986
| 'partially_refunded'
19831987
| 'awaiting_payment_confirmation';
19841988

1989+
subscriptionId: 'null' | null;
1990+
19851991
subtotal: number | null;
19861992

19871993
taxAmount: number | null;
@@ -2507,22 +2513,22 @@ export namespace CustomerRetrieveBillingResponse {
25072513

25082514
metadata: Record<string, unknown> | null;
25092515

2510-
organizationId: string;
2516+
name: string | null;
25112517

2512-
planName: string | null;
2518+
organizationId: string;
25132519

25142520
priceId: string;
25152521

25162522
status:
2517-
| 'incomplete'
2518-
| 'incomplete_expired'
25192523
| 'trialing'
25202524
| 'active'
25212525
| 'past_due'
2522-
| 'canceled'
25232526
| 'unpaid'
2524-
| 'paused'
2525-
| 'cancellation_scheduled';
2527+
| 'cancellation_scheduled'
2528+
| 'incomplete'
2529+
| 'incomplete_expired'
2530+
| 'canceled'
2531+
| 'paused';
25262532

25272533
subscriptionItems: Array<Subscription.SubscriptionItem>;
25282534

@@ -2777,22 +2783,22 @@ export namespace CustomerRetrieveBillingResponse {
27772783

27782784
metadata: Record<string, unknown> | null;
27792785

2780-
organizationId: string;
2786+
name: string | null;
27812787

2782-
planName: string | null;
2788+
organizationId: string;
27832789

27842790
priceId: string;
27852791

27862792
status:
2787-
| 'incomplete'
2788-
| 'incomplete_expired'
27892793
| 'trialing'
27902794
| 'active'
27912795
| 'past_due'
2792-
| 'canceled'
27932796
| 'unpaid'
2794-
| 'paused'
2795-
| 'cancellation_scheduled';
2797+
| 'cancellation_scheduled'
2798+
| 'incomplete'
2799+
| 'incomplete_expired'
2800+
| 'canceled'
2801+
| 'paused';
27962802

27972803
subscriptionItems: Array<CurrentSubscription.SubscriptionItem>;
27982804

src/resources/invoices.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ export namespace InvoiceCreateResponse {
232232
| 'partially_refunded'
233233
| 'awaiting_payment_confirmation';
234234

235+
subscriptionId: 'null' | null;
236+
235237
subtotal: number | null;
236238

237239
taxAmount: number | null;
@@ -692,6 +694,8 @@ export namespace InvoiceCreateResponse {
692694
| 'partially_refunded'
693695
| 'awaiting_payment_confirmation';
694696

697+
subscriptionId: string;
698+
695699
subtotal: number | null;
696700

697701
taxAmount: number | null;
@@ -1152,6 +1156,8 @@ export namespace InvoiceCreateResponse {
11521156
| 'partially_refunded'
11531157
| 'awaiting_payment_confirmation';
11541158

1159+
subscriptionId: 'null' | null;
1160+
11551161
subtotal: number | null;
11561162

11571163
taxAmount: number | null;
@@ -1646,6 +1652,8 @@ export namespace InvoiceRetrieveResponse {
16461652
| 'partially_refunded'
16471653
| 'awaiting_payment_confirmation';
16481654

1655+
subscriptionId: 'null' | null;
1656+
16491657
subtotal: number | null;
16501658

16511659
taxAmount: number | null;
@@ -2106,6 +2114,8 @@ export namespace InvoiceRetrieveResponse {
21062114
| 'partially_refunded'
21072115
| 'awaiting_payment_confirmation';
21082116

2117+
subscriptionId: string;
2118+
21092119
subtotal: number | null;
21102120

21112121
taxAmount: number | null;
@@ -2566,6 +2576,8 @@ export namespace InvoiceRetrieveResponse {
25662576
| 'partially_refunded'
25672577
| 'awaiting_payment_confirmation';
25682578

2579+
subscriptionId: 'null' | null;
2580+
25692581
subtotal: number | null;
25702582

25712583
taxAmount: number | null;
@@ -3067,6 +3079,8 @@ export namespace InvoiceListResponse {
30673079
| 'partially_refunded'
30683080
| 'awaiting_payment_confirmation';
30693081

3082+
subscriptionId: 'null' | null;
3083+
30703084
subtotal: number | null;
30713085

30723086
taxAmount: number | null;
@@ -3527,6 +3541,8 @@ export namespace InvoiceListResponse {
35273541
| 'partially_refunded'
35283542
| 'awaiting_payment_confirmation';
35293543

3544+
subscriptionId: string;
3545+
35303546
subtotal: number | null;
35313547

35323548
taxAmount: number | null;
@@ -3987,6 +4003,8 @@ export namespace InvoiceListResponse {
39874003
| 'partially_refunded'
39884004
| 'awaiting_payment_confirmation';
39894005

4006+
subscriptionId: 'null' | null;
4007+
39904008
subtotal: number | null;
39914009

39924010
taxAmount: number | null;
@@ -4416,6 +4434,8 @@ export namespace InvoiceCreateParams {
44164434

44174435
purchaseId: string;
44184436

4437+
subscriptionId: 'null' | null;
4438+
44194439
type: 'purchase';
44204440

44214441
bankPaymentOnly?: boolean | null;
@@ -4860,6 +4880,8 @@ export namespace InvoiceCreateParams {
48604880

48614881
purchaseId: 'null' | null;
48624882

4883+
subscriptionId: string;
4884+
48634885
type: 'subscription';
48644886

48654887
bankPaymentOnly?: boolean | null;
@@ -5304,6 +5326,8 @@ export namespace InvoiceCreateParams {
53045326

53055327
purchaseId: 'null' | null;
53065328

5329+
subscriptionId: 'null' | null;
5330+
53075331
type: 'standalone';
53085332

53095333
bankPaymentOnly?: boolean | null;

0 commit comments

Comments
 (0)