stigg-api-client 2.205.6__tar.gz → 2.207.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.205.6
3
+ Version: 2.207.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.207.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):
@@ -1577,9 +1577,10 @@ class DateFieldComparisonBetween(sgqlc.types.Input):
1577
1577
 
1578
1578
  class DefaultTrialConfigInputDTO(sgqlc.types.Input):
1579
1579
  __schema__ = schema
1580
- __field_names__ = ('budget', 'duration', 'units')
1580
+ __field_names__ = ('budget', 'duration', 'trial_end_behavior', 'units')
1581
1581
  budget = sgqlc.types.Field(BudgetConfigurationInput, graphql_name='budget')
1582
1582
  duration = sgqlc.types.Field(Float, graphql_name='duration')
1583
+ trial_end_behavior = sgqlc.types.Field(TrialEndBehavior, graphql_name='trialEndBehavior')
1583
1584
  units = sgqlc.types.Field(TrialPeriodUnits, graphql_name='units')
1584
1585
 
1585
1586
 
@@ -3632,10 +3633,17 @@ class SubscriptionCancellationInput(sgqlc.types.Input):
3632
3633
  subscription_ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionRefId')
3633
3634
 
3634
3635
 
3636
+ class SubscriptionCouponConfigurationInput(sgqlc.types.Input):
3637
+ __schema__ = schema
3638
+ __field_names__ = ('start_date',)
3639
+ start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
3640
+
3641
+
3635
3642
  class SubscriptionCouponInput(sgqlc.types.Input):
3636
3643
  __schema__ = schema
3637
- __field_names__ = ('billing_coupon_id', 'coupon_id', 'promotion_code')
3644
+ __field_names__ = ('billing_coupon_id', 'configuration', 'coupon_id', 'promotion_code')
3638
3645
  billing_coupon_id = sgqlc.types.Field(String, graphql_name='billingCouponId')
3646
+ configuration = sgqlc.types.Field(SubscriptionCouponConfigurationInput, graphql_name='configuration')
3639
3647
  coupon_id = sgqlc.types.Field(String, graphql_name='couponId')
3640
3648
  promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
3641
3649
 
@@ -4880,6 +4888,12 @@ class CouponAggregateGroupBy(sgqlc.types.Type):
4880
4888
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
4881
4889
 
4882
4890
 
4891
+ class CouponChangeVariables(sgqlc.types.Type):
4892
+ __schema__ = schema
4893
+ __field_names__ = ('coupon_id',)
4894
+ coupon_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='couponId')
4895
+
4896
+
4883
4897
  class CouponConnection(sgqlc.types.relay.Connection):
4884
4898
  __schema__ = schema
4885
4899
  __field_names__ = ('edges', 'page_info', 'total_count')
@@ -5514,9 +5528,10 @@ class DateRange(sgqlc.types.Type):
5514
5528
 
5515
5529
  class DefaultTrialConfig(sgqlc.types.Type):
5516
5530
  __schema__ = schema
5517
- __field_names__ = ('budget', 'duration', 'units')
5531
+ __field_names__ = ('budget', 'duration', 'trial_end_behavior', 'units')
5518
5532
  budget = sgqlc.types.Field(BudgetConfiguration, graphql_name='budget')
5519
5533
  duration = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='duration')
5534
+ trial_end_behavior = sgqlc.types.Field(TrialEndBehavior, graphql_name='trialEndBehavior')
5520
5535
  units = sgqlc.types.Field(sgqlc.types.non_null(TrialPeriodUnits), graphql_name='units')
5521
5536
 
5522
5537
 
@@ -9656,7 +9671,7 @@ class ResetPeriodConfiguration(sgqlc.types.Union):
9656
9671
 
9657
9672
  class ScheduleVariables(sgqlc.types.Union):
9658
9673
  __schema__ = schema
9659
- __types__ = (AddonChangeVariables, BillingPeriodChangeVariables, DowngradeChangeVariables, PlanChangeVariables, UnitAmountChangeVariables)
9674
+ __types__ = (AddonChangeVariables, BillingPeriodChangeVariables, CouponChangeVariables, DowngradeChangeVariables, PlanChangeVariables, UnitAmountChangeVariables)
9660
9675
 
9661
9676
 
9662
9677