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

@@ -1258,6 +1258,22 @@ def fragment_usage_history_fragment():
1258
1258
  return _frag
1259
1259
 
1260
1260
 
1261
+ def fragment_usage_history_v2_fragment():
1262
+ _frag = sgqlc.operation.Fragment(_schema.UsageHistoryV2, 'UsageHistoryV2Fragment')
1263
+ _frag_markers = _frag.markers()
1264
+ _frag_markers.type()
1265
+ _frag_markers.timestamp()
1266
+ _frag_series = _frag.series()
1267
+ _frag_series_tags = _frag_series.tags()
1268
+ _frag_series_tags.key()
1269
+ _frag_series_tags.value()
1270
+ _frag_series_points = _frag_series.points()
1271
+ _frag_series_points.timestamp()
1272
+ _frag_series_points.value()
1273
+ _frag_series_points.is_reset_point()
1274
+ return _frag
1275
+
1276
+
1261
1277
  def fragment_provision_customer_fragment():
1262
1278
  _frag = sgqlc.operation.Fragment(_schema.ProvisionedCustomer, 'ProvisionCustomerFragment')
1263
1279
  _frag_customer = _frag.customer()
@@ -1418,6 +1434,7 @@ class Fragment:
1418
1434
  total_price_fragment = fragment_total_price_fragment()
1419
1435
  typography_configuration_fragment = fragment_typography_configuration_fragment()
1420
1436
  usage_history_fragment = fragment_usage_history_fragment()
1437
+ usage_history_v2_fragment = fragment_usage_history_v2_fragment()
1421
1438
  usage_updated_fragment = fragment_usage_updated_fragment()
1422
1439
 
1423
1440
 
@@ -1756,6 +1773,13 @@ def query_get_usage_history():
1756
1773
  return _op
1757
1774
 
1758
1775
 
1776
+ def query_get_usage_history_v2():
1777
+ _op = sgqlc.operation.Operation(_schema_root.query_type, name='GetUsageHistoryV2', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.UsageHistoryV2Input))))
1778
+ _op_usage_history_v2 = _op.usage_history_v2(input=sgqlc.types.Variable('input'))
1779
+ _op_usage_history_v2.__fragment__(fragment_usage_history_v2_fragment())
1780
+ return _op
1781
+
1782
+
1759
1783
  class Query:
1760
1784
  get_active_subscriptions = query_get_active_subscriptions()
1761
1785
  get_active_subscriptions_list = query_get_active_subscriptions_list()
@@ -1772,6 +1796,7 @@ class Query:
1772
1796
  get_sdk_configuration = query_get_sdk_configuration()
1773
1797
  get_subscription = query_get_subscription()
1774
1798
  get_usage_history = query_get_usage_history()
1799
+ get_usage_history_v2 = query_get_usage_history_v2()
1775
1800
 
1776
1801
 
1777
1802
  def subscription_on_entitlements_updated():
stigg/generated/schema.py CHANGED
@@ -275,7 +275,7 @@ class JSON(sgqlc.types.Scalar):
275
275
 
276
276
  class MemberSortFields(sgqlc.types.Enum):
277
277
  __schema__ = schema
278
- __choices__ = ('createdAt', 'id')
278
+ __choices__ = ('createdAt', 'email', 'id')
279
279
 
280
280
 
281
281
  class MemberStatus(sgqlc.types.Enum):
@@ -2377,11 +2377,23 @@ class MarkInvoiceAsPaidInput(sgqlc.types.Input):
2377
2377
 
2378
2378
  class MemberFilter(sgqlc.types.Input):
2379
2379
  __schema__ = schema
2380
- __field_names__ = ('and_', 'created_at', 'id', 'or_')
2380
+ __field_names__ = ('and_', 'created_at', 'email', 'id', 'or_', 'user')
2381
2381
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MemberFilter')), graphql_name='and')
2382
2382
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
2383
+ email = sgqlc.types.Field('StringFieldComparison', graphql_name='email')
2383
2384
  id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
