stigg-api-client 1.121.1__py3-none-any.whl → 1.122.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', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', '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', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget_cap_configuration', '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')
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
  billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BillableFeatureInput')), graphql_name='billableFeatures')
@@ -628,6 +628,7 @@ class ApplySubscriptionInput(sgqlc.types.Input):
628
628
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
629
629
  billing_information = sgqlc.types.Field('SubscriptionBillingInfo', graphql_name='billingInformation')
630
630
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
631
+ budget_cap_configuration = sgqlc.types.Field('BudgetCapConfigurationInput', graphql_name='budgetCapConfiguration')
631
632
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
632
633
  payment_method_id = sgqlc.types.Field(String, graphql_name='paymentMethodId')
633
634
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
@@ -783,6 +784,13 @@ class BooleanFieldComparison(sgqlc.types.Input):
783
784
  is_not = sgqlc.types.Field(Boolean, graphql_name='isNot')
784
785
 
785
786
 
787
+ class BudgetCapConfigurationInput(sgqlc.types.Input):
788
+ __schema__ = schema
789
+ __field_names__ = ('has_soft_limit', 'limit')
790
+ has_soft_limit = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasSoftLimit')
791
+ limit = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='limit')
792
+
793
+
786
794
  class ChargeSubscriptionOveragesInput(sgqlc.types.Input):
787
795
  __schema__ = schema
788
796
  __field_names__ = ('environment_id', 'subscription_id', 'until_date')
@@ -2902,7 +2910,7 @@ class ProvisionCustomerInput(sgqlc.types.Input):
2902
2910
 
2903
2911
  class ProvisionCustomerSubscriptionInput(sgqlc.types.Input):
2904
2912
  __schema__ = schema
2905
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', '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')
2913
+ __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget_cap_configuration', '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')
2906
2914
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2907
2915
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
2908
2916
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -2911,6 +2919,7 @@ class ProvisionCustomerSubscriptionInput(sgqlc.types.Input):
2911
2919
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
2912
2920
  billing_information = sgqlc.types.Field('SubscriptionBillingInfo', graphql_name='billingInformation')
2913
2921
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
2922
+ budget_cap_configuration = sgqlc.types.Field(BudgetCapConfigurationInput, graphql_name='budgetCapConfiguration')
2914
2923
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
2915
2924
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
2916
2925
  price_unit_amount = sgqlc.types.Field(Float, graphql_name='priceUnitAmount')
@@ -2934,7 +2943,7 @@ class ProvisionSandboxInput(sgqlc.types.Input):
2934
2943
 
2935
2944
  class ProvisionSubscription(sgqlc.types.Input):
2936
2945
  __schema__ = schema
2937
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', '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')
2946
+ __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget_cap_configuration', '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')
2938
2947
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2939
2948
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
2940
2949
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -2943,6 +2952,7 @@ class ProvisionSubscription(sgqlc.types.Input):
2943
2952
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
2944
2953
  billing_information = sgqlc.types.Field('SubscriptionBillingInfo', graphql_name='billingInformation')
2945
2954
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
2955
+ budget_cap_configuration = sgqlc.types.Field(BudgetCapConfigurationInput, graphql_name='budgetCapConfiguration')
2946
2956
  checkout_options = sgqlc.types.Field(CheckoutOptions, graphql_name='checkoutOptions')
2947
2957
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
2948
2958
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
@@ -2963,7 +2973,7 @@ class ProvisionSubscription(sgqlc.types.Input):
2963
2973
 
2964
2974
  class ProvisionSubscriptionInput(sgqlc.types.Input):
2965
2975
  __schema__ = schema
2966
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', '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')
2976
+ __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget_cap_configuration', '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')
2967
2977
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2968
2978
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
2969
2979
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -2972,6 +2982,7 @@ class ProvisionSubscriptionInput(sgqlc.types.Input):
2972
2982
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
2973
2983
  billing_information = sgqlc.types.Field('SubscriptionBillingInfo', graphql_name='billingInformation')
2974
2984
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
2985
+ budget_cap_configuration = sgqlc.types.Field(BudgetCapConfigurationInput, graphql_name='budgetCapConfiguration')
2975
2986
  checkout_options = sgqlc.types.Field(CheckoutOptions, graphql_name='checkoutOptions')
2976
2987
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
2977
2988
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
@@ -3466,7 +3477,7 @@ class SubscriptionEntitlementSort(sgqlc.types.Input):
3466
3477
 
3467
3478
  class SubscriptionInput(sgqlc.types.Input):
3468
3479
  __schema__ = schema
3469
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', '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')
3480
+ __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget_cap_configuration', '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')
3470
3481
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3471
3482
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionAddonInput)), graphql_name='addons')
3472
3483
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -3475,6 +3486,7 @@ class SubscriptionInput(sgqlc.types.Input):
3475
3486
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
3476
3487
  billing_information = sgqlc.types.Field(SubscriptionBillingInfo, graphql_name='billingInformation')
