stigg-api-client-v2 2.480.0__py3-none-any.whl → 2.481.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/enums.py +1 -0
- stigg/generated/fragments.py +374 -374
- {stigg_api_client_v2-2.480.0.dist-info → stigg_api_client_v2-2.481.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.480.0.dist-info → stigg_api_client_v2-2.481.0.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-2.480.0.dist-info → stigg_api_client_v2-2.481.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.480.0.dist-info → stigg_api_client_v2-2.481.0.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -446,6 +446,7 @@ class ErrorCode(str, Enum):
|
|
|
446
446
|
CustomerNoBillingId = "CustomerNoBillingId"
|
|
447
447
|
CustomerNotFound = "CustomerNotFound"
|
|
448
448
|
CustomerResourceNotFound = "CustomerResourceNotFound"
|
|
449
|
+
DeprecatedEstimateSubscriptionError = "DeprecatedEstimateSubscriptionError"
|
|
449
450
|
DowngradeBillingPeriodNotSupportedError = "DowngradeBillingPeriodNotSupportedError"
|
|
450
451
|
DraftAddonCantBeArchived = "DraftAddonCantBeArchived"
|
|
451
452
|
DraftPlanCantBeArchived = "DraftPlanCantBeArchived"
|
stigg/generated/fragments.py
CHANGED
|
@@ -112,6 +112,39 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
112
112
|
description: Optional[str] = Field(default=None)
|
|
113
113
|
|
|
114
114
|
|
|
115
|
+
class PackageEntitlementFragment(BaseModel):
|
|
116
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
117
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
118
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
119
|
+
feature_id: str = Field(alias="featureId")
|
|
120
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
121
|
+
alias="resetPeriod", default=None
|
|
122
|
+
)
|
|
123
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
124
|
+
alias="hiddenFromWidgets", default=None
|
|
125
|
+
)
|
|
126
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
127
|
+
display_name_override: Optional[str] = Field(
|
|
128
|
+
alias="displayNameOverride", default=None
|
|
129
|
+
)
|
|
130
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
134
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
135
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
136
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
137
|
+
feature_units_plural: Optional[str] = Field(
|
|
138
|
+
alias="featureUnitsPlural", default=None
|
|
139
|
+
)
|
|
140
|
+
display_name: str = Field(alias="displayName")
|
|
141
|
+
description: Optional[str] = Field(default=None)
|
|
142
|
+
ref_id: str = Field(alias="refId")
|
|
143
|
+
additional_meta_data: Optional[Any] = Field(
|
|
144
|
+
alias="additionalMetaData", default=None
|
|
145
|
+
)
|
|
146
|
+
|
|
147
|
+
|
|
115
148
|
class PriceFragment(BaseModel):
|
|
116
149
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
117
150
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -148,39 +181,6 @@ class PriceFragmentFeature(BaseModel):
|
|
|
148
181
|
description: Optional[str] = Field(default=None)
|
|
149
182
|
|
|
150
183
|
|
|
151
|
-
class PackageEntitlementFragment(BaseModel):
|
|
152
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
153
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
154
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
155
|
-
feature_id: str = Field(alias="featureId")
|
|
156
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
157
|
-
alias="resetPeriod", default=None
|
|
158
|
-
)
|
|
159
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
160
|
-
alias="hiddenFromWidgets", default=None
|
|
161
|
-
)
|
|
162
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
163
|
-
display_name_override: Optional[str] = Field(
|
|
164
|
-
alias="displayNameOverride", default=None
|
|
165
|
-
)
|
|
166
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
170
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
171
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
172
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
173
|
-
feature_units_plural: Optional[str] = Field(
|
|
174
|
-
alias="featureUnitsPlural", default=None
|
|
175
|
-
)
|
|
176
|
-
display_name: str = Field(alias="displayName")
|
|
177
|
-
description: Optional[str] = Field(default=None)
|
|
178
|
-
ref_id: str = Field(alias="refId")
|
|
179
|
-
additional_meta_data: Optional[Any] = Field(
|
|
180
|
-
alias="additionalMetaData", default=None
|
|
181
|
-
)
|
|
182
|
-
|
|
183
|
-
|
|
184
184
|
class AddonFragment(BaseModel):
|
|
185
185
|
id: Any
|
|
186
186
|
ref_id: str = Field(alias="refId")
|
|
@@ -219,183 +219,120 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
219
219
|
pass
|
|
220
220
|
|
|
221
221
|
|
|
222
|
-
class
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
)
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
alias="targetPackage", default=None
|
|
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
|
|
230
229
|
)
|
|
231
|
-
|
|
232
|
-
Annotated[
|
|
233
|
-
Union[
|
|
234
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
235
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
236
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
237
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
238
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
239
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
240
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
241
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
242
|
-
],
|
|
243
|
-
Field(discriminator="typename__"),
|
|
244
|
-
]
|
|
245
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
249
|
-
id: Any
|
|
250
|
-
ref_id: str = Field(alias="refId")
|
|
230
|
+
description: Optional[str] = Field(default=None)
|
|
251
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
|
+
)
|
|
252
236
|
|
|
253
237
|
|
|
254
|
-
class
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
261
|
-
BaseModel
|
|
262
|
-
):
|
|
263
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
264
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
265
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
269
|
-
BaseModel
|
|
270
|
-
):
|
|
271
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
272
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
276
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
280
|
-
BaseModel
|
|
281
|
-
):
|
|
282
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
283
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
284
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
285
|
-
billable_features: Optional[
|
|
286
|
-
List[
|
|
287
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
288
|
-
]
|
|
289
|
-
] = Field(alias="billableFeatures", default=None)
|
|
290
|
-
addons: Optional[
|
|
291
|
-
List[
|
|
292
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
293
|
-
]
|
|
294
|
-
] = Field(default=None)
|
|
295
|
-
price_overrides: Optional[
|
|
296
|
-
List[
|
|
297
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
298
|
-
]
|
|
299
|
-
] = Field(alias="priceOverrides", default=None)
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
303
|
-
BaseModel
|
|
304
|
-
):
|
|
305
|
-
feature_id: str = Field(alias="featureId")
|
|
306
|
-
quantity: float
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
310
|
-
BaseModel
|
|
311
|
-
):
|
|
312
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
313
|
-
quantity: float
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
317
|
-
BaseModel
|
|
318
|
-
):
|
|
319
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
320
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
321
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
238
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
239
|
+
divide: float
|
|
240
|
+
round: UnitTransformationRound
|
|
322
241
|
|
|
323
242
|
|
|
324
|
-
class
|
|
325
|
-
typename__:
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
] = Field(default=None)
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
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
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
257
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
258
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
259
|
+
alias="entitlementUpdatedAt", default=None
|
|
260
|
+
)
|
|
261
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
262
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
263
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
264
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
265
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
266
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
267
|
+
alias="resetPeriod", default=None
|
|
268
|
+
)
|
|
269
|
+
reset_period_configuration: Optional[
|
|
270
|
+
Annotated[
|
|
271
|
+
Union[
|
|
272
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
273
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
274
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
275
|
+
],
|
|
276
|
+
Field(discriminator="typename__"),
|
|
342
277
|
]
|
|
343
|
-
] = Field(alias="
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
347
|
-
BaseModel
|
|
348
|
-
):
|
|
349
|
-
feature_id: str = Field(alias="featureId")
|
|
350
|
-
quantity: float
|
|
278
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
279
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
351
280
|
|
|
352
281
|
|
|
353
|
-
class
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
282
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
283
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
284
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
285
|
+
alias="monthlyAccordingTo", default=None
|
|
286
|
+
)
|
|
358
287
|
|
|
359
288
|
|
|
360
|
-
class
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
289
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
290
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
291
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
292
|
+
alias="weeklyAccordingTo", default=None
|
|
293
|
+
)
|
|
366
294
|
|
|
367
295
|
|
|
368
|
-
class
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
296
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
297
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
298
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
299
|
+
alias="yearlyAccordingTo", default=None
|
|
300
|
+
)
|
|
374
301
|
|
|
375
302
|
|
|
376
|
-
class
|
|
377
|
-
|
|
378
|
-
):
|
|
379
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
380
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
381
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
303
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
304
|
+
pass
|
|
382
305
|
|
|
383
306
|
|
|
384
|
-
class
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
307
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
308
|
+
billing_id: str = Field(alias="billingId")
|
|
309
|
+
status: SubscriptionInvoiceStatus
|
|
310
|
+
created_at: Any = Field(alias="createdAt")
|
|
389
311
|
updated_at: Any = Field(alias="updatedAt")
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
312
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
313
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
314
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
315
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
316
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
317
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
318
|
+
alias="billingReason", default=None
|
|
395
319
|
)
|
|
396
|
-
|
|
397
|
-
|
|
320
|
+
currency: Optional[str] = Field(default=None)
|
|
321
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
322
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
323
|
+
alias="subTotalExcludingTax", default=None
|
|
398
324
|
)
|
|
325
|
+
total: Optional[float] = Field(default=None)
|
|
326
|
+
total_excluding_tax: Optional[float] = Field(
|
|
327
|
+
alias="totalExcludingTax", default=None
|
|
328
|
+
)
|
|
329
|
+
tax: Optional[float] = Field(default=None)
|
|
330
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
331
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
class CustomerResourceFragment(BaseModel):
|
|
335
|
+
resource_id: str = Field(alias="resourceId")
|
|
399
336
|
|
|
400
337
|
|
|
401
338
|
class ProductFragment(BaseModel):
|
|
@@ -518,8 +455,8 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
518
455
|
limit: float
|
|
519
456
|
|
|
520
457
|
|
|
521
|
-
class
|
|
522
|
-
|
|
458
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
459
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
523
460
|
|
|
524
461
|
|
|
525
462
|
class TotalPriceFragment(BaseModel):
|
|
@@ -537,6 +474,23 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
537
474
|
currency: Currency
|
|
538
475
|
|
|
539
476
|
|
|
477
|
+
class SlimCustomerFragment(BaseModel):
|
|
478
|
+
id: Any
|
|
479
|
+
name: Optional[str] = Field(default=None)
|
|
480
|
+
email: Optional[str] = Field(default=None)
|
|
481
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
482
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
483
|
+
ref_id: str = Field(alias="refId")
|
|
484
|
+
customer_id: str = Field(alias="customerId")
|
|
485
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
486
|
+
additional_meta_data: Optional[Any] = Field(
|
|
487
|
+
alias="additionalMetaData", default=None
|
|
488
|
+
)
|
|
489
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
490
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
491
|
+
)
|
|
492
|
+
|
|
493
|
+
|
|
540
494
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
541
495
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
542
496
|
alias="subscriptionScheduleType"
|
|
@@ -590,46 +544,202 @@ class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
|
590
544
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
591
545
|
|
|
592
546
|
|
|
593
|
-
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
547
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
548
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
552
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
553
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
554
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
555
|
+
billable_features: Optional[
|
|
556
|
+
List[
|
|
557
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
558
|
+
]
|
|
559
|
+
] = Field(alias="billableFeatures", default=None)
|
|
560
|
+
addons: Optional[
|
|
561
|
+
List[
|
|
562
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
563
|
+
]
|
|
564
|
+
] = Field(default=None)
|
|
565
|
+
price_overrides: Optional[
|
|
566
|
+
List[
|
|
567
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
568
|
+
]
|
|
569
|
+
] = Field(alias="priceOverrides", default=None)
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
573
|
+
BaseModel
|
|
574
|
+
):
|
|
575
|
+
feature_id: str = Field(alias="featureId")
|
|
576
|
+
quantity: float
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
580
|
+
BaseModel
|
|
581
|
+
):
|
|
582
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
583
|
+
quantity: float
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
587
|
+
BaseModel
|
|
588
|
+
):
|
|
589
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
590
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
591
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
595
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
596
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
597
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
598
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
599
|
+
billable_features: Optional[
|
|
600
|
+
List[
|
|
601
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
602
|
+
]
|
|
603
|
+
] = Field(alias="billableFeatures", default=None)
|
|
604
|
+
addons: Optional[
|
|
605
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
606
|
+
] = Field(default=None)
|
|
607
|
+
price_overrides: Optional[
|
|
608
|
+
List[
|
|
609
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
610
|
+
]
|
|
611
|
+
] = Field(alias="priceOverrides", default=None)
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
615
|
+
BaseModel
|
|
616
|
+
):
|
|
617
|
+
feature_id: str = Field(alias="featureId")
|
|
618
|
+
quantity: float
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
622
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
623
|
+
quantity: float
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
627
|
+
BaseModel
|
|
628
|
+
):
|
|
629
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
630
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
631
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
635
|
+
BaseModel
|
|
636
|
+
):
|
|
637
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
638
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
639
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
643
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
644
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
645
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
649
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
650
|
+
alias="subscriptionScheduleType"
|
|
651
|
+
)
|
|
652
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
653
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
654
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
655
|
+
alias="targetPackage", default=None
|
|
656
|
+
)
|
|
657
|
+
schedule_variables: Optional[
|
|
658
|
+
Annotated[
|
|
659
|
+
Union[
|
|
660
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
661
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
662
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
663
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
664
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
665
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
666
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
667
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
668
|
+
],
|
|
669
|
+
Field(discriminator="typename__"),
|
|
670
|
+
]
|
|
671
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
675
|
+
id: Any
|
|
676
|
+
ref_id: str = Field(alias="refId")
|
|
677
|
+
display_name: str = Field(alias="displayName")
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
681
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
682
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
683
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
687
|
+
BaseModel
|
|
688
|
+
):
|
|
689
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
690
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
691
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
695
|
+
BaseModel
|
|
696
|
+
):
|
|
697
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
698
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
594
702
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
595
703
|
|
|
596
704
|
|
|
597
|
-
class
|
|
705
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
706
|
+
BaseModel
|
|
707
|
+
):
|
|
598
708
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
599
709
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
600
710
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
601
711
|
billable_features: Optional[
|
|
602
712
|
List[
|
|
603
|
-
"
|
|
713
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
604
714
|
]
|
|
605
715
|
] = Field(alias="billableFeatures", default=None)
|
|
606
716
|
addons: Optional[
|
|
607
717
|
List[
|
|
608
|
-
"
|
|
718
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
609
719
|
]
|
|
610
720
|
] = Field(default=None)
|
|
611
721
|
price_overrides: Optional[
|
|
612
722
|
List[
|
|
613
|
-
"
|
|
723
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
614
724
|
]
|
|
615
725
|
] = Field(alias="priceOverrides", default=None)
|
|
616
726
|
|
|
617
727
|
|
|
618
|
-
class
|
|
728
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
619
729
|
BaseModel
|
|
620
730
|
):
|
|
621
731
|
feature_id: str = Field(alias="featureId")
|
|
622
732
|
quantity: float
|
|
623
733
|
|
|
624
734
|
|
|
625
|
-
class
|
|
735
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
626
736
|
BaseModel
|
|
627
737
|
):
|
|
628
738
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
629
739
|
quantity: float
|
|
630
740
|
|
|
631
741
|
|
|
632
|
-
class
|
|
742
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
633
743
|
BaseModel
|
|
634
744
|
):
|
|
635
745
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -637,39 +747,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
637
747
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
638
748
|
|
|
639
749
|
|
|
640
|
-
class
|
|
750
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
641
751
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
642
752
|
plan_ref_id: str = Field(alias="planRefId")
|
|
643
753
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
644
754
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
645
755
|
billable_features: Optional[
|
|
646
756
|
List[
|
|
647
|
-
"
|
|
757
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
648
758
|
]
|
|
649
759
|
] = Field(alias="billableFeatures", default=None)
|
|
650
760
|
addons: Optional[
|
|
651
|
-
List[
|
|
761
|
+
List[
|
|
762
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
763
|
+
]
|
|
652
764
|
] = Field(default=None)
|
|
653
765
|
price_overrides: Optional[
|
|
654
766
|
List[
|
|
655
|
-
"
|
|
767
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
656
768
|
]
|
|
657
769
|
] = Field(alias="priceOverrides", default=None)
|
|
658
770
|
|
|
659
771
|
|
|
660
|
-
class
|
|
772
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
661
773
|
BaseModel
|
|
662
774
|
):
|
|
663
775
|
feature_id: str = Field(alias="featureId")
|
|
664
776
|
quantity: float
|
|
665
777
|
|
|
666
778
|
|
|
667
|
-
class
|
|
779
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
780
|
+
BaseModel
|
|
781
|
+
):
|
|
668
782
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
669
783
|
quantity: float
|
|
670
784
|
|
|
671
785
|
|
|
672
|
-
class
|
|
786
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
673
787
|
BaseModel
|
|
674
788
|
):
|
|
675
789
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -677,7 +791,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
677
791
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
678
792
|
|
|
679
793
|
|
|
680
|
-
class
|
|
794
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
681
795
|
BaseModel
|
|
682
796
|
):
|
|
683
797
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -685,43 +799,14 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
685
799
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
686
800
|
|
|
687
801
|
|
|
688
|
-
class
|
|
802
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
803
|
+
BaseModel
|
|
804
|
+
):
|
|
689
805
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
690
806
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
691
807
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
692
808
|
|
|
693
809
|
|
|
694
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
695
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
699
|
-
billing_id: str = Field(alias="billingId")
|
|
700
|
-
status: SubscriptionInvoiceStatus
|
|
701
|
-
created_at: Any = Field(alias="createdAt")
|
|
702
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
703
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
704
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
705
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
706
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
707
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
708
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
709
|
-
alias="billingReason", default=None
|
|
710
|
-
)
|
|
711
|
-
currency: Optional[str] = Field(default=None)
|
|
712
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
713
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
714
|
-
alias="subTotalExcludingTax", default=None
|
|
715
|
-
)
|
|
716
|
-
total: Optional[float] = Field(default=None)
|
|
717
|
-
total_excluding_tax: Optional[float] = Field(
|
|
718
|
-
alias="totalExcludingTax", default=None
|
|
719
|
-
)
|
|
720
|
-
tax: Optional[float] = Field(default=None)
|
|
721
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
722
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
723
|
-
|
|
724
|
-
|
|
725
810
|
class SubscriptionFragment(BaseModel):
|
|
726
811
|
id: Any
|
|
727
812
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -831,91 +916,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
831
916
|
pass
|
|
832
917
|
|
|
833
918
|
|
|
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
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
class EntitlementFragment(BaseModel):
|
|
856
|
-
typename__: str = Field(alias="__typename")
|
|
857
|
-
is_granted: bool = Field(alias="isGranted")
|
|
858
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
859
|
-
alias="accessDeniedReason", default=None
|
|
860
|
-
)
|
|
861
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
862
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
863
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
864
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
865
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
866
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
867
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
868
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
869
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
870
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
871
|
-
alias="entitlementUpdatedAt", default=None
|
|
872
|
-
)
|
|
873
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
874
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
875
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
876
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
877
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
878
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
879
|
-
alias="resetPeriod", default=None
|
|
880
|
-
)
|
|
881
|
-
reset_period_configuration: Optional[
|
|
882
|
-
Annotated[
|
|
883
|
-
Union[
|
|
884
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
885
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
886
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
887
|
-
],
|
|
888
|
-
Field(discriminator="typename__"),
|
|
889
|
-
]
|
|
890
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
891
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
895
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
896
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
897
|
-
alias="monthlyAccordingTo", default=None
|
|
898
|
-
)
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
902
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
903
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
904
|
-
alias="weeklyAccordingTo", default=None
|
|
905
|
-
)
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
909
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
910
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
911
|
-
alias="yearlyAccordingTo", default=None
|
|
912
|
-
)
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
916
|
-
pass
|
|
917
|
-
|
|
918
|
-
|
|
919
919
|
class ApplySubscriptionFragment(BaseModel):
|
|
920
920
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
921
921
|
default=None
|
|
@@ -993,6 +993,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
993
993
|
)
|
|
994
994
|
|
|
995
995
|
|
|
996
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
997
|
+
status: PromotionalEntitlementStatus
|
|
998
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
999
|
+
feature_id: Any = Field(alias="featureId")
|
|
1000
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1001
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1002
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1003
|
+
alias="resetPeriod", default=None
|
|
1004
|
+
)
|
|
1005
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1006
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1007
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1011
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1012
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1013
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1014
|
+
feature_units_plural: Optional[str] = Field(
|
|
1015
|
+
alias="featureUnitsPlural", default=None
|
|
1016
|
+
)
|
|
1017
|
+
display_name: str = Field(alias="displayName")
|
|
1018
|
+
description: Optional[str] = Field(default=None)
|
|
1019
|
+
ref_id: str = Field(alias="refId")
|
|
1020
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1021
|
+
alias="additionalMetaData", default=None
|
|
1022
|
+
)
|
|
1023
|
+
|
|
1024
|
+
|
|
996
1025
|
class CouponFragment(BaseModel):
|
|
997
1026
|
id: Any
|
|
998
1027
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1027,35 +1056,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1027
1056
|
status: SyncStatus
|
|
1028
1057
|
|
|
1029
1058
|
|
|
1030
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1031
|
-
status: PromotionalEntitlementStatus
|
|
1032
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1033
|
-
feature_id: Any = Field(alias="featureId")
|
|
1034
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1035
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1036
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1037
|
-
alias="resetPeriod", default=None
|
|
1038
|
-
)
|
|
1039
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1040
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1041
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1045
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1046
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1047
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1048
|
-
feature_units_plural: Optional[str] = Field(
|
|
1049
|
-
alias="featureUnitsPlural", default=None
|
|
1050
|
-
)
|
|
1051
|
-
display_name: str = Field(alias="displayName")
|
|
1052
|
-
description: Optional[str] = Field(default=None)
|
|
1053
|
-
ref_id: str = Field(alias="refId")
|
|
1054
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1055
|
-
alias="additionalMetaData", default=None
|
|
1056
|
-
)
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
1059
|
class CustomerFragment(SlimCustomerFragment):
|
|
1060
1060
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1061
1061
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1262,16 +1262,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1262
1262
|
pass
|
|
1263
1263
|
|
|
1264
1264
|
|
|
1265
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1266
|
-
display_name: str = Field(alias="displayName")
|
|
1267
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1268
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1269
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1270
|
-
period: PromotionalEntitlementPeriod
|
|
1271
|
-
start_date: Any = Field(alias="startDate")
|
|
1272
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
1265
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1276
1266
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1277
1267
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1571,6 +1561,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1571
1561
|
pass
|
|
1572
1562
|
|
|
1573
1563
|
|
|
1564
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1565
|
+
display_name: str = Field(alias="displayName")
|
|
1566
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1567
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1568
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1569
|
+
period: PromotionalEntitlementPeriod
|
|
1570
|
+
start_date: Any = Field(alias="startDate")
|
|
1571
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1572
|
+
|
|
1573
|
+
|
|
1574
1574
|
class CustomerPortalFragment(BaseModel):
|
|
1575
1575
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1576
1576
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2840,38 +2840,38 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2840
2840
|
AddonDependencyFragment.model_rebuild()
|
|
2841
2841
|
PriceTierFragment.model_rebuild()
|
|
2842
2842
|
OveragePriceFragment.model_rebuild()
|
|
2843
|
-
PriceFragment.model_rebuild()
|
|
2844
2843
|
PackageEntitlementFragment.model_rebuild()
|
|
2844
|
+
PriceFragment.model_rebuild()
|
|
2845
2845
|
AddonFragment.model_rebuild()
|
|
2846
|
-
|
|
2847
|
-
|
|
2846
|
+
FeatureFragment.model_rebuild()
|
|
2847
|
+
EntitlementFragment.model_rebuild()
|
|
2848
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2849
|
+
CustomerResourceFragment.model_rebuild()
|
|
2848
2850
|
ProductFragment.model_rebuild()
|
|
2849
2851
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2850
2852
|
PlanFragment.model_rebuild()
|
|
2851
|
-
|
|
2853
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2852
2854
|
TotalPriceFragment.model_rebuild()
|
|
2855
|
+
SlimCustomerFragment.model_rebuild()
|
|
2853
2856
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2854
|
-
|
|
2855
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2857
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2856
2858
|
SubscriptionFragment.model_rebuild()
|
|
2857
|
-
FeatureFragment.model_rebuild()
|
|
2858
|
-
EntitlementFragment.model_rebuild()
|
|
2859
2859
|
ApplySubscriptionFragment.model_rebuild()
|
|
2860
2860
|
FontVariantFragment.model_rebuild()
|
|
2861
2861
|
TypographyConfigurationFragment.model_rebuild()
|
|
2862
2862
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2863
|
-
CouponFragment.model_rebuild()
|
|
2864
2863
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2864
|
+
CouponFragment.model_rebuild()
|
|
2865
2865
|
CustomerFragment.model_rebuild()
|
|
2866
2866
|
CheckoutStateFragment.model_rebuild()
|
|
2867
2867
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2868
2868
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2869
2869
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2870
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2871
2870
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2872
2871
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2873
2872
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2874
2873
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2874
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2875
2875
|
CustomerPortalFragment.model_rebuild()
|
|
2876
2876
|
CustomerStatisticsFragment.model_rebuild()
|
|
2877
2877
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=FIRvvpLkBu44ce1V4CJtQ1XFIsWX_tqk2Qh46MPpWIM,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=p5Fx_PhQvsCc3ljHmaAVdWpH2zWZ6iwr4jZM63NsGto,36396
|
|
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=rWzDpWyH9fJeQdbzLFU4IYjx3PQDc_ArghF6RvJIZsI,103692
|
|
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
|
|
@@ -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.481.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-2.481.0.dist-info/METADATA,sha256=D-kMoTj_pLU1iPcF-6KFmh-YdS2LpjMrA5mQ9H4aa9Y,2258
|
|
166
|
+
stigg_api_client_v2-2.481.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-2.481.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|