stigg-api-client 1.125.0__tar.gz → 1.128.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.125.0
3
+ Version: 1.128.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.125.0"
3
+ version = "1.128.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -2205,6 +2205,13 @@ class MeterTypeFilterComparison(sgqlc.types.Input):
2205
2205
  not_like = sgqlc.types.Field(MeterType, graphql_name='notLike')
2206
2206
 
2207
2207
 
2208
+ class MinimumSpendInput(sgqlc.types.Input):
2209
+ __schema__ = schema
2210
+ __field_names__ = ('billing_period', 'minimum')
2211
+ billing_period = sgqlc.types.Field(sgqlc.types.non_null(BillingPeriod), graphql_name='billingPeriod')
2212
+ minimum = sgqlc.types.Field('MoneyInputDTO', graphql_name='minimum')
2213
+
2214
+
2208
2215
  class MoneyInputDTO(sgqlc.types.Input):
2209
2216
  __schema__ = schema
2210
2217
  __field_names__ = ('amount', 'currency')
@@ -2457,8 +2464,9 @@ class PackageGroupStatusFilterComparison(sgqlc.types.Input):
2457
2464
 
2458
2465
  class PackagePricingInput(sgqlc.types.Input):
2459
2466
  __schema__ = schema
2460
- __field_names__ = ('environment_id', 'overage_billing_period', 'overage_pricing_models', 'package_id', 'pricing_model', 'pricing_models', 'pricing_type')
2467
+ __field_names__ = ('environment_id', 'minimum_spend', 'overage_billing_period', 'overage_pricing_models', 'package_id', 'pricing_model', 'pricing_models', 'pricing_type')
2461
2468
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
2469
+ minimum_spend = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(MinimumSpendInput)), graphql_name='minimumSpend')
2462
2470
  overage_billing_period = sgqlc.types.Field(OverageBillingPeriod, graphql_name='overageBillingPeriod')
2463
2471
  overage_pricing_models = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(OveragePricingModelCreateInput)), graphql_name='overagePricingModels')
2464
2472
  package_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageId')
@@ -2638,6 +2646,13 @@ class PlanUpdateInput(sgqlc.types.Input):
2638
2646
  status = sgqlc.types.Field(PackageStatus, graphql_name='status')
2639
2647
 
2640
2648
 
2649
+ class PreviewNextInvoiceInput(sgqlc.types.Input):
2650
+ __schema__ = schema
2651
+ __field_names__ = ('environment_id', 'subscription_id')
2652
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
2653
+ subscription_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionId')
2654
+
2655
+
2641
2656
  class PreviewSubscriptionInput(sgqlc.types.Input):
2642
2657
  __schema__ = schema
2643
2658
  __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')
@@ -6224,6 +6239,21 @@ class MeteringNotAvailableForFeatureTypeError(sgqlc.types.Type):
6224
6239
  is_validation_error = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isValidationError')
6225
6240
 
6226
6241
 
6242
+ class MinimumSpend(sgqlc.types.Type):
6243
+ __schema__ = schema
6244
+ __field_names__ = ('billing_period', 'minimum')
6245
+ billing_period = sgqlc.types.Field(sgqlc.types.non_null(BillingPeriod), graphql_name='billingPeriod')
6246
+ minimum = sgqlc.types.Field(sgqlc.types.non_null('Money'), graphql_name='minimum')
6247
+
6248
+
6249
+ class MinimumSpendChange(sgqlc.types.Type):
6250
+ __schema__ = schema
6251
+ __field_names__ = ('after', 'before', 'change_type')
6252
+ after = sgqlc.types.Field(MinimumSpend, graphql_name='after')
6253
+ before = sgqlc.types.Field(MinimumSpend, graphql_name='before')
6254
+ change_type = sgqlc.types.Field(ChangeType, graphql_name='changeType')
6255
+
6256
+
6227
6257
  class MockPaywall(sgqlc.types.Type):
6228
6258
  __schema__ = schema
