stigg-api-client-v2 3.116.2__py3-none-any.whl → 3.122.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/enums.py +3 -0
- stigg/generated/fragments.py +342 -342
- stigg/generated/input_types.py +12 -1
- {stigg_api_client_v2-3.116.2.dist-info → stigg_api_client_v2-3.122.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.116.2.dist-info → stigg_api_client_v2-3.122.0.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-3.116.2.dist-info → stigg_api_client_v2-3.122.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.116.2.dist-info → stigg_api_client_v2-3.122.0.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -1186,13 +1186,16 @@ class SubscriptionProrationBehavior(str, Enum):
|
|
|
1186
1186
|
|
|
1187
1187
|
|
|
1188
1188
|
class SubscriptionQuerySortFields(str, Enum):
|
|
1189
|
+
billingId = "billingId"
|
|
1189
1190
|
createdAt = "createdAt"
|
|
1190
1191
|
customerId = "customerId"
|
|
1191
1192
|
environmentId = "environmentId"
|
|
1192
1193
|
productId = "productId"
|
|
1193
1194
|
resourceId = "resourceId"
|
|
1195
|
+
salesforceId = "salesforceId"
|
|
1194
1196
|
startDate = "startDate"
|
|
1195
1197
|
status = "status"
|
|
1198
|
+
subscriptionId = "subscriptionId"
|
|
1196
1199
|
|
|
1197
1200
|
|
|
1198
1201
|
class SubscriptionScheduleStatus(str, Enum):
|
stigg/generated/fragments.py
CHANGED
|
@@ -82,42 +82,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
82
82
|
currency: Currency
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
class
|
|
85
|
+
class OveragePriceFragment(BaseModel):
|
|
86
86
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
87
87
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
88
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
89
88
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
90
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
91
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
92
89
|
billing_country_code: Optional[str] = Field(
|
|
93
90
|
alias="billingCountryCode", default=None
|
|
94
91
|
)
|
|
95
|
-
price: Optional["
|
|
96
|
-
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
97
|
-
alias="creditRate", default=None
|
|
98
|
-
)
|
|
92
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
99
93
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
100
|
-
tiers: Optional[List["
|
|
101
|
-
feature: Optional["
|
|
102
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
94
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
95
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
103
96
|
|
|
104
97
|
|
|
105
|
-
class
|
|
98
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
106
99
|
amount: float
|
|
107
100
|
currency: Currency
|
|
108
101
|
|
|
109
102
|
|
|
110
|
-
class
|
|
111
|
-
amount: float
|
|
112
|
-
custom_currency_id: Optional[Any] = Field(alias="customCurrencyId", default=None)
|
|
113
|
-
currency_id: str = Field(alias="currencyId")
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
class PriceFragmentTiers(PriceTierFragment):
|
|
103
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
117
104
|
pass
|
|
118
105
|
|
|
119
106
|
|
|
120
|
-
class
|
|
107
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
121
108
|
ref_id: str = Field(alias="refId")
|
|
122
109
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
123
110
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -127,29 +114,42 @@ class PriceFragmentFeature(BaseModel):
|
|
|
127
114
|
description: Optional[str] = Field(default=None)
|
|
128
115
|
|
|
129
116
|
|
|
130
|
-
class
|
|
117
|
+
class PriceFragment(BaseModel):
|
|
131
118
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
132
119
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
120
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
133
121
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
122
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
123
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
134
124
|
billing_country_code: Optional[str] = Field(
|
|
135
125
|
alias="billingCountryCode", default=None
|
|
136
126
|
)
|
|
137
|
-
price: Optional["
|
|
127
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
128
|
+
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
129
|
+
alias="creditRate", default=None
|
|
130
|
+
)
|
|
138
131
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
139
|
-
tiers: Optional[List["
|
|
140
|
-
feature: Optional["
|
|
132
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
133
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
134
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
141
135
|
|
|
142
136
|
|
|
143
|
-
class
|
|
137
|
+
class PriceFragmentPrice(BaseModel):
|
|
144
138
|
amount: float
|
|
145
139
|
currency: Currency
|
|
146
140
|
|
|
147
141
|
|
|
148
|
-
class
|
|
142
|
+
class PriceFragmentCreditRate(BaseModel):
|
|
143
|
+
amount: float
|
|
144
|
+
custom_currency_id: Optional[Any] = Field(alias="customCurrencyId", default=None)
|
|
145
|
+
currency_id: str = Field(alias="currencyId")
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
149
149
|
pass
|
|
150
150
|
|
|
151
151
|
|
|
152
|
-
class
|
|
152
|
+
class PriceFragmentFeature(BaseModel):
|
|
153
153
|
ref_id: str = Field(alias="refId")
|
|
154
154
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
155
155
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -232,8 +232,113 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
232
232
|
pass
|
|
233
233
|
|
|
234
234
|
|
|
235
|
-
class
|
|
236
|
-
|
|
235
|
+
class FeatureFragment(BaseModel):
|
|
236
|
+
typename__: str = Field(alias="__typename")
|
|
237
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
238
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
239
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
240
|
+
feature_units_plural: Optional[str] = Field(
|
|
241
|
+
alias="featureUnitsPlural", default=None
|
|
242
|
+
)
|
|
243
|
+
description: Optional[str] = Field(default=None)
|
|
244
|
+
display_name: str = Field(alias="displayName")
|
|
245
|
+
ref_id: str = Field(alias="refId")
|
|
246
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
247
|
+
alias="unitTransformation", default=None
|
|
248
|
+
)
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
252
|
+
divide: float
|
|
253
|
+
round: UnitTransformationRound
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
class EntitlementFragment(BaseModel):
|
|
257
|
+
typename__: str = Field(alias="__typename")
|
|
258
|
+
is_granted: bool = Field(alias="isGranted")
|
|
259
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
260
|
+
alias="accessDeniedReason", default=None
|
|
261
|
+
)
|
|
262
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
263
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
264
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
265
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
266
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
267
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
268
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
269
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
270
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
271
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
272
|
+
alias="entitlementUpdatedAt", default=None
|
|
273
|
+
)
|
|
274
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
275
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
276
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
277
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
278
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
279
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
280
|
+
alias="resetPeriod", default=None
|
|
281
|
+
)
|
|
282
|
+
reset_period_configuration: Optional[
|
|
283
|
+
Annotated[
|
|
284
|
+
Union[
|
|
285
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
286
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
287
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
288
|
+
],
|
|
289
|
+
Field(discriminator="typename__"),
|
|
290
|
+
]
|
|
291
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
292
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
293
|
+
credit_rate: Optional["EntitlementFragmentCreditRate"] = Field(
|
|
294
|
+
alias="creditRate", default=None
|
|
295
|
+
)
|
|
296
|
+
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
300
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
301
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
302
|
+
alias="monthlyAccordingTo", default=None
|
|
303
|
+
)
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
307
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
308
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
309
|
+
alias="weeklyAccordingTo", default=None
|
|
310
|
+
)
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
314
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
315
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
316
|
+
alias="yearlyAccordingTo", default=None
|
|
317
|
+
)
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
321
|
+
pass
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
class EntitlementFragmentCreditRate(BaseModel):
|
|
325
|
+
amount: float
|
|
326
|
+
currency_id: str = Field(alias="currencyId")
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
class TotalPriceFragment(BaseModel):
|
|
330
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
331
|
+
total: "TotalPriceFragmentTotal"
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
335
|
+
amount: float
|
|
336
|
+
currency: Currency
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
340
|
+
amount: float
|
|
341
|
+
currency: Currency
|
|
237
342
|
|
|
238
343
|
|
|
239
344
|
class SlimCustomerFragment(BaseModel):
|
|
@@ -253,34 +358,6 @@ class SlimCustomerFragment(BaseModel):
|
|
|
253
358
|
)
|
|
254
359
|
|
|
255
360
|
|
|
256
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
257
|
-
billing_id: str = Field(alias="billingId")
|
|
258
|
-
status: SubscriptionInvoiceStatus
|
|
259
|
-
created_at: Any = Field(alias="createdAt")
|
|
260
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
261
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
262
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
263
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
264
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
265
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
266
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
267
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
268
|
-
alias="billingReason", default=None
|
|
269
|
-
)
|
|
270
|
-
currency: Optional[str] = Field(default=None)
|
|
271
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
272
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
273
|
-
alias="subTotalExcludingTax", default=None
|
|
274
|
-
)
|
|
275
|
-
total: Optional[float] = Field(default=None)
|
|
276
|
-
total_excluding_tax: Optional[float] = Field(
|
|
277
|
-
alias="totalExcludingTax", default=None
|
|
278
|
-
)
|
|
279
|
-
tax: Optional[float] = Field(default=None)
|
|
280
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
281
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
282
|
-
|
|
283
|
-
|
|
284
361
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
285
362
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
286
363
|
alias="subscriptionScheduleType"
|
|
@@ -435,24 +512,6 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
435
512
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
436
513
|
|
|
437
514
|
|
|
438
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
439
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
440
|
-
display_name: str = Field(alias="displayName")
|
|
441
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
442
|
-
default=None
|
|
443
|
-
)
|
|
444
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
448
|
-
pass
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
452
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
453
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
454
|
-
|
|
455
|
-
|
|
456
515
|
class ProductFragment(BaseModel):
|
|
457
516
|
ref_id: str = Field(alias="refId")
|
|
458
517
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
@@ -474,6 +533,24 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
474
533
|
display_name: str = Field(alias="displayName")
|
|
475
534
|
|
|
476
535
|
|
|
536
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
537
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
538
|
+
display_name: str = Field(alias="displayName")
|
|
539
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
540
|
+
default=None
|
|
541
|
+
)
|
|
542
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
546
|
+
pass
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
550
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
551
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
552
|
+
|
|
553
|
+
|
|
477
554
|
class PlanFragment(BaseModel):
|
|
478
555
|
id: Any
|
|
479
556
|
ref_id: str = Field(alias="refId")
|
|
@@ -555,6 +632,42 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
555
632
|
limit: float
|
|
556
633
|
|
|
557
634
|
|
|
635
|
+
class CustomerResourceFragment(BaseModel):
|
|
636
|
+
resource_id: str = Field(alias="resourceId")
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
640
|
+
billing_id: str = Field(alias="billingId")
|
|
641
|
+
status: SubscriptionInvoiceStatus
|
|
642
|
+
created_at: Any = Field(alias="createdAt")
|
|
643
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
644
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
645
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
646
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
647
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
648
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
649
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
650
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
651
|
+
alias="billingReason", default=None
|
|
652
|
+
)
|
|
653
|
+
currency: Optional[str] = Field(default=None)
|
|
654
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
655
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
656
|
+
alias="subTotalExcludingTax", default=None
|
|
657
|
+
)
|
|
658
|
+
total: Optional[float] = Field(default=None)
|
|
659
|
+
total_excluding_tax: Optional[float] = Field(
|
|
660
|
+
alias="totalExcludingTax", default=None
|
|
661
|
+
)
|
|
662
|
+
tax: Optional[float] = Field(default=None)
|
|
663
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
664
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
668
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
669
|
+
|
|
670
|
+
|
|
558
671
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
559
672
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
560
673
|
alias="subscriptionScheduleType"
|
|
@@ -717,25 +830,6 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
717
830
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
718
831
|
|
|
719
832
|
|
|
720
|
-
class TotalPriceFragment(BaseModel):
|
|
721
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
722
|
-
total: "TotalPriceFragmentTotal"
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
726
|
-
amount: float
|
|
727
|
-
currency: Currency
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
731
|
-
amount: float
|
|
732
|
-
currency: Currency
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
736
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
737
|
-
|
|
738
|
-
|
|
739
833
|
class SubscriptionFragment(BaseModel):
|
|
740
834
|
id: Any
|
|
741
835
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -845,100 +939,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
845
939
|
pass
|
|
846
940
|
|
|
847
941
|
|
|
848
|
-
class FeatureFragment(BaseModel):
|
|
849
|
-
typename__: str = Field(alias="__typename")
|
|
850
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
851
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
852
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
853
|
-
feature_units_plural: Optional[str] = Field(
|
|
854
|
-
alias="featureUnitsPlural", default=None
|
|
855
|
-
)
|
|
856
|
-
description: Optional[str] = Field(default=None)
|
|
857
|
-
display_name: str = Field(alias="displayName")
|
|
858
|
-
ref_id: str = Field(alias="refId")
|
|
859
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
860
|
-
alias="unitTransformation", default=None
|
|
861
|
-
)
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
865
|
-
divide: float
|
|
866
|
-
round: UnitTransformationRound
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
class EntitlementFragment(BaseModel):
|
|
870
|
-
typename__: str = Field(alias="__typename")
|
|
871
|
-
is_granted: bool = Field(alias="isGranted")
|
|
872
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
873
|
-
alias="accessDeniedReason", default=None
|
|
874
|
-
)
|
|
875
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
876
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
877
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
878
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
879
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
880
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
881
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
882
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
883
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
884
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
885
|
-
alias="entitlementUpdatedAt", default=None
|
|
886
|
-
)
|
|
887
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
888
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
889
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
890
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
891
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
892
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
893
|
-
alias="resetPeriod", default=None
|
|
894
|
-
)
|
|
895
|
-
reset_period_configuration: Optional[
|
|
896
|
-
Annotated[
|
|
897
|
-
Union[
|
|
898
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
899
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
900
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
901
|
-
],
|
|
902
|
-
Field(discriminator="typename__"),
|
|
903
|
-
]
|
|
904
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
905
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
906
|
-
credit_rate: Optional["EntitlementFragmentCreditRate"] = Field(
|
|
907
|
-
alias="creditRate", default=None
|
|
908
|
-
)
|
|
909
|
-
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
913
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
914
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
915
|
-
alias="monthlyAccordingTo", default=None
|
|
916
|
-
)
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
920
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
921
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
922
|
-
alias="weeklyAccordingTo", default=None
|
|
923
|
-
)
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
927
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
928
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
929
|
-
alias="yearlyAccordingTo", default=None
|
|
930
|
-
)
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
934
|
-
pass
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
class EntitlementFragmentCreditRate(BaseModel):
|
|
938
|
-
amount: float
|
|
939
|
-
currency_id: str = Field(alias="currencyId")
|
|
940
|
-
|
|
941
|
-
|
|
942
942
|
class ApplySubscriptionFragment(BaseModel):
|
|
943
943
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
944
944
|
default=None
|
|
@@ -1000,58 +1000,19 @@ class CheckoutConfigurationFragmentPalette(BaseModel):
|
|
|
1000
1000
|
text_color: Optional[str] = Field(alias="textColor", default=None)
|
|
1001
1001
|
background_color: Optional[str] = Field(alias="backgroundColor", default=None)
|
|
1002
1002
|
border_color: Optional[str] = Field(alias="borderColor", default=None)
|
|
1003
|
-
summary_background_color: Optional[str] = Field(
|
|
1004
|
-
alias="summaryBackgroundColor", default=None
|
|
1005
|
-
)
|
|
1006
|
-
typename__: Literal["CheckoutColorPalette"] = Field(alias="__typename")
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
class CheckoutConfigurationFragmentTypography(TypographyConfigurationFragment):
|
|
1010
|
-
typename__: Literal["TypographyConfiguration"] = Field(alias="__typename")
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
class CheckoutConfigurationFragmentContent(BaseModel):
|
|
1014
|
-
collect_phone_number: Optional[bool] = Field(
|
|
1015
|
-
alias="collectPhoneNumber", default=None
|
|
1016
|
-
)
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1020
|
-
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1021
|
-
setup_secret: str = Field(alias="setupSecret")
|
|
1022
|
-
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1026
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1030
|
-
status: PromotionalEntitlementStatus
|
|
1031
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1032
|
-
feature_id: Any = Field(alias="featureId")
|
|
1033
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1034
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1035
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1036
|
-
alias="resetPeriod", default=None
|
|
1037
|
-
)
|
|
1038
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1039
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1040
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1044
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1045
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1046
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1047
|
-
feature_units_plural: Optional[str] = Field(
|
|
1048
|
-
alias="featureUnitsPlural", default=None
|
|
1049
|
-
)
|
|
1050
|
-
display_name: str = Field(alias="displayName")
|
|
1051
|
-
description: Optional[str] = Field(default=None)
|
|
1052
|
-
ref_id: str = Field(alias="refId")
|
|
1053
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1054
|
-
alias="additionalMetaData", default=None
|
|
1003
|
+
summary_background_color: Optional[str] = Field(
|
|
1004
|
+
alias="summaryBackgroundColor", default=None
|
|
1005
|
+
)
|
|
1006
|
+
typename__: Literal["CheckoutColorPalette"] = Field(alias="__typename")
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
class CheckoutConfigurationFragmentTypography(TypographyConfigurationFragment):
|
|
1010
|
+
typename__: Literal["TypographyConfiguration"] = Field(alias="__typename")
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
class CheckoutConfigurationFragmentContent(BaseModel):
|
|
1014
|
+
collect_phone_number: Optional[bool] = Field(
|
|
1015
|
+
alias="collectPhoneNumber", default=None
|
|
1055
1016
|
)
|
|
1056
1017
|
|
|
1057
1018
|
|
|
@@ -1089,6 +1050,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1089
1050
|
status: SyncStatus
|
|
1090
1051
|
|
|
1091
1052
|
|
|
1053
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1054
|
+
status: PromotionalEntitlementStatus
|
|
1055
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1056
|
+
feature_id: Any = Field(alias="featureId")
|
|
1057
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1058
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1059
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1060
|
+
alias="resetPeriod", default=None
|
|
1061
|
+
)
|
|
1062
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1063
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1064
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1068
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1069
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1070
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1071
|
+
feature_units_plural: Optional[str] = Field(
|
|
1072
|
+
alias="featureUnitsPlural", default=None
|
|
1073
|
+
)
|
|
1074
|
+
display_name: str = Field(alias="displayName")
|
|
1075
|
+
description: Optional[str] = Field(default=None)
|
|
1076
|
+
ref_id: str = Field(alias="refId")
|
|
1077
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1078
|
+
alias="additionalMetaData", default=None
|
|
1079
|
+
)
|
|
1080
|
+
|
|
1081
|
+
|
|
1092
1082
|
class CustomerFragment(SlimCustomerFragment):
|
|
1093
1083
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1094
1084
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1147,6 +1137,16 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1147
1137
|
pass
|
|
1148
1138
|
|
|
1149
1139
|
|
|
1140
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1141
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1142
|
+
|
|
1143
|
+
|
|
1144
|
+
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1145
|
+
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1146
|
+
setup_secret: str = Field(alias="setupSecret")
|
|
1147
|
+
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
1150
|
class CheckoutStateFragment(BaseModel):
|
|
1151
1151
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1152
1152
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1435,6 +1435,58 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1435
1435
|
pass
|
|
1436
1436
|
|
|
1437
1437
|
|
|
1438
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1439
|
+
display_name: str = Field(alias="displayName")
|
|
1440
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1441
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1442
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1443
|
+
period: PromotionalEntitlementPeriod
|
|
1444
|
+
start_date: Any = Field(alias="startDate")
|
|
1445
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1449
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1450
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1451
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1452
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1453
|
+
default=None
|
|
1454
|
+
)
|
|
1455
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1456
|
+
alias="creditRate", default=None
|
|
1457
|
+
)
|
|
1458
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1459
|
+
default=None
|
|
1460
|
+
)
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1464
|
+
amount: float
|
|
1465
|
+
currency: Currency
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1469
|
+
amount: float
|
|
1470
|
+
currency_id: str = Field(alias="currencyId")
|
|
1471
|
+
|
|
1472
|
+
|
|
1473
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1474
|
+
id: Any
|
|
1475
|
+
ref_id: str = Field(alias="refId")
|
|
1476
|
+
display_name: str = Field(alias="displayName")
|
|
1477
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1478
|
+
feature_units_plural: Optional[str] = Field(
|
|
1479
|
+
alias="featureUnitsPlural", default=None
|
|
1480
|
+
)
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1484
|
+
addon_id: str = Field(alias="addonId")
|
|
1485
|
+
description: Optional[str] = Field(default=None)
|
|
1486
|
+
display_name: str = Field(alias="displayName")
|
|
1487
|
+
quantity: int
|
|
1488
|
+
|
|
1489
|
+
|
|
1438
1490
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1439
1491
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1440
1492
|
alias="subscriptionScheduleType"
|
|
@@ -1604,48 +1656,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1604
1656
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1605
1657
|
|
|
1606
1658
|
|
|
1607
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1608
|
-
addon_id: str = Field(alias="addonId")
|
|
1609
|
-
description: Optional[str] = Field(default=None)
|
|
1610
|
-
display_name: str = Field(alias="displayName")
|
|
1611
|
-
quantity: int
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1615
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1616
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1617
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1618
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1619
|
-
default=None
|
|
1620
|
-
)
|
|
1621
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1622
|
-
alias="creditRate", default=None
|
|
1623
|
-
)
|
|
1624
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1625
|
-
default=None
|
|
1626
|
-
)
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1630
|
-
amount: float
|
|
1631
|
-
currency: Currency
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1635
|
-
amount: float
|
|
1636
|
-
currency_id: str = Field(alias="currencyId")
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1640
|
-
id: Any
|
|
1641
|
-
ref_id: str = Field(alias="refId")
|
|
1642
|
-
display_name: str = Field(alias="displayName")
|
|
1643
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1644
|
-
feature_units_plural: Optional[str] = Field(
|
|
1645
|
-
alias="featureUnitsPlural", default=None
|
|
1646
|
-
)
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
1659
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1650
1660
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1651
1661
|
plan_id: str = Field(alias="planId")
|
|
@@ -1750,16 +1760,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1750
1760
|
pass
|
|
1751
1761
|
|
|
1752
1762
|
|
|
1753
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1754
|
-
display_name: str = Field(alias="displayName")
|
|
1755
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1756
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1757
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1758
|
-
period: PromotionalEntitlementPeriod
|
|
1759
|
-
start_date: Any = Field(alias="startDate")
|
|
1760
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
1763
|
class CustomerPortalFragment(BaseModel):
|
|
1764
1764
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1765
1765
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1987,41 +1987,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1987
1987
|
description: Optional[str] = Field(default=None)
|
|
1988
1988
|
|
|
1989
1989
|
|
|
1990
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1991
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1992
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1993
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1994
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1995
|
-
alias="resetPeriod", default=None
|
|
1996
|
-
)
|
|
1997
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1998
|
-
alias="hiddenFromWidgets", default=None
|
|
1999
|
-
)
|
|
2000
|
-
display_name_override: Optional[str] = Field(
|
|
2001
|
-
alias="displayNameOverride", default=None
|
|
2002
|
-
)
|
|
2003
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
2004
|
-
is_granted: bool = Field(alias="isGranted")
|
|
2005
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
2006
|
-
default=None
|
|
2007
|
-
)
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
2011
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
2012
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
2013
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
2014
|
-
feature_units_plural: Optional[str] = Field(
|
|
2015
|
-
alias="featureUnitsPlural", default=None
|
|
2016
|
-
)
|
|
2017
|
-
display_name: str = Field(alias="displayName")
|
|
2018
|
-
description: Optional[str] = Field(default=None)
|
|
2019
|
-
ref_id: str = Field(alias="refId")
|
|
2020
|
-
additional_meta_data: Optional[Any] = Field(
|
|
2021
|
-
alias="additionalMetaData", default=None
|
|
2022
|
-
)
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
1990
|
class MockPaywallPriceFragment(BaseModel):
|
|
2026
1991
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
2027
1992
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -2064,6 +2029,41 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
2064
2029
|
display_name: str = Field(alias="displayName")
|
|
2065
2030
|
|
|
2066
2031
|
|
|
2032
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
2033
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
2034
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
2035
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
2036
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
2037
|
+
alias="resetPeriod", default=None
|
|
2038
|
+
)
|
|
2039
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
2040
|
+
alias="hiddenFromWidgets", default=None
|
|
2041
|
+
)
|
|
2042
|
+
display_name_override: Optional[str] = Field(
|
|
2043
|
+
alias="displayNameOverride", default=None
|
|
2044
|
+
)
|
|
2045
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
2046
|
+
is_granted: bool = Field(alias="isGranted")
|
|
2047
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
2048
|
+
default=None
|
|
2049
|
+
)
|
|
2050
|
+
|
|
2051
|
+
|
|
2052
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
2053
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
2054
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
2055
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
2056
|
+
feature_units_plural: Optional[str] = Field(
|
|
2057
|
+
alias="featureUnitsPlural", default=None
|
|
2058
|
+
)
|
|
2059
|
+
display_name: str = Field(alias="displayName")
|
|
2060
|
+
description: Optional[str] = Field(default=None)
|
|
2061
|
+
ref_id: str = Field(alias="refId")
|
|
2062
|
+
additional_meta_data: Optional[Any] = Field(
|
|
2063
|
+
alias="additionalMetaData", default=None
|
|
2064
|
+
)
|
|
2065
|
+
|
|
2066
|
+
|
|
2067
2067
|
class MockPaywallAddonFragment(BaseModel):
|
|
2068
2068
|
ref_id: str = Field(alias="refId")
|
|
2069
2069
|
display_name: str = Field(alias="displayName")
|
|
@@ -3042,32 +3042,32 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
3042
3042
|
|
|
3043
3043
|
AddonDependencyFragment.model_rebuild()
|
|
3044
3044
|
PriceTierFragment.model_rebuild()
|
|
3045
|
-
PriceFragment.model_rebuild()
|
|
3046
3045
|
OveragePriceFragment.model_rebuild()
|
|
3046
|
+
PriceFragment.model_rebuild()
|
|
3047
3047
|
PackageEntitlementFragment.model_rebuild()
|
|
3048
3048
|
AddonFragment.model_rebuild()
|
|
3049
|
-
|
|
3049
|
+
FeatureFragment.model_rebuild()
|
|
3050
|
+
EntitlementFragment.model_rebuild()
|
|
3051
|
+
TotalPriceFragment.model_rebuild()
|
|
3050
3052
|
SlimCustomerFragment.model_rebuild()
|
|
3051
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
3052
3053
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
3053
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3054
3054
|
ProductFragment.model_rebuild()
|
|
3055
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3055
3056
|
PlanFragment.model_rebuild()
|
|
3056
|
-
|
|
3057
|
-
|
|
3057
|
+
CustomerResourceFragment.model_rebuild()
|
|
3058
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
3058
3059
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3060
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3059
3061
|
SubscriptionFragment.model_rebuild()
|
|
3060
|
-
FeatureFragment.model_rebuild()
|
|
3061
|
-
EntitlementFragment.model_rebuild()
|
|
3062
3062
|
ApplySubscriptionFragment.model_rebuild()
|
|
3063
3063
|
FontVariantFragment.model_rebuild()
|
|
3064
3064
|
TypographyConfigurationFragment.model_rebuild()
|
|
3065
3065
|
CheckoutConfigurationFragment.model_rebuild()
|
|
3066
|
-
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3067
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3068
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
3069
3066
|
CouponFragment.model_rebuild()
|
|
3067
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
3070
3068
|
CustomerFragment.model_rebuild()
|
|
3069
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3070
|
+
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3071
3071
|
CheckoutStateFragment.model_rebuild()
|
|
3072
3072
|
CreditBalanceFragment.model_rebuild()
|
|
3073
3073
|
CreditBalanceUpdatedPayload.model_rebuild()
|
|
@@ -3079,11 +3079,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
3079
3079
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
3080
3080
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3081
3081
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3082
|
-
|
|
3083
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3082
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3084
3083
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3084
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3085
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3085
3086
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3086
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3087
3087
|
CustomerPortalFragment.model_rebuild()
|
|
3088
3088
|
CustomerStatisticsFragment.model_rebuild()
|
|
3089
3089
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -3093,8 +3093,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
3093
3093
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
3094
3094
|
LayoutConfigurationFragment.model_rebuild()
|
|
3095
3095
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
3096
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
3097
3096
|
MockPaywallPriceFragment.model_rebuild()
|
|
3097
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
3098
3098
|
MockPaywallAddonFragment.model_rebuild()
|
|
3099
3099
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3100
3100
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -3901,7 +3901,9 @@ class SetPlanCompatiblePackageGroups(BaseModel):
|
|
|
3901
3901
|
class SnowflakeCredentialsInput(BaseModel):
|
|
3902
3902
|
database: str
|
|
3903
3903
|
host: str
|
|
3904
|
-
|
|
3904
|
+
passphrase: Optional[str] = None
|
|
3905
|
+
password: Optional[str] = None
|
|
3906
|
+
private_key: Optional[str] = Field(alias="privateKey", default=None)
|
|
3905
3907
|
role: str
|
|
3906
3908
|
schema_name: str = Field(alias="schemaName")
|
|
3907
3909
|
username: str
|
|
@@ -4531,6 +4533,9 @@ class SubscriptionPriceSort(BaseModel):
|
|
|
4531
4533
|
|
|
4532
4534
|
class SubscriptionQueryFilter(BaseModel):
|
|
4533
4535
|
and_: Optional[List["SubscriptionQueryFilter"]] = Field(alias="and", default=None)
|
|
4536
|
+
billing_id: Optional["StringFieldComparison"] = Field(
|
|
4537
|
+
alias="billingId", default=None
|
|
4538
|
+
)
|
|
4534
4539
|
created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
|
|
4535
4540
|
customer: Optional["SubscriptionQueryFilterCustomerFilter"] = None
|
|
4536
4541
|
customer_id: Optional["StringFieldComparison"] = Field(
|
|
@@ -4546,8 +4551,14 @@ class SubscriptionQueryFilter(BaseModel):
|
|
|
4546
4551
|
resource_id: Optional["StringFieldComparison"] = Field(
|
|
4547
4552
|
alias="resourceId", default=None
|
|
4548
4553
|
)
|
|
4554
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
4555
|
+
alias="salesforceId", default=None
|
|
4556
|
+
)
|
|
4549
4557
|
start_date: Optional["DateFieldComparison"] = Field(alias="startDate", default=None)
|
|
4550
4558
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
4559
|
+
subscription_id: Optional["StringFieldComparison"] = Field(
|
|
4560
|
+
alias="subscriptionId", default=None
|
|
4561
|
+
)
|
|
4551
4562
|
|
|
4552
4563
|
|
|
4553
4564
|
class SubscriptionQueryFilterCustomerFilter(BaseModel):
|
|
@@ -120,11 +120,11 @@ stigg/generated/create_payment_session.py,sha256=VRPT8Bbvb_evFHMav9y_pXWHMVbkRy9
|
|
|
120
120
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
121
121
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
122
122
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
123
|
-
stigg/generated/enums.py,sha256=
|
|
123
|
+
stigg/generated/enums.py,sha256=gWRs74VaRAI_BMFxwmFZJPpe-tQMI_N5X9pDx_LcW7Q,40063
|
|
124
124
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
125
125
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
126
126
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
127
|
-
stigg/generated/fragments.py,sha256=
|
|
127
|
+
stigg/generated/fragments.py,sha256=xDmbobxN09nYVLqgYALcySDqdH2AQqcHNLGcPCKNgmw,111377
|
|
128
128
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
129
129
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
130
130
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -153,7 +153,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
153
153
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
154
154
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
155
155
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
156
|
-
stigg/generated/input_types.py,sha256=
|
|
156
|
+
stigg/generated/input_types.py,sha256=Gejq9rIMMgoevEBxjrXDW5fyFpv2v2yhoqwpwhoXt3A,218240
|
|
157
157
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
158
158
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
159
159
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -172,7 +172,7 @@ stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0L
|
|
|
172
172
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
173
173
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
174
174
|
stigg/generated/void_credit_grant.py,sha256=uQ22Xb2vwMOJfqh48GU2fhZ6Dcv9nHNIx_UJpjmJSBU,410
|
|
175
|
-
stigg_api_client_v2-3.
|
|
176
|
-
stigg_api_client_v2-3.
|
|
177
|
-
stigg_api_client_v2-3.
|
|
178
|
-
stigg_api_client_v2-3.
|
|
175
|
+
stigg_api_client_v2-3.122.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
176
|
+
stigg_api_client_v2-3.122.0.dist-info/METADATA,sha256=ZpcEhcMkTATJ9S9FljoyoFzJuwegFT5kIMiKK9VPnU0,2258
|
|
177
|
+
stigg_api_client_v2-3.122.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
178
|
+
stigg_api_client_v2-3.122.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|