stigg-api-client 3.13.0__tar.gz → 3.16.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: 3.13.0
3
+ Version: 3.16.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 = "3.13.0"
3
+ version = "3.16.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -56,6 +56,9 @@ def fragment_price_fragment():
56
56
  _frag_price = _frag.price()
57
57
  _frag_price.amount()
58
58
  _frag_price.currency()
59
+ _frag_credit_rate = _frag.credit_rate()
60
+ _frag_credit_rate.amount()
61
+ _frag_credit_rate.custom_currency_id()
59
62
  _frag.tiers_mode()
60
63
  _frag_tiers = _frag.tiers()
61
64
  _frag_tiers.__fragment__(fragment_price_tier_fragment())
@@ -1009,6 +1012,9 @@ def fragment_customer_portal_subscription_price_fragment():
1009
1012
  _frag_price = _frag.price()
1010
1013
  _frag_price.amount()
1011
1014
  _frag_price.currency()
1015
+ _frag_credit_rate = _frag.credit_rate()
1016
+ _frag_credit_rate.amount()
1017
+ _frag_credit_rate.custom_currency_id()
1012
1018
  _frag_feature = _frag.feature()
1013
1019
  _frag_feature.id()
1014
1020
  _frag_feature.ref_id()
@@ -1035,6 +1041,9 @@ def fragment_customer_portal_subscription_fragment():
1035
1041
  _frag_pricing_price = _frag_pricing.price()
1036
1042
  _frag_pricing_price.amount()
1037
1043
  _frag_pricing_price.currency()
1044
+ _frag_pricing_credit_rate = _frag_pricing.credit_rate()
1045
+ _frag_pricing_credit_rate.amount()
1046
+ _frag_pricing_credit_rate.custom_currency_id()
1038
1047
  _frag_pricing_feature = _frag_pricing.feature()
1039
1048
  _frag_pricing_feature.feature_units()
1040
1049
  _frag_pricing_feature.feature_units_plural()
@@ -1194,6 +1203,9 @@ def fragment_mock_paywall_price_fragment():
1194
1203
  _frag_price = _frag.price()
1195
1204
  _frag_price.amount()
1196
1205
  _frag_price.currency()
1206
+ _frag_credit_rate = _frag.credit_rate()
1207
+ _frag_credit_rate.amount()
1208
+ _frag_credit_rate.custom_currency_id()
1197
1209
  _frag.tiers_mode()
1198
1210
  _frag_tiers = _frag.tiers()
1199
1211
  _frag_tiers.__fragment__(fragment_price_tier_fragment())
@@ -77,7 +77,7 @@ class BillingCadence(sgqlc.types.Enum):
77
77
 
78
78
  class BillingModel(sgqlc.types.Enum):
79
79
  __schema__ = schema
80
- __choices__ = ('FLAT_FEE', 'MINIMUM_SPEND', 'PER_UNIT', 'USAGE_BASED')
80
+ __choices__ = ('CREDIT_BASED', 'FLAT_FEE', 'MINIMUM_SPEND', 'PER_UNIT', 'USAGE_BASED')
81
81
 
82
82
 
83
83
  class BillingPeriod(sgqlc.types.Enum):
@@ -1336,6 +1336,13 @@ class CreditGrantInput(sgqlc.types.Input):
1336
1336
  resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
1337
1337
 
1338
1338
 
1339
+ class CreditRateInput(sgqlc.types.Input):
1340
+ __schema__ = schema
1341
+ __field_names__ = ('amount', 'custom_currency_id')
1342
+ amount = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='amount')
1343
+ custom_currency_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='customCurrencyId')
1344
+
1345
+
1339
1346
  class CursorPaging(sgqlc.types.Input):
1340
1347
  __schema__ = schema
1341
1348
  __field_names__ = ('after', 'before', 'first', 'last')
@@ -3262,10 +3269,11 @@ class PriceFilterPackageDTOFilter(sgqlc.types.Input):
3262
3269
 
3263
3270
  class PriceOverrideInput(sgqlc.types.Input):
3264
3271
  __schema__ = schema
