orb-billing 5.0.0 → 5.1.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.
- package/CHANGELOG.md +39 -0
- package/core.d.ts +7 -4
- package/core.d.ts.map +1 -1
- package/core.js +16 -9
- package/core.js.map +1 -1
- package/core.mjs +16 -9
- package/core.mjs.map +1 -1
- package/index.d.mts +3 -0
- package/index.d.ts +3 -0
- package/index.d.ts.map +1 -1
- package/index.js +6 -2
- package/index.js.map +1 -1
- package/index.mjs +6 -2
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resource.d.ts +1 -1
- package/resource.d.ts.map +1 -1
- package/resource.js.map +1 -1
- package/resource.mjs.map +1 -1
- package/resources/credit-notes.d.ts +54 -0
- package/resources/credit-notes.d.ts.map +1 -1
- package/resources/credit-notes.js +25 -0
- package/resources/credit-notes.js.map +1 -1
- package/resources/credit-notes.mjs +25 -0
- package/resources/credit-notes.mjs.map +1 -1
- package/resources/customers/costs.d.ts +16 -16
- package/resources/customers/credits/ledger.d.ts +75 -29
- package/resources/customers/credits/ledger.d.ts.map +1 -1
- package/resources/customers/credits/ledger.js.map +1 -1
- package/resources/customers/credits/ledger.mjs.map +1 -1
- package/resources/customers/customers.d.ts +12 -4
- package/resources/customers/customers.d.ts.map +1 -1
- package/resources/dimensional-price-groups/dimensional-price-groups.d.ts +6 -2
- package/resources/dimensional-price-groups/dimensional-price-groups.d.ts.map +1 -1
- package/resources/events/backfills.d.ts +2 -2
- package/resources/events/events.d.ts +9 -3
- package/resources/events/events.d.ts.map +1 -1
- package/resources/invoice-line-items.d.ts +3 -0
- package/resources/invoice-line-items.d.ts.map +1 -1
- package/resources/invoices.d.ts +13 -4
- package/resources/invoices.d.ts.map +1 -1
- package/resources/invoices.js +1 -1
- package/resources/invoices.js.map +1 -1
- package/resources/invoices.mjs +1 -1
- package/resources/invoices.mjs.map +1 -1
- package/resources/items.d.ts +9 -3
- package/resources/items.d.ts.map +1 -1
- package/resources/metrics.d.ts +9 -3
- package/resources/metrics.d.ts.map +1 -1
- package/resources/plans/external-plan-id.d.ts +3 -1
- package/resources/plans/external-plan-id.d.ts.map +1 -1
- package/resources/plans/plans.d.ts +62 -4
- package/resources/plans/plans.d.ts.map +1 -1
- package/resources/plans/plans.js.map +1 -1
- package/resources/plans/plans.mjs.map +1 -1
- package/resources/prices/external-price-id.d.ts +3 -1
- package/resources/prices/external-price-id.d.ts.map +1 -1
- package/resources/prices/prices.d.ts +163 -49
- package/resources/prices/prices.d.ts.map +1 -1
- package/resources/prices/prices.js.map +1 -1
- package/resources/prices/prices.mjs.map +1 -1
- package/resources/shared.d.ts +768 -143
- package/resources/shared.d.ts.map +1 -1
- package/resources/shared.js.map +1 -1
- package/resources/shared.mjs.map +1 -1
- package/resources/subscription-changes.d.ts +6 -4
- package/resources/subscription-changes.d.ts.map +1 -1
- package/resources/subscriptions.d.ts +158 -58
- package/resources/subscriptions.d.ts.map +1 -1
- package/resources/subscriptions.js +1 -1
- package/resources/subscriptions.mjs +1 -1
- package/src/core.ts +17 -8
- package/src/index.ts +10 -0
- package/src/resource.ts +1 -1
- package/src/resources/credit-notes.ts +58 -0
- package/src/resources/customers/costs.ts +16 -16
- package/src/resources/customers/credits/ledger.ts +45 -31
- package/src/resources/customers/customers.ts +4 -4
- package/src/resources/dimensional-price-groups/dimensional-price-groups.ts +2 -2
- package/src/resources/events/backfills.ts +2 -2
- package/src/resources/events/events.ts +3 -3
- package/src/resources/invoice-line-items.ts +3 -0
- package/src/resources/invoices.ts +7 -4
- package/src/resources/items.ts +3 -3
- package/src/resources/metrics.ts +3 -3
- package/src/resources/plans/external-plan-id.ts +1 -1
- package/src/resources/plans/plans.ts +101 -33
- package/src/resources/prices/external-price-id.ts +1 -1
- package/src/resources/prices/prices.ts +69 -49
- package/src/resources/shared.ts +552 -143
- package/src/resources/subscription-changes.ts +4 -4
- package/src/resources/subscriptions.ts +58 -58
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/shared.d.ts
CHANGED
|
@@ -319,6 +319,14 @@ export declare namespace CreditNote {
|
|
|
319
319
|
* Any line item discounts from the invoice's line item.
|
|
320
320
|
*/
|
|
321
321
|
discounts?: Array<LineItem.Discount>;
|
|
322
|
+
/**
|
|
323
|
+
* The end time of the service period for this credit note line item.
|
|
324
|
+
*/
|
|
325
|
+
end_time_exclusive?: string | null;
|
|
326
|
+
/**
|
|
327
|
+
* The start time of the service period for this credit note line item.
|
|
328
|
+
*/
|
|
329
|
+
start_time_inclusive?: string | null;
|
|
322
330
|
}
|
|
323
331
|
namespace LineItem {
|
|
324
332
|
interface Discount {
|
|
@@ -705,7 +713,9 @@ export interface Invoice {
|
|
|
705
713
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
706
714
|
* `null`.
|
|
707
715
|
*/
|
|
708
|
-
metadata:
|
|
716
|
+
metadata: {
|
|
717
|
+
[key: string]: string;
|
|
718
|
+
};
|
|
709
719
|
minimum: Minimum | null;
|
|
710
720
|
minimum_amount: string | null;
|
|
711
721
|
/**
|
|
@@ -860,6 +870,9 @@ export declare namespace Invoice {
|
|
|
860
870
|
* The number of prepaid credits applied.
|
|
861
871
|
*/
|
|
862
872
|
credits_applied: string;
|
|
873
|
+
/**
|
|
874
|
+
* @deprecated This field is deprecated in favor of `adjustments`
|
|
875
|
+
*/
|
|
863
876
|
discount: Shared.Discount | null;
|
|
864
877
|
/**
|
|
865
878
|
* The end date of the range of time applied for this line item's price.
|
|
@@ -1137,6 +1150,11 @@ export interface MonetaryAmountDiscountAdjustment {
|
|
|
1137
1150
|
* The reason for the adjustment.
|
|
1138
1151
|
*/
|
|
1139
1152
|
reason: string | null;
|
|
1153
|
+
/**
|
|
1154
|
+
* The adjustment id this adjustment replaces. This adjustment will take the place
|
|
1155
|
+
* of the replaced adjustment in plan version migrations.
|
|
1156
|
+
*/
|
|
1157
|
+
replaces_adjustment_id: string | null;
|
|
1140
1158
|
}
|
|
1141
1159
|
export interface MonetaryMaximumAdjustment {
|
|
1142
1160
|
id: string;
|
|
@@ -1167,6 +1185,11 @@ export interface MonetaryMaximumAdjustment {
|
|
|
1167
1185
|
* The reason for the adjustment.
|
|
1168
1186
|
*/
|
|
1169
1187
|
reason: string | null;
|
|
1188
|
+
/**
|
|
1189
|
+
* The adjustment id this adjustment replaces. This adjustment will take the place
|
|
1190
|
+
* of the replaced adjustment in plan version migrations.
|
|
1191
|
+
*/
|
|
1192
|
+
replaces_adjustment_id: string | null;
|
|
1170
1193
|
}
|
|
1171
1194
|
export interface MonetaryMinimumAdjustment {
|
|
1172
1195
|
id: string;
|
|
@@ -1201,6 +1224,11 @@ export interface MonetaryMinimumAdjustment {
|
|
|
1201
1224
|
* The reason for the adjustment.
|
|
1202
1225
|
*/
|
|
1203
1226
|
reason: string | null;
|
|
1227
|
+
/**
|
|
1228
|
+
* The adjustment id this adjustment replaces. This adjustment will take the place
|
|
1229
|
+
* of the replaced adjustment in plan version migrations.
|
|
1230
|
+
*/
|
|
1231
|
+
replaces_adjustment_id: string | null;
|
|
1204
1232
|
}
|
|
1205
1233
|
export interface MonetaryPercentageDiscountAdjustment {
|
|
1206
1234
|
id: string;
|
|
@@ -1231,6 +1259,11 @@ export interface MonetaryPercentageDiscountAdjustment {
|
|
|
1231
1259
|
* The reason for the adjustment.
|
|
1232
1260
|
*/
|
|
1233
1261
|
reason: string | null;
|
|
1262
|
+
/**
|
|
1263
|
+
* The adjustment id this adjustment replaces. This adjustment will take the place
|
|
1264
|
+
* of the replaced adjustment in plan version migrations.
|
|
1265
|
+
*/
|
|
1266
|
+
replaces_adjustment_id: string | null;
|
|
1234
1267
|
}
|
|
1235
1268
|
export interface MonetaryUsageDiscountAdjustment {
|
|
1236
1269
|
id: string;
|
|
@@ -1256,6 +1289,11 @@ export interface MonetaryUsageDiscountAdjustment {
|
|
|
1256
1289
|
* The reason for the adjustment.
|
|
1257
1290
|
*/
|
|
1258
1291
|
reason: string | null;
|
|
1292
|
+
/**
|
|
1293
|
+
* The adjustment id this adjustment replaces. This adjustment will take the place
|
|
1294
|
+
* of the replaced adjustment in plan version migrations.
|
|
1295
|
+
*/
|
|
1296
|
+
replaces_adjustment_id: string | null;
|
|
1259
1297
|
/**
|
|
1260
1298
|
* The number of usage units by which to discount the price this adjustment applies
|
|
1261
1299
|
* to in a given billing period.
|
|
@@ -1270,7 +1308,7 @@ export interface NewAllocationPrice {
|
|
|
1270
1308
|
/**
|
|
1271
1309
|
* The cadence at which to allocate the amount to the customer.
|
|
1272
1310
|
*/
|
|
1273
|
-
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual'
|
|
1311
|
+
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual';
|
|
1274
1312
|
/**
|
|
1275
1313
|
* An ISO 4217 currency string or a custom pricing unit identifier in which to bill
|
|
1276
1314
|
* this price.
|
|
@@ -1413,7 +1451,9 @@ export interface NewFloatingBPSPrice {
|
|
|
1413
1451
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
1414
1452
|
* by setting `metadata` to `null`.
|
|
1415
1453
|
*/
|
|
1416
|
-
metadata?:
|
|
1454
|
+
metadata?: {
|
|
1455
|
+
[key: string]: string | null;
|
|
1456
|
+
} | null;
|
|
1417
1457
|
}
|
|
1418
1458
|
export interface NewFloatingBulkBPSPrice {
|
|
1419
1459
|
bulk_bps_config: BulkBPSConfig;
|
|
@@ -1484,7 +1524,9 @@ export interface NewFloatingBulkBPSPrice {
|
|
|
1484
1524
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
1485
1525
|
* by setting `metadata` to `null`.
|
|
1486
1526
|
*/
|
|
1487
|
-
metadata?:
|
|
1527
|
+
metadata?: {
|
|
1528
|
+
[key: string]: string | null;
|
|
1529
|
+
} | null;
|
|
1488
1530
|
}
|
|
1489
1531
|
export interface NewFloatingBulkPrice {
|
|
1490
1532
|
bulk_config: BulkConfig;
|
|
@@ -1555,10 +1597,14 @@ export interface NewFloatingBulkPrice {
|
|
|
1555
1597
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
1556
1598
|
* by setting `metadata` to `null`.
|
|
1557
1599
|
*/
|
|
1558
|
-
metadata?:
|
|
1600
|
+
metadata?: {
|
|
1601
|
+
[key: string]: string | null;
|
|
1602
|
+
} | null;
|
|
1559
1603
|
}
|
|
1560
1604
|
export interface NewFloatingBulkWithProrationPrice {
|
|
1561
|
-
bulk_with_proration_config:
|
|
1605
|
+
bulk_with_proration_config: {
|
|
1606
|
+
[key: string]: unknown;
|
|
1607
|
+
};
|
|
1562
1608
|
/**
|
|
1563
1609
|
* The cadence to bill for this price on.
|
|
1564
1610
|
*/
|
|
@@ -1626,14 +1672,18 @@ export interface NewFloatingBulkWithProrationPrice {
|
|
|
1626
1672
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
1627
1673
|
* by setting `metadata` to `null`.
|
|
1628
1674
|
*/
|
|
1629
|
-
metadata?:
|
|
1675
|
+
metadata?: {
|
|
1676
|
+
[key: string]: string | null;
|
|
1677
|
+
} | null;
|
|
1630
1678
|
}
|
|
1631
1679
|
export interface NewFloatingCumulativeGroupedBulkPrice {
|
|
1632
1680
|
/**
|
|
1633
1681
|
* The cadence to bill for this price on.
|
|
1634
1682
|
*/
|
|
1635
1683
|
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
1636
|
-
cumulative_grouped_bulk_config:
|
|
1684
|
+
cumulative_grouped_bulk_config: {
|
|
1685
|
+
[key: string]: unknown;
|
|
1686
|
+
};
|
|
1637
1687
|
/**
|
|
1638
1688
|
* An ISO 4217 currency string for which this price is billed in.
|
|
1639
1689
|
*/
|
|
@@ -1697,7 +1747,9 @@ export interface NewFloatingCumulativeGroupedBulkPrice {
|
|
|
1697
1747
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
1698
1748
|
* by setting `metadata` to `null`.
|
|
1699
1749
|
*/
|
|
1700
|
-
metadata?:
|
|
1750
|
+
metadata?: {
|
|
1751
|
+
[key: string]: string | null;
|
|
1752
|
+
} | null;
|
|
1701
1753
|
}
|
|
1702
1754
|
export interface NewFloatingGroupedAllocationPrice {
|
|
1703
1755
|
/**
|
|
@@ -1708,7 +1760,9 @@ export interface NewFloatingGroupedAllocationPrice {
|
|
|
1708
1760
|
* An ISO 4217 currency string for which this price is billed in.
|
|
1709
1761
|
*/
|
|
1710
1762
|
currency: string;
|
|
1711
|
-
grouped_allocation_config:
|
|
1763
|
+
grouped_allocation_config: {
|
|
1764
|
+
[key: string]: unknown;
|
|
1765
|
+
};
|
|
1712
1766
|
/**
|
|
1713
1767
|
* The id of the item the price will be associated with.
|
|
1714
1768
|
*/
|
|
@@ -1768,7 +1822,9 @@ export interface NewFloatingGroupedAllocationPrice {
|
|
|
1768
1822
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
1769
1823
|
* by setting `metadata` to `null`.
|
|
1770
1824
|
*/
|
|
1771
|
-
metadata?:
|
|
1825
|
+
metadata?: {
|
|
1826
|
+
[key: string]: string | null;
|
|
1827
|
+
} | null;
|
|
1772
1828
|
}
|
|
1773
1829
|
export interface NewFloatingGroupedTieredPackagePrice {
|
|
1774
1830
|
/**
|
|
@@ -1779,7 +1835,9 @@ export interface NewFloatingGroupedTieredPackagePrice {
|
|
|
1779
1835
|
* An ISO 4217 currency string for which this price is billed in.
|
|
1780
1836
|
*/
|
|
1781
1837
|
currency: string;
|
|
1782
|
-
grouped_tiered_package_config:
|
|
1838
|
+
grouped_tiered_package_config: {
|
|
1839
|
+
[key: string]: unknown;
|
|
1840
|
+
};
|
|
1783
1841
|
/**
|
|
1784
1842
|
* The id of the item the price will be associated with.
|
|
1785
1843
|
*/
|
|
@@ -1839,7 +1897,9 @@ export interface NewFloatingGroupedTieredPackagePrice {
|
|
|
1839
1897
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
1840
1898
|
* by setting `metadata` to `null`.
|
|
1841
1899
|
*/
|
|
1842
|
-
metadata?:
|
|
1900
|
+
metadata?: {
|
|
1901
|
+
[key: string]: string | null;
|
|
1902
|
+
} | null;
|
|
1843
1903
|
}
|
|
1844
1904
|
export interface NewFloatingGroupedTieredPrice {
|
|
1845
1905
|
/**
|
|
@@ -1850,7 +1910,9 @@ export interface NewFloatingGroupedTieredPrice {
|
|
|
1850
1910
|
* An ISO 4217 currency string for which this price is billed in.
|
|
1851
1911
|
*/
|
|
1852
1912
|
currency: string;
|
|
1853
|
-
grouped_tiered_config:
|
|
1913
|
+
grouped_tiered_config: {
|
|
1914
|
+
[key: string]: unknown;
|
|
1915
|
+
};
|
|
1854
1916
|
/**
|
|
1855
1917
|
* The id of the item the price will be associated with.
|
|
1856
1918
|
*/
|
|
@@ -1910,7 +1972,9 @@ export interface NewFloatingGroupedTieredPrice {
|
|
|
1910
1972
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
1911
1973
|
* by setting `metadata` to `null`.
|
|
1912
1974
|
*/
|
|
1913
|
-
metadata?:
|
|
1975
|
+
metadata?: {
|
|
1976
|
+
[key: string]: string | null;
|
|
1977
|
+
} | null;
|
|
1914
1978
|
}
|
|
1915
1979
|
export interface NewFloatingGroupedWithMeteredMinimumPrice {
|
|
1916
1980
|
/**
|
|
@@ -1921,7 +1985,9 @@ export interface NewFloatingGroupedWithMeteredMinimumPrice {
|
|
|
1921
1985
|
* An ISO 4217 currency string for which this price is billed in.
|
|
1922
1986
|
*/
|
|
1923
1987
|
currency: string;
|
|
1924
|
-
grouped_with_metered_minimum_config:
|
|
1988
|
+
grouped_with_metered_minimum_config: {
|
|
1989
|
+
[key: string]: unknown;
|
|
1990
|
+
};
|
|
1925
1991
|
/**
|
|
1926
1992
|
* The id of the item the price will be associated with.
|
|
1927
1993
|
*/
|
|
@@ -1981,7 +2047,9 @@ export interface NewFloatingGroupedWithMeteredMinimumPrice {
|
|
|
1981
2047
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
1982
2048
|
* by setting `metadata` to `null`.
|
|
1983
2049
|
*/
|
|
1984
|
-
metadata?:
|
|
2050
|
+
metadata?: {
|
|
2051
|
+
[key: string]: string | null;
|
|
2052
|
+
} | null;
|
|
1985
2053
|
}
|
|
1986
2054
|
export interface NewFloatingGroupedWithProratedMinimumPrice {
|
|
1987
2055
|
/**
|
|
@@ -1992,7 +2060,9 @@ export interface NewFloatingGroupedWithProratedMinimumPrice {
|
|
|
1992
2060
|
* An ISO 4217 currency string for which this price is billed in.
|
|
1993
2061
|
*/
|
|
1994
2062
|
currency: string;
|
|
1995
|
-
grouped_with_prorated_minimum_config:
|
|
2063
|
+
grouped_with_prorated_minimum_config: {
|
|
2064
|
+
[key: string]: unknown;
|
|
2065
|
+
};
|
|
1996
2066
|
/**
|
|
1997
2067
|
* The id of the item the price will be associated with.
|
|
1998
2068
|
*/
|
|
@@ -2052,7 +2122,9 @@ export interface NewFloatingGroupedWithProratedMinimumPrice {
|
|
|
2052
2122
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2053
2123
|
* by setting `metadata` to `null`.
|
|
2054
2124
|
*/
|
|
2055
|
-
metadata?:
|
|
2125
|
+
metadata?: {
|
|
2126
|
+
[key: string]: string | null;
|
|
2127
|
+
} | null;
|
|
2056
2128
|
}
|
|
2057
2129
|
export interface NewFloatingMatrixPrice {
|
|
2058
2130
|
/**
|
|
@@ -2123,7 +2195,9 @@ export interface NewFloatingMatrixPrice {
|
|
|
2123
2195
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2124
2196
|
* by setting `metadata` to `null`.
|
|
2125
2197
|
*/
|
|
2126
|
-
metadata?:
|
|
2198
|
+
metadata?: {
|
|
2199
|
+
[key: string]: string | null;
|
|
2200
|
+
} | null;
|
|
2127
2201
|
}
|
|
2128
2202
|
export interface NewFloatingMatrixWithAllocationPrice {
|
|
2129
2203
|
/**
|
|
@@ -2194,7 +2268,9 @@ export interface NewFloatingMatrixWithAllocationPrice {
|
|
|
2194
2268
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2195
2269
|
* by setting `metadata` to `null`.
|
|
2196
2270
|
*/
|
|
2197
|
-
metadata?:
|
|
2271
|
+
metadata?: {
|
|
2272
|
+
[key: string]: string | null;
|
|
2273
|
+
} | null;
|
|
2198
2274
|
}
|
|
2199
2275
|
export interface NewFloatingMatrixWithDisplayNamePrice {
|
|
2200
2276
|
/**
|
|
@@ -2209,7 +2285,9 @@ export interface NewFloatingMatrixWithDisplayNamePrice {
|
|
|
2209
2285
|
* The id of the item the price will be associated with.
|
|
2210
2286
|
*/
|
|
2211
2287
|
item_id: string;
|
|
2212
|
-
matrix_with_display_name_config:
|
|
2288
|
+
matrix_with_display_name_config: {
|
|
2289
|
+
[key: string]: unknown;
|
|
2290
|
+
};
|
|
2213
2291
|
model_type: 'matrix_with_display_name';
|
|
2214
2292
|
/**
|
|
2215
2293
|
* The name of the price.
|
|
@@ -2265,7 +2343,9 @@ export interface NewFloatingMatrixWithDisplayNamePrice {
|
|
|
2265
2343
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2266
2344
|
* by setting `metadata` to `null`.
|
|
2267
2345
|
*/
|
|
2268
|
-
metadata?:
|
|
2346
|
+
metadata?: {
|
|
2347
|
+
[key: string]: string | null;
|
|
2348
|
+
} | null;
|
|
2269
2349
|
}
|
|
2270
2350
|
export interface NewFloatingMaxGroupTieredPackagePrice {
|
|
2271
2351
|
/**
|
|
@@ -2280,7 +2360,9 @@ export interface NewFloatingMaxGroupTieredPackagePrice {
|
|
|
2280
2360
|
* The id of the item the price will be associated with.
|
|
2281
2361
|
*/
|
|
2282
2362
|
item_id: string;
|
|
2283
|
-
max_group_tiered_package_config:
|
|
2363
|
+
max_group_tiered_package_config: {
|
|
2364
|
+
[key: string]: unknown;
|
|
2365
|
+
};
|
|
2284
2366
|
model_type: 'max_group_tiered_package';
|
|
2285
2367
|
/**
|
|
2286
2368
|
* The name of the price.
|
|
@@ -2336,7 +2418,9 @@ export interface NewFloatingMaxGroupTieredPackagePrice {
|
|
|
2336
2418
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2337
2419
|
* by setting `metadata` to `null`.
|
|
2338
2420
|
*/
|
|
2339
|
-
metadata?:
|
|
2421
|
+
metadata?: {
|
|
2422
|
+
[key: string]: string | null;
|
|
2423
|
+
} | null;
|
|
2340
2424
|
}
|
|
2341
2425
|
export interface NewFloatingPackagePrice {
|
|
2342
2426
|
/**
|
|
@@ -2407,7 +2491,9 @@ export interface NewFloatingPackagePrice {
|
|
|
2407
2491
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2408
2492
|
* by setting `metadata` to `null`.
|
|
2409
2493
|
*/
|
|
2410
|
-
metadata?:
|
|
2494
|
+
metadata?: {
|
|
2495
|
+
[key: string]: string | null;
|
|
2496
|
+
} | null;
|
|
2411
2497
|
}
|
|
2412
2498
|
export interface NewFloatingPackageWithAllocationPrice {
|
|
2413
2499
|
/**
|
|
@@ -2427,7 +2513,9 @@ export interface NewFloatingPackageWithAllocationPrice {
|
|
|
2427
2513
|
* The name of the price.
|
|
2428
2514
|
*/
|
|
2429
2515
|
name: string;
|
|
2430
|
-
package_with_allocation_config:
|
|
2516
|
+
package_with_allocation_config: {
|
|
2517
|
+
[key: string]: unknown;
|
|
2518
|
+
};
|
|
2431
2519
|
/**
|
|
2432
2520
|
* The id of the billable metric for the price. Only needed if the price is
|
|
2433
2521
|
* usage-based.
|
|
@@ -2478,7 +2566,9 @@ export interface NewFloatingPackageWithAllocationPrice {
|
|
|
2478
2566
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2479
2567
|
* by setting `metadata` to `null`.
|
|
2480
2568
|
*/
|
|
2481
|
-
metadata?:
|
|
2569
|
+
metadata?: {
|
|
2570
|
+
[key: string]: string | null;
|
|
2571
|
+
} | null;
|
|
2482
2572
|
}
|
|
2483
2573
|
export interface NewFloatingScalableMatrixWithTieredPricingPrice {
|
|
2484
2574
|
/**
|
|
@@ -2498,7 +2588,9 @@ export interface NewFloatingScalableMatrixWithTieredPricingPrice {
|
|
|
2498
2588
|
* The name of the price.
|
|
2499
2589
|
*/
|
|
2500
2590
|
name: string;
|
|
2501
|
-
scalable_matrix_with_tiered_pricing_config:
|
|
2591
|
+
scalable_matrix_with_tiered_pricing_config: {
|
|
2592
|
+
[key: string]: unknown;
|
|
2593
|
+
};
|
|
2502
2594
|
/**
|
|
2503
2595
|
* The id of the billable metric for the price. Only needed if the price is
|
|
2504
2596
|
* usage-based.
|
|
@@ -2549,7 +2641,9 @@ export interface NewFloatingScalableMatrixWithTieredPricingPrice {
|
|
|
2549
2641
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2550
2642
|
* by setting `metadata` to `null`.
|
|
2551
2643
|
*/
|
|
2552
|
-
metadata?:
|
|
2644
|
+
metadata?: {
|
|
2645
|
+
[key: string]: string | null;
|
|
2646
|
+
} | null;
|
|
2553
2647
|
}
|
|
2554
2648
|
export interface NewFloatingScalableMatrixWithUnitPricingPrice {
|
|
2555
2649
|
/**
|
|
@@ -2569,7 +2663,9 @@ export interface NewFloatingScalableMatrixWithUnitPricingPrice {
|
|
|
2569
2663
|
* The name of the price.
|
|
2570
2664
|
*/
|
|
2571
2665
|
name: string;
|
|
2572
|
-
scalable_matrix_with_unit_pricing_config:
|
|
2666
|
+
scalable_matrix_with_unit_pricing_config: {
|
|
2667
|
+
[key: string]: unknown;
|
|
2668
|
+
};
|
|
2573
2669
|
/**
|
|
2574
2670
|
* The id of the billable metric for the price. Only needed if the price is
|
|
2575
2671
|
* usage-based.
|
|
@@ -2620,7 +2716,9 @@ export interface NewFloatingScalableMatrixWithUnitPricingPrice {
|
|
|
2620
2716
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2621
2717
|
* by setting `metadata` to `null`.
|
|
2622
2718
|
*/
|
|
2623
|
-
metadata?:
|
|
2719
|
+
metadata?: {
|
|
2720
|
+
[key: string]: string | null;
|
|
2721
|
+
} | null;
|
|
2624
2722
|
}
|
|
2625
2723
|
export interface NewFloatingThresholdTotalAmountPrice {
|
|
2626
2724
|
/**
|
|
@@ -2640,7 +2738,9 @@ export interface NewFloatingThresholdTotalAmountPrice {
|
|
|
2640
2738
|
* The name of the price.
|
|
2641
2739
|
*/
|
|
2642
2740
|
name: string;
|
|
2643
|
-
threshold_total_amount_config:
|
|
2741
|
+
threshold_total_amount_config: {
|
|
2742
|
+
[key: string]: unknown;
|
|
2743
|
+
};
|
|
2644
2744
|
/**
|
|
2645
2745
|
* The id of the billable metric for the price. Only needed if the price is
|
|
2646
2746
|
* usage-based.
|
|
@@ -2691,7 +2791,9 @@ export interface NewFloatingThresholdTotalAmountPrice {
|
|
|
2691
2791
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2692
2792
|
* by setting `metadata` to `null`.
|
|
2693
2793
|
*/
|
|
2694
|
-
metadata?:
|
|
2794
|
+
metadata?: {
|
|
2795
|
+
[key: string]: string | null;
|
|
2796
|
+
} | null;
|
|
2695
2797
|
}
|
|
2696
2798
|
export interface NewFloatingTieredBPSPrice {
|
|
2697
2799
|
/**
|
|
@@ -2762,7 +2864,9 @@ export interface NewFloatingTieredBPSPrice {
|
|
|
2762
2864
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2763
2865
|
* by setting `metadata` to `null`.
|
|
2764
2866
|
*/
|
|
2765
|
-
metadata?:
|
|
2867
|
+
metadata?: {
|
|
2868
|
+
[key: string]: string | null;
|
|
2869
|
+
} | null;
|
|
2766
2870
|
}
|
|
2767
2871
|
export interface NewFloatingTieredPackagePrice {
|
|
2768
2872
|
/**
|
|
@@ -2782,7 +2886,9 @@ export interface NewFloatingTieredPackagePrice {
|
|
|
2782
2886
|
* The name of the price.
|
|
2783
2887
|
*/
|
|
2784
2888
|
name: string;
|
|
2785
|
-
tiered_package_config:
|
|
2889
|
+
tiered_package_config: {
|
|
2890
|
+
[key: string]: unknown;
|
|
2891
|
+
};
|
|
2786
2892
|
/**
|
|
2787
2893
|
* The id of the billable metric for the price. Only needed if the price is
|
|
2788
2894
|
* usage-based.
|
|
@@ -2833,7 +2939,9 @@ export interface NewFloatingTieredPackagePrice {
|
|
|
2833
2939
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2834
2940
|
* by setting `metadata` to `null`.
|
|
2835
2941
|
*/
|
|
2836
|
-
metadata?:
|
|
2942
|
+
metadata?: {
|
|
2943
|
+
[key: string]: string | null;
|
|
2944
|
+
} | null;
|
|
2837
2945
|
}
|
|
2838
2946
|
export interface NewFloatingTieredPackageWithMinimumPrice {
|
|
2839
2947
|
/**
|
|
@@ -2853,7 +2961,9 @@ export interface NewFloatingTieredPackageWithMinimumPrice {
|
|
|
2853
2961
|
* The name of the price.
|
|
2854
2962
|
*/
|
|
2855
2963
|
name: string;
|
|
2856
|
-
tiered_package_with_minimum_config:
|
|
2964
|
+
tiered_package_with_minimum_config: {
|
|
2965
|
+
[key: string]: unknown;
|
|
2966
|
+
};
|
|
2857
2967
|
/**
|
|
2858
2968
|
* The id of the billable metric for the price. Only needed if the price is
|
|
2859
2969
|
* usage-based.
|
|
@@ -2904,7 +3014,9 @@ export interface NewFloatingTieredPackageWithMinimumPrice {
|
|
|
2904
3014
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2905
3015
|
* by setting `metadata` to `null`.
|
|
2906
3016
|
*/
|
|
2907
|
-
metadata?:
|
|
3017
|
+
metadata?: {
|
|
3018
|
+
[key: string]: string | null;
|
|
3019
|
+
} | null;
|
|
2908
3020
|
}
|
|
2909
3021
|
export interface NewFloatingTieredPrice {
|
|
2910
3022
|
/**
|
|
@@ -2975,7 +3087,9 @@ export interface NewFloatingTieredPrice {
|
|
|
2975
3087
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
2976
3088
|
* by setting `metadata` to `null`.
|
|
2977
3089
|
*/
|
|
2978
|
-
metadata?:
|
|
3090
|
+
metadata?: {
|
|
3091
|
+
[key: string]: string | null;
|
|
3092
|
+
} | null;
|
|
2979
3093
|
}
|
|
2980
3094
|
export interface NewFloatingTieredWithMinimumPrice {
|
|
2981
3095
|
/**
|
|
@@ -2995,7 +3109,9 @@ export interface NewFloatingTieredWithMinimumPrice {
|
|
|
2995
3109
|
* The name of the price.
|
|
2996
3110
|
*/
|
|
2997
3111
|
name: string;
|
|
2998
|
-
tiered_with_minimum_config:
|
|
3112
|
+
tiered_with_minimum_config: {
|
|
3113
|
+
[key: string]: unknown;
|
|
3114
|
+
};
|
|
2999
3115
|
/**
|
|
3000
3116
|
* The id of the billable metric for the price. Only needed if the price is
|
|
3001
3117
|
* usage-based.
|
|
@@ -3046,7 +3162,9 @@ export interface NewFloatingTieredWithMinimumPrice {
|
|
|
3046
3162
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
3047
3163
|
* by setting `metadata` to `null`.
|
|
3048
3164
|
*/
|
|
3049
|
-
metadata?:
|
|
3165
|
+
metadata?: {
|
|
3166
|
+
[key: string]: string | null;
|
|
3167
|
+
} | null;
|
|
3050
3168
|
}
|
|
3051
3169
|
export interface NewFloatingTieredWithProrationPrice {
|
|
3052
3170
|
/**
|
|
@@ -3066,7 +3184,9 @@ export interface NewFloatingTieredWithProrationPrice {
|
|
|
3066
3184
|
* The name of the price.
|
|
3067
3185
|
*/
|
|
3068
3186
|
name: string;
|
|
3069
|
-
tiered_with_proration_config:
|
|
3187
|
+
tiered_with_proration_config: {
|
|
3188
|
+
[key: string]: unknown;
|
|
3189
|
+
};
|
|
3070
3190
|
/**
|
|
3071
3191
|
* The id of the billable metric for the price. Only needed if the price is
|
|
3072
3192
|
* usage-based.
|
|
@@ -3117,7 +3237,9 @@ export interface NewFloatingTieredWithProrationPrice {
|
|
|
3117
3237
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
3118
3238
|
* by setting `metadata` to `null`.
|
|
3119
3239
|
*/
|
|
3120
|
-
metadata?:
|
|
3240
|
+
metadata?: {
|
|
3241
|
+
[key: string]: string | null;
|
|
3242
|
+
} | null;
|
|
3121
3243
|
}
|
|
3122
3244
|
export interface NewFloatingUnitPrice {
|
|
3123
3245
|
/**
|
|
@@ -3188,7 +3310,9 @@ export interface NewFloatingUnitPrice {
|
|
|
3188
3310
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
3189
3311
|
* by setting `metadata` to `null`.
|
|
3190
3312
|
*/
|
|
3191
|
-
metadata?:
|
|
3313
|
+
metadata?: {
|
|
3314
|
+
[key: string]: string | null;
|
|
3315
|
+
} | null;
|
|
3192
3316
|
}
|
|
3193
3317
|
export interface NewFloatingUnitWithPercentPrice {
|
|
3194
3318
|
/**
|
|
@@ -3208,7 +3332,9 @@ export interface NewFloatingUnitWithPercentPrice {
|
|
|
3208
3332
|
* The name of the price.
|
|
3209
3333
|
*/
|
|
3210
3334
|
name: string;
|
|
3211
|
-
unit_with_percent_config:
|
|
3335
|
+
unit_with_percent_config: {
|
|
3336
|
+
[key: string]: unknown;
|
|
3337
|
+
};
|
|
3212
3338
|
/**
|
|
3213
3339
|
* The id of the billable metric for the price. Only needed if the price is
|
|
3214
3340
|
* usage-based.
|
|
@@ -3259,7 +3385,9 @@ export interface NewFloatingUnitWithPercentPrice {
|
|
|
3259
3385
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
3260
3386
|
* by setting `metadata` to `null`.
|
|
3261
3387
|
*/
|
|
3262
|
-
metadata?:
|
|
3388
|
+
metadata?: {
|
|
3389
|
+
[key: string]: string | null;
|
|
3390
|
+
} | null;
|
|
3263
3391
|
}
|
|
3264
3392
|
export interface NewFloatingUnitWithProrationPrice {
|
|
3265
3393
|
/**
|
|
@@ -3279,7 +3407,9 @@ export interface NewFloatingUnitWithProrationPrice {
|
|
|
3279
3407
|
* The name of the price.
|
|
3280
3408
|
*/
|
|
3281
3409
|
name: string;
|
|
3282
|
-
unit_with_proration_config:
|
|
3410
|
+
unit_with_proration_config: {
|
|
3411
|
+
[key: string]: unknown;
|
|
3412
|
+
};
|
|
3283
3413
|
/**
|
|
3284
3414
|
* The id of the billable metric for the price. Only needed if the price is
|
|
3285
3415
|
* usage-based.
|
|
@@ -3330,7 +3460,9 @@ export interface NewFloatingUnitWithProrationPrice {
|
|
|
3330
3460
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
3331
3461
|
* by setting `metadata` to `null`.
|
|
3332
3462
|
*/
|
|
3333
|
-
metadata?:
|
|
3463
|
+
metadata?: {
|
|
3464
|
+
[key: string]: string | null;
|
|
3465
|
+
} | null;
|
|
3334
3466
|
}
|
|
3335
3467
|
export interface NewMaximum {
|
|
3336
3468
|
adjustment_type: 'maximum';
|
|
@@ -3505,7 +3637,14 @@ export interface NewPlanBPSPrice {
|
|
|
3505
3637
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
3506
3638
|
* by setting `metadata` to `null`.
|
|
3507
3639
|
*/
|
|
3508
|
-
metadata?:
|
|
3640
|
+
metadata?: {
|
|
3641
|
+
[key: string]: string | null;
|
|
3642
|
+
} | null;
|
|
3643
|
+
/**
|
|
3644
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3645
|
+
* in the same API call.
|
|
3646
|
+
*/
|
|
3647
|
+
reference_id?: string | null;
|
|
3509
3648
|
}
|
|
3510
3649
|
export interface NewPlanBulkBPSPrice {
|
|
3511
3650
|
bulk_bps_config: BulkBPSConfig;
|
|
@@ -3577,7 +3716,14 @@ export interface NewPlanBulkBPSPrice {
|
|
|
3577
3716
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
3578
3717
|
* by setting `metadata` to `null`.
|
|
3579
3718
|
*/
|
|
3580
|
-
metadata?:
|
|
3719
|
+
metadata?: {
|
|
3720
|
+
[key: string]: string | null;
|
|
3721
|
+
} | null;
|
|
3722
|
+
/**
|
|
3723
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3724
|
+
* in the same API call.
|
|
3725
|
+
*/
|
|
3726
|
+
reference_id?: string | null;
|
|
3581
3727
|
}
|
|
3582
3728
|
export interface NewPlanBulkPrice {
|
|
3583
3729
|
bulk_config: BulkConfig;
|
|
@@ -3649,10 +3795,19 @@ export interface NewPlanBulkPrice {
|
|
|
3649
3795
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
3650
3796
|
* by setting `metadata` to `null`.
|
|
3651
3797
|
*/
|
|
3652
|
-
metadata?:
|
|
3798
|
+
metadata?: {
|
|
3799
|
+
[key: string]: string | null;
|
|
3800
|
+
} | null;
|
|
3801
|
+
/**
|
|
3802
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3803
|
+
* in the same API call.
|
|
3804
|
+
*/
|
|
3805
|
+
reference_id?: string | null;
|
|
3653
3806
|
}
|
|
3654
3807
|
export interface NewPlanBulkWithProrationPrice {
|
|
3655
|
-
bulk_with_proration_config:
|
|
3808
|
+
bulk_with_proration_config: {
|
|
3809
|
+
[key: string]: unknown;
|
|
3810
|
+
};
|
|
3656
3811
|
/**
|
|
3657
3812
|
* The cadence to bill for this price on.
|
|
3658
3813
|
*/
|
|
@@ -3721,14 +3876,23 @@ export interface NewPlanBulkWithProrationPrice {
|
|
|
3721
3876
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
3722
3877
|
* by setting `metadata` to `null`.
|
|
3723
3878
|
*/
|
|
3724
|
-
metadata?:
|
|
3879
|
+
metadata?: {
|
|
3880
|
+
[key: string]: string | null;
|
|
3881
|
+
} | null;
|
|
3882
|
+
/**
|
|
3883
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3884
|
+
* in the same API call.
|
|
3885
|
+
*/
|
|
3886
|
+
reference_id?: string | null;
|
|
3725
3887
|
}
|
|
3726
3888
|
export interface NewPlanCumulativeGroupedBulkPrice {
|
|
3727
3889
|
/**
|
|
3728
3890
|
* The cadence to bill for this price on.
|
|
3729
3891
|
*/
|
|
3730
3892
|
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
3731
|
-
cumulative_grouped_bulk_config:
|
|
3893
|
+
cumulative_grouped_bulk_config: {
|
|
3894
|
+
[key: string]: unknown;
|
|
3895
|
+
};
|
|
3732
3896
|
/**
|
|
3733
3897
|
* The id of the item the price will be associated with.
|
|
3734
3898
|
*/
|
|
@@ -3793,14 +3957,23 @@ export interface NewPlanCumulativeGroupedBulkPrice {
|
|
|
3793
3957
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
3794
3958
|
* by setting `metadata` to `null`.
|
|
3795
3959
|
*/
|
|
3796
|
-
metadata?:
|
|
3960
|
+
metadata?: {
|
|
3961
|
+
[key: string]: string | null;
|
|
3962
|
+
} | null;
|
|
3963
|
+
/**
|
|
3964
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
3965
|
+
* in the same API call.
|
|
3966
|
+
*/
|
|
3967
|
+
reference_id?: string | null;
|
|
3797
3968
|
}
|
|
3798
3969
|
export interface NewPlanGroupedAllocationPrice {
|
|
3799
3970
|
/**
|
|
3800
3971
|
* The cadence to bill for this price on.
|
|
3801
3972
|
*/
|
|
3802
3973
|
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
3803
|
-
grouped_allocation_config:
|
|
3974
|
+
grouped_allocation_config: {
|
|
3975
|
+
[key: string]: unknown;
|
|
3976
|
+
};
|
|
3804
3977
|
/**
|
|
3805
3978
|
* The id of the item the price will be associated with.
|
|
3806
3979
|
*/
|
|
@@ -3865,14 +4038,23 @@ export interface NewPlanGroupedAllocationPrice {
|
|
|
3865
4038
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
3866
4039
|
* by setting `metadata` to `null`.
|
|
3867
4040
|
*/
|
|
3868
|
-
metadata?:
|
|
4041
|
+
metadata?: {
|
|
4042
|
+
[key: string]: string | null;
|
|
4043
|
+
} | null;
|
|
4044
|
+
/**
|
|
4045
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
4046
|
+
* in the same API call.
|
|
4047
|
+
*/
|
|
4048
|
+
reference_id?: string | null;
|
|
3869
4049
|
}
|
|
3870
4050
|
export interface NewPlanGroupedTieredPackagePrice {
|
|
3871
4051
|
/**
|
|
3872
4052
|
* The cadence to bill for this price on.
|
|
3873
4053
|
*/
|
|
3874
4054
|
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
3875
|
-
grouped_tiered_package_config:
|
|
4055
|
+
grouped_tiered_package_config: {
|
|
4056
|
+
[key: string]: unknown;
|
|
4057
|
+
};
|
|
3876
4058
|
/**
|
|
3877
4059
|
* The id of the item the price will be associated with.
|
|
3878
4060
|
*/
|
|
@@ -3937,14 +4119,23 @@ export interface NewPlanGroupedTieredPackagePrice {
|
|
|
3937
4119
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
3938
4120
|
* by setting `metadata` to `null`.
|
|
3939
4121
|
*/
|
|
3940
|
-
metadata?:
|
|
4122
|
+
metadata?: {
|
|
4123
|
+
[key: string]: string | null;
|
|
4124
|
+
} | null;
|
|
4125
|
+
/**
|
|
4126
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
4127
|
+
* in the same API call.
|
|
4128
|
+
*/
|
|
4129
|
+
reference_id?: string | null;
|
|
3941
4130
|
}
|
|
3942
4131
|
export interface NewPlanGroupedTieredPrice {
|
|
3943
4132
|
/**
|
|
3944
4133
|
* The cadence to bill for this price on.
|
|
3945
4134
|
*/
|
|
3946
4135
|
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
3947
|
-
grouped_tiered_config:
|
|
4136
|
+
grouped_tiered_config: {
|
|
4137
|
+
[key: string]: unknown;
|
|
4138
|
+
};
|
|
3948
4139
|
/**
|
|
3949
4140
|
* The id of the item the price will be associated with.
|
|
3950
4141
|
*/
|
|
@@ -4009,14 +4200,23 @@ export interface NewPlanGroupedTieredPrice {
|
|
|
4009
4200
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4010
4201
|
* by setting `metadata` to `null`.
|
|
4011
4202
|
*/
|
|
4012
|
-
metadata?:
|
|
4203
|
+
metadata?: {
|
|
4204
|
+
[key: string]: string | null;
|
|
4205
|
+
} | null;
|
|
4206
|
+
/**
|
|
4207
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
4208
|
+
* in the same API call.
|
|
4209
|
+
*/
|
|
4210
|
+
reference_id?: string | null;
|
|
4013
4211
|
}
|
|
4014
4212
|
export interface NewPlanGroupedWithMeteredMinimumPrice {
|
|
4015
4213
|
/**
|
|
4016
4214
|
* The cadence to bill for this price on.
|
|
4017
4215
|
*/
|
|
4018
4216
|
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
4019
|
-
grouped_with_metered_minimum_config:
|
|
4217
|
+
grouped_with_metered_minimum_config: {
|
|
4218
|
+
[key: string]: unknown;
|
|
4219
|
+
};
|
|
4020
4220
|
/**
|
|
4021
4221
|
* The id of the item the price will be associated with.
|
|
4022
4222
|
*/
|
|
@@ -4081,14 +4281,23 @@ export interface NewPlanGroupedWithMeteredMinimumPrice {
|
|
|
4081
4281
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4082
4282
|
* by setting `metadata` to `null`.
|
|
4083
4283
|
*/
|
|
4084
|
-
metadata?:
|
|
4284
|
+
metadata?: {
|
|
4285
|
+
[key: string]: string | null;
|
|
4286
|
+
} | null;
|
|
4287
|
+
/**
|
|
4288
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
4289
|
+
* in the same API call.
|
|
4290
|
+
*/
|
|
4291
|
+
reference_id?: string | null;
|
|
4085
4292
|
}
|
|
4086
4293
|
export interface NewPlanGroupedWithProratedMinimumPrice {
|
|
4087
4294
|
/**
|
|
4088
4295
|
* The cadence to bill for this price on.
|
|
4089
4296
|
*/
|
|
4090
4297
|
cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
|
|
4091
|
-
grouped_with_prorated_minimum_config:
|
|
4298
|
+
grouped_with_prorated_minimum_config: {
|
|
4299
|
+
[key: string]: unknown;
|
|
4300
|
+
};
|
|
4092
4301
|
/**
|
|
4093
4302
|
* The id of the item the price will be associated with.
|
|
4094
4303
|
*/
|
|
@@ -4153,7 +4362,14 @@ export interface NewPlanGroupedWithProratedMinimumPrice {
|
|
|
4153
4362
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4154
4363
|
* by setting `metadata` to `null`.
|
|
4155
4364
|
*/
|
|
4156
|
-
metadata?:
|
|
4365
|
+
metadata?: {
|
|
4366
|
+
[key: string]: string | null;
|
|
4367
|
+
} | null;
|
|
4368
|
+
/**
|
|
4369
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
4370
|
+
* in the same API call.
|
|
4371
|
+
*/
|
|
4372
|
+
reference_id?: string | null;
|
|
4157
4373
|
}
|
|
4158
4374
|
export interface NewPlanMatrixPrice {
|
|
4159
4375
|
/**
|
|
@@ -4225,7 +4441,14 @@ export interface NewPlanMatrixPrice {
|
|
|
4225
4441
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4226
4442
|
* by setting `metadata` to `null`.
|
|
4227
4443
|
*/
|
|
4228
|
-
metadata?:
|
|
4444
|
+
metadata?: {
|
|
4445
|
+
[key: string]: string | null;
|
|
4446
|
+
} | null;
|
|
4447
|
+
/**
|
|
4448
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
4449
|
+
* in the same API call.
|
|
4450
|
+
*/
|
|
4451
|
+
reference_id?: string | null;
|
|
4229
4452
|
}
|
|
4230
4453
|
export interface NewPlanMatrixWithAllocationPrice {
|
|
4231
4454
|
/**
|
|
@@ -4297,7 +4520,14 @@ export interface NewPlanMatrixWithAllocationPrice {
|
|
|
4297
4520
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4298
4521
|
* by setting `metadata` to `null`.
|
|
4299
4522
|
*/
|
|
4300
|
-
metadata?:
|
|
4523
|
+
metadata?: {
|
|
4524
|
+
[key: string]: string | null;
|
|
4525
|
+
} | null;
|
|
4526
|
+
/**
|
|
4527
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
4528
|
+
* in the same API call.
|
|
4529
|
+
*/
|
|
4530
|
+
reference_id?: string | null;
|
|
4301
4531
|
}
|
|
4302
4532
|
export interface NewPlanMatrixWithDisplayNamePrice {
|
|
4303
4533
|
/**
|
|
@@ -4308,7 +4538,9 @@ export interface NewPlanMatrixWithDisplayNamePrice {
|
|
|
4308
4538
|
* The id of the item the price will be associated with.
|
|
4309
4539
|
*/
|
|
4310
4540
|
item_id: string;
|
|
4311
|
-
matrix_with_display_name_config:
|
|
4541
|
+
matrix_with_display_name_config: {
|
|
4542
|
+
[key: string]: unknown;
|
|
4543
|
+
};
|
|
4312
4544
|
model_type: 'matrix_with_display_name';
|
|
4313
4545
|
/**
|
|
4314
4546
|
* The name of the price.
|
|
@@ -4369,7 +4601,14 @@ export interface NewPlanMatrixWithDisplayNamePrice {
|
|
|
4369
4601
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4370
4602
|
* by setting `metadata` to `null`.
|
|
4371
4603
|
*/
|
|
4372
|
-
metadata?:
|
|
4604
|
+
metadata?: {
|
|
4605
|
+
[key: string]: string | null;
|
|
4606
|
+
} | null;
|
|
4607
|
+
/**
|
|
4608
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
4609
|
+
* in the same API call.
|
|
4610
|
+
*/
|
|
4611
|
+
reference_id?: string | null;
|
|
4373
4612
|
}
|
|
4374
4613
|
export interface NewPlanMaxGroupTieredPackagePrice {
|
|
4375
4614
|
/**
|
|
@@ -4380,7 +4619,9 @@ export interface NewPlanMaxGroupTieredPackagePrice {
|
|
|
4380
4619
|
* The id of the item the price will be associated with.
|
|
4381
4620
|
*/
|
|
4382
4621
|
item_id: string;
|
|
4383
|
-
max_group_tiered_package_config:
|
|
4622
|
+
max_group_tiered_package_config: {
|
|
4623
|
+
[key: string]: unknown;
|
|
4624
|
+
};
|
|
4384
4625
|
model_type: 'max_group_tiered_package';
|
|
4385
4626
|
/**
|
|
4386
4627
|
* The name of the price.
|
|
@@ -4441,7 +4682,14 @@ export interface NewPlanMaxGroupTieredPackagePrice {
|
|
|
4441
4682
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4442
4683
|
* by setting `metadata` to `null`.
|
|
4443
4684
|
*/
|
|
4444
|
-
metadata?:
|
|
4685
|
+
metadata?: {
|
|
4686
|
+
[key: string]: string | null;
|
|
4687
|
+
} | null;
|
|
4688
|
+
/**
|
|
4689
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
4690
|
+
* in the same API call.
|
|
4691
|
+
*/
|
|
4692
|
+
reference_id?: string | null;
|
|
4445
4693
|
}
|
|
4446
4694
|
export interface NewPlanPackagePrice {
|
|
4447
4695
|
/**
|
|
@@ -4513,7 +4761,14 @@ export interface NewPlanPackagePrice {
|
|
|
4513
4761
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4514
4762
|
* by setting `metadata` to `null`.
|
|
4515
4763
|
*/
|
|
4516
|
-
metadata?:
|
|
4764
|
+
metadata?: {
|
|
4765
|
+
[key: string]: string | null;
|
|
4766
|
+
} | null;
|
|
4767
|
+
/**
|
|
4768
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
4769
|
+
* in the same API call.
|
|
4770
|
+
*/
|
|
4771
|
+
reference_id?: string | null;
|
|
4517
4772
|
}
|
|
4518
4773
|
export interface NewPlanPackageWithAllocationPrice {
|
|
4519
4774
|
/**
|
|
@@ -4529,7 +4784,9 @@ export interface NewPlanPackageWithAllocationPrice {
|
|
|
4529
4784
|
* The name of the price.
|
|
4530
4785
|
*/
|
|
4531
4786
|
name: string;
|
|
4532
|
-
package_with_allocation_config:
|
|
4787
|
+
package_with_allocation_config: {
|
|
4788
|
+
[key: string]: unknown;
|
|
4789
|
+
};
|
|
4533
4790
|
/**
|
|
4534
4791
|
* The id of the billable metric for the price. Only needed if the price is
|
|
4535
4792
|
* usage-based.
|
|
@@ -4585,7 +4842,14 @@ export interface NewPlanPackageWithAllocationPrice {
|
|
|
4585
4842
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4586
4843
|
* by setting `metadata` to `null`.
|
|
4587
4844
|
*/
|
|
4588
|
-
metadata?:
|
|
4845
|
+
metadata?: {
|
|
4846
|
+
[key: string]: string | null;
|
|
4847
|
+
} | null;
|
|
4848
|
+
/**
|
|
4849
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
4850
|
+
* in the same API call.
|
|
4851
|
+
*/
|
|
4852
|
+
reference_id?: string | null;
|
|
4589
4853
|
}
|
|
4590
4854
|
export interface NewPlanScalableMatrixWithTieredPricingPrice {
|
|
4591
4855
|
/**
|
|
@@ -4601,7 +4865,9 @@ export interface NewPlanScalableMatrixWithTieredPricingPrice {
|
|
|
4601
4865
|
* The name of the price.
|
|
4602
4866
|
*/
|
|
4603
4867
|
name: string;
|
|
4604
|
-
scalable_matrix_with_tiered_pricing_config:
|
|
4868
|
+
scalable_matrix_with_tiered_pricing_config: {
|
|
4869
|
+
[key: string]: unknown;
|
|
4870
|
+
};
|
|
4605
4871
|
/**
|
|
4606
4872
|
* The id of the billable metric for the price. Only needed if the price is
|
|
4607
4873
|
* usage-based.
|
|
@@ -4657,7 +4923,14 @@ export interface NewPlanScalableMatrixWithTieredPricingPrice {
|
|
|
4657
4923
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4658
4924
|
* by setting `metadata` to `null`.
|
|
4659
4925
|
*/
|
|
4660
|
-
metadata?:
|
|
4926
|
+
metadata?: {
|
|
4927
|
+
[key: string]: string | null;
|
|
4928
|
+
} | null;
|
|
4929
|
+
/**
|
|
4930
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
4931
|
+
* in the same API call.
|
|
4932
|
+
*/
|
|
4933
|
+
reference_id?: string | null;
|
|
4661
4934
|
}
|
|
4662
4935
|
export interface NewPlanScalableMatrixWithUnitPricingPrice {
|
|
4663
4936
|
/**
|
|
@@ -4673,7 +4946,9 @@ export interface NewPlanScalableMatrixWithUnitPricingPrice {
|
|
|
4673
4946
|
* The name of the price.
|
|
4674
4947
|
*/
|
|
4675
4948
|
name: string;
|
|
4676
|
-
scalable_matrix_with_unit_pricing_config:
|
|
4949
|
+
scalable_matrix_with_unit_pricing_config: {
|
|
4950
|
+
[key: string]: unknown;
|
|
4951
|
+
};
|
|
4677
4952
|
/**
|
|
4678
4953
|
* The id of the billable metric for the price. Only needed if the price is
|
|
4679
4954
|
* usage-based.
|
|
@@ -4729,7 +5004,14 @@ export interface NewPlanScalableMatrixWithUnitPricingPrice {
|
|
|
4729
5004
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4730
5005
|
* by setting `metadata` to `null`.
|
|
4731
5006
|
*/
|
|
4732
|
-
metadata?:
|
|
5007
|
+
metadata?: {
|
|
5008
|
+
[key: string]: string | null;
|
|
5009
|
+
} | null;
|
|
5010
|
+
/**
|
|
5011
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5012
|
+
* in the same API call.
|
|
5013
|
+
*/
|
|
5014
|
+
reference_id?: string | null;
|
|
4733
5015
|
}
|
|
4734
5016
|
export interface NewPlanThresholdTotalAmountPrice {
|
|
4735
5017
|
/**
|
|
@@ -4745,7 +5027,9 @@ export interface NewPlanThresholdTotalAmountPrice {
|
|
|
4745
5027
|
* The name of the price.
|
|
4746
5028
|
*/
|
|
4747
5029
|
name: string;
|
|
4748
|
-
threshold_total_amount_config:
|
|
5030
|
+
threshold_total_amount_config: {
|
|
5031
|
+
[key: string]: unknown;
|
|
5032
|
+
};
|
|
4749
5033
|
/**
|
|
4750
5034
|
* The id of the billable metric for the price. Only needed if the price is
|
|
4751
5035
|
* usage-based.
|
|
@@ -4801,7 +5085,14 @@ export interface NewPlanThresholdTotalAmountPrice {
|
|
|
4801
5085
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4802
5086
|
* by setting `metadata` to `null`.
|
|
4803
5087
|
*/
|
|
4804
|
-
metadata?:
|
|
5088
|
+
metadata?: {
|
|
5089
|
+
[key: string]: string | null;
|
|
5090
|
+
} | null;
|
|
5091
|
+
/**
|
|
5092
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5093
|
+
* in the same API call.
|
|
5094
|
+
*/
|
|
5095
|
+
reference_id?: string | null;
|
|
4805
5096
|
}
|
|
4806
5097
|
export interface NewPlanTierWithProrationPrice {
|
|
4807
5098
|
/**
|
|
@@ -4817,7 +5108,9 @@ export interface NewPlanTierWithProrationPrice {
|
|
|
4817
5108
|
* The name of the price.
|
|
4818
5109
|
*/
|
|
4819
5110
|
name: string;
|
|
4820
|
-
tiered_with_proration_config:
|
|
5111
|
+
tiered_with_proration_config: {
|
|
5112
|
+
[key: string]: unknown;
|
|
5113
|
+
};
|
|
4821
5114
|
/**
|
|
4822
5115
|
* The id of the billable metric for the price. Only needed if the price is
|
|
4823
5116
|
* usage-based.
|
|
@@ -4873,7 +5166,14 @@ export interface NewPlanTierWithProrationPrice {
|
|
|
4873
5166
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4874
5167
|
* by setting `metadata` to `null`.
|
|
4875
5168
|
*/
|
|
4876
|
-
metadata?:
|
|
5169
|
+
metadata?: {
|
|
5170
|
+
[key: string]: string | null;
|
|
5171
|
+
} | null;
|
|
5172
|
+
/**
|
|
5173
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5174
|
+
* in the same API call.
|
|
5175
|
+
*/
|
|
5176
|
+
reference_id?: string | null;
|
|
4877
5177
|
}
|
|
4878
5178
|
export interface NewPlanTieredBPSPrice {
|
|
4879
5179
|
/**
|
|
@@ -4945,7 +5245,14 @@ export interface NewPlanTieredBPSPrice {
|
|
|
4945
5245
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
4946
5246
|
* by setting `metadata` to `null`.
|
|
4947
5247
|
*/
|
|
4948
|
-
metadata?:
|
|
5248
|
+
metadata?: {
|
|
5249
|
+
[key: string]: string | null;
|
|
5250
|
+
} | null;
|
|
5251
|
+
/**
|
|
5252
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5253
|
+
* in the same API call.
|
|
5254
|
+
*/
|
|
5255
|
+
reference_id?: string | null;
|
|
4949
5256
|
}
|
|
4950
5257
|
export interface NewPlanTieredPackagePrice {
|
|
4951
5258
|
/**
|
|
@@ -4961,7 +5268,9 @@ export interface NewPlanTieredPackagePrice {
|
|
|
4961
5268
|
* The name of the price.
|
|
4962
5269
|
*/
|
|
4963
5270
|
name: string;
|
|
4964
|
-
tiered_package_config:
|
|
5271
|
+
tiered_package_config: {
|
|
5272
|
+
[key: string]: unknown;
|
|
5273
|
+
};
|
|
4965
5274
|
/**
|
|
4966
5275
|
* The id of the billable metric for the price. Only needed if the price is
|
|
4967
5276
|
* usage-based.
|
|
@@ -5017,7 +5326,14 @@ export interface NewPlanTieredPackagePrice {
|
|
|
5017
5326
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
5018
5327
|
* by setting `metadata` to `null`.
|
|
5019
5328
|
*/
|
|
5020
|
-
metadata?:
|
|
5329
|
+
metadata?: {
|
|
5330
|
+
[key: string]: string | null;
|
|
5331
|
+
} | null;
|
|
5332
|
+
/**
|
|
5333
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5334
|
+
* in the same API call.
|
|
5335
|
+
*/
|
|
5336
|
+
reference_id?: string | null;
|
|
5021
5337
|
}
|
|
5022
5338
|
export interface NewPlanTieredPackageWithMinimumPrice {
|
|
5023
5339
|
/**
|
|
@@ -5033,7 +5349,9 @@ export interface NewPlanTieredPackageWithMinimumPrice {
|
|
|
5033
5349
|
* The name of the price.
|
|
5034
5350
|
*/
|
|
5035
5351
|
name: string;
|
|
5036
|
-
tiered_package_with_minimum_config:
|
|
5352
|
+
tiered_package_with_minimum_config: {
|
|
5353
|
+
[key: string]: unknown;
|
|
5354
|
+
};
|
|
5037
5355
|
/**
|
|
5038
5356
|
* The id of the billable metric for the price. Only needed if the price is
|
|
5039
5357
|
* usage-based.
|
|
@@ -5089,7 +5407,14 @@ export interface NewPlanTieredPackageWithMinimumPrice {
|
|
|
5089
5407
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
5090
5408
|
* by setting `metadata` to `null`.
|
|
5091
5409
|
*/
|
|
5092
|
-
metadata?:
|
|
5410
|
+
metadata?: {
|
|
5411
|
+
[key: string]: string | null;
|
|
5412
|
+
} | null;
|
|
5413
|
+
/**
|
|
5414
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5415
|
+
* in the same API call.
|
|
5416
|
+
*/
|
|
5417
|
+
reference_id?: string | null;
|
|
5093
5418
|
}
|
|
5094
5419
|
export interface NewPlanTieredPrice {
|
|
5095
5420
|
/**
|
|
@@ -5161,7 +5486,14 @@ export interface NewPlanTieredPrice {
|
|
|
5161
5486
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
5162
5487
|
* by setting `metadata` to `null`.
|
|
5163
5488
|
*/
|
|
5164
|
-
metadata?:
|
|
5489
|
+
metadata?: {
|
|
5490
|
+
[key: string]: string | null;
|
|
5491
|
+
} | null;
|
|
5492
|
+
/**
|
|
5493
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5494
|
+
* in the same API call.
|
|
5495
|
+
*/
|
|
5496
|
+
reference_id?: string | null;
|
|
5165
5497
|
}
|
|
5166
5498
|
export interface NewPlanTieredWithMinimumPrice {
|
|
5167
5499
|
/**
|
|
@@ -5177,7 +5509,9 @@ export interface NewPlanTieredWithMinimumPrice {
|
|
|
5177
5509
|
* The name of the price.
|
|
5178
5510
|
*/
|
|
5179
5511
|
name: string;
|
|
5180
|
-
tiered_with_minimum_config:
|
|
5512
|
+
tiered_with_minimum_config: {
|
|
5513
|
+
[key: string]: unknown;
|
|
5514
|
+
};
|
|
5181
5515
|
/**
|
|
5182
5516
|
* The id of the billable metric for the price. Only needed if the price is
|
|
5183
5517
|
* usage-based.
|
|
@@ -5233,7 +5567,14 @@ export interface NewPlanTieredWithMinimumPrice {
|
|
|
5233
5567
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
5234
5568
|
* by setting `metadata` to `null`.
|
|
5235
5569
|
*/
|
|
5236
|
-
metadata?:
|
|
5570
|
+
metadata?: {
|
|
5571
|
+
[key: string]: string | null;
|
|
5572
|
+
} | null;
|
|
5573
|
+
/**
|
|
5574
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5575
|
+
* in the same API call.
|
|
5576
|
+
*/
|
|
5577
|
+
reference_id?: string | null;
|
|
5237
5578
|
}
|
|
5238
5579
|
export interface NewPlanUnitPrice {
|
|
5239
5580
|
/**
|
|
@@ -5305,7 +5646,14 @@ export interface NewPlanUnitPrice {
|
|
|
5305
5646
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
5306
5647
|
* by setting `metadata` to `null`.
|
|
5307
5648
|
*/
|
|
5308
|
-
metadata?:
|
|
5649
|
+
metadata?: {
|
|
5650
|
+
[key: string]: string | null;
|
|
5651
|
+
} | null;
|
|
5652
|
+
/**
|
|
5653
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5654
|
+
* in the same API call.
|
|
5655
|
+
*/
|
|
5656
|
+
reference_id?: string | null;
|
|
5309
5657
|
}
|
|
5310
5658
|
export interface NewPlanUnitWithPercentPrice {
|
|
5311
5659
|
/**
|
|
@@ -5321,7 +5669,9 @@ export interface NewPlanUnitWithPercentPrice {
|
|
|
5321
5669
|
* The name of the price.
|
|
5322
5670
|
*/
|
|
5323
5671
|
name: string;
|
|
5324
|
-
unit_with_percent_config:
|
|
5672
|
+
unit_with_percent_config: {
|
|
5673
|
+
[key: string]: unknown;
|
|
5674
|
+
};
|
|
5325
5675
|
/**
|
|
5326
5676
|
* The id of the billable metric for the price. Only needed if the price is
|
|
5327
5677
|
* usage-based.
|
|
@@ -5377,7 +5727,14 @@ export interface NewPlanUnitWithPercentPrice {
|
|
|
5377
5727
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
5378
5728
|
* by setting `metadata` to `null`.
|
|
5379
5729
|
*/
|
|
5380
|
-
metadata?:
|
|
5730
|
+
metadata?: {
|
|
5731
|
+
[key: string]: string | null;
|
|
5732
|
+
} | null;
|
|
5733
|
+
/**
|
|
5734
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5735
|
+
* in the same API call.
|
|
5736
|
+
*/
|
|
5737
|
+
reference_id?: string | null;
|
|
5381
5738
|
}
|
|
5382
5739
|
export interface NewPlanUnitWithProrationPrice {
|
|
5383
5740
|
/**
|
|
@@ -5393,7 +5750,9 @@ export interface NewPlanUnitWithProrationPrice {
|
|
|
5393
5750
|
* The name of the price.
|
|
5394
5751
|
*/
|
|
5395
5752
|
name: string;
|
|
5396
|
-
unit_with_proration_config:
|
|
5753
|
+
unit_with_proration_config: {
|
|
5754
|
+
[key: string]: unknown;
|
|
5755
|
+
};
|
|
5397
5756
|
/**
|
|
5398
5757
|
* The id of the billable metric for the price. Only needed if the price is
|
|
5399
5758
|
* usage-based.
|
|
@@ -5449,7 +5808,14 @@ export interface NewPlanUnitWithProrationPrice {
|
|
|
5449
5808
|
* by setting the value to `null`, and the entire metadata mapping can be cleared
|
|
5450
5809
|
* by setting `metadata` to `null`.
|
|
5451
5810
|
*/
|
|
5452
|
-
metadata?:
|
|
5811
|
+
metadata?: {
|
|
5812
|
+
[key: string]: string | null;
|
|
5813
|
+
} | null;
|
|
5814
|
+
/**
|
|
5815
|
+
* A transient ID that can be used to reference this price when adding adjustments
|
|
5816
|
+
* in the same API call.
|
|
5817
|
+
*/
|
|
5818
|
+
reference_id?: string | null;
|
|
5453
5819
|
}
|
|
5454
5820
|
export interface NewUsageDiscount {
|
|
5455
5821
|
adjustment_type: 'usage_discount';
|
|
@@ -5602,6 +5968,11 @@ export interface PlanPhaseAmountDiscountAdjustment {
|
|
|
5602
5968
|
* The reason for the adjustment.
|
|
5603
5969
|
*/
|
|
5604
5970
|
reason: string | null;
|
|
5971
|
+
/**
|
|
5972
|
+
* The adjustment id this adjustment replaces. This adjustment will take the place
|
|
5973
|
+
* of the replaced adjustment in plan version migrations.
|
|
5974
|
+
*/
|
|
5975
|
+
replaces_adjustment_id: string | null;
|
|
5605
5976
|
}
|
|
5606
5977
|
export interface PlanPhaseMaximumAdjustment {
|
|
5607
5978
|
id: string;
|
|
@@ -5632,6 +6003,11 @@ export interface PlanPhaseMaximumAdjustment {
|
|
|
5632
6003
|
* The reason for the adjustment.
|
|
5633
6004
|
*/
|
|
5634
6005
|
reason: string | null;
|
|
6006
|
+
/**
|
|
6007
|
+
* The adjustment id this adjustment replaces. This adjustment will take the place
|
|
6008
|
+
* of the replaced adjustment in plan version migrations.
|
|
6009
|
+
*/
|
|
6010
|
+
replaces_adjustment_id: string | null;
|
|
5635
6011
|
}
|
|
5636
6012
|
export interface PlanPhaseMinimumAdjustment {
|
|
5637
6013
|
id: string;
|
|
@@ -5666,6 +6042,11 @@ export interface PlanPhaseMinimumAdjustment {
|
|
|
5666
6042
|
* The reason for the adjustment.
|
|
5667
6043
|
*/
|
|
5668
6044
|
reason: string | null;
|
|
6045
|
+
/**
|
|
6046
|
+
* The adjustment id this adjustment replaces. This adjustment will take the place
|
|
6047
|
+
* of the replaced adjustment in plan version migrations.
|
|
6048
|
+
*/
|
|
6049
|
+
replaces_adjustment_id: string | null;
|
|
5669
6050
|
}
|
|
5670
6051
|
export interface PlanPhasePercentageDiscountAdjustment {
|
|
5671
6052
|
id: string;
|
|
@@ -5696,6 +6077,11 @@ export interface PlanPhasePercentageDiscountAdjustment {
|
|
|
5696
6077
|
* The reason for the adjustment.
|
|
5697
6078
|
*/
|
|
5698
6079
|
reason: string | null;
|
|
6080
|
+
/**
|
|
6081
|
+
* The adjustment id this adjustment replaces. This adjustment will take the place
|
|
6082
|
+
* of the replaced adjustment in plan version migrations.
|
|
6083
|
+
*/
|
|
6084
|
+
replaces_adjustment_id: string | null;
|
|
5699
6085
|
}
|
|
5700
6086
|
export interface PlanPhaseUsageDiscountAdjustment {
|
|
5701
6087
|
id: string;
|
|
@@ -5721,6 +6107,11 @@ export interface PlanPhaseUsageDiscountAdjustment {
|
|
|
5721
6107
|
* The reason for the adjustment.
|
|
5722
6108
|
*/
|
|
5723
6109
|
reason: string | null;
|
|
6110
|
+
/**
|
|
6111
|
+
* The adjustment id this adjustment replaces. This adjustment will take the place
|
|
6112
|
+
* of the replaced adjustment in plan version migrations.
|
|
6113
|
+
*/
|
|
6114
|
+
replaces_adjustment_id: string | null;
|
|
5724
6115
|
/**
|
|
5725
6116
|
* The number of usage units by which to discount the price this adjustment applies
|
|
5726
6117
|
* to in a given billing period.
|
|
@@ -5773,7 +6164,9 @@ export declare namespace Price {
|
|
|
5773
6164
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
5774
6165
|
* `null`.
|
|
5775
6166
|
*/
|
|
5776
|
-
metadata:
|
|
6167
|
+
metadata: {
|
|
6168
|
+
[key: string]: string;
|
|
6169
|
+
};
|
|
5777
6170
|
/**
|
|
5778
6171
|
* @deprecated
|
|
5779
6172
|
*/
|
|
@@ -5786,6 +6179,11 @@ export declare namespace Price {
|
|
|
5786
6179
|
name: string;
|
|
5787
6180
|
plan_phase_order: number | null;
|
|
5788
6181
|
price_type: 'usage_price' | 'fixed_price';
|
|
6182
|
+
/**
|
|
6183
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6184
|
+
* price in plan version migrations.
|
|
6185
|
+
*/
|
|
6186
|
+
replaces_price_id: string | null;
|
|
5789
6187
|
unit_config: Shared.UnitConfig;
|
|
5790
6188
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
5791
6189
|
}
|
|
@@ -5821,7 +6219,9 @@ export declare namespace Price {
|
|
|
5821
6219
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
5822
6220
|
* `null`.
|
|
5823
6221
|
*/
|
|
5824
|
-
metadata:
|
|
6222
|
+
metadata: {
|
|
6223
|
+
[key: string]: string;
|
|
6224
|
+
};
|
|
5825
6225
|
/**
|
|
5826
6226
|
* @deprecated
|
|
5827
6227
|
*/
|
|
@@ -5835,6 +6235,11 @@ export declare namespace Price {
|
|
|
5835
6235
|
package_config: Shared.PackageConfig;
|
|
5836
6236
|
plan_phase_order: number | null;
|
|
5837
6237
|
price_type: 'usage_price' | 'fixed_price';
|
|
6238
|
+
/**
|
|
6239
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6240
|
+
* price in plan version migrations.
|
|
6241
|
+
*/
|
|
6242
|
+
replaces_price_id: string | null;
|
|
5838
6243
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
5839
6244
|
}
|
|
5840
6245
|
interface MatrixPrice {
|
|
@@ -5870,7 +6275,9 @@ export declare namespace Price {
|
|
|
5870
6275
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
5871
6276
|
* `null`.
|
|
5872
6277
|
*/
|
|
5873
|
-
metadata:
|
|
6278
|
+
metadata: {
|
|
6279
|
+
[key: string]: string;
|
|
6280
|
+
};
|
|
5874
6281
|
/**
|
|
5875
6282
|
* @deprecated
|
|
5876
6283
|
*/
|
|
@@ -5883,6 +6290,11 @@ export declare namespace Price {
|
|
|
5883
6290
|
name: string;
|
|
5884
6291
|
plan_phase_order: number | null;
|
|
5885
6292
|
price_type: 'usage_price' | 'fixed_price';
|
|
6293
|
+
/**
|
|
6294
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6295
|
+
* price in plan version migrations.
|
|
6296
|
+
*/
|
|
6297
|
+
replaces_price_id: string | null;
|
|
5886
6298
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
5887
6299
|
}
|
|
5888
6300
|
interface TieredPrice {
|
|
@@ -5917,7 +6329,9 @@ export declare namespace Price {
|
|
|
5917
6329
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
5918
6330
|
* `null`.
|
|
5919
6331
|
*/
|
|
5920
|
-
metadata:
|
|
6332
|
+
metadata: {
|
|
6333
|
+
[key: string]: string;
|
|
6334
|
+
};
|
|
5921
6335
|
/**
|
|
5922
6336
|
* @deprecated
|
|
5923
6337
|
*/
|
|
@@ -5930,6 +6344,11 @@ export declare namespace Price {
|
|
|
5930
6344
|
name: string;
|
|
5931
6345
|
plan_phase_order: number | null;
|
|
5932
6346
|
price_type: 'usage_price' | 'fixed_price';
|
|
6347
|
+
/**
|
|
6348
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6349
|
+
* price in plan version migrations.
|
|
6350
|
+
*/
|
|
6351
|
+
replaces_price_id: string | null;
|
|
5933
6352
|
tiered_config: Shared.TieredConfig;
|
|
5934
6353
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
5935
6354
|
}
|
|
@@ -5965,7 +6384,9 @@ export declare namespace Price {
|
|
|
5965
6384
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
5966
6385
|
* `null`.
|
|
5967
6386
|
*/
|
|
5968
|
-
metadata:
|
|
6387
|
+
metadata: {
|
|
6388
|
+
[key: string]: string;
|
|
6389
|
+
};
|
|
5969
6390
|
/**
|
|
5970
6391
|
* @deprecated
|
|
5971
6392
|
*/
|
|
@@ -5978,6 +6399,11 @@ export declare namespace Price {
|
|
|
5978
6399
|
name: string;
|
|
5979
6400
|
plan_phase_order: number | null;
|
|
5980
6401
|
price_type: 'usage_price' | 'fixed_price';
|
|
6402
|
+
/**
|
|
6403
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6404
|
+
* price in plan version migrations.
|
|
6405
|
+
*/
|
|
6406
|
+
replaces_price_id: string | null;
|
|
5981
6407
|
tiered_bps_config: Shared.TieredBPSConfig;
|
|
5982
6408
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
5983
6409
|
}
|
|
@@ -6014,7 +6440,9 @@ export declare namespace Price {
|
|
|
6014
6440
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6015
6441
|
* `null`.
|
|
6016
6442
|
*/
|
|
6017
|
-
metadata:
|
|
6443
|
+
metadata: {
|
|
6444
|
+
[key: string]: string;
|
|
6445
|
+
};
|
|
6018
6446
|
/**
|
|
6019
6447
|
* @deprecated
|
|
6020
6448
|
*/
|
|
@@ -6027,6 +6455,11 @@ export declare namespace Price {
|
|
|
6027
6455
|
name: string;
|
|
6028
6456
|
plan_phase_order: number | null;
|
|
6029
6457
|
price_type: 'usage_price' | 'fixed_price';
|
|
6458
|
+
/**
|
|
6459
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6460
|
+
* price in plan version migrations.
|
|
6461
|
+
*/
|
|
6462
|
+
replaces_price_id: string | null;
|
|
6030
6463
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6031
6464
|
}
|
|
6032
6465
|
interface BulkBPSPrice {
|
|
@@ -6062,7 +6495,9 @@ export declare namespace Price {
|
|
|
6062
6495
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6063
6496
|
* `null`.
|
|
6064
6497
|
*/
|
|
6065
|
-
metadata:
|
|
6498
|
+
metadata: {
|
|
6499
|
+
[key: string]: string;
|
|
6500
|
+
};
|
|
6066
6501
|
/**
|
|
6067
6502
|
* @deprecated
|
|
6068
6503
|
*/
|
|
@@ -6075,6 +6510,11 @@ export declare namespace Price {
|
|
|
6075
6510
|
name: string;
|
|
6076
6511
|
plan_phase_order: number | null;
|
|
6077
6512
|
price_type: 'usage_price' | 'fixed_price';
|
|
6513
|
+
/**
|
|
6514
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6515
|
+
* price in plan version migrations.
|
|
6516
|
+
*/
|
|
6517
|
+
replaces_price_id: string | null;
|
|
6078
6518
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6079
6519
|
}
|
|
6080
6520
|
interface BulkPrice {
|
|
@@ -6110,7 +6550,9 @@ export declare namespace Price {
|
|
|
6110
6550
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6111
6551
|
* `null`.
|
|
6112
6552
|
*/
|
|
6113
|
-
metadata:
|
|
6553
|
+
metadata: {
|
|
6554
|
+
[key: string]: string;
|
|
6555
|
+
};
|
|
6114
6556
|
/**
|
|
6115
6557
|
* @deprecated
|
|
6116
6558
|
*/
|
|
@@ -6123,6 +6565,11 @@ export declare namespace Price {
|
|
|
6123
6565
|
name: string;
|
|
6124
6566
|
plan_phase_order: number | null;
|
|
6125
6567
|
price_type: 'usage_price' | 'fixed_price';
|
|
6568
|
+
/**
|
|
6569
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6570
|
+
* price in plan version migrations.
|
|
6571
|
+
*/
|
|
6572
|
+
replaces_price_id: string | null;
|
|
6126
6573
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6127
6574
|
}
|
|
6128
6575
|
interface ThresholdTotalAmountPrice {
|
|
@@ -6157,7 +6604,9 @@ export declare namespace Price {
|
|
|
6157
6604
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6158
6605
|
* `null`.
|
|
6159
6606
|
*/
|
|
6160
|
-
metadata:
|
|
6607
|
+
metadata: {
|
|
6608
|
+
[key: string]: string;
|
|
6609
|
+
};
|
|
6161
6610
|
/**
|
|
6162
6611
|
* @deprecated
|
|
6163
6612
|
*/
|
|
@@ -6170,7 +6619,14 @@ export declare namespace Price {
|
|
|
6170
6619
|
name: string;
|
|
6171
6620
|
plan_phase_order: number | null;
|
|
6172
6621
|
price_type: 'usage_price' | 'fixed_price';
|
|
6173
|
-
|
|
6622
|
+
/**
|
|
6623
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6624
|
+
* price in plan version migrations.
|
|
6625
|
+
*/
|
|
6626
|
+
replaces_price_id: string | null;
|
|
6627
|
+
threshold_total_amount_config: {
|
|
6628
|
+
[key: string]: unknown;
|
|
6629
|
+
};
|
|
6174
6630
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6175
6631
|
}
|
|
6176
6632
|
interface TieredPackagePrice {
|
|
@@ -6205,7 +6661,9 @@ export declare namespace Price {
|
|
|
6205
6661
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6206
6662
|
* `null`.
|
|
6207
6663
|
*/
|
|
6208
|
-
metadata:
|
|
6664
|
+
metadata: {
|
|
6665
|
+
[key: string]: string;
|
|
6666
|
+
};
|
|
6209
6667
|
/**
|
|
6210
6668
|
* @deprecated
|
|
6211
6669
|
*/
|
|
@@ -6218,7 +6676,14 @@ export declare namespace Price {
|
|
|
6218
6676
|
name: string;
|
|
6219
6677
|
plan_phase_order: number | null;
|
|
6220
6678
|
price_type: 'usage_price' | 'fixed_price';
|
|
6221
|
-
|
|
6679
|
+
/**
|
|
6680
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6681
|
+
* price in plan version migrations.
|
|
6682
|
+
*/
|
|
6683
|
+
replaces_price_id: string | null;
|
|
6684
|
+
tiered_package_config: {
|
|
6685
|
+
[key: string]: unknown;
|
|
6686
|
+
};
|
|
6222
6687
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6223
6688
|
}
|
|
6224
6689
|
interface GroupedTieredPrice {
|
|
@@ -6237,7 +6702,9 @@ export declare namespace Price {
|
|
|
6237
6702
|
discount: Shared.Discount | null;
|
|
6238
6703
|
external_price_id: string | null;
|
|
6239
6704
|
fixed_price_quantity: number | null;
|
|
6240
|
-
grouped_tiered_config:
|
|
6705
|
+
grouped_tiered_config: {
|
|
6706
|
+
[key: string]: unknown;
|
|
6707
|
+
};
|
|
6241
6708
|
invoicing_cycle_configuration: Shared.BillingCycleConfiguration | null;
|
|
6242
6709
|
item: Shared.ItemSlim;
|
|
6243
6710
|
/**
|
|
@@ -6254,7 +6721,9 @@ export declare namespace Price {
|
|
|
6254
6721
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6255
6722
|
* `null`.
|
|
6256
6723
|
*/
|
|
6257
|
-
metadata:
|
|
6724
|
+
metadata: {
|
|
6725
|
+
[key: string]: string;
|
|
6726
|
+
};
|
|
6258
6727
|
/**
|
|
6259
6728
|
* @deprecated
|
|
6260
6729
|
*/
|
|
@@ -6267,6 +6736,11 @@ export declare namespace Price {
|
|
|
6267
6736
|
name: string;
|
|
6268
6737
|
plan_phase_order: number | null;
|
|
6269
6738
|
price_type: 'usage_price' | 'fixed_price';
|
|
6739
|
+
/**
|
|
6740
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6741
|
+
* price in plan version migrations.
|
|
6742
|
+
*/
|
|
6743
|
+
replaces_price_id: string | null;
|
|
6270
6744
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6271
6745
|
}
|
|
6272
6746
|
interface TieredWithMinimumPrice {
|
|
@@ -6301,7 +6775,9 @@ export declare namespace Price {
|
|
|
6301
6775
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6302
6776
|
* `null`.
|
|
6303
6777
|
*/
|
|
6304
|
-
metadata:
|
|
6778
|
+
metadata: {
|
|
6779
|
+
[key: string]: string;
|
|
6780
|
+
};
|
|
6305
6781
|
/**
|
|
6306
6782
|
* @deprecated
|
|
6307
6783
|
*/
|
|
@@ -6314,7 +6790,14 @@ export declare namespace Price {
|
|
|
6314
6790
|
name: string;
|
|
6315
6791
|
plan_phase_order: number | null;
|
|
6316
6792
|
price_type: 'usage_price' | 'fixed_price';
|
|
6317
|
-
|
|
6793
|
+
/**
|
|
6794
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6795
|
+
* price in plan version migrations.
|
|
6796
|
+
*/
|
|
6797
|
+
replaces_price_id: string | null;
|
|
6798
|
+
tiered_with_minimum_config: {
|
|
6799
|
+
[key: string]: unknown;
|
|
6800
|
+
};
|
|
6318
6801
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6319
6802
|
}
|
|
6320
6803
|
interface TieredPackageWithMinimumPrice {
|
|
@@ -6349,7 +6832,9 @@ export declare namespace Price {
|
|
|
6349
6832
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6350
6833
|
* `null`.
|
|
6351
6834
|
*/
|
|
6352
|
-
metadata:
|
|
6835
|
+
metadata: {
|
|
6836
|
+
[key: string]: string;
|
|
6837
|
+
};
|
|
6353
6838
|
/**
|
|
6354
6839
|
* @deprecated
|
|
6355
6840
|
*/
|
|
@@ -6362,7 +6847,14 @@ export declare namespace Price {
|
|
|
6362
6847
|
name: string;
|
|
6363
6848
|
plan_phase_order: number | null;
|
|
6364
6849
|
price_type: 'usage_price' | 'fixed_price';
|
|
6365
|
-
|
|
6850
|
+
/**
|
|
6851
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6852
|
+
* price in plan version migrations.
|
|
6853
|
+
*/
|
|
6854
|
+
replaces_price_id: string | null;
|
|
6855
|
+
tiered_package_with_minimum_config: {
|
|
6856
|
+
[key: string]: unknown;
|
|
6857
|
+
};
|
|
6366
6858
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6367
6859
|
}
|
|
6368
6860
|
interface PackageWithAllocationPrice {
|
|
@@ -6397,7 +6889,9 @@ export declare namespace Price {
|
|
|
6397
6889
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6398
6890
|
* `null`.
|
|
6399
6891
|
*/
|
|
6400
|
-
metadata:
|
|
6892
|
+
metadata: {
|
|
6893
|
+
[key: string]: string;
|
|
6894
|
+
};
|
|
6401
6895
|
/**
|
|
6402
6896
|
* @deprecated
|
|
6403
6897
|
*/
|
|
@@ -6408,9 +6902,16 @@ export declare namespace Price {
|
|
|
6408
6902
|
minimum_amount: string | null;
|
|
6409
6903
|
model_type: 'package_with_allocation';
|
|
6410
6904
|
name: string;
|
|
6411
|
-
package_with_allocation_config:
|
|
6905
|
+
package_with_allocation_config: {
|
|
6906
|
+
[key: string]: unknown;
|
|
6907
|
+
};
|
|
6412
6908
|
plan_phase_order: number | null;
|
|
6413
6909
|
price_type: 'usage_price' | 'fixed_price';
|
|
6910
|
+
/**
|
|
6911
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6912
|
+
* price in plan version migrations.
|
|
6913
|
+
*/
|
|
6914
|
+
replaces_price_id: string | null;
|
|
6414
6915
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6415
6916
|
}
|
|
6416
6917
|
interface UnitWithPercentPrice {
|
|
@@ -6445,7 +6946,9 @@ export declare namespace Price {
|
|
|
6445
6946
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6446
6947
|
* `null`.
|
|
6447
6948
|
*/
|
|
6448
|
-
metadata:
|
|
6949
|
+
metadata: {
|
|
6950
|
+
[key: string]: string;
|
|
6951
|
+
};
|
|
6449
6952
|
/**
|
|
6450
6953
|
* @deprecated
|
|
6451
6954
|
*/
|
|
@@ -6458,7 +6961,14 @@ export declare namespace Price {
|
|
|
6458
6961
|
name: string;
|
|
6459
6962
|
plan_phase_order: number | null;
|
|
6460
6963
|
price_type: 'usage_price' | 'fixed_price';
|
|
6461
|
-
|
|
6964
|
+
/**
|
|
6965
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
6966
|
+
* price in plan version migrations.
|
|
6967
|
+
*/
|
|
6968
|
+
replaces_price_id: string | null;
|
|
6969
|
+
unit_with_percent_config: {
|
|
6970
|
+
[key: string]: unknown;
|
|
6971
|
+
};
|
|
6462
6972
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6463
6973
|
}
|
|
6464
6974
|
interface MatrixWithAllocationPrice {
|
|
@@ -6494,7 +7004,9 @@ export declare namespace Price {
|
|
|
6494
7004
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6495
7005
|
* `null`.
|
|
6496
7006
|
*/
|
|
6497
|
-
metadata:
|
|
7007
|
+
metadata: {
|
|
7008
|
+
[key: string]: string;
|
|
7009
|
+
};
|
|
6498
7010
|
/**
|
|
6499
7011
|
* @deprecated
|
|
6500
7012
|
*/
|
|
@@ -6507,6 +7019,11 @@ export declare namespace Price {
|
|
|
6507
7019
|
name: string;
|
|
6508
7020
|
plan_phase_order: number | null;
|
|
6509
7021
|
price_type: 'usage_price' | 'fixed_price';
|
|
7022
|
+
/**
|
|
7023
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
7024
|
+
* price in plan version migrations.
|
|
7025
|
+
*/
|
|
7026
|
+
replaces_price_id: string | null;
|
|
6510
7027
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6511
7028
|
}
|
|
6512
7029
|
interface TieredWithProrationPrice {
|
|
@@ -6541,7 +7058,9 @@ export declare namespace Price {
|
|
|
6541
7058
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6542
7059
|
* `null`.
|
|
6543
7060
|
*/
|
|
6544
|
-
metadata:
|
|
7061
|
+
metadata: {
|
|
7062
|
+
[key: string]: string;
|
|
7063
|
+
};
|
|
6545
7064
|
/**
|
|
6546
7065
|
* @deprecated
|
|
6547
7066
|
*/
|
|
@@ -6554,7 +7073,14 @@ export declare namespace Price {
|
|
|
6554
7073
|
name: string;
|
|
6555
7074
|
plan_phase_order: number | null;
|
|
6556
7075
|
price_type: 'usage_price' | 'fixed_price';
|
|
6557
|
-
|
|
7076
|
+
/**
|
|
7077
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
7078
|
+
* price in plan version migrations.
|
|
7079
|
+
*/
|
|
7080
|
+
replaces_price_id: string | null;
|
|
7081
|
+
tiered_with_proration_config: {
|
|
7082
|
+
[key: string]: unknown;
|
|
7083
|
+
};
|
|
6558
7084
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6559
7085
|
}
|
|
6560
7086
|
interface UnitWithProrationPrice {
|
|
@@ -6589,7 +7115,9 @@ export declare namespace Price {
|
|
|
6589
7115
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6590
7116
|
* `null`.
|
|
6591
7117
|
*/
|
|
6592
|
-
metadata:
|
|
7118
|
+
metadata: {
|
|
7119
|
+
[key: string]: string;
|
|
7120
|
+
};
|
|
6593
7121
|
/**
|
|
6594
7122
|
* @deprecated
|
|
6595
7123
|
*/
|
|
@@ -6602,7 +7130,14 @@ export declare namespace Price {
|
|
|
6602
7130
|
name: string;
|
|
6603
7131
|
plan_phase_order: number | null;
|
|
6604
7132
|
price_type: 'usage_price' | 'fixed_price';
|
|
6605
|
-
|
|
7133
|
+
/**
|
|
7134
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
7135
|
+
* price in plan version migrations.
|
|
7136
|
+
*/
|
|
7137
|
+
replaces_price_id: string | null;
|
|
7138
|
+
unit_with_proration_config: {
|
|
7139
|
+
[key: string]: unknown;
|
|
7140
|
+
};
|
|
6606
7141
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6607
7142
|
}
|
|
6608
7143
|
interface GroupedAllocationPrice {
|
|
@@ -6621,7 +7156,9 @@ export declare namespace Price {
|
|
|
6621
7156
|
discount: Shared.Discount | null;
|
|
6622
7157
|
external_price_id: string | null;
|
|
6623
7158
|
fixed_price_quantity: number | null;
|
|
6624
|
-
grouped_allocation_config:
|
|
7159
|
+
grouped_allocation_config: {
|
|
7160
|
+
[key: string]: unknown;
|
|
7161
|
+
};
|
|
6625
7162
|
invoicing_cycle_configuration: Shared.BillingCycleConfiguration | null;
|
|
6626
7163
|
item: Shared.ItemSlim;
|
|
6627
7164
|
/**
|
|
@@ -6638,7 +7175,9 @@ export declare namespace Price {
|
|
|
6638
7175
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6639
7176
|
* `null`.
|
|
6640
7177
|
*/
|
|
6641
|
-
metadata:
|
|
7178
|
+
metadata: {
|
|
7179
|
+
[key: string]: string;
|
|
7180
|
+
};
|
|
6642
7181
|
/**
|
|
6643
7182
|
* @deprecated
|
|
6644
7183
|
*/
|
|
@@ -6651,6 +7190,11 @@ export declare namespace Price {
|
|
|
6651
7190
|
name: string;
|
|
6652
7191
|
plan_phase_order: number | null;
|
|
6653
7192
|
price_type: 'usage_price' | 'fixed_price';
|
|
7193
|
+
/**
|
|
7194
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
7195
|
+
* price in plan version migrations.
|
|
7196
|
+
*/
|
|
7197
|
+
replaces_price_id: string | null;
|
|
6654
7198
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6655
7199
|
}
|
|
6656
7200
|
interface GroupedWithProratedMinimumPrice {
|
|
@@ -6669,7 +7213,9 @@ export declare namespace Price {
|
|
|
6669
7213
|
discount: Shared.Discount | null;
|
|
6670
7214
|
external_price_id: string | null;
|
|
6671
7215
|
fixed_price_quantity: number | null;
|
|
6672
|
-
grouped_with_prorated_minimum_config:
|
|
7216
|
+
grouped_with_prorated_minimum_config: {
|
|
7217
|
+
[key: string]: unknown;
|
|
7218
|
+
};
|
|
6673
7219
|
invoicing_cycle_configuration: Shared.BillingCycleConfiguration | null;
|
|
6674
7220
|
item: Shared.ItemSlim;
|
|
6675
7221
|
/**
|
|
@@ -6686,7 +7232,9 @@ export declare namespace Price {
|
|
|
6686
7232
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6687
7233
|
* `null`.
|
|
6688
7234
|
*/
|
|
6689
|
-
metadata:
|
|
7235
|
+
metadata: {
|
|
7236
|
+
[key: string]: string;
|
|
7237
|
+
};
|
|
6690
7238
|
/**
|
|
6691
7239
|
* @deprecated
|
|
6692
7240
|
*/
|
|
@@ -6699,6 +7247,11 @@ export declare namespace Price {
|
|
|
6699
7247
|
name: string;
|
|
6700
7248
|
plan_phase_order: number | null;
|
|
6701
7249
|
price_type: 'usage_price' | 'fixed_price';
|
|
7250
|
+
/**
|
|
7251
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
7252
|
+
* price in plan version migrations.
|
|
7253
|
+
*/
|
|
7254
|
+
replaces_price_id: string | null;
|
|
6702
7255
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6703
7256
|
}
|
|
6704
7257
|
interface GroupedWithMeteredMinimumPrice {
|
|
@@ -6717,7 +7270,9 @@ export declare namespace Price {
|
|
|
6717
7270
|
discount: Shared.Discount | null;
|
|
6718
7271
|
external_price_id: string | null;
|
|
6719
7272
|
fixed_price_quantity: number | null;
|
|
6720
|
-
grouped_with_metered_minimum_config:
|
|
7273
|
+
grouped_with_metered_minimum_config: {
|
|
7274
|
+
[key: string]: unknown;
|
|
7275
|
+
};
|
|
6721
7276
|
invoicing_cycle_configuration: Shared.BillingCycleConfiguration | null;
|
|
6722
7277
|
item: Shared.ItemSlim;
|
|
6723
7278
|
/**
|
|
@@ -6734,7 +7289,9 @@ export declare namespace Price {
|
|
|
6734
7289
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6735
7290
|
* `null`.
|
|
6736
7291
|
*/
|
|
6737
|
-
metadata:
|
|
7292
|
+
metadata: {
|
|
7293
|
+
[key: string]: string;
|
|
7294
|
+
};
|
|
6738
7295
|
/**
|
|
6739
7296
|
* @deprecated
|
|
6740
7297
|
*/
|
|
@@ -6747,6 +7304,11 @@ export declare namespace Price {
|
|
|
6747
7304
|
name: string;
|
|
6748
7305
|
plan_phase_order: number | null;
|
|
6749
7306
|
price_type: 'usage_price' | 'fixed_price';
|
|
7307
|
+
/**
|
|
7308
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
7309
|
+
* price in plan version migrations.
|
|
7310
|
+
*/
|
|
7311
|
+
replaces_price_id: string | null;
|
|
6750
7312
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6751
7313
|
}
|
|
6752
7314
|
interface MatrixWithDisplayNamePrice {
|
|
@@ -6767,7 +7329,9 @@ export declare namespace Price {
|
|
|
6767
7329
|
fixed_price_quantity: number | null;
|
|
6768
7330
|
invoicing_cycle_configuration: Shared.BillingCycleConfiguration | null;
|
|
6769
7331
|
item: Shared.ItemSlim;
|
|
6770
|
-
matrix_with_display_name_config:
|
|
7332
|
+
matrix_with_display_name_config: {
|
|
7333
|
+
[key: string]: unknown;
|
|
7334
|
+
};
|
|
6771
7335
|
/**
|
|
6772
7336
|
* @deprecated
|
|
6773
7337
|
*/
|
|
@@ -6782,7 +7346,9 @@ export declare namespace Price {
|
|
|
6782
7346
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6783
7347
|
* `null`.
|
|
6784
7348
|
*/
|
|
6785
|
-
metadata:
|
|
7349
|
+
metadata: {
|
|
7350
|
+
[key: string]: string;
|
|
7351
|
+
};
|
|
6786
7352
|
/**
|
|
6787
7353
|
* @deprecated
|
|
6788
7354
|
*/
|
|
@@ -6795,13 +7361,20 @@ export declare namespace Price {
|
|
|
6795
7361
|
name: string;
|
|
6796
7362
|
plan_phase_order: number | null;
|
|
6797
7363
|
price_type: 'usage_price' | 'fixed_price';
|
|
7364
|
+
/**
|
|
7365
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
7366
|
+
* price in plan version migrations.
|
|
7367
|
+
*/
|
|
7368
|
+
replaces_price_id: string | null;
|
|
6798
7369
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6799
7370
|
}
|
|
6800
7371
|
interface BulkWithProrationPrice {
|
|
6801
7372
|
id: string;
|
|
6802
7373
|
billable_metric: Shared.BillableMetricTiny | null;
|
|
6803
7374
|
billing_cycle_configuration: Shared.BillingCycleConfiguration;
|
|
6804
|
-
bulk_with_proration_config:
|
|
7375
|
+
bulk_with_proration_config: {
|
|
7376
|
+
[key: string]: unknown;
|
|
7377
|
+
};
|
|
6805
7378
|
cadence: 'one_time' | 'monthly' | 'quarterly' | 'semi_annual' | 'annual' | 'custom';
|
|
6806
7379
|
conversion_rate: number | null;
|
|
6807
7380
|
conversion_rate_config: Shared.UnitConversionRateConfig | Shared.TieredConversionRateConfig | null;
|
|
@@ -6830,7 +7403,9 @@ export declare namespace Price {
|
|
|
6830
7403
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6831
7404
|
* `null`.
|
|
6832
7405
|
*/
|
|
6833
|
-
metadata:
|
|
7406
|
+
metadata: {
|
|
7407
|
+
[key: string]: string;
|
|
7408
|
+
};
|
|
6834
7409
|
/**
|
|
6835
7410
|
* @deprecated
|
|
6836
7411
|
*/
|
|
@@ -6843,6 +7418,11 @@ export declare namespace Price {
|
|
|
6843
7418
|
name: string;
|
|
6844
7419
|
plan_phase_order: number | null;
|
|
6845
7420
|
price_type: 'usage_price' | 'fixed_price';
|
|
7421
|
+
/**
|
|
7422
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
7423
|
+
* price in plan version migrations.
|
|
7424
|
+
*/
|
|
7425
|
+
replaces_price_id: string | null;
|
|
6846
7426
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6847
7427
|
}
|
|
6848
7428
|
interface GroupedTieredPackagePrice {
|
|
@@ -6861,7 +7441,9 @@ export declare namespace Price {
|
|
|
6861
7441
|
discount: Shared.Discount | null;
|
|
6862
7442
|
external_price_id: string | null;
|
|
6863
7443
|
fixed_price_quantity: number | null;
|
|
6864
|
-
grouped_tiered_package_config:
|
|
7444
|
+
grouped_tiered_package_config: {
|
|
7445
|
+
[key: string]: unknown;
|
|
7446
|
+
};
|
|
6865
7447
|
invoicing_cycle_configuration: Shared.BillingCycleConfiguration | null;
|
|
6866
7448
|
item: Shared.ItemSlim;
|
|
6867
7449
|
/**
|
|
@@ -6878,7 +7460,9 @@ export declare namespace Price {
|
|
|
6878
7460
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6879
7461
|
* `null`.
|
|
6880
7462
|
*/
|
|
6881
|
-
metadata:
|
|
7463
|
+
metadata: {
|
|
7464
|
+
[key: string]: string;
|
|
7465
|
+
};
|
|
6882
7466
|
/**
|
|
6883
7467
|
* @deprecated
|
|
6884
7468
|
*/
|
|
@@ -6891,6 +7475,11 @@ export declare namespace Price {
|
|
|
6891
7475
|
name: string;
|
|
6892
7476
|
plan_phase_order: number | null;
|
|
6893
7477
|
price_type: 'usage_price' | 'fixed_price';
|
|
7478
|
+
/**
|
|
7479
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
7480
|
+
* price in plan version migrations.
|
|
7481
|
+
*/
|
|
7482
|
+
replaces_price_id: string | null;
|
|
6894
7483
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6895
7484
|
}
|
|
6896
7485
|
interface MaxGroupTieredPackagePrice {
|
|
@@ -6911,7 +7500,9 @@ export declare namespace Price {
|
|
|
6911
7500
|
fixed_price_quantity: number | null;
|
|
6912
7501
|
invoicing_cycle_configuration: Shared.BillingCycleConfiguration | null;
|
|
6913
7502
|
item: Shared.ItemSlim;
|
|
6914
|
-
max_group_tiered_package_config:
|
|
7503
|
+
max_group_tiered_package_config: {
|
|
7504
|
+
[key: string]: unknown;
|
|
7505
|
+
};
|
|
6915
7506
|
/**
|
|
6916
7507
|
* @deprecated
|
|
6917
7508
|
*/
|
|
@@ -6926,7 +7517,9 @@ export declare namespace Price {
|
|
|
6926
7517
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6927
7518
|
* `null`.
|
|
6928
7519
|
*/
|
|
6929
|
-
metadata:
|
|
7520
|
+
metadata: {
|
|
7521
|
+
[key: string]: string;
|
|
7522
|
+
};
|
|
6930
7523
|
/**
|
|
6931
7524
|
* @deprecated
|
|
6932
7525
|
*/
|
|
@@ -6939,6 +7532,11 @@ export declare namespace Price {
|
|
|
6939
7532
|
name: string;
|
|
6940
7533
|
plan_phase_order: number | null;
|
|
6941
7534
|
price_type: 'usage_price' | 'fixed_price';
|
|
7535
|
+
/**
|
|
7536
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
7537
|
+
* price in plan version migrations.
|
|
7538
|
+
*/
|
|
7539
|
+
replaces_price_id: string | null;
|
|
6942
7540
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6943
7541
|
}
|
|
6944
7542
|
interface ScalableMatrixWithUnitPricingPrice {
|
|
@@ -6973,7 +7571,9 @@ export declare namespace Price {
|
|
|
6973
7571
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
6974
7572
|
* `null`.
|
|
6975
7573
|
*/
|
|
6976
|
-
metadata:
|
|
7574
|
+
metadata: {
|
|
7575
|
+
[key: string]: string;
|
|
7576
|
+
};
|
|
6977
7577
|
/**
|
|
6978
7578
|
* @deprecated
|
|
6979
7579
|
*/
|
|
@@ -6986,7 +7586,14 @@ export declare namespace Price {
|
|
|
6986
7586
|
name: string;
|
|
6987
7587
|
plan_phase_order: number | null;
|
|
6988
7588
|
price_type: 'usage_price' | 'fixed_price';
|
|
6989
|
-
|
|
7589
|
+
/**
|
|
7590
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
7591
|
+
* price in plan version migrations.
|
|
7592
|
+
*/
|
|
7593
|
+
replaces_price_id: string | null;
|
|
7594
|
+
scalable_matrix_with_unit_pricing_config: {
|
|
7595
|
+
[key: string]: unknown;
|
|
7596
|
+
};
|
|
6990
7597
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
6991
7598
|
}
|
|
6992
7599
|
interface ScalableMatrixWithTieredPricingPrice {
|
|
@@ -7021,7 +7628,9 @@ export declare namespace Price {
|
|
|
7021
7628
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
7022
7629
|
* `null`.
|
|
7023
7630
|
*/
|
|
7024
|
-
metadata:
|
|
7631
|
+
metadata: {
|
|
7632
|
+
[key: string]: string;
|
|
7633
|
+
};
|
|
7025
7634
|
/**
|
|
7026
7635
|
* @deprecated
|
|
7027
7636
|
*/
|
|
@@ -7034,7 +7643,14 @@ export declare namespace Price {
|
|
|
7034
7643
|
name: string;
|
|
7035
7644
|
plan_phase_order: number | null;
|
|
7036
7645
|
price_type: 'usage_price' | 'fixed_price';
|
|
7037
|
-
|
|
7646
|
+
/**
|
|
7647
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
7648
|
+
* price in plan version migrations.
|
|
7649
|
+
*/
|
|
7650
|
+
replaces_price_id: string | null;
|
|
7651
|
+
scalable_matrix_with_tiered_pricing_config: {
|
|
7652
|
+
[key: string]: unknown;
|
|
7653
|
+
};
|
|
7038
7654
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
7039
7655
|
}
|
|
7040
7656
|
interface CumulativeGroupedBulkPrice {
|
|
@@ -7046,7 +7662,9 @@ export declare namespace Price {
|
|
|
7046
7662
|
conversion_rate_config: Shared.UnitConversionRateConfig | Shared.TieredConversionRateConfig | null;
|
|
7047
7663
|
created_at: string;
|
|
7048
7664
|
credit_allocation: Shared.Allocation | null;
|
|
7049
|
-
cumulative_grouped_bulk_config:
|
|
7665
|
+
cumulative_grouped_bulk_config: {
|
|
7666
|
+
[key: string]: unknown;
|
|
7667
|
+
};
|
|
7050
7668
|
currency: string;
|
|
7051
7669
|
/**
|
|
7052
7670
|
* @deprecated
|
|
@@ -7070,7 +7688,9 @@ export declare namespace Price {
|
|
|
7070
7688
|
* `null`, and the entire metadata mapping can be cleared by setting `metadata` to
|
|
7071
7689
|
* `null`.
|
|
7072
7690
|
*/
|
|
7073
|
-
metadata:
|
|
7691
|
+
metadata: {
|
|
7692
|
+
[key: string]: string;
|
|
7693
|
+
};
|
|
7074
7694
|
/**
|
|
7075
7695
|
* @deprecated
|
|
7076
7696
|
*/
|
|
@@ -7083,6 +7703,11 @@ export declare namespace Price {
|
|
|
7083
7703
|
name: string;
|
|
7084
7704
|
plan_phase_order: number | null;
|
|
7085
7705
|
price_type: 'usage_price' | 'fixed_price';
|
|
7706
|
+
/**
|
|
7707
|
+
* The price id this price replaces. This price will take the place of the replaced
|
|
7708
|
+
* price in plan version migrations.
|
|
7709
|
+
*/
|
|
7710
|
+
replaces_price_id: string | null;
|
|
7086
7711
|
dimensional_price_configuration?: Shared.DimensionalPriceConfiguration | null;
|
|
7087
7712
|
}
|
|
7088
7713
|
}
|