stigg-api-client 3.100.0__py3-none-any.whl → 3.105.0__py3-none-any.whl

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.

@@ -59,6 +59,7 @@ def fragment_price_fragment():
59
59
  _frag_credit_rate = _frag.credit_rate()
60
60
  _frag_credit_rate.amount()
61
61
  _frag_credit_rate.custom_currency_id()
62
+ _frag_credit_rate.currency_id()
62
63
  _frag.tiers_mode()
63
64
  _frag_tiers = _frag.tiers()
64
65
  _frag_tiers.__fragment__(fragment_price_tier_fragment())
@@ -832,6 +833,10 @@ def fragment_entitlement_fragment():
832
833
  _frag_reset_period_configuration.__fragment__(fragment_reset_period_configuration_fragment())
833
834
  _frag_feature = _frag.feature()
834
835
  _frag_feature.__fragment__(fragment_feature_fragment())
836
+ _frag_credit_rate = _frag.credit_rate()
837
+ _frag_credit_rate.amount()
838
+ _frag_credit_rate.currency_id()
839
+ _frag.valid_until()
835
840
  return _frag
836
841
 
837
842
 
@@ -930,6 +935,25 @@ def fragment_package_published_payload():
930
935
  return _frag
931
936
 
932
937
 
938
+ def fragment_credit_balance_updated_payload():
939
+ _frag = sgqlc.operation.Fragment(_schema.CreditBalanceUpdated, 'CreditBalanceUpdatedPayload')
940
+ _frag_currency = _frag.currency()
941
+ _frag_currency.currency_id()
942
+ _frag_currency.display_name()
943
+ _frag_currency.symbol()
944
+ _frag_currency_units = _frag_currency.units()
945
+ _frag_currency_units.singular()
946
+ _frag_currency_units.plural()
947
+ _frag.currency_id()
948
+ _frag.current_balance()
949
+ _frag.customer_id()
950
+ _frag.valid_until()
951
+ _frag.resource_id()
952
+ _frag.total_consumed()
953
+ _frag.total_granted()
954
+ return _frag
955
+
956
+
933
957
  def fragment_customer_portal_fragment():
934
958
  _frag = sgqlc.operation.Fragment(_schema.CustomerPortal, 'CustomerPortalFragment')
935
959
  _frag_subscriptions = _frag.subscriptions()
@@ -1035,7 +1059,7 @@ def fragment_customer_portal_subscription_price_fragment():
1035
1059
  _frag_price.currency()
1036
1060
  _frag_credit_rate = _frag.credit_rate()
1037
1061
  _frag_credit_rate.amount()
1038
- _frag_credit_rate.custom_currency_id()
1062
+ _frag_credit_rate.currency_id()
1039
1063
  _frag_feature = _frag.feature()
1040
1064
  _frag_feature.id()
1041
1065
  _frag_feature.ref_id()
@@ -1064,7 +1088,7 @@ def fragment_customer_portal_subscription_fragment():
1064
1088
  _frag_pricing_price.currency()
1065
1089
  _frag_pricing_credit_rate = _frag_pricing.credit_rate()
1066
1090
  _frag_pricing_credit_rate.amount()
1067
- _frag_pricing_credit_rate.custom_currency_id()
1091
+ _frag_pricing_credit_rate.currency_id()
1068
1092
  _frag_pricing_feature = _frag_pricing.feature()
1069
1093
  _frag_pricing_feature.feature_units()
1070
1094
  _frag_pricing_feature.feature_units_plural()
@@ -1227,7 +1251,7 @@ def fragment_mock_paywall_price_fragment():
1227
1251
  _frag_price.currency()
1228
1252
  _frag_credit_rate = _frag.credit_rate()
1229
1253
  _frag_credit_rate.amount()
1230
- _frag_credit_rate.custom_currency_id()
1254
+ _frag_credit_rate.currency_id()
1231
1255
  _frag.tiers_mode()
