stigg-api-client 2.227.0__tar.gz → 2.234.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: 2.227.0
3
+ Version: 2.234.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 = "2.227.0"
3
+ version = "2.234.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -228,6 +228,9 @@ def fragment_slim_subscription_fragment_v2():
228
228
  _frag_addons.quantity()
229
229
  _frag_addons_addon = _frag_addons.addon()
230
230
  _frag_addons_addon.ref_id(__alias__='addon_id')
231
+ _frag_trial_configuration = _frag.trial_configuration()
232
+ _frag_trial_configuration.trial_end_behavior()
233
+ _frag.trial_end_date()
231
234
  return _frag
232
235
 
233
236
 
@@ -4342,6 +4342,18 @@ class UsageHistoryInput(sgqlc.types.Input):
4342
4342
  yearly_reset_period_configuration = sgqlc.types.Field('YearlyResetPeriodConfigInput', graphql_name='yearlyResetPeriodConfiguration')
4343
4343
 
4344
4344
 
4345
+ class UsageHistoryV2Input(sgqlc.types.Input):
4346
+ __schema__ = schema
4347
+ __field_names__ = ('customer_id', 'end_date', 'environment_id', 'feature_id', 'group_by', 'resource_id', 'start_date')
4348
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
4349
+ end_date = sgqlc.types.Field(DateTime, graphql_name='endDate')
4350
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
4351
+ feature_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureId')
4352
+ group_by = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='groupBy')
4353
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
4354
+ start_date = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='startDate')
4355
+
4356
+
4345
4357
  class UsageMeasurementCreateInput(sgqlc.types.Input):
4346
4358
  __schema__ = schema
4347
4359
  __field_names__ = ('created_at', 'customer_id', 'dimensions', 'environment_id', 'feature_id', 'resource_id', 'update_behavior', 'value')
@@ -8411,7 +8423,7 @@ class PublishPackageResult(sgqlc.types.Type):
8411
8423
 
8412
8424
  class Query(sgqlc.types.Type):
8413
8425
  __schema__ = schema
8414
- __field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'current_environment', 'current_user', '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', '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', 'test_hook_data', 'usage_events', 'usage_history', 'usage_measurements', 'validate_merge_environment', 'widget_configuration')
8426
+ __field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'current_environment', 'current_user', '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', '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', 'test_hook_data', 'usage_events', 'usage_history', 'usage_history_v2', 'usage_measurements', 'validate_merge_environment', 'widget_configuration')
8415
8427
  addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
8416
8428
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
8417
8429
  ))
@@ -8679,6 +8691,10 @@ class Query(sgqlc.types.Type):
8679
8691
  )
8680
8692
  usage_history = sgqlc.types.Field(sgqlc.types.non_null('UsageHistory'), graphql_name='usageHistory', args=sgqlc.types.ArgDict((
8681
8693
  ('usage_history_input', sgqlc.types.Arg(sgqlc.types.non_null(UsageHistoryInput), graphql_name='usageHistoryInput', default=None)),
8694
+ ))
8695
+ )
8696
+ usage_history_v2 = sgqlc.types.Field(sgqlc.types.non_null('UsageHistoryV2'), graphql_name='usageHistoryV2', args=sgqlc.types.ArgDict((
8697
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(UsageHistoryV2Input), graphql_name='input', default=None)),
8682
8698
  ))
8683
8699
  )
8684
8700
  usage_measurements = sgqlc.types.Field(sgqlc.types.non_null('UsageMeasurementConnection'), graphql_name='usageMeasurements', args=sgqlc.types.ArgDict((
@@ -9550,6 +9566,35 @@ class UsageHistory(sgqlc.types.Type):
9550
9566
  usage_measurements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('UsageMeasurementPoint'))), graphql_name='usageMeasurements')
9551
9567
 
9552
9568
 
9569
+ class UsageHistoryPoint(sgqlc.types.Type):
9570
+ __schema__ = schema
9571
+ __field_names__ = ('is_reset_point', 'timestamp', 'value')
9572
+ is_reset_point = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isResetPoint')
9573
+ timestamp = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='timestamp')
9574
+ value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='value')
9575
+
9576
+
9577
+ class UsageHistorySeries(sgqlc.types.Type):
9578
+ __schema__ = schema
9579
+ __field_names__ = ('points', 'tags')
9580
+ points = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(UsageHistoryPoint))), graphql_name='points')
9581
+ tags = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('UsageHistorySeriesTag'))), graphql_name='tags')
9582
+
9583
+
9584
+ class UsageHistorySeriesTag(sgqlc.types.Type):
9585
+ __schema__ = schema
9586
+ __field_names__ = ('key', 'value')
9587
+ key = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='key')
9588
+ value = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='value')
9589
+
9590
+
9591
+ class UsageHistoryV2(sgqlc.types.Type):
9592
+ __schema__ = schema
9593
+ __field_names__ = ('markers', 'series')
9594
+ markers = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('UsageMarker'))), graphql_name='markers')
9595
+ series = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(UsageHistorySeries))), graphql_name='series')
9596
+
9597
+
9553
9598
  class UsageMarker(sgqlc.types.Type):
9554
9599
  __schema__ = schema
9555
9600
  __field_names__ = ('timestamp', 'type')