stigg-api-client-v2 2.446.1__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 +144 -144
- stigg/generated/get_subscriptions.py +35 -0
- {stigg_api_client_v2-2.446.1.dist-info → stigg_api_client_v2-2.447.2.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.446.1.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.446.1.dist-info → stigg_api_client_v2-2.447.2.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.446.1.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
|
@@ -80,29 +80,33 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
80
80
|
currency: Currency
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class PriceFragment(BaseModel):
|
|
84
84
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
85
85
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
86
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
86
87
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
88
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
89
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
87
90
|
billing_country_code: Optional[str] = Field(
|
|
88
91
|
alias="billingCountryCode", default=None
|
|
89
92
|
)
|
|
90
|
-
price: Optional["
|
|
93
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
91
94
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
92
|
-
tiers: Optional[List["
|
|
93
|
-
feature: Optional["
|
|
95
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
96
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
97
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
94
98
|
|
|
95
99
|
|
|
96
|
-
class
|
|
100
|
+
class PriceFragmentPrice(BaseModel):
|
|
97
101
|
amount: float
|
|
98
102
|
currency: Currency
|
|
99
103
|
|
|
100
104
|
|
|
101
|
-
class
|
|
105
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
102
106
|
pass
|
|
103
107
|
|
|
104
108
|
|
|
105
|
-
class
|
|
109
|
+
class PriceFragmentFeature(BaseModel):
|
|
106
110
|
ref_id: str = Field(alias="refId")
|
|
107
111
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
108
112
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -145,33 +149,29 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
145
149
|
)
|
|
146
150
|
|
|
147
151
|
|
|
148
|
-
class
|
|
152
|
+
class OveragePriceFragment(BaseModel):
|
|
149
153
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
150
154
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
151
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
152
155
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
153
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
154
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
155
156
|
billing_country_code: Optional[str] = Field(
|
|
156
157
|
alias="billingCountryCode", default=None
|
|
157
158
|
)
|
|
158
|
-
price: Optional["
|
|
159
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
159
160
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
160
|
-
tiers: Optional[List["
|
|
161
|
-
feature: Optional["
|
|
162
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
161
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
162
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
class
|
|
165
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
166
166
|
amount: float
|
|
167
167
|
currency: Currency
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
class
|
|
170
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
171
171
|
pass
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
class
|
|
174
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
175
175
|
ref_id: str = Field(alias="refId")
|
|
176
176
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
177
177
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -299,6 +299,10 @@ class EntitlementFragmentFeature(FeatureFragment):
|
|
|
299
299
|
pass
|
|
300
300
|
|
|
301
301
|
|
|
302
|
+
class CustomerResourceFragment(BaseModel):
|
|
303
|
+
resource_id: str = Field(alias="resourceId")
|
|
304
|
+
|
|
305
|
+
|
|
302
306
|
class SlimCustomerFragment(BaseModel):
|
|
303
307
|
id: str
|
|
304
308
|
name: Optional[str] = Field(default=None)
|
|
@@ -316,6 +320,21 @@ class SlimCustomerFragment(BaseModel):
|
|
|
316
320
|
)
|
|
317
321
|
|
|
318
322
|
|
|
323
|
+
class TotalPriceFragment(BaseModel):
|
|
324
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
325
|
+
total: "TotalPriceFragmentTotal"
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
329
|
+
amount: float
|
|
330
|
+
currency: Currency
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
334
|
+
amount: float
|
|
335
|
+
currency: Currency
|
|
336
|
+
|
|
337
|
+
|
|
319
338
|
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
320
339
|
package_group_id: str = Field(alias="packageGroupId")
|
|
321
340
|
display_name: str = Field(alias="displayName")
|
|
@@ -436,76 +455,45 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
436
455
|
limit: float
|
|
437
456
|
|
|
438
457
|
|
|
439
|
-
class
|
|
440
|
-
billing_id: str = Field(alias="billingId")
|
|
441
|
-
status: SubscriptionInvoiceStatus
|
|
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)
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
class CustomerResourceFragment(BaseModel):
|
|
467
|
-
resource_id: str = Field(alias="resourceId")
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
class SubscriptionFutureUpdateData(BaseModel):
|
|
458
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
471
459
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
472
460
|
alias="subscriptionScheduleType"
|
|
473
461
|
)
|
|
474
462
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
475
463
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
476
|
-
target_package: Optional["
|
|
464
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
477
465
|
alias="targetPackage", default=None
|
|
478
466
|
)
|
|
479
467
|
schedule_variables: Optional[
|
|
480
468
|
Annotated[
|
|
481
469
|
Union[
|
|
482
|
-
"
|
|
483
|
-
"
|
|
484
|
-
"
|
|
485
|
-
"
|
|
486
|
-
"
|
|
487
|
-
"
|
|
488
|
-
"
|
|
489
|
-
"
|
|
470
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
471
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
472
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
473
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
474
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
475
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
476
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
477
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
490
478
|
],
|
|
491
479
|
Field(discriminator="typename__"),
|
|
492
480
|
]
|
|
493
481
|
] = Field(alias="scheduleVariables", default=None)
|
|
494
482
|
|
|
495
483
|
|
|
496
|
-
class
|
|
484
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
497
485
|
id: str
|
|
498
486
|
ref_id: str = Field(alias="refId")
|
|
499
487
|
display_name: str = Field(alias="displayName")
|
|
500
488
|
|
|
501
489
|
|
|
502
|
-
class
|
|
490
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
503
491
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
504
492
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
505
493
|
new_quantity: float = Field(alias="newQuantity")
|
|
506
494
|
|
|
507
495
|
|
|
508
|
-
class
|
|
496
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
509
497
|
BaseModel
|
|
510
498
|
):
|
|
511
499
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -513,53 +501,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
513
501
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
514
502
|
|
|
515
503
|
|
|
516
|
-
class
|
|
504
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
517
505
|
BaseModel
|
|
518
506
|
):
|
|
519
507
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
520
508
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
521
509
|
|
|
522
510
|
|
|
523
|
-
class
|
|
511
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
524
512
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
525
513
|
|
|
526
514
|
|
|
527
|
-
class
|
|
515
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
516
|
+
BaseModel
|
|
517
|
+
):
|
|
528
518
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
529
519
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
530
520
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
531
521
|
billable_features: Optional[
|
|
532
522
|
List[
|
|
533
|
-
"
|
|
523
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
534
524
|
]
|
|
535
525
|
] = Field(alias="billableFeatures", default=None)
|
|
536
526
|
addons: Optional[
|
|
537
527
|
List[
|
|
538
|
-
"
|
|
528
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
539
529
|
]
|
|
540
530
|
] = Field(default=None)
|
|
541
531
|
price_overrides: Optional[
|
|
542
532
|
List[
|
|
543
|
-
"
|
|
533
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
544
534
|
]
|
|
545
535
|
] = Field(alias="priceOverrides", default=None)
|
|
546
536
|
|
|
547
537
|
|
|
548
|
-
class
|
|
538
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
549
539
|
BaseModel
|
|
550
540
|
):
|
|
551
541
|
feature_id: str = Field(alias="featureId")
|
|
552
542
|
quantity: float
|
|
553
543
|
|
|
554
544
|
|
|
555
|
-
class
|
|
545
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
556
546
|
BaseModel
|
|
557
547
|
):
|
|
558
548
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
559
549
|
quantity: float
|
|
560
550
|
|
|
561
551
|
|
|
562
|
-
class
|
|
552
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
563
553
|
BaseModel
|
|
564
554
|
):
|
|
565
555
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -567,39 +557,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
567
557
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
568
558
|
|
|
569
559
|
|
|
570
|
-
class
|
|
560
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
571
561
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
572
562
|
plan_ref_id: str = Field(alias="planRefId")
|
|
573
563
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
574
564
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
575
565
|
billable_features: Optional[
|
|
576
566
|
List[
|
|
577
|
-
"
|
|
567
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
578
568
|
]
|
|
579
569
|
] = Field(alias="billableFeatures", default=None)
|
|
580
570
|
addons: Optional[
|
|
581
|
-
List[
|
|
571
|
+
List[
|
|
572
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
573
|
+
]
|
|
582
574
|
] = Field(default=None)
|
|
583
575
|
price_overrides: Optional[
|
|
584
576
|
List[
|
|
585
|
-
"
|
|
577
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
586
578
|
]
|
|
587
579
|
] = Field(alias="priceOverrides", default=None)
|
|
588
580
|
|
|
589
581
|
|
|
590
|
-
class
|
|
582
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
591
583
|
BaseModel
|
|
592
584
|
):
|
|
593
585
|
feature_id: str = Field(alias="featureId")
|
|
594
586
|
quantity: float
|
|
595
587
|
|
|
596
588
|
|
|
597
|
-
class
|
|
589
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
590
|
+
BaseModel
|
|
591
|
+
):
|
|
598
592
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
599
593
|
quantity: float
|
|
600
594
|
|
|
601
595
|
|
|
602
|
-
class
|
|
596
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
603
597
|
BaseModel
|
|
604
598
|
):
|
|
605
599
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -607,7 +601,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
607
601
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
608
602
|
|
|
609
603
|
|
|
610
|
-
class
|
|
604
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
611
605
|
BaseModel
|
|
612
606
|
):
|
|
613
607
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -615,51 +609,84 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
615
609
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
616
610
|
|
|
617
611
|
|
|
618
|
-
class
|
|
612
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
613
|
+
BaseModel
|
|
614
|
+
):
|
|
619
615
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
620
616
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
621
617
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
622
618
|
|
|
623
619
|
|
|
624
|
-
class
|
|
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")
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
625
652
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
626
653
|
alias="subscriptionScheduleType"
|
|
627
654
|
)
|
|
628
655
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
629
656
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
630
|
-
target_package: Optional["
|
|
657
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
631
658
|
alias="targetPackage", default=None
|
|
632
659
|
)
|
|
633
660
|
schedule_variables: Optional[
|
|
634
661
|
Annotated[
|
|
635
662
|
Union[
|
|
636
|
-
"
|
|
637
|
-
"
|
|
638
|
-
"
|
|
639
|
-
"
|
|
640
|
-
"
|
|
641
|
-
"
|
|
642
|
-
"
|
|
643
|
-
"
|
|
663
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
664
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
665
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
666
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
667
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
668
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
669
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
670
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
644
671
|
],
|
|
645
672
|
Field(discriminator="typename__"),
|
|
646
673
|
]
|
|
647
674
|
] = Field(alias="scheduleVariables", default=None)
|
|
648
675
|
|
|
649
676
|
|
|
650
|
-
class
|
|
677
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
651
678
|
id: str
|
|
652
679
|
ref_id: str = Field(alias="refId")
|
|
653
680
|
display_name: str = Field(alias="displayName")
|
|
654
681
|
|
|
655
682
|
|
|
656
|
-
class
|
|
683
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
657
684
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
658
685
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
659
686
|
new_quantity: float = Field(alias="newQuantity")
|
|
660
687
|
|
|
661
688
|
|
|
662
|
-
class
|
|
689
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
663
690
|
BaseModel
|
|
664
691
|
):
|
|
665
692
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -667,55 +694,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
667
694
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
668
695
|
|
|
669
696
|
|
|
670
|
-
class
|
|
697
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
671
698
|
BaseModel
|
|
672
699
|
):
|
|
673
700
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
674
701
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
675
702
|
|
|
676
703
|
|
|
677
|
-
class
|
|
704
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
678
705
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
679
706
|
|
|
680
707
|
|
|
681
|
-
class
|
|
682
|
-
BaseModel
|
|
683
|
-
):
|
|
708
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
684
709
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
685
710
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
686
711
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
687
712
|
billable_features: Optional[
|
|
688
713
|
List[
|
|
689
|
-
"
|
|
714
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
690
715
|
]
|
|
691
716
|
] = Field(alias="billableFeatures", default=None)
|
|
692
717
|
addons: Optional[
|
|
693
718
|
List[
|
|
694
|
-
"
|
|
719
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
695
720
|
]
|
|
696
721
|
] = Field(default=None)
|
|
697
722
|
price_overrides: Optional[
|
|
698
723
|
List[
|
|
699
|
-
"
|
|
724
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
700
725
|
]
|
|
701
726
|
] = Field(alias="priceOverrides", default=None)
|
|
702
727
|
|
|
703
728
|
|
|
704
|
-
class
|
|
729
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
705
730
|
BaseModel
|
|
706
731
|
):
|
|
707
732
|
feature_id: str = Field(alias="featureId")
|
|
708
733
|
quantity: float
|
|
709
734
|
|
|
710
735
|
|
|
711
|
-
class
|
|
736
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
712
737
|
BaseModel
|
|
713
738
|
):
|
|
714
739
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
715
740
|
quantity: float
|
|
716
741
|
|
|
717
742
|
|
|
718
|
-
class
|
|
743
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
719
744
|
BaseModel
|
|
720
745
|
):
|
|
721
746
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -723,43 +748,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
723
748
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
724
749
|
|
|
725
750
|
|
|
726
|
-
class
|
|
751
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
727
752
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
728
753
|
plan_ref_id: str = Field(alias="planRefId")
|
|
729
754
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
730
755
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
731
756
|
billable_features: Optional[
|
|
732
757
|
List[
|
|
733
|
-
"
|
|
758
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
734
759
|
]
|
|
735
760
|
] = Field(alias="billableFeatures", default=None)
|
|
736
761
|
addons: Optional[
|
|
737
|
-
List[
|
|
738
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
739
|
-
]
|
|
762
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
740
763
|
] = Field(default=None)
|
|
741
764
|
price_overrides: Optional[
|
|
742
765
|
List[
|
|
743
|
-
"
|
|
766
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
744
767
|
]
|
|
745
768
|
] = Field(alias="priceOverrides", default=None)
|
|
746
769
|
|
|
747
770
|
|
|
748
|
-
class
|
|
771
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
749
772
|
BaseModel
|
|
750
773
|
):
|
|
751
774
|
feature_id: str = Field(alias="featureId")
|
|
752
775
|
quantity: float
|
|
753
776
|
|
|
754
777
|
|
|
755
|
-
class
|
|
756
|
-
BaseModel
|
|
757
|
-
):
|
|
778
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
758
779
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
759
780
|
quantity: float
|
|
760
781
|
|
|
761
782
|
|
|
762
|
-
class
|
|
783
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
763
784
|
BaseModel
|
|
764
785
|
):
|
|
765
786
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -767,7 +788,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
767
788
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
768
789
|
|
|
769
790
|
|
|
770
|
-
class
|
|
791
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
771
792
|
BaseModel
|
|
772
793
|
):
|
|
773
794
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -775,33 +796,12 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
775
796
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
776
797
|
|
|
777
798
|
|
|
778
|
-
class
|
|
779
|
-
BaseModel
|
|
780
|
-
):
|
|
799
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
781
800
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
782
801
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
783
802
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
784
803
|
|
|
785
804
|
|
|
786
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
787
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
class TotalPriceFragment(BaseModel):
|
|
791
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
792
|
-
total: "TotalPriceFragmentTotal"
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
796
|
-
amount: float
|
|
797
|
-
currency: Currency
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
801
|
-
amount: float
|
|
802
|
-
currency: Currency
|
|
803
|
-
|
|
804
|
-
|
|
805
805
|
class SubscriptionFragment(BaseModel):
|
|
806
806
|
id: str
|
|
807
807
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -2829,22 +2829,22 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2829
2829
|
|
|
2830
2830
|
AddonDependencyFragment.model_rebuild()
|
|
2831
2831
|
PriceTierFragment.model_rebuild()
|
|
2832
|
-
OveragePriceFragment.model_rebuild()
|
|
2833
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2834
2832
|
PriceFragment.model_rebuild()
|
|
2833
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2834
|
+
OveragePriceFragment.model_rebuild()
|
|
2835
2835
|
AddonFragment.model_rebuild()
|
|
2836
2836
|
FeatureFragment.model_rebuild()
|
|
2837
2837
|
EntitlementFragment.model_rebuild()
|
|
2838
|
+
CustomerResourceFragment.model_rebuild()
|
|
2838
2839
|
SlimCustomerFragment.model_rebuild()
|
|
2840
|
+
TotalPriceFragment.model_rebuild()
|
|
2839
2841
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2840
2842
|
ProductFragment.model_rebuild()
|
|
2841
2843
|
PlanFragment.model_rebuild()
|
|
2842
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2843
|
-
CustomerResourceFragment.model_rebuild()
|
|
2844
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2845
2844
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2845
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2846
2846
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2847
|
-
|
|
2847
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2848
2848
|
SubscriptionFragment.model_rebuild()
|
|
2849
2849
|
ApplySubscriptionFragment.model_rebuild()
|
|
2850
2850
|
FontVariantFragment.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
|