stigg-api-client 2.85.7__tar.gz → 2.86.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: 2.85.7
3
+ Version: 2.86.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 = "2.85.7"
3
+ version = "2.86.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -679,9 +679,10 @@ class ApiKeySort(sgqlc.types.Input):
679
679
 
680
680
  class ApplySubscriptionInput(sgqlc.types.Input):
681
681
  __schema__ = schema
682
- __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')
682
+ __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', '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')
683
683
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
684
684
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
685
+ applied_coupon = sgqlc.types.Field('SubscriptionCouponInput', graphql_name='appliedCoupon')
685
686
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
686
687
  billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('BillableFeatureInput')), graphql_name='billableFeatures')
687
688
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
@@ -1730,8 +1731,9 @@ class EnvironmentSort(sgqlc.types.Input):
1730
1731
 
1731
1732
  class EstimateSubscriptionInput(sgqlc.types.Input):
1732
1733
  __schema__ = schema
1733
- __field_names__ = ('addons', 'billable_features', 'billing_country_code', 'billing_information', 'billing_period', 'customer_id', 'environment_id', 'plan_id', 'price_unit_amount', 'promotion_code', 'resource_id', 'skip_trial', 'start_date', 'unit_quantity')
1734
+ __field_names__ = ('addons', 'applied_coupon', 'billable_features', 'billing_country_code', 'billing_information', 'billing_period', 'customer_id', 'environment_id', 'plan_id', 'price_unit_amount', 'promotion_code', 'resource_id', 'skip_trial', 'start_date', 'unit_quantity')
1734
1735
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
1736
+ applied_coupon = sgqlc.types.Field('SubscriptionCouponInput', graphql_name='appliedCoupon')
1735
1737
  billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(BillableFeatureInput)), graphql_name='billableFeatures')
1736
1738
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
1737
1739
  billing_information = sgqlc.types.Field('SubscriptionBillingInfo', graphql_name='billingInformation')
@@ -1749,8 +1751,9 @@ class EstimateSubscriptionInput(sgqlc.types.Input):
1749
1751
 
1750
1752
  class EstimateSubscriptionUpdateInput(sgqlc.types.Input):
1751
1753
  __schema__ = schema
1752
- __field_names__ = ('addons', 'billable_features', 'environment_id', 'promotion_code', 'subscription_id', 'unit_quantity')
1754
+ __field_names__ = ('addons', 'applied_coupon', 'billable_features', 'environment_id', 'promotion_code', 'subscription_id', 'unit_quantity')
1753
1755
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
1756
+ applied_coupon = sgqlc.types.Field('SubscriptionCouponInput', graphql_name='appliedCoupon')
1754
1757
  billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(BillableFeatureInput)), graphql_name='billableFeatures')
1755
1758
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
1756
1759
  promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
@@ -2846,8 +2849,9 @@ class PreviewNextInvoiceInput(sgqlc.types.Input):
2846
2849
 
2847
2850
  class PreviewSubscriptionInput(sgqlc.types.Input):
2848
2851
  __schema__ = schema
2849
- __field_names__ = ('addons', 'billable_features', 'billing_country_code', 'billing_information', 'billing_period', 'customer_id', 'environment_id', 'plan_id', 'promotion_code', 'resource_id', 'schedule_strategy', 'start_date', 'unit_quantity')
2852
+ __field_names__ = ('addons', 'applied_coupon', 'billable_features', 'billing_country_code', 'billing_information', 'billing_period', 'customer_id', 'environment_id', 'plan_id', 'promotion_code', 'resource_id', 'schedule_strategy', 'start_date', 'unit_quantity')
2850
2853
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
2854
+ applied_coupon = sgqlc.types.Field('SubscriptionCouponInput', graphql_name='appliedCoupon')
2851
2855
  billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(BillableFeatureInput)), graphql_name='billableFeatures')
2852
2856
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
2853
2857
  billing_information = sgqlc.types.Field('SubscriptionBillingInfo', graphql_name='billingInformation')
@@ -3125,9 +3129,10 @@ class ProvisionCustomerInput(sgqlc.types.Input):
3125
3129
 
3126
3130
  class ProvisionCustomerSubscriptionInput(sgqlc.types.Input):
3127
3131
  __schema__ = schema
