35
35
credit_notes ,
36
36
subscriptions ,
37
37
invoice_line_items ,
38
+ subscription_changes ,
38
39
)
39
40
from ._streaming import Stream as Stream , AsyncStream as AsyncStream
40
41
from ._exceptions import OrbError , APIStatusError
@@ -69,6 +70,7 @@ class Orb(SyncAPIClient):
69
70
webhooks : webhooks .Webhooks
70
71
alerts : alerts .Alerts
71
72
dimensional_price_groups : dimensional_price_groups .DimensionalPriceGroups
73
+ subscription_changes : subscription_changes .SubscriptionChanges
72
74
with_raw_response : OrbWithRawResponse
73
75
with_streaming_response : OrbWithStreamedResponse
74
76
@@ -151,6 +153,7 @@ def __init__(
151
153
self .webhooks = webhooks .Webhooks (self )
152
154
self .alerts = alerts .Alerts (self )
153
155
self .dimensional_price_groups = dimensional_price_groups .DimensionalPriceGroups (self )
156
+ self .subscription_changes = subscription_changes .SubscriptionChanges (self )
154
157
self .with_raw_response = OrbWithRawResponse (self )
155
158
self .with_streaming_response = OrbWithStreamedResponse (self )
156
159
@@ -325,6 +328,7 @@ class AsyncOrb(AsyncAPIClient):
325
328
webhooks : webhooks .AsyncWebhooks
326
329
alerts : alerts .AsyncAlerts
327
330
dimensional_price_groups : dimensional_price_groups .AsyncDimensionalPriceGroups
331
+ subscription_changes : subscription_changes .AsyncSubscriptionChanges
328
332
with_raw_response : AsyncOrbWithRawResponse
329
333
with_streaming_response : AsyncOrbWithStreamedResponse
330
334
@@ -407,6 +411,7 @@ def __init__(
407
411
self .webhooks = webhooks .AsyncWebhooks (self )
408
412
self .alerts = alerts .AsyncAlerts (self )
409
413
self .dimensional_price_groups = dimensional_price_groups .AsyncDimensionalPriceGroups (self )
414
+ self .subscription_changes = subscription_changes .AsyncSubscriptionChanges (self )
410
415
self .with_raw_response = AsyncOrbWithRawResponse (self )
411
416
self .with_streaming_response = AsyncOrbWithStreamedResponse (self )
412
417
@@ -583,6 +588,7 @@ def __init__(self, client: Orb) -> None:
583
588
self .dimensional_price_groups = dimensional_price_groups .DimensionalPriceGroupsWithRawResponse (
584
589
client .dimensional_price_groups
585
590
)
591
+ self .subscription_changes = subscription_changes .SubscriptionChangesWithRawResponse (client .subscription_changes )
586
592
587
593
588
594
class AsyncOrbWithRawResponse :
@@ -603,6 +609,9 @@ def __init__(self, client: AsyncOrb) -> None:
603
609
self .dimensional_price_groups = dimensional_price_groups .AsyncDimensionalPriceGroupsWithRawResponse (
604
610
client .dimensional_price_groups
605
611
)
612
+ self .subscription_changes = subscription_changes .AsyncSubscriptionChangesWithRawResponse (
613
+ client .subscription_changes
614
+ )
606
615
607
616
608
617
class OrbWithStreamedResponse :
@@ -623,6 +632,9 @@ def __init__(self, client: Orb) -> None:
623
632
self .dimensional_price_groups = dimensional_price_groups .DimensionalPriceGroupsWithStreamingResponse (
624
633
client .dimensional_price_groups
625
634
)
635
+ self .subscription_changes = subscription_changes .SubscriptionChangesWithStreamingResponse (
636
+ client .subscription_changes
637
+ )
626
638
627
639
628
640
class AsyncOrbWithStreamedResponse :
@@ -645,6 +657,9 @@ def __init__(self, client: AsyncOrb) -> None:
645
657
self .dimensional_price_groups = dimensional_price_groups .AsyncDimensionalPriceGroupsWithStreamingResponse (
646
658
client .dimensional_price_groups
647
659
)
660
+ self .subscription_changes = subscription_changes .AsyncSubscriptionChangesWithStreamingResponse (
661
+ client .subscription_changes
662
+ )
648
663
649
664
650
665
Client = Orb
0 commit comments