stigg-api-client-v2 3.98.1__py3-none-any.whl → 3.100.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/enums.py +1 -0
- stigg/generated/fragments.py +485 -485
- stigg/generated/input_types.py +6 -0
- {stigg_api_client_v2-3.98.1.dist-info → stigg_api_client_v2-3.100.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.98.1.dist-info → stigg_api_client_v2-3.100.0.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-3.98.1.dist-info → stigg_api_client_v2-3.100.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.98.1.dist-info → stigg_api_client_v2-3.100.0.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -545,6 +545,7 @@ class ErrorCode(str, Enum):
|
|
|
545
545
|
MultiSubscriptionCantBeAutoCancellationSourceError = (
|
|
546
546
|
"MultiSubscriptionCantBeAutoCancellationSourceError"
|
|
547
547
|
)
|
|
548
|
+
NoActiveSubscriptionForCustomer = "NoActiveSubscriptionForCustomer"
|
|
548
549
|
NoDraftOfferFound = "NoDraftOfferFound"
|
|
549
550
|
NoFeatureEntitlementError = "NoFeatureEntitlementError"
|
|
550
551
|
NoFeatureEntitlementInSubscription = "NoFeatureEntitlementInSubscription"
|
stigg/generated/fragments.py
CHANGED
|
@@ -82,6 +82,50 @@ 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: 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
|
+
|
|
85
129
|
class OveragePriceFragment(BaseModel):
|
|
86
130
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
87
131
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -149,50 +193,6 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
149
193
|
)
|
|
150
194
|
|
|
151
195
|
|
|
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")
|
|
156
|
-
billing_id: Optional[str] = Field(alias="billingId", 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
|
|
161
|
-
)
|
|
162
|
-
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
163
|
-
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
164
|
-
alias="creditRate", default=None
|
|
165
|
-
)
|
|
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)
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
class PriceFragmentPrice(BaseModel):
|
|
173
|
-
amount: float
|
|
174
|
-
currency: Currency
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
class PriceFragmentCreditRate(BaseModel):
|
|
178
|
-
amount: float
|
|
179
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
class PriceFragmentTiers(PriceTierFragment):
|
|
183
|
-
pass
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
class PriceFragmentFeature(BaseModel):
|
|
187
|
-
ref_id: str = Field(alias="refId")
|
|
188
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
189
|
-
feature_units_plural: Optional[str] = Field(
|
|
190
|
-
alias="featureUnitsPlural", default=None
|
|
191
|
-
)
|
|
192
|
-
display_name: str = Field(alias="displayName")
|
|
193
|
-
description: Optional[str] = Field(default=None)
|
|
194
|
-
|
|
195
|
-
|
|
196
196
|
class AddonFragment(BaseModel):
|
|
197
197
|
id: Any
|
|
198
198
|
ref_id: str = Field(alias="refId")
|
|
@@ -231,181 +231,213 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
231
231
|
pass
|
|
232
232
|
|
|
233
233
|
|
|
234
|
-
class
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
234
|
+
class FeatureFragment(BaseModel):
|
|
235
|
+
typename__: str = Field(alias="__typename")
|
|
236
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
237
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
238
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
239
|
+
feature_units_plural: Optional[str] = Field(
|
|
240
|
+
alias="featureUnitsPlural", default=None
|
|
241
|
+
)
|
|
242
|
+
description: Optional[str] = Field(default=None)
|
|
243
|
+
display_name: str = Field(alias="displayName")
|
|
244
|
+
ref_id: str = Field(alias="refId")
|
|
245
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
246
|
+
alias="unitTransformation", default=None
|
|
247
|
+
)
|
|
246
248
|
|
|
247
249
|
|
|
248
|
-
class
|
|
249
|
-
|
|
250
|
-
|
|
250
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
251
|
+
divide: float
|
|
252
|
+
round: UnitTransformationRound
|
|
251
253
|
|
|
252
254
|
|
|
253
|
-
class
|
|
254
|
-
|
|
255
|
-
|
|
255
|
+
class EntitlementFragment(BaseModel):
|
|
256
|
+
typename__: str = Field(alias="__typename")
|
|
257
|
+
is_granted: bool = Field(alias="isGranted")
|
|
258
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
259
|
+
alias="accessDeniedReason", default=None
|
|
256
260
|
)
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
262
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
263
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
264
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
265
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
266
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
267
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
268
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
269
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
270
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
271
|
+
alias="entitlementUpdatedAt", default=None
|
|
261
272
|
)
|
|
262
|
-
|
|
273
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
274
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
275
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
276
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
277
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
278
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
279
|
+
alias="resetPeriod", default=None
|
|
280
|
+
)
|
|
281
|
+
reset_period_configuration: Optional[
|
|
263
282
|
Annotated[
|
|
264
283
|
Union[
|
|
265
|
-
"
|
|
266
|
-
"
|
|
267
|
-
"
|
|
268
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
269
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
270
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
271
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
272
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
284
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
285
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
286
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
273
287
|
],
|
|
274
288
|
Field(discriminator="typename__"),
|
|
275
289
|
]
|
|
276
|
-
] = Field(alias="
|
|
290
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
291
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
277
292
|
|
|
278
293
|
|
|
279
|
-
class
|
|
280
|
-
|
|
281
|
-
|
|
294
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
295
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
296
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
297
|
+
alias="monthlyAccordingTo", default=None
|
|
298
|
+
)
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
302
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
303
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
304
|
+
alias="weeklyAccordingTo", default=None
|
|
305
|
+
)
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
309
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
310
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
311
|
+
alias="yearlyAccordingTo", default=None
|
|
312
|
+
)
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
316
|
+
pass
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
320
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
282
321
|
display_name: str = Field(alias="displayName")
|
|
322
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
323
|
+
default=None
|
|
324
|
+
)
|
|
325
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
283
326
|
|
|
284
327
|
|
|
285
|
-
class
|
|
286
|
-
|
|
287
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
288
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
328
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
329
|
+
pass
|
|
289
330
|
|
|
290
331
|
|
|
291
|
-
class
|
|
292
|
-
|
|
293
|
-
)
|
|
294
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
295
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
296
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
332
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
333
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
334
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
297
335
|
|
|
298
336
|
|
|
299
|
-
class
|
|
300
|
-
|
|
301
|
-
)
|
|
302
|
-
|
|
303
|
-
|
|
337
|
+
class ProductFragment(BaseModel):
|
|
338
|
+
ref_id: str = Field(alias="refId")
|
|
339
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
340
|
+
description: Optional[str] = Field(default=None)
|
|
341
|
+
additional_meta_data: Optional[Any] = Field(
|
|
342
|
+
alias="additionalMetaData", default=None
|
|
343
|
+
)
|
|
344
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
304
345
|
|
|
305
346
|
|
|
306
|
-
class
|
|
307
|
-
|
|
347
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
348
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
349
|
+
alias="downgradePlan", default=None
|
|
350
|
+
)
|
|
308
351
|
|
|
309
352
|
|
|
310
|
-
class
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
314
|
-
billable_features: Optional[
|
|
315
|
-
List[
|
|
316
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
317
|
-
]
|
|
318
|
-
] = Field(alias="billableFeatures", default=None)
|
|
319
|
-
addons: Optional[
|
|
320
|
-
List[
|
|
321
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
322
|
-
]
|
|
323
|
-
] = Field(default=None)
|
|
324
|
-
price_overrides: Optional[
|
|
325
|
-
List[
|
|
326
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
327
|
-
]
|
|
328
|
-
] = Field(alias="priceOverrides", default=None)
|
|
353
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
354
|
+
ref_id: str = Field(alias="refId")
|
|
355
|
+
display_name: str = Field(alias="displayName")
|
|
329
356
|
|
|
330
357
|
|
|
331
|
-
class
|
|
332
|
-
|
|
333
|
-
)
|
|
334
|
-
|
|
335
|
-
|
|
358
|
+
class PlanFragment(BaseModel):
|
|
359
|
+
id: Any
|
|
360
|
+
ref_id: str = Field(alias="refId")
|
|
361
|
+
display_name: str = Field(alias="displayName")
|
|
362
|
+
description: Optional[str] = Field(default=None)
|
|
363
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
364
|
+
version_number: int = Field(alias="versionNumber")
|
|
365
|
+
additional_meta_data: Optional[Any] = Field(
|
|
366
|
+
alias="additionalMetaData", default=None
|
|
367
|
+
)
|
|
368
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
369
|
+
alias="hiddenFromWidgets", default=None
|
|
370
|
+
)
|
|
371
|
+
product: "PlanFragmentProduct"
|
|
372
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
373
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
374
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
375
|
+
alias="inheritedEntitlements", default=None
|
|
376
|
+
)
|
|
377
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
378
|
+
alias="compatibleAddons", default=None
|
|
379
|
+
)
|
|
380
|
+
compatible_package_groups: Optional[
|
|
381
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
382
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
383
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
384
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
385
|
+
alias="overagePrices", default=None
|
|
386
|
+
)
|
|
387
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
388
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
389
|
+
alias="defaultTrialConfig", default=None
|
|
390
|
+
)
|
|
336
391
|
|
|
337
392
|
|
|
338
|
-
class
|
|
339
|
-
|
|
340
|
-
):
|
|
341
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
342
|
-
quantity: float
|
|
393
|
+
class PlanFragmentProduct(ProductFragment):
|
|
394
|
+
pass
|
|
343
395
|
|
|
344
396
|
|
|
345
|
-
class
|
|
346
|
-
|
|
347
|
-
)
|
|
348
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
349
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
350
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
397
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
398
|
+
ref_id: str = Field(alias="refId")
|
|
399
|
+
display_name: str = Field(alias="displayName")
|
|
351
400
|
|
|
352
401
|
|
|
353
|
-
class
|
|
354
|
-
|
|
355
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
356
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
357
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
358
|
-
billable_features: Optional[
|
|
359
|
-
List[
|
|
360
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
361
|
-
]
|
|
362
|
-
] = Field(alias="billableFeatures", default=None)
|
|
363
|
-
addons: Optional[
|
|
364
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
365
|
-
] = Field(default=None)
|
|
366
|
-
price_overrides: Optional[
|
|
367
|
-
List[
|
|
368
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
369
|
-
]
|
|
370
|
-
] = Field(alias="priceOverrides", default=None)
|
|
402
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
403
|
+
pass
|
|
371
404
|
|
|
372
405
|
|
|
373
|
-
class
|
|
374
|
-
|
|
375
|
-
):
|
|
376
|
-
feature_id: str = Field(alias="featureId")
|
|
377
|
-
quantity: float
|
|
406
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
407
|
+
pass
|
|
378
408
|
|
|
379
409
|
|
|
380
|
-
class
|
|
381
|
-
|
|
382
|
-
quantity: float
|
|
410
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
411
|
+
pass
|
|
383
412
|
|
|
384
413
|
|
|
385
|
-
class
|
|
386
|
-
|
|
387
|
-
):
|
|
388
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
389
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
390
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
414
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
415
|
+
pass
|
|
391
416
|
|
|
392
417
|
|
|
393
|
-
class
|
|
394
|
-
|
|
395
|
-
):
|
|
396
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
397
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
398
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
418
|
+
class PlanFragmentPrices(PriceFragment):
|
|
419
|
+
pass
|
|
399
420
|
|
|
400
421
|
|
|
401
|
-
class
|
|
402
|
-
|
|
403
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
404
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
422
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
423
|
+
pass
|
|
405
424
|
|
|
406
425
|
|
|
407
|
-
class
|
|
408
|
-
|
|
426
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
427
|
+
duration: float
|
|
428
|
+
units: TrialPeriodUnits
|
|
429
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
430
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
431
|
+
alias="trialEndBehavior", default=None
|
|
432
|
+
)
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
436
|
+
limit: float
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
class CustomerResourceFragment(BaseModel):
|
|
440
|
+
resource_id: str = Field(alias="resourceId")
|
|
409
441
|
|
|
410
442
|
|
|
411
443
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -570,6 +602,25 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
570
602
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
571
603
|
|
|
572
604
|
|
|
605
|
+
class TotalPriceFragment(BaseModel):
|
|
606
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
607
|
+
total: "TotalPriceFragmentTotal"
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
611
|
+
amount: float
|
|
612
|
+
currency: Currency
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
616
|
+
amount: float
|
|
617
|
+
currency: Currency
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
621
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
622
|
+
|
|
623
|
+
|
|
573
624
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
574
625
|
billing_id: str = Field(alias="billingId")
|
|
575
626
|
status: SubscriptionInvoiceStatus
|
|
@@ -598,124 +649,158 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
598
649
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
599
650
|
|
|
600
651
|
|
|
601
|
-
class
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
605
|
-
default=None
|
|
652
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
653
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
654
|
+
alias="subscriptionScheduleType"
|
|
606
655
|
)
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
656
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
657
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
658
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
659
|
+
alias="targetPackage", default=None
|
|
660
|
+
)
|
|
661
|
+
schedule_variables: Optional[
|
|
662
|
+
Annotated[
|
|
663
|
+
Union[
|
|
664
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
665
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
666
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
667
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
668
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
669
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
670
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
671
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
672
|
+
],
|
|
673
|
+
Field(discriminator="typename__"),
|
|
674
|
+
]
|
|
675
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
612
676
|
|
|
613
677
|
|
|
614
|
-
class
|
|
615
|
-
|
|
616
|
-
|
|
678
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
679
|
+
id: Any
|
|
680
|
+
ref_id: str = Field(alias="refId")
|
|
681
|
+
display_name: str = Field(alias="displayName")
|
|
617
682
|
|
|
618
683
|
|
|
619
|
-
class
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
additional_meta_data: Optional[Any] = Field(
|
|
624
|
-
alias="additionalMetaData", default=None
|
|
625
|
-
)
|
|
626
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
684
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
685
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
686
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
687
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
627
688
|
|
|
628
689
|
|
|
629
|
-
class
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
)
|
|
690
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
691
|
+
BaseModel
|
|
692
|
+
):
|
|
693
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
694
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
695
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
633
696
|
|
|
634
697
|
|
|
635
|
-
class
|
|
636
|
-
|
|
637
|
-
|
|
698
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
699
|
+
BaseModel
|
|
700
|
+
):
|
|
701
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
702
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
638
703
|
|
|
639
704
|
|
|
640
|
-
class
|
|
641
|
-
|
|
642
|
-
ref_id: str = Field(alias="refId")
|
|
643
|
-
display_name: str = Field(alias="displayName")
|
|
644
|
-
description: Optional[str] = Field(default=None)
|
|
645
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
646
|
-
version_number: int = Field(alias="versionNumber")
|
|
647
|
-
additional_meta_data: Optional[Any] = Field(
|
|
648
|
-
alias="additionalMetaData", default=None
|
|
649
|
-
)
|
|
650
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
651
|
-
alias="hiddenFromWidgets", default=None
|
|
652
|
-
)
|
|
653
|
-
product: "PlanFragmentProduct"
|
|
654
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
655
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
656
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
657
|
-
alias="inheritedEntitlements", default=None
|
|
658
|
-
)
|
|
659
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
660
|
-
alias="compatibleAddons", default=None
|
|
661
|
-
)
|
|
662
|
-
compatible_package_groups: Optional[
|
|
663
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
664
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
665
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
666
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
667
|
-
alias="overagePrices", default=None
|
|
668
|
-
)
|
|
669
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
670
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
671
|
-
alias="defaultTrialConfig", default=None
|
|
672
|
-
)
|
|
705
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
706
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
673
707
|
|
|
674
708
|
|
|
675
|
-
class
|
|
676
|
-
|
|
709
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
710
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
711
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
712
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
713
|
+
billable_features: Optional[
|
|
714
|
+
List[
|
|
715
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
716
|
+
]
|
|
717
|
+
] = Field(alias="billableFeatures", default=None)
|
|
718
|
+
addons: Optional[
|
|
719
|
+
List[
|
|
720
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
721
|
+
]
|
|
722
|
+
] = Field(default=None)
|
|
723
|
+
price_overrides: Optional[
|
|
724
|
+
List[
|
|
725
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
726
|
+
]
|
|
727
|
+
] = Field(alias="priceOverrides", default=None)
|
|
677
728
|
|
|
678
729
|
|
|
679
|
-
class
|
|
680
|
-
|
|
681
|
-
|
|
730
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
731
|
+
BaseModel
|
|
732
|
+
):
|
|
733
|
+
feature_id: str = Field(alias="featureId")
|
|
734
|
+
quantity: float
|
|
682
735
|
|
|
683
736
|
|
|
684
|
-
class
|
|
685
|
-
|
|
737
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
738
|
+
BaseModel
|
|
739
|
+
):
|
|
740
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
741
|
+
quantity: float
|
|
686
742
|
|
|
687
743
|
|
|
688
|
-
class
|
|
689
|
-
|
|
744
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
745
|
+
BaseModel
|
|
746
|
+
):
|
|
747
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
748
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
749
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
690
750
|
|
|
691
751
|
|
|
692
|
-
class
|
|
693
|
-
|
|
752
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
753
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
754
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
755
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
756
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
757
|
+
billable_features: Optional[
|
|
758
|
+
List[
|
|
759
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
760
|
+
]
|
|
761
|
+
] = Field(alias="billableFeatures", default=None)
|
|
762
|
+
addons: Optional[
|
|
763
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
764
|
+
] = Field(default=None)
|
|
765
|
+
price_overrides: Optional[
|
|
766
|
+
List[
|
|
767
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
768
|
+
]
|
|
769
|
+
] = Field(alias="priceOverrides", default=None)
|
|
694
770
|
|
|
695
771
|
|
|
696
|
-
class
|
|
697
|
-
|
|
772
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
773
|
+
BaseModel
|
|
774
|
+
):
|
|
775
|
+
feature_id: str = Field(alias="featureId")
|
|
776
|
+
quantity: float
|
|
698
777
|
|
|
699
778
|
|
|
700
|
-
class
|
|
701
|
-
|
|
779
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
780
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
781
|
+
quantity: float
|
|
702
782
|
|
|
703
783
|
|
|
704
|
-
class
|
|
705
|
-
|
|
784
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
785
|
+
BaseModel
|
|
786
|
+
):
|
|
787
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
788
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
789
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
706
790
|
|
|
707
791
|
|
|
708
|
-
class
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
)
|
|
792
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
793
|
+
BaseModel
|
|
794
|
+
):
|
|
795
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
796
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
797
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
715
798
|
|
|
716
799
|
|
|
717
|
-
class
|
|
718
|
-
|
|
800
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
801
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
802
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
803
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
719
804
|
|
|
720
805
|
|
|
721
806
|
class SlimCustomerFragment(BaseModel):
|
|
@@ -844,91 +929,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
844
929
|
pass
|
|
845
930
|
|
|
846
931
|
|
|
847
|
-
class FeatureFragment(BaseModel):
|
|
848
|
-
typename__: str = Field(alias="__typename")
|
|
849
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
850
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
851
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
852
|
-
feature_units_plural: Optional[str] = Field(
|
|
853
|
-
alias="featureUnitsPlural", default=None
|
|
854
|
-
)
|
|
855
|
-
description: Optional[str] = Field(default=None)
|
|
856
|
-
display_name: str = Field(alias="displayName")
|
|
857
|
-
ref_id: str = Field(alias="refId")
|
|
858
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
859
|
-
alias="unitTransformation", default=None
|
|
860
|
-
)
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
864
|
-
divide: float
|
|
865
|
-
round: UnitTransformationRound
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
class EntitlementFragment(BaseModel):
|
|
869
|
-
typename__: str = Field(alias="__typename")
|
|
870
|
-
is_granted: bool = Field(alias="isGranted")
|
|
871
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
872
|
-
alias="accessDeniedReason", default=None
|
|
873
|
-
)
|
|
874
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
875
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
876
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
877
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
878
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
879
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
880
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
881
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
882
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
883
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
884
|
-
alias="entitlementUpdatedAt", default=None
|
|
885
|
-
)
|
|
886
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
887
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
888
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
889
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
890
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
891
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
892
|
-
alias="resetPeriod", default=None
|
|
893
|
-
)
|
|
894
|
-
reset_period_configuration: Optional[
|
|
895
|
-
Annotated[
|
|
896
|
-
Union[
|
|
897
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
898
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
899
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
900
|
-
],
|
|
901
|
-
Field(discriminator="typename__"),
|
|
902
|
-
]
|
|
903
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
904
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
908
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
909
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
910
|
-
alias="monthlyAccordingTo", default=None
|
|
911
|
-
)
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
915
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
916
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
917
|
-
alias="weeklyAccordingTo", default=None
|
|
918
|
-
)
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
922
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
923
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
924
|
-
alias="yearlyAccordingTo", default=None
|
|
925
|
-
)
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
929
|
-
pass
|
|
930
|
-
|
|
931
|
-
|
|
932
932
|
class ApplySubscriptionFragment(BaseModel):
|
|
933
933
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
934
934
|
default=None
|
|
@@ -1000,9 +1000,44 @@ class CheckoutConfigurationFragmentTypography(TypographyConfigurationFragment):
|
|
|
1000
1000
|
typename__: Literal["TypographyConfiguration"] = Field(alias="__typename")
|
|
1001
1001
|
|
|
1002
1002
|
|
|
1003
|
-
class CheckoutConfigurationFragmentContent(BaseModel):
|
|
1004
|
-
collect_phone_number: Optional[bool] = Field(
|
|
1005
|
-
alias="collectPhoneNumber", default=None
|
|
1003
|
+
class CheckoutConfigurationFragmentContent(BaseModel):
|
|
1004
|
+
collect_phone_number: Optional[bool] = Field(
|
|
1005
|
+
alias="collectPhoneNumber", default=None
|
|
1006
|
+
)
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1010
|
+
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1011
|
+
setup_secret: str = Field(alias="setupSecret")
|
|
1012
|
+
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1016
|
+
status: PromotionalEntitlementStatus
|
|
1017
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1018
|
+
feature_id: Any = Field(alias="featureId")
|
|
1019
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1020
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1021
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1022
|
+
alias="resetPeriod", default=None
|
|
1023
|
+
)
|
|
1024
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1025
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1026
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1030
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1031
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1032
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1033
|
+
feature_units_plural: Optional[str] = Field(
|
|
1034
|
+
alias="featureUnitsPlural", default=None
|
|
1035
|
+
)
|
|
1036
|
+
display_name: str = Field(alias="displayName")
|
|
1037
|
+
description: Optional[str] = Field(default=None)
|
|
1038
|
+
ref_id: str = Field(alias="refId")
|
|
1039
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1040
|
+
alias="additionalMetaData", default=None
|
|
1006
1041
|
)
|
|
1007
1042
|
|
|
1008
1043
|
|
|
@@ -1040,35 +1075,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1040
1075
|
status: SyncStatus
|
|
1041
1076
|
|
|
1042
1077
|
|
|
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
|
-
|
|
1072
1078
|
class CustomerFragment(SlimCustomerFragment):
|
|
1073
1079
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1074
1080
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1127,12 +1133,6 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1127
1133
|
pass
|
|
1128
1134
|
|
|
1129
1135
|
|
|
1130
|
-
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1131
|
-
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1132
|
-
setup_secret: str = Field(alias="setupSecret")
|
|
1133
|
-
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
1136
|
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1137
1137
|
publishable_key: str = Field(alias="publishableKey")
|
|
1138
1138
|
|
|
@@ -1397,58 +1397,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1397
1397
|
pass
|
|
1398
1398
|
|
|
1399
1399
|
|
|
1400
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1401
|
-
display_name: str = Field(alias="displayName")
|
|
1402
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1403
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1404
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1405
|
-
period: PromotionalEntitlementPeriod
|
|
1406
|
-
start_date: Any = Field(alias="startDate")
|
|
1407
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1411
|
-
addon_id: str = Field(alias="addonId")
|
|
1412
|
-
description: Optional[str] = Field(default=None)
|
|
1413
|
-
display_name: str = Field(alias="displayName")
|
|
1414
|
-
quantity: int
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1418
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1419
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1420
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1421
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1422
|
-
default=None
|
|
1423
|
-
)
|
|
1424
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1425
|
-
alias="creditRate", default=None
|
|
1426
|
-
)
|
|
1427
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1428
|
-
default=None
|
|
1429
|
-
)
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1433
|
-
amount: float
|
|
1434
|
-
currency: Currency
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1438
|
-
amount: float
|
|
1439
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1443
|
-
id: Any
|
|
1444
|
-
ref_id: str = Field(alias="refId")
|
|
1445
|
-
display_name: str = Field(alias="displayName")
|
|
1446
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1447
|
-
feature_units_plural: Optional[str] = Field(
|
|
1448
|
-
alias="featureUnitsPlural", default=None
|
|
1449
|
-
)
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
1400
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1453
1401
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1454
1402
|
alias="subscriptionScheduleType"
|
|
@@ -1618,6 +1566,48 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1618
1566
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1619
1567
|
|
|
1620
1568
|
|
|
1569
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1570
|
+
addon_id: str = Field(alias="addonId")
|
|
1571
|
+
description: Optional[str] = Field(default=None)
|
|
1572
|
+
display_name: str = Field(alias="displayName")
|
|
1573
|
+
quantity: int
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1577
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1578
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1579
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1580
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1581
|
+
default=None
|
|
1582
|
+
)
|
|
1583
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1584
|
+
alias="creditRate", default=None
|
|
1585
|
+
)
|
|
1586
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1587
|
+
default=None
|
|
1588
|
+
)
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1592
|
+
amount: float
|
|
1593
|
+
currency: Currency
|
|
1594
|
+
|
|
1595
|
+
|
|
1596
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1597
|
+
amount: float
|
|
1598
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1599
|
+
|
|
1600
|
+
|
|
1601
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1602
|
+
id: Any
|
|
1603
|
+
ref_id: str = Field(alias="refId")
|
|
1604
|
+
display_name: str = Field(alias="displayName")
|
|
1605
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1606
|
+
feature_units_plural: Optional[str] = Field(
|
|
1607
|
+
alias="featureUnitsPlural", default=None
|
|
1608
|
+
)
|
|
1609
|
+
|
|
1610
|
+
|
|
1621
1611
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1622
1612
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1623
1613
|
plan_id: str = Field(alias="planId")
|
|
@@ -1722,6 +1712,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1722
1712
|
pass
|
|
1723
1713
|
|
|
1724
1714
|
|
|
1715
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1716
|
+
display_name: str = Field(alias="displayName")
|
|
1717
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1718
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1719
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1720
|
+
period: PromotionalEntitlementPeriod
|
|
1721
|
+
start_date: Any = Field(alias="startDate")
|
|
1722
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
1725
|
class CustomerPortalFragment(BaseModel):
|
|
1726
1726
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1727
1727
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1949,41 +1949,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1949
1949
|
description: Optional[str] = Field(default=None)
|
|
1950
1950
|
|
|
1951
1951
|
|
|
1952
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1953
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1954
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1955
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1956
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1957
|
-
alias="resetPeriod", default=None
|
|
1958
|
-
)
|
|
1959
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1960
|
-
alias="hiddenFromWidgets", default=None
|
|
1961
|
-
)
|
|
1962
|
-
display_name_override: Optional[str] = Field(
|
|
1963
|
-
alias="displayNameOverride", default=None
|
|
1964
|
-
)
|
|
1965
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1966
|
-
is_granted: bool = Field(alias="isGranted")
|
|
1967
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1968
|
-
default=None
|
|
1969
|
-
)
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1973
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1974
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1975
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1976
|
-
feature_units_plural: Optional[str] = Field(
|
|
1977
|
-
alias="featureUnitsPlural", default=None
|
|
1978
|
-
)
|
|
1979
|
-
display_name: str = Field(alias="displayName")
|
|
1980
|
-
description: Optional[str] = Field(default=None)
|
|
1981
|
-
ref_id: str = Field(alias="refId")
|
|
1982
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1983
|
-
alias="additionalMetaData", default=None
|
|
1984
|
-
)
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
1952
|
class MockPaywallPriceFragment(BaseModel):
|
|
1988
1953
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1989
1954
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -2026,6 +1991,41 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
2026
1991
|
display_name: str = Field(alias="displayName")
|
|
2027
1992
|
|
|
2028
1993
|
|
|
1994
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1995
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1996
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1997
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1998
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1999
|
+
alias="resetPeriod", default=None
|
|
2000
|
+
)
|
|
2001
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
2002
|
+
alias="hiddenFromWidgets", default=None
|
|
2003
|
+
)
|
|
2004
|
+
display_name_override: Optional[str] = Field(
|
|
2005
|
+
alias="displayNameOverride", default=None
|
|
2006
|
+
)
|
|
2007
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
2008
|
+
is_granted: bool = Field(alias="isGranted")
|
|
2009
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
2010
|
+
default=None
|
|
2011
|
+
)
|
|
2012
|
+
|
|
2013
|
+
|
|
2014
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
2015
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
2016
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
2017
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
2018
|
+
feature_units_plural: Optional[str] = Field(
|
|
2019
|
+
alias="featureUnitsPlural", default=None
|
|
2020
|
+
)
|
|
2021
|
+
display_name: str = Field(alias="displayName")
|
|
2022
|
+
description: Optional[str] = Field(default=None)
|
|
2023
|
+
ref_id: str = Field(alias="refId")
|
|
2024
|
+
additional_meta_data: Optional[Any] = Field(
|
|
2025
|
+
alias="additionalMetaData", default=None
|
|
2026
|
+
)
|
|
2027
|
+
|
|
2028
|
+
|
|
2029
2029
|
class MockPaywallAddonFragment(BaseModel):
|
|
2030
2030
|
ref_id: str = Field(alias="refId")
|
|
2031
2031
|
display_name: str = Field(alias="displayName")
|
|
@@ -3004,31 +3004,31 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
3004
3004
|
|
|
3005
3005
|
AddonDependencyFragment.model_rebuild()
|
|
3006
3006
|
PriceTierFragment.model_rebuild()
|
|
3007
|
+
PriceFragment.model_rebuild()
|
|
3007
3008
|
OveragePriceFragment.model_rebuild()
|
|
3008
3009
|
PackageEntitlementFragment.model_rebuild()
|
|
3009
|
-
PriceFragment.model_rebuild()
|
|
3010
3010
|
AddonFragment.model_rebuild()
|
|
3011
|
+
FeatureFragment.model_rebuild()
|
|
3012
|
+
EntitlementFragment.model_rebuild()
|
|
3013
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3014
|
+
ProductFragment.model_rebuild()
|
|
3015
|
+
PlanFragment.model_rebuild()
|
|
3011
3016
|
CustomerResourceFragment.model_rebuild()
|
|
3017
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3012
3018
|
TotalPriceFragment.model_rebuild()
|
|
3013
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
3014
3019
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3015
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3016
3020
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
3017
|
-
|
|
3018
|
-
ProductFragment.model_rebuild()
|
|
3019
|
-
PlanFragment.model_rebuild()
|
|
3021
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
3020
3022
|
SlimCustomerFragment.model_rebuild()
|
|
3021
3023
|
SubscriptionFragment.model_rebuild()
|
|
3022
|
-
FeatureFragment.model_rebuild()
|
|
3023
|
-
EntitlementFragment.model_rebuild()
|
|
3024
3024
|
ApplySubscriptionFragment.model_rebuild()
|
|
3025
3025
|
FontVariantFragment.model_rebuild()
|
|
3026
3026
|
TypographyConfigurationFragment.model_rebuild()
|
|
3027
3027
|
CheckoutConfigurationFragment.model_rebuild()
|
|
3028
|
-
|
|
3028
|
+
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3029
3029
|
PromotionalEntitlementFragment.model_rebuild()
|
|
3030
|
+
CouponFragment.model_rebuild()
|
|
3030
3031
|
CustomerFragment.model_rebuild()
|
|
3031
|
-
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3032
3032
|
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3033
3033
|
CheckoutStateFragment.model_rebuild()
|
|
3034
3034
|
CreditGrantFragment.model_rebuild()
|
|
@@ -3039,11 +3039,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
3039
3039
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
3040
3040
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3041
3041
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3042
|
-
|
|
3042
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3043
3043
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3044
3044
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3045
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3046
3045
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3046
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3047
3047
|
CustomerPortalFragment.model_rebuild()
|
|
3048
3048
|
CustomerStatisticsFragment.model_rebuild()
|
|
3049
3049
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -3053,8 +3053,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
3053
3053
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
3054
3054
|
LayoutConfigurationFragment.model_rebuild()
|
|
3055
3055
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
3056
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
3057
3056
|
MockPaywallPriceFragment.model_rebuild()
|
|
3057
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
3058
3058
|
MockPaywallAddonFragment.model_rebuild()
|
|
3059
3059
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3060
3060
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -843,6 +843,9 @@ class CreditGrantInput(BaseModel):
|
|
|
843
843
|
alias="additionalMetaData", default=None
|
|
844
844
|
)
|
|
845
845
|
amount: float
|
|
846
|
+
await_payment_confirmation: Optional[bool] = Field(
|
|
847
|
+
alias="awaitPaymentConfirmation", default=False
|
|
848
|
+
)
|
|
846
849
|
comment: Optional[str] = None
|
|
847
850
|
cost: Optional["MoneyInputDTO"] = None
|
|
848
851
|
currency_id: str = Field(alias="currencyId")
|
|
@@ -852,6 +855,9 @@ class CreditGrantInput(BaseModel):
|
|
|
852
855
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
853
856
|
expire_at: Optional[Any] = Field(alias="expireAt", default=None)
|
|
854
857
|
grant_type: CreditGrantType = Field(alias="grantType")
|
|
858
|
+
payment_collection_method: Optional[PaymentCollectionMethod] = Field(
|
|
859
|
+
alias="paymentCollectionMethod", default=None
|
|
860
|
+
)
|
|
855
861
|
priority: Optional[float] = None
|
|
856
862
|
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
857
863
|
|
|
@@ -120,11 +120,11 @@ stigg/generated/create_payment_session.py,sha256=VRPT8Bbvb_evFHMav9y_pXWHMVbkRy9
|
|
|
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=gxACdOKoabCAcHuSjCWTAHXdBy68X_l-5b0F0F2epv0,39243
|
|
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=w9byE7O2hM6xoETit06dQvsQgtEpNUWVS1kjw7VMXd4,109870
|
|
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=fzZzDLrvL84WYM7mnr0YSwkrJymCmU2aYpf5-js4YYg,214746
|
|
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,7 @@ 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
|
-
stigg_api_client_v2-3.
|
|
175
|
-
stigg_api_client_v2-3.
|
|
176
|
-
stigg_api_client_v2-3.
|
|
177
|
-
stigg_api_client_v2-3.
|
|
174
|
+
stigg_api_client_v2-3.100.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
175
|
+
stigg_api_client_v2-3.100.0.dist-info/METADATA,sha256=lyIe6Px1mIT_8Sg3_PWaIF0xwEyYcgzlpnMntZWZIKE,2258
|
|
176
|
+
stigg_api_client_v2-3.100.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
177
|
+
stigg_api_client_v2-3.100.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|