stigg-api-client 1.199.0__tar.gz → 1.201.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.199.0
3
+ Version: 1.201.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.199.0"
3
+ version = "1.201.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -280,11 +280,19 @@ def fragment_subscription_invoice_fragment():
280
280
  _frag.status()
281
281
  _frag.created_at()
282
282
  _frag.updated_at()
283
+ _frag.error_message()
283
284
  _frag.requires_action()
284
- _frag.payment_url()
285
285
  _frag.payment_secret()
286
- _frag.error_message()
286
+ _frag.payment_url()
287
+ _frag.pdf_url()
287
288
  _frag.billing_reason()
289
+ _frag.currency()
290
+ _frag.sub_total()
291
+ _frag.sub_total_excluding_tax()
292
+ _frag.total()
293
+ _frag.total_excluding_tax()
294
+ _frag.tax()
295
+ _frag.amount_due()
288
296
  return _frag
289
297
 
290
298
 
@@ -183,6 +183,11 @@ class EventActor(sgqlc.types.Enum):
183
183
  __choices__ = ('APP_CUSTOMER', 'APP_PUBLIC', 'APP_SERVER', 'SALESFORCE', 'SERVICE', 'STRIPE', 'SUPPORT', 'USER')
184
184
 
185
185
 
186
+ class EventEntityType(sgqlc.types.Enum):
187
+ __schema__ = schema
188
+ __choices__ = ('ADDON', 'COUPON', 'CUSTOMER', 'ENTITLEMENT', 'FEATURE', 'IMPORT', 'MEASUREMENT', 'PACKAGE', 'PACKAGE_GROUP', 'PLAN', 'PRODUCT', 'PROMOTIONAL_ENTITLEMENT', 'SUBSCRIPTION')
189
+
190
+
186
191
  class EventLogSortFields(sgqlc.types.Enum):
187
192
  __schema__ = schema
188
193
  __choices__ = ('createdAt', 'entityId', 'eventLogType', 'parentEntityId')
@@ -1735,9 +1740,11 @@ class EventLogEntityIdFilterComparison(sgqlc.types.Input):
1735
1740
 
1736
1741
  class EventLogEventLogTypeFilterComparison(sgqlc.types.Input):
1737
1742
  __schema__ = schema
1738
- __field_names__ = ('eq', 'in_')
1743
+ __field_names__ = ('eq', 'in_', 'neq', 'not_in')
1739
1744
  eq = sgqlc.types.Field(EventLogType, graphql_name='eq')
1740
1745
  in_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(EventLogType)), graphql_name='in')
1746
+ neq = sgqlc.types.Field(EventLogType, graphql_name='neq')
1747
+ not_in = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(EventLogType)), graphql_name='notIn')
1741
1748
 
1742
1749
 
1743
1750
  class EventLogFilter(sgqlc.types.Input):
@@ -5602,11 +5609,12 @@ class EventActorInfo(sgqlc.types.Type):
5602
5609
 
5603
5610
  class EventLog(sgqlc.types.Type):
5604
5611
  __schema__ = schema
5605
- __field_names__ = ('account_id', 'actor', 'created_at', 'entity_id', 'environment_id', 'event_log_type', 'id', 'parent_entity_id', 'payload', 'request', 'webhooks')
5612
+ __field_names__ = ('account_id', 'actor', 'created_at', 'entity_id', 'entity_type', 'environment_id', 'event_log_type', 'id', 'parent_entity_id', 'payload', 'request', 'webhooks')
5606
5613
  account_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='accountId')
5607
5614
  actor = sgqlc.types.Field(EventActorInfo, graphql_name='actor')
5608
5615
  created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
5609
5616
  entity_id = sgqlc.types.Field(String, graphql_name='entityId')
5617
+ entity_type = sgqlc.types.Field(EventEntityType, graphql_name='entityType')
5610
5618
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
5611
5619
  event_log_type = sgqlc.types.Field(sgqlc.types.non_null(EventLogType), graphql_name='eventLogType')
5612
5620
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
@@ -8179,7 +8187,7 @@ class Query(sgqlc.types.Type):
8179
8187
  ))
8180
8188
  )
8181
8189
  event_logs = sgqlc.types.Field(sgqlc.types.non_null(EventLogConnection), graphql_name='eventLogs', args=sgqlc.types.ArgDict((
8182
- ('filter', sgqlc.types.Arg(EventLogFilter, graphql_name='filter', default={'eventLogType': {}})),
8190
+ ('filter', sgqlc.types.Arg(EventLogFilter, graphql_name='filter', default={'eventLogType': {'neq': 'MEASUREMENT_REPORTED'}})),
8183
8191
  ('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 50})),
8184
8192
  ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(EventLogSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
8185
8193
  ))