stigg-api-client 2.205.3__py3-none-any.whl → 2.206.0__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 might be problematic. Click here for more details.

@@ -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()
stigg/generated/schema.py CHANGED
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.205.3
3
+ Version: 2.206.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -0,0 +1,9 @@
1
+ stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
+ stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
+ stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ stigg/generated/operations.py,sha256=VLvC_1m98hBkfZGJuheAu7Nbj_T3TATc1WTqibjgWKg,76639
5
+ stigg/generated/schema.py,sha256=PbmJQhOq86bNITuYhxuLkdau4Bsyj0FiJiftkPSRj34,619459
6
+ stigg_api_client-2.206.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-2.206.0.dist-info/METADATA,sha256=T12qX7O-lT9dOPdfjvnV5dEBgmSYrwpDYutVTvFRNR8,3198
8
+ stigg_api_client-2.206.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-2.206.0.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
- stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
- stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- stigg/generated/operations.py,sha256=L-KsnUd2mH-izMg1X2CIT-zKJPNVqavXkZAkWPw3FWY,76616
5
- stigg/generated/schema.py,sha256=kaO0PtcSSGw36BLdRoSy7-KAaiytfHvTAyiVQr4WAlo,618824
6
- stigg_api_client-2.205.3.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-2.205.3.dist-info/METADATA,sha256=MXunrH0HaUAo8PQayI5I4kqYHpEWsC6NRcnjrXcOGbE,3198
8
- stigg_api_client-2.205.3.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-2.205.3.dist-info/RECORD,,