stigg-api-client 1.113.0__py3-none-any.whl → 1.116.1__py3-none-any.whl

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.

stigg/generated/schema.py CHANGED
@@ -175,7 +175,7 @@ class ErrorCode(sgqlc.types.Enum):
175
175
 
176
176
  class EventLogType(sgqlc.types.Enum):
177
177
  __schema__ = schema
178
- __choices__ = ('ADDON_CREATED', 'ADDON_DELETED', 'ADDON_UPDATED', 'COUPON_ARCHIVED', 'COUPON_CREATED', 'COUPON_UPDATED', 'CREATE_SUBSCRIPTION_FAILED', 'CUSTOMER_CREATED', 'CUSTOMER_DELETED', 'CUSTOMER_ENTITLEMENT_CALCULATION_TRIGGERED', 'CUSTOMER_PAYMENT_FAILED', 'CUSTOMER_RESOURCE_ENTITLEMENT_CALCULATION_TRIGGERED', 'CUSTOMER_UPDATED', 'EDGE_API_CUSTOMER_DATA_RESYNC', 'EDGE_API_DATA_RESYNC', 'EDGE_API_DOGGO_RESYNC', 'EDGE_API_PACKAGE_ENTITLEMENTS_DATA_RESYNC', 'EDGE_API_SUBSCRIPTIONS_DATA_RESYNC', 'ENTITLEMENTS_UPDATED', 'ENTITLEMENT_DENIED', 'ENTITLEMENT_GRANTED', 'ENTITLEMENT_REQUESTED', 'ENTITLEMENT_USAGE_EXCEEDED', 'ENVIRONMENT_DELETED', 'FEATURE_ARCHIVED', 'FEATURE_CREATED', 'FEATURE_DELETED', 'FEATURE_UPDATED', 'IMPORT_INTEGRATION_CATALOG_TRIGGERED', 'IMPORT_INTEGRATION_CUSTOMERS_TRIGGERED', 'IMPORT_SUBSCRIPTIONS_BULK_TRIGGERED', 'MEASUREMENT_REPORTED', 'PACKAGE_GROUP_CREATED', 'PACKAGE_GROUP_UPDATED', 'PACKAGE_PUBLISHED', 'PLAN_CREATED', 'PLAN_DELETED', 'PLAN_UPDATED', 'PRODUCT_CREATED', 'PRODUCT_DELETED', 'PRODUCT_UPDATED', 'PROMOTIONAL_ENTITLEMENT_EXPIRED', 'PROMOTIONAL_ENTITLEMENT_GRANTED', 'PROMOTIONAL_ENTITLEMENT_REVOKED', 'PROMOTIONAL_ENTITLEMENT_UPDATED', 'RECALCULATE_ENTITLEMENTS_TRIGGERED', 'RESYNC_INTEGRATION_TRIGGERED', 'SUBSCRIPTIONS_MIGRATED', 'SUBSCRIPTIONS_MIGRATION_TRIGGERED', 'SUBSCRIPTION_BILLING_MONTH_ENDS_SOON', 'SUBSCRIPTION_CANCELED', 'SUBSCRIPTION_CREATED', 'SUBSCRIPTION_EXPIRED', 'SUBSCRIPTION_TRIAL_CONVERTED', 'SUBSCRIPTION_TRIAL_ENDS_SOON', 'SUBSCRIPTION_TRIAL_EXPIRED', 'SUBSCRIPTION_TRIAL_STARTED', 'SUBSCRIPTION_UPDATED', 'SUBSCRIPTION_USAGE_UPDATED', 'SYNC_FAILED', 'WIDGET_CONFIGURATION_UPDATED')
178
+ __choices__ = ('ADDON_CREATED', 'ADDON_DELETED', 'ADDON_UPDATED', 'COUPON_ARCHIVED', 'COUPON_CREATED', 'COUPON_UPDATED', 'CREATE_SUBSCRIPTION_FAILED', 'CUSTOMER_CREATED', 'CUSTOMER_DELETED', 'CUSTOMER_ENTITLEMENT_CALCULATION_TRIGGERED', 'CUSTOMER_PAYMENT_FAILED', 'CUSTOMER_RESOURCE_ENTITLEMENT_CALCULATION_TRIGGERED', 'CUSTOMER_UPDATED', 'EDGE_API_CUSTOMER_DATA_RESYNC', 'EDGE_API_DATA_RESYNC', 'EDGE_API_DOGGO_RESYNC', 'EDGE_API_PACKAGE_ENTITLEMENTS_DATA_RESYNC', 'EDGE_API_SUBSCRIPTIONS_DATA_RESYNC', 'ENTITLEMENTS_UPDATED', 'ENTITLEMENT_DENIED', 'ENTITLEMENT_GRANTED', 'ENTITLEMENT_REQUESTED', 'ENTITLEMENT_USAGE_EXCEEDED', 'ENVIRONMENT_DELETED', 'FEATURE_ARCHIVED', 'FEATURE_CREATED', 'FEATURE_DELETED', 'FEATURE_UPDATED', 'IMPORT_INTEGRATION_CATALOG_TRIGGERED', 'IMPORT_INTEGRATION_CUSTOMERS_TRIGGERED', 'IMPORT_SUBSCRIPTIONS_BULK_TRIGGERED', 'MEASUREMENT_REPORTED', 'PACKAGE_GROUP_CREATED', 'PACKAGE_GROUP_UPDATED', 'PACKAGE_PUBLISHED', 'PLAN_CREATED', 'PLAN_DELETED', 'PLAN_UPDATED', 'PRODUCT_CREATED', 'PRODUCT_DELETED', 'PRODUCT_UPDATED', 'PROMOTIONAL_ENTITLEMENT_EXPIRED', 'PROMOTIONAL_ENTITLEMENT_GRANTED', 'PROMOTIONAL_ENTITLEMENT_REVOKED', 'PROMOTIONAL_ENTITLEMENT_UPDATED', 'RECALCULATE_ENTITLEMENTS_TRIGGERED', 'RESYNC_INTEGRATION_TRIGGERED', 'SUBSCRIPTIONS_MIGRATED', 'SUBSCRIPTIONS_MIGRATION_TRIGGERED', 'SUBSCRIPTION_BILLING_MONTH_ENDS_SOON', 'SUBSCRIPTION_CANCELED', 'SUBSCRIPTION_CREATED', 'SUBSCRIPTION_EXPIRED', 'SUBSCRIPTION_TRIAL_CONVERTED', 'SUBSCRIPTION_TRIAL_ENDS_SOON', 'SUBSCRIPTION_TRIAL_EXPIRED', 'SUBSCRIPTION_TRIAL_STARTED', 'SUBSCRIPTION_UPDATED', 'SUBSCRIPTION_USAGE_CHARGE_TRIGGERED', 'SUBSCRIPTION_USAGE_UPDATED', 'SYNC_FAILED', 'WIDGET_CONFIGURATION_UPDATED')
179
179
 
