stigg-api-client 2.214.0__tar.gz → 2.222.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.214.0
3
+ Version: 2.222.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.214.0"
3
+ version = "2.222.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -1315,6 +1315,10 @@ def fragment_schedule_variables_fragment():
1315
1315
  _frag__as__PlanChangeVariables_addons = _frag__as__PlanChangeVariables.addons()
1316
1316
  _frag__as__PlanChangeVariables_addons.addon_ref_id()
1317
1317
  _frag__as__PlanChangeVariables_addons.quantity()
1318
+ _frag__as__PlanChangeVariables_price_overrides = _frag__as__PlanChangeVariables.price_overrides()
1319
+ _frag__as__PlanChangeVariables_price_overrides.plan_ref_id()
1320
+ _frag__as__PlanChangeVariables_price_overrides.addon_ref_id()
1321
+ _frag__as__PlanChangeVariables_price_overrides.feature_id()
1318
1322
  _frag__as__DowngradeChangeVariables = _frag.__as__(_schema.DowngradeChangeVariables)
1319
1323
  _frag__as__DowngradeChangeVariables.downgrade_plan_ref_id()
1320
1324
  _frag__as__DowngradeChangeVariables.billing_period()
@@ -1324,6 +1328,10 @@ def fragment_schedule_variables_fragment():
1324
1328
  _frag__as__DowngradeChangeVariables_addons = _frag__as__DowngradeChangeVariables.addons()
1325
1329
  _frag__as__DowngradeChangeVariables_addons.addon_ref_id()
1326
1330
  _frag__as__DowngradeChangeVariables_addons.quantity()
1331
+ _frag__as__DowngradeChangeVariables_price_overrides = _frag__as__DowngradeChangeVariables.price_overrides()
1332
+ _frag__as__DowngradeChangeVariables_price_overrides.plan_ref_id()
1333
+ _frag__as__DowngradeChangeVariables_price_overrides.addon_ref_id()
1334
+ _frag__as__DowngradeChangeVariables_price_overrides.feature_id()
1327
1335
  _frag__as__BillingPeriodChangeVariables = _frag.__as__(_schema.BillingPeriodChangeVariables)
1328
1336
  _frag__as__BillingPeriodChangeVariables.billing_period()
1329
1337
  _frag__as__UnitAmountChangeVariables = _frag.__as__(_schema.UnitAmountChangeVariables)
@@ -1332,6 +1340,12 @@ def fragment_schedule_variables_fragment():
1332
1340
  _frag__as__AddonChangeVariables = _frag.__as__(_schema.AddonChangeVariables)
1333
1341
  _frag__as__AddonChangeVariables.addon_ref_id()
1334
1342
  _frag__as__AddonChangeVariables.new_quantity()
1343
+ _frag__as__PlanPriceOverrideChangeVariables = _frag.__as__(_schema.PlanPriceOverrideChangeVariables)
1344
+ _frag__as__PlanPriceOverrideChangeVariables.plan_ref_id()
1345
+ _frag__as__PlanPriceOverrideChangeVariables.feature_id()
1346
+ _frag__as__AddonPriceOverrideChangeVariables = _frag.__as__(_schema.AddonPriceOverrideChangeVariables)
1347
+ _frag__as__AddonPriceOverrideChangeVariables.addon_ref_id()
1348
+ _frag__as__AddonPriceOverrideChangeVariables.feature_id()
1335
1349
  return _frag
1336
1350
 
1337
1351
 
@@ -50,6 +50,11 @@ class ApiKeyType(sgqlc.types.Enum):
50
50
  __choices__ = ('CLIENT', 'SALESFORCE', 'SERVER')
51
51
 
52
52
 
53
+ class Auth0ApplicationType(sgqlc.types.Enum):
54
+ __schema__ = schema
55
+ __choices__ = ('BOTH', 'INDIVIDUAL', 'ORGANIZATION')
56
+
57
+
53
58
  class Auth0Region(sgqlc.types.Enum):
54
59
  __schema__ = schema
55
60
  __choices__ = ('AU', 'CA', 'EU', 'JP', 'UK', 'US')
@@ -787,10 +792,17 @@ class AttachCustomerPaymentMethodInput(sgqlc.types.Input):
787
792
 
788
793
  class Auth0CredentialsInput(sgqlc.types.Input):
789
794
  __schema__ = schema
790
- __field_names__ = ('client_id', 'client_secret', 'region', 'tenant')
795
+ __field_names__ = ('application_id', 'application_name', 'application_type', 'client_id', 'client_secret', 'individual_initial_plan_id', 'individual_subscription_start_setup', 'organization_initial_plan_id', 'organization_subscription_start_setup', 'region', 'tenant')
796
+ application_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='applicationId')
797
+ application_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='applicationName')
798
+ application_type = sgqlc.types.Field(sgqlc.types.non_null(Auth0ApplicationType), graphql_name='applicationType')
791
799
  client_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientId')
