stigg-api-client 3.54.0__tar.gz → 3.59.2__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.54.0
3
+ Version: 3.59.2
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.54.0"
3
+ version = "3.59.2"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -2419,6 +2419,15 @@ class GrantPromotionalEntitlementInput(sgqlc.types.Input):
2419
2419
  yearly_reset_period_configuration = sgqlc.types.Field('YearlyResetPeriodConfigInput', graphql_name='yearlyResetPeriodConfiguration')
2420
2420
 
2421
2421
 
2422
+ class GrantPromotionalEntitlementsGroupInput(sgqlc.types.Input):
2423
+ __schema__ = schema
2424
+ __field_names__ = ('customer_id', 'environment_id', 'feature_group_id', 'promotional_entitlements')
2425
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
2426
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
2427
+ feature_group_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='featureGroupId')
2428
+ promotional_entitlements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(GrantPromotionalEntitlementInput))), graphql_name='promotionalEntitlements')
2429
+
2430
+
2422
2431
  class GrantPromotionalEntitlementsInput(sgqlc.types.Input):
2423
2432
  __schema__ = schema
2424
2433
  __field_names__ = ('customer_id', 'environment_id', 'promotional_entitlements')
@@ -3442,12 +3451,13 @@ class PromotionalEntitlementFilter(sgqlc.types.Input):
3442
3451
 
3443
3452
  class PromotionalEntitlementInput(sgqlc.types.Input):
3444
3453
  __schema__ = schema
3445
- __field_names__ = ('customer_id', 'description', 'end_date', 'enum_values', 'environment_id', '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')
3454
+ __field_names__ = ('customer_id', 'description', 'end_date', 'enum_values', 'environment_id', 'feature_group_id', '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')
3446
3455
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
3447
3456
  description = sgqlc.types.Field(String, graphql_name='description')
3448
3457
  end_date = sgqlc.types.Field(DateTime, graphql_name='endDate')
3449
3458
  enum_values = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='enumValues')
3450
3459
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='environmentId')
3460
+ feature_group_id = sgqlc.types.Field(UUID, graphql_name='featureGroupId')
3451
3461
  feature_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureId')
3452
3462
  has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
3453
3463
  has_unlimited_usage = sgqlc.types.Field(Boolean, graphql_name='hasUnlimitedUsage')
@@ -3738,6 +3748,14 @@ class RevokePromotionalEntitlementInput(sgqlc.types.Input):
3738
3748
  feature_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureId')
3739
3749
 
3740
3750
 
3751
+ class RevokePromotionalEntitlementsGroupInput(sgqlc.types.Input):
3752
+ __schema__ = schema
3753
+ __field_names__ = ('customer_id', 'environment_id', 'feature_group_id')
3754
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
3755
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
3756
+ feature_group_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='featureGroupId')
3757
+
3758
+
3741
3759
  class SalesforceCredentialsInput(sgqlc.types.Input):
3742
3760
  __schema__ = schema
3743
3761
  __field_names__ = ('domain',)
@@ -4006,7 +4024,8 @@ class SubscriptionCancelReasonFilterComparison(sgqlc.types.Input):
4006
4024
 
4007
4025
  class SubscriptionCancellationInput(sgqlc.types.Input):
4008
4026
  __schema__ = schema
4009
- __field_names__ = ('end_date', 'environment_id', 'prorate', 'subscription_cancellation_action', 'subscription_cancellation_time', 'subscription_ref_id')
4027
+ __field_names__ = ('await_subscription_cancellation', 'end_date', 'environment_id', 'prorate', 'subscription_cancellation_action', 'subscription_cancellation_time', 'subscription_ref_id')
4028
+ await_subscription_cancellation = sgqlc.types.Field(Boolean, graphql_name='awaitSubscriptionCancellation')
4010
4029
  end_date = sgqlc.types.Field(DateTime, graphql_name='endDate')
