stigg-api-client 2.212.3__py3-none-any.whl → 2.214.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.
@@ -186,6 +186,7 @@ def fragment_plan_fragment():
186
186
  _frag_default_trial_config.units()
187
187
  _frag_default_trial_config_budget = _frag_default_trial_config.budget()
188
188
  _frag_default_trial_config_budget.limit()
189
+ _frag_default_trial_config.trial_end_behavior()
189
190
  return _frag
190
191
 
191
192
 
@@ -370,6 +371,14 @@ def fragment_subscription_fragment():
370
371
  _frag_scheduled_updates.__fragment__(fragment_subscription_scheduled_update_data())
371
372
  _frag_future_updates = _frag.future_updates()
372
373
  _frag_future_updates.__fragment__(fragment_subscription_future_update_data())
374
+ _frag_trial_configuration = _frag.trial_configuration()
375
+ _frag_trial_configuration.__fragment__(fragment_subscription_trial_configuration_fragment())
376
+ return _frag
377
+
378
+
379
+ def fragment_subscription_trial_configuration_fragment():
380
+ _frag = sgqlc.operation.Fragment(_schema.TrialConfiguration, 'SubscriptionTrialConfigurationFragment')
381
+ _frag.trial_end_behavior()
373
382
  return _frag
374
383
 
375
384
 
@@ -1098,6 +1107,7 @@ def fragment_mock_paywall_plan_fragment():
1098
1107
  _frag_default_trial_config.units()
1099
1108
  _frag_default_trial_config_budget = _frag_default_trial_config.budget()
1100
1109
  _frag_default_trial_config_budget.limit()
1110
+ _frag_default_trial_config.trial_end_behavior()
1101
1111
  _frag_compatible_addons = _frag.compatible_addons()
1102
1112
  _frag_compatible_addons.__fragment__(fragment_mock_paywall_addon_fragment())
1103
1113
  _frag_compatible_package_groups = _frag.compatible_package_groups()
@@ -1387,6 +1397,7 @@ class Fragment:
1387
1397
  subscription_preview_invoice_fragment = fragment_subscription_preview_invoice_fragment()
1388
1398
  subscription_preview_v2_fragment = fragment_subscription_preview_v2_fragment()
1389
1399
  subscription_scheduled_update_data = fragment_subscription_scheduled_update_data()
1400
+ subscription_trial_configuration_fragment = fragment_subscription_trial_configuration_fragment()
1390
1401
  total_price_fragment = fragment_total_price_fragment()
1391
1402
  typography_configuration_fragment = fragment_typography_configuration_fragment()
1392
1403
  usage_history_fragment = fragment_usage_history_fragment()
stigg/generated/schema.py CHANGED
@@ -487,7 +487,7 @@ class SubscriptionScheduleStatus(sgqlc.types.Enum):
487
487
 
488
488
  class SubscriptionScheduleType(sgqlc.types.Enum):
489
489
  __schema__ = schema
490
- __choices__ = ('Addon', 'BillingPeriod', 'Coupon', 'Downgrade', 'MigrateToLatest', 'Plan', 'UnitAmount')
490
+ __choices__ = ('Addon', 'BillingPeriod', 'Coupon', 'Downgrade', 'MigrateToLatest', 'Plan', 'PriceOverride', 'UnitAmount')
491
491
 
492
492
 
493
493
  class SubscriptionStartSetup(sgqlc.types.Enum):
@@ -4654,6 +4654,13 @@ class AddonMinAggregate(sgqlc.types.Type):
4654
4654
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
4655
4655
 
4656
4656
 
4657
+ class AddonPriceOverrideChangeVariables(sgqlc.types.Type):
4658
+ __schema__ = schema
4659
+ __field_names__ = ('addon_ref_id', 'feature_id')
4660
+ addon_ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='addonRefId')
4661
+ feature_id = sgqlc.types.Field(String, graphql_name='featureId')
4662
+
4663
+
4657
4664
  class AddonSumAggregate(sgqlc.types.Type):
4658
4665
  __schema__ = schema
4659
4666
  __field_names__ = ('version_number',)
@@ -5581,12 +5588,13 @@ class DefaultTrialConfigChange(sgqlc.types.Type):
5581
5588
 
5582
5589
  class DowngradeChangeVariables(sgqlc.types.Type):
5583
5590
  __schema__ = schema
5584
- __field_names__ = ('addon_ref_ids', 'addons', 'billable_features', 'billing_period', 'downgrade_plan_ref_id')
5591
+ __field_names__ = ('addon_ref_ids', 'addons', 'billable_features', 'billing_period', 'downgrade_plan_ref_id', 'price_overrides')
5585
5592
  addon_ref_ids = sgqlc.types.Field(String, graphql_name='addonRefIds')
5586
5593
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanChangeAddon')), graphql_name='addons')
5587
5594
  billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(BillableFeature)), graphql_name='billableFeatures')