3128
- __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')
3132
+ __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', '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')
3129
3133
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3130
3134
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
3135
+ applied_coupon = sgqlc.types.Field('SubscriptionCouponInput', graphql_name='appliedCoupon')
3131
3136
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
3132
3137
  billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(BillableFeatureInput)), graphql_name='billableFeatures')
3133
3138
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
@@ -3160,9 +3165,10 @@ class ProvisionSandboxInput(sgqlc.types.Input):
3160
3165
 
3161
3166
  class ProvisionSubscription(sgqlc.types.Input):
3162
3167
  __schema__ = schema
3163
- __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')
3168
+ __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', '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')
3164
3169
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3165
3170
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
3171
+ applied_coupon = sgqlc.types.Field('SubscriptionCouponInput', graphql_name='appliedCoupon')
3166
3172
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
3167
3173
  billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(BillableFeatureInput)), graphql_name='billableFeatures')
3168
3174
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
@@ -3192,9 +3198,10 @@ class ProvisionSubscription(sgqlc.types.Input):
3192
3198
 
3193
3199
  class ProvisionSubscriptionInput(sgqlc.types.Input):
3194
3200
  __schema__ = schema
3195
- __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')
3201
+ __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', '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')
3196
3202
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3197
3203
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
3204
+ applied_coupon = sgqlc.types.Field('SubscriptionCouponInput', graphql_name='appliedCoupon')
3198
3205
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
3199
3206
  billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(BillableFeatureInput)), graphql_name='billableFeatures')
3200
3207
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
@@ -3599,6 +3606,14 @@ class SubscriptionCancellationInput(sgqlc.types.Input):
3599
3606
  subscription_ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='subscriptionRefId')
3600
3607
 
3601
3608
 
3609
+ class SubscriptionCouponInput(sgqlc.types.Input):
3610
+ __schema__ = schema
3611
+ __field_names__ = ('billing_coupon_id', 'coupon_id', 'promotion_code')
3612
+ billing_coupon_id = sgqlc.types.Field(String, graphql_name='billingCouponId')
3613
+ coupon_id = sgqlc.types.Field(String, graphql_name='couponId')
3614
+ promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
3615
+
3616
+
3602
3617
  class SubscriptionEntitlementFilter(sgqlc.types.Input):
3603
3618
  __schema__ = schema
3604
3619
  __field_names__ = ('and_', 'created_at', 'environment_id', 'feature', 'id', 'or_', 'subscription', 'subscription_id', 'updated_at')
@@ -3684,9 +3699,10 @@ class SubscriptionEntitlementSort(sgqlc.types.Input):
3684
3699
 
3685
3700
  class SubscriptionInput(sgqlc.types.Input):
3686
3701
  __schema__ = schema
3687
- __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')
3702
+ __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', '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')
3688
3703
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3689
3704
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionAddonInput)), graphql_name='addons')
3705
+ applied_coupon = sgqlc.types.Field(SubscriptionCouponInput, graphql_name='appliedCoupon')
3690
3706
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
3691
3707
  billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(BillableFeatureInput)), graphql_name='billableFeatures')
3692
3708
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
@@ -4158,9 +4174,10 @@ class UpdateSubscriptionEntitlementInput(sgqlc.types.Input):
4158
4174
 
4159
4175
  class UpdateSubscriptionInput(sgqlc.types.Input):
4160
4176
  __schema__ = schema
4161
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_information', 'billing_period', 'budget', 'environment_id', 'minimum_spend', 'price_overrides', 'promotion_code', 'ref_id', 'schedule_strategy', 'subscription_entitlements', 'subscription_id', 'trial_end_date', 'unit_quantity')
4177
+ __field_names__ = ('additional_meta_data', 'addons', 'applied_coupon', 'await_payment_confirmation', 'billable_features', 'billing_information', 'billing_period', 'budget', 'environment_id', 'minimum_spend', 'price_overrides', 'promotion_code', 'ref_id', 'schedule_strategy', 'subscription_entitlements', 'subscription_id', 'trial_end_date', 'unit_quantity')
4162
4178
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4163
4179
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionAddonInput)), graphql_name='addons')
4180
+ applied_coupon = sgqlc.types.Field(SubscriptionCouponInput, graphql_name='appliedCoupon')
4164
4181
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
4165
4182
  billable_features = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(BillableFeatureInput)), graphql_name='billableFeatures')
4166
4183
  billing_information = sgqlc.types.Field(SubscriptionBillingInfo, graphql_name='billingInformation')