stigg-api-client 1.126.0__tar.gz → 1.132.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: 1.126.0
3
+ Version: 1.132.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 = "1.126.0"
3
+ version = "1.132.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -2464,7 +2464,8 @@ class PackageGroupStatusFilterComparison(sgqlc.types.Input):
2464
2464
 
2465
2465
  class PackagePricingInput(sgqlc.types.Input):
2466
2466
  __schema__ = schema
2467
- __field_names__ = ('environment_id', 'minimum_spend', 'overage_billing_period', 'overage_pricing_models', 'package_id', 'pricing_model', 'pricing_models', 'pricing_type')
2467
+ __field_names__ = ('budget', 'environment_id', 'minimum_spend', 'overage_billing_period', 'overage_pricing_models', 'package_id', 'pricing_model', 'pricing_models', 'pricing_type')
2468
+ budget = sgqlc.types.Field(BudgetConfigurationInput, graphql_name='budget')
2468
2469
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
2469
2470
  minimum_spend = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(MinimumSpendInput)), graphql_name='minimumSpend')
2470
2471
  overage_billing_period = sgqlc.types.Field(OverageBillingPeriod, graphql_name='overageBillingPeriod')
@@ -2646,6 +2647,13 @@ class PlanUpdateInput(sgqlc.types.Input):
2646
2647
  status = sgqlc.types.Field(PackageStatus, graphql_name='status')
2647
2648
 
2648
2649
 
2650
+ class PreviewNextInvoiceInput(sgqlc.types.Input):
2651
+ __schema__ = schema
2652
+ __field_names__ = ('environment_id', 'subscription_id')
2653
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
2654
+ subscription_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionId')
2655
+
2656
+
2649
2657
  class PreviewSubscriptionInput(sgqlc.types.Input):
2650
2658
  __schema__ = schema
2651
2659
  __field_names__ = ('addons', 'billable_features', 'billing_country_code', 'billing_information', 'billing_period', 'customer_id', 'environment_id', 'plan_id', 'promotion_code', 'resource_id', 'schedule_strategy', 'start_date', 'unit_quantity')
@@ -4466,6 +4474,14 @@ class BudgetConfiguration(sgqlc.types.Type):
4466
4474
  limit = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='limit')
4467
4475
 
4468
4476
 
4477
+ class BudgetConfigurationChange(sgqlc.types.Type):
4478
+ __schema__ = schema
4479
+ __field_names__ = ('after', 'before', 'change_type')
4480
+ after = sgqlc.types.Field(BudgetConfiguration, graphql_name='after')
4481
+ before = sgqlc.types.Field(BudgetConfiguration, graphql_name='before')
4482
+ change_type = sgqlc.types.Field(ChangeType, graphql_name='changeType')
4483
+
4484
+
4469
4485
  class CannotDeleteCustomerError(sgqlc.types.Type):
4470
4486
  __schema__ = schema
4471
4487
  __field_names__ = ('code', 'is_validation_error', 'ref_id')
@@ -6269,7 +6285,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6269
6285
 
6270
6286
  class Mutation(sgqlc.types.Type):
6271
6287
  __schema__ = schema
6272
- __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_one_coupon', 'archive_package_group', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'charge_subscription_overages', '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_feature', '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', 'delete_feature', 'delete_one_addon', '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', 'merge_environment', 'migrate_subscription_to_latest', '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_coupon_from_customer_subscription', '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_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_compatible_package_groups', 'set_coupon_on_customer', 'set_coupon_on_customer_subscription', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_group_addons', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'sync_tax_rates', 'transfer_subscription', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', 'trigger_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'unarchive_customer', 'unarchive_environment', 'update_account', 'update_entitlements_order', 'update_feature', 'update_one_addon', 'update_one_coupon', 'update_one_customer', 'update_one_environment', 'update_one_experiment', 'update_one_feature', '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')
6288
+ __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_one_coupon', 'archive_package_group', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'charge_subscription_overages', '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_feature', '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', 'delete_feature', 'delete_one_addon', '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', 'merge_environment', 'migrate_subscription_to_latest', '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_coupon_from_customer_subscription', '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_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_compatible_package_groups', 'set_coupon_on_customer', 'set_coupon_on_customer_subscription', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_group_addons', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'sync_tax_rates', 'transfer_subscription', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', 'trigger_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'unarchive_customer', 'unarchive_environment', 'update_account', 'update_entitlements_order', 'update_feature', 'update_one_addon', 'update_one_coupon', 'update_one_customer', 'update_one_environment', 'update_one_experiment', 'update_one_feature', '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')
6273
6289
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6274
6290
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6275
6291
  ))
