stigg-api-client 3.96.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.96.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.96.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()
@@ -2959,12 +2959,13 @@ class OverageEntitlementCreateInput(sgqlc.types.Input):
2959
2959
 
2960
2960
  class OveragePricingModelCreateInput(sgqlc.types.Input):
2961
2961
  __schema__ = schema
2962
- __field_names__ = ('billing_cadence', 'billing_model', 'entitlement', 'feature_id', 'price_periods')
2962
+ __field_names__ = ('billing_cadence', 'billing_model', 'entitlement', 'feature_id', 'price_periods', 'top_up_custom_currency_id')
2963
2963
  billing_cadence = sgqlc.types.Field(BillingCadence, graphql_name='billingCadence')
2964
2964
  billing_model = sgqlc.types.Field(sgqlc.types.non_null(BillingModel), graphql_name='billingModel')
2965
2965
  entitlement = sgqlc.types.Field(OverageEntitlementCreateInput, graphql_name='entitlement')
2966
2966
  feature_id = sgqlc.types.Field(String, graphql_name='featureId')
2967
2967
  price_periods = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PricePeriodInput'))), graphql_name='pricePeriods')
2968
+ top_up_custom_currency_id = sgqlc.types.Field(String, graphql_name='topUpCustomCurrencyId')
2968
2969
 
2969
2970
 
2970
2971
  class PackageDTOFilter(sgqlc.types.Input):
@@ -3498,7 +3499,7 @@ class PriceTierInput(sgqlc.types.Input):
3498
3499
 
3499
3500
  class PricingModelCreateInput(sgqlc.types.Input):
3500
3501
  __schema__ = schema
3501
- __field_names__ = ('billing_cadence', 'billing_model', 'feature_id', 'max_unit_quantity', 'min_unit_quantity', 'monthly_reset_period_configuration', 'price_periods', 'reset_period', 'tiers_mode', 'weekly_reset_period_configuration', 'yearly_reset_period_configuration')
3502
+ __field_names__ = ('billing_cadence', 'billing_model', 'feature_id', 'max_unit_quantity', 'min_unit_quantity', 'monthly_reset_period_configuration', 'price_periods', 'reset_period', 'tiers_mode', 'top_up_custom_currency_id', 'weekly_reset_period_configuration', 'yearly_reset_period_configuration')
3502
3503
  billing_cadence = sgqlc.types.Field(BillingCadence, graphql_name='billingCadence')
3503
3504
  billing_model = sgqlc.types.Field(sgqlc.types.non_null(BillingModel), graphql_name='billingModel')
3504
3505
  feature_id = sgqlc.types.Field(String, graphql_name='featureId')
@@ -3508,6 +3509,7 @@ class PricingModelCreateInput(sgqlc.types.Input):
3508
3509
  price_periods = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(PricePeriodInput))), graphql_name='pricePeriods')
3509
3510
  reset_period = sgqlc.types.Field(EntitlementResetPeriod, graphql_name='resetPeriod')
3510
3511
  tiers_mode = sgqlc.types.Field(TiersMode, graphql_name='tiersMode')
3512
+ top_up_custom_currency_id = sgqlc.types.Field(String, graphql_name='topUpCustomCurrencyId')
3511
3513
  weekly_reset_period_configuration = sgqlc.types.Field('WeeklyResetPeriodConfigInput', graphql_name='weeklyResetPeriodConfiguration')
3512
3514
  yearly_reset_period_configuration = sgqlc.types.Field('YearlyResetPeriodConfigInput', graphql_name='yearlyResetPeriodConfiguration')
3513
3515
 
@@ -5847,7 +5849,8 @@ class CreditRate(sgqlc.types.Type):
5847
5849
 
5848
5850
  class CreditUsage(sgqlc.types.Type):
5849
5851
  __schema__ = schema
5850
- __field_names__ = ('series',)
5852
+ __field_names__ = ('currency', 'series')
5853
+ currency = sgqlc.types.Field('SlimCustomCurrency', graphql_name='currency')
5851
5854
  series = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('CreditUsageSeries'))), graphql_name='series')