1232
1256
  _frag_tiers = _frag.tiers()
1233
1257
  _frag_tiers.__fragment__(fragment_price_tier_fragment())
@@ -1489,16 +1513,25 @@ def fragment_credits_balance_summary_fragment():
1489
1513
  _frag = sgqlc.operation.Fragment(_schema.CreditBalanceSummary, 'CreditsBalanceSummaryFragment')
1490
1514
  _frag.customer_id()
1491
1515
  _frag_balances = _frag.balances()
1492
- _frag_balances_currency = _frag_balances.currency()
1493
- _frag_balances_currency.currency_id()
1494
- _frag_balances_currency.display_name()
1495
- _frag_balances_currency.symbol()
1496
- _frag_balances_currency_units = _frag_balances_currency.units()
1497
- _frag_balances_currency_units.singular()
1498
- _frag_balances_currency_units.plural()
1499
- _frag_balances.current_balance()
1500
- _frag_balances.total_consumed()
1501
- _frag_balances.total_granted()
1516
+ _frag_balances.__fragment__(fragment_credit_balance_fragment())
1517
+ return _frag
1518
+
1519
+
1520
+ def fragment_credit_balance_fragment():
1521
+ _frag = sgqlc.operation.Fragment(_schema.CreditBalance, 'CreditBalanceFragment')
1522
+ _frag.customer_id()
1523
+ _frag_currency = _frag.currency()
1524
+ _frag_currency.currency_id()
1525
+ _frag_currency.display_name()
1526
+ _frag_currency.symbol()
1527
+ _frag_currency_units = _frag_currency.units()
1528
+ _frag_currency_units.singular()
1529
+ _frag_currency_units.plural()
1530
+ _frag.current_balance()
1531
+ _frag.total_consumed()
1532
+ _frag.total_granted()
1533
+ _frag.resource_id()
1534
+ _frag.valid_until()
1502
1535
  return _frag
1503
1536
 
1504
1537
 
@@ -1539,6 +1572,8 @@ class Fragment:
1539
1572
  checkout_configuration_fragment = fragment_checkout_configuration_fragment()
1540
1573
  checkout_state_fragment = fragment_checkout_state_fragment()
1541
1574
  coupon_fragment = fragment_coupon_fragment()
1575
+ credit_balance_fragment = fragment_credit_balance_fragment()
1576
+ credit_balance_updated_payload = fragment_credit_balance_updated_payload()
1542
1577
  credit_grant_fragment = fragment_credit_grant_fragment()
1543
1578
  credit_ledger_fragment = fragment_credit_ledger_fragment()
1544
1579
  credit_usage_fragment = fragment_credit_usage_fragment()
@@ -2094,7 +2129,15 @@ def subscription_on_package_published():
2094
2129
  return _op
2095
2130
 
2096
2131
 
2132
+ def subscription_on_credit_balance_updated():
2133
+ _op = sgqlc.operation.Operation(_schema_root.subscription_type, name='OnCreditBalanceUpdated')
2134
+ _op_credit_balance_updated = _op.credit_balance_updated()
2135
+ _op_credit_balance_updated.__fragment__(fragment_credit_balance_updated_payload())
2136
+ return _op
2137
+
2138
+
2097
2139
  class Subscription:
2140
+ on_credit_balance_updated = subscription_on_credit_balance_updated()
2098
2141
  on_entitlements_updated = subscription_on_entitlements_updated()
2099
2142
  on_package_published = subscription_on_package_published()
2100
2143
  on_usage_updated = subscription_on_usage_updated()
stigg/generated/schema.py CHANGED
@@ -240,7 +240,7 @@ class EventLogSortFields(sgqlc.types.Enum):
240
240
 
241
241
  class EventLogType(sgqlc.types.Enum):
242
242
  __schema__ = schema
