stigg-api-client 2.217.0__py3-none-any.whl → 2.227.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
@@ -50,9 +50,9 @@ class ApiKeyType(sgqlc.types.Enum):
50
50
  __choices__ = ('CLIENT', 'SALESFORCE', 'SERVER')
51
51
 
52
52
 
53
- class Auth0Region(sgqlc.types.Enum):
53
+ class Auth0ApplicationType(sgqlc.types.Enum):
54
54
  __schema__ = schema
55
- __choices__ = ('AU', 'CA', 'EU', 'JP', 'UK', 'US')
55
+ __choices__ = ('BOTH', 'INDIVIDUAL', 'ORGANIZATION')
56
56
 
57
57
 
58
58
  class BillingAnchor(sgqlc.types.Enum):
@@ -787,11 +787,17 @@ class AttachCustomerPaymentMethodInput(sgqlc.types.Input):
787
787
 
788
788
  class Auth0CredentialsInput(sgqlc.types.Input):
789
789
  __schema__ = schema
790
- __field_names__ = ('client_id', 'client_secret', 'region', 'tenant')
790
+ __field_names__ = ('application_id', 'application_name', 'application_type', 'client_domain', 'client_id', 'client_secret', 'individual_initial_plan_id', 'individual_subscription_start_setup', 'organization_initial_plan_id', 'organization_subscription_start_setup')
791
+ application_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='applicationId')
792
+ application_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='applicationName')
793
+ application_type = sgqlc.types.Field(sgqlc.types.non_null(Auth0ApplicationType), graphql_name='applicationType')
794
+ client_domain = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientDomain')
791
795
  client_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientId')
792
796
  client_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientSecret')
793
- region = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='region')
794
- tenant = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='tenant')
797
+ individual_initial_plan_id = sgqlc.types.Field(String, graphql_name='individualInitialPlanId')
798
+ individual_subscription_start_setup = sgqlc.types.Field(SubscriptionStartSetup, graphql_name='individualSubscriptionStartSetup')
799
+ organization_initial_plan_id = sgqlc.types.Field(String, graphql_name='organizationInitialPlanId')
800
+ organization_subscription_start_setup = sgqlc.types.Field(SubscriptionStartSetup, graphql_name='organizationSubscriptionStartSetup')
795
801
 
796
802
 
797
803
  class AutoCancellationRuleInput(sgqlc.types.Input):
@@ -2080,6 +2086,15 @@ class GetActiveSubscriptionsInput(sgqlc.types.Input):
2080
2086
  resource_ids = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='resourceIds')
2081
2087
 
2082
2088
 
2089
+ class GetAuth0ApplicationsInput(sgqlc.types.Input):
2090
+ __schema__ = schema
2091
+ __field_names__ = ('client_domain', 'client_id', 'client_secret', 'environment_id')
2092
+ client_domain = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientDomain')
2093
+ client_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientId')
2094
+ client_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientSecret')
2095
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
2096
+
2097
+
2083
2098
  class GetCustomerByRefIdInput(sgqlc.types.Input):
2084
2099
  __schema__ = schema
2085
2100
  __field_names__ = ('customer_id', 'environment_id')
@@ -4701,13 +4716,27 @@ class AsyncTaskResult(sgqlc.types.Type):
4701
4716
  task_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='taskId')
4702
4717
 
4703
4718
 
4719
+ class Auth0ApplicationDTO(sgqlc.types.Type):
4720
+ __schema__ = schema
4721
+ __field_names__ = ('app_id', 'name', 'type')
4722
+ app_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='appId')
4723
+ name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
4724
+ type = sgqlc.types.Field(Auth0ApplicationType, graphql_name='type')
4725
+
4726
+
4704
4727
  class Auth0Credentials(sgqlc.types.Type):
4705
4728
  __schema__ = schema
4706
- __field_names__ = ('client_id', 'client_secret', 'region', 'tenant')
4729
+ __field_names__ = ('application_id', 'application_name', 'application_type', 'client_domain', 'client_id', 'client_secret', 'individual_initial_plan_id', 'individual_subscription_start_setup', 'organization_initial_plan_id', 'organization_subscription_start_setup')
4730
+ application_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='applicationId')
4731
+ application_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='applicationName')
4732
+ application_type = sgqlc.types.Field(sgqlc.types.non_null(Auth0ApplicationType), graphql_name='applicationType')
4733
+ client_domain = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientDomain')
4707
4734
  client_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientId')
4708
4735
  client_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientSecret')
4709
- region = sgqlc.types.Field(sgqlc.types.non_null(Auth0Region), graphql_name='region')
4710
- tenant = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='tenant')
4736
+ individual_initial_plan_id = sgqlc.types.Field(String, graphql_name='individualInitialPlanId')
4737
+ individual_subscription_start_setup = sgqlc.types.Field(SubscriptionStartSetup, graphql_name='individualSubscriptionStartSetup')
4738
+ organization_initial_plan_id = sgqlc.types.Field(String, graphql_name='organizationInitialPlanId')
4739
+ organization_subscription_start_setup = sgqlc.types.Field(SubscriptionStartSetup, graphql_name='organizationSubscriptionStartSetup')
4711
4740
 
4712
4741
 
4713
4742
  class AutoCancellationRule(sgqlc.types.Type):
@@ -8382,7 +8411,7 @@ class PublishPackageResult(sgqlc.types.Type):
8382
8411
 
8383
8412
  class Query(sgqlc.types.Type):
8384
8413
  __schema__ = schema
8385
- __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_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')
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')
8386
8415
  addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
8387
8416
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
8388
8417
  ))
@@ -8502,6 +8531,10 @@ class Query(sgqlc.types.Type):
8502
8531
  )
8503
8532
  get_addon_by_ref_id = sgqlc.types.Field(Addon, graphql_name='getAddonByRefId', args=sgqlc.types.ArgDict((
8504
8533
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(GetPackageByRefIdInput), graphql_name='input', default=None)),
8534
+ ))
8535
+ )
8536
+ get_auth0_applications = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Auth0ApplicationDTO))), graphql_name='getAuth0Applications', args=sgqlc.types.ArgDict((
8537
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(GetAuth0ApplicationsInput), graphql_name='input', default=None)),
8505
8538
  ))
8506
8539
  )
8507
8540
  get_aws_external_id = sgqlc.types.Field(sgqlc.types.non_null(GetAwsExternalIdResult), graphql_name='getAwsExternalId')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.217.0
3
+ Version: 2.227.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=ZYwMYYvE8ZjCfFDXr8v-FKOtYPBm5b9RQUL6pJlLkW8,78296
5
- stigg/generated/schema.py,sha256=FbmrVHsJg8EGQmWUhXrgrtZ_O6QPrqFOEfewvLwjEx0,623399
6
- stigg_api_client-2.217.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-2.217.0.dist-info/METADATA,sha256=YapMQw2WyMztYhXPwUeZxMjPYmVCUT6Mb8D7TGTgprc,3198
8
- stigg_api_client-2.217.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-2.217.0.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=kh1q7c57FOG_Jw-6F76-ItBLVL0AGpbdeqzUMTHBkN0,626473
6
+ stigg_api_client-2.227.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-2.227.0.dist-info/METADATA,sha256=_OQ8-aAH_E6ByK4zzSFd02kouW51EMtFj3J_ENEQgm0,3198
8
+ stigg_api_client-2.227.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-2.227.0.dist-info/RECORD,,