stigg-api-client 0.488.0__py3-none-any.whl → 0.491.1__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.

@@ -671,6 +671,7 @@ def fragment_customer_portal_subscription_scheduled_update_data():
671
671
  _frag_target_package.id()
672
672
  _frag_target_package.ref_id()
673
673
  _frag_target_package.display_name()
674
+ _frag_target_package.pricing_type()
674
675
  _frag_schedule_variables = _frag.schedule_variables()
675
676
  _frag_schedule_variables__as__DowngradeChangeVariables = _frag_schedule_variables.__as__(_schema.DowngradeChangeVariables)
676
677
  _frag_schedule_variables__as__DowngradeChangeVariables.addon_ref_ids()
@@ -789,6 +790,23 @@ def fragment_mock_paywall_price_fragment():
789
790
  return _frag
790
791
 
791
792
 
793
+ def fragment_paywall_calculated_price_points_fragment():
794
+ _frag = sgqlc.operation.Fragment(_schema.PaywallPricePoint, 'PaywallCalculatedPricePointsFragment')
795
+ _frag.plan_id()
796
+ _frag.additional_charges_may_apply()
797
+ _frag.billing_period()
798
+ _frag.amount()
799
+ _frag.currency()
800
+ _frag.billing_country_code()
801
+ _frag_feature = _frag.feature()
802
+ _frag_feature.ref_id()
803
+ _frag_feature.feature_units()
804
+ _frag_feature.feature_units_plural()
805
+ _frag_feature.display_name()
806
+ _frag_feature.description()
807
+ return _frag
808
+
809
+
792
810
  def fragment_mock_paywall_addon_fragment():
793
811
  _frag = sgqlc.operation.Fragment(_schema.PaywallAddon, 'MockPaywallAddonFragment')
794
812
  _frag.ref_id()
@@ -818,6 +836,8 @@ def fragment_paywall_fragment():
818
836
  _frag_active_subscriptions.__fragment__(fragment_subscription_fragment())
819
837
  _frag_resource = _frag.resource()
820
838
  _frag_resource.__fragment__(fragment_customer_resource_fragment())
839
+ _frag_paywall_calculated_price_points = _frag.paywall_calculated_price_points()
840
+ _frag_paywall_calculated_price_points.__fragment__(fragment_paywall_calculated_price_points_fragment())
821
841
  return _frag
822
842
 
823
843
 
@@ -859,6 +879,7 @@ class Fragment:
859
879
  mock_paywall_price_fragment = fragment_mock_paywall_price_fragment()
860
880
  package_entitlement_fragment = fragment_package_entitlement_fragment()
861
881
  paywall_addon_fragment = fragment_paywall_addon_fragment()
882
+ paywall_calculated_price_points_fragment = fragment_paywall_calculated_price_points_fragment()
862
883
  paywall_configuration_fragment = fragment_paywall_configuration_fragment()
863
884
  paywall_currency = fragment_paywall_currency()
864
885
  paywall_fragment = fragment_paywall_fragment()
stigg/generated/schema.py CHANGED
@@ -5844,11 +5844,12 @@ class PageInfo(sgqlc.types.Type):
5844
5844
 
5845
5845
  class Paywall(sgqlc.types.Type):
5846
5846
  __schema__ = schema
5847
- __field_names__ = ('active_subscriptions', 'configuration', 'currency', 'customer', 'plans', 'resource')
5847
+ __field_names__ = ('active_subscriptions', 'configuration', 'currency', 'customer', 'paywall_calculated_price_points', 'plans', 'resource')
5848
5848
  active_subscriptions = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(CustomerSubscription)), graphql_name='activeSubscriptions')
5849
5849
  configuration = sgqlc.types.Field('PaywallConfiguration', graphql_name='configuration')
5850
5850
  currency = sgqlc.types.Field(sgqlc.types.non_null('PaywallCurrency'), graphql_name='currency')
5851
5851
  customer = sgqlc.types.Field(Customer, graphql_name='customer')
5852
+ paywall_calculated_price_points = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PaywallPricePoint')), graphql_name='paywallCalculatedPricePoints')
5852
5853
  plans = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('Plan'))), graphql_name='plans')
5853
5854
  resource = sgqlc.types.Field(CustomerResource, graphql_name='resource')
5854
5855
 
@@ -5940,6 +5941,18 @@ class PaywallPrice(sgqlc.types.Type):
5940
5941
  price = sgqlc.types.Field(sgqlc.types.non_null(Money), graphql_name='price')
5941
5942
 
5942
5943
 
5944
+ class PaywallPricePoint(sgqlc.types.Type):
5945
+ __schema__ = schema
5946
+ __field_names__ = ('additional_charges_may_apply', 'amount', 'billing_country_code', 'billing_period', 'currency', 'feature', 'plan_id')
5947
+ additional_charges_may_apply = sgqlc.types.Field(Boolean, graphql_name='additionalChargesMayApply')
5948
+ amount = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='amount')
5949
+ billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
5950
+ billing_period = sgqlc.types.Field(sgqlc.types.non_null(BillingPeriod), graphql_name='billingPeriod')
5951
+ currency = sgqlc.types.Field(sgqlc.types.non_null(Currency), graphql_name='currency')
5952
+ feature = sgqlc.types.Field(Feature, graphql_name='feature')
5953
+ plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
5954
+
5955
+
5943
5956
  class PaywallProduct(sgqlc.types.Type):
5944
5957
  __schema__ = schema
5945
5958
  __field_names__ = ('additional_meta_data', 'description', 'display_name', 'ref_id')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 0.488.0
3
+ Version: 0.491.1
4
4
  Summary:
5
5
  Author: Stigg
6
6
  Author-email: support@stigg.io
@@ -0,0 +1,8 @@
1
+ stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
+ stigg/client.py,sha256=yJWbqm6yjLFGxtTHJxHX2mLqkCYMtOKxMDsN9vyFNcg,1141
3
+ stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ stigg/generated/operations.py,sha256=Mgx3IzTlvtqYtGZK9MC2hecKir9ItfO97UFSXGlvxxg,49423
5
+ stigg/generated/schema.py,sha256=aimmUAazFNOdj40HvqXXyPEaq0iIuUvet8QjQQlgoh4,466788
6
+ stigg_api_client-0.491.1.dist-info/METADATA,sha256=bzQvQ069GcK9wm33tXZsg2YRFZILM_yt1FfBY9wVgQM,3081
7
+ stigg_api_client-0.491.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
8
+ stigg_api_client-0.491.1.dist-info/RECORD,,
@@ -1,8 +0,0 @@
1
- stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
- stigg/client.py,sha256=yJWbqm6yjLFGxtTHJxHX2mLqkCYMtOKxMDsN9vyFNcg,1141
3
- stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- stigg/generated/operations.py,sha256=9WSPU9l-r_sQVXcH8Kh5C2mlTftYWzTxFC8QN1dIO5w,48548
5
- stigg/generated/schema.py,sha256=kQxKok0srw7gHImgDf2CPvIHRUX0bHJlZeg1req1GkM,465757
6
- stigg_api_client-0.488.0.dist-info/METADATA,sha256=2MILyFmxnZwWZkVV6lh5eiHhQIKq0vhv71AhKLLiTjU,3081
7
- stigg_api_client-0.488.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
8
- stigg_api_client-0.488.0.dist-info/RECORD,,