stigg-api-client 2.76.0__tar.gz → 2.80.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.76.0
3
+ Version: 2.80.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.76.0"
3
+ version = "2.80.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', 'OPEN_FGA', '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,11 +1090,13 @@ 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', 'open_fgacredentials', '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')
1083
1098
  hubspot_credentials = sgqlc.types.Field('HubspotCredentialsInput', graphql_name='hubspotCredentials')
1099
+ open_fgacredentials = sgqlc.types.Field('OpenFGACredentialsInput', graphql_name='openFGACredentials')
1084
1100
  salesforce_credentials = sgqlc.types.Field('SalesforceCredentialsInput', graphql_name='salesforceCredentials')
1085
1101
  snowflake_credentials = sgqlc.types.Field('SnowflakeCredentialsInput', graphql_name='snowflakeCredentials')
1086
1102
  stripe_credentials = sgqlc.types.Field('StripeCredentialsInput', graphql_name='stripeCredentials')
@@ -2400,6 +2416,17 @@ class NumberFieldComparisonBetween(sgqlc.types.Input):
2400
2416
  upper = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='upper')
2401
2417
 
2402
2418
 
2419
+ class OpenFGACredentialsInput(sgqlc.types.Input):
2420
+ __schema__ = schema
2421
+ __field_names__ = ('api_audience', 'api_token_issuer', 'api_url', 'client_id', 'client_secret', 'store_id')
2422
+ api_audience = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='apiAudience')
2423
+ api_token_issuer = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='apiTokenIssuer')
2424
+ api_url = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='apiUrl')
2425
+ client_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientId')
2426
+ client_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientSecret')
2427
+ store_id = sgqlc.types.Field(String, graphql_name='storeId')
2428
+
2429
+
2403
2430
  class OverageEntitlementCreateInput(sgqlc.types.Input):
2404
2431
  __schema__ = schema
2405
2432
  __field_names__ = ('behavior', 'description', 'display_name_override', 'feature_id', 'has_soft_limit', 'has_unlimited_usage', 'hidden_from_widgets', 'is_custom', 'monthly_reset_period_configuration', 'order', 'reset_period', 'usage_limit', 'weekly_reset_period_configuration', 'yearly_reset_period_configuration')
@@ -4049,7 +4076,9 @@ class UpdateHook(sgqlc.types.Input):
4049
4076
 
4050
4077
  class UpdateIntegrationInput(sgqlc.types.Input):
4051
4078
  __schema__ = schema
4052
- __field_names__ = ('salesforce_credentials', 'stripe_credentials', 'vendor_identifier', 'zuora_credentials')
4079
+ __field_names__ = ('auth0_credentials', 'open_fgacredentials', 'salesforce_credentials', 'stripe_credentials', 'vendor_identifier', 'zuora_credentials')
4080
+ auth0_credentials = sgqlc.types.Field(Auth0CredentialsInput, graphql_name='auth0Credentials')
4081
+ open_fgacredentials = sgqlc.types.Field(OpenFGACredentialsInput, graphql_name='openFGACredentials')
4053
4082
  salesforce_credentials = sgqlc.types.Field(SalesforceCredentialsInput, graphql_name='salesforceCredentials')
4054
4083
  stripe_credentials = sgqlc.types.Field(StripeCredentialsInput, graphql_name='stripeCredentials')
4055
4084
  vendor_identifier = sgqlc.types.Field(sgqlc.types.non_null(VendorIdentifier), graphql_name='vendorIdentifier')
@@ -4565,6 +4594,15 @@ class AsyncTaskResult(sgqlc.types.Type):
4565
4594
  task_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='taskId')
4566
4595
 
4567
4596
 
4597
+ class Auth0Credentials(sgqlc.types.Type):
4598
+ __schema__ = schema
4599
+ __field_names__ = ('client_id', 'client_secret', 'region', 'tenant')
4600
+ client_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientId')
4601
+ client_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientSecret')
4602
+ region = sgqlc.types.Field(sgqlc.types.non_null(Auth0Region), graphql_name='region')
4603
+ tenant = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='tenant')
4604
+
4605
+
4568
4606
  class AutoCancellationRule(sgqlc.types.Type):
4569
4607
  __schema__ = schema
4570
4608
  __field_names__ = ('source_plan', 'target_plan')
@@ -7012,6 +7050,17 @@ class NumberChange(sgqlc.types.Type):
7012
7050
  change_type = sgqlc.types.Field(ChangeType, graphql_name='changeType')
7013
7051
 
7014
7052
 
7053
+ class OpenFGACredentials(sgqlc.types.Type):
7054
+ __schema__ = schema
7055
+ __field_names__ = ('api_audience', 'api_token_issuer', 'api_url', 'client_id', 'model_id', 'store_id')
7056
+ api_audience = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='apiAudience')
7057
+ api_token_issuer = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='apiTokenIssuer')
7058
+ api_url = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='apiUrl')
7059
+ client_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientId')
7060
+ model_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='modelId')
7061
+ store_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='storeId')
7062
+
7063
+
7015
7064
  class OverageBillingPeriodChange(sgqlc.types.Type):
7016
7065
  __schema__ = schema
7017
7066
  __field_names__ = ('after', 'before', 'change_type')
@@ -9491,7 +9540,7 @@ class experimentInfo(sgqlc.types.Type):
9491
9540
  ########################################################################
9492
9541
  class Credentials(sgqlc.types.Union):
9493
9542
  __schema__ = schema
9494
- __types__ = (AwsMarketplaceCredentials, BigQueryCredentials, HubspotCredentials, SalesforceCredentials, SnowflakeCredentials, StripeCredentials, ZuoraCredentials)
9543
+ __types__ = (Auth0Credentials, AwsMarketplaceCredentials, BigQueryCredentials, HubspotCredentials, OpenFGACredentials, SalesforceCredentials, SnowflakeCredentials, StripeCredentials, ZuoraCredentials)
9495
9544
 
9496
9545
 
9497
9546
  class PaymentMethodForm(sgqlc.types.Union):