stigg-api-client 3.64.0__tar.gz → 3.66.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: 3.64.0
3
+ Version: 3.66.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 = "3.64.0"
3
+ version = "3.66.0"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -87,7 +87,7 @@ class BillingPeriod(sgqlc.types.Enum):
87
87
 
88
88
  class BillingVendorIdentifier(sgqlc.types.Enum):
89
89
  __schema__ = schema
90
- __choices__ = ('STRIPE',)
90
+ __choices__ = ('STRIPE', 'ZUORA')
91
91
 
92
92
 
93
93
  Boolean = sgqlc.types.Boolean
@@ -2424,7 +2424,7 @@ class GrantPromotionalEntitlementsGroupInput(sgqlc.types.Input):
2424
2424
  __field_names__ = ('customer_id', 'environment_id', 'feature_group_id', 'promotional_entitlements')
2425
2425
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
2426
2426
  environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
2427
- feature_group_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='featureGroupId')
2427
+ feature_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureGroupId')
2428
2428
  promotional_entitlements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(GrantPromotionalEntitlementInput))), graphql_name='promotionalEntitlements')
2429
2429
 
2430
2430
 
@@ -3103,6 +3103,14 @@ class PaymentCollectionFilterComparison(sgqlc.types.Input):
3103
3103
  not_like = sgqlc.types.Field(PaymentCollection, graphql_name='notLike')
3104
3104
 
3105
3105
 
3106
+ class PaymentSessionInput(sgqlc.types.Input):
3107
+ __schema__ = schema
3108
+ __field_names__ = ('billing_country_code', 'customer_id', 'plan_id')
3109
+ billing_country_code = sgqlc.types.Field(String, graphql_name='billingCountryCode')
3110
+ customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
3111
+ plan_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='planId')
3112
+
3113
+
3106
3114
  class PaywallColorsPaletteInput(sgqlc.types.Input):
3107
3115
  __schema__ = schema
3108
3116
  __field_names__ = ('background_color', 'border_color', 'current_plan_background', 'primary', 'text_color')
@@ -3753,7 +3761,7 @@ class RevokePromotionalEntitlementsGroupInput(sgqlc.types.Input):
3753
3761
  __field_names__ = ('customer_id', 'environment_id', 'feature_group_id')
3754
3762
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
3755
3763
  environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
3756
- feature_group_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='featureGroupId')
3764
+ feature_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureGroupId')
3757
3765
 
3758
3766
 
3759
3767
  class SalesforceCredentialsInput(sgqlc.types.Input):
@@ -4575,7 +4583,7 @@ class UnlinkPromotionalEntitlementsGroupInput(sgqlc.types.Input):
4575
4583
  __field_names__ = ('customer_id', 'environment_id', 'feature_group_id')
4576
4584
  customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
4577
4585
  environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
4578
- feature_group_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='featureGroupId')
4586
+ feature_group_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureGroupId')
4579
4587
 
4580
4588
 
4581
4589
  class UpdateAccountInput(sgqlc.types.Input):
@@ -4989,12 +4997,13 @@ class YearlyResetPeriodConfigInput(sgqlc.types.Input):
4989
4997
 
4990
4998
  class ZuoraCredentialsInput(sgqlc.types.Input):
4991
4999
  __schema__ = schema
4992
- __field_names__ = ('base_url', 'client_id', 'client_secret', 'payment_gateway_id', 'payment_page_id', 'stripe_publishable_key', 'stripe_secret_key')
5000
+ __field_names__ = ('base_url', 'client_id', 'client_secret', 'payment_gateway_id', 'payment_page_id', 'publishable_key', 'stripe_publishable_key', 'stripe_secret_key')
4993
5001
  base_url = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='baseUrl')
4994
5002
  client_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientId')
4995
5003
  client_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientSecret')
4996
5004
  payment_gateway_id = sgqlc.types.Field(String, graphql_name='paymentGatewayId')
4997
5005
  payment_page_id = sgqlc.types.Field(String, graphql_name='paymentPageId')
5006
+ publishable_key = sgqlc.types.Field(String, graphql_name='publishableKey')
4998
5007
  stripe_publishable_key = sgqlc.types.Field(String, graphql_name='stripePublishableKey')
4999
5008
  stripe_secret_key = sgqlc.types.Field(String, graphql_name='stripeSecretKey')
5000
5009
 
@@ -5411,7 +5420,8 @@ class ChargeSubscriptionUsage(sgqlc.types.Type):
5411
5420
 
