stigg-api-client 2.207.0__py3-none-any.whl → 2.209.0__py3-none-any.whl
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/generated/schema.py +26 -4
- {stigg_api_client-2.207.0.dist-info → stigg_api_client-2.209.0.dist-info}/METADATA +1 -1
- {stigg_api_client-2.207.0.dist-info → stigg_api_client-2.209.0.dist-info}/RECORD +5 -5
- {stigg_api_client-2.207.0.dist-info → stigg_api_client-2.209.0.dist-info}/LICENSE +0 -0
- {stigg_api_client-2.207.0.dist-info → stigg_api_client-2.209.0.dist-info}/WHEEL +0 -0
stigg/generated/schema.py
CHANGED
|
@@ -430,6 +430,11 @@ class SubscriptionCancellationTime(sgqlc.types.Enum):
|
|
|
430
430
|
__choices__ = ('END_OF_BILLING_PERIOD', 'IMMEDIATE', 'SPECIFIC_DATE')
|
|
431
431
|
|
|
432
432
|
|
|
433
|
+
class SubscriptionCouponStatus(sgqlc.types.Enum):
|
|
434
|
+
__schema__ = schema
|
|
435
|
+
__choices__ = ('ACTIVE', 'EXPIRED', 'REMOVED')
|
|
436
|
+
|
|
437
|
+
|
|
433
438
|
class SubscriptionDecisionStrategy(sgqlc.types.Enum):
|
|
434
439
|
__schema__ = schema
|
|
435
440
|
__choices__ = ('PREDEFINED_FREE_PLAN', 'PREDEFINED_TRIAL_PLAN', 'REQUESTED_PLAN', 'SKIPPED_SUBSCRIPTION_CREATION')
|
|
@@ -1048,11 +1053,12 @@ class CouponTypeFilterComparison(sgqlc.types.Input):
|
|
|
1048
1053
|
|
|
1049
1054
|
class CreateCouponInput(sgqlc.types.Input):
|
|
1050
1055
|
__schema__ = schema
|
|
1051
|
-
__field_names__ = ('additional_meta_data', 'amounts_off', 'description', 'discount_value', 'environment_id', 'name', 'percent_off', 'ref_id', 'type')
|
|
1056
|
+
__field_names__ = ('additional_meta_data', 'amounts_off', 'description', 'discount_value', 'duration_in_months', 'environment_id', 'name', 'percent_off', 'ref_id', 'type')
|
|
1052
1057
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
1053
1058
|
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('MoneyInputDTO')), graphql_name='amountsOff')
|
|
1054
1059
|
description = sgqlc.types.Field(String, graphql_name='description')
|
|
1055
1060
|
discount_value = sgqlc.types.Field(Float, graphql_name='discountValue')
|
|
1061
|
+
duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
|
|
1056
1062
|
environment_id = sgqlc.types.Field(String, graphql_name='environmentId')
|
|
1057
1063
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
1058
1064
|
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
@@ -3639,12 +3645,23 @@ class SubscriptionCouponConfigurationInput(sgqlc.types.Input):
|
|
|
3639
3645
|
start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
|
|
3640
3646
|
|
|
3641
3647
|
|
|
3648
|
+
class SubscriptionCouponDiscountInput(sgqlc.types.Input):
|
|
3649
|
+
__schema__ = schema
|
|
3650
|
+
__field_names__ = ('amounts_off', 'description', 'duration_in_months', 'name', 'percent_off')
|
|
3651
|
+
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(MoneyInputDTO)), graphql_name='amountsOff')
|
|
3652
|
+
description = sgqlc.types.Field(String, graphql_name='description')
|
|
3653
|
+
duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
|
|
3654
|
+
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
3655
|
+
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
3656
|
+
|
|
3657
|
+
|
|
3642
3658
|
class SubscriptionCouponInput(sgqlc.types.Input):
|
|
3643
3659
|
__schema__ = schema
|
|
3644
|
-
__field_names__ = ('billing_coupon_id', 'configuration', 'coupon_id', 'promotion_code')
|
|
3660
|
+
__field_names__ = ('billing_coupon_id', 'configuration', 'coupon_id', 'discount', 'promotion_code')
|
|
3645
3661
|
billing_coupon_id = sgqlc.types.Field(String, graphql_name='billingCouponId')
|
|
3646
3662
|
configuration = sgqlc.types.Field(SubscriptionCouponConfigurationInput, graphql_name='configuration')
|
|
3647
3663
|
coupon_id = sgqlc.types.Field(String, graphql_name='couponId')
|
|
3664
|
+
discount = sgqlc.types.Field(SubscriptionCouponDiscountInput, graphql_name='discount')
|
|
3648
3665
|
promotion_code = sgqlc.types.Field(String, graphql_name='promotionCode')
|
|
3649
3666
|
|
|
3650
3667
|
|
|
@@ -4848,7 +4865,7 @@ class CheckoutState(sgqlc.types.Type):
|
|
|
4848
4865
|
|
|
4849
4866
|
class Coupon(sgqlc.types.Type):
|
|
4850
4867
|
__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')
|
|
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')
|
|
4852
4869
|
additional_meta_data = sgqlc.types.Field(JSON, graphql_name='additionalMetaData')
|
|
4853
4870
|
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null('Money')), graphql_name='amountsOff')
|
|
4854
4871
|
billing_id = sgqlc.types.Field(String, graphql_name='billingId')
|
|
@@ -4861,6 +4878,7 @@ class Coupon(sgqlc.types.Type):
|
|
|
4861
4878
|
)
|
|
4862
4879
|
description = sgqlc.types.Field(String, graphql_name='description')
|
|
4863
4880
|
discount_value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='discountValue')
|
|
4881
|
+
duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
|
|
4864
4882
|
environment = sgqlc.types.Field('Environment', graphql_name='environment')
|
|
4865
4883
|
environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
|
|
4866
4884
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
@@ -8823,14 +8841,18 @@ class SubscriptionAlreadyCanceledOrExpired(sgqlc.types.Type):
|
|
|
8823
8841
|
|
|
8824
8842
|
class SubscriptionCoupon(sgqlc.types.Type):
|
|
8825
8843
|
__schema__ = schema
|
|
8826
|
-
__field_names__ = ('amounts_off', 'discount_value', 'environment_id', 'id', 'name', 'percent_off', 'ref_id', 'type')
|
|
8844
|
+
__field_names__ = ('amounts_off', 'discount_value', 'duration_in_months', 'environment_id', 'expiration_date', 'id', 'name', 'percent_off', 'ref_id', 'start_date', 'status', 'type')
|
|
8827
8845
|
amounts_off = sgqlc.types.Field(sgqlc.types.list_of(sgqlc.types.non_null(Money)), graphql_name='amountsOff')
|
|
8828
8846
|
discount_value = sgqlc.types.Field(sgqlc.types.non_null(Float), graphql_name='discountValue')
|
|
8847
|
+
duration_in_months = sgqlc.types.Field(Float, graphql_name='durationInMonths')
|
|
8829
8848
|
environment_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='environmentId')
|
|
8849
|
+
expiration_date = sgqlc.types.Field(DateTime, graphql_name='expirationDate')
|
|
8830
8850
|
id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='id')
|
|
8831
8851
|
name = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='name')
|
|
8832
8852
|
percent_off = sgqlc.types.Field(Float, graphql_name='percentOff')
|
|
8833
8853
|
ref_id = sgqlc.types.Field(sgqlc.types.non_null(String), graphql_name='refId')
|
|
8854
|
+
start_date = sgqlc.types.Field(DateTime, graphql_name='startDate')
|
|
8855
|
+
status = sgqlc.types.Field(sgqlc.types.non_null(SubscriptionCouponStatus), graphql_name='status')
|
|
8834
8856
|
type = sgqlc.types.Field(sgqlc.types.non_null(CouponType), graphql_name='type')
|
|
8835
8857
|
|
|
8836
8858
|
|
|
@@ -2,8 +2,8 @@ stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
|
|
|
2
2
|
stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
|
|
3
3
|
stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
stigg/generated/operations.py,sha256=VLvC_1m98hBkfZGJuheAu7Nbj_T3TATc1WTqibjgWKg,76639
|
|
5
|
-
stigg/generated/schema.py,sha256=
|
|
6
|
-
stigg_api_client-2.
|
|
7
|
-
stigg_api_client-2.
|
|
8
|
-
stigg_api_client-2.
|
|
9
|
-
stigg_api_client-2.
|
|
5
|
+
stigg/generated/schema.py,sha256=pSpSoqduRe0DwfvmymzjlVb4yQbiKAK8I3K4QN0ZaJg,621141
|
|
6
|
+
stigg_api_client-2.209.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
+
stigg_api_client-2.209.0.dist-info/METADATA,sha256=rJ7oXpTIoSIEl4QDCT6TeEIcm8gBVybeFE3l_rLTWtA,3198
|
|
8
|
+
stigg_api_client-2.209.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
+
stigg_api_client-2.209.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|