stigg-api-client 1.35.1__tar.gz → 1.40.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 1.35.1
3
+ Version: 1.40.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.35.1"
3
+ version = "1.40.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -397,7 +397,7 @@ class SubscriptionMigrationTime(sgqlc.types.Enum):
397
397
 
398
398
  class SubscriptionPriceSortFields(sgqlc.types.Enum):
399
399
  __schema__ = schema
400
- __choices__ = ('billingModel', 'createdAt', 'featureId', 'id', 'updatedAt', 'usageLimit')
400
+ __choices__ = ('billingModel', 'createdAt', 'featureId', 'hasSoftLimit', 'id', 'updatedAt', 'usageLimit')
401
401
 
402
402
 
403
403
  class SubscriptionScheduleStatus(sgqlc.types.Enum):
@@ -457,7 +457,7 @@ class UsageUpdateBehavior(sgqlc.types.Enum):
457
457
 
458
458
  class VendorIdentifier(sgqlc.types.Enum):
459
459
  __schema__ = schema
460
- __choices__ = ('AWS_MARKETPLACE', 'HUBSPOT', 'STRIPE', 'ZUORA')
460
+ __choices__ = ('AWS_MARKETPLACE', 'HUBSPOT', 'SNOWFLAKE', 'STRIPE', 'ZUORA')
461
461
 
462
462
 
463
463
  class WeeklyAccordingTo(sgqlc.types.Enum):
@@ -919,10 +919,11 @@ class CreateHook(sgqlc.types.Input):
919
919
 
920
920
  class CreateIntegrationInput(sgqlc.types.Input):
921
921
  __schema__ = schema
922
- __field_names__ = ('aws_marketplace_credentials', 'environment_id', 'hubspot_credentials', 'stripe_credentials', 'vendor_identifier', 'zuora_credentials')
922
+ __field_names__ = ('aws_marketplace_credentials', 'environment_id', 'hubspot_credentials', 'snowflake_credentials', 'stripe_credentials', 'vendor_identifier', 'zuora_credentials')
923
923
  aws_marketplace_credentials = sgqlc.types.Field(AwsMarketplaceCredentialsInput, graphql_name='awsMarketplaceCredentials')
924
924
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
925
925
  hubspot_credentials = sgqlc.types.Field('HubspotCredentialsInput', graphql_name='hubspotCredentials')
926
+ snowflake_credentials = sgqlc.types.Field('SnowflakeCredentialsInput', graphql_name='snowflakeCredentials')
926
927
  stripe_credentials = sgqlc.types.Field('StripeCredentialsInput', graphql_name='stripeCredentials')
927
928
  vendor_identifier = sgqlc.types.Field(sgqlc.types.non_null(VendorIdentifier), graphql_name='vendorIdentifier')
928
929
  zuora_credentials = sgqlc.types.Field('ZuoraCredentialsInput', graphql_name='zuoraCredentials')
@@ -1319,11 +1320,12 @@ class CustomerSubscriptionFilterSubscriptionEntitlementFilter(sgqlc.types.Input)
1319
1320
 
1320
1321
  class CustomerSubscriptionFilterSubscriptionPriceFilter(sgqlc.types.Input):
1321
1322
  __schema__ = schema
1322
- __field_names__ = ('and_', 'billing_model', 'created_at', 'feature_id', 'id', 'or_', 'updated_at', 'usage_limit')
1323
+ __field_names__ = ('and_', 'billing_model', 'created_at', 'feature_id', 'has_soft_limit', 'id', 'or_', 'updated_at', 'usage_limit')
1323
1324
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('CustomerSubscriptionFilterSubscriptionPriceFilter')), graphql_name='and')
1324
1325
  billing_model = sgqlc.types.Field(BillingModelFilterComparison, graphql_name='billingModel')
1325
1326
  created_at = sgqlc.types.Field('DateFieldComparison', graphql_name='createdAt')
1326
1327
  feature_id = sgqlc.types.Field('StringFieldComparison', graphql_name='featureId')
