stigg-api-client 2.438.3__tar.gz → 2.443.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.438.3
3
+ Version: 2.443.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.438.3"
3
+ version = "2.443.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -208,6 +208,41 @@ def fragment_customer_resource_fragment():
208
208
  return _frag
209
209
 
210
210
 
211
+ def fragment_page_info_fragment():
212
+ _frag = sgqlc.operation.Fragment(_schema.PageInfo, 'PageInfoFragment')
213
+ _frag.start_cursor()
214
+ _frag.end_cursor()
215
+ _frag.has_next_page()
216
+ _frag.has_previous_page()
217
+ return _frag
218
+
219
+
220
+ def fragment_subscription_query_fragment():
221
+ _frag = sgqlc.operation.Fragment(_schema.SubscriptionQuery, 'SubscriptionQueryFragment')
222
+ _frag.subscription_id()
223
+ _frag.status()
224
+ _frag.pricing_type()
225
+ _frag.start_date()
226
+ _frag.current_billing_period_end()
227
+ _frag_customer = _frag.customer()
228
+ _frag_customer.customer_id()
229
+ _frag_paying_customer = _frag.paying_customer()
230
+ _frag_paying_customer.customer_id()
231
+ _frag_resource = _frag.resource()
232
+ _frag_resource.resource_id()
233
+ _frag_plan = _frag.plan()
234
+ _frag_plan.ref_id(__alias__='plan_id')
235
+ _frag_plan.display_name()
236
+ _frag_addons = _frag.addons()
237
+ _frag_addons.quantity()
238
+ _frag_addons_addon = _frag_addons.addon()
239
+ _frag_addons_addon.ref_id(__alias__='addon_id')
240
+ _frag_trial_configuration = _frag.trial_configuration()
241
+ _frag_trial_configuration.trial_end_behavior()
242
+ _frag.trial_end_date()
243
+ return _frag
244
+
245
+
211
246
  def fragment_slim_subscription_fragment_v2():
212
247
  _frag = sgqlc.operation.Fragment(_schema.CustomerSubscription, 'SlimSubscriptionFragmentV2')
213
248
  _frag.subscription_id()
@@ -1407,6 +1442,7 @@ class Fragment:
1407
1442
  overage_price_fragment = fragment_overage_price_fragment()
1408
1443
  package_entitlement_fragment = fragment_package_entitlement_fragment()
1409
1444
  package_published_payload = fragment_package_published_payload()
1445
+ page_info_fragment = fragment_page_info_fragment()
1410
1446
  paywall_calculated_price_points_fragment = fragment_paywall_calculated_price_points_fragment()
1411
1447
  paywall_configuration_fragment = fragment_paywall_configuration_fragment()
1412
1448
  paywall_currency_fragment = fragment_paywall_currency_fragment()
@@ -1432,6 +1468,7 @@ class Fragment:
1432
1468
  subscription_preview_fragment = fragment_subscription_preview_fragment()
1433
1469
  subscription_preview_invoice_fragment = fragment_subscription_preview_invoice_fragment()
1434
1470
  subscription_preview_v2_fragment = fragment_subscription_preview_v2_fragment()
1471
+ subscription_query_fragment = fragment_subscription_query_fragment()
1435
1472
  subscription_scheduled_update_data = fragment_subscription_scheduled_update_data()
1436
1473
  subscription_trial_configuration_fragment = fragment_subscription_trial_configuration_fragment()
1437
1474
  total_price_fragment = fragment_total_price_fragment()
@@ -1691,6 +1728,17 @@ def query_get_active_subscriptions_list():
1691
1728
  return _op
1692
1729
 
1693
1730
 
