stigg-api-client-v2 3.70.1__py3-none-any.whl → 3.76.1__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/fragments.py +383 -383
- {stigg_api_client_v2-3.70.1.dist-info → stigg_api_client_v2-3.76.1.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.70.1.dist-info → stigg_api_client_v2-3.76.1.dist-info}/RECORD +5 -5
- {stigg_api_client_v2-3.70.1.dist-info → stigg_api_client_v2-3.76.1.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.70.1.dist-info → stigg_api_client_v2-3.76.1.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -125,6 +125,38 @@ class PriceFragmentFeature(BaseModel):
|
|
|
125
125
|
description: Optional[str] = Field(default=None)
|
|
126
126
|
|
|
127
127
|
|
|
128
|
+
class OveragePriceFragment(BaseModel):
|
|
129
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
130
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
131
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
132
|
+
billing_country_code: Optional[str] = Field(
|
|
133
|
+
alias="billingCountryCode", default=None
|
|
134
|
+
)
|
|
135
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
136
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
137
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
138
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
142
|
+
amount: float
|
|
143
|
+
currency: Currency
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
147
|
+
pass
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
151
|
+
ref_id: str = Field(alias="refId")
|
|
152
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
153
|
+
feature_units_plural: Optional[str] = Field(
|
|
154
|
+
alias="featureUnitsPlural", default=None
|
|
155
|
+
)
|
|
156
|
+
display_name: str = Field(alias="displayName")
|
|
157
|
+
description: Optional[str] = Field(default=None)
|
|
158
|
+
|
|
159
|
+
|
|
128
160
|
class PackageEntitlementFragment(BaseModel):
|
|
129
161
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
130
162
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -160,76 +192,266 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
160
192
|
)
|
|
161
193
|
|
|
162
194
|
|
|
163
|
-
class
|
|
164
|
-
|
|
165
|
-
|
|
195
|
+
class AddonFragment(BaseModel):
|
|
196
|
+
id: Any
|
|
197
|
+
ref_id: str = Field(alias="refId")
|
|
166
198
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
167
|
-
|
|
168
|
-
|
|
199
|
+
display_name: str = Field(alias="displayName")
|
|
200
|
+
description: Optional[str] = Field(default=None)
|
|
201
|
+
additional_meta_data: Optional[Any] = Field(
|
|
202
|
+
alias="additionalMetaData", default=None
|
|
169
203
|
)
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
204
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
205
|
+
alias="hiddenFromWidgets", default=None
|
|
206
|
+
)
|
|
207
|
+
entitlements: Optional[List["AddonFragmentEntitlements"]] = Field(default=None)
|
|
208
|
+
prices: Optional[List["AddonFragmentPrices"]] = Field(default=None)
|
|
209
|
+
overage_prices: Optional[List["AddonFragmentOveragePrices"]] = Field(
|
|
210
|
+
alias="overagePrices", default=None
|
|
211
|
+
)
|
|
212
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
213
|
+
max_quantity: Optional[float] = Field(alias="maxQuantity", default=None)
|
|
214
|
+
dependencies: Optional[List["AddonFragmentDependencies"]] = Field(default=None)
|
|
174
215
|
|
|
175
216
|
|
|
176
|
-
class
|
|
177
|
-
|
|
178
|
-
currency: Currency
|
|
217
|
+
class AddonFragmentEntitlements(PackageEntitlementFragment):
|
|
218
|
+
pass
|
|
179
219
|
|
|
180
220
|
|
|
181
|
-
class
|
|
221
|
+
class AddonFragmentPrices(PriceFragment):
|
|
182
222
|
pass
|
|
183
223
|
|
|
184
224
|
|
|
185
|
-
class
|
|
186
|
-
|
|
225
|
+
class AddonFragmentOveragePrices(OveragePriceFragment):
|
|
226
|
+
pass
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
class AddonFragmentDependencies(AddonDependencyFragment):
|
|
230
|
+
pass
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
class FeatureFragment(BaseModel):
|
|
234
|
+
typename__: str = Field(alias="__typename")
|
|
235
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
236
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
187
237
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
188
238
|
feature_units_plural: Optional[str] = Field(
|
|
189
239
|
alias="featureUnitsPlural", default=None
|
|
190
240
|
)
|
|
241
|
+
description: Optional[str] = Field(default=None)
|
|
191
242
|
display_name: str = Field(alias="displayName")
|
|
243
|
+
ref_id: str = Field(alias="refId")
|
|
244
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
245
|
+
alias="unitTransformation", default=None
|
|
246
|
+
)
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
250
|
+
divide: float
|
|
251
|
+
round: UnitTransformationRound
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
class EntitlementFragment(BaseModel):
|
|
255
|
+
typename__: str = Field(alias="__typename")
|
|
256
|
+
is_granted: bool = Field(alias="isGranted")
|
|
257
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
258
|
+
alias="accessDeniedReason", default=None
|
|
259
|
+
)
|
|
260
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
261
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
262
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
263
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
264
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
265
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
266
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
267
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
268
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
269
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
270
|
+
alias="entitlementUpdatedAt", default=None
|
|
271
|
+
)
|
|
272
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
273
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
274
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
275
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
276
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
277
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
278
|
+
alias="resetPeriod", default=None
|
|
279
|
+
)
|
|
280
|
+
reset_period_configuration: Optional[
|
|
281
|
+
Annotated[
|
|
282
|
+
Union[
|
|
283
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
284
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
285
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
286
|
+
],
|
|
287
|
+
Field(discriminator="typename__"),
|
|
288
|
+
]
|
|
289
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
290
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
294
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
295
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
296
|
+
alias="monthlyAccordingTo", default=None
|
|
297
|
+
)
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
301
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
302
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
303
|
+
alias="weeklyAccordingTo", default=None
|
|
304
|
+
)
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
308
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
309
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
310
|
+
alias="yearlyAccordingTo", default=None
|
|
311
|
+
)
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
315
|
+
pass
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
class ProductFragment(BaseModel):
|
|
319
|
+
ref_id: str = Field(alias="refId")
|
|
320
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
192
321
|
description: Optional[str] = Field(default=None)
|
|
322
|
+
additional_meta_data: Optional[Any] = Field(
|
|
323
|
+
alias="additionalMetaData", default=None
|
|
324
|
+
)
|
|
325
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
193
326
|
|
|
194
327
|
|
|
195
|
-
class
|
|
328
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
329
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
330
|
+
alias="downgradePlan", default=None
|
|
331
|
+
)
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
335
|
+
ref_id: str = Field(alias="refId")
|
|
336
|
+
display_name: str = Field(alias="displayName")
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
340
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
341
|
+
display_name: str = Field(alias="displayName")
|
|
342
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
343
|
+
default=None
|
|
344
|
+
)
|
|
345
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
349
|
+
pass
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
353
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
354
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
class PlanFragment(BaseModel):
|
|
196
358
|
id: Any
|
|
197
359
|
ref_id: str = Field(alias="refId")
|
|
198
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
199
360
|
display_name: str = Field(alias="displayName")
|
|
200
361
|
description: Optional[str] = Field(default=None)
|
|
362
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
363
|
+
version_number: int = Field(alias="versionNumber")
|
|
201
364
|
additional_meta_data: Optional[Any] = Field(
|
|
202
365
|
alias="additionalMetaData", default=None
|
|
203
366
|
)
|
|
204
367
|
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
205
368
|
alias="hiddenFromWidgets", default=None
|
|
206
369
|
)
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
370
|
+
product: "PlanFragmentProduct"
|
|
371
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
372
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
373
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
374
|
+
alias="inheritedEntitlements", default=None
|
|
375
|
+
)
|
|
376
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
377
|
+
alias="compatibleAddons", default=None
|
|
378
|
+
)
|
|
379
|
+
compatible_package_groups: Optional[
|
|
380
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
381
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
382
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
383
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
210
384
|
alias="overagePrices", default=None
|
|
211
385
|
)
|
|
212
386
|
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
213
|
-
|
|
214
|
-
|
|
387
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
388
|
+
alias="defaultTrialConfig", default=None
|
|
389
|
+
)
|
|
215
390
|
|
|
216
391
|
|
|
217
|
-
class
|
|
392
|
+
class PlanFragmentProduct(ProductFragment):
|
|
218
393
|
pass
|
|
219
394
|
|
|
220
395
|
|
|
221
|
-
class
|
|
396
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
397
|
+
ref_id: str = Field(alias="refId")
|
|
398
|
+
display_name: str = Field(alias="displayName")
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
222
402
|
pass
|
|
223
403
|
|
|
224
404
|
|
|
225
|
-
class
|
|
405
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
226
406
|
pass
|
|
227
407
|
|
|
228
408
|
|
|
229
|
-
class
|
|
409
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
410
|
+
pass
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
414
|
+
pass
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
class PlanFragmentPrices(PriceFragment):
|
|
230
418
|
pass
|
|
231
419
|
|
|
232
420
|
|
|
421
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
422
|
+
pass
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
426
|
+
duration: float
|
|
427
|
+
units: TrialPeriodUnits
|
|
428
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
429
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
430
|
+
alias="trialEndBehavior", default=None
|
|
431
|
+
)
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
435
|
+
limit: float
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
class SlimCustomerFragment(BaseModel):
|
|
439
|
+
id: Any
|
|
440
|
+
name: Optional[str] = Field(default=None)
|
|
441
|
+
email: Optional[str] = Field(default=None)
|
|
442
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
443
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
444
|
+
ref_id: str = Field(alias="refId")
|
|
445
|
+
customer_id: str = Field(alias="customerId")
|
|
446
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
447
|
+
additional_meta_data: Optional[Any] = Field(
|
|
448
|
+
alias="additionalMetaData", default=None
|
|
449
|
+
)
|
|
450
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
451
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
452
|
+
)
|
|
453
|
+
|
|
454
|
+
|
|
233
455
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
234
456
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
235
457
|
alias="subscriptionScheduleType"
|
|
@@ -388,6 +610,34 @@ class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
|
388
610
|
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
389
611
|
|
|
390
612
|
|
|
613
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
614
|
+
billing_id: str = Field(alias="billingId")
|
|
615
|
+
status: SubscriptionInvoiceStatus
|
|
616
|
+
created_at: Any = Field(alias="createdAt")
|
|
617
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
618
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
619
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
620
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
621
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
622
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
623
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
624
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
625
|
+
alias="billingReason", default=None
|
|
626
|
+
)
|
|
627
|
+
currency: Optional[str] = Field(default=None)
|
|
628
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
629
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
630
|
+
alias="subTotalExcludingTax", default=None
|
|
631
|
+
)
|
|
632
|
+
total: Optional[float] = Field(default=None)
|
|
633
|
+
total_excluding_tax: Optional[float] = Field(
|
|
634
|
+
alias="totalExcludingTax", default=None
|
|
635
|
+
)
|
|
636
|
+
tax: Optional[float] = Field(default=None)
|
|
637
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
638
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
639
|
+
|
|
640
|
+
|
|
391
641
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
392
642
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
393
643
|
alias="subscriptionScheduleType"
|
|
@@ -550,126 +800,6 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
550
800
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
551
801
|
|
|
552
802
|
|
|
553
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
554
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
555
|
-
display_name: str = Field(alias="displayName")
|
|
556
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
557
|
-
default=None
|
|
558
|
-
)
|
|
559
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
563
|
-
pass
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
567
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
568
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
class ProductFragment(BaseModel):
|
|
572
|
-
ref_id: str = Field(alias="refId")
|
|
573
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
574
|
-
description: Optional[str] = Field(default=None)
|
|
575
|
-
additional_meta_data: Optional[Any] = Field(
|
|
576
|
-
alias="additionalMetaData", default=None
|
|
577
|
-
)
|
|
578
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
582
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
583
|
-
alias="downgradePlan", default=None
|
|
584
|
-
)
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
588
|
-
ref_id: str = Field(alias="refId")
|
|
589
|
-
display_name: str = Field(alias="displayName")
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
class PlanFragment(BaseModel):
|
|
593
|
-
id: Any
|
|
594
|
-
ref_id: str = Field(alias="refId")
|
|
595
|
-
display_name: str = Field(alias="displayName")
|
|
596
|
-
description: Optional[str] = Field(default=None)
|
|
597
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
598
|
-
version_number: int = Field(alias="versionNumber")
|
|
599
|
-
additional_meta_data: Optional[Any] = Field(
|
|
600
|
-
alias="additionalMetaData", default=None
|
|
601
|
-
)
|
|
602
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
603
|
-
alias="hiddenFromWidgets", default=None
|
|
604
|
-
)
|
|
605
|
-
product: "PlanFragmentProduct"
|
|
606
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
607
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
608
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
609
|
-
alias="inheritedEntitlements", default=None
|
|
610
|
-
)
|
|
611
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
612
|
-
alias="compatibleAddons", default=None
|
|
613
|
-
)
|
|
614
|
-
compatible_package_groups: Optional[
|
|
615
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
616
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
617
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
618
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
619
|
-
alias="overagePrices", default=None
|
|
620
|
-
)
|
|
621
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
622
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
623
|
-
alias="defaultTrialConfig", default=None
|
|
624
|
-
)
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
class PlanFragmentProduct(ProductFragment):
|
|
628
|
-
pass
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
632
|
-
ref_id: str = Field(alias="refId")
|
|
633
|
-
display_name: str = Field(alias="displayName")
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
637
|
-
pass
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
641
|
-
pass
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
645
|
-
pass
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
649
|
-
pass
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
class PlanFragmentPrices(PriceFragment):
|
|
653
|
-
pass
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
657
|
-
pass
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
661
|
-
duration: float
|
|
662
|
-
units: TrialPeriodUnits
|
|
663
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
664
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
665
|
-
alias="trialEndBehavior", default=None
|
|
666
|
-
)
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
670
|
-
limit: float
|
|
671
|
-
|
|
672
|
-
|
|
673
803
|
class CustomerResourceFragment(BaseModel):
|
|
674
804
|
resource_id: str = Field(alias="resourceId")
|
|
675
805
|
|
|
@@ -689,51 +819,6 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
689
819
|
currency: Currency
|
|
690
820
|
|
|
691
821
|
|
|
692
|
-
class SlimCustomerFragment(BaseModel):
|
|
693
|
-
id: Any
|
|
694
|
-
name: Optional[str] = Field(default=None)
|
|
695
|
-
email: Optional[str] = Field(default=None)
|
|
696
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
697
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
698
|
-
ref_id: str = Field(alias="refId")
|
|
699
|
-
customer_id: str = Field(alias="customerId")
|
|
700
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
701
|
-
additional_meta_data: Optional[Any] = Field(
|
|
702
|
-
alias="additionalMetaData", default=None
|
|
703
|
-
)
|
|
704
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
705
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
706
|
-
)
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
710
|
-
billing_id: str = Field(alias="billingId")
|
|
711
|
-
status: SubscriptionInvoiceStatus
|
|
712
|
-
created_at: Any = Field(alias="createdAt")
|
|
713
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
714
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
715
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
716
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
717
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
718
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
719
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
720
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
721
|
-
alias="billingReason", default=None
|
|
722
|
-
)
|
|
723
|
-
currency: Optional[str] = Field(default=None)
|
|
724
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
725
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
726
|
-
alias="subTotalExcludingTax", default=None
|
|
727
|
-
)
|
|
728
|
-
total: Optional[float] = Field(default=None)
|
|
729
|
-
total_excluding_tax: Optional[float] = Field(
|
|
730
|
-
alias="totalExcludingTax", default=None
|
|
731
|
-
)
|
|
732
|
-
tax: Optional[float] = Field(default=None)
|
|
733
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
734
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
735
|
-
|
|
736
|
-
|
|
737
822
|
class SubscriptionFragment(BaseModel):
|
|
738
823
|
id: Any
|
|
739
824
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -821,110 +906,25 @@ class SubscriptionFragmentPlan(PlanFragment):
|
|
|
821
906
|
pass
|
|
822
907
|
|
|
823
908
|
|
|
824
|
-
class SubscriptionFragmentAddons(BaseModel):
|
|
825
|
-
id: Any
|
|
826
|
-
quantity: float
|
|
827
|
-
addon: "SubscriptionFragmentAddonsAddon"
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
831
|
-
pass
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
835
|
-
pass
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
839
|
-
pass
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
843
|
-
pass
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
class FeatureFragment(BaseModel):
|
|
847
|
-
typename__: str = Field(alias="__typename")
|
|
848
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
849
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
850
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
851
|
-
feature_units_plural: Optional[str] = Field(
|
|
852
|
-
alias="featureUnitsPlural", default=None
|
|
853
|
-
)
|
|
854
|
-
description: Optional[str] = Field(default=None)
|
|
855
|
-
display_name: str = Field(alias="displayName")
|
|
856
|
-
ref_id: str = Field(alias="refId")
|
|
857
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
858
|
-
alias="unitTransformation", default=None
|
|
859
|
-
)
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
863
|
-
divide: float
|
|
864
|
-
round: UnitTransformationRound
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
class EntitlementFragment(BaseModel):
|
|
868
|
-
typename__: str = Field(alias="__typename")
|
|
869
|
-
is_granted: bool = Field(alias="isGranted")
|
|
870
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
871
|
-
alias="accessDeniedReason", default=None
|
|
872
|
-
)
|
|
873
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
874
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
875
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
876
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
877
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
878
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
879
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
880
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
881
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
882
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
883
|
-
alias="entitlementUpdatedAt", default=None
|
|
884
|
-
)
|
|
885
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
886
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
887
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
888
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
889
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
890
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
891
|
-
alias="resetPeriod", default=None
|
|
892
|
-
)
|
|
893
|
-
reset_period_configuration: Optional[
|
|
894
|
-
Annotated[
|
|
895
|
-
Union[
|
|
896
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
897
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
898
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
899
|
-
],
|
|
900
|
-
Field(discriminator="typename__"),
|
|
901
|
-
]
|
|
902
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
903
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
909
|
+
class SubscriptionFragmentAddons(BaseModel):
|
|
910
|
+
id: Any
|
|
911
|
+
quantity: float
|
|
912
|
+
addon: "SubscriptionFragmentAddonsAddon"
|
|
904
913
|
|
|
905
914
|
|
|
906
|
-
class
|
|
907
|
-
|
|
908
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
909
|
-
alias="monthlyAccordingTo", default=None
|
|
910
|
-
)
|
|
915
|
+
class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
916
|
+
pass
|
|
911
917
|
|
|
912
918
|
|
|
913
|
-
class
|
|
914
|
-
|
|
915
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
916
|
-
alias="weeklyAccordingTo", default=None
|
|
917
|
-
)
|
|
919
|
+
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
920
|
+
pass
|
|
918
921
|
|
|
919
922
|
|
|
920
|
-
class
|
|
921
|
-
|
|
922
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
923
|
-
alias="yearlyAccordingTo", default=None
|
|
924
|
-
)
|
|
923
|
+
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
924
|
+
pass
|
|
925
925
|
|
|
926
926
|
|
|
927
|
-
class
|
|
927
|
+
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
928
928
|
pass
|
|
929
929
|
|
|
930
930
|
|
|
@@ -1005,10 +1005,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1005
1005
|
)
|
|
1006
1006
|
|
|
1007
1007
|
|
|
1008
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1009
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
1008
|
class CouponFragment(BaseModel):
|
|
1013
1009
|
id: Any
|
|
1014
1010
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1136,6 +1132,10 @@ class StripeCheckoutCredentialsFragment(BaseModel):
|
|
|
1136
1132
|
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1137
1133
|
|
|
1138
1134
|
|
|
1135
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1136
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
1139
|
class CheckoutStateFragment(BaseModel):
|
|
1140
1140
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1141
1141
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1352,16 +1352,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1352
1352
|
pass
|
|
1353
1353
|
|
|
1354
1354
|
|
|
1355
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1356
|
-
display_name: str = Field(alias="displayName")
|
|
1357
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1358
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1359
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1360
|
-
period: PromotionalEntitlementPeriod
|
|
1361
|
-
start_date: Any = Field(alias="startDate")
|
|
1362
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
1355
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1366
1356
|
addon_id: str = Field(alias="addonId")
|
|
1367
1357
|
description: Optional[str] = Field(default=None)
|
|
@@ -1369,6 +1359,41 @@ class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
|
1369
1359
|
quantity: int
|
|
1370
1360
|
|
|
1371
1361
|
|
|
1362
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1363
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1364
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1365
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1366
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1367
|
+
default=None
|
|
1368
|
+
)
|
|
1369
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1370
|
+
alias="creditRate", default=None
|
|
1371
|
+
)
|
|
1372
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1373
|
+
default=None
|
|
1374
|
+
)
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1378
|
+
amount: float
|
|
1379
|
+
currency: Currency
|
|
1380
|
+
|
|
1381
|
+
|
|
1382
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1383
|
+
amount: float
|
|
1384
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1388
|
+
id: Any
|
|
1389
|
+
ref_id: str = Field(alias="refId")
|
|
1390
|
+
display_name: str = Field(alias="displayName")
|
|
1391
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1392
|
+
feature_units_plural: Optional[str] = Field(
|
|
1393
|
+
alias="featureUnitsPlural", default=None
|
|
1394
|
+
)
|
|
1395
|
+
|
|
1396
|
+
|
|
1372
1397
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1373
1398
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1374
1399
|
alias="subscriptionScheduleType"
|
|
@@ -1538,41 +1563,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1538
1563
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1539
1564
|
|
|
1540
1565
|
|
|
1541
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1542
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1543
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1544
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1545
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1546
|
-
default=None
|
|
1547
|
-
)
|
|
1548
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1549
|
-
alias="creditRate", default=None
|
|
1550
|
-
)
|
|
1551
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1552
|
-
default=None
|
|
1553
|
-
)
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1557
|
-
amount: float
|
|
1558
|
-
currency: Currency
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1562
|
-
amount: float
|
|
1563
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1567
|
-
id: Any
|
|
1568
|
-
ref_id: str = Field(alias="refId")
|
|
1569
|
-
display_name: str = Field(alias="displayName")
|
|
1570
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1571
|
-
feature_units_plural: Optional[str] = Field(
|
|
1572
|
-
alias="featureUnitsPlural", default=None
|
|
1573
|
-
)
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
1566
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1577
1567
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1578
1568
|
plan_id: str = Field(alias="planId")
|
|
@@ -1677,6 +1667,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1677
1667
|
pass
|
|
1678
1668
|
|
|
1679
1669
|
|
|
1670
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1671
|
+
display_name: str = Field(alias="displayName")
|
|
1672
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1673
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1674
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1675
|
+
period: PromotionalEntitlementPeriod
|
|
1676
|
+
start_date: Any = Field(alias="startDate")
|
|
1677
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1678
|
+
|
|
1679
|
+
|
|
1680
1680
|
class CustomerPortalFragment(BaseModel):
|
|
1681
1681
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1682
1682
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1904,41 +1904,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1904
1904
|
description: Optional[str] = Field(default=None)
|
|
1905
1905
|
|
|
1906
1906
|
|
|
1907
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1908
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1909
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1910
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1911
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1912
|
-
alias="resetPeriod", default=None
|
|
1913
|
-
)
|
|
1914
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1915
|
-
alias="hiddenFromWidgets", default=None
|
|
1916
|
-
)
|
|
1917
|
-
display_name_override: Optional[str] = Field(
|
|
1918
|
-
alias="displayNameOverride", default=None
|
|
1919
|
-
)
|
|
1920
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1921
|
-
is_granted: bool = Field(alias="isGranted")
|
|
1922
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1923
|
-
default=None
|
|
1924
|
-
)
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1928
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1929
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1930
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1931
|
-
feature_units_plural: Optional[str] = Field(
|
|
1932
|
-
alias="featureUnitsPlural", default=None
|
|
1933
|
-
)
|
|
1934
|
-
display_name: str = Field(alias="displayName")
|
|
1935
|
-
description: Optional[str] = Field(default=None)
|
|
1936
|
-
ref_id: str = Field(alias="refId")
|
|
1937
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1938
|
-
alias="additionalMetaData", default=None
|
|
1939
|
-
)
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
1907
|
class MockPaywallPriceFragment(BaseModel):
|
|
1943
1908
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1944
1909
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1981,6 +1946,41 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1981
1946
|
display_name: str = Field(alias="displayName")
|
|
1982
1947
|
|
|
1983
1948
|
|
|
1949
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1950
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1951
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1952
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1953
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1954
|
+
alias="resetPeriod", default=None
|
|
1955
|
+
)
|
|
1956
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1957
|
+
alias="hiddenFromWidgets", default=None
|
|
1958
|
+
)
|
|
1959
|
+
display_name_override: Optional[str] = Field(
|
|
1960
|
+
alias="displayNameOverride", default=None
|
|
1961
|
+
)
|
|
1962
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1963
|
+
is_granted: bool = Field(alias="isGranted")
|
|
1964
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1965
|
+
default=None
|
|
1966
|
+
)
|
|
1967
|
+
|
|
1968
|
+
|
|
1969
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1970
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1971
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1972
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1973
|
+
feature_units_plural: Optional[str] = Field(
|
|
1974
|
+
alias="featureUnitsPlural", default=None
|
|
1975
|
+
)
|
|
1976
|
+
display_name: str = Field(alias="displayName")
|
|
1977
|
+
description: Optional[str] = Field(default=None)
|
|
1978
|
+
ref_id: str = Field(alias="refId")
|
|
1979
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1980
|
+
alias="additionalMetaData", default=None
|
|
1981
|
+
)
|
|
1982
|
+
|
|
1983
|
+
|
|
1984
1984
|
class MockPaywallAddonFragment(BaseModel):
|
|
1985
1985
|
ref_id: str = Field(alias="refId")
|
|
1986
1986
|
display_name: str = Field(alias="displayName")
|
|
@@ -2960,42 +2960,42 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2960
2960
|
AddonDependencyFragment.model_rebuild()
|
|
2961
2961
|
PriceTierFragment.model_rebuild()
|
|
2962
2962
|
PriceFragment.model_rebuild()
|
|
2963
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2964
2963
|
OveragePriceFragment.model_rebuild()
|
|
2964
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2965
2965
|
AddonFragment.model_rebuild()
|
|
2966
|
+
FeatureFragment.model_rebuild()
|
|
2967
|
+
EntitlementFragment.model_rebuild()
|
|
2968
|
+
ProductFragment.model_rebuild()
|
|
2969
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2970
|
+
PlanFragment.model_rebuild()
|
|
2971
|
+
SlimCustomerFragment.model_rebuild()
|
|
2966
2972
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2967
2973
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2974
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2968
2975
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2969
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2970
|
-
ProductFragment.model_rebuild()
|
|
2971
|
-
PlanFragment.model_rebuild()
|
|
2972
2976
|
CustomerResourceFragment.model_rebuild()
|
|
2973
2977
|
TotalPriceFragment.model_rebuild()
|
|
2974
|
-
SlimCustomerFragment.model_rebuild()
|
|
2975
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2976
2978
|
SubscriptionFragment.model_rebuild()
|
|
2977
|
-
FeatureFragment.model_rebuild()
|
|
2978
|
-
EntitlementFragment.model_rebuild()
|
|
2979
2979
|
ApplySubscriptionFragment.model_rebuild()
|
|
2980
2980
|
FontVariantFragment.model_rebuild()
|
|
2981
2981
|
TypographyConfigurationFragment.model_rebuild()
|
|
2982
2982
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2983
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
2984
2983
|
CouponFragment.model_rebuild()
|
|
2985
2984
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2986
2985
|
CustomerFragment.model_rebuild()
|
|
2987
2986
|
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
2987
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
2988
2988
|
CheckoutStateFragment.model_rebuild()
|
|
2989
2989
|
CreditGrantFragment.model_rebuild()
|
|
2990
2990
|
CreditsBalanceSummaryFragment.model_rebuild()
|
|
2991
2991
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2992
2992
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2993
2993
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2994
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2995
2994
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2996
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2997
2995
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2996
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2998
2997
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2998
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2999
2999
|
CustomerPortalFragment.model_rebuild()
|
|
3000
3000
|
CustomerStatisticsFragment.model_rebuild()
|
|
3001
3001
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -3005,8 +3005,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
3005
3005
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
3006
3006
|
LayoutConfigurationFragment.model_rebuild()
|
|
3007
3007
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
3008
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
3009
3008
|
MockPaywallPriceFragment.model_rebuild()
|
|
3009
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
3010
3010
|
MockPaywallAddonFragment.model_rebuild()
|
|
3011
3011
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3012
3012
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -124,7 +124,7 @@ stigg/generated/enums.py,sha256=HPIePI-595qtOG4D8Ca9GwvOQYLXGAv7auER5fYzS9Q,3854
|
|
|
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=bLD5X2E8zL2_Egu3wIRjLQ8R-R63WzwBE3nWsMQl1rk,108321
|
|
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
|
|
@@ -168,7 +168,7 @@ stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9e
|
|
|
168
168
|
stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0LZmDYkRn9mMjZm9n41YG6-p7Z8qU,636
|
|
169
169
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
170
170
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
171
|
-
stigg_api_client_v2-3.
|
|
172
|
-
stigg_api_client_v2-3.
|
|
173
|
-
stigg_api_client_v2-3.
|
|
174
|
-
stigg_api_client_v2-3.
|
|
171
|
+
stigg_api_client_v2-3.76.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
172
|
+
stigg_api_client_v2-3.76.1.dist-info/METADATA,sha256=tdItiEE8TnEQJCzQQN1a0YAOdgdFwBBxneXIlimZFmQ,2257
|
|
173
|
+
stigg_api_client_v2-3.76.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
174
|
+
stigg_api_client_v2-3.76.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|