stigg-api-client 2.188.0__py3-none-any.whl → 2.192.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
@@ -515,6 +515,11 @@ class TiersMode(sgqlc.types.Enum):
515
515
  __choices__ = ('GRADUATED', 'VOLUME')
516
516
 
517
517
 
518
+ class TrialEndBehavior(sgqlc.types.Enum):
519
+ __schema__ = schema
520
+ __choices__ = ('CANCEL_SUBSCRIPTION', 'CONVERT_TO_PAID')
521
+
522
+
518
523
  class TrialPeriodUnits(sgqlc.types.Enum):
519
524
  __schema__ = schema
520
525
  __choices__ = ('DAY', 'MONTH')
@@ -3722,7 +3727,7 @@ class SubscriptionEntitlementSort(sgqlc.types.Input):
3722
3727
 
3723
3728
  class SubscriptionInput(sgqlc.types.Input):
3724
3729
  __schema__ = schema
3725
- __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', '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', 'paying_customer_id', 'payment_collection_method', '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')
3730
+ __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', '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', 'paying_customer_id', 'payment_collection_method', 'plan_id', 'price_overrides', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'schedule_strategy', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_end_behavior', 'unit_quantity')
3726
3731
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3727
3732
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionAddonInput)), graphql_name='addons')
3728
3733
  applied_coupon = sgqlc.types.Field(SubscriptionCouponInput, graphql_name='appliedCoupon')
@@ -3754,6 +3759,7 @@ class SubscriptionInput(sgqlc.types.Input):
3754
3759
  start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
3755
3760
  subscription_entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionEntitlementInput)), graphql_name='subscriptionEntitlements')
3756
3761
  subscription_id = sgqlc.types.Field(String, graphql_name='subscriptionId')
3762
+ trial_end_behavior = sgqlc.types.Field(TrialEndBehavior, graphql_name='trialEndBehavior')
3757
3763
  unit_quantity = sgqlc.types.Field(Float, graphql_name='unitQuantity')
3758
3764
 
3759
3765
 
@@ -3981,8 +3987,9 @@ class TransferSubscriptionInput(sgqlc.types.Input):
3981
3987
 
3982
3988
  class TrialOverrideConfigurationInput(sgqlc.types.Input):
3983
3989
  __schema__ = schema
3984
- __field_names__ = ('is_trial', 'trial_end_date')
3990
+ __field_names__ = ('is_trial', 'trial_end_behavior', 'trial_end_date')
3985
3991
  is_trial = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isTrial')
3992
+ trial_end_behavior = sgqlc.types.Field(TrialEndBehavior, graphql_name='trialEndBehavior')
3986
3993
  trial_end_date = sgqlc.types.Field(DateTime, graphql_name='trialEndDate')
3987
3994
 
3988
3995
 
@@ -5291,7 +5298,7 @@ class CustomerStatistics(sgqlc.types.Type):
5291
5298
 
5292
5299
  class CustomerSubscription(sgqlc.types.Type):
5293
5300
  __schema__ = schema
5294
- __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', 'paying_customer', 'paying_customer_id', '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')
5301
+ __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', 'paying_customer', 'paying_customer_id', '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_configuration', 'trial_end_date', 'was_in_trial')
5295
5302
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
5296
5303
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddon')), graphql_name='addons', args=sgqlc.types.ArgDict((
5297
5304
  ('filter', sgqlc.types.Arg(SubscriptionAddonFilter, graphql_name='filter', default={})),
@@ -5355,6 +5362,7 @@ class CustomerSubscription(sgqlc.types.Type):
5355
5362
  subscription_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionId')
5356
5363
  sync_states = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SyncState')), graphql_name='syncStates')
5357
5364
  total_price = sgqlc.types.Field('CustomerSubscriptionTotalPrice', graphql_name='totalPrice')
5365
+ trial_configuration = sgqlc.types.Field('TrialConfiguration', graphql_name='trialConfiguration')
5358
5366
  trial_end_date = sgqlc.types.Field(DateTime, graphql_name='trialEndDate')
5359
5367
  was_in_trial = sgqlc.types.Field(Boolean, graphql_name='wasInTrial')
5360
5368
 
@@ -9316,6 +9324,12 @@ class TestHookResult(sgqlc.types.Type):
9316
9324
  response_success = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='responseSuccess')
9317
9325
 
9318
9326
 
9327
+ class TrialConfiguration(sgqlc.types.Type):
9328
+ __schema__ = schema
9329
+ __field_names__ = ('trial_end_behavior',)
9330
+ trial_end_behavior = sgqlc.types.Field(sgqlc.types.non_null(TrialEndBehavior), graphql_name='trialEndBehavior')
9331
+
9332
+
9319
9333
  class TrialedPlan(sgqlc.types.Type):
9320
9334
  __schema__ = schema
9321
9335
  __field_names__ = ('plan_id', 'plan_ref_id', 'product_id', 'product_ref_id')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.188.0
3
+ Version: 2.192.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=eeUhEtHGg1DVLGmjz06xgBfrYJPy4rN1tvK7LFvFGM4,75336
5
- stigg/generated/schema.py,sha256=fwzf614hOj_OjPFRJQk7SZjC5sjV9M8xmM77fHzACvo,616969
6
- stigg_api_client-2.188.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-2.188.0.dist-info/METADATA,sha256=sEwNvJ8Sr33Oq-_IzDiZa2Y7FqzePyNQwp1YwDIXQ0A,3198
8
- stigg_api_client-2.188.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-2.188.0.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=i-3hDTJlVFj8KZnQh_IePHLl-yF2bHPEsh-C0Ealq04,617686
6
+ stigg_api_client-2.192.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-2.192.0.dist-info/METADATA,sha256=p_8ZCC9zvrrdUYsjxISyMyQxnQJL6zjsjVe2CrE6EL0,3198
8
+ stigg_api_client-2.192.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-2.192.0.dist-info/RECORD,,