stigg-api-client 2.73.0__tar.gz → 2.78.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.73.0
3
+ Version: 2.78.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.73.0"
3
+ version = "2.78.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -50,6 +50,11 @@ class ApiKeyType(sgqlc.types.Enum):
50
50
  __choices__ = ('CLIENT', 'SALESFORCE', 'SERVER')
51
51
 
52
52
 
53
+ class Auth0Region(sgqlc.types.Enum):
54
+ __schema__ = schema
55
+ __choices__ = ('AU', 'CA', 'EU', 'JP', 'UK', 'US')
56
+
57
+
53
58
  class BillingAnchor(sgqlc.types.Enum):
54
59
  __schema__ = schema
55
60
  __choices__ = ('START_OF_THE_MONTH', 'SUBSCRIPTIONS_CONSOLIDATE_BILLING', 'SUBSCRIPTION_START')
@@ -527,7 +532,7 @@ class UsageUpdateBehavior(sgqlc.types.Enum):
527
532
 
528
533
  class VendorIdentifier(sgqlc.types.Enum):
529
534
  __schema__ = schema
530
- __choices__ = ('AWS_MARKETPLACE', 'BIG_QUERY', 'HUBSPOT', 'SALESFORCE', 'SNOWFLAKE', 'STRIPE', 'ZUORA')
535
+ __choices__ = ('AUTH0', 'AWS_MARKETPLACE', 'BIG_QUERY', 'HUBSPOT', 'SALESFORCE', 'SNOWFLAKE', 'STRIPE', 'ZUORA')
531
536
 
532
537
 
533
538
  class WeeklyAccordingTo(sgqlc.types.Enum):
@@ -753,6 +758,15 @@ class AttachCustomerPaymentMethodInput(sgqlc.types.Input):
753
758
  vendor_identifier = sgqlc.types.Field(sgqlc.types.non_null(VendorIdentifier), graphql_name='vendorIdentifier')
754
759
 
755
760
 
761
+ class Auth0CredentialsInput(sgqlc.types.Input):
762
+ __schema__ = schema
763
+ __field_names__ = ('client_id', 'client_secret', 'region', 'tenant')
764
+ client_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientId')
765
+ client_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientSecret')
766
+ region = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='region')
767
+ tenant = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='tenant')
768
+
769
+
756
770
  class AutoCancellationRuleInput(sgqlc.types.Input):
757
771
  __schema__ = schema
758
772
  __field_names__ = ('source_plan_id', 'target_plan_id')
@@ -1076,7 +1090,8 @@ class CreateHook(sgqlc.types.Input):
1076
1090
 
1077
1091
  class CreateIntegrationInput(sgqlc.types.Input):
1078
1092
  __schema__ = schema
1079
- __field_names__ = ('aws_marketplace_credentials', 'big_query_credentials', 'environment_id', 'hubspot_credentials', 'salesforce_credentials', 'snowflake_credentials', 'stripe_credentials', 'vendor_identifier', 'zuora_credentials')
1093
+ __field_names__ = ('auth0_credentials', 'aws_marketplace_credentials', 'big_query_credentials', 'environment_id', 'hubspot_credentials', 'salesforce_credentials', 'snowflake_credentials', 'stripe_credentials', 'vendor_identifier', 'zuora_credentials')
1094
+ auth0_credentials = sgqlc.types.Field(Auth0CredentialsInput, graphql_name='auth0Credentials')
1080
1095
  aws_marketplace_credentials = sgqlc.types.Field(AwsMarketplaceCredentialsInput, graphql_name='awsMarketplaceCredentials')
1081
1096
  big_query_credentials = sgqlc.types.Field(BigQueryCredentialsInput, graphql_name='bigQueryCredentials')
1082
1097
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
@@ -2909,14 +2924,18 @@ class PriceTierInput(sgqlc.types.Input):
2909
2924
 
2910
2925
  class PricingModelCreateInput(sgqlc.types.Input):
2911
2926
  __schema__ = schema
2912
- __field_names__ = ('billing_cadence', 'billing_model', 'feature_id', 'max_unit_quantity', 'min_unit_quantity', 'price_periods', 'tiers_mode')
2927
+ __field_names__ = ('billing_cadence', 'billing_model', 'feature_id', 'max_unit_quantity', 'min_unit_quantity', 'monthly_reset_period_configuration', 'price_periods', 'reset_period', 'tiers_mode', 'weekly_reset_period_configuration', 'yearly_reset_period_configuration')
2913
2928
  billing_cadence = sgqlc.types.Field(BillingCadence, graphql_name='billingCadence')
