stigg-api-client 3.88.0__tar.gz → 3.93.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.88.0
3
+ Version: 3.93.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.88.0"
3
+ version = "3.93.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -1998,7 +1998,12 @@ def query_get_credit_balance():
1998
1998
  def query_get_credit_grants():
1999
1999
  _op = sgqlc.operation.Operation(_schema_root.query_type, name='GetCreditGrants', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.GetCreditGrantsInput))))
2000
2000
  _op_credit_grants = _op.credit_grants(input=sgqlc.types.Variable('input'))
2001
- _op_credit_grants.__fragment__(fragment_credit_grant_fragment())
2001
+ _op_credit_grants_page_info = _op_credit_grants.page_info()
2002
+ _op_credit_grants_page_info.__fragment__(fragment_page_info_fragment())
2003
+ _op_credit_grants_edges = _op_credit_grants.edges()
2004
+ _op_credit_grants_edges_node = _op_credit_grants_edges.node()
2005
+ _op_credit_grants_edges_node.__fragment__(fragment_credit_grant_fragment())
2006
+ _op_credit_grants.total_count()
2002
2007
  return _op
2003
2008
 
2004
2009
 
@@ -2386,10 +2386,11 @@ class GetAuth0ApplicationsInput(sgqlc.types.Input):
2386
2386
 
2387
2387
  class GetCreditGrantsInput(sgqlc.types.Input):
2388
2388
  __schema__ = schema
2389
- __field_names__ = ('currency_id', 'customer_id', 'environment_id', 'resource_id')
2389
+ __field_names__ = ('currency_id', 'customer_id', 'environment_id', 'paging', 'resource_id')
2390
2390
  currency_id = sgqlc.types.Field(String, graphql_name='currencyId')
2391
2391
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
2392
2392
  environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
2393
+ paging = sgqlc.types.Field(CursorPaging, graphql_name='paging')
2393
2394
  resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
2394
2395
 
2395
2396
 
@@ -5787,6 +5788,21 @@ class CreditGrant(sgqlc.types.Type):
5787
5788
  updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
5788
5789
 
5789
5790
 
5791
+ class CreditGrantConnection(sgqlc.types.relay.Connection):
5792
+ __schema__ = schema
5793
+ __field_names__ = ('edges', 'page_info', 'total_count')
5794
+ edges = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('CreditGrantEdge'))), graphql_name='edges')
5795
+ page_info = sgqlc.types.Field(sgqlc.types.non_null('PageInfo'), graphql_name='pageInfo')
5796
+ total_count = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='totalCount')
5797
+
5798
+
5799
+ class CreditGrantEdge(sgqlc.types.Type):
5800
+ __schema__ = schema
5801
+ __field_names__ = ('cursor', 'node')
5802
+ cursor = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='cursor')
5803
+ node = sgqlc.types.Field(sgqlc.types.non_null(CreditGrant), graphql_name='node')
5804
+
5805
+
5790
5806
  class CreditLedger(sgqlc.types.Type):
5791
5807
  __schema__ = schema
5792
5808
  __field_names__ = ('events',)
@@ -9631,7 +9647,7 @@ class Query(sgqlc.types.Type):
9631
9647
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreditBalanceSummaryInput), graphql_name='input', default=None)),
9632
9648
  ))
9633
9649
  )
9634
- credit_grants = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(CreditGrant))), graphql_name='creditGrants', args=sgqlc.types.ArgDict((
9650
+ credit_grants = sgqlc.types.Field(sgqlc.types.non_null(CreditGrantConnection), graphql_name='creditGrants', args=sgqlc.types.ArgDict((
9635
9651
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(GetCreditGrantsInput), graphql_name='input', default=None)),
9636
9652
  ))
9637
9653
  )