792
800
  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')
801
+ individual_initial_plan_id = sgqlc.types.Field(String, graphql_name='individualInitialPlanId')
802
+ individual_subscription_start_setup = sgqlc.types.Field(SubscriptionStartSetup, graphql_name='individualSubscriptionStartSetup')
803
+ organization_initial_plan_id = sgqlc.types.Field(String, graphql_name='organizationInitialPlanId')
804
+ organization_subscription_start_setup = sgqlc.types.Field(SubscriptionStartSetup, graphql_name='organizationSubscriptionStartSetup')
805
+ region = sgqlc.types.Field(sgqlc.types.non_null(Auth0Region), graphql_name='region')
794
806
  tenant = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='tenant')
795
807
 
796
808
 
@@ -2080,6 +2092,16 @@ class GetActiveSubscriptionsInput(sgqlc.types.Input):
2080
2092
  resource_ids = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='resourceIds')
2081
2093
 
2082
2094
 
2095
+ class GetAuth0ApplicationsInput(sgqlc.types.Input):
2096
+ __schema__ = schema
2097
+ __field_names__ = ('client_id', 'client_secret', 'environment_id', 'region', 'tenant')
2098
+ client_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientId')
2099
+ client_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientSecret')
2100
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
2101
+ region = sgqlc.types.Field(sgqlc.types.non_null(Auth0Region), graphql_name='region')
2102
+ tenant = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='tenant')
2103
+
2104
+
2083
2105
  class GetCustomerByRefIdInput(sgqlc.types.Input):
2084
2106
  __schema__ = schema
2085
2107
  __field_names__ = ('customer_id', 'environment_id')
@@ -4701,11 +4723,26 @@ class AsyncTaskResult(sgqlc.types.Type):
4701
4723
  task_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='taskId')
4702
4724
 
4703
4725
 
4726
+ class Auth0ApplicationDTO(sgqlc.types.Type):
4727
+ __schema__ = schema
4728
+ __field_names__ = ('app_id', 'name', 'type')
4729
+ app_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='appId')
4730
+ name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
4731
+ type = sgqlc.types.Field(Auth0ApplicationType, graphql_name='type')
4732
+
4733
+
4704
4734
  class Auth0Credentials(sgqlc.types.Type):
4705
4735
  __schema__ = schema
4706
- __field_names__ = ('client_id', 'client_secret', 'region', 'tenant')
4736
+ __field_names__ = ('application_id', 'application_name', 'application_type', 'client_id', 'client_secret', 'individual_initial_plan_id', 'individual_subscription_start_setup', 'organization_initial_plan_id', 'organization_subscription_start_setup', 'region', 'tenant')
4737
+ application_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='applicationId')
4738
+ application_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='applicationName')
4739
+ application_type = sgqlc.types.Field(sgqlc.types.non_null(Auth0ApplicationType), graphql_name='applicationType')
4707
4740
  client_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientId')
4708
4741
  client_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientSecret')
4742
+ individual_initial_plan_id = sgqlc.types.Field(String, graphql_name='individualInitialPlanId')
4743
+ individual_subscription_start_setup = sgqlc.types.Field(SubscriptionStartSetup, graphql_name='individualSubscriptionStartSetup')
4744
+ organization_initial_plan_id = sgqlc.types.Field(String, graphql_name='organizationInitialPlanId')
4745
+ organization_subscription_start_setup = sgqlc.types.Field(SubscriptionStartSetup, graphql_name='organizationSubscriptionStartSetup')
4709
4746
  region = sgqlc.types.Field(sgqlc.types.non_null(Auth0Region), graphql_name='region')
4710
4747
  tenant = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='tenant')
4711
4748
 
@@ -8382,7 +8419,7 @@ class PublishPackageResult(sgqlc.types.Type):
8382
8419
 
8383
8420
  class Query(sgqlc.types.Type):
8384
8421
  __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')
8422
+ __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
8423
  addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
8387
8424
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
8388
8425
  ))
@@ -8502,6 +8539,10 @@ class Query(sgqlc.types.Type):
8502
8539
  )
8503
8540
  get_addon_by_ref_id = sgqlc.types.Field(Addon, graphql_name='getAddonByRefId', args=sgqlc.types.ArgDict((
8504
8541
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(GetPackageByRefIdInput), graphql_name='input', default=None)),
8542
+ ))
8543
+ )
8544
+ 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((
8545
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(GetAuth0ApplicationsInput), graphql_name='input', default=None)),
8505
8546
  ))
8506
8547
  )
8507
8548
  get_aws_external_id = sgqlc.types.Field(sgqlc.types.non_null(GetAwsExternalIdResult), graphql_name='getAwsExternalId')