3265
- __field_names__ = ('addon_id', 'base_charge', 'block_size', 'feature_id', 'price', 'tiers')
3272
+ __field_names__ = ('addon_id', 'base_charge', 'block_size', 'credit_rate', 'feature_id', 'price', 'tiers')
3266
3273
  addon_id = sgqlc.types.Field(String, graphql_name='addonId')
3267
3274
  base_charge = sgqlc.types.Field(Boolean, graphql_name='baseCharge')
3268
3275
  block_size = sgqlc.types.Field(Float, graphql_name='blockSize')
3276
+ credit_rate = sgqlc.types.Field(CreditRateInput, graphql_name='creditRate')
3269
3277
  feature_id = sgqlc.types.Field(String, graphql_name='featureId')
3270
3278
  price = sgqlc.types.Field(MoneyInputDTO, graphql_name='price')
3271
3279
  tiers = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PriceTierInput')), graphql_name='tiers')
@@ -3273,10 +3281,11 @@ class PriceOverrideInput(sgqlc.types.Input):
3273
3281
 
3274
3282
  class PricePeriodInput(sgqlc.types.Input):
3275
3283
  __schema__ = schema
3276
- __field_names__ = ('billing_country_code', 'billing_period', 'block_size', 'price', 'tiers')
3284
+ __field_names__ = ('billing_country_code', 'billing_period', 'block_size', 'credit_rate', 'price', 'tiers')
3277
3285
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
3278
3286
  billing_period = sgqlc.types.Field(sgqlc.types.non_null(BillingPeriod), graphql_name='billingPeriod')
3279
3287
  block_size = sgqlc.types.Field(Float, graphql_name='blockSize')
3288
+ credit_rate = sgqlc.types.Field(CreditRateInput, graphql_name='creditRate')
3280
3289
  price = sgqlc.types.Field(MoneyInputDTO, graphql_name='price')
3281
3290
  tiers = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PriceTierInput')), graphql_name='tiers')
3282
3291
 
@@ -5530,6 +5539,13 @@ class CreditGrant(sgqlc.types.Type):
5530
5539
  updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
5531
5540
 
5532
5541
 
5542
+ class CreditRate(sgqlc.types.Type):
5543
+ __schema__ = schema
5544
+ __field_names__ = ('amount', 'custom_currency_id')
5545
+ amount = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='amount')
5546
+ custom_currency_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='customCurrencyId')
5547
+
5548
+
5533
5549
  class CustomCurrency(sgqlc.types.Type):
5534
5550
  __schema__ = schema
5535
5551
  __field_names__ = ('additional_meta_data', 'created_at', 'currency_id', 'display_name', 'id', 'symbol', 'updated_at')
@@ -5812,20 +5828,22 @@ class CustomerPortalSubscription(sgqlc.types.Type):
5812
5828
 
5813
5829
  class CustomerPortalSubscriptionPrice(sgqlc.types.Type):
5814
5830
  __schema__ = schema
5815
- __field_names__ = ('billing_model', 'billing_period', 'block_size', 'feature', 'price')
5831
+ __field_names__ = ('billing_model', 'billing_period', 'block_size', 'credit_rate', 'feature', 'price')
5816
5832
  billing_model = sgqlc.types.Field(BillingModel, graphql_name='billingModel')
5817
5833
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
5818
5834
  block_size = sgqlc.types.Field(Float, graphql_name='blockSize')
5835
+ credit_rate = sgqlc.types.Field(CreditRate, graphql_name='creditRate')
5819
5836
  feature = sgqlc.types.Field(CustomerPortalPricingFeature, graphql_name='feature')
5820
5837
  price = sgqlc.types.Field('Money', graphql_name='price')
5821
5838
 
5822
5839
 
5823
5840
  class CustomerPortalSubscriptionPricing(sgqlc.types.Type):
5824
5841
  __schema__ = schema
5825
- __field_names__ = ('billing_country_code', 'billing_model', 'billing_period', 'feature', 'price', 'pricing_type', 'unit_quantity', 'usage_based_estimated_bill')
5842
+ __field_names__ = ('billing_country_code', 'billing_model', 'billing_period', 'credit_rate', 'feature', 'price', 'pricing_type', 'unit_quantity', 'usage_based_estimated_bill')
5826
5843
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
5827
5844
  billing_model = sgqlc.types.Field(BillingModel, graphql_name='billingModel')
