stigg-api-client 2.198.0__py3-none-any.whl → 2.198.2__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.
- stigg/generated/operations.py +16 -4
- stigg/generated/schema.py +5 -11
- {stigg_api_client-2.198.0.dist-info → stigg_api_client-2.198.2.dist-info}/METADATA +1 -1
- stigg_api_client-2.198.2.dist-info/RECORD +9 -0
- stigg_api_client-2.198.0.dist-info/RECORD +0 -9
- {stigg_api_client-2.198.0.dist-info → stigg_api_client-2.198.2.dist-info}/LICENSE +0 -0
- {stigg_api_client-2.198.0.dist-info → stigg_api_client-2.198.2.dist-info}/WHEEL +0 -0
stigg/generated/operations.py
CHANGED
|
@@ -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()
|
|
@@ -1569,12 +1565,27 @@ def mutation_transfer_subscription():
|
|
|
1569
1565
|
return _op
|
|
1570
1566
|
|
|
1571
1567
|
|
|
1568
|
+
def mutation_delegate_subscription_to_customer():
|
|
1569
|
+
_op = sgqlc.operation.Operation(_schema_root.mutation_type, name='DelegateSubscriptionToCustomer', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.DelegateSubscriptionToCustomerInput))))
|
|
1570
|
+
_op_delegate_subscription_to_customer = _op.delegate_subscription_to_customer(input=sgqlc.types.Variable('input'))
|
|
1571
|
+
_op_delegate_subscription_to_customer.__fragment__(fragment_slim_subscription_fragment())
|
|
1572
|
+
return _op
|
|
1573
|
+
|
|
1574
|
+
|
|
1575
|
+
def mutation_transfer_subscription_to_resource():
|
|
1576
|
+
_op = sgqlc.operation.Operation(_schema_root.mutation_type, name='TransferSubscriptionToResource', variables=dict(input=sgqlc.types.Arg(sgqlc.types.non_null(_schema.TransferSubscriptionToResourceInput))))
|
|
1577
|
+
_op_transfer_subscription_to_resource = _op.transfer_subscription_to_resource(input=sgqlc.types.Variable('input'))
|
|
1578
|
+
_op_transfer_subscription_to_resource.__fragment__(fragment_slim_subscription_fragment())
|
|
1579
|
+
return _op
|
|
1580
|
+
|
|
1581
|
+
|
|
1572
1582
|
class Mutation:
|
|
1573
1583
|
apply_subscription = mutation_apply_subscription()
|
|
1574
1584
|
archive_customer = mutation_archive_customer()
|
|
1575
1585
|
cancel_subscription = mutation_cancel_subscription()
|
|
1576
1586
|
cancel_subscription_updates = mutation_cancel_subscription_updates()
|
|
1577
1587
|
create_subscription = mutation_create_subscription()
|
|
1588
|
+
delegate_subscription_to_customer = mutation_delegate_subscription_to_customer()
|
|
1578
1589
|
detach_customer_payment_method = mutation_detach_customer_payment_method()
|
|
1579
1590
|
estimate_subscription = mutation_estimate_subscription()
|
|
1580
1591
|
estimate_subscription_update = mutation_estimate_subscription_update()
|
|
@@ -1593,6 +1604,7 @@ class Mutation:
|
|
|
1593
1604
|
report_usage_bulk = mutation_report_usage_bulk()
|
|
1594
1605
|
revoke_promotional_entitlement = mutation_revoke_promotional_entitlement()
|
|
1595
1606
|
transfer_subscription = mutation_transfer_subscription()
|
|
1607
|
+
transfer_subscription_to_resource = mutation_transfer_subscription_to_resource()
|
|
1596
1608
|
unarchive_customer = mutation_unarchive_customer()
|
|
1597
1609
|
update_customer = mutation_update_customer()
|
|
1598
1610
|
update_subscription = mutation_update_subscription()
|
stigg/generated/schema.py
CHANGED
|
@@ -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', '
|
|
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', '
|
|
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__ = ('
|
|
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
|
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
|
|
2
|
+
stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
|
|
3
|
+
stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
stigg/generated/operations.py,sha256=c2GxkA47TYLU3n86X5oiTBc7hlMtzceBNkKL6olaIF0,76484
|
|
5
|
+
stigg/generated/schema.py,sha256=uIo44YQdj8ArDpviQuK7TvDE0Nrn_0VUK1hsUBcfNko,619412
|
|
6
|
+
stigg_api_client-2.198.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
+
stigg_api_client-2.198.2.dist-info/METADATA,sha256=zqHCoEDtcHQOJeaOJ4J__yVLlVBWVAv3IkZz7lw8DlY,3198
|
|
8
|
+
stigg_api_client-2.198.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
+
stigg_api_client-2.198.2.dist-info/RECORD,,
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
stigg/__init__.py,sha256=uQeM3YjvH1X56xOPknIEQezw0yjNNS-m9gi3B0XlSOM,44
|
|
2
|
-
stigg/client.py,sha256=z9u5SptafEM-tN_K0o_zGKYDy6VVS9LWvkH0ZBMO4jc,3721
|
|
3
|
-
stigg/generated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
stigg/generated/operations.py,sha256=rDb9QylVz4NdCa1Zq2QrHMZPTKPOurIViH4OGSDYE_k,75468
|
|
5
|
-
stigg/generated/schema.py,sha256=x8br21AuILqpFS_NSwy01OPuyWxUDrKNkTUlSZgNQUw,620019
|
|
6
|
-
stigg_api_client-2.198.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
7
|
-
stigg_api_client-2.198.0.dist-info/METADATA,sha256=z5k0-eFEW69PJQmfObTWL2rjampQWLNDzz8TQERVz_w,3198
|
|
8
|
-
stigg_api_client-2.198.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
9
|
-
stigg_api_client-2.198.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|