4011
4030
  environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
4012
4031
  prorate = sgqlc.types.Field(Boolean, graphql_name='prorate')
@@ -4551,6 +4570,14 @@ class UnlinkFeatureGroupFromPackageInput(sgqlc.types.Input):
4551
4570
  package_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='packageId')
4552
4571
 
4553
4572
 
4573
+ class UnlinkPromotionalEntitlementsGroupInput(sgqlc.types.Input):
4574
+ __schema__ = schema
4575
+ __field_names__ = ('customer_id', 'environment_id', 'feature_group_id')
4576
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
4577
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
4578
+ feature_group_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='featureGroupId')
4579
+
4580
+
4554
4581
  class UpdateAccountInput(sgqlc.types.Input):
4555
4582
  __schema__ = schema
4556
4583
  __field_names__ = ('access_method', 'account_email_domain', 'default_ssoroles', 'display_name', 'subscription_billing_anchor', 'subscription_proration_behavior', 'timezone')
@@ -7444,7 +7471,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
7444
7471
 
7445
7472
  class Mutation(sgqlc.types.Type):
7446
7473
  __schema__ = schema
7447
- __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', 'link_feature_group_to_package', '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')
7474
+ __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', 'grant_promotional_entitlements_group', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'link_feature_group_to_package', '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', 'revoke_promotional_entitlements_group', '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', 'unlink_promotional_entitlements_group', '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')
7448
7475
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
7449
7476
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
7450
7477
  ))
@@ -7663,6 +7690,10 @@ class Mutation(sgqlc.types.Type):
7663
7690
  )
7664
7691
  grant_promotional_entitlements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PromotionalEntitlement'))), graphql_name='grantPromotionalEntitlements', args=sgqlc.types.ArgDict((
7665
7692
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(GrantPromotionalEntitlementsInput), graphql_name='input', default=None)),
7693
+ ))
7694
+ )
7695
+ grant_promotional_entitlements_group = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PromotionalEntitlement'))), graphql_name='grantPromotionalEntitlementsGroup', args=sgqlc.types.ArgDict((
7696
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(GrantPromotionalEntitlementsGroupInput), graphql_name='input', default=None)),
7666
7697
  ))
7667
7698
  )
7668
7699
  hide_getting_started_page = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='hideGettingStartedPage', args=sgqlc.types.ArgDict((
@@ -7813,6 +7844,10 @@ class Mutation(sgqlc.types.Type):
7813
7844
  )
7814
7845
  revoke_promotional_entitlement = sgqlc.types.Field(sgqlc.types.non_null('PromotionalEntitlement'), graphql_name='revokePromotionalEntitlement', args=sgqlc.types.ArgDict((
7815
7846
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(RevokePromotionalEntitlementInput), graphql_name='input', default=None)),
7847
+ ))
7848
+ )
7849
+ revoke_promotional_entitlements_group = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PromotionalEntitlement'))), graphql_name='revokePromotionalEntitlementsGroup', args=sgqlc.types.ArgDict((
7850
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(RevokePromotionalEntitlementsGroupInput), graphql_name='input', default=None)),
7816
7851
  ))
7817
7852
  )
7818
7853
  set_access_roles = sgqlc.types.Field(String, graphql_name='setAccessRoles', args=sgqlc.types.ArgDict((
@@ -7930,6 +7965,10 @@ class Mutation(sgqlc.types.Type):
7930
7965
  )
7931
7966
  unlink_feature_group_from_package = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackageEntitlement'))), graphql_name='unlinkFeatureGroupFromPackage', args=sgqlc.types.ArgDict((
7932
7967
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(UnlinkFeatureGroupFromPackageInput), graphql_name='input', default=None)),
7968
+ ))
7969
+ )
7970
+ unlink_promotional_entitlements_group = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PromotionalEntitlement'))), graphql_name='unlinkPromotionalEntitlementsGroup', args=sgqlc.types.ArgDict((
7971
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(UnlinkPromotionalEntitlementsGroupInput), graphql_name='input', default=None)),
7933
7972
  ))
