stigg-api-client 2.334.0__tar.gz → 2.341.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.334.0
3
+ Version: 2.341.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.334.0"
3
+ version = "2.341.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -20,6 +20,11 @@ class AccessDeniedReason(sgqlc.types.Enum):
20
20
  __choices__ = ('BudgetExceeded', 'CustomerIsArchived', 'CustomerNotFound', 'CustomerResourceNotFound', 'FeatureNotFound', 'NoActiveSubscription', 'NoFeatureEntitlementInSubscription', 'RequestedUsageExceedingLimit', 'Unknown')
21
21
 
22
22
 
23
+ class AccountAccessMethod(sgqlc.types.Enum):
24
+ __schema__ = schema
25
+ __choices__ = ('AUTHORIZED_DOMAIN', 'INVITE_ONLY', 'SSO')
26
+
27
+
23
28
  class AccountAccessRole(sgqlc.types.Enum):
24
29
  __schema__ = schema
25
30
  __choices__ = ('MEMBER', 'OWNER')
@@ -1245,6 +1250,16 @@ class CreatePackageGroup(sgqlc.types.Input):
1245
1250
  product_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='productId')
1246
1251
 
1247
1252
 
1253
+ class CreateWorkflowTriggerInput(sgqlc.types.Input):
1254
+ __schema__ = schema
1255
+ __field_names__ = ('configuration', 'endpoint', 'environment_id', 'event_log_types', 'trigger_id')
1256
+ configuration = sgqlc.types.Field(JSON, graphql_name='configuration')
1257
+ endpoint = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='endpoint')
1258
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
1259
+ event_log_types = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(EventLogType))), graphql_name='eventLogTypes')
1260
+ trigger_id = sgqlc.types.Field(String, graphql_name='triggerId')
1261
+
1262
+
1248
1263
  class CursorPaging(sgqlc.types.Input):
1249
1264
  __schema__ = schema
1250
1265
  __field_names__ = ('after', 'before', 'first', 'last')
@@ -1695,6 +1710,13 @@ class DeleteOnePromotionalEntitlementInput(sgqlc.types.Input):
1695
1710
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
1696
1711
 
1697
1712
 
1713
+ class DeleteWorkflowTriggerInput(sgqlc.types.Input):
1714
+ __schema__ = schema
1715
+ __field_names__ = ('environment_id', 'workflow_trigger_id')
1716
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
1717
+ workflow_trigger_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='workflowTriggerId')
1718
+
1719
+
1698
1720
  class DetachCustomerPaymentMethodInput(sgqlc.types.Input):
1699
1721
  __schema__ = schema
1700
1722
  __field_names__ = ('customer_id', 'environment_id')
@@ -2186,6 +2208,14 @@ class GetWidgetConfigurationInput(sgqlc.types.Input):
2186
2208
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
2187
2209
 
2188
2210
 
2211
+ class GetWorkflowTriggersInput(sgqlc.types.Input):
2212
+ __schema__ = schema
2213
+ __field_names__ = ('environment_id', 'trigger_id', 'workflow_trigger_id')
2214
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
2215
+ trigger_id = sgqlc.types.Field(String, graphql_name='triggerId')
2216
+ workflow_trigger_id = sgqlc.types.Field(String, graphql_name='workflowTriggerId')
2217
+
2218
+
2189
2219
  class GrantPromotionalEntitlementInput(sgqlc.types.Input):
2190
2220
  __schema__ = schema
2191
2221
  __field_names__ = ('custom_end_date', 'feature_id', 'has_soft_limit', 'has_unlimited_usage', 'is_visible', 'monthly_reset_period_configuration', 'period', 'reset_period', 'usage_limit', 'weekly_reset_period_configuration', 'yearly_reset_period_configuration')
@@ -4216,7 +4246,9 @@ class UnitTransformationInput(sgqlc.types.Input):
4216
4246
 
4217
4247
  class UpdateAccountInput(sgqlc.types.Input):
4218
4248
  __schema__ = schema
4219
- __field_names__ = ('default_ssoroles', 'display_name', 'subscription_billing_anchor', 'subscription_proration_behavior', 'timezone')
4249
+ __field_names__ = ('access_method', 'account_email_domain', 'default_ssoroles', 'display_name', 'subscription_billing_anchor', 'subscription_proration_behavior', 'timezone')
4250
+ access_method = sgqlc.types.Field(AccountAccessMethod, graphql_name='accessMethod')
4251
+ account_email_domain = sgqlc.types.Field(String, graphql_name='accountEmailDomain')
4220
4252
  default_ssoroles = sgqlc.types.Field(DefaultSSORolesInput, graphql_name='defaultSSORoles')
4221
4253
  display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
4222
4254
  subscription_billing_anchor = sgqlc.types.Field(BillingAnchor, graphql_name='subscriptionBillingAnchor')
@@ -4618,7 +4650,8 @@ class AccessRoles(sgqlc.types.Type):
4618
4650
 
4619
4651
  class Account(sgqlc.types.Type):
4620
4652
  __schema__ = schema
