stigg-api-client-v2 2.463.0__py3-none-any.whl → 2.467.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 +313 -313
- stigg/generated/input_types.py +67 -0
- {stigg_api_client_v2-2.463.0.dist-info → stigg_api_client_v2-2.467.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.463.0.dist-info → stigg_api_client_v2-2.467.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-2.463.0.dist-info → stigg_api_client_v2-2.467.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.463.0.dist-info → stigg_api_client_v2-2.467.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
|
@@ -116,6 +116,38 @@ class PriceFragmentFeature(BaseModel):
|
|
|
116
116
|
description: Optional[str] = Field(default=None)
|
|
117
117
|
|
|
118
118
|
|
|
119
|
+
class OveragePriceFragment(BaseModel):
|
|
120
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
121
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
122
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
123
|
+
billing_country_code: Optional[str] = Field(
|
|
124
|
+
alias="billingCountryCode", default=None
|
|
125
|
+
)
|
|
126
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
127
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
128
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
129
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
133
|
+
amount: float
|
|
134
|
+
currency: Currency
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
138
|
+
pass
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
142
|
+
ref_id: str = Field(alias="refId")
|
|
143
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
144
|
+
feature_units_plural: Optional[str] = Field(
|
|
145
|
+
alias="featureUnitsPlural", default=None
|
|
146
|
+
)
|
|
147
|
+
display_name: str = Field(alias="displayName")
|
|
148
|
+
description: Optional[str] = Field(default=None)
|
|
149
|
+
|
|
150
|
+
|
|
119
151
|
class PackageEntitlementFragment(BaseModel):
|
|
120
152
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
121
153
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -149,78 +181,183 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
149
181
|
)
|
|
150
182
|
|
|
151
183
|
|
|
152
|
-
class
|
|
153
|
-
|
|
154
|
-
|
|
184
|
+
class AddonFragment(BaseModel):
|
|
185
|
+
id: str
|
|
186
|
+
ref_id: str = Field(alias="refId")
|
|
155
187
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
156
|
-
|
|
157
|
-
|
|
188
|
+
display_name: str = Field(alias="displayName")
|
|
189
|
+
description: Optional[str] = Field(default=None)
|
|
190
|
+
additional_meta_data: Optional[Any] = Field(
|
|
191
|
+
alias="additionalMetaData", default=None
|
|
158
192
|
)
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
193
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
194
|
+
alias="hiddenFromWidgets", default=None
|
|
195
|
+
)
|
|
196
|
+
entitlements: Optional[List["AddonFragmentEntitlements"]] = Field(default=None)
|
|
197
|
+
prices: Optional[List["AddonFragmentPrices"]] = Field(default=None)
|
|
198
|
+
overage_prices: Optional[List["AddonFragmentOveragePrices"]] = Field(
|
|
199
|
+
alias="overagePrices", default=None
|
|
200
|
+
)
|
|
201
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
202
|
+
max_quantity: Optional[float] = Field(alias="maxQuantity", default=None)
|
|
203
|
+
dependencies: Optional[List["AddonFragmentDependencies"]] = Field(default=None)
|
|
163
204
|
|
|
164
205
|
|
|
165
|
-
class
|
|
166
|
-
|
|
167
|
-
currency: Currency
|
|
206
|
+
class AddonFragmentEntitlements(PackageEntitlementFragment):
|
|
207
|
+
pass
|
|
168
208
|
|
|
169
209
|
|
|
170
|
-
class
|
|
210
|
+
class AddonFragmentPrices(PriceFragment):
|
|
171
211
|
pass
|
|
172
212
|
|
|
173
213
|
|
|
174
|
-
class
|
|
214
|
+
class AddonFragmentOveragePrices(OveragePriceFragment):
|
|
215
|
+
pass
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
class AddonFragmentDependencies(AddonDependencyFragment):
|
|
219
|
+
pass
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
class SlimCustomerFragment(BaseModel):
|
|
223
|
+
id: str
|
|
224
|
+
name: Optional[str] = Field(default=None)
|
|
225
|
+
email: Optional[str] = Field(default=None)
|
|
226
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
227
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
175
228
|
ref_id: str = Field(alias="refId")
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
229
|
+
customer_id: str = Field(alias="customerId")
|
|
230
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
231
|
+
additional_meta_data: Optional[Any] = Field(
|
|
232
|
+
alias="additionalMetaData", default=None
|
|
179
233
|
)
|
|
234
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
235
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
236
|
+
)
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
class CustomerResourceFragment(BaseModel):
|
|
240
|
+
resource_id: str = Field(alias="resourceId")
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
244
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
180
245
|
display_name: str = Field(alias="displayName")
|
|
246
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
247
|
+
default=None
|
|
248
|
+
)
|
|
249
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
253
|
+
pass
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
257
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
258
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
class ProductFragment(BaseModel):
|
|
262
|
+
ref_id: str = Field(alias="refId")
|
|
263
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
181
264
|
description: Optional[str] = Field(default=None)
|
|
265
|
+
additional_meta_data: Optional[Any] = Field(
|
|
266
|
+
alias="additionalMetaData", default=None
|
|
267
|
+
)
|
|
268
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
182
269
|
|
|
183
270
|
|
|
184
|
-
class
|
|
271
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
272
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
273
|
+
alias="downgradePlan", default=None
|
|
274
|
+
)
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
278
|
+
ref_id: str = Field(alias="refId")
|
|
279
|
+
display_name: str = Field(alias="displayName")
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
class PlanFragment(BaseModel):
|
|
185
283
|
id: str
|
|
186
284
|
ref_id: str = Field(alias="refId")
|
|
187
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
188
285
|
display_name: str = Field(alias="displayName")
|
|
189
286
|
description: Optional[str] = Field(default=None)
|
|
287
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
288
|
+
version_number: int = Field(alias="versionNumber")
|
|
190
289
|
additional_meta_data: Optional[Any] = Field(
|
|
191
290
|
alias="additionalMetaData", default=None
|
|
192
291
|
)
|
|
193
292
|
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
194
293
|
alias="hiddenFromWidgets", default=None
|
|
195
294
|
)
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
295
|
+
product: "PlanFragmentProduct"
|
|
296
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
297
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
298
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
299
|
+
alias="inheritedEntitlements", default=None
|
|
300
|
+
)
|
|
301
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
302
|
+
alias="compatibleAddons", default=None
|
|
303
|
+
)
|
|
304
|
+
compatible_package_groups: Optional[
|
|
305
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
306
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
307
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
308
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
199
309
|
alias="overagePrices", default=None
|
|
200
310
|
)
|
|
201
311
|
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
202
|
-
|
|
203
|
-
|
|
312
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
313
|
+
alias="defaultTrialConfig", default=None
|
|
314
|
+
)
|
|
204
315
|
|
|
205
316
|
|
|
206
|
-
class
|
|
317
|
+
class PlanFragmentProduct(ProductFragment):
|
|
207
318
|
pass
|
|
208
319
|
|
|
209
320
|
|
|
210
|
-
class
|
|
321
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
322
|
+
ref_id: str = Field(alias="refId")
|
|
323
|
+
display_name: str = Field(alias="displayName")
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
211
327
|
pass
|
|
212
328
|
|
|
213
329
|
|
|
214
|
-
class
|
|
330
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
215
331
|
pass
|
|
216
332
|
|
|
217
333
|
|
|
218
|
-
class
|
|
334
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
219
335
|
pass
|
|
220
336
|
|
|
221
337
|
|
|
222
|
-
class
|
|
223
|
-
|
|
338
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
339
|
+
pass
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
class PlanFragmentPrices(PriceFragment):
|
|
343
|
+
pass
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
347
|
+
pass
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
351
|
+
duration: float
|
|
352
|
+
units: TrialPeriodUnits
|
|
353
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
354
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
355
|
+
alias="trialEndBehavior", default=None
|
|
356
|
+
)
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
360
|
+
limit: float
|
|
224
361
|
|
|
225
362
|
|
|
226
363
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -385,33 +522,6 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
385
522
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
386
523
|
|
|
387
524
|
|
|
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
525
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
416
526
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
417
527
|
alias="subscriptionScheduleType"
|
|
@@ -570,156 +680,46 @@ class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
|
570
680
|
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
571
681
|
|
|
572
682
|
|
|
573
|
-
class
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
currency: Currency
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
class ProductFragment(BaseModel):
|
|
589
|
-
ref_id: str = Field(alias="refId")
|
|
590
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
591
|
-
description: Optional[str] = Field(default=None)
|
|
592
|
-
additional_meta_data: Optional[Any] = Field(
|
|
593
|
-
alias="additionalMetaData", default=None
|
|
594
|
-
)
|
|
595
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
599
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
600
|
-
alias="downgradePlan", default=None
|
|
601
|
-
)
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
605
|
-
ref_id: str = Field(alias="refId")
|
|
606
|
-
display_name: str = Field(alias="displayName")
|
|
607
|
-
|
|
608
|
-
|
|
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
|
-
class PlanFragment(BaseModel):
|
|
628
|
-
id: str
|
|
629
|
-
ref_id: str = Field(alias="refId")
|
|
630
|
-
display_name: str = Field(alias="displayName")
|
|
631
|
-
description: Optional[str] = Field(default=None)
|
|
632
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
633
|
-
version_number: int = Field(alias="versionNumber")
|
|
634
|
-
additional_meta_data: Optional[Any] = Field(
|
|
635
|
-
alias="additionalMetaData", default=None
|
|
636
|
-
)
|
|
637
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
638
|
-
alias="hiddenFromWidgets", default=None
|
|
639
|
-
)
|
|
640
|
-
product: "PlanFragmentProduct"
|
|
641
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
642
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
643
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
644
|
-
alias="inheritedEntitlements", default=None
|
|
645
|
-
)
|
|
646
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
647
|
-
alias="compatibleAddons", default=None
|
|
648
|
-
)
|
|
649
|
-
compatible_package_groups: Optional[
|
|
650
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
651
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
652
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
653
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
654
|
-
alias="overagePrices", default=None
|
|
683
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
684
|
+
billing_id: str = Field(alias="billingId")
|
|
685
|
+
status: SubscriptionInvoiceStatus
|
|
686
|
+
created_at: Any = Field(alias="createdAt")
|
|
687
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
688
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
689
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
690
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
691
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
692
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
693
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
694
|
+
alias="billingReason", default=None
|
|
655
695
|
)
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
696
|
+
currency: Optional[str] = Field(default=None)
|
|
697
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
698
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
699
|
+
alias="subTotalExcludingTax", default=None
|
|
659
700
|
)
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
pass
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
667
|
-
ref_id: str = Field(alias="refId")
|
|
668
|
-
display_name: str = Field(alias="displayName")
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
672
|
-
pass
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
676
|
-
pass
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
680
|
-
pass
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
684
|
-
pass
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
class PlanFragmentPrices(PriceFragment):
|
|
688
|
-
pass
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
692
|
-
pass
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
696
|
-
duration: float
|
|
697
|
-
units: TrialPeriodUnits
|
|
698
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
699
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
700
|
-
alias="trialEndBehavior", default=None
|
|
701
|
+
total: Optional[float] = Field(default=None)
|
|
702
|
+
total_excluding_tax: Optional[float] = Field(
|
|
703
|
+
alias="totalExcludingTax", default=None
|
|
701
704
|
)
|
|
705
|
+
tax: Optional[float] = Field(default=None)
|
|
706
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
707
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
702
708
|
|
|
703
709
|
|
|
704
|
-
class
|
|
705
|
-
|
|
710
|
+
class TotalPriceFragment(BaseModel):
|
|
711
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
712
|
+
total: "TotalPriceFragmentTotal"
|
|
706
713
|
|
|
707
714
|
|
|
708
|
-
class
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
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
|
-
)
|
|
715
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
716
|
+
amount: float
|
|
717
|
+
currency: Currency
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
721
|
+
amount: float
|
|
722
|
+
currency: Currency
|
|
723
723
|
|
|
724
724
|
|
|
725
725
|
class SubscriptionFragment(BaseModel):
|
|
@@ -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,14 +1260,38 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1260
1260
|
pass
|
|
1261
1261
|
|
|
1262
1262
|
|
|
1263
|
-
class
|
|
1263
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1264
|
+
addon_id: str = Field(alias="addonId")
|
|
1265
|
+
description: Optional[str] = Field(default=None)
|
|
1264
1266
|
display_name: str = Field(alias="displayName")
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1267
|
+
quantity: int
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1271
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1272
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1273
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1274
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1275
|
+
default=None
|
|
1276
|
+
)
|
|
1277
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1278
|
+
default=None
|
|
1279
|
+
)
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1283
|
+
amount: float
|
|
1284
|
+
currency: Currency
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1288
|
+
id: str
|
|
1289
|
+
ref_id: str = Field(alias="refId")
|
|
1290
|
+
display_name: str = Field(alias="displayName")
|
|
1291
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1292
|
+
feature_units_plural: Optional[str] = Field(
|
|
1293
|
+
alias="featureUnitsPlural", default=None
|
|
1294
|
+
)
|
|
1271
1295
|
|
|
1272
1296
|
|
|
1273
1297
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
@@ -1439,40 +1463,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1439
1463
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1440
1464
|
|
|
1441
1465
|
|
|
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
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1450
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1451
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1452
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1453
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1454
|
-
default=None
|
|
1455
|
-
)
|
|
1456
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1457
|
-
default=None
|
|
1458
|
-
)
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1462
|
-
amount: float
|
|
1463
|
-
currency: Currency
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1467
|
-
id: str
|
|
1468
|
-
ref_id: str = Field(alias="refId")
|
|
1469
|
-
display_name: str = Field(alias="displayName")
|
|
1470
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1471
|
-
feature_units_plural: Optional[str] = Field(
|
|
1472
|
-
alias="featureUnitsPlural", default=None
|
|
1473
|
-
)
|
|
1474
|
-
|
|
1475
|
-
|
|
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")
|
|
@@ -2836,19 +2836,19 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2836
2836
|
AddonDependencyFragment.model_rebuild()
|
|
2837
2837
|
PriceTierFragment.model_rebuild()
|
|
2838
2838
|
PriceFragment.model_rebuild()
|
|
2839
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2840
2839
|
OveragePriceFragment.model_rebuild()
|
|
2840
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2841
2841
|
AddonFragment.model_rebuild()
|
|
2842
|
+
SlimCustomerFragment.model_rebuild()
|
|
2842
2843
|
CustomerResourceFragment.model_rebuild()
|
|
2844
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2845
|
+
ProductFragment.model_rebuild()
|
|
2846
|
+
PlanFragment.model_rebuild()
|
|
2843
2847
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2844
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2845
2848
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2846
2849
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2850
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2847
2851
|
TotalPriceFragment.model_rebuild()
|
|
2848
|
-
ProductFragment.model_rebuild()
|
|
2849
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2850
|
-
PlanFragment.model_rebuild()
|
|
2851
|
-
SlimCustomerFragment.model_rebuild()
|
|
2852
2852
|
SubscriptionFragment.model_rebuild()
|
|
2853
2853
|
FeatureFragment.model_rebuild()
|
|
2854
2854
|
EntitlementFragment.model_rebuild()
|
|
@@ -2856,18 +2856,18 @@ 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
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2868
2866
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2869
2867
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2868
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.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=Tlx8wXY1OvwsHo1OcTPPN4m2QEkulP-PQceu8p_1khM,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.467.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-2.467.0.dist-info/METADATA,sha256=ZbovO2L-qPN00v9wFUofTmQVB3DRrTTLJcIaBjwac8k,2258
|
|
166
|
+
stigg_api_client_v2-2.467.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-2.467.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|