stigg-api-client 2.198.2__tar.gz → 2.199.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-2.198.2 → stigg_api_client-2.199.0}/PKG-INFO +1 -1
- {stigg_api_client-2.198.2 → stigg_api_client-2.199.0}/pyproject.toml +1 -1
- {stigg_api_client-2.198.2 → stigg_api_client-2.199.0}/stigg/generated/operations.py +4 -0
- {stigg_api_client-2.198.2 → stigg_api_client-2.199.0}/stigg/generated/schema.py +11 -5
- {stigg_api_client-2.198.2 → stigg_api_client-2.199.0}/LICENSE +0 -0
- {stigg_api_client-2.198.2 → stigg_api_client-2.199.0}/README.md +0 -0
- {stigg_api_client-2.198.2 → stigg_api_client-2.199.0}/stigg/__init__.py +0 -0
- {stigg_api_client-2.198.2 → stigg_api_client-2.199.0}/stigg/client.py +0 -0
- {stigg_api_client-2.198.2 → stigg_api_client-2.199.0}/stigg/generated/__init__.py +0 -0
|
@@ -12,6 +12,10 @@ def fragment_coupon_fragment():
|
|
|
12
12
|
_frag = sgqlc.operation.Fragment(_schema.Coupon, 'CouponFragment')
|
|
13
13
|
_frag.id()
|
|
14
14
|
_frag.discount_value()
|
|
15
|
+
_frag.percent_off()
|
|
16
|
+
_frag_amounts_off = _frag.amounts_off()
|
|
17
|
+
_frag_amounts_off.amount()
|
|
18
|
+
_frag_amounts_off.currency()
|
|
15
19
|
_frag.type()
|
|
16
20
|
_frag.additional_meta_data()
|
|
17
21
|
_frag.ref_id()
|
|
@@ -1048,14 +1048,16 @@ class CouponTypeFilterComparison(sgqlc.types.Input):
|
|
|
1048
1048
|
|
|
1049
1049
|
class CreateCouponInput(sgqlc.types.Input):
|
|
1050
1050
|
__schema__ = schema
|
|
1051
|
-
__field_names__ = ('additional_meta_data', 'description', 'discount_value', 'environment_id', 'name', 'ref_id', 'type')
|
|
1051
|
+
__field_names__ = ('additional_meta_data', 'amounts_off', 'description', 'discount_value', 'environment_id', 'name', 'percent_off', 'ref_id', 'type')
|
|
1052
1052
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
1053
|
+
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MoneyInputDTO')), graphql_name='amountsOff')
|
|
1053
1054
|
description = sgqlc.types.Field(String, graphql_name='description')
|
|
1054
|
-
discount_value = sgqlc.types.Field(
|
|
1055
|
+
discount_value = sgqlc.types.Field(Float, graphql_name='discountValue')
|
|
1055
1056
|
environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
|
|
1056
1057
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
1058
|
+
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
1057
1059
|
ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
|
|
1058
|
-
type = sgqlc.types.Field(
|
|
1060
|
+
type = sgqlc.types.Field(CouponType, graphql_name='type')
|
|
1059
1061
|
|
|
1060
1062
|
|
|
1061
1063
|
class CreateEnvironment(sgqlc.types.Input):
|
|
@@ -4850,8 +4852,9 @@ class CheckoutState(sgqlc.types.Type):
|
|
|
4850
4852
|
|
|
4851
4853
|
class Coupon(sgqlc.types.Type):
|
|
4852
4854
|
__schema__ = schema
|
|
4853
|
-
__field_names__ = ('additional_meta_data', 'billing_id', 'billing_link_url', 'created_at', 'customers', 'description', 'discount_value', 'environment', 'environment_id', 'id', 'name', 'ref_id', 'status', 'sync_states', 'type', 'updated_at')
|
|
4855
|
+
__field_names__ = ('additional_meta_data', 'amounts_off', 'billing_id', 'billing_link_url', 'created_at', 'customers', 'description', 'discount_value', 'environment', 'environment_id', 'id', 'name', 'percent_off', 'ref_id', 'status', 'sync_states', 'type', 'updated_at')
|
|
4854
4856
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
4857
|
+
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Money')), graphql_name='amountsOff')
|
|
4855
4858
|
billing_id = sgqlc.types.Field(String, graphql_name='billingId')
|
|
4856
4859
|
billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
|
|
4857
4860
|
created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
|
|
@@ -4866,6 +4869,7 @@ class Coupon(sgqlc.types.Type):
|
|
|
4866
4869
|
environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
|
|
4867
4870
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
4868
4871
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
4872
|
+
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
4869
4873
|
ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
|
|
4870
4874
|
status = sgqlc.types.Field(sgqlc.types.non_null(CouponStatus), graphql_name='status')
|
|
4871
4875
|
sync_states = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SyncState')), graphql_name='syncStates')
|
|
@@ -8834,11 +8838,13 @@ class SubscriptionAlreadyCanceledOrExpired(sgqlc.types.Type):
|
|
|
8834
8838
|
|
|
8835
8839
|
class SubscriptionCoupon(sgqlc.types.Type):
|
|
8836
8840
|
__schema__ = schema
|
|
8837
|
-
__field_names__ = ('discount_value', 'environment_id', 'id', 'name', 'ref_id', 'type')
|
|
8841
|
+
__field_names__ = ('amounts_off', 'discount_value', 'environment_id', 'id', 'name', 'percent_off', 'ref_id', 'type')
|
|
8842
|
+
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Money)), graphql_name='amountsOff')
|
|
8838
8843
|
discount_value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='discountValue')
|
|
8839
8844
|
environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
|
|
8840
8845
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
8841
8846
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
8847
|
+
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
8842
8848
|
ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
|
|
8843
8849
|
type = sgqlc.types.Field(sgqlc.types.non_null(CouponType), graphql_name='type')
|
|
8844
8850
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|