4621
- __field_names__ = ('account_email_domain', 'account_status', 'default_ssoroles', 'display_name', 'id', 'saml_enabled', 'subscription_billing_anchor', 'subscription_proration_behavior', 'timezone')
4653
+ __field_names__ = ('access_method', 'account_email_domain', 'account_status', 'default_ssoroles', 'display_name', 'id', 'saml_enabled', 'subscription_billing_anchor', 'subscription_proration_behavior', 'timezone')
4654
+ access_method = sgqlc.types.Field(sgqlc.types.non_null(AccountAccessMethod), graphql_name='accessMethod')
4622
4655
  account_email_domain = sgqlc.types.Field(String, graphql_name='accountEmailDomain')
4623
4656
  account_status = sgqlc.types.Field(AccountStatus, graphql_name='accountStatus')
4624
4657
  default_ssoroles = sgqlc.types.Field(AccessRoles, graphql_name='defaultSSORoles')
@@ -6881,7 +6914,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6881
6914
 
6882
6915
  class Mutation(sgqlc.types.Type):
6883
6916
  __schema__ = schema
6884
- __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_one_coupon', 'archive_package_group', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'charge_subscription_usage', 'create_account', 'create_addon_draft', 'create_empty_addon_draft', 'create_empty_plan_draft', 'create_feature', 'create_many_package_entitlements', 'create_many_promotional_entitlements', 'create_one_addon', 'create_one_coupon', 'create_one_customer', 'create_one_environment', 'create_one_experiment', 'create_one_hook', 'create_one_integration', 'create_one_plan', 'create_one_product', 'create_or_update_aws_marketplace_product', 'create_package_group', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'delegate_subscription_to_customer', 'delete_feature', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'detach_customer_payment_method', 'duplicate_product', 'edit_package_group', 'estimate_subscription', 'estimate_subscription_update', 'grant_promotional_entitlements', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'mark_invoice_as_paid', 'merge_environment', 'migrate_subscription_to_latest', 'prepare_payment_method_form', 'preview_next_invoice', 'preview_subscription', 'provision_customer', 'provision_sandbox', 'provision_subscription', 'provision_subscription_v2', 'publish_addon', 'publish_plan', 'purge_customer_cache', 'recalculate_entitlements', 'register_member', 'remove_addon_draft', 'remove_base_plan_from_plan', 'remove_compatible_addons_from_plan', 'remove_coupon_from_customer', 'remove_experiment_from_customer', 'remove_experiment_from_customer_subscription', 'remove_member', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'report_usage_bulk', 'resend_email_verification', 'resync_integration', 'revoke_promotional_entitlement', 'set_access_roles', 'set_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_compatible_package_groups', 'set_coupon_on_customer', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_group_addons', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'subscription_maximum_spend', 'sync_tax_rates', 'transfer_subscription', 'transfer_subscription_to_resource', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', 'trigger_rbacsync', 'trigger_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'unarchive_addon', 'unarchive_customer', 'unarchive_environment', 'unarchive_feature', 'unarchive_plan', 'update_account', 'update_entitlements_order', 'update_feature', 'update_one_addon', 'update_one_coupon', 'update_one_customer', 'update_one_environment', 'update_one_experiment', 'update_one_hook', 'update_one_integration', 'update_one_package_entitlement', 'update_one_plan', 'update_one_product', 'update_one_promotional_entitlement', 'update_one_subscription', 'update_user', 'workflows_login')
6917
+ __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_one_coupon', 'archive_package_group', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'charge_subscription_usage', 'create_account', 'create_addon_draft', 'create_empty_addon_draft', 'create_empty_plan_draft', 'create_feature', 'create_many_package_entitlements', 'create_many_promotional_entitlements', 'create_one_addon', 'create_one_coupon', 'create_one_customer', 'create_one_environment', 'create_one_experiment', 'create_one_hook', 'create_one_integration', 'create_one_plan', 'create_one_product', 'create_or_update_aws_marketplace_product', 'create_package_group', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'create_workflow_trigger', 'delegate_subscription_to_customer', 'delete_feature', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'delete_workflow_trigger', 'detach_customer_payment_method', 'duplicate_product', 'edit_package_group', 'estimate_subscription', 'estimate_subscription_update', 'grant_promotional_entitlements', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'mark_invoice_as_paid', 'merge_environment', 'migrate_subscription_to_latest', 'prepare_payment_method_form', 'preview_next_invoice', 'preview_subscription', 'provision_customer', 'provision_sandbox', 'provision_subscription', 'provision_subscription_v2', 'publish_addon', 'publish_plan', 'purge_customer_cache', 'recalculate_entitlements', 'register_member', 'remove_addon_draft', 'remove_base_plan_from_plan', 'remove_compatible_addons_from_plan', 'remove_coupon_from_customer', 'remove_experiment_from_customer', 'remove_experiment_from_customer_subscription', 'remove_member', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'report_usage_bulk', 'resend_email_verification', 'resync_integration', 'revoke_promotional_entitlement', 'set_access_roles', 'set_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_compatible_package_groups', 'set_coupon_on_customer', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_group_addons', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'subscription_maximum_spend', 'sync_tax_rates', 'transfer_subscription', 'transfer_subscription_to_resource', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', 'trigger_rbacsync', 'trigger_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'unarchive_addon', 'unarchive_customer', 'unarchive_environment', 'unarchive_feature', 'unarchive_plan', 'update_account', 'update_entitlements_order', 'update_feature', 'update_one_addon', 'update_one_coupon', 'update_one_customer', 'update_one_environment', 'update_one_experiment', 'update_one_hook', 'update_one_integration', 'update_one_package_entitlement', 'update_one_plan', 'update_one_product', 'update_one_promotional_entitlement', 'update_one_subscription', 'update_user', 'workflows_login')
6885
6918
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6886
6919
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6887
6920
  ))
