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
@@ -1,7 +1,6 @@
1
1
  import { APIResource } from "../resource.js";
2
2
  import * as Core from "../core.js";
3
3
  import * as Shared from "./shared.js";
4
- import * as PricesAPI from "./prices/prices.js";
5
4
  export declare class InvoiceLineItems extends APIResource {
6
5
  /**
7
6
  * This creates a one-off fixed fee invoice line item on an Invoice. This can only
@@ -24,7 +23,7 @@ export interface InvoiceLineItemCreateResponse {
24
23
  * invoice calculations (ie. usage discounts -> amount discounts -> percentage
25
24
  * discounts -> minimums -> maximums).
26
25
  */
27
- adjustments: Array<InvoiceLineItemCreateResponse.MonetaryUsageDiscountAdjustment | InvoiceLineItemCreateResponse.MonetaryAmountDiscountAdjustment | InvoiceLineItemCreateResponse.MonetaryPercentageDiscountAdjustment | InvoiceLineItemCreateResponse.MonetaryMinimumAdjustment | InvoiceLineItemCreateResponse.MonetaryMaximumAdjustment>;
26
+ adjustments: Array<Shared.MonetaryUsageDiscountAdjustment | Shared.MonetaryAmountDiscountAdjustment | Shared.MonetaryPercentageDiscountAdjustment | Shared.MonetaryMinimumAdjustment | Shared.MonetaryMaximumAdjustment>;
28
27
  /**
29
28
  * The final amount for a line item after all adjustments and pre paid credits have
30
29
  * been applied.
@@ -52,7 +51,7 @@ export interface InvoiceLineItemCreateResponse {
52
51
  /**
53
52
  * @deprecated This field is deprecated in favor of `adjustments`.
54
53
  */
55
- maximum: InvoiceLineItemCreateResponse.Maximum | null;
54
+ maximum: Shared.Maximum | null;
56
55
  /**
57
56
  * @deprecated This field is deprecated in favor of `adjustments`.
58
57
  */
@@ -60,7 +59,7 @@ export interface InvoiceLineItemCreateResponse {
60
59
  /**
61
60
  * @deprecated This field is deprecated in favor of `adjustments`.
62
61
  */
63
- minimum: InvoiceLineItemCreateResponse.Minimum | null;
62
+ minimum: Shared.Minimum | null;
64
63
  /**
65
64
  * @deprecated This field is deprecated in favor of `adjustments`.
66
65
  */
@@ -85,7 +84,7 @@ export interface InvoiceLineItemCreateResponse {
85
84
  * For more on the types of prices, see
86
85
  * [the core concepts documentation](/core-concepts#plan-and-price)
87
86
  */
88
- price: PricesAPI.Price;
87
+ price: Shared.Price;
89
88
  /**
90
89
  * Either the fixed fee quantity or the usage during the service period.
91
90
  */
@@ -98,7 +97,7 @@ export interface InvoiceLineItemCreateResponse {
98
97
  * For complex pricing structures, the line item can be broken down further in
99
98
  * `sub_line_items`.
100
99
  */
101
- sub_line_items: Array<InvoiceLineItemCreateResponse.MatrixSubLineItem | InvoiceLineItemCreateResponse.TierSubLineItem | InvoiceLineItemCreateResponse.OtherSubLineItem>;
100
+ sub_line_items: Array<Shared.MatrixSubLineItem | Shared.TierSubLineItem | Shared.OtherSubLineItem>;
102
101
  /**
103
102
  * The line amount before before any adjustments.
104
103
  */
@@ -107,400 +106,12 @@ export interface InvoiceLineItemCreateResponse {
107
106
  * An array of tax rates and their incurred tax amounts. Empty if no tax
108
107
  * integration is configured.
109
108
  */
110
- tax_amounts: Array<InvoiceLineItemCreateResponse.TaxAmount>;
109
+ tax_amounts: Array<Shared.TaxAmount>;
111
110
  /**
112
111
  * A list of customer ids that were used to calculate the usage for this line item.
113
112
  */
114
113
  usage_customer_ids: Array<string> | null;
115
114
  }
116
- export declare namespace InvoiceLineItemCreateResponse {
117
- interface MonetaryUsageDiscountAdjustment {
118
- id: string;
119
- adjustment_type: 'usage_discount';
120
- /**
121
- * The value applied by an adjustment.
122
- */
123
- amount: string;
124
- /**
125
- * @deprecated The price IDs that this adjustment applies to.
126
- */
127
- applies_to_price_ids: Array<string>;
128
- /**
129
- * The filters that determine which prices to apply this adjustment to.
130
- */
131
- filters: Array<MonetaryUsageDiscountAdjustment.Filter>;
132
- /**
133
- * True for adjustments that apply to an entire invocice, false for adjustments
134
- * that apply to only one price.
135
- */
136
- is_invoice_level: boolean;
137
- /**
138
- * The reason for the adjustment.
139
- */
140
- reason: string | null;
141
- /**
142
- * The number of usage units by which to discount the price this adjustment applies
143
- * to in a given billing period.
144
- */
145
- usage_discount: number;
146
- }
147
- namespace MonetaryUsageDiscountAdjustment {
148
- interface Filter {
149
- /**
150
- * The property of the price to filter on.
151
- */
152
- field: 'price_id' | 'item_id' | 'price_type' | 'currency' | 'pricing_unit_id';
153
- /**
154
- * Should prices that match the filter be included or excluded.
155
- */
156
- operator: 'includes' | 'excludes';
157
- /**
158
- * The IDs or values that match this filter.
159
- */
160
- values: Array<string>;
161
- }
162
- }
163
- interface MonetaryAmountDiscountAdjustment {
164
- id: string;
165
- adjustment_type: 'amount_discount';
166
- /**
167
- * The value applied by an adjustment.
168
- */
169
- amount: string;
170
- /**
171
- * The amount by which to discount the prices this adjustment applies to in a given
172
- * billing period.
173
- */
174
- amount_discount: string;
175
- /**
176
- * @deprecated The price IDs that this adjustment applies to.
177
- */
178
- applies_to_price_ids: Array<string>;
179
- /**
180
- * The filters that determine which prices to apply this adjustment to.
181
- */
182
- filters: Array<MonetaryAmountDiscountAdjustment.Filter>;
183
- /**
184
- * True for adjustments that apply to an entire invocice, false for adjustments
185
- * that apply to only one price.
186
- */
187
- is_invoice_level: boolean;
188
- /**
189
- * The reason for the adjustment.
190
- */
191
- reason: string | null;
192
- }
193
- namespace MonetaryAmountDiscountAdjustment {
194
- interface Filter {
195
- /**
196
- * The property of the price to filter on.
197
- */
198
- field: 'price_id' | 'item_id' | 'price_type' | 'currency' | 'pricing_unit_id';
199
- /**
200
- * Should prices that match the filter be included or excluded.
201
- */
202
- operator: 'includes' | 'excludes';
203
- /**
204
- * The IDs or values that match this filter.
205
- */
206
- values: Array<string>;
207
- }
208
- }
209
- interface MonetaryPercentageDiscountAdjustment {
210
- id: string;
211
- adjustment_type: 'percentage_discount';
212
- /**
213
- * The value applied by an adjustment.
214
- */
215
- amount: string;
216
- /**
217
- * @deprecated The price IDs that this adjustment applies to.
218
- */
219
- applies_to_price_ids: Array<string>;
220
- /**
221
- * The filters that determine which prices to apply this adjustment to.
222
- */
223
- filters: Array<MonetaryPercentageDiscountAdjustment.Filter>;
224
- /**
225
- * True for adjustments that apply to an entire invocice, false for adjustments
226
- * that apply to only one price.
227
- */
228
- is_invoice_level: boolean;
229
- /**
230
- * The percentage (as a value between 0 and 1) by which to discount the price
231
- * intervals this adjustment applies to in a given billing period.
232
- */
233
- percentage_discount: number;
234
- /**
235
- * The reason for the adjustment.
236
- */
237
- reason: string | null;
238
- }
239
- namespace MonetaryPercentageDiscountAdjustment {
240
- interface Filter {
241
- /**
242
- * The property of the price to filter on.
243
- */
244
- field: 'price_id' | 'item_id' | 'price_type' | 'currency' | 'pricing_unit_id';
245
- /**
246
- * Should prices that match the filter be included or excluded.
247
- */
248
- operator: 'includes' | 'excludes';
249
- /**
250
- * The IDs or values that match this filter.
251
- */
252
- values: Array<string>;
253
- }
254
- }
255
- interface MonetaryMinimumAdjustment {
256
- id: string;
257
- adjustment_type: 'minimum';
258
- /**
259
- * The value applied by an adjustment.
260
- */
261
- amount: string;
262
- /**
263
- * @deprecated The price IDs that this adjustment applies to.
264
- */
265
- applies_to_price_ids: Array<string>;
266
- /**
267
- * The filters that determine which prices to apply this adjustment to.
268
- */
269
- filters: Array<MonetaryMinimumAdjustment.Filter>;
270
- /**
271
- * True for adjustments that apply to an entire invocice, false for adjustments
272
- * that apply to only one price.
273
- */
274
- is_invoice_level: boolean;
275
- /**
276
- * The item ID that revenue from this minimum will be attributed to.
277
- */
278
- item_id: string;
279
- /**
280
- * The minimum amount to charge in a given billing period for the prices this
281
- * adjustment applies to.
282
- */
283
- minimum_amount: string;
284
- /**
285
- * The reason for the adjustment.
286
- */
287
- reason: string | null;
288
- }
289
- namespace MonetaryMinimumAdjustment {
290
- interface Filter {
291
- /**
292
- * The property of the price to filter on.
293
- */
294
- field: 'price_id' | 'item_id' | 'price_type' | 'currency' | 'pricing_unit_id';
295
- /**
296
- * Should prices that match the filter be included or excluded.
297
- */
298
- operator: 'includes' | 'excludes';
299
- /**
300
- * The IDs or values that match this filter.
301
- */
302
- values: Array<string>;
303
- }
304
- }
305
- interface MonetaryMaximumAdjustment {
306
- id: string;
307
- adjustment_type: 'maximum';
308
- /**
309
- * The value applied by an adjustment.
310
- */
311
- amount: string;
312
- /**
313
- * @deprecated The price IDs that this adjustment applies to.
314
- */
315
- applies_to_price_ids: Array<string>;
316
- /**
317
- * The filters that determine which prices to apply this adjustment to.
318
- */
319
- filters: Array<MonetaryMaximumAdjustment.Filter>;
320
- /**
321
- * True for adjustments that apply to an entire invocice, false for adjustments
322
- * that apply to only one price.
323
- */
324
- is_invoice_level: boolean;
325
- /**
326
- * The maximum amount to charge in a given billing period for the prices this
327
- * adjustment applies to.
328
- */
329
- maximum_amount: string;
330
- /**
331
- * The reason for the adjustment.
332
- */
333
- reason: string | null;
334
- }
335
- namespace MonetaryMaximumAdjustment {
336
- interface Filter {
337
- /**
338
- * The property of the price to filter on.
339
- */
340
- field: 'price_id' | 'item_id' | 'price_type' | 'currency' | 'pricing_unit_id';
341
- /**
342
- * Should prices that match the filter be included or excluded.
343
- */
344
- operator: 'includes' | 'excludes';
345
- /**
346
- * The IDs or values that match this filter.
347
- */
348
- values: Array<string>;
349
- }
350
- }
351
- /**
352
- * @deprecated This field is deprecated in favor of `adjustments`.
353
- */
354
- interface Maximum {
355
- /**
356
- * @deprecated List of price_ids that this maximum amount applies to. For plan/plan
357
- * phase maximums, this can be a subset of prices.
358
- */
359
- applies_to_price_ids: Array<string>;
360
- /**
361
- * The filters that determine which prices to apply this maximum to.
362
- */
363
- filters: Array<Maximum.Filter>;
364
- /**
365
- * Maximum amount applied
366
- */
367
- maximum_amount: string;
368
- }
369
- namespace Maximum {
370
- interface Filter {
371
- /**
372
- * The property of the price to filter on.
373
- */
374
- field: 'price_id' | 'item_id' | 'price_type' | 'currency' | 'pricing_unit_id';
375
- /**
376
- * Should prices that match the filter be included or excluded.
377
- */
378
- operator: 'includes' | 'excludes';
379
- /**
380
- * The IDs or values that match this filter.
381
- */
382
- values: Array<string>;
383
- }
384
- }
385
- /**
386
- * @deprecated This field is deprecated in favor of `adjustments`.
387
- */
388
- interface Minimum {
389
- /**
390
- * @deprecated List of price_ids that this minimum amount applies to. For plan/plan
391
- * phase minimums, this can be a subset of prices.
392
- */
393
- applies_to_price_ids: Array<string>;
394
- /**
395
- * The filters that determine which prices to apply this minimum to.
396
- */
397
- filters: Array<Minimum.Filter>;
398
- /**
399
- * Minimum amount applied
400
- */
401
- minimum_amount: string;
402
- }
403
- namespace Minimum {
404
- interface Filter {
405
- /**
406
- * The property of the price to filter on.
407
- */
408
- field: 'price_id' | 'item_id' | 'price_type' | 'currency' | 'pricing_unit_id';
409
- /**
410
- * Should prices that match the filter be included or excluded.
411
- */
412
- operator: 'includes' | 'excludes';
413
- /**
414
- * The IDs or values that match this filter.
415
- */
416
- values: Array<string>;
417
- }
418
- }
419
- interface MatrixSubLineItem {
420
- /**
421
- * The total amount for this sub line item.
422
- */
423
- amount: string;
424
- grouping: MatrixSubLineItem.Grouping | null;
425
- matrix_config: MatrixSubLineItem.MatrixConfig;
426
- name: string;
427
- quantity: number;
428
- type: 'matrix';
429
- }
430
- namespace MatrixSubLineItem {
431
- interface Grouping {
432
- key: string;
433
- /**
434
- * No value indicates the default group
435
- */
436
- value: string | null;
437
- }
438
- interface MatrixConfig {
439
- /**
440
- * The ordered dimension values for this line item.
441
- */
442
- dimension_values: Array<string | null>;
443
- }
444
- }
445
- interface TierSubLineItem {
446
- /**
447
- * The total amount for this sub line item.
448
- */
449
- amount: string;
450
- grouping: TierSubLineItem.Grouping | null;
451
- name: string;
452
- quantity: number;
453
- tier_config: TierSubLineItem.TierConfig;
454
- type: 'tier';
455
- }
456
- namespace TierSubLineItem {
457
- interface Grouping {
458
- key: string;
459
- /**
460
- * No value indicates the default group
461
- */
462
- value: string | null;
463
- }
464
- interface TierConfig {
465
- first_unit: number;
466
- last_unit: number | null;
467
- unit_amount: string;
468
- }
469
- }
470
- interface OtherSubLineItem {
471
- /**
472
- * The total amount for this sub line item.
473
- */
474
- amount: string;
475
- grouping: OtherSubLineItem.Grouping | null;
476
- name: string;
477
- quantity: number;
478
- type: "'null'";
479
- }
480
- namespace OtherSubLineItem {
481
- interface Grouping {
482
- key: string;
483
- /**
484
- * No value indicates the default group
485
- */
486
- value: string | null;
487
- }
488
- }
489
- interface TaxAmount {
490
- /**
491
- * The amount of additional tax incurred by this tax rate.
492
- */
493
- amount: string;
494
- /**
495
- * The human-readable description of the applied tax rate.
496
- */
497
- tax_rate_description: string;
498
- /**
499
- * The tax rate percentage, out of 100.
500
- */
501
- tax_rate_percentage: string | null;
502
- }
503
- }
504
115
  export interface InvoiceLineItemCreateParams {
505
116
  /**
506
117
  * The total amount in the invoice's currency to add to the line item.
@@ -1 +1 @@
1
- {"version":3,"file":"invoice-line-items.d.ts","sourceRoot":"","sources":["../src/resources/invoice-line-items.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,SAAS,MAAM,iBAAiB,CAAC;AAE7C,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,6BAA6B,CAAC;CAGlD;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OA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ACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"invoice-line-items.js","sourceRoot":"","sources":["../src/resources/invoice-line-items.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAK1C,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;;OAGG;IACH,MAAM,CACJ,IAAiC,EACjC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF;AAXD,4CAWC"}
1
+ {"version":3,"file":"invoice-line-items.js","sourceRoot":"","sources":["../src/resources/invoice-line-items.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAI1C,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;;OAGG;IACH,MAAM,CACJ,IAAiC,EACjC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF;AAXD,4CAWC"}
@@ -1 +1 @@
1
- {"version":3,"file":"invoice-line-items.mjs","sourceRoot":"","sources":["../src/resources/invoice-line-items.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;;OAGG;IACH,MAAM,CACJ,IAAiC,EACjC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF"}
1
+ {"version":3,"file":"invoice-line-items.mjs","sourceRoot":"","sources":["../src/resources/invoice-line-items.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;;OAGG;IACH,MAAM,CACJ,IAAiC,EACjC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;CACF"}