stigg-api-client 0.543.0__py3-none-any.whl → 0.544.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.

@@ -31,6 +31,15 @@ def fragment_coupon_fragment():
31
31
  return _frag
32
32
 
33
33
 
34
+ def fragment_price_tier_fragment():
35
+ _frag = sgqlc.operation.Fragment(_schema.PriceTier, 'PriceTierFragment')
36
+ _frag.up_to()
37
+ _frag_unit_price = _frag.unit_price()
38
+ _frag_unit_price.amount()
39
+ _frag_unit_price.currency()
40
+ return _frag
41
+
42
+
34
43
  def fragment_price_fragment():
35
44
  _frag = sgqlc.operation.Fragment(_schema.Price, 'PriceFragment')
36
45
  _frag.billing_model()
@@ -44,10 +53,7 @@ def fragment_price_fragment():
44
53
  _frag_price.currency()
45
54
  _frag.tiers_mode()
46
55
  _frag_tiers = _frag.tiers()
47
- _frag_tiers.up_to()
48
- _frag_tiers_unit_price = _frag_tiers.unit_price()
49
- _frag_tiers_unit_price.amount()
50
- _frag_tiers_unit_price.currency()
56
+ _frag_tiers.__fragment__(fragment_price_tier_fragment())
51
57
  _frag_feature = _frag.feature()
52
58
  _frag_feature.ref_id()
53
59
  _frag_feature.feature_units()
@@ -864,10 +870,7 @@ def fragment_mock_paywall_price_fragment():
864
870
  _frag_price.currency()
865
871
  _frag.tiers_mode()
866
872
  _frag_tiers = _frag.tiers()
867
- _frag_tiers.up_to()
868
- _frag_tiers_unit_price = _frag_tiers.unit_price()
869
- _frag_tiers_unit_price.amount()
870
- _frag_tiers_unit_price.currency()
873
+ _frag_tiers.__fragment__(fragment_price_tier_fragment())
871
874
  _frag_feature = _frag.feature()
872
875
  _frag_feature.ref_id()
873
876
  _frag_feature.feature_units()
@@ -974,6 +977,7 @@ class Fragment:
974
977
  paywall_plan_fragment = fragment_paywall_plan_fragment()
975
978
  plan_fragment = fragment_plan_fragment()
976
979
  price_fragment = fragment_price_fragment()
980
+ price_tier_fragment = fragment_price_tier_fragment()
977
981
  product_fragment = fragment_product_fragment()
978
982
  promotional_entitlement_fragment = fragment_promotional_entitlement_fragment()
979
983
  reset_period_configuration_fragment = fragment_reset_period_configuration_fragment()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 0.543.0
3
+ Version: 0.544.1
4
4
  Summary:
5
5
  Author: Stigg
6
6
  Author-email: support@stigg.io
@@ -1,8 +1,8 @@
1
1
  stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
2
  stigg/client.py,sha256=wSb0yyW13mWMr_4pooJArTtCa2fL5079ho9jGaZTdpE,3699
3
3
  stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- stigg/generated/operations.py,sha256=WieJg5MmhnmPyaYdLfqJscTHS-_cvdOzfFkbTTougkc,55303
4
+ stigg/generated/operations.py,sha256=xuRFgWcc39L1Uh_x1vBXiwm5903O7lozvjbCq1YzQIU,55432
5
5
  stigg/generated/schema.py,sha256=noHvguqwtTxXH9e_0JrPJ02FGsF5abu7d8BWRSF5Wfw,482102
6
- stigg_api_client-0.543.0.dist-info/METADATA,sha256=Zw9gjdu22TzsCZjRnJoJAHO6IPyGuoNDPSDhjPbf75c,3122
7
- stigg_api_client-0.543.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
8
- stigg_api_client-0.543.0.dist-info/RECORD,,
6
+ stigg_api_client-0.544.1.dist-info/METADATA,sha256=VAP7mvo7mJmqYjK2F8KBNtVxf350x520P1zikyZFaUg,3122
7
+ stigg_api_client-0.544.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
8
+ stigg_api_client-0.544.1.dist-info/RECORD,,