stigg-api-client-v2 2.414.3__py3-none-any.whl → 2.416.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/fragments.py +229 -229
- stigg/generated/input_types.py +2 -1
- {stigg_api_client_v2-2.414.3.dist-info → stigg_api_client_v2-2.416.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.414.3.dist-info → stigg_api_client_v2-2.416.0.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-2.414.3.dist-info → stigg_api_client_v2-2.416.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.414.3.dist-info → stigg_api_client_v2-2.416.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -113,29 +113,33 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
113
113
|
currency: Currency
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
class
|
|
116
|
+
class PriceFragment(BaseModel):
|
|
117
117
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
118
118
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
119
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
119
120
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
121
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
122
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
120
123
|
billing_country_code: Optional[str] = Field(
|
|
121
124
|
alias="billingCountryCode", default=None
|
|
122
125
|
)
|
|
123
|
-
price: Optional["
|
|
126
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
124
127
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
125
|
-
tiers: Optional[List["
|
|
126
|
-
feature: Optional["
|
|
128
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
129
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
130
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
127
131
|
|
|
128
132
|
|
|
129
|
-
class
|
|
133
|
+
class PriceFragmentPrice(BaseModel):
|
|
130
134
|
amount: float
|
|
131
135
|
currency: Currency
|
|
132
136
|
|
|
133
137
|
|
|
134
|
-
class
|
|
138
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
135
139
|
pass
|
|
136
140
|
|
|
137
141
|
|
|
138
|
-
class
|
|
142
|
+
class PriceFragmentFeature(BaseModel):
|
|
139
143
|
ref_id: str = Field(alias="refId")
|
|
140
144
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
141
145
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -145,33 +149,29 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
145
149
|
description: Optional[str] = Field(default=None)
|
|
146
150
|
|
|
147
151
|
|
|
148
|
-
class
|
|
152
|
+
class OveragePriceFragment(BaseModel):
|
|
149
153
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
150
154
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
151
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
152
155
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
153
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
154
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
155
156
|
billing_country_code: Optional[str] = Field(
|
|
156
157
|
alias="billingCountryCode", default=None
|
|
157
158
|
)
|
|
158
|
-
price: Optional["
|
|
159
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
159
160
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
160
|
-
tiers: Optional[List["
|
|
161
|
-
feature: Optional["
|
|
162
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
161
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
162
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
class
|
|
165
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
166
166
|
amount: float
|
|
167
167
|
currency: Currency
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
class
|
|
170
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
171
171
|
pass
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
class
|
|
174
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
175
175
|
ref_id: str = Field(alias="refId")
|
|
176
176
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
177
177
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -216,89 +216,6 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
216
216
|
pass
|
|
217
217
|
|
|
218
218
|
|
|
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
|
|
226
|
-
)
|
|
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
|
|
232
|
-
)
|
|
233
|
-
|
|
234
|
-
|
|
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
|
|
245
|
-
)
|
|
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
|
|
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[
|
|
265
|
-
Annotated[
|
|
266
|
-
Union[
|
|
267
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
268
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
269
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
270
|
-
],
|
|
271
|
-
Field(discriminator="typename__"),
|
|
272
|
-
]
|
|
273
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
274
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
278
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
279
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
280
|
-
alias="monthlyAccordingTo", default=None
|
|
281
|
-
)
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
285
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
286
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
287
|
-
alias="weeklyAccordingTo", default=None
|
|
288
|
-
)
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
292
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
293
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
294
|
-
alias="yearlyAccordingTo", default=None
|
|
295
|
-
)
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
299
|
-
pass
|
|
300
|
-
|
|
301
|
-
|
|
302
219
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
303
220
|
billing_id: str = Field(alias="billingId")
|
|
304
221
|
status: SubscriptionInvoiceStatus
|
|
@@ -326,27 +243,6 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
326
243
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
327
244
|
|
|
328
245
|
|
|
329
|
-
class CustomerResourceFragment(BaseModel):
|
|
330
|
-
resource_id: str = Field(alias="resourceId")
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
class SlimCustomerFragment(BaseModel):
|
|
334
|
-
id: str
|
|
335
|
-
name: Optional[str] = Field(default=None)
|
|
336
|
-
email: Optional[str] = Field(default=None)
|
|
337
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
338
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
339
|
-
ref_id: str = Field(alias="refId")
|
|
340
|
-
customer_id: str = Field(alias="customerId")
|
|
341
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
342
|
-
additional_meta_data: Optional[Any] = Field(
|
|
343
|
-
alias="additionalMetaData", default=None
|
|
344
|
-
)
|
|
345
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
346
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
347
|
-
)
|
|
348
|
-
|
|
349
|
-
|
|
350
246
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
351
247
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
352
248
|
alias="subscriptionScheduleType"
|
|
@@ -524,8 +420,22 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
524
420
|
currency: Currency
|
|
525
421
|
|
|
526
422
|
|
|
527
|
-
class
|
|
528
|
-
|
|
423
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
424
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
425
|
+
display_name: str = Field(alias="displayName")
|
|
426
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
427
|
+
default=None
|
|
428
|
+
)
|
|
429
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
433
|
+
pass
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
437
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
438
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
529
439
|
|
|
530
440
|
|
|
531
441
|
class ProductFragment(BaseModel):
|
|
@@ -549,24 +459,6 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
549
459
|
display_name: str = Field(alias="displayName")
|
|
550
460
|
|
|
551
461
|
|
|
552
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
553
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
554
|
-
display_name: str = Field(alias="displayName")
|
|
555
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
556
|
-
default=None
|
|
557
|
-
)
|
|
558
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
562
|
-
pass
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
566
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
567
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
568
|
-
|
|
569
|
-
|
|
570
462
|
class PlanFragment(BaseModel):
|
|
571
463
|
id: str
|
|
572
464
|
ref_id: str = Field(alias="refId")
|
|
@@ -802,6 +694,31 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
802
694
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
803
695
|
|
|
804
696
|
|
|
697
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
698
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
class CustomerResourceFragment(BaseModel):
|
|
702
|
+
resource_id: str = Field(alias="resourceId")
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
class SlimCustomerFragment(BaseModel):
|
|
706
|
+
id: str
|
|
707
|
+
name: Optional[str] = Field(default=None)
|
|
708
|
+
email: Optional[str] = Field(default=None)
|
|
709
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
710
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
711
|
+
ref_id: str = Field(alias="refId")
|
|
712
|
+
customer_id: str = Field(alias="customerId")
|
|
713
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
714
|
+
additional_meta_data: Optional[Any] = Field(
|
|
715
|
+
alias="additionalMetaData", default=None
|
|
716
|
+
)
|
|
717
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
718
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
719
|
+
)
|
|
720
|
+
|
|
721
|
+
|
|
805
722
|
class SubscriptionFragment(BaseModel):
|
|
806
723
|
id: str
|
|
807
724
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -911,6 +828,89 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
911
828
|
pass
|
|
912
829
|
|
|
913
830
|
|
|
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,35 +988,6 @@ 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
|
-
|
|
1020
991
|
class CouponFragment(BaseModel):
|
|
1021
992
|
id: str
|
|
1022
993
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1051,6 +1022,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1051
1022
|
status: SyncStatus
|
|
1052
1023
|
|
|
1053
1024
|
|
|
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")
|
|
@@ -1257,14 +1257,11 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1257
1257
|
pass
|
|
1258
1258
|
|
|
1259
1259
|
|
|
1260
|
-
class
|
|
1260
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1261
|
+
addon_id: str = Field(alias="addonId")
|
|
1262
|
+
description: Optional[str] = Field(default=None)
|
|
1261
1263
|
display_name: str = Field(alias="displayName")
|
|
1262
|
-
|
|
1263
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1264
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1265
|
-
period: PromotionalEntitlementPeriod
|
|
1266
|
-
start_date: Any = Field(alias="startDate")
|
|
1267
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1264
|
+
quantity: int
|
|
1268
1265
|
|
|
1269
1266
|
|
|
1270
1267
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
@@ -1436,13 +1433,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1436
1433
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1437
1434
|
|
|
1438
1435
|
|
|
1439
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1440
|
-
addon_id: str = Field(alias="addonId")
|
|
1441
|
-
description: Optional[str] = Field(default=None)
|
|
1442
|
-
display_name: str = Field(alias="displayName")
|
|
1443
|
-
quantity: int
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
1436
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1447
1437
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1448
1438
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1566,6 +1556,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1566
1556
|
pass
|
|
1567
1557
|
|
|
1568
1558
|
|
|
1559
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1560
|
+
display_name: str = Field(alias="displayName")
|
|
1561
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1562
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1563
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1564
|
+
period: PromotionalEntitlementPeriod
|
|
1565
|
+
start_date: Any = Field(alias="startDate")
|
|
1566
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
1569
|
class CustomerPortalFragment(BaseModel):
|
|
1570
1570
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1571
1571
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1793,39 +1793,6 @@ 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
|
-
|
|
1829
1796
|
class MockPaywallPriceFragment(BaseModel):
|
|
1830
1797
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1831
1798
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1860,6 +1827,39 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1860
1827
|
display_name: str = Field(alias="displayName")
|
|
1861
1828
|
|
|
1862
1829
|
|
|
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")
|
|
@@ -2772,38 +2772,38 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2772
2772
|
AddonDependencyFragment.model_rebuild()
|
|
2773
2773
|
PackageEntitlementFragment.model_rebuild()
|
|
2774
2774
|
PriceTierFragment.model_rebuild()
|
|
2775
|
-
OveragePriceFragment.model_rebuild()
|
|
2776
2775
|
PriceFragment.model_rebuild()
|
|
2776
|
+
OveragePriceFragment.model_rebuild()
|
|
2777
2777
|
AddonFragment.model_rebuild()
|
|
2778
|
-
FeatureFragment.model_rebuild()
|
|
2779
|
-
EntitlementFragment.model_rebuild()
|
|
2780
2778
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2781
|
-
CustomerResourceFragment.model_rebuild()
|
|
2782
|
-
SlimCustomerFragment.model_rebuild()
|
|
2783
2779
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2784
2780
|
TotalPriceFragment.model_rebuild()
|
|
2785
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2786
|
-
ProductFragment.model_rebuild()
|
|
2787
2781
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2782
|
+
ProductFragment.model_rebuild()
|
|
2788
2783
|
PlanFragment.model_rebuild()
|
|
2789
2784
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2785
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2786
|
+
CustomerResourceFragment.model_rebuild()
|
|
2787
|
+
SlimCustomerFragment.model_rebuild()
|
|
2790
2788
|
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
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2796
2795
|
CouponFragment.model_rebuild()
|
|
2796
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2797
2797
|
CustomerFragment.model_rebuild()
|
|
2798
2798
|
CheckoutStateFragment.model_rebuild()
|
|
2799
2799
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2801
2801
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2802
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2803
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2804
2802
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2803
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2805
2804
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2806
2805
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2806
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2807
2807
|
CustomerPortalFragment.model_rebuild()
|
|
2808
2808
|
CustomerStatisticsFragment.model_rebuild()
|
|
2809
2809
|
CustomerWithSubscriptionsFragment.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
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2817
2816
|
MockPaywallPriceFragment.model_rebuild()
|
|
2817
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2818
2818
|
MockPaywallAddonFragment.model_rebuild()
|
|
2819
2819
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2820
2820
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -4319,7 +4319,7 @@ class UpdateCouponInput(BaseModel):
|
|
|
4319
4319
|
)
|
|
4320
4320
|
description: Optional[str] = None
|
|
4321
4321
|
environment_id: Optional[str] = Field(alias="environmentId", default=None)
|
|
4322
|
-
name: str
|
|
4322
|
+
name: Optional[str] = None
|
|
4323
4323
|
ref_id: str = Field(alias="refId")
|
|
4324
4324
|
|
|
4325
4325
|
|
|
@@ -4722,6 +4722,7 @@ class ZuoraCredentialsInput(BaseModel):
|
|
|
4722
4722
|
base_url: str = Field(alias="baseUrl")
|
|
4723
4723
|
client_id: str = Field(alias="clientId")
|
|
4724
4724
|
client_secret: str = Field(alias="clientSecret")
|
|
4725
|
+
payment_gateway_id: Optional[str] = Field(alias="paymentGatewayId", default=None)
|
|
4725
4726
|
payment_page_id: Optional[str] = Field(alias="paymentPageId", default=None)
|
|
4726
4727
|
stripe_publishable_key: Optional[str] = Field(
|
|
4727
4728
|
alias="stripePublishableKey", default=None
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=t6q4y-5cKBmgLTrf_2YWXkNvmclEjnvBos1Ycd0aomI,3521
|
|
|
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=Ajxa3TrCgugOtndDeVQG9g3BRzYGCdD63CYISV6VXk4,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=Gi5llg-AFO-knqr15DTPw1CMxTSO6oc6MzeBEIICwV8,194058
|
|
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.416.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.416.0.dist-info/METADATA,sha256=QJUQwlZS4MhB9yvK3ooHzMtuW4UxEwkq6xpUD3LmLfg,2258
|
|
165
|
+
stigg_api_client_v2-2.416.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.416.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|