2384
2385
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MemberFilter')), graphql_name='or')
2386
+ user = sgqlc.types.Field('MemberFilterUserFilter', graphql_name='user')
2387
+
2388
+
2389
+ class MemberFilterUserFilter(sgqlc.types.Input):
2390
+ __schema__ = schema
2391
+ __field_names__ = ('and_', 'email', 'id', 'name', 'or_')
2392
+ and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MemberFilterUserFilter')), graphql_name='and')
2393
+ email = sgqlc.types.Field('StringFieldComparison', graphql_name='email')
2394
+ id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
2395
+ name = sgqlc.types.Field('StringFieldComparison', graphql_name='name')
2396
+ or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MemberFilterUserFilter')), graphql_name='or')
2385
2397
 
2386
2398
 
2387
2399
  class MemberSort(sgqlc.types.Input):
@@ -6595,8 +6607,9 @@ class Member(sgqlc.types.Type):
6595
6607
 
6596
6608
  class MemberAggregateGroupBy(sgqlc.types.Type):
6597
6609
  __schema__ = schema
6598
- __field_names__ = ('created_at', 'id')
6610
+ __field_names__ = ('created_at', 'email', 'id')
6599
6611
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6612
+ email = sgqlc.types.Field(String, graphql_name='email')
6600
6613
  id = sgqlc.types.Field(String, graphql_name='id')
6601
6614
 
6602
6615
 
@@ -6610,8 +6623,9 @@ class MemberConnection(sgqlc.types.relay.Connection):
6610
6623
 
6611
6624
  class MemberCountAggregate(sgqlc.types.Type):
6612
6625
  __schema__ = schema
6613
- __field_names__ = ('created_at', 'id')
6626
+ __field_names__ = ('created_at', 'email', 'id')
6614
6627
  created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
6628
+ email = sgqlc.types.Field(Int, graphql_name='email')
6615
6629
  id = sgqlc.types.Field(Int, graphql_name='id')
6616
6630
 
6617
6631
 
@@ -6631,15 +6645,17 @@ class MemberInvitationError(sgqlc.types.Type):
6631
6645
 
6632
6646
  class MemberMaxAggregate(sgqlc.types.Type):
6633
6647
  __schema__ = schema
6634
- __field_names__ = ('created_at', 'id')
6648
+ __field_names__ = ('created_at', 'email', 'id')
6635
6649
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6650
+ email = sgqlc.types.Field(String, graphql_name='email')
6636
6651
  id = sgqlc.types.Field(String, graphql_name='id')
6637
6652
 
6638
6653
 
6639
6654
  class MemberMinAggregate(sgqlc.types.Type):
6640
6655
  __schema__ = schema
6641
- __field_names__ = ('created_at', 'id')
6656
+ __field_names__ = ('created_at', 'email', 'id')
6642
6657
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6658
+ email = sgqlc.types.Field(String, graphql_name='email')
6643
6659
  id = sgqlc.types.Field(String, graphql_name='id')
6644
6660
 
6645
6661
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.234.0
3
+ Version: 2.240.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -0,0 +1,9 @@
1
+ stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
+ stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
+ stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ stigg/generated/operations.py,sha256=XZTc9QY2zvADVjW_5oUBsp7X1S5bwUTi_lfFPSKG5rs,79480
5
+ stigg/generated/schema.py,sha256=8VtfdtcE9NI5WGpp5T4dOsuQGamW_BrpEuff0at2rOg,630046
6
+ stigg_api_client-2.240.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-2.240.0.dist-info/METADATA,sha256=3LfsU_ODYRlkv2IpGW_oGaD2gqdZNwUpMvXCIG4yTCA,3198
8
+ stigg_api_client-2.240.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-2.240.0.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
- stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
- stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- stigg/generated/operations.py,sha256=ECFF0vOPXz7vGFYqIwxfOKg8k8EMcew7VZbtgoelhIs,78434
5
- stigg/generated/schema.py,sha256=sw2sWHYGWPxLpmJ4YbY0KS-Yhn1NQsT10emjVADkic8,629001
6
- stigg_api_client-2.234.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-2.234.0.dist-info/METADATA,sha256=9651UKjQ90K43OxfMIyjjUfp8Af8EXbFiwNAM3TYcOk,3198
8
- stigg_api_client-2.234.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-2.234.0.dist-info/RECORD,,