orb-billing 1.33.1 → 1.34.1

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 (36) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/LICENSE +1 -1
  3. package/core.d.ts +1 -0
  4. package/core.d.ts.map +1 -1
  5. package/core.js +38 -12
  6. package/core.js.map +1 -1
  7. package/core.mjs +38 -12
  8. package/core.mjs.map +1 -1
  9. package/package.json +1 -1
  10. package/resources/customers/credits/credits.d.ts +8 -0
  11. package/resources/customers/credits/credits.d.ts.map +1 -1
  12. package/resources/customers/credits/credits.js.map +1 -1
  13. package/resources/customers/credits/credits.mjs.map +1 -1
  14. package/resources/customers/credits/ledger.d.ts +84 -0
  15. package/resources/customers/credits/ledger.d.ts.map +1 -1
  16. package/resources/customers/credits/ledger.js.map +1 -1
  17. package/resources/customers/credits/ledger.mjs.map +1 -1
  18. package/resources/customers/customers.d.ts +16 -8
  19. package/resources/customers/customers.d.ts.map +1 -1
  20. package/resources/customers/customers.js.map +1 -1
  21. package/resources/customers/customers.mjs.map +1 -1
  22. package/resources/invoices.d.ts +8 -4
  23. package/resources/invoices.d.ts.map +1 -1
  24. package/resources/invoices.js.map +1 -1
  25. package/resources/invoices.mjs.map +1 -1
  26. package/resources/plans/plans.d.ts +2 -2
  27. package/src/core.ts +50 -13
  28. package/src/resources/customers/credits/credits.ts +12 -2
  29. package/src/resources/customers/credits/ledger.ts +122 -0
  30. package/src/resources/customers/customers.ts +16 -0
  31. package/src/resources/invoices.ts +8 -0
  32. package/src/resources/plans/plans.ts +2 -2
  33. package/src/version.ts +1 -1
  34. package/version.d.ts +1 -1
  35. package/version.js +1 -1
  36. package/version.mjs +1 -1