180
180
 
181
181
  class ExperimentSortFields(sgqlc.types.Enum):
@@ -777,6 +777,14 @@ class BooleanFieldComparison(sgqlc.types.Input):
777
777
  is_not = sgqlc.types.Field(Boolean, graphql_name='isNot')
778
778
 
779
779
 
780
+ class ChargeSubscriptionOveragesInput(sgqlc.types.Input):
781
+ __schema__ = schema
782
+ __field_names__ = ('environment_id', 'subscription_id', 'until_date')
783
+ environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
784
+ subscription_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionId')
785
+ until_date = sgqlc.types.Field(DateTime, graphql_name='untilDate')
786
+
787
+
780
788
  class CheckoutConfigurationInput(sgqlc.types.Input):
781
789
  __schema__ = schema
782
790
  __field_names__ = ('content', 'custom_css', 'palette', 'typography')
@@ -4422,6 +4430,16 @@ class CannotDeleteFeatureError(sgqlc.types.Type):
4422
4430
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
4423
4431
 
4424
4432
 
4433
+ class ChargeSubscriptionOverages(sgqlc.types.Type):
4434
+ __schema__ = schema
4435
+ __field_names__ = ('invoice_billing_id', 'overages_charged', 'period_end', 'period_start', 'subscription_id')
4436
+ invoice_billing_id = sgqlc.types.Field(String, graphql_name='invoiceBillingId')
4437
+ overages_charged = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('OverageCharged'))), graphql_name='overagesCharged')
4438
+ period_end = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='periodEnd')
4439
+ period_start = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='periodStart')
4440
+ subscription_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionId')
4441
+
4442
+
4425
4443
  class CheckoutBillingIntegration(sgqlc.types.Type):
