stigg-api-client 1.117.2__tar.gz → 1.121.1__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.117.2
3
+ Version: 1.121.1
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.117.2"
3
+ version = "1.121.1"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -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', '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', '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')
@@ -631,6 +631,7 @@ class ApplySubscriptionInput(sgqlc.types.Input):
631
631
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
632
632
  payment_method_id = sgqlc.types.Field(String, graphql_name='paymentMethodId')
633
633
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
634
+ price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PriceOverrideInput')), graphql_name='priceOverrides')
634
635
  promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
635
636
  resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
636
637
  salesforce_id = sgqlc.types.Field(String, graphql_name='salesforceId')
@@ -2681,6 +2682,15 @@ class PriceFilterPackageDTOFilter(sgqlc.types.Input):
2681
2682
  version_number = sgqlc.types.Field(IntFieldComparison, graphql_name='versionNumber')
2682
2683
 
2683
2684
 
2685
+ class PriceOverrideInput(sgqlc.types.Input):
2686
+ __schema__ = schema
2687
+ __field_names__ = ('block_size', 'feature_id', 'price', 'tiers')
2688
+ block_size = sgqlc.types.Field(Float, graphql_name='blockSize')
2689
+ feature_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureId')
2690
+ price = sgqlc.types.Field(MoneyInputDTO, graphql_name='price')
2691
+ tiers = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PriceTierInput')), graphql_name='tiers')
2692
+
2693
+
2684
2694
  class PricePeriodInput(sgqlc.types.Input):
2685
2695
  __schema__ = schema
2686
2696
  __field_names__ = ('billing_country_code', 'billing_period', 'block_size', 'price', 'tiers')
@@ -2892,7 +2902,7 @@ class ProvisionCustomerInput(sgqlc.types.Input):
2892
2902
 
2893
2903
  class ProvisionCustomerSubscriptionInput(sgqlc.types.Input):
2894
2904
  __schema__ = schema
2895
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_country_code', 'billing_id', 'billing_information', 'billing_period', 'plan_id', 'price_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'start_date', 'subscription_entitlements', 'subscription_id', 'trial_override_configuration', 'unit_quantity')
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')
2896
2906
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2897
2907
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
2898
2908
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -2902,6 +2912,7 @@ class ProvisionCustomerSubscriptionInput(sgqlc.types.Input):
2902
2912
  billing_information = sgqlc.types.Field('SubscriptionBillingInfo', graphql_name='billingInformation')
2903
2913
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
2904
2914
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
2915
+ price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
2905
2916
  price_unit_amount = sgqlc.types.Field(Float, graphql_name='priceUnitAmount')
2906
2917
  promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
2907
2918
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
@@ -2923,7 +2934,7 @@ class ProvisionSandboxInput(sgqlc.types.Input):
2923
2934
 
2924
2935
  class ProvisionSubscription(sgqlc.types.Input):
2925
2936
  __schema__ = schema
2926
- __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_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')
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')
2927
2938
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2928
2939
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
2929
2940
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -2935,6 +2946,7 @@ class ProvisionSubscription(sgqlc.types.Input):
2935
2946
  checkout_options = sgqlc.types.Field(CheckoutOptions, graphql_name='checkoutOptions')
2936
2947
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
2937
2948
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
2949
+ price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
2938
2950
  price_unit_amount = sgqlc.types.Field(Float, graphql_name='priceUnitAmount')
2939
2951
  promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
2940
2952
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
@@ -2951,7 +2963,7 @@ class ProvisionSubscription(sgqlc.types.Input):
2951
2963
 
2952
2964
  class ProvisionSubscriptionInput(sgqlc.types.Input):
2953
2965
  __schema__ = schema
2954
- __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_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')
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')
2955
2967
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
2956
2968
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionAddonInput')), graphql_name='addons')
2957
2969
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -2963,6 +2975,7 @@ class ProvisionSubscriptionInput(sgqlc.types.Input):
2963
2975
  checkout_options = sgqlc.types.Field(CheckoutOptions, graphql_name='checkoutOptions')
2964
2976
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
2965
2977
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
2978
+ price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
2966
2979
  price_unit_amount = sgqlc.types.Field(Float, graphql_name='priceUnitAmount')
2967
2980
  promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
