stigg-api-client-v2 2.324.0__py3-none-any.whl → 2.327.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.
- stigg/generated/enums.py +3 -0
- stigg/generated/fragments.py +400 -400
- {stigg_api_client_v2-2.324.0.dist-info → stigg_api_client_v2-2.327.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.324.0.dist-info → stigg_api_client_v2-2.327.0.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-2.324.0.dist-info → stigg_api_client_v2-2.327.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.324.0.dist-info → stigg_api_client_v2-2.327.0.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -452,12 +452,15 @@ class ErrorCode(str, Enum):
|
|
|
452
452
|
ExperimentStatusError = "ExperimentStatusError"
|
|
453
453
|
FailedToCreateCheckoutSessionError = "FailedToCreateCheckoutSessionError"
|
|
454
454
|
FailedToImportCustomer = "FailedToImportCustomer"
|
|
455
|
+
FailedToImportSubscriptions = "FailedToImportSubscriptions"
|
|
455
456
|
FeatureNotFound = "FeatureNotFound"
|
|
456
457
|
FetchAllCountriesPricesNotAllowed = "FetchAllCountriesPricesNotAllowed"
|
|
457
458
|
FreePlanCantHaveCompatiblePackageGroupError = (
|
|
458
459
|
"FreePlanCantHaveCompatiblePackageGroupError"
|
|
459
460
|
)
|
|
460
461
|
GraphQLAliasesLimitExceeded = "GraphQLAliasesLimitExceeded"
|
|
462
|
+
GraphQLBatchedOperationsLimitExceeded = "GraphQLBatchedOperationsLimitExceeded"
|
|
463
|
+
GraphQLUnsupportedDirective = "GraphQLUnsupportedDirective"
|
|
461
464
|
HubspotIntegrationError = "HubspotIntegrationError"
|
|
462
465
|
IdentityForbidden = "IdentityForbidden"
|
|
463
466
|
ImportAlreadyInProgress = "ImportAlreadyInProgress"
|
stigg/generated/fragments.py
CHANGED
|
@@ -215,6 +215,318 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
215
215
|
pass
|
|
216
216
|
|
|
217
217
|
|
|
218
|
+
class FeatureFragment(BaseModel):
|
|
219
|
+
typename__: str = Field(alias="__typename")
|
|
220
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
221
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
222
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
223
|
+
feature_units_plural: Optional[str] = Field(
|
|
224
|
+
alias="featureUnitsPlural", default=None
|
|
225
|
+
)
|
|
226
|
+
description: Optional[str] = Field(default=None)
|
|
227
|
+
display_name: str = Field(alias="displayName")
|
|
228
|
+
ref_id: str = Field(alias="refId")
|
|
229
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
230
|
+
alias="unitTransformation", default=None
|
|
231
|
+
)
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
235
|
+
divide: float
|
|
236
|
+
round: UnitTransformationRound
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
class EntitlementFragment(BaseModel):
|
|
240
|
+
typename__: str = Field(alias="__typename")
|
|
241
|
+
is_granted: bool = Field(alias="isGranted")
|
|
242
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
243
|
+
alias="accessDeniedReason", default=None
|
|
244
|
+
)
|
|
245
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
246
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
247
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
248
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
249
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
250
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
251
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
252
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
253
|
+
alias="entitlementUpdatedAt", default=None
|
|
254
|
+
)
|
|
255
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
256
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
257
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
258
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
259
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
260
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
261
|
+
alias="resetPeriod", default=None
|
|
262
|
+
)
|
|
263
|
+
reset_period_configuration: Optional[
|
|
264
|
+
Annotated[
|
|
265
|
+
Union[
|
|
266
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
267
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
268
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
269
|
+
],
|
|
270
|
+
Field(discriminator="typename__"),
|
|
271
|
+
]
|
|
272
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
273
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
277
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
278
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
279
|
+
alias="monthlyAccordingTo", default=None
|
|
280
|
+
)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
284
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
285
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
286
|
+
alias="weeklyAccordingTo", default=None
|
|
287
|
+
)
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
291
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
292
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
293
|
+
alias="yearlyAccordingTo", default=None
|
|
294
|
+
)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
298
|
+
pass
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
class CustomerResourceFragment(BaseModel):
|
|
302
|
+
resource_id: str = Field(alias="resourceId")
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
class SlimCustomerFragment(BaseModel):
|
|
306
|
+
id: str
|
|
307
|
+
name: Optional[str] = Field(default=None)
|
|
308
|
+
email: Optional[str] = Field(default=None)
|
|
309
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
310
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
311
|
+
ref_id: str = Field(alias="refId")
|
|
312
|
+
customer_id: str = Field(alias="customerId")
|
|
313
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
314
|
+
additional_meta_data: Optional[Any] = Field(
|
|
315
|
+
alias="additionalMetaData", default=None
|
|
316
|
+
)
|
|
317
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
318
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
319
|
+
)
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
323
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
327
|
+
billing_id: str = Field(alias="billingId")
|
|
328
|
+
status: SubscriptionInvoiceStatus
|
|
329
|
+
created_at: Any = Field(alias="createdAt")
|
|
330
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
331
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
332
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
333
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
334
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
335
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
336
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
337
|
+
alias="billingReason", default=None
|
|
338
|
+
)
|
|
339
|
+
currency: Optional[str] = Field(default=None)
|
|
340
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
341
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
342
|
+
alias="subTotalExcludingTax", default=None
|
|
343
|
+
)
|
|
344
|
+
total: Optional[float] = Field(default=None)
|
|
345
|
+
total_excluding_tax: Optional[float] = Field(
|
|
346
|
+
alias="totalExcludingTax", default=None
|
|
347
|
+
)
|
|
348
|
+
tax: Optional[float] = Field(default=None)
|
|
349
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
350
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
class TotalPriceFragment(BaseModel):
|
|
354
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
355
|
+
total: "TotalPriceFragmentTotal"
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
359
|
+
amount: float
|
|
360
|
+
currency: Currency
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
364
|
+
amount: float
|
|
365
|
+
currency: Currency
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
369
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
370
|
+
alias="subscriptionScheduleType"
|
|
371
|
+
)
|
|
372
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
373
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
374
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
375
|
+
alias="targetPackage", default=None
|
|
376
|
+
)
|
|
377
|
+
schedule_variables: Optional[
|
|
378
|
+
Annotated[
|
|
379
|
+
Union[
|
|
380
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
381
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
382
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
383
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
384
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
385
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
386
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
387
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
388
|
+
],
|
|
389
|
+
Field(discriminator="typename__"),
|
|
390
|
+
]
|
|
391
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
395
|
+
id: str
|
|
396
|
+
ref_id: str = Field(alias="refId")
|
|
397
|
+
display_name: str = Field(alias="displayName")
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
401
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
402
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
403
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
407
|
+
BaseModel
|
|
408
|
+
):
|
|
409
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
410
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
411
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
415
|
+
BaseModel
|
|
416
|
+
):
|
|
417
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
418
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
422
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
426
|
+
BaseModel
|
|
427
|
+
):
|
|
428
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
429
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
430
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
431
|
+
billable_features: Optional[
|
|
432
|
+
List[
|
|
433
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
434
|
+
]
|
|
435
|
+
] = Field(alias="billableFeatures", default=None)
|
|
436
|
+
addons: Optional[
|
|
437
|
+
List[
|
|
438
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
439
|
+
]
|
|
440
|
+
] = Field(default=None)
|
|
441
|
+
price_overrides: Optional[
|
|
442
|
+
List[
|
|
443
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
444
|
+
]
|
|
445
|
+
] = Field(alias="priceOverrides", default=None)
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
449
|
+
BaseModel
|
|
450
|
+
):
|
|
451
|
+
feature_id: str = Field(alias="featureId")
|
|
452
|
+
quantity: float
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
456
|
+
BaseModel
|
|
457
|
+
):
|
|
458
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
459
|
+
quantity: float
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
463
|
+
BaseModel
|
|
464
|
+
):
|
|
465
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
466
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
467
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
471
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
472
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
473
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
474
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
475
|
+
billable_features: Optional[
|
|
476
|
+
List[
|
|
477
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
478
|
+
]
|
|
479
|
+
] = Field(alias="billableFeatures", default=None)
|
|
480
|
+
addons: Optional[
|
|
481
|
+
List[
|
|
482
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
483
|
+
]
|
|
484
|
+
] = Field(default=None)
|
|
485
|
+
price_overrides: Optional[
|
|
486
|
+
List[
|
|
487
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
488
|
+
]
|
|
489
|
+
] = Field(alias="priceOverrides", default=None)
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
493
|
+
BaseModel
|
|
494
|
+
):
|
|
495
|
+
feature_id: str = Field(alias="featureId")
|
|
496
|
+
quantity: float
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
500
|
+
BaseModel
|
|
501
|
+
):
|
|
502
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
503
|
+
quantity: float
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
507
|
+
BaseModel
|
|
508
|
+
):
|
|
509
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
510
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
511
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
515
|
+
BaseModel
|
|
516
|
+
):
|
|
517
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
518
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
519
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
523
|
+
BaseModel
|
|
524
|
+
):
|
|
525
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
526
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
527
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
528
|
+
|
|
529
|
+
|
|
218
530
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
219
531
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
220
532
|
alias="subscriptionScheduleType"
|
|
@@ -485,238 +797,9 @@ class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
|
485
797
|
)
|
|
486
798
|
|
|
487
799
|
|
|
488
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
489
|
-
limit: float
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
class SlimCustomerFragment(BaseModel):
|
|
493
|
-
id: str
|
|
494
|
-
name: Optional[str] = Field(default=None)
|
|
495
|
-
email: Optional[str] = Field(default=None)
|
|
496
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
497
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
498
|
-
ref_id: str = Field(alias="refId")
|
|
499
|
-
customer_id: str = Field(alias="customerId")
|
|
500
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
501
|
-
additional_meta_data: Optional[Any] = Field(
|
|
502
|
-
alias="additionalMetaData", default=None
|
|
503
|
-
)
|
|
504
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
505
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
506
|
-
)
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
class CustomerResourceFragment(BaseModel):
|
|
510
|
-
resource_id: str = Field(alias="resourceId")
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
class TotalPriceFragment(BaseModel):
|
|
514
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
515
|
-
total: "TotalPriceFragmentTotal"
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
519
|
-
amount: float
|
|
520
|
-
currency: Currency
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
524
|
-
amount: float
|
|
525
|
-
currency: Currency
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
class SubscriptionScheduledUpdateData(BaseModel):
|
|
529
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
530
|
-
alias="subscriptionScheduleType"
|
|
531
|
-
)
|
|
532
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
533
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
534
|
-
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
535
|
-
alias="targetPackage", default=None
|
|
536
|
-
)
|
|
537
|
-
schedule_variables: Optional[
|
|
538
|
-
Annotated[
|
|
539
|
-
Union[
|
|
540
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
541
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
542
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
543
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
544
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
545
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
546
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
547
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
548
|
-
],
|
|
549
|
-
Field(discriminator="typename__"),
|
|
550
|
-
]
|
|
551
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
555
|
-
id: str
|
|
556
|
-
ref_id: str = Field(alias="refId")
|
|
557
|
-
display_name: str = Field(alias="displayName")
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
561
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
562
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
563
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
567
|
-
BaseModel
|
|
568
|
-
):
|
|
569
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
570
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
571
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
575
|
-
BaseModel
|
|
576
|
-
):
|
|
577
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
578
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
582
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
586
|
-
BaseModel
|
|
587
|
-
):
|
|
588
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
589
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
590
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
591
|
-
billable_features: Optional[
|
|
592
|
-
List[
|
|
593
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
594
|
-
]
|
|
595
|
-
] = Field(alias="billableFeatures", default=None)
|
|
596
|
-
addons: Optional[
|
|
597
|
-
List[
|
|
598
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
599
|
-
]
|
|
600
|
-
] = Field(default=None)
|
|
601
|
-
price_overrides: Optional[
|
|
602
|
-
List[
|
|
603
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
604
|
-
]
|
|
605
|
-
] = Field(alias="priceOverrides", default=None)
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
609
|
-
BaseModel
|
|
610
|
-
):
|
|
611
|
-
feature_id: str = Field(alias="featureId")
|
|
612
|
-
quantity: float
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
616
|
-
BaseModel
|
|
617
|
-
):
|
|
618
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
619
|
-
quantity: float
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
623
|
-
BaseModel
|
|
624
|
-
):
|
|
625
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
626
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
627
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
631
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
632
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
633
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
634
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
635
|
-
billable_features: Optional[
|
|
636
|
-
List[
|
|
637
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
638
|
-
]
|
|
639
|
-
] = Field(alias="billableFeatures", default=None)
|
|
640
|
-
addons: Optional[
|
|
641
|
-
List[
|
|
642
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
643
|
-
]
|
|
644
|
-
] = Field(default=None)
|
|
645
|
-
price_overrides: Optional[
|
|
646
|
-
List[
|
|
647
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
648
|
-
]
|
|
649
|
-
] = Field(alias="priceOverrides", default=None)
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
653
|
-
BaseModel
|
|
654
|
-
):
|
|
655
|
-
feature_id: str = Field(alias="featureId")
|
|
656
|
-
quantity: float
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
660
|
-
BaseModel
|
|
661
|
-
):
|
|
662
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
663
|
-
quantity: float
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
667
|
-
BaseModel
|
|
668
|
-
):
|
|
669
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
670
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
671
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
675
|
-
BaseModel
|
|
676
|
-
):
|
|
677
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
678
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
679
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
683
|
-
BaseModel
|
|
684
|
-
):
|
|
685
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
686
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
687
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
691
|
-
billing_id: str = Field(alias="billingId")
|
|
692
|
-
status: SubscriptionInvoiceStatus
|
|
693
|
-
created_at: Any = Field(alias="createdAt")
|
|
694
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
695
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
696
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
697
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
698
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
699
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
700
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
701
|
-
alias="billingReason", default=None
|
|
702
|
-
)
|
|
703
|
-
currency: Optional[str] = Field(default=None)
|
|
704
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
705
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
706
|
-
alias="subTotalExcludingTax", default=None
|
|
707
|
-
)
|
|
708
|
-
total: Optional[float] = Field(default=None)
|
|
709
|
-
total_excluding_tax: Optional[float] = Field(
|
|
710
|
-
alias="totalExcludingTax", default=None
|
|
711
|
-
)
|
|
712
|
-
tax: Optional[float] = Field(default=None)
|
|
713
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
714
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
718
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
719
|
-
|
|
800
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
801
|
+
limit: float
|
|
802
|
+
|
|
720
803
|
|
|
721
804
|
class SubscriptionFragment(BaseModel):
|
|
722
805
|
id: str
|
|
@@ -827,89 +910,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
827
910
|
pass
|
|
828
911
|
|
|
829
912
|
|
|
830
|
-
class FeatureFragment(BaseModel):
|
|
831
|
-
typename__: str = Field(alias="__typename")
|
|
832
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
833
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
834
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
835
|
-
feature_units_plural: Optional[str] = Field(
|
|
836
|
-
alias="featureUnitsPlural", default=None
|
|
837
|
-
)
|
|
838
|
-
description: Optional[str] = Field(default=None)
|
|
839
|
-
display_name: str = Field(alias="displayName")
|
|
840
|
-
ref_id: str = Field(alias="refId")
|
|
841
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
842
|
-
alias="unitTransformation", default=None
|
|
843
|
-
)
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
847
|
-
divide: float
|
|
848
|
-
round: UnitTransformationRound
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
class EntitlementFragment(BaseModel):
|
|
852
|
-
typename__: str = Field(alias="__typename")
|
|
853
|
-
is_granted: bool = Field(alias="isGranted")
|
|
854
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
855
|
-
alias="accessDeniedReason", default=None
|
|
856
|
-
)
|
|
857
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
858
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
859
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
860
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
861
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
862
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
863
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
864
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
865
|
-
alias="entitlementUpdatedAt", default=None
|
|
866
|
-
)
|
|
867
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
868
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
869
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
870
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
871
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
872
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
873
|
-
alias="resetPeriod", default=None
|
|
874
|
-
)
|
|
875
|
-
reset_period_configuration: Optional[
|
|
876
|
-
Annotated[
|
|
877
|
-
Union[
|
|
878
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
879
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
880
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
881
|
-
],
|
|
882
|
-
Field(discriminator="typename__"),
|
|
883
|
-
]
|
|
884
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
885
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
889
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
890
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
891
|
-
alias="monthlyAccordingTo", default=None
|
|
892
|
-
)
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
896
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
897
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
898
|
-
alias="weeklyAccordingTo", default=None
|
|
899
|
-
)
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
903
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
904
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
905
|
-
alias="yearlyAccordingTo", default=None
|
|
906
|
-
)
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
910
|
-
pass
|
|
911
|
-
|
|
912
|
-
|
|
913
913
|
class ApplySubscriptionFragment(BaseModel):
|
|
914
914
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
915
915
|
default=None
|
|
@@ -987,6 +987,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
987
987
|
)
|
|
988
988
|
|
|
989
989
|
|
|
990
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
991
|
+
status: PromotionalEntitlementStatus
|
|
992
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
993
|
+
feature_id: str = Field(alias="featureId")
|
|
994
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
995
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
996
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
997
|
+
alias="resetPeriod", default=None
|
|
998
|
+
)
|
|
999
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1000
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1001
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1005
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1006
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1007
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1008
|
+
feature_units_plural: Optional[str] = Field(
|
|
1009
|
+
alias="featureUnitsPlural", default=None
|
|
1010
|
+
)
|
|
1011
|
+
display_name: str = Field(alias="displayName")
|
|
1012
|
+
description: Optional[str] = Field(default=None)
|
|
1013
|
+
ref_id: str = Field(alias="refId")
|
|
1014
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1015
|
+
alias="additionalMetaData", default=None
|
|
1016
|
+
)
|
|
1017
|
+
|
|
1018
|
+
|
|
990
1019
|
class CouponFragment(BaseModel):
|
|
991
1020
|
id: str
|
|
992
1021
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1021,35 +1050,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1021
1050
|
status: SyncStatus
|
|
1022
1051
|
|
|
1023
1052
|
|
|
1024
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1025
|
-
status: PromotionalEntitlementStatus
|
|
1026
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1027
|
-
feature_id: str = Field(alias="featureId")
|
|
1028
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1029
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1030
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1031
|
-
alias="resetPeriod", default=None
|
|
1032
|
-
)
|
|
1033
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1034
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1035
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1039
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1040
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1041
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1042
|
-
feature_units_plural: Optional[str] = Field(
|
|
1043
|
-
alias="featureUnitsPlural", default=None
|
|
1044
|
-
)
|
|
1045
|
-
display_name: str = Field(alias="displayName")
|
|
1046
|
-
description: Optional[str] = Field(default=None)
|
|
1047
|
-
ref_id: str = Field(alias="refId")
|
|
1048
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1049
|
-
alias="additionalMetaData", default=None
|
|
1050
|
-
)
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
1053
|
class CustomerFragment(SlimCustomerFragment):
|
|
1054
1054
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1055
1055
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1250,6 +1250,50 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1250
1250
|
pass
|
|
1251
1251
|
|
|
1252
1252
|
|
|
1253
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1254
|
+
display_name: str = Field(alias="displayName")
|
|
1255
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1256
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1257
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1258
|
+
period: PromotionalEntitlementPeriod
|
|
1259
|
+
start_date: Any = Field(alias="startDate")
|
|
1260
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1264
|
+
addon_id: str = Field(alias="addonId")
|
|
1265
|
+
description: Optional[str] = Field(default=None)
|
|
1266
|
+
display_name: str = Field(alias="displayName")
|
|
1267
|
+
quantity: int
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1271
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1272
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1273
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1274
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1275
|
+
default=None
|
|
1276
|
+
)
|
|
1277
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1278
|
+
default=None
|
|
1279
|
+
)
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1283
|
+
amount: float
|
|
1284
|
+
currency: Currency
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1288
|
+
id: str
|
|
1289
|
+
ref_id: str = Field(alias="refId")
|
|
1290
|
+
display_name: str = Field(alias="displayName")
|
|
1291
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1292
|
+
feature_units_plural: Optional[str] = Field(
|
|
1293
|
+
alias="featureUnitsPlural", default=None
|
|
1294
|
+
)
|
|
1295
|
+
|
|
1296
|
+
|
|
1253
1297
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1254
1298
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1255
1299
|
alias="subscriptionScheduleType"
|
|
@@ -1419,40 +1463,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1419
1463
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1420
1464
|
|
|
1421
1465
|
|
|
1422
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1423
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1424
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1425
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1426
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1427
|
-
default=None
|
|
1428
|
-
)
|
|
1429
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1430
|
-
default=None
|
|
1431
|
-
)
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1435
|
-
amount: float
|
|
1436
|
-
currency: Currency
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1440
|
-
id: str
|
|
1441
|
-
ref_id: str = Field(alias="refId")
|
|
1442
|
-
display_name: str = Field(alias="displayName")
|
|
1443
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1444
|
-
feature_units_plural: Optional[str] = Field(
|
|
1445
|
-
alias="featureUnitsPlural", default=None
|
|
1446
|
-
)
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1450
|
-
addon_id: str = Field(alias="addonId")
|
|
1451
|
-
description: Optional[str] = Field(default=None)
|
|
1452
|
-
display_name: str = Field(alias="displayName")
|
|
1453
|
-
quantity: int
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
1466
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1457
1467
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1458
1468
|
plan_id: str = Field(alias="planId")
|
|
@@ -1549,16 +1559,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1549
1559
|
pass
|
|
1550
1560
|
|
|
1551
1561
|
|
|
1552
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1553
|
-
display_name: str = Field(alias="displayName")
|
|
1554
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1555
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1556
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1557
|
-
period: PromotionalEntitlementPeriod
|
|
1558
|
-
start_date: Any = Field(alias="startDate")
|
|
1559
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
1562
|
class CustomerPortalFragment(BaseModel):
|
|
1563
1563
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1564
1564
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2768,35 +2768,35 @@ PriceTierFragment.model_rebuild()
|
|
|
2768
2768
|
OveragePriceFragment.model_rebuild()
|
|
2769
2769
|
PriceFragment.model_rebuild()
|
|
2770
2770
|
AddonFragment.model_rebuild()
|
|
2771
|
+
FeatureFragment.model_rebuild()
|
|
2772
|
+
EntitlementFragment.model_rebuild()
|
|
2773
|
+
CustomerResourceFragment.model_rebuild()
|
|
2774
|
+
SlimCustomerFragment.model_rebuild()
|
|
2775
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2776
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2777
|
+
TotalPriceFragment.model_rebuild()
|
|
2778
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2771
2779
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2772
2780
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2773
2781
|
ProductFragment.model_rebuild()
|
|
2774
2782
|
PlanFragment.model_rebuild()
|
|
2775
|
-
SlimCustomerFragment.model_rebuild()
|
|
2776
|
-
CustomerResourceFragment.model_rebuild()
|
|
2777
|
-
TotalPriceFragment.model_rebuild()
|
|
2778
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2779
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2780
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2781
2783
|
SubscriptionFragment.model_rebuild()
|
|
2782
|
-
FeatureFragment.model_rebuild()
|
|
2783
|
-
EntitlementFragment.model_rebuild()
|
|
2784
2784
|
ApplySubscriptionFragment.model_rebuild()
|
|
2785
2785
|
FontVariantFragment.model_rebuild()
|
|
2786
2786
|
TypographyConfigurationFragment.model_rebuild()
|
|
2787
2787
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2788
|
-
CouponFragment.model_rebuild()
|
|
2789
2788
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2789
|
+
CouponFragment.model_rebuild()
|
|
2790
2790
|
CustomerFragment.model_rebuild()
|
|
2791
2791
|
CheckoutStateFragment.model_rebuild()
|
|
2792
2792
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2794
2794
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2795
|
-
|
|
2796
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2795
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2797
2796
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2797
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2798
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2798
2799
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2799
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalFragment.model_rebuild()
|
|
2801
2801
|
CustomerStatisticsFragment.model_rebuild()
|
|
2802
2802
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=AHebP8X0jl5noIxkZwMgE-EOE3e5lv-tGrCj2xDt58c,169
|
|
|
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=6i7B8VZE27gaBec4QPWIFBMWKw8V4BMfZO2wKJ8GH6Y,34822
|
|
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=uk2DLrYV0y4NdKDWNWm4Ipg61oGNJ7yCODdDC0jxP_s,100632
|
|
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
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.327.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.327.0.dist-info/METADATA,sha256=KfCvSCdKkx6QVzi0JAvJbdrrLKuL1FcidCXcuZO5b4E,2258
|
|
165
|
+
stigg_api_client_v2-2.327.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.327.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|