stigg-api-client 3.17.0__py3-none-any.whl → 3.23.0__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
@@ -413,11 +413,6 @@ class ProrationBehavior(sgqlc.types.Enum):
413
413
  __choices__ = ('CREATE_PRORATIONS', 'INVOICE_IMMEDIATELY')
414
414
 
415
415
 
416
- class ProrationBehaviorExtended(sgqlc.types.Enum):
417
- __schema__ = schema
418
- __choices__ = ('CREATE_PRORATIONS', 'INVOICE_IMMEDIATELY', 'NONE')
419
-
420
-
421
416
  class ProvisionSubscriptionStatus(sgqlc.types.Enum):
422
417
  __schema__ = schema
423
418
  __choices__ = ('PAYMENT_REQUIRED', 'SUCCESS')
@@ -515,6 +510,11 @@ class SubscriptionPriceSortFields(sgqlc.types.Enum):
515
510
  __choices__ = ('billingModel', 'createdAt', 'featureId', 'hasSoftLimit', 'id', 'updatedAt', 'usageLimit')
516
511
 
517
512
 
513
+ class SubscriptionProrationBehavior(sgqlc.types.Enum):
514
+ __schema__ = schema
515
+ __choices__ = ('CREATE_PRORATIONS', 'INVOICE_IMMEDIATELY', 'NONE')
516
+
517
+
518
518
  class SubscriptionQuerySortFields(sgqlc.types.Enum):
519
519
  __schema__ = schema
520
520
  __choices__ = ('createdAt', 'customerId', 'environmentId', 'productId', 'resourceId', 'status')
@@ -2623,6 +2623,14 @@ class InviteMembersInput(sgqlc.types.Input):
2623
2623
  production_role = sgqlc.types.Field(EnvironmentAccessRole, graphql_name='productionRole')
2624
2624
 
2625
2625
 
2626
+ class LinkFeatureGroupToPackageInput(sgqlc.types.Input):
2627
+ __schema__ = schema
2628
+ __field_names__ = ('environment_id', 'feature_group_id', 'package_id')
2629
+ environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
2630
+ feature_group_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='featureGroupId')
2631
+ package_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='packageId')
2632
+
2633
+
2626
2634
  class ListAwsProductDimensionsInput(sgqlc.types.Input):
2627
2635
  __schema__ = schema
2628
2636
  __field_names__ = ('environment_id', 'product_id')
@@ -3954,7 +3962,7 @@ class SubscriptionBillingInfo(sgqlc.types.Input):
3954
3962
  is_backdated = sgqlc.types.Field(Boolean, graphql_name='isBackdated')
3955
3963
  is_invoice_paid = sgqlc.types.Field(Boolean, graphql_name='isInvoicePaid')
3956
3964
  metadata = sgqlc.types.Field(JSON, graphql_name='metadata')
3957
- proration_behavior = sgqlc.types.Field(ProrationBehaviorExtended, graphql_name='prorationBehavior')
3965
+ proration_behavior = sgqlc.types.Field(SubscriptionProrationBehavior, graphql_name='prorationBehavior')
3958
3966
  tax_percentage = sgqlc.types.Field(Float, graphql_name='taxPercentage')
3959
3967
  tax_rate_ids = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='taxRateIds')
3960
3968
 
@@ -7385,7 +7393,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
7385
7393
 
7386
7394
  class Mutation(sgqlc.types.Type):
7387
7395
  __schema__ = schema
7388
- __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')
7396
+ __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')
7389
7397
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
7390
7398
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
7391
7399
  ))
@@ -7628,6 +7636,10 @@ class Mutation(sgqlc.types.Type):
7628
7636
  )
7629
7637
  invite_members = sgqlc.types.Field(sgqlc.types.non_null(MembersInviteResponse), graphql_name='inviteMembers', args=sgqlc.types.ArgDict((
7630
7638
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(InviteMembersInput), graphql_name='input', default=None)),
7639
+ ))
7640
+ )
7641
+ link_feature_group_to_package = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('PackageEntitlement'))), graphql_name='linkFeatureGroupToPackage', args=sgqlc.types.ArgDict((
7642
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(LinkFeatureGroupToPackageInput), graphql_name='input', default=None)),
7631
7643
  ))
7632
7644
  )
7633
7645
  mark_invoice_as_paid = sgqlc.types.Field(String, graphql_name='markInvoiceAsPaid', args=sgqlc.types.ArgDict((
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 3.17.0
3
+ Version: 3.23.0
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=98C8us4bNsNPxL67CIAxKJ9bc-98zrNN1ttZnDXuxCY,82512
5
- stigg/generated/schema.py,sha256=9Djx_f1fWB6gYJjVww3hVRG9ugZfMFBKPIp0CEKu83Q,695724
6
- stigg_api_client-3.17.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-3.17.0.dist-info/METADATA,sha256=h0Z5rqXnuzmmpqel9-6-N7ItW_FIhZP3s_zL-B4B-nc,3197
8
- stigg_api_client-3.17.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-3.17.0.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=IVN0ZQbCB8APfOCoa-0i3Y6jmJKDtHgzZaaG2eMtbNw,696532
6
+ stigg_api_client-3.23.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-3.23.0.dist-info/METADATA,sha256=gZdoNGCk79J04FQgg8rmm8MtLRLHmFwv8cpEmGONUR4,3197
8
+ stigg_api_client-3.23.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-3.23.0.dist-info/RECORD,,