stigg-api-client 0.749.6__tar.gz → 1.2.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-0.749.6 → stigg_api_client-1.2.0}/PKG-INFO +1 -1
- {stigg_api_client-0.749.6 → stigg_api_client-1.2.0}/pyproject.toml +1 -1
- {stigg_api_client-0.749.6 → stigg_api_client-1.2.0}/stigg/client.py +1 -1
- {stigg_api_client-0.749.6 → stigg_api_client-1.2.0}/stigg/generated/operations.py +3 -0
- {stigg_api_client-0.749.6 → stigg_api_client-1.2.0}/stigg/generated/schema.py +9 -6
- {stigg_api_client-0.749.6 → stigg_api_client-1.2.0}/LICENSE +0 -0
- {stigg_api_client-0.749.6 → stigg_api_client-1.2.0}/README.md +0 -0
- {stigg_api_client-0.749.6 → stigg_api_client-1.2.0}/stigg/__init__.py +0 -0
- {stigg_api_client-0.749.6 → stigg_api_client-1.2.0}/stigg/generated/__init__.py +0 -0
|
@@ -100,6 +100,6 @@ class Stigg(Operations):
|
|
|
100
100
|
edge_api_url: str = PRODUCTION_EDGE_API_URL,
|
|
101
101
|
request_timeout: int = 30,
|
|
102
102
|
) -> StiggClient:
|
|
103
|
-
headers = {'X-API-KEY': f'{api_key}'}
|
|
103
|
+
headers = {'X-API-KEY': f'{api_key}', 'X-API-VERSION': '1'}
|
|
104
104
|
endpoint = RequestsEndpoint(url=api_url, base_headers=headers, timeout=request_timeout)
|
|
105
105
|
return StiggClient(endpoint, enable_edge, edge_api_url)
|
|
@@ -36,6 +36,9 @@ def fragment_price_tier_fragment():
|
|
|
36
36
|
_frag_unit_price = _frag.unit_price()
|
|
37
37
|
_frag_unit_price.amount()
|
|
38
38
|
_frag_unit_price.currency()
|
|
39
|
+
_frag_flat_price = _frag.flat_price()
|
|
40
|
+
_frag_flat_price.amount()
|
|
41
|
+
_frag_flat_price.currency()
|
|
39
42
|
return _frag
|
|
40
43
|
|
|
41
44
|
|
|
@@ -432,7 +432,7 @@ class TaskType(sgqlc.types.Enum):
|
|
|
432
432
|
|
|
433
433
|
class TiersMode(sgqlc.types.Enum):
|
|
434
434
|
__schema__ = schema
|
|
435
|
-
__choices__ = ('GRADUATED', 'VOLUME'
|
|
435
|
+
__choices__ = ('GRADUATED', 'VOLUME')
|
|
436
436
|
|
|
437
437
|
|
|
438
438
|
class TrialPeriodUnits(sgqlc.types.Enum):
|
|
@@ -2220,12 +2220,13 @@ class PackageEntitlementUpdateInput(sgqlc.types.Input):
|
|
|
2220
2220
|
|
|
2221
2221
|
class PackagePricingInput(sgqlc.types.Input):
|
|
2222
2222
|
__schema__ = schema
|
|
2223
|
-
__field_names__ = ('environment_id', 'package_id', 'pricing_model', 'pricing_models', 'pricing_type')
|
|
2223
|
+
__field_names__ = ('environment_id', 'package_id', 'pricing_model', 'pricing_models', 'pricing_type', 'skip_patch_volume_bulk')
|
|
2224
2224
|
environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
|
|
2225
2225
|
package_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='packageId')
|
|
2226
2226
|
pricing_model = sgqlc.types.Field('PricingModelCreateInput', graphql_name='pricingModel')
|
|
2227
2227
|
pricing_models = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('PricingModelCreateInput')), graphql_name='pricingModels')
|
|
2228
2228
|
pricing_type = sgqlc.types.Field(sgqlc.types.non_null(PricingType), graphql_name='pricingType')
|
|
2229
|
+
skip_patch_volume_bulk = sgqlc.types.Field(Boolean, graphql_name='skipPatchVolumeBulk')
|
|
2229
2230
|
|
|
2230
2231
|
|
|
2231
2232
|
class PackagePublishInput(sgqlc.types.Input):
|
|
@@ -2469,8 +2470,9 @@ class PriceSort(sgqlc.types.Input):
|
|
|
2469
2470
|
|
|
2470
2471
|
class PriceTierInput(sgqlc.types.Input):
|
|
2471
2472
|
__schema__ = schema
|
|
2472
|
-
__field_names__ = ('unit_price', 'up_to')
|
|
2473
|
-
|
|
2473
|
+
__field_names__ = ('flat_price', 'unit_price', 'up_to')
|
|
2474
|
+
flat_price = sgqlc.types.Field(MoneyInputDTO, graphql_name='flatPrice')
|
|
2475
|
+
unit_price = sgqlc.types.Field(MoneyInputDTO, graphql_name='unitPrice')
|
|
2474
2476
|
up_to = sgqlc.types.Field(Float, graphql_name='upTo')
|
|
2475
2477
|
|
|
2476
2478
|
|
|
@@ -6858,8 +6860,9 @@ class PriceNotFoundError(sgqlc.types.Type):
|
|
|
6858
6860
|
|
|
6859
6861
|
class PriceTier(sgqlc.types.Type):
|
|
6860
6862
|
__schema__ = schema
|
|
6861
|
-
__field_names__ = ('unit_price', 'up_to')
|
|
6862
|
-
|
|
6863
|
+
__field_names__ = ('flat_price', 'unit_price', 'up_to')
|
|
6864
|
+
flat_price = sgqlc.types.Field(Money, graphql_name='flatPrice')
|
|
6865
|
+
unit_price = sgqlc.types.Field(Money, graphql_name='unitPrice')
|
|
6863
6866
|
up_to = sgqlc.types.Field(Float, graphql_name='upTo')
|
|
6864
6867
|
|
|
6865
6868
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|