1731
+ def query_subscriptions():
1732
+ _op = sgqlc.operation.Operation(_schema_root.query_type, name='Subscriptions', variables=dict(filter=sgqlc.types.Arg(_schema.SubscriptionQueryFilter), paging=sgqlc.types.Arg(_schema.CursorPaging), sorting=sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(_schema.SubscriptionQuerySort)))))
1733
+ _op_subscriptions = _op.subscriptions(filter=sgqlc.types.Variable('filter'), paging=sgqlc.types.Variable('paging'), sorting=sgqlc.types.Variable('sorting'))
1734
+ _op_subscriptions_edges = _op_subscriptions.edges()
1735
+ _op_subscriptions_edges_node = _op_subscriptions_edges.node()
1736
+ _op_subscriptions_edges_node.__fragment__(fragment_subscription_query_fragment())
1737
+ _op_subscriptions_page_info = _op_subscriptions.page_info()
1738
+ _op_subscriptions_page_info.__fragment__(fragment_page_info_fragment())
1739
+ return _op
1740
+
1741
+
1694
1742
  def query_get_subscription():
1695
1743
  _op = sgqlc.operation.Operation(_schema_root.query_type, name='GetSubscription', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.GetSubscriptionInput))))
1696
1744
  _op_get_subscription = _op.get_subscription(input=sgqlc.types.Variable('input'))
@@ -1800,6 +1848,7 @@ class Query:
1800
1848
  get_subscription = query_get_subscription()
1801
1849
  get_usage_history = query_get_usage_history()
1802
1850
  get_usage_history_v2 = query_get_usage_history_v2()
1851
+ subscriptions = query_subscriptions()
1803
1852
 
1804
1853
 
1805
1854
  def subscription_on_entitlements_updated():
@@ -495,6 +495,11 @@ class SubscriptionPriceSortFields(sgqlc.types.Enum):
495
495
  __choices__ = ('billingModel', 'createdAt', 'featureId', 'hasSoftLimit', 'id', 'updatedAt', 'usageLimit')
496
496
 
497
497
 
498
+ class SubscriptionQuerySortFields(sgqlc.types.Enum):
499
+ __schema__ = schema
500
+ __choices__ = ('createdAt', 'customerId', 'environmentId', 'productId', 'resourceId', 'status')
501
+
502
+
498
503
  class SubscriptionScheduleStatus(sgqlc.types.Enum):
499
504
  __schema__ = schema
500
505
  __choices__ = ('Canceled', 'Done', 'Failed', 'PendingPayment', 'Scheduled')
@@ -4052,6 +4057,27 @@ class SubscriptionPriceSort(sgqlc.types.Input):
4052
4057
  nulls = sgqlc.types.Field(SortNulls, graphql_name='nulls')
4053
4058
 
4054
4059
 
4060
+ class SubscriptionQueryFilter(sgqlc.types.Input):
4061
+ __schema__ = schema
4062
+ __field_names__ = ('and_', 'created_at', 'customer_id', 'environment_id', 'or_', 'product_id', 'resource_id', 'status')
4063
+ and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionQueryFilter')), graphql_name='and')
4064
+ created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
4065
+ customer_id = sgqlc.types.Field(StringFieldComparison, graphql_name='customerId')
4066
+ environment_id = sgqlc.types.Field(StringFieldComparison, graphql_name='environmentId')
4067
+ or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionQueryFilter')), graphql_name='or')
4068
+ product_id = sgqlc.types.Field(StringFieldComparison, graphql_name='productId')
4069
+ resource_id = sgqlc.types.Field(StringFieldComparison, graphql_name='resourceId')
4070
+ status = sgqlc.types.Field('SubscriptionStatusFilterComparison', graphql_name='status')
4071
+
4072
+
4073
+ class SubscriptionQuerySort(sgqlc.types.Input):
4074
+ __schema__ = schema
4075
+ __field_names__ = ('direction', 'field', 'nulls')
4076
+ direction = sgqlc.types.Field(sgqlc.types.non_null(SortDirection), graphql_name='direction')
4077
+ field = sgqlc.types.Field(sgqlc.types.non_null(SubscriptionQuerySortFields), graphql_name='field')
4078
+ nulls = sgqlc.types.Field(SortNulls, graphql_name='nulls')
4079
+
4080
+
4055
4081
  class SubscriptionStatusFilterComparison(sgqlc.types.Input):
4056
4082
  __schema__ = schema
