stigg-api-client-v2 0.579.8__py3-none-any.whl → 5.9.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.
- stigg/_edge_utils.py +58 -0
- stigg/client.py +97 -21
- stigg/generated/__init__.py +777 -44
- stigg/generated/apply_subscription.py +4 -12
- stigg/generated/archive_customer.py +2 -3
- stigg/generated/async_base_client.py +187 -29
- stigg/generated/async_client.py +3701 -587
- stigg/generated/base_client.py +144 -23
- stigg/generated/base_model.py +16 -47
- stigg/generated/cancel_subscription.py +2 -3
- stigg/generated/cancel_subscription_updates.py +1 -4
- stigg/generated/client.py +3703 -585
- stigg/generated/create_payment_session.py +20 -0
- stigg/generated/create_subscription.py +2 -3
- stigg/generated/delegate_subscription_to_customer.py +22 -0
- stigg/generated/detach_customer_payment_method.py +20 -0
- stigg/generated/enums.py +449 -7
- stigg/generated/estimate_subscription.py +2 -3
- stigg/generated/estimate_subscription_update.py +2 -3
- stigg/generated/exceptions.py +9 -5
- stigg/generated/fragments.py +1983 -788
- stigg/generated/get_active_subscriptions.py +2 -3
- stigg/generated/get_active_subscriptions_list.py +22 -0
- stigg/generated/get_checkout_state.py +2 -3
- stigg/generated/get_coupons.py +4 -5
- stigg/generated/get_credit_balance.py +20 -0
- stigg/generated/get_credit_grants.py +36 -0
- stigg/generated/get_credit_ledger.py +25 -0
- stigg/generated/get_credit_usage.py +18 -0
- stigg/generated/get_customer_by_id.py +2 -3
- stigg/generated/get_customer_portal_by_ref_id.py +2 -3
- stigg/generated/get_customer_statistics.py +22 -0
- stigg/generated/get_entitlement.py +2 -3
- stigg/generated/get_entitlements.py +2 -3
- stigg/generated/get_entitlements_state.py +31 -0
- stigg/generated/get_mock_paywall.py +3 -5
- stigg/generated/get_paywall.py +2 -3
- stigg/generated/get_products.py +4 -5
- stigg/generated/get_sdk_configuration.py +3 -3
- stigg/generated/get_subscription.py +18 -0
- stigg/generated/get_subscriptions.py +35 -0
- stigg/generated/get_usage_history.py +2 -3
- stigg/generated/get_usage_history_v_2.py +18 -0
- stigg/generated/grant_credits.py +20 -0
- stigg/generated/grant_promotional_entitlements.py +2 -3
- stigg/generated/grant_promotional_entitlements_group.py +24 -0
- stigg/generated/import_customer.py +2 -3
- stigg/generated/import_customer_bulk.py +1 -4
- stigg/generated/import_subscriptions_bulk.py +1 -4
- stigg/generated/input_types.py +3950 -1825
- stigg/generated/migrate_subscription_to_latest.py +2 -3
- stigg/generated/preview_next_invoice.py +20 -0
- stigg/generated/preview_subscription.py +2 -3
- stigg/generated/provision_customer.py +4 -22
- stigg/generated/provision_subscription.py +4 -15
- stigg/generated/report_entitlement_check_requested.py +1 -4
- stigg/generated/report_event.py +1 -4
- stigg/generated/report_usage.py +6 -13
- stigg/generated/report_usage_bulk.py +22 -0
- stigg/generated/revoke_promotional_entitlement.py +5 -4
- stigg/generated/revoke_promotional_entitlements_group.py +24 -0
- stigg/generated/transfer_subscription.py +2 -3
- stigg/generated/transfer_subscription_to_resource.py +22 -0
- stigg/generated/unarchive_customer.py +20 -0
- stigg/generated/unlink_promotional_entitlements_group.py +24 -0
- stigg/generated/update_customer.py +2 -3
- stigg/generated/update_subscription.py +2 -3
- stigg/generated/void_credit_grant.py +18 -0
- stigg_api_client_v2-5.9.0.dist-info/LICENSE +14 -0
- {stigg_api_client_v2-0.579.8.dist-info → stigg_api_client_v2-5.9.0.dist-info}/METADATA +5 -2
- stigg_api_client_v2-5.9.0.dist-info/RECORD +73 -0
- stigg/edge_utils.py +0 -28
- stigg/generated/scalars.py +0 -6
- stigg_api_client_v2-0.579.8.dist-info/RECORD +0 -51
- {stigg_api_client_v2-0.579.8.dist-info → stigg_api_client_v2-5.9.0.dist-info}/WHEEL +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from typing import List
|
|
@@ -19,5 +19,4 @@ class GetActiveSubscriptionsGetActiveSubscriptions(SubscriptionFragment):
|
|
|
19
19
|
pass
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
GetActiveSubscriptions.
|
|
23
|
-
GetActiveSubscriptionsGetActiveSubscriptions.update_forward_refs()
|
|
22
|
+
GetActiveSubscriptions.model_rebuild()
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from typing import List
|
|
5
|
+
|
|
6
|
+
from pydantic import Field
|
|
7
|
+
|
|
8
|
+
from .base_model import BaseModel
|
|
9
|
+
from .fragments import SlimSubscriptionFragmentV2
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class GetActiveSubscriptionsList(BaseModel):
|
|
13
|
+
get_active_subscriptions: List[
|
|
14
|
+
"GetActiveSubscriptionsListGetActiveSubscriptions"
|
|
15
|
+
] = Field(alias="getActiveSubscriptions")
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class GetActiveSubscriptionsListGetActiveSubscriptions(SlimSubscriptionFragmentV2):
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
GetActiveSubscriptionsList.model_rebuild()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from pydantic import Field
|
|
@@ -15,5 +15,4 @@ class GetCheckoutStateCheckoutState(CheckoutStateFragment):
|
|
|
15
15
|
pass
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
GetCheckoutState.
|
|
19
|
-
GetCheckoutStateCheckoutState.update_forward_refs()
|
|
18
|
+
GetCheckoutState.model_rebuild()
|
stigg/generated/get_coupons.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from typing import List
|
|
@@ -23,7 +23,6 @@ class GetCouponsCouponsEdgesNode(CouponFragment):
|
|
|
23
23
|
pass
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
GetCoupons.
|
|
27
|
-
GetCouponsCoupons.
|
|
28
|
-
GetCouponsCouponsEdges.
|
|
29
|
-
GetCouponsCouponsEdgesNode.update_forward_refs()
|
|
26
|
+
GetCoupons.model_rebuild()
|
|
27
|
+
GetCouponsCoupons.model_rebuild()
|
|
28
|
+
GetCouponsCouponsEdges.model_rebuild()
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from pydantic import Field
|
|
5
|
+
|
|
6
|
+
from .base_model import BaseModel
|
|
7
|
+
from .fragments import CreditsBalanceSummaryFragment
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class GetCreditBalance(BaseModel):
|
|
11
|
+
credit_balance_summary: "GetCreditBalanceCreditBalanceSummary" = Field(
|
|
12
|
+
alias="creditBalanceSummary"
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GetCreditBalanceCreditBalanceSummary(CreditsBalanceSummaryFragment):
|
|
17
|
+
pass
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
GetCreditBalance.model_rebuild()
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from typing import List
|
|
5
|
+
|
|
6
|
+
from pydantic import Field
|
|
7
|
+
|
|
8
|
+
from .base_model import BaseModel
|
|
9
|
+
from .fragments import CreditGrantFragment, PageInfoFragment
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class GetCreditGrants(BaseModel):
|
|
13
|
+
credit_grants: "GetCreditGrantsCreditGrants" = Field(alias="creditGrants")
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GetCreditGrantsCreditGrants(BaseModel):
|
|
17
|
+
page_info: "GetCreditGrantsCreditGrantsPageInfo" = Field(alias="pageInfo")
|
|
18
|
+
edges: List["GetCreditGrantsCreditGrantsEdges"]
|
|
19
|
+
total_count: int = Field(alias="totalCount")
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class GetCreditGrantsCreditGrantsPageInfo(PageInfoFragment):
|
|
23
|
+
pass
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class GetCreditGrantsCreditGrantsEdges(BaseModel):
|
|
27
|
+
node: "GetCreditGrantsCreditGrantsEdgesNode"
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class GetCreditGrantsCreditGrantsEdgesNode(CreditGrantFragment):
|
|
31
|
+
pass
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
GetCreditGrants.model_rebuild()
|
|
35
|
+
GetCreditGrantsCreditGrants.model_rebuild()
|
|
36
|
+
GetCreditGrantsCreditGrantsEdges.model_rebuild()
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from typing import List
|
|
5
|
+
|
|
6
|
+
from pydantic import Field
|
|
7
|
+
|
|
8
|
+
from .base_model import BaseModel
|
|
9
|
+
from .fragments import CreditLedgerFragment
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class GetCreditLedger(BaseModel):
|
|
13
|
+
credits_ledger: "GetCreditLedgerCreditsLedger" = Field(alias="creditsLedger")
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GetCreditLedgerCreditsLedger(BaseModel):
|
|
17
|
+
events: List["GetCreditLedgerCreditsLedgerEvents"]
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class GetCreditLedgerCreditsLedgerEvents(CreditLedgerFragment):
|
|
21
|
+
pass
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
GetCreditLedger.model_rebuild()
|
|
25
|
+
GetCreditLedgerCreditsLedger.model_rebuild()
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from pydantic import Field
|
|
5
|
+
|
|
6
|
+
from .base_model import BaseModel
|
|
7
|
+
from .fragments import CreditUsageFragment
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class GetCreditUsage(BaseModel):
|
|
11
|
+
credit_usage: "GetCreditUsageCreditUsage" = Field(alias="creditUsage")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class GetCreditUsageCreditUsage(CreditUsageFragment):
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
GetCreditUsage.model_rebuild()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from typing import Optional
|
|
@@ -19,5 +19,4 @@ class GetCustomerByIdGetCustomerByRefId(CustomerWithSubscriptionsFragment):
|
|
|
19
19
|
pass
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
GetCustomerById.
|
|
23
|
-
GetCustomerByIdGetCustomerByRefId.update_forward_refs()
|
|
22
|
+
GetCustomerById.model_rebuild()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from pydantic import Field
|
|
@@ -17,5 +17,4 @@ class GetCustomerPortalByRefIdCustomerPortal(CustomerPortalFragment):
|
|
|
17
17
|
pass
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
GetCustomerPortalByRefId.
|
|
21
|
-
GetCustomerPortalByRefIdCustomerPortal.update_forward_refs()
|
|
20
|
+
GetCustomerPortalByRefId.model_rebuild()
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from typing import Optional
|
|
5
|
+
|
|
6
|
+
from pydantic import Field
|
|
7
|
+
|
|
8
|
+
from .base_model import BaseModel
|
|
9
|
+
from .fragments import CustomerStatisticsFragment
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class GetCustomerStatistics(BaseModel):
|
|
13
|
+
get_customer_by_ref_id: Optional["GetCustomerStatisticsGetCustomerByRefId"] = Field(
|
|
14
|
+
alias="getCustomerByRefId"
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class GetCustomerStatisticsGetCustomerByRefId(CustomerStatisticsFragment):
|
|
19
|
+
pass
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
GetCustomerStatistics.model_rebuild()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from .base_model import BaseModel
|
|
@@ -13,5 +13,4 @@ class GetEntitlementEntitlement(EntitlementFragment):
|
|
|
13
13
|
pass
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
GetEntitlement.
|
|
17
|
-
GetEntitlementEntitlement.update_forward_refs()
|
|
16
|
+
GetEntitlement.model_rebuild()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from typing import List
|
|
@@ -15,5 +15,4 @@ class GetEntitlementsEntitlements(EntitlementFragment):
|
|
|
15
15
|
pass
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
GetEntitlements.
|
|
19
|
-
GetEntitlementsEntitlements.update_forward_refs()
|
|
18
|
+
GetEntitlements.model_rebuild()
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from typing import List, Optional
|
|
5
|
+
|
|
6
|
+
from pydantic import Field
|
|
7
|
+
|
|
8
|
+
from .base_model import BaseModel
|
|
9
|
+
from .enums import EntitlementsStateAccessDeniedReason
|
|
10
|
+
from .fragments import EntitlementFragment
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class GetEntitlementsState(BaseModel):
|
|
14
|
+
entitlements_state: "GetEntitlementsStateEntitlementsState" = Field(
|
|
15
|
+
alias="entitlementsState"
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class GetEntitlementsStateEntitlementsState(BaseModel):
|
|
20
|
+
entitlements: List["GetEntitlementsStateEntitlementsStateEntitlements"]
|
|
21
|
+
access_denied_reason: Optional[EntitlementsStateAccessDeniedReason] = Field(
|
|
22
|
+
alias="accessDeniedReason"
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class GetEntitlementsStateEntitlementsStateEntitlements(EntitlementFragment):
|
|
27
|
+
pass
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
GetEntitlementsState.model_rebuild()
|
|
31
|
+
GetEntitlementsStateEntitlementsState.model_rebuild()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from typing import List, Optional
|
|
@@ -26,7 +26,5 @@ class GetMockPaywallMockPaywallConfiguration(PaywallConfigurationFragment):
|
|
|
26
26
|
pass
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
GetMockPaywall.
|
|
30
|
-
GetMockPaywallMockPaywall.
|
|
31
|
-
GetMockPaywallMockPaywallPlans.update_forward_refs()
|
|
32
|
-
GetMockPaywallMockPaywallConfiguration.update_forward_refs()
|
|
29
|
+
GetMockPaywall.model_rebuild()
|
|
30
|
+
GetMockPaywallMockPaywall.model_rebuild()
|
stigg/generated/get_paywall.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from .base_model import BaseModel
|
|
@@ -13,5 +13,4 @@ class GetPaywallPaywall(PaywallFragment):
|
|
|
13
13
|
pass
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
GetPaywall.
|
|
17
|
-
GetPaywallPaywall.update_forward_refs()
|
|
16
|
+
GetPaywall.model_rebuild()
|
stigg/generated/get_products.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from typing import List
|
|
@@ -23,7 +23,6 @@ class GetProductsProductsEdgesNode(ProductFragment):
|
|
|
23
23
|
pass
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
GetProducts.
|
|
27
|
-
GetProductsProducts.
|
|
28
|
-
GetProductsProductsEdges.
|
|
29
|
-
GetProductsProductsEdgesNode.update_forward_refs()
|
|
26
|
+
GetProducts.model_rebuild()
|
|
27
|
+
GetProductsProducts.model_rebuild()
|
|
28
|
+
GetProductsProductsEdges.model_rebuild()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from typing import Optional
|
|
@@ -19,7 +19,7 @@ class GetSdkConfigurationSdkConfiguration(BaseModel):
|
|
|
19
19
|
is_widget_watermark_enabled: Optional[bool] = Field(
|
|
20
20
|
alias="isWidgetWatermarkEnabled"
|
|
21
21
|
)
|
|
22
|
+
show_watermark: Optional[bool] = Field(alias="showWatermark")
|
|
22
23
|
|
|
23
24
|
|
|
24
|
-
GetSdkConfiguration.
|
|
25
|
-
GetSdkConfigurationSdkConfiguration.update_forward_refs()
|
|
25
|
+
GetSdkConfiguration.model_rebuild()
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from pydantic import Field
|
|
5
|
+
|
|
6
|
+
from .base_model import BaseModel
|
|
7
|
+
from .fragments import SubscriptionFragment
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class GetSubscription(BaseModel):
|
|
11
|
+
get_subscription: "GetSubscriptionGetSubscription" = Field(alias="getSubscription")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class GetSubscriptionGetSubscription(SubscriptionFragment):
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
GetSubscription.model_rebuild()
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from typing import List
|
|
5
|
+
|
|
6
|
+
from pydantic import Field
|
|
7
|
+
|
|
8
|
+
from .base_model import BaseModel
|
|
9
|
+
from .fragments import PageInfoFragment, SubscriptionQueryFragment
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class GetSubscriptions(BaseModel):
|
|
13
|
+
subscriptions: "GetSubscriptionsSubscriptions"
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GetSubscriptionsSubscriptions(BaseModel):
|
|
17
|
+
edges: List["GetSubscriptionsSubscriptionsEdges"]
|
|
18
|
+
page_info: "GetSubscriptionsSubscriptionsPageInfo" = Field(alias="pageInfo")
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class GetSubscriptionsSubscriptionsEdges(BaseModel):
|
|
22
|
+
node: "GetSubscriptionsSubscriptionsEdgesNode"
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class GetSubscriptionsSubscriptionsEdgesNode(SubscriptionQueryFragment):
|
|
26
|
+
pass
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class GetSubscriptionsSubscriptionsPageInfo(PageInfoFragment):
|
|
30
|
+
pass
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
GetSubscriptions.model_rebuild()
|
|
34
|
+
GetSubscriptionsSubscriptions.model_rebuild()
|
|
35
|
+
GetSubscriptionsSubscriptionsEdges.model_rebuild()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from pydantic import Field
|
|
@@ -15,5 +15,4 @@ class GetUsageHistoryUsageHistory(UsageHistoryFragment):
|
|
|
15
15
|
pass
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
GetUsageHistory.
|
|
19
|
-
GetUsageHistoryUsageHistory.update_forward_refs()
|
|
18
|
+
GetUsageHistory.model_rebuild()
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from pydantic import Field
|
|
5
|
+
|
|
6
|
+
from .base_model import BaseModel
|
|
7
|
+
from .fragments import UsageHistoryV2Fragment
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class GetUsageHistoryV2(BaseModel):
|
|
11
|
+
usage_history_v_2: "GetUsageHistoryV2UsageHistoryV2" = Field(alias="usageHistoryV2")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class GetUsageHistoryV2UsageHistoryV2(UsageHistoryV2Fragment):
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
GetUsageHistoryV2.model_rebuild()
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from pydantic import Field
|
|
5
|
+
|
|
6
|
+
from .base_model import BaseModel
|
|
7
|
+
from .fragments import CreditGrantFragment
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class GrantCredits(BaseModel):
|
|
11
|
+
create_credit_grant: "GrantCreditsCreateCreditGrant" = Field(
|
|
12
|
+
alias="createCreditGrant"
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
class GrantCreditsCreateCreditGrant(CreditGrantFragment):
|
|
17
|
+
pass
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
GrantCredits.model_rebuild()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from typing import List
|
|
@@ -21,5 +21,4 @@ class GrantPromotionalEntitlementsGrantPromotionalEntitlements(
|
|
|
21
21
|
pass
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
GrantPromotionalEntitlements.
|
|
25
|
-
GrantPromotionalEntitlementsGrantPromotionalEntitlements.update_forward_refs()
|
|
24
|
+
GrantPromotionalEntitlements.model_rebuild()
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from typing import List
|
|
5
|
+
|
|
6
|
+
from pydantic import Field
|
|
7
|
+
|
|
8
|
+
from .base_model import BaseModel
|
|
9
|
+
from .fragments import PromotionalEntitlementFragment
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class GrantPromotionalEntitlementsGroup(BaseModel):
|
|
13
|
+
grant_promotional_entitlements_group: List[
|
|
14
|
+
"GrantPromotionalEntitlementsGroupGrantPromotionalEntitlementsGroup"
|
|
15
|
+
] = Field(alias="grantPromotionalEntitlementsGroup")
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class GrantPromotionalEntitlementsGroupGrantPromotionalEntitlementsGroup(
|
|
19
|
+
PromotionalEntitlementFragment
|
|
20
|
+
):
|
|
21
|
+
pass
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
GrantPromotionalEntitlementsGroup.model_rebuild()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from pydantic import Field
|
|
@@ -15,5 +15,4 @@ class ImportCustomerImportCustomer(SlimCustomerFragment):
|
|
|
15
15
|
pass
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
ImportCustomer.
|
|
19
|
-
ImportCustomerImportCustomer.update_forward_refs()
|
|
18
|
+
ImportCustomer.model_rebuild()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from typing import Optional
|
|
@@ -10,6 +10,3 @@ from .base_model import BaseModel
|
|
|
10
10
|
|
|
11
11
|
class ImportCustomerBulk(BaseModel):
|
|
12
12
|
import_customers_bulk: Optional[str] = Field(alias="importCustomersBulk")
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
ImportCustomerBulk.update_forward_refs()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: operations.graphql
|
|
3
3
|
|
|
4
4
|
from typing import Optional
|
|
@@ -10,6 +10,3 @@ from .base_model import BaseModel
|
|
|
10
10
|
|
|
11
11
|
class ImportSubscriptionsBulk(BaseModel):
|
|
12
12
|
import_subscriptions_bulk: Optional[str] = Field(alias="importSubscriptionsBulk")
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
ImportSubscriptionsBulk.update_forward_refs()
|