stigg-api-client-v2 2.462.3__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 +18 -0
- stigg/generated/enums.py +22 -0
- stigg/generated/fragments.py +314 -314
- stigg/generated/input_types.py +81 -0
- {stigg_api_client_v2-2.462.3.dist-info → stigg_api_client_v2-2.464.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.462.3.dist-info → stigg_api_client_v2-2.464.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-2.462.3.dist-info → stigg_api_client_v2-2.464.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.462.3.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,
|
|
@@ -673,6 +677,7 @@ from .input_types import (
|
|
|
673
677
|
EntitlementCheckRequested,
|
|
674
678
|
EntitlementCheckResult,
|
|
675
679
|
EntitlementOptions,
|
|
680
|
+
EnumConfigurationEntityInput,
|
|
676
681
|
EnvironmentFilter,
|
|
677
682
|
EnvironmentInput,
|
|
678
683
|
EnvironmentMergeConfigurationInput,
|
|
@@ -695,6 +700,9 @@ from .input_types import (
|
|
|
695
700
|
ExperimentStatusFilterComparison,
|
|
696
701
|
FeatureAssociatedLatestPackages,
|
|
697
702
|
FeatureFilter,
|
|
703
|
+
FeatureGroupFilter,
|
|
704
|
+
FeatureGroupSort,
|
|
705
|
+
FeatureGroupStatusFilterComparison,
|
|
698
706
|
FeatureInput,
|
|
699
707
|
FeatureSort,
|
|
700
708
|
FeatureStatusFilterComparison,
|
|
@@ -880,6 +888,7 @@ from .input_types import (
|
|
|
880
888
|
TypographyConfigurationInput,
|
|
881
889
|
UnarchiveCustomerInput,
|
|
882
890
|
UnarchiveEnvironmentInput,
|
|
891
|
+
UnArchiveFeatureGroupInput,
|
|
883
892
|
UnArchiveFeatureInput,
|
|
884
893
|
UnArchivePlanInput,
|
|
885
894
|
UnitTransformationInput,
|
|
@@ -1000,6 +1009,7 @@ __all__ = [
|
|
|
1000
1009
|
"ArchiveCustomerArchiveCustomer",
|
|
1001
1010
|
"ArchiveCustomerInput",
|
|
1002
1011
|
"ArchiveEnvironmentInput",
|
|
1012
|
+
"ArchiveFeatureGroupInput",
|
|
1003
1013
|
"ArchiveFeatureInput",
|
|
1004
1014
|
"ArchivePackageGroup",
|
|
1005
1015
|
"ArchivePlanInput",
|
|
@@ -1065,6 +1075,7 @@ __all__ = [
|
|
|
1065
1075
|
"CreateEnvironment",
|
|
1066
1076
|
"CreateEnvironmentOptions",
|
|
1067
1077
|
"CreateExperimentInput",
|
|
1078
|
+
"CreateFeatureGroupInput",
|
|
1068
1079
|
"CreateHook",
|
|
1069
1080
|
"CreateIntegrationInput",
|
|
1070
1081
|
"CreateManyPackageEntitlementsInput",
|
|
@@ -1211,6 +1222,7 @@ __all__ = [
|
|
|
1211
1222
|
"EntitlementsUpdatedPayload",
|
|
1212
1223
|
"EntitlementsUpdatedPayloadEntitlements",
|
|
1213
1224
|
"EntitySelectionMode",
|
|
1225
|
+
"EnumConfigurationEntityInput",
|
|
1214
1226
|
"EnvironmentAccessRole",
|
|
1215
1227
|
"EnvironmentFilter",
|
|
1216
1228
|
"EnvironmentInput",
|
|
@@ -1250,6 +1262,11 @@ __all__ = [
|
|
|
1250
1262
|
"FeatureFilter",
|
|
1251
1263
|
"FeatureFragment",
|
|
1252
1264
|
"FeatureFragmentUnitTransformation",
|
|
1265
|
+
"FeatureGroupFilter",
|
|
1266
|
+
"FeatureGroupSort",
|
|
1267
|
+
"FeatureGroupSortFields",
|
|
1268
|
+
"FeatureGroupStatus",
|
|
1269
|
+
"FeatureGroupStatusFilterComparison",
|
|
1253
1270
|
"FeatureInput",
|
|
1254
1271
|
"FeatureSort",
|
|
1255
1272
|
"FeatureSortFields",
|
|
@@ -1813,6 +1830,7 @@ __all__ = [
|
|
|
1813
1830
|
"TypographyConfigurationFragmentH3",
|
|
1814
1831
|
"TypographyConfigurationInput",
|
|
1815
1832
|
"UUIDFilterComparison",
|
|
1833
|
+
"UnArchiveFeatureGroupInput",
|
|
1816
1834
|
"UnArchiveFeatureInput",
|
|
1817
1835
|
"UnArchivePlanInput",
|
|
1818
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"
|
|
@@ -464,6 +465,8 @@ class ErrorCode(str, Enum):
|
|
|
464
465
|
FailedToImportCustomer = "FailedToImportCustomer"
|
|
465
466
|
FailedToImportSubscriptions = "FailedToImportSubscriptions"
|
|
466
467
|
FailedToResolveBillingIntegration = "FailedToResolveBillingIntegration"
|
|
468
|
+
FeatureConfigurationExceededLimitError = "FeatureConfigurationExceededLimitError"
|
|
469
|
+
FeatureGroupNotFoundError = "FeatureGroupNotFoundError"
|
|
467
470
|
FeatureNotFound = "FeatureNotFound"
|
|
468
471
|
FetchAllCountriesPricesNotAllowed = "FetchAllCountriesPricesNotAllowed"
|
|
469
472
|
FreePlanCantHaveCompatiblePackageGroupError = (
|
|
@@ -560,6 +563,7 @@ class ErrorCode(str, Enum):
|
|
|
560
563
|
UnsupportedSubscriptionScheduleType = "UnsupportedSubscriptionScheduleType"
|
|
561
564
|
UnsupportedVendorIdentifier = "UnsupportedVendorIdentifier"
|
|
562
565
|
UsageMeasurementDiffOutOfRangeError = "UsageMeasurementDiffOutOfRangeError"
|
|
566
|
+
VersionExceedsMaxValueError = "VersionExceedsMaxValueError"
|
|
563
567
|
WorkflowTriggerNotFound = "WorkflowTriggerNotFound"
|
|
564
568
|
|
|
565
569
|
|
|
@@ -693,6 +697,23 @@ class ExperimentStatus(str, Enum):
|
|
|
693
697
|
IN_PROGRESS = "IN_PROGRESS"
|
|
694
698
|
|
|
695
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
|
+
|
|
696
717
|
class FeatureSortFields(str, Enum):
|
|
697
718
|
createdAt = "createdAt"
|
|
698
719
|
description = "description"
|
|
@@ -714,6 +735,7 @@ class FeatureStatus(str, Enum):
|
|
|
714
735
|
|
|
715
736
|
class FeatureType(str, Enum):
|
|
716
737
|
BOOLEAN = "BOOLEAN"
|
|
738
|
+
ENUM = "ENUM"
|
|
717
739
|
NUMBER = "NUMBER"
|
|
718
740
|
|
|
719
741
|
|
stigg/generated/fragments.py
CHANGED
|
@@ -219,23 +219,112 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
219
219
|
pass
|
|
220
220
|
|
|
221
221
|
|
|
222
|
-
class
|
|
223
|
-
|
|
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
|
+
)
|
|
224
236
|
|
|
225
237
|
|
|
226
|
-
class
|
|
227
|
-
|
|
228
|
-
|
|
238
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
239
|
+
divide: float
|
|
240
|
+
round: UnitTransformationRound
|
|
229
241
|
|
|
230
242
|
|
|
231
|
-
class
|
|
232
|
-
|
|
233
|
-
|
|
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)
|
|
234
278
|
|
|
235
279
|
|
|
236
|
-
class
|
|
237
|
-
|
|
238
|
-
|
|
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
|
+
|
|
326
|
+
class CustomerResourceFragment(BaseModel):
|
|
327
|
+
resource_id: str = Field(alias="resourceId")
|
|
239
328
|
|
|
240
329
|
|
|
241
330
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
@@ -265,66 +354,45 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
265
354
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
266
355
|
|
|
267
356
|
|
|
268
|
-
class
|
|
269
|
-
id: str
|
|
270
|
-
name: Optional[str] = Field(default=None)
|
|
271
|
-
email: Optional[str] = Field(default=None)
|
|
272
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
273
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
274
|
-
ref_id: str = Field(alias="refId")
|
|
275
|
-
customer_id: str = Field(alias="customerId")
|
|
276
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
277
|
-
additional_meta_data: Optional[Any] = Field(
|
|
278
|
-
alias="additionalMetaData", default=None
|
|
279
|
-
)
|
|
280
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
281
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
282
|
-
)
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
286
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
class SubscriptionFutureUpdateData(BaseModel):
|
|
357
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
290
358
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
291
359
|
alias="subscriptionScheduleType"
|
|
292
360
|
)
|
|
293
361
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
294
362
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
295
|
-
target_package: Optional["
|
|
363
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
296
364
|
alias="targetPackage", default=None
|
|
297
365
|
)
|
|
298
366
|
schedule_variables: Optional[
|
|
299
367
|
Annotated[
|
|
300
368
|
Union[
|
|
301
|
-
"
|
|
302
|
-
"
|
|
303
|
-
"
|
|
304
|
-
"
|
|
305
|
-
"
|
|
306
|
-
"
|
|
307
|
-
"
|
|
308
|
-
"
|
|
369
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
370
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
371
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
372
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
373
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
374
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
375
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
376
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
309
377
|
],
|
|
310
378
|
Field(discriminator="typename__"),
|
|
311
379
|
]
|
|
312
380
|
] = Field(alias="scheduleVariables", default=None)
|
|
313
381
|
|
|
314
382
|
|
|
315
|
-
class
|
|
383
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
316
384
|
id: str
|
|
317
385
|
ref_id: str = Field(alias="refId")
|
|
318
386
|
display_name: str = Field(alias="displayName")
|
|
319
387
|
|
|
320
388
|
|
|
321
|
-
class
|
|
389
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
322
390
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
323
391
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
324
392
|
new_quantity: float = Field(alias="newQuantity")
|
|
325
393
|
|
|
326
394
|
|
|
327
|
-
class
|
|
395
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
328
396
|
BaseModel
|
|
329
397
|
):
|
|
330
398
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -332,53 +400,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
332
400
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
333
401
|
|
|
334
402
|
|
|
335
|
-
class
|
|
403
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
336
404
|
BaseModel
|
|
337
405
|
):
|
|
338
406
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
339
407
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
340
408
|
|
|
341
409
|
|
|
342
|
-
class
|
|
410
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
343
411
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
344
412
|
|
|
345
413
|
|
|
346
|
-
class
|
|
414
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
415
|
+
BaseModel
|
|
416
|
+
):
|
|
347
417
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
348
418
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
349
419
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
350
420
|
billable_features: Optional[
|
|
351
421
|
List[
|
|
352
|
-
"
|
|
422
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
353
423
|
]
|
|
354
424
|
] = Field(alias="billableFeatures", default=None)
|
|
355
425
|
addons: Optional[
|
|
356
426
|
List[
|
|
357
|
-
"
|
|
427
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
358
428
|
]
|
|
359
429
|
] = Field(default=None)
|
|
360
430
|
price_overrides: Optional[
|
|
361
431
|
List[
|
|
362
|
-
"
|
|
432
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
363
433
|
]
|
|
364
434
|
] = Field(alias="priceOverrides", default=None)
|
|
365
435
|
|
|
366
436
|
|
|
367
|
-
class
|
|
437
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
368
438
|
BaseModel
|
|
369
439
|
):
|
|
370
440
|
feature_id: str = Field(alias="featureId")
|
|
371
441
|
quantity: float
|
|
372
442
|
|
|
373
443
|
|
|
374
|
-
class
|
|
444
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
375
445
|
BaseModel
|
|
376
446
|
):
|
|
377
447
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
378
448
|
quantity: float
|
|
379
449
|
|
|
380
450
|
|
|
381
|
-
class
|
|
451
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
382
452
|
BaseModel
|
|
383
453
|
):
|
|
384
454
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -386,39 +456,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
386
456
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
387
457
|
|
|
388
458
|
|
|
389
|
-
class
|
|
459
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
390
460
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
391
461
|
plan_ref_id: str = Field(alias="planRefId")
|
|
392
462
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
393
463
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
394
464
|
billable_features: Optional[
|
|
395
465
|
List[
|
|
396
|
-
"
|
|
466
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
397
467
|
]
|
|
398
468
|
] = Field(alias="billableFeatures", default=None)
|
|
399
469
|
addons: Optional[
|
|
400
|
-
List[
|
|
470
|
+
List[
|
|
471
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
472
|
+
]
|
|
401
473
|
] = Field(default=None)
|
|
402
474
|
price_overrides: Optional[
|
|
403
475
|
List[
|
|
404
|
-
"
|
|
476
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
405
477
|
]
|
|
406
478
|
] = Field(alias="priceOverrides", default=None)
|
|
407
479
|
|
|
408
480
|
|
|
409
|
-
class
|
|
481
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
410
482
|
BaseModel
|
|
411
483
|
):
|
|
412
484
|
feature_id: str = Field(alias="featureId")
|
|
413
485
|
quantity: float
|
|
414
486
|
|
|
415
487
|
|
|
416
|
-
class
|
|
488
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
489
|
+
BaseModel
|
|
490
|
+
):
|
|
417
491
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
418
492
|
quantity: float
|
|
419
493
|
|
|
420
494
|
|
|
421
|
-
class
|
|
495
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
422
496
|
BaseModel
|
|
423
497
|
):
|
|
424
498
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -426,7 +500,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
426
500
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
427
501
|
|
|
428
502
|
|
|
429
|
-
class
|
|
503
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
430
504
|
BaseModel
|
|
431
505
|
):
|
|
432
506
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -434,51 +508,53 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
434
508
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
435
509
|
|
|
436
510
|
|
|
437
|
-
class
|
|
511
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
512
|
+
BaseModel
|
|
513
|
+
):
|
|
438
514
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
439
515
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
440
516
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
441
517
|
|
|
442
518
|
|
|
443
|
-
class
|
|
519
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
444
520
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
445
521
|
alias="subscriptionScheduleType"
|
|
446
522
|
)
|
|
447
523
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
448
524
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
449
|
-
target_package: Optional["
|
|
525
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
450
526
|
alias="targetPackage", default=None
|
|
451
527
|
)
|
|
452
528
|
schedule_variables: Optional[
|
|
453
529
|
Annotated[
|
|
454
530
|
Union[
|
|
455
|
-
"
|
|
456
|
-
"
|
|
457
|
-
"
|
|
458
|
-
"
|
|
459
|
-
"
|
|
460
|
-
"
|
|
461
|
-
"
|
|
462
|
-
"
|
|
531
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
532
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
533
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
534
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
535
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
536
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
537
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
538
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
463
539
|
],
|
|
464
540
|
Field(discriminator="typename__"),
|
|
465
541
|
]
|
|
466
542
|
] = Field(alias="scheduleVariables", default=None)
|
|
467
543
|
|
|
468
544
|
|
|
469
|
-
class
|
|
545
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
470
546
|
id: str
|
|
471
547
|
ref_id: str = Field(alias="refId")
|
|
472
548
|
display_name: str = Field(alias="displayName")
|
|
473
549
|
|
|
474
550
|
|
|
475
|
-
class
|
|
551
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
476
552
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
477
553
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
478
554
|
new_quantity: float = Field(alias="newQuantity")
|
|
479
555
|
|
|
480
556
|
|
|
481
|
-
class
|
|
557
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
482
558
|
BaseModel
|
|
483
559
|
):
|
|
484
560
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -486,55 +562,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
486
562
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
487
563
|
|
|
488
564
|
|
|
489
|
-
class
|
|
565
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
490
566
|
BaseModel
|
|
491
567
|
):
|
|
492
568
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
493
569
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
494
570
|
|
|
495
571
|
|
|
496
|
-
class
|
|
572
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
497
573
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
498
574
|
|
|
499
575
|
|
|
500
|
-
class
|
|
501
|
-
BaseModel
|
|
502
|
-
):
|
|
576
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
503
577
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
504
578
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
505
579
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
506
580
|
billable_features: Optional[
|
|
507
581
|
List[
|
|
508
|
-
"
|
|
582
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
509
583
|
]
|
|
510
584
|
] = Field(alias="billableFeatures", default=None)
|
|
511
585
|
addons: Optional[
|
|
512
586
|
List[
|
|
513
|
-
"
|
|
587
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
514
588
|
]
|
|
515
589
|
] = Field(default=None)
|
|
516
590
|
price_overrides: Optional[
|
|
517
591
|
List[
|
|
518
|
-
"
|
|
592
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
519
593
|
]
|
|
520
594
|
] = Field(alias="priceOverrides", default=None)
|
|
521
595
|
|
|
522
596
|
|
|
523
|
-
class
|
|
597
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
524
598
|
BaseModel
|
|
525
599
|
):
|
|
526
600
|
feature_id: str = Field(alias="featureId")
|
|
527
601
|
quantity: float
|
|
528
602
|
|
|
529
603
|
|
|
530
|
-
class
|
|
604
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
531
605
|
BaseModel
|
|
532
606
|
):
|
|
533
607
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
534
608
|
quantity: float
|
|
535
609
|
|
|
536
610
|
|
|
537
|
-
class
|
|
611
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
538
612
|
BaseModel
|
|
539
613
|
):
|
|
540
614
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -542,43 +616,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
542
616
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
543
617
|
|
|
544
618
|
|
|
545
|
-
class
|
|
619
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
546
620
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
547
621
|
plan_ref_id: str = Field(alias="planRefId")
|
|
548
622
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
549
623
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
550
624
|
billable_features: Optional[
|
|
551
625
|
List[
|
|
552
|
-
"
|
|
626
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
553
627
|
]
|
|
554
628
|
] = Field(alias="billableFeatures", default=None)
|
|
555
629
|
addons: Optional[
|
|
556
|
-
List[
|
|
557
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
558
|
-
]
|
|
630
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
559
631
|
] = Field(default=None)
|
|
560
632
|
price_overrides: Optional[
|
|
561
633
|
List[
|
|
562
|
-
"
|
|
634
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
563
635
|
]
|
|
564
636
|
] = Field(alias="priceOverrides", default=None)
|
|
565
637
|
|
|
566
638
|
|
|
567
|
-
class
|
|
639
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
568
640
|
BaseModel
|
|
569
641
|
):
|
|
570
642
|
feature_id: str = Field(alias="featureId")
|
|
571
643
|
quantity: float
|
|
572
644
|
|
|
573
645
|
|
|
574
|
-
class
|
|
575
|
-
BaseModel
|
|
576
|
-
):
|
|
646
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
577
647
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
578
648
|
quantity: float
|
|
579
649
|
|
|
580
650
|
|
|
581
|
-
class
|
|
651
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
582
652
|
BaseModel
|
|
583
653
|
):
|
|
584
654
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -586,7 +656,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
586
656
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
587
657
|
|
|
588
658
|
|
|
589
|
-
class
|
|
659
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
590
660
|
BaseModel
|
|
591
661
|
):
|
|
592
662
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -594,33 +664,25 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
594
664
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
595
665
|
|
|
596
666
|
|
|
597
|
-
class
|
|
598
|
-
BaseModel
|
|
599
|
-
):
|
|
667
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
600
668
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
601
669
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
602
670
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
603
671
|
|
|
604
672
|
|
|
605
|
-
class
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
description: Optional[str] = Field(default=None)
|
|
609
|
-
additional_meta_data: Optional[Any] = Field(
|
|
610
|
-
alias="additionalMetaData", default=None
|
|
611
|
-
)
|
|
612
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
673
|
+
class TotalPriceFragment(BaseModel):
|
|
674
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
675
|
+
total: "TotalPriceFragmentTotal"
|
|
613
676
|
|
|
614
677
|
|
|
615
|
-
class
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
)
|
|
678
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
679
|
+
amount: float
|
|
680
|
+
currency: Currency
|
|
619
681
|
|
|
620
682
|
|
|
621
|
-
class
|
|
622
|
-
|
|
623
|
-
|
|
683
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
684
|
+
amount: float
|
|
685
|
+
currency: Currency
|
|
624
686
|
|
|
625
687
|
|
|
626
688
|
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
@@ -641,6 +703,27 @@ class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
|
641
703
|
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
642
704
|
|
|
643
705
|
|
|
706
|
+
class ProductFragment(BaseModel):
|
|
707
|
+
ref_id: str = Field(alias="refId")
|
|
708
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
709
|
+
description: Optional[str] = Field(default=None)
|
|
710
|
+
additional_meta_data: Optional[Any] = Field(
|
|
711
|
+
alias="additionalMetaData", default=None
|
|
712
|
+
)
|
|
713
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
717
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
718
|
+
alias="downgradePlan", default=None
|
|
719
|
+
)
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
723
|
+
ref_id: str = Field(alias="refId")
|
|
724
|
+
display_name: str = Field(alias="displayName")
|
|
725
|
+
|
|
726
|
+
|
|
644
727
|
class PlanFragment(BaseModel):
|
|
645
728
|
id: str
|
|
646
729
|
ref_id: str = Field(alias="refId")
|
|
@@ -792,125 +875,42 @@ class SubscriptionFragmentExperimentInfo(BaseModel):
|
|
|
792
875
|
id: str
|
|
793
876
|
|
|
794
877
|
|
|
795
|
-
class SubscriptionFragmentPrices(BaseModel):
|
|
796
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
797
|
-
price: Optional["SubscriptionFragmentPricesPrice"] = Field(default=None)
|
|
798
|
-
|
|
799
|
-
|
|
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
|
-
|
|
849
|
-
|
|
850
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
851
|
-
divide: float
|
|
852
|
-
round: UnitTransformationRound
|
|
878
|
+
class SubscriptionFragmentPrices(BaseModel):
|
|
879
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
880
|
+
price: Optional["SubscriptionFragmentPricesPrice"] = Field(default=None)
|
|
853
881
|
|
|
854
882
|
|
|
855
|
-
class
|
|
856
|
-
|
|
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)
|
|
883
|
+
class SubscriptionFragmentPricesPrice(PriceFragment):
|
|
884
|
+
pass
|
|
890
885
|
|
|
891
886
|
|
|
892
|
-
class
|
|
893
|
-
|
|
894
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
895
|
-
alias="monthlyAccordingTo", default=None
|
|
896
|
-
)
|
|
887
|
+
class SubscriptionFragmentTotalPrice(TotalPriceFragment):
|
|
888
|
+
pass
|
|
897
889
|
|
|
898
890
|
|
|
899
|
-
class
|
|
900
|
-
|
|
901
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
902
|
-
alias="weeklyAccordingTo", default=None
|
|
903
|
-
)
|
|
891
|
+
class SubscriptionFragmentPlan(PlanFragment):
|
|
892
|
+
pass
|
|
904
893
|
|
|
905
894
|
|
|
906
|
-
class
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
)
|
|
895
|
+
class SubscriptionFragmentAddons(BaseModel):
|
|
896
|
+
id: str
|
|
897
|
+
quantity: float
|
|
898
|
+
addon: "SubscriptionFragmentAddonsAddon"
|
|
911
899
|
|
|
912
900
|
|
|
913
|
-
class
|
|
901
|
+
class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
902
|
+
pass
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
906
|
+
pass
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
910
|
+
pass
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
914
914
|
pass
|
|
915
915
|
|
|
916
916
|
|
|
@@ -1260,50 +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
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1274
|
-
addon_id: str = Field(alias="addonId")
|
|
1275
|
-
description: Optional[str] = Field(default=None)
|
|
1276
|
-
display_name: str = Field(alias="displayName")
|
|
1277
|
-
quantity: int
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1281
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1282
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1283
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1284
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1285
|
-
default=None
|
|
1286
|
-
)
|
|
1287
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1288
|
-
default=None
|
|
1289
|
-
)
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1293
|
-
amount: float
|
|
1294
|
-
currency: Currency
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1298
|
-
id: str
|
|
1299
|
-
ref_id: str = Field(alias="refId")
|
|
1300
|
-
display_name: str = Field(alias="displayName")
|
|
1301
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1302
|
-
feature_units_plural: Optional[str] = Field(
|
|
1303
|
-
alias="featureUnitsPlural", default=None
|
|
1304
|
-
)
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
1263
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1308
1264
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1309
1265
|
alias="subscriptionScheduleType"
|
|
@@ -1473,6 +1429,40 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1473
1429
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1474
1430
|
|
|
1475
1431
|
|
|
1432
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1433
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1434
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1435
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1436
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1437
|
+
default=None
|
|
1438
|
+
)
|
|
1439
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1440
|
+
default=None
|
|
1441
|
+
)
|
|
1442
|
+
|
|
1443
|
+
|
|
1444
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1445
|
+
amount: float
|
|
1446
|
+
currency: Currency
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1450
|
+
id: str
|
|
1451
|
+
ref_id: str = Field(alias="refId")
|
|
1452
|
+
display_name: str = Field(alias="displayName")
|
|
1453
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1454
|
+
feature_units_plural: Optional[str] = Field(
|
|
1455
|
+
alias="featureUnitsPlural", default=None
|
|
1456
|
+
)
|
|
1457
|
+
|
|
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")
|
|
@@ -2839,19 +2839,19 @@ OveragePriceFragment.model_rebuild()
|
|
|
2839
2839
|
PackageEntitlementFragment.model_rebuild()
|
|
2840
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
|
-
TotalPriceFragment.model_rebuild()
|
|
2844
2847
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2845
|
-
SlimCustomerFragment.model_rebuild()
|
|
2846
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2847
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2848
2848
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2849
|
-
|
|
2849
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2850
|
+
TotalPriceFragment.model_rebuild()
|
|
2850
2851
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2852
|
+
ProductFragment.model_rebuild()
|
|
2851
2853
|
PlanFragment.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()
|
|
@@ -2863,11 +2863,11 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2863
2863
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2864
2864
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2865
2865
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2866
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2867
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2868
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2869
2866
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
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)
|
|
@@ -1509,6 +1524,11 @@ class EntitlementOptions(BaseModel):
|
|
|
1509
1524
|
should_track: Optional[bool] = Field(alias="shouldTrack", default=False)
|
|
1510
1525
|
|
|
1511
1526
|
|
|
1527
|
+
class EnumConfigurationEntityInput(BaseModel):
|
|
1528
|
+
display_name: str = Field(alias="displayName")
|
|
1529
|
+
value: str
|
|
1530
|
+
|
|
1531
|
+
|
|
1512
1532
|
class EnvironmentFilter(BaseModel):
|
|
1513
1533
|
and_: Optional[List["EnvironmentFilter"]] = Field(alias="and", default=None)
|
|
1514
1534
|
created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
|
|
@@ -1771,12 +1791,62 @@ class FeatureFilter(BaseModel):
|
|
|
1771
1791
|
updated_at: Optional["DateFieldComparison"] = Field(alias="updatedAt", default=None)
|
|
1772
1792
|
|
|
1773
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
|
+
|
|
1774
1841
|
class FeatureInput(BaseModel):
|
|
1775
1842
|
additional_meta_data: Optional[Any] = Field(
|
|
1776
1843
|
alias="additionalMetaData", default=None
|
|
1777
1844
|
)
|
|
1778
1845
|
description: Optional[str] = None
|
|
1779
1846
|
display_name: str = Field(alias="displayName")
|
|
1847
|
+
enum_configuration: Optional[List["EnumConfigurationEntityInput"]] = Field(
|
|
1848
|
+
alias="enumConfiguration", default=None
|
|
1849
|
+
)
|
|
1780
1850
|
environment_id: str = Field(alias="environmentId")
|
|
1781
1851
|
feature_status: Optional[FeatureStatus] = Field(alias="featureStatus", default=None)
|
|
1782
1852
|
feature_type: FeatureType = Field(alias="featureType")
|
|
@@ -2297,6 +2367,7 @@ class OverageEntitlementCreateInput(BaseModel):
|
|
|
2297
2367
|
display_name_override: Optional[str] = Field(
|
|
2298
2368
|
alias="displayNameOverride", default=None
|
|
2299
2369
|
)
|
|
2370
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
2300
2371
|
feature_id: str = Field(alias="featureId")
|
|
2301
2372
|
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
2302
2373
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -2455,6 +2526,7 @@ class PackageEntitlementInput(BaseModel):
|
|
|
2455
2526
|
display_name_override: Optional[str] = Field(
|
|
2456
2527
|
alias="displayNameOverride", default=None
|
|
2457
2528
|
)
|
|
2529
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
2458
2530
|
environment_id: str = Field(alias="environmentId")
|
|
2459
2531
|
feature_id: str = Field(alias="featureId")
|
|
2460
2532
|
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
@@ -2492,6 +2564,7 @@ class PackageEntitlementUpdateInput(BaseModel):
|
|
|
2492
2564
|
display_name_override: Optional[str] = Field(
|
|
2493
2565
|
alias="displayNameOverride", default=None
|
|
2494
2566
|
)
|
|
2567
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
2495
2568
|
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
2496
2569
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
2497
2570
|
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
@@ -4340,6 +4413,11 @@ class UUIDFilterComparison(BaseModel):
|
|
|
4340
4413
|
not_like: Optional[Any] = Field(alias="notLike", default=None)
|
|
4341
4414
|
|
|
4342
4415
|
|
|
4416
|
+
class UnArchiveFeatureGroupInput(BaseModel):
|
|
4417
|
+
environment_id: Any = Field(alias="environmentId")
|
|
4418
|
+
feature_group_id: str = Field(alias="featureGroupId")
|
|
4419
|
+
|
|
4420
|
+
|
|
4343
4421
|
class UnArchiveFeatureInput(BaseModel):
|
|
4344
4422
|
environment_id: Optional[str] = Field(alias="environmentId", default=None)
|
|
4345
4423
|
id: str
|
|
@@ -4441,6 +4519,9 @@ class UpdateFeatureInput(BaseModel):
|
|
|
4441
4519
|
)
|
|
4442
4520
|
description: Optional[str] = None
|
|
4443
4521
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
4522
|
+
enum_configuration: Optional[List["EnumConfigurationEntityInput"]] = Field(
|
|
4523
|
+
alias="enumConfiguration", default=None
|
|
4524
|
+
)
|
|
4444
4525
|
environment_id: str = Field(alias="environmentId")
|
|
4445
4526
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
4446
4527
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -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
|