stigg-api-client 2.209.0__tar.gz → 2.212.3__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.209.0
3
+ Version: 2.212.3
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.209.0"
3
+ version = "2.212.3"
4
4
  description = ""
5
5
  authors = ["Stigg <support@stigg.io>"]
6
6
  license = "STIGG SDK LICENSE"
@@ -98,7 +98,12 @@ class ConnectionCursor(sgqlc.types.Scalar):
98
98
 
99
99
  class CouponSortFields(sgqlc.types.Enum):
100
100
  __schema__ = schema
101
- __choices__ = ('billingId', 'createdAt', 'description', 'environmentId', 'id', 'name', 'refId', 'status', 'type', 'updatedAt')
101
+ __choices__ = ('billingId', 'createdAt', 'description', 'environmentId', 'id', 'name', 'refId', 'source', 'status', 'type', 'updatedAt')
102
+
103
+
104
+ class CouponSource(sgqlc.types.Enum):
105
+ __schema__ = schema
106
+ __choices__ = ('STIGG', 'STIGG_ADHOC', 'STRIPE')
102
107
 
103
108
 
104
109
  class CouponStatus(sgqlc.types.Enum):
@@ -968,7 +973,7 @@ class ClearCustomerPersistentCacheInput(sgqlc.types.Input):
968
973
 
969
974
  class CouponFilter(sgqlc.types.Input):
970
975
  __schema__ = schema
971
- __field_names__ = ('and_', 'billing_id', 'created_at', 'customers', 'description', 'environment_id', 'id', 'name', 'or_', 'ref_id', 'status', 'type', 'updated_at')
976
+ __field_names__ = ('and_', 'billing_id', 'created_at', 'customers', 'description', 'environment_id', 'id', 'name', 'or_', 'ref_id', 'source', 'status', 'type', 'updated_at')
972
977
  and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('CouponFilter')), graphql_name='and')
973
978
  billing_id = sgqlc.types.Field('StringFieldComparison', graphql_name='billingId')
974
979
  created_at = sgqlc.types.Field('DateFieldComparison', graphql_name='createdAt')
@@ -979,6 +984,7 @@ class CouponFilter(sgqlc.types.Input):
979
984
  name = sgqlc.types.Field('StringFieldComparison', graphql_name='name')
980
985
  or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('CouponFilter')), graphql_name='or')
981
986
  ref_id = sgqlc.types.Field('StringFieldComparison', graphql_name='refId')
987
+ source = sgqlc.types.Field('CouponSourceFilterComparison', graphql_name='source')
982
988
  status = sgqlc.types.Field('CouponStatusFilterComparison', graphql_name='status')
983
989
  type = sgqlc.types.Field('CouponTypeFilterComparison', graphql_name='type')
984
990
  updated_at = sgqlc.types.Field('DateFieldComparison', graphql_name='updatedAt')
@@ -1013,6 +1019,13 @@ class CouponSort(sgqlc.types.Input):
1013
1019
  nulls = sgqlc.types.Field(SortNulls, graphql_name='nulls')
1014
1020
 
1015
1021
 
1022
+ class CouponSourceFilterComparison(sgqlc.types.Input):
1023
+ __schema__ = schema
1024
+ __field_names__ = ('eq', 'in_')
1025
+ eq = sgqlc.types.Field(CouponSource, graphql_name='eq')
1026
+ in_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(CouponSource)), graphql_name='in')
1027
+
1028
+
1016
1029
  class CouponStatusFilterComparison(sgqlc.types.Input):
1017
1030
  __schema__ = schema
1018
1031
  __field_names__ = ('eq', 'gt', 'gte', 'i_like', 'in_', 'is_', 'is_not', 'like', 'lt', 'lte', 'neq', 'not_ilike', 'not_in', 'not_like')
@@ -3651,7 +3664,7 @@ class SubscriptionCouponDiscountInput(sgqlc.types.Input):
3651
3664
  amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(MoneyInputDTO)), graphql_name='amountsOff')
3652
3665
  description = sgqlc.types.Field(String, graphql_name='description')
3653
3666
  duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
3654
- name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
3667
+ name = sgqlc.types.Field(String, graphql_name='name')
3655
3668
  percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
3656
3669
 
3657
3670
 
@@ -4865,7 +4878,7 @@ class CheckoutState(sgqlc.types.Type):
4865
4878
 
4866
4879
  class Coupon(sgqlc.types.Type):
4867
4880
  __schema__ = schema
4868
- __field_names__ = ('additional_meta_data', 'amounts_off', 'billing_id', 'billing_link_url', 'created_at', 'customers', 'description', 'discount_value', 'duration_in_months', 'environment', 'environment_id', 'id', 'name', 'percent_off', 'ref_id', 'status', 'sync_states', 'type', 'updated_at')
4881
+ __field_names__ = ('additional_meta_data', 'amounts_off', 'billing_id', 'billing_link_url', 'created_at', 'customers', 'description', 'discount_value', 'duration_in_months', 'environment', 'environment_id', 'id', 'name', 'percent_off', 'ref_id', 'source', 'status', 'sync_states', 'type', 'updated_at')
4869
4882
  additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
4870
4883
  amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Money')), graphql_name='amountsOff')
4871
4884
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
@@ -4885,6 +4898,7 @@ class Coupon(sgqlc.types.Type):
4885
4898
  name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
4886
4899
  percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
4887
4900
  ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
4901
+ source = sgqlc.types.Field(sgqlc.types.non_null(CouponSource), graphql_name='source')
4888
4902
  status = sgqlc.types.Field(sgqlc.types.non_null(CouponStatus), graphql_name='status')
