stigg-api-client 2.198.1__tar.gz → 2.198.2__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client
3
- Version: 2.198.1
3
+ Version: 2.198.2
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "stigg-api-client"
3
- version = "2.198.1"
3
+ version = "2.198.2"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -12,10 +12,6 @@ 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()
19
15
  _frag.type()
20
16
  _frag.additional_meta_data()
21
17
  _frag.ref_id()
@@ -1048,16 +1048,14 @@ class CouponTypeFilterComparison(sgqlc.types.Input):
1048
1048
 
1049
1049
  class CreateCouponInput(sgqlc.types.Input):
1050
1050
  __schema__ = schema
1051
- __field_names__ = ('additional_meta_data', 'amounts_off', 'description', 'discount_value', 'environment_id', 'name', 'percent_off', 'ref_id', 'type')
1051
+ __field_names__ = ('additional_meta_data', 'description', 'discount_value', 'environment_id', 'name', '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')
1054
1053
  description = sgqlc.types.Field(String, graphql_name='description')
1055
- discount_value = sgqlc.types.Field(Float, graphql_name='discountValue')
1054
+ discount_value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='discountValue')
1056
1055
  environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
1057
1056
  name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
1058
- percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
1059
1057
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
1060
- type = sgqlc.types.Field(CouponType, graphql_name='type')
1058
+ type = sgqlc.types.Field(sgqlc.types.non_null(CouponType), graphql_name='type')
1061
1059
 
1062
1060
 
1063
1061
  class CreateEnvironment(sgqlc.types.Input):
@@ -4852,9 +4850,8 @@ class CheckoutState(sgqlc.types.Type):
4852
4850
 
4853
4851
  class Coupon(sgqlc.types.Type):
4854
4852
  __schema__ = schema
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')
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')
4856
4854
  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')
4858
4855
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4859
4856
  billing_link_url = sgqlc.types.Field(String, graphql_name='billingLinkUrl')
4860
4857
  created_at = sgqlc.types.Field(sgqlc.types.non_null(DateTime), graphql_name='createdAt')
@@ -4869,7 +4866,6 @@ class Coupon(sgqlc.types.Type):
4869
4866
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
4870
4867
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
4871
4868
  name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
4872
- percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
4873
4869
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
4874
4870
  status = sgqlc.types.Field(sgqlc.types.non_null(CouponStatus), graphql_name='status')
4875
4871
  sync_states = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SyncState')), graphql_name='syncStates')
@@ -8838,13 +8834,11 @@ class SubscriptionAlreadyCanceledOrExpired(sgqlc.types.Type):
8838
8834
 
8839
8835
  class SubscriptionCoupon(sgqlc.types.Type):
8840
8836
  __schema__ = schema
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')
8837
+ __field_names__ = ('discount_value', 'environment_id', 'id', 'name', 'ref_id', 'type')
8843
8838
  discount_value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='discountValue')
8844
8839
  environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
8845
8840
  id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
8846
8841
  name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
8847
- percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
8848
8842
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
8849
8843
  type = sgqlc.types.Field(sgqlc.types.non_null(CouponType), graphql_name='type')
8850
8844