stigg-api-client 1.214.2__tar.gz → 1.215.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.214.2
3
+ Version: 1.215.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.214.2"
3
+ version = "1.215.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -180,7 +180,7 @@ class ErrorCode(sgqlc.types.Enum):
180
180
 
181
181
  class EventActor(sgqlc.types.Enum):
182
182
  __schema__ = schema
183
- __choices__ = ('APP_CUSTOMER', 'APP_PUBLIC', 'APP_SERVER', 'SALESFORCE', 'SERVICE', 'STRIPE', 'SUPPORT', 'USER')
183
+ __choices__ = ('APP_CUSTOMER', 'APP_PUBLIC', 'APP_SERVER', 'AWS', 'SALESFORCE', 'SCHEDULER', 'SERVICE', 'STRIPE', 'SUPPORT', 'SYSTEM', 'USER')
184
184
 
185
185
 
186
186
  class EventEntityType(sgqlc.types.Enum):
@@ -190,7 +190,7 @@ class EventEntityType(sgqlc.types.Enum):
190
190
 
191
191
  class EventLogSortFields(sgqlc.types.Enum):
192
192
  __schema__ = schema
193
- __choices__ = ('createdAt', 'entityId', 'eventLogType', 'parentEntityId')
193
+ __choices__ = ('createdAt', 'entityId', 'environmentId', 'eventLogType', 'parentEntityId')
194
194
 
195
195
 
196
196
  class EventLogType(sgqlc.types.Enum):
@@ -1746,6 +1746,12 @@ class EventLogEntityIdFilterComparison(sgqlc.types.Input):
1746
1746
  in_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='in')
1747
1747
 
1748
1748
 
1749
+ class EventLogEnvironmentIdFilterComparison(sgqlc.types.Input):
1750
+ __schema__ = schema
1751
+ __field_names__ = ('eq',)
1752
+ eq = sgqlc.types.Field(String, graphql_name='eq')
1753
+
1754
+
1749
1755
  class EventLogEventLogTypeFilterComparison(sgqlc.types.Input):
1750
1756
  __schema__ = schema
1751
1757
  __field_names__ = ('eq', 'in_', 'neq', 'not_in')
@@ -1757,10 +1763,11 @@ class EventLogEventLogTypeFilterComparison(sgqlc.types.Input):
1757
1763
 
1758
1764
  class EventLogFilter(sgqlc.types.Input):
1759
1765
  __schema__ = schema
1760
- __field_names__ = ('and_', 'created_at', 'entity_id', 'event_log_type', 'or_', 'parent_entity_id')
1766
+ __field_names__ = ('and_', 'created_at', 'entity_id', 'environment_id', 'event_log_type', 'or_', 'parent_entity_id')
1761
1767
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('EventLogFilter')), graphql_name='and')
1762
1768
  created_at = sgqlc.types.Field(EventLogCreatedAtFilterComparison, graphql_name='createdAt')
1763
1769
  entity_id = sgqlc.types.Field(EventLogEntityIdFilterComparison, graphql_name='entityId')
1770
+ environment_id = sgqlc.types.Field(sgqlc.types.non_null(EventLogEnvironmentIdFilterComparison), graphql_name='environmentId')
1764
1771
  event_log_type = sgqlc.types.Field(EventLogEventLogTypeFilterComparison, graphql_name='eventLogType')
1765
1772
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('EventLogFilter')), graphql_name='or')
1766
1773
  parent_entity_id = sgqlc.types.Field('EventLogParentEntityIdFilterComparison', graphql_name='parentEntityId')
@@ -5655,9 +5662,10 @@ class EventLog(sgqlc.types.Type):
5655
5662
 
5656
5663
  class EventLogAggregateGroupBy(sgqlc.types.Type):
5657
5664
  __schema__ = schema
5658
- __field_names__ = ('created_at', 'entity_id', 'event_log_type', 'parent_entity_id')
5665
+ __field_names__ = ('created_at', 'entity_id', 'environment_id', 'event_log_type', 'parent_entity_id')
5659
5666
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
5660
5667
  entity_id = sgqlc.types.Field(String, graphql_name='entityId')
5668
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
5661
5669
  event_log_type = sgqlc.types.Field(EventLogType, graphql_name='eventLogType')
5662
5670
  parent_entity_id = sgqlc.types.Field(String, graphql_name='parentEntityId')
5663
5671
 
@@ -5671,9 +5679,10 @@ class EventLogConnection(sgqlc.types.relay.Connection):
5671
5679
 
5672
5680
  class EventLogCountAggregate(sgqlc.types.Type):
5673
5681
  __schema__ = schema
5674
- __field_names__ = ('created_at', 'entity_id', 'event_log_type', 'parent_entity_id')
5682
+ __field_names__ = ('created_at', 'entity_id', 'environment_id', 'event_log_type', 'parent_entity_id')
5675
5683
  created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
5676
5684
  entity_id = sgqlc.types.Field(Int, graphql_name='entityId')
5685
+ environment_id = sgqlc.types.Field(Int, graphql_name='environmentId')
5677
5686
  event_log_type = sgqlc.types.Field(Int, graphql_name='eventLogType')
5678
5687
  parent_entity_id = sgqlc.types.Field(Int, graphql_name='parentEntityId')
5679
5688
 
@@ -5687,18 +5696,20 @@ class EventLogEdge(sgqlc.types.Type):
5687
5696
 
5688
5697
  class EventLogMaxAggregate(sgqlc.types.Type):
5689
5698
  __schema__ = schema
5690
- __field_names__ = ('created_at', 'entity_id', 'event_log_type', 'parent_entity_id')
5699
+ __field_names__ = ('created_at', 'entity_id', 'environment_id', 'event_log_type', 'parent_entity_id')
5691
5700
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
5692
5701
  entity_id = sgqlc.types.Field(String, graphql_name='entityId')
5702
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
5693
5703
  event_log_type = sgqlc.types.Field(EventLogType, graphql_name='eventLogType')
5694
5704
  parent_entity_id = sgqlc.types.Field(String, graphql_name='parentEntityId')
5695
5705
 
5696
5706
 
5697
5707
  class EventLogMinAggregate(sgqlc.types.Type):
5698
5708
  __schema__ = schema
5699
- __field_names__ = ('created_at', 'entity_id', 'event_log_type', 'parent_entity_id')
5709
+ __field_names__ = ('created_at', 'entity_id', 'environment_id', 'event_log_type', 'parent_entity_id')
5700
5710
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
5701
5711
  entity_id = sgqlc.types.Field(String, graphql_name='entityId')
5712
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
5702
5713
  event_log_type = sgqlc.types.Field(EventLogType, graphql_name='eventLogType')
5703
5714
  parent_entity_id = sgqlc.types.Field(String, graphql_name='parentEntityId')
5704
5715
 
@@ -8230,7 +8241,7 @@ class Query(sgqlc.types.Type):
8230
8241
  ))
8231
8242
  )
8232
8243
  event_logs = sgqlc.types.Field(sgqlc.types.non_null(EventLogConnection), graphql_name='eventLogs', args=sgqlc.types.ArgDict((
8233
- ('filter', sgqlc.types.Arg(EventLogFilter, graphql_name='filter', default={'eventLogType': {'neq': 'MEASUREMENT_REPORTED'}})),
8244
+ ('filter', sgqlc.types.Arg(sgqlc.types.non_null(EventLogFilter), graphql_name='filter', default=None)),
8234
8245
  ('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 50})),
8235
8246
  ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(EventLogSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
8236
8247
  ))