4889
4903
  sync_states = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SyncState')), graphql_name='syncStates')
4890
4904
  type = sgqlc.types.Field(sgqlc.types.non_null(CouponType), graphql_name='type')
@@ -4893,7 +4907,7 @@ class Coupon(sgqlc.types.Type):
4893
4907
 
4894
4908
  class CouponAggregateGroupBy(sgqlc.types.Type):
4895
4909
  __schema__ = schema
4896
- __field_names__ = ('billing_id', 'created_at', 'description', 'environment_id', 'id', 'name', 'ref_id', 'status', 'type', 'updated_at')
4910
+ __field_names__ = ('billing_id', 'created_at', 'description', 'environment_id', 'id', 'name', 'ref_id', 'source', 'status', 'type', 'updated_at')
4897
4911
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4898
4912
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4899
4913
  description = sgqlc.types.Field(String, graphql_name='description')
@@ -4901,6 +4915,7 @@ class CouponAggregateGroupBy(sgqlc.types.Type):
4901
4915
  id = sgqlc.types.Field(String, graphql_name='id')
4902
4916
  name = sgqlc.types.Field(String, graphql_name='name')
4903
4917
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
4918
+ source = sgqlc.types.Field(CouponSource, graphql_name='source')
4904
4919
  status = sgqlc.types.Field(CouponStatus, graphql_name='status')
4905
4920
  type = sgqlc.types.Field(CouponType, graphql_name='type')
4906
4921
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
@@ -4922,7 +4937,7 @@ class CouponConnection(sgqlc.types.relay.Connection):
4922
4937
 
4923
4938
  class CouponCountAggregate(sgqlc.types.Type):
4924
4939
  __schema__ = schema
4925
- __field_names__ = ('billing_id', 'created_at', 'description', 'environment_id', 'id', 'name', 'ref_id', 'status', 'type', 'updated_at')
4940
+ __field_names__ = ('billing_id', 'created_at', 'description', 'environment_id', 'id', 'name', 'ref_id', 'source', 'status', 'type', 'updated_at')
4926
4941
  billing_id = sgqlc.types.Field(Int, graphql_name='billingId')
4927
4942
  created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
4928
4943
  description = sgqlc.types.Field(Int, graphql_name='description')
@@ -4930,6 +4945,7 @@ class CouponCountAggregate(sgqlc.types.Type):
4930
4945
  id = sgqlc.types.Field(Int, graphql_name='id')
4931
4946
  name = sgqlc.types.Field(Int, graphql_name='name')
4932
4947
  ref_id = sgqlc.types.Field(Int, graphql_name='refId')
4948
+ source = sgqlc.types.Field(Int, graphql_name='source')
4933
4949
  status = sgqlc.types.Field(Int, graphql_name='status')
4934
4950
  type = sgqlc.types.Field(Int, graphql_name='type')
4935
4951
  updated_at = sgqlc.types.Field(Int, graphql_name='updatedAt')
@@ -4944,7 +4960,7 @@ class CouponEdge(sgqlc.types.Type):
4944
4960
 
4945
4961
  class CouponMaxAggregate(sgqlc.types.Type):
4946
4962
  __schema__ = schema
4947
- __field_names__ = ('billing_id', 'created_at', 'description', 'environment_id', 'id', 'name', 'ref_id', 'status', 'type', 'updated_at')
4963
+ __field_names__ = ('billing_id', 'created_at', 'description', 'environment_id', 'id', 'name', 'ref_id', 'source', 'status', 'type', 'updated_at')
4948
4964
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4949
4965
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4950
4966
  description = sgqlc.types.Field(String, graphql_name='description')
@@ -4952,6 +4968,7 @@ class CouponMaxAggregate(sgqlc.types.Type):
4952
4968
  id = sgqlc.types.Field(String, graphql_name='id')
4953
4969
  name = sgqlc.types.Field(String, graphql_name='name')
4954
4970
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
4971
+ source = sgqlc.types.Field(CouponSource, graphql_name='source')
4955
4972
  status = sgqlc.types.Field(CouponStatus, graphql_name='status')
4956
4973
  type = sgqlc.types.Field(CouponType, graphql_name='type')
4957
4974
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
@@ -4959,7 +4976,7 @@ class CouponMaxAggregate(sgqlc.types.Type):
4959
4976
 
4960
4977
  class CouponMinAggregate(sgqlc.types.Type):
4961
4978
  __schema__ = schema
4962
- __field_names__ = ('billing_id', 'created_at', 'description', 'environment_id', 'id', 'name', 'ref_id', 'status', 'type', 'updated_at')
4979
+ __field_names__ = ('billing_id', 'created_at', 'description', 'environment_id', 'id', 'name', 'ref_id', 'source', 'status', 'type', 'updated_at')
4963
4980
  billing_id = sgqlc.types.Field(String, graphql_name='billingId')
4964
4981
  created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
4965
4982
  description = sgqlc.types.Field(String, graphql_name='description')
@@ -4967,6 +4984,7 @@ class CouponMinAggregate(sgqlc.types.Type):
4967
4984
  id = sgqlc.types.Field(String, graphql_name='id')
4968
4985
  name = sgqlc.types.Field(String, graphql_name='name')
4969
4986
  ref_id = sgqlc.types.Field(String, graphql_name='refId')
4987
+ source = sgqlc.types.Field(CouponSource, graphql_name='source')
4970
4988
  status = sgqlc.types.Field(CouponStatus, graphql_name='status')
4971
4989
  type = sgqlc.types.Field(CouponType, graphql_name='type')
4972
4990
  updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')