243
- __choices__ = ('ADDON_CREATED', 'ADDON_DELETED', 'ADDON_UPDATED', 'COUPON_ARCHIVED', 'COUPON_CREATED', 'COUPON_UPDATED', 'CREATE_SUBSCRIPTION_FAILED', 'CREDITS_BALANCE_DEPLETED', 'CREDITS_BALANCE_USAGE_LOW', 'CREDITS_GRANT_DEPLETED', 'CREDITS_GRANT_EXPIRED', 'CREDITS_GRANT_GRANTED', 'CREDITS_GRANT_UPDATED', 'CREDITS_GRANT_USAGE_LOW', 'CUSTOMER_CREATED', 'CUSTOMER_DELETED', 'CUSTOMER_ENTITLEMENT_CALCULATION_TRIGGERED', 'CUSTOMER_PAYMENT_FAILED', 'CUSTOMER_RESOURCE_ENTITLEMENT_CALCULATION_TRIGGERED', 'CUSTOMER_UPDATED', 'EDGE_API_CUSTOMER_DATA_RESYNC', 'EDGE_API_DATA_RESYNC', 'EDGE_API_DOGGO_RESYNC', 'EDGE_API_PACKAGE_ENTITLEMENTS_DATA_RESYNC', 'EDGE_API_SUBSCRIPTIONS_DATA_RESYNC', 'ENTITLEMENTS_UPDATED', 'ENTITLEMENT_DENIED', 'ENTITLEMENT_GRANTED', 'ENTITLEMENT_REQUESTED', 'ENTITLEMENT_USAGE_EXCEEDED', 'ENVIRONMENT_DELETED', 'FEATURE_ARCHIVED', 'FEATURE_CREATED', 'FEATURE_DELETED', 'FEATURE_GROUP_ARCHIVED', 'FEATURE_GROUP_CREATED', 'FEATURE_GROUP_UN_ARCHIVED', 'FEATURE_GROUP_UPDATED', 'FEATURE_UPDATED', 'IMPORT_INTEGRATION_CATALOG_TRIGGERED', 'IMPORT_INTEGRATION_CUSTOMERS_TRIGGERED', 'IMPORT_SUBSCRIPTIONS_BULK_TRIGGERED', 'MEASUREMENT_REPORTED', 'PACKAGE_GROUP_CREATED', 'PACKAGE_GROUP_UPDATED', 'PACKAGE_PUBLISHED', 'PLAN_CREATED', 'PLAN_DELETED', 'PLAN_UPDATED', 'PRODUCT_CREATED', 'PRODUCT_DELETED', 'PRODUCT_UPDATED', 'PROMOTIONAL_ENTITLEMENT_EXPIRED', 'PROMOTIONAL_ENTITLEMENT_GRANTED', 'PROMOTIONAL_ENTITLEMENT_REVOKED', 'PROMOTIONAL_ENTITLEMENT_UPDATED', 'RECALCULATE_ENTITLEMENTS_TRIGGERED', 'RESYNC_INTEGRATION_TRIGGERED', 'SUBSCRIPTIONS_MIGRATED', 'SUBSCRIPTIONS_MIGRATION_TRIGGERED', 'SUBSCRIPTION_BILLING_MONTH_ENDS_SOON', 'SUBSCRIPTION_CANCELED', 'SUBSCRIPTION_CREATED', 'SUBSCRIPTION_EXPIRED', 'SUBSCRIPTION_SPENT_LIMIT_EXCEEDED', 'SUBSCRIPTION_TRIAL_CONVERTED', 'SUBSCRIPTION_TRIAL_ENDS_SOON', 'SUBSCRIPTION_TRIAL_EXPIRED', 'SUBSCRIPTION_TRIAL_STARTED', 'SUBSCRIPTION_UPDATED', 'SUBSCRIPTION_USAGE_CHARGE_TRIGGERED', 'SUBSCRIPTION_USAGE_UPDATED', 'SYNC_FAILED', 'WIDGET_CONFIGURATION_UPDATED')
243
+ __choices__ = ('ADDON_CREATED', 'ADDON_DELETED', 'ADDON_UPDATED', 'COUPON_ARCHIVED', 'COUPON_CREATED', 'COUPON_UPDATED', 'CREATE_SUBSCRIPTION_FAILED', 'CREDITS_BALANCE_DEPLETED_OLD', 'CREDITS_BALANCE_LOW_OLD', 'CREDITS_GRANT_BALANCE_LOW_OLD', 'CREDITS_GRANT_DEPLETED_OLD', 'CREDITS_GRANT_EXPIRED_OLD', 'CREDITS_GRANT_GRANTED_OLD', 'CREDITS_GRANT_UPDATED_OLD', 'CREDIT_BALANCE_DEPLETED', 'CREDIT_BALANCE_LOW', 'CREDIT_GRANT_BALANCE_LOW', 'CREDIT_GRANT_CREATED', 'CREDIT_GRANT_DEPLETED', 'CREDIT_GRANT_EXPIRED', 'CREDIT_GRANT_UPDATED', 'CUSTOMER_CREATED', 'CUSTOMER_DELETED', 'CUSTOMER_ENTITLEMENT_CALCULATION_TRIGGERED', 'CUSTOMER_PAYMENT_FAILED', 'CUSTOMER_RESOURCE_ENTITLEMENT_CALCULATION_TRIGGERED', 'CUSTOMER_UPDATED', 'EDGE_API_CUSTOMER_DATA_RESYNC', 'EDGE_API_DATA_RESYNC', 'EDGE_API_DOGGO_RESYNC', 'EDGE_API_PACKAGE_ENTITLEMENTS_DATA_RESYNC', 'EDGE_API_SUBSCRIPTIONS_DATA_RESYNC', 'ENTITLEMENTS_UPDATED', 'ENTITLEMENT_DENIED', 'ENTITLEMENT_GRANTED', 'ENTITLEMENT_REQUESTED', 'ENTITLEMENT_USAGE_EXCEEDED', 'ENVIRONMENT_DELETED', 'FEATURE_ARCHIVED', 'FEATURE_CREATED', 'FEATURE_DELETED', 'FEATURE_GROUP_ARCHIVED', 'FEATURE_GROUP_CREATED', 'FEATURE_GROUP_UN_ARCHIVED', 'FEATURE_GROUP_UPDATED', 'FEATURE_UPDATED', 'IMPORT_INTEGRATION_CATALOG_TRIGGERED', 'IMPORT_INTEGRATION_CUSTOMERS_TRIGGERED', 'IMPORT_SUBSCRIPTIONS_BULK_TRIGGERED', 'MEASUREMENT_REPORTED', 'PACKAGE_GROUP_CREATED', 'PACKAGE_GROUP_UPDATED', 'PACKAGE_PUBLISHED', 'PLAN_CREATED', 'PLAN_DELETED', 'PLAN_UPDATED', 'PRODUCT_CREATED', 'PRODUCT_DELETED', 'PRODUCT_UPDATED', 'PROMOTIONAL_ENTITLEMENT_EXPIRED', 'PROMOTIONAL_ENTITLEMENT_GRANTED', 'PROMOTIONAL_ENTITLEMENT_REVOKED', 'PROMOTIONAL_ENTITLEMENT_UPDATED', 'RECALCULATE_ENTITLEMENTS_TRIGGERED', 'RESYNC_INTEGRATION_TRIGGERED', 'SUBSCRIPTIONS_MIGRATED', 'SUBSCRIPTIONS_MIGRATION_TRIGGERED', 'SUBSCRIPTION_BILLING_MONTH_ENDS_SOON', 'SUBSCRIPTION_CANCELED', 'SUBSCRIPTION_CREATED', 'SUBSCRIPTION_EXPIRED', 'SUBSCRIPTION_SPENT_LIMIT_EXCEEDED', 'SUBSCRIPTION_TRIAL_CONVERTED', 'SUBSCRIPTION_TRIAL_ENDS_SOON', 'SUBSCRIPTION_TRIAL_EXPIRED', 'SUBSCRIPTION_TRIAL_STARTED', 'SUBSCRIPTION_UPDATED', 'SUBSCRIPTION_USAGE_CHARGE_TRIGGERED', 'SUBSCRIPTION_USAGE_UPDATED', 'SYNC_FAILED', 'WIDGET_CONFIGURATION_UPDATED')
244
244
 
