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

@@ -1741,6 +1741,27 @@ def mutation_grant_credits():
1741
1741
  return _op
1742
1742
 
1743
1743
 
1744
+ def mutation_grant_promotional_entitlements_group():
1745
+ _op = sgqlc.operation.Operation(_schema_root.mutation_type, name='GrantPromotionalEntitlementsGroup', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.GrantPromotionalEntitlementsGroupInput))))
1746
+ _op_grant_promotional_entitlements_group = _op.grant_promotional_entitlements_group(input=sgqlc.types.Variable('input'))
1747
+ _op_grant_promotional_entitlements_group.__fragment__(fragment_promotional_entitlement_fragment())
1748
+ return _op
1749
+
1750
+
1751
+ def mutation_revoke_promotional_entitlements_group():
1752
+ _op = sgqlc.operation.Operation(_schema_root.mutation_type, name='RevokePromotionalEntitlementsGroup', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.RevokePromotionalEntitlementsGroupInput))))
1753
+ _op_revoke_promotional_entitlements_group = _op.revoke_promotional_entitlements_group(input=sgqlc.types.Variable('input'))
1754
+ _op_revoke_promotional_entitlements_group.__fragment__(fragment_promotional_entitlement_fragment())
1755
+ return _op
1756
+
1757
+
1758
+ def mutation_unlink_promotional_entitlements_group():
1759
+ _op = sgqlc.operation.Operation(_schema_root.mutation_type, name='UnlinkPromotionalEntitlementsGroup', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.UnlinkPromotionalEntitlementsGroupInput))))
1760
+ _op_unlink_promotional_entitlements_group = _op.unlink_promotional_entitlements_group(input=sgqlc.types.Variable('input'))
1761
+ _op_unlink_promotional_entitlements_group.__fragment__(fragment_promotional_entitlement_fragment())
1762
+ return _op
1763
+
1764
+
1744
1765
  class Mutation:
1745
1766
  apply_subscription = mutation_apply_subscription()
1746
1767
  archive_customer = mutation_archive_customer()
@@ -1753,6 +1774,7 @@ class Mutation:
1753
1774
  estimate_subscription_update = mutation_estimate_subscription_update()
1754
1775
  grant_credits = mutation_grant_credits()
1755
1776
  grant_promotional_entitlements = mutation_grant_promotional_entitlements()
1777
+ grant_promotional_entitlements_group = mutation_grant_promotional_entitlements_group()
1756
1778
  import_customer = mutation_import_customer()
1757
1779
  import_customer_bulk = mutation_import_customer_bulk()
1758
1780
  import_subscriptions_bulk = mutation_import_subscriptions_bulk()
@@ -1766,9 +1788,11 @@ class Mutation:
1766
1788
  report_usage = mutation_report_usage()
1767
1789
  report_usage_bulk = mutation_report_usage_bulk()
1768
1790
  revoke_promotional_entitlement = mutation_revoke_promotional_entitlement()
1791
+ revoke_promotional_entitlements_group = mutation_revoke_promotional_entitlements_group()
1769
1792
  transfer_subscription = mutation_transfer_subscription()
1770
1793
  transfer_subscription_to_resource = mutation_transfer_subscription_to_resource()
1771
1794
  unarchive_customer = mutation_unarchive_customer()
1795
+ unlink_promotional_entitlements_group = mutation_unlink_promotional_entitlements_group()
1772
1796
  update_customer = mutation_update_customer()
1773
1797
  update_subscription = mutation_update_subscription()
1774
1798
 
stigg/generated/schema.py CHANGED
@@ -4580,11 +4580,12 @@ class UnlinkPromotionalEntitlementsGroupInput(sgqlc.types.Input):
4580
4580
 
4581
4581
  class UpdateAccountInput(sgqlc.types.Input):
4582
4582
  __schema__ = schema
4583
- __field_names__ = ('access_method', 'account_email_domain', 'default_ssoroles', 'display_name', 'subscription_billing_anchor', 'subscription_proration_behavior', 'timezone')
4583
+ __field_names__ = ('access_method', 'account_email_domain', 'default_ssoroles', 'display_name', 'email_domains', 'subscription_billing_anchor', 'subscription_proration_behavior', 'timezone')
4584
4584
  access_method = sgqlc.types.Field(AccountAccessMethod, graphql_name='accessMethod')
4585
4585
  account_email_domain = sgqlc.types.Field(String, graphql_name='accountEmailDomain')
4586
4586
  default_ssoroles = sgqlc.types.Field(DefaultSSORolesInput, graphql_name='defaultSSORoles')
4587
4587
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
4588
+ email_domains = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='emailDomains')
4588
4589
  subscription_billing_anchor = sgqlc.types.Field(BillingAnchor, graphql_name='subscriptionBillingAnchor')
4589
4590
  subscription_proration_behavior = sgqlc.types.Field(ProrationBehavior, graphql_name='subscriptionProrationBehavior')
