stigg-api-client 3.95.0__tar.gz → 3.96.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: 3.95.0
3
+ Version: 3.96.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 = "3.95.0"
3
+ version = "3.96.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -1508,6 +1508,18 @@ def fragment_payment_session_fragment():
1508
1508
  return _frag
1509
1509
 
1510
1510
 
1511
+ def fragment_credit_usage_fragment():
1512
+ _frag = sgqlc.operation.Fragment(_schema.CreditUsage, 'CreditUsageFragment')
1513
+ _frag_series = _frag.series()
1514
+ _frag_series.feature_id()
1515
+ _frag_series.feature_name()
1516
+ _frag_series.total_credits()
1517
+ _frag_series_points = _frag_series.points()
1518
+ _frag_series_points.timestamp()
1519
+ _frag_series_points.value()
1520
+ return _frag
1521
+
1522
+
1511
1523
  class Fragment:
1512
1524
  addon_dependency_fragment = fragment_addon_dependency_fragment()
1513
1525
  addon_fragment = fragment_addon_fragment()
@@ -1517,6 +1529,7 @@ class Fragment:
1517
1529
  coupon_fragment = fragment_coupon_fragment()
1518
1530
  credit_grant_fragment = fragment_credit_grant_fragment()
1519
1531
  credit_ledger_fragment = fragment_credit_ledger_fragment()
1532
+ credit_usage_fragment = fragment_credit_usage_fragment()
1520
1533
  credits_balance_summary_fragment = fragment_credits_balance_summary_fragment()
1521
1534
  customer_fragment = fragment_customer_fragment()
1522
1535
  customer_portal_billing_information_fragment = fragment_customer_portal_billing_information_fragment()
@@ -2015,6 +2028,13 @@ def query_get_credit_ledger():
2015
2028
  return _op
2016
2029
 
2017
2030
 
2031
+ def query_get_credit_usage():
2032
+ _op = sgqlc.operation.Operation(_schema_root.query_type, name='GetCreditUsage', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.CreditUsageInput))))
2033
+ _op_credit_usage = _op.credit_usage(input=sgqlc.types.Variable('input'))
2034
+ _op_credit_usage.__fragment__(fragment_credit_usage_fragment())
2035
+ return _op
2036
+
2037
+
2018
2038
  class Query:
2019
2039
  get_active_subscriptions = query_get_active_subscriptions()
2020
2040
  get_active_subscriptions_list = query_get_active_subscriptions_list()
@@ -2023,6 +2043,7 @@ class Query:
2023
2043
  get_credit_balance = query_get_credit_balance()
2024
2044
  get_credit_grants = query_get_credit_grants()
2025
2045
  get_credit_ledger = query_get_credit_ledger()
2046
+ get_credit_usage = query_get_credit_usage()
2026
2047
  get_customer_by_id = query_get_customer_by_id()
2027
2048
  get_customer_portal_by_ref_id = query_get_customer_portal_by_ref_id()
2028
2049
  get_customer_statistics = query_get_customer_statistics()