245
245
 
246
246
  class ExperimentSortFields(sgqlc.types.Enum):
@@ -1406,9 +1406,10 @@ class CreditLedgerInput(sgqlc.types.Input):
1406
1406
 
1407
1407
  class CreditRateInput(sgqlc.types.Input):
1408
1408
  __schema__ = schema
1409
- __field_names__ = ('amount', 'custom_currency_id')
1409
+ __field_names__ = ('amount', 'currency_id', 'custom_currency_id')
1410
1410
  amount = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='amount')
1411
- custom_currency_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='customCurrencyId')
1411
+ currency_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='currencyId')
1412
+ custom_currency_id = sgqlc.types.Field(UUID, graphql_name='customCurrencyId')
1412
1413
 
1413
1414
 
1414
1415
  class CreditUsageInput(sgqlc.types.Input):
@@ -5769,12 +5770,15 @@ class CouponMinAggregate(sgqlc.types.Type):
5769
5770
 
5770
5771
  class CreditBalance(sgqlc.types.Type):
5771
5772
  __schema__ = schema
5772
- __field_names__ = ('currency', 'currency_id', 'current_balance', 'total_consumed', 'total_granted')
5773
+ __field_names__ = ('currency', 'currency_id', 'current_balance', 'customer_id', 'resource_id', 'total_consumed', 'total_granted', 'valid_until')
5773
5774
  currency = sgqlc.types.Field(sgqlc.types.non_null('SlimCustomCurrency'), graphql_name='currency')
