stigg-api-client 2.207.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.
- {stigg_api_client-2.207.0 → stigg_api_client-2.212.3}/PKG-INFO +1 -1
- {stigg_api_client-2.207.0 → stigg_api_client-2.212.3}/pyproject.toml +1 -1
- {stigg_api_client-2.207.0 → stigg_api_client-2.212.3}/stigg/generated/schema.py +50 -10
- {stigg_api_client-2.207.0 → stigg_api_client-2.212.3}/LICENSE +0 -0
- {stigg_api_client-2.207.0 → stigg_api_client-2.212.3}/README.md +0 -0
- {stigg_api_client-2.207.0 → stigg_api_client-2.212.3}/stigg/__init__.py +0 -0
- {stigg_api_client-2.207.0 → stigg_api_client-2.212.3}/stigg/client.py +0 -0
- {stigg_api_client-2.207.0 → stigg_api_client-2.212.3}/stigg/generated/__init__.py +0 -0
- {stigg_api_client-2.207.0 → stigg_api_client-2.212.3}/stigg/generated/operations.py +0 -0
|
@@ -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):
|
|
@@ -430,6 +435,11 @@ class SubscriptionCancellationTime(sgqlc.types.Enum):
|
|
|
430
435
|
__choices__ = ('END_OF_BILLING_PERIOD', 'IMMEDIATE', 'SPECIFIC_DATE')
|
|
431
436
|
|
|
432
437
|
|
|
438
|
+
class SubscriptionCouponStatus(sgqlc.types.Enum):
|
|
439
|
+
__schema__ = schema
|
|
440
|
+
__choices__ = ('ACTIVE', 'EXPIRED', 'REMOVED')
|
|
441
|
+
|
|
442
|
+
|
|
433
443
|
class SubscriptionDecisionStrategy(sgqlc.types.Enum):
|
|
434
444
|
__schema__ = schema
|
|
435
445
|
__choices__ = ('PREDEFINED_FREE_PLAN', 'PREDEFINED_TRIAL_PLAN', 'REQUESTED_PLAN', 'SKIPPED_SUBSCRIPTION_CREATION')
|
|
@@ -963,7 +973,7 @@ class ClearCustomerPersistentCacheInput(sgqlc.types.Input):
|
|
|
963
973
|
|
|
964
974
|
class CouponFilter(sgqlc.types.Input):
|
|
965
975
|
__schema__ = schema
|
|
966
|
-
__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')
|
|
967
977
|
and_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('CouponFilter')), graphql_name='and')
|
|
968
978
|
billing_id = sgqlc.types.Field('StringFieldComparison', graphql_name='billingId')
|
|
969
979
|
created_at = sgqlc.types.Field('DateFieldComparison', graphql_name='createdAt')
|
|
@@ -974,6 +984,7 @@ class CouponFilter(sgqlc.types.Input):
|
|
|
974
984
|
name = sgqlc.types.Field('StringFieldComparison', graphql_name='name')
|
|
975
985
|
or_ = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('CouponFilter')), graphql_name='or')
|
|
976
986
|
ref_id = sgqlc.types.Field('StringFieldComparison', graphql_name='refId')
|
|
987
|
+
source = sgqlc.types.Field('CouponSourceFilterComparison', graphql_name='source')
|
|
977
988
|
status = sgqlc.types.Field('CouponStatusFilterComparison', graphql_name='status')
|
|
978
989
|
type = sgqlc.types.Field('CouponTypeFilterComparison', graphql_name='type')
|
|
979
990
|
updated_at = sgqlc.types.Field('DateFieldComparison', graphql_name='updatedAt')
|
|
@@ -1008,6 +1019,13 @@ class CouponSort(sgqlc.types.Input):
|
|
|
1008
1019
|
nulls = sgqlc.types.Field(SortNulls, graphql_name='nulls')
|
|
1009
1020
|
|
|
1010
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
|
+
|
|
1011
1029
|
class CouponStatusFilterComparison(sgqlc.types.Input):
|
|
1012
1030
|
__schema__ = schema
|
|
1013
1031
|
__field_names__ = ('eq', 'gt', 'gte', 'i_like', 'in_', 'is_', 'is_not', 'like', 'lt', 'lte', 'neq', 'not_ilike', 'not_in', 'not_like')
|
|
@@ -1048,11 +1066,12 @@ class CouponTypeFilterComparison(sgqlc.types.Input):
|
|
|
1048
1066
|
|
|
1049
1067
|
class CreateCouponInput(sgqlc.types.Input):
|
|
1050
1068
|
__schema__ = schema
|
|
1051
|
-
__field_names__ = ('additional_meta_data', 'amounts_off', 'description', 'discount_value', 'environment_id', 'name', 'percent_off', 'ref_id', 'type')
|
|
1069
|
+
__field_names__ = ('additional_meta_data', 'amounts_off', 'description', 'discount_value', 'duration_in_months', 'environment_id', 'name', 'percent_off', 'ref_id', 'type')
|
|
1052
1070
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
1053
1071
|
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MoneyInputDTO')), graphql_name='amountsOff')
|
|
1054
1072
|
description = sgqlc.types.Field(String, graphql_name='description')
|
|
1055
1073
|
discount_value = sgqlc.types.Field(Float, graphql_name='discountValue')
|
|
1074
|
+
duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
|
|
1056
1075
|
environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
|
|
1057
1076
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
1058
1077
|
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
@@ -3639,12 +3658,23 @@ class SubscriptionCouponConfigurationInput(sgqlc.types.Input):
|
|
|
3639
3658
|
start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
|
|
3640
3659
|
|
|
3641
3660
|
|
|
3661
|
+
class SubscriptionCouponDiscountInput(sgqlc.types.Input):
|
|
3662
|
+
__schema__ = schema
|
|
3663
|
+
__field_names__ = ('amounts_off', 'description', 'duration_in_months', 'name', 'percent_off')
|
|
3664
|
+
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(MoneyInputDTO)), graphql_name='amountsOff')
|
|
3665
|
+
description = sgqlc.types.Field(String, graphql_name='description')
|
|
3666
|
+
duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
|
|
3667
|
+
name = sgqlc.types.Field(String, graphql_name='name')
|
|
3668
|
+
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
3669
|
+
|
|
3670
|
+
|
|
3642
3671
|
class SubscriptionCouponInput(sgqlc.types.Input):
|
|
3643
3672
|
__schema__ = schema
|
|
3644
|
-
__field_names__ = ('billing_coupon_id', 'configuration', 'coupon_id', 'promotion_code')
|
|
3673
|
+
__field_names__ = ('billing_coupon_id', 'configuration', 'coupon_id', 'discount', 'promotion_code')
|
|
3645
3674
|
billing_coupon_id = sgqlc.types.Field(String, graphql_name='billingCouponId')
|
|
3646
3675
|
configuration = sgqlc.types.Field(SubscriptionCouponConfigurationInput, graphql_name='configuration')
|
|
3647
3676
|
coupon_id = sgqlc.types.Field(String, graphql_name='couponId')
|
|
3677
|
+
discount = sgqlc.types.Field(SubscriptionCouponDiscountInput, graphql_name='discount')
|
|
3648
3678
|
promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
|
|
3649
3679
|
|
|
3650
3680
|
|
|
@@ -4848,7 +4878,7 @@ class CheckoutState(sgqlc.types.Type):
|
|
|
4848
4878
|
|
|
4849
4879
|
class Coupon(sgqlc.types.Type):
|
|
4850
4880
|
__schema__ = schema
|
|
4851
|
-
__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')
|
|
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')
|
|
4852
4882
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
4853
4883
|
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Money')), graphql_name='amountsOff')
|
|
4854
4884
|
billing_id = sgqlc.types.Field(String, graphql_name='billingId')
|
|
@@ -4861,12 +4891,14 @@ class Coupon(sgqlc.types.Type):
|
|
|
4861
4891
|
)
|
|
4862
4892
|
description = sgqlc.types.Field(String, graphql_name='description')
|
|
4863
4893
|
discount_value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='discountValue')
|
|
4894
|
+
duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
|
|
4864
4895
|
environment = sgqlc.types.Field('Environment', graphql_name='environment')
|
|
4865
4896
|
environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
|
|
4866
4897
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
4867
4898
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
4868
4899
|
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
4869
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')
|
|
4870
4902
|
status = sgqlc.types.Field(sgqlc.types.non_null(CouponStatus), graphql_name='status')
|
|
4871
4903
|
sync_states = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('SyncState')), graphql_name='syncStates')
|
|
4872
4904
|
type = sgqlc.types.Field(sgqlc.types.non_null(CouponType), graphql_name='type')
|
|
@@ -4875,7 +4907,7 @@ class Coupon(sgqlc.types.Type):
|
|
|
4875
4907
|
|
|
4876
4908
|
class CouponAggregateGroupBy(sgqlc.types.Type):
|
|
4877
4909
|
__schema__ = schema
|
|
4878
|
-
__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')
|
|
4879
4911
|
billing_id = sgqlc.types.Field(String, graphql_name='billingId')
|
|
4880
4912
|
created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
|
|
4881
4913
|
description = sgqlc.types.Field(String, graphql_name='description')
|
|
@@ -4883,6 +4915,7 @@ class CouponAggregateGroupBy(sgqlc.types.Type):
|
|
|
4883
4915
|
id = sgqlc.types.Field(String, graphql_name='id')
|
|
4884
4916
|
name = sgqlc.types.Field(String, graphql_name='name')
|
|
4885
4917
|
ref_id = sgqlc.types.Field(String, graphql_name='refId')
|
|
4918
|
+
source = sgqlc.types.Field(CouponSource, graphql_name='source')
|
|
4886
4919
|
status = sgqlc.types.Field(CouponStatus, graphql_name='status')
|
|
4887
4920
|
type = sgqlc.types.Field(CouponType, graphql_name='type')
|
|
4888
4921
|
updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
|
|
@@ -4904,7 +4937,7 @@ class CouponConnection(sgqlc.types.relay.Connection):
|
|
|
4904
4937
|
|
|
4905
4938
|
class CouponCountAggregate(sgqlc.types.Type):
|
|
4906
4939
|
__schema__ = schema
|
|
4907
|
-
__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')
|
|
4908
4941
|
billing_id = sgqlc.types.Field(Int, graphql_name='billingId')
|
|
4909
4942
|
created_at = sgqlc.types.Field(Int, graphql_name='createdAt')
|
|
4910
4943
|
description = sgqlc.types.Field(Int, graphql_name='description')
|
|
@@ -4912,6 +4945,7 @@ class CouponCountAggregate(sgqlc.types.Type):
|
|
|
4912
4945
|
id = sgqlc.types.Field(Int, graphql_name='id')
|
|
4913
4946
|
name = sgqlc.types.Field(Int, graphql_name='name')
|
|
4914
4947
|
ref_id = sgqlc.types.Field(Int, graphql_name='refId')
|
|
4948
|
+
source = sgqlc.types.Field(Int, graphql_name='source')
|
|
4915
4949
|
status = sgqlc.types.Field(Int, graphql_name='status')
|
|
4916
4950
|
type = sgqlc.types.Field(Int, graphql_name='type')
|
|
4917
4951
|
updated_at = sgqlc.types.Field(Int, graphql_name='updatedAt')
|
|
@@ -4926,7 +4960,7 @@ class CouponEdge(sgqlc.types.Type):
|
|
|
4926
4960
|
|
|
4927
4961
|
class CouponMaxAggregate(sgqlc.types.Type):
|
|
4928
4962
|
__schema__ = schema
|
|
4929
|
-
__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')
|
|
4930
4964
|
billing_id = sgqlc.types.Field(String, graphql_name='billingId')
|
|
4931
4965
|
created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
|
|
4932
4966
|
description = sgqlc.types.Field(String, graphql_name='description')
|
|
@@ -4934,6 +4968,7 @@ class CouponMaxAggregate(sgqlc.types.Type):
|
|
|
4934
4968
|
id = sgqlc.types.Field(String, graphql_name='id')
|
|
4935
4969
|
name = sgqlc.types.Field(String, graphql_name='name')
|
|
4936
4970
|
ref_id = sgqlc.types.Field(String, graphql_name='refId')
|
|
4971
|
+
source = sgqlc.types.Field(CouponSource, graphql_name='source')
|
|
4937
4972
|
status = sgqlc.types.Field(CouponStatus, graphql_name='status')
|
|
4938
4973
|
type = sgqlc.types.Field(CouponType, graphql_name='type')
|
|
4939
4974
|
updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
|
|
@@ -4941,7 +4976,7 @@ class CouponMaxAggregate(sgqlc.types.Type):
|
|
|
4941
4976
|
|
|
4942
4977
|
class CouponMinAggregate(sgqlc.types.Type):
|
|
4943
4978
|
__schema__ = schema
|
|
4944
|
-
__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')
|
|
4945
4980
|
billing_id = sgqlc.types.Field(String, graphql_name='billingId')
|
|
4946
4981
|
created_at = sgqlc.types.Field(DateTime, graphql_name='createdAt')
|
|
4947
4982
|
description = sgqlc.types.Field(String, graphql_name='description')
|
|
@@ -4949,6 +4984,7 @@ class CouponMinAggregate(sgqlc.types.Type):
|
|
|
4949
4984
|
id = sgqlc.types.Field(String, graphql_name='id')
|
|
4950
4985
|
name = sgqlc.types.Field(String, graphql_name='name')
|
|
4951
4986
|
ref_id = sgqlc.types.Field(String, graphql_name='refId')
|
|
4987
|
+
source = sgqlc.types.Field(CouponSource, graphql_name='source')
|
|
4952
4988
|
status = sgqlc.types.Field(CouponStatus, graphql_name='status')
|
|
4953
4989
|
type = sgqlc.types.Field(CouponType, graphql_name='type')
|
|
4954
4990
|
updated_at = sgqlc.types.Field(DateTime, graphql_name='updatedAt')
|
|
@@ -8823,14 +8859,18 @@ class SubscriptionAlreadyCanceledOrExpired(sgqlc.types.Type):
|
|
|
8823
8859
|
|
|
8824
8860
|
class SubscriptionCoupon(sgqlc.types.Type):
|
|
8825
8861
|
__schema__ = schema
|
|
8826
|
-
__field_names__ = ('amounts_off', 'discount_value', 'environment_id', 'id', 'name', 'percent_off', 'ref_id', 'type')
|
|
8862
|
+
__field_names__ = ('amounts_off', 'discount_value', 'duration_in_months', 'environment_id', 'expiration_date', 'id', 'name', 'percent_off', 'ref_id', 'start_date', 'status', 'type')
|
|
8827
8863
|
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Money)), graphql_name='amountsOff')
|
|
8828
8864
|
discount_value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='discountValue')
|
|
8865
|
+
duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
|
|
8829
8866
|
environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
|
|
8867
|
+
expiration_date = sgqlc.types.Field(DateTime, graphql_name='expirationDate')
|
|
8830
8868
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
8831
8869
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
8832
8870
|
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
8833
8871
|
ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
|
|
8872
|
+
start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
|
|
8873
|
+
status = sgqlc.types.Field(sgqlc.types.non_null(SubscriptionCouponStatus), graphql_name='status')
|
|
8834
8874
|
type = sgqlc.types.Field(sgqlc.types.non_null(CouponType), graphql_name='type')
|
|
8835
8875
|
|
|
8836
8876
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|