stigg-api-client 2.141.0__tar.gz → 2.151.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: 2.141.0
3
+ Version: 2.151.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 = "2.141.0"
3
+ version = "2.151.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -737,6 +737,8 @@ def fragment_usage_updated_fragment():
737
737
  _frag.resource_id()
738
738
  _frag.feature_id()
739
739
  _frag.current_usage()
740
+ _frag.usage_period_start()
741
+ _frag.usage_period_end()
740
742
  _frag.next_reset_date()
741
743
  return _frag
742
744
 
@@ -755,6 +757,9 @@ def fragment_entitlement_fragment():
755
757
  _frag.requested_usage()
756
758
  _frag.entitlement_updated_at()
757
759
  _frag.usage_updated_at()
760
+ _frag.usage_period_anchor()
761
+ _frag.usage_period_start()
762
+ _frag.usage_period_end()
758
763
  _frag.next_reset_date()
759
764
  _frag.reset_period()
760
765
  _frag_reset_period_configuration = _frag.reset_period_configuration()
@@ -1025,6 +1030,8 @@ def fragment_customer_portal_entitlement_fragment():
1025
1030
  _frag.current_usage()
1026
1031
  _frag.has_unlimited_usage()
1027
1032
  _frag.has_soft_limit()
1033
+ _frag.usage_period_start()
1034
+ _frag.usage_period_end()
1028
1035
  _frag.next_reset_date()
1029
1036
  _frag.reset_period()
1030
1037
  _frag_reset_period_configuration = _frag.reset_period_configuration()
@@ -1268,6 +1275,8 @@ def fragment_report_usage_fragment():
1268
1275
  _frag.customer_id()
1269
1276
  _frag.resource_id()
1270
1277
  _frag.current_usage()
1278
+ _frag.usage_period_start()
1279
+ _frag.usage_period_end()
1271
1280
  _frag.next_reset_date()
1272
1281
  _frag.timestamp()
1273
1282
  return _frag
@@ -5544,7 +5544,7 @@ class EligibleForTrial(sgqlc.types.Type):
5544
5544
 
5545
5545
  class Entitlement(sgqlc.types.Type):
5546
5546
  __schema__ = schema