5588
5595
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
5589
5596
  downgrade_plan_ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='downgradePlanRefId')
5597
+ price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PriceOverrideChangeVariables')), graphql_name='priceOverrides')
5590
5598
 
5591
5599
 
5592
5600
  class DumpEnvironmentForMergeComparison(sgqlc.types.Type):
@@ -7757,12 +7765,13 @@ class PlanChangeAddon(sgqlc.types.Type):
7757
7765
 
7758
7766
  class PlanChangeVariables(sgqlc.types.Type):
7759
7767
  __schema__ = schema
7760
- __field_names__ = ('addons', 'billable_features', 'billing_period', 'change_type', 'plan_ref_id')
7768
+ __field_names__ = ('addons', 'billable_features', 'billing_period', 'change_type', 'plan_ref_id', 'price_overrides')
7761
7769
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PlanChangeAddon)), graphql_name='addons')
7762
7770
  billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(BillableFeature)), graphql_name='billableFeatures')
7763
7771
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
7764
7772
  change_type = sgqlc.types.Field(sgqlc.types.non_null(PlanChangeType), graphql_name='changeType')
7765
7773
  plan_ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planRefId')
7774
+ price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PriceOverrideChangeVariables')), graphql_name='priceOverrides')
7766
7775
 
7767
7776
 
7768
7777
  class PlanCompatibleAddonChange(sgqlc.types.Type):
@@ -7881,6 +7890,13 @@ class PlanNotFoundError(sgqlc.types.Type):
7881
7890
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
7882
7891
 
7883
7892
 
7893
+ class PlanPriceOverrideChangeVariables(sgqlc.types.Type):
7894
+ __schema__ = schema
7895
+ __field_names__ = ('feature_id', 'plan_ref_id')
7896
+ feature_id = sgqlc.types.Field(String, graphql_name='featureId')
7897
+ plan_ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planRefId')
7898
+
7899
+
7884
7900
  class PlanSumAggregate(sgqlc.types.Type):
7885
7901
  __schema__ = schema
7886
7902
  __field_names__ = ('version_number',)
@@ -8028,6 +8044,14 @@ class PriceNotFoundError(sgqlc.types.Type):
8028
8044
  is_validation_error = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isValidationError')
8029
8045
 
8030
8046
 
8047
+ class PriceOverrideChangeVariables(sgqlc.types.Type):
8048
+ __schema__ = schema
8049
+ __field_names__ = ('addon_ref_id', 'feature_id', 'plan_ref_id')
8050
+ addon_ref_id = sgqlc.types.Field(String, graphql_name='addonRefId')
8051
+ feature_id = sgqlc.types.Field(String, graphql_name='featureId')
8052
+ plan_ref_id = sgqlc.types.Field(String, graphql_name='planRefId')
8053
+
8054
+
8031
8055
  class PriceTier(sgqlc.types.Type):
8032
8056
  __schema__ = schema
8033
8057
  __field_names__ = ('flat_price', 'unit_price', 'up_to')
@@ -9711,7 +9735,7 @@ class ResetPeriodConfiguration(sgqlc.types.Union):
9711
9735
 
9712
9736
  class ScheduleVariables(sgqlc.types.Union):
9713
9737
  __schema__ = schema
9714
- __types__ = (AddonChangeVariables, BillingPeriodChangeVariables, CouponChangeVariables, DowngradeChangeVariables, PlanChangeVariables, UnitAmountChangeVariables)
9738
+ __types__ = (AddonChangeVariables, AddonPriceOverrideChangeVariables, BillingPeriodChangeVariables, CouponChangeVariables, DowngradeChangeVariables, PlanChangeVariables, PlanPriceOverrideChangeVariables, UnitAmountChangeVariables)
9715
9739
 
9716
9740
 
9717
9741
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.212.3
3
+ Version: 2.214.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=yDEjlBiH7if-BLCuzGSKi4FoSoekgdLiQLLGWwtZQVc,77216
5
+ stigg/generated/schema.py,sha256=FbmrVHsJg8EGQmWUhXrgrtZ_O6QPrqFOEfewvLwjEx0,623399
6
+ stigg_api_client-2.214.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-2.214.0.dist-info/METADATA,sha256=4N_cW8eybMPJGzMHQkXxGTUqyGClH5Tq_AG3Vg5LxEI,3198
8
+ stigg_api_client-2.214.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-2.214.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=VLvC_1m98hBkfZGJuheAu7Nbj_T3TATc1WTqibjgWKg,76639
5
- stigg/generated/schema.py,sha256=p7Yy_gu8VW9sj3rFOXb2GXJxJfxPBJ3kBRRrzgEYcyY,622026
6
- stigg_api_client-2.212.3.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-2.212.3.dist-info/METADATA,sha256=2FDa4odMYyZyTSOruMB_Y7r-EwR06mO424Damo6X4u8,3198
8
- stigg_api_client-2.212.3.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-2.212.3.dist-info/RECORD,,