2914
2929
  billing_model = sgqlc.types.Field(sgqlc.types.non_null(BillingModel), graphql_name='billingModel')
2915
2930
  feature_id = sgqlc.types.Field(String, graphql_name='featureId')
2916
2931
  max_unit_quantity = sgqlc.types.Field(Float, graphql_name='maxUnitQuantity')
2917
2932
  min_unit_quantity = sgqlc.types.Field(Float, graphql_name='minUnitQuantity')
2933
+ monthly_reset_period_configuration = sgqlc.types.Field(MonthlyResetPeriodConfigInput, graphql_name='monthlyResetPeriodConfiguration')
2918
2934
  price_periods = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(PricePeriodInput))), graphql_name='pricePeriods')
2935
+ reset_period = sgqlc.types.Field(EntitlementResetPeriod, graphql_name='resetPeriod')
2919
2936
  tiers_mode = sgqlc.types.Field(TiersMode, graphql_name='tiersMode')
2937
+ weekly_reset_period_configuration = sgqlc.types.Field('WeeklyResetPeriodConfigInput', graphql_name='weeklyResetPeriodConfiguration')
2938
+ yearly_reset_period_configuration = sgqlc.types.Field('YearlyResetPeriodConfigInput', graphql_name='yearlyResetPeriodConfiguration')
2920
2939
 
2921
2940
 
2922
2941
  class PricingTypeFilterComparison(sgqlc.types.Input):
@@ -4045,7 +4064,8 @@ class UpdateHook(sgqlc.types.Input):
4045
4064
 
4046
4065
  class UpdateIntegrationInput(sgqlc.types.Input):
4047
4066
  __schema__ = schema
4048
- __field_names__ = ('salesforce_credentials', 'stripe_credentials', 'vendor_identifier', 'zuora_credentials')
4067
+ __field_names__ = ('auth0_credentials', 'salesforce_credentials', 'stripe_credentials', 'vendor_identifier', 'zuora_credentials')
4068
+ auth0_credentials = sgqlc.types.Field(Auth0CredentialsInput, graphql_name='auth0Credentials')
4049
4069
  salesforce_credentials = sgqlc.types.Field(SalesforceCredentialsInput, graphql_name='salesforceCredentials')
4050
4070
  stripe_credentials = sgqlc.types.Field(StripeCredentialsInput, graphql_name='stripeCredentials')
4051
4071
  vendor_identifier = sgqlc.types.Field(sgqlc.types.non_null(VendorIdentifier), graphql_name='vendorIdentifier')
@@ -4561,6 +4581,15 @@ class AsyncTaskResult(sgqlc.types.Type):
4561
4581
  task_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='taskId')
4562
4582
 
4563
4583
 
4584
+ class Auth0Credentials(sgqlc.types.Type):
4585
+ __schema__ = schema
4586
+ __field_names__ = ('client_id', 'client_secret', 'region', 'tenant')
4587
+ client_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientId')
4588
+ client_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientSecret')
4589
+ region = sgqlc.types.Field(sgqlc.types.non_null(Auth0Region), graphql_name='region')
4590
+ tenant = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='tenant')
4591
+
4592
+
4564
4593
  class AutoCancellationRule(sgqlc.types.Type):
4565
4594
  __schema__ = schema
4566
4595
  __field_names__ = ('source_plan', 'target_plan')
@@ -7711,7 +7740,7 @@ class PreparedPaymentMethodForm(sgqlc.types.Type):
7711
7740
 
7712
7741
  class Price(sgqlc.types.Type):
7713
7742
  __schema__ = schema