5412
5421
  class CheckoutBillingIntegration(sgqlc.types.Type):
5413
5422
  __schema__ = schema
5414
- __field_names__ = ('billing_identifier', 'credentials')
5423
+ __field_names__ = ('billing_credentials', 'billing_identifier', 'credentials')
5424
+ billing_credentials = sgqlc.types.Field(sgqlc.types.non_null('BillingCredentials'), graphql_name='billingCredentials')
5415
5425
  billing_identifier = sgqlc.types.Field(sgqlc.types.non_null(BillingVendorIdentifier), graphql_name='billingIdentifier')
5416
5426
  credentials = sgqlc.types.Field(sgqlc.types.non_null('CheckoutCredentials'), graphql_name='credentials')
5417
5427
 
@@ -5444,8 +5454,8 @@ class CheckoutContent(sgqlc.types.Type):
5444
5454
  class CheckoutCredentials(sgqlc.types.Type):
5445
5455
  __schema__ = schema
5446
5456
  __field_names__ = ('account_id', 'public_key')
5447
- account_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='accountId')
5448
- public_key = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='publicKey')
5457
+ account_id = sgqlc.types.Field(String, graphql_name='accountId')
5458
+ public_key = sgqlc.types.Field(String, graphql_name='publicKey')
5449
5459
 
5450
5460
 
5451
5461
  class CheckoutState(sgqlc.types.Type):
@@ -7481,7 +7491,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
7481
7491
 
7482
7492
  class Mutation(sgqlc.types.Type):
7483
7493
  __schema__ = schema
