stigg-api-client 3.93.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.93.0 → stigg_api_client-3.95.0}/PKG-INFO +1 -1
- {stigg_api_client-3.93.0 → stigg_api_client-3.95.0}/pyproject.toml +1 -1
- {stigg_api_client-3.93.0 → stigg_api_client-3.95.0}/stigg/generated/schema.py +42 -1
- {stigg_api_client-3.93.0 → stigg_api_client-3.95.0}/LICENSE +0 -0
- {stigg_api_client-3.93.0 → stigg_api_client-3.95.0}/README.md +0 -0
- {stigg_api_client-3.93.0 → stigg_api_client-3.95.0}/stigg/__init__.py +0 -0
- {stigg_api_client-3.93.0 → stigg_api_client-3.95.0}/stigg/client.py +0 -0
- {stigg_api_client-3.93.0 → stigg_api_client-3.95.0}/stigg/generated/__init__.py +0 -0
- {stigg_api_client-3.93.0 → stigg_api_client-3.95.0}/stigg/generated/operations.py +0 -0
|
@@ -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')
|
|
@@ -5830,6 +5845,28 @@ class CreditRate(sgqlc.types.Type):
|
|
|
5830
5845
|
custom_currency_id = sgqlc.types.Field(sgqlc.types.non_null(UUID), graphql_name='customCurrencyId')
|
|
5831
5846
|
|
|
5832
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
|
+
|
|
5833
5870
|
class CustomCurrency(sgqlc.types.Type):
|
|
5834
5871
|
__schema__ = schema
|
|
5835
5872
|
__field_names__ = ('additional_meta_data', 'created_at', 'currency_id', 'description', 'display_name', 'id', 'symbol', 'units', 'updated_at')
|
|
@@ -9610,7 +9647,7 @@ class PublishPackageResult(sgqlc.types.Type):
|
|
|
9610
9647
|
|
|
9611
9648
|
class Query(sgqlc.types.Type):
|
|
9612
9649
|
__schema__ = schema
|
|
9613
|
-
__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')
|
|
9614
9651
|
addon_associated_entities = sgqlc.types.Field(sgqlc.types.non_null(AddonAssociatedEntities), graphql_name='addonAssociatedEntities', args=sgqlc.types.ArgDict((
|
|
9615
9652
|
('input', sgqlc.types.Arg(sgqlc.types.non_null(AddonAssociatedEntitiesInput), graphql_name='input', default=None)),
|
|
9616
9653
|
))
|
|
@@ -9649,6 +9686,10 @@ class Query(sgqlc.types.Type):
|
|
|
9649
9686
|
)
|
|
9650
9687
|
credit_grants = sgqlc.types.Field(sgqlc.types.non_null(CreditGrantConnection), graphql_name='creditGrants', args=sgqlc.types.ArgDict((
|
|
9651
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)),
|
|
9652
9693
|
))
|
|
9653
9694
|
)
|
|
9654
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
|
|
File without changes
|