orb-billing 4.74.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/index.d.mts +148 -14
  3. package/index.d.ts +148 -14
  4. package/index.d.ts.map +1 -1
  5. package/index.js +0 -3
  6. package/index.js.map +1 -1
  7. package/index.mjs +3 -6
  8. package/index.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/alerts.d.ts +20 -88
  11. package/resources/alerts.d.ts.map +1 -1
  12. package/resources/alerts.js.map +1 -1
  13. package/resources/alerts.mjs.map +1 -1
  14. package/resources/beta/beta.d.ts +9 -7313
  15. package/resources/beta/beta.d.ts.map +1 -1
  16. package/resources/beta/beta.js.map +1 -1
  17. package/resources/beta/beta.mjs.map +1 -1
  18. package/resources/beta/external-plan-id.d.ts +7 -7074
  19. package/resources/beta/external-plan-id.d.ts.map +1 -1
  20. package/resources/beta/external-plan-id.js.map +1 -1
  21. package/resources/beta/external-plan-id.mjs.map +1 -1
  22. package/resources/credit-notes.d.ts +9 -163
  23. package/resources/credit-notes.d.ts.map +1 -1
  24. package/resources/credit-notes.js +3 -6
  25. package/resources/credit-notes.js.map +1 -1
  26. package/resources/credit-notes.mjs +2 -4
  27. package/resources/credit-notes.mjs.map +1 -1
  28. package/resources/customers/balance-transactions.d.ts +5 -32
  29. package/resources/customers/balance-transactions.d.ts.map +1 -1
  30. package/resources/customers/balance-transactions.js.map +1 -1
  31. package/resources/customers/balance-transactions.mjs.map +1 -1
  32. package/resources/customers/costs.d.ts +3 -81
  33. package/resources/customers/costs.d.ts.map +1 -1
  34. package/resources/customers/credits/credits.d.ts +4 -4
  35. package/resources/customers/credits/credits.d.ts.map +1 -1
  36. package/resources/customers/credits/credits.js.map +1 -1
  37. package/resources/customers/credits/credits.mjs.map +1 -1
  38. package/resources/customers/credits/index.d.ts +2 -2
  39. package/resources/customers/credits/index.d.ts.map +1 -1
  40. package/resources/customers/credits/index.js.map +1 -1
  41. package/resources/customers/credits/index.mjs.map +1 -1
  42. package/resources/customers/credits/ledger.d.ts +171 -962
  43. package/resources/customers/credits/ledger.d.ts.map +1 -1
  44. package/resources/customers/credits/ledger.js.map +1 -1
  45. package/resources/customers/credits/ledger.mjs.map +1 -1
  46. package/resources/customers/credits/top-ups.d.ts +29 -121
  47. package/resources/customers/credits/top-ups.d.ts.map +1 -1
  48. package/resources/customers/credits/top-ups.js.map +1 -1
  49. package/resources/customers/credits/top-ups.mjs.map +1 -1
  50. package/resources/customers/customers.d.ts +72 -678
  51. package/resources/customers/customers.d.ts.map +1 -1
  52. package/resources/customers/customers.js.map +1 -1
  53. package/resources/customers/customers.mjs.map +1 -1
  54. package/resources/customers/index.d.ts +1 -1
  55. package/resources/customers/index.d.ts.map +1 -1
  56. package/resources/customers/index.js.map +1 -1
  57. package/resources/customers/index.mjs.map +1 -1
  58. package/resources/index.d.ts +7 -7
  59. package/resources/index.d.ts.map +1 -1
  60. package/resources/index.js +1 -4
  61. package/resources/index.js.map +1 -1
  62. package/resources/index.mjs +3 -3
  63. package/resources/index.mjs.map +1 -1
  64. package/resources/invoice-line-items.d.ts +6 -395
  65. package/resources/invoice-line-items.d.ts.map +1 -1
  66. package/resources/invoice-line-items.js.map +1 -1
  67. package/resources/invoice-line-items.mjs.map +1 -1
  68. package/resources/invoices.d.ts +30 -1700
  69. package/resources/invoices.d.ts.map +1 -1
  70. package/resources/invoices.js +3 -6
  71. package/resources/invoices.js.map +1 -1
  72. package/resources/invoices.mjs +2 -4
  73. package/resources/invoices.mjs.map +1 -1
  74. package/resources/plans/plans.d.ts +7 -3801
  75. package/resources/plans/plans.d.ts.map +1 -1
  76. package/resources/plans/plans.js.map +1 -1
  77. package/resources/plans/plans.mjs.map +1 -1
  78. package/resources/prices/external-price-id.d.ts +3 -3
  79. package/resources/prices/external-price-id.d.ts.map +1 -1
  80. package/resources/prices/index.d.ts +1 -1
  81. package/resources/prices/index.d.ts.map +1 -1
  82. package/resources/prices/index.js +1 -2
  83. package/resources/prices/index.js.map +1 -1
  84. package/resources/prices/index.mjs +1 -1
  85. package/resources/prices/index.mjs.map +1 -1
  86. package/resources/prices/prices.d.ts +346 -9372
  87. package/resources/prices/prices.d.ts.map +1 -1
  88. package/resources/prices/prices.js +39 -20
  89. package/resources/prices/prices.js.map +1 -1
  90. package/resources/prices/prices.mjs +38 -18
  91. package/resources/prices/prices.mjs.map +1 -1
  92. package/resources/shared.d.ts +7269 -9
  93. package/resources/shared.d.ts.map +1 -1
  94. package/resources/shared.js +11 -0
  95. package/resources/shared.js.map +1 -1
  96. package/resources/shared.mjs +7 -1
  97. package/resources/shared.mjs.map +1 -1
  98. package/resources/subscription-changes.d.ts +138 -2158
  99. package/resources/subscription-changes.d.ts.map +1 -1
  100. package/resources/subscription-changes.js.map +1 -1
  101. package/resources/subscription-changes.mjs.map +1 -1
  102. package/resources/subscriptions.d.ts +2639 -27234
  103. package/resources/subscriptions.d.ts.map +1 -1
  104. package/resources/subscriptions.js +1 -1
  105. package/resources/subscriptions.js.map +1 -1
  106. package/resources/subscriptions.mjs +1 -1
  107. package/resources/subscriptions.mjs.map +1 -1
  108. package/src/index.ts +219 -42
  109. package/src/resources/alerts.ts +20 -94
  110. package/src/resources/beta/beta.ts +124 -8892
  111. package/src/resources/beta/external-plan-id.ts +118 -8593
  112. package/src/resources/credit-notes.ts +10 -217
  113. package/src/resources/customers/balance-transactions.ts +5 -36
  114. package/src/resources/customers/costs.ts +3 -101
  115. package/src/resources/customers/credits/credits.ts +18 -0
  116. package/src/resources/customers/credits/index.ts +9 -0
  117. package/src/resources/customers/credits/ledger.ts +212 -1435
  118. package/src/resources/customers/credits/top-ups.ts +33 -136
  119. package/src/resources/customers/customers.ts +162 -1454
  120. package/src/resources/customers/index.ts +8 -0
  121. package/src/resources/index.ts +42 -22
  122. package/src/resources/invoice-line-items.ts +10 -501
  123. package/src/resources/invoices.ts +60 -2394
  124. package/src/resources/plans/plans.ts +38 -4588
  125. package/src/resources/prices/external-price-id.ts +3 -3
  126. package/src/resources/prices/index.ts +2 -2
  127. package/src/resources/prices/prices.ts +500 -11810
  128. package/src/resources/shared.ts +9582 -22
  129. package/src/resources/subscription-changes.ts +171 -2670
  130. package/src/resources/subscriptions.ts +3162 -32900
  131. package/src/version.ts +1 -1
  132. package/version.d.ts +1 -1
  133. package/version.d.ts.map +1 -1
  134. package/version.js +1 -1
  135. package/version.js.map +1 -1
  136. package/version.mjs +1 -1
  137. package/version.mjs.map +1 -1