2968
2981
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
@@ -3453,7 +3466,7 @@ class SubscriptionEntitlementSort(sgqlc.types.Input):
3453
3466
 
3454
3467
  class SubscriptionInput(sgqlc.types.Input):
3455
3468
  __schema__ = schema
3456
- __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_unit_amount', 'promotion_code', 'ref_id', 'resource_id', 'salesforce_id', 'schedule_strategy', 'start_date', 'subscription_entitlements', 'subscription_id', 'unit_quantity')
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')
3457
3470
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3458
3471
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionAddonInput)), graphql_name='addons')
3459
3472
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -3470,6 +3483,7 @@ class SubscriptionInput(sgqlc.types.Input):
3470
3483
  is_overriding_trial_config = sgqlc.types.Field(Boolean, graphql_name='isOverridingTrialConfig')
3471
3484
  is_trial = sgqlc.types.Field(Boolean, graphql_name='isTrial')
3472
3485
  plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
3486
+ price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
3473
3487
  price_unit_amount = sgqlc.types.Field(Float, graphql_name='priceUnitAmount')
3474
3488
  promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
3475
3489
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
@@ -3927,7 +3941,7 @@ class UpdateSubscriptionEntitlementInput(sgqlc.types.Input):
3927
3941
 
3928
3942
  class UpdateSubscriptionInput(sgqlc.types.Input):
3929
3943
  __schema__ = schema
3930
- __field_names__ = ('additional_meta_data', 'addons', 'await_payment_confirmation', 'billable_features', 'billing_information', 'billing_period', 'environment_id', 'promotion_code', 'ref_id', 'schedule_strategy', 'subscription_entitlements', 'subscription_id', 'trial_end_date', 'unit_quantity')
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')
3931
3945
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
3932
3946
  addons = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(SubscriptionAddonInput)), graphql_name='addons')
3933
3947
  await_payment_confirmation = sgqlc.types.Field(Boolean, graphql_name='awaitPaymentConfirmation')
@@ -3935,6 +3949,7 @@ class UpdateSubscriptionInput(sgqlc.types.Input):
3935
3949
  billing_information = sgqlc.types.Field(SubscriptionBillingInfo, graphql_name='billingInformation')
3936
3950
  billing_period = sgqlc.types.Field(BillingPeriod, graphql_name='billingPeriod')
3937
3951
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
3952
+ price_overrides = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(PriceOverrideInput)), graphql_name='priceOverrides')
3938
3953
  promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
3939
3954
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
3940
3955
  schedule_strategy = sgqlc.types.Field(ScheduleStrategy, graphql_name='scheduleStrategy')
@@ -7386,7 +7401,7 @@ class PlanSumAggregate(sgqlc.types.Type):
7386
7401
 
7387
7402
  class Price(sgqlc.types.Type):
7388
7403
  __schema__ = schema
7389
- __field_names__ = ('billing_cadence', 'billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'created_at', 'crm_id', 'crm_link_url', 'feature', 'feature_id', 'id', 'max_unit_quantity', 'min_unit_quantity', 'package', 'package_id', 'price', 'tiers', 'tiers_mode', 'used_in_subscriptions')
7404
+ __field_names__ = ('billing_cadence', 'billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'created_at', 'crm_id', 'crm_link_url', 'feature', 'feature_id', 'id', 'is_override_price', 'max_unit_quantity', 'min_unit_quantity', 'package', 'package_id', 'price', 'tiers', 'tiers_mode', 'used_in_subscriptions')
7390
7405
  billing_cadence = sgqlc.types.Field(sgqlc.types.non_null(BillingCadence), graphql_name='billingCadence')
7391
7406
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
7392
7407
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
@@ -7399,6 +7414,7 @@ class Price(sgqlc.types.Type):
7399
7414
  feature = sgqlc.types.Field(Feature, graphql_name='feature')
7400
7415
  feature_id = sgqlc.types.Field(String, graphql_name='featureId')
7401
7416
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
7417
+ is_override_price = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isOverridePrice')
7402
7418
  max_unit_quantity = sgqlc.types.Field(Float, graphql_name='maxUnitQuantity')
7403
7419
  min_unit_quantity = sgqlc.types.Field(Float, graphql_name='minUnitQuantity')
7404
7420
  package = sgqlc.types.Field(sgqlc.types.non_null(PackageDTO), graphql_name='package')