5852
5855
 
5853
5856
 
@@ -9169,7 +9172,7 @@ class PreparedPaymentMethodForm(sgqlc.types.Type):
9169
9172
 
9170
9173
  class Price(sgqlc.types.Type):
9171
9174
  __schema__ = schema
9172
- __field_names__ = ('billing_cadence', 'billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'created_at', 'credit_rate', 'crm_id', 'crm_link_url', 'environment_id', 'feature', 'feature_id', 'id', 'is_override_price', 'max_unit_quantity', 'min_unit_quantity', 'package', 'package_id', 'price', 'reset_period', 'reset_period_configuration', 'tiers', 'tiers_mode', 'used_in_subscriptions')
9175
+ __field_names__ = ('billing_cadence', 'billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'created_at', 'credit_rate', 'crm_id', 'crm_link_url', 'environment_id', 'feature', 'feature_id', 'id', 'is_override_price', 'max_unit_quantity', 'min_unit_quantity', 'package', 'package_id', 'price', 'reset_period', 'reset_period_configuration', 'tiers', 'tiers_mode', 'top_up_custom_currency_id', 'used_in_subscriptions')
9173
9176
  billing_cadence = sgqlc.types.Field(sgqlc.types.non_null(BillingCadence), graphql_name='billingCadence')
9174
9177
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
9175
9178
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
@@ -9194,6 +9197,7 @@ class Price(sgqlc.types.Type):
9194
9197
  reset_period_configuration = sgqlc.types.Field('ResetPeriodConfiguration', graphql_name='resetPeriodConfiguration')
9195
9198
  tiers = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PriceTier')), graphql_name='tiers')
9196
9199
  tiers_mode = sgqlc.types.Field(TiersMode, graphql_name='tiersMode')
9200
+ top_up_custom_currency_id = sgqlc.types.Field(UUID, graphql_name='topUpCustomCurrencyId')
9197
9201
  used_in_subscriptions = sgqlc.types.Field(Boolean, graphql_name='usedInSubscriptions')
9198
9202
 
9199
9203
 
@@ -9223,7 +9227,7 @@ class PriceCountAggregate(sgqlc.types.Type):
9223
9227
 
9224
9228
  class PriceDeleteResponse(sgqlc.types.Type):
9225
9229
  __schema__ = schema
9226
- __field_names__ = ('billing_cadence', 'billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'created_at', 'credit_rate', 'crm_id', 'crm_link_url', 'environment_id', 'feature', 'feature_id', 'id', 'max_unit_quantity', 'min_unit_quantity', 'package_id', 'price', 'reset_period', 'reset_period_configuration', 'tiers', 'tiers_mode', 'used_in_subscriptions')
9230
+ __field_names__ = ('billing_cadence', 'billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'created_at', 'credit_rate', 'crm_id', 'crm_link_url', 'environment_id', 'feature', 'feature_id', 'id', 'max_unit_quantity', 'min_unit_quantity', 'package_id', 'price', 'reset_period', 'reset_period_configuration', 'tiers', 'tiers_mode', 'top_up_custom_currency_id', 'used_in_subscriptions')
9227
9231
  billing_cadence = sgqlc.types.Field(BillingCadence, graphql_name='billingCadence')
9228
9232
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
9229
9233
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
@@ -9246,6 +9250,7 @@ class PriceDeleteResponse(sgqlc.types.Type):
9246
9250
  reset_period_configuration = sgqlc.types.Field('ResetPeriodConfiguration', graphql_name='resetPeriodConfiguration')
9247
9251
  tiers = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PriceTier')), graphql_name='tiers')
9248
9252
  tiers_mode = sgqlc.types.Field(TiersMode, graphql_name='tiersMode')
9253
+ top_up_custom_currency_id = sgqlc.types.Field(UUID, graphql_name='topUpCustomCurrencyId')
9249
9254
  used_in_subscriptions = sgqlc.types.Field(Boolean, graphql_name='usedInSubscriptions')
9250
9255
 
9251
9256