stigg-api-client-v2 2.463.0__py3-none-any.whl → 2.464.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 +16 -0
- stigg/generated/enums.py +20 -0
- stigg/generated/fragments.py +278 -278
- stigg/generated/input_types.py +67 -0
- {stigg_api_client_v2-2.463.0.dist-info → stigg_api_client_v2-2.464.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.463.0.dist-info → stigg_api_client_v2-2.464.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-2.463.0.dist-info → stigg_api_client_v2-2.464.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.463.0.dist-info → stigg_api_client_v2-2.464.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -65,6 +65,8 @@ from .enums import (
|
|
|
65
65
|
EventLogType,
|
|
66
66
|
ExperimentSortFields,
|
|
67
67
|
ExperimentStatus,
|
|
68
|
+
FeatureGroupSortFields,
|
|
69
|
+
FeatureGroupStatus,
|
|
68
70
|
FeatureSortFields,
|
|
69
71
|
FeatureStatus,
|
|
70
72
|
FeatureType,
|
|
@@ -582,6 +584,7 @@ from .input_types import (
|
|
|
582
584
|
ArchiveCouponInput,
|
|
583
585
|
ArchiveCustomerInput,
|
|
584
586
|
ArchiveEnvironmentInput,
|
|
587
|
+
ArchiveFeatureGroupInput,
|
|
585
588
|
ArchiveFeatureInput,
|
|
586
589
|
ArchivePackageGroup,
|
|
587
590
|
ArchivePlanInput,
|
|
@@ -614,6 +617,7 @@ from .input_types import (
|
|
|
614
617
|
CreateEnvironment,
|
|
615
618
|
CreateEnvironmentOptions,
|
|
616
619
|
CreateExperimentInput,
|
|
620
|
+
CreateFeatureGroupInput,
|
|
617
621
|
CreateHook,
|
|
618
622
|
CreateIntegrationInput,
|
|
619
623
|
CreateManyPackageEntitlementsInput,
|
|
@@ -696,6 +700,9 @@ from .input_types import (
|
|
|
696
700
|
ExperimentStatusFilterComparison,
|
|
697
701
|
FeatureAssociatedLatestPackages,
|
|
698
702
|
FeatureFilter,
|
|
703
|
+
FeatureGroupFilter,
|
|
704
|
+
FeatureGroupSort,
|
|
705
|
+
FeatureGroupStatusFilterComparison,
|
|
699
706
|
FeatureInput,
|
|
700
707
|
FeatureSort,
|
|
701
708
|
FeatureStatusFilterComparison,
|
|
@@ -881,6 +888,7 @@ from .input_types import (
|
|
|
881
888
|
TypographyConfigurationInput,
|
|
882
889
|
UnarchiveCustomerInput,
|
|
883
890
|
UnarchiveEnvironmentInput,
|
|
891
|
+
UnArchiveFeatureGroupInput,
|
|
884
892
|
UnArchiveFeatureInput,
|
|
885
893
|
UnArchivePlanInput,
|
|
886
894
|
UnitTransformationInput,
|
|
@@ -1001,6 +1009,7 @@ __all__ = [
|
|
|
1001
1009
|
"ArchiveCustomerArchiveCustomer",
|
|
1002
1010
|
"ArchiveCustomerInput",
|
|
1003
1011
|
"ArchiveEnvironmentInput",
|
|
1012
|
+
"ArchiveFeatureGroupInput",
|
|
1004
1013
|
"ArchiveFeatureInput",
|
|
1005
1014
|
"ArchivePackageGroup",
|
|
1006
1015
|
"ArchivePlanInput",
|
|
@@ -1066,6 +1075,7 @@ __all__ = [
|
|
|
1066
1075
|
"CreateEnvironment",
|
|
1067
1076
|
"CreateEnvironmentOptions",
|
|
1068
1077
|
"CreateExperimentInput",
|
|
1078
|
+
"CreateFeatureGroupInput",
|
|
1069
1079
|
"CreateHook",
|
|
1070
1080
|
"CreateIntegrationInput",
|
|
1071
1081
|
"CreateManyPackageEntitlementsInput",
|
|
@@ -1252,6 +1262,11 @@ __all__ = [
|
|
|
1252
1262
|
"FeatureFilter",
|
|
1253
1263
|
"FeatureFragment",
|
|
1254
1264
|
"FeatureFragmentUnitTransformation",
|
|
1265
|
+
"FeatureGroupFilter",
|
|
1266
|
+
"FeatureGroupSort",
|
|
1267
|
+
"FeatureGroupSortFields",
|
|
1268
|
+
"FeatureGroupStatus",
|
|
1269
|
+
"FeatureGroupStatusFilterComparison",
|
|
1255
1270
|
"FeatureInput",
|
|
1256
1271
|
"FeatureSort",
|
|
1257
1272
|
"FeatureSortFields",
|
|
@@ -1815,6 +1830,7 @@ __all__ = [
|
|
|
1815
1830
|
"TypographyConfigurationFragmentH3",
|
|
1816
1831
|
"TypographyConfigurationInput",
|
|
1817
1832
|
"UUIDFilterComparison",
|
|
1833
|
+
"UnArchiveFeatureGroupInput",
|
|
1818
1834
|
"UnArchiveFeatureInput",
|
|
1819
1835
|
"UnArchivePlanInput",
|
|
1820
1836
|
"UnarchiveCustomer",
|
stigg/generated/enums.py
CHANGED
|
@@ -418,6 +418,7 @@ class ErrorCode(str, Enum):
|
|
|
418
418
|
BillingPeriodMissingError = "BillingPeriodMissingError"
|
|
419
419
|
CannotAddOverrideEntitlementToPlan = "CannotAddOverrideEntitlementToPlan"
|
|
420
420
|
CannotArchiveFeatureError = "CannotArchiveFeatureError"
|
|
421
|
+
CannotArchiveFeatureGroupError = "CannotArchiveFeatureGroupError"
|
|
421
422
|
CannotChangeBillingIntegration = "CannotChangeBillingIntegration"
|
|
422
423
|
CannotDeleteCustomerError = "CannotDeleteCustomerError"
|
|
423
424
|
CannotDeleteDefaultIntegration = "CannotDeleteDefaultIntegration"
|
|
@@ -465,6 +466,7 @@ class ErrorCode(str, Enum):
|
|
|
465
466
|
FailedToImportSubscriptions = "FailedToImportSubscriptions"
|
|
466
467
|
FailedToResolveBillingIntegration = "FailedToResolveBillingIntegration"
|
|
467
468
|
FeatureConfigurationExceededLimitError = "FeatureConfigurationExceededLimitError"
|
|
469
|
+
FeatureGroupNotFoundError = "FeatureGroupNotFoundError"
|
|
468
470
|
FeatureNotFound = "FeatureNotFound"
|
|
469
471
|
FetchAllCountriesPricesNotAllowed = "FetchAllCountriesPricesNotAllowed"
|
|
470
472
|
FreePlanCantHaveCompatiblePackageGroupError = (
|
|
@@ -561,6 +563,7 @@ class ErrorCode(str, Enum):
|
|
|
561
563
|
UnsupportedSubscriptionScheduleType = "UnsupportedSubscriptionScheduleType"
|
|
562
564
|
UnsupportedVendorIdentifier = "UnsupportedVendorIdentifier"
|
|
563
565
|
UsageMeasurementDiffOutOfRangeError = "UsageMeasurementDiffOutOfRangeError"
|
|
566
|
+
VersionExceedsMaxValueError = "VersionExceedsMaxValueError"
|
|
564
567
|
WorkflowTriggerNotFound = "WorkflowTriggerNotFound"
|
|
565
568
|
|
|
566
569
|
|
|
@@ -694,6 +697,23 @@ class ExperimentStatus(str, Enum):
|
|
|
694
697
|
IN_PROGRESS = "IN_PROGRESS"
|
|
695
698
|
|
|
696
699
|
|
|
700
|
+
class FeatureGroupSortFields(str, Enum):
|
|
701
|
+
createdAt = "createdAt"
|
|
702
|
+
displayName = "displayName"
|
|
703
|
+
environmentId = "environmentId"
|
|
704
|
+
featureGroupId = "featureGroupId"
|
|
705
|
+
id = "id"
|
|
706
|
+
isLatest = "isLatest"
|
|
707
|
+
status = "status"
|
|
708
|
+
updatedAt = "updatedAt"
|
|
709
|
+
versionNumber = "versionNumber"
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
class FeatureGroupStatus(str, Enum):
|
|
713
|
+
ARCHIVED = "ARCHIVED"
|
|
714
|
+
PUBLISHED = "PUBLISHED"
|
|
715
|
+
|
|
716
|
+
|
|
697
717
|
class FeatureSortFields(str, Enum):
|
|
698
718
|
createdAt = "createdAt"
|
|
699
719
|
description = "description"
|
stigg/generated/fragments.py
CHANGED
|
@@ -80,33 +80,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
80
80
|
currency: Currency
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class OveragePriceFragment(BaseModel):
|
|
84
84
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
85
85
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
86
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
87
86
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
88
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
89
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
90
87
|
billing_country_code: Optional[str] = Field(
|
|
91
88
|
alias="billingCountryCode", default=None
|
|
92
89
|
)
|
|
93
|
-
price: Optional["
|
|
90
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
94
91
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
95
|
-
tiers: Optional[List["
|
|
96
|
-
feature: Optional["
|
|
97
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
92
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
93
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
98
94
|
|
|
99
95
|
|
|
100
|
-
class
|
|
96
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
101
97
|
amount: float
|
|
102
98
|
currency: Currency
|
|
103
99
|
|
|
104
100
|
|
|
105
|
-
class
|
|
101
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
106
102
|
pass
|
|
107
103
|
|
|
108
104
|
|
|
109
|
-
class
|
|
105
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
110
106
|
ref_id: str = Field(alias="refId")
|
|
111
107
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
112
108
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -149,29 +145,33 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
149
145
|
)
|
|
150
146
|
|
|
151
147
|
|
|
152
|
-
class
|
|
148
|
+
class PriceFragment(BaseModel):
|
|
153
149
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
154
150
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
151
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
155
152
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
153
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
154
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
156
155
|
billing_country_code: Optional[str] = Field(
|
|
157
156
|
alias="billingCountryCode", default=None
|
|
158
157
|
)
|
|
159
|
-
price: Optional["
|
|
158
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
160
159
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
161
|
-
tiers: Optional[List["
|
|
162
|
-
feature: Optional["
|
|
160
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
161
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
162
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
class
|
|
165
|
+
class PriceFragmentPrice(BaseModel):
|
|
166
166
|
amount: float
|
|
167
167
|
currency: Currency
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
class
|
|
170
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
171
171
|
pass
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
class
|
|
174
|
+
class PriceFragmentFeature(BaseModel):
|
|
175
175
|
ref_id: str = Field(alias="refId")
|
|
176
176
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
177
177
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -219,10 +219,141 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
219
219
|
pass
|
|
220
220
|
|
|
221
221
|
|
|
222
|
+
class FeatureFragment(BaseModel):
|
|
223
|
+
typename__: str = Field(alias="__typename")
|
|
224
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
225
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
226
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
227
|
+
feature_units_plural: Optional[str] = Field(
|
|
228
|
+
alias="featureUnitsPlural", default=None
|
|
229
|
+
)
|
|
230
|
+
description: Optional[str] = Field(default=None)
|
|
231
|
+
display_name: str = Field(alias="displayName")
|
|
232
|
+
ref_id: str = Field(alias="refId")
|
|
233
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
234
|
+
alias="unitTransformation", default=None
|
|
235
|
+
)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
239
|
+
divide: float
|
|
240
|
+
round: UnitTransformationRound
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
class EntitlementFragment(BaseModel):
|
|
244
|
+
typename__: str = Field(alias="__typename")
|
|
245
|
+
is_granted: bool = Field(alias="isGranted")
|
|
246
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
247
|
+
alias="accessDeniedReason", default=None
|
|
248
|
+
)
|
|
249
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
250
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
251
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
252
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
253
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
254
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
255
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
256
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
257
|
+
alias="entitlementUpdatedAt", default=None
|
|
258
|
+
)
|
|
259
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
260
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
261
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
262
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
263
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
264
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
265
|
+
alias="resetPeriod", default=None
|
|
266
|
+
)
|
|
267
|
+
reset_period_configuration: Optional[
|
|
268
|
+
Annotated[
|
|
269
|
+
Union[
|
|
270
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
271
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
272
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
273
|
+
],
|
|
274
|
+
Field(discriminator="typename__"),
|
|
275
|
+
]
|
|
276
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
277
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
281
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
282
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
283
|
+
alias="monthlyAccordingTo", default=None
|
|
284
|
+
)
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
288
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
289
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
290
|
+
alias="weeklyAccordingTo", default=None
|
|
291
|
+
)
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
295
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
296
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
297
|
+
alias="yearlyAccordingTo", default=None
|
|
298
|
+
)
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
302
|
+
pass
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
306
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
class SlimCustomerFragment(BaseModel):
|
|
310
|
+
id: str
|
|
311
|
+
name: Optional[str] = Field(default=None)
|
|
312
|
+
email: Optional[str] = Field(default=None)
|
|
313
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
314
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
315
|
+
ref_id: str = Field(alias="refId")
|
|
316
|
+
customer_id: str = Field(alias="customerId")
|
|
317
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
318
|
+
additional_meta_data: Optional[Any] = Field(
|
|
319
|
+
alias="additionalMetaData", default=None
|
|
320
|
+
)
|
|
321
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
322
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
323
|
+
)
|
|
324
|
+
|
|
325
|
+
|
|
222
326
|
class CustomerResourceFragment(BaseModel):
|
|
223
327
|
resource_id: str = Field(alias="resourceId")
|
|
224
328
|
|
|
225
329
|
|
|
330
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
331
|
+
billing_id: str = Field(alias="billingId")
|
|
332
|
+
status: SubscriptionInvoiceStatus
|
|
333
|
+
created_at: Any = Field(alias="createdAt")
|
|
334
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
335
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
336
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
337
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
338
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
339
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
340
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
341
|
+
alias="billingReason", default=None
|
|
342
|
+
)
|
|
343
|
+
currency: Optional[str] = Field(default=None)
|
|
344
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
345
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
346
|
+
alias="subTotalExcludingTax", default=None
|
|
347
|
+
)
|
|
348
|
+
total: Optional[float] = Field(default=None)
|
|
349
|
+
total_excluding_tax: Optional[float] = Field(
|
|
350
|
+
alias="totalExcludingTax", default=None
|
|
351
|
+
)
|
|
352
|
+
tax: Optional[float] = Field(default=None)
|
|
353
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
354
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
355
|
+
|
|
356
|
+
|
|
226
357
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
227
358
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
228
359
|
alias="subscriptionScheduleType"
|
|
@@ -385,33 +516,6 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
385
516
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
386
517
|
|
|
387
518
|
|
|
388
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
389
|
-
billing_id: str = Field(alias="billingId")
|
|
390
|
-
status: SubscriptionInvoiceStatus
|
|
391
|
-
created_at: Any = Field(alias="createdAt")
|
|
392
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
393
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
394
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
395
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
396
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
397
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
398
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
399
|
-
alias="billingReason", default=None
|
|
400
|
-
)
|
|
401
|
-
currency: Optional[str] = Field(default=None)
|
|
402
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
403
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
404
|
-
alias="subTotalExcludingTax", default=None
|
|
405
|
-
)
|
|
406
|
-
total: Optional[float] = Field(default=None)
|
|
407
|
-
total_excluding_tax: Optional[float] = Field(
|
|
408
|
-
alias="totalExcludingTax", default=None
|
|
409
|
-
)
|
|
410
|
-
tax: Optional[float] = Field(default=None)
|
|
411
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
412
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
413
|
-
|
|
414
|
-
|
|
415
519
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
416
520
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
417
521
|
alias="subscriptionScheduleType"
|
|
@@ -566,10 +670,6 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
566
670
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
567
671
|
|
|
568
672
|
|
|
569
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
570
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
571
|
-
|
|
572
|
-
|
|
573
673
|
class TotalPriceFragment(BaseModel):
|
|
574
674
|
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
575
675
|
total: "TotalPriceFragmentTotal"
|
|
@@ -585,6 +685,24 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
585
685
|
currency: Currency
|
|
586
686
|
|
|
587
687
|
|
|
688
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
689
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
690
|
+
display_name: str = Field(alias="displayName")
|
|
691
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
692
|
+
default=None
|
|
693
|
+
)
|
|
694
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
698
|
+
pass
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
702
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
703
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
704
|
+
|
|
705
|
+
|
|
588
706
|
class ProductFragment(BaseModel):
|
|
589
707
|
ref_id: str = Field(alias="refId")
|
|
590
708
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
@@ -606,24 +724,6 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
606
724
|
display_name: str = Field(alias="displayName")
|
|
607
725
|
|
|
608
726
|
|
|
609
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
610
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
611
|
-
display_name: str = Field(alias="displayName")
|
|
612
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
613
|
-
default=None
|
|
614
|
-
)
|
|
615
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
619
|
-
pass
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
623
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
624
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
625
|
-
|
|
626
|
-
|
|
627
727
|
class PlanFragment(BaseModel):
|
|
628
728
|
id: str
|
|
629
729
|
ref_id: str = Field(alias="refId")
|
|
@@ -705,23 +805,6 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
705
805
|
limit: float
|
|
706
806
|
|
|
707
807
|
|
|
708
|
-
class SlimCustomerFragment(BaseModel):
|
|
709
|
-
id: str
|
|
710
|
-
name: Optional[str] = Field(default=None)
|
|
711
|
-
email: Optional[str] = Field(default=None)
|
|
712
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
713
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
714
|
-
ref_id: str = Field(alias="refId")
|
|
715
|
-
customer_id: str = Field(alias="customerId")
|
|
716
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
717
|
-
additional_meta_data: Optional[Any] = Field(
|
|
718
|
-
alias="additionalMetaData", default=None
|
|
719
|
-
)
|
|
720
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
721
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
722
|
-
)
|
|
723
|
-
|
|
724
|
-
|
|
725
808
|
class SubscriptionFragment(BaseModel):
|
|
726
809
|
id: Any
|
|
727
810
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -797,120 +880,37 @@ class SubscriptionFragmentPrices(BaseModel):
|
|
|
797
880
|
price: Optional["SubscriptionFragmentPricesPrice"] = Field(default=None)
|
|
798
881
|
|
|
799
882
|
|
|
800
|
-
class SubscriptionFragmentPricesPrice(PriceFragment):
|
|
801
|
-
pass
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
class SubscriptionFragmentTotalPrice(TotalPriceFragment):
|
|
805
|
-
pass
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
class SubscriptionFragmentPlan(PlanFragment):
|
|
809
|
-
pass
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
class SubscriptionFragmentAddons(BaseModel):
|
|
813
|
-
id: str
|
|
814
|
-
quantity: float
|
|
815
|
-
addon: "SubscriptionFragmentAddonsAddon"
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
819
|
-
pass
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
823
|
-
pass
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
827
|
-
pass
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
831
|
-
pass
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
class FeatureFragment(BaseModel):
|
|
835
|
-
typename__: str = Field(alias="__typename")
|
|
836
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
837
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
838
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
839
|
-
feature_units_plural: Optional[str] = Field(
|
|
840
|
-
alias="featureUnitsPlural", default=None
|
|
841
|
-
)
|
|
842
|
-
description: Optional[str] = Field(default=None)
|
|
843
|
-
display_name: str = Field(alias="displayName")
|
|
844
|
-
ref_id: str = Field(alias="refId")
|
|
845
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
846
|
-
alias="unitTransformation", default=None
|
|
847
|
-
)
|
|
848
|
-
|
|
883
|
+
class SubscriptionFragmentPricesPrice(PriceFragment):
|
|
884
|
+
pass
|
|
849
885
|
|
|
850
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
851
|
-
divide: float
|
|
852
|
-
round: UnitTransformationRound
|
|
853
886
|
|
|
887
|
+
class SubscriptionFragmentTotalPrice(TotalPriceFragment):
|
|
888
|
+
pass
|
|
854
889
|
|
|
855
|
-
class EntitlementFragment(BaseModel):
|
|
856
|
-
typename__: str = Field(alias="__typename")
|
|
857
|
-
is_granted: bool = Field(alias="isGranted")
|
|
858
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
859
|
-
alias="accessDeniedReason", default=None
|
|
860
|
-
)
|
|
861
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
862
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
863
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
864
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
865
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
866
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
867
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
868
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
869
|
-
alias="entitlementUpdatedAt", default=None
|
|
870
|
-
)
|
|
871
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
872
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
873
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
874
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
875
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
876
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
877
|
-
alias="resetPeriod", default=None
|
|
878
|
-
)
|
|
879
|
-
reset_period_configuration: Optional[
|
|
880
|
-
Annotated[
|
|
881
|
-
Union[
|
|
882
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
883
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
884
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
885
|
-
],
|
|
886
|
-
Field(discriminator="typename__"),
|
|
887
|
-
]
|
|
888
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
889
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
890
890
|
|
|
891
|
+
class SubscriptionFragmentPlan(PlanFragment):
|
|
892
|
+
pass
|
|
891
893
|
|
|
892
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
893
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
894
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
895
|
-
alias="monthlyAccordingTo", default=None
|
|
896
|
-
)
|
|
897
894
|
|
|
895
|
+
class SubscriptionFragmentAddons(BaseModel):
|
|
896
|
+
id: str
|
|
897
|
+
quantity: float
|
|
898
|
+
addon: "SubscriptionFragmentAddonsAddon"
|
|
898
899
|
|
|
899
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
900
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
901
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
902
|
-
alias="weeklyAccordingTo", default=None
|
|
903
|
-
)
|
|
904
900
|
|
|
901
|
+
class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
902
|
+
pass
|
|
905
903
|
|
|
906
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
907
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
908
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
909
|
-
alias="yearlyAccordingTo", default=None
|
|
910
|
-
)
|
|
911
904
|
|
|
905
|
+
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
906
|
+
pass
|
|
912
907
|
|
|
913
|
-
|
|
908
|
+
|
|
909
|
+
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
910
|
+
pass
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
914
914
|
pass
|
|
915
915
|
|
|
916
916
|
|
|
@@ -991,35 +991,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
991
991
|
)
|
|
992
992
|
|
|
993
993
|
|
|
994
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
995
|
-
status: PromotionalEntitlementStatus
|
|
996
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
997
|
-
feature_id: str = Field(alias="featureId")
|
|
998
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
999
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1000
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1001
|
-
alias="resetPeriod", default=None
|
|
1002
|
-
)
|
|
1003
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1004
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1005
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1009
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1010
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1011
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1012
|
-
feature_units_plural: Optional[str] = Field(
|
|
1013
|
-
alias="featureUnitsPlural", default=None
|
|
1014
|
-
)
|
|
1015
|
-
display_name: str = Field(alias="displayName")
|
|
1016
|
-
description: Optional[str] = Field(default=None)
|
|
1017
|
-
ref_id: str = Field(alias="refId")
|
|
1018
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1019
|
-
alias="additionalMetaData", default=None
|
|
1020
|
-
)
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
994
|
class CouponFragment(BaseModel):
|
|
1024
995
|
id: str
|
|
1025
996
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1054,6 +1025,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1054
1025
|
status: SyncStatus
|
|
1055
1026
|
|
|
1056
1027
|
|
|
1028
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1029
|
+
status: PromotionalEntitlementStatus
|
|
1030
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1031
|
+
feature_id: str = Field(alias="featureId")
|
|
1032
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1033
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1034
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1035
|
+
alias="resetPeriod", default=None
|
|
1036
|
+
)
|
|
1037
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1038
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1039
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1043
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1044
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1045
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1046
|
+
feature_units_plural: Optional[str] = Field(
|
|
1047
|
+
alias="featureUnitsPlural", default=None
|
|
1048
|
+
)
|
|
1049
|
+
display_name: str = Field(alias="displayName")
|
|
1050
|
+
description: Optional[str] = Field(default=None)
|
|
1051
|
+
ref_id: str = Field(alias="refId")
|
|
1052
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1053
|
+
alias="additionalMetaData", default=None
|
|
1054
|
+
)
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
1057
|
class CustomerFragment(SlimCustomerFragment):
|
|
1058
1058
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1059
1059
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1260,16 +1260,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1260
1260
|
pass
|
|
1261
1261
|
|
|
1262
1262
|
|
|
1263
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1264
|
-
display_name: str = Field(alias="displayName")
|
|
1265
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1266
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1267
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1268
|
-
period: PromotionalEntitlementPeriod
|
|
1269
|
-
start_date: Any = Field(alias="startDate")
|
|
1270
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
1263
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1274
1264
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1275
1265
|
alias="subscriptionScheduleType"
|
|
@@ -1439,13 +1429,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1439
1429
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1440
1430
|
|
|
1441
1431
|
|
|
1442
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1443
|
-
addon_id: str = Field(alias="addonId")
|
|
1444
|
-
description: Optional[str] = Field(default=None)
|
|
1445
|
-
display_name: str = Field(alias="displayName")
|
|
1446
|
-
quantity: int
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
1432
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1450
1433
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1451
1434
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1473,6 +1456,13 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1473
1456
|
)
|
|
1474
1457
|
|
|
1475
1458
|
|
|
1459
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1460
|
+
addon_id: str = Field(alias="addonId")
|
|
1461
|
+
description: Optional[str] = Field(default=None)
|
|
1462
|
+
display_name: str = Field(alias="displayName")
|
|
1463
|
+
quantity: int
|
|
1464
|
+
|
|
1465
|
+
|
|
1476
1466
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1477
1467
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1478
1468
|
plan_id: str = Field(alias="planId")
|
|
@@ -1569,6 +1559,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1569
1559
|
pass
|
|
1570
1560
|
|
|
1571
1561
|
|
|
1562
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1563
|
+
display_name: str = Field(alias="displayName")
|
|
1564
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1565
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1566
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1567
|
+
period: PromotionalEntitlementPeriod
|
|
1568
|
+
start_date: Any = Field(alias="startDate")
|
|
1569
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
1572
|
class CustomerPortalFragment(BaseModel):
|
|
1573
1573
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1574
1574
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1796,39 +1796,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1796
1796
|
description: Optional[str] = Field(default=None)
|
|
1797
1797
|
|
|
1798
1798
|
|
|
1799
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1800
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1801
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1802
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1803
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1804
|
-
alias="resetPeriod", default=None
|
|
1805
|
-
)
|
|
1806
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1807
|
-
alias="hiddenFromWidgets", default=None
|
|
1808
|
-
)
|
|
1809
|
-
display_name_override: Optional[str] = Field(
|
|
1810
|
-
alias="displayNameOverride", default=None
|
|
1811
|
-
)
|
|
1812
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1813
|
-
default=None
|
|
1814
|
-
)
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1818
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1819
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1820
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1821
|
-
feature_units_plural: Optional[str] = Field(
|
|
1822
|
-
alias="featureUnitsPlural", default=None
|
|
1823
|
-
)
|
|
1824
|
-
display_name: str = Field(alias="displayName")
|
|
1825
|
-
description: Optional[str] = Field(default=None)
|
|
1826
|
-
ref_id: str = Field(alias="refId")
|
|
1827
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1828
|
-
alias="additionalMetaData", default=None
|
|
1829
|
-
)
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
1799
|
class MockPaywallPriceFragment(BaseModel):
|
|
1833
1800
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1834
1801
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1863,6 +1830,39 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1863
1830
|
display_name: str = Field(alias="displayName")
|
|
1864
1831
|
|
|
1865
1832
|
|
|
1833
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1834
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1835
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1836
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1837
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1838
|
+
alias="resetPeriod", default=None
|
|
1839
|
+
)
|
|
1840
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1841
|
+
alias="hiddenFromWidgets", default=None
|
|
1842
|
+
)
|
|
1843
|
+
display_name_override: Optional[str] = Field(
|
|
1844
|
+
alias="displayNameOverride", default=None
|
|
1845
|
+
)
|
|
1846
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1847
|
+
default=None
|
|
1848
|
+
)
|
|
1849
|
+
|
|
1850
|
+
|
|
1851
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1852
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1853
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1854
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1855
|
+
feature_units_plural: Optional[str] = Field(
|
|
1856
|
+
alias="featureUnitsPlural", default=None
|
|
1857
|
+
)
|
|
1858
|
+
display_name: str = Field(alias="displayName")
|
|
1859
|
+
description: Optional[str] = Field(default=None)
|
|
1860
|
+
ref_id: str = Field(alias="refId")
|
|
1861
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1862
|
+
alias="additionalMetaData", default=None
|
|
1863
|
+
)
|
|
1864
|
+
|
|
1865
|
+
|
|
1866
1866
|
class MockPaywallAddonFragment(BaseModel):
|
|
1867
1867
|
ref_id: str = Field(alias="refId")
|
|
1868
1868
|
display_name: str = Field(alias="displayName")
|
|
@@ -2835,39 +2835,39 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2835
2835
|
|
|
2836
2836
|
AddonDependencyFragment.model_rebuild()
|
|
2837
2837
|
PriceTierFragment.model_rebuild()
|
|
2838
|
-
PriceFragment.model_rebuild()
|
|
2839
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2840
2838
|
OveragePriceFragment.model_rebuild()
|
|
2839
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2840
|
+
PriceFragment.model_rebuild()
|
|
2841
2841
|
AddonFragment.model_rebuild()
|
|
2842
|
+
FeatureFragment.model_rebuild()
|
|
2843
|
+
EntitlementFragment.model_rebuild()
|
|
2844
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2845
|
+
SlimCustomerFragment.model_rebuild()
|
|
2842
2846
|
CustomerResourceFragment.model_rebuild()
|
|
2843
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2844
2847
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2848
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2845
2849
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2846
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2847
2850
|
TotalPriceFragment.model_rebuild()
|
|
2848
|
-
ProductFragment.model_rebuild()
|
|
2849
2851
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2852
|
+
ProductFragment.model_rebuild()
|
|
2850
2853
|
PlanFragment.model_rebuild()
|
|
2851
|
-
SlimCustomerFragment.model_rebuild()
|
|
2852
2854
|
SubscriptionFragment.model_rebuild()
|
|
2853
|
-
FeatureFragment.model_rebuild()
|
|
2854
|
-
EntitlementFragment.model_rebuild()
|
|
2855
2855
|
ApplySubscriptionFragment.model_rebuild()
|
|
2856
2856
|
FontVariantFragment.model_rebuild()
|
|
2857
2857
|
TypographyConfigurationFragment.model_rebuild()
|
|
2858
2858
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2859
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2860
2859
|
CouponFragment.model_rebuild()
|
|
2860
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2861
2861
|
CustomerFragment.model_rebuild()
|
|
2862
2862
|
CheckoutStateFragment.model_rebuild()
|
|
2863
2863
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2864
2864
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2865
2865
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2866
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2867
2866
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2868
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2869
2867
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2868
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2870
2869
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2870
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2871
2871
|
CustomerPortalFragment.model_rebuild()
|
|
2872
2872
|
CustomerStatisticsFragment.model_rebuild()
|
|
2873
2873
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2877,8 +2877,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2877
2877
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2878
2878
|
LayoutConfigurationFragment.model_rebuild()
|
|
2879
2879
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2880
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2881
2880
|
MockPaywallPriceFragment.model_rebuild()
|
|
2881
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2882
2882
|
MockPaywallAddonFragment.model_rebuild()
|
|
2883
2883
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2884
2884
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -40,6 +40,8 @@ from .enums import (
|
|
|
40
40
|
EventLogType,
|
|
41
41
|
ExperimentSortFields,
|
|
42
42
|
ExperimentStatus,
|
|
43
|
+
FeatureGroupSortFields,
|
|
44
|
+
FeatureGroupStatus,
|
|
43
45
|
FeatureSortFields,
|
|
44
46
|
FeatureStatus,
|
|
45
47
|
FeatureType,
|
|
@@ -294,6 +296,11 @@ class ArchiveEnvironmentInput(BaseModel):
|
|
|
294
296
|
slug: Optional[str] = None
|
|
295
297
|
|
|
296
298
|
|
|
299
|
+
class ArchiveFeatureGroupInput(BaseModel):
|
|
300
|
+
environment_id: Any = Field(alias="environmentId")
|
|
301
|
+
feature_group_id: str = Field(alias="featureGroupId")
|
|
302
|
+
|
|
303
|
+
|
|
297
304
|
class ArchiveFeatureInput(BaseModel):
|
|
298
305
|
environment_id: Optional[str] = Field(alias="environmentId", default=None)
|
|
299
306
|
id: str
|
|
@@ -650,6 +657,14 @@ class CreateExperimentInput(BaseModel):
|
|
|
650
657
|
variant_percentage: float = Field(alias="variantPercentage")
|
|
651
658
|
|
|
652
659
|
|
|
660
|
+
class CreateFeatureGroupInput(BaseModel):
|
|
661
|
+
description: Optional[str] = None
|
|
662
|
+
display_name: str = Field(alias="displayName")
|
|
663
|
+
environment_id: Any = Field(alias="environmentId")
|
|
664
|
+
feature_group_id: str = Field(alias="featureGroupId")
|
|
665
|
+
features: List[str]
|
|
666
|
+
|
|
667
|
+
|
|
653
668
|
class CreateHook(BaseModel):
|
|
654
669
|
configuration: Optional[Any] = None
|
|
655
670
|
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
@@ -1776,6 +1791,53 @@ class FeatureFilter(BaseModel):
|
|
|
1776
1791
|
updated_at: Optional["DateFieldComparison"] = Field(alias="updatedAt", default=None)
|
|
1777
1792
|
|
|
1778
1793
|
|
|
1794
|
+
class FeatureGroupFilter(BaseModel):
|
|
1795
|
+
and_: Optional[List["FeatureGroupFilter"]] = Field(alias="and", default=None)
|
|
1796
|
+
created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
|
|
1797
|
+
display_name: Optional["StringFieldComparison"] = Field(
|
|
1798
|
+
alias="displayName", default=None
|
|
1799
|
+
)
|
|
1800
|
+
environment_id: Optional["UUIDFilterComparison"] = Field(
|
|
1801
|
+
alias="environmentId", default=None
|
|
1802
|
+
)
|
|
1803
|
+
feature_group_id: Optional["StringFieldComparison"] = Field(
|
|
1804
|
+
alias="featureGroupId", default=None
|
|
1805
|
+
)
|
|
1806
|
+
id: Optional["UUIDFilterComparison"] = None
|
|
1807
|
+
is_latest: Optional["BooleanFieldComparison"] = Field(
|
|
1808
|
+
alias="isLatest", default=None
|
|
1809
|
+
)
|
|
1810
|
+
or_: Optional[List["FeatureGroupFilter"]] = Field(alias="or", default=None)
|
|
1811
|
+
status: Optional["FeatureGroupStatusFilterComparison"] = None
|
|
1812
|
+
updated_at: Optional["DateFieldComparison"] = Field(alias="updatedAt", default=None)
|
|
1813
|
+
version_number: Optional["IntFieldComparison"] = Field(
|
|
1814
|
+
alias="versionNumber", default=None
|
|
1815
|
+
)
|
|
1816
|
+
|
|
1817
|
+
|
|
1818
|
+
class FeatureGroupSort(BaseModel):
|
|
1819
|
+
direction: SortDirection
|
|
1820
|
+
field: FeatureGroupSortFields
|
|
1821
|
+
nulls: Optional[SortNulls] = None
|
|
1822
|
+
|
|
1823
|
+
|
|
1824
|
+
class FeatureGroupStatusFilterComparison(BaseModel):
|
|
1825
|
+
eq: Optional[FeatureGroupStatus] = None
|
|
1826
|
+
gt: Optional[FeatureGroupStatus] = None
|
|
1827
|
+
gte: Optional[FeatureGroupStatus] = None
|
|
1828
|
+
i_like: Optional[FeatureGroupStatus] = Field(alias="iLike", default=None)
|
|
1829
|
+
in_: Optional[List[FeatureGroupStatus]] = Field(alias="in", default=None)
|
|
1830
|
+
is_: Optional[bool] = Field(alias="is", default=None)
|
|
1831
|
+
is_not: Optional[bool] = Field(alias="isNot", default=None)
|
|
1832
|
+
like: Optional[FeatureGroupStatus] = None
|
|
1833
|
+
lt: Optional[FeatureGroupStatus] = None
|
|
1834
|
+
lte: Optional[FeatureGroupStatus] = None
|
|
1835
|
+
neq: Optional[FeatureGroupStatus] = None
|
|
1836
|
+
not_i_like: Optional[FeatureGroupStatus] = Field(alias="notILike", default=None)
|
|
1837
|
+
not_in: Optional[List[FeatureGroupStatus]] = Field(alias="notIn", default=None)
|
|
1838
|
+
not_like: Optional[FeatureGroupStatus] = Field(alias="notLike", default=None)
|
|
1839
|
+
|
|
1840
|
+
|
|
1779
1841
|
class FeatureInput(BaseModel):
|
|
1780
1842
|
additional_meta_data: Optional[Any] = Field(
|
|
1781
1843
|
alias="additionalMetaData", default=None
|
|
@@ -4351,6 +4413,11 @@ class UUIDFilterComparison(BaseModel):
|
|
|
4351
4413
|
not_like: Optional[Any] = Field(alias="notLike", default=None)
|
|
4352
4414
|
|
|
4353
4415
|
|
|
4416
|
+
class UnArchiveFeatureGroupInput(BaseModel):
|
|
4417
|
+
environment_id: Any = Field(alias="environmentId")
|
|
4418
|
+
feature_group_id: str = Field(alias="featureGroupId")
|
|
4419
|
+
|
|
4420
|
+
|
|
4354
4421
|
class UnArchiveFeatureInput(BaseModel):
|
|
4355
4422
|
environment_id: Optional[str] = Field(alias="environmentId", default=None)
|
|
4356
4423
|
id: str
|
|
@@ -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=ZqTxHJXrfwLRuzEhiy_goBs-DkH8QafSL5NEa4rczxI,71523
|
|
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=OXPEsN3pWBsiqUcTkLsmFEW4p23uiAXrWtgjs0CHcN4,172
|
|
|
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=nBGL2rg4hAGdRjsjvjDlJjPGgBxOCVJnMgM9DfyPrgE,36212
|
|
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=JWJyOdcUIcqJ4O-REm5dqYN9RGFJU3_VUdNoCVdKU8U,103354
|
|
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
|
|
@@ -145,7 +145,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
145
145
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
146
146
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
147
147
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
148
|
-
stigg/generated/input_types.py,sha256=
|
|
148
|
+
stigg/generated/input_types.py,sha256=IFc1_kqYS6Pq14qItQAtqMxCqp4w16kKNbhaCfM0T4I,200385
|
|
149
149
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
150
150
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
151
151
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -161,7 +161,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
167
|
-
stigg_api_client_v2-2.
|
|
164
|
+
stigg_api_client_v2-2.464.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-2.464.0.dist-info/METADATA,sha256=uhe7ehBj68nSMfrRDSdguEMo93YTYZ2xmVOzwWoJ4jk,2258
|
|
166
|
+
stigg_api_client_v2-2.464.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-2.464.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|