stigg-api-client-v2 2.416.0__py3-none-any.whl → 2.419.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/enums.py +2 -0
- stigg/generated/fragments.py +343 -343
- stigg/generated/input_types.py +36 -0
- {stigg_api_client_v2-2.416.0.dist-info → stigg_api_client_v2-2.419.2.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.416.0.dist-info → stigg_api_client_v2-2.419.2.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-2.416.0.dist-info → stigg_api_client_v2-2.419.2.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.416.0.dist-info → stigg_api_client_v2-2.419.2.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -292,6 +292,7 @@ class CustomerSortFields(str, Enum):
|
|
|
292
292
|
id = "id"
|
|
293
293
|
name = "name"
|
|
294
294
|
refId = "refId"
|
|
295
|
+
salesforceId = "salesforceId"
|
|
295
296
|
searchQuery = "searchQuery"
|
|
296
297
|
updatedAt = "updatedAt"
|
|
297
298
|
|
|
@@ -317,6 +318,7 @@ class CustomerSubscriptionSortFields(str, Enum):
|
|
|
317
318
|
pricingType = "pricingType"
|
|
318
319
|
refId = "refId"
|
|
319
320
|
resourceId = "resourceId"
|
|
321
|
+
salesforceId = "salesforceId"
|
|
320
322
|
startDate = "startDate"
|
|
321
323
|
status = "status"
|
|
322
324
|
subscriptionId = "subscriptionId"
|
stigg/generated/fragments.py
CHANGED
|
@@ -216,208 +216,91 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
216
216
|
pass
|
|
217
217
|
|
|
218
218
|
|
|
219
|
-
class
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
227
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
228
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
229
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
230
|
-
alias="billingReason", default=None
|
|
231
|
-
)
|
|
232
|
-
currency: Optional[str] = Field(default=None)
|
|
233
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
234
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
235
|
-
alias="subTotalExcludingTax", default=None
|
|
219
|
+
class FeatureFragment(BaseModel):
|
|
220
|
+
typename__: str = Field(alias="__typename")
|
|
221
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
222
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
223
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
224
|
+
feature_units_plural: Optional[str] = Field(
|
|
225
|
+
alias="featureUnitsPlural", default=None
|
|
236
226
|
)
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
227
|
+
description: Optional[str] = Field(default=None)
|
|
228
|
+
display_name: str = Field(alias="displayName")
|
|
229
|
+
ref_id: str = Field(alias="refId")
|
|
230
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
231
|
+
alias="unitTransformation", default=None
|
|
240
232
|
)
|
|
241
|
-
tax: Optional[float] = Field(default=None)
|
|
242
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
243
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
244
233
|
|
|
245
234
|
|
|
246
|
-
class
|
|
247
|
-
|
|
248
|
-
|
|
235
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
236
|
+
divide: float
|
|
237
|
+
round: UnitTransformationRound
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
class EntitlementFragment(BaseModel):
|
|
241
|
+
typename__: str = Field(alias="__typename")
|
|
242
|
+
is_granted: bool = Field(alias="isGranted")
|
|
243
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
244
|
+
alias="accessDeniedReason", default=None
|
|
249
245
|
)
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
246
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
247
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
248
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
249
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
250
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
251
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
252
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
253
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
254
|
+
alias="entitlementUpdatedAt", default=None
|
|
254
255
|
)
|
|
255
|
-
|
|
256
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
257
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
258
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
259
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
260
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
261
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
262
|
+
alias="resetPeriod", default=None
|
|
263
|
+
)
|
|
264
|
+
reset_period_configuration: Optional[
|
|
256
265
|
Annotated[
|
|
257
266
|
Union[
|
|
258
|
-
"
|
|
259
|
-
"
|
|
260
|
-
"
|
|
261
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
262
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
263
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
264
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
265
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
267
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
268
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
269
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
266
270
|
],
|
|
267
271
|
Field(discriminator="typename__"),
|
|
268
272
|
]
|
|
269
|
-
] = Field(alias="
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
273
|
-
id: str
|
|
274
|
-
ref_id: str = Field(alias="refId")
|
|
275
|
-
display_name: str = Field(alias="displayName")
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
279
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
280
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
281
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
285
|
-
BaseModel
|
|
286
|
-
):
|
|
287
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
288
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
289
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
293
|
-
BaseModel
|
|
294
|
-
):
|
|
295
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
296
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
300
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
304
|
-
BaseModel
|
|
305
|
-
):
|
|
306
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
307
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
308
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
309
|
-
billable_features: Optional[
|
|
310
|
-
List[
|
|
311
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
312
|
-
]
|
|
313
|
-
] = Field(alias="billableFeatures", default=None)
|
|
314
|
-
addons: Optional[
|
|
315
|
-
List[
|
|
316
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
317
|
-
]
|
|
318
|
-
] = Field(default=None)
|
|
319
|
-
price_overrides: Optional[
|
|
320
|
-
List[
|
|
321
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
322
|
-
]
|
|
323
|
-
] = Field(alias="priceOverrides", default=None)
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
327
|
-
BaseModel
|
|
328
|
-
):
|
|
329
|
-
feature_id: str = Field(alias="featureId")
|
|
330
|
-
quantity: float
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
334
|
-
BaseModel
|
|
335
|
-
):
|
|
336
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
337
|
-
quantity: float
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
341
|
-
BaseModel
|
|
342
|
-
):
|
|
343
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
344
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
345
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
349
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
350
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
351
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
352
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
353
|
-
billable_features: Optional[
|
|
354
|
-
List[
|
|
355
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
356
|
-
]
|
|
357
|
-
] = Field(alias="billableFeatures", default=None)
|
|
358
|
-
addons: Optional[
|
|
359
|
-
List[
|
|
360
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
361
|
-
]
|
|
362
|
-
] = Field(default=None)
|
|
363
|
-
price_overrides: Optional[
|
|
364
|
-
List[
|
|
365
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
366
|
-
]
|
|
367
|
-
] = Field(alias="priceOverrides", default=None)
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
371
|
-
BaseModel
|
|
372
|
-
):
|
|
373
|
-
feature_id: str = Field(alias="featureId")
|
|
374
|
-
quantity: float
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
378
|
-
BaseModel
|
|
379
|
-
):
|
|
380
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
381
|
-
quantity: float
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
385
|
-
BaseModel
|
|
386
|
-
):
|
|
387
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
388
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
389
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
273
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
274
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
390
275
|
|
|
391
276
|
|
|
392
|
-
class
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
277
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
278
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
279
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
280
|
+
alias="monthlyAccordingTo", default=None
|
|
281
|
+
)
|
|
398
282
|
|
|
399
283
|
|
|
400
|
-
class
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
284
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
285
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
286
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
287
|
+
alias="weeklyAccordingTo", default=None
|
|
288
|
+
)
|
|
406
289
|
|
|
407
290
|
|
|
408
|
-
class
|
|
409
|
-
|
|
410
|
-
|
|
291
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
292
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
293
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
294
|
+
alias="yearlyAccordingTo", default=None
|
|
295
|
+
)
|
|
411
296
|
|
|
412
297
|
|
|
413
|
-
class
|
|
414
|
-
|
|
415
|
-
currency: Currency
|
|
298
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
299
|
+
pass
|
|
416
300
|
|
|
417
301
|
|
|
418
|
-
class
|
|
419
|
-
|
|
420
|
-
currency: Currency
|
|
302
|
+
class CustomerResourceFragment(BaseModel):
|
|
303
|
+
resource_id: str = Field(alias="resourceId")
|
|
421
304
|
|
|
422
305
|
|
|
423
306
|
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
@@ -540,6 +423,10 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
540
423
|
limit: float
|
|
541
424
|
|
|
542
425
|
|
|
426
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
427
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
428
|
+
|
|
429
|
+
|
|
543
430
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
544
431
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
545
432
|
alias="subscriptionScheduleType"
|
|
@@ -688,18 +575,214 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
688
575
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
689
576
|
|
|
690
577
|
|
|
691
|
-
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
692
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
693
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
694
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
578
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
579
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
580
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
581
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
585
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
586
|
+
alias="subscriptionScheduleType"
|
|
587
|
+
)
|
|
588
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
589
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
590
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
591
|
+
alias="targetPackage", default=None
|
|
592
|
+
)
|
|
593
|
+
schedule_variables: Optional[
|
|
594
|
+
Annotated[
|
|
595
|
+
Union[
|
|
596
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
597
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
598
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
599
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
600
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
601
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
602
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
603
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
604
|
+
],
|
|
605
|
+
Field(discriminator="typename__"),
|
|
606
|
+
]
|
|
607
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
611
|
+
id: str
|
|
612
|
+
ref_id: str = Field(alias="refId")
|
|
613
|
+
display_name: str = Field(alias="displayName")
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
617
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
618
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
619
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
623
|
+
BaseModel
|
|
624
|
+
):
|
|
625
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
626
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
627
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
631
|
+
BaseModel
|
|
632
|
+
):
|
|
633
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
634
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
638
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
642
|
+
BaseModel
|
|
643
|
+
):
|
|
644
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
645
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
646
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
647
|
+
billable_features: Optional[
|
|
648
|
+
List[
|
|
649
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
650
|
+
]
|
|
651
|
+
] = Field(alias="billableFeatures", default=None)
|
|
652
|
+
addons: Optional[
|
|
653
|
+
List[
|
|
654
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
655
|
+
]
|
|
656
|
+
] = Field(default=None)
|
|
657
|
+
price_overrides: Optional[
|
|
658
|
+
List[
|
|
659
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
660
|
+
]
|
|
661
|
+
] = Field(alias="priceOverrides", default=None)
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
665
|
+
BaseModel
|
|
666
|
+
):
|
|
667
|
+
feature_id: str = Field(alias="featureId")
|
|
668
|
+
quantity: float
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
672
|
+
BaseModel
|
|
673
|
+
):
|
|
674
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
675
|
+
quantity: float
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
679
|
+
BaseModel
|
|
680
|
+
):
|
|
681
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
682
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
683
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
687
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
688
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
689
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
690
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
691
|
+
billable_features: Optional[
|
|
692
|
+
List[
|
|
693
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
694
|
+
]
|
|
695
|
+
] = Field(alias="billableFeatures", default=None)
|
|
696
|
+
addons: Optional[
|
|
697
|
+
List[
|
|
698
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
699
|
+
]
|
|
700
|
+
] = Field(default=None)
|
|
701
|
+
price_overrides: Optional[
|
|
702
|
+
List[
|
|
703
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
704
|
+
]
|
|
705
|
+
] = Field(alias="priceOverrides", default=None)
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
709
|
+
BaseModel
|
|
710
|
+
):
|
|
711
|
+
feature_id: str = Field(alias="featureId")
|
|
712
|
+
quantity: float
|
|
713
|
+
|
|
714
|
+
|
|
715
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
716
|
+
BaseModel
|
|
717
|
+
):
|
|
718
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
719
|
+
quantity: float
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
723
|
+
BaseModel
|
|
724
|
+
):
|
|
725
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
726
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
727
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
731
|
+
BaseModel
|
|
732
|
+
):
|
|
733
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
734
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
735
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
739
|
+
BaseModel
|
|
740
|
+
):
|
|
741
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
742
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
743
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
747
|
+
billing_id: str = Field(alias="billingId")
|
|
748
|
+
status: SubscriptionInvoiceStatus
|
|
749
|
+
created_at: Any = Field(alias="createdAt")
|
|
750
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
751
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
752
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
753
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
754
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
755
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
756
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
757
|
+
alias="billingReason", default=None
|
|
758
|
+
)
|
|
759
|
+
currency: Optional[str] = Field(default=None)
|
|
760
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
761
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
762
|
+
alias="subTotalExcludingTax", default=None
|
|
763
|
+
)
|
|
764
|
+
total: Optional[float] = Field(default=None)
|
|
765
|
+
total_excluding_tax: Optional[float] = Field(
|
|
766
|
+
alias="totalExcludingTax", default=None
|
|
767
|
+
)
|
|
768
|
+
tax: Optional[float] = Field(default=None)
|
|
769
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
770
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
class TotalPriceFragment(BaseModel):
|
|
774
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
775
|
+
total: "TotalPriceFragmentTotal"
|
|
695
776
|
|
|
696
777
|
|
|
697
|
-
class
|
|
698
|
-
|
|
778
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
779
|
+
amount: float
|
|
780
|
+
currency: Currency
|
|
699
781
|
|
|
700
782
|
|
|
701
|
-
class
|
|
702
|
-
|
|
783
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
784
|
+
amount: float
|
|
785
|
+
currency: Currency
|
|
703
786
|
|
|
704
787
|
|
|
705
788
|
class SlimCustomerFragment(BaseModel):
|
|
@@ -828,89 +911,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
828
911
|
pass
|
|
829
912
|
|
|
830
913
|
|
|
831
|
-
class FeatureFragment(BaseModel):
|
|
832
|
-
typename__: str = Field(alias="__typename")
|
|
833
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
834
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
835
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
836
|
-
feature_units_plural: Optional[str] = Field(
|
|
837
|
-
alias="featureUnitsPlural", default=None
|
|
838
|
-
)
|
|
839
|
-
description: Optional[str] = Field(default=None)
|
|
840
|
-
display_name: str = Field(alias="displayName")
|
|
841
|
-
ref_id: str = Field(alias="refId")
|
|
842
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
843
|
-
alias="unitTransformation", default=None
|
|
844
|
-
)
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
848
|
-
divide: float
|
|
849
|
-
round: UnitTransformationRound
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
class EntitlementFragment(BaseModel):
|
|
853
|
-
typename__: str = Field(alias="__typename")
|
|
854
|
-
is_granted: bool = Field(alias="isGranted")
|
|
855
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
856
|
-
alias="accessDeniedReason", default=None
|
|
857
|
-
)
|
|
858
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
859
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
860
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
861
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
862
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
863
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
864
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
865
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
866
|
-
alias="entitlementUpdatedAt", default=None
|
|
867
|
-
)
|
|
868
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
869
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
870
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
871
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
872
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
873
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
874
|
-
alias="resetPeriod", default=None
|
|
875
|
-
)
|
|
876
|
-
reset_period_configuration: Optional[
|
|
877
|
-
Annotated[
|
|
878
|
-
Union[
|
|
879
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
880
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
881
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
882
|
-
],
|
|
883
|
-
Field(discriminator="typename__"),
|
|
884
|
-
]
|
|
885
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
886
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
890
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
891
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
892
|
-
alias="monthlyAccordingTo", default=None
|
|
893
|
-
)
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
897
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
898
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
899
|
-
alias="weeklyAccordingTo", default=None
|
|
900
|
-
)
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
904
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
905
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
906
|
-
alias="yearlyAccordingTo", default=None
|
|
907
|
-
)
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
911
|
-
pass
|
|
912
|
-
|
|
913
|
-
|
|
914
914
|
class ApplySubscriptionFragment(BaseModel):
|
|
915
915
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
916
916
|
default=None
|
|
@@ -988,6 +988,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
988
988
|
)
|
|
989
989
|
|
|
990
990
|
|
|
991
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
992
|
+
status: PromotionalEntitlementStatus
|
|
993
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
994
|
+
feature_id: str = Field(alias="featureId")
|
|
995
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
996
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
997
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
998
|
+
alias="resetPeriod", default=None
|
|
999
|
+
)
|
|
1000
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1001
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1002
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1006
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1007
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1008
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1009
|
+
feature_units_plural: Optional[str] = Field(
|
|
1010
|
+
alias="featureUnitsPlural", default=None
|
|
1011
|
+
)
|
|
1012
|
+
display_name: str = Field(alias="displayName")
|
|
1013
|
+
description: Optional[str] = Field(default=None)
|
|
1014
|
+
ref_id: str = Field(alias="refId")
|
|
1015
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1016
|
+
alias="additionalMetaData", default=None
|
|
1017
|
+
)
|
|
1018
|
+
|
|
1019
|
+
|
|
991
1020
|
class CouponFragment(BaseModel):
|
|
992
1021
|
id: str
|
|
993
1022
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1022,35 +1051,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1022
1051
|
status: SyncStatus
|
|
1023
1052
|
|
|
1024
1053
|
|
|
1025
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1026
|
-
status: PromotionalEntitlementStatus
|
|
1027
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1028
|
-
feature_id: str = Field(alias="featureId")
|
|
1029
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1030
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1031
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1032
|
-
alias="resetPeriod", default=None
|
|
1033
|
-
)
|
|
1034
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1035
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1036
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1040
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1041
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1042
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1043
|
-
feature_units_plural: Optional[str] = Field(
|
|
1044
|
-
alias="featureUnitsPlural", default=None
|
|
1045
|
-
)
|
|
1046
|
-
display_name: str = Field(alias="displayName")
|
|
1047
|
-
description: Optional[str] = Field(default=None)
|
|
1048
|
-
ref_id: str = Field(alias="refId")
|
|
1049
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1050
|
-
alias="additionalMetaData", default=None
|
|
1051
|
-
)
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
1054
|
class CustomerFragment(SlimCustomerFragment):
|
|
1055
1055
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1056
1056
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1793,6 +1793,39 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1793
1793
|
description: Optional[str] = Field(default=None)
|
|
1794
1794
|
|
|
1795
1795
|
|
|
1796
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1797
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1798
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1799
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1800
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1801
|
+
alias="resetPeriod", default=None
|
|
1802
|
+
)
|
|
1803
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1804
|
+
alias="hiddenFromWidgets", default=None
|
|
1805
|
+
)
|
|
1806
|
+
display_name_override: Optional[str] = Field(
|
|
1807
|
+
alias="displayNameOverride", default=None
|
|
1808
|
+
)
|
|
1809
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1810
|
+
default=None
|
|
1811
|
+
)
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1815
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1816
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1817
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1818
|
+
feature_units_plural: Optional[str] = Field(
|
|
1819
|
+
alias="featureUnitsPlural", default=None
|
|
1820
|
+
)
|
|
1821
|
+
display_name: str = Field(alias="displayName")
|
|
1822
|
+
description: Optional[str] = Field(default=None)
|
|
1823
|
+
ref_id: str = Field(alias="refId")
|
|
1824
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1825
|
+
alias="additionalMetaData", default=None
|
|
1826
|
+
)
|
|
1827
|
+
|
|
1828
|
+
|
|
1796
1829
|
class MockPaywallPriceFragment(BaseModel):
|
|
1797
1830
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1798
1831
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1827,39 +1860,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1827
1860
|
display_name: str = Field(alias="displayName")
|
|
1828
1861
|
|
|
1829
1862
|
|
|
1830
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1831
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1832
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1833
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1834
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1835
|
-
alias="resetPeriod", default=None
|
|
1836
|
-
)
|
|
1837
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1838
|
-
alias="hiddenFromWidgets", default=None
|
|
1839
|
-
)
|
|
1840
|
-
display_name_override: Optional[str] = Field(
|
|
1841
|
-
alias="displayNameOverride", default=None
|
|
1842
|
-
)
|
|
1843
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1844
|
-
default=None
|
|
1845
|
-
)
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1849
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1850
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1851
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1852
|
-
feature_units_plural: Optional[str] = Field(
|
|
1853
|
-
alias="featureUnitsPlural", default=None
|
|
1854
|
-
)
|
|
1855
|
-
display_name: str = Field(alias="displayName")
|
|
1856
|
-
description: Optional[str] = Field(default=None)
|
|
1857
|
-
ref_id: str = Field(alias="refId")
|
|
1858
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1859
|
-
alias="additionalMetaData", default=None
|
|
1860
|
-
)
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
1863
|
class MockPaywallAddonFragment(BaseModel):
|
|
1864
1864
|
ref_id: str = Field(alias="refId")
|
|
1865
1865
|
display_name: str = Field(alias="displayName")
|
|
@@ -2775,25 +2775,25 @@ PriceTierFragment.model_rebuild()
|
|
|
2775
2775
|
PriceFragment.model_rebuild()
|
|
2776
2776
|
OveragePriceFragment.model_rebuild()
|
|
2777
2777
|
AddonFragment.model_rebuild()
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2778
|
+
FeatureFragment.model_rebuild()
|
|
2779
|
+
EntitlementFragment.model_rebuild()
|
|
2780
|
+
CustomerResourceFragment.model_rebuild()
|
|
2781
2781
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2782
2782
|
ProductFragment.model_rebuild()
|
|
2783
2783
|
PlanFragment.model_rebuild()
|
|
2784
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2785
2784
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2786
|
-
|
|
2785
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2786
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2787
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2788
|
+
TotalPriceFragment.model_rebuild()
|
|
2787
2789
|
SlimCustomerFragment.model_rebuild()
|
|
2788
2790
|
SubscriptionFragment.model_rebuild()
|
|
2789
|
-
FeatureFragment.model_rebuild()
|
|
2790
|
-
EntitlementFragment.model_rebuild()
|
|
2791
2791
|
ApplySubscriptionFragment.model_rebuild()
|
|
2792
2792
|
FontVariantFragment.model_rebuild()
|
|
2793
2793
|
TypographyConfigurationFragment.model_rebuild()
|
|
2794
2794
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2795
|
-
CouponFragment.model_rebuild()
|
|
2796
2795
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2796
|
+
CouponFragment.model_rebuild()
|
|
2797
2797
|
CustomerFragment.model_rebuild()
|
|
2798
2798
|
CheckoutStateFragment.model_rebuild()
|
|
2799
2799
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
@@ -2813,8 +2813,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2813
2813
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2814
2814
|
LayoutConfigurationFragment.model_rebuild()
|
|
2815
2815
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2816
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2817
2816
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2817
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2818
2818
|
MockPaywallAddonFragment.model_rebuild()
|
|
2819
2819
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2820
2820
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -543,6 +543,9 @@ class CouponFilterCustomerFilter(BaseModel):
|
|
|
543
543
|
name: Optional["StringFieldComparison"] = None
|
|
544
544
|
or_: Optional[List["CouponFilterCustomerFilter"]] = Field(alias="or", default=None)
|
|
545
545
|
ref_id: Optional["StringFieldComparison"] = Field(alias="refId", default=None)
|
|
546
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
547
|
+
alias="salesforceId", default=None
|
|
548
|
+
)
|
|
546
549
|
search_query: Optional["CustomerSearchQueryFilterComparison"] = Field(
|
|
547
550
|
alias="searchQuery", default=None
|
|
548
551
|
)
|
|
@@ -822,6 +825,9 @@ class CustomerFilter(BaseModel):
|
|
|
822
825
|
"CustomerFilterPromotionalEntitlementFilter"
|
|
823
826
|
] = Field(alias="promotionalEntitlements", default=None)
|
|
824
827
|
ref_id: Optional["StringFieldComparison"] = Field(alias="refId", default=None)
|
|
828
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
829
|
+
alias="salesforceId", default=None
|
|
830
|
+
)
|
|
825
831
|
search_query: Optional["CustomerSearchQueryFilterComparison"] = Field(
|
|
826
832
|
alias="searchQuery", default=None
|
|
827
833
|
)
|
|
@@ -886,6 +892,9 @@ class CustomerFilterCustomerSubscriptionFilter(BaseModel):
|
|
|
886
892
|
resource_id: Optional["StringFieldComparison"] = Field(
|
|
887
893
|
alias="resourceId", default=None
|
|
888
894
|
)
|
|
895
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
896
|
+
alias="salesforceId", default=None
|
|
897
|
+
)
|
|
889
898
|
start_date: Optional["DateFieldComparison"] = Field(alias="startDate", default=None)
|
|
890
899
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
891
900
|
subscription_id: Optional["StringFieldComparison"] = Field(
|
|
@@ -1004,6 +1013,9 @@ class CustomerResourceFilterCustomerFilter(BaseModel):
|
|
|
1004
1013
|
alias="or", default=None
|
|
1005
1014
|
)
|
|
1006
1015
|
ref_id: Optional["StringFieldComparison"] = Field(alias="refId", default=None)
|
|
1016
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
1017
|
+
alias="salesforceId", default=None
|
|
1018
|
+
)
|
|
1007
1019
|
search_query: Optional["CustomerSearchQueryFilterComparison"] = Field(
|
|
1008
1020
|
alias="searchQuery", default=None
|
|
1009
1021
|
)
|
|
@@ -1067,6 +1079,9 @@ class CustomerResourceFilterCustomerSubscriptionFilter(BaseModel):
|
|
|
1067
1079
|
resource_id: Optional["StringFieldComparison"] = Field(
|
|
1068
1080
|
alias="resourceId", default=None
|
|
1069
1081
|
)
|
|
1082
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
1083
|
+
alias="salesforceId", default=None
|
|
1084
|
+
)
|
|
1070
1085
|
start_date: Optional["DateFieldComparison"] = Field(alias="startDate", default=None)
|
|
1071
1086
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
1072
1087
|
subscription_id: Optional["StringFieldComparison"] = Field(
|
|
@@ -1156,6 +1171,9 @@ class CustomerSubscriptionFilter(BaseModel):
|
|
|
1156
1171
|
resource_id: Optional["StringFieldComparison"] = Field(
|
|
1157
1172
|
alias="resourceId", default=None
|
|
1158
1173
|
)
|
|
1174
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
1175
|
+
alias="salesforceId", default=None
|
|
1176
|
+
)
|
|
1159
1177
|
start_date: Optional["DateFieldComparison"] = Field(alias="startDate", default=None)
|
|
1160
1178
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
1161
1179
|
subscription_entitlements: Optional[
|
|
@@ -1198,6 +1216,9 @@ class CustomerSubscriptionFilterCustomerFilter(BaseModel):
|
|
|
1198
1216
|
alias="or", default=None
|
|
1199
1217
|
)
|
|
1200
1218
|
ref_id: Optional["StringFieldComparison"] = Field(alias="refId", default=None)
|
|
1219
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
1220
|
+
alias="salesforceId", default=None
|
|
1221
|
+
)
|
|
1201
1222
|
search_query: Optional["CustomerSearchQueryFilterComparison"] = Field(
|
|
1202
1223
|
alias="searchQuery", default=None
|
|
1203
1224
|
)
|
|
@@ -1682,6 +1703,9 @@ class ExperimentFilterCustomerFilter(BaseModel):
|
|
|
1682
1703
|
alias="or", default=None
|
|
1683
1704
|
)
|
|
1684
1705
|
ref_id: Optional["StringFieldComparison"] = Field(alias="refId", default=None)
|
|
1706
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
1707
|
+
alias="salesforceId", default=None
|
|
1708
|
+
)
|
|
1685
1709
|
search_query: Optional["CustomerSearchQueryFilterComparison"] = Field(
|
|
1686
1710
|
alias="searchQuery", default=None
|
|
1687
1711
|
)
|
|
@@ -3626,6 +3650,9 @@ class SubscriptionAddonFilterCustomerSubscriptionFilter(BaseModel):
|
|
|
3626
3650
|
resource_id: Optional["StringFieldComparison"] = Field(
|
|
3627
3651
|
alias="resourceId", default=None
|
|
3628
3652
|
)
|
|
3653
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
3654
|
+
alias="salesforceId", default=None
|
|
3655
|
+
)
|
|
3629
3656
|
start_date: Optional["DateFieldComparison"] = Field(alias="startDate", default=None)
|
|
3630
3657
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
3631
3658
|
subscription_id: Optional["StringFieldComparison"] = Field(
|
|
@@ -3827,6 +3854,9 @@ class SubscriptionEntitlementFilterCustomerSubscriptionFilter(BaseModel):
|
|
|
3827
3854
|
resource_id: Optional["StringFieldComparison"] = Field(
|
|
3828
3855
|
alias="resourceId", default=None
|
|
3829
3856
|
)
|
|
3857
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
3858
|
+
alias="salesforceId", default=None
|
|
3859
|
+
)
|
|
3830
3860
|
start_date: Optional["DateFieldComparison"] = Field(alias="startDate", default=None)
|
|
3831
3861
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
3832
3862
|
subscription_id: Optional["StringFieldComparison"] = Field(
|
|
@@ -4071,6 +4101,9 @@ class SubscriptionPriceFilterCustomerSubscriptionFilter(BaseModel):
|
|
|
4071
4101
|
resource_id: Optional["StringFieldComparison"] = Field(
|
|
4072
4102
|
alias="resourceId", default=None
|
|
4073
4103
|
)
|
|
4104
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
4105
|
+
alias="salesforceId", default=None
|
|
4106
|
+
)
|
|
4074
4107
|
start_date: Optional["DateFieldComparison"] = Field(alias="startDate", default=None)
|
|
4075
4108
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
4076
4109
|
subscription_id: Optional["StringFieldComparison"] = Field(
|
|
@@ -4627,6 +4660,9 @@ class UsageMeasurementFilterCustomerFilter(BaseModel):
|
|
|
4627
4660
|
alias="or", default=None
|
|
4628
4661
|
)
|
|
4629
4662
|
ref_id: Optional["StringFieldComparison"] = Field(alias="refId", default=None)
|
|
4663
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
4664
|
+
alias="salesforceId", default=None
|
|
4665
|
+
)
|
|
4630
4666
|
search_query: Optional["CustomerSearchQueryFilterComparison"] = Field(
|
|
4631
4667
|
alias="searchQuery", default=None
|
|
4632
4668
|
)
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=NgGx0jZs30ZsxuITO15EVz6K4LjJE5XocrwRuGcjm8w,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=BnCwbHSipcepnaDJ7ZOwNfdLtRW_p67ObbANkWR2xhY,35280
|
|
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=WB3nFDx-12rfv6rvORKmGRHhXioCnCwDj4JZDLLu2nE,100917
|
|
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
|
|
@@ -144,7 +144,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
144
144
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
145
145
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
146
146
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
147
|
-
stigg/generated/input_types.py,sha256=
|
|
147
|
+
stigg/generated/input_types.py,sha256=X4_Yc95B8Hsi5GbeIbuMuyNqWIxNMv4mcIRTYHlUOwo,195390
|
|
148
148
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
149
149
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
150
150
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -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.419.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.419.2.dist-info/METADATA,sha256=thCgKutYRO8ryp7XA6mjjBtwU60MHdAkfPUUr9nvHQY,2258
|
|
165
|
+
stigg_api_client_v2-2.419.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.419.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|