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

Potentially problematic release.


This version of stigg-api-client might be problematic. Click here for more details.

@@ -1471,6 +1471,20 @@ def fragment_credit_grant_fragment():
1471
1471
  return _frag
1472
1472
 
1473
1473
 
1474
+ def fragment_credit_ledger_fragment():
1475
+ _frag = sgqlc.operation.Fragment(_schema.CreditLedgerEvent, 'CreditLedgerFragment')
1476
+ _frag.timestamp()
1477
+ _frag.event_type()
1478
+ _frag.customer_id()
1479
+ _frag.resource_id()
1480
+ _frag.event_id()
1481
+ _frag.feature_id()
1482
+ _frag.amount()
1483
+ _frag.credit_grant_id()
1484
+ _frag.credit_currency_id()
1485
+ return _frag
1486
+
1487
+
1474
1488
  def fragment_credits_balance_summary_fragment():
1475
1489
  _frag = sgqlc.operation.Fragment(_schema.CreditBalanceSummary, 'CreditsBalanceSummaryFragment')
1476
1490
  _frag.customer_id()
@@ -1502,6 +1516,7 @@ class Fragment:
1502
1516
  checkout_state_fragment = fragment_checkout_state_fragment()
1503
1517
  coupon_fragment = fragment_coupon_fragment()
1504
1518
  credit_grant_fragment = fragment_credit_grant_fragment()
1519
+ credit_ledger_fragment = fragment_credit_ledger_fragment()
1505
1520
  credits_balance_summary_fragment = fragment_credits_balance_summary_fragment()
1506
1521
  customer_fragment = fragment_customer_fragment()
1507
1522
  customer_portal_billing_information_fragment = fragment_customer_portal_billing_information_fragment()
@@ -1987,6 +2002,14 @@ def query_get_credit_grants():
1987
2002
  return _op
1988
2003
 
1989
2004
 
2005
+ def query_get_credit_ledger():
2006
+ _op = sgqlc.operation.Operation(_schema_root.query_type, name='GetCreditLedger', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.CreditLedgerInput))))
2007
+ _op_credits_ledger = _op.credits_ledger(input=sgqlc.types.Variable('input'))
2008
+ _op_credits_ledger_events = _op_credits_ledger.events()
2009
+ _op_credits_ledger_events.__fragment__(fragment_credit_ledger_fragment())
2010
+ return _op
2011
+
2012
+
1990
2013
  class Query:
1991
2014
  get_active_subscriptions = query_get_active_subscriptions()
1992
2015
  get_active_subscriptions_list = query_get_active_subscriptions_list()
@@ -1994,6 +2017,7 @@ class Query:
1994
2017
  get_coupons = query_get_coupons()
1995
2018
  get_credit_balance = query_get_credit_balance()
1996
2019
  get_credit_grants = query_get_credit_grants()
2020
+ get_credit_ledger = query_get_credit_ledger()
1997
2021
  get_customer_by_id = query_get_customer_by_id()
1998
2022
  get_customer_portal_by_ref_id = query_get_customer_portal_by_ref_id()
1999
2023
  get_customer_statistics = query_get_customer_statistics()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 3.84.1
3
+ Version: 3.88.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -1,9 +1,9 @@
1
1
  stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
2
  stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
3
  stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- stigg/generated/operations.py,sha256=Bb8r4BqUxHn0OR4B5N9RepOBAogZCEgBF_kVMfvyMa4,89792
4
+ stigg/generated/operations.py,sha256=Fh1oPQFjWSQvfstnTw0Ag7JR7hecs9Goq9tjrea32Kw,90706
5
5
  stigg/generated/schema.py,sha256=7aTatu0R7i_Rbx9qeSarFV7r5-YjNaSz-mFtMyBe2Gg,725366
6
- stigg_api_client-3.84.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-3.84.1.dist-info/METADATA,sha256=-qdobCENDfbkeRMFHyGKGwopZwfGxdcM9MVNF09AwYU,3197
8
- stigg_api_client-3.84.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-3.84.1.dist-info/RECORD,,
6
+ stigg_api_client-3.88.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-3.88.0.dist-info/METADATA,sha256=jdgIh92i5lgAdzxZeKZNC_bWRcxWAMdiTaMKw-JPLvQ,3197
8
+ stigg_api_client-3.88.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-3.88.0.dist-info/RECORD,,