stigg-api-client-v2 2.307.0__py3-none-any.whl → 2.314.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/__init__.py +2 -0
- stigg/generated/enums.py +1 -0
- stigg/generated/fragments.py +224 -224
- stigg/generated/input_types.py +6 -1
- {stigg_api_client_v2-2.307.0.dist-info → stigg_api_client_v2-2.314.2.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.307.0.dist-info → stigg_api_client_v2-2.314.2.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-2.307.0.dist-info → stigg_api_client_v2-2.314.2.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.307.0.dist-info → stigg_api_client_v2-2.314.2.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -870,6 +870,7 @@ from .input_types import (
|
|
|
870
870
|
UpdateOnePromotionalEntitlementInput,
|
|
871
871
|
UpdatePackageEntitlementOrderInput,
|
|
872
872
|
UpdatePackageEntitlementOrderItemInput,
|
|
873
|
+
UpdateStripeCredentialsInput,
|
|
873
874
|
UpdateSubscriptionEntitlementInput,
|
|
874
875
|
UpdateSubscriptionInput,
|
|
875
876
|
UpdateUserInput,
|
|
@@ -1780,6 +1781,7 @@ __all__ = [
|
|
|
1780
1781
|
"UpdateOnePromotionalEntitlementInput",
|
|
1781
1782
|
"UpdatePackageEntitlementOrderInput",
|
|
1782
1783
|
"UpdatePackageEntitlementOrderItemInput",
|
|
1784
|
+
"UpdateStripeCredentialsInput",
|
|
1783
1785
|
"UpdateSubscription",
|
|
1784
1786
|
"UpdateSubscriptionEntitlementInput",
|
|
1785
1787
|
"UpdateSubscriptionInput",
|
stigg/generated/enums.py
CHANGED
|
@@ -409,6 +409,7 @@ class ErrorCode(str, Enum):
|
|
|
409
409
|
CannotAddOverrideEntitlementToPlan = "CannotAddOverrideEntitlementToPlan"
|
|
410
410
|
CannotArchiveFeatureError = "CannotArchiveFeatureError"
|
|
411
411
|
CannotDeleteCustomerError = "CannotDeleteCustomerError"
|
|
412
|
+
CannotDeleteDefaultIntegration = "CannotDeleteDefaultIntegration"
|
|
412
413
|
CannotDeleteFeatureError = "CannotDeleteFeatureError"
|
|
413
414
|
CannotDeleteProductError = "CannotDeleteProductError"
|
|
414
415
|
CannotEditPackageInNonDraftMode = "CannotEditPackageInNonDraftMode"
|
stigg/generated/fragments.py
CHANGED
|
@@ -298,178 +298,6 @@ class EntitlementFragmentFeature(FeatureFragment):
|
|
|
298
298
|
pass
|
|
299
299
|
|
|
300
300
|
|
|
301
|
-
class ProductFragment(BaseModel):
|
|
302
|
-
ref_id: str = Field(alias="refId")
|
|
303
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
304
|
-
description: Optional[str] = Field(default=None)
|
|
305
|
-
additional_meta_data: Optional[Any] = Field(
|
|
306
|
-
alias="additionalMetaData", default=None
|
|
307
|
-
)
|
|
308
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
312
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
313
|
-
alias="downgradePlan", default=None
|
|
314
|
-
)
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
318
|
-
ref_id: str = Field(alias="refId")
|
|
319
|
-
display_name: str = Field(alias="displayName")
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
323
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
324
|
-
display_name: str = Field(alias="displayName")
|
|
325
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
326
|
-
default=None
|
|
327
|
-
)
|
|
328
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
332
|
-
pass
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
336
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
337
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
class PlanFragment(BaseModel):
|
|
341
|
-
id: str
|
|
342
|
-
ref_id: str = Field(alias="refId")
|
|
343
|
-
display_name: str = Field(alias="displayName")
|
|
344
|
-
description: Optional[str] = Field(default=None)
|
|
345
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
346
|
-
version_number: int = Field(alias="versionNumber")
|
|
347
|
-
additional_meta_data: Optional[Any] = Field(
|
|
348
|
-
alias="additionalMetaData", default=None
|
|
349
|
-
)
|
|
350
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
351
|
-
alias="hiddenFromWidgets", default=None
|
|
352
|
-
)
|
|
353
|
-
product: "PlanFragmentProduct"
|
|
354
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
355
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
356
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
357
|
-
alias="inheritedEntitlements", default=None
|
|
358
|
-
)
|
|
359
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
360
|
-
alias="compatibleAddons", default=None
|
|
361
|
-
)
|
|
362
|
-
compatible_package_groups: Optional[
|
|
363
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
364
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
365
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
366
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
367
|
-
alias="overagePrices", default=None
|
|
368
|
-
)
|
|
369
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
370
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
371
|
-
alias="defaultTrialConfig", default=None
|
|
372
|
-
)
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
class PlanFragmentProduct(ProductFragment):
|
|
376
|
-
pass
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
380
|
-
ref_id: str = Field(alias="refId")
|
|
381
|
-
display_name: str = Field(alias="displayName")
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
385
|
-
pass
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
389
|
-
pass
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
393
|
-
pass
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
397
|
-
pass
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
class PlanFragmentPrices(PriceFragment):
|
|
401
|
-
pass
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
405
|
-
pass
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
409
|
-
duration: float
|
|
410
|
-
units: TrialPeriodUnits
|
|
411
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
412
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
413
|
-
alias="trialEndBehavior", default=None
|
|
414
|
-
)
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
418
|
-
limit: float
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
class SlimCustomerFragment(BaseModel):
|
|
422
|
-
id: str
|
|
423
|
-
name: Optional[str] = Field(default=None)
|
|
424
|
-
email: Optional[str] = Field(default=None)
|
|
425
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
426
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
427
|
-
ref_id: str = Field(alias="refId")
|
|
428
|
-
customer_id: str = Field(alias="customerId")
|
|
429
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
430
|
-
additional_meta_data: Optional[Any] = Field(
|
|
431
|
-
alias="additionalMetaData", default=None
|
|
432
|
-
)
|
|
433
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
434
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
435
|
-
)
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
439
|
-
billing_id: str = Field(alias="billingId")
|
|
440
|
-
status: SubscriptionInvoiceStatus
|
|
441
|
-
created_at: Any = Field(alias="createdAt")
|
|
442
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
443
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
444
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
445
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
446
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
447
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
448
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
449
|
-
alias="billingReason", default=None
|
|
450
|
-
)
|
|
451
|
-
currency: Optional[str] = Field(default=None)
|
|
452
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
453
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
454
|
-
alias="subTotalExcludingTax", default=None
|
|
455
|
-
)
|
|
456
|
-
total: Optional[float] = Field(default=None)
|
|
457
|
-
total_excluding_tax: Optional[float] = Field(
|
|
458
|
-
alias="totalExcludingTax", default=None
|
|
459
|
-
)
|
|
460
|
-
tax: Optional[float] = Field(default=None)
|
|
461
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
462
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
class CustomerResourceFragment(BaseModel):
|
|
466
|
-
resource_id: str = Field(alias="resourceId")
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
470
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
471
|
-
|
|
472
|
-
|
|
473
301
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
474
302
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
475
303
|
alias="subscriptionScheduleType"
|
|
@@ -632,19 +460,25 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
632
460
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
633
461
|
|
|
634
462
|
|
|
635
|
-
class
|
|
636
|
-
|
|
637
|
-
total: "TotalPriceFragmentTotal"
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
641
|
-
amount: float
|
|
642
|
-
currency: Currency
|
|
463
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
464
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
643
465
|
|
|
644
466
|
|
|
645
|
-
class
|
|
646
|
-
|
|
647
|
-
|
|
467
|
+
class SlimCustomerFragment(BaseModel):
|
|
468
|
+
id: str
|
|
469
|
+
name: Optional[str] = Field(default=None)
|
|
470
|
+
email: Optional[str] = Field(default=None)
|
|
471
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
472
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
473
|
+
ref_id: str = Field(alias="refId")
|
|
474
|
+
customer_id: str = Field(alias="customerId")
|
|
475
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
476
|
+
additional_meta_data: Optional[Any] = Field(
|
|
477
|
+
alias="additionalMetaData", default=None
|
|
478
|
+
)
|
|
479
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
480
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
481
|
+
)
|
|
648
482
|
|
|
649
483
|
|
|
650
484
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
@@ -801,6 +635,172 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
801
635
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
802
636
|
|
|
803
637
|
|
|
638
|
+
class TotalPriceFragment(BaseModel):
|
|
639
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
640
|
+
total: "TotalPriceFragmentTotal"
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
644
|
+
amount: float
|
|
645
|
+
currency: Currency
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
649
|
+
amount: float
|
|
650
|
+
currency: Currency
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
class CustomerResourceFragment(BaseModel):
|
|
654
|
+
resource_id: str = Field(alias="resourceId")
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
658
|
+
billing_id: str = Field(alias="billingId")
|
|
659
|
+
status: SubscriptionInvoiceStatus
|
|
660
|
+
created_at: Any = Field(alias="createdAt")
|
|
661
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
662
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
663
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
664
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
665
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
666
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
667
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
668
|
+
alias="billingReason", default=None
|
|
669
|
+
)
|
|
670
|
+
currency: Optional[str] = Field(default=None)
|
|
671
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
672
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
673
|
+
alias="subTotalExcludingTax", default=None
|
|
674
|
+
)
|
|
675
|
+
total: Optional[float] = Field(default=None)
|
|
676
|
+
total_excluding_tax: Optional[float] = Field(
|
|
677
|
+
alias="totalExcludingTax", default=None
|
|
678
|
+
)
|
|
679
|
+
tax: Optional[float] = Field(default=None)
|
|
680
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
681
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
class ProductFragment(BaseModel):
|
|
685
|
+
ref_id: str = Field(alias="refId")
|
|
686
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
687
|
+
description: Optional[str] = Field(default=None)
|
|
688
|
+
additional_meta_data: Optional[Any] = Field(
|
|
689
|
+
alias="additionalMetaData", default=None
|
|
690
|
+
)
|
|
691
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
695
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
696
|
+
alias="downgradePlan", default=None
|
|
697
|
+
)
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
701
|
+
ref_id: str = Field(alias="refId")
|
|
702
|
+
display_name: str = Field(alias="displayName")
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
706
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
707
|
+
display_name: str = Field(alias="displayName")
|
|
708
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
709
|
+
default=None
|
|
710
|
+
)
|
|
711
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
715
|
+
pass
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
719
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
720
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
class PlanFragment(BaseModel):
|
|
724
|
+
id: str
|
|
725
|
+
ref_id: str = Field(alias="refId")
|
|
726
|
+
display_name: str = Field(alias="displayName")
|
|
727
|
+
description: Optional[str] = Field(default=None)
|
|
728
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
729
|
+
version_number: int = Field(alias="versionNumber")
|
|
730
|
+
additional_meta_data: Optional[Any] = Field(
|
|
731
|
+
alias="additionalMetaData", default=None
|
|
732
|
+
)
|
|
733
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
734
|
+
alias="hiddenFromWidgets", default=None
|
|
735
|
+
)
|
|
736
|
+
product: "PlanFragmentProduct"
|
|
737
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
738
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
739
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
740
|
+
alias="inheritedEntitlements", default=None
|
|
741
|
+
)
|
|
742
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
743
|
+
alias="compatibleAddons", default=None
|
|
744
|
+
)
|
|
745
|
+
compatible_package_groups: Optional[
|
|
746
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
747
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
748
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
749
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
750
|
+
alias="overagePrices", default=None
|
|
751
|
+
)
|
|
752
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
753
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
754
|
+
alias="defaultTrialConfig", default=None
|
|
755
|
+
)
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
class PlanFragmentProduct(ProductFragment):
|
|
759
|
+
pass
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
763
|
+
ref_id: str = Field(alias="refId")
|
|
764
|
+
display_name: str = Field(alias="displayName")
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
768
|
+
pass
|
|
769
|
+
|
|
770
|
+
|
|
771
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
772
|
+
pass
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
776
|
+
pass
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
780
|
+
pass
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
class PlanFragmentPrices(PriceFragment):
|
|
784
|
+
pass
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
788
|
+
pass
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
792
|
+
duration: float
|
|
793
|
+
units: TrialPeriodUnits
|
|
794
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
795
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
796
|
+
alias="trialEndBehavior", default=None
|
|
797
|
+
)
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
801
|
+
limit: float
|
|
802
|
+
|
|
803
|
+
|
|
804
804
|
class SubscriptionFragment(BaseModel):
|
|
805
805
|
id: str
|
|
806
806
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -1786,6 +1786,39 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1786
1786
|
description: Optional[str] = Field(default=None)
|
|
1787
1787
|
|
|
1788
1788
|
|
|
1789
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1790
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1791
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1792
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1793
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1794
|
+
alias="resetPeriod", default=None
|
|
1795
|
+
)
|
|
1796
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1797
|
+
alias="hiddenFromWidgets", default=None
|
|
1798
|
+
)
|
|
1799
|
+
display_name_override: Optional[str] = Field(
|
|
1800
|
+
alias="displayNameOverride", default=None
|
|
1801
|
+
)
|
|
1802
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1803
|
+
default=None
|
|
1804
|
+
)
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1808
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1809
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1810
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1811
|
+
feature_units_plural: Optional[str] = Field(
|
|
1812
|
+
alias="featureUnitsPlural", default=None
|
|
1813
|
+
)
|
|
1814
|
+
display_name: str = Field(alias="displayName")
|
|
1815
|
+
description: Optional[str] = Field(default=None)
|
|
1816
|
+
ref_id: str = Field(alias="refId")
|
|
1817
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1818
|
+
alias="additionalMetaData", default=None
|
|
1819
|
+
)
|
|
1820
|
+
|
|
1821
|
+
|
|
1789
1822
|
class MockPaywallPriceFragment(BaseModel):
|
|
1790
1823
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1791
1824
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1820,39 +1853,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1820
1853
|
display_name: str = Field(alias="displayName")
|
|
1821
1854
|
|
|
1822
1855
|
|
|
1823
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1824
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1825
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1826
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1827
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1828
|
-
alias="resetPeriod", default=None
|
|
1829
|
-
)
|
|
1830
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1831
|
-
alias="hiddenFromWidgets", default=None
|
|
1832
|
-
)
|
|
1833
|
-
display_name_override: Optional[str] = Field(
|
|
1834
|
-
alias="displayNameOverride", default=None
|
|
1835
|
-
)
|
|
1836
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1837
|
-
default=None
|
|
1838
|
-
)
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1842
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1843
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1844
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1845
|
-
feature_units_plural: Optional[str] = Field(
|
|
1846
|
-
alias="featureUnitsPlural", default=None
|
|
1847
|
-
)
|
|
1848
|
-
display_name: str = Field(alias="displayName")
|
|
1849
|
-
description: Optional[str] = Field(default=None)
|
|
1850
|
-
ref_id: str = Field(alias="refId")
|
|
1851
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1852
|
-
alias="additionalMetaData", default=None
|
|
1853
|
-
)
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
1856
|
class MockPaywallAddonFragment(BaseModel):
|
|
1857
1857
|
ref_id: str = Field(alias="refId")
|
|
1858
1858
|
display_name: str = Field(alias="displayName")
|
|
@@ -2770,16 +2770,16 @@ OveragePriceFragment.model_rebuild()
|
|
|
2770
2770
|
AddonFragment.model_rebuild()
|
|
2771
2771
|
FeatureFragment.model_rebuild()
|
|
2772
2772
|
EntitlementFragment.model_rebuild()
|
|
2773
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2774
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2775
|
+
SlimCustomerFragment.model_rebuild()
|
|
2776
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2777
|
+
TotalPriceFragment.model_rebuild()
|
|
2778
|
+
CustomerResourceFragment.model_rebuild()
|
|
2779
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2773
2780
|
ProductFragment.model_rebuild()
|
|
2774
2781
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2775
2782
|
PlanFragment.model_rebuild()
|
|
2776
|
-
SlimCustomerFragment.model_rebuild()
|
|
2777
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2778
|
-
CustomerResourceFragment.model_rebuild()
|
|
2779
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2780
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2781
|
-
TotalPriceFragment.model_rebuild()
|
|
2782
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2783
2783
|
SubscriptionFragment.model_rebuild()
|
|
2784
2784
|
ApplySubscriptionFragment.model_rebuild()
|
|
2785
2785
|
FontVariantFragment.model_rebuild()
|
|
@@ -2806,8 +2806,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2806
2806
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2807
2807
|
LayoutConfigurationFragment.model_rebuild()
|
|
2808
2808
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2809
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2810
2809
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2810
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2811
2811
|
MockPaywallAddonFragment.model_rebuild()
|
|
2812
2812
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2813
2813
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -3505,6 +3505,7 @@ class StringFieldComparison(BaseModel):
|
|
|
3505
3505
|
class StripeCredentialsInput(BaseModel):
|
|
3506
3506
|
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
3507
3507
|
authorization_code: str = Field(alias="authorizationCode")
|
|
3508
|
+
is_tax_enabled: Optional[bool] = Field(alias="isTaxEnabled", default=False)
|
|
3508
3509
|
is_test_mode: bool = Field(alias="isTestMode")
|
|
3509
3510
|
|
|
3510
3511
|
|
|
@@ -4341,7 +4342,7 @@ class UpdateIntegrationInput(BaseModel):
|
|
|
4341
4342
|
salesforce_credentials: Optional["SalesforceCredentialsInput"] = Field(
|
|
4342
4343
|
alias="salesforceCredentials", default=None
|
|
4343
4344
|
)
|
|
4344
|
-
stripe_credentials: Optional["
|
|
4345
|
+
stripe_credentials: Optional["UpdateStripeCredentialsInput"] = Field(
|
|
4345
4346
|
alias="stripeCredentials", default=None
|
|
4346
4347
|
)
|
|
4347
4348
|
vendor_identifier: VendorIdentifier = Field(alias="vendorIdentifier")
|
|
@@ -4391,6 +4392,10 @@ class UpdatePackageEntitlementOrderItemInput(BaseModel):
|
|
|
4391
4392
|
order: Optional[float] = None
|
|
4392
4393
|
|
|
4393
4394
|
|
|
4395
|
+
class UpdateStripeCredentialsInput(BaseModel):
|
|
4396
|
+
is_tax_enabled: Optional[bool] = Field(alias="isTaxEnabled", default=None)
|
|
4397
|
+
|
|
4398
|
+
|
|
4394
4399
|
class UpdateSubscriptionEntitlementInput(BaseModel):
|
|
4395
4400
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
4396
4401
|
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
@@ -106,7 +106,7 @@ stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
106
106
|
stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
107
107
|
stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE,sha256=qeGG88oWte74QxjnpwFyE1GgDLe4rjpDlLZ7SeNSnvM,1129
|
|
108
108
|
stigg/client.py,sha256=RWrVnxo9zHFXka8KJVE4sMgyek70ispQk0vqOINCvM0,8335
|
|
109
|
-
stigg/generated/__init__.py,sha256=
|
|
109
|
+
stigg/generated/__init__.py,sha256=cMTTW3j7zYbdixcgYh7DF9_jnCE0F5HmxI_9589RIdQ,69074
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=AHebP8X0jl5noIxkZwMgE-EOE3e5lv-tGrCj2xDt58c,169
|
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
122
|
-
stigg/generated/enums.py,sha256=
|
|
122
|
+
stigg/generated/enums.py,sha256=qWrohdIPTsA0omqBKnEiGAonNwjgF9yViJte1c9f5hM,34406
|
|
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=FdccW6CRXm0VOL4Q2jTD-aav5o3hjZNAgaaZW-eeBn0,100632
|
|
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
|
|
@@ -144,7 +144,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
144
144
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
145
145
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
146
146
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
147
|
-
stigg/generated/input_types.py,sha256=
|
|
147
|
+
stigg/generated/input_types.py,sha256=Qn-I8SXseik00p3NFAnSS93os67iomhBvs_v_Si2YHY,191489
|
|
148
148
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
149
149
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
150
150
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.314.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.314.2.dist-info/METADATA,sha256=otLAMpbdcL97PamOKKAwxn-oA60RpuPtERp19Qn0UQk,2258
|
|
165
|
+
stigg_api_client_v2-2.314.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.314.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|