stigg-api-client 2.240.0__py3-none-any.whl → 2.248.0__py3-none-any.whl

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.

stigg/generated/schema.py CHANGED
@@ -20,6 +20,11 @@ class AccessDeniedReason(sgqlc.types.Enum):
20
20
  __choices__ = ('BudgetExceeded', 'CustomerIsArchived', 'CustomerNotFound', 'CustomerResourceNotFound', 'FeatureNotFound', 'NoActiveSubscription', 'NoFeatureEntitlementInSubscription', 'RequestedUsageExceedingLimit', 'Unknown')
21
21
 
22
22
 
23
+ class AccountAccessRole(sgqlc.types.Enum):
24
+ __schema__ = schema
25
+ __choices__ = ('MEMBER', 'OWNER')
26
+
27
+
23
28
  class AccountStatus(sgqlc.types.Enum):
24
29
  __schema__ = schema
25
30
  __choices__ = ('ACTIVE', 'BLOCKED')
@@ -168,6 +173,11 @@ class EntitySelectionMode(sgqlc.types.Enum):
168
173
  __choices__ = ('BLACK_LIST', 'WHITE_LIST')
169
174
 
170
175
 
176
+ class EnvironmentAccessRole(sgqlc.types.Enum):
177
+ __schema__ = schema
178
+ __choices__ = ('ADMIN', 'NONE', 'SUPPORT', 'VIEWER')
179
+
180
+
171
181
  class EnvironmentProvisionStatus(sgqlc.types.Enum):
172
182
  __schema__ = schema
173
183
  __choices__ = ('DONE', 'FAILED', 'IN_PROGRESS', 'NOT_PROVISIONED')
@@ -3421,6 +3431,15 @@ class SalesforceCredentialsInput(sgqlc.types.Input):
3421
3431
  domain = sgqlc.types.Field(String, graphql_name='domain')
3422
3432
 
3423
3433
 
3434
+ class SetAccessRolesInput(sgqlc.types.Input):
3435
+ __schema__ = schema
3436
+ __field_names__ = ('account_role', 'non_production_role', 'production_role', 'user_id')
3437
+ account_role = sgqlc.types.Field(sgqlc.types.non_null(AccountAccessRole), graphql_name='accountRole')
3438
+ non_production_role = sgqlc.types.Field(sgqlc.types.non_null(EnvironmentAccessRole), graphql_name='nonProductionRole')
3439
+ production_role = sgqlc.types.Field(sgqlc.types.non_null(EnvironmentAccessRole), graphql_name='productionRole')
3440
+ user_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='userId')
3441
+
3442
+
3424
3443
  class SetBasePlanOnPlanInput(sgqlc.types.Input):
3425
3444
  __schema__ = schema
3426
3445
  __field_names__ = ('id', 'relation_id')
@@ -4498,6 +4517,14 @@ class ZuoraCredentialsInput(sgqlc.types.Input):
4498
4517
  ########################################################################
4499
4518
  # Output Objects and Interfaces
4500
4519
  ########################################################################
4520
+ class AccessRoles(sgqlc.types.Type):
4521
+ __schema__ = schema
4522
+ __field_names__ = ('account_role', 'non_production_role', 'production_role')
4523
+ account_role = sgqlc.types.Field(sgqlc.types.non_null(AccountAccessRole), graphql_name='accountRole')
4524
+ non_production_role = sgqlc.types.Field(sgqlc.types.non_null(EnvironmentAccessRole), graphql_name='nonProductionRole')
4525
+ production_role = sgqlc.types.Field(sgqlc.types.non_null(EnvironmentAccessRole), graphql_name='productionRole')
4526
+
4527
+
4501
4528
  class Account(sgqlc.types.Type):
4502
4529
  __schema__ = schema
4503
4530
  __field_names__ = ('account_email_domain', 'account_status', 'display_name', 'id', 'saml_enabled', 'subscription_billing_anchor', 'subscription_proration_behavior', 'timezone')
@@ -6592,7 +6619,8 @@ class ListAwsProductsResult(sgqlc.types.Type):
6592
6619
 
6593
6620
  class Member(sgqlc.types.Type):
6594
6621
  __schema__ = schema
6595
- __field_names__ = ('account', 'created_at', 'cubejs_token', 'customer_token', 'email', 'hide_getting_started_page', 'id', 'member_status', 'service_api_key', 'user')
6622
+ __field_names__ = ('access_roles', 'account', 'created_at', 'cubejs_token', 'customer_token', 'email', 'hide_getting_started_page', 'id', 'member_status', 'service_api_key', 'user', 'user_id')
6623
+ access_roles = sgqlc.types.Field(AccessRoles, graphql_name='accessRoles')
6596
6624
  account = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='account')
6597
6625
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6598
6626
  cubejs_token = sgqlc.types.Field(String, graphql_name='cubejsToken')
@@ -6603,6 +6631,7 @@ class Member(sgqlc.types.Type):
6603
6631
  member_status = sgqlc.types.Field(sgqlc.types.non_null(MemberStatus), graphql_name='memberStatus')
6604
6632
  service_api_key = sgqlc.types.Field(String, graphql_name='serviceApiKey')
