stigg-api-client 3.88.0__tar.gz → 3.95.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.
- {stigg_api_client-3.88.0 → stigg_api_client-3.95.0}/PKG-INFO +1 -1
- {stigg_api_client-3.88.0 → stigg_api_client-3.95.0}/pyproject.toml +1 -1
- {stigg_api_client-3.88.0 → stigg_api_client-3.95.0}/stigg/generated/operations.py +6 -1
- {stigg_api_client-3.88.0 → stigg_api_client-3.95.0}/stigg/generated/schema.py +60 -3
- {stigg_api_client-3.88.0 → stigg_api_client-3.95.0}/LICENSE +0 -0
- {stigg_api_client-3.88.0 → stigg_api_client-3.95.0}/README.md +0 -0
- {stigg_api_client-3.88.0 → stigg_api_client-3.95.0}/stigg/__init__.py +0 -0
- {stigg_api_client-3.88.0 → stigg_api_client-3.95.0}/stigg/client.py +0 -0
- {stigg_api_client-3.88.0 → stigg_api_client-3.95.0}/stigg/generated/__init__.py +0 -0
|
@@ -1998,7 +1998,12 @@ def query_get_credit_balance():
|
|
|
1998
1998
|
def query_get_credit_grants():
|
|
1999
1999
|
_op = sgqlc.operation.Operation(_schema_root.query_type, name='GetCreditGrants', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.GetCreditGrantsInput))))
|
|
2000
2000
|
_op_credit_grants = _op.credit_grants(input=sgqlc.types.Variable('input'))
|
|
2001
|
-
_op_credit_grants.
|
|
2001
|
+
_op_credit_grants_page_info = _op_credit_grants.page_info()
|
|
2002
|
+
_op_credit_grants_page_info.__fragment__(fragment_page_info_fragment())
|
|
2003
|
+
_op_credit_grants_edges = _op_credit_grants.edges()
|
|
2004
|
+
_op_credit_grants_edges_node = _op_credit_grants_edges.node()
|
|
2005
|
+
_op_credit_grants_edges_node.__fragment__(fragment_credit_grant_fragment())
|
|
2006
|
+
_op_credit_grants.total_count()
|
|
2002
2007
|
return _op
|
|
2003
2008
|
|
|
2004
2009
|
|
|
@@ -136,6 +136,11 @@ class CreditLedgerEventType(sgqlc.types.Enum):
|
|
|
136
136
|
__choices__ = ('CREDITS_CONSUMED', 'CREDITS_EXPIRED', 'CREDITS_GRANTED')
|
|
137
137
|
|
|
138
138
|
|
|
139
|
+
class CreditUsageTimeRange(sgqlc.types.Enum):
|
|
140
|
+
__schema__ = schema
|
|
141
|
+
__choices__ = ('LAST_DAY', 'LAST_MONTH', 'LAST_WEEK', 'LAST_YEAR')
|
|
142
|
+
|
|
143
|
+
|
|
139
144
|
class Currency(sgqlc.types.Enum):
|
|
140
145
|
__schema__ = schema
|
|
141
146
|
__choices__ = ('AED', 'ALL', 'AMD', 'ANG', 'AUD', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BIF', 'BMD', 'BND', 'BRL', 'BSD', 'BWP', 'BYN', 'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ETB', 'EUR', 'FJD', 'GBP', 'GEL', 'GIP', 'GMD', 'GNF', 'GYD', 'HKD', 'HRK', 'HTG', 'IDR', 'ILS', 'INR', 'ISK', 'JMD', 'JPY', 'KES', 'KGS', 'KHR', 'KMF', 'KRW', 'KYD', 'KZT', 'LBP', 'LKR', 'LRD', 'LSL', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRO', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NOK', 'NPR', 'NZD', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SEK', 'SGD', 'SLE', 'SLL', 'SOS', 'SZL', 'THB', 'TJS', 'TOP', 'TRY', 'TTD', 'TZS', 'UAH', 'UGX', 'USD', 'UZS', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW')
|
|
@@ -1404,6 +1409,16 @@ class CreditRateInput(sgqlc.types.Input):
|
|
|
1404
1409
|
custom_currency_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='customCurrencyId')
|
|
1405
1410
|
|
|
1406
1411
|
|
|
1412
|
+
class CreditUsageInput(sgqlc.types.Input):
|
|
1413
|
+
__schema__ = schema
|
|
1414
|
+
__field_names__ = ('currency_id', 'customer_id', 'environment_id', 'resource_id', 'time_range')
|
|
1415
|
+
currency_id = sgqlc.types.Field(String, graphql_name='currencyId')
|
|
1416
|
+
customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
|
|
1417
|
+
environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
|
|
1418
|
+
resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
|
|
1419
|
+
time_range = sgqlc.types.Field(CreditUsageTimeRange, graphql_name='timeRange')
|
|
1420
|
+
|
|
1421
|
+
|
|
1407
1422
|
class CursorPaging(sgqlc.types.Input):
|
|
1408
1423
|
__schema__ = schema
|
|
1409
1424
|
__field_names__ = ('after', 'before', 'first', 'last')
|
|
@@ -2386,10 +2401,11 @@ class GetAuth0ApplicationsInput(sgqlc.types.Input):
|
|
|
2386
2401
|
|
|
2387
2402
|
class GetCreditGrantsInput(sgqlc.types.Input):
|
|
2388
2403
|
__schema__ = schema
|
|
2389
|
-
__field_names__ = ('currency_id', 'customer_id', 'environment_id', 'resource_id')
|
|
2404
|
+
__field_names__ = ('currency_id', 'customer_id', 'environment_id', 'paging', 'resource_id')
|
|
2390
2405
|
currency_id = sgqlc.types.Field(String, graphql_name='currencyId')
|
|
2391
2406
|
customer_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='customerId')
|
|
2392
2407
|
environment_id = sgqlc.types.Field(UUID, graphql_name='environmentId')
|
|
2408
|
+
paging = sgqlc.types.Field(CursorPaging, graphql_name='paging')
|
|
2393
2409
|
resource_id = sgqlc.types.Field(String, graphql_name='resourceId')
|
|
2394
2410
|
|
|
2395
2411
|
|
|
@@ -5787,6 +5803,21 @@ class CreditGrant(sgqlc.types.Type):
|
|
|
5787
5803
|
updated_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='updatedAt')
|
|
5788
5804
|
|
|
5789
5805
|
|
|
5806
|
+
class CreditGrantConnection(sgqlc.types.relay.Connection):
|
|
5807
|
+
__schema__ = schema
|
|
5808
|
+
__field_names__ = ('edges', 'page_info', 'total_count')
|
|
5809
|
+
edges = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('CreditGrantEdge'))), graphql_name='edges')
|
|
5810
|
+
page_info = sgqlc.types.Field(sgqlc.types.non_null('PageInfo'), graphql_name='pageInfo')
|
|
5811
|
+
total_count = sgqlc.types.Field(sgqlc.types.non_null(Int), graphql_name='totalCount')
|
|
5812
|
+
|
|
5813
|
+
|
|
5814
|
+
class CreditGrantEdge(sgqlc.types.Type):
|
|
5815
|
+
__schema__ = schema
|
|
5816
|
+
__field_names__ = ('cursor', 'node')
|
|
5817
|
+
cursor = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='cursor')
|
|
5818
|
+
node = sgqlc.types.Field(sgqlc.types.non_null(CreditGrant), graphql_name='node')
|
|
5819
|
+
|
|
5820
|
+
|
|
5790
5821
|
class CreditLedger(sgqlc.types.Type):
|
|
5791
5822
|
__schema__ = schema
|
|
5792
5823
|
__field_names__ = ('events',)
|
|
@@ -5814,6 +5845,28 @@ class CreditRate(sgqlc.types.Type):
|
|
|
5814
5845
|
custom_currency_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='customCurrencyId')
|
|
5815
5846
|
|
|
5816
5847
|
|
|
5848
|
+
class CreditUsage(sgqlc.types.Type):
|
|
5849
|
+
__schema__ = schema
|
|
5850
|
+
__field_names__ = ('series',)
|
|
5851
|
+
series = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null('CreditUsageSeries'))), graphql_name='series')
|
|
5852
|
+
|
|
5853
|
+
|
|
5854
|
+
class CreditUsagePoint(sgqlc.types.Type):
|
|
5855
|
+
__schema__ = schema
|
|
5856
|
+
__field_names__ = ('timestamp', 'value')
|
|
5857
|
+
timestamp = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='timestamp')
|
|
5858
|
+
value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='value')
|
|
5859
|
+
|
|
5860
|
+
|
|
5861
|
+
class CreditUsageSeries(sgqlc.types.Type):
|
|
5862
|
+
__schema__ = schema
|
|
5863
|
+
__field_names__ = ('feature_id', 'feature_name', 'points', 'total_credits')
|
|
5864
|
+
feature_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureId')
|
|
5865
|
+
feature_name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='featureName')
|
|
5866
|
+
points = sgqlc.types.Field(sgqlc.types.non_null(sgqlc.types.list_of(sgqlc.types.non_null(CreditUsagePoint))), graphql_name='points')
|
|
5867
|
+
total_credits = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='totalCredits')
|
|
5868
|
+
|
|
5869
|
+
|
|
5817
5870
|
class CustomCurrency(sgqlc.types.Type):
|
|
5818
5871
|
__schema__ = schema
|
|
5819
5872
|
__field_names__ = ('additional_meta_data', 'created_at', 'currency_id', 'description', 'display_name', 'id', 'symbol', 'units', 'updated_at')
|
|
@@ -9594,7 +9647,7 @@ class PublishPackageResult(sgqlc.types.Type):
|
|
|
9594
9647
|
|
|
9595
9648
|
class Query(sgqlc.types.Type):
|
|
9596
9649
|
__schema__ = schema
|
|
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')
|
|
9650
|
+
__field_names__ = ('addon_associated_entities', 'addons', 'aggregated_events_by_customer', 'cached_entitlements', 'checkout_state', 'coupon', 'coupons', 'credit_balance_summary', 'credit_grants', 'credit_usage', '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')
|
|
9598
9651
|
addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
|
|
9599
9652
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
|
|
9600
9653
|
))
|
|
@@ -9631,8 +9684,12 @@ class Query(sgqlc.types.Type):
|
|
|
9631
9684
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(CreditBalanceSummaryInput), graphql_name='input', default=None)),
|
|
9632
9685
|
))
|
|
9633
9686
|
)
|
|
9634
|
-
credit_grants = sgqlc.types.Field(sgqlc.types.non_null(
|
|
9687
|
+
credit_grants = sgqlc.types.Field(sgqlc.types.non_null(CreditGrantConnection), graphql_name='creditGrants', args=sgqlc.types.ArgDict((
|
|
9635
9688
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(GetCreditGrantsInput), graphql_name='input', default=None)),
|
|
9689
|
+
))
|
|
9690
|
+
)
|
|
9691
|
+
credit_usage = sgqlc.types.Field(sgqlc.types.non_null(CreditUsage), graphql_name='creditUsage', args=sgqlc.types.ArgDict((
|
|
9692
|
+
('input', sgqlc.types.Arg(sgqlc.types.non_null(CreditUsageInput), graphql_name='input', default=None)),
|
|
9636
9693
|
))
|
|
9637
9694
|
)
|
|
9638
9695
|
credits_ledger = sgqlc.types.Field(sgqlc.types.non_null(CreditLedger), graphql_name='creditsLedger', args=sgqlc.types.ArgDict((
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|