stigg-api-client-v2 3.116.0__py3-none-any.whl → 3.120.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/fragments.py +309 -309
- {stigg_api_client_v2-3.116.0.dist-info → stigg_api_client_v2-3.120.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.116.0.dist-info → stigg_api_client_v2-3.120.0.dist-info}/RECORD +5 -5
- {stigg_api_client_v2-3.116.0.dist-info → stigg_api_client_v2-3.120.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.116.0.dist-info → stigg_api_client_v2-3.120.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -62,58 +62,6 @@ class AddonDependencyFragment(BaseModel):
|
|
|
62
62
|
description: Optional[str] = Field(default=None)
|
|
63
63
|
|
|
64
64
|
|
|
65
|
-
class PriceTierFragment(BaseModel):
|
|
66
|
-
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
67
|
-
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
68
|
-
alias="unitPrice", default=None
|
|
69
|
-
)
|
|
70
|
-
flat_price: Optional["PriceTierFragmentFlatPrice"] = Field(
|
|
71
|
-
alias="flatPrice", default=None
|
|
72
|
-
)
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
class PriceTierFragmentUnitPrice(BaseModel):
|
|
76
|
-
amount: float
|
|
77
|
-
currency: Currency
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
class PriceTierFragmentFlatPrice(BaseModel):
|
|
81
|
-
amount: float
|
|
82
|
-
currency: Currency
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
class OveragePriceFragment(BaseModel):
|
|
86
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
87
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
88
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
89
|
-
billing_country_code: Optional[str] = Field(
|
|
90
|
-
alias="billingCountryCode", default=None
|
|
91
|
-
)
|
|
92
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
93
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
94
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
95
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
99
|
-
amount: float
|
|
100
|
-
currency: Currency
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
104
|
-
pass
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
108
|
-
ref_id: str = Field(alias="refId")
|
|
109
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
110
|
-
feature_units_plural: Optional[str] = Field(
|
|
111
|
-
alias="featureUnitsPlural", default=None
|
|
112
|
-
)
|
|
113
|
-
display_name: str = Field(alias="displayName")
|
|
114
|
-
description: Optional[str] = Field(default=None)
|
|
115
|
-
|
|
116
|
-
|
|
117
65
|
class PackageEntitlementFragment(BaseModel):
|
|
118
66
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
119
67
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -149,6 +97,26 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
149
97
|
)
|
|
150
98
|
|
|
151
99
|
|
|
100
|
+
class PriceTierFragment(BaseModel):
|
|
101
|
+
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
102
|
+
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
103
|
+
alias="unitPrice", default=None
|
|
104
|
+
)
|
|
105
|
+
flat_price: Optional["PriceTierFragmentFlatPrice"] = Field(
|
|
106
|
+
alias="flatPrice", default=None
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
class PriceTierFragmentUnitPrice(BaseModel):
|
|
111
|
+
amount: float
|
|
112
|
+
currency: Currency
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
class PriceTierFragmentFlatPrice(BaseModel):
|
|
116
|
+
amount: float
|
|
117
|
+
currency: Currency
|
|
118
|
+
|
|
119
|
+
|
|
152
120
|
class PriceFragment(BaseModel):
|
|
153
121
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
154
122
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -194,6 +162,38 @@ class PriceFragmentFeature(BaseModel):
|
|
|
194
162
|
description: Optional[str] = Field(default=None)
|
|
195
163
|
|
|
196
164
|
|
|
165
|
+
class OveragePriceFragment(BaseModel):
|
|
166
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
167
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
168
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
169
|
+
billing_country_code: Optional[str] = Field(
|
|
170
|
+
alias="billingCountryCode", default=None
|
|
171
|
+
)
|
|
172
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
173
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
174
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
175
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
179
|
+
amount: float
|
|
180
|
+
currency: Currency
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
184
|
+
pass
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
188
|
+
ref_id: str = Field(alias="refId")
|
|
189
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
190
|
+
feature_units_plural: Optional[str] = Field(
|
|
191
|
+
alias="featureUnitsPlural", default=None
|
|
192
|
+
)
|
|
193
|
+
display_name: str = Field(alias="displayName")
|
|
194
|
+
description: Optional[str] = Field(default=None)
|
|
195
|
+
|
|
196
|
+
|
|
197
197
|
class AddonFragment(BaseModel):
|
|
198
198
|
id: Any
|
|
199
199
|
ref_id: str = Field(alias="refId")
|
|
@@ -232,62 +232,45 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
232
232
|
pass
|
|
233
233
|
|
|
234
234
|
|
|
235
|
-
class
|
|
236
|
-
id: Any
|
|
237
|
-
name: Optional[str] = Field(default=None)
|
|
238
|
-
email: Optional[str] = Field(default=None)
|
|
239
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
240
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
241
|
-
ref_id: str = Field(alias="refId")
|
|
242
|
-
customer_id: str = Field(alias="customerId")
|
|
243
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
244
|
-
additional_meta_data: Optional[Any] = Field(
|
|
245
|
-
alias="additionalMetaData", default=None
|
|
246
|
-
)
|
|
247
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
248
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
249
|
-
)
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
class SubscriptionFutureUpdateData(BaseModel):
|
|
235
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
253
236
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
254
237
|
alias="subscriptionScheduleType"
|
|
255
238
|
)
|
|
256
239
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
257
240
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
258
|
-
target_package: Optional["
|
|
241
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
259
242
|
alias="targetPackage", default=None
|
|
260
243
|
)
|
|
261
244
|
schedule_variables: Optional[
|
|
262
245
|
Annotated[
|
|
263
246
|
Union[
|
|
264
|
-
"
|
|
265
|
-
"
|
|
266
|
-
"
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
"
|
|
270
|
-
"
|
|
271
|
-
"
|
|
247
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
248
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
249
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
250
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
251
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
252
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
253
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
254
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
272
255
|
],
|
|
273
256
|
Field(discriminator="typename__"),
|
|
274
257
|
]
|
|
275
258
|
] = Field(alias="scheduleVariables", default=None)
|
|
276
259
|
|
|
277
260
|
|
|
278
|
-
class
|
|
261
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
279
262
|
id: Any
|
|
280
263
|
ref_id: str = Field(alias="refId")
|
|
281
264
|
display_name: str = Field(alias="displayName")
|
|
282
265
|
|
|
283
266
|
|
|
284
|
-
class
|
|
267
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
285
268
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
286
269
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
287
270
|
new_quantity: float = Field(alias="newQuantity")
|
|
288
271
|
|
|
289
272
|
|
|
290
|
-
class
|
|
273
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
291
274
|
BaseModel
|
|
292
275
|
):
|
|
293
276
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -295,53 +278,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
295
278
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
296
279
|
|
|
297
280
|
|
|
298
|
-
class
|
|
281
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
299
282
|
BaseModel
|
|
300
283
|
):
|
|
301
284
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
302
285
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
303
286
|
|
|
304
287
|
|
|
305
|
-
class
|
|
288
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
306
289
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
307
290
|
|
|
308
291
|
|
|
309
|
-
class
|
|
292
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
293
|
+
BaseModel
|
|
294
|
+
):
|
|
310
295
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
311
296
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
312
297
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
313
298
|
billable_features: Optional[
|
|
314
299
|
List[
|
|
315
|
-
"
|
|
300
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
316
301
|
]
|
|
317
302
|
] = Field(alias="billableFeatures", default=None)
|
|
318
303
|
addons: Optional[
|
|
319
304
|
List[
|
|
320
|
-
"
|
|
305
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
321
306
|
]
|
|
322
307
|
] = Field(default=None)
|
|
323
308
|
price_overrides: Optional[
|
|
324
309
|
List[
|
|
325
|
-
"
|
|
310
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
326
311
|
]
|
|
327
312
|
] = Field(alias="priceOverrides", default=None)
|
|
328
313
|
|
|
329
314
|
|
|
330
|
-
class
|
|
315
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
331
316
|
BaseModel
|
|
332
317
|
):
|
|
333
318
|
feature_id: str = Field(alias="featureId")
|
|
334
319
|
quantity: float
|
|
335
320
|
|
|
336
321
|
|
|
337
|
-
class
|
|
322
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
338
323
|
BaseModel
|
|
339
324
|
):
|
|
340
325
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
341
326
|
quantity: float
|
|
342
327
|
|
|
343
328
|
|
|
344
|
-
class
|
|
329
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
345
330
|
BaseModel
|
|
346
331
|
):
|
|
347
332
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -349,39 +334,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
349
334
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
350
335
|
|
|
351
336
|
|
|
352
|
-
class
|
|
337
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
353
338
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
354
339
|
plan_ref_id: str = Field(alias="planRefId")
|
|
355
340
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
356
341
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
357
342
|
billable_features: Optional[
|
|
358
343
|
List[
|
|
359
|
-
"
|
|
344
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
360
345
|
]
|
|
361
346
|
] = Field(alias="billableFeatures", default=None)
|
|
362
347
|
addons: Optional[
|
|
363
|
-
List[
|
|
348
|
+
List[
|
|
349
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
350
|
+
]
|
|
364
351
|
] = Field(default=None)
|
|
365
352
|
price_overrides: Optional[
|
|
366
353
|
List[
|
|
367
|
-
"
|
|
354
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
368
355
|
]
|
|
369
356
|
] = Field(alias="priceOverrides", default=None)
|
|
370
357
|
|
|
371
358
|
|
|
372
|
-
class
|
|
359
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
373
360
|
BaseModel
|
|
374
361
|
):
|
|
375
362
|
feature_id: str = Field(alias="featureId")
|
|
376
363
|
quantity: float
|
|
377
364
|
|
|
378
365
|
|
|
379
|
-
class
|
|
366
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
367
|
+
BaseModel
|
|
368
|
+
):
|
|
380
369
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
381
370
|
quantity: float
|
|
382
371
|
|
|
383
372
|
|
|
384
|
-
class
|
|
373
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
385
374
|
BaseModel
|
|
386
375
|
):
|
|
387
376
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -389,7 +378,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
389
378
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
390
379
|
|
|
391
380
|
|
|
392
|
-
class
|
|
381
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
393
382
|
BaseModel
|
|
394
383
|
):
|
|
395
384
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -397,51 +386,104 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
397
386
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
398
387
|
|
|
399
388
|
|
|
400
|
-
class
|
|
389
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
390
|
+
BaseModel
|
|
391
|
+
):
|
|
401
392
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
402
393
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
403
394
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
404
395
|
|
|
405
396
|
|
|
406
|
-
class
|
|
397
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
398
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
class CustomerResourceFragment(BaseModel):
|
|
402
|
+
resource_id: str = Field(alias="resourceId")
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
406
|
+
billing_id: str = Field(alias="billingId")
|
|
407
|
+
status: SubscriptionInvoiceStatus
|
|
408
|
+
created_at: Any = Field(alias="createdAt")
|
|
409
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
410
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
411
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
412
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
413
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
414
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
415
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
416
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
417
|
+
alias="billingReason", default=None
|
|
418
|
+
)
|
|
419
|
+
currency: Optional[str] = Field(default=None)
|
|
420
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
421
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
422
|
+
alias="subTotalExcludingTax", default=None
|
|
423
|
+
)
|
|
424
|
+
total: Optional[float] = Field(default=None)
|
|
425
|
+
total_excluding_tax: Optional[float] = Field(
|
|
426
|
+
alias="totalExcludingTax", default=None
|
|
427
|
+
)
|
|
428
|
+
tax: Optional[float] = Field(default=None)
|
|
429
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
430
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
431
|
+
|
|
432
|
+
|
|
433
|
+
class TotalPriceFragment(BaseModel):
|
|
434
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
435
|
+
total: "TotalPriceFragmentTotal"
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
439
|
+
amount: float
|
|
440
|
+
currency: Currency
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
444
|
+
amount: float
|
|
445
|
+
currency: Currency
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
407
449
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
408
450
|
alias="subscriptionScheduleType"
|
|
409
451
|
)
|
|
410
452
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
411
453
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
412
|
-
target_package: Optional["
|
|
454
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
413
455
|
alias="targetPackage", default=None
|
|
414
456
|
)
|
|
415
457
|
schedule_variables: Optional[
|
|
416
458
|
Annotated[
|
|
417
459
|
Union[
|
|
418
|
-
"
|
|
419
|
-
"
|
|
420
|
-
"
|
|
421
|
-
"
|
|
422
|
-
"
|
|
423
|
-
"
|
|
424
|
-
"
|
|
425
|
-
"
|
|
460
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
461
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
462
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
463
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
464
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
465
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
466
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
467
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
426
468
|
],
|
|
427
469
|
Field(discriminator="typename__"),
|
|
428
470
|
]
|
|
429
471
|
] = Field(alias="scheduleVariables", default=None)
|
|
430
472
|
|
|
431
473
|
|
|
432
|
-
class
|
|
474
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
433
475
|
id: Any
|
|
434
476
|
ref_id: str = Field(alias="refId")
|
|
435
477
|
display_name: str = Field(alias="displayName")
|
|
436
478
|
|
|
437
479
|
|
|
438
|
-
class
|
|
480
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
439
481
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
440
482
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
441
483
|
new_quantity: float = Field(alias="newQuantity")
|
|
442
484
|
|
|
443
485
|
|
|
444
|
-
class
|
|
486
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
445
487
|
BaseModel
|
|
446
488
|
):
|
|
447
489
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -449,55 +491,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
449
491
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
450
492
|
|
|
451
493
|
|
|
452
|
-
class
|
|
494
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
453
495
|
BaseModel
|
|
454
496
|
):
|
|
455
497
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
456
498
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
457
499
|
|
|
458
500
|
|
|
459
|
-
class
|
|
501
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
460
502
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
461
503
|
|
|
462
504
|
|
|
463
|
-
class
|
|
464
|
-
BaseModel
|
|
465
|
-
):
|
|
505
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
466
506
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
467
507
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
468
508
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
469
509
|
billable_features: Optional[
|
|
470
510
|
List[
|
|
471
|
-
"
|
|
511
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
472
512
|
]
|
|
473
513
|
] = Field(alias="billableFeatures", default=None)
|
|
474
514
|
addons: Optional[
|
|
475
515
|
List[
|
|
476
|
-
"
|
|
516
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
477
517
|
]
|
|
478
518
|
] = Field(default=None)
|
|
479
519
|
price_overrides: Optional[
|
|
480
520
|
List[
|
|
481
|
-
"
|
|
521
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
482
522
|
]
|
|
483
523
|
] = Field(alias="priceOverrides", default=None)
|
|
484
524
|
|
|
485
525
|
|
|
486
|
-
class
|
|
526
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
487
527
|
BaseModel
|
|
488
528
|
):
|
|
489
529
|
feature_id: str = Field(alias="featureId")
|
|
490
530
|
quantity: float
|
|
491
531
|
|
|
492
532
|
|
|
493
|
-
class
|
|
533
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
494
534
|
BaseModel
|
|
495
535
|
):
|
|
496
536
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
497
537
|
quantity: float
|
|
498
538
|
|
|
499
539
|
|
|
500
|
-
class
|
|
540
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
501
541
|
BaseModel
|
|
502
542
|
):
|
|
503
543
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -505,43 +545,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
505
545
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
506
546
|
|
|
507
547
|
|
|
508
|
-
class
|
|
548
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
509
549
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
510
550
|
plan_ref_id: str = Field(alias="planRefId")
|
|
511
551
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
512
552
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
513
553
|
billable_features: Optional[
|
|
514
554
|
List[
|
|
515
|
-
"
|
|
555
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
516
556
|
]
|
|
517
557
|
] = Field(alias="billableFeatures", default=None)
|
|
518
558
|
addons: Optional[
|
|
519
|
-
List[
|
|
520
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
521
|
-
]
|
|
559
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
522
560
|
] = Field(default=None)
|
|
523
561
|
price_overrides: Optional[
|
|
524
562
|
List[
|
|
525
|
-
"
|
|
563
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
526
564
|
]
|
|
527
565
|
] = Field(alias="priceOverrides", default=None)
|
|
528
566
|
|
|
529
567
|
|
|
530
|
-
class
|
|
568
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
531
569
|
BaseModel
|
|
532
570
|
):
|
|
533
571
|
feature_id: str = Field(alias="featureId")
|
|
534
572
|
quantity: float
|
|
535
573
|
|
|
536
574
|
|
|
537
|
-
class
|
|
538
|
-
BaseModel
|
|
539
|
-
):
|
|
575
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
540
576
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
541
577
|
quantity: float
|
|
542
578
|
|
|
543
579
|
|
|
544
|
-
class
|
|
580
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
545
581
|
BaseModel
|
|
546
582
|
):
|
|
547
583
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -549,70 +585,35 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
549
585
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
550
586
|
|
|
551
587
|
|
|
552
|
-
class
|
|
553
|
-
BaseModel
|
|
554
|
-
):
|
|
555
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
556
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
557
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
561
|
-
BaseModel
|
|
562
|
-
):
|
|
563
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
564
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
565
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
class CustomerResourceFragment(BaseModel):
|
|
569
|
-
resource_id: str = Field(alias="resourceId")
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
573
|
-
billing_id: str = Field(alias="billingId")
|
|
574
|
-
status: SubscriptionInvoiceStatus
|
|
575
|
-
created_at: Any = Field(alias="createdAt")
|
|
576
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
577
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
578
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
579
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
580
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
581
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
582
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
583
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
584
|
-
alias="billingReason", default=None
|
|
585
|
-
)
|
|
586
|
-
currency: Optional[str] = Field(default=None)
|
|
587
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
588
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
589
|
-
alias="subTotalExcludingTax", default=None
|
|
590
|
-
)
|
|
591
|
-
total: Optional[float] = Field(default=None)
|
|
592
|
-
total_excluding_tax: Optional[float] = Field(
|
|
593
|
-
alias="totalExcludingTax", default=None
|
|
594
|
-
)
|
|
595
|
-
tax: Optional[float] = Field(default=None)
|
|
596
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
597
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
601
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
602
|
-
display_name: str = Field(alias="displayName")
|
|
603
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
604
|
-
default=None
|
|
605
|
-
)
|
|
606
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
588
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
589
|
+
BaseModel
|
|
590
|
+
):
|
|
591
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
592
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
593
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
607
594
|
|
|
608
595
|
|
|
609
|
-
class
|
|
610
|
-
|
|
596
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
597
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
598
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
599
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
611
600
|
|
|
612
601
|
|
|
613
|
-
class
|
|
614
|
-
|
|
615
|
-
|
|
602
|
+
class SlimCustomerFragment(BaseModel):
|
|
603
|
+
id: Any
|
|
604
|
+
name: Optional[str] = Field(default=None)
|
|
605
|
+
email: Optional[str] = Field(default=None)
|
|
606
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
607
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
608
|
+
ref_id: str = Field(alias="refId")
|
|
609
|
+
customer_id: str = Field(alias="customerId")
|
|
610
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
611
|
+
additional_meta_data: Optional[Any] = Field(
|
|
612
|
+
alias="additionalMetaData", default=None
|
|
613
|
+
)
|
|
614
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
615
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
616
|
+
)
|
|
616
617
|
|
|
617
618
|
|
|
618
619
|
class ProductFragment(BaseModel):
|
|
@@ -636,6 +637,24 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
636
637
|
display_name: str = Field(alias="displayName")
|
|
637
638
|
|
|
638
639
|
|
|
640
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
641
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
642
|
+
display_name: str = Field(alias="displayName")
|
|
643
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
644
|
+
default=None
|
|
645
|
+
)
|
|
646
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
650
|
+
pass
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
654
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
655
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
656
|
+
|
|
657
|
+
|
|
639
658
|
class PlanFragment(BaseModel):
|
|
640
659
|
id: Any
|
|
641
660
|
ref_id: str = Field(alias="refId")
|
|
@@ -717,25 +736,6 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
717
736
|
limit: float
|
|
718
737
|
|
|
719
738
|
|
|
720
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
721
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
class TotalPriceFragment(BaseModel):
|
|
725
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
726
|
-
total: "TotalPriceFragmentTotal"
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
730
|
-
amount: float
|
|
731
|
-
currency: Currency
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
735
|
-
amount: float
|
|
736
|
-
currency: Currency
|
|
737
|
-
|
|
738
|
-
|
|
739
739
|
class SubscriptionFragment(BaseModel):
|
|
740
740
|
id: Any
|
|
741
741
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -1137,16 +1137,16 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1137
1137
|
pass
|
|
1138
1138
|
|
|
1139
1139
|
|
|
1140
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1141
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
1140
|
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1145
1141
|
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1146
1142
|
setup_secret: str = Field(alias="setupSecret")
|
|
1147
1143
|
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1148
1144
|
|
|
1149
1145
|
|
|
1146
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1147
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
1150
|
class CheckoutStateFragment(BaseModel):
|
|
1151
1151
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1152
1152
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1435,51 +1435,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1435
1435
|
pass
|
|
1436
1436
|
|
|
1437
1437
|
|
|
1438
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1439
|
-
display_name: str = Field(alias="displayName")
|
|
1440
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1441
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1442
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1443
|
-
period: PromotionalEntitlementPeriod
|
|
1444
|
-
start_date: Any = Field(alias="startDate")
|
|
1445
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1449
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1450
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1451
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1452
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1453
|
-
default=None
|
|
1454
|
-
)
|
|
1455
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1456
|
-
alias="creditRate", default=None
|
|
1457
|
-
)
|
|
1458
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1459
|
-
default=None
|
|
1460
|
-
)
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1464
|
-
amount: float
|
|
1465
|
-
currency: Currency
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1469
|
-
amount: float
|
|
1470
|
-
currency_id: str = Field(alias="currencyId")
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1474
|
-
id: Any
|
|
1475
|
-
ref_id: str = Field(alias="refId")
|
|
1476
|
-
display_name: str = Field(alias="displayName")
|
|
1477
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1478
|
-
feature_units_plural: Optional[str] = Field(
|
|
1479
|
-
alias="featureUnitsPlural", default=None
|
|
1480
|
-
)
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
1438
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1484
1439
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1485
1440
|
alias="subscriptionScheduleType"
|
|
@@ -1649,6 +1604,41 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1649
1604
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1650
1605
|
|
|
1651
1606
|
|
|
1607
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1608
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1609
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1610
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1611
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1612
|
+
default=None
|
|
1613
|
+
)
|
|
1614
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1615
|
+
alias="creditRate", default=None
|
|
1616
|
+
)
|
|
1617
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1618
|
+
default=None
|
|
1619
|
+
)
|
|
1620
|
+
|
|
1621
|
+
|
|
1622
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1623
|
+
amount: float
|
|
1624
|
+
currency: Currency
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1628
|
+
amount: float
|
|
1629
|
+
currency_id: str = Field(alias="currencyId")
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1633
|
+
id: Any
|
|
1634
|
+
ref_id: str = Field(alias="refId")
|
|
1635
|
+
display_name: str = Field(alias="displayName")
|
|
1636
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1637
|
+
feature_units_plural: Optional[str] = Field(
|
|
1638
|
+
alias="featureUnitsPlural", default=None
|
|
1639
|
+
)
|
|
1640
|
+
|
|
1641
|
+
|
|
1652
1642
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1653
1643
|
addon_id: str = Field(alias="addonId")
|
|
1654
1644
|
description: Optional[str] = Field(default=None)
|
|
@@ -1760,6 +1750,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1760
1750
|
pass
|
|
1761
1751
|
|
|
1762
1752
|
|
|
1753
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1754
|
+
display_name: str = Field(alias="displayName")
|
|
1755
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1756
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1757
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1758
|
+
period: PromotionalEntitlementPeriod
|
|
1759
|
+
start_date: Any = Field(alias="startDate")
|
|
1760
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
1763
|
class CustomerPortalFragment(BaseModel):
|
|
1764
1764
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1765
1765
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1987,6 +1987,41 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1987
1987
|
description: Optional[str] = Field(default=None)
|
|
1988
1988
|
|
|
1989
1989
|
|
|
1990
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1991
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1992
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1993
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1994
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1995
|
+
alias="resetPeriod", default=None
|
|
1996
|
+
)
|
|
1997
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1998
|
+
alias="hiddenFromWidgets", default=None
|
|
1999
|
+
)
|
|
2000
|
+
display_name_override: Optional[str] = Field(
|
|
2001
|
+
alias="displayNameOverride", default=None
|
|
2002
|
+
)
|
|
2003
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
2004
|
+
is_granted: bool = Field(alias="isGranted")
|
|
2005
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
2006
|
+
default=None
|
|
2007
|
+
)
|
|
2008
|
+
|
|
2009
|
+
|
|
2010
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
2011
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
2012
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
2013
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
2014
|
+
feature_units_plural: Optional[str] = Field(
|
|
2015
|
+
alias="featureUnitsPlural", default=None
|
|
2016
|
+
)
|
|
2017
|
+
display_name: str = Field(alias="displayName")
|
|
2018
|
+
description: Optional[str] = Field(default=None)
|
|
2019
|
+
ref_id: str = Field(alias="refId")
|
|
2020
|
+
additional_meta_data: Optional[Any] = Field(
|
|
2021
|
+
alias="additionalMetaData", default=None
|
|
2022
|
+
)
|
|
2023
|
+
|
|
2024
|
+
|
|
1990
2025
|
class MockPaywallPriceFragment(BaseModel):
|
|
1991
2026
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1992
2027
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -2029,41 +2064,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
2029
2064
|
display_name: str = Field(alias="displayName")
|
|
2030
2065
|
|
|
2031
2066
|
|
|
2032
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
2033
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
2034
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
2035
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
2036
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
2037
|
-
alias="resetPeriod", default=None
|
|
2038
|
-
)
|
|
2039
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
2040
|
-
alias="hiddenFromWidgets", default=None
|
|
2041
|
-
)
|
|
2042
|
-
display_name_override: Optional[str] = Field(
|
|
2043
|
-
alias="displayNameOverride", default=None
|
|
2044
|
-
)
|
|
2045
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
2046
|
-
is_granted: bool = Field(alias="isGranted")
|
|
2047
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
2048
|
-
default=None
|
|
2049
|
-
)
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
2053
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
2054
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
2055
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
2056
|
-
feature_units_plural: Optional[str] = Field(
|
|
2057
|
-
alias="featureUnitsPlural", default=None
|
|
2058
|
-
)
|
|
2059
|
-
display_name: str = Field(alias="displayName")
|
|
2060
|
-
description: Optional[str] = Field(default=None)
|
|
2061
|
-
ref_id: str = Field(alias="refId")
|
|
2062
|
-
additional_meta_data: Optional[Any] = Field(
|
|
2063
|
-
alias="additionalMetaData", default=None
|
|
2064
|
-
)
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
2067
|
class MockPaywallAddonFragment(BaseModel):
|
|
2068
2068
|
ref_id: str = Field(alias="refId")
|
|
2069
2069
|
display_name: str = Field(alias="displayName")
|
|
@@ -3041,21 +3041,21 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
3041
3041
|
|
|
3042
3042
|
|
|
3043
3043
|
AddonDependencyFragment.model_rebuild()
|
|
3044
|
-
PriceTierFragment.model_rebuild()
|
|
3045
|
-
OveragePriceFragment.model_rebuild()
|
|
3046
3044
|
PackageEntitlementFragment.model_rebuild()
|
|
3045
|
+
PriceTierFragment.model_rebuild()
|
|
3047
3046
|
PriceFragment.model_rebuild()
|
|
3047
|
+
OveragePriceFragment.model_rebuild()
|
|
3048
3048
|
AddonFragment.model_rebuild()
|
|
3049
|
-
SlimCustomerFragment.model_rebuild()
|
|
3050
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
3051
3049
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3050
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3052
3051
|
CustomerResourceFragment.model_rebuild()
|
|
3053
3052
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
3054
|
-
|
|
3053
|
+
TotalPriceFragment.model_rebuild()
|
|
3054
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
3055
|
+
SlimCustomerFragment.model_rebuild()
|
|
3055
3056
|
ProductFragment.model_rebuild()
|
|
3057
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3056
3058
|
PlanFragment.model_rebuild()
|
|
3057
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3058
|
-
TotalPriceFragment.model_rebuild()
|
|
3059
3059
|
SubscriptionFragment.model_rebuild()
|
|
3060
3060
|
FeatureFragment.model_rebuild()
|
|
3061
3061
|
EntitlementFragment.model_rebuild()
|
|
@@ -3066,8 +3066,8 @@ CheckoutConfigurationFragment.model_rebuild()
|
|
|
3066
3066
|
PromotionalEntitlementFragment.model_rebuild()
|
|
3067
3067
|
CouponFragment.model_rebuild()
|
|
3068
3068
|
CustomerFragment.model_rebuild()
|
|
3069
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3070
3069
|
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3070
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3071
3071
|
CheckoutStateFragment.model_rebuild()
|
|
3072
3072
|
CreditBalanceFragment.model_rebuild()
|
|
3073
3073
|
CreditBalanceUpdatedPayload.model_rebuild()
|
|
@@ -3079,11 +3079,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
3079
3079
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
3080
3080
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3081
3081
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3082
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3083
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3084
3082
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3083
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3085
3084
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3086
3085
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3086
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3087
3087
|
CustomerPortalFragment.model_rebuild()
|
|
3088
3088
|
CustomerStatisticsFragment.model_rebuild()
|
|
3089
3089
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -3093,8 +3093,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
3093
3093
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
3094
3094
|
LayoutConfigurationFragment.model_rebuild()
|
|
3095
3095
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
3096
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
3097
3096
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
3097
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
3098
3098
|
MockPaywallAddonFragment.model_rebuild()
|
|
3099
3099
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3100
3100
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -124,7 +124,7 @@ stigg/generated/enums.py,sha256=gWRs74VaRAI_BMFxwmFZJPpe-tQMI_N5X9pDx_LcW7Q,4006
|
|
|
124
124
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
125
125
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
126
126
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
127
|
-
stigg/generated/fragments.py,sha256=
|
|
127
|
+
stigg/generated/fragments.py,sha256=vHuWH7EWxQo9PiQ1pFWoFE7U2Ic1So62dzHXHDkUo5Y,111377
|
|
128
128
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
129
129
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
130
130
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -172,7 +172,7 @@ stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0L
|
|
|
172
172
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
173
173
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
174
174
|
stigg/generated/void_credit_grant.py,sha256=uQ22Xb2vwMOJfqh48GU2fhZ6Dcv9nHNIx_UJpjmJSBU,410
|
|
175
|
-
stigg_api_client_v2-3.
|
|
176
|
-
stigg_api_client_v2-3.
|
|
177
|
-
stigg_api_client_v2-3.
|
|
178
|
-
stigg_api_client_v2-3.
|
|
175
|
+
stigg_api_client_v2-3.120.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
176
|
+
stigg_api_client_v2-3.120.0.dist-info/METADATA,sha256=VtW7IoJJhys0-2-PChX9pSe-VFGSK7i9daGw7wOhhM8,2258
|
|
177
|
+
stigg_api_client_v2-3.120.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
178
|
+
stigg_api_client_v2-3.120.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|