stigg-api-client-v2 2.443.0__py3-none-any.whl → 2.447.2__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 +244 -244
- stigg/generated/get_subscriptions.py +35 -0
- {stigg_api_client_v2-2.443.0.dist-info → stigg_api_client_v2-2.447.2.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.443.0.dist-info → stigg_api_client_v2-2.447.2.dist-info}/RECORD +9 -9
- stigg/generated/subscriptions.py +0 -35
- {stigg_api_client_v2-2.443.0.dist-info → stigg_api_client_v2-2.447.2.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.443.0.dist-info → stigg_api_client_v2-2.447.2.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
|
@@ -216,23 +216,91 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
216
216
|
pass
|
|
217
217
|
|
|
218
218
|
|
|
219
|
-
class
|
|
220
|
-
|
|
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
|
+
)
|
|
221
233
|
|
|
222
234
|
|
|
223
|
-
class
|
|
224
|
-
|
|
225
|
-
|
|
235
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
236
|
+
divide: float
|
|
237
|
+
round: UnitTransformationRound
|
|
226
238
|
|
|
227
239
|
|
|
228
|
-
class
|
|
229
|
-
|
|
230
|
-
|
|
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)
|
|
231
275
|
|
|
232
276
|
|
|
233
|
-
class
|
|
234
|
-
|
|
235
|
-
|
|
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
|
+
class CustomerResourceFragment(BaseModel):
|
|
303
|
+
resource_id: str = Field(alias="resourceId")
|
|
236
304
|
|
|
237
305
|
|
|
238
306
|
class SlimCustomerFragment(BaseModel):
|
|
@@ -252,52 +320,19 @@ class SlimCustomerFragment(BaseModel):
|
|
|
252
320
|
)
|
|
253
321
|
|
|
254
322
|
|
|
255
|
-
class
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
created_at: Any = Field(alias="createdAt")
|
|
259
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
260
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
261
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
262
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
263
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
264
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
265
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
266
|
-
alias="billingReason", default=None
|
|
267
|
-
)
|
|
268
|
-
currency: Optional[str] = Field(default=None)
|
|
269
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
270
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
271
|
-
alias="subTotalExcludingTax", default=None
|
|
272
|
-
)
|
|
273
|
-
total: Optional[float] = Field(default=None)
|
|
274
|
-
total_excluding_tax: Optional[float] = Field(
|
|
275
|
-
alias="totalExcludingTax", default=None
|
|
276
|
-
)
|
|
277
|
-
tax: Optional[float] = Field(default=None)
|
|
278
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
279
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
class ProductFragment(BaseModel):
|
|
283
|
-
ref_id: str = Field(alias="refId")
|
|
284
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
285
|
-
description: Optional[str] = Field(default=None)
|
|
286
|
-
additional_meta_data: Optional[Any] = Field(
|
|
287
|
-
alias="additionalMetaData", default=None
|
|
288
|
-
)
|
|
289
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
323
|
+
class TotalPriceFragment(BaseModel):
|
|
324
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
325
|
+
total: "TotalPriceFragmentTotal"
|
|
290
326
|
|
|
291
327
|
|
|
292
|
-
class
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
)
|
|
328
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
329
|
+
amount: float
|
|
330
|
+
currency: Currency
|
|
296
331
|
|
|
297
332
|
|
|
298
|
-
class
|
|
299
|
-
|
|
300
|
-
|
|
333
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
334
|
+
amount: float
|
|
335
|
+
currency: Currency
|
|
301
336
|
|
|
302
337
|
|
|
303
338
|
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
@@ -318,6 +353,27 @@ class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
|
318
353
|
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
319
354
|
|
|
320
355
|
|
|
356
|
+
class ProductFragment(BaseModel):
|
|
357
|
+
ref_id: str = Field(alias="refId")
|
|
358
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
359
|
+
description: Optional[str] = Field(default=None)
|
|
360
|
+
additional_meta_data: Optional[Any] = Field(
|
|
361
|
+
alias="additionalMetaData", default=None
|
|
362
|
+
)
|
|
363
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
367
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
368
|
+
alias="downgradePlan", default=None
|
|
369
|
+
)
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
373
|
+
ref_id: str = Field(alias="refId")
|
|
374
|
+
display_name: str = Field(alias="displayName")
|
|
375
|
+
|
|
376
|
+
|
|
321
377
|
class PlanFragment(BaseModel):
|
|
322
378
|
id: str
|
|
323
379
|
ref_id: str = Field(alias="refId")
|
|
@@ -561,8 +617,35 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
561
617
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
562
618
|
|
|
563
619
|
|
|
564
|
-
class
|
|
565
|
-
|
|
620
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
621
|
+
billing_id: str = Field(alias="billingId")
|
|
622
|
+
status: SubscriptionInvoiceStatus
|
|
623
|
+
created_at: Any = Field(alias="createdAt")
|
|
624
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
625
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
626
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
627
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
628
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
629
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
630
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
631
|
+
alias="billingReason", default=None
|
|
632
|
+
)
|
|
633
|
+
currency: Optional[str] = Field(default=None)
|
|
634
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
635
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
636
|
+
alias="subTotalExcludingTax", default=None
|
|
637
|
+
)
|
|
638
|
+
total: Optional[float] = Field(default=None)
|
|
639
|
+
total_excluding_tax: Optional[float] = Field(
|
|
640
|
+
alias="totalExcludingTax", default=None
|
|
641
|
+
)
|
|
642
|
+
tax: Optional[float] = Field(default=None)
|
|
643
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
644
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
648
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
566
649
|
|
|
567
650
|
|
|
568
651
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
@@ -828,89 +911,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
828
911
|
pass
|
|
829
912
|
|
|
830
913
|
|
|
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
|
|
@@ -988,35 +988,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
988
988
|
)
|
|
989
989
|
|
|
990
990
|
|
|
991
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
992
|
-
status: PromotionalEntitlementStatus
|
|
993
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
994
|
-
feature_id: str = Field(alias="featureId")
|
|
995
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
996
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
997
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
998
|
-
alias="resetPeriod", default=None
|
|
999
|
-
)
|
|
1000
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1001
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1002
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1006
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1007
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1008
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1009
|
-
feature_units_plural: Optional[str] = Field(
|
|
1010
|
-
alias="featureUnitsPlural", default=None
|
|
1011
|
-
)
|
|
1012
|
-
display_name: str = Field(alias="displayName")
|
|
1013
|
-
description: Optional[str] = Field(default=None)
|
|
1014
|
-
ref_id: str = Field(alias="refId")
|
|
1015
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1016
|
-
alias="additionalMetaData", default=None
|
|
1017
|
-
)
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
991
|
class CouponFragment(BaseModel):
|
|
1021
992
|
id: str
|
|
1022
993
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1051,6 +1022,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1051
1022
|
status: SyncStatus
|
|
1052
1023
|
|
|
1053
1024
|
|
|
1025
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1026
|
+
status: PromotionalEntitlementStatus
|
|
1027
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1028
|
+
feature_id: str = Field(alias="featureId")
|
|
1029
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1030
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1031
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1032
|
+
alias="resetPeriod", default=None
|
|
1033
|
+
)
|
|
1034
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1035
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1036
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1040
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1041
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1042
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1043
|
+
feature_units_plural: Optional[str] = Field(
|
|
1044
|
+
alias="featureUnitsPlural", default=None
|
|
1045
|
+
)
|
|
1046
|
+
display_name: str = Field(alias="displayName")
|
|
1047
|
+
description: Optional[str] = Field(default=None)
|
|
1048
|
+
ref_id: str = Field(alias="refId")
|
|
1049
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1050
|
+
alias="additionalMetaData", default=None
|
|
1051
|
+
)
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
1054
|
class CustomerFragment(SlimCustomerFragment):
|
|
1055
1055
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1056
1056
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1257,6 +1257,40 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1257
1257
|
pass
|
|
1258
1258
|
|
|
1259
1259
|
|
|
1260
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1261
|
+
addon_id: str = Field(alias="addonId")
|
|
1262
|
+
description: Optional[str] = Field(default=None)
|
|
1263
|
+
display_name: str = Field(alias="displayName")
|
|
1264
|
+
quantity: int
|
|
1265
|
+
|
|
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
|
+
|
|
1260
1294
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1261
1295
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1262
1296
|
alias="subscriptionScheduleType"
|
|
@@ -1426,40 +1460,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1426
1460
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1427
1461
|
|
|
1428
1462
|
|
|
1429
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1430
|
-
addon_id: str = Field(alias="addonId")
|
|
1431
|
-
description: Optional[str] = Field(default=None)
|
|
1432
|
-
display_name: str = Field(alias="displayName")
|
|
1433
|
-
quantity: int
|
|
1434
|
-
|
|
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")
|
|
@@ -1793,6 +1793,39 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1793
1793
|
description: Optional[str] = Field(default=None)
|
|
1794
1794
|
|
|
1795
1795
|
|
|
1796
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1797
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1798
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1799
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1800
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1801
|
+
alias="resetPeriod", default=None
|
|
1802
|
+
)
|
|
1803
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1804
|
+
alias="hiddenFromWidgets", default=None
|
|
1805
|
+
)
|
|
1806
|
+
display_name_override: Optional[str] = Field(
|
|
1807
|
+
alias="displayNameOverride", default=None
|
|
1808
|
+
)
|
|
1809
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1810
|
+
default=None
|
|
1811
|
+
)
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1815
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1816
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1817
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1818
|
+
feature_units_plural: Optional[str] = Field(
|
|
1819
|
+
alias="featureUnitsPlural", default=None
|
|
1820
|
+
)
|
|
1821
|
+
display_name: str = Field(alias="displayName")
|
|
1822
|
+
description: Optional[str] = Field(default=None)
|
|
1823
|
+
ref_id: str = Field(alias="refId")
|
|
1824
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1825
|
+
alias="additionalMetaData", default=None
|
|
1826
|
+
)
|
|
1827
|
+
|
|
1828
|
+
|
|
1796
1829
|
class MockPaywallPriceFragment(BaseModel):
|
|
1797
1830
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1798
1831
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1827,39 +1860,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1827
1860
|
display_name: str = Field(alias="displayName")
|
|
1828
1861
|
|
|
1829
1862
|
|
|
1830
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1831
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1832
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1833
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1834
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1835
|
-
alias="resetPeriod", default=None
|
|
1836
|
-
)
|
|
1837
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1838
|
-
alias="hiddenFromWidgets", default=None
|
|
1839
|
-
)
|
|
1840
|
-
display_name_override: Optional[str] = Field(
|
|
1841
|
-
alias="displayNameOverride", default=None
|
|
1842
|
-
)
|
|
1843
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1844
|
-
default=None
|
|
1845
|
-
)
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1849
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1850
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1851
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1852
|
-
feature_units_plural: Optional[str] = Field(
|
|
1853
|
-
alias="featureUnitsPlural", default=None
|
|
1854
|
-
)
|
|
1855
|
-
display_name: str = Field(alias="displayName")
|
|
1856
|
-
description: Optional[str] = Field(default=None)
|
|
1857
|
-
ref_id: str = Field(alias="refId")
|
|
1858
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1859
|
-
alias="additionalMetaData", default=None
|
|
1860
|
-
)
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
1863
|
class MockPaywallAddonFragment(BaseModel):
|
|
1864
1864
|
ref_id: str = Field(alias="refId")
|
|
1865
1865
|
display_name: str = Field(alias="displayName")
|
|
@@ -2833,33 +2833,33 @@ PriceFragment.model_rebuild()
|
|
|
2833
2833
|
PackageEntitlementFragment.model_rebuild()
|
|
2834
2834
|
OveragePriceFragment.model_rebuild()
|
|
2835
2835
|
AddonFragment.model_rebuild()
|
|
2836
|
-
|
|
2837
|
-
|
|
2836
|
+
FeatureFragment.model_rebuild()
|
|
2837
|
+
EntitlementFragment.model_rebuild()
|
|
2838
|
+
CustomerResourceFragment.model_rebuild()
|
|
2838
2839
|
SlimCustomerFragment.model_rebuild()
|
|
2839
|
-
|
|
2840
|
-
ProductFragment.model_rebuild()
|
|
2840
|
+
TotalPriceFragment.model_rebuild()
|
|
2841
2841
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2842
|
+
ProductFragment.model_rebuild()
|
|
2842
2843
|
PlanFragment.model_rebuild()
|
|
2843
2844
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2844
|
-
|
|
2845
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2846
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2845
2847
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2846
2848
|
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()
|
|
2852
2852
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2853
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2854
2853
|
CouponFragment.model_rebuild()
|
|
2854
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2855
2855
|
CustomerFragment.model_rebuild()
|
|
2856
2856
|
CheckoutStateFragment.model_rebuild()
|
|
2857
2857
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2858
2858
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2859
2859
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2860
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2861
2860
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2862
2861
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2862
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2863
2863
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2864
2864
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2865
2865
|
CustomerPortalFragment.model_rebuild()
|
|
@@ -2871,8 +2871,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2871
2871
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2872
2872
|
LayoutConfigurationFragment.model_rebuild()
|
|
2873
2873
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2874
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2875
2874
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2875
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2876
2876
|
MockPaywallAddonFragment.model_rebuild()
|
|
2877
2877
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2878
2878
|
MockPaywallPlanFragment.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=aVQFOHauS_ptZRyW4G1cn-s38Xb2p08woJsTvuHW_GA,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.447.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-2.447.2.dist-info/METADATA,sha256=gm_3Mv7G-e8HEPGlNfvU1dBoJOF98u9bQ8LW-BlzstE,2258
|
|
166
|
+
stigg_api_client_v2-2.447.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-2.447.2.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
|