@@ -3,14 +3,16 @@
3
3
  import { APIResource } from '../resource';
4
4
  import { isRequestOptions } from '../core';
5
5
  import * as Core from '../core';
6
- import { Page, type PageParams } from '../pagination';
6
+ import * as Shared from './shared';
7
+ import { CreditNotesPage } from './shared';
8
+ import { type PageParams } from '../pagination';
7
9
 
8
10
  export class CreditNotes extends APIResource {
9
11
  /**
10
12
  * This endpoint is used to create a single
11
13
  * [`Credit Note`](/invoicing/credit-notes).
12
14
  */
13
- create(body: CreditNoteCreateParams, options?: Core.RequestOptions): Core.APIPromise<CreditNote> {
15
+ create(body: CreditNoteCreateParams, options?: Core.RequestOptions): Core.APIPromise<Shared.CreditNote> {
14
16
  return this._client.post('/credit_notes', { body, ...options });
15
17
  }
16
18
 
@@ -22,12 +24,12 @@ export class CreditNotes extends APIResource {
22
24
  list(
23
25
  query?: CreditNoteListParams,
24
26
  options?: Core.RequestOptions,
25
- ): Core.PagePromise<CreditNotesPage, CreditNote>;
26
- list(options?: Core.RequestOptions): Core.PagePromise<CreditNotesPage, CreditNote>;
27
+ ): Core.PagePromise<CreditNotesPage, Shared.CreditNote>;
28
+ list(options?: Core.RequestOptions): Core.PagePromise<CreditNotesPage, Shared.CreditNote>;
27
29
  list(
28
30
  query: CreditNoteListParams | Core.RequestOptions = {},
29
31
  options?: Core.RequestOptions,
30
- ): Core.PagePromise<CreditNotesPage, CreditNote> {
32
+ ): Core.PagePromise<CreditNotesPage, Shared.CreditNote> {
31
33
  if (isRequestOptions(query)) {
32
34
  return this.list({}, query);
33
35
  }
@@ -38,218 +40,11 @@ export class CreditNotes extends APIResource {
38
40
  * This endpoint is used to fetch a single [`Credit Note`](/invoicing/credit-notes)
39
41
  * given an identifier.
40
42
  */
41
- fetch(creditNoteId: string, options?: Core.RequestOptions): Core.APIPromise<CreditNote> {
43
+ fetch(creditNoteId: string, options?: Core.RequestOptions): Core.APIPromise<Shared.CreditNote> {
42
44
  return this._client.get(`/credit_notes/${creditNoteId}`, options);
43
45
  }
44
46
  }
45
47
 
46
- export class CreditNotesPage extends Page<CreditNote> {}
47
-
48
- /**
49
- * The [Credit Note](/invoicing/credit-notes) resource represents a credit that has
50
- * been applied to a particular invoice.
51
- */
52
- export interface CreditNote {
53
- /**
54
- * The Orb id of this credit note.
55
- */
56
- id: string;
57
-
58
- /**
59
- * The creation time of the resource in Orb.
60
- */
61
- created_at: string;
62
-
63
- /**
64
- * The unique identifier for credit notes.
65
- */
66
- credit_note_number: string;
67
-
68
- /**
69
- * A URL to a PDF of the credit note.
70
- */
71
- credit_note_pdf: string | null;
72
-
73
- customer: CreditNote.Customer;
74
-
75
- /**
76
- * The id of the invoice resource that this credit note is applied to.
77
- */
78
- invoice_id: string;
79
-
80
- /**
81
- * All of the line items associated with this credit note.
82
- */
83
- line_items: Array<CreditNote.LineItem>;
84
-
85
- /**
86
- * The maximum amount applied on the original invoice
87
- */
88
- maximum_amount_adjustment: CreditNote.MaximumAmountAdjustment | null;
89
-
90
- /**
91
- * An optional memo supplied on the credit note.
92
- */
93
- memo: string | null;
94
-
95
- /**
96
- * Any credited amount from the applied minimum on the invoice.
97
- */
98
- minimum_amount_refunded: string | null;
99
-
100
- reason: 'Duplicate' | 'Fraudulent' | 'Order change' | 'Product unsatisfactory' | null;
101
-
102
- /**
103
- * The total prior to any creditable invoice-level discounts or minimums.
104
- */
105
- subtotal: string;
106
-
107
- /**
108
- * The total including creditable invoice-level discounts or minimums, and tax.
109
- */
110
- total: string;
111
-
112
- type: 'refund' | 'adjustment';
113
-
114
- /**
115
- * The time at which the credit note was voided in Orb, if applicable.
116
- */
117
- voided_at: string | null;
118
-
119
- /**
120
- * Any discounts applied on the original invoice.
121
- */
122
- discounts?: Array<CreditNote.Discount>;
123
- }
124
-
125
- export namespace CreditNote {
126
- export interface Customer {
127
- id: string;
128
-
129
- external_customer_id: string | null;
130
- }
131
-
132
- export interface LineItem {
133
- /**
134
- * The Orb id of this resource.
135
- */
136
- id: string;
137
-
138
- /**
139
- * The amount of the line item, including any line item minimums and discounts.
140
- */
141
- amount: string;
142
-
143
- /**
144
- * The id of the item associated with this line item.
145
- */
146
- item_id: string;
147
-
148
- /**
149
- * The name of the corresponding invoice line item.
150
- */
151
- name: string;
152
-
153
- /**
154
- * An optional quantity credited.
155
- */
156
- quantity: number | null;
157
-
158
- /**
159
- * The amount of the line item, excluding any line item minimums and discounts.
160
- */
161
- subtotal: string;
162
-
163
- /**
164
- * Any tax amounts applied onto the line item.
165
- */
166
- tax_amounts: Array<LineItem.TaxAmount>;
167
-
168
- /**
169
- * Any line item discounts from the invoice's line item.
170
- */
171
- discounts?: Array<LineItem.Discount>;
172
- }
173
-
174
- export namespace LineItem {
175
- export interface TaxAmount {
176
- /**
177
- * The amount of additional tax incurred by this tax rate.
178
- */
179
- amount: string;
180
-
181
- /**
182
- * The human-readable description of the applied tax rate.
183
- */
184
- tax_rate_description: string;
185
-
186
- /**
187
- * The tax rate percentage, out of 100.
188
- */
189
- tax_rate_percentage: string | null;
190
- }
191
-
192
- export interface Discount {
193
- id: string;
194
-
195
- amount_applied: string;
196
-
197
- applies_to_price_ids: Array<string>;
198
-
199
- discount_type: 'percentage' | 'amount';
200
-
201
- percentage_discount: number;
202
-
203
- amount_discount?: string | null;
204
-
205
- reason?: string | null;
206
- }
207
- }
208
-
209
- /**
210
- * The maximum amount applied on the original invoice
211
- */
212
- export interface MaximumAmountAdjustment {
213
- amount_applied: string;
214
-
215
- discount_type: 'percentage';
216
-
217
- percentage_discount: number;
218
-
219
- applies_to_prices?: Array<MaximumAmountAdjustment.AppliesToPrice> | null;
220
-
221
- reason?: string | null;
222
- }
223
-
224
- export namespace MaximumAmountAdjustment {
225
- export interface AppliesToPrice {
226
- id: string;
227
-
228
- name: string;
229
- }
230
- }
231
-
232
- export interface Discount {
233
- amount_applied: string;
234
-
235
- discount_type: 'percentage';
236
-
237
- percentage_discount: number;
238
-
239
- applies_to_prices?: Array<Discount.AppliesToPrice> | null;
240
-
241
- reason?: string | null;
242
- }
243
-
244
- export namespace Discount {
245
- export interface AppliesToPrice {
246
- id: string;
247
-
248
- name: string;
249
- }
250
- }
251
- }
252
-
253
48
  export interface CreditNoteCreateParams {
254
49
  line_items: Array<CreditNoteCreateParams.LineItem>;
255
50
 
@@ -288,13 +83,11 @@ export interface CreditNoteListParams extends PageParams {
288
83
  'created_at[lte]'?: string | null;
289
84
  }
290
85
 
291
- CreditNotes.CreditNotesPage = CreditNotesPage;
292
-
293
86
  export declare namespace CreditNotes {
294
87
  export {
295
- type CreditNote as CreditNote,
296
- CreditNotesPage as CreditNotesPage,
297
88
  type CreditNoteCreateParams as CreditNoteCreateParams,
298
89
  type CreditNoteListParams as CreditNoteListParams,
299
90
  };
300
91
  }
92
+
93
+ export { CreditNotesPage };
@@ -3,6 +3,7 @@
3
3
  import { APIResource } from '../../resource';
4
4
  import { isRequestOptions } from '../../core';
5
5
  import * as Core from '../../core';
6
+ import * as Shared from '../shared';
6
7
  import { Page, type PageParams } from '../../pagination';
7
8
 
8
9
  export class BalanceTransactions extends APIResource {
@@ -95,7 +96,7 @@ export interface BalanceTransactionCreateResponse {
95
96
  */
96
97
  created_at: string;
97
98
 
98
- credit_note: BalanceTransactionCreateResponse.CreditNote | null;
99
+ credit_note: Shared.CreditNoteTiny | null;
99
100
 
100
101
  /**
101
102
  * An optional description provided for manual customer balance adjustments.
@@ -108,7 +109,7 @@ export interface BalanceTransactionCreateResponse {
108
109
  */
109
110
  ending_balance: string;
110
111
 
111
- invoice: BalanceTransactionCreateResponse.Invoice | null;
112
+ invoice: Shared.InvoiceTiny | null;
112
113
 
113
114
  /**
114
115
  * The original value of the customer's balance prior to the transaction, in the
@@ -119,22 +120,6 @@ export interface BalanceTransactionCreateResponse {
119
120
  type: 'increment' | 'decrement';
120
121
  }
121
122
 
122
- export namespace BalanceTransactionCreateResponse {
123
- export interface CreditNote {
124
- /**
125
- * The id of the Credit note
126
- */
127
- id: string;
128
- }
129
-
130
- export interface Invoice {
131
- /**
132
- * The Invoice id
133
- */
134
- id: string;
135
- }
136
- }
137
-
138
123
  export interface BalanceTransactionListResponse {
139
124
  /**
140
125
  * A unique id for this transaction.
@@ -162,7 +147,7 @@ export interface BalanceTransactionListResponse {
162
147
  */
163
148
  created_at: string;
164
149
 
165
- credit_note: BalanceTransactionListResponse.CreditNote | null;
150
+ credit_note: Shared.CreditNoteTiny | null;
166
151
 
167
152
  /**
168
153
  * An optional description provided for manual customer balance adjustments.
@@ -175,7 +160,7 @@ export interface BalanceTransactionListResponse {
175
160
  */
176
161
  ending_balance: string;
177
162
 
178
- invoice: BalanceTransactionListResponse.Invoice | null;
163
+ invoice: Shared.InvoiceTiny | null;
179
164
 
180
165
  /**
181
166
  * The original value of the customer's balance prior to the transaction, in the
@@ -186,22 +171,6 @@ export interface BalanceTransactionListResponse {
186
171
  type: 'increment' | 'decrement';
187
172
  }
188
173
 
189
- export namespace BalanceTransactionListResponse {
190
- export interface CreditNote {
191
- /**
192
- * The id of the Credit note
193
- */
194
- id: string;
195
- }
196
-
197
- export interface Invoice {
198
- /**
199
- * The Invoice id
200
- */
201
- id: string;
202
- }
203
- }
204
-
205
174
  export interface BalanceTransactionCreateParams {
206
175
  amount: string;
207
176
 
@@ -3,7 +3,7 @@
3
3
  import { APIResource } from '../../resource';
4
4
  import { isRequestOptions } from '../../core';
5
5
  import * as Core from '../../core';
6
- import * as PricesAPI from '../prices/prices';
6
+ import * as Shared from '../shared';
7
7
 
8
8
  export class Costs extends APIResource {
9
9
  /**
@@ -286,109 +286,11 @@ export class Costs extends APIResource {
286
286
  }
287
287
 
288
288
  export interface CostListResponse {
289
- data: Array<CostListResponse.Data>;
290
- }
291
-
292
- export namespace CostListResponse {
293
- export interface Data {
294
- per_price_costs: Array<Data.PerPriceCost>;
295
-
296
- /**
297
- * Total costs for the timeframe, excluding any minimums and discounts.
298
- */
299
- subtotal: string;
300
-
301
- timeframe_end: string;
302
-
303
- timeframe_start: string;
304
-
305
- /**
306
- * Total costs for the timeframe, including any minimums and discounts.
307
- */
308
- total: string;
309
- }
310
-
311
- export namespace Data {
312
- export interface PerPriceCost {
313
- /**
314
- * The price object
315
- */
316
- price: PricesAPI.Price;
317
-
318
- /**
319
- * The price the cost is associated with
320
- */
321
- price_id: string;
322
-
323
- /**
324
- * Price's contributions for the timeframe, excluding any minimums and discounts.
325
- */
326
- subtotal: string;
327
-
328
- /**
329
- * Price's contributions for the timeframe, including minimums and discounts.
330
- */
331
- total: string;
332
-
333
- /**
334
- * The price's quantity for the timeframe
335
- */
336
- quantity?: number | null;
337
- }
338
- }
289
+ data: Array<Shared.AggregatedCost>;
339
290
  }
340
291
 
341
292
  export interface CostListByExternalIDResponse {
342
- data: Array<CostListByExternalIDResponse.Data>;
343
- }
344
-
345
- export namespace CostListByExternalIDResponse {
346
- export interface Data {
347
- per_price_costs: Array<Data.PerPriceCost>;
348
-
349
- /**
350
- * Total costs for the timeframe, excluding any minimums and discounts.
351
- */
352
- subtotal: string;
353
-
354
- timeframe_end: string;
355
-
356
- timeframe_start: string;
357
-
358
- /**
359
- * Total costs for the timeframe, including any minimums and discounts.
360
- */
361
- total: string;
362
- }
363
-
364
- export namespace Data {
365
- export interface PerPriceCost {
366
- /**
367
- * The price object
368
- */
369
- price: PricesAPI.Price;
370
-
371
- /**
372
- * The price the cost is associated with
373
- */
374
- price_id: string;
375
-
376
- /**
377
- * Price's contributions for the timeframe, excluding any minimums and discounts.
378
- */
379
- subtotal: string;
380
-
381
- /**
382
- * Price's contributions for the timeframe, including minimums and discounts.
383
- */
384
- total: string;
385
-
386
- /**
387
- * The price's quantity for the timeframe
388
- */
389
- quantity?: number | null;
390
- }
391
- }
293
+ data: Array<Shared.AggregatedCost>;
392
294
  }
393
295
 
394
296
  export interface CostListParams {
@@ -5,6 +5,12 @@ import { isRequestOptions } from '../../../core';
5
5
  import * as Core from '../../../core';
6
6
  import * as LedgerAPI from './ledger';
7
7
  import {
8
+ AffectedBlock,
9
+ AmendmentLedgerEntry,
10
+ CreditBlockExpiryLedgerEntry,
11
+ DecrementLedgerEntry,
12
+ ExpirationChangeLedgerEntry,
13
+ IncrementLedgerEntry,
8
14
  Ledger,
9
15
  LedgerCreateEntryByExternalIDParams,
10
16
  LedgerCreateEntryByExternalIDResponse,
@@ -16,6 +22,8 @@ import {
16
22
  LedgerListParams,
17
23
  LedgerListResponse,
18
24
  LedgerListResponsesPage,
25
+ VoidInitiatedLedgerEntry,
26
+ VoidLedgerEntry,
19
27
  } from './ledger';
20
28
  import * as TopUpsAPI from './top-ups';
21
29
  import {
@@ -23,6 +31,7 @@ import {
23
31
  TopUpCreateByExternalIDResponse,
24
32
  TopUpCreateParams,
25
33
  TopUpCreateResponse,
34
+ TopUpInvoiceSettings,
26
35
  TopUpListByExternalIDParams,
27
36
  TopUpListByExternalIDResponse,
28
37
  TopUpListByExternalIDResponsesPage,
@@ -186,6 +195,14 @@ export declare namespace Credits {
186
195
 
187
196
  export {
188
197
  Ledger as Ledger,
198
+ type AffectedBlock as AffectedBlock,
199
+ type AmendmentLedgerEntry as AmendmentLedgerEntry,
200
+ type CreditBlockExpiryLedgerEntry as CreditBlockExpiryLedgerEntry,
201
+ type DecrementLedgerEntry as DecrementLedgerEntry,
202
+ type ExpirationChangeLedgerEntry as ExpirationChangeLedgerEntry,
203
+ type IncrementLedgerEntry as IncrementLedgerEntry,
204
+ type VoidInitiatedLedgerEntry as VoidInitiatedLedgerEntry,
205
+ type VoidLedgerEntry as VoidLedgerEntry,
189
206
  type LedgerListResponse as LedgerListResponse,
190
207
  type LedgerCreateEntryResponse as LedgerCreateEntryResponse,
191
208
  type LedgerCreateEntryByExternalIDResponse as LedgerCreateEntryByExternalIDResponse,
@@ -200,6 +217,7 @@ export declare namespace Credits {
200
217
 
201
218
  export {
202
219
  TopUps as TopUps,
220
+ type TopUpInvoiceSettings as TopUpInvoiceSettings,
203
221
  type TopUpCreateResponse as TopUpCreateResponse,
204
222
  type TopUpListResponse as TopUpListResponse,
205
223
  type TopUpCreateByExternalIDResponse as TopUpCreateByExternalIDResponse,
@@ -13,6 +13,14 @@ export {
13
13
  LedgerListResponsesPage,
14
14
  LedgerListByExternalIDResponsesPage,
15
15
  Ledger,
16
+ type AffectedBlock,
17
+ type AmendmentLedgerEntry,
18
+ type CreditBlockExpiryLedgerEntry,
19
+ type DecrementLedgerEntry,
20
+ type ExpirationChangeLedgerEntry,
21
+ type IncrementLedgerEntry,
22
+ type VoidInitiatedLedgerEntry,
23
+ type VoidLedgerEntry,
16
24
  type LedgerListResponse,
17
25
  type LedgerCreateEntryResponse,
18
26
  type LedgerCreateEntryByExternalIDResponse,
@@ -26,6 +34,7 @@ export {
26
34
  TopUpListResponsesPage,
27
35
  TopUpListByExternalIDResponsesPage,
28
36
  TopUps,
37
+ type TopUpInvoiceSettings,
29
38
  type TopUpCreateResponse,
30
39
  type TopUpListResponse,
31
40
  type TopUpCreateByExternalIDResponse,