stigg-api-client-v2 2.446.1__py3-none-any.whl → 2.448.1__py3-none-any.whl
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.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/__init__.py +12 -12
- stigg/generated/async_client.py +9 -6
- stigg/generated/client.py +9 -6
- stigg/generated/fragments.py +361 -361
- stigg/generated/get_subscriptions.py +35 -0
- {stigg_api_client_v2-2.446.1.dist-info → stigg_api_client_v2-2.448.1.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.446.1.dist-info → stigg_api_client_v2-2.448.1.dist-info}/RECORD +9 -9
- stigg/generated/subscriptions.py +0 -35
- {stigg_api_client_v2-2.446.1.dist-info → stigg_api_client_v2-2.448.1.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.446.1.dist-info → stigg_api_client_v2-2.448.1.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -549,6 +549,13 @@ from .get_sdk_configuration import (
|
|
|
549
549
|
GetSdkConfigurationSdkConfiguration,
|
|
550
550
|
)
|
|
551
551
|
from .get_subscription import GetSubscription, GetSubscriptionGetSubscription
|
|
552
|
+
from .get_subscriptions import (
|
|
553
|
+
GetSubscriptions,
|
|
554
|
+
GetSubscriptionsSubscriptions,
|
|
555
|
+
GetSubscriptionsSubscriptionsEdges,
|
|
556
|
+
GetSubscriptionsSubscriptionsEdgesNode,
|
|
557
|
+
GetSubscriptionsSubscriptionsPageInfo,
|
|
558
|
+
)
|
|
552
559
|
from .get_usage_history import GetUsageHistory, GetUsageHistoryUsageHistory
|
|
553
560
|
from .get_usage_history_v_2 import GetUsageHistoryV2, GetUsageHistoryV2UsageHistoryV2
|
|
554
561
|
from .grant_promotional_entitlements import (
|
|
@@ -938,13 +945,6 @@ from .revoke_promotional_entitlement import (
|
|
|
938
945
|
RevokePromotionalEntitlement,
|
|
939
946
|
RevokePromotionalEntitlementRevokePromotionalEntitlement,
|
|
940
947
|
)
|
|
941
|
-
from .subscriptions import (
|
|
942
|
-
Subscriptions,
|
|
943
|
-
SubscriptionsSubscriptions,
|
|
944
|
-
SubscriptionsSubscriptionsEdges,
|
|
945
|
-
SubscriptionsSubscriptionsEdgesNode,
|
|
946
|
-
SubscriptionsSubscriptionsPageInfo,
|
|
947
|
-
)
|
|
948
948
|
from .transfer_subscription import (
|
|
949
949
|
TransferSubscription,
|
|
950
950
|
TransferSubscriptionTransferSubscription,
|
|
@@ -1302,6 +1302,11 @@ __all__ = [
|
|
|
1302
1302
|
"GetSubscription",
|
|
1303
1303
|
"GetSubscriptionGetSubscription",
|
|
1304
1304
|
"GetSubscriptionInput",
|
|
1305
|
+
"GetSubscriptions",
|
|
1306
|
+
"GetSubscriptionsSubscriptions",
|
|
1307
|
+
"GetSubscriptionsSubscriptionsEdges",
|
|
1308
|
+
"GetSubscriptionsSubscriptionsEdgesNode",
|
|
1309
|
+
"GetSubscriptionsSubscriptionsPageInfo",
|
|
1305
1310
|
"GetUsageHistory",
|
|
1306
1311
|
"GetUsageHistoryUsageHistory",
|
|
1307
1312
|
"GetUsageHistoryV2",
|
|
@@ -1773,11 +1778,6 @@ __all__ = [
|
|
|
1773
1778
|
"SubscriptionUpdateScheduleCancellationInput",
|
|
1774
1779
|
"SubscriptionUpdateUsageCutoffBehavior",
|
|
1775
1780
|
"SubscriptionUpdateUsageResetCutoffRuleInput",
|
|
1776
|
-
"Subscriptions",
|
|
1777
|
-
"SubscriptionsSubscriptions",
|
|
1778
|
-
"SubscriptionsSubscriptionsEdges",
|
|
1779
|
-
"SubscriptionsSubscriptionsEdgesNode",
|
|
1780
|
-
"SubscriptionsSubscriptionsPageInfo",
|
|
1781
1781
|
"SyncStatus",
|
|
1782
1782
|
"SyncTaxRatesInput",
|
|
1783
1783
|
"TaskStatus",
|
stigg/generated/async_client.py
CHANGED
|
@@ -28,6 +28,7 @@ from .get_paywall import GetPaywall
|
|
|
28
28
|
from .get_products import GetProducts
|
|
29
29
|
from .get_sdk_configuration import GetSdkConfiguration
|
|
30
30
|
from .get_subscription import GetSubscription
|
|
31
|
+
from .get_subscriptions import GetSubscriptions
|
|
31
32
|
from .get_usage_history import GetUsageHistory
|
|
32
33
|
from .get_usage_history_v_2 import GetUsageHistoryV2
|
|
33
34
|
from .grant_promotional_entitlements import GrantPromotionalEntitlements
|
|
@@ -87,7 +88,6 @@ from .report_event import ReportEvent
|
|
|
87
88
|
from .report_usage import ReportUsage
|
|
88
89
|
from .report_usage_bulk import ReportUsageBulk
|
|
89
90
|
from .revoke_promotional_entitlement import RevokePromotionalEntitlement
|
|
90
|
-
from .subscriptions import Subscriptions
|
|
91
91
|
from .transfer_subscription import TransferSubscription
|
|
92
92
|
from .transfer_subscription_to_resource import TransferSubscriptionToResource
|
|
93
93
|
from .unarchive_customer import UnarchiveCustomer
|
|
@@ -3809,16 +3809,16 @@ class AsyncClient(AsyncBaseClient):
|
|
|
3809
3809
|
data = self.get_data(response)
|
|
3810
3810
|
return GetActiveSubscriptionsList.model_validate(data)
|
|
3811
3811
|
|
|
3812
|
-
async def
|
|
3812
|
+
async def get_subscriptions(
|
|
3813
3813
|
self,
|
|
3814
3814
|
filter: Union[Optional[SubscriptionQueryFilter], UnsetType] = UNSET,
|
|
3815
3815
|
paging: Union[Optional[CursorPaging], UnsetType] = UNSET,
|
|
3816
3816
|
sorting: Union[Optional[List[SubscriptionQuerySort]], UnsetType] = UNSET,
|
|
3817
3817
|
**kwargs: Any
|
|
3818
|
-
) ->
|
|
3818
|
+
) -> GetSubscriptions:
|
|
3819
3819
|
query = gql(
|
|
3820
3820
|
"""
|
|
3821
|
-
query
|
|
3821
|
+
query GetSubscriptions($filter: SubscriptionQueryFilter, $paging: CursorPaging, $sorting: [SubscriptionQuerySort!]) {
|
|
3822
3822
|
subscriptions(filter: $filter, paging: $paging, sorting: $sorting) {
|
|
3823
3823
|
edges {
|
|
3824
3824
|
node {
|
|
@@ -3876,10 +3876,13 @@ class AsyncClient(AsyncBaseClient):
|
|
|
3876
3876
|
"sorting": sorting,
|
|
3877
3877
|
}
|
|
3878
3878
|
response = await self.execute(
|
|
3879
|
-
query=query,
|
|
3879
|
+
query=query,
|
|
3880
|
+
operation_name="GetSubscriptions",
|
|
3881
|
+
variables=variables,
|
|
3882
|
+
**kwargs
|
|
3880
3883
|
)
|
|
3881
3884
|
data = self.get_data(response)
|
|
3882
|
-
return
|
|
3885
|
+
return GetSubscriptions.model_validate(data)
|
|
3883
3886
|
|
|
3884
3887
|
async def get_subscription(
|
|
3885
3888
|
self, input: GetSubscriptionInput, **kwargs: Any
|
stigg/generated/client.py
CHANGED
|
@@ -28,6 +28,7 @@ from .get_paywall import GetPaywall
|
|
|
28
28
|
from .get_products import GetProducts
|
|
29
29
|
from .get_sdk_configuration import GetSdkConfiguration
|
|
30
30
|
from .get_subscription import GetSubscription
|
|
31
|
+
from .get_subscriptions import GetSubscriptions
|
|
31
32
|
from .get_usage_history import GetUsageHistory
|
|
32
33
|
from .get_usage_history_v_2 import GetUsageHistoryV2
|
|
33
34
|
from .grant_promotional_entitlements import GrantPromotionalEntitlements
|
|
@@ -87,7 +88,6 @@ from .report_event import ReportEvent
|
|
|
87
88
|
from .report_usage import ReportUsage
|
|
88
89
|
from .report_usage_bulk import ReportUsageBulk
|
|
89
90
|
from .revoke_promotional_entitlement import RevokePromotionalEntitlement
|
|
90
|
-
from .subscriptions import Subscriptions
|
|
91
91
|
from .transfer_subscription import TransferSubscription
|
|
92
92
|
from .transfer_subscription_to_resource import TransferSubscriptionToResource
|
|
93
93
|
from .unarchive_customer import UnarchiveCustomer
|
|
@@ -3807,16 +3807,16 @@ class Client(BaseClient):
|
|
|
3807
3807
|
data = self.get_data(response)
|
|
3808
3808
|
return GetActiveSubscriptionsList.model_validate(data)
|
|
3809
3809
|
|
|
3810
|
-
def
|
|
3810
|
+
def get_subscriptions(
|
|
3811
3811
|
self,
|
|
3812
3812
|
filter: Union[Optional[SubscriptionQueryFilter], UnsetType] = UNSET,
|
|
3813
3813
|
paging: Union[Optional[CursorPaging], UnsetType] = UNSET,
|
|
3814
3814
|
sorting: Union[Optional[List[SubscriptionQuerySort]], UnsetType] = UNSET,
|
|
3815
3815
|
**kwargs: Any
|
|
3816
|
-
) ->
|
|
3816
|
+
) -> GetSubscriptions:
|
|
3817
3817
|
query = gql(
|
|
3818
3818
|
"""
|
|
3819
|
-
query
|
|
3819
|
+
query GetSubscriptions($filter: SubscriptionQueryFilter, $paging: CursorPaging, $sorting: [SubscriptionQuerySort!]) {
|
|
3820
3820
|
subscriptions(filter: $filter, paging: $paging, sorting: $sorting) {
|
|
3821
3821
|
edges {
|
|
3822
3822
|
node {
|
|
@@ -3874,10 +3874,13 @@ class Client(BaseClient):
|
|
|
3874
3874
|
"sorting": sorting,
|
|
3875
3875
|
}
|
|
3876
3876
|
response = self.execute(
|
|
3877
|
-
query=query,
|
|
3877
|
+
query=query,
|
|
3878
|
+
operation_name="GetSubscriptions",
|
|
3879
|
+
variables=variables,
|
|
3880
|
+
**kwargs
|
|
3878
3881
|
)
|
|
3879
3882
|
data = self.get_data(response)
|
|
3880
|
-
return
|
|
3883
|
+
return GetSubscriptions.model_validate(data)
|
|
3881
3884
|
|
|
3882
3885
|
def get_subscription(
|
|
3883
3886
|
self, input: GetSubscriptionInput, **kwargs: Any
|
stigg/generated/fragments.py
CHANGED
|
@@ -60,6 +60,39 @@ class AddonDependencyFragment(BaseModel):
|
|
|
60
60
|
description: Optional[str] = Field(default=None)
|
|
61
61
|
|
|
62
62
|
|
|
63
|
+
class PackageEntitlementFragment(BaseModel):
|
|
64
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
65
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
66
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
67
|
+
feature_id: str = Field(alias="featureId")
|
|
68
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
69
|
+
alias="resetPeriod", default=None
|
|
70
|
+
)
|
|
71
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
72
|
+
alias="hiddenFromWidgets", default=None
|
|
73
|
+
)
|
|
74
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
75
|
+
display_name_override: Optional[str] = Field(
|
|
76
|
+
alias="displayNameOverride", default=None
|
|
77
|
+
)
|
|
78
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
82
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
83
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
84
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
85
|
+
feature_units_plural: Optional[str] = Field(
|
|
86
|
+
alias="featureUnitsPlural", default=None
|
|
87
|
+
)
|
|
88
|
+
display_name: str = Field(alias="displayName")
|
|
89
|
+
description: Optional[str] = Field(default=None)
|
|
90
|
+
ref_id: str = Field(alias="refId")
|
|
91
|
+
additional_meta_data: Optional[Any] = Field(
|
|
92
|
+
alias="additionalMetaData", default=None
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
|
|
63
96
|
class PriceTierFragment(BaseModel):
|
|
64
97
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
65
98
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -112,39 +145,6 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
112
145
|
description: Optional[str] = Field(default=None)
|
|
113
146
|
|
|
114
147
|
|
|
115
|
-
class PackageEntitlementFragment(BaseModel):
|
|
116
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
117
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
118
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
119
|
-
feature_id: str = Field(alias="featureId")
|
|
120
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
121
|
-
alias="resetPeriod", default=None
|
|
122
|
-
)
|
|
123
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
124
|
-
alias="hiddenFromWidgets", default=None
|
|
125
|
-
)
|
|
126
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
127
|
-
display_name_override: Optional[str] = Field(
|
|
128
|
-
alias="displayNameOverride", default=None
|
|
129
|
-
)
|
|
130
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
134
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
135
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
136
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
137
|
-
feature_units_plural: Optional[str] = Field(
|
|
138
|
-
alias="featureUnitsPlural", default=None
|
|
139
|
-
)
|
|
140
|
-
display_name: str = Field(alias="displayName")
|
|
141
|
-
description: Optional[str] = Field(default=None)
|
|
142
|
-
ref_id: str = Field(alias="refId")
|
|
143
|
-
additional_meta_data: Optional[Any] = Field(
|
|
144
|
-
alias="additionalMetaData", default=None
|
|
145
|
-
)
|
|
146
|
-
|
|
147
|
-
|
|
148
148
|
class PriceFragment(BaseModel):
|
|
149
149
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
150
150
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -216,89 +216,6 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
216
216
|
pass
|
|
217
217
|
|
|
218
218
|
|
|
219
|
-
class FeatureFragment(BaseModel):
|
|
220
|
-
typename__: str = Field(alias="__typename")
|
|
221
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
222
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
223
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
224
|
-
feature_units_plural: Optional[str] = Field(
|
|
225
|
-
alias="featureUnitsPlural", default=None
|
|
226
|
-
)
|
|
227
|
-
description: Optional[str] = Field(default=None)
|
|
228
|
-
display_name: str = Field(alias="displayName")
|
|
229
|
-
ref_id: str = Field(alias="refId")
|
|
230
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
231
|
-
alias="unitTransformation", default=None
|
|
232
|
-
)
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
236
|
-
divide: float
|
|
237
|
-
round: UnitTransformationRound
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
class EntitlementFragment(BaseModel):
|
|
241
|
-
typename__: str = Field(alias="__typename")
|
|
242
|
-
is_granted: bool = Field(alias="isGranted")
|
|
243
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
244
|
-
alias="accessDeniedReason", default=None
|
|
245
|
-
)
|
|
246
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
247
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
248
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
249
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
250
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
251
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
252
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
253
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
254
|
-
alias="entitlementUpdatedAt", default=None
|
|
255
|
-
)
|
|
256
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
257
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
258
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
259
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
260
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
261
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
262
|
-
alias="resetPeriod", default=None
|
|
263
|
-
)
|
|
264
|
-
reset_period_configuration: Optional[
|
|
265
|
-
Annotated[
|
|
266
|
-
Union[
|
|
267
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
268
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
269
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
270
|
-
],
|
|
271
|
-
Field(discriminator="typename__"),
|
|
272
|
-
]
|
|
273
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
274
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
278
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
279
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
280
|
-
alias="monthlyAccordingTo", default=None
|
|
281
|
-
)
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
285
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
286
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
287
|
-
alias="weeklyAccordingTo", default=None
|
|
288
|
-
)
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
292
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
293
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
294
|
-
alias="yearlyAccordingTo", default=None
|
|
295
|
-
)
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
299
|
-
pass
|
|
300
|
-
|
|
301
|
-
|
|
302
219
|
class SlimCustomerFragment(BaseModel):
|
|
303
220
|
id: str
|
|
304
221
|
name: Optional[str] = Field(default=None)
|
|
@@ -316,155 +233,23 @@ class SlimCustomerFragment(BaseModel):
|
|
|
316
233
|
)
|
|
317
234
|
|
|
318
235
|
|
|
319
|
-
class
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
323
|
-
default=None
|
|
324
|
-
)
|
|
325
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
329
|
-
pass
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
333
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
334
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
class ProductFragment(BaseModel):
|
|
338
|
-
ref_id: str = Field(alias="refId")
|
|
339
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
340
|
-
description: Optional[str] = Field(default=None)
|
|
341
|
-
additional_meta_data: Optional[Any] = Field(
|
|
342
|
-
alias="additionalMetaData", default=None
|
|
343
|
-
)
|
|
344
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
348
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
349
|
-
alias="downgradePlan", default=None
|
|
350
|
-
)
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
354
|
-
ref_id: str = Field(alias="refId")
|
|
355
|
-
display_name: str = Field(alias="displayName")
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
class PlanFragment(BaseModel):
|
|
359
|
-
id: str
|
|
360
|
-
ref_id: str = Field(alias="refId")
|
|
361
|
-
display_name: str = Field(alias="displayName")
|
|
362
|
-
description: Optional[str] = Field(default=None)
|
|
363
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
364
|
-
version_number: int = Field(alias="versionNumber")
|
|
365
|
-
additional_meta_data: Optional[Any] = Field(
|
|
366
|
-
alias="additionalMetaData", default=None
|
|
367
|
-
)
|
|
368
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
369
|
-
alias="hiddenFromWidgets", default=None
|
|
370
|
-
)
|
|
371
|
-
product: "PlanFragmentProduct"
|
|
372
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
373
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
374
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
375
|
-
alias="inheritedEntitlements", default=None
|
|
376
|
-
)
|
|
377
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
378
|
-
alias="compatibleAddons", default=None
|
|
379
|
-
)
|
|
380
|
-
compatible_package_groups: Optional[
|
|
381
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
382
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
383
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
384
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
385
|
-
alias="overagePrices", default=None
|
|
386
|
-
)
|
|
387
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
388
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
389
|
-
alias="defaultTrialConfig", default=None
|
|
390
|
-
)
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
class PlanFragmentProduct(ProductFragment):
|
|
394
|
-
pass
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
398
|
-
ref_id: str = Field(alias="refId")
|
|
399
|
-
display_name: str = Field(alias="displayName")
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
403
|
-
pass
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
407
|
-
pass
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
411
|
-
pass
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
415
|
-
pass
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
class PlanFragmentPrices(PriceFragment):
|
|
419
|
-
pass
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
423
|
-
pass
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
427
|
-
duration: float
|
|
428
|
-
units: TrialPeriodUnits
|
|
429
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
430
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
431
|
-
alias="trialEndBehavior", default=None
|
|
432
|
-
)
|
|
236
|
+
class TotalPriceFragment(BaseModel):
|
|
237
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
238
|
+
total: "TotalPriceFragmentTotal"
|
|
433
239
|
|
|
434
240
|
|
|
435
|
-
class
|
|
436
|
-
|
|
241
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
242
|
+
amount: float
|
|
243
|
+
currency: Currency
|
|
437
244
|
|
|
438
245
|
|
|
439
|
-
class
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
created_at: Any = Field(alias="createdAt")
|
|
443
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
444
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
445
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
446
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
447
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
448
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
449
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
450
|
-
alias="billingReason", default=None
|
|
451
|
-
)
|
|
452
|
-
currency: Optional[str] = Field(default=None)
|
|
453
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
454
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
455
|
-
alias="subTotalExcludingTax", default=None
|
|
456
|
-
)
|
|
457
|
-
total: Optional[float] = Field(default=None)
|
|
458
|
-
total_excluding_tax: Optional[float] = Field(
|
|
459
|
-
alias="totalExcludingTax", default=None
|
|
460
|
-
)
|
|
461
|
-
tax: Optional[float] = Field(default=None)
|
|
462
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
463
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
246
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
247
|
+
amount: float
|
|
248
|
+
currency: Currency
|
|
464
249
|
|
|
465
250
|
|
|
466
|
-
class
|
|
467
|
-
|
|
251
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
252
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
468
253
|
|
|
469
254
|
|
|
470
255
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
@@ -715,91 +500,223 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAd
|
|
|
715
500
|
quantity: float
|
|
716
501
|
|
|
717
502
|
|
|
718
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
719
|
-
BaseModel
|
|
720
|
-
):
|
|
721
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
722
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
723
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
503
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
504
|
+
BaseModel
|
|
505
|
+
):
|
|
506
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
507
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
508
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
512
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
513
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
514
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
515
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
516
|
+
billable_features: Optional[
|
|
517
|
+
List[
|
|
518
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
519
|
+
]
|
|
520
|
+
] = Field(alias="billableFeatures", default=None)
|
|
521
|
+
addons: Optional[
|
|
522
|
+
List[
|
|
523
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
524
|
+
]
|
|
525
|
+
] = Field(default=None)
|
|
526
|
+
price_overrides: Optional[
|
|
527
|
+
List[
|
|
528
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
529
|
+
]
|
|
530
|
+
] = Field(alias="priceOverrides", default=None)
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
534
|
+
BaseModel
|
|
535
|
+
):
|
|
536
|
+
feature_id: str = Field(alias="featureId")
|
|
537
|
+
quantity: float
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
541
|
+
BaseModel
|
|
542
|
+
):
|
|
543
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
544
|
+
quantity: float
|
|
545
|
+
|
|
546
|
+
|
|
547
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
548
|
+
BaseModel
|
|
549
|
+
):
|
|
550
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
551
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
552
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
553
|
+
|
|
554
|
+
|
|
555
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
556
|
+
BaseModel
|
|
557
|
+
):
|
|
558
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
559
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
560
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
564
|
+
BaseModel
|
|
565
|
+
):
|
|
566
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
567
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
568
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
572
|
+
billing_id: str = Field(alias="billingId")
|
|
573
|
+
status: SubscriptionInvoiceStatus
|
|
574
|
+
created_at: Any = Field(alias="createdAt")
|
|
575
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
576
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
577
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
578
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
579
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
580
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
581
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
582
|
+
alias="billingReason", default=None
|
|
583
|
+
)
|
|
584
|
+
currency: Optional[str] = Field(default=None)
|
|
585
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
586
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
587
|
+
alias="subTotalExcludingTax", default=None
|
|
588
|
+
)
|
|
589
|
+
total: Optional[float] = Field(default=None)
|
|
590
|
+
total_excluding_tax: Optional[float] = Field(
|
|
591
|
+
alias="totalExcludingTax", default=None
|
|
592
|
+
)
|
|
593
|
+
tax: Optional[float] = Field(default=None)
|
|
594
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
595
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
class ProductFragment(BaseModel):
|
|
599
|
+
ref_id: str = Field(alias="refId")
|
|
600
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
601
|
+
description: Optional[str] = Field(default=None)
|
|
602
|
+
additional_meta_data: Optional[Any] = Field(
|
|
603
|
+
alias="additionalMetaData", default=None
|
|
604
|
+
)
|
|
605
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
609
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
610
|
+
alias="downgradePlan", default=None
|
|
611
|
+
)
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
615
|
+
ref_id: str = Field(alias="refId")
|
|
616
|
+
display_name: str = Field(alias="displayName")
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
620
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
621
|
+
display_name: str = Field(alias="displayName")
|
|
622
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
623
|
+
default=None
|
|
624
|
+
)
|
|
625
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
629
|
+
pass
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
633
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
634
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
class PlanFragment(BaseModel):
|
|
638
|
+
id: str
|
|
639
|
+
ref_id: str = Field(alias="refId")
|
|
640
|
+
display_name: str = Field(alias="displayName")
|
|
641
|
+
description: Optional[str] = Field(default=None)
|
|
642
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
643
|
+
version_number: int = Field(alias="versionNumber")
|
|
644
|
+
additional_meta_data: Optional[Any] = Field(
|
|
645
|
+
alias="additionalMetaData", default=None
|
|
646
|
+
)
|
|
647
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
648
|
+
alias="hiddenFromWidgets", default=None
|
|
649
|
+
)
|
|
650
|
+
product: "PlanFragmentProduct"
|
|
651
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
652
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
653
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
654
|
+
alias="inheritedEntitlements", default=None
|
|
655
|
+
)
|
|
656
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
657
|
+
alias="compatibleAddons", default=None
|
|
658
|
+
)
|
|
659
|
+
compatible_package_groups: Optional[
|
|
660
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
661
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
662
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
663
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
664
|
+
alias="overagePrices", default=None
|
|
665
|
+
)
|
|
666
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
667
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
668
|
+
alias="defaultTrialConfig", default=None
|
|
669
|
+
)
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
class PlanFragmentProduct(ProductFragment):
|
|
673
|
+
pass
|
|
724
674
|
|
|
725
675
|
|
|
726
|
-
class
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
730
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
731
|
-
billable_features: Optional[
|
|
732
|
-
List[
|
|
733
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
734
|
-
]
|
|
735
|
-
] = Field(alias="billableFeatures", default=None)
|
|
736
|
-
addons: Optional[
|
|
737
|
-
List[
|
|
738
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
739
|
-
]
|
|
740
|
-
] = Field(default=None)
|
|
741
|
-
price_overrides: Optional[
|
|
742
|
-
List[
|
|
743
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
744
|
-
]
|
|
745
|
-
] = Field(alias="priceOverrides", default=None)
|
|
676
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
677
|
+
ref_id: str = Field(alias="refId")
|
|
678
|
+
display_name: str = Field(alias="displayName")
|
|
746
679
|
|
|
747
680
|
|
|
748
|
-
class
|
|
749
|
-
|
|
750
|
-
):
|
|
751
|
-
feature_id: str = Field(alias="featureId")
|
|
752
|
-
quantity: float
|
|
681
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
682
|
+
pass
|
|
753
683
|
|
|
754
684
|
|
|
755
|
-
class
|
|
756
|
-
|
|
757
|
-
):
|
|
758
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
759
|
-
quantity: float
|
|
685
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
686
|
+
pass
|
|
760
687
|
|
|
761
688
|
|
|
762
|
-
class
|
|
763
|
-
|
|
764
|
-
):
|
|
765
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
766
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
767
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
689
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
690
|
+
pass
|
|
768
691
|
|
|
769
692
|
|
|
770
|
-
class
|
|
771
|
-
|
|
772
|
-
):
|
|
773
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
774
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
775
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
693
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
694
|
+
pass
|
|
776
695
|
|
|
777
696
|
|
|
778
|
-
class
|
|
779
|
-
|
|
780
|
-
):
|
|
781
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
782
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
783
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
697
|
+
class PlanFragmentPrices(PriceFragment):
|
|
698
|
+
pass
|
|
784
699
|
|
|
785
700
|
|
|
786
|
-
class
|
|
787
|
-
|
|
701
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
702
|
+
pass
|
|
788
703
|
|
|
789
704
|
|
|
790
|
-
class
|
|
791
|
-
|
|
792
|
-
|
|
705
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
706
|
+
duration: float
|
|
707
|
+
units: TrialPeriodUnits
|
|
708
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
709
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
710
|
+
alias="trialEndBehavior", default=None
|
|
711
|
+
)
|
|
793
712
|
|
|
794
713
|
|
|
795
|
-
class
|
|
796
|
-
|
|
797
|
-
currency: Currency
|
|
714
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
715
|
+
limit: float
|
|
798
716
|
|
|
799
717
|
|
|
800
|
-
class
|
|
801
|
-
|
|
802
|
-
currency: Currency
|
|
718
|
+
class CustomerResourceFragment(BaseModel):
|
|
719
|
+
resource_id: str = Field(alias="resourceId")
|
|
803
720
|
|
|
804
721
|
|
|
805
722
|
class SubscriptionFragment(BaseModel):
|
|
@@ -911,6 +828,89 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
911
828
|
pass
|
|
912
829
|
|
|
913
830
|
|
|
831
|
+
class FeatureFragment(BaseModel):
|
|
832
|
+
typename__: str = Field(alias="__typename")
|
|
833
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
834
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
835
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
836
|
+
feature_units_plural: Optional[str] = Field(
|
|
837
|
+
alias="featureUnitsPlural", default=None
|
|
838
|
+
)
|
|
839
|
+
description: Optional[str] = Field(default=None)
|
|
840
|
+
display_name: str = Field(alias="displayName")
|
|
841
|
+
ref_id: str = Field(alias="refId")
|
|
842
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
843
|
+
alias="unitTransformation", default=None
|
|
844
|
+
)
|
|
845
|
+
|
|
846
|
+
|
|
847
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
848
|
+
divide: float
|
|
849
|
+
round: UnitTransformationRound
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
class EntitlementFragment(BaseModel):
|
|
853
|
+
typename__: str = Field(alias="__typename")
|
|
854
|
+
is_granted: bool = Field(alias="isGranted")
|
|
855
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
856
|
+
alias="accessDeniedReason", default=None
|
|
857
|
+
)
|
|
858
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
859
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
860
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
861
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
862
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
863
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
864
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
865
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
866
|
+
alias="entitlementUpdatedAt", default=None
|
|
867
|
+
)
|
|
868
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
869
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
870
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
871
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
872
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
873
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
874
|
+
alias="resetPeriod", default=None
|
|
875
|
+
)
|
|
876
|
+
reset_period_configuration: Optional[
|
|
877
|
+
Annotated[
|
|
878
|
+
Union[
|
|
879
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
880
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
881
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
882
|
+
],
|
|
883
|
+
Field(discriminator="typename__"),
|
|
884
|
+
]
|
|
885
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
886
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
890
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
891
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
892
|
+
alias="monthlyAccordingTo", default=None
|
|
893
|
+
)
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
897
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
898
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
899
|
+
alias="weeklyAccordingTo", default=None
|
|
900
|
+
)
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
904
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
905
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
906
|
+
alias="yearlyAccordingTo", default=None
|
|
907
|
+
)
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
911
|
+
pass
|
|
912
|
+
|
|
913
|
+
|
|
914
914
|
class ApplySubscriptionFragment(BaseModel):
|
|
915
915
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
916
916
|
default=None
|
|
@@ -1264,33 +1264,6 @@ class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
|
1264
1264
|
quantity: int
|
|
1265
1265
|
|
|
1266
1266
|
|
|
1267
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1268
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1269
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1270
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1271
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1272
|
-
default=None
|
|
1273
|
-
)
|
|
1274
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1275
|
-
default=None
|
|
1276
|
-
)
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1280
|
-
amount: float
|
|
1281
|
-
currency: Currency
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1285
|
-
id: str
|
|
1286
|
-
ref_id: str = Field(alias="refId")
|
|
1287
|
-
display_name: str = Field(alias="displayName")
|
|
1288
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1289
|
-
feature_units_plural: Optional[str] = Field(
|
|
1290
|
-
alias="featureUnitsPlural", default=None
|
|
1291
|
-
)
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
1267
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1295
1268
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1296
1269
|
alias="subscriptionScheduleType"
|
|
@@ -1460,6 +1433,33 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1460
1433
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1461
1434
|
|
|
1462
1435
|
|
|
1436
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1437
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1438
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1439
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1440
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1441
|
+
default=None
|
|
1442
|
+
)
|
|
1443
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1444
|
+
default=None
|
|
1445
|
+
)
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1449
|
+
amount: float
|
|
1450
|
+
currency: Currency
|
|
1451
|
+
|
|
1452
|
+
|
|
1453
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1454
|
+
id: str
|
|
1455
|
+
ref_id: str = Field(alias="refId")
|
|
1456
|
+
display_name: str = Field(alias="displayName")
|
|
1457
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1458
|
+
feature_units_plural: Optional[str] = Field(
|
|
1459
|
+
alias="featureUnitsPlural", default=None
|
|
1460
|
+
)
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
1463
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1464
1464
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1465
1465
|
plan_id: str = Field(alias="planId")
|
|
@@ -2828,24 +2828,24 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2828
2828
|
|
|
2829
2829
|
|
|
2830
2830
|
AddonDependencyFragment.model_rebuild()
|
|
2831
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2831
2832
|
PriceTierFragment.model_rebuild()
|
|
2832
2833
|
OveragePriceFragment.model_rebuild()
|
|
2833
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2834
2834
|
PriceFragment.model_rebuild()
|
|
2835
2835
|
AddonFragment.model_rebuild()
|
|
2836
|
-
FeatureFragment.model_rebuild()
|
|
2837
|
-
EntitlementFragment.model_rebuild()
|
|
2838
2836
|
SlimCustomerFragment.model_rebuild()
|
|
2839
|
-
|
|
2837
|
+
TotalPriceFragment.model_rebuild()
|
|
2838
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2839
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2840
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2841
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2840
2842
|
ProductFragment.model_rebuild()
|
|
2843
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2841
2844
|
PlanFragment.model_rebuild()
|
|
2842
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2843
2845
|
CustomerResourceFragment.model_rebuild()
|
|
2844
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2845
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2846
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2847
|
-
TotalPriceFragment.model_rebuild()
|
|
2848
2846
|
SubscriptionFragment.model_rebuild()
|
|
2847
|
+
FeatureFragment.model_rebuild()
|
|
2848
|
+
EntitlementFragment.model_rebuild()
|
|
2849
2849
|
ApplySubscriptionFragment.model_rebuild()
|
|
2850
2850
|
FontVariantFragment.model_rebuild()
|
|
2851
2851
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2858,8 +2858,8 @@ CustomerPortalBillingInformationFragment.model_rebuild()
|
|
|
2858
2858
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2859
2859
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2860
2860
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2861
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2862
2861
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2862
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2863
2863
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2864
2864
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2865
2865
|
CustomerPortalFragment.model_rebuild()
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from typing import List
|
|
5
|
+
|
|
6
|
+
from stigg._vendors.pydantic import Field
|
|
7
|
+
|
|
8
|
+
from .base_model import BaseModel
|
|
9
|
+
from .fragments import PageInfoFragment, SubscriptionQueryFragment
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class GetSubscriptions(BaseModel):
|
|
13
|
+
subscriptions: "GetSubscriptionsSubscriptions"
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GetSubscriptionsSubscriptions(BaseModel):
|
|
17
|
+
edges: List["GetSubscriptionsSubscriptionsEdges"]
|
|
18
|
+
page_info: "GetSubscriptionsSubscriptionsPageInfo" = Field(alias="pageInfo")
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class GetSubscriptionsSubscriptionsEdges(BaseModel):
|
|
22
|
+
node: "GetSubscriptionsSubscriptionsEdgesNode"
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class GetSubscriptionsSubscriptionsEdgesNode(SubscriptionQueryFragment):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class GetSubscriptionsSubscriptionsPageInfo(PageInfoFragment):
|
|
30
|
+
pass
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
GetSubscriptions.model_rebuild()
|
|
34
|
+
GetSubscriptionsSubscriptions.model_rebuild()
|
|
35
|
+
GetSubscriptionsSubscriptionsEdges.model_rebuild()
|
|
@@ -106,16 +106,16 @@ stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
106
106
|
stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
107
107
|
stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE,sha256=qeGG88oWte74QxjnpwFyE1GgDLe4rjpDlLZ7SeNSnvM,1129
|
|
108
108
|
stigg/client.py,sha256=RWrVnxo9zHFXka8KJVE4sMgyek70ispQk0vqOINCvM0,8335
|
|
109
|
-
stigg/generated/__init__.py,sha256=
|
|
109
|
+
stigg/generated/__init__.py,sha256=g8i06n-ZimE-XYhwV960mEXXK1Rx9svLtKo4gxnUtLY,70925
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
113
|
-
stigg/generated/async_client.py,sha256=
|
|
113
|
+
stigg/generated/async_client.py,sha256=andBzY5HC_K2dUxpDe4kNxxUyYjDFFXLQx2NfJbsw8Q,172786
|
|
114
114
|
stigg/generated/base_client.py,sha256=nAto-nOqrOHFTLqdRy2ZDpT1afgsqCzf6hTeBh5MyPQ,6674
|
|
115
115
|
stigg/generated/base_model.py,sha256=0rs99bmZqPbltlPVMfhExeA5zD6ATQFaNZVsxGNonI4,635
|
|
116
116
|
stigg/generated/cancel_subscription.py,sha256=pKrMFmKjGIuWvnVCYQ8brWQO9_JeTnfScgGQjztuN-o,457
|
|
117
117
|
stigg/generated/cancel_subscription_updates.py,sha256=T1C9vyppzZi_91pEnIGkHUL3GEsvtf5EMwr1f01tjbM,241
|
|
118
|
-
stigg/generated/client.py,sha256=
|
|
118
|
+
stigg/generated/client.py,sha256=i2l4lt_FEO2eg3g9SiMzORQFddsS_xSsOEoqlpIHO7Q,172197
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=Ax7idhOxqqwhmzBPImea0R-KRcq7j5EQNVAqUFbMl_8,3551
|
|
|
123
123
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
124
124
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
125
125
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
126
|
-
stigg/generated/fragments.py,sha256=
|
|
126
|
+
stigg/generated/fragments.py,sha256=S2YlhH9HwRbYvPdnWPx4cMApaBIFnqpl1G8NdIIH044,103124
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -138,6 +138,7 @@ stigg/generated/get_paywall.py,sha256=kfgwz9cfpgg4FAcAAhXxOOe5OjAQQraufWNabnAgW5
|
|
|
138
138
|
stigg/generated/get_products.py,sha256=Zzq8FAAsml-X14PISP9BcS0E8B8J7N5IDSCrnH2vD1g,568
|
|
139
139
|
stigg/generated/get_sdk_configuration.py,sha256=SquZBVALYpfaSjrWqLs--yRfzRLhwOa-lK2Tiy6y3CQ,581
|
|
140
140
|
stigg/generated/get_subscription.py,sha256=73Y5RrRta6fum9RYTQMdi9xnFwqwSxJM5ETI1yyiiN8,411
|
|
141
|
+
stigg/generated/get_subscriptions.py,sha256=kVq2pzbnDDG3VYPkiUZSTQrTmM_OI6PcjP7SPbgy26c,899
|
|
141
142
|
stigg/generated/get_usage_history.py,sha256=3gwU1NOGkw0p3hLd2rjxJmN79iN7_GqtZhOuJ0NOOFk,399
|
|
142
143
|
stigg/generated/get_usage_history_v_2.py,sha256=qs93P7pxfl-Yu_zSGa2dhHACeY1efR7V42Vmg7h_7Jk,421
|
|
143
144
|
stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkhHNOMOkCcBVXbQVNrHhrU,587
|
|
@@ -155,13 +156,12 @@ stigg/generated/report_event.py,sha256=O_8Y2W-oGNLW0OeH1TtJUFmzTJexoXNoritIH-SUb
|
|
|
155
156
|
stigg/generated/report_usage.py,sha256=5J-nkJoVMi_JYWV50MTl78MHlzsC5035GxSih1S8c_w,377
|
|
156
157
|
stigg/generated/report_usage_bulk.py,sha256=QIJcyfKFe1urtQEzZ3hiVD0fZS00KFGsLTFE3sHnY9U,455
|
|
157
158
|
stigg/generated/revoke_promotional_entitlement.py,sha256=3F9pzVCy2rkjYNzp9RiOjaqoL7_CHXM_NWJLcRsI6e8,478
|
|
158
|
-
stigg/generated/subscriptions.py,sha256=WoeeNthunROOl-KWwOVN9mEj568nAeD3CWRj5AoV-k0,863
|
|
159
159
|
stigg/generated/transfer_subscription.py,sha256=FFYUD-I9EjeU5jvdq3a8fpdc7PmF-zC-9NyLcGXFHw8,473
|
|
160
160
|
stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U_dJRQZYoByALDy-z77UufyE,561
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
167
|
-
stigg_api_client_v2-2.
|
|
164
|
+
stigg_api_client_v2-2.448.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-2.448.1.dist-info/METADATA,sha256=UJoeUveCzXohN4lPEX54L1xRxkbzikLWevdX65apV10,2258
|
|
166
|
+
stigg_api_client_v2-2.448.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-2.448.1.dist-info/RECORD,,
|
stigg/generated/subscriptions.py
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
2
|
-
# Source: operations.graphql
|
|
3
|
-
|
|
4
|
-
from typing import List
|
|
5
|
-
|
|
6
|
-
from stigg._vendors.pydantic import Field
|
|
7
|
-
|
|
8
|
-
from .base_model import BaseModel
|
|
9
|
-
from .fragments import PageInfoFragment, SubscriptionQueryFragment
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class Subscriptions(BaseModel):
|
|
13
|
-
subscriptions: "SubscriptionsSubscriptions"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
class SubscriptionsSubscriptions(BaseModel):
|
|
17
|
-
edges: List["SubscriptionsSubscriptionsEdges"]
|
|
18
|
-
page_info: "SubscriptionsSubscriptionsPageInfo" = Field(alias="pageInfo")
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
class SubscriptionsSubscriptionsEdges(BaseModel):
|
|
22
|
-
node: "SubscriptionsSubscriptionsEdgesNode"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
class SubscriptionsSubscriptionsEdgesNode(SubscriptionQueryFragment):
|
|
26
|
-
pass
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
class SubscriptionsSubscriptionsPageInfo(PageInfoFragment):
|
|
30
|
-
pass
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
Subscriptions.model_rebuild()
|
|
34
|
-
SubscriptionsSubscriptions.model_rebuild()
|
|
35
|
-
SubscriptionsSubscriptionsEdges.model_rebuild()
|
|
File without changes
|
|
File without changes
|