stigg-api-client 2.62.0__tar.gz → 2.73.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.62.0
3
+ Version: 2.73.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.62.0"
3
+ version = "2.73.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -180,6 +180,8 @@ def fragment_plan_fragment():
180
180
  _frag_default_trial_config = _frag.default_trial_config()
181
181
  _frag_default_trial_config.duration()
182
182
  _frag_default_trial_config.units()
183
+ _frag_default_trial_config_budget = _frag_default_trial_config.budget()
184
+ _frag_default_trial_config_budget.limit()
183
185
  return _frag
184
186
 
185
187
 
@@ -1073,6 +1075,8 @@ def fragment_mock_paywall_plan_fragment():
1073
1075
  _frag_default_trial_config = _frag.default_trial_config()
1074
1076
  _frag_default_trial_config.duration()
1075
1077
  _frag_default_trial_config.units()
1078
+ _frag_default_trial_config_budget = _frag_default_trial_config.budget()
1079
+ _frag_default_trial_config_budget.limit()
1076
1080
  _frag_compatible_addons = _frag.compatible_addons()
1077
1081
  _frag_compatible_addons.__fragment__(fragment_mock_paywall_addon_fragment())
1078
1082
  _frag_compatible_package_groups = _frag.compatible_package_groups()
@@ -1550,12 +1550,6 @@ class DeleteFeatureInput(sgqlc.types.Input):
1550
1550
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
1551
1551
 
1552
1552
 
1553
- class DeleteOneAddonInput(sgqlc.types.Input):
1554
- __schema__ = schema
1555
- __field_names__ = ('id',)
1556
- id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
1557
-
1558
-
1559
1553
  class DeleteOneHookInput(sgqlc.types.Input):
1560
1554
  __schema__ = schema
1561
1555
  __field_names__ = ('id',)
@@ -2878,7 +2872,8 @@ class PriceFilterPackageDTOFilter(sgqlc.types.Input):
2878
2872
 
2879
2873
  class PriceOverrideInput(sgqlc.types.Input):
2880
2874
  __schema__ = schema
2881
- __field_names__ = ('base_charge', 'block_size', 'feature_id', 'price', 'tiers')
2875
+ __field_names__ = ('addon_id', 'base_charge', 'block_size', 'feature_id', 'price', 'tiers')
2876
+ addon_id = sgqlc.types.Field(String, graphql_name='addonId')
2882
2877
  base_charge = sgqlc.types.Field(Boolean, graphql_name='baseCharge')
2883
2878
  block_size = sgqlc.types.Field(Float, graphql_name='blockSize')
2884
2879
  feature_id = sgqlc.types.Field(String, graphql_name='featureId')
@@ -4477,44 +4472,6 @@ class AddonCountAggregate(sgqlc.types.Type):
4477
4472
  version_number = sgqlc.types.Field(Int, graphql_name='versionNumber')
4478
4473
 
4479
4474
 
4480
- class AddonDeleteResponse(sgqlc.types.Type):
4481
- __schema__ = schema
4482
- __field_names__ = ('additional_meta_data', 'billing_id', 'billing_link_url', 'created_at', 'dependencies', 'description', 'display_name', 'draft_details', 'draft_summary', 'entitlements', 'environment', 'environment_id', 'has_subscriptions', 'hidden_from_widgets', 'id', 'is_latest', 'max_quantity', 'overage_billing_period', 'overage_prices', 'prices', 'pricing_type', 'product', 'product_id', 'ref_id', 'status', 'sync_states', 'type', 'updated_at', 'version_number')
4483
- additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4484
- billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4485
- billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
4486
- created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4487
- dependencies = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Addon)), graphql_name='dependencies')
4488
- description = sgqlc.types.Field(String, graphql_name='description')
4489
- display_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='displayName')
4490
- draft_details = sgqlc.types.Field('PackageDraftDetails', graphql_name='draftDetails')
4491
- draft_summary = sgqlc.types.Field('PackageDraftSummary', graphql_name='draftSummary')
4492
- entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PackageEntitlement')), graphql_name='entitlements')
4493
- environment = sgqlc.types.Field(sgqlc.types.non_null('Environment'), graphql_name='environment')
4494
- environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
4495
- has_subscriptions = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasSubscriptions')
4496
- hidden_from_widgets = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(WidgetType)), graphql_name='hiddenFromWidgets')
4497
- id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
4498
- is_latest = sgqlc.types.Field(Boolean, graphql_name='isLatest')
4499
- max_quantity = sgqlc.types.Field(Float, graphql_name='maxQuantity')
4500
- overage_billing_period = sgqlc.types.Field(OverageBillingPeriod, graphql_name='overageBillingPeriod')
4501
- overage_prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='overagePrices')
4502
- prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Price')), graphql_name='prices', args=sgqlc.types.ArgDict((
4503
- ('filter', sgqlc.types.Arg(PriceFilter, graphql_name='filter', default={})),
4504
- ('sorting', sgqlc.types.Arg(sgqlc.types.list_of(sgqlc.types.non_null(PriceSort)), graphql_name='sorting', default=[{'direction': 'DESC', 'field': 'createdAt'}])),
4505
- ))
4506
- )
4507
- pricing_type = sgqlc.types.Field(PricingType, graphql_name='pricingType')
4508
- product = sgqlc.types.Field('Product', graphql_name='product')
4509
- product_id = sgqlc.types.Field(String, graphql_name='productId')
4510
- ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
4511
- status = sgqlc.types.Field(sgqlc.types.non_null(PackageStatus), graphql_name='status')
4512
- sync_states = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SyncState')), graphql_name='syncStates')
4513
- type = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='type')
4514
- updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
4515
- version_number = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='versionNumber')
4516
-
4517
-
4518
4475
  class AddonDependencyChange(sgqlc.types.Type):
4519
4476
  __schema__ = schema
4520
4477
  __field_names__ = ('after', 'before', 'change_type')
@@ -6554,7 +6511,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6554
6511
 
6555
6512
  class Mutation(sgqlc.types.Type):
6556
6513
  __schema__ = schema
6557
- __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', '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', '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_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', 'subscription_maximum_spend', '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_hook', 'update_one_integration', 'update_one_package_entitlement', 'update_one_plan', 'update_one_product', 'update_one_promotional_entitlement', 'update_one_subscription', 'update_user')
6514
+ __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', '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_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', 'subscription_maximum_spend', '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_hook', 'update_one_integration', 'update_one_package_entitlement', 'update_one_plan', 'update_one_product', 'update_one_promotional_entitlement', 'update_one_subscription', 'update_user')
6558
6515
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6559
6516
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6560
6517
  ))
@@ -6693,10 +6650,6 @@ class Mutation(sgqlc.types.Type):
6693
6650
  )
6694
6651
  delete_feature = sgqlc.types.Field(sgqlc.types.non_null(Feature), graphql_name='deleteFeature', args=sgqlc.types.ArgDict((
6695
6652
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(DeleteFeatureInput), graphql_name='input', default=None)),
6696
- ))
6697
- )
6698
- delete_one_addon = sgqlc.types.Field(sgqlc.types.non_null(AddonDeleteResponse), graphql_name='deleteOneAddon', args=sgqlc.types.ArgDict((
6699
- ('input', sgqlc.types.Arg(sgqlc.types.non_null(DeleteOneAddonInput), graphql_name='input', default=None)),
6700
6653
  ))
6701
6654
  )
6702
6655
  delete_one_feature = sgqlc.types.Field(sgqlc.types.non_null(Feature), graphql_name='deleteOneFeature', args=sgqlc.types.ArgDict((