4426
4444
  __schema__ = schema
4427
4445
  __field_names__ = ('billing_identifier', 'credentials')
@@ -6182,7 +6200,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6182
6200
 
6183
6201
  class Mutation(sgqlc.types.Type):
6184
6202
  __schema__ = schema
6185
- __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', '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')
6203
+ __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')
6186
6204
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6187
6205
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6188
6206
  ))
@@ -6225,6 +6243,10 @@ class Mutation(sgqlc.types.Type):
6225
6243
  )
6226
6244
  cancel_subscription = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='cancelSubscription', args=sgqlc.types.ArgDict((
6227
6245
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(SubscriptionCancellationInput), graphql_name='input', default=None)),
6246
+ ))
6247
+ )
6248
+ charge_subscription_overages = sgqlc.types.Field(sgqlc.types.non_null(ChargeSubscriptionOverages), graphql_name='chargeSubscriptionOverages', args=sgqlc.types.ArgDict((
6249
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(ChargeSubscriptionOveragesInput), graphql_name='input', default=None)),
6228
6250
  ))
6229
6251
  )
6230
6252
  create_account = sgqlc.types.Field(sgqlc.types.non_null(Member), graphql_name='createAccount', args=sgqlc.types.ArgDict((
@@ -6667,6 +6689,13 @@ class NumberChange(sgqlc.types.Type):
6667
6689
  change_type = sgqlc.types.Field(ChangeType, graphql_name='changeType')
6668
6690
 
6669
6691
 
6692
+ class OverageCharged(sgqlc.types.Type):
6693
+ __schema__ = schema
6694
+ __field_names__ = ('feature_id', 'overage_amount')
6695
+ feature_id = sgqlc.types.Field(String, graphql_name='featureId')
6696
+ overage_amount = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='overageAmount')
6697
+
6698
+
6670
6699
  class PackageAlreadyPublishedError(sgqlc.types.Type):
6671
6700
  __schema__ = schema
6672
6701
  __field_names__ = ('code', 'is_validation_error')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 1.113.0
3
+ Version: 1.116.1
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -2,8 +2,8 @@ stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
2
  stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
3
  stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  stigg/generated/operations.py,sha256=YYFd__FKVvXq8EWFFQj7_uhGyoQWRkKeUEa-cqME1TA,68704
5
- stigg/generated/schema.py,sha256=KoUgxCOASqVJ8GwEEte5PXGNStgrayR41s6VzaHq0R4,571009
6
- stigg_api_client-1.113.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-1.113.0.dist-info/METADATA,sha256=Z3e7GCRno62z1g_BX7yewHgOLBg2kANsDmmeqnQC7IM,3198
8
- stigg_api_client-1.113.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-1.113.0.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=V40HKx5nzsRv3UTVAhPuqqrx0hpt5mqsaCHms6uzQl0,572807
6
+ stigg_api_client-1.116.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-1.116.1.dist-info/METADATA,sha256=J1USbXR2MS5WE1Q0GX9EWymN1cdMVZMv4SMw50x1CbM,3198
8
+ stigg_api_client-1.116.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-1.116.1.dist-info/RECORD,,