stigg-api-client 2.19.0__tar.gz → 2.25.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.19.0 → stigg_api_client-2.25.0}/PKG-INFO +1 -1
- {stigg_api_client-2.19.0 → stigg_api_client-2.25.0}/pyproject.toml +1 -1
- {stigg_api_client-2.19.0 → stigg_api_client-2.25.0}/stigg/generated/schema.py +19 -17
- {stigg_api_client-2.19.0 → stigg_api_client-2.25.0}/LICENSE +0 -0
- {stigg_api_client-2.19.0 → stigg_api_client-2.25.0}/README.md +0 -0
- {stigg_api_client-2.19.0 → stigg_api_client-2.25.0}/stigg/__init__.py +0 -0
- {stigg_api_client-2.19.0 → stigg_api_client-2.25.0}/stigg/client.py +0 -0
- {stigg_api_client-2.19.0 → stigg_api_client-2.25.0}/stigg/generated/__init__.py +0 -0
- {stigg_api_client-2.19.0 → stigg_api_client-2.25.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')
|
|
@@ -3514,10 +3514,11 @@ class SubscriptionAddonSort(sgqlc.types.Input):
|
|
|
3514
3514
|
|
|
3515
3515
|
class SubscriptionBillingInfo(sgqlc.types.Input):
|
|
3516
3516
|
__schema__ = schema
|
|
3517
|
-
__field_names__ = ('billing_address', 'charge_on_behalf_of_account', 'coupon_id', 'is_backdated', 'is_invoice_paid', 'metadata', 'tax_percentage', 'tax_rate_ids')
|
|
3517
|
+
__field_names__ = ('billing_address', 'charge_on_behalf_of_account', 'coupon_id', 'invoice_days_until_due', 'is_backdated', 'is_invoice_paid', 'metadata', 'tax_percentage', 'tax_rate_ids')
|
|
3518
3518
|
billing_address = sgqlc.types.Field(BillingAddress, graphql_name='billingAddress')
|
|
3519
3519
|
charge_on_behalf_of_account = sgqlc.types.Field(String, graphql_name='chargeOnBehalfOfAccount')
|
|
3520
3520
|
coupon_id = sgqlc.types.Field(String, graphql_name='couponId')
|
|
3521
|
+
invoice_days_until_due = sgqlc.types.Field(Float, graphql_name='invoiceDaysUntilDue')
|
|
3521
3522
|
is_backdated = sgqlc.types.Field(Boolean, graphql_name='isBackdated')
|
|
3522
3523
|
is_invoice_paid = sgqlc.types.Field(Boolean, graphql_name='isInvoicePaid')
|
|
3523
3524
|
metadata = sgqlc.types.Field(JSON, graphql_name='metadata')
|
|
@@ -4658,14 +4659,14 @@ class CannotDeleteFeatureError(sgqlc.types.Type):
|
|
|
4658
4659
|
ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
|
|
4659
4660
|
|
|
4660
4661
|
|
|
4661
|
-
class
|
|
4662
|
+
class ChargeSubscriptionUsage(sgqlc.types.Type):
|
|
4662
4663
|
__schema__ = schema
|
|
4663
|
-
__field_names__ = ('invoice_billing_id', '
|
|
4664
|
+
__field_names__ = ('invoice_billing_id', 'period_end', 'period_start', 'subscription_id', 'usage_charged')
|
|
4664
4665
|
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
4666
|
period_end = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='periodEnd')
|
|
4667
4667
|
period_start = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='periodStart')
|
|
4668
4668
|
subscription_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionId')
|
|
4669
|
+
usage_charged = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('UsageCharged'))), graphql_name='usageCharged')
|
|
4669
4670
|
|
|
4670
4671
|
|
|
4671
4672
|
class CheckoutBillingIntegration(sgqlc.types.Type):
|
|
@@ -5185,7 +5186,7 @@ class CustomerStatistics(sgqlc.types.Type):
|
|
|
5185
5186
|
|
|
5186
5187
|
class CustomerSubscription(sgqlc.types.Type):
|
|
5187
5188
|
__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')
|
|
5189
|
+
__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
5190
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
5190
5191
|
addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddon')), graphql_name='addons', args=sgqlc.types.ArgDict((
|
|
5191
5192
|
('filter', sgqlc.types.Arg(SubscriptionAddonFilter, graphql_name='filter', default={})),
|
|
@@ -5218,6 +5219,7 @@ class CustomerSubscription(sgqlc.types.Type):
|
|
|
5218
5219
|
future_updates = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionFutureUpdate'))), graphql_name='futureUpdates')
|
|
5219
5220
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
5220
5221
|
is_custom_price_subscription = sgqlc.types.Field(Boolean, graphql_name='isCustomPriceSubscription')
|
|
5222
|
+
last_usage_invoice = sgqlc.types.Field('SubscriptionInvoice', graphql_name='lastUsageInvoice')
|
|
5221
5223
|
latest_invoice = sgqlc.types.Field('SubscriptionInvoice', graphql_name='latestInvoice')
|
|
5222
5224
|
minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpend', graphql_name='minimumSpend')
|
|
5223
5225
|
old_billing_id = sgqlc.types.Field(String, graphql_name='oldBillingId')
|
|
@@ -6495,7 +6497,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
|
|
|
6495
6497
|
|
|
6496
6498
|
class Mutation(sgqlc.types.Type):
|
|
6497
6499
|
__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', '
|
|
6500
|
+
__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
6501
|
add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
|
|
6500
6502
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
|
|
6501
6503
|
))
|
|
@@ -6540,8 +6542,8 @@ class Mutation(sgqlc.types.Type):
|
|
|
6540
6542
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(SubscriptionCancellationInput), graphql_name='input', default=None)),
|
|
6541
6543
|
))
|
|
6542
6544
|
)
|
|
6543
|
-
|
|
6544
|
-
('input', sgqlc.types.Arg(sgqlc.types.non_null(
|
|
6545
|
+
charge_subscription_usage = sgqlc.types.Field(sgqlc.types.non_null(ChargeSubscriptionUsage), graphql_name='chargeSubscriptionUsage', args=sgqlc.types.ArgDict((
|
|
6546
|
+
('input', sgqlc.types.Arg(sgqlc.types.non_null(ChargeSubscriptionUsageInput), graphql_name='input', default=None)),
|
|
6545
6547
|
))
|
|
6546
6548
|
)
|
|
6547
6549
|
create_account = sgqlc.types.Field(sgqlc.types.non_null(Member), graphql_name='createAccount', args=sgqlc.types.ArgDict((
|
|
@@ -6992,13 +6994,6 @@ class NumberChange(sgqlc.types.Type):
|
|
|
6992
6994
|
change_type = sgqlc.types.Field(ChangeType, graphql_name='changeType')
|
|
6993
6995
|
|
|
6994
6996
|
|
|
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
6997
|
class PackageAlreadyPublishedError(sgqlc.types.Type):
|
|
7003
6998
|
__schema__ = schema
|
|
7004
6999
|
__field_names__ = ('code', 'is_validation_error')
|
|
@@ -9234,6 +9229,13 @@ class UpdateEntitlementsOrderDTO(sgqlc.types.Type):
|
|
|
9234
9229
|
order = sgqlc.types.Field(Float, graphql_name='order')
|
|
9235
9230
|
|
|
9236
9231
|
|
|
9232
|
+
class UsageCharged(sgqlc.types.Type):
|
|
9233
|
+
__schema__ = schema
|
|
9234
|
+
__field_names__ = ('feature_id', 'usage_amount')
|
|
9235
|
+
feature_id = sgqlc.types.Field(String, graphql_name='featureId')
|
|
9236
|
+
usage_amount = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='usageAmount')
|
|
9237
|
+
|
|
9238
|
+
|
|
9237
9239
|
class UsageEvent(sgqlc.types.Type):
|
|
9238
9240
|
__schema__ = schema
|
|
9239
9241
|
__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
|