1328
+ has_soft_limit = sgqlc.types.Field(BooleanFieldComparison, graphql_name='hasSoftLimit')
1327
1329
  id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
1328
1330
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('CustomerSubscriptionFilterSubscriptionPriceFilter')), graphql_name='or')
1329
1331
  updated_at = sgqlc.types.Field('DateFieldComparison', graphql_name='updatedAt')
@@ -2921,6 +2923,18 @@ class SetExperimentOnCustomerSubscriptionInput(sgqlc.types.Input):
2921
2923
  relation_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='relationId')
2922
2924
 
2923
2925
 
2926
+ class SnowflakeCredentialsInput(sgqlc.types.Input):
2927
+ __schema__ = schema
2928
+ __field_names__ = ('database', 'host', 'password', 'role', 'schema_name', 'username', 'warehouse')
2929
+ database = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='database')
2930
+ host = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='host')
2931
+ password = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='password')
2932
+ role = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='role')
2933
+ schema_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='schemaName')
2934
+ username = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='username')
2935
+ warehouse = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='warehouse')
2936
+
2937
+
2924
2938
  class StartExperimentInput(sgqlc.types.Input):
2925
2939
  __schema__ = schema
2926
2940
  __field_names__ = ('environment_id', 'ref_id')
@@ -3256,11 +3270,12 @@ class SubscriptionMigrationTaskSort(sgqlc.types.Input):
3256
3270
 
3257
3271
  class SubscriptionPriceFilter(sgqlc.types.Input):
3258
3272
  __schema__ = schema
3259
- __field_names__ = ('and_', 'billing_model', 'created_at', 'feature_id', 'id', 'or_', 'price', 'subscription', 'updated_at', 'usage_limit')
3273
+ __field_names__ = ('and_', 'billing_model', 'created_at', 'feature_id', 'has_soft_limit', 'id', 'or_', 'price', 'subscription', 'updated_at', 'usage_limit')
3260
3274
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionPriceFilter')), graphql_name='and')
3261
3275
  billing_model = sgqlc.types.Field(BillingModelFilterComparison, graphql_name='billingModel')
3262
3276
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
3263
3277
  feature_id = sgqlc.types.Field(StringFieldComparison, graphql_name='featureId')
3278
+ has_soft_limit = sgqlc.types.Field(BooleanFieldComparison, graphql_name='hasSoftLimit')
3264
3279
  id = sgqlc.types.Field(StringFieldComparison, graphql_name='id')
3265
3280
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SubscriptionPriceFilter')), graphql_name='or')
3266
3281
  price = sgqlc.types.Field('SubscriptionPriceFilterPriceFilter', graphql_name='price')
@@ -4917,7 +4932,7 @@ class Entitlement(sgqlc.types.Type):
4917
4932
  display_name_override = sgqlc.types.Field(String, graphql_name='displayNameOverride')
4918
4933
  entitlement_updated_at = sgqlc.types.Field(DateTime, graphql_name='entitlementUpdatedAt')
4919
4934
  feature = sgqlc.types.Field('EntitlementFeature', graphql_name='feature')
4920
- has_soft_limit = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasSoftLimit')
4935
+ has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
4921
4936
  has_unlimited_usage = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasUnlimitedUsage')
4922
4937
  hidden_from_widgets = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(WidgetType)), graphql_name='hiddenFromWidgets')
4923
4938
  is_granted = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isGranted')
@@ -4975,7 +4990,7 @@ class EntitlementWithSummary(sgqlc.types.Type):
4975
4990
  display_name_override = sgqlc.types.Field(String, graphql_name='displayNameOverride')
4976
4991
  entitlement_updated_at = sgqlc.types.Field(DateTime, graphql_name='entitlementUpdatedAt')
4977
4992
  feature = sgqlc.types.Field(EntitlementFeature, graphql_name='feature')