7484
- __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_feature_group', 'archive_one_coupon', 'archive_package_group', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'charge_subscription_usage', 'create_account', 'create_addon_draft', 'create_credit_grant', 'create_custom_currency', 'create_empty_addon_draft', 'create_empty_plan_draft', 'create_feature', 'create_feature_group', 'create_many_package_entitlements', 'create_many_promotional_entitlements', 'create_one_addon', 'create_one_coupon', 'create_one_customer', 'create_one_environment', 'create_one_experiment', 'create_one_hook', 'create_one_integration', 'create_one_plan', 'create_one_product', 'create_or_update_aws_marketplace_product', 'create_package_group', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'create_workflow_trigger', 'delegate_subscription_to_customer', 'delete_feature', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'delete_workflow_trigger', 'detach_customer_payment_method', 'duplicate_product', 'edit_package_group', 'estimate_subscription', 'estimate_subscription_update', 'grant_promotional_entitlements', 'grant_promotional_entitlements_group', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'link_feature_group_to_package', 'mark_invoice_as_paid', 'merge_environment', 'migrate_package_feature_groups_to_latest', 'migrate_subscription_to_latest', 'prepare_payment_method_form', 'preview_next_invoice', 'preview_subscription', 'provision_customer', 'provision_sandbox', 'provision_subscription', 'provision_subscription_v2', 'publish_addon', 'publish_plan', 'purge_customer_cache', 'recalculate_entitlements', 'register_member', 'remove_addon_draft', 'remove_base_plan_from_plan', 'remove_compatible_addons_from_plan', 'remove_coupon_from_customer', 'remove_experiment_from_customer', 'remove_experiment_from_customer_subscription', 'remove_feature_group_from_package', 'remove_member', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'report_usage_bulk', 'resend_email_verification', 'resync_integration', 'revoke_promotional_entitlement', 'revoke_promotional_entitlements_group', 'set_access_roles', 'set_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_compatible_package_groups', 'set_coupon_on_customer', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_group_addons', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'subscription_maximum_spend', 'sync_tax_rates', 'transfer_subscription', 'transfer_subscription_to_resource', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', 'trigger_rbacsync', 'trigger_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'trigger_workflow', 'unarchive_addon', 'unarchive_customer', 'unarchive_environment', 'unarchive_feature', 'unarchive_feature_group', 'unarchive_plan', 'unlink_feature_group_from_package', 'unlink_promotional_entitlements_group', 'update_account', 'update_credit_grant', 'update_custom_currency', 'update_entitlements_order', 'update_feature', 'update_one_addon', 'update_one_coupon', 'update_one_customer', 'update_one_environment', 'update_one_experiment', 'update_one_hook', 'update_one_integration', 'update_one_package_entitlement', 'update_one_plan', 'update_one_product', 'update_one_promotional_entitlement', 'update_one_subscription', 'update_user', 'workflows_login')
7494
+ __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', 'archive_feature_group', 'archive_one_coupon', 'archive_package_group', 'archive_plan', 'attach_customer_payment_method', 'cancel_schedule', 'cancel_subscription', 'charge_subscription_usage', 'create_account', 'create_addon_draft', 'create_credit_grant', 'create_custom_currency', 'create_empty_addon_draft', 'create_empty_plan_draft', 'create_feature', 'create_feature_group', 'create_many_package_entitlements', 'create_many_promotional_entitlements', 'create_one_addon', 'create_one_coupon', 'create_one_customer', 'create_one_environment', 'create_one_experiment', 'create_one_hook', 'create_one_integration', 'create_one_plan', 'create_one_product', 'create_or_update_aws_marketplace_product', 'create_package_group', 'create_payment_session', 'create_plan_draft', 'create_subscription', 'create_usage_measurement', 'create_workflow_trigger', 'delegate_subscription_to_customer', 'delete_feature', 'delete_one_feature', 'delete_one_hook', 'delete_one_integration', 'delete_one_package_entitlement', 'delete_one_price', 'delete_one_product', 'delete_one_promotional_entitlement', 'delete_workflow_trigger', 'detach_customer_payment_method', 'duplicate_product', 'edit_package_group', 'estimate_subscription', 'estimate_subscription_update', 'grant_promotional_entitlements', 'grant_promotional_entitlements_group', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'link_feature_group_to_package', 'mark_invoice_as_paid', 'merge_environment', 'migrate_package_feature_groups_to_latest', 'migrate_subscription_to_latest', 'prepare_payment_method_form', 'preview_next_invoice', 'preview_subscription', 'provision_customer', 'provision_sandbox', 'provision_subscription', 'provision_subscription_v2', 'publish_addon', 'publish_plan', 'purge_customer_cache', 'recalculate_entitlements', 'register_member', 'remove_addon_draft', 'remove_base_plan_from_plan', 'remove_compatible_addons_from_plan', 'remove_coupon_from_customer', 'remove_experiment_from_customer', 'remove_experiment_from_customer_subscription', 'remove_feature_group_from_package', 'remove_member', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'report_usage_bulk', 'resend_email_verification', 'resync_integration', 'revoke_promotional_entitlement', 'revoke_promotional_entitlements_group', 'set_access_roles', 'set_base_plan_on_plan', 'set_compatible_addons_on_plan', 'set_compatible_package_groups', 'set_coupon_on_customer', 'set_experiment_on_customer', 'set_experiment_on_customer_subscription', 'set_package_group_addons', 'set_package_pricing', 'set_widget_configuration', 'start_experiment', 'stop_experiment', 'subscription_maximum_spend', 'sync_tax_rates', 'transfer_subscription', 'transfer_subscription_to_resource', 'trigger_import_catalog', 'trigger_import_customers', 'trigger_plan_subscription_migration', 'trigger_rbacsync', 'trigger_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'trigger_workflow', 'unarchive_addon', 'unarchive_customer', 'unarchive_environment', 'unarchive_feature', 'unarchive_feature_group', 'unarchive_plan', 'unlink_feature_group_from_package', 'unlink_promotional_entitlements_group', 'update_account', 'update_credit_grant', 'update_custom_currency', 'update_entitlements_order', 'update_feature', 'update_one_addon', 'update_one_coupon', 'update_one_customer', 'update_one_environment', 'update_one_experiment', 'update_one_hook', 'update_one_integration', 'update_one_package_entitlement', 'update_one_plan', 'update_one_product', 'update_one_promotional_entitlement', 'update_one_subscription', 'update_user', 'workflows_login')
7485
7495
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
7486
7496
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
7487
7497
  ))
@@ -7620,6 +7630,10 @@ class Mutation(sgqlc.types.Type):
7620
7630
  )
7621
7631
  create_package_group = sgqlc.types.Field(sgqlc.types.non_null('PackageGroup'), graphql_name='createPackageGroup', args=sgqlc.types.ArgDict((
7622
7632
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(CreatePackageGroup), graphql_name='input', default=None)),
7633
+ ))
7634
+ )
7635
+ create_payment_session = sgqlc.types.Field(sgqlc.types.non_null('PaymentSession'), graphql_name='createPaymentSession', args=sgqlc.types.ArgDict((
7636
+ ('input', sgqlc.types.Arg(sgqlc.types.non_null(PaymentSessionInput), graphql_name='input', default=None)),
7623
7637
  ))
7624
7638
  )