6605
6633
  user = sgqlc.types.Field('User', graphql_name='user')
6634
+ user_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='userId')
6606
6635
 
6607
6636
 
6608
6637
  class MemberAggregateGroupBy(sgqlc.types.Type):
@@ -6750,7 +6779,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6750
6779
 
6751
6780
  class Mutation(sgqlc.types.Type):
6752
6781
  __schema__ = schema
6753
- __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', '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_empty_addon_draft', 'create_empty_plan_draft', 'create_feature', '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', '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', 'detach_customer_payment_method', 'duplicate_product', 'edit_package_group', 'estimate_subscription', 'estimate_subscription_update', 'grant_promotional_entitlements', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'mark_invoice_as_paid', 'merge_environment', '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_member', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'report_usage_bulk', 'resend_email_verification', 'resync_integration', 'revoke_promotional_entitlement', '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_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'unarchive_customer', 'unarchive_environment', 'update_account', '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')
6782
+ __field_names__ = ('add_compatible_addons_to_plan', 'apply_subscription', 'archive_addon', 'archive_customer', 'archive_environment', 'archive_feature', '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_empty_addon_draft', 'create_empty_plan_draft', 'create_feature', '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', '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', 'detach_customer_payment_method', 'duplicate_product', 'edit_package_group', 'estimate_subscription', 'estimate_subscription_update', 'grant_promotional_entitlements', 'hide_getting_started_page', 'import_customers_bulk', 'import_one_customer', 'import_subscriptions_bulk', 'init_add_stripe_customer_payment_method', 'invite_members', 'mark_invoice_as_paid', 'merge_environment', '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_member', 'remove_plan_draft', 'report_entitlement_check_requested', 'report_event', 'report_usage', 'report_usage_bulk', 'resend_email_verification', 'resync_integration', 'revoke_promotional_entitlement', '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_subscription_billing_month_ends_soon_webhook', 'trigger_subscription_usage_sync', 'unarchive_customer', 'unarchive_environment', 'update_account', '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')
6754
6783
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6755
6784
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6756
6785
  ))
@@ -7083,6 +7112,10 @@ class Mutation(sgqlc.types.Type):
7083
7112
  )
7084
7113
  revoke_promotional_entitlement = sgqlc.types.Field(sgqlc.types.non_null('PromotionalEntitlement'), graphql_name='revokePromotionalEntitlement', args=sgqlc.types.ArgDict((
7085
7114
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(RevokePromotionalEntitlementInput), graphql_name='input', default=None)),
7115
+ ))
7116
+ )
7117
+ set_access_roles = sgqlc.types.Field(String, graphql_name='setAccessRoles', args=sgqlc.types.ArgDict((
7118
+ ('set_access_roles_input', sgqlc.types.Arg(sgqlc.types.non_null(SetAccessRolesInput), graphql_name='setAccessRolesInput', default=None)),
7086
7119
  ))
7087
7120
  )
7088
7121
  set_base_plan_on_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='setBasePlanOnPlan', args=sgqlc.types.ArgDict((
@@ -9280,10 +9313,12 @@ class SubscriptionPreviewCredits(sgqlc.types.Type):
9280
9313
 
9281
9314
  class SubscriptionPreviewDiscount(sgqlc.types.Type):
9282
9315
  __schema__ = schema
9283
- __field_names__ = ('duration_in_months', 'duration_type', 'name', 'type', 'value')
9316
+ __field_names__ = ('duration_in_months', 'duration_type', 'end', 'name', 'start', 'type', 'value')
9284
9317
  duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
9285
9318
  duration_type = sgqlc.types.Field(sgqlc.types.non_null(DiscountDurationType), graphql_name='durationType')
9319
+ end = sgqlc.types.Field(DateTime, graphql_name='end')
9286
9320
  name = sgqlc.types.Field(String, graphql_name='name')
9321
+ start = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='start')
9287
9322
  type = sgqlc.types.Field(sgqlc.types.non_null(DiscountType), graphql_name='type')
9288
9323
  value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='value')
9289
9324
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.240.0
3
+ Version: 2.248.0
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -2,8 +2,8 @@ stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
2
2
  stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
3
3
  stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  stigg/generated/operations.py,sha256=XZTc9QY2zvADVjW_5oUBsp7X1S5bwUTi_lfFPSKG5rs,79480
5
- stigg/generated/schema.py,sha256=8VtfdtcE9NI5WGpp5T4dOsuQGamW_BrpEuff0at2rOg,630046
6
- stigg_api_client-2.240.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-2.240.0.dist-info/METADATA,sha256=3LfsU_ODYRlkv2IpGW_oGaD2gqdZNwUpMvXCIG4yTCA,3198
8
- stigg_api_client-2.240.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-2.240.0.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=sPg-I964KWW2ixh7xtvcZFvSBCHZA0BPxomBS3Tg-OI,631996
6
+ stigg_api_client-2.248.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-2.248.0.dist-info/METADATA,sha256=iGIwtfVWRSqPGrJC4Az30kptoXUHj3RIb8XdWU6tLS0,3198
8
+ stigg_api_client-2.248.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-2.248.0.dist-info/RECORD,,