5774
5775
  currency_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='currencyId')
5775
5776
  current_balance = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='currentBalance')
5777
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
5778
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
5776
5779
  total_consumed = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='totalConsumed')
5777
5780
  total_granted = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='totalGranted')
5781
+ valid_until = sgqlc.types.Field(Float, graphql_name='validUntil')
5778
5782
 
5779
5783
 
5780
5784
  class CreditBalanceSummary(sgqlc.types.Type):
@@ -5785,6 +5789,21 @@ class CreditBalanceSummary(sgqlc.types.Type):
5785
5789
  resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
5786
5790
 
5787
5791
 
5792
+ class CreditBalanceUpdated(sgqlc.types.Type):
5793
+ __schema__ = schema
5794
+ __field_names__ = ('account_id', 'currency', 'currency_id', 'current_balance', 'customer_id', 'environment_id', 'resource_id', 'total_consumed', 'total_granted', 'valid_until')
5795
+ account_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='accountId')
5796
+ currency = sgqlc.types.Field(sgqlc.types.non_null('SlimCustomCurrency'), graphql_name='currency')
5797
+ currency_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='currencyId')
5798
+ current_balance = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='currentBalance')
5799
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
5800
+ environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
5801
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
5802
+ total_consumed = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='totalConsumed')
5803
+ total_granted = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='totalGranted')
5804
+ valid_until = sgqlc.types.Field(Float, graphql_name='validUntil')
5805
+
5806
+
5788
5807
  class CreditGrant(sgqlc.types.Type):
5789
5808
  __schema__ = schema
5790
5809
  __field_names__ = ('additional_meta_data', 'amount', 'comment', 'consumed_amount', 'cost', 'created_at', 'currency_id', 'customer_id', 'display_name', 'effective_at', 'expire_at', 'grant_id', 'grant_type', 'id', 'priority', 'resource_id', 'updated_at')
