stigg-api-client 1.111.1__tar.gz → 1.113.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: 1.111.1
3
+ Version: 1.113.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 = "1.111.1"
3
+ version = "1.113.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -1096,6 +1096,14 @@ def fragment_usage_history_fragment():
1096
1096
  _frag_usage_measurements.date()
1097
1097
  _frag_usage_measurements.value()
1098
1098
  _frag_usage_measurements.is_reset_point()
1099
+ _frag_groups = _frag.groups()
1100
+ _frag_groups_group_info = _frag_groups.group_info()
1101
+ _frag_groups_group_info.key()
1102
+ _frag_groups_group_info.value()
1103
+ _frag_groups_usage_measurements = _frag_groups.usage_measurements()
1104
+ _frag_groups_usage_measurements.date()
1105
+ _frag_groups_usage_measurements.value()
1106
+ _frag_groups_usage_measurements.is_reset_point()
1099
1107
  return _frag
1100
1108
 
1101
1109
 
@@ -1647,9 +1647,13 @@ class EstimateSubscriptionUpdateInput(sgqlc.types.Input):
1647
1647
 
1648
1648
  class EventsFieldsInput(sgqlc.types.Input):
1649
1649
  __schema__ = schema
1650
- __field_names__ = ('environment_id', 'filters')
1650
+ __field_names__ = ('customer_id', 'environment_id', 'filters', 'meter_id', 'resource_id', 'unique_values_limit')
1651
+ customer_id = sgqlc.types.Field(String, graphql_name='customerId')
1651
1652
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
1652
1653
  filters = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MeterFilterDefinitionInput')), graphql_name='filters')
1654
+ meter_id = sgqlc.types.Field(String, graphql_name='meterId')
1655
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
1656
+ unique_values_limit = sgqlc.types.Field(Float, graphql_name='uniqueValuesLimit')
1653
1657
 
1654
1658
 
1655
1659
  class EventsListInput(sgqlc.types.Input):
@@ -3960,11 +3964,12 @@ class UsageEventsReportInput(sgqlc.types.Input):
3960
3964
 
3961
3965
  class UsageHistoryInput(sgqlc.types.Input):
3962
3966
  __schema__ = schema
3963
- __field_names__ = ('customer_ref_id', 'end_date', 'environment_id', 'feature_ref_id', 'monthly_reset_period_configuration', 'reset_period', 'resource_ref_id', 'start_date', 'weekly_reset_period_configuration', 'yearly_reset_period_configuration')
3967
+ __field_names__ = ('customer_ref_id', 'end_date', 'environment_id', 'feature_ref_id', 'group_by', 'monthly_reset_period_configuration', 'reset_period', 'resource_ref_id', 'start_date', 'weekly_reset_period_configuration', 'yearly_reset_period_configuration')
3964
3968
  customer_ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerRefId')
3965
3969
  end_date = sgqlc.types.Field(DateTime, graphql_name='endDate')
3966
3970
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
3967
3971
  feature_ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureRefId')
3972
+ group_by = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='groupBy')
3968
3973
  monthly_reset_period_configuration = sgqlc.types.Field(MonthlyResetPeriodConfigInput, graphql_name='monthlyResetPeriodConfiguration')
3969
3974
  reset_period = sgqlc.types.Field(EntitlementResetPeriod, graphql_name='resetPeriod')
3970
3975
  resource_ref_id = sgqlc.types.Field(String, graphql_name='resourceRefId')
@@ -5672,6 +5677,20 @@ class GetAwsExternalIdResult(sgqlc.types.Type):
5672
5677
  external_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='externalId')
5673
5678
 
5674
5679
 
5680
+ class GroupInfo(sgqlc.types.Type):
5681
+ __schema__ = schema
5682
+ __field_names__ = ('key', 'value')
5683
+ key = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='key')
5684
+ value = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='value')
5685
+
5686
+
5687
+ class GroupUsageHistory(sgqlc.types.Type):
5688
+ __schema__ = schema
5689
+ __field_names__ = ('group_info', 'usage_measurements')
5690
+ group_info = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(GroupInfo))), graphql_name='groupInfo')
5691
+ usage_measurements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('UsageMeasurementPoint'))), graphql_name='usageMeasurements')
5692
+
5693
+
5675
5694
  class HiddenFromWidgetsChange(sgqlc.types.Type):
5676
5695
  __schema__ = schema
5677
5696
  __field_names__ = ('after', 'before', 'change_type')
@@ -8779,8 +8798,9 @@ class UsageEventsPreview(sgqlc.types.Type):
8779
8798
 
8780
8799
  class UsageHistory(sgqlc.types.Type):
8781
8800
  __schema__ = schema
8782
- __field_names__ = ('end_date', 'start_date', 'usage_measurements')
8801
+ __field_names__ = ('end_date', 'groups', 'start_date', 'usage_measurements')
8783
8802
  end_date = sgqlc.types.Field(DateTime, graphql_name='endDate')
8803
+ groups = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(GroupUsageHistory)), graphql_name='groups')
8784
8804
  start_date = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='startDate')
8785
8805
  usage_measurements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('UsageMeasurementPoint'))), graphql_name='usageMeasurements')
8786
8806