5547
- __field_names__ = ('access_denied_reason', 'current_usage', 'customer_id', 'display_name_override', 'entitlement_updated_at', 'feature', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_granted', 'meter_id', 'next_reset_date', 'requested_usage', 'reset_period', 'reset_period_configuration', 'resource_id', 'usage_limit', 'usage_updated_at')
5547
+ __field_names__ = ('access_denied_reason', 'current_usage', 'customer_id', 'display_name_override', 'entitlement_updated_at', 'feature', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_granted', 'meter_id', 'next_reset_date', 'requested_usage', 'reset_period', 'reset_period_configuration', 'resource_id', 'usage_limit', 'usage_period_anchor', 'usage_period_end', 'usage_period_start', 'usage_updated_at')
5548
5548
  access_denied_reason = sgqlc.types.Field(AccessDeniedReason, graphql_name='accessDeniedReason')
5549
5549
  current_usage = sgqlc.types.Field(Float, graphql_name='currentUsage')
5550
5550
  customer_id = sgqlc.types.Field(String, graphql_name='customerId')
@@ -5562,6 +5562,9 @@ class Entitlement(sgqlc.types.Type):
5562
5562
  reset_period_configuration = sgqlc.types.Field('ResetPeriodConfiguration', graphql_name='resetPeriodConfiguration')
5563
5563
  resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
5564
5564
  usage_limit = sgqlc.types.Field(Float, graphql_name='usageLimit')
5565
+ usage_period_anchor = sgqlc.types.Field(DateTime, graphql_name='usagePeriodAnchor')
5566
+ usage_period_end = sgqlc.types.Field(DateTime, graphql_name='usagePeriodEnd')
5567
+ usage_period_start = sgqlc.types.Field(DateTime, graphql_name='usagePeriodStart')
5565
5568
  usage_updated_at = sgqlc.types.Field(DateTime, graphql_name='usageUpdatedAt')
5566
5569
 
5567
5570
 
@@ -5603,7 +5606,7 @@ class EntitlementSummary(sgqlc.types.Type):
5603
5606
 
5604
5607
  class EntitlementWithSummary(sgqlc.types.Type):
5605
5608
  __schema__ = schema
5606
- __field_names__ = ('access_denied_reason', 'current_usage', 'customer_id', 'display_name_override', 'entitlement_updated_at', 'feature', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_granted', 'meter_id', 'next_reset_date', 'requested_usage', 'reset_period', 'reset_period_configuration', 'resource_id', 'summaries', 'usage_limit', 'usage_updated_at')
5609
+ __field_names__ = ('access_denied_reason', 'current_usage', 'customer_id', 'display_name_override', 'entitlement_updated_at', 'feature', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_granted', 'meter_id', 'next_reset_date', 'requested_usage', 'reset_period', 'reset_period_configuration', 'resource_id', 'summaries', 'usage_limit', 'usage_period_anchor', 'usage_period_end', 'usage_period_start', 'usage_updated_at')
5607
5610
  access_denied_reason = sgqlc.types.Field(AccessDeniedReason, graphql_name='accessDeniedReason')
5608
5611
  current_usage = sgqlc.types.Field(Float, graphql_name='currentUsage')
5609
5612
  customer_id = sgqlc.types.Field(String, graphql_name='customerId')
@@ -5622,6 +5625,9 @@ class EntitlementWithSummary(sgqlc.types.Type):
5622
5625
  resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
5623
5626
  summaries = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(EntitlementSummary)), graphql_name='summaries')
5624
5627
  usage_limit = sgqlc.types.Field(Float, graphql_name='usageLimit')
5628
+ usage_period_anchor = sgqlc.types.Field(DateTime, graphql_name='usagePeriodAnchor')
5629
+ usage_period_end = sgqlc.types.Field(DateTime, graphql_name='usagePeriodEnd')
5630
+ usage_period_start = sgqlc.types.Field(DateTime, graphql_name='usagePeriodStart')
5625
5631
  usage_updated_at = sgqlc.types.Field(DateTime, graphql_name='usageUpdatedAt')
5626
5632
 
5627
5633
 
@@ -9479,7 +9485,7 @@ class UsageMeasurementSumAggregate(sgqlc.types.Type):
9479
9485
 
9480
9486
  class UsageMeasurementUpdated(sgqlc.types.Type):
9481
9487
  __schema__ = schema
9482
- __field_names__ = ('account_id', 'current_usage', 'customer_id', 'environment_id', 'feature_id', 'next_reset_date', 'resource_id')
9488
+ __field_names__ = ('account_id', 'current_usage', 'customer_id', 'environment_id', 'feature_id', 'next_reset_date', 'resource_id', 'usage_period_end', 'usage_period_start')
9483
9489
  account_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='accountId')
9484
9490
  current_usage = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='currentUsage')
9485
9491
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
@@ -9487,11 +9493,13 @@ class UsageMeasurementUpdated(sgqlc.types.Type):
9487
9493
  feature_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureId')
9488
9494
  next_reset_date = sgqlc.types.Field(Float, graphql_name='nextResetDate')
9489
9495
  resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
9496
+ usage_period_end = sgqlc.types.Field(Float, graphql_name='usagePeriodEnd')
9497
+ usage_period_start = sgqlc.types.Field(Float, graphql_name='usagePeriodStart')
9490
9498
 
9491
9499
 
9492
9500
  class UsageMeasurementWithCurrentUsage(sgqlc.types.Type):
9493
9501
  __schema__ = schema
9494
- __field_names__ = ('created_at', 'current_usage', 'customer_id', 'environment_id', 'feature_id', 'id', 'next_reset_date', 'resource_id', 'timestamp', 'value')
9502
+ __field_names__ = ('created_at', 'current_usage', 'customer_id', 'environment_id', 'feature_id', 'id', 'next_reset_date', 'resource_id', 'timestamp', 'usage_period_end', 'usage_period_start', 'value')
9495
9503
  created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
9496
9504
  current_usage = sgqlc.types.Field(Float, graphql_name='currentUsage')
9497
9505
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
@@ -9501,6 +9509,8 @@ class UsageMeasurementWithCurrentUsage(sgqlc.types.Type):
9501
9509
  next_reset_date = sgqlc.types.Field(DateTime, graphql_name='nextResetDate')
9502
9510
  resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
9503
9511
  timestamp = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='timestamp')
9512
+ usage_period_end = sgqlc.types.Field(DateTime, graphql_name='usagePeriodEnd')
9513
+ usage_period_start = sgqlc.types.Field(DateTime, graphql_name='usagePeriodStart')
9504
9514
  value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='value')
9505
9515
 
9506
9516