stigg-api-client 2.205.3__tar.gz → 2.206.0__tar.gz
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 might be problematic. Click here for more details.
- {stigg_api_client-2.205.3 → stigg_api_client-2.206.0}/PKG-INFO +1 -1
- {stigg_api_client-2.205.3 → stigg_api_client-2.206.0}/pyproject.toml +1 -1
- {stigg_api_client-2.205.3 → stigg_api_client-2.206.0}/stigg/generated/operations.py +1 -0
- {stigg_api_client-2.205.3 → stigg_api_client-2.206.0}/stigg/generated/schema.py +18 -4
- {stigg_api_client-2.205.3 → stigg_api_client-2.206.0}/LICENSE +0 -0
- {stigg_api_client-2.205.3 → stigg_api_client-2.206.0}/README.md +0 -0
- {stigg_api_client-2.205.3 → stigg_api_client-2.206.0}/stigg/__init__.py +0 -0
- {stigg_api_client-2.205.3 → stigg_api_client-2.206.0}/stigg/client.py +0 -0
- {stigg_api_client-2.205.3 → stigg_api_client-2.206.0}/stigg/generated/__init__.py +0 -0
|
@@ -950,6 +950,7 @@ def fragment_customer_portal_subscription_price_fragment():
|
|
|
950
950
|
_frag = sgqlc.operation.Fragment(_schema.CustomerPortalSubscriptionPrice, 'CustomerPortalSubscriptionPriceFragment')
|
|
951
951
|
_frag.billing_period()
|
|
952
952
|
_frag.billing_model()
|
|
953
|
+
_frag.block_size()
|
|
953
954
|
_frag_price = _frag.price()
|
|
954
955
|
_frag_price.amount()
|
|
955
956
|
_frag_price.currency()
|
|
@@ -477,7 +477,7 @@ class SubscriptionScheduleStatus(sgqlc.types.Enum):
|
|
|
477
477
|
|
|
478
478
|
class SubscriptionScheduleType(sgqlc.types.Enum):
|
|
479
479
|
__schema__ = schema
|
|
480
|
-
__choices__ = ('Addon', 'BillingPeriod', 'Downgrade', 'MigrateToLatest', 'Plan', 'UnitAmount')
|
|
480
|
+
__choices__ = ('Addon', 'BillingPeriod', 'Coupon', 'Downgrade', 'MigrateToLatest', 'Plan', 'UnitAmount')
|
|
481
481
|
|
|
482
482
|
|
|
483
483
|
class SubscriptionStartSetup(sgqlc.types.Enum):
|
|
@@ -3632,10 +3632,17 @@ class SubscriptionCancellationInput(sgqlc.types.Input):
|
|
|
3632
3632
|
subscription_ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionRefId')
|
|
3633
3633
|
|
|
3634
3634
|
|
|
3635
|
+
class SubscriptionCouponConfigurationInput(sgqlc.types.Input):
|
|
3636
|
+
__schema__ = schema
|
|
3637
|
+
__field_names__ = ('start_date',)
|
|
3638
|
+
start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
|
|
3639
|
+
|
|
3640
|
+
|
|
3635
3641
|
class SubscriptionCouponInput(sgqlc.types.Input):
|
|
3636
3642
|
__schema__ = schema
|
|
3637
|
-
__field_names__ = ('billing_coupon_id', 'coupon_id', 'promotion_code')
|
|
3643
|
+
__field_names__ = ('billing_coupon_id', 'configuration', 'coupon_id', 'promotion_code')
|
|
3638
3644
|
billing_coupon_id = sgqlc.types.Field(String, graphql_name='billingCouponId')
|
|
3645
|
+
configuration = sgqlc.types.Field(SubscriptionCouponConfigurationInput, graphql_name='configuration')
|
|
3639
3646
|
coupon_id = sgqlc.types.Field(String, graphql_name='couponId')
|
|
3640
3647
|
promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
|
|
3641
3648
|
|
|
@@ -4880,6 +4887,12 @@ class CouponAggregateGroupBy(sgqlc.types.Type):
|
|
|
4880
4887
|
updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
|
|
4881
4888
|
|
|
4882
4889
|
|
|
4890
|
+
class CouponChangeVariables(sgqlc.types.Type):
|
|
4891
|
+
__schema__ = schema
|
|
4892
|
+
__field_names__ = ('coupon_id',)
|
|
4893
|
+
coupon_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='couponId')
|
|
4894
|
+
|
|
4895
|
+
|
|
4883
4896
|
class CouponConnection(sgqlc.types.relay.Connection):
|
|
4884
4897
|
__schema__ = schema
|
|
4885
4898
|
__field_names__ = ('edges', 'page_info', 'total_count')
|
|
@@ -5206,9 +5219,10 @@ class CustomerPortalSubscription(sgqlc.types.Type):
|
|
|
5206
5219
|
|
|
5207
5220
|
class CustomerPortalSubscriptionPrice(sgqlc.types.Type):
|
|
5208
5221
|
__schema__ = schema
|
|
5209
|
-
__field_names__ = ('billing_model', 'billing_period', 'feature', 'price')
|
|
5222
|
+
__field_names__ = ('billing_model', 'billing_period', 'block_size', 'feature', 'price')
|
|
5210
5223
|
billing_model = sgqlc.types.Field(BillingModel, graphql_name='billingModel')
|
|
5211
5224
|
billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
|
|
5225
|
+
block_size = sgqlc.types.Field(Float, graphql_name='blockSize')
|
|
5212
5226
|
feature = sgqlc.types.Field(CustomerPortalPricingFeature, graphql_name='feature')
|
|
5213
5227
|
price = sgqlc.types.Field('Money', graphql_name='price')
|
|
5214
5228
|
|
|
@@ -9655,7 +9669,7 @@ class ResetPeriodConfiguration(sgqlc.types.Union):
|
|
|
9655
9669
|
|
|
9656
9670
|
class ScheduleVariables(sgqlc.types.Union):
|
|
9657
9671
|
__schema__ = schema
|
|
9658
|
-
__types__ = (AddonChangeVariables, BillingPeriodChangeVariables, DowngradeChangeVariables, PlanChangeVariables, UnitAmountChangeVariables)
|
|
9672
|
+
__types__ = (AddonChangeVariables, BillingPeriodChangeVariables, CouponChangeVariables, DowngradeChangeVariables, PlanChangeVariables, UnitAmountChangeVariables)
|
|
9659
9673
|
|
|
9660
9674
|
|
|
9661
9675
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|