@@ -7016,6 +7049,10 @@ class Mutation(sgqlc.types.Type):
7016
7049
  )
7017
7050
  create_usage_measurement = sgqlc.types.Field(sgqlc.types.non_null('UsageMeasurementWithCurrentUsage'), graphql_name='createUsageMeasurement', args=sgqlc.types.ArgDict((
7018
7051
  ('usage_measurement', sgqlc.types.Arg(sgqlc.types.non_null(UsageMeasurementCreateInput), graphql_name='usageMeasurement', default=None)),
7052
+ ))
7053
+ )
7054
+ create_workflow_trigger = sgqlc.types.Field(sgqlc.types.non_null('WorkflowTriggerDTO'), graphql_name='createWorkflowTrigger', args=sgqlc.types.ArgDict((
7055
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreateWorkflowTriggerInput), graphql_name='input', default=None)),
7019
7056
  ))
7020
7057
  )
7021
7058
  delegate_subscription_to_customer = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='delegateSubscriptionToCustomer', args=sgqlc.types.ArgDict((
@@ -7052,6 +7089,10 @@ class Mutation(sgqlc.types.Type):
7052
7089
  )
7053
7090
  delete_one_promotional_entitlement = sgqlc.types.Field(sgqlc.types.non_null('PromotionalEntitlementDeleteResponse'), graphql_name='deleteOnePromotionalEntitlement', args=sgqlc.types.ArgDict((
7054
7091
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(DeleteOnePromotionalEntitlementInput), graphql_name='input', default=None)),
7092
+ ))
7093
+ )
7094
+ delete_workflow_trigger = sgqlc.types.Field(String, graphql_name='deleteWorkflowTrigger', args=sgqlc.types.ArgDict((
7095
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(DeleteWorkflowTriggerInput), graphql_name='input', default=None)),
7055
7096
  ))
7056
7097
  )
7057
7098
  detach_customer_payment_method = sgqlc.types.Field(sgqlc.types.non_null(Customer), graphql_name='detachCustomerPaymentMethod', args=sgqlc.types.ArgDict((
@@ -8592,7 +8633,7 @@ class PublishPackageResult(sgqlc.types.Type):
8592
8633
 
8593
8634
  class Query(sgqlc.types.Type):
8594
8635
  __schema__ = schema
8595
- __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')
8636
+ __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', 'verified_account_domains', 'widget_configuration', 'workflow_triggers')
8596
8637
  addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
8597
8638
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
8598
8639
  ))
@@ -8876,10 +8917,15 @@ class Query(sgqlc.types.Type):
8876
8917
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(ValidateMergeEnvironmentInput), graphql_name='input', default=None)),
8877
8918
  ))
8878
8919
  )
8920
+ verified_account_domains = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(String))), graphql_name='verifiedAccountDomains')
8879
8921
  widget_configuration = sgqlc.types.Field(sgqlc.types.non_null('WidgetConfiguration'), graphql_name='widgetConfiguration', args=sgqlc.types.ArgDict((
8880
8922
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(GetWidgetConfigurationInput), graphql_name='input', default=None)),
8881
8923
  ))
8882
8924
  )
8925
+ workflow_triggers = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('WorkflowTriggerDTO'))), graphql_name='workflowTriggers', args=sgqlc.types.ArgDict((
8926
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(GetWorkflowTriggersInput), graphql_name='input', default=None)),
8927
+ ))
8928
+ )
8883
8929
 
8884
8930
 
8885
8931
  class RecalculateEntitlementsResult(sgqlc.types.Type):
@@ -9956,6 +10002,15 @@ class WidgetConfiguration(sgqlc.types.Type):
9956
10002
  paywall = sgqlc.types.Field(PaywallConfiguration, graphql_name='paywall')
9957
10003
 
9958
10004
 
10005
+ class WorkflowTriggerDTO(sgqlc.types.Type):
10006
+ __schema__ = schema
10007
+ __field_names__ = ('endpoint', 'event_log_types', 'id', 'trigger_id')
10008
+ endpoint = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='endpoint')
10009
+ event_log_types = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(EventLogType))), graphql_name='eventLogTypes')
10010
+ id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
10011
+ trigger_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='triggerId')
10012
+
10013
+
9959
10014
  class WorkflowsLoginDTO(sgqlc.types.Type):
9960
10015
  __schema__ = schema
9961
10016
  __field_names__ = ('project_id', 'token')