stigg-api-client 3.3.0__py3-none-any.whl → 3.6.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.

stigg/generated/schema.py CHANGED
@@ -1303,6 +1303,15 @@ class CreateWorkflowTriggerInput(sgqlc.types.Input):
1303
1303
  trigger_id = sgqlc.types.Field(String, graphql_name='triggerId')
1304
1304
 
1305
1305
 
1306
+ class CreditBalanceSummaryInput(sgqlc.types.Input):
1307
+ __schema__ = schema
1308
+ __field_names__ = ('currency_id', 'customer_id', 'environment_id', 'resource_id')
1309
+ currency_id = sgqlc.types.Field(String, graphql_name='currencyId')
1310
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
1311
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
1312
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
1313
+
1314
+
1306
1315
  class CreditGrantInput(sgqlc.types.Input):
1307
1316
  __schema__ = schema
1308
1317
  __field_names__ = ('additional_meta_data', 'amount', 'comment', 'cost', 'currency_id', 'customer_id', 'display_name', 'effective_at', 'environment_id', 'expire_at', 'grant_type', 'priority', 'resource_id')
@@ -5467,6 +5476,23 @@ class CouponMinAggregate(sgqlc.types.Type):
5467
5476
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
5468
5477
 
5469
5478
 
5479
+ class CreditBalanceDTO(sgqlc.types.Type):
5480
+ __schema__ = schema
5481
+ __field_names__ = ('currency_id', 'current_balance', 'total_consumed', 'total_granted')
5482
+ currency_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='currencyId')
5483
+ current_balance = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='currentBalance')
5484
+ total_consumed = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='totalConsumed')
5485
+ total_granted = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='totalGranted')
5486
+
5487
+
5488
+ class CreditBalanceSummaryDTO(sgqlc.types.Type):
5489
+ __schema__ = schema
5490
+ __field_names__ = ('balances', 'customer_id', 'resource_id')
5491
+ balances = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(CreditBalanceDTO))), graphql_name='balances')
5492
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
5493
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
5494
+
5495
+
5470
5496
  class CreditGrant(sgqlc.types.Type):
5471
5497
  __schema__ = schema
5472
5498
  __field_names__ = ('additional_meta_data', 'amount', 'comment', 'cost', 'created_at', 'currency_id', 'current_amount', 'customer_id', 'display_name', 'effective_at', 'expire_at', 'grant_type', 'id', 'priority', 'resource_id', 'updated_at')
@@ -9092,7 +9118,7 @@ class PublishPackageResult(sgqlc.types.Type):
9092
9118
 
9093
9119
  class Query(sgqlc.types.Type):
9094
9120
  __schema__ = schema
9095
- __field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'credit_grants', 'current_environment', 'current_user', 'custom_currencies', 'customer_portal', 'customer_resources', 'customer_subscriptions', 'customers', 'does_feature_exist', 'dump_environment_for_merge_comparison', 'dump_environment_product_catalog', 'entitlement', 'entitlements', 'environments', 'event_logs', 'events_fields', 'experiment', 'experiments', 'feature_associated_latest_packages', 'feature_group', 'feature_group_associated_latest_packages', 'feature_groups', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_auth0_applications', 'get_aws_external_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_package_group', 'get_paywall', 'get_plan_by_ref_id', 'get_subscription', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'package_entitlements', 'package_group', 'package_groups', 'paywall', 'plans', 'products', 'promotional_entitlements', 'sdk_configuration', 'send_test_hook', 'stripe_customers', 'stripe_products', 'stripe_subscriptions', 'subscription_entitlements', 'subscription_migration_tasks', 'subscriptions', 'test_hook_data', 'trigger_workflow_with_test_event', 'usage_events', 'usage_history', 'usage_history_v2', 'usage_measurements', 'validate_merge_environment', 'verified_account_domains', 'widget_configuration', 'workflow_triggers')
9121
+ __field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'credit_balance_summary', 'credit_grants', 'current_environment', 'current_user', 'custom_currencies', 'customer_portal', 'customer_resources', 'customer_subscriptions', 'customers', 'does_feature_exist', 'dump_environment_for_merge_comparison', 'dump_environment_product_catalog', 'entitlement', 'entitlements', 'environments', 'event_logs', 'events_fields', 'experiment', 'experiments', 'feature_associated_latest_packages', 'feature_group', 'feature_group_associated_latest_packages', 'feature_groups', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_auth0_applications', 'get_aws_external_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_package_group', 'get_paywall', 'get_plan_by_ref_id', 'get_subscription', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'package_entitlements', 'package_group', 'package_groups', 'paywall', 'plans', 'products', 'promotional_entitlements', 'sdk_configuration', 'send_test_hook', 'stripe_customers', 'stripe_products', 'stripe_subscriptions', 'subscription_entitlements', 'subscription_migration_tasks', 'subscriptions', 'test_hook_data', 'trigger_workflow_with_test_event', 'usage_events', 'usage_history', 'usage_history_v2', 'usage_measurements', 'validate_merge_environment', 'verified_account_domains', 'widget_configuration', 'workflow_triggers')
9096
9122
  addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
9097
9123
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
9098
9124
  ))
@@ -9123,6 +9149,10 @@ class Query(sgqlc.types.Type):
9123
9149
  ('filter', sgqlc.types.Arg(CouponFilter, graphql_name='filter', default={})),
9124
9150
  ('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 10})),
9125
9151
  ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(CouponSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
9152
+ ))
9153
+ )
9154
+ credit_balance_summary = sgqlc.types.Field(sgqlc.types.non_null(CreditBalanceSummaryDTO), graphql_name='creditBalanceSummary', args=sgqlc.types.ArgDict((
9155
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreditBalanceSummaryInput), graphql_name='input', default=None)),
9126
9156
  ))
9127
9157
  )
9128
9158
  credit_grants = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(CreditGrant))), graphql_name='creditGrants', args=sgqlc.types.ArgDict((
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 3.3.0
3
+ Version: 3.6.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -2,8 +2,8 @@ stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
2
  stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
3
  stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  stigg/generated/operations.py,sha256=6upyj_LMavtOecQ_LzXeGpqN5dSZZGDhbZbS_5VdBA8,82008
5
- stigg/generated/schema.py,sha256=xgFdt5WMyD1vL_llwqUswLJC9TTy3x8BrH6cezb1Tw4,690741
6
- stigg_api_client-3.3.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-3.3.0.dist-info/METADATA,sha256=xYzeAHiR8DW5Ox93DOBlS8uD3IiulThf1dQP_skcxbM,3196
8
- stigg_api_client-3.3.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-3.3.0.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=YBU2gWfB2b9prU9HYWMp0AQQA_ZaFt9sIRub1A2QCsM,692521
6
+ stigg_api_client-3.6.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-3.6.0.dist-info/METADATA,sha256=s5xWui40PVxsxIyQFDFiGXn9l5GqhnTM5fDXFYaGWXA,3196
8
+ stigg_api_client-3.6.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-3.6.0.dist-info/RECORD,,