@@ -5844,9 +5863,10 @@ class CreditLedgerEvent(sgqlc.types.Type):
5844
5863
 
5845
5864
  class CreditRate(sgqlc.types.Type):
5846
5865
  __schema__ = schema
5847
- __field_names__ = ('amount', 'custom_currency_id')
5866
+ __field_names__ = ('amount', 'currency_id', 'custom_currency_id')
5848
5867
  amount = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='amount')
5849
- custom_currency_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='customCurrencyId')
5868
+ currency_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='currencyId')
5869
+ custom_currency_id = sgqlc.types.Field(UUID, graphql_name='customCurrencyId')
5850
5870
 
5851
5871
 
5852
5872
  class CreditUsage(sgqlc.types.Type):
@@ -6529,8 +6549,9 @@ class EligibleForTrial(sgqlc.types.Type):
6529
6549
 
6530
6550
  class Entitlement(sgqlc.types.Type):
6531
6551
  __schema__ = schema
6532
- __field_names__ = ('access_denied_reason', 'current_usage', 'customer_id', 'display_name_override', 'entitlement_updated_at', 'enum_values', 'feature', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_granted', 'meter_id', 'next_reset_date', 'requested_usage', 'requested_values', 'reset_period', 'reset_period_configuration', 'resource_id', 'usage_limit', 'usage_period_anchor', 'usage_period_end', 'usage_period_start', 'usage_updated_at')
6552
+ __field_names__ = ('access_denied_reason', 'credit_rate', 'current_usage', 'customer_id', 'display_name_override', 'entitlement_updated_at', 'enum_values', 'feature', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_granted', 'meter_id', 'next_reset_date', 'requested_usage', 'requested_values', 'reset_period', 'reset_period_configuration', 'resource_id', 'usage_limit', 'usage_period_anchor', 'usage_period_end', 'usage_period_start', 'usage_updated_at', 'valid_until')
6533
6553
  access_denied_reason = sgqlc.types.Field(AccessDeniedReason, graphql_name='accessDeniedReason')
6554
+ credit_rate = sgqlc.types.Field(CreditRate, graphql_name='creditRate')
6534
6555
  current_usage = sgqlc.types.Field(Float, graphql_name='currentUsage')
6535
6556
  customer_id = sgqlc.types.Field(String, graphql_name='customerId')
6536
6557
  display_name_override = sgqlc.types.Field(String, graphql_name='displayNameOverride')
@@ -6553,6 +6574,7 @@ class Entitlement(sgqlc.types.Type):
6553
6574
  usage_period_end = sgqlc.types.Field(DateTime, graphql_name='usagePeriodEnd')
6554
6575
  usage_period_start = sgqlc.types.Field(DateTime, graphql_name='usagePeriodStart')
6555
6576
  usage_updated_at = sgqlc.types.Field(DateTime, graphql_name='usageUpdatedAt')
6577
+ valid_until = sgqlc.types.Field(Float, graphql_name='validUntil')
6556
6578
 
6557
6579
 
6558
6580
  class EntitlementFeature(sgqlc.types.Type):
@@ -6594,8 +6616,9 @@ class EntitlementSummary(sgqlc.types.Type):
6594
6616
 
6595
6617
  class EntitlementWithSummary(sgqlc.types.Type):
6596
6618
  __schema__ = schema
6597
- __field_names__ = ('access_denied_reason', 'current_usage', 'customer_id', 'display_name_override', 'entitlement_updated_at', 'enum_values', 'feature', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_granted', 'meter_id', 'next_reset_date', 'requested_usage', 'requested_values', 'reset_period', 'reset_period_configuration', 'resource_id', 'summaries', 'usage_limit', 'usage_period_anchor', 'usage_period_end', 'usage_period_start', 'usage_updated_at')
6619
+ __field_names__ = ('access_denied_reason', 'credit_rate', 'current_usage', 'customer_id', 'display_name_override', 'entitlement_updated_at', 'enum_values', 'feature', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_granted', 'meter_id', 'next_reset_date', 'requested_usage', 'requested_values', 'reset_period', 'reset_period_configuration', 'resource_id', 'summaries', 'usage_limit', 'usage_period_anchor', 'usage_period_end', 'usage_period_start', 'usage_updated_at', 'valid_until')
6598
6620
  access_denied_reason = sgqlc.types.Field(AccessDeniedReason, graphql_name='accessDeniedReason')
6621
+ credit_rate = sgqlc.types.Field(CreditRate, graphql_name='creditRate')
6599
6622
  current_usage = sgqlc.types.Field(Float, graphql_name='currentUsage')
6600
6623
  customer_id = sgqlc.types.Field(String, graphql_name='customerId')
6601
6624
  display_name_override = sgqlc.types.Field(String, graphql_name='displayNameOverride')
@@ -6619,6 +6642,7 @@ class EntitlementWithSummary(sgqlc.types.Type):
6619
6642
  usage_period_end = sgqlc.types.Field(DateTime, graphql_name='usagePeriodEnd')
6620
6643
  usage_period_start = sgqlc.types.Field(DateTime, graphql_name='usagePeriodStart')
6621
6644
  usage_updated_at = sgqlc.types.Field(DateTime, graphql_name='usageUpdatedAt')
6645
+ valid_until = sgqlc.types.Field(Float, graphql_name='validUntil')
6622
6646
 
6623
6647
 
6624
6648
  class EntitlementsState(sgqlc.types.Type):
@@ -10172,7 +10196,8 @@ class StripeSubscriptionSearchResult(sgqlc.types.Type):
10172
10196
 
10173
10197
  class Subscription(sgqlc.types.Type):
10174
10198
  __schema__ = schema
10175
- __field_names__ = ('entitlements_updated', 'package_published', 'usage_updated')
10199
+ __field_names__ = ('credit_balance_updated', 'entitlements_updated', 'package_published', 'usage_updated')
10200
+ credit_balance_updated = sgqlc.types.Field(sgqlc.types.non_null(CreditBalanceUpdated), graphql_name='creditBalanceUpdated')
10176
10201
  entitlements_updated = sgqlc.types.Field(sgqlc.types.non_null(EntitlementsUpdated), graphql_name='entitlementsUpdated')
10177
10202
  package_published = sgqlc.types.Field(sgqlc.types.non_null(PackagePublished), graphql_name='packagePublished')
10178
10203
  usage_updated = sgqlc.types.Field(sgqlc.types.non_null('UsageUpdated'), graphql_name='usageUpdated')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 3.100.0
3
+ Version: 3.105.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -0,0 +1,9 @@
1
+ stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
+ stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
+ stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ stigg/generated/operations.py,sha256=bv6qEelAdfNiTsCRwzUfChTCja1PSx50K5_7SinoLTI,93800
5
+ stigg/generated/schema.py,sha256=i2i8u3Er5Ki4X_4nBqJ82GcR8gPvxSzhRmPr2X0PnqQ,731878
6
+ stigg_api_client-3.105.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-3.105.0.dist-info/METADATA,sha256=QA_XAFascJ-0oFT76FHs-zyFZY2cABaqU9jW5PBoP_Y,3198
8
+ stigg_api_client-3.105.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-3.105.0.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
- stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
- stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- stigg/generated/operations.py,sha256=PdSyFxtjB0eaONXojH8U7OozHcgOKIftPw0rh7AttJU,92352
5
- stigg/generated/schema.py,sha256=cvb-zzN1R731Sg1MB3lhV8fsFu5ghxz7QM0krG3u69A,729559
6
- stigg_api_client-3.100.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-3.100.0.dist-info/METADATA,sha256=DqRLL9ZZZb6uaNg1oPwpeoOmyq20sn1J-BYG33c8ar8,3198
8
- stigg_api_client-3.100.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-3.100.0.dist-info/RECORD,,