7934
7973
  )
7935
7974
  update_account = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='updateAccount', args=sgqlc.types.ArgDict((
@@ -9093,7 +9132,7 @@ class PromotionCodeNotFound(sgqlc.types.Type):
9093
9132
 
9094
9133
  class PromotionalEntitlement(sgqlc.types.Type):
9095
9134
  __schema__ = schema
9096
- __field_names__ = ('created_at', 'customer', 'description', 'end_date', 'enum_values', 'environment_id', 'feature', 'feature_id', 'has_soft_limit', 'has_unlimited_usage', 'id', 'is_visible', 'meter', 'period', 'reset_period', 'reset_period_configuration', 'start_date', 'status', 'unlimited', 'updated_at', 'usage_limit')
9135
+ __field_names__ = ('created_at', 'customer', 'description', 'end_date', 'enum_values', 'environment_id', 'feature', 'feature_group_ids', 'feature_groups', 'feature_id', 'has_soft_limit', 'has_unlimited_usage', 'id', 'is_visible', 'meter', 'period', 'reset_period', 'reset_period_configuration', 'start_date', 'status', 'unlimited', 'updated_at', 'usage_limit')
9097
9136
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
9098
9137
  customer = sgqlc.types.Field(sgqlc.types.non_null(Customer), graphql_name='customer')
9099
9138
  description = sgqlc.types.Field(String, graphql_name='description')
@@ -9101,6 +9140,8 @@ class PromotionalEntitlement(sgqlc.types.Type):
9101
9140
  enum_values = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='enumValues')
9102
9141
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='environmentId')
9103
9142
  feature = sgqlc.types.Field(sgqlc.types.non_null(Feature), graphql_name='feature')
9143
+ feature_group_ids = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='featureGroupIds')
9144
+ feature_groups = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(FeatureGroup)), graphql_name='featureGroups')
9104
9145
  feature_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='featureId')
9105
9146
  has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
9106
9147
  has_unlimited_usage = sgqlc.types.Field(Boolean, graphql_name='hasUnlimitedUsage')
@@ -9147,12 +9188,14 @@ class PromotionalEntitlementCountAggregate(sgqlc.types.Type):
9147
9188
 
9148
9189
  class PromotionalEntitlementDeleteResponse(sgqlc.types.Type):
9149
9190
  __schema__ = schema
9150
- __field_names__ = ('created_at', 'description', 'end_date', 'enum_values', 'environment_id', 'feature_id', 'has_soft_limit', 'has_unlimited_usage', 'id', 'is_visible', 'period', 'reset_period', 'reset_period_configuration', 'start_date', 'status', 'unlimited', 'updated_at', 'usage_limit')
9191
+ __field_names__ = ('created_at', 'description', 'end_date', 'enum_values', 'environment_id', 'feature_group_ids', 'feature_groups', 'feature_id', 'has_soft_limit', 'has_unlimited_usage', 'id', 'is_visible', 'period', 'reset_period', 'reset_period_configuration', 'start_date', 'status', 'unlimited', 'updated_at', 'usage_limit')
9151
9192
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
9152
9193
  description = sgqlc.types.Field(String, graphql_name='description')
9153
9194
  end_date = sgqlc.types.Field(DateTime, graphql_name='endDate')
9154
9195
  enum_values = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='enumValues')
9155
9196
  environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
9197
+ feature_group_ids = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='featureGroupIds')
9198
+ feature_groups = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(FeatureGroup)), graphql_name='featureGroups')
9156
9199
  feature_id = sgqlc.types.Field(UUID, graphql_name='featureId')
9157
9200
  has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
9158
9201
  has_unlimited_usage = sgqlc.types.Field(Boolean, graphql_name='hasUnlimitedUsage')