stigg-api-client 1.147.0__tar.gz → 1.148.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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 1.147.0
3
+ Version: 1.148.0
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 = "1.147.0"
3
+ version = "1.148.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -293,6 +293,11 @@ class PaymentCollection(sgqlc.types.Enum):
293
293
  __choices__ = ('ACTION_REQUIRED', 'FAILED', 'NOT_REQUIRED', 'PROCESSING')
294
294
 
295
295
 
296
+ class PaymentCollectionMethod(sgqlc.types.Enum):
297
+ __schema__ = schema
298
+ __choices__ = ('CHARGE', 'INVOICE')
299
+
300
+
296
301
  class PaymentMethodType(sgqlc.types.Enum):
297
302
  __schema__ = schema
298
303
  __choices__ = ('BANK', 'CARD')
@@ -620,7 +625,7 @@ class ApiKeySort(sgqlc.types.Input):
620
625
 
621
626
  class ApplySubscriptionInput(sgqlc.types.Input):
622
627
  __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', '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')
628
+ __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_collection_method', '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
629
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
625
630
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
626
631
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -632,6 +637,7 @@ class ApplySubscriptionInput(sgqlc.types.Input):
632
637
  budget = sgqlc.types.Field('BudgetConfigurationInput', graphql_name='budget')
633
638
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
634
639
  minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
640
+ payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
635
641
  payment_method_id = sgqlc.types.Field(String, graphql_name='paymentMethodId')
636
642
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
637
643
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PriceOverrideInput')), graphql_name='priceOverrides')
@@ -2937,7 +2943,7 @@ class ProvisionCustomerInput(sgqlc.types.Input):
2937
2943
 
2938
2944
  class ProvisionCustomerSubscriptionInput(sgqlc.types.Input):
2939
2945
  __schema__ = schema
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')
2946
+ __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'budget', 'minimum_spend', 'payment_collection_method', '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')
2941
2947
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2942
2948
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
2943
2949
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -2948,6 +2954,7 @@ class ProvisionCustomerSubscriptionInput(sgqlc.types.Input):
2948
2954
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
2949
2955
  budget = sgqlc.types.Field(BudgetConfigurationInput, graphql_name='budget')
2950
2956
  minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
2957
+ payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
2951
2958
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
2952
2959
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
2953
2960
  price_unit_amount = sgqlc.types.Field(Float, graphql_name='priceUnitAmount')
@@ -2971,7 +2978,7 @@ class ProvisionSandboxInput(sgqlc.types.Input):
2971
2978
 
2972
2979
  class ProvisionSubscription(sgqlc.types.Input):
2973
2980
  __schema__ = schema
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')
2981
+ __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', 'payment_collection_method', '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')
2975
2982
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2976
2983
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
2977
2984
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -2984,6 +2991,7 @@ class ProvisionSubscription(sgqlc.types.Input):
2984
2991
  checkout_options = sgqlc.types.Field(CheckoutOptions, graphql_name='checkoutOptions')
2985
2992
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
2986
2993
  minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
2994
+ payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
2987
2995
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
2988
2996
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
2989
2997
  price_unit_amount = sgqlc.types.Field(Float, graphql_name='priceUnitAmount')
@@ -3002,7 +3010,7 @@ class ProvisionSubscription(sgqlc.types.Input):
3002
3010
 
3003
3011
  class ProvisionSubscriptionInput(sgqlc.types.Input):
3004
3012
  __schema__ = schema
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')
3013
+ __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', 'payment_collection_method', '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')
3006
3014
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3007
3015
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
3008
3016
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -3015,6 +3023,7 @@ class ProvisionSubscriptionInput(sgqlc.types.Input):
3015
3023
  checkout_options = sgqlc.types.Field(CheckoutOptions, graphql_name='checkoutOptions')
3016
3024
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
3017
3025
  minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
3026
+ payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
3018
3027
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
3019
3028
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
3020
3029
  price_unit_amount = sgqlc.types.Field(Float, graphql_name='priceUnitAmount')
@@ -3507,7 +3516,7 @@ class SubscriptionEntitlementSort(sgqlc.types.Input):
3507
3516
 
3508
3517
  class SubscriptionInput(sgqlc.types.Input):
3509
3518
  __schema__ = schema
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')
3519
+ __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', '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')
3511
3520
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3512
3521
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionAddonInput)), graphql_name='addons')
3513
3522
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -3525,6 +3534,7 @@ class SubscriptionInput(sgqlc.types.Input):
3525
3534
  is_overriding_trial_config = sgqlc.types.Field(Boolean, graphql_name='isOverridingTrialConfig')
3526
3535
  is_trial = sgqlc.types.Field(Boolean, graphql_name='isTrial')
3527
3536
  minimum_spend = sgqlc.types.Field('SubscriptionMinimumSpendValueInput', graphql_name='minimumSpend')
3537
+ payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
3528
3538
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
3529
3539
  price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
3530
3540
  price_unit_amount = sgqlc.types.Field(Float, graphql_name='priceUnitAmount')
@@ -5037,7 +5047,7 @@ class CustomerStatistics(sgqlc.types.Type):
5037
5047
 
5038
5048
  class CustomerSubscription(sgqlc.types.Type):
5039
5049
  __schema__ = schema
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')
5050
+ __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', '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')
5041
5051
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
5042
5052
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddon')), graphql_name='addons', args=sgqlc.types.ArgDict((
5043
5053
  ('filter', sgqlc.types.Arg(SubscriptionAddonFilter, graphql_name='filter', default={})),
@@ -5073,6 +5083,7 @@ class CustomerSubscription(sgqlc.types.Type):
5073
5083
  old_billing_id = sgqlc.types.Field(String, graphql_name='oldBillingId')
5074
5084
  outdated_price_packages = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(String)), graphql_name='outdatedPricePackages')
5075
5085
  payment_collection = sgqlc.types.Field(sgqlc.types.non_null(PaymentCollection), graphql_name='paymentCollection')
5086
+ payment_collection_method = sgqlc.types.Field(PaymentCollectionMethod, graphql_name='paymentCollectionMethod')
5076
5087
  plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='plan')
5077
5088
  prices = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionPrice')), graphql_name='prices', args=sgqlc.types.ArgDict((
5078
5089
  ('filter', sgqlc.types.Arg(SubscriptionPriceFilter, graphql_name='filter', default={})),