stigg-api-client 1.146.0__py3-none-any.whl → 1.147.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
@@ -620,7 +620,7 @@ class ApiKeySort(sgqlc.types.Input):
620
620
 
621
621
  class ApplySubscriptionInput(sgqlc.types.Input):
622
622
  __schema__ = schema
623
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'customer_id', 'payment_method_id', 'plan_id', 'price_overrides', 'promotion_code', 'resource_id', 'salesforce_id', 'schedule_strategy', 'skip_trial', 'start_date', 'subscription_entitlements', 'trial_override_configuration', 'unit_quantity')
623
+ __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'customer_id', 'minimum_spend', 'payment_method_id', 'plan_id', 'price_overrides', 'promotion_code', 'resource_id', 'salesforce_id', 'schedule_strategy', 'skip_trial', 'start_date', 'subscription_entitlements', 'trial_override_configuration', 'unit_quantity')
624
624
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
625
625
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
626
626
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -631,6 +631,7 @@ class ApplySubscriptionInput(sgqlc.types.Input):
631
631
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
632
632
  budget = sgqlc.types.Field('BudgetConfigurationInput', graphql_name='budget')
633
633
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
634
+ minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
634
635
  payment_method_id = sgqlc.types.Field(String, graphql_name='paymentMethodId')
635
636
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
636
637
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PriceOverrideInput')), graphql_name='priceOverrides')
@@ -2217,7 +2218,7 @@ class MinimumSpendInput(sgqlc.types.Input):
2217
2218
  __schema__ = schema
2218
2219
  __field_names__ = ('billing_period', 'minimum')
2219
2220
  billing_period = sgqlc.types.Field(sgqlc.types.non_null(BillingPeriod), graphql_name='billingPeriod')
2220
- minimum = sgqlc.types.Field('MoneyInputDTO', graphql_name='minimum')
2221
+ minimum = sgqlc.types.Field(sgqlc.types.non_null('MoneyInputDTO'), graphql_name='minimum')
2221
2222
 
2222
2223
 
2223
2224
  class MoneyInputDTO(sgqlc.types.Input):
@@ -2936,7 +2937,7 @@ class ProvisionCustomerInput(sgqlc.types.Input):
2936
2937
 
2937
2938
  class ProvisionCustomerSubscriptionInput(sgqlc.types.Input):
2938
2939
  __schema__ = schema
2939
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_override_configuration', 'unit_quantity')
2940
+ __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'minimum_spend', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_override_configuration', 'unit_quantity')
2940
2941
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2941
2942
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
2942
2943
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -2946,6 +2947,7 @@ class ProvisionCustomerSubscriptionInput(sgqlc.types.Input):
2946
2947
  billing_information = sgqlc.types.Field('SubscriptionBillingInfo', graphql_name='billingInformation')
2947
2948
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
2948
2949
  budget = sgqlc.types.Field(BudgetConfigurationInput, graphql_name='budget')
2950
+ minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
2949
2951
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
2950
2952
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
2951
2953
  price_unit_amount = sgqlc.types.Field(Float, graphql_name='priceUnitAmount')
@@ -2969,7 +2971,7 @@ class ProvisionSandboxInput(sgqlc.types.Input):
2969
2971
 
2970
2972
  class ProvisionSubscription(sgqlc.types.Input):
2971
2973
  __schema__ = schema
2972
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'checkout_options', 'customer_id', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'schedule_strategy', 'skip_trial', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_override_configuration', 'unit_quantity')
2974
+ __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'checkout_options', 'customer_id', 'minimum_spend', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'schedule_strategy', 'skip_trial', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_override_configuration', 'unit_quantity')
2973
2975
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2974
2976
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
2975
2977
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -2981,6 +2983,7 @@ class ProvisionSubscription(sgqlc.types.Input):
2981
2983
  budget = sgqlc.types.Field(BudgetConfigurationInput, graphql_name='budget')
2982
2984
  checkout_options = sgqlc.types.Field(CheckoutOptions, graphql_name='checkoutOptions')
2983
2985
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
2986
+ minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
2984
2987
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
2985
2988
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
2986
2989
  price_unit_amount = sgqlc.types.Field(Float, graphql_name='priceUnitAmount')
@@ -2999,7 +3002,7 @@ class ProvisionSubscription(sgqlc.types.Input):
2999
3002
 
3000
3003
  class ProvisionSubscriptionInput(sgqlc.types.Input):
3001
3004
  __schema__ = schema
3002
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'checkout_options', 'customer_id', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'schedule_strategy', 'skip_trial', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_override_configuration', 'unit_quantity')
3005
+ __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'checkout_options', 'customer_id', 'minimum_spend', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'schedule_strategy', 'skip_trial', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_override_configuration', 'unit_quantity')
3003
3006
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3004
3007
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
3005
3008
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -3011,6 +3014,7 @@ class ProvisionSubscriptionInput(sgqlc.types.Input):
3011
3014
  budget = sgqlc.types.Field(BudgetConfigurationInput, graphql_name='budget')
3012
3015
  checkout_options = sgqlc.types.Field(CheckoutOptions, graphql_name='checkoutOptions')
3013
3016
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
3017
+ minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
3014
3018
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
3015
3019
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
3016
3020
  price_unit_amount = sgqlc.types.Field(Float, graphql_name='priceUnitAmount')
@@ -3503,7 +3507,7 @@ class SubscriptionEntitlementSort(sgqlc.types.Input):
3503
3507
 
3504
3508
  class SubscriptionInput(sgqlc.types.Input):
3505
3509
  __schema__ = schema