@@ -489,6 +489,8 @@ export namespace LedgerListResponse {
489
489
 
490
490
  credit_block: IncrementLedgerEntry.CreditBlock;
491
491
 
492
+ currency: string;
493
+
492
494
  customer: IncrementLedgerEntry.Customer;
493
495
 
494
496
  description: string | null;
@@ -537,6 +539,8 @@ export namespace LedgerListResponse {
537
539
 
538
540
  credit_block: DecrementLedgerEntry.CreditBlock;
539
541
 
542
+ currency: string;
543
+
540
544
  customer: DecrementLedgerEntry.Customer;
541
545
 
542
546
  description: string | null;
@@ -591,6 +595,8 @@ export namespace LedgerListResponse {
591
595
 
592
596
  credit_block: ExpirationChangeLedgerEntry.CreditBlock;
593
597
 
598
+ currency: string;
599
+
594
600
  customer: ExpirationChangeLedgerEntry.Customer;
595
601
 
596
602
  description: string | null;
@@ -641,6 +647,8 @@ export namespace LedgerListResponse {
641
647
 
642
648
  credit_block: CreditBlockExpiryLedgerEntry.CreditBlock;
643
649
 
650
+ currency: string;
651
+
644
652
  customer: CreditBlockExpiryLedgerEntry.Customer;
645
653
 
646
654
  description: string | null;
@@ -689,6 +697,8 @@ export namespace LedgerListResponse {
689
697
 
690
698
  credit_block: VoidLedgerEntry.CreditBlock;
691
699
 
700
+ currency: string;
701
+
692
702
  customer: VoidLedgerEntry.Customer;
693
703
 
694
704
  description: string | null;
@@ -741,6 +751,8 @@ export namespace LedgerListResponse {
741
751
 
742
752
  credit_block: VoidInitiatedLedgerEntry.CreditBlock;
743
753
 
754
+ currency: string;
755
+
744
756
  customer: VoidInitiatedLedgerEntry.Customer;
745
757
 
746
758
  description: string | null;
@@ -795,6 +807,8 @@ export namespace LedgerListResponse {
795
807
 
796
808
  credit_block: AmendmentLedgerEntry.CreditBlock;
797
809
 
810
+ currency: string;
811
+
798
812
  customer: AmendmentLedgerEntry.Customer;
799
813
 
800
814
  description: string | null;
@@ -858,6 +872,8 @@ export namespace LedgerCreateEntryResponse {
858
872
 
859
873
  credit_block: IncrementLedgerEntry.CreditBlock;
860
874
 
875
+ currency: string;
876
+
861
877
  customer: IncrementLedgerEntry.Customer;
862
878
 
863
879
  description: string | null;
@@ -906,6 +922,8 @@ export namespace LedgerCreateEntryResponse {
906
922
 
907
923
  credit_block: DecrementLedgerEntry.CreditBlock;
908
924
 
925
+ currency: string;
926
+
909
927
  customer: DecrementLedgerEntry.Customer;
910
928
 
911
929
  description: string | null;
@@ -960,6 +978,8 @@ export namespace LedgerCreateEntryResponse {
960
978
 
961
979
  credit_block: ExpirationChangeLedgerEntry.CreditBlock;
962
980
 
981
+ currency: string;
982
+
963
983
  customer: ExpirationChangeLedgerEntry.Customer;
964
984
 
965
985
  description: string | null;
@@ -1010,6 +1030,8 @@ export namespace LedgerCreateEntryResponse {
1010
1030
 
1011
1031
  credit_block: CreditBlockExpiryLedgerEntry.CreditBlock;
1012
1032
 
1033
+ currency: string;
1034
+
1013
1035
  customer: CreditBlockExpiryLedgerEntry.Customer;
1014
1036
 
1015
1037
  description: string | null;
@@ -1058,6 +1080,8 @@ export namespace LedgerCreateEntryResponse {
1058
1080
 
1059
1081
  credit_block: VoidLedgerEntry.CreditBlock;
1060
1082
 
1083
+ currency: string;
1084
+
1061
1085
  customer: VoidLedgerEntry.Customer;
1062
1086
 
1063
1087
  description: string | null;
@@ -1110,6 +1134,8 @@ export namespace LedgerCreateEntryResponse {
1110
1134
 
1111
1135
  credit_block: VoidInitiatedLedgerEntry.CreditBlock;
1112
1136
 
1137
+ currency: string;
1138
+
1113
1139
  customer: VoidInitiatedLedgerEntry.Customer;
1114
1140
 
1115
1141
  description: string | null;
@@ -1164,6 +1190,8 @@ export namespace LedgerCreateEntryResponse {
1164
1190
 
1165
1191
  credit_block: AmendmentLedgerEntry.CreditBlock;
1166
1192
 
1193
+ currency: string;
1194
+
1167
1195
  customer: AmendmentLedgerEntry.Customer;
1168
1196
 
1169
1197
  description: string | null;
@@ -1227,6 +1255,8 @@ export namespace LedgerCreateEntryByExternalIDResponse {
1227
1255
 
1228
1256
  credit_block: IncrementLedgerEntry.CreditBlock;
1229
1257
 
1258
+ currency: string;
1259
+
1230
1260
  customer: IncrementLedgerEntry.Customer;
1231
1261
 
1232
1262
  description: string | null;
@@ -1275,6 +1305,8 @@ export namespace LedgerCreateEntryByExternalIDResponse {
1275
1305
 
1276
1306
  credit_block: DecrementLedgerEntry.CreditBlock;
1277
1307
 
1308
+ currency: string;
1309
+
1278
1310
  customer: DecrementLedgerEntry.Customer;
1279
1311
 
1280
1312
  description: string | null;
@@ -1329,6 +1361,8 @@ export namespace LedgerCreateEntryByExternalIDResponse {
1329
1361
 
1330
1362
  credit_block: ExpirationChangeLedgerEntry.CreditBlock;
1331
1363
 
1364
+ currency: string;
1365
+
1332
1366
  customer: ExpirationChangeLedgerEntry.Customer;
1333
1367
 
1334
1368
  description: string | null;
@@ -1379,6 +1413,8 @@ export namespace LedgerCreateEntryByExternalIDResponse {
1379
1413
 
1380
1414
  credit_block: CreditBlockExpiryLedgerEntry.CreditBlock;
1381
1415
 
1416
+ currency: string;
1417
+
1382
1418
  customer: CreditBlockExpiryLedgerEntry.Customer;
1383
1419
 
1384
1420
  description: string | null;
@@ -1427,6 +1463,8 @@ export namespace LedgerCreateEntryByExternalIDResponse {
1427
1463
 
1428
1464
  credit_block: VoidLedgerEntry.CreditBlock;
1429
1465
 
1466
+ currency: string;
1467
+
1430
1468
  customer: VoidLedgerEntry.Customer;
1431
1469
 
1432
1470
  description: string | null;
@@ -1479,6 +1517,8 @@ export namespace LedgerCreateEntryByExternalIDResponse {
1479
1517
 
1480
1518
  credit_block: VoidInitiatedLedgerEntry.CreditBlock;
1481
1519
 
1520
+ currency: string;
1521
+
1482
1522
  customer: VoidInitiatedLedgerEntry.Customer;
1483
1523
 
1484
1524
  description: string | null;
@@ -1533,6 +1573,8 @@ export namespace LedgerCreateEntryByExternalIDResponse {
1533
1573
 
1534
1574
  credit_block: AmendmentLedgerEntry.CreditBlock;
1535
1575
 
1576
+ currency: string;
1577
+
1536
1578
  customer: AmendmentLedgerEntry.Customer;
1537
1579
 
1538
1580
  description: string | null;
@@ -1596,6 +1638,8 @@ export namespace LedgerListByExternalIDResponse {
1596
1638
 
1597
1639
  credit_block: IncrementLedgerEntry.CreditBlock;
1598
1640
 
1641
+ currency: string;
1642
+
1599
1643
  customer: IncrementLedgerEntry.Customer;
1600
1644
 
1601
1645
  description: string | null;
@@ -1644,6 +1688,8 @@ export namespace LedgerListByExternalIDResponse {
1644
1688
 
1645
1689
  credit_block: DecrementLedgerEntry.CreditBlock;
1646
1690
 
1691
+ currency: string;
1692
+
1647
1693
  customer: DecrementLedgerEntry.Customer;
1648
1694
 
1649
1695
  description: string | null;
@@ -1698,6 +1744,8 @@ export namespace LedgerListByExternalIDResponse {
1698
1744
 
1699
1745
  credit_block: ExpirationChangeLedgerEntry.CreditBlock;
1700
1746
 
1747
+ currency: string;
1748
+
1701
1749
  customer: ExpirationChangeLedgerEntry.Customer;
1702
1750
 
1703
1751
  description: string | null;
@@ -1748,6 +1796,8 @@ export namespace LedgerListByExternalIDResponse {
1748
1796
 
1749
1797
  credit_block: CreditBlockExpiryLedgerEntry.CreditBlock;
1750
1798
 
1799
+ currency: string;
1800
+
1751
1801
  customer: CreditBlockExpiryLedgerEntry.Customer;
1752
1802
 
1753
1803
  description: string | null;
@@ -1796,6 +1846,8 @@ export namespace LedgerListByExternalIDResponse {
1796
1846
 
1797
1847
  credit_block: VoidLedgerEntry.CreditBlock;
1798
1848
 
1849
+ currency: string;
1850
+
1799
1851
  customer: VoidLedgerEntry.Customer;
1800
1852
 
1801
1853
  description: string | null;
@@ -1848,6 +1900,8 @@ export namespace LedgerListByExternalIDResponse {
1848
1900
 
1849
1901
  credit_block: VoidInitiatedLedgerEntry.CreditBlock;
1850
1902
 
1903
+ currency: string;
1904
+
1851
1905
  customer: VoidInitiatedLedgerEntry.Customer;
1852
1906
 
1853
1907
  description: string | null;
@@ -1902,6 +1956,8 @@ export namespace LedgerListByExternalIDResponse {
1902
1956
 
1903
1957
  credit_block: AmendmentLedgerEntry.CreditBlock;
1904
1958
 
1959
+ currency: string;
1960
+
1905
1961
  customer: AmendmentLedgerEntry.Customer;
1906
1962
 
1907
1963
  description: string | null;
@@ -1951,6 +2007,9 @@ export interface LedgerListParams extends PageParams {
1951
2007
 
1952
2008
  'created_at[lte]'?: string | null;
1953
2009
 
2010
+ /**
2011
+ * The ledger currency or custom pricing unit to use.
2012
+ */
1954
2013
  currency?: string | null;
1955
2014
 
1956
2015
  entry_status?: 'committed' | 'pending' | null;
@@ -1985,6 +2044,12 @@ export namespace LedgerCreateEntryParams {
1985
2044
 
1986
2045
  entry_type: 'increment';
1987
2046
 
2047
+ /**
2048
+ * The currency or custom pricing unit to use for this ledger entry. If this is a
2049
+ * real-world currency, it must match the customer's invoicing currency.
2050
+ */
2051
+ currency?: string | null;
2052
+
1988
2053
  /**
1989
2054
  * Optional metadata that can be specified when adding ledger results via the API.
1990
2055
  * For example, this can be used to note an increment refers to trial credits, or
@@ -2063,6 +2128,12 @@ export namespace LedgerCreateEntryParams {
2063
2128
 
2064
2129
  entry_type: 'decrement';
2065
2130
 
2131
+ /**
2132
+ * The currency or custom pricing unit to use for this ledger entry. If this is a
2133
+ * real-world currency, it must match the customer's invoicing currency.
2134
+ */
2135
+ currency?: string | null;
2136
+
2066
2137
  /**
2067
2138
  * Optional metadata that can be specified when adding ledger results via the API.
2068
2139
  * For example, this can be used to note an increment refers to trial credits, or
@@ -2106,6 +2177,12 @@ export namespace LedgerCreateEntryParams {
2106
2177
  */
2107
2178
  block_id?: string | null;
2108
2179
 
2180
+ /**
2181
+ * The currency or custom pricing unit to use for this ledger entry. If this is a
2182
+ * real-world currency, it must match the customer's invoicing currency.
2183
+ */
2184
+ currency?: string | null;
2185
+
2109
2186
  /**
2110
2187
  * Optional metadata that can be specified when adding ledger results via the API.
2111
2188
  * For example, this can be used to note an increment refers to trial credits, or
@@ -2135,6 +2212,12 @@ export namespace LedgerCreateEntryParams {
2135
2212
 
2136
2213
  entry_type: 'void';
2137
2214
 
2215
+ /**
2216
+ * The currency or custom pricing unit to use for this ledger entry. If this is a
2217
+ * real-world currency, it must match the customer's invoicing currency.
2218
+ */
2219
+ currency?: string | null;
2220
+
2138
2221
  /**
2139
2222
  * Optional metadata that can be specified when adding ledger results via the API.
2140
2223
  * For example, this can be used to note an increment refers to trial credits, or
@@ -2169,6 +2252,12 @@ export namespace LedgerCreateEntryParams {
2169
2252
 
2170
2253
  entry_type: 'amendment';
2171
2254
 
2255
+ /**
2256
+ * The currency or custom pricing unit to use for this ledger entry. If this is a
2257
+ * real-world currency, it must match the customer's invoicing currency.
2258
+ */
2259
+ currency?: string | null;
2260
+
2172
2261
  /**
2173
2262
  * Optional metadata that can be specified when adding ledger results via the API.
2174
2263
  * For example, this can be used to note an increment refers to trial credits, or
@@ -2202,6 +2291,12 @@ export namespace LedgerCreateEntryByExternalIDParams {
2202
2291
 
2203
2292
  entry_type: 'increment';
2204
2293
 
2294
+ /**
2295
+ * The currency or custom pricing unit to use for this ledger entry. If this is a
2296
+ * real-world currency, it must match the customer's invoicing currency.
2297
+ */
2298
+ currency?: string | null;
2299
+
2205
2300
  /**
2206
2301
  * Optional metadata that can be specified when adding ledger results via the API.
2207
2302
  * For example, this can be used to note an increment refers to trial credits, or
@@ -2280,6 +2375,12 @@ export namespace LedgerCreateEntryByExternalIDParams {
2280
2375
 
2281
2376
  entry_type: 'decrement';
2282
2377
 
2378
+ /**
2379
+ * The currency or custom pricing unit to use for this ledger entry. If this is a
2380
+ * real-world currency, it must match the customer's invoicing currency.
2381
+ */
2382
+ currency?: string | null;
2383
+
2283
2384
  /**
2284
2385
  * Optional metadata that can be specified when adding ledger results via the API.
2285
2386
  * For example, this can be used to note an increment refers to trial credits, or
@@ -2323,6 +2424,12 @@ export namespace LedgerCreateEntryByExternalIDParams {
2323
2424
  */
2324
2425
  block_id?: string | null;
2325
2426
 
2427
+ /**
2428
+ * The currency or custom pricing unit to use for this ledger entry. If this is a
2429
+ * real-world currency, it must match the customer's invoicing currency.
2430
+ */
2431
+ currency?: string | null;
2432
+
2326
2433
  /**
2327
2434
  * Optional metadata that can be specified when adding ledger results via the API.
2328
2435
  * For example, this can be used to note an increment refers to trial credits, or
@@ -2352,6 +2459,12 @@ export namespace LedgerCreateEntryByExternalIDParams {
2352
2459
 
2353
2460
  entry_type: 'void';
2354
2461
 
2462
+ /**
2463
+ * The currency or custom pricing unit to use for this ledger entry. If this is a
2464
+ * real-world currency, it must match the customer's invoicing currency.
2465
+ */
2466
+ currency?: string | null;
2467
+
2355
2468
  /**
2356
2469
  * Optional metadata that can be specified when adding ledger results via the API.
2357
2470
  * For example, this can be used to note an increment refers to trial credits, or
@@ -2386,6 +2499,12 @@ export namespace LedgerCreateEntryByExternalIDParams {
2386
2499
 
2387
2500
  entry_type: 'amendment';
2388
2501
 
2502
+ /**
2503
+ * The currency or custom pricing unit to use for this ledger entry. If this is a
2504
+ * real-world currency, it must match the customer's invoicing currency.
2505
+ */
2506
+ currency?: string | null;
2507
+
2389
2508
  /**
2390
2509
  * Optional metadata that can be specified when adding ledger results via the API.
2391
2510
  * For example, this can be used to note an increment refers to trial credits, or
@@ -2411,6 +2530,9 @@ export interface LedgerListByExternalIDParams extends PageParams {
2411
2530
 
2412
2531
  'created_at[lte]'?: string | null;
2413
2532
 
2533
+ /**
2534
+ * The ledger currency or custom pricing unit to use.
2535
+ */
2414
2536
  currency?: string | null;
2415
2537
 
2416
2538
  entry_status?: 'committed' | 'pending' | null;
@@ -243,6 +243,7 @@ export interface Customer {
243
243
  *
244
244
  * | Country | Type | Description |
245
245
  * | -------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
246
+ * | Andorra | `ad_nrt` | Andorran NRT number |
246
247
  * | Australia | `au_abn` | Australian Business Number (AU ABN) |
247
248
  * | Australia | `au_arn` | Australian Taxation Office Reference Number |
248
249
  * | Austria | `eu_vat` | European VAT number |
@@ -372,6 +373,7 @@ export namespace Customer {
372
373
  *
373
374
  * | Country | Type | Description |
374
375
  * | -------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
376
+ * | Andorra | `ad_nrt` | Andorran NRT number |
375
377
  * | Australia | `au_abn` | Australian Business Number (AU ABN) |
376
378
  * | Australia | `au_arn` | Australian Taxation Office Reference Number |
377
379
  * | Austria | `eu_vat` | European VAT number |
@@ -452,6 +454,7 @@ export namespace Customer {
452
454
  */
453
455
  export interface TaxID {
454
456
  country:
457
+ | 'AD'
455
458
  | 'AE'
456
459
  | 'AT'
457
460
  | 'AU'
@@ -514,6 +517,7 @@ export namespace Customer {
514
517
  | 'ZA';
515
518
 
516
519
  type:
520
+ | 'ad_nrt'
517
521
  | 'ae_trn'
518
522
  | 'eu_vat'
519
523
  | 'au_abn'
@@ -665,6 +669,7 @@ export interface CustomerCreateParams {
665
669
  *
666
670
  * | Country | Type | Description |
667
671
  * | -------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
672
+ * | Andorra | `ad_nrt` | Andorran NRT number |
668
673
  * | Australia | `au_abn` | Australian Business Number (AU ABN) |
669
674
  * | Australia | `au_arn` | Australian Taxation Office Reference Number |
670
675
  * | Austria | `eu_vat` | European VAT number |
@@ -808,6 +813,7 @@ export namespace CustomerCreateParams {
808
813
  *
809
814
  * | Country | Type | Description |
810
815
  * | -------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
816
+ * | Andorra | `ad_nrt` | Andorran NRT number |
811
817
  * | Australia | `au_abn` | Australian Business Number (AU ABN) |
812
818
  * | Australia | `au_arn` | Australian Taxation Office Reference Number |
813
819
  * | Austria | `eu_vat` | European VAT number |
@@ -888,6 +894,7 @@ export namespace CustomerCreateParams {
888
894
  */
889
895
  export interface TaxID {
890
896
  country:
897
+ | 'AD'
891
898
  | 'AE'
892
899
  | 'AT'
893
900
  | 'AU'
@@ -950,6 +957,7 @@ export namespace CustomerCreateParams {
950
957
  | 'ZA';
951
958
 
952
959
  type:
960
+ | 'ad_nrt'
953
961
  | 'ae_trn'
954
962
  | 'eu_vat'
955
963
  | 'au_abn'
@@ -1078,6 +1086,7 @@ export interface CustomerUpdateParams {
1078
1086
  *
1079
1087
  * | Country | Type | Description |
1080
1088
  * | -------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
1089
+ * | Andorra | `ad_nrt` | Andorran NRT number |
1081
1090
  * | Australia | `au_abn` | Australian Business Number (AU ABN) |
1082
1091
  * | Australia | `au_arn` | Australian Taxation Office Reference Number |
1083
1092
  * | Austria | `eu_vat` | European VAT number |
@@ -1214,6 +1223,7 @@ export namespace CustomerUpdateParams {
1214
1223
  *
1215
1224
  * | Country | Type | Description |
1216
1225
  * | -------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
1226
+ * | Andorra | `ad_nrt` | Andorran NRT number |
1217
1227
  * | Australia | `au_abn` | Australian Business Number (AU ABN) |
1218
1228
  * | Australia | `au_arn` | Australian Taxation Office Reference Number |
1219
1229
  * | Austria | `eu_vat` | European VAT number |
@@ -1294,6 +1304,7 @@ export namespace CustomerUpdateParams {
1294
1304
  */
1295
1305
  export interface TaxID {
1296
1306
  country:
1307
+ | 'AD'
1297
1308
  | 'AE'
1298
1309
  | 'AT'
1299
1310
  | 'AU'
@@ -1356,6 +1367,7 @@ export namespace CustomerUpdateParams {
1356
1367
  | 'ZA';
1357
1368
 
1358
1369
  type:
1370
+ | 'ad_nrt'
1359
1371
  | 'ae_trn'
1360
1372
  | 'eu_vat'
1361
1373
  | 'au_abn'
@@ -1494,6 +1506,7 @@ export interface CustomerUpdateByExternalIDParams {
1494
1506
  *
1495
1507
  * | Country | Type | Description |
1496
1508
  * | -------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
1509
+ * | Andorra | `ad_nrt` | Andorran NRT number |
1497
1510
  * | Australia | `au_abn` | Australian Business Number (AU ABN) |
1498
1511
  * | Australia | `au_arn` | Australian Taxation Office Reference Number |
1499
1512
  * | Austria | `eu_vat` | European VAT number |
@@ -1630,6 +1643,7 @@ export namespace CustomerUpdateByExternalIDParams {
1630
1643
  *
1631
1644
  * | Country | Type | Description |
1632
1645
  * | -------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
1646
+ * | Andorra | `ad_nrt` | Andorran NRT number |
1633
1647
  * | Australia | `au_abn` | Australian Business Number (AU ABN) |
1634
1648
  * | Australia | `au_arn` | Australian Taxation Office Reference Number |
1635
1649
  * | Austria | `eu_vat` | European VAT number |
@@ -1710,6 +1724,7 @@ export namespace CustomerUpdateByExternalIDParams {
1710
1724
  */
1711
1725
  export interface TaxID {
1712
1726
  country:
1727
+ | 'AD'
1713
1728
  | 'AE'
1714
1729
  | 'AT'
1715
1730
  | 'AU'
@@ -1772,6 +1787,7 @@ export namespace CustomerUpdateByExternalIDParams {
1772
1787
  | 'ZA';
1773
1788
 
1774
1789
  type:
1790
+ | 'ad_nrt'
1775
1791
  | 'ae_trn'
1776
1792
  | 'eu_vat'
1777
1793
  | 'au_abn'
@@ -154,6 +154,7 @@ export interface Invoice {
154
154
  *
155
155
  * | Country | Type | Description |
156
156
  * | -------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
157
+ * | Andorra | `ad_nrt` | Andorran NRT number |
157
158
  * | Australia | `au_abn` | Australian Business Number (AU ABN) |
158
159
  * | Australia | `au_arn` | Australian Taxation Office Reference Number |
159
160
  * | Austria | `eu_vat` | European VAT number |
@@ -508,6 +509,7 @@ export namespace Invoice {
508
509
  *
509
510
  * | Country | Type | Description |
510
511
  * | -------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
512
+ * | Andorra | `ad_nrt` | Andorran NRT number |
511
513
  * | Australia | `au_abn` | Australian Business Number (AU ABN) |
512
514
  * | Australia | `au_arn` | Australian Taxation Office Reference Number |
513
515
  * | Austria | `eu_vat` | European VAT number |
@@ -588,6 +590,7 @@ export namespace Invoice {
588
590
  */
589
591
  export interface CustomerTaxID {
590
592
  country:
593
+ | 'AD'
591
594
  | 'AE'
592
595
  | 'AT'
593
596
  | 'AU'
@@ -650,6 +653,7 @@ export namespace Invoice {
650
653
  | 'ZA';
651
654
 
652
655
  type:
656
+ | 'ad_nrt'
653
657
  | 'ae_trn'
654
658
  | 'eu_vat'
655
659
  | 'au_abn'
@@ -1230,6 +1234,7 @@ export interface InvoiceFetchUpcomingResponse {
1230
1234
  *
1231
1235
  * | Country | Type | Description |
1232
1236
  * | -------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
1237
+ * | Andorra | `ad_nrt` | Andorran NRT number |
1233
1238
  * | Australia | `au_abn` | Australian Business Number (AU ABN) |
1234
1239
  * | Australia | `au_arn` | Australian Taxation Office Reference Number |
1235
1240
  * | Austria | `eu_vat` | European VAT number |
@@ -1584,6 +1589,7 @@ export namespace InvoiceFetchUpcomingResponse {
1584
1589
  *
1585
1590
  * | Country | Type | Description |
1586
1591
  * | -------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
1592
+ * | Andorra | `ad_nrt` | Andorran NRT number |
1587
1593
  * | Australia | `au_abn` | Australian Business Number (AU ABN) |
1588
1594
  * | Australia | `au_arn` | Australian Taxation Office Reference Number |
1589
1595
  * | Austria | `eu_vat` | European VAT number |
@@ -1664,6 +1670,7 @@ export namespace InvoiceFetchUpcomingResponse {
1664
1670
  */
1665
1671
  export interface CustomerTaxID {
1666
1672
  country:
1673
+ | 'AD'
1667
1674
  | 'AE'
1668
1675
  | 'AT'
1669
1676
  | 'AU'
@@ -1726,6 +1733,7 @@ export namespace InvoiceFetchUpcomingResponse {
1726
1733
  | 'ZA';
1727
1734
 
1728
1735
  type:
1736
+ | 'ad_nrt'
1729
1737
  | 'ae_trn'
1730
1738
  | 'eu_vat'
1731
1739
  | 'au_abn'
@@ -289,8 +289,8 @@ export namespace Plan {
289
289
 
290
290
  export interface PlanCreateParams {
291
291
  /**
292
- * An ISO 4217 currency string or custom pricing unit (`credits`) for this plan's
293
- * prices.
292
+ * An ISO 4217 currency string for invoices generated by subscriptions on this
293
+ * plan.
294
294
  */
295
295
  currency: string;
296
296
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '1.33.1'; // x-release-please-version
1
+ export const VERSION = '1.34.1'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "1.33.1";
1
+ export declare const VERSION = "1.34.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '1.33.1'; // x-release-please-version
4
+ exports.VERSION = '1.34.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '1.33.1'; // x-release-please-version
1
+ export const VERSION = '1.34.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map