stigg-api-client 3.6.0__tar.gz → 3.10.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: 3.6.0
3
+ Version: 3.10.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 = "3.6.0"
3
+ version = "3.10.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -755,7 +755,7 @@ class ApiKeySort(sgqlc.types.Input):
755
755
 
756
756
  class ApplySubscriptionInput(sgqlc.types.Input):
757
757
  __schema__ = schema
758
- __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'customer_id', 'minimum_spend', 'paying_customer_id', 'payment_collection_method', 'payment_method_id', 'plan_id', 'price_overrides', 'promotion_code', 'resource_id', 'salesforce_id', 'schedule_strategy', 'skip_trial', 'start_date', 'subscription_entitlements', 'trial_override_configuration', 'unit_quantity')
758
+ __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'customer_id', 'environment_id', 'minimum_spend', 'paying_customer_id', 'payment_collection_method', 'payment_method_id', 'plan_id', 'price_overrides', 'promotion_code', 'resource_id', 'salesforce_id', 'schedule_strategy', 'skip_trial', 'start_date', 'subscription_entitlements', 'trial_override_configuration', 'unit_quantity')
759
759
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
760
760
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
761
761
  applied_coupon = sgqlc.types.Field('SubscriptionCouponInput', graphql_name='appliedCoupon')
@@ -767,6 +767,7 @@ class ApplySubscriptionInput(sgqlc.types.Input):
767
767
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
768
768
  budget = sgqlc.types.Field('BudgetConfigurationInput', graphql_name='budget')
769
769
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
770
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
770
771
  minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
771
772
  paying_customer_id = sgqlc.types.Field(String, graphql_name='payingCustomerId')
772
773
  payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
@@ -2711,6 +2712,15 @@ class MeterTypeFilterComparison(sgqlc.types.Input):
2711
2712
  not_like = sgqlc.types.Field(MeterType, graphql_name='notLike')
2712
2713
 
2713
2714
 
2715
+ class MigratePackageFeatureGroupsToLatestInput(sgqlc.types.Input):
2716
+ __schema__ = schema
2717
+ __field_names__ = ('account_id', 'entitlements', 'environment_id', 'package_id')
2718
+ account_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='accountId')
2719
+ entitlements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackageEntitlementInput'))), graphql_name='entitlements')
2720
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
2721
+ package_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='packageId')
2722
+
2723
+
2714
2724
  class MinimumSpendInput(sgqlc.types.Input):
2715
2725
  __schema__ = schema
2716
2726
  __field_names__ = ('billing_period', 'minimum')
@@ -7350,7 +7360,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
7350
7360
 
7351
7361
  class Mutation(sgqlc.types.Type):
7352
7362
  __schema__ = schema
7353
- __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_feature_group', '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_credit_grant', 'create_custom_currency', 'create_empty_addon_draft', 'create_empty_plan_draft', 'create_feature', 'create_feature_group', '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_feature_group_from_package', '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', 'trigger_workflow', 'unarchive_addon', 'unarchive_customer', 'unarchive_environment', 'unarchive_feature', 'unarchive_feature_group', 'unarchive_plan', 'unlink_feature_group_from_package', 'update_account', 'update_credit_grant', 'update_custom_currency', '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')
7363
+ __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_feature_group', '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_credit_grant', 'create_custom_currency', 'create_empty_addon_draft', 'create_empty_plan_draft', 'create_feature', 'create_feature_group', '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_package_feature_groups_to_latest', '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_feature_group_from_package', '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', 'trigger_workflow', 'unarchive_addon', 'unarchive_customer', 'unarchive_environment', 'unarchive_feature', 'unarchive_feature_group', 'unarchive_plan', 'unlink_feature_group_from_package', 'update_account', 'update_credit_grant', 'update_custom_currency', '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')
7354
7364
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
7355
7365
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
7356
7366
  ))
@@ -7601,6 +7611,10 @@ class Mutation(sgqlc.types.Type):
7601
7611
  )
7602
7612
  merge_environment = sgqlc.types.Field(sgqlc.types.non_null(MergeEnvironment), graphql_name='mergeEnvironment', args=sgqlc.types.ArgDict((
7603
7613
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(MergeEnvironmentInput), graphql_name='input', default=None)),
7614
+ ))
7615
+ )
7616
+ migrate_package_feature_groups_to_latest = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='migratePackageFeatureGroupsToLatest', args=sgqlc.types.ArgDict((
7617
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(MigratePackageFeatureGroupsToLatestInput), graphql_name='input', default=None)),
7604
7618
  ))
7605
7619
  )
7606
7620
  migrate_subscription_to_latest = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='migrateSubscriptionToLatest', args=sgqlc.types.ArgDict((