3506
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'crm_id', 'customer_id', 'end_date', 'environment_id', 'is_custom_price_subscription', 'is_overriding_trial_config', 'is_trial', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'schedule_strategy', 'start_date', 'subscription_entitlements', 'subscription_id', 'unit_quantity')
3510
+ __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'crm_id', 'customer_id', 'end_date', 'environment_id', 'is_custom_price_subscription', 'is_overriding_trial_config', 'is_trial', 'minimum_spend', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'schedule_strategy', 'start_date', 'subscription_entitlements', 'subscription_id', 'unit_quantity')
3507
3511
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3508
3512
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionAddonInput)), graphql_name='addons')
3509
3513
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -3520,6 +3524,7 @@ class SubscriptionInput(sgqlc.types.Input):
3520
3524
  is_custom_price_subscription = sgqlc.types.Field(Boolean, graphql_name='isCustomPriceSubscription')
3521
3525
  is_overriding_trial_config = sgqlc.types.Field(Boolean, graphql_name='isOverridingTrialConfig')
3522
3526
  is_trial = sgqlc.types.Field(Boolean, graphql_name='isTrial')
3527
+ minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
3523
3528
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
3524
3529
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
3525
3530
  price_unit_amount = sgqlc.types.Field(Float, graphql_name='priceUnitAmount')
@@ -3562,6 +3567,12 @@ class SubscriptionMigrationTaskSort(sgqlc.types.Input):
3562
3567
  nulls = sgqlc.types.Field(SortNulls, graphql_name='nulls')
3563
3568
 
3564
3569
 
3570
+ class SubscriptionMinimumSpendValueInput(sgqlc.types.Input):
3571
+ __schema__ = schema
3572
+ __field_names__ = ('minimum',)
3573
+ minimum = sgqlc.types.Field(MoneyInputDTO, graphql_name='minimum')
3574
+
3575
+
3565
3576
  class SubscriptionPriceFilter(sgqlc.types.Input):
3566
3577
  __schema__ = schema
3567
3578
  __field_names__ = ('and_', 'billing_model', 'created_at', 'feature_id', 'has_soft_limit', 'id', 'or_', 'price', 'subscription', 'updated_at', 'usage_limit')
@@ -5026,7 +5037,7 @@ class CustomerStatistics(sgqlc.types.Type):
5026
5037
 
5027
5038
  class CustomerSubscription(sgqlc.types.Type):
5028
5039
  __schema__ = schema
5029
- __field_names__ = ('additional_meta_data', 'addons', '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', 'effective_end_date', 'end_date', 'environment', 'environment_id', 'experiment', 'experiment_info', 'free_items', 'future_updates', 'id', 'is_custom_price_subscription', 'latest_invoice', 'old_billing_id', 'outdated_price_packages', 'payment_collection', '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')
5040
+ __field_names__ = ('additional_meta_data', 'addons', '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', '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', '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')
5030
5041
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
5031
5042
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddon')), graphql_name='addons', args=sgqlc.types.ArgDict((
5032
5043
  ('filter', sgqlc.types.Arg(SubscriptionAddonFilter, graphql_name='filter', default={})),
@@ -5058,6 +5069,7 @@ class CustomerSubscription(sgqlc.types.Type):
5058
5069
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
5059
5070
  is_custom_price_subscription = sgqlc.types.Field(Boolean, graphql_name='isCustomPriceSubscription')
5060
5071
  latest_invoice = sgqlc.types.Field('SubscriptionInvoice', graphql_name='latestInvoice')
5072
+ minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpend', graphql_name='minimumSpend')
5061
5073
  old_billing_id = sgqlc.types.Field(String, graphql_name='oldBillingId')
5062
5074
  outdated_price_packages = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='outdatedPricePackages')
5063
5075
  payment_collection = sgqlc.types.Field(sgqlc.types.non_null(PaymentCollection), graphql_name='paymentCollection')
@@ -8606,6 +8618,13 @@ class SubscriptionMigrationTaskMinAggregate(sgqlc.types.Type):
8606
8618
  task_type = sgqlc.types.Field(TaskType, graphql_name='taskType')
8607
8619
 
8608
8620
 
8621
+ class SubscriptionMinimumSpend(sgqlc.types.Type):
8622
+ __schema__ = schema
8623
+ __field_names__ = ('is_override', 'minimum')
8624
+ is_override = sgqlc.types.Field(Boolean, graphql_name='isOverride')
8625
+ minimum = sgqlc.types.Field(Money, graphql_name='minimum')
8626
+
8627
+
8609
8628
  class SubscriptionMustHaveSinglePlanError(sgqlc.types.Type):
8610
8629
  __schema__ = schema
8611
8630
  __field_names__ = ('code', 'is_validation_error', 'ref_ids')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 1.146.0
3
+ Version: 1.147.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=YYFd__FKVvXq8EWFFQj7_uhGyoQWRkKeUEa-cqME1TA,68704
5
- stigg/generated/schema.py,sha256=xN_135SqFOWOxBwZKEydOx8Dx35pAqof5EE-yRYyw_8,580039
6
- stigg_api_client-1.146.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-1.146.0.dist-info/METADATA,sha256=K5OyC5gw0cWgxrW1Sstld7NkYpD47mGsWIZIibiyR3Q,3198
8
- stigg_api_client-1.146.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-1.146.0.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=QrrwX0afIpVeO464RKWzG07pAFRWsIh0SiWJ5GZHG_M,581236
6
+ stigg_api_client-1.147.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-1.147.0.dist-info/METADATA,sha256=wr4weqr9Yf-84bnacToEiv-4zN0B37DyIUINFe6D1bo,3198
8
+ stigg_api_client-1.147.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-1.147.0.dist-info/RECORD,,