stigg-api-client 2.235.0__py3-none-any.whl → 2.241.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')
@@ -275,7 +285,7 @@ class JSON(sgqlc.types.Scalar):
275
285
 
276
286
  class MemberSortFields(sgqlc.types.Enum):
277
287
  __schema__ = schema
278
- __choices__ = ('createdAt', 'id')
288
+ __choices__ = ('createdAt', 'email', 'id')
279
289
 
280
290
 
281
291
  class MemberStatus(sgqlc.types.Enum):
@@ -2377,11 +2387,23 @@ class MarkInvoiceAsPaidInput(sgqlc.types.Input):
2377
2387
 
2378
2388
  class MemberFilter(sgqlc.types.Input):
2379
2389
  __schema__ = schema
2380
- __field_names__ = ('and_', 'created_at', 'id', 'or_')
2390
+ __field_names__ = ('and_', 'created_at', 'email', 'id', 'or_', 'user')
2381
2391
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MemberFilter')), graphql_name='and')
2382
2392
  created_at = sgqlc.types.Field(DateFieldComparison, graphql_name='createdAt')
2393
+ email = sgqlc.types.Field('StringFieldComparison', graphql_name='email')
2383
2394
  id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
2384
2395
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MemberFilter')), graphql_name='or')
2396
+ user = sgqlc.types.Field('MemberFilterUserFilter', graphql_name='user')
2397
+
2398
+
2399
+ class MemberFilterUserFilter(sgqlc.types.Input):
2400
+ __schema__ = schema
2401
+ __field_names__ = ('and_', 'email', 'id', 'name', 'or_')
2402
+ and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MemberFilterUserFilter')), graphql_name='and')
2403
+ email = sgqlc.types.Field('StringFieldComparison', graphql_name='email')
2404
+ id = sgqlc.types.Field('StringFieldComparison', graphql_name='id')
2405
+ name = sgqlc.types.Field('StringFieldComparison', graphql_name='name')
2406
+ or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MemberFilterUserFilter')), graphql_name='or')
2385
2407
 
2386
2408
 
2387
2409
  class MemberSort(sgqlc.types.Input):
@@ -3409,6 +3431,15 @@ class SalesforceCredentialsInput(sgqlc.types.Input):
3409
3431
  domain = sgqlc.types.Field(String, graphql_name='domain')
3410
3432
 
3411
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
+
3412
3443
  class SetBasePlanOnPlanInput(sgqlc.types.Input):
3413
3444
  __schema__ = schema
3414
3445
  __field_names__ = ('id', 'relation_id')
@@ -4486,6 +4517,14 @@ class ZuoraCredentialsInput(sgqlc.types.Input):
4486
4517
  ########################################################################
4487
4518
  # Output Objects and Interfaces
4488
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
+
4489
4528
  class Account(sgqlc.types.Type):
4490
4529
  __schema__ = schema
4491
4530
  __field_names__ = ('account_email_domain', 'account_status', 'display_name', 'id', 'saml_enabled', 'subscription_billing_anchor', 'subscription_proration_behavior', 'timezone')
@@ -6580,7 +6619,8 @@ class ListAwsProductsResult(sgqlc.types.Type):
6580
6619
 
6581
6620
  class Member(sgqlc.types.Type):
6582
6621
  __schema__ = schema
6583
- __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')
6584
6624
  account = sgqlc.types.Field(sgqlc.types.non_null(Account), graphql_name='account')
6585
6625
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6586
6626
  cubejs_token = sgqlc.types.Field(String, graphql_name='cubejsToken')
@@ -6591,12 +6631,14 @@ class Member(sgqlc.types.Type):
6591
6631
  member_status = sgqlc.types.Field(sgqlc.types.non_null(MemberStatus), graphql_name='memberStatus')
6592
6632
  service_api_key = sgqlc.types.Field(String, graphql_name='serviceApiKey')
6593
6633
  user = sgqlc.types.Field('User', graphql_name='user')
6634
+ user_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='userId')
6594
6635
 
6595
6636
 
6596
6637
  class MemberAggregateGroupBy(sgqlc.types.Type):
6597
6638
  __schema__ = schema
