stigg-api-client 3.81.0__py3-none-any.whl → 3.84.1__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/operations.py +10 -0
- stigg/generated/schema.py +17 -1
- {stigg_api_client-3.81.0.dist-info → stigg_api_client-3.84.1.dist-info}/METADATA +1 -1
- stigg_api_client-3.84.1.dist-info/RECORD +9 -0
- stigg_api_client-3.81.0.dist-info/RECORD +0 -9
- {stigg_api_client-3.81.0.dist-info → stigg_api_client-3.84.1.dist-info}/LICENSE +0 -0
- {stigg_api_client-3.81.0.dist-info → stigg_api_client-3.84.1.dist-info}/WHEEL +0 -0
stigg/generated/operations.py
CHANGED
|
@@ -1902,6 +1902,15 @@ def query_get_entitlements():
|
|
|
1902
1902
|
return _op
|
|
1903
1903
|
|
|
1904
1904
|
|
|
1905
|
+
def query_get_entitlements_state():
|
|
1906
|
+
_op = sgqlc.operation.Operation(_schema_root.query_type, name='GetEntitlementsState', variables=dict(query=sgqlc.types.Arg(sgqlc.types.non_null(_schema.FetchEntitlementsQuery))))
|
|
1907
|
+
_op_entitlements_state = _op.entitlements_state(query=sgqlc.types.Variable('query'))
|
|
1908
|
+
_op_entitlements_state_entitlements = _op_entitlements_state.entitlements()
|
|
1909
|
+
_op_entitlements_state_entitlements.__fragment__(fragment_entitlement_fragment())
|
|
1910
|
+
_op_entitlements_state.access_denied_reason()
|
|
1911
|
+
return _op
|
|
1912
|
+
|
|
1913
|
+
|
|
1905
1914
|
def query_get_entitlement():
|
|
1906
1915
|
_op = sgqlc.operation.Operation(_schema_root.query_type, name='GetEntitlement', variables=dict(query=sgqlc.types.Arg(sgqlc.types.non_null(_schema.FetchEntitlementQuery))))
|
|
1907
1916
|
_op_entitlement = _op.entitlement(query=sgqlc.types.Variable('query'))
|
|
@@ -1990,6 +1999,7 @@ class Query:
|
|
|
1990
1999
|
get_customer_statistics = query_get_customer_statistics()
|
|
1991
2000
|
get_entitlement = query_get_entitlement()
|
|
1992
2001
|
get_entitlements = query_get_entitlements()
|
|
2002
|
+
get_entitlements_state = query_get_entitlements_state()
|
|
1993
2003
|
get_mock_paywall = query_get_mock_paywall()
|
|
1994
2004
|
get_paywall = query_get_paywall()
|
|
1995
2005
|
get_products = query_get_products()
|
stigg/generated/schema.py
CHANGED
|
@@ -183,6 +183,11 @@ class EntitlementResetPeriod(sgqlc.types.Enum):
|
|
|
183
183
|
__choices__ = ('DAY', 'HOUR', 'MONTH', 'WEEK', 'YEAR')
|
|
184
184
|
|
|
185
185
|
|
|
186
|
+
class EntitlementsStateAccessDeniedReason(sgqlc.types.Enum):
|
|
187
|
+
__schema__ = schema
|
|
188
|
+
__choices__ = ('CustomerNotFound', 'NoActiveSubscription')
|
|
189
|
+
|
|
190
|
+
|
|
186
191
|
class EntitySelectionMode(sgqlc.types.Enum):
|
|
187
192
|
__schema__ = schema
|
|
188
193
|
__choices__ = ('BLACK_LIST', 'WHITE_LIST')
|
|
@@ -6558,6 +6563,13 @@ class EntitlementWithSummary(sgqlc.types.Type):
|
|
|
6558
6563
|
usage_updated_at = sgqlc.types.Field(DateTime, graphql_name='usageUpdatedAt')
|
|
6559
6564
|
|
|
6560
6565
|
|
|
6566
|
+
class EntitlementsState(sgqlc.types.Type):
|
|
6567
|
+
__schema__ = schema
|
|
6568
|
+
__field_names__ = ('access_denied_reason', 'entitlements')
|
|
6569
|
+
access_denied_reason = sgqlc.types.Field(EntitlementsStateAccessDeniedReason, graphql_name='accessDeniedReason')
|
|
6570
|
+
entitlements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(Entitlement))), graphql_name='entitlements')
|
|
6571
|
+
|
|
6572
|
+
|
|
6561
6573
|
class EntitlementsUpdated(sgqlc.types.Type):
|
|
6562
6574
|
__schema__ = schema
|
|
6563
6575
|
__field_names__ = ('account_id', 'customer_id', 'entitlements', 'environment_id', 'resource_id')
|
|
@@ -9582,7 +9594,7 @@ class PublishPackageResult(sgqlc.types.Type):
|
|
|
9582
9594
|
|
|
9583
9595
|
class Query(sgqlc.types.Type):
|
|
9584
9596
|
__schema__ = schema
|
|
9585
|
-
__field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'credit_balance_summary', 'credit_grants', 'credits_ledger', 'current_environment', 'current_user', 'custom_currencies', 'customer_portal', 'customer_resources', 'customer_subscriptions', 'customers', 'does_feature_exist', 'dump_environment_for_merge_comparison', 'dump_environment_product_catalog', 'entitlement', 'entitlements', 'environments', 'event_logs', 'events_fields', 'experiment', 'experiments', 'feature_associated_latest_packages', 'feature_group', 'feature_group_associated_latest_packages', 'feature_groups', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_auth0_applications', 'get_aws_external_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_offer', 'get_package_group', 'get_paywall', 'get_plan_by_ref_id', 'get_subscription', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'is_account_email_domain_taken', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'offers', 'package_entitlements', 'package_group', 'package_groups', 'paywall', 'plans', 'products', 'promotional_entitlements', 'sdk_configuration', 'send_test_hook', 'stripe_customers', 'stripe_products', 'stripe_subscriptions', 'subscription_entitlements', 'subscription_migration_tasks', 'subscriptions', 'test_hook_data', 'trigger_workflow_with_test_event', 'usage_events', 'usage_history', 'usage_history_v2', 'usage_measurements', 'validate_merge_environment', 'verified_account_domains', 'widget_configuration', 'workflow_triggers')
|
|
9597
|
+
__field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'credit_balance_summary', 'credit_grants', 'credits_ledger', 'current_environment', 'current_user', 'custom_currencies', 'customer_portal', 'customer_resources', 'customer_subscriptions', 'customers', 'does_feature_exist', 'dump_environment_for_merge_comparison', 'dump_environment_product_catalog', 'entitlement', 'entitlements', 'entitlements_state', 'environments', 'event_logs', 'events_fields', 'experiment', 'experiments', 'feature_associated_latest_packages', 'feature_group', 'feature_group_associated_latest_packages', 'feature_groups', 'features', 'fetch_account', 'get_active_subscriptions', 'get_addon_by_ref_id', 'get_auth0_applications', 'get_aws_external_id', 'get_customer_by_ref_id', 'get_experiment_stats', 'get_offer', 'get_package_group', 'get_paywall', 'get_plan_by_ref_id', 'get_subscription', 'hook', 'hooks', 'import_integration_tasks', 'integrations', 'is_account_email_domain_taken', 'list_aws_product_dimensions', 'list_aws_products', 'members', 'mock_paywall', 'offers', 'package_entitlements', 'package_group', 'package_groups', 'paywall', 'plans', 'products', 'promotional_entitlements', 'sdk_configuration', 'send_test_hook', 'stripe_customers', 'stripe_products', 'stripe_subscriptions', 'subscription_entitlements', 'subscription_migration_tasks', 'subscriptions', 'test_hook_data', 'trigger_workflow_with_test_event', 'usage_events', 'usage_history', 'usage_history_v2', 'usage_measurements', 'validate_merge_environment', 'verified_account_domains', 'widget_configuration', 'workflow_triggers')
|
|
9586
9598
|
addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
|
|
9587
9599
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
|
|
9588
9600
|
))
|
|
@@ -9673,6 +9685,10 @@ class Query(sgqlc.types.Type):
|
|
|
9673
9685
|
)
|
|
9674
9686
|
entitlements = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(EntitlementWithSummary))), graphql_name='entitlements', args=sgqlc.types.ArgDict((
|
|
9675
9687
|
('query', sgqlc.types.Arg(sgqlc.types.non_null(FetchEntitlementsQuery), graphql_name='query', default=None)),
|
|
9688
|
+
))
|
|
9689
|
+
)
|
|
9690
|
+
entitlements_state = sgqlc.types.Field(sgqlc.types.non_null(EntitlementsState), graphql_name='entitlementsState', args=sgqlc.types.ArgDict((
|
|
9691
|
+
('query', sgqlc.types.Arg(sgqlc.types.non_null(FetchEntitlementsQuery), graphql_name='query', default=None)),
|
|
9676
9692
|
))
|
|
9677
9693
|
)
|
|
9678
9694
|
environments = sgqlc.types.Field(sgqlc.types.non_null(EnvironmentConnection), graphql_name='environments', args=sgqlc.types.ArgDict((
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
|
|
2
|
+
stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
|
|
3
|
+
stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
stigg/generated/operations.py,sha256=Bb8r4BqUxHn0OR4B5N9RepOBAogZCEgBF_kVMfvyMa4,89792
|
|
5
|
+
stigg/generated/schema.py,sha256=7aTatu0R7i_Rbx9qeSarFV7r5-YjNaSz-mFtMyBe2Gg,725366
|
|
6
|
+
stigg_api_client-3.84.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
+
stigg_api_client-3.84.1.dist-info/METADATA,sha256=-qdobCENDfbkeRMFHyGKGwopZwfGxdcM9MVNF09AwYU,3197
|
|
8
|
+
stigg_api_client-3.84.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
+
stigg_api_client-3.84.1.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
|
|
2
|
-
stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
|
|
3
|
-
stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
stigg/generated/operations.py,sha256=XtxE-2iRj1U7Ui86c8MlfCt385_6iwrQBFOH0cxRcnI,89191
|
|
5
|
-
stigg/generated/schema.py,sha256=y8PqzjeAAtG2-PZwfw6M7zhu2Wr2iI7jlxqa-mSLI2g,724529
|
|
6
|
-
stigg_api_client-3.81.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
-
stigg_api_client-3.81.0.dist-info/METADATA,sha256=ipGdr6WWNWR18mrXz2FnSTaj8-_uxcQKOVQZThnYjEs,3197
|
|
8
|
-
stigg_api_client-3.81.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
-
stigg_api_client-3.81.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|