stigg-api-client-v2 3.84.1__py3-none-any.whl → 3.93.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-v2 might be problematic. Click here for more details.
- stigg/generated/__init__.py +20 -1
- stigg/generated/async_client.py +51 -1
- stigg/generated/client.py +51 -1
- stigg/generated/fragments.py +292 -278
- stigg/generated/get_credit_grants.py +19 -3
- stigg/generated/get_credit_ledger.py +25 -0
- stigg/generated/input_types.py +1 -0
- {stigg_api_client_v2-3.84.1.dist-info → stigg_api_client_v2-3.93.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.84.1.dist-info → stigg_api_client_v2-3.93.0.dist-info}/RECORD +11 -10
- {stigg_api_client_v2-3.84.1.dist-info → stigg_api_client_v2-3.93.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.84.1.dist-info → stigg_api_client_v2-3.93.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -194,6 +194,7 @@ from .fragments import (
|
|
|
194
194
|
CouponFragmentSyncStates,
|
|
195
195
|
CreditGrantFragment,
|
|
196
196
|
CreditGrantFragmentCost,
|
|
197
|
+
CreditLedgerFragment,
|
|
197
198
|
CreditsBalanceSummaryFragment,
|
|
198
199
|
CreditsBalanceSummaryFragmentBalances,
|
|
199
200
|
CreditsBalanceSummaryFragmentBalancesCurrency,
|
|
@@ -548,7 +549,18 @@ from .get_coupons import (
|
|
|
548
549
|
GetCouponsCouponsEdgesNode,
|
|
549
550
|
)
|
|
550
551
|
from .get_credit_balance import GetCreditBalance, GetCreditBalanceCreditBalanceSummary
|
|
551
|
-
from .get_credit_grants import
|
|
552
|
+
from .get_credit_grants import (
|
|
553
|
+
GetCreditGrants,
|
|
554
|
+
GetCreditGrantsCreditGrants,
|
|
555
|
+
GetCreditGrantsCreditGrantsEdges,
|
|
556
|
+
GetCreditGrantsCreditGrantsEdgesNode,
|
|
557
|
+
GetCreditGrantsCreditGrantsPageInfo,
|
|
558
|
+
)
|
|
559
|
+
from .get_credit_ledger import (
|
|
560
|
+
GetCreditLedger,
|
|
561
|
+
GetCreditLedgerCreditsLedger,
|
|
562
|
+
GetCreditLedgerCreditsLedgerEvents,
|
|
563
|
+
)
|
|
552
564
|
from .get_customer_by_id import GetCustomerById, GetCustomerByIdGetCustomerByRefId
|
|
553
565
|
from .get_customer_portal_by_ref_id import (
|
|
554
566
|
GetCustomerPortalByRefId,
|
|
@@ -1179,6 +1191,7 @@ __all__ = [
|
|
|
1179
1191
|
"CreditGrantInput",
|
|
1180
1192
|
"CreditGrantType",
|
|
1181
1193
|
"CreditLedgerEventType",
|
|
1194
|
+
"CreditLedgerFragment",
|
|
1182
1195
|
"CreditLedgerInput",
|
|
1183
1196
|
"CreditRateInput",
|
|
1184
1197
|
"CreditsBalanceSummaryFragment",
|
|
@@ -1395,7 +1408,13 @@ __all__ = [
|
|
|
1395
1408
|
"GetCreditBalanceCreditBalanceSummary",
|
|
1396
1409
|
"GetCreditGrants",
|
|
1397
1410
|
"GetCreditGrantsCreditGrants",
|
|
1411
|
+
"GetCreditGrantsCreditGrantsEdges",
|
|
1412
|
+
"GetCreditGrantsCreditGrantsEdgesNode",
|
|
1413
|
+
"GetCreditGrantsCreditGrantsPageInfo",
|
|
1398
1414
|
"GetCreditGrantsInput",
|
|
1415
|
+
"GetCreditLedger",
|
|
1416
|
+
"GetCreditLedgerCreditsLedger",
|
|
1417
|
+
"GetCreditLedgerCreditsLedgerEvents",
|
|
1399
1418
|
"GetCustomerById",
|
|
1400
1419
|
"GetCustomerByIdGetCustomerByRefId",
|
|
1401
1420
|
"GetCustomerByRefIdInput",
|
stigg/generated/async_client.py
CHANGED
|
@@ -21,6 +21,7 @@ from .get_checkout_state import GetCheckoutState
|
|
|
21
21
|
from .get_coupons import GetCoupons
|
|
22
22
|
from .get_credit_balance import GetCreditBalance
|
|
23
23
|
from .get_credit_grants import GetCreditGrants
|
|
24
|
+
from .get_credit_ledger import GetCreditLedger
|
|
24
25
|
from .get_customer_by_id import GetCustomerById
|
|
25
26
|
from .get_customer_portal_by_ref_id import GetCustomerPortalByRefId
|
|
26
27
|
from .get_customer_statistics import GetCustomerStatistics
|
|
@@ -47,6 +48,7 @@ from .input_types import (
|
|
|
47
48
|
CheckoutStateInput,
|
|
48
49
|
CreditBalanceSummaryInput,
|
|
49
50
|
CreditGrantInput,
|
|
51
|
+
CreditLedgerInput,
|
|
50
52
|
CursorPaging,
|
|
51
53
|
CustomerPortalInput,
|
|
52
54
|
DelegateSubscriptionToCustomerInput,
|
|
@@ -6726,7 +6728,15 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6726
6728
|
"""
|
|
6727
6729
|
query GetCreditGrants($input: GetCreditGrantsInput!) {
|
|
6728
6730
|
creditGrants(input: $input) {
|
|
6729
|
-
|
|
6731
|
+
pageInfo {
|
|
6732
|
+
...PageInfoFragment
|
|
6733
|
+
}
|
|
6734
|
+
edges {
|
|
6735
|
+
node {
|
|
6736
|
+
...CreditGrantFragment
|
|
6737
|
+
}
|
|
6738
|
+
}
|
|
6739
|
+
totalCount
|
|
6730
6740
|
}
|
|
6731
6741
|
}
|
|
6732
6742
|
|
|
@@ -6751,6 +6761,13 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6751
6761
|
resourceId
|
|
6752
6762
|
additionalMetaData
|
|
6753
6763
|
}
|
|
6764
|
+
|
|
6765
|
+
fragment PageInfoFragment on PageInfo {
|
|
6766
|
+
startCursor
|
|
6767
|
+
endCursor
|
|
6768
|
+
hasNextPage
|
|
6769
|
+
hasPreviousPage
|
|
6770
|
+
}
|
|
6754
6771
|
"""
|
|
6755
6772
|
)
|
|
6756
6773
|
variables: Dict[str, object] = {"input": input}
|
|
@@ -6759,3 +6776,36 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6759
6776
|
)
|
|
6760
6777
|
data = self.get_data(response)
|
|
6761
6778
|
return GetCreditGrants.model_validate(data)
|
|
6779
|
+
|
|
6780
|
+
async def get_credit_ledger(
|
|
6781
|
+
self, input: CreditLedgerInput, **kwargs: Any
|
|
6782
|
+
) -> GetCreditLedger:
|
|
6783
|
+
query = gql(
|
|
6784
|
+
"""
|
|
6785
|
+
query GetCreditLedger($input: CreditLedgerInput!) {
|
|
6786
|
+
creditsLedger(input: $input) {
|
|
6787
|
+
events {
|
|
6788
|
+
...CreditLedgerFragment
|
|
6789
|
+
}
|
|
6790
|
+
}
|
|
6791
|
+
}
|
|
6792
|
+
|
|
6793
|
+
fragment CreditLedgerFragment on CreditLedgerEvent {
|
|
6794
|
+
timestamp
|
|
6795
|
+
eventType
|
|
6796
|
+
customerId
|
|
6797
|
+
resourceId
|
|
6798
|
+
eventId
|
|
6799
|
+
featureId
|
|
6800
|
+
amount
|
|
6801
|
+
creditGrantId
|
|
6802
|
+
creditCurrencyId
|
|
6803
|
+
}
|
|
6804
|
+
"""
|
|
6805
|
+
)
|
|
6806
|
+
variables: Dict[str, object] = {"input": input}
|
|
6807
|
+
response = await self.execute(
|
|
6808
|
+
query=query, operation_name="GetCreditLedger", variables=variables, **kwargs
|
|
6809
|
+
)
|
|
6810
|
+
data = self.get_data(response)
|
|
6811
|
+
return GetCreditLedger.model_validate(data)
|
stigg/generated/client.py
CHANGED
|
@@ -21,6 +21,7 @@ from .get_checkout_state import GetCheckoutState
|
|
|
21
21
|
from .get_coupons import GetCoupons
|
|
22
22
|
from .get_credit_balance import GetCreditBalance
|
|
23
23
|
from .get_credit_grants import GetCreditGrants
|
|
24
|
+
from .get_credit_ledger import GetCreditLedger
|
|
24
25
|
from .get_customer_by_id import GetCustomerById
|
|
25
26
|
from .get_customer_portal_by_ref_id import GetCustomerPortalByRefId
|
|
26
27
|
from .get_customer_statistics import GetCustomerStatistics
|
|
@@ -47,6 +48,7 @@ from .input_types import (
|
|
|
47
48
|
CheckoutStateInput,
|
|
48
49
|
CreditBalanceSummaryInput,
|
|
49
50
|
CreditGrantInput,
|
|
51
|
+
CreditLedgerInput,
|
|
50
52
|
CursorPaging,
|
|
51
53
|
CustomerPortalInput,
|
|
52
54
|
DelegateSubscriptionToCustomerInput,
|
|
@@ -6720,7 +6722,15 @@ class Client(BaseClient):
|
|
|
6720
6722
|
"""
|
|
6721
6723
|
query GetCreditGrants($input: GetCreditGrantsInput!) {
|
|
6722
6724
|
creditGrants(input: $input) {
|
|
6723
|
-
|
|
6725
|
+
pageInfo {
|
|
6726
|
+
...PageInfoFragment
|
|
6727
|
+
}
|
|
6728
|
+
edges {
|
|
6729
|
+
node {
|
|
6730
|
+
...CreditGrantFragment
|
|
6731
|
+
}
|
|
6732
|
+
}
|
|
6733
|
+
totalCount
|
|
6724
6734
|
}
|
|
6725
6735
|
}
|
|
6726
6736
|
|
|
@@ -6745,6 +6755,13 @@ class Client(BaseClient):
|
|
|
6745
6755
|
resourceId
|
|
6746
6756
|
additionalMetaData
|
|
6747
6757
|
}
|
|
6758
|
+
|
|
6759
|
+
fragment PageInfoFragment on PageInfo {
|
|
6760
|
+
startCursor
|
|
6761
|
+
endCursor
|
|
6762
|
+
hasNextPage
|
|
6763
|
+
hasPreviousPage
|
|
6764
|
+
}
|
|
6748
6765
|
"""
|
|
6749
6766
|
)
|
|
6750
6767
|
variables: Dict[str, object] = {"input": input}
|
|
@@ -6753,3 +6770,36 @@ class Client(BaseClient):
|
|
|
6753
6770
|
)
|
|
6754
6771
|
data = self.get_data(response)
|
|
6755
6772
|
return GetCreditGrants.model_validate(data)
|
|
6773
|
+
|
|
6774
|
+
def get_credit_ledger(
|
|
6775
|
+
self, input: CreditLedgerInput, **kwargs: Any
|
|
6776
|
+
) -> GetCreditLedger:
|
|
6777
|
+
query = gql(
|
|
6778
|
+
"""
|
|
6779
|
+
query GetCreditLedger($input: CreditLedgerInput!) {
|
|
6780
|
+
creditsLedger(input: $input) {
|
|
6781
|
+
events {
|
|
6782
|
+
...CreditLedgerFragment
|
|
6783
|
+
}
|
|
6784
|
+
}
|
|
6785
|
+
}
|
|
6786
|
+
|
|
6787
|
+
fragment CreditLedgerFragment on CreditLedgerEvent {
|
|
6788
|
+
timestamp
|
|
6789
|
+
eventType
|
|
6790
|
+
customerId
|
|
6791
|
+
resourceId
|
|
6792
|
+
eventId
|
|
6793
|
+
featureId
|
|
6794
|
+
amount
|
|
6795
|
+
creditGrantId
|
|
6796
|
+
creditCurrencyId
|
|
6797
|
+
}
|
|
6798
|
+
"""
|
|
6799
|
+
)
|
|
6800
|
+
variables: Dict[str, object] = {"input": input}
|
|
6801
|
+
response = self.execute(
|
|
6802
|
+
query=query, operation_name="GetCreditLedger", variables=variables, **kwargs
|
|
6803
|
+
)
|
|
6804
|
+
data = self.get_data(response)
|
|
6805
|
+
return GetCreditLedger.model_validate(data)
|
stigg/generated/fragments.py
CHANGED
|
@@ -16,6 +16,7 @@ from .enums import (
|
|
|
16
16
|
CouponStatus,
|
|
17
17
|
CouponType,
|
|
18
18
|
CreditGrantType,
|
|
19
|
+
CreditLedgerEventType,
|
|
19
20
|
Currency,
|
|
20
21
|
DiscountDurationType,
|
|
21
22
|
DiscountType,
|
|
@@ -81,6 +82,50 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
81
82
|
currency: Currency
|
|
82
83
|
|
|
83
84
|
|
|
85
|
+
class PriceFragment(BaseModel):
|
|
86
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
87
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
88
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
89
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
90
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
91
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
92
|
+
billing_country_code: Optional[str] = Field(
|
|
93
|
+
alias="billingCountryCode", default=None
|
|
94
|
+
)
|
|
95
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
96
|
+
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
97
|
+
alias="creditRate", default=None
|
|
98
|
+
)
|
|
99
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
100
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
101
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
102
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
class PriceFragmentPrice(BaseModel):
|
|
106
|
+
amount: float
|
|
107
|
+
currency: Currency
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
class PriceFragmentCreditRate(BaseModel):
|
|
111
|
+
amount: float
|
|
112
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
116
|
+
pass
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
class PriceFragmentFeature(BaseModel):
|
|
120
|
+
ref_id: str = Field(alias="refId")
|
|
121
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
122
|
+
feature_units_plural: Optional[str] = Field(
|
|
123
|
+
alias="featureUnitsPlural", default=None
|
|
124
|
+
)
|
|
125
|
+
display_name: str = Field(alias="displayName")
|
|
126
|
+
description: Optional[str] = Field(default=None)
|
|
127
|
+
|
|
128
|
+
|
|
84
129
|
class OveragePriceFragment(BaseModel):
|
|
85
130
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
86
131
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -148,50 +193,6 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
148
193
|
)
|
|
149
194
|
|
|
150
195
|
|
|
151
|
-
class PriceFragment(BaseModel):
|
|
152
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
154
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
155
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
156
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
157
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
158
|
-
billing_country_code: Optional[str] = Field(
|
|
159
|
-
alias="billingCountryCode", default=None
|
|
160
|
-
)
|
|
161
|
-
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
162
|
-
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
163
|
-
alias="creditRate", default=None
|
|
164
|
-
)
|
|
165
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
166
|
-
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
167
|
-
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
168
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
class PriceFragmentPrice(BaseModel):
|
|
172
|
-
amount: float
|
|
173
|
-
currency: Currency
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
class PriceFragmentCreditRate(BaseModel):
|
|
177
|
-
amount: float
|
|
178
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
class PriceFragmentTiers(PriceTierFragment):
|
|
182
|
-
pass
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
class PriceFragmentFeature(BaseModel):
|
|
186
|
-
ref_id: str = Field(alias="refId")
|
|
187
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
188
|
-
feature_units_plural: Optional[str] = Field(
|
|
189
|
-
alias="featureUnitsPlural", default=None
|
|
190
|
-
)
|
|
191
|
-
display_name: str = Field(alias="displayName")
|
|
192
|
-
description: Optional[str] = Field(default=None)
|
|
193
|
-
|
|
194
|
-
|
|
195
196
|
class AddonFragment(BaseModel):
|
|
196
197
|
id: Any
|
|
197
198
|
ref_id: str = Field(alias="refId")
|
|
@@ -343,62 +344,45 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
343
344
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
344
345
|
|
|
345
346
|
|
|
346
|
-
class
|
|
347
|
-
id: Any
|
|
348
|
-
name: Optional[str] = Field(default=None)
|
|
349
|
-
email: Optional[str] = Field(default=None)
|
|
350
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
351
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
352
|
-
ref_id: str = Field(alias="refId")
|
|
353
|
-
customer_id: str = Field(alias="customerId")
|
|
354
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
355
|
-
additional_meta_data: Optional[Any] = Field(
|
|
356
|
-
alias="additionalMetaData", default=None
|
|
357
|
-
)
|
|
358
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
359
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
360
|
-
)
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
class SubscriptionScheduledUpdateData(BaseModel):
|
|
347
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
364
348
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
365
349
|
alias="subscriptionScheduleType"
|
|
366
350
|
)
|
|
367
351
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
368
352
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
369
|
-
target_package: Optional["
|
|
353
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
370
354
|
alias="targetPackage", default=None
|
|
371
355
|
)
|
|
372
356
|
schedule_variables: Optional[
|
|
373
357
|
Annotated[
|
|
374
358
|
Union[
|
|
375
|
-
"
|
|
376
|
-
"
|
|
377
|
-
"
|
|
378
|
-
"
|
|
379
|
-
"
|
|
380
|
-
"
|
|
381
|
-
"
|
|
382
|
-
"
|
|
359
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
360
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
361
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
362
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
363
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
364
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
365
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
366
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
383
367
|
],
|
|
384
368
|
Field(discriminator="typename__"),
|
|
385
369
|
]
|
|
386
370
|
] = Field(alias="scheduleVariables", default=None)
|
|
387
371
|
|
|
388
372
|
|
|
389
|
-
class
|
|
373
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
390
374
|
id: Any
|
|
391
375
|
ref_id: str = Field(alias="refId")
|
|
392
376
|
display_name: str = Field(alias="displayName")
|
|
393
377
|
|
|
394
378
|
|
|
395
|
-
class
|
|
379
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
396
380
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
397
381
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
398
382
|
new_quantity: float = Field(alias="newQuantity")
|
|
399
383
|
|
|
400
384
|
|
|
401
|
-
class
|
|
385
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
402
386
|
BaseModel
|
|
403
387
|
):
|
|
404
388
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -406,55 +390,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
406
390
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
407
391
|
|
|
408
392
|
|
|
409
|
-
class
|
|
393
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
410
394
|
BaseModel
|
|
411
395
|
):
|
|
412
396
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
413
397
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
414
398
|
|
|
415
399
|
|
|
416
|
-
class
|
|
400
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
417
401
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
418
402
|
|
|
419
403
|
|
|
420
|
-
class
|
|
421
|
-
BaseModel
|
|
422
|
-
):
|
|
404
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
423
405
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
424
406
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
425
407
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
426
408
|
billable_features: Optional[
|
|
427
409
|
List[
|
|
428
|
-
"
|
|
410
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
429
411
|
]
|
|
430
412
|
] = Field(alias="billableFeatures", default=None)
|
|
431
413
|
addons: Optional[
|
|
432
414
|
List[
|
|
433
|
-
"
|
|
415
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
434
416
|
]
|
|
435
417
|
] = Field(default=None)
|
|
436
418
|
price_overrides: Optional[
|
|
437
419
|
List[
|
|
438
|
-
"
|
|
420
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
439
421
|
]
|
|
440
422
|
] = Field(alias="priceOverrides", default=None)
|
|
441
423
|
|
|
442
424
|
|
|
443
|
-
class
|
|
425
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
444
426
|
BaseModel
|
|
445
427
|
):
|
|
446
428
|
feature_id: str = Field(alias="featureId")
|
|
447
429
|
quantity: float
|
|
448
430
|
|
|
449
431
|
|
|
450
|
-
class
|
|
432
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
451
433
|
BaseModel
|
|
452
434
|
):
|
|
453
435
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
454
436
|
quantity: float
|
|
455
437
|
|
|
456
438
|
|
|
457
|
-
class
|
|
439
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
458
440
|
BaseModel
|
|
459
441
|
):
|
|
460
442
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -462,43 +444,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
462
444
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
463
445
|
|
|
464
446
|
|
|
465
|
-
class
|
|
447
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
466
448
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
467
449
|
plan_ref_id: str = Field(alias="planRefId")
|
|
468
450
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
469
451
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
470
452
|
billable_features: Optional[
|
|
471
453
|
List[
|
|
472
|
-
"
|
|
454
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
473
455
|
]
|
|
474
456
|
] = Field(alias="billableFeatures", default=None)
|
|
475
457
|
addons: Optional[
|
|
476
|
-
List[
|
|
477
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
478
|
-
]
|
|
458
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
479
459
|
] = Field(default=None)
|
|
480
460
|
price_overrides: Optional[
|
|
481
461
|
List[
|
|
482
|
-
"
|
|
462
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
483
463
|
]
|
|
484
464
|
] = Field(alias="priceOverrides", default=None)
|
|
485
465
|
|
|
486
466
|
|
|
487
|
-
class
|
|
467
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
488
468
|
BaseModel
|
|
489
469
|
):
|
|
490
470
|
feature_id: str = Field(alias="featureId")
|
|
491
471
|
quantity: float
|
|
492
472
|
|
|
493
473
|
|
|
494
|
-
class
|
|
495
|
-
BaseModel
|
|
496
|
-
):
|
|
474
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
497
475
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
498
476
|
quantity: float
|
|
499
477
|
|
|
500
478
|
|
|
501
|
-
class
|
|
479
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
502
480
|
BaseModel
|
|
503
481
|
):
|
|
504
482
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -506,7 +484,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
506
484
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
507
485
|
|
|
508
486
|
|
|
509
|
-
class
|
|
487
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
510
488
|
BaseModel
|
|
511
489
|
):
|
|
512
490
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -514,14 +492,35 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
514
492
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
515
493
|
|
|
516
494
|
|
|
517
|
-
class
|
|
518
|
-
BaseModel
|
|
519
|
-
):
|
|
495
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
520
496
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
521
497
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
522
498
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
523
499
|
|
|
524
500
|
|
|
501
|
+
class CustomerResourceFragment(BaseModel):
|
|
502
|
+
resource_id: str = Field(alias="resourceId")
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
506
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
class TotalPriceFragment(BaseModel):
|
|
510
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
511
|
+
total: "TotalPriceFragmentTotal"
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
515
|
+
amount: float
|
|
516
|
+
currency: Currency
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
520
|
+
amount: float
|
|
521
|
+
currency: Currency
|
|
522
|
+
|
|
523
|
+
|
|
525
524
|
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
526
525
|
package_group_id: str = Field(alias="packageGroupId")
|
|
527
526
|
display_name: str = Field(alias="displayName")
|
|
@@ -642,45 +641,62 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
642
641
|
limit: float
|
|
643
642
|
|
|
644
643
|
|
|
645
|
-
class
|
|
644
|
+
class SlimCustomerFragment(BaseModel):
|
|
645
|
+
id: Any
|
|
646
|
+
name: Optional[str] = Field(default=None)
|
|
647
|
+
email: Optional[str] = Field(default=None)
|
|
648
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
649
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
650
|
+
ref_id: str = Field(alias="refId")
|
|
651
|
+
customer_id: str = Field(alias="customerId")
|
|
652
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
653
|
+
additional_meta_data: Optional[Any] = Field(
|
|
654
|
+
alias="additionalMetaData", default=None
|
|
655
|
+
)
|
|
656
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
657
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
658
|
+
)
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
646
662
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
647
663
|
alias="subscriptionScheduleType"
|
|
648
664
|
)
|
|
649
665
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
650
666
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
651
|
-
target_package: Optional["
|
|
667
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
652
668
|
alias="targetPackage", default=None
|
|
653
669
|
)
|
|
654
670
|
schedule_variables: Optional[
|
|
655
671
|
Annotated[
|
|
656
672
|
Union[
|
|
657
|
-
"
|
|
658
|
-
"
|
|
659
|
-
"
|
|
660
|
-
"
|
|
661
|
-
"
|
|
662
|
-
"
|
|
663
|
-
"
|
|
664
|
-
"
|
|
673
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
674
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
675
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
676
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
677
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
678
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
679
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
680
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
665
681
|
],
|
|
666
682
|
Field(discriminator="typename__"),
|
|
667
683
|
]
|
|
668
684
|
] = Field(alias="scheduleVariables", default=None)
|
|
669
685
|
|
|
670
686
|
|
|
671
|
-
class
|
|
687
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
672
688
|
id: Any
|
|
673
689
|
ref_id: str = Field(alias="refId")
|
|
674
690
|
display_name: str = Field(alias="displayName")
|
|
675
691
|
|
|
676
692
|
|
|
677
|
-
class
|
|
693
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
678
694
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
679
695
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
680
696
|
new_quantity: float = Field(alias="newQuantity")
|
|
681
697
|
|
|
682
698
|
|
|
683
|
-
class
|
|
699
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
684
700
|
BaseModel
|
|
685
701
|
):
|
|
686
702
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -688,53 +704,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
688
704
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
689
705
|
|
|
690
706
|
|
|
691
|
-
class
|
|
707
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
692
708
|
BaseModel
|
|
693
709
|
):
|
|
694
710
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
695
711
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
696
712
|
|
|
697
713
|
|
|
698
|
-
class
|
|
714
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
699
715
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
700
716
|
|
|
701
717
|
|
|
702
|
-
class
|
|
718
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
719
|
+
BaseModel
|
|
720
|
+
):
|
|
703
721
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
704
722
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
705
723
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
706
724
|
billable_features: Optional[
|
|
707
725
|
List[
|
|
708
|
-
"
|
|
726
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
709
727
|
]
|
|
710
728
|
] = Field(alias="billableFeatures", default=None)
|
|
711
729
|
addons: Optional[
|
|
712
730
|
List[
|
|
713
|
-
"
|
|
731
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
714
732
|
]
|
|
715
733
|
] = Field(default=None)
|
|
716
734
|
price_overrides: Optional[
|
|
717
735
|
List[
|
|
718
|
-
"
|
|
736
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
719
737
|
]
|
|
720
738
|
] = Field(alias="priceOverrides", default=None)
|
|
721
739
|
|
|
722
740
|
|
|
723
|
-
class
|
|
741
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
724
742
|
BaseModel
|
|
725
743
|
):
|
|
726
744
|
feature_id: str = Field(alias="featureId")
|
|
727
745
|
quantity: float
|
|
728
746
|
|
|
729
747
|
|
|
730
|
-
class
|
|
748
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
731
749
|
BaseModel
|
|
732
750
|
):
|
|
733
751
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
734
752
|
quantity: float
|
|
735
753
|
|
|
736
754
|
|
|
737
|
-
class
|
|
755
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
738
756
|
BaseModel
|
|
739
757
|
):
|
|
740
758
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -742,39 +760,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
742
760
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
743
761
|
|
|
744
762
|
|
|
745
|
-
class
|
|
763
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
746
764
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
747
765
|
plan_ref_id: str = Field(alias="planRefId")
|
|
748
766
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
749
767
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
750
768
|
billable_features: Optional[
|
|
751
769
|
List[
|
|
752
|
-
"
|
|
770
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
753
771
|
]
|
|
754
772
|
] = Field(alias="billableFeatures", default=None)
|
|
755
773
|
addons: Optional[
|
|
756
|
-
List[
|
|
774
|
+
List[
|
|
775
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
776
|
+
]
|
|
757
777
|
] = Field(default=None)
|
|
758
778
|
price_overrides: Optional[
|
|
759
779
|
List[
|
|
760
|
-
"
|
|
780
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
761
781
|
]
|
|
762
782
|
] = Field(alias="priceOverrides", default=None)
|
|
763
783
|
|
|
764
784
|
|
|
765
|
-
class
|
|
785
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
766
786
|
BaseModel
|
|
767
787
|
):
|
|
768
788
|
feature_id: str = Field(alias="featureId")
|
|
769
789
|
quantity: float
|
|
770
790
|
|
|
771
791
|
|
|
772
|
-
class
|
|
792
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
793
|
+
BaseModel
|
|
794
|
+
):
|
|
773
795
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
774
796
|
quantity: float
|
|
775
797
|
|
|
776
798
|
|
|
777
|
-
class
|
|
799
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
778
800
|
BaseModel
|
|
779
801
|
):
|
|
780
802
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -782,7 +804,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
782
804
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
783
805
|
|
|
784
806
|
|
|
785
|
-
class
|
|
807
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
786
808
|
BaseModel
|
|
787
809
|
):
|
|
788
810
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -790,33 +812,12 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
790
812
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
791
813
|
|
|
792
814
|
|
|
793
|
-
class
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
class CustomerResourceFragment(BaseModel):
|
|
800
|
-
resource_id: str = Field(alias="resourceId")
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
class TotalPriceFragment(BaseModel):
|
|
804
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
805
|
-
total: "TotalPriceFragmentTotal"
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
809
|
-
amount: float
|
|
810
|
-
currency: Currency
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
814
|
-
amount: float
|
|
815
|
-
currency: Currency
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
819
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
815
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
816
|
+
BaseModel
|
|
817
|
+
):
|
|
818
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
819
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
820
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
820
821
|
|
|
821
822
|
|
|
822
823
|
class SubscriptionFragment(BaseModel):
|
|
@@ -1005,45 +1006,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1005
1006
|
)
|
|
1006
1007
|
|
|
1007
1008
|
|
|
1008
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1009
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1013
|
-
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1014
|
-
setup_secret: str = Field(alias="setupSecret")
|
|
1015
|
-
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1019
|
-
status: PromotionalEntitlementStatus
|
|
1020
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1021
|
-
feature_id: Any = Field(alias="featureId")
|
|
1022
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1023
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1024
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1025
|
-
alias="resetPeriod", default=None
|
|
1026
|
-
)
|
|
1027
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1028
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1029
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1033
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1034
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1035
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1036
|
-
feature_units_plural: Optional[str] = Field(
|
|
1037
|
-
alias="featureUnitsPlural", default=None
|
|
1038
|
-
)
|
|
1039
|
-
display_name: str = Field(alias="displayName")
|
|
1040
|
-
description: Optional[str] = Field(default=None)
|
|
1041
|
-
ref_id: str = Field(alias="refId")
|
|
1042
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1043
|
-
alias="additionalMetaData", default=None
|
|
1044
|
-
)
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
1009
|
class CouponFragment(BaseModel):
|
|
1048
1010
|
id: Any
|
|
1049
1011
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1078,6 +1040,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1078
1040
|
status: SyncStatus
|
|
1079
1041
|
|
|
1080
1042
|
|
|
1043
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1044
|
+
status: PromotionalEntitlementStatus
|
|
1045
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1046
|
+
feature_id: Any = Field(alias="featureId")
|
|
1047
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1048
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1049
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1050
|
+
alias="resetPeriod", default=None
|
|
1051
|
+
)
|
|
1052
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1053
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1054
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1058
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1059
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1060
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1061
|
+
feature_units_plural: Optional[str] = Field(
|
|
1062
|
+
alias="featureUnitsPlural", default=None
|
|
1063
|
+
)
|
|
1064
|
+
display_name: str = Field(alias="displayName")
|
|
1065
|
+
description: Optional[str] = Field(default=None)
|
|
1066
|
+
ref_id: str = Field(alias="refId")
|
|
1067
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1068
|
+
alias="additionalMetaData", default=None
|
|
1069
|
+
)
|
|
1070
|
+
|
|
1071
|
+
|
|
1081
1072
|
class CustomerFragment(SlimCustomerFragment):
|
|
1082
1073
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1083
1074
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1136,6 +1127,16 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1136
1127
|
pass
|
|
1137
1128
|
|
|
1138
1129
|
|
|
1130
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1131
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1135
|
+
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1136
|
+
setup_secret: str = Field(alias="setupSecret")
|
|
1137
|
+
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1138
|
+
|
|
1139
|
+
|
|
1139
1140
|
class CheckoutStateFragment(BaseModel):
|
|
1140
1141
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1141
1142
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1222,6 +1223,18 @@ class CreditGrantFragmentCost(BaseModel):
|
|
|
1222
1223
|
currency: Currency
|
|
1223
1224
|
|
|
1224
1225
|
|
|
1226
|
+
class CreditLedgerFragment(BaseModel):
|
|
1227
|
+
timestamp: str
|
|
1228
|
+
event_type: CreditLedgerEventType = Field(alias="eventType")
|
|
1229
|
+
customer_id: str = Field(alias="customerId")
|
|
1230
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
1231
|
+
event_id: Optional[str] = Field(alias="eventId", default=None)
|
|
1232
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1233
|
+
amount: float
|
|
1234
|
+
credit_grant_id: str = Field(alias="creditGrantId")
|
|
1235
|
+
credit_currency_id: str = Field(alias="creditCurrencyId")
|
|
1236
|
+
|
|
1237
|
+
|
|
1225
1238
|
class CreditsBalanceSummaryFragment(BaseModel):
|
|
1226
1239
|
customer_id: str = Field(alias="customerId")
|
|
1227
1240
|
balances: List["CreditsBalanceSummaryFragmentBalances"]
|
|
@@ -1352,6 +1365,41 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1352
1365
|
pass
|
|
1353
1366
|
|
|
1354
1367
|
|
|
1368
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1369
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1370
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1371
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1372
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1373
|
+
default=None
|
|
1374
|
+
)
|
|
1375
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1376
|
+
alias="creditRate", default=None
|
|
1377
|
+
)
|
|
1378
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1379
|
+
default=None
|
|
1380
|
+
)
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1384
|
+
amount: float
|
|
1385
|
+
currency: Currency
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1389
|
+
amount: float
|
|
1390
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1394
|
+
id: Any
|
|
1395
|
+
ref_id: str = Field(alias="refId")
|
|
1396
|
+
display_name: str = Field(alias="displayName")
|
|
1397
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1398
|
+
feature_units_plural: Optional[str] = Field(
|
|
1399
|
+
alias="featureUnitsPlural", default=None
|
|
1400
|
+
)
|
|
1401
|
+
|
|
1402
|
+
|
|
1355
1403
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1356
1404
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1357
1405
|
alias="subscriptionScheduleType"
|
|
@@ -1521,41 +1569,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1521
1569
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1522
1570
|
|
|
1523
1571
|
|
|
1524
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1525
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1526
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1527
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1528
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1529
|
-
default=None
|
|
1530
|
-
)
|
|
1531
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1532
|
-
alias="creditRate", default=None
|
|
1533
|
-
)
|
|
1534
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1535
|
-
default=None
|
|
1536
|
-
)
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1540
|
-
amount: float
|
|
1541
|
-
currency: Currency
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1545
|
-
amount: float
|
|
1546
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1550
|
-
id: Any
|
|
1551
|
-
ref_id: str = Field(alias="refId")
|
|
1552
|
-
display_name: str = Field(alias="displayName")
|
|
1553
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1554
|
-
feature_units_plural: Optional[str] = Field(
|
|
1555
|
-
alias="featureUnitsPlural", default=None
|
|
1556
|
-
)
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
1572
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1560
1573
|
addon_id: str = Field(alias="addonId")
|
|
1561
1574
|
description: Optional[str] = Field(default=None)
|
|
@@ -1904,6 +1917,41 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1904
1917
|
description: Optional[str] = Field(default=None)
|
|
1905
1918
|
|
|
1906
1919
|
|
|
1920
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1921
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1922
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1923
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1924
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1925
|
+
alias="resetPeriod", default=None
|
|
1926
|
+
)
|
|
1927
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1928
|
+
alias="hiddenFromWidgets", default=None
|
|
1929
|
+
)
|
|
1930
|
+
display_name_override: Optional[str] = Field(
|
|
1931
|
+
alias="displayNameOverride", default=None
|
|
1932
|
+
)
|
|
1933
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1934
|
+
is_granted: bool = Field(alias="isGranted")
|
|
1935
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1936
|
+
default=None
|
|
1937
|
+
)
|
|
1938
|
+
|
|
1939
|
+
|
|
1940
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1941
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1942
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1943
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1944
|
+
feature_units_plural: Optional[str] = Field(
|
|
1945
|
+
alias="featureUnitsPlural", default=None
|
|
1946
|
+
)
|
|
1947
|
+
display_name: str = Field(alias="displayName")
|
|
1948
|
+
description: Optional[str] = Field(default=None)
|
|
1949
|
+
ref_id: str = Field(alias="refId")
|
|
1950
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1951
|
+
alias="additionalMetaData", default=None
|
|
1952
|
+
)
|
|
1953
|
+
|
|
1954
|
+
|
|
1907
1955
|
class MockPaywallPriceFragment(BaseModel):
|
|
1908
1956
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1909
1957
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1946,41 +1994,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1946
1994
|
display_name: str = Field(alias="displayName")
|
|
1947
1995
|
|
|
1948
1996
|
|
|
1949
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1950
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1951
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1952
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1953
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1954
|
-
alias="resetPeriod", default=None
|
|
1955
|
-
)
|
|
1956
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1957
|
-
alias="hiddenFromWidgets", default=None
|
|
1958
|
-
)
|
|
1959
|
-
display_name_override: Optional[str] = Field(
|
|
1960
|
-
alias="displayNameOverride", default=None
|
|
1961
|
-
)
|
|
1962
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1963
|
-
is_granted: bool = Field(alias="isGranted")
|
|
1964
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1965
|
-
default=None
|
|
1966
|
-
)
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1970
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1971
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1972
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1973
|
-
feature_units_plural: Optional[str] = Field(
|
|
1974
|
-
alias="featureUnitsPlural", default=None
|
|
1975
|
-
)
|
|
1976
|
-
display_name: str = Field(alias="displayName")
|
|
1977
|
-
description: Optional[str] = Field(default=None)
|
|
1978
|
-
ref_id: str = Field(alias="refId")
|
|
1979
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1980
|
-
alias="additionalMetaData", default=None
|
|
1981
|
-
)
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
1997
|
class MockPaywallAddonFragment(BaseModel):
|
|
1985
1998
|
ref_id: str = Field(alias="refId")
|
|
1986
1999
|
display_name: str = Field(alias="displayName")
|
|
@@ -2959,40 +2972,41 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2959
2972
|
|
|
2960
2973
|
AddonDependencyFragment.model_rebuild()
|
|
2961
2974
|
PriceTierFragment.model_rebuild()
|
|
2975
|
+
PriceFragment.model_rebuild()
|
|
2962
2976
|
OveragePriceFragment.model_rebuild()
|
|
2963
2977
|
PackageEntitlementFragment.model_rebuild()
|
|
2964
|
-
PriceFragment.model_rebuild()
|
|
2965
2978
|
AddonFragment.model_rebuild()
|
|
2966
2979
|
FeatureFragment.model_rebuild()
|
|
2967
2980
|
EntitlementFragment.model_rebuild()
|
|
2968
2981
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2969
|
-
SlimCustomerFragment.model_rebuild()
|
|
2970
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2971
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2972
|
-
ProductFragment.model_rebuild()
|
|
2973
|
-
PlanFragment.model_rebuild()
|
|
2974
2982
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2975
2983
|
CustomerResourceFragment.model_rebuild()
|
|
2976
|
-
TotalPriceFragment.model_rebuild()
|
|
2977
2984
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2985
|
+
TotalPriceFragment.model_rebuild()
|
|
2986
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2987
|
+
ProductFragment.model_rebuild()
|
|
2988
|
+
PlanFragment.model_rebuild()
|
|
2989
|
+
SlimCustomerFragment.model_rebuild()
|
|
2990
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2978
2991
|
SubscriptionFragment.model_rebuild()
|
|
2979
2992
|
ApplySubscriptionFragment.model_rebuild()
|
|
2980
2993
|
FontVariantFragment.model_rebuild()
|
|
2981
2994
|
TypographyConfigurationFragment.model_rebuild()
|
|
2982
2995
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2983
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
2984
|
-
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
2985
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2986
2996
|
CouponFragment.model_rebuild()
|
|
2997
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2987
2998
|
CustomerFragment.model_rebuild()
|
|
2999
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3000
|
+
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
2988
3001
|
CheckoutStateFragment.model_rebuild()
|
|
2989
3002
|
CreditGrantFragment.model_rebuild()
|
|
3003
|
+
CreditLedgerFragment.model_rebuild()
|
|
2990
3004
|
CreditsBalanceSummaryFragment.model_rebuild()
|
|
2991
3005
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2992
3006
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2993
3007
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2994
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2995
3008
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3009
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2996
3010
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2997
3011
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2998
3012
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
@@ -3005,8 +3019,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
3005
3019
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
3006
3020
|
LayoutConfigurationFragment.model_rebuild()
|
|
3007
3021
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
3008
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
3009
3022
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
3023
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
3010
3024
|
MockPaywallAddonFragment.model_rebuild()
|
|
3011
3025
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3012
3026
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -6,15 +6,31 @@ from typing import List
|
|
|
6
6
|
from stigg._vendors.pydantic import Field
|
|
7
7
|
|
|
8
8
|
from .base_model import BaseModel
|
|
9
|
-
from .fragments import CreditGrantFragment
|
|
9
|
+
from .fragments import CreditGrantFragment, PageInfoFragment
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
class GetCreditGrants(BaseModel):
|
|
13
|
-
credit_grants:
|
|
13
|
+
credit_grants: "GetCreditGrantsCreditGrants" = Field(alias="creditGrants")
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
class GetCreditGrantsCreditGrants(
|
|
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):
|
|
17
31
|
pass
|
|
18
32
|
|
|
19
33
|
|
|
20
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 stigg._vendors.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()
|
stigg/generated/input_types.py
CHANGED
|
@@ -2036,6 +2036,7 @@ class GetCreditGrantsInput(BaseModel):
|
|
|
2036
2036
|
currency_id: Optional[str] = Field(alias="currencyId", default=None)
|
|
2037
2037
|
customer_id: str = Field(alias="customerId")
|
|
2038
2038
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
2039
|
+
paging: Optional["CursorPaging"] = None
|
|
2039
2040
|
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
2040
2041
|
|
|
2041
2042
|
|
|
@@ -106,16 +106,16 @@ stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
106
106
|
stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
107
107
|
stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE,sha256=qeGG88oWte74QxjnpwFyE1GgDLe4rjpDlLZ7SeNSnvM,1129
|
|
108
108
|
stigg/client.py,sha256=RWrVnxo9zHFXka8KJVE4sMgyek70ispQk0vqOINCvM0,8335
|
|
109
|
-
stigg/generated/__init__.py,sha256=
|
|
109
|
+
stigg/generated/__init__.py,sha256=hJPBRE5q4CZqiwtAhUQmOey6v5nLBUdO_v2Nlx4VEn4,77470
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
113
|
-
stigg/generated/async_client.py,sha256=
|
|
113
|
+
stigg/generated/async_client.py,sha256=S-ETIi3kMgBSQYnlh0f8cnH_8eS0oHEGFTi6BxVSobE,189782
|
|
114
114
|
stigg/generated/base_client.py,sha256=nAto-nOqrOHFTLqdRy2ZDpT1afgsqCzf6hTeBh5MyPQ,6674
|
|
115
115
|
stigg/generated/base_model.py,sha256=0rs99bmZqPbltlPVMfhExeA5zD6ATQFaNZVsxGNonI4,635
|
|
116
116
|
stigg/generated/cancel_subscription.py,sha256=pKrMFmKjGIuWvnVCYQ8brWQO9_JeTnfScgGQjztuN-o,457
|
|
117
117
|
stigg/generated/cancel_subscription_updates.py,sha256=T1C9vyppzZi_91pEnIGkHUL3GEsvtf5EMwr1f01tjbM,241
|
|
118
|
-
stigg/generated/client.py,sha256=
|
|
118
|
+
stigg/generated/client.py,sha256=b5IGQHwt0HoTMFHTfk3jdiTImURYS3E3TJ2dQG0IfWU,189071
|
|
119
119
|
stigg/generated/create_payment_session.py,sha256=VRPT8Bbvb_evFHMav9y_pXWHMVbkRy9csf5SJCCUARk,470
|
|
120
120
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
121
121
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
@@ -124,13 +124,14 @@ stigg/generated/enums.py,sha256=uz0ELcMolFbn8vz4GbOy1HyzaoIrFkGfJ6t9tcyklmA,3901
|
|
|
124
124
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
125
125
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
126
126
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
127
|
-
stigg/generated/fragments.py,sha256=
|
|
127
|
+
stigg/generated/fragments.py,sha256=RAgDixIZsEQtI43gCtxdxwinYgl8o7_aF7zQ5BHQ_O8,108906
|
|
128
128
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
129
129
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
130
130
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
131
131
|
stigg/generated/get_coupons.py,sha256=KiDyZKrIWLlXCORhEfwjZWw6urYALU6Z7dUn-1xc3j4,547
|
|
132
132
|
stigg/generated/get_credit_balance.py,sha256=b7PFYjOneQVXinRSgI2RQr0bvgPNmpGefljo99jZsFQ,468
|
|
133
|
-
stigg/generated/get_credit_grants.py,sha256=
|
|
133
|
+
stigg/generated/get_credit_grants.py,sha256=b7AlrlcuDmbV8flz28PvU40eRnQSCdsfZyp_rFDzOPM,944
|
|
134
|
+
stigg/generated/get_credit_ledger.py,sha256=MKfqQJCQF7ymb0d6cwTafQv6S7WrWg3-TAoKxB7JnD8,583
|
|
134
135
|
stigg/generated/get_customer_by_id.py,sha256=g_7q4ncmz6GH4Tl9fnlRYh-bxG5vHXsf9EDPEbqvdyA,505
|
|
135
136
|
stigg/generated/get_customer_portal_by_ref_id.py,sha256=k_P5_2HA4xlr46s6KRJ3Y4wr5nLBve592BMMKWlWPTM,461
|
|
136
137
|
stigg/generated/get_customer_statistics.py,sha256=4lchx8yhXTJ_Jtjqnn1BySLrcmla46VBUAxT8Jp5NjQ,515
|
|
@@ -151,7 +152,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
151
152
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
152
153
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
153
154
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
154
|
-
stigg/generated/input_types.py,sha256=
|
|
155
|
+
stigg/generated/input_types.py,sha256=mLyU1nsabSqWUqiAsO6TG6NPw1LyH31dcaGu1JxEcbQ,213804
|
|
155
156
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
156
157
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
157
158
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -169,7 +170,7 @@ stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9e
|
|
|
169
170
|
stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0LZmDYkRn9mMjZm9n41YG6-p7Z8qU,636
|
|
170
171
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
171
172
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
172
|
-
stigg_api_client_v2-3.
|
|
173
|
-
stigg_api_client_v2-3.
|
|
174
|
-
stigg_api_client_v2-3.
|
|
175
|
-
stigg_api_client_v2-3.
|
|
173
|
+
stigg_api_client_v2-3.93.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
174
|
+
stigg_api_client_v2-3.93.0.dist-info/METADATA,sha256=NiFKme3H8wh77E21IrtMPql8v2dL_ycgL3KpXW1ECtM,2257
|
|
175
|
+
stigg_api_client_v2-3.93.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
176
|
+
stigg_api_client_v2-3.93.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|