stigg-api-client 2.336.0__py3-none-any.whl → 2.341.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
@@ -1250,6 +1250,16 @@ class CreatePackageGroup(sgqlc.types.Input):
1250
1250
  product_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='productId')
1251
1251
 
1252
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
+
1253
1263
  class CursorPaging(sgqlc.types.Input):
1254
1264
  __schema__ = schema
1255
1265
  __field_names__ = ('after', 'before', 'first', 'last')
@@ -1700,6 +1710,13 @@ class DeleteOnePromotionalEntitlementInput(sgqlc.types.Input):
1700
1710
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
1701
1711
 
1702
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
+
1703
1720
  class DetachCustomerPaymentMethodInput(sgqlc.types.Input):
1704
1721
  __schema__ = schema
1705
1722
  __field_names__ = ('customer_id', 'environment_id')
@@ -2191,6 +2208,14 @@ class GetWidgetConfigurationInput(sgqlc.types.Input):
2191
2208
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
2192
2209
 
2193
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
+
2194
2219
  class GrantPromotionalEntitlementInput(sgqlc.types.Input):
2195
2220
  __schema__ = schema
2196
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')
@@ -6889,7 +6914,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6889
6914
 
6890
6915
  class Mutation(sgqlc.types.Type):
6891
6916
  __schema__ = schema
6892
- __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')
6893
6918
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6894
6919
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6895
6920
  ))
@@ -7024,6 +7049,10 @@ class Mutation(sgqlc.types.Type):
7024
7049
  )
7025
7050
  create_usage_measurement = sgqlc.types.Field(sgqlc.types.non_null('UsageMeasurementWithCurrentUsage'), graphql_name='createUsageMeasurement', args=sgqlc.types.ArgDict((
7026
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)),
7027
7056
  ))
7028
7057
  )
7029
7058
  delegate_subscription_to_customer = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='delegateSubscriptionToCustomer', args=sgqlc.types.ArgDict((
@@ -7060,6 +7089,10 @@ class Mutation(sgqlc.types.Type):
7060
7089
  )
7061
7090
  delete_one_promotional_entitlement = sgqlc.types.Field(sgqlc.types.non_null('PromotionalEntitlementDeleteResponse'), graphql_name='deleteOnePromotionalEntitlement', args=sgqlc.types.ArgDict((
7062
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)),
7063
7096
  ))
7064
7097
  )
7065
7098
  detach_customer_payment_method = sgqlc.types.Field(sgqlc.types.non_null(Customer), graphql_name='detachCustomerPaymentMethod', args=sgqlc.types.ArgDict((
@@ -8600,7 +8633,7 @@ class PublishPackageResult(sgqlc.types.Type):
8600
8633
 
8601
8634
  class Query(sgqlc.types.Type):
8602
8635
  __schema__ = schema
8603
- __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')
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')
8604
8637
  addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
8605
8638
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
8606
8639
  ))
@@ -8889,6 +8922,10 @@ class Query(sgqlc.types.Type):
8889
8922
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(GetWidgetConfigurationInput), graphql_name='input', default=None)),
8890
8923
  ))
8891
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
+ )
8892
8929
 
8893
8930
 
8894
8931
  class RecalculateEntitlementsResult(sgqlc.types.Type):
@@ -9965,6 +10002,15 @@ class WidgetConfiguration(sgqlc.types.Type):
9965
10002
  paywall = sgqlc.types.Field(PaywallConfiguration, graphql_name='paywall')
9966
10003
 
9967
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
+
9968
10014
  class WorkflowsLoginDTO(sgqlc.types.Type):
9969
10015
  __schema__ = schema
9970
10016
  __field_names__ = ('project_id', 'token')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.336.0
3
+ Version: 2.341.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=BJn0KcJ8WG-6ivqsgyvNpd3av5mQ-OcXrpKb_Lj_Q48,79506
5
- stigg/generated/schema.py,sha256=4A7f6vNk0WwdCDnjZtDbCgu2BAd77YFECvSfbIW-Ho4,643490
6
- stigg_api_client-2.336.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-2.336.0.dist-info/METADATA,sha256=LbLt_JrmJV6tvLhzIVjBmGvImOREi98NjT37al2JMbA,3198
8
- stigg_api_client-2.336.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-2.336.0.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=I0sdIsgRvjr4t3lCsKTRsAWXRh3CNCs2qpf9XQ5UtrU,646325
6
+ stigg_api_client-2.341.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-2.341.0.dist-info/METADATA,sha256=DdF-VwS8CTVS3PaNZ1xeZNwyOaHYzSlNr0EMKCfIPIU,3198
8
+ stigg_api_client-2.341.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-2.341.0.dist-info/RECORD,,