stigg-api-client-v2 3.23.1__py3-none-any.whl → 3.26.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/fragments.py +250 -250
- {stigg_api_client_v2-3.23.1.dist-info → stigg_api_client_v2-3.26.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.23.1.dist-info → stigg_api_client_v2-3.26.0.dist-info}/RECORD +5 -5
- {stigg_api_client_v2-3.23.1.dist-info → stigg_api_client_v2-3.26.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.23.1.dist-info → stigg_api_client_v2-3.26.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -228,178 +228,6 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
228
228
|
pass
|
|
229
229
|
|
|
230
230
|
|
|
231
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
232
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
236
|
-
billing_id: str = Field(alias="billingId")
|
|
237
|
-
status: SubscriptionInvoiceStatus
|
|
238
|
-
created_at: Any = Field(alias="createdAt")
|
|
239
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
240
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
241
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
242
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
243
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
244
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
245
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
246
|
-
alias="billingReason", default=None
|
|
247
|
-
)
|
|
248
|
-
currency: Optional[str] = Field(default=None)
|
|
249
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
250
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
251
|
-
alias="subTotalExcludingTax", default=None
|
|
252
|
-
)
|
|
253
|
-
total: Optional[float] = Field(default=None)
|
|
254
|
-
total_excluding_tax: Optional[float] = Field(
|
|
255
|
-
alias="totalExcludingTax", default=None
|
|
256
|
-
)
|
|
257
|
-
tax: Optional[float] = Field(default=None)
|
|
258
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
259
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
class CustomerResourceFragment(BaseModel):
|
|
263
|
-
resource_id: str = Field(alias="resourceId")
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
class ProductFragment(BaseModel):
|
|
267
|
-
ref_id: str = Field(alias="refId")
|
|
268
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
269
|
-
description: Optional[str] = Field(default=None)
|
|
270
|
-
additional_meta_data: Optional[Any] = Field(
|
|
271
|
-
alias="additionalMetaData", default=None
|
|
272
|
-
)
|
|
273
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
277
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
278
|
-
alias="downgradePlan", default=None
|
|
279
|
-
)
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
283
|
-
ref_id: str = Field(alias="refId")
|
|
284
|
-
display_name: str = Field(alias="displayName")
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
288
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
289
|
-
display_name: str = Field(alias="displayName")
|
|
290
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
291
|
-
default=None
|
|
292
|
-
)
|
|
293
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
297
|
-
pass
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
301
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
302
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
class PlanFragment(BaseModel):
|
|
306
|
-
id: Any
|
|
307
|
-
ref_id: str = Field(alias="refId")
|
|
308
|
-
display_name: str = Field(alias="displayName")
|
|
309
|
-
description: Optional[str] = Field(default=None)
|
|
310
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
311
|
-
version_number: int = Field(alias="versionNumber")
|
|
312
|
-
additional_meta_data: Optional[Any] = Field(
|
|
313
|
-
alias="additionalMetaData", default=None
|
|
314
|
-
)
|
|
315
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
316
|
-
alias="hiddenFromWidgets", default=None
|
|
317
|
-
)
|
|
318
|
-
product: "PlanFragmentProduct"
|
|
319
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
320
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
321
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
322
|
-
alias="inheritedEntitlements", default=None
|
|
323
|
-
)
|
|
324
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
325
|
-
alias="compatibleAddons", default=None
|
|
326
|
-
)
|
|
327
|
-
compatible_package_groups: Optional[
|
|
328
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
329
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
330
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
331
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
332
|
-
alias="overagePrices", default=None
|
|
333
|
-
)
|
|
334
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
335
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
336
|
-
alias="defaultTrialConfig", default=None
|
|
337
|
-
)
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
class PlanFragmentProduct(ProductFragment):
|
|
341
|
-
pass
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
345
|
-
ref_id: str = Field(alias="refId")
|
|
346
|
-
display_name: str = Field(alias="displayName")
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
350
|
-
pass
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
354
|
-
pass
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
358
|
-
pass
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
362
|
-
pass
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
class PlanFragmentPrices(PriceFragment):
|
|
366
|
-
pass
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
370
|
-
pass
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
374
|
-
duration: float
|
|
375
|
-
units: TrialPeriodUnits
|
|
376
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
377
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
378
|
-
alias="trialEndBehavior", default=None
|
|
379
|
-
)
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
383
|
-
limit: float
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
class SlimCustomerFragment(BaseModel):
|
|
387
|
-
id: Any
|
|
388
|
-
name: Optional[str] = Field(default=None)
|
|
389
|
-
email: Optional[str] = Field(default=None)
|
|
390
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
391
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
392
|
-
ref_id: str = Field(alias="refId")
|
|
393
|
-
customer_id: str = Field(alias="customerId")
|
|
394
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
395
|
-
additional_meta_data: Optional[Any] = Field(
|
|
396
|
-
alias="additionalMetaData", default=None
|
|
397
|
-
)
|
|
398
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
399
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
400
|
-
)
|
|
401
|
-
|
|
402
|
-
|
|
403
231
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
404
232
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
405
233
|
alias="subscriptionScheduleType"
|
|
@@ -562,6 +390,10 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
562
390
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
563
391
|
|
|
564
392
|
|
|
393
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
394
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
395
|
+
|
|
396
|
+
|
|
565
397
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
566
398
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
567
399
|
alias="subscriptionScheduleType"
|
|
@@ -716,6 +548,174 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
716
548
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
717
549
|
|
|
718
550
|
|
|
551
|
+
class SlimCustomerFragment(BaseModel):
|
|
552
|
+
id: Any
|
|
553
|
+
name: Optional[str] = Field(default=None)
|
|
554
|
+
email: Optional[str] = Field(default=None)
|
|
555
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
556
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
557
|
+
ref_id: str = Field(alias="refId")
|
|
558
|
+
customer_id: str = Field(alias="customerId")
|
|
559
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
560
|
+
additional_meta_data: Optional[Any] = Field(
|
|
561
|
+
alias="additionalMetaData", default=None
|
|
562
|
+
)
|
|
563
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
564
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
565
|
+
)
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
class ProductFragment(BaseModel):
|
|
569
|
+
ref_id: str = Field(alias="refId")
|
|
570
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
571
|
+
description: Optional[str] = Field(default=None)
|
|
572
|
+
additional_meta_data: Optional[Any] = Field(
|
|
573
|
+
alias="additionalMetaData", default=None
|
|
574
|
+
)
|
|
575
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
579
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
580
|
+
alias="downgradePlan", default=None
|
|
581
|
+
)
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
585
|
+
ref_id: str = Field(alias="refId")
|
|
586
|
+
display_name: str = Field(alias="displayName")
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
590
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
591
|
+
display_name: str = Field(alias="displayName")
|
|
592
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
593
|
+
default=None
|
|
594
|
+
)
|
|
595
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
599
|
+
pass
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
603
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
604
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
class PlanFragment(BaseModel):
|
|
608
|
+
id: Any
|
|
609
|
+
ref_id: str = Field(alias="refId")
|
|
610
|
+
display_name: str = Field(alias="displayName")
|
|
611
|
+
description: Optional[str] = Field(default=None)
|
|
612
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
613
|
+
version_number: int = Field(alias="versionNumber")
|
|
614
|
+
additional_meta_data: Optional[Any] = Field(
|
|
615
|
+
alias="additionalMetaData", default=None
|
|
616
|
+
)
|
|
617
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
618
|
+
alias="hiddenFromWidgets", default=None
|
|
619
|
+
)
|
|
620
|
+
product: "PlanFragmentProduct"
|
|
621
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
622
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
623
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
624
|
+
alias="inheritedEntitlements", default=None
|
|
625
|
+
)
|
|
626
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
627
|
+
alias="compatibleAddons", default=None
|
|
628
|
+
)
|
|
629
|
+
compatible_package_groups: Optional[
|
|
630
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
631
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
632
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
633
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
634
|
+
alias="overagePrices", default=None
|
|
635
|
+
)
|
|
636
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
637
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
638
|
+
alias="defaultTrialConfig", default=None
|
|
639
|
+
)
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
class PlanFragmentProduct(ProductFragment):
|
|
643
|
+
pass
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
647
|
+
ref_id: str = Field(alias="refId")
|
|
648
|
+
display_name: str = Field(alias="displayName")
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
652
|
+
pass
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
656
|
+
pass
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
660
|
+
pass
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
664
|
+
pass
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
class PlanFragmentPrices(PriceFragment):
|
|
668
|
+
pass
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
672
|
+
pass
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
676
|
+
duration: float
|
|
677
|
+
units: TrialPeriodUnits
|
|
678
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
679
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
680
|
+
alias="trialEndBehavior", default=None
|
|
681
|
+
)
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
685
|
+
limit: float
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
689
|
+
billing_id: str = Field(alias="billingId")
|
|
690
|
+
status: SubscriptionInvoiceStatus
|
|
691
|
+
created_at: Any = Field(alias="createdAt")
|
|
692
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
693
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
694
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
695
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
696
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
697
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
698
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
699
|
+
alias="billingReason", default=None
|
|
700
|
+
)
|
|
701
|
+
currency: Optional[str] = Field(default=None)
|
|
702
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
703
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
704
|
+
alias="subTotalExcludingTax", default=None
|
|
705
|
+
)
|
|
706
|
+
total: Optional[float] = Field(default=None)
|
|
707
|
+
total_excluding_tax: Optional[float] = Field(
|
|
708
|
+
alias="totalExcludingTax", default=None
|
|
709
|
+
)
|
|
710
|
+
tax: Optional[float] = Field(default=None)
|
|
711
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
712
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
class CustomerResourceFragment(BaseModel):
|
|
716
|
+
resource_id: str = Field(alias="resourceId")
|
|
717
|
+
|
|
718
|
+
|
|
719
719
|
class TotalPriceFragment(BaseModel):
|
|
720
720
|
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
721
721
|
total: "TotalPriceFragmentTotal"
|
|
@@ -1002,35 +1002,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1002
1002
|
)
|
|
1003
1003
|
|
|
1004
1004
|
|
|
1005
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1006
|
-
status: PromotionalEntitlementStatus
|
|
1007
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1008
|
-
feature_id: Any = Field(alias="featureId")
|
|
1009
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1010
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1011
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1012
|
-
alias="resetPeriod", default=None
|
|
1013
|
-
)
|
|
1014
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1015
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1016
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1020
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1021
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1022
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1023
|
-
feature_units_plural: Optional[str] = Field(
|
|
1024
|
-
alias="featureUnitsPlural", default=None
|
|
1025
|
-
)
|
|
1026
|
-
display_name: str = Field(alias="displayName")
|
|
1027
|
-
description: Optional[str] = Field(default=None)
|
|
1028
|
-
ref_id: str = Field(alias="refId")
|
|
1029
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1030
|
-
alias="additionalMetaData", default=None
|
|
1031
|
-
)
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
1005
|
class CouponFragment(BaseModel):
|
|
1035
1006
|
id: Any
|
|
1036
1007
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1065,6 +1036,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1065
1036
|
status: SyncStatus
|
|
1066
1037
|
|
|
1067
1038
|
|
|
1039
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1040
|
+
status: PromotionalEntitlementStatus
|
|
1041
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1042
|
+
feature_id: Any = Field(alias="featureId")
|
|
1043
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1044
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1045
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1046
|
+
alias="resetPeriod", default=None
|
|
1047
|
+
)
|
|
1048
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1049
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1050
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1054
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1055
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1056
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1057
|
+
feature_units_plural: Optional[str] = Field(
|
|
1058
|
+
alias="featureUnitsPlural", default=None
|
|
1059
|
+
)
|
|
1060
|
+
display_name: str = Field(alias="displayName")
|
|
1061
|
+
description: Optional[str] = Field(default=None)
|
|
1062
|
+
ref_id: str = Field(alias="refId")
|
|
1063
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1064
|
+
alias="additionalMetaData", default=None
|
|
1065
|
+
)
|
|
1066
|
+
|
|
1067
|
+
|
|
1068
1068
|
class CustomerFragment(SlimCustomerFragment):
|
|
1069
1069
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1070
1070
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1440,6 +1440,13 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1440
1440
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1441
1441
|
|
|
1442
1442
|
|
|
1443
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1444
|
+
addon_id: str = Field(alias="addonId")
|
|
1445
|
+
description: Optional[str] = Field(default=None)
|
|
1446
|
+
display_name: str = Field(alias="displayName")
|
|
1447
|
+
quantity: int
|
|
1448
|
+
|
|
1449
|
+
|
|
1443
1450
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1444
1451
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1445
1452
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1475,13 +1482,6 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1475
1482
|
)
|
|
1476
1483
|
|
|
1477
1484
|
|
|
1478
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1479
|
-
addon_id: str = Field(alias="addonId")
|
|
1480
|
-
description: Optional[str] = Field(default=None)
|
|
1481
|
-
display_name: str = Field(alias="displayName")
|
|
1482
|
-
quantity: int
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
1485
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1486
1486
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1487
1487
|
plan_id: str = Field(alias="planId")
|
|
@@ -1823,40 +1823,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1823
1823
|
description: Optional[str] = Field(default=None)
|
|
1824
1824
|
|
|
1825
1825
|
|
|
1826
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1827
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1828
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1829
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1830
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1831
|
-
alias="resetPeriod", default=None
|
|
1832
|
-
)
|
|
1833
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1834
|
-
alias="hiddenFromWidgets", default=None
|
|
1835
|
-
)
|
|
1836
|
-
display_name_override: Optional[str] = Field(
|
|
1837
|
-
alias="displayNameOverride", default=None
|
|
1838
|
-
)
|
|
1839
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1840
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1841
|
-
default=None
|
|
1842
|
-
)
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1846
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1847
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1848
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1849
|
-
feature_units_plural: Optional[str] = Field(
|
|
1850
|
-
alias="featureUnitsPlural", default=None
|
|
1851
|
-
)
|
|
1852
|
-
display_name: str = Field(alias="displayName")
|
|
1853
|
-
description: Optional[str] = Field(default=None)
|
|
1854
|
-
ref_id: str = Field(alias="refId")
|
|
1855
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1856
|
-
alias="additionalMetaData", default=None
|
|
1857
|
-
)
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
1826
|
class MockPaywallPriceFragment(BaseModel):
|
|
1861
1827
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1862
1828
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1899,6 +1865,40 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1899
1865
|
display_name: str = Field(alias="displayName")
|
|
1900
1866
|
|
|
1901
1867
|
|
|
1868
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1869
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1870
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1871
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1872
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1873
|
+
alias="resetPeriod", default=None
|
|
1874
|
+
)
|
|
1875
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1876
|
+
alias="hiddenFromWidgets", default=None
|
|
1877
|
+
)
|
|
1878
|
+
display_name_override: Optional[str] = Field(
|
|
1879
|
+
alias="displayNameOverride", default=None
|
|
1880
|
+
)
|
|
1881
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1882
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1883
|
+
default=None
|
|
1884
|
+
)
|
|
1885
|
+
|
|
1886
|
+
|
|
1887
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1888
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1889
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1890
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1891
|
+
feature_units_plural: Optional[str] = Field(
|
|
1892
|
+
alias="featureUnitsPlural", default=None
|
|
1893
|
+
)
|
|
1894
|
+
display_name: str = Field(alias="displayName")
|
|
1895
|
+
description: Optional[str] = Field(default=None)
|
|
1896
|
+
ref_id: str = Field(alias="refId")
|
|
1897
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1898
|
+
alias="additionalMetaData", default=None
|
|
1899
|
+
)
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
1902
|
class MockPaywallAddonFragment(BaseModel):
|
|
1903
1903
|
ref_id: str = Field(alias="refId")
|
|
1904
1904
|
display_name: str = Field(alias="displayName")
|
|
@@ -2877,15 +2877,15 @@ PriceFragment.model_rebuild()
|
|
|
2877
2877
|
OveragePriceFragment.model_rebuild()
|
|
2878
2878
|
PackageEntitlementFragment.model_rebuild()
|
|
2879
2879
|
AddonFragment.model_rebuild()
|
|
2880
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2880
2881
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2881
|
-
|
|
2882
|
-
|
|
2882
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2883
|
+
SlimCustomerFragment.model_rebuild()
|
|
2883
2884
|
ProductFragment.model_rebuild()
|
|
2884
2885
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2885
2886
|
PlanFragment.model_rebuild()
|
|
2886
|
-
|
|
2887
|
-
|
|
2888
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2887
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2888
|
+
CustomerResourceFragment.model_rebuild()
|
|
2889
2889
|
TotalPriceFragment.model_rebuild()
|
|
2890
2890
|
SubscriptionFragment.model_rebuild()
|
|
2891
2891
|
FeatureFragment.model_rebuild()
|
|
@@ -2894,16 +2894,16 @@ ApplySubscriptionFragment.model_rebuild()
|
|
|
2894
2894
|
FontVariantFragment.model_rebuild()
|
|
2895
2895
|
TypographyConfigurationFragment.model_rebuild()
|
|
2896
2896
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2897
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2898
2897
|
CouponFragment.model_rebuild()
|
|
2898
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2899
2899
|
CustomerFragment.model_rebuild()
|
|
2900
2900
|
CheckoutStateFragment.model_rebuild()
|
|
2901
2901
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2902
2902
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2903
2903
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2904
2904
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2905
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2906
2905
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2906
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2907
2907
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2908
2908
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2909
2909
|
CustomerPortalFragment.model_rebuild()
|
|
@@ -2915,8 +2915,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2915
2915
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2916
2916
|
LayoutConfigurationFragment.model_rebuild()
|
|
2917
2917
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2918
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2919
2918
|
MockPaywallPriceFragment.model_rebuild()
|
|
2919
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2920
2920
|
MockPaywallAddonFragment.model_rebuild()
|
|
2921
2921
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2922
2922
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=asjaGM369pxIj2wWuFtgq6mA-p_9U-otD9cP2baB-mQ,3774
|
|
|
123
123
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
124
124
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
125
125
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
126
|
-
stigg/generated/fragments.py,sha256=
|
|
126
|
+
stigg/generated/fragments.py,sha256=Qi3JcK5EP4F7-LxfvcGA9IvrPfEjs5cS6OxK5lG_3kk,104912
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -161,7 +161,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-3.
|
|
165
|
-
stigg_api_client_v2-3.
|
|
166
|
-
stigg_api_client_v2-3.
|
|
167
|
-
stigg_api_client_v2-3.
|
|
164
|
+
stigg_api_client_v2-3.26.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-3.26.0.dist-info/METADATA,sha256=-xeCMEWGqq8DD63UMvQYGu86gMxhqgT-24ZBPZbOryw,2257
|
|
166
|
+
stigg_api_client_v2-3.26.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-3.26.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|