|
46 | 46 | metrics, |
47 | 47 | invoices, |
48 | 48 | webhooks, |
| 49 | + licenses, |
49 | 50 | customers, |
50 | 51 | top_level, |
51 | 52 | credit_notes, |
52 | 53 | credit_blocks, |
| 54 | + license_types, |
53 | 55 | subscriptions, |
54 | 56 | invoice_line_items, |
55 | 57 | subscription_changes, |
|
65 | 67 | from .resources.credit_notes import CreditNotes, AsyncCreditNotes |
66 | 68 | from .resources.credit_blocks import CreditBlocks, AsyncCreditBlocks |
67 | 69 | from .resources.events.events import Events, AsyncEvents |
| 70 | + from .resources.license_types import LicenseTypes, AsyncLicenseTypes |
68 | 71 | from .resources.prices.prices import Prices, AsyncPrices |
69 | 72 | from .resources.subscriptions import Subscriptions, AsyncSubscriptions |
70 | 73 | from .resources.coupons.coupons import Coupons, AsyncCoupons |
| 74 | + from .resources.licenses.licenses import Licenses, AsyncLicenses |
71 | 75 | from .resources.invoice_line_items import InvoiceLineItems, AsyncInvoiceLineItems |
72 | 76 | from .resources.customers.customers import Customers, AsyncCustomers |
73 | 77 | from .resources.subscription_changes import SubscriptionChanges, AsyncSubscriptionChanges |
@@ -252,6 +256,18 @@ def credit_blocks(self) -> CreditBlocks: |
252 | 256 |
|
253 | 257 | return CreditBlocks(self) |
254 | 258 |
|
| 259 | + @cached_property |
| 260 | + def license_types(self) -> LicenseTypes: |
| 261 | + from .resources.license_types import LicenseTypes |
| 262 | + |
| 263 | + return LicenseTypes(self) |
| 264 | + |
| 265 | + @cached_property |
| 266 | + def licenses(self) -> Licenses: |
| 267 | + from .resources.licenses import Licenses |
| 268 | + |
| 269 | + return Licenses(self) |
| 270 | + |
255 | 271 | @cached_property |
256 | 272 | def with_raw_response(self) -> OrbWithRawResponse: |
257 | 273 | return OrbWithRawResponse(self) |
@@ -588,6 +604,18 @@ def credit_blocks(self) -> AsyncCreditBlocks: |
588 | 604 |
|
589 | 605 | return AsyncCreditBlocks(self) |
590 | 606 |
|
| 607 | + @cached_property |
| 608 | + def license_types(self) -> AsyncLicenseTypes: |
| 609 | + from .resources.license_types import AsyncLicenseTypes |
| 610 | + |
| 611 | + return AsyncLicenseTypes(self) |
| 612 | + |
| 613 | + @cached_property |
| 614 | + def licenses(self) -> AsyncLicenses: |
| 615 | + from .resources.licenses import AsyncLicenses |
| 616 | + |
| 617 | + return AsyncLicenses(self) |
| 618 | + |
591 | 619 | @cached_property |
592 | 620 | def with_raw_response(self) -> AsyncOrbWithRawResponse: |
593 | 621 | return AsyncOrbWithRawResponse(self) |
@@ -859,6 +887,18 @@ def credit_blocks(self) -> credit_blocks.CreditBlocksWithRawResponse: |
859 | 887 |
|
860 | 888 | return CreditBlocksWithRawResponse(self._client.credit_blocks) |
861 | 889 |
|
| 890 | + @cached_property |
| 891 | + def license_types(self) -> license_types.LicenseTypesWithRawResponse: |
| 892 | + from .resources.license_types import LicenseTypesWithRawResponse |
| 893 | + |
| 894 | + return LicenseTypesWithRawResponse(self._client.license_types) |
| 895 | + |
| 896 | + @cached_property |
| 897 | + def licenses(self) -> licenses.LicensesWithRawResponse: |
| 898 | + from .resources.licenses import LicensesWithRawResponse |
| 899 | + |
| 900 | + return LicensesWithRawResponse(self._client.licenses) |
| 901 | + |
862 | 902 |
|
863 | 903 | class AsyncOrbWithRawResponse: |
864 | 904 | _client: AsyncOrb |
@@ -968,6 +1008,18 @@ def credit_blocks(self) -> credit_blocks.AsyncCreditBlocksWithRawResponse: |
968 | 1008 |
|
969 | 1009 | return AsyncCreditBlocksWithRawResponse(self._client.credit_blocks) |
970 | 1010 |
|
| 1011 | + @cached_property |
| 1012 | + def license_types(self) -> license_types.AsyncLicenseTypesWithRawResponse: |
| 1013 | + from .resources.license_types import AsyncLicenseTypesWithRawResponse |
| 1014 | + |
| 1015 | + return AsyncLicenseTypesWithRawResponse(self._client.license_types) |
| 1016 | + |
| 1017 | + @cached_property |
| 1018 | + def licenses(self) -> licenses.AsyncLicensesWithRawResponse: |
| 1019 | + from .resources.licenses import AsyncLicensesWithRawResponse |
| 1020 | + |
| 1021 | + return AsyncLicensesWithRawResponse(self._client.licenses) |
| 1022 | + |
971 | 1023 |
|
972 | 1024 | class OrbWithStreamedResponse: |
973 | 1025 | _client: Orb |
@@ -1077,6 +1129,18 @@ def credit_blocks(self) -> credit_blocks.CreditBlocksWithStreamingResponse: |
1077 | 1129 |
|
1078 | 1130 | return CreditBlocksWithStreamingResponse(self._client.credit_blocks) |
1079 | 1131 |
|
| 1132 | + @cached_property |
| 1133 | + def license_types(self) -> license_types.LicenseTypesWithStreamingResponse: |
| 1134 | + from .resources.license_types import LicenseTypesWithStreamingResponse |
| 1135 | + |
| 1136 | + return LicenseTypesWithStreamingResponse(self._client.license_types) |
| 1137 | + |
| 1138 | + @cached_property |
| 1139 | + def licenses(self) -> licenses.LicensesWithStreamingResponse: |
| 1140 | + from .resources.licenses import LicensesWithStreamingResponse |
| 1141 | + |
| 1142 | + return LicensesWithStreamingResponse(self._client.licenses) |
| 1143 | + |
1080 | 1144 |
|
1081 | 1145 | class AsyncOrbWithStreamedResponse: |
1082 | 1146 | _client: AsyncOrb |
@@ -1186,6 +1250,18 @@ def credit_blocks(self) -> credit_blocks.AsyncCreditBlocksWithStreamingResponse: |
1186 | 1250 |
|
1187 | 1251 | return AsyncCreditBlocksWithStreamingResponse(self._client.credit_blocks) |
1188 | 1252 |
|
| 1253 | + @cached_property |
| 1254 | + def license_types(self) -> license_types.AsyncLicenseTypesWithStreamingResponse: |
| 1255 | + from .resources.license_types import AsyncLicenseTypesWithStreamingResponse |
| 1256 | + |
| 1257 | + return AsyncLicenseTypesWithStreamingResponse(self._client.license_types) |
| 1258 | + |
| 1259 | + @cached_property |
| 1260 | + def licenses(self) -> licenses.AsyncLicensesWithStreamingResponse: |
| 1261 | + from .resources.licenses import AsyncLicensesWithStreamingResponse |
| 1262 | + |
| 1263 | + return AsyncLicensesWithStreamingResponse(self._client.licenses) |
| 1264 | + |
1189 | 1265 |
|
1190 | 1266 | Client = Orb |
1191 | 1267 |
|
|
0 commit comments