stigg-api-client-v2 3.107.0__py3-none-any.whl → 3.111.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 +5 -0
- stigg/generated/async_client.py +43 -0
- stigg/generated/client.py +43 -0
- stigg/generated/enums.py +1 -0
- stigg/generated/fragments.py +418 -418
- stigg/generated/input_types.py +60 -0
- stigg/generated/void_credit_grant.py +18 -0
- {stigg_api_client_v2-3.107.0.dist-info → stigg_api_client_v2-3.111.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.107.0.dist-info → stigg_api_client_v2-3.111.0.dist-info}/RECORD +11 -10
- {stigg_api_client_v2-3.107.0.dist-info → stigg_api_client_v2-3.111.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.107.0.dist-info → stigg_api_client_v2-3.111.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -955,6 +955,7 @@ from .input_types import (
|
|
|
955
955
|
SubscriptionPriceFilterPriceFilter,
|
|
956
956
|
SubscriptionPriceSort,
|
|
957
957
|
SubscriptionQueryFilter,
|
|
958
|
+
SubscriptionQueryFilterCustomerFilter,
|
|
958
959
|
SubscriptionQuerySort,
|
|
959
960
|
SubscriptionStatusFilterComparison,
|
|
960
961
|
SubscriptionUpdateScheduleCancellationInput,
|
|
@@ -1072,6 +1073,7 @@ from .update_subscription import (
|
|
|
1072
1073
|
UpdateSubscription,
|
|
1073
1074
|
UpdateSubscriptionUpdateSubscription,
|
|
1074
1075
|
)
|
|
1076
|
+
from .void_credit_grant import VoidCreditGrant, VoidCreditGrantVoidCreditGrant
|
|
1075
1077
|
|
|
1076
1078
|
__all__ = [
|
|
1077
1079
|
"AccessDeniedReason",
|
|
@@ -1946,6 +1948,7 @@ __all__ = [
|
|
|
1946
1948
|
"SubscriptionPriceSortFields",
|
|
1947
1949
|
"SubscriptionProrationBehavior",
|
|
1948
1950
|
"SubscriptionQueryFilter",
|
|
1951
|
+
"SubscriptionQueryFilterCustomerFilter",
|
|
1949
1952
|
"SubscriptionQueryFragment",
|
|
1950
1953
|
"SubscriptionQueryFragmentAddons",
|
|
1951
1954
|
"SubscriptionQueryFragmentAddonsAddon",
|
|
@@ -2085,7 +2088,9 @@ __all__ = [
|
|
|
2085
2088
|
"VendorIdentifier",
|
|
2086
2089
|
"VendorIdentifierFilterComparison",
|
|
2087
2090
|
"VendorType",
|
|
2091
|
+
"VoidCreditGrant",
|
|
2088
2092
|
"VoidCreditGrantInput",
|
|
2093
|
+
"VoidCreditGrantVoidCreditGrant",
|
|
2089
2094
|
"WeeklyAccordingTo",
|
|
2090
2095
|
"WeeklyResetPeriodConfigInput",
|
|
2091
2096
|
"WidgetConfigurationUpdateInput",
|
stigg/generated/async_client.py
CHANGED
|
@@ -94,6 +94,7 @@ from .input_types import (
|
|
|
94
94
|
UsageEventsReportInput,
|
|
95
95
|
UsageHistoryInput,
|
|
96
96
|
UsageHistoryV2Input,
|
|
97
|
+
VoidCreditGrantInput,
|
|
97
98
|
)
|
|
98
99
|
from .migrate_subscription_to_latest import MigrateSubscriptionToLatest
|
|
99
100
|
from .preview_next_invoice import PreviewNextInvoice
|
|
@@ -112,6 +113,7 @@ from .unarchive_customer import UnarchiveCustomer
|
|
|
112
113
|
from .unlink_promotional_entitlements_group import UnlinkPromotionalEntitlementsGroup
|
|
113
114
|
from .update_customer import UpdateCustomer
|
|
114
115
|
from .update_subscription import UpdateSubscription
|
|
116
|
+
from .void_credit_grant import VoidCreditGrant
|
|
115
117
|
|
|
116
118
|
|
|
117
119
|
def gql(q: str) -> str:
|
|
@@ -3139,6 +3141,47 @@ class AsyncClient(AsyncBaseClient):
|
|
|
3139
3141
|
data = self.get_data(response)
|
|
3140
3142
|
return CreatePaymentSession.model_validate(data)
|
|
3141
3143
|
|
|
3144
|
+
async def void_credit_grant(
|
|
3145
|
+
self, input: VoidCreditGrantInput, **kwargs: Any
|
|
3146
|
+
) -> VoidCreditGrant:
|
|
3147
|
+
query = gql(
|
|
3148
|
+
"""
|
|
3149
|
+
mutation VoidCreditGrant($input: VoidCreditGrantInput!) {
|
|
3150
|
+
voidCreditGrant(input: $input) {
|
|
3151
|
+
...CreditGrantFragment
|
|
3152
|
+
}
|
|
3153
|
+
}
|
|
3154
|
+
|
|
3155
|
+
fragment CreditGrantFragment on CreditGrant {
|
|
3156
|
+
grantId
|
|
3157
|
+
amount
|
|
3158
|
+
comment
|
|
3159
|
+
currencyId
|
|
3160
|
+
customerId
|
|
3161
|
+
displayName
|
|
3162
|
+
effectiveAt
|
|
3163
|
+
expireAt
|
|
3164
|
+
grantType
|
|
3165
|
+
priority
|
|
3166
|
+
consumedAmount
|
|
3167
|
+
cost {
|
|
3168
|
+
amount
|
|
3169
|
+
currency
|
|
3170
|
+
}
|
|
3171
|
+
createdAt
|
|
3172
|
+
updatedAt
|
|
3173
|
+
resourceId
|
|
3174
|
+
additionalMetaData
|
|
3175
|
+
}
|
|
3176
|
+
"""
|
|
3177
|
+
)
|
|
3178
|
+
variables: Dict[str, object] = {"input": input}
|
|
3179
|
+
response = await self.execute(
|
|
3180
|
+
query=query, operation_name="VoidCreditGrant", variables=variables, **kwargs
|
|
3181
|
+
)
|
|
3182
|
+
data = self.get_data(response)
|
|
3183
|
+
return VoidCreditGrant.model_validate(data)
|
|
3184
|
+
|
|
3142
3185
|
async def get_customer_by_id(
|
|
3143
3186
|
self, input: GetCustomerByRefIdInput, **kwargs: Any
|
|
3144
3187
|
) -> GetCustomerById:
|
stigg/generated/client.py
CHANGED
|
@@ -94,6 +94,7 @@ from .input_types import (
|
|
|
94
94
|
UsageEventsReportInput,
|
|
95
95
|
UsageHistoryInput,
|
|
96
96
|
UsageHistoryV2Input,
|
|
97
|
+
VoidCreditGrantInput,
|
|
97
98
|
)
|
|
98
99
|
from .migrate_subscription_to_latest import MigrateSubscriptionToLatest
|
|
99
100
|
from .preview_next_invoice import PreviewNextInvoice
|
|
@@ -112,6 +113,7 @@ from .unarchive_customer import UnarchiveCustomer
|
|
|
112
113
|
from .unlink_promotional_entitlements_group import UnlinkPromotionalEntitlementsGroup
|
|
113
114
|
from .update_customer import UpdateCustomer
|
|
114
115
|
from .update_subscription import UpdateSubscription
|
|
116
|
+
from .void_credit_grant import VoidCreditGrant
|
|
115
117
|
|
|
116
118
|
|
|
117
119
|
def gql(q: str) -> str:
|
|
@@ -3135,6 +3137,47 @@ class Client(BaseClient):
|
|
|
3135
3137
|
data = self.get_data(response)
|
|
3136
3138
|
return CreatePaymentSession.model_validate(data)
|
|
3137
3139
|
|
|
3140
|
+
def void_credit_grant(
|
|
3141
|
+
self, input: VoidCreditGrantInput, **kwargs: Any
|
|
3142
|
+
) -> VoidCreditGrant:
|
|
3143
|
+
query = gql(
|
|
3144
|
+
"""
|
|
3145
|
+
mutation VoidCreditGrant($input: VoidCreditGrantInput!) {
|
|
3146
|
+
voidCreditGrant(input: $input) {
|
|
3147
|
+
...CreditGrantFragment
|
|
3148
|
+
}
|
|
3149
|
+
}
|
|
3150
|
+
|
|
3151
|
+
fragment CreditGrantFragment on CreditGrant {
|
|
3152
|
+
grantId
|
|
3153
|
+
amount
|
|
3154
|
+
comment
|
|
3155
|
+
currencyId
|
|
3156
|
+
customerId
|
|
3157
|
+
displayName
|
|
3158
|
+
effectiveAt
|
|
3159
|
+
expireAt
|
|
3160
|
+
grantType
|
|
3161
|
+
priority
|
|
3162
|
+
consumedAmount
|
|
3163
|
+
cost {
|
|
3164
|
+
amount
|
|
3165
|
+
currency
|
|
3166
|
+
}
|
|
3167
|
+
createdAt
|
|
3168
|
+
updatedAt
|
|
3169
|
+
resourceId
|
|
3170
|
+
additionalMetaData
|
|
3171
|
+
}
|
|
3172
|
+
"""
|
|
3173
|
+
)
|
|
3174
|
+
variables: Dict[str, object] = {"input": input}
|
|
3175
|
+
response = self.execute(
|
|
3176
|
+
query=query, operation_name="VoidCreditGrant", variables=variables, **kwargs
|
|
3177
|
+
)
|
|
3178
|
+
data = self.get_data(response)
|
|
3179
|
+
return VoidCreditGrant.model_validate(data)
|
|
3180
|
+
|
|
3138
3181
|
def get_customer_by_id(
|
|
3139
3182
|
self, input: GetCustomerByRefIdInput, **kwargs: Any
|
|
3140
3183
|
) -> GetCustomerById:
|
stigg/generated/enums.py
CHANGED
|
@@ -306,6 +306,7 @@ class CustomerResourceSortFields(str, Enum):
|
|
|
306
306
|
|
|
307
307
|
|
|
308
308
|
class CustomerSortFields(str, Enum):
|
|
309
|
+
awsMarketplaceCustomerId = "awsMarketplaceCustomerId"
|
|
309
310
|
billingId = "billingId"
|
|
310
311
|
createdAt = "createdAt"
|
|
311
312
|
crmHubspotCompanyId = "crmHubspotCompanyId"
|
stigg/generated/fragments.py
CHANGED
|
@@ -82,51 +82,6 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
82
82
|
currency: Currency
|
|
83
83
|
|
|
84
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: Optional[Any] = Field(alias="customCurrencyId", default=None)
|
|
113
|
-
currency_id: str = Field(alias="currencyId")
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
class PriceFragmentTiers(PriceTierFragment):
|
|
117
|
-
pass
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
class PriceFragmentFeature(BaseModel):
|
|
121
|
-
ref_id: str = Field(alias="refId")
|
|
122
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
123
|
-
feature_units_plural: Optional[str] = Field(
|
|
124
|
-
alias="featureUnitsPlural", default=None
|
|
125
|
-
)
|
|
126
|
-
display_name: str = Field(alias="displayName")
|
|
127
|
-
description: Optional[str] = Field(default=None)
|
|
128
|
-
|
|
129
|
-
|
|
130
85
|
class OveragePriceFragment(BaseModel):
|
|
131
86
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
132
87
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -194,309 +149,87 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
194
149
|
)
|
|
195
150
|
|
|
196
151
|
|
|
197
|
-
class
|
|
198
|
-
|
|
199
|
-
|
|
152
|
+
class PriceFragment(BaseModel):
|
|
153
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
154
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
155
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
200
156
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
alias="
|
|
205
|
-
)
|
|
206
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
207
|
-
alias="hiddenFromWidgets", default=None
|
|
208
|
-
)
|
|
209
|
-
entitlements: Optional[List["AddonFragmentEntitlements"]] = Field(default=None)
|
|
210
|
-
prices: Optional[List["AddonFragmentPrices"]] = Field(default=None)
|
|
211
|
-
overage_prices: Optional[List["AddonFragmentOveragePrices"]] = Field(
|
|
212
|
-
alias="overagePrices", default=None
|
|
213
|
-
)
|
|
214
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
215
|
-
max_quantity: Optional[float] = Field(alias="maxQuantity", default=None)
|
|
216
|
-
dependencies: Optional[List["AddonFragmentDependencies"]] = Field(default=None)
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
class AddonFragmentEntitlements(PackageEntitlementFragment):
|
|
220
|
-
pass
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
class AddonFragmentPrices(PriceFragment):
|
|
224
|
-
pass
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
class AddonFragmentOveragePrices(OveragePriceFragment):
|
|
228
|
-
pass
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
class AddonFragmentDependencies(AddonDependencyFragment):
|
|
232
|
-
pass
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
class FeatureFragment(BaseModel):
|
|
236
|
-
typename__: str = Field(alias="__typename")
|
|
237
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
238
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
239
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
240
|
-
feature_units_plural: Optional[str] = Field(
|
|
241
|
-
alias="featureUnitsPlural", default=None
|
|
242
|
-
)
|
|
243
|
-
description: Optional[str] = Field(default=None)
|
|
244
|
-
display_name: str = Field(alias="displayName")
|
|
245
|
-
ref_id: str = Field(alias="refId")
|
|
246
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
247
|
-
alias="unitTransformation", default=None
|
|
248
|
-
)
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
252
|
-
divide: float
|
|
253
|
-
round: UnitTransformationRound
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
class EntitlementFragment(BaseModel):
|
|
257
|
-
typename__: str = Field(alias="__typename")
|
|
258
|
-
is_granted: bool = Field(alias="isGranted")
|
|
259
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
260
|
-
alias="accessDeniedReason", default=None
|
|
261
|
-
)
|
|
262
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
263
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
264
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
265
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
266
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
267
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
268
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
269
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
270
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
271
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
272
|
-
alias="entitlementUpdatedAt", default=None
|
|
273
|
-
)
|
|
274
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
275
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
276
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
277
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
278
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
279
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
280
|
-
alias="resetPeriod", default=None
|
|
157
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
158
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
159
|
+
billing_country_code: Optional[str] = Field(
|
|
160
|
+
alias="billingCountryCode", default=None
|
|
281
161
|
)
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
Union[
|
|
285
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
286
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
287
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
288
|
-
],
|
|
289
|
-
Field(discriminator="typename__"),
|
|
290
|
-
]
|
|
291
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
292
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
293
|
-
credit_rate: Optional["EntitlementFragmentCreditRate"] = Field(
|
|
162
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
163
|
+
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
294
164
|
alias="creditRate", default=None
|
|
295
165
|
)
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
301
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
302
|
-
alias="monthlyAccordingTo", default=None
|
|
303
|
-
)
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
307
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
308
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
309
|
-
alias="weeklyAccordingTo", default=None
|
|
310
|
-
)
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
314
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
315
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
316
|
-
alias="yearlyAccordingTo", default=None
|
|
317
|
-
)
|
|
166
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
167
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
168
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
169
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
318
170
|
|
|
319
171
|
|
|
320
|
-
class
|
|
321
|
-
|
|
172
|
+
class PriceFragmentPrice(BaseModel):
|
|
173
|
+
amount: float
|
|
174
|
+
currency: Currency
|
|
322
175
|
|
|
323
176
|
|
|
324
|
-
class
|
|
177
|
+
class PriceFragmentCreditRate(BaseModel):
|
|
325
178
|
amount: float
|
|
179
|
+
custom_currency_id: Optional[Any] = Field(alias="customCurrencyId", default=None)
|
|
326
180
|
currency_id: str = Field(alias="currencyId")
|
|
327
181
|
|
|
328
182
|
|
|
329
|
-
class
|
|
330
|
-
|
|
331
|
-
alias="subscriptionScheduleType"
|
|
332
|
-
)
|
|
333
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
334
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
335
|
-
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
336
|
-
alias="targetPackage", default=None
|
|
337
|
-
)
|
|
338
|
-
schedule_variables: Optional[
|
|
339
|
-
Annotated[
|
|
340
|
-
Union[
|
|
341
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
342
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
343
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
344
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
345
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
346
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
347
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
348
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
349
|
-
],
|
|
350
|
-
Field(discriminator="typename__"),
|
|
351
|
-
]
|
|
352
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
356
|
-
id: Any
|
|
357
|
-
ref_id: str = Field(alias="refId")
|
|
358
|
-
display_name: str = Field(alias="displayName")
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
362
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
363
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
364
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
368
|
-
BaseModel
|
|
369
|
-
):
|
|
370
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
371
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
372
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
376
|
-
BaseModel
|
|
377
|
-
):
|
|
378
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
379
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
383
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
387
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
388
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
389
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
390
|
-
billable_features: Optional[
|
|
391
|
-
List[
|
|
392
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
393
|
-
]
|
|
394
|
-
] = Field(alias="billableFeatures", default=None)
|
|
395
|
-
addons: Optional[
|
|
396
|
-
List[
|
|
397
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
398
|
-
]
|
|
399
|
-
] = Field(default=None)
|
|
400
|
-
price_overrides: Optional[
|
|
401
|
-
List[
|
|
402
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
403
|
-
]
|
|
404
|
-
] = Field(alias="priceOverrides", default=None)
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
408
|
-
BaseModel
|
|
409
|
-
):
|
|
410
|
-
feature_id: str = Field(alias="featureId")
|
|
411
|
-
quantity: float
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
415
|
-
BaseModel
|
|
416
|
-
):
|
|
417
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
418
|
-
quantity: float
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
422
|
-
BaseModel
|
|
423
|
-
):
|
|
424
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
425
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
426
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
430
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
431
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
432
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
433
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
434
|
-
billable_features: Optional[
|
|
435
|
-
List[
|
|
436
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
437
|
-
]
|
|
438
|
-
] = Field(alias="billableFeatures", default=None)
|
|
439
|
-
addons: Optional[
|
|
440
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
441
|
-
] = Field(default=None)
|
|
442
|
-
price_overrides: Optional[
|
|
443
|
-
List[
|
|
444
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
445
|
-
]
|
|
446
|
-
] = Field(alias="priceOverrides", default=None)
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
450
|
-
BaseModel
|
|
451
|
-
):
|
|
452
|
-
feature_id: str = Field(alias="featureId")
|
|
453
|
-
quantity: float
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
457
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
458
|
-
quantity: float
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
462
|
-
BaseModel
|
|
463
|
-
):
|
|
464
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
465
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
466
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
183
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
184
|
+
pass
|
|
467
185
|
|
|
468
186
|
|
|
469
|
-
class
|
|
470
|
-
|
|
471
|
-
)
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
187
|
+
class PriceFragmentFeature(BaseModel):
|
|
188
|
+
ref_id: str = Field(alias="refId")
|
|
189
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
190
|
+
feature_units_plural: Optional[str] = Field(
|
|
191
|
+
alias="featureUnitsPlural", default=None
|
|
192
|
+
)
|
|
193
|
+
display_name: str = Field(alias="displayName")
|
|
194
|
+
description: Optional[str] = Field(default=None)
|
|
475
195
|
|
|
476
196
|
|
|
477
|
-
class
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
197
|
+
class AddonFragment(BaseModel):
|
|
198
|
+
id: Any
|
|
199
|
+
ref_id: str = Field(alias="refId")
|
|
200
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
201
|
+
display_name: str = Field(alias="displayName")
|
|
202
|
+
description: Optional[str] = Field(default=None)
|
|
203
|
+
additional_meta_data: Optional[Any] = Field(
|
|
204
|
+
alias="additionalMetaData", default=None
|
|
205
|
+
)
|
|
206
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
207
|
+
alias="hiddenFromWidgets", default=None
|
|
208
|
+
)
|
|
209
|
+
entitlements: Optional[List["AddonFragmentEntitlements"]] = Field(default=None)
|
|
210
|
+
prices: Optional[List["AddonFragmentPrices"]] = Field(default=None)
|
|
211
|
+
overage_prices: Optional[List["AddonFragmentOveragePrices"]] = Field(
|
|
212
|
+
alias="overagePrices", default=None
|
|
213
|
+
)
|
|
214
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
215
|
+
max_quantity: Optional[float] = Field(alias="maxQuantity", default=None)
|
|
216
|
+
dependencies: Optional[List["AddonFragmentDependencies"]] = Field(default=None)
|
|
481
217
|
|
|
482
218
|
|
|
483
|
-
class
|
|
484
|
-
|
|
219
|
+
class AddonFragmentEntitlements(PackageEntitlementFragment):
|
|
220
|
+
pass
|
|
485
221
|
|
|
486
222
|
|
|
487
|
-
class
|
|
488
|
-
|
|
489
|
-
total: "TotalPriceFragmentTotal"
|
|
223
|
+
class AddonFragmentPrices(PriceFragment):
|
|
224
|
+
pass
|
|
490
225
|
|
|
491
226
|
|
|
492
|
-
class
|
|
493
|
-
|
|
494
|
-
currency: Currency
|
|
227
|
+
class AddonFragmentOveragePrices(OveragePriceFragment):
|
|
228
|
+
pass
|
|
495
229
|
|
|
496
230
|
|
|
497
|
-
class
|
|
498
|
-
|
|
499
|
-
currency: Currency
|
|
231
|
+
class AddonFragmentDependencies(AddonDependencyFragment):
|
|
232
|
+
pass
|
|
500
233
|
|
|
501
234
|
|
|
502
235
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -661,6 +394,74 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
661
394
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
662
395
|
|
|
663
396
|
|
|
397
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
398
|
+
billing_id: str = Field(alias="billingId")
|
|
399
|
+
status: SubscriptionInvoiceStatus
|
|
400
|
+
created_at: Any = Field(alias="createdAt")
|
|
401
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
402
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
403
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
404
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
405
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
406
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
407
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
408
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
409
|
+
alias="billingReason", default=None
|
|
410
|
+
)
|
|
411
|
+
currency: Optional[str] = Field(default=None)
|
|
412
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
413
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
414
|
+
alias="subTotalExcludingTax", default=None
|
|
415
|
+
)
|
|
416
|
+
total: Optional[float] = Field(default=None)
|
|
417
|
+
total_excluding_tax: Optional[float] = Field(
|
|
418
|
+
alias="totalExcludingTax", default=None
|
|
419
|
+
)
|
|
420
|
+
tax: Optional[float] = Field(default=None)
|
|
421
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
422
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
class CustomerResourceFragment(BaseModel):
|
|
426
|
+
resource_id: str = Field(alias="resourceId")
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
430
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
class SlimCustomerFragment(BaseModel):
|
|
434
|
+
id: Any
|
|
435
|
+
name: Optional[str] = Field(default=None)
|
|
436
|
+
email: Optional[str] = Field(default=None)
|
|
437
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
438
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
439
|
+
ref_id: str = Field(alias="refId")
|
|
440
|
+
customer_id: str = Field(alias="customerId")
|
|
441
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
442
|
+
additional_meta_data: Optional[Any] = Field(
|
|
443
|
+
alias="additionalMetaData", default=None
|
|
444
|
+
)
|
|
445
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
446
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
447
|
+
)
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
class TotalPriceFragment(BaseModel):
|
|
451
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
452
|
+
total: "TotalPriceFragmentTotal"
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
456
|
+
amount: float
|
|
457
|
+
currency: Currency
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
461
|
+
amount: float
|
|
462
|
+
currency: Currency
|
|
463
|
+
|
|
464
|
+
|
|
664
465
|
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
665
466
|
package_group_id: str = Field(alias="packageGroupId")
|
|
666
467
|
display_name: str = Field(alias="displayName")
|
|
@@ -777,57 +578,162 @@ class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
|
777
578
|
)
|
|
778
579
|
|
|
779
580
|
|
|
780
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
781
|
-
limit: float
|
|
581
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
582
|
+
limit: float
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
586
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
587
|
+
alias="subscriptionScheduleType"
|
|
588
|
+
)
|
|
589
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
590
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
591
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
592
|
+
alias="targetPackage", default=None
|
|
593
|
+
)
|
|
594
|
+
schedule_variables: Optional[
|
|
595
|
+
Annotated[
|
|
596
|
+
Union[
|
|
597
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
598
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
599
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
600
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
601
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
602
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
603
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
604
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
605
|
+
],
|
|
606
|
+
Field(discriminator="typename__"),
|
|
607
|
+
]
|
|
608
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
612
|
+
id: Any
|
|
613
|
+
ref_id: str = Field(alias="refId")
|
|
614
|
+
display_name: str = Field(alias="displayName")
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
618
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
619
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
620
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
624
|
+
BaseModel
|
|
625
|
+
):
|
|
626
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
627
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
628
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
632
|
+
BaseModel
|
|
633
|
+
):
|
|
634
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
635
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
639
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
643
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
644
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
645
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
646
|
+
billable_features: Optional[
|
|
647
|
+
List[
|
|
648
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
649
|
+
]
|
|
650
|
+
] = Field(alias="billableFeatures", default=None)
|
|
651
|
+
addons: Optional[
|
|
652
|
+
List[
|
|
653
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
654
|
+
]
|
|
655
|
+
] = Field(default=None)
|
|
656
|
+
price_overrides: Optional[
|
|
657
|
+
List[
|
|
658
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
659
|
+
]
|
|
660
|
+
] = Field(alias="priceOverrides", default=None)
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
664
|
+
BaseModel
|
|
665
|
+
):
|
|
666
|
+
feature_id: str = Field(alias="featureId")
|
|
667
|
+
quantity: float
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
671
|
+
BaseModel
|
|
672
|
+
):
|
|
673
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
674
|
+
quantity: float
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
678
|
+
BaseModel
|
|
679
|
+
):
|
|
680
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
681
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
682
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
686
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
687
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
688
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
689
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
690
|
+
billable_features: Optional[
|
|
691
|
+
List[
|
|
692
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
693
|
+
]
|
|
694
|
+
] = Field(alias="billableFeatures", default=None)
|
|
695
|
+
addons: Optional[
|
|
696
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
697
|
+
] = Field(default=None)
|
|
698
|
+
price_overrides: Optional[
|
|
699
|
+
List[
|
|
700
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
701
|
+
]
|
|
702
|
+
] = Field(alias="priceOverrides", default=None)
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
706
|
+
BaseModel
|
|
707
|
+
):
|
|
708
|
+
feature_id: str = Field(alias="featureId")
|
|
709
|
+
quantity: float
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
713
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
714
|
+
quantity: float
|
|
782
715
|
|
|
783
716
|
|
|
784
|
-
class
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
ref_id: str = Field(alias="refId")
|
|
791
|
-
customer_id: str = Field(alias="customerId")
|
|
792
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
793
|
-
additional_meta_data: Optional[Any] = Field(
|
|
794
|
-
alias="additionalMetaData", default=None
|
|
795
|
-
)
|
|
796
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
797
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
798
|
-
)
|
|
717
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
718
|
+
BaseModel
|
|
719
|
+
):
|
|
720
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
721
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
722
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
799
723
|
|
|
800
724
|
|
|
801
|
-
class
|
|
802
|
-
|
|
725
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
726
|
+
BaseModel
|
|
727
|
+
):
|
|
728
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
729
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
730
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
803
731
|
|
|
804
732
|
|
|
805
|
-
class
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
810
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
811
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
812
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
813
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
814
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
815
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
816
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
817
|
-
alias="billingReason", default=None
|
|
818
|
-
)
|
|
819
|
-
currency: Optional[str] = Field(default=None)
|
|
820
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
821
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
822
|
-
alias="subTotalExcludingTax", default=None
|
|
823
|
-
)
|
|
824
|
-
total: Optional[float] = Field(default=None)
|
|
825
|
-
total_excluding_tax: Optional[float] = Field(
|
|
826
|
-
alias="totalExcludingTax", default=None
|
|
827
|
-
)
|
|
828
|
-
tax: Optional[float] = Field(default=None)
|
|
829
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
830
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
733
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
734
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
735
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
736
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
831
737
|
|
|
832
738
|
|
|
833
739
|
class SubscriptionFragment(BaseModel):
|
|
@@ -939,6 +845,100 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
939
845
|
pass
|
|
940
846
|
|
|
941
847
|
|
|
848
|
+
class FeatureFragment(BaseModel):
|
|
849
|
+
typename__: str = Field(alias="__typename")
|
|
850
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
851
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
852
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
853
|
+
feature_units_plural: Optional[str] = Field(
|
|
854
|
+
alias="featureUnitsPlural", default=None
|
|
855
|
+
)
|
|
856
|
+
description: Optional[str] = Field(default=None)
|
|
857
|
+
display_name: str = Field(alias="displayName")
|
|
858
|
+
ref_id: str = Field(alias="refId")
|
|
859
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
860
|
+
alias="unitTransformation", default=None
|
|
861
|
+
)
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
865
|
+
divide: float
|
|
866
|
+
round: UnitTransformationRound
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
class EntitlementFragment(BaseModel):
|
|
870
|
+
typename__: str = Field(alias="__typename")
|
|
871
|
+
is_granted: bool = Field(alias="isGranted")
|
|
872
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
873
|
+
alias="accessDeniedReason", default=None
|
|
874
|
+
)
|
|
875
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
876
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
877
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
878
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
879
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
880
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
881
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
882
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
883
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
884
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
885
|
+
alias="entitlementUpdatedAt", default=None
|
|
886
|
+
)
|
|
887
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
888
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
889
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
890
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
891
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
892
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
893
|
+
alias="resetPeriod", default=None
|
|
894
|
+
)
|
|
895
|
+
reset_period_configuration: Optional[
|
|
896
|
+
Annotated[
|
|
897
|
+
Union[
|
|
898
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
899
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
900
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
901
|
+
],
|
|
902
|
+
Field(discriminator="typename__"),
|
|
903
|
+
]
|
|
904
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
905
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
906
|
+
credit_rate: Optional["EntitlementFragmentCreditRate"] = Field(
|
|
907
|
+
alias="creditRate", default=None
|
|
908
|
+
)
|
|
909
|
+
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
913
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
914
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
915
|
+
alias="monthlyAccordingTo", default=None
|
|
916
|
+
)
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
920
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
921
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
922
|
+
alias="weeklyAccordingTo", default=None
|
|
923
|
+
)
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
927
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
928
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
929
|
+
alias="yearlyAccordingTo", default=None
|
|
930
|
+
)
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
934
|
+
pass
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
class EntitlementFragmentCreditRate(BaseModel):
|
|
938
|
+
amount: float
|
|
939
|
+
currency_id: str = Field(alias="currencyId")
|
|
940
|
+
|
|
941
|
+
|
|
942
942
|
class ApplySubscriptionFragment(BaseModel):
|
|
943
943
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
944
944
|
default=None
|
|
@@ -1016,16 +1016,16 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1016
1016
|
)
|
|
1017
1017
|
|
|
1018
1018
|
|
|
1019
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1020
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1021
|
+
|
|
1022
|
+
|
|
1019
1023
|
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1020
1024
|
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1021
1025
|
setup_secret: str = Field(alias="setupSecret")
|
|
1022
1026
|
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1023
1027
|
|
|
1024
1028
|
|
|
1025
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1026
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
1029
|
class CouponFragment(BaseModel):
|
|
1030
1030
|
id: Any
|
|
1031
1031
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1435,41 +1435,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1435
1435
|
pass
|
|
1436
1436
|
|
|
1437
1437
|
|
|
1438
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1439
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1440
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1441
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1442
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1443
|
-
default=None
|
|
1444
|
-
)
|
|
1445
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1446
|
-
alias="creditRate", default=None
|
|
1447
|
-
)
|
|
1448
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1449
|
-
default=None
|
|
1450
|
-
)
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1454
|
-
amount: float
|
|
1455
|
-
currency: Currency
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1459
|
-
amount: float
|
|
1460
|
-
currency_id: str = Field(alias="currencyId")
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1464
|
-
id: Any
|
|
1465
|
-
ref_id: str = Field(alias="refId")
|
|
1466
|
-
display_name: str = Field(alias="displayName")
|
|
1467
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1468
|
-
feature_units_plural: Optional[str] = Field(
|
|
1469
|
-
alias="featureUnitsPlural", default=None
|
|
1470
|
-
)
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
1438
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1474
1439
|
addon_id: str = Field(alias="addonId")
|
|
1475
1440
|
description: Optional[str] = Field(default=None)
|
|
@@ -1646,6 +1611,41 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1646
1611
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1647
1612
|
|
|
1648
1613
|
|
|
1614
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1615
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1616
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1617
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1618
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1619
|
+
default=None
|
|
1620
|
+
)
|
|
1621
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1622
|
+
alias="creditRate", default=None
|
|
1623
|
+
)
|
|
1624
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1625
|
+
default=None
|
|
1626
|
+
)
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1630
|
+
amount: float
|
|
1631
|
+
currency: Currency
|
|
1632
|
+
|
|
1633
|
+
|
|
1634
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1635
|
+
amount: float
|
|
1636
|
+
currency_id: str = Field(alias="currencyId")
|
|
1637
|
+
|
|
1638
|
+
|
|
1639
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1640
|
+
id: Any
|
|
1641
|
+
ref_id: str = Field(alias="refId")
|
|
1642
|
+
display_name: str = Field(alias="displayName")
|
|
1643
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1644
|
+
feature_units_plural: Optional[str] = Field(
|
|
1645
|
+
alias="featureUnitsPlural", default=None
|
|
1646
|
+
)
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
1649
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1650
1650
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1651
1651
|
plan_id: str = Field(alias="planId")
|
|
@@ -3042,29 +3042,29 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
3042
3042
|
|
|
3043
3043
|
AddonDependencyFragment.model_rebuild()
|
|
3044
3044
|
PriceTierFragment.model_rebuild()
|
|
3045
|
-
PriceFragment.model_rebuild()
|
|
3046
3045
|
OveragePriceFragment.model_rebuild()
|
|
3047
3046
|
PackageEntitlementFragment.model_rebuild()
|
|
3047
|
+
PriceFragment.model_rebuild()
|
|
3048
3048
|
AddonFragment.model_rebuild()
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
3049
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3050
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
3052
3051
|
CustomerResourceFragment.model_rebuild()
|
|
3052
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3053
|
+
SlimCustomerFragment.model_rebuild()
|
|
3053
3054
|
TotalPriceFragment.model_rebuild()
|
|
3054
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3055
3055
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3056
3056
|
ProductFragment.model_rebuild()
|
|
3057
3057
|
PlanFragment.model_rebuild()
|
|
3058
|
-
|
|
3059
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3060
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
3058
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
3061
3059
|
SubscriptionFragment.model_rebuild()
|
|
3060
|
+
FeatureFragment.model_rebuild()
|
|
3061
|
+
EntitlementFragment.model_rebuild()
|
|
3062
3062
|
ApplySubscriptionFragment.model_rebuild()
|
|
3063
3063
|
FontVariantFragment.model_rebuild()
|
|
3064
3064
|
TypographyConfigurationFragment.model_rebuild()
|
|
3065
3065
|
CheckoutConfigurationFragment.model_rebuild()
|
|
3066
|
-
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3067
3066
|
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3067
|
+
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3068
3068
|
CouponFragment.model_rebuild()
|
|
3069
3069
|
PromotionalEntitlementFragment.model_rebuild()
|
|
3070
3070
|
CustomerFragment.model_rebuild()
|
|
@@ -3079,9 +3079,9 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
3079
3079
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
3080
3080
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3081
3081
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3082
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3083
3082
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3084
3083
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3084
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3085
3085
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3086
3086
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3087
3087
|
CustomerPortalFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -554,6 +554,9 @@ class CouponFilterCustomerFilter(BaseModel):
|
|
|
554
554
|
and_: Optional[List["CouponFilterCustomerFilter"]] = Field(
|
|
555
555
|
alias="and", default=None
|
|
556
556
|
)
|
|
557
|
+
aws_marketplace_customer_id: Optional["StringFieldComparison"] = Field(
|
|
558
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
559
|
+
)
|
|
557
560
|
billing_id: Optional["StringFieldComparison"] = Field(
|
|
558
561
|
alias="billingId", default=None
|
|
559
562
|
)
|
|
@@ -921,6 +924,9 @@ class CustomerBillingInfo(BaseModel):
|
|
|
921
924
|
|
|
922
925
|
class CustomerFilter(BaseModel):
|
|
923
926
|
and_: Optional[List["CustomerFilter"]] = Field(alias="and", default=None)
|
|
927
|
+
aws_marketplace_customer_id: Optional["StringFieldComparison"] = Field(
|
|
928
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
929
|
+
)
|
|
924
930
|
billing_id: Optional["StringFieldComparison"] = Field(
|
|
925
931
|
alias="billingId", default=None
|
|
926
932
|
)
|
|
@@ -1110,6 +1116,9 @@ class CustomerResourceFilterCustomerFilter(BaseModel):
|
|
|
1110
1116
|
and_: Optional[List["CustomerResourceFilterCustomerFilter"]] = Field(
|
|
1111
1117
|
alias="and", default=None
|
|
1112
1118
|
)
|
|
1119
|
+
aws_marketplace_customer_id: Optional["StringFieldComparison"] = Field(
|
|
1120
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
1121
|
+
)
|
|
1113
1122
|
billing_id: Optional["StringFieldComparison"] = Field(
|
|
1114
1123
|
alias="billingId", default=None
|
|
1115
1124
|
)
|
|
@@ -1313,6 +1322,9 @@ class CustomerSubscriptionFilterCustomerFilter(BaseModel):
|
|
|
1313
1322
|
and_: Optional[List["CustomerSubscriptionFilterCustomerFilter"]] = Field(
|
|
1314
1323
|
alias="and", default=None
|
|
1315
1324
|
)
|
|
1325
|
+
aws_marketplace_customer_id: Optional["StringFieldComparison"] = Field(
|
|
1326
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
1327
|
+
)
|
|
1316
1328
|
billing_id: Optional["StringFieldComparison"] = Field(
|
|
1317
1329
|
alias="billingId", default=None
|
|
1318
1330
|
)
|
|
@@ -1809,6 +1821,9 @@ class ExperimentFilterCustomerFilter(BaseModel):
|
|
|
1809
1821
|
and_: Optional[List["ExperimentFilterCustomerFilter"]] = Field(
|
|
1810
1822
|
alias="and", default=None
|
|
1811
1823
|
)
|
|
1824
|
+
aws_marketplace_customer_id: Optional["StringFieldComparison"] = Field(
|
|
1825
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
1826
|
+
)
|
|
1812
1827
|
billing_id: Optional["StringFieldComparison"] = Field(
|
|
1813
1828
|
alias="billingId", default=None
|
|
1814
1829
|
)
|
|
@@ -4517,6 +4532,7 @@ class SubscriptionPriceSort(BaseModel):
|
|
|
4517
4532
|
class SubscriptionQueryFilter(BaseModel):
|
|
4518
4533
|
and_: Optional[List["SubscriptionQueryFilter"]] = Field(alias="and", default=None)
|
|
4519
4534
|
created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
|
|
4535
|
+
customer: Optional["SubscriptionQueryFilterCustomerFilter"] = None
|
|
4520
4536
|
customer_id: Optional["StringFieldComparison"] = Field(
|
|
4521
4537
|
alias="customerId", default=None
|
|
4522
4538
|
)
|
|
@@ -4534,6 +4550,47 @@ class SubscriptionQueryFilter(BaseModel):
|
|
|
4534
4550
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
4535
4551
|
|
|
4536
4552
|
|
|
4553
|
+
class SubscriptionQueryFilterCustomerFilter(BaseModel):
|
|
4554
|
+
and_: Optional[List["SubscriptionQueryFilterCustomerFilter"]] = Field(
|
|
4555
|
+
alias="and", default=None
|
|
4556
|
+
)
|
|
4557
|
+
aws_marketplace_customer_id: Optional["StringFieldComparison"] = Field(
|
|
4558
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
4559
|
+
)
|
|
4560
|
+
billing_id: Optional["StringFieldComparison"] = Field(
|
|
4561
|
+
alias="billingId", default=None
|
|
4562
|
+
)
|
|
4563
|
+
created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
|
|
4564
|
+
crm_hubspot_company_id: Optional["StringFieldComparison"] = Field(
|
|
4565
|
+
alias="crmHubspotCompanyId", default=None
|
|
4566
|
+
)
|
|
4567
|
+
crm_hubspot_company_url: Optional["StringFieldComparison"] = Field(
|
|
4568
|
+
alias="crmHubspotCompanyUrl", default=None
|
|
4569
|
+
)
|
|
4570
|
+
crm_id: Optional["StringFieldComparison"] = Field(alias="crmId", default=None)
|
|
4571
|
+
customer_id: Optional["StringFieldComparison"] = Field(
|
|
4572
|
+
alias="customerId", default=None
|
|
4573
|
+
)
|
|
4574
|
+
deleted_at: Optional["DateFieldComparison"] = Field(alias="deletedAt", default=None)
|
|
4575
|
+
email: Optional["StringFieldComparison"] = None
|
|
4576
|
+
environment_id: Optional["UUIDFilterComparison"] = Field(
|
|
4577
|
+
alias="environmentId", default=None
|
|
4578
|
+
)
|
|
4579
|
+
id: Optional["UUIDFilterComparison"] = None
|
|
4580
|
+
name: Optional["StringFieldComparison"] = None
|
|
4581
|
+
or_: Optional[List["SubscriptionQueryFilterCustomerFilter"]] = Field(
|
|
4582
|
+
alias="or", default=None
|
|
4583
|
+
)
|
|
4584
|
+
ref_id: Optional["StringFieldComparison"] = Field(alias="refId", default=None)
|
|
4585
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
4586
|
+
alias="salesforceId", default=None
|
|
4587
|
+
)
|
|
4588
|
+
search_query: Optional["CustomerSearchQueryFilterComparison"] = Field(
|
|
4589
|
+
alias="searchQuery", default=None
|
|
4590
|
+
)
|
|
4591
|
+
updated_at: Optional["DateFieldComparison"] = Field(alias="updatedAt", default=None)
|
|
4592
|
+
|
|
4593
|
+
|
|
4537
4594
|
class SubscriptionQuerySort(BaseModel):
|
|
4538
4595
|
direction: SortDirection
|
|
4539
4596
|
field: SubscriptionQuerySortFields
|
|
@@ -5107,6 +5164,9 @@ class UsageMeasurementFilterCustomerFilter(BaseModel):
|
|
|
5107
5164
|
and_: Optional[List["UsageMeasurementFilterCustomerFilter"]] = Field(
|
|
5108
5165
|
alias="and", default=None
|
|
5109
5166
|
)
|
|
5167
|
+
aws_marketplace_customer_id: Optional["StringFieldComparison"] = Field(
|
|
5168
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
5169
|
+
)
|
|
5110
5170
|
billing_id: Optional["StringFieldComparison"] = Field(
|
|
5111
5171
|
alias="billingId", default=None
|
|
5112
5172
|
)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
|
+
# Source: operations.graphql
|
|
3
|
+
|
|
4
|
+
from stigg._vendors.pydantic import Field
|
|
5
|
+
|
|
6
|
+
from .base_model import BaseModel
|
|
7
|
+
from .fragments import CreditGrantFragment
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class VoidCreditGrant(BaseModel):
|
|
11
|
+
void_credit_grant: "VoidCreditGrantVoidCreditGrant" = Field(alias="voidCreditGrant")
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class VoidCreditGrantVoidCreditGrant(CreditGrantFragment):
|
|
15
|
+
pass
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
VoidCreditGrant.model_rebuild()
|
|
@@ -106,25 +106,25 @@ 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=91ow7ok3KSAGs-m1TbfjSiSc3P0wc3eHcHbMi0qEmYc,78691
|
|
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=KGB6qwieGt5JUtjD0Dl_Mf198lPKMkRKb0Ic7DMNi6E,193599
|
|
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=nJ1GDv1Ky9F1wPvCbtxwvV69hxh_ag5VQwZXpj9qIQ8,192864
|
|
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
|
|
122
122
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
123
|
-
stigg/generated/enums.py,sha256=
|
|
123
|
+
stigg/generated/enums.py,sha256=Z9XgOXbMjHdnVwI9E8CocPDVWx1TEFWwUzvwvnaeUOY,39855
|
|
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=6Uogz4fzLBZGkLjnWbMT50FWo3y0JmvPoWy2jpSrIPs,111377
|
|
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
|
|
@@ -153,7 +153,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
153
153
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
154
154
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
155
155
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
156
|
-
stigg/generated/input_types.py,sha256=
|
|
156
|
+
stigg/generated/input_types.py,sha256=jXi_nNNuNKT6kMCamchMdlPydo7U5XLsA_2J4miX0a4,217665
|
|
157
157
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
158
158
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
159
159
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -171,7 +171,8 @@ stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9e
|
|
|
171
171
|
stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0LZmDYkRn9mMjZm9n41YG6-p7Z8qU,636
|
|
172
172
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
173
173
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
174
|
-
|
|
175
|
-
stigg_api_client_v2-3.
|
|
176
|
-
stigg_api_client_v2-3.
|
|
177
|
-
stigg_api_client_v2-3.
|
|
174
|
+
stigg/generated/void_credit_grant.py,sha256=uQ22Xb2vwMOJfqh48GU2fhZ6Dcv9nHNIx_UJpjmJSBU,410
|
|
175
|
+
stigg_api_client_v2-3.111.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
176
|
+
stigg_api_client_v2-3.111.0.dist-info/METADATA,sha256=GYPjR3v6_RE0rI2aOEBGkHLtOm0L8UTgswYXbkmDoog,2258
|
|
177
|
+
stigg_api_client_v2-3.111.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
178
|
+
stigg_api_client_v2-3.111.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|