4057
4083
  __field_names__ = ('eq', 'gt', 'gte', 'i_like', 'in_', 'is_', 'is_not', 'like', 'lt', 'lte', 'neq', 'not_ilike', 'not_in', 'not_like')
@@ -8679,7 +8705,7 @@ class PublishPackageResult(sgqlc.types.Type):
8679
8705
 
8680
8706
  class Query(sgqlc.types.Type):
8681
8707
  __schema__ = schema
8682
- __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', 'trigger_workflow_with_test_event', 'usage_events', 'usage_history', 'usage_history_v2', 'usage_measurements', 'validate_merge_environment', 'verified_account_domains', 'widget_configuration', 'workflow_triggers')
8708
+ __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', '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')
8683
8709
  addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
8684
8710
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
8685
8711
  ))
@@ -8935,6 +8961,12 @@ class Query(sgqlc.types.Type):
8935
8961
  ('filter', sgqlc.types.Arg(SubscriptionMigrationTaskFilter, graphql_name='filter', default={})),
8936
8962
  ('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 10})),
8937
8963
  ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionMigrationTaskSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
8964
+ ))
8965
+ )
8966
+ subscriptions = sgqlc.types.Field(sgqlc.types.non_null('SubscriptionQueryConnection'), graphql_name='subscriptions', args=sgqlc.types.ArgDict((
8967
+ ('filter', sgqlc.types.Arg(SubscriptionQueryFilter, graphql_name='filter', default={})),
8968
+ ('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 10})),
8969
+ ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionQuerySort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
8938
8970
  ))
8939
8971
  )
8940
8972
  test_hook_data = sgqlc.types.Field(sgqlc.types.non_null('TestHook'), graphql_name='testHookData', args=sgqlc.types.ArgDict((
@@ -9685,6 +9717,134 @@ class SubscriptionPricingTypeStatistics(sgqlc.types.Type):
9685
9717
  total_count = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='totalCount')
9686
9718
 
9687
9719
 
9720
+ class SubscriptionQuery(sgqlc.types.Type):
9721
+ __schema__ = schema
9722
+ __field_names__ = ('additional_meta_data', 'addons', 'billing_cycle_anchor', 'billing_id', 'billing_link_url', 'billing_sync_error', 'budget', 'budget_exceeded', 'cancel_reason', 'cancellation_date', 'coupon', 'coupons', 'created_at', 'crm_id', 'crm_link_url', 'current_billing_period_end', 'current_billing_period_start', 'customer', 'customer_id', 'effective_end_date', 'end_date', 'environment', 'environment_id', 'experiment', 'experiment_info', 'free_items', 'id', 'last_usage_invoice', 'latest_invoice', 'minimum_spend', 'old_billing_id', 'paying_customer', 'paying_customer_id', 'payment_collection', 'payment_collection_method', 'plan', 'prices', 'pricing_type', 'ref_id', 'resource', 'resource_id', 'salesforce_id', 'scheduled_updates', 'start_date', 'status', 'subscription_entitlements', 'subscription_id', 'sync_states', 'total_price', 'trial_configuration', 'trial_end_date', 'was_in_trial')
9723
+ additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
9724
+ addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionAddon)), graphql_name='addons', args=sgqlc.types.ArgDict((
9725
+ ('filter', sgqlc.types.Arg(SubscriptionAddonFilter, graphql_name='filter', default={})),
9726
+ ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionAddonSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
9727
+ ))
9728
+ )
9729
+ billing_cycle_anchor = sgqlc.types.Field(DateTime, graphql_name='billingCycleAnchor')
9730
+ billing_id = sgqlc.types.Field(String, graphql_name='billingId')
9731
+ billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
9732
+ billing_sync_error = sgqlc.types.Field(String, graphql_name='billingSyncError')
9733
+ budget = sgqlc.types.Field(BudgetConfiguration, graphql_name='budget')
9734
+ budget_exceeded = sgqlc.types.Field(Boolean, graphql_name='budgetExceeded')
9735
+ cancel_reason = sgqlc.types.Field(SubscriptionCancelReason, graphql_name='cancelReason')
9736
+ cancellation_date = sgqlc.types.Field(DateTime, graphql_name='cancellationDate')
9737
+ coupon = sgqlc.types.Field(SubscriptionCoupon, graphql_name='coupon')
9738
+ coupons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionCoupon)), graphql_name='coupons')
9739
+ created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
9740
+ crm_id = sgqlc.types.Field(String, graphql_name='crmId')
9741
+ crm_link_url = sgqlc.types.Field(String, graphql_name='crmLinkUrl')
9742
+ current_billing_period_end = sgqlc.types.Field(DateTime, graphql_name='currentBillingPeriodEnd')
9743
+ current_billing_period_start = sgqlc.types.Field(DateTime, graphql_name='currentBillingPeriodStart')
9744
+ customer = sgqlc.types.Field(sgqlc.types.non_null(Customer), graphql_name='customer')
9745
+ customer_id = sgqlc.types.Field(String, graphql_name='customerId')
9746
+ effective_end_date = sgqlc.types.Field(DateTime, graphql_name='effectiveEndDate')
9747
+ end_date = sgqlc.types.Field(DateTime, graphql_name='endDate')
9748
+ environment = sgqlc.types.Field(sgqlc.types.non_null(Environment), graphql_name='environment')
9749
+ environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
9750
+ experiment = sgqlc.types.Field(Experiment, graphql_name='experiment')
9751
+ experiment_info = sgqlc.types.Field('experimentInfo', graphql_name='experimentInfo')
9752
+ free_items = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(FreeSubscriptionItem)), graphql_name='freeItems')
9753
+ id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
9754
+ last_usage_invoice = sgqlc.types.Field(SubscriptionInvoice, graphql_name='lastUsageInvoice')
9755
+ latest_invoice = sgqlc.types.Field(SubscriptionInvoice, graphql_name='latestInvoice')
9756
+ minimum_spend = sgqlc.types.Field(SubscriptionMinimumSpend, graphql_name='minimumSpend')
9757
+ old_billing_id = sgqlc.types.Field(String, graphql_name='oldBillingId')
9758
+ paying_customer = sgqlc.types.Field(Customer, graphql_name='payingCustomer')
9759
+ paying_customer_id = sgqlc.types.Field(String, graphql_name='payingCustomerId')
9760
+ payment_collection = sgqlc.types.Field(sgqlc.types.non_null(PaymentCollection), graphql_name='paymentCollection')
9761
+ payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
9762
+ plan = sgqlc.types.Field(sgqlc.types.non_null(Plan), graphql_name='plan')
9763
+ prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionPrice)), graphql_name='prices', args=sgqlc.types.ArgDict((
9764
+ ('filter', sgqlc.types.Arg(SubscriptionPriceFilter, graphql_name='filter', default={'billingModel': {'neq': 'MINIMUM_SPEND'}})),
9765
+ ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionPriceSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
9766
+ ))
9767
+ )
9768
+ pricing_type = sgqlc.types.Field(sgqlc.types.non_null(PricingType), graphql_name='pricingType')
9769
+ ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
9770
+ resource = sgqlc.types.Field(CustomerResource, graphql_name='resource')
9771
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
9772
+ salesforce_id = sgqlc.types.Field(String, graphql_name='salesforceId')
9773
+ scheduled_updates = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionScheduledUpdate')), graphql_name='scheduledUpdates')
9774
+ start_date = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='startDate')
9775
+ status = sgqlc.types.Field(sgqlc.types.non_null(SubscriptionStatus), graphql_name='status')
9776
+ subscription_entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionEntitlement)), graphql_name='subscriptionEntitlements', args=sgqlc.types.ArgDict((
9777
+ ('filter', sgqlc.types.Arg(SubscriptionEntitlementFilter, graphql_name='filter', default={})),
9778
+ ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionEntitlementSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
9779
+ ))
9780
+ )
9781
+ subscription_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionId')
9782
+ sync_states = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('SyncState'))), graphql_name='syncStates')
9783
+ total_price = sgqlc.types.Field(CustomerSubscriptionTotalPrice, graphql_name='totalPrice')
9784
+ trial_configuration = sgqlc.types.Field('TrialConfiguration', graphql_name='trialConfiguration')
9785
+ trial_end_date = sgqlc.types.Field(DateTime, graphql_name='trialEndDate')
9786
+ was_in_trial = sgqlc.types.Field(Boolean, graphql_name='wasInTrial')
9787
+
9788
+
9789
+ class SubscriptionQueryAggregateGroupBy(sgqlc.types.Type):
9790
+ __schema__ = schema
9791
+ __field_names__ = ('created_at', 'customer_id', 'environment_id', 'product_id', 'resource_id', 'status')
9792
+ created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
9793
+ customer_id = sgqlc.types.Field(String, graphql_name='customerId')
9794
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
9795
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
9796
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
9797
+ status = sgqlc.types.Field(SubscriptionStatus, graphql_name='status')
9798
+
9799
+
9800
+ class SubscriptionQueryConnection(sgqlc.types.relay.Connection):
9801
+ __schema__ = schema
9802
+ __field_names__ = ('edges', 'page_info', 'total_count')
9803
+ edges = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionQueryEdge'))), graphql_name='edges')
9804
+ page_info = sgqlc.types.Field(sgqlc.types.non_null(PageInfo), graphql_name='pageInfo')
9805
+ total_count = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='totalCount')
9806
+
9807
+
9808
+ class SubscriptionQueryCountAggregate(sgqlc.types.Type):
9809
+ __schema__ = schema
9810
+ __field_names__ = ('created_at', 'customer_id', 'environment_id', 'product_id', 'resource_id', 'status')
9811
+ created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
9812
+ customer_id = sgqlc.types.Field(Int, graphql_name='customerId')
9813
+ environment_id = sgqlc.types.Field(Int, graphql_name='environmentId')
9814
+ product_id = sgqlc.types.Field(Int, graphql_name='productId')
9815
+ resource_id = sgqlc.types.Field(Int, graphql_name='resourceId')
9816
+ status = sgqlc.types.Field(Int, graphql_name='status')
9817
+
9818
+
9819
+ class SubscriptionQueryEdge(sgqlc.types.Type):
9820
+ __schema__ = schema
9821
+ __field_names__ = ('cursor', 'node')
9822
+ cursor = sgqlc.types.Field(sgqlc.types.non_null(ConnectionCursor), graphql_name='cursor')
9823
+ node = sgqlc.types.Field(sgqlc.types.non_null(SubscriptionQuery), graphql_name='node')
9824
+
9825
+
9826
+ class SubscriptionQueryMaxAggregate(sgqlc.types.Type):
9827
+ __schema__ = schema
9828
+ __field_names__ = ('created_at', 'customer_id', 'environment_id', 'product_id', 'resource_id', 'status')
9829
+ created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
9830
+ customer_id = sgqlc.types.Field(String, graphql_name='customerId')
9831
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
9832
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
9833
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
9834
+ status = sgqlc.types.Field(SubscriptionStatus, graphql_name='status')
9835
+
9836
+
9837
+ class SubscriptionQueryMinAggregate(sgqlc.types.Type):
9838
+ __schema__ = schema
9839
+ __field_names__ = ('created_at', 'customer_id', 'environment_id', 'product_id', 'resource_id', 'status')
9840
+ created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
9841
+ customer_id = sgqlc.types.Field(String, graphql_name='customerId')
9842
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
9843
+ product_id = sgqlc.types.Field(String, graphql_name='productId')
9844
+ resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
9845
+ status = sgqlc.types.Field(SubscriptionStatus, graphql_name='status')
9846
+
9847
+
9688
9848
  class SubscriptionScheduledUpdate(sgqlc.types.Type):
9689
9849
  __schema__ = schema
9690
9850
  __field_names__ = ('billing_id', 'created_at', 'schedule_status', 'schedule_variables', 'scheduled_execution_time', 'subscription_schedule_type', 'target_package')