7625
7639
  create_plan_draft = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='createPlanDraft', args=sgqlc.types.ArgDict((
@@ -8427,6 +8441,12 @@ class PageInfo(sgqlc.types.Type):
8427
8441
  start_cursor = sgqlc.types.Field(ConnectionCursor, graphql_name='startCursor')
8428
8442
 
8429
8443
 
8444
+ class PaymentSession(sgqlc.types.Type):
8445
+ __schema__ = schema
8446
+ __field_names__ = ('token',)
8447
+ token = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='token')
8448
+
8449
+
8430
8450
  class Paywall(sgqlc.types.Type):
8431
8451
  __schema__ = schema
8432
8452
  __field_names__ = ('active_subscriptions', 'configuration', 'currency', 'customer', 'paywall_calculated_price_points', 'plans', 'resource')
@@ -9673,6 +9693,14 @@ class StringChangeDTO(sgqlc.types.Type):
9673
9693
  change_type = sgqlc.types.Field(ChangeType, graphql_name='changeType')
9674
9694
 
9675
9695
 
9696
+ class StripeCheckoutCredentials(sgqlc.types.Type):
9697
+ __schema__ = schema
9698
+ __field_names__ = ('account_id', 'public_key', 'setup_secret')
9699
+ account_id = sgqlc.types.Field(String, graphql_name='accountId')
9700
+ public_key = sgqlc.types.Field(String, graphql_name='publicKey')
9701
+ setup_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='setupSecret')
9702
+
9703
+
9676
9704
  class StripeCredentials(sgqlc.types.Type):
9677
9705
  __schema__ = schema
9678
9706
  __field_names__ = ('account_display_name', 'account_id', 'is_tax_enabled', 'is_test_mode')
@@ -10857,14 +10885,21 @@ class YearlyResetPeriodConfig(sgqlc.types.Type):
10857
10885
  yearly_according_to = sgqlc.types.Field(YearlyAccordingTo, graphql_name='yearlyAccordingTo')
10858
10886
 
10859
10887
 
10888
+ class ZuoraCheckoutCredentials(sgqlc.types.Type):
10889
+ __schema__ = schema
10890
+ __field_names__ = ('publishable_key',)
10891
+ publishable_key = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='publishableKey')
10892
+
10893
+
10860
10894
  class ZuoraCredentials(sgqlc.types.Type):
10861
10895
  __schema__ = schema
10862
- __field_names__ = ('base_url', 'client_id', 'client_secret', 'payment_gateway_id', 'payment_page_id', 'stripe_publishable_key', 'stripe_secret_key', 'webhook_secret')
10896
+ __field_names__ = ('base_url', 'client_id', 'client_secret', 'payment_gateway_id', 'payment_page_id', 'publishable_key', 'stripe_publishable_key', 'stripe_secret_key', 'webhook_secret')
10863
10897
  base_url = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='baseUrl')
10864
10898
  client_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientId')
10865
10899
  client_secret = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='clientSecret')
10866
10900
  payment_gateway_id = sgqlc.types.Field(String, graphql_name='paymentGatewayId')
10867
10901
  payment_page_id = sgqlc.types.Field(String, graphql_name='paymentPageId')
10902
+ publishable_key = sgqlc.types.Field(String, graphql_name='publishableKey')
10868
10903
  stripe_publishable_key = sgqlc.types.Field(String, graphql_name='stripePublishableKey')
10869
10904
  stripe_secret_key = sgqlc.types.Field(String, graphql_name='stripeSecretKey')
10870
10905
  webhook_secret = sgqlc.types.Field(String, graphql_name='webhookSecret')
@@ -10895,6 +10930,11 @@ class experimentInfo(sgqlc.types.Type):
10895
10930
  ########################################################################
10896
10931
  # Unions
10897
10932
  ########################################################################
10933
+ class BillingCredentials(sgqlc.types.Union):
10934
+ __schema__ = schema
10935
+ __types__ = (StripeCheckoutCredentials, ZuoraCheckoutCredentials)
10936
+
10937
+
10898
10938
  class Credentials(sgqlc.types.Union):
10899
10939
  __schema__ = schema
10900
10940
  __types__ = (Auth0Credentials, AwsMarketplaceCredentials, BigQueryCredentials, HubspotCredentials, OpenFGACredentials, SalesforceCredentials, SnowflakeCredentials, StripeCredentials, ZuoraCredentials)