3477
3488
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
3489
+ budget_cap_configuration = sgqlc.types.Field(BudgetCapConfigurationInput, graphql_name='budgetCapConfiguration')
3478
3490
  crm_id = sgqlc.types.Field(String, graphql_name='crmId')
3479
3491
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
3480
3492
  end_date = sgqlc.types.Field(DateTime, graphql_name='endDate')
@@ -3941,13 +3953,14 @@ class UpdateSubscriptionEntitlementInput(sgqlc.types.Input):
3941
3953
 
3942
3954
  class UpdateSubscriptionInput(sgqlc.types.Input):
3943
3955
  __schema__ = schema
3944
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_information', 'billing_period', 'environment_id', 'price_overrides', 'promotion_code', 'ref_id', 'schedule_strategy', 'subscription_entitlements', 'subscription_id', 'trial_end_date', 'unit_quantity')
3956
+ __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_information', 'billing_period', 'budget_cap_configuration', 'environment_id', 'price_overrides', 'promotion_code', 'ref_id', 'schedule_strategy', 'subscription_entitlements', 'subscription_id', 'trial_end_date', 'unit_quantity')
3945
3957
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3946
3958
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionAddonInput)), graphql_name='addons')
3947
3959
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
3948
3960
  billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(BillableFeatureInput)), graphql_name='billableFeatures')
3949
3961
  billing_information = sgqlc.types.Field(SubscriptionBillingInfo, graphql_name='billingInformation')
3950
3962
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
3963
+ budget_cap_configuration = sgqlc.types.Field(BudgetCapConfigurationInput, graphql_name='budgetCapConfiguration')
3951
3964
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
3952
3965
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
3953
3966
  promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
@@ -4437,6 +4450,13 @@ class BillingPeriodChangeVariables(sgqlc.types.Type):
4437
4450
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
4438
4451
 
4439
4452
 
4453
+ class BudgetCapConfiguration(sgqlc.types.Type):
4454
+ __schema__ = schema
4455
+ __field_names__ = ('has_soft_limit', 'limit')
4456
+ has_soft_limit = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasSoftLimit')
4457
+ limit = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='limit')
4458
+
4459
+
4440
4460
  class CannotDeleteCustomerError(sgqlc.types.Type):
4441
4461
  __schema__ = schema
4442
4462
  __field_names__ = ('code', 'is_validation_error', 'ref_id')
@@ -4980,7 +5000,7 @@ class CustomerStatistics(sgqlc.types.Type):
4980
5000
 
4981
5001
  class CustomerSubscription(sgqlc.types.Type):
4982
5002
  __schema__ = schema
4983
- __field_names__ = ('additional_meta_data', 'addons', 'billing_id', 'billing_link_url', 'billing_sync_error', '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')
5003
+ __field_names__ = ('additional_meta_data', 'addons', 'billing_id', 'billing_link_url', 'billing_sync_error', 'budget_cap_configuration', 'budget_cap_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')
4984
5004
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4985
5005
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddon')), graphql_name='addons', args=sgqlc.types.ArgDict((
4986
5006
  ('filter', sgqlc.types.Arg(SubscriptionAddonFilter, graphql_name='filter', default={})),
@@ -4990,6 +5010,8 @@ class CustomerSubscription(sgqlc.types.Type):
4990
5010
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4991
5011
  billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
4992
5012
  billing_sync_error = sgqlc.types.Field(String, graphql_name='billingSyncError')
5013
+ budget_cap_configuration = sgqlc.types.Field(BudgetCapConfiguration, graphql_name='budgetCapConfiguration')
5014
+ budget_cap_exceeded = sgqlc.types.Field(Boolean, graphql_name='budgetCapExceeded')
4993
5015
  cancel_reason = sgqlc.types.Field(SubscriptionCancelReason, graphql_name='cancelReason')
4994
5016
  cancellation_date = sgqlc.types.Field(DateTime, graphql_name='cancellationDate')
4995
5017
  coupon = sgqlc.types.Field('SubscriptionCoupon', graphql_name='coupon')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 1.121.1
3
+ Version: 1.122.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=Vc7M88cqTS9_nFmHWjRZ4K6IhTk2MsUMYrs31kmFFQo,575121
6
- stigg_api_client-1.121.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-1.121.1.dist-info/METADATA,sha256=dPDO9xNvnaRM15sSZQEl0Tz4PHCQLYFEPUaexMSEJ6Y,3198
8
- stigg_api_client-1.121.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-1.121.1.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=Gy7anKAI2hFHxaf9r0CjwbrJgDY1mmWaLU4NDgncpII,576857
6
+ stigg_api_client-1.122.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-1.122.0.dist-info/METADATA,sha256=Mo8jWE5RcTh5gIh7hABASkdT_Whf1nHS-5nVQnFwMeo,3198
8
+ stigg_api_client-1.122.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-1.122.0.dist-info/RECORD,,