stigg-api-client-v2 3.68.0__py3-none-any.whl → 3.70.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/__init__.py +30 -0
- stigg/generated/enums.py +21 -0
- stigg/generated/fragments.py +384 -384
- stigg/generated/input_types.py +152 -0
- {stigg_api_client_v2-3.68.0.dist-info → stigg_api_client_v2-3.70.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.68.0.dist-info → stigg_api_client_v2-3.70.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-3.68.0.dist-info → stigg_api_client_v2-3.70.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.68.0.dist-info → stigg_api_client_v2-3.70.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -86,6 +86,8 @@ from .enums import (
|
|
|
86
86
|
MemberStatus,
|
|
87
87
|
MeterType,
|
|
88
88
|
MonthlyAccordingTo,
|
|
89
|
+
OfferSortFields,
|
|
90
|
+
OfferStatus,
|
|
89
91
|
OverageBillingPeriod,
|
|
90
92
|
PackageDTOSortFields,
|
|
91
93
|
PackageEntitlementSortFields,
|
|
@@ -602,6 +604,7 @@ from .input_types import (
|
|
|
602
604
|
AddonAssociatedEntitiesInput,
|
|
603
605
|
AddonCreateInput,
|
|
604
606
|
AddonFilter,
|
|
607
|
+
AddonFilterOfferFilter,
|
|
605
608
|
AddonSort,
|
|
606
609
|
AddonUnArchiveInput,
|
|
607
610
|
AddonUpdateInput,
|
|
@@ -652,6 +655,8 @@ from .input_types import (
|
|
|
652
655
|
CreateManyPackageEntitlementsInput,
|
|
653
656
|
CreateManyPromotionalEntitlementsInput,
|
|
654
657
|
CreateMeter,
|
|
658
|
+
CreateOfferDraftInput,
|
|
659
|
+
CreateOfferInput,
|
|
655
660
|
CreateOneEnvironmentInput,
|
|
656
661
|
CreateOneHookInput,
|
|
657
662
|
CreateOneIntegrationInput,
|
|
@@ -749,6 +754,7 @@ from .input_types import (
|
|
|
749
754
|
GetAuth0ApplicationsInput,
|
|
750
755
|
GetCreditGrantsInput,
|
|
751
756
|
GetCustomerByRefIdInput,
|
|
757
|
+
GetOfferInput,
|
|
752
758
|
GetPackageByRefIdInput,
|
|
753
759
|
GetPackageGroup,
|
|
754
760
|
GetPaywallInput,
|
|
@@ -795,10 +801,14 @@ from .input_types import (
|
|
|
795
801
|
MonthlyResetPeriodConfigInput,
|
|
796
802
|
NumberFieldComparison,
|
|
797
803
|
NumberFieldComparisonBetween,
|
|
804
|
+
OfferFilter,
|
|
805
|
+
OfferSort,
|
|
806
|
+
OfferStatusFilterComparison,
|
|
798
807
|
OpenFGACredentialsInput,
|
|
799
808
|
OverageEntitlementCreateInput,
|
|
800
809
|
OveragePricingModelCreateInput,
|
|
801
810
|
PackageDTOFilter,
|
|
811
|
+
PackageDTOFilterOfferFilter,
|
|
802
812
|
PackageDTOSort,
|
|
803
813
|
PackageEntitlementFilter,
|
|
804
814
|
PackageEntitlementFilterFeatureFilter,
|
|
@@ -821,6 +831,7 @@ from .input_types import (
|
|
|
821
831
|
PlanCreateInput,
|
|
822
832
|
PlanFilter,
|
|
823
833
|
PlanFilterAddonFilter,
|
|
834
|
+
PlanFilterOfferFilter,
|
|
824
835
|
PlanFilterProductFilter,
|
|
825
836
|
PlanSort,
|
|
826
837
|
PlanUpdateInput,
|
|
@@ -850,6 +861,7 @@ from .input_types import (
|
|
|
850
861
|
ProvisionSandboxInput,
|
|
851
862
|
ProvisionSubscription,
|
|
852
863
|
ProvisionSubscriptionInput,
|
|
864
|
+
PublishOfferInput,
|
|
853
865
|
RecalculateEntitlementsInput,
|
|
854
866
|
RecalculateEntitlementsSideEffectsOptionsInput,
|
|
855
867
|
RemoveBasePlanFromPlanInput,
|
|
@@ -858,6 +870,7 @@ from .input_types import (
|
|
|
858
870
|
RemoveExperimentFromCustomerInput,
|
|
859
871
|
RemoveExperimentFromCustomerSubscriptionInput,
|
|
860
872
|
RemoveFeatureGroupFromPackageInput,
|
|
873
|
+
RemoveOfferDraftInput,
|
|
861
874
|
ReportUsageBaseInput,
|
|
862
875
|
ReportUsageBulkInput,
|
|
863
876
|
ReportUsageInput,
|
|
@@ -869,6 +882,7 @@ from .input_types import (
|
|
|
869
882
|
SetBasePlanOnPlanInput,
|
|
870
883
|
SetCompatibleAddonsOnPlanInput,
|
|
871
884
|
SetCouponOnCustomerInput,
|
|
885
|
+
SetDefaultOfferInput,
|
|
872
886
|
SetExperimentOnCustomerInput,
|
|
873
887
|
SetExperimentOnCustomerSubscriptionInput,
|
|
874
888
|
SetPackageGroupAddons,
|
|
@@ -946,6 +960,7 @@ from .input_types import (
|
|
|
946
960
|
UpdateFeatureInput,
|
|
947
961
|
UpdateHook,
|
|
948
962
|
UpdateIntegrationInput,
|
|
963
|
+
UpdateOfferInput,
|
|
949
964
|
UpdateOneEnvironmentInput,
|
|
950
965
|
UpdateOneHookInput,
|
|
951
966
|
UpdateOneIntegrationInput,
|
|
@@ -1036,6 +1051,7 @@ __all__ = [
|
|
|
1036
1051
|
"AddonCreateInput",
|
|
1037
1052
|
"AddonDependencyFragment",
|
|
1038
1053
|
"AddonFilter",
|
|
1054
|
+
"AddonFilterOfferFilter",
|
|
1039
1055
|
"AddonFragment",
|
|
1040
1056
|
"AddonFragmentDependencies",
|
|
1041
1057
|
"AddonFragmentEntitlements",
|
|
@@ -1138,6 +1154,8 @@ __all__ = [
|
|
|
1138
1154
|
"CreateManyPackageEntitlementsInput",
|
|
1139
1155
|
"CreateManyPromotionalEntitlementsInput",
|
|
1140
1156
|
"CreateMeter",
|
|
1157
|
+
"CreateOfferDraftInput",
|
|
1158
|
+
"CreateOfferInput",
|
|
1141
1159
|
"CreateOneEnvironmentInput",
|
|
1142
1160
|
"CreateOneHookInput",
|
|
1143
1161
|
"CreateOneIntegrationInput",
|
|
@@ -1386,6 +1404,7 @@ __all__ = [
|
|
|
1386
1404
|
"GetMockPaywallMockPaywall",
|
|
1387
1405
|
"GetMockPaywallMockPaywallConfiguration",
|
|
1388
1406
|
"GetMockPaywallMockPaywallPlans",
|
|
1407
|
+
"GetOfferInput",
|
|
1389
1408
|
"GetPackageByRefIdInput",
|
|
1390
1409
|
"GetPackageGroup",
|
|
1391
1410
|
"GetPaywall",
|
|
@@ -1519,6 +1538,11 @@ __all__ = [
|
|
|
1519
1538
|
"MonthlyResetPeriodConfigInput",
|
|
1520
1539
|
"NumberFieldComparison",
|
|
1521
1540
|
"NumberFieldComparisonBetween",
|
|
1541
|
+
"OfferFilter",
|
|
1542
|
+
"OfferSort",
|
|
1543
|
+
"OfferSortFields",
|
|
1544
|
+
"OfferStatus",
|
|
1545
|
+
"OfferStatusFilterComparison",
|
|
1522
1546
|
"OpenFGACredentialsInput",
|
|
1523
1547
|
"OverageBillingPeriod",
|
|
1524
1548
|
"OverageEntitlementCreateInput",
|
|
@@ -1528,6 +1552,7 @@ __all__ = [
|
|
|
1528
1552
|
"OveragePriceFragmentTiers",
|
|
1529
1553
|
"OveragePricingModelCreateInput",
|
|
1530
1554
|
"PackageDTOFilter",
|
|
1555
|
+
"PackageDTOFilterOfferFilter",
|
|
1531
1556
|
"PackageDTOSort",
|
|
1532
1557
|
"PackageDTOSortFields",
|
|
1533
1558
|
"PackageEntitlementFilter",
|
|
@@ -1582,6 +1607,7 @@ __all__ = [
|
|
|
1582
1607
|
"PlanCreateInput",
|
|
1583
1608
|
"PlanFilter",
|
|
1584
1609
|
"PlanFilterAddonFilter",
|
|
1610
|
+
"PlanFilterOfferFilter",
|
|
1585
1611
|
"PlanFilterProductFilter",
|
|
1586
1612
|
"PlanFragment",
|
|
1587
1613
|
"PlanFragmentBasePlan",
|
|
@@ -1660,6 +1686,7 @@ __all__ = [
|
|
|
1660
1686
|
"ProvisionSubscriptionProvisionSubscription",
|
|
1661
1687
|
"ProvisionSubscriptionStatus",
|
|
1662
1688
|
"PublishMigrationType",
|
|
1689
|
+
"PublishOfferInput",
|
|
1663
1690
|
"RecalculateEntitlementsInput",
|
|
1664
1691
|
"RecalculateEntitlementsSideEffectsOptionsInput",
|
|
1665
1692
|
"RemoveBasePlanFromPlanInput",
|
|
@@ -1668,6 +1695,7 @@ __all__ = [
|
|
|
1668
1695
|
"RemoveExperimentFromCustomerInput",
|
|
1669
1696
|
"RemoveExperimentFromCustomerSubscriptionInput",
|
|
1670
1697
|
"RemoveFeatureGroupFromPackageInput",
|
|
1698
|
+
"RemoveOfferDraftInput",
|
|
1671
1699
|
"ReportEntitlementCheckRequested",
|
|
1672
1700
|
"ReportEvent",
|
|
1673
1701
|
"ReportUsage",
|
|
@@ -1691,6 +1719,7 @@ __all__ = [
|
|
|
1691
1719
|
"SetBasePlanOnPlanInput",
|
|
1692
1720
|
"SetCompatibleAddonsOnPlanInput",
|
|
1693
1721
|
"SetCouponOnCustomerInput",
|
|
1722
|
+
"SetDefaultOfferInput",
|
|
1694
1723
|
"SetExperimentOnCustomerInput",
|
|
1695
1724
|
"SetExperimentOnCustomerSubscriptionInput",
|
|
1696
1725
|
"SetPackageGroupAddons",
|
|
@@ -1952,6 +1981,7 @@ __all__ = [
|
|
|
1952
1981
|
"UpdateFeatureInput",
|
|
1953
1982
|
"UpdateHook",
|
|
1954
1983
|
"UpdateIntegrationInput",
|
|
1984
|
+
"UpdateOfferInput",
|
|
1955
1985
|
"UpdateOneEnvironmentInput",
|
|
1956
1986
|
"UpdateOneHookInput",
|
|
1957
1987
|
"UpdateOneIntegrationInput",
|
stigg/generated/enums.py
CHANGED
|
@@ -470,6 +470,7 @@ class ErrorCode(str, Enum):
|
|
|
470
470
|
DeprecatedEstimateSubscriptionError = "DeprecatedEstimateSubscriptionError"
|
|
471
471
|
DowngradeBillingPeriodNotSupportedError = "DowngradeBillingPeriodNotSupportedError"
|
|
472
472
|
DraftAddonCantBeArchived = "DraftAddonCantBeArchived"
|
|
473
|
+
DraftAlreadyExists = "DraftAlreadyExists"
|
|
473
474
|
DraftPlanCantBeArchived = "DraftPlanCantBeArchived"
|
|
474
475
|
DuplicateAddonProvisionedError = "DuplicateAddonProvisionedError"
|
|
475
476
|
DuplicateIntegrationNotAllowed = "DuplicateIntegrationNotAllowed"
|
|
@@ -532,9 +533,12 @@ class ErrorCode(str, Enum):
|
|
|
532
533
|
MultiSubscriptionCantBeAutoCancellationSourceError = (
|
|
533
534
|
"MultiSubscriptionCantBeAutoCancellationSourceError"
|
|
534
535
|
)
|
|
536
|
+
NoDraftOfferFound = "NoDraftOfferFound"
|
|
535
537
|
NoFeatureEntitlementError = "NoFeatureEntitlementError"
|
|
536
538
|
NoFeatureEntitlementInSubscription = "NoFeatureEntitlementInSubscription"
|
|
537
539
|
NoProductsAvailable = "NoProductsAvailable"
|
|
540
|
+
OfferAlreadyExists = "OfferAlreadyExists"
|
|
541
|
+
OfferNotFound = "OfferNotFound"
|
|
538
542
|
OperationNotAllowedDuringInProgressExperiment = (
|
|
539
543
|
"OperationNotAllowedDuringInProgressExperiment"
|
|
540
544
|
)
|
|
@@ -845,6 +849,23 @@ class MonthlyAccordingTo(str, Enum):
|
|
|
845
849
|
SubscriptionStart = "SubscriptionStart"
|
|
846
850
|
|
|
847
851
|
|
|
852
|
+
class OfferSortFields(str, Enum):
|
|
853
|
+
createdAt = "createdAt"
|
|
854
|
+
environmentId = "environmentId"
|
|
855
|
+
id = "id"
|
|
856
|
+
isDefault = "isDefault"
|
|
857
|
+
isLatest = "isLatest"
|
|
858
|
+
offerId = "offerId"
|
|
859
|
+
status = "status"
|
|
860
|
+
version = "version"
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
class OfferStatus(str, Enum):
|
|
864
|
+
ARCHIVED = "ARCHIVED"
|
|
865
|
+
DRAFT = "DRAFT"
|
|
866
|
+
PUBLISHED = "PUBLISHED"
|
|
867
|
+
|
|
868
|
+
|
|
848
869
|
class OverageBillingPeriod(str, Enum):
|
|
849
870
|
MONTHLY = "MONTHLY"
|
|
850
871
|
ON_SUBSCRIPTION_RENEWAL = "ON_SUBSCRIPTION_RENEWAL"
|