4590
4591
  timezone = sgqlc.types.Field(String, graphql_name='timezone')
@@ -5012,12 +5013,13 @@ class AccessRoles(sgqlc.types.Type):
5012
5013
 
5013
5014
  class Account(sgqlc.types.Type):
5014
5015
  __schema__ = schema
5015
- __field_names__ = ('access_method', 'account_email_domain', 'account_status', 'default_ssoroles', 'display_name', 'id', 'saml_enabled', 'subscription_billing_anchor', 'subscription_proration_behavior', 'timezone')
5016
+ __field_names__ = ('access_method', 'account_email_domain', 'account_status', 'default_ssoroles', 'display_name', 'email_domains', 'id', 'saml_enabled', 'subscription_billing_anchor', 'subscription_proration_behavior', 'timezone')
5016
5017
  access_method = sgqlc.types.Field(sgqlc.types.non_null(AccountAccessMethod), graphql_name='accessMethod')
5017
5018
  account_email_domain = sgqlc.types.Field(String, graphql_name='accountEmailDomain')
5018
5019
  account_status = sgqlc.types.Field(AccountStatus, graphql_name='accountStatus')
5019
5020
  default_ssoroles = sgqlc.types.Field(AccessRoles, graphql_name='defaultSSORoles')
5020
5021
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
5022
+ email_domains = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('AccountEmailDomain')), graphql_name='emailDomains')
5021
5023
  id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='id')
5022
5024
  saml_enabled = sgqlc.types.Field(Boolean, graphql_name='samlEnabled')
5023
5025
  subscription_billing_anchor = sgqlc.types.Field(BillingAnchor, graphql_name='subscriptionBillingAnchor')
@@ -5025,6 +5027,14 @@ class Account(sgqlc.types.Type):
5025
5027
  timezone = sgqlc.types.Field(String, graphql_name='timezone')
5026
5028
 
5027
5029
 
5030
+ class AccountEmailDomain(sgqlc.types.Type):
5031
+ __schema__ = schema
5032
+ __field_names__ = ('account_id', 'domain', 'id')
5033
+ account_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='accountId')
5034
+ domain = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='domain')
5035
+ id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='id')
5036
+
5037
+
5028
5038
  class AccountNotFoundError(sgqlc.types.Type):
5029
5039
  __schema__ = schema
5030
5040
  __field_names__ = ('code', 'is_validation_error')
@@ -9268,7 +9278,7 @@ class PublishPackageResult(sgqlc.types.Type):
9268
9278
 
9269
9279
  class Query(sgqlc.types.Type):
9270
9280
  __schema__ = schema
9271
- __field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'credit_balance_summary', 'credit_grants', 'credits_ledger', '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')
9281
+ __field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'credit_balance_summary', 'credit_grants', 'credits_ledger', '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', 'is_account_email_domain_taken', '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')
9272
9282
  addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
9273
9283
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
9274
9284
  ))
@@ -9469,6 +9479,10 @@ class Query(sgqlc.types.Type):
9469
9479
  ('filter', sgqlc.types.Arg(IntegrationFilter, graphql_name='filter', default={})),
9470
9480
  ('paging', sgqlc.types.Arg(CursorPaging, graphql_name='paging', default={'first': 10})),
9471
9481
  ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(IntegrationSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
9482
+ ))
9483
+ )
9484
+ is_account_email_domain_taken = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isAccountEmailDomainTaken', args=sgqlc.types.ArgDict((
9485
+ ('domain', sgqlc.types.Arg(sgqlc.types.non_null(String), graphql_name='domain', default=None)),
9472
9486
  ))
9473
9487
  )
9474
9488
  list_aws_product_dimensions = sgqlc.types.Field(sgqlc.types.non_null(ListAwsProductDimensionsDTO), graphql_name='listAwsProductDimensions', args=sgqlc.types.ArgDict((
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 3.61.2
3
+ Version: 3.64.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=8s5JV4pYCDL2t2yNfR9QrhgitTNfpgKgqp4wAUXk1Bg,87117
5
+ stigg/generated/schema.py,sha256=BYnTRceYuVq1eCsU1IjZgqC4cg14kLaTCyrDHUkSZ64,705281
6
+ stigg_api_client-3.64.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-3.64.0.dist-info/METADATA,sha256=CW6BNbTbjRti5n3NKnjPsL9o2SzcBwtjDDRl7Z-xzaM,3197
8
+ stigg_api_client-3.64.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-3.64.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=xWto9otAU8DypYXw3UAltbPOSfKTBs8npArwVHM-0o4,85289
5
- stigg/generated/schema.py,sha256=CCz-5Q-MIJ84bRmj2zOuGSME7l1d04zprwfP-lC0b9g,704327
6
- stigg_api_client-3.61.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-3.61.2.dist-info/METADATA,sha256=XLeaM6voyzKzwWM4GnVkXZjVwvKWo7rkfUrjU8OoETc,3197
8
- stigg_api_client-3.61.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-3.61.2.dist-info/RECORD,,