stigg-api-client 2.188.0__tar.gz → 2.194.7__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.188.0
3
+ Version: 2.194.7
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "stigg-api-client"
3
- version = "2.188.0"
3
+ version = "2.194.7"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -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')
@@ -3344,8 +3349,9 @@ class ReportUsageInput(sgqlc.types.Input):
3344
3349
 
3345
3350
  class ResyncIntegrationInput(sgqlc.types.Input):
3346
3351
  __schema__ = schema
3347
- __field_names__ = ('environment_id', 'vendor_identifier')
3352
+ __field_names__ = ('environment_id', 'recalculate_entitlements', 'vendor_identifier')
3348
3353
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
3354
+ recalculate_entitlements = sgqlc.types.Field(Boolean, graphql_name='recalculateEntitlements')
3349
3355
  vendor_identifier = sgqlc.types.Field(sgqlc.types.non_null(VendorIdentifier), graphql_name='vendorIdentifier')
3350
3356
 
3351
3357
 
@@ -3722,7 +3728,7 @@ class SubscriptionEntitlementSort(sgqlc.types.Input):
3722
3728
 
3723
3729
  class SubscriptionInput(sgqlc.types.Input):
3724
3730
  __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')
3731
+ __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
3732
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3727
3733
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionAddonInput)), graphql_name='addons')
3728
3734
  applied_coupon = sgqlc.types.Field(SubscriptionCouponInput, graphql_name='appliedCoupon')
@@ -3754,6 +3760,7 @@ class SubscriptionInput(sgqlc.types.Input):
3754
3760
  start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
3755
3761
  subscription_entitlements = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionEntitlementInput)), graphql_name='subscriptionEntitlements')
3756
3762
  subscription_id = sgqlc.types.Field(String, graphql_name='subscriptionId')
3763
+ trial_end_behavior = sgqlc.types.Field(TrialEndBehavior, graphql_name='trialEndBehavior')
3757
3764
  unit_quantity = sgqlc.types.Field(Float, graphql_name='unitQuantity')
3758
3765
 
3759
3766
 
@@ -3981,8 +3988,9 @@ class TransferSubscriptionInput(sgqlc.types.Input):
3981
3988
 
3982
3989
  class TrialOverrideConfigurationInput(sgqlc.types.Input):
3983
3990
  __schema__ = schema
3984
- __field_names__ = ('is_trial', 'trial_end_date')
3991
+ __field_names__ = ('is_trial', 'trial_end_behavior', 'trial_end_date')
3985
3992
  is_trial = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isTrial')
3993
+ trial_end_behavior = sgqlc.types.Field(TrialEndBehavior, graphql_name='trialEndBehavior')
3986
3994
  trial_end_date = sgqlc.types.Field(DateTime, graphql_name='trialEndDate')
3987
3995
 
3988
3996
 
@@ -5291,7 +5299,7 @@ class CustomerStatistics(sgqlc.types.Type):
5291
5299
 
5292
5300
  class CustomerSubscription(sgqlc.types.Type):
5293
5301
  __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')
5302
+ __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
5303
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
5296
5304
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddon')), graphql_name='addons', args=sgqlc.types.ArgDict((
5297
5305
  ('filter', sgqlc.types.Arg(SubscriptionAddonFilter, graphql_name='filter', default={})),
@@ -5355,6 +5363,7 @@ class CustomerSubscription(sgqlc.types.Type):
5355
5363
  subscription_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionId')
5356
5364
  sync_states = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SyncState')), graphql_name='syncStates')
5357
5365
  total_price = sgqlc.types.Field('CustomerSubscriptionTotalPrice', graphql_name='totalPrice')
5366
+ trial_configuration = sgqlc.types.Field('TrialConfiguration', graphql_name='trialConfiguration')
5358
5367
  trial_end_date = sgqlc.types.Field(DateTime, graphql_name='trialEndDate')
5359
5368
  was_in_trial = sgqlc.types.Field(Boolean, graphql_name='wasInTrial')
5360
5369
 
@@ -9316,6 +9325,12 @@ class TestHookResult(sgqlc.types.Type):
9316
9325
  response_success = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='responseSuccess')
9317
9326
 
9318
9327
 
9328
+ class TrialConfiguration(sgqlc.types.Type):
9329
+ __schema__ = schema
9330
+ __field_names__ = ('trial_end_behavior',)
9331
+ trial_end_behavior = sgqlc.types.Field(sgqlc.types.non_null(TrialEndBehavior), graphql_name='trialEndBehavior')
9332
+
9333
+
9319
9334
  class TrialedPlan(sgqlc.types.Type):
9320
9335
  __schema__ = schema
9321
9336
  __field_names__ = ('plan_id', 'plan_ref_id', 'product_id', 'product_ref_id')