6229
6259
  __field_names__ = ('configuration', 'plans')
@@ -6246,7 +6276,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6246
6276
 
6247
6277
  class Mutation(sgqlc.types.Type):
6248
6278
  __schema__ = schema
6249
- __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')
6279
+ __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')
6250
6280
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6251
6281
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6252
6282
  ))
@@ -6473,6 +6503,10 @@ class Mutation(sgqlc.types.Type):
6473
6503
  )
6474
6504
  migrate_subscription_to_latest = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='migrateSubscriptionToLatest', args=sgqlc.types.ArgDict((
6475
6505
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(SubscriptionMigrationInput), graphql_name='input', default=None)),
6506
+ ))
6507
+ )
6508
+ preview_next_invoice = sgqlc.types.Field(sgqlc.types.non_null('SubscriptionPreviewInvoice'), graphql_name='previewNextInvoice', args=sgqlc.types.ArgDict((
6509
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(PreviewNextInvoiceInput), graphql_name='input', default=None)),
6476
6510
  ))
6477
6511
  )
6478
6512
  preview_subscription = sgqlc.types.Field(sgqlc.types.non_null('SubscriptionPreviewV2'), graphql_name='previewSubscription', args=sgqlc.types.ArgDict((
@@ -6751,7 +6785,7 @@ class PackageAlreadyPublishedError(sgqlc.types.Type):
6751
6785
 
6752
6786
  class PackageChanges(sgqlc.types.Type):
6753
6787
  __schema__ = schema
6754
- __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', 'overage_prices', 'prices', 'pricing_type', 'total_changes')
6788
+ __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')
6755
6789
  additional_meta_data = sgqlc.types.Field(AdditionalMetaDataChange, graphql_name='additionalMetaData')
6756
6790
  base_plan = sgqlc.types.Field(BasePlanChange, graphql_name='basePlan')
6757
6791
  compatible_addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PlanCompatibleAddonChange')), graphql_name='compatibleAddons')
@@ -6763,6 +6797,7 @@ class PackageChanges(sgqlc.types.Type):
6763
6797
  entitlements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackageEntitlementChange'))), graphql_name='entitlements')
6764
6798
  hidden_from_widgets = sgqlc.types.Field(HiddenFromWidgetsChange, graphql_name='hiddenFromWidgets')
6765
6799
  max_quantity = sgqlc.types.Field(NumberChange, graphql_name='maxQuantity')
6800
+ minimum_spend = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(MinimumSpendChange)), graphql_name='minimumSpend')
6766
6801
  overage_prices = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackagePriceChange'))), graphql_name='overagePrices')
6767
6802
  prices = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackagePriceChange'))), graphql_name='prices')
6768
6803
  pricing_type = sgqlc.types.Field('PricingTypeChange', graphql_name='pricingType')
@@ -7216,7 +7251,7 @@ class PaywallProduct(sgqlc.types.Type):
7216
7251
 
7217
7252
  class Plan(sgqlc.types.Type):
7218
7253
  __schema__ = schema
7219
- __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', 'overage_billing_period', 'overage_prices', 'prices', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
7254
+ __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')
7220
7255
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
7221
7256
  aws_marketplace_plan_dimension = sgqlc.types.Field(String, graphql_name='awsMarketplacePlanDimension')
7222
7257
  base_plan = sgqlc.types.Field('Plan', graphql_name='basePlan')
@@ -7245,6 +7280,7 @@ class Plan(sgqlc.types.Type):
7245
7280
  )
7246
7281
  is_latest = sgqlc.types.Field(Boolean, graphql_name='isLatest')
7247
7282
  is_parent = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isParent')
7283
+ minimum_spend = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(MinimumSpend)), graphql_name='minimumSpend')
7248
7284
  overage_billing_period = sgqlc.types.Field(OverageBillingPeriod, graphql_name='overageBillingPeriod')
7249
7285
  overage_prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='overagePrices')
7250
7286
  prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='prices')