@@ -6496,6 +6512,10 @@ class Mutation(sgqlc.types.Type):
6496
6512
  )
6497
6513
  migrate_subscription_to_latest = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='migrateSubscriptionToLatest', args=sgqlc.types.ArgDict((
6498
6514
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(SubscriptionMigrationInput), graphql_name='input', default=None)),
6515
+ ))
6516
+ )
6517
+ preview_next_invoice = sgqlc.types.Field(sgqlc.types.non_null('SubscriptionPreviewInvoice'), graphql_name='previewNextInvoice', args=sgqlc.types.ArgDict((
6518
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(PreviewNextInvoiceInput), graphql_name='input', default=None)),
6499
6519
  ))
6500
6520
  )
6501
6521
  preview_subscription = sgqlc.types.Field(sgqlc.types.non_null('SubscriptionPreviewV2'), graphql_name='previewSubscription', args=sgqlc.types.ArgDict((
@@ -6774,9 +6794,10 @@ class PackageAlreadyPublishedError(sgqlc.types.Type):
6774
6794
 
6775
6795
  class PackageChanges(sgqlc.types.Type):
6776
6796
  __schema__ = schema
6777
- __field_names__ = ('additional_meta_data', 'base_plan', 'compatible_addons', 'compatible_package_groups', 'default_trial_config', 'dependencies', 'description', 'display_name', 'entitlements', 'hidden_from_widgets', 'max_quantity', 'minimum_spend', 'overage_prices', 'prices', 'pricing_type', 'total_changes')
6797
+ __field_names__ = ('additional_meta_data', 'base_plan', 'budget', 'compatible_addons', 'compatible_package_groups', 'default_trial_config', 'dependencies', 'description', 'display_name', 'entitlements', 'hidden_from_widgets', 'max_quantity', 'minimum_spend', 'overage_prices', 'prices', 'pricing_type', 'total_changes')
6778
6798
  additional_meta_data = sgqlc.types.Field(AdditionalMetaDataChange, graphql_name='additionalMetaData')
6779
6799
  base_plan = sgqlc.types.Field(BasePlanChange, graphql_name='basePlan')
6800
+ budget = sgqlc.types.Field(BudgetConfigurationChange, graphql_name='budget')
6780
6801
  compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanCompatibleAddonChange')), graphql_name='compatibleAddons')
6781
6802
  compatible_package_groups = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanCompatiblePackageGroupChange')), graphql_name='compatiblePackageGroups')
6782
6803
  default_trial_config = sgqlc.types.Field(DefaultTrialConfigChange, graphql_name='defaultTrialConfig')
@@ -7240,12 +7261,13 @@ class PaywallProduct(sgqlc.types.Type):
7240
7261
 
7241
7262
  class Plan(sgqlc.types.Type):
7242
7263
  __schema__ = schema
7243
- __field_names__ = ('additional_meta_data', 'aws_marketplace_plan_dimension', 'base_plan', 'billing_id', 'billing_link_url', 'compatible_addons', 'compatible_package_groups', 'created_at', 'default_trial_config', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment', 'environment_id', 'hidden_from_widgets', 'id', 'inherited_entitlements', 'is_latest', 'is_parent', 'minimum_spend', 'overage_billing_period', 'overage_prices', 'prices', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
7264
+ __field_names__ = ('additional_meta_data', 'aws_marketplace_plan_dimension', 'base_plan', 'billing_id', 'billing_link_url', 'budget', 'compatible_addons', 'compatible_package_groups', 'created_at', 'default_trial_config', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment', 'environment_id', 'hidden_from_widgets', 'id', 'inherited_entitlements', 'is_latest', 'is_parent', 'minimum_spend', 'overage_billing_period', 'overage_prices', 'prices', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
7244
7265
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
7245
7266
  aws_marketplace_plan_dimension = sgqlc.types.Field(String, graphql_name='awsMarketplacePlanDimension')
7246
7267
  base_plan = sgqlc.types.Field('Plan', graphql_name='basePlan')
7247
7268
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
7248
7269
  billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
7270
+ budget = sgqlc.types.Field(BudgetConfiguration, graphql_name='budget')
7249
7271
  compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Addon)), graphql_name='compatibleAddons', args=sgqlc.types.ArgDict((
7250
7272
  ('filter', sgqlc.types.Arg(AddonFilter, graphql_name='filter', default={})),
7251
7273
  ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(AddonSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),