6598
- __field_names__ = ('created_at', 'id')
6639
+ __field_names__ = ('created_at', 'email', 'id')
6599
6640
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6641
+ email = sgqlc.types.Field(String, graphql_name='email')
6600
6642
  id = sgqlc.types.Field(String, graphql_name='id')
6601
6643
 
6602
6644
 
@@ -6610,8 +6652,9 @@ class MemberConnection(sgqlc.types.relay.Connection):
6610
6652
 
6611
6653
  class MemberCountAggregate(sgqlc.types.Type):
6612
6654
  __schema__ = schema
6613
- __field_names__ = ('created_at', 'id')
6655
+ __field_names__ = ('created_at', 'email', 'id')
6614
6656
  created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
6657
+ email = sgqlc.types.Field(Int, graphql_name='email')
6615
6658
  id = sgqlc.types.Field(Int, graphql_name='id')
6616
6659
 
6617
6660
 
@@ -6631,15 +6674,17 @@ class MemberInvitationError(sgqlc.types.Type):
6631
6674
 
6632
6675
  class MemberMaxAggregate(sgqlc.types.Type):
6633
6676
  __schema__ = schema
6634
- __field_names__ = ('created_at', 'id')
6677
+ __field_names__ = ('created_at', 'email', 'id')
6635
6678
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6679
+ email = sgqlc.types.Field(String, graphql_name='email')
6636
6680
  id = sgqlc.types.Field(String, graphql_name='id')
6637
6681
 
6638
6682
 
6639
6683
  class MemberMinAggregate(sgqlc.types.Type):
6640
6684
  __schema__ = schema
6641
- __field_names__ = ('created_at', 'id')
6685
+ __field_names__ = ('created_at', 'email', 'id')
6642
6686
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
6687
+ email = sgqlc.types.Field(String, graphql_name='email')
6643
6688
  id = sgqlc.types.Field(String, graphql_name='id')
6644
6689
 
6645
6690
 
@@ -6734,7 +6779,7 @@ class MonthlyResetPeriodConfig(sgqlc.types.Type):
6734
6779
 
6735
6780
  class Mutation(sgqlc.types.Type):
6736
6781
  __schema__ = schema
6737
- __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')
6738
6783
  add_compatible_addons_to_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='addCompatibleAddonsToPlan', args=sgqlc.types.ArgDict((
6739
6784
  ('input', sgqlc.types.Arg(sgqlc.types.non_null(AddCompatibleAddonsToPlanInput), graphql_name='input', default=None)),
6740
6785
  ))
@@ -7067,6 +7112,10 @@ class Mutation(sgqlc.types.Type):
7067
7112
  )
7068
7113
  revoke_promotional_entitlement = sgqlc.types.Field(sgqlc.types.non_null('PromotionalEntitlement'), graphql_name='revokePromotionalEntitlement', args=sgqlc.types.ArgDict((
7069
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)),
7070
7119
  ))
7071
7120
  )
7072
7121
  set_base_plan_on_plan = sgqlc.types.Field(sgqlc.types.non_null('Plan'), graphql_name='setBasePlanOnPlan', args=sgqlc.types.ArgDict((
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.235.0
3
+ Version: 2.241.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=sw2sWHYGWPxLpmJ4YbY0KS-Yhn1NQsT10emjVADkic8,629001
6
- stigg_api_client-2.235.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
- stigg_api_client-2.235.0.dist-info/METADATA,sha256=8xjzuRaTxDs6q0zy40js6K64kaiq0PyTlcSg3pR8Qho,3198
8
- stigg_api_client-2.235.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
- stigg_api_client-2.235.0.dist-info/RECORD,,
5
+ stigg/generated/schema.py,sha256=hnx3fOLGdF2SSZFVpFntQcmm0qHayeMs44B3LKoODbA,631838
6
+ stigg_api_client-2.241.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
7
+ stigg_api_client-2.241.0.dist-info/METADATA,sha256=dM9MH_wvfsGDrHlE6_7KusZEv6uhY5fjdctOpeWKIpU,3198
8
+ stigg_api_client-2.241.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
9
+ stigg_api_client-2.241.0.dist-info/RECORD,,