4978
- has_soft_limit = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasSoftLimit')
4993
+ has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
4979
4994
  has_unlimited_usage = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasUnlimitedUsage')
4980
4995
  hidden_from_widgets = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(WidgetType)), graphql_name='hiddenFromWidgets')
4981
4996
  is_granted = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isGranted')
@@ -6392,7 +6407,7 @@ class PackageEntitlement(sgqlc.types.Type):
6392
6407
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
6393
6408
  feature = sgqlc.types.Field(sgqlc.types.non_null(Feature), graphql_name='feature')
6394
6409
  feature_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureId')
6395
- has_soft_limit = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasSoftLimit')
6410
+ has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
6396
6411
  has_unlimited_usage = sgqlc.types.Field(Boolean, graphql_name='hasUnlimitedUsage')
6397
6412
  hidden_from_widgets = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(WidgetType)), graphql_name='hiddenFromWidgets')
6398
6413
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
@@ -6892,7 +6907,7 @@ class PriceEntitlement(sgqlc.types.Type):
6892
6907
  description = sgqlc.types.Field(String, graphql_name='description')
6893
6908
  feature = sgqlc.types.Field(sgqlc.types.non_null(Feature), graphql_name='feature')
6894
6909
  feature_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureId')
6895
- has_soft_limit = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasSoftLimit')
6910
+ has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
6896
6911
  has_unlimited_usage = sgqlc.types.Field(Boolean, graphql_name='hasUnlimitedUsage')
6897
6912
  package = sgqlc.types.Field(sgqlc.types.non_null(PackageDTO), graphql_name='package')
6898
6913
  package_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageId')
@@ -7134,7 +7149,7 @@ class PromotionalEntitlement(sgqlc.types.Type):
7134
7149
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
7135
7150
  feature = sgqlc.types.Field(sgqlc.types.non_null(Feature), graphql_name='feature')
7136
7151
  feature_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureId')
7137
- has_soft_limit = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasSoftLimit')
7152
+ has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
7138
7153
  has_unlimited_usage = sgqlc.types.Field(Boolean, graphql_name='hasUnlimitedUsage')
7139
7154
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
7140
7155
  is_visible = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='isVisible')
@@ -7529,6 +7544,19 @@ class SdkConfiguration(sgqlc.types.Type):
7529
7544
  sentry_dsn = sgqlc.types.Field(String, graphql_name='sentryDsn')
7530
7545
 
7531
7546
 
7547
+ class SnowflakeCredentials(sgqlc.types.Type):
7548
+ __schema__ = schema
7549
+ __field_names__ = ('airbyte_connection_id', 'airbyte_destination_id', 'database', 'host', 'role', 'schema_name', 'username', 'warehouse')
7550
+ airbyte_connection_id = sgqlc.types.Field(String, graphql_name='airbyteConnectionId')
7551
+ airbyte_destination_id = sgqlc.types.Field(String, graphql_name='airbyteDestinationId')
7552
+ database = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='database')
7553
+ host = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='host')
7554
+ role = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='role')
7555
+ schema_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='schemaName')
7556
+ username = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='username')
7557
+ warehouse = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='warehouse')
7558
+
7559
+
7532
7560
  class StringChangeDTO(sgqlc.types.Type):
7533
7561
  __schema__ = schema
7534
7562
  __field_names__ = ('after', 'before', 'change_type')
@@ -7719,7 +7747,7 @@ class SubscriptionEntitlement(sgqlc.types.Type):
7719
7747
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
7720
7748
  feature = sgqlc.types.Field(sgqlc.types.non_null(Feature), graphql_name='feature')
7721
7749
  feature_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureId')
7722
- has_soft_limit = sgqlc.types.Field(sgqlc.types.non_null(Boolean), graphql_name='hasSoftLimit')
7750
+ has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
7723
7751
  has_unlimited_usage = sgqlc.types.Field(Boolean, graphql_name='hasUnlimitedUsage')
7724
7752
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
7725
7753
  meter = sgqlc.types.Field(Meter, graphql_name='meter')
