stigg-api-client-v2 3.68.0__py3-none-any.whl → 3.70.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/__init__.py +30 -0
- stigg/generated/enums.py +21 -0
- stigg/generated/fragments.py +199 -199
- stigg/generated/input_types.py +152 -0
- {stigg_api_client_v2-3.68.0.dist-info → stigg_api_client_v2-3.70.1.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.68.0.dist-info → stigg_api_client_v2-3.70.1.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-3.68.0.dist-info → stigg_api_client_v2-3.70.1.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.68.0.dist-info → stigg_api_client_v2-3.70.1.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"
|
stigg/generated/fragments.py
CHANGED
|
@@ -61,41 +61,6 @@ class AddonDependencyFragment(BaseModel):
|
|
|
61
61
|
description: Optional[str] = Field(default=None)
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
class PackageEntitlementFragment(BaseModel):
|
|
65
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
66
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
67
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
68
|
-
feature_id: str = Field(alias="featureId")
|
|
69
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
70
|
-
alias="resetPeriod", default=None
|
|
71
|
-
)
|
|
72
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
73
|
-
alias="hiddenFromWidgets", default=None
|
|
74
|
-
)
|
|
75
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
76
|
-
display_name_override: Optional[str] = Field(
|
|
77
|
-
alias="displayNameOverride", default=None
|
|
78
|
-
)
|
|
79
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
80
|
-
is_granted: bool = Field(alias="isGranted")
|
|
81
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
85
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
86
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
87
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
88
|
-
feature_units_plural: Optional[str] = Field(
|
|
89
|
-
alias="featureUnitsPlural", default=None
|
|
90
|
-
)
|
|
91
|
-
display_name: str = Field(alias="displayName")
|
|
92
|
-
description: Optional[str] = Field(default=None)
|
|
93
|
-
ref_id: str = Field(alias="refId")
|
|
94
|
-
additional_meta_data: Optional[Any] = Field(
|
|
95
|
-
alias="additionalMetaData", default=None
|
|
96
|
-
)
|
|
97
|
-
|
|
98
|
-
|
|
99
64
|
class PriceTierFragment(BaseModel):
|
|
100
65
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
101
66
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -116,29 +81,41 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
116
81
|
currency: Currency
|
|
117
82
|
|
|
118
83
|
|
|
119
|
-
class
|
|
84
|
+
class PriceFragment(BaseModel):
|
|
120
85
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
121
86
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
87
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
122
88
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
89
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
90
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
123
91
|
billing_country_code: Optional[str] = Field(
|
|
124
92
|
alias="billingCountryCode", default=None
|
|
125
93
|
)
|
|
126
|
-
price: Optional["
|
|
94
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
95
|
+
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
96
|
+
alias="creditRate", default=None
|
|
97
|
+
)
|
|
127
98
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
128
|
-
tiers: Optional[List["
|
|
129
|
-
feature: Optional["
|
|
99
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
100
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
101
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
130
102
|
|
|
131
103
|
|
|
132
|
-
class
|
|
104
|
+
class PriceFragmentPrice(BaseModel):
|
|
133
105
|
amount: float
|
|
134
106
|
currency: Currency
|
|
135
107
|
|
|
136
108
|
|
|
137
|
-
class
|
|
109
|
+
class PriceFragmentCreditRate(BaseModel):
|
|
110
|
+
amount: float
|
|
111
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
138
115
|
pass
|
|
139
116
|
|
|
140
117
|
|
|
141
|
-
class
|
|
118
|
+
class PriceFragmentFeature(BaseModel):
|
|
142
119
|
ref_id: str = Field(alias="refId")
|
|
143
120
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
144
121
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -148,41 +125,64 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
148
125
|
description: Optional[str] = Field(default=None)
|
|
149
126
|
|
|
150
127
|
|
|
151
|
-
class
|
|
128
|
+
class PackageEntitlementFragment(BaseModel):
|
|
129
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
130
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
131
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
132
|
+
feature_id: str = Field(alias="featureId")
|
|
133
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
134
|
+
alias="resetPeriod", default=None
|
|
135
|
+
)
|
|
136
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
137
|
+
alias="hiddenFromWidgets", default=None
|
|
138
|
+
)
|
|
139
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
140
|
+
display_name_override: Optional[str] = Field(
|
|
141
|
+
alias="displayNameOverride", default=None
|
|
142
|
+
)
|
|
143
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
144
|
+
is_granted: bool = Field(alias="isGranted")
|
|
145
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
149
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
150
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
151
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
152
|
+
feature_units_plural: Optional[str] = Field(
|
|
153
|
+
alias="featureUnitsPlural", default=None
|
|
154
|
+
)
|
|
155
|
+
display_name: str = Field(alias="displayName")
|
|
156
|
+
description: Optional[str] = Field(default=None)
|
|
157
|
+
ref_id: str = Field(alias="refId")
|
|
158
|
+
additional_meta_data: Optional[Any] = Field(
|
|
159
|
+
alias="additionalMetaData", default=None
|
|
160
|
+
)
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
class OveragePriceFragment(BaseModel):
|
|
152
164
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
165
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
154
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
155
166
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
156
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
157
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
158
167
|
billing_country_code: Optional[str] = Field(
|
|
159
168
|
alias="billingCountryCode", default=None
|
|
160
169
|
)
|
|
161
|
-
price: Optional["
|
|
162
|
-
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
163
|
-
alias="creditRate", default=None
|
|
164
|
-
)
|
|
170
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
165
171
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
166
|
-
tiers: Optional[List["
|
|
167
|
-
feature: Optional["
|
|
168
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
172
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
173
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
169
174
|
|
|
170
175
|
|
|
171
|
-
class
|
|
176
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
172
177
|
amount: float
|
|
173
178
|
currency: Currency
|
|
174
179
|
|
|
175
180
|
|
|
176
|
-
class
|
|
177
|
-
amount: float
|
|
178
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
class PriceFragmentTiers(PriceTierFragment):
|
|
181
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
182
182
|
pass
|
|
183
183
|
|
|
184
184
|
|
|
185
|
-
class
|
|
185
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
186
186
|
ref_id: str = Field(alias="refId")
|
|
187
187
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
188
188
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -230,45 +230,45 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
230
230
|
pass
|
|
231
231
|
|
|
232
232
|
|
|
233
|
-
class
|
|
233
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
234
234
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
235
235
|
alias="subscriptionScheduleType"
|
|
236
236
|
)
|
|
237
237
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
238
238
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
239
|
-
target_package: Optional["
|
|
239
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
240
240
|
alias="targetPackage", default=None
|
|
241
241
|
)
|
|
242
242
|
schedule_variables: Optional[
|
|
243
243
|
Annotated[
|
|
244
244
|
Union[
|
|
245
|
-
"
|
|
246
|
-
"
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
"
|
|
245
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
246
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
247
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
248
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
249
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
250
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
251
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
252
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
253
253
|
],
|
|
254
254
|
Field(discriminator="typename__"),
|
|
255
255
|
]
|
|
256
256
|
] = Field(alias="scheduleVariables", default=None)
|
|
257
257
|
|
|
258
258
|
|
|
259
|
-
class
|
|
259
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
260
260
|
id: Any
|
|
261
261
|
ref_id: str = Field(alias="refId")
|
|
262
262
|
display_name: str = Field(alias="displayName")
|
|
263
263
|
|
|
264
264
|
|
|
265
|
-
class
|
|
265
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
266
266
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
267
267
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
268
268
|
new_quantity: float = Field(alias="newQuantity")
|
|
269
269
|
|
|
270
270
|
|
|
271
|
-
class
|
|
271
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
272
272
|
BaseModel
|
|
273
273
|
):
|
|
274
274
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -276,55 +276,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
276
276
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
277
277
|
|
|
278
278
|
|
|
279
|
-
class
|
|
279
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
280
280
|
BaseModel
|
|
281
281
|
):
|
|
282
282
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
283
283
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
284
284
|
|
|
285
285
|
|
|
286
|
-
class
|
|
286
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
287
287
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
288
288
|
|
|
289
289
|
|
|
290
|
-
class
|
|
291
|
-
BaseModel
|
|
292
|
-
):
|
|
290
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
293
291
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
294
292
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
295
293
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
296
294
|
billable_features: Optional[
|
|
297
295
|
List[
|
|
298
|
-
"
|
|
296
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
299
297
|
]
|
|
300
298
|
] = Field(alias="billableFeatures", default=None)
|
|
301
299
|
addons: Optional[
|
|
302
300
|
List[
|
|
303
|
-
"
|
|
301
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
304
302
|
]
|
|
305
303
|
] = Field(default=None)
|
|
306
304
|
price_overrides: Optional[
|
|
307
305
|
List[
|
|
308
|
-
"
|
|
306
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
309
307
|
]
|
|
310
308
|
] = Field(alias="priceOverrides", default=None)
|
|
311
309
|
|
|
312
310
|
|
|
313
|
-
class
|
|
311
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
314
312
|
BaseModel
|
|
315
313
|
):
|
|
316
314
|
feature_id: str = Field(alias="featureId")
|
|
317
315
|
quantity: float
|
|
318
316
|
|
|
319
317
|
|
|
320
|
-
class
|
|
318
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
321
319
|
BaseModel
|
|
322
320
|
):
|
|
323
321
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
324
322
|
quantity: float
|
|
325
323
|
|
|
326
324
|
|
|
327
|
-
class
|
|
325
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
328
326
|
BaseModel
|
|
329
327
|
):
|
|
330
328
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -332,43 +330,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
332
330
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
333
331
|
|
|
334
332
|
|
|
335
|
-
class
|
|
333
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
336
334
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
337
335
|
plan_ref_id: str = Field(alias="planRefId")
|
|
338
336
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
339
337
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
340
338
|
billable_features: Optional[
|
|
341
339
|
List[
|
|
342
|
-
"
|
|
340
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
343
341
|
]
|
|
344
342
|
] = Field(alias="billableFeatures", default=None)
|
|
345
343
|
addons: Optional[
|
|
346
|
-
List[
|
|
347
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
348
|
-
]
|
|
344
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
349
345
|
] = Field(default=None)
|
|
350
346
|
price_overrides: Optional[
|
|
351
347
|
List[
|
|
352
|
-
"
|
|
348
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
353
349
|
]
|
|
354
350
|
] = Field(alias="priceOverrides", default=None)
|
|
355
351
|
|
|
356
352
|
|
|
357
|
-
class
|
|
353
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
358
354
|
BaseModel
|
|
359
355
|
):
|
|
360
356
|
feature_id: str = Field(alias="featureId")
|
|
361
357
|
quantity: float
|
|
362
358
|
|
|
363
359
|
|
|
364
|
-
class
|
|
365
|
-
BaseModel
|
|
366
|
-
):
|
|
360
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
367
361
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
368
362
|
quantity: float
|
|
369
363
|
|
|
370
364
|
|
|
371
|
-
class
|
|
365
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
372
366
|
BaseModel
|
|
373
367
|
):
|
|
374
368
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -376,7 +370,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
376
370
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
377
371
|
|
|
378
372
|
|
|
379
|
-
class
|
|
373
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
380
374
|
BaseModel
|
|
381
375
|
):
|
|
382
376
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -384,70 +378,55 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
384
378
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
385
379
|
|
|
386
380
|
|
|
387
|
-
class
|
|
388
|
-
BaseModel
|
|
389
|
-
):
|
|
381
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
390
382
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
391
383
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
392
384
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
393
385
|
|
|
394
386
|
|
|
395
|
-
class
|
|
396
|
-
|
|
397
|
-
name: Optional[str] = Field(default=None)
|
|
398
|
-
email: Optional[str] = Field(default=None)
|
|
399
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
400
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
401
|
-
ref_id: str = Field(alias="refId")
|
|
402
|
-
customer_id: str = Field(alias="customerId")
|
|
403
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
404
|
-
additional_meta_data: Optional[Any] = Field(
|
|
405
|
-
alias="additionalMetaData", default=None
|
|
406
|
-
)
|
|
407
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
408
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
409
|
-
)
|
|
387
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
388
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
410
389
|
|
|
411
390
|
|
|
412
|
-
class
|
|
391
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
413
392
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
414
393
|
alias="subscriptionScheduleType"
|
|
415
394
|
)
|
|
416
395
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
417
396
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
418
|
-
target_package: Optional["
|
|
397
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
419
398
|
alias="targetPackage", default=None
|
|
420
399
|
)
|
|
421
400
|
schedule_variables: Optional[
|
|
422
401
|
Annotated[
|
|
423
402
|
Union[
|
|
424
|
-
"
|
|
425
|
-
"
|
|
426
|
-
"
|
|
427
|
-
"
|
|
428
|
-
"
|
|
429
|
-
"
|
|
430
|
-
"
|
|
431
|
-
"
|
|
403
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
404
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
405
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
406
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
407
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
408
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
409
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
410
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
432
411
|
],
|
|
433
412
|
Field(discriminator="typename__"),
|
|
434
413
|
]
|
|
435
414
|
] = Field(alias="scheduleVariables", default=None)
|
|
436
415
|
|
|
437
416
|
|
|
438
|
-
class
|
|
417
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
439
418
|
id: Any
|
|
440
419
|
ref_id: str = Field(alias="refId")
|
|
441
420
|
display_name: str = Field(alias="displayName")
|
|
442
421
|
|
|
443
422
|
|
|
444
|
-
class
|
|
423
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
445
424
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
446
425
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
447
426
|
new_quantity: float = Field(alias="newQuantity")
|
|
448
427
|
|
|
449
428
|
|
|
450
|
-
class
|
|
429
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
451
430
|
BaseModel
|
|
452
431
|
):
|
|
453
432
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -455,53 +434,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
455
434
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
456
435
|
|
|
457
436
|
|
|
458
|
-
class
|
|
437
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
459
438
|
BaseModel
|
|
460
439
|
):
|
|
461
440
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
462
441
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
463
442
|
|
|
464
443
|
|
|
465
|
-
class
|
|
444
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
466
445
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
467
446
|
|
|
468
447
|
|
|
469
|
-
class
|
|
448
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
449
|
+
BaseModel
|
|
450
|
+
):
|
|
470
451
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
471
452
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
472
453
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
473
454
|
billable_features: Optional[
|
|
474
455
|
List[
|
|
475
|
-
"
|
|
456
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
476
457
|
]
|
|
477
458
|
] = Field(alias="billableFeatures", default=None)
|
|
478
459
|
addons: Optional[
|
|
479
460
|
List[
|
|
480
|
-
"
|
|
461
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
481
462
|
]
|
|
482
463
|
] = Field(default=None)
|
|
483
464
|
price_overrides: Optional[
|
|
484
465
|
List[
|
|
485
|
-
"
|
|
466
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
486
467
|
]
|
|
487
468
|
] = Field(alias="priceOverrides", default=None)
|
|
488
469
|
|
|
489
470
|
|
|
490
|
-
class
|
|
471
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
491
472
|
BaseModel
|
|
492
473
|
):
|
|
493
474
|
feature_id: str = Field(alias="featureId")
|
|
494
475
|
quantity: float
|
|
495
476
|
|
|
496
477
|
|
|
497
|
-
class
|
|
478
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
498
479
|
BaseModel
|
|
499
480
|
):
|
|
500
481
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
501
482
|
quantity: float
|
|
502
483
|
|
|
503
484
|
|
|
504
|
-
class
|
|
485
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
505
486
|
BaseModel
|
|
506
487
|
):
|
|
507
488
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -509,39 +490,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
509
490
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
510
491
|
|
|
511
492
|
|
|
512
|
-
class
|
|
493
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
513
494
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
514
495
|
plan_ref_id: str = Field(alias="planRefId")
|
|
515
496
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
516
497
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
517
498
|
billable_features: Optional[
|
|
518
499
|
List[
|
|
519
|
-
"
|
|
500
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
520
501
|
]
|
|
521
502
|
] = Field(alias="billableFeatures", default=None)
|
|
522
503
|
addons: Optional[
|
|
523
|
-
List[
|
|
504
|
+
List[
|
|
505
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
506
|
+
]
|
|
524
507
|
] = Field(default=None)
|
|
525
508
|
price_overrides: Optional[
|
|
526
509
|
List[
|
|
527
|
-
"
|
|
510
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
528
511
|
]
|
|
529
512
|
] = Field(alias="priceOverrides", default=None)
|
|
530
513
|
|
|
531
514
|
|
|
532
|
-
class
|
|
515
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
533
516
|
BaseModel
|
|
534
517
|
):
|
|
535
518
|
feature_id: str = Field(alias="featureId")
|
|
536
519
|
quantity: float
|
|
537
520
|
|
|
538
521
|
|
|
539
|
-
class
|
|
522
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
523
|
+
BaseModel
|
|
524
|
+
):
|
|
540
525
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
541
526
|
quantity: float
|
|
542
527
|
|
|
543
528
|
|
|
544
|
-
class
|
|
529
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
545
530
|
BaseModel
|
|
546
531
|
):
|
|
547
532
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -549,7 +534,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
549
534
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
550
535
|
|
|
551
536
|
|
|
552
|
-
class
|
|
537
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
553
538
|
BaseModel
|
|
554
539
|
):
|
|
555
540
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -557,29 +542,30 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
557
542
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
558
543
|
|
|
559
544
|
|
|
560
|
-
class
|
|
545
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
546
|
+
BaseModel
|
|
547
|
+
):
|
|
561
548
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
562
549
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
563
550
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
564
551
|
|
|
565
552
|
|
|
566
|
-
class
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
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"
|
|
573
560
|
|
|
574
561
|
|
|
575
|
-
class
|
|
576
|
-
|
|
577
|
-
currency: Currency
|
|
562
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
563
|
+
pass
|
|
578
564
|
|
|
579
565
|
|
|
580
|
-
class
|
|
581
|
-
|
|
582
|
-
|
|
566
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
567
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
568
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
583
569
|
|
|
584
570
|
|
|
585
571
|
class ProductFragment(BaseModel):
|
|
@@ -603,24 +589,6 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
603
589
|
display_name: str = Field(alias="displayName")
|
|
604
590
|
|
|
605
591
|
|
|
606
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
607
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
608
|
-
display_name: str = Field(alias="displayName")
|
|
609
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
610
|
-
default=None
|
|
611
|
-
)
|
|
612
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
616
|
-
pass
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
620
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
621
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
622
|
-
|
|
623
|
-
|
|
624
592
|
class PlanFragment(BaseModel):
|
|
625
593
|
id: Any
|
|
626
594
|
ref_id: str = Field(alias="refId")
|
|
@@ -706,6 +674,38 @@ class CustomerResourceFragment(BaseModel):
|
|
|
706
674
|
resource_id: str = Field(alias="resourceId")
|
|
707
675
|
|
|
708
676
|
|
|
677
|
+
class TotalPriceFragment(BaseModel):
|
|
678
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
679
|
+
total: "TotalPriceFragmentTotal"
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
683
|
+
amount: float
|
|
684
|
+
currency: Currency
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
688
|
+
amount: float
|
|
689
|
+
currency: Currency
|
|
690
|
+
|
|
691
|
+
|
|
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
709
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
710
710
|
billing_id: str = Field(alias="billingId")
|
|
711
711
|
status: SubscriptionInvoiceStatus
|
|
@@ -1005,10 +1005,8 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1005
1005
|
)
|
|
1006
1006
|
|
|
1007
1007
|
|
|
1008
|
-
class
|
|
1009
|
-
|
|
1010
|
-
setup_secret: str = Field(alias="setupSecret")
|
|
1011
|
-
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1008
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1009
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1012
1010
|
|
|
1013
1011
|
|
|
1014
1012
|
class CouponFragment(BaseModel):
|
|
@@ -1132,8 +1130,10 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1132
1130
|
pass
|
|
1133
1131
|
|
|
1134
1132
|
|
|
1135
|
-
class
|
|
1136
|
-
|
|
1133
|
+
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1134
|
+
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1135
|
+
setup_secret: str = Field(alias="setupSecret")
|
|
1136
|
+
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1137
1137
|
|
|
1138
1138
|
|
|
1139
1139
|
class CheckoutStateFragment(BaseModel):
|
|
@@ -1362,6 +1362,13 @@ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
|
1362
1362
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1363
1363
|
|
|
1364
1364
|
|
|
1365
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1366
|
+
addon_id: str = Field(alias="addonId")
|
|
1367
|
+
description: Optional[str] = Field(default=None)
|
|
1368
|
+
display_name: str = Field(alias="displayName")
|
|
1369
|
+
quantity: int
|
|
1370
|
+
|
|
1371
|
+
|
|
1365
1372
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1366
1373
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1367
1374
|
alias="subscriptionScheduleType"
|
|
@@ -1531,13 +1538,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1531
1538
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1532
1539
|
|
|
1533
1540
|
|
|
1534
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1535
|
-
addon_id: str = Field(alias="addonId")
|
|
1536
|
-
description: Optional[str] = Field(default=None)
|
|
1537
|
-
display_name: str = Field(alias="displayName")
|
|
1538
|
-
quantity: int
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
1541
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1542
1542
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1543
1543
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -2958,20 +2958,20 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2958
2958
|
|
|
2959
2959
|
|
|
2960
2960
|
AddonDependencyFragment.model_rebuild()
|
|
2961
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2962
2961
|
PriceTierFragment.model_rebuild()
|
|
2963
|
-
OveragePriceFragment.model_rebuild()
|
|
2964
2962
|
PriceFragment.model_rebuild()
|
|
2963
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2964
|
+
OveragePriceFragment.model_rebuild()
|
|
2965
2965
|
AddonFragment.model_rebuild()
|
|
2966
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2967
|
-
SlimCustomerFragment.model_rebuild()
|
|
2968
2966
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2969
2967
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2970
|
-
|
|
2971
|
-
ProductFragment.model_rebuild()
|
|
2968
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2972
2969
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2970
|
+
ProductFragment.model_rebuild()
|
|
2973
2971
|
PlanFragment.model_rebuild()
|
|
2974
2972
|
CustomerResourceFragment.model_rebuild()
|
|
2973
|
+
TotalPriceFragment.model_rebuild()
|
|
2974
|
+
SlimCustomerFragment.model_rebuild()
|
|
2975
2975
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2976
2976
|
SubscriptionFragment.model_rebuild()
|
|
2977
2977
|
FeatureFragment.model_rebuild()
|
|
@@ -2980,11 +2980,11 @@ ApplySubscriptionFragment.model_rebuild()
|
|
|
2980
2980
|
FontVariantFragment.model_rebuild()
|
|
2981
2981
|
TypographyConfigurationFragment.model_rebuild()
|
|
2982
2982
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2983
|
-
|
|
2983
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
2984
2984
|
CouponFragment.model_rebuild()
|
|
2985
2985
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2986
2986
|
CustomerFragment.model_rebuild()
|
|
2987
|
-
|
|
2987
|
+
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
2988
2988
|
CheckoutStateFragment.model_rebuild()
|
|
2989
2989
|
CreditGrantFragment.model_rebuild()
|
|
2990
2990
|
CreditsBalanceSummaryFragment.model_rebuild()
|
|
@@ -2992,8 +2992,8 @@ CustomerPortalBillingInformationFragment.model_rebuild()
|
|
|
2992
2992
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2993
2993
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2994
2994
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2995
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2996
2995
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2996
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2997
2997
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2998
2998
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2999
2999
|
CustomerPortalFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -54,6 +54,8 @@ from .enums import (
|
|
|
54
54
|
MemberSortFields,
|
|
55
55
|
MeterType,
|
|
56
56
|
MonthlyAccordingTo,
|
|
57
|
+
OfferSortFields,
|
|
58
|
+
OfferStatus,
|
|
57
59
|
OverageBillingPeriod,
|
|
58
60
|
PackageDTOSortFields,
|
|
59
61
|
PackageEntitlementSortFields,
|
|
@@ -159,6 +161,7 @@ class AddonFilter(BaseModel):
|
|
|
159
161
|
is_latest: Optional["BooleanFieldComparison"] = Field(
|
|
160
162
|
alias="isLatest", default=None
|
|
161
163
|
)
|
|
164
|
+
offer: Optional["AddonFilterOfferFilter"] = None
|
|
162
165
|
or_: Optional[List["AddonFilter"]] = Field(alias="or", default=None)
|
|
163
166
|
pricing_type: Optional["PricingTypeFilterComparison"] = Field(
|
|
164
167
|
alias="pricingType", default=None
|
|
@@ -174,6 +177,25 @@ class AddonFilter(BaseModel):
|
|
|
174
177
|
)
|
|
175
178
|
|
|
176
179
|
|
|
180
|
+
class AddonFilterOfferFilter(BaseModel):
|
|
181
|
+
and_: Optional[List["AddonFilterOfferFilter"]] = Field(alias="and", default=None)
|
|
182
|
+
created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
|
|
183
|
+
environment_id: Optional["UUIDFilterComparison"] = Field(
|
|
184
|
+
alias="environmentId", default=None
|
|
185
|
+
)
|
|
186
|
+
id: Optional["UUIDFilterComparison"] = None
|
|
187
|
+
is_default: Optional["BooleanFieldComparison"] = Field(
|
|
188
|
+
alias="isDefault", default=None
|
|
189
|
+
)
|
|
190
|
+
is_latest: Optional["BooleanFieldComparison"] = Field(
|
|
191
|
+
alias="isLatest", default=None
|
|
192
|
+
)
|
|
193
|
+
offer_id: Optional["StringFieldComparison"] = Field(alias="offerId", default=None)
|
|
194
|
+
or_: Optional[List["AddonFilterOfferFilter"]] = Field(alias="or", default=None)
|
|
195
|
+
status: Optional["OfferStatusFilterComparison"] = None
|
|
196
|
+
version: Optional["IntFieldComparison"] = None
|
|
197
|
+
|
|
198
|
+
|
|
177
199
|
class AddonSort(BaseModel):
|
|
178
200
|
direction: SortDirection
|
|
179
201
|
field: AddonSortFields
|
|
@@ -733,6 +755,21 @@ class CreateMeter(BaseModel):
|
|
|
733
755
|
filters: List["MeterFilterDefinitionInput"]
|
|
734
756
|
|
|
735
757
|
|
|
758
|
+
class CreateOfferDraftInput(BaseModel):
|
|
759
|
+
environment_id: Any = Field(alias="environmentId")
|
|
760
|
+
offer_id: str = Field(alias="offerId")
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
class CreateOfferInput(BaseModel):
|
|
764
|
+
additional_meta_data: Optional[Any] = Field(
|
|
765
|
+
alias="additionalMetaData", default=None
|
|
766
|
+
)
|
|
767
|
+
description: Optional[str] = None
|
|
768
|
+
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
769
|
+
name: str
|
|
770
|
+
offer_id: str = Field(alias="offerId")
|
|
771
|
+
|
|
772
|
+
|
|
736
773
|
class CreateOneEnvironmentInput(BaseModel):
|
|
737
774
|
environment: "CreateEnvironment"
|
|
738
775
|
options: Optional["CreateEnvironmentOptions"] = None
|
|
@@ -2007,6 +2044,12 @@ class GetCustomerByRefIdInput(BaseModel):
|
|
|
2007
2044
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
2008
2045
|
|
|
2009
2046
|
|
|
2047
|
+
class GetOfferInput(BaseModel):
|
|
2048
|
+
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
2049
|
+
offer_id: str = Field(alias="offerId")
|
|
2050
|
+
version: Optional[float] = None
|
|
2051
|
+
|
|
2052
|
+
|
|
2010
2053
|
class GetPackageByRefIdInput(BaseModel):
|
|
2011
2054
|
environment_id: str = Field(alias="environmentId")
|
|
2012
2055
|
ref_id: str = Field(alias="refId")
|
|
@@ -2442,6 +2485,48 @@ class NumberFieldComparisonBetween(BaseModel):
|
|
|
2442
2485
|
upper: float
|
|
2443
2486
|
|
|
2444
2487
|
|
|
2488
|
+
class OfferFilter(BaseModel):
|
|
2489
|
+
and_: Optional[List["OfferFilter"]] = Field(alias="and", default=None)
|
|
2490
|
+
created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
|
|
2491
|
+
environment_id: Optional["UUIDFilterComparison"] = Field(
|
|
2492
|
+
alias="environmentId", default=None
|
|
2493
|
+
)
|
|
2494
|
+
id: Optional["UUIDFilterComparison"] = None
|
|
2495
|
+
is_default: Optional["BooleanFieldComparison"] = Field(
|
|
2496
|
+
alias="isDefault", default=None
|
|
2497
|
+
)
|
|
2498
|
+
is_latest: Optional["BooleanFieldComparison"] = Field(
|
|
2499
|
+
alias="isLatest", default=None
|
|
2500
|
+
)
|
|
2501
|
+
offer_id: Optional["StringFieldComparison"] = Field(alias="offerId", default=None)
|
|
2502
|
+
or_: Optional[List["OfferFilter"]] = Field(alias="or", default=None)
|
|
2503
|
+
status: Optional["OfferStatusFilterComparison"] = None
|
|
2504
|
+
version: Optional["IntFieldComparison"] = None
|
|
2505
|
+
|
|
2506
|
+
|
|
2507
|
+
class OfferSort(BaseModel):
|
|
2508
|
+
direction: SortDirection
|
|
2509
|
+
field: OfferSortFields
|
|
2510
|
+
nulls: Optional[SortNulls] = None
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
class OfferStatusFilterComparison(BaseModel):
|
|
2514
|
+
eq: Optional[OfferStatus] = None
|
|
2515
|
+
gt: Optional[OfferStatus] = None
|
|
2516
|
+
gte: Optional[OfferStatus] = None
|
|
2517
|
+
i_like: Optional[OfferStatus] = Field(alias="iLike", default=None)
|
|
2518
|
+
in_: Optional[List[OfferStatus]] = Field(alias="in", default=None)
|
|
2519
|
+
is_: Optional[bool] = Field(alias="is", default=None)
|
|
2520
|
+
is_not: Optional[bool] = Field(alias="isNot", default=None)
|
|
2521
|
+
like: Optional[OfferStatus] = None
|
|
2522
|
+
lt: Optional[OfferStatus] = None
|
|
2523
|
+
lte: Optional[OfferStatus] = None
|
|
2524
|
+
neq: Optional[OfferStatus] = None
|
|
2525
|
+
not_i_like: Optional[OfferStatus] = Field(alias="notILike", default=None)
|
|
2526
|
+
not_in: Optional[List[OfferStatus]] = Field(alias="notIn", default=None)
|
|
2527
|
+
not_like: Optional[OfferStatus] = Field(alias="notLike", default=None)
|
|
2528
|
+
|
|
2529
|
+
|
|
2445
2530
|
class OpenFGACredentialsInput(BaseModel):
|
|
2446
2531
|
api_audience: str = Field(alias="apiAudience")
|
|
2447
2532
|
api_token_issuer: str = Field(alias="apiTokenIssuer")
|
|
@@ -2510,6 +2595,7 @@ class PackageDTOFilter(BaseModel):
|
|
|
2510
2595
|
is_latest: Optional["BooleanFieldComparison"] = Field(
|
|
2511
2596
|
alias="isLatest", default=None
|
|
2512
2597
|
)
|
|
2598
|
+
offer: Optional["PackageDTOFilterOfferFilter"] = None
|
|
2513
2599
|
or_: Optional[List["PackageDTOFilter"]] = Field(alias="or", default=None)
|
|
2514
2600
|
pricing_type: Optional["PricingTypeFilterComparison"] = Field(
|
|
2515
2601
|
alias="pricingType", default=None
|
|
@@ -2525,6 +2611,27 @@ class PackageDTOFilter(BaseModel):
|
|
|
2525
2611
|
)
|
|
2526
2612
|
|
|
2527
2613
|
|
|
2614
|
+
class PackageDTOFilterOfferFilter(BaseModel):
|
|
2615
|
+
and_: Optional[List["PackageDTOFilterOfferFilter"]] = Field(
|
|
2616
|
+
alias="and", default=None
|
|
2617
|
+
)
|
|
2618
|
+
created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
|
|
2619
|
+
environment_id: Optional["UUIDFilterComparison"] = Field(
|
|
2620
|
+
alias="environmentId", default=None
|
|
2621
|
+
)
|
|
2622
|
+
id: Optional["UUIDFilterComparison"] = None
|
|
2623
|
+
is_default: Optional["BooleanFieldComparison"] = Field(
|
|
2624
|
+
alias="isDefault", default=None
|
|
2625
|
+
)
|
|
2626
|
+
is_latest: Optional["BooleanFieldComparison"] = Field(
|
|
2627
|
+
alias="isLatest", default=None
|
|
2628
|
+
)
|
|
2629
|
+
offer_id: Optional["StringFieldComparison"] = Field(alias="offerId", default=None)
|
|
2630
|
+
or_: Optional[List["PackageDTOFilterOfferFilter"]] = Field(alias="or", default=None)
|
|
2631
|
+
status: Optional["OfferStatusFilterComparison"] = None
|
|
2632
|
+
version: Optional["IntFieldComparison"] = None
|
|
2633
|
+
|
|
2634
|
+
|
|
2528
2635
|
class PackageDTOSort(BaseModel):
|
|
2529
2636
|
direction: SortDirection
|
|
2530
2637
|
field: PackageDTOSortFields
|
|
@@ -2897,6 +3004,7 @@ class PlanFilter(BaseModel):
|
|
|
2897
3004
|
is_latest: Optional["BooleanFieldComparison"] = Field(
|
|
2898
3005
|
alias="isLatest", default=None
|
|
2899
3006
|
)
|
|
3007
|
+
offer: Optional["PlanFilterOfferFilter"] = None
|
|
2900
3008
|
or_: Optional[List["PlanFilter"]] = Field(alias="or", default=None)
|
|
2901
3009
|
pricing_type: Optional["PricingTypeFilterComparison"] = Field(
|
|
2902
3010
|
alias="pricingType", default=None
|
|
@@ -2945,6 +3053,25 @@ class PlanFilterAddonFilter(BaseModel):
|
|
|
2945
3053
|
)
|
|
2946
3054
|
|
|
2947
3055
|
|
|
3056
|
+
class PlanFilterOfferFilter(BaseModel):
|
|
3057
|
+
and_: Optional[List["PlanFilterOfferFilter"]] = Field(alias="and", default=None)
|
|
3058
|
+
created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
|
|
3059
|
+
environment_id: Optional["UUIDFilterComparison"] = Field(
|
|
3060
|
+
alias="environmentId", default=None
|
|
3061
|
+
)
|
|
3062
|
+
id: Optional["UUIDFilterComparison"] = None
|
|
3063
|
+
is_default: Optional["BooleanFieldComparison"] = Field(
|
|
3064
|
+
alias="isDefault", default=None
|
|
3065
|
+
)
|
|
3066
|
+
is_latest: Optional["BooleanFieldComparison"] = Field(
|
|
3067
|
+
alias="isLatest", default=None
|
|
3068
|
+
)
|
|
3069
|
+
offer_id: Optional["StringFieldComparison"] = Field(alias="offerId", default=None)
|
|
3070
|
+
or_: Optional[List["PlanFilterOfferFilter"]] = Field(alias="or", default=None)
|
|
3071
|
+
status: Optional["OfferStatusFilterComparison"] = None
|
|
3072
|
+
version: Optional["IntFieldComparison"] = None
|
|
3073
|
+
|
|
3074
|
+
|
|
2948
3075
|
class PlanFilterProductFilter(BaseModel):
|
|
2949
3076
|
and_: Optional[List["PlanFilterProductFilter"]] = Field(alias="and", default=None)
|
|
2950
3077
|
aws_marketplace_product_code: Optional["StringFieldComparison"] = Field(
|
|
@@ -3551,6 +3678,11 @@ class ProvisionSubscriptionInput(BaseModel):
|
|
|
3551
3678
|
unit_quantity: Optional[float] = Field(alias="unitQuantity", default=-1)
|
|
3552
3679
|
|
|
3553
3680
|
|
|
3681
|
+
class PublishOfferInput(BaseModel):
|
|
3682
|
+
environment_id: Any = Field(alias="environmentId")
|
|
3683
|
+
offer_id: str = Field(alias="offerId")
|
|
3684
|
+
|
|
3685
|
+
|
|
3554
3686
|
class RecalculateEntitlementsInput(BaseModel):
|
|
3555
3687
|
customer_ids: Optional[List[str]] = Field(alias="customerIds", default=None)
|
|
3556
3688
|
environment_id: Any = Field(alias="environmentId")
|
|
@@ -3604,6 +3736,11 @@ class RemoveFeatureGroupFromPackageInput(BaseModel):
|
|
|
3604
3736
|
package_id: Any = Field(alias="packageId")
|
|
3605
3737
|
|
|
3606
3738
|
|
|
3739
|
+
class RemoveOfferDraftInput(BaseModel):
|
|
3740
|
+
environment_id: Any = Field(alias="environmentId")
|
|
3741
|
+
offer_id: str = Field(alias="offerId")
|
|
3742
|
+
|
|
3743
|
+
|
|
3607
3744
|
class ReportUsageBaseInput(BaseModel):
|
|
3608
3745
|
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
3609
3746
|
customer_id: str = Field(alias="customerId")
|
|
@@ -3683,6 +3820,11 @@ class SetCouponOnCustomerInput(BaseModel):
|
|
|
3683
3820
|
relation_id: Any = Field(alias="relationId")
|
|
3684
3821
|
|
|
3685
3822
|
|
|
3823
|
+
class SetDefaultOfferInput(BaseModel):
|
|
3824
|
+
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
3825
|
+
offer_id: str = Field(alias="offerId")
|
|
3826
|
+
|
|
3827
|
+
|
|
3686
3828
|
class SetExperimentOnCustomerInput(BaseModel):
|
|
3687
3829
|
id: Any
|
|
3688
3830
|
relation_id: Any = Field(alias="relationId")
|
|
@@ -4739,6 +4881,16 @@ class UpdateIntegrationInput(BaseModel):
|
|
|
4739
4881
|
)
|
|
4740
4882
|
|
|
4741
4883
|
|
|
4884
|
+
class UpdateOfferInput(BaseModel):
|
|
4885
|
+
additional_meta_data: Optional[Any] = Field(
|
|
4886
|
+
alias="additionalMetaData", default=None
|
|
4887
|
+
)
|
|
4888
|
+
description: Optional[str] = None
|
|
4889
|
+
environment_id: Any = Field(alias="environmentId")
|
|
4890
|
+
name: Optional[str] = None
|
|
4891
|
+
offer_id: str = Field(alias="offerId")
|
|
4892
|
+
|
|
4893
|
+
|
|
4742
4894
|
class UpdateOneEnvironmentInput(BaseModel):
|
|
4743
4895
|
id: Any
|
|
4744
4896
|
update: "EnvironmentInput"
|
|
@@ -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=_MIzHAiZgy6Qwd5caf-AC2UXy4Yzy9HsI9dTzLmAS-0,76546
|
|
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
|
|
@@ -120,11 +120,11 @@ stigg/generated/create_payment_session.py,sha256=VRPT8Bbvb_evFHMav9y_pXWHMVbkRy9
|
|
|
120
120
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
121
121
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
122
122
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
123
|
-
stigg/generated/enums.py,sha256=
|
|
123
|
+
stigg/generated/enums.py,sha256=HPIePI-595qtOG4D8Ca9GwvOQYLXGAv7auER5fYzS9Q,38544
|
|
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=u_bA6vsoUnCTzNUX4YKNb2k0Km7BKsNLIrhfbAYkqJA,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
|
|
@@ -150,7 +150,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
150
150
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
151
151
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
152
152
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
153
|
-
stigg/generated/input_types.py,sha256=
|
|
153
|
+
stigg/generated/input_types.py,sha256=lEFHhjMIG8pZZe3fiWpJnvW_sSRwbm8q7RHXk8P8llA,213693
|
|
154
154
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
155
155
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
156
156
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -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.70.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
172
|
+
stigg_api_client_v2-3.70.1.dist-info/METADATA,sha256=_BuGmZH8f8zCrGF8fokXjCl54IA5WJmRT-ifJuTY6kU,2257
|
|
173
|
+
stigg_api_client_v2-3.70.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
174
|
+
stigg_api_client_v2-3.70.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|