7714
- __field_names__ = ('billing_cadence', 'billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'created_at', 'crm_id', 'crm_link_url', 'environment_id', 'feature', 'feature_id', 'id', 'is_override_price', 'max_unit_quantity', 'min_unit_quantity', 'package', 'package_id', 'price', 'tiers', 'tiers_mode', 'used_in_subscriptions')
7743
+ __field_names__ = ('billing_cadence', 'billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'created_at', 'crm_id', 'crm_link_url', 'environment_id', 'feature', 'feature_id', 'id', 'is_override_price', 'max_unit_quantity', 'min_unit_quantity', 'package', 'package_id', 'price', 'reset_period', 'reset_period_configuration', 'tiers', 'tiers_mode', 'used_in_subscriptions')
7715
7744
  billing_cadence = sgqlc.types.Field(sgqlc.types.non_null(BillingCadence), graphql_name='billingCadence')
7716
7745
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
7717
7746
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
@@ -7731,6 +7760,8 @@ class Price(sgqlc.types.Type):
7731
7760
  package = sgqlc.types.Field(sgqlc.types.non_null(PackageDTO), graphql_name='package')
7732
7761
  package_id = sgqlc.types.Field(String, graphql_name='packageId')
7733
7762
  price = sgqlc.types.Field(Money, graphql_name='price')
7763
+ reset_period = sgqlc.types.Field(EntitlementResetPeriod, graphql_name='resetPeriod')
7764
+ reset_period_configuration = sgqlc.types.Field('ResetPeriodConfiguration', graphql_name='resetPeriodConfiguration')
7734
7765
  tiers = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PriceTier')), graphql_name='tiers')
7735
7766
  tiers_mode = sgqlc.types.Field(TiersMode, graphql_name='tiersMode')
7736
7767
  used_in_subscriptions = sgqlc.types.Field(Boolean, graphql_name='usedInSubscriptions')
@@ -7762,7 +7793,7 @@ class PriceCountAggregate(sgqlc.types.Type):
7762
7793
 
7763
7794
  class PriceDeleteResponse(sgqlc.types.Type):
7764
7795
  __schema__ = schema
7765
- __field_names__ = ('billing_cadence', 'billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'created_at', 'crm_id', 'crm_link_url', 'environment_id', 'feature', 'feature_id', 'id', 'max_unit_quantity', 'min_unit_quantity', 'package_id', 'price', 'tiers', 'tiers_mode', 'used_in_subscriptions')
7796
+ __field_names__ = ('billing_cadence', 'billing_country_code', 'billing_id', 'billing_model', 'billing_period', 'block_size', 'created_at', 'crm_id', 'crm_link_url', 'environment_id', 'feature', 'feature_id', 'id', 'max_unit_quantity', 'min_unit_quantity', 'package_id', 'price', 'reset_period', 'reset_period_configuration', 'tiers', 'tiers_mode', 'used_in_subscriptions')
7766
7797
  billing_cadence = sgqlc.types.Field(BillingCadence, graphql_name='billingCadence')
7767
7798
  billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
7768
7799
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
@@ -7780,6 +7811,8 @@ class PriceDeleteResponse(sgqlc.types.Type):
7780
7811
  min_unit_quantity = sgqlc.types.Field(Float, graphql_name='minUnitQuantity')
7781
7812
  package_id = sgqlc.types.Field(String, graphql_name='packageId')
7782
7813
  price = sgqlc.types.Field(Money, graphql_name='price')
7814
+ reset_period = sgqlc.types.Field(EntitlementResetPeriod, graphql_name='resetPeriod')
7815
+ reset_period_configuration = sgqlc.types.Field('ResetPeriodConfiguration', graphql_name='resetPeriodConfiguration')
7783
7816
  tiers = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PriceTier')), graphql_name='tiers')
7784
7817
  tiers_mode = sgqlc.types.Field(TiersMode, graphql_name='tiersMode')
7785
7818
  used_in_subscriptions = sgqlc.types.Field(Boolean, graphql_name='usedInSubscriptions')
@@ -9483,7 +9516,7 @@ class experimentInfo(sgqlc.types.Type):
9483
9516
  ########################################################################
9484
9517
  class Credentials(sgqlc.types.Union):
9485
9518
  __schema__ = schema
9486
- __types__ = (AwsMarketplaceCredentials, BigQueryCredentials, HubspotCredentials, SalesforceCredentials, SnowflakeCredentials, StripeCredentials, ZuoraCredentials)
9519
+ __types__ = (Auth0Credentials, AwsMarketplaceCredentials, BigQueryCredentials, HubspotCredentials, SalesforceCredentials, SnowflakeCredentials, StripeCredentials, ZuoraCredentials)
9487
9520
 
9488
9521
 
9489
9522
  class PaymentMethodForm(sgqlc.types.Union):