stigg-api-client 2.17.4__tar.gz → 2.22.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.
- {stigg_api_client-2.17.4 → stigg_api_client-2.22.0}/PKG-INFO +1 -1
- {stigg_api_client-2.17.4 → stigg_api_client-2.22.0}/pyproject.toml +1 -1
- {stigg_api_client-2.17.4 → stigg_api_client-2.22.0}/stigg/generated/schema.py +17 -16
- {stigg_api_client-2.17.4 → stigg_api_client-2.22.0}/LICENSE +0 -0
- {stigg_api_client-2.17.4 → stigg_api_client-2.22.0}/README.md +0 -0
- {stigg_api_client-2.17.4 → stigg_api_client-2.22.0}/stigg/__init__.py +0 -0
- {stigg_api_client-2.17.4 → stigg_api_client-2.22.0}/stigg/client.py +0 -0
- {stigg_api_client-2.17.4 → stigg_api_client-2.22.0}/stigg/generated/__init__.py +0 -0
- {stigg_api_client-2.17.4 → stigg_api_client-2.22.0}/stigg/generated/operations.py +0 -0
|
@@ -256,7 +256,7 @@ class IntegrationSortFields(sgqlc.types.Enum):
|
|
|
256
256
|
|
|
257
257
|
class InvoiceLineItemType(sgqlc.types.Enum):
|
|
258
258
|
__schema__ = schema
|
|
259
|
-
__choices__ = ('AddonCharge', 'BaseCharge', 'InAdvanceCommitmentCharge', 'MinimumSpendAdjustmentCharge', 'Other', 'OverageCharge', 'PayAsYouGoCharge', 'TierCharge')
|
|
259
|
+
__choices__ = ('AddonCharge', 'BaseCharge', 'InAdvanceCommitmentCharge', 'MinimumSpendAdjustmentCharge', 'Other', 'OverageCharge', 'PayAsYouGoCharge', 'TierCharge', 'ZeroAmountBaseCharge')
|
|
260
260
|
|
|
261
261
|
|
|
262
262
|
class JSON(sgqlc.types.Scalar):
|
|
@@ -854,7 +854,7 @@ class BudgetConfigurationInput(sgqlc.types.Input):
|
|
|
854
854
|
limit = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='limit')
|
|
855
855
|
|
|
856
856
|
|
|
857
|
-
class
|
|
857
|
+
class ChargeSubscriptionUsageInput(sgqlc.types.Input):
|
|
858
858
|
__schema__ = schema
|
|
859
859
|
__field_names__ = ('environment_id', 'subscription_id', 'until_date')
|
|
860
860
|
environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
|
|
@@ -4658,14 +4658,14 @@ class CannotDeleteFeatureError(sgqlc.types.Type):
|
|
|
4658
4658
|
ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
|
|
4659
4659
|
|
|
4660
4660
|
|
|
4661
|
-
class
|
|
4661
|
+
class ChargeSubscriptionUsage(sgqlc.types.Type):
|
|
4662
4662
|
__schema__ = schema
|
|
4663
|
-
__field_names__ = ('invoice_billing_id', '
|
|
4663
|
+
__field_names__ = ('invoice_billing_id', 'period_end', 'period_start', 'subscription_id', 'usage_charged')
|
|
4664
4664
|
invoice_billing_id = sgqlc.types.Field(String, graphql_name='invoiceBillingId')
|
|
4665
|
-
overages_charged = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('OverageCharged'))), graphql_name='overagesCharged')
|
|
4666
4665
|
period_end = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='periodEnd')
|
|
4667
4666
|
period_start = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='periodStart')
|
|
4668
4667
|
subscription_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionId')
|
|
4668
|
+
usage_charged = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('UsageCharged'))), graphql_name='usageCharged')
|
|
4669
4669
|
|
|
4670
4670
|
|
|
4671
4671
|
class CheckoutBillingIntegration(sgqlc.types.Type):
|
|
@@ -5185,7 +5185,7 @@ class CustomerStatistics(sgqlc.types.Type):
|
|
|
5185
5185
|
|
|
5186
5186
|
class CustomerSubscription(sgqlc.types.Type):
|
|
5187
5187
|
__schema__ = schema
|
|
5188
|
-
__field_names__ = ('additional_meta_data', 'addons', 'billing_cycle_anchor', 'billing_id', 'billing_link_url', 'billing_sync_error', 'budget', 'budget_exceeded', 'cancel_reason', 'cancellation_date', 'coupon', 'created_at', 'crm_id', 'crm_link_url', 'current_billing_period_end', 'current_billing_period_start', 'customer', 'customer_id', 'effective_end_date', 'end_date', 'environment', 'environment_id', 'experiment', 'experiment_info', 'free_items', 'future_updates', 'id', 'is_custom_price_subscription', 'latest_invoice', 'minimum_spend', 'old_billing_id', 'outdated_price_packages', 'payment_collection', 'payment_collection_method', 'plan', 'prices', 'pricing_type', 'ref_id', 'resource', 'resource_id', 'salesforce_id', 'scheduled_updates', 'start_date', 'status', 'subscription_entitlements', 'subscription_id', 'sync_states', 'total_price', 'trial_end_date', 'was_in_trial')
|
|
5188
|
+
__field_names__ = ('additional_meta_data', 'addons', 'billing_cycle_anchor', 'billing_id', 'billing_link_url', 'billing_sync_error', 'budget', 'budget_exceeded', 'cancel_reason', 'cancellation_date', 'coupon', 'created_at', 'crm_id', 'crm_link_url', 'current_billing_period_end', 'current_billing_period_start', 'customer', 'customer_id', 'effective_end_date', 'end_date', 'environment', 'environment_id', 'experiment', 'experiment_info', 'free_items', 'future_updates', 'id', 'is_custom_price_subscription', 'last_usage_invoice', 'latest_invoice', 'minimum_spend', 'old_billing_id', 'outdated_price_packages', 'payment_collection', 'payment_collection_method', 'plan', 'prices', 'pricing_type', 'ref_id', 'resource', 'resource_id', 'salesforce_id', 'scheduled_updates', 'start_date', 'status', 'subscription_entitlements', 'subscription_id', 'sync_states', 'total_price', 'trial_end_date', 'was_in_trial')
|
|
5189
5189
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
5190
5190
|
addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddon')), graphql_name='addons', args=sgqlc.types.ArgDict((
|
|
5191
5191
|
('filter', sgqlc.types.Arg(SubscriptionAddonFilter, graphql_name='filter', default={})),
|
|
@@ -5218,6 +5218,7 @@ class CustomerSubscription(sgqlc.types.Type):
|
|
|
5218
5218
|
future_updates = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionFutureUpdate'))), graphql_name='futureUpdates')
|
|
5219
5219
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
5220
5220
|
is_custom_price_subscription = sgqlc.types.Field(Boolean, graphql_name='isCustomPriceSubscription')
|
|
5221
|
+
last_usage_invoice = sgqlc.types.Field('SubscriptionInvoice', graphql_name='lastUsageInvoice')
|
|
5221
5222
|
latest_invoice = sgqlc.types.Field('SubscriptionInvoice', graphql_name='latestInvoice')
|
|
5222
5223
|
minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpend', graphql_name='minimumSpend')
|
|
5223
5224
|
old_billing_id = sgqlc.types.Field(String, graphql_name='oldBillingId')
|
|
@@ -6495,7 +6496,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
|
|
|
6495
6496
|
|
|
6496
6497
|
class Mutation(sgqlc.types.Type):
|
|
6497
6498
|
__schema__ = schema
|
|
6498
|
-
__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', '
|
|
6499
|
+
__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_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')
|
|
6499
6500
|
add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
|
|
6500
6501
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
|
|
6501
6502
|
))
|
|
@@ -6540,8 +6541,8 @@ class Mutation(sgqlc.types.Type):
|
|
|
6540
6541
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(SubscriptionCancellationInput), graphql_name='input', default=None)),
|
|
6541
6542
|
))
|
|
6542
6543
|
)
|
|
6543
|
-
|
|
6544
|
-
('input', sgqlc.types.Arg(sgqlc.types.non_null(
|
|
6544
|
+
charge_subscription_usage = sgqlc.types.Field(sgqlc.types.non_null(ChargeSubscriptionUsage), graphql_name='chargeSubscriptionUsage', args=sgqlc.types.ArgDict((
|
|
6545
|
+
('input', sgqlc.types.Arg(sgqlc.types.non_null(ChargeSubscriptionUsageInput), graphql_name='input', default=None)),
|
|
6545
6546
|
))
|
|
6546
6547
|
)
|
|
6547
6548
|
create_account = sgqlc.types.Field(sgqlc.types.non_null(Member), graphql_name='createAccount', args=sgqlc.types.ArgDict((
|
|
@@ -6992,13 +6993,6 @@ class NumberChange(sgqlc.types.Type):
|
|
|
6992
6993
|
change_type = sgqlc.types.Field(ChangeType, graphql_name='changeType')
|
|
6993
6994
|
|
|
6994
6995
|
|
|
6995
|
-
class OverageCharged(sgqlc.types.Type):
|
|
6996
|
-
__schema__ = schema
|
|
6997
|
-
__field_names__ = ('feature_id', 'overage_amount')
|
|
6998
|
-
feature_id = sgqlc.types.Field(String, graphql_name='featureId')
|
|
6999
|
-
overage_amount = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='overageAmount')
|
|
7000
|
-
|
|
7001
|
-
|
|
7002
6996
|
class PackageAlreadyPublishedError(sgqlc.types.Type):
|
|
7003
6997
|
__schema__ = schema
|
|
7004
6998
|
__field_names__ = ('code', 'is_validation_error')
|
|
@@ -9234,6 +9228,13 @@ class UpdateEntitlementsOrderDTO(sgqlc.types.Type):
|
|
|
9234
9228
|
order = sgqlc.types.Field(Float, graphql_name='order')
|
|
9235
9229
|
|
|
9236
9230
|
|
|
9231
|
+
class UsageCharged(sgqlc.types.Type):
|
|
9232
|
+
__schema__ = schema
|
|
9233
|
+
__field_names__ = ('feature_id', 'usage_amount')
|
|
9234
|
+
feature_id = sgqlc.types.Field(String, graphql_name='featureId')
|
|
9235
|
+
usage_amount = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='usageAmount')
|
|
9236
|
+
|
|
9237
|
+
|
|
9237
9238
|
class UsageEvent(sgqlc.types.Type):
|
|
9238
9239
|
__schema__ = schema
|
|
9239
9240
|
__field_names__ = ('customer', 'customer_id', 'dimensions', 'event_name', 'id', 'idempotency_key', 'resource_id', 'timestamp')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|