stigg-api-client 2.205.6__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.205.6
3
+ Version: 2.206.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "stigg-api-client"
3
- version = "2.205.6"
3
+ version = "2.206.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -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')
@@ -9656,7 +9669,7 @@ class ResetPeriodConfiguration(sgqlc.types.Union):
9656
9669
 
9657
9670
  class ScheduleVariables(sgqlc.types.Union):
9658
9671
  __schema__ = schema
9659
- __types__ = (AddonChangeVariables, BillingPeriodChangeVariables, DowngradeChangeVariables, PlanChangeVariables, UnitAmountChangeVariables)
9672
+ __types__ = (AddonChangeVariables, BillingPeriodChangeVariables, CouponChangeVariables, DowngradeChangeVariables, PlanChangeVariables, UnitAmountChangeVariables)
9660
9673
 
9661
9674
 
9662
9675