stigg-api-client 3.97.0__tar.gz → 3.98.1__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: 3.97.0
3
+ Version: 3.98.1
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 = "3.97.0"
3
+ version = "3.98.1"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -1508,6 +1508,16 @@ def fragment_payment_session_fragment():
1508
1508
  return _frag
1509
1509
 
1510
1510
 
1511
+ def fragment_slim_custom_currency_fragment():
1512
+ _frag = sgqlc.operation.Fragment(_schema.SlimCustomCurrency, 'SlimCustomCurrencyFragment')
1513
+ _frag.currency_id()
1514
+ _frag.display_name()
1515
+ _frag_units = _frag.units()
1516
+ _frag_units.singular()
1517
+ _frag_units.plural()
1518
+ return _frag
1519
+
1520
+
1511
1521
  def fragment_credit_usage_fragment():
1512
1522
  _frag = sgqlc.operation.Fragment(_schema.CreditUsage, 'CreditUsageFragment')
1513
1523
  _frag_series = _frag.series()
@@ -1517,6 +1527,8 @@ def fragment_credit_usage_fragment():
1517
1527
  _frag_series_points = _frag_series.points()
1518
1528
  _frag_series_points.timestamp()
1519
1529
  _frag_series_points.value()
1530
+ _frag_currency = _frag.currency()
1531
+ _frag_currency.__fragment__(fragment_slim_custom_currency_fragment())
1520
1532
  return _frag
1521
1533
 
1522
1534
 
@@ -1577,6 +1589,7 @@ class Fragment:
1577
1589
  report_usage_fragment = fragment_report_usage_fragment()
1578
1590
  reset_period_configuration_fragment = fragment_reset_period_configuration_fragment()
1579
1591
  schedule_variables_fragment = fragment_schedule_variables_fragment()
1592
+ slim_custom_currency_fragment = fragment_slim_custom_currency_fragment()
1580
1593
  slim_customer_fragment = fragment_slim_customer_fragment()
1581
1594
  slim_subscription_fragment = fragment_slim_subscription_fragment()
1582
1595
  slim_subscription_fragment_v2 = fragment_slim_subscription_fragment_v2()
@@ -5849,7 +5849,8 @@ class CreditRate(sgqlc.types.Type):
5849
5849
 
5850
5850
  class CreditUsage(sgqlc.types.Type):
5851
5851
  __schema__ = schema
5852
- __field_names__ = ('series',)
5852
+ __field_names__ = ('currency', 'series')
5853
+ currency = sgqlc.types.Field('SlimCustomCurrency', graphql_name='currency')
5853
5854
  series = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('CreditUsageSeries'))), graphql_name='series')
5854
5855
 
5855
5856