5828
5845
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
5846
+ credit_rate = sgqlc.types.Field(CreditRate, graphql_name='creditRate')
5829
5847
  feature = sgqlc.types.Field(CustomerPortalPricingFeature, graphql_name='feature')
5830
5848
  price = sgqlc.types.Field('Money', graphql_name='price')
5831
5849
  pricing_type = sgqlc.types.Field(sgqlc.types.non_null(PricingType), graphql_name='pricingType')
@@ -8403,12 +8421,13 @@ class PaywallPlanCompatiblePackageGroupOptions(sgqlc.types.Type):
8403
8421
 
8404
8422
  class PaywallPrice(sgqlc.types.Type):
8405
8423
  __schema__ = schema
8406
- __field_names__ = ('billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'feature', 'feature_id', 'max_unit_quantity', 'min_unit_quantity', 'price', 'tiers', 'tiers_mode')
8424
+ __field_names__ = ('billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'credit_rate', 'feature', 'feature_id', 'max_unit_quantity', 'min_unit_quantity', 'price', 'tiers', 'tiers_mode')
8407
8425
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
8408
8426
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
8409
8427
  billing_model = sgqlc.types.Field(sgqlc.types.non_null(BillingModel), graphql_name='billingModel')
8410
8428
  billing_period = sgqlc.types.Field(sgqlc.types.non_null(BillingPeriod), graphql_name='billingPeriod')
8411
8429
  block_size = sgqlc.types.Field(Float, graphql_name='blockSize')
8430
+ credit_rate = sgqlc.types.Field(CreditRate, graphql_name='creditRate')
8412
8431
  feature = sgqlc.types.Field(EntitlementFeature, graphql_name='feature')
8413
8432
  feature_id = sgqlc.types.Field(String, graphql_name='featureId')
8414
8433
  max_unit_quantity = sgqlc.types.Field(Float, graphql_name='maxUnitQuantity')
@@ -8666,7 +8685,7 @@ class PreparedPaymentMethodForm(sgqlc.types.Type):
8666
8685
 
8667
8686
  class Price(sgqlc.types.Type):
8668
8687
  __schema__ = schema
8669
- __field_names__ = ('billing_cadence', 'billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'created_at', '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')
8688
+ __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')
8670
8689
  billing_cadence = sgqlc.types.Field(sgqlc.types.non_null(BillingCadence), graphql_name='billingCadence')
8671
8690
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
8672
8691
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
@@ -8674,6 +8693,7 @@ class Price(sgqlc.types.Type):
8674
8693
  billing_period = sgqlc.types.Field(sgqlc.types.non_null(BillingPeriod), graphql_name='billingPeriod')
8675
8694
  block_size = sgqlc.types.Field(Float, graphql_name='blockSize')
8676
8695
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
8696
+ credit_rate = sgqlc.types.Field(CreditRate, graphql_name='creditRate')
8677
8697
  crm_id = sgqlc.types.Field(String, graphql_name='crmId')
8678
8698
  crm_link_url = sgqlc.types.Field(String, graphql_name='crmLinkUrl')
8679
8699
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
@@ -8719,7 +8739,7 @@ class PriceCountAggregate(sgqlc.types.Type):
8719
8739
 
8720
8740
  class PriceDeleteResponse(sgqlc.types.Type):
8721
8741
  __schema__ = schema
8722
- __field_names__ = ('billing_cadence', 'billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'created_at', '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')
8742
+ __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')
8723
8743
  billing_cadence = sgqlc.types.Field(BillingCadence, graphql_name='billingCadence')
8724
8744
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
8725
8745
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
@@ -8727,6 +8747,7 @@ class PriceDeleteResponse(sgqlc.types.Type):
8727
8747
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
8728
8748
  block_size = sgqlc.types.Field(Float, graphql_name='blockSize')
8729
8749
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
8750
+ credit_rate = sgqlc.types.Field(CreditRate, graphql_name='creditRate')
8730
8751
  crm_id = sgqlc.types.Field(String, graphql_name='crmId')
8731
8752
  crm_link_url = sgqlc.types.Field(String, graphql_name='crmLinkUrl')
8732
8753
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')