@@ -7982,10 +8010,11 @@ class SubscriptionPreviewV2(sgqlc.types.Type):
7982
8010
 
7983
8011
  class SubscriptionPrice(sgqlc.types.Type):
7984
8012
  __schema__ = schema
7985
- __field_names__ = ('billing_model', 'created_at', 'feature_id', 'id', 'price', 'subscription', 'updated_at', 'usage_limit')
8013
+ __field_names__ = ('billing_model', 'created_at', 'feature_id', 'has_soft_limit', 'id', 'price', 'subscription', 'updated_at', 'usage_limit')
7986
8014
  billing_model = sgqlc.types.Field(BillingModel, graphql_name='billingModel')
7987
8015
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
7988
8016
  feature_id = sgqlc.types.Field(String, graphql_name='featureId')
8017
+ has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
7989
8018
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
7990
8019
  price = sgqlc.types.Field(Price, graphql_name='price')
7991
8020
  subscription = sgqlc.types.Field(sgqlc.types.non_null(CustomerSubscription), graphql_name='subscription')
@@ -7995,10 +8024,11 @@ class SubscriptionPrice(sgqlc.types.Type):
7995
8024
 
7996
8025
  class SubscriptionPriceAggregateGroupBy(sgqlc.types.Type):
7997
8026
  __schema__ = schema
7998
- __field_names__ = ('billing_model', 'created_at', 'feature_id', 'id', 'updated_at', 'usage_limit')
8027
+ __field_names__ = ('billing_model', 'created_at', 'feature_id', 'has_soft_limit', 'id', 'updated_at', 'usage_limit')
7999
8028
  billing_model = sgqlc.types.Field(BillingModel, graphql_name='billingModel')
8000
8029
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
8001
8030
  feature_id = sgqlc.types.Field(String, graphql_name='featureId')
8031
+ has_soft_limit = sgqlc.types.Field(Boolean, graphql_name='hasSoftLimit')
8002
8032
  id = sgqlc.types.Field(String, graphql_name='id')
8003
8033
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
8004
8034
  usage_limit = sgqlc.types.Field(Float, graphql_name='usageLimit')
@@ -8012,10 +8042,11 @@ class SubscriptionPriceAvgAggregate(sgqlc.types.Type):
8012
8042
 
8013
8043
  class SubscriptionPriceCountAggregate(sgqlc.types.Type):
8014
8044
  __schema__ = schema
8015
- __field_names__ = ('billing_model', 'created_at', 'feature_id', 'id', 'updated_at', 'usage_limit')
8045
+ __field_names__ = ('billing_model', 'created_at', 'feature_id', 'has_soft_limit', 'id', 'updated_at', 'usage_limit')
8016
8046
  billing_model = sgqlc.types.Field(Int, graphql_name='billingModel')
8017
8047
  created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
8018
8048
  feature_id = sgqlc.types.Field(Int, graphql_name='featureId')
8049
+ has_soft_limit = sgqlc.types.Field(Int, graphql_name='hasSoftLimit')
8019
8050
  id = sgqlc.types.Field(Int, graphql_name='id')
8020
8051
  updated_at = sgqlc.types.Field(Int, graphql_name='updatedAt')
8021
8052
  usage_limit = sgqlc.types.Field(Int, graphql_name='usageLimit')
@@ -8400,7 +8431,7 @@ class experimentInfo(sgqlc.types.Type):
8400
8431
  ########################################################################
8401
8432
  class Credentials(sgqlc.types.Union):
8402
8433
  __schema__ = schema
8403
- __types__ = (AwsMarketplaceCredentials, HubspotCredentials, StripeCredentials, ZuoraCredentials)
8434
+ __types__ = (AwsMarketplaceCredentials, HubspotCredentials, SnowflakeCredentials, StripeCredentials, ZuoraCredentials)
8404
8435
 
8405
8436
 
8406
8437
  class ResetPeriodConfiguration(sgqlc.types.Union):