stigg-api-client-v2 2.458.0__py3-none-any.whl → 2.462.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/fragments.py +219 -219
- {stigg_api_client_v2-2.458.0.dist-info → stigg_api_client_v2-2.462.2.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.458.0.dist-info → stigg_api_client_v2-2.462.2.dist-info}/RECORD +5 -5
- {stigg_api_client_v2-2.458.0.dist-info → stigg_api_client_v2-2.462.2.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.458.0.dist-info → stigg_api_client_v2-2.462.2.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -60,39 +60,6 @@ class AddonDependencyFragment(BaseModel):
|
|
|
60
60
|
description: Optional[str] = Field(default=None)
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
class PackageEntitlementFragment(BaseModel):
|
|
64
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
65
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
66
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
67
|
-
feature_id: str = Field(alias="featureId")
|
|
68
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
69
|
-
alias="resetPeriod", default=None
|
|
70
|
-
)
|
|
71
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
72
|
-
alias="hiddenFromWidgets", default=None
|
|
73
|
-
)
|
|
74
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
75
|
-
display_name_override: Optional[str] = Field(
|
|
76
|
-
alias="displayNameOverride", default=None
|
|
77
|
-
)
|
|
78
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
82
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
83
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
84
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
85
|
-
feature_units_plural: Optional[str] = Field(
|
|
86
|
-
alias="featureUnitsPlural", default=None
|
|
87
|
-
)
|
|
88
|
-
display_name: str = Field(alias="displayName")
|
|
89
|
-
description: Optional[str] = Field(default=None)
|
|
90
|
-
ref_id: str = Field(alias="refId")
|
|
91
|
-
additional_meta_data: Optional[Any] = Field(
|
|
92
|
-
alias="additionalMetaData", default=None
|
|
93
|
-
)
|
|
94
|
-
|
|
95
|
-
|
|
96
63
|
class PriceTierFragment(BaseModel):
|
|
97
64
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
98
65
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -113,33 +80,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
113
80
|
currency: Currency
|
|
114
81
|
|
|
115
82
|
|
|
116
|
-
class
|
|
83
|
+
class OveragePriceFragment(BaseModel):
|
|
117
84
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
118
85
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
119
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
120
86
|
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)
|
|
123
87
|
billing_country_code: Optional[str] = Field(
|
|
124
88
|
alias="billingCountryCode", default=None
|
|
125
89
|
)
|
|
126
|
-
price: Optional["
|
|
90
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
127
91
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
128
|
-
tiers: Optional[List["
|
|
129
|
-
feature: Optional["
|
|
130
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
92
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
93
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
131
94
|
|
|
132
95
|
|
|
133
|
-
class
|
|
96
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
134
97
|
amount: float
|
|
135
98
|
currency: Currency
|
|
136
99
|
|
|
137
100
|
|
|
138
|
-
class
|
|
101
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
139
102
|
pass
|
|
140
103
|
|
|
141
104
|
|
|
142
|
-
class
|
|
105
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
143
106
|
ref_id: str = Field(alias="refId")
|
|
144
107
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
145
108
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -149,29 +112,66 @@ class PriceFragmentFeature(BaseModel):
|
|
|
149
112
|
description: Optional[str] = Field(default=None)
|
|
150
113
|
|
|
151
114
|
|
|
152
|
-
class
|
|
115
|
+
class PackageEntitlementFragment(BaseModel):
|
|
116
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
117
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
118
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
119
|
+
feature_id: str = Field(alias="featureId")
|
|
120
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
121
|
+
alias="resetPeriod", default=None
|
|
122
|
+
)
|
|
123
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
124
|
+
alias="hiddenFromWidgets", default=None
|
|
125
|
+
)
|
|
126
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
127
|
+
display_name_override: Optional[str] = Field(
|
|
128
|
+
alias="displayNameOverride", default=None
|
|
129
|
+
)
|
|
130
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
134
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
135
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
136
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
137
|
+
feature_units_plural: Optional[str] = Field(
|
|
138
|
+
alias="featureUnitsPlural", default=None
|
|
139
|
+
)
|
|
140
|
+
display_name: str = Field(alias="displayName")
|
|
141
|
+
description: Optional[str] = Field(default=None)
|
|
142
|
+
ref_id: str = Field(alias="refId")
|
|
143
|
+
additional_meta_data: Optional[Any] = Field(
|
|
144
|
+
alias="additionalMetaData", default=None
|
|
145
|
+
)
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
class PriceFragment(BaseModel):
|
|
153
149
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
154
150
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
151
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
155
152
|
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)
|
|
156
155
|
billing_country_code: Optional[str] = Field(
|
|
157
156
|
alias="billingCountryCode", default=None
|
|
158
157
|
)
|
|
159
|
-
price: Optional["
|
|
158
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
160
159
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
161
|
-
tiers: Optional[List["
|
|
162
|
-
feature: Optional["
|
|
160
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
161
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
162
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
class
|
|
165
|
+
class PriceFragmentPrice(BaseModel):
|
|
166
166
|
amount: float
|
|
167
167
|
currency: Currency
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
class
|
|
170
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
171
171
|
pass
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
class
|
|
174
|
+
class PriceFragmentFeature(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(
|
|
@@ -219,91 +219,54 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
219
219
|
pass
|
|
220
220
|
|
|
221
221
|
|
|
222
|
-
class
|
|
223
|
-
|
|
224
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
225
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
226
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
227
|
-
feature_units_plural: Optional[str] = Field(
|
|
228
|
-
alias="featureUnitsPlural", default=None
|
|
229
|
-
)
|
|
230
|
-
description: Optional[str] = Field(default=None)
|
|
231
|
-
display_name: str = Field(alias="displayName")
|
|
232
|
-
ref_id: str = Field(alias="refId")
|
|
233
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
234
|
-
alias="unitTransformation", default=None
|
|
235
|
-
)
|
|
222
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
223
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
236
224
|
|
|
237
225
|
|
|
238
|
-
class
|
|
239
|
-
|
|
240
|
-
round: UnitTransformationRound
|
|
226
|
+
class CustomerResourceFragment(BaseModel):
|
|
227
|
+
resource_id: str = Field(alias="resourceId")
|
|
241
228
|
|
|
242
229
|
|
|
243
|
-
class
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
247
|
-
alias="accessDeniedReason", default=None
|
|
248
|
-
)
|
|
249
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
250
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
251
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
252
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
253
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
254
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
255
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
256
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
257
|
-
alias="entitlementUpdatedAt", default=None
|
|
258
|
-
)
|
|
259
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
260
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
261
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
262
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
263
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
264
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
265
|
-
alias="resetPeriod", default=None
|
|
266
|
-
)
|
|
267
|
-
reset_period_configuration: Optional[
|
|
268
|
-
Annotated[
|
|
269
|
-
Union[
|
|
270
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
271
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
272
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
273
|
-
],
|
|
274
|
-
Field(discriminator="typename__"),
|
|
275
|
-
]
|
|
276
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
277
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
230
|
+
class TotalPriceFragment(BaseModel):
|
|
231
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
232
|
+
total: "TotalPriceFragmentTotal"
|
|
278
233
|
|
|
279
234
|
|
|
280
|
-
class
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
alias="monthlyAccordingTo", default=None
|
|
284
|
-
)
|
|
235
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
236
|
+
amount: float
|
|
237
|
+
currency: Currency
|
|
285
238
|
|
|
286
239
|
|
|
287
|
-
class
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
alias="weeklyAccordingTo", default=None
|
|
291
|
-
)
|
|
240
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
241
|
+
amount: float
|
|
242
|
+
currency: Currency
|
|
292
243
|
|
|
293
244
|
|
|
294
|
-
class
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
245
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
246
|
+
billing_id: str = Field(alias="billingId")
|
|
247
|
+
status: SubscriptionInvoiceStatus
|
|
248
|
+
created_at: Any = Field(alias="createdAt")
|
|
249
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
250
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
251
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
252
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
253
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
254
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
255
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
256
|
+
alias="billingReason", default=None
|
|
298
257
|
)
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
258
|
+
currency: Optional[str] = Field(default=None)
|
|
259
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
260
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
261
|
+
alias="subTotalExcludingTax", default=None
|
|
262
|
+
)
|
|
263
|
+
total: Optional[float] = Field(default=None)
|
|
264
|
+
total_excluding_tax: Optional[float] = Field(
|
|
265
|
+
alias="totalExcludingTax", default=None
|
|
266
|
+
)
|
|
267
|
+
tax: Optional[float] = Field(default=None)
|
|
268
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
269
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
307
270
|
|
|
308
271
|
|
|
309
272
|
class ProductFragment(BaseModel):
|
|
@@ -426,25 +389,6 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
426
389
|
limit: float
|
|
427
390
|
|
|
428
391
|
|
|
429
|
-
class TotalPriceFragment(BaseModel):
|
|
430
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
431
|
-
total: "TotalPriceFragmentTotal"
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
435
|
-
amount: float
|
|
436
|
-
currency: Currency
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
440
|
-
amount: float
|
|
441
|
-
currency: Currency
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
445
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
446
|
-
|
|
447
|
-
|
|
448
392
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
449
393
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
450
394
|
alias="subscriptionScheduleType"
|
|
@@ -778,33 +722,6 @@ class SlimCustomerFragment(BaseModel):
|
|
|
778
722
|
)
|
|
779
723
|
|
|
780
724
|
|
|
781
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
782
|
-
billing_id: str = Field(alias="billingId")
|
|
783
|
-
status: SubscriptionInvoiceStatus
|
|
784
|
-
created_at: Any = Field(alias="createdAt")
|
|
785
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
786
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
787
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
788
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
789
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
790
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
791
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
792
|
-
alias="billingReason", default=None
|
|
793
|
-
)
|
|
794
|
-
currency: Optional[str] = Field(default=None)
|
|
795
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
796
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
797
|
-
alias="subTotalExcludingTax", default=None
|
|
798
|
-
)
|
|
799
|
-
total: Optional[float] = Field(default=None)
|
|
800
|
-
total_excluding_tax: Optional[float] = Field(
|
|
801
|
-
alias="totalExcludingTax", default=None
|
|
802
|
-
)
|
|
803
|
-
tax: Optional[float] = Field(default=None)
|
|
804
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
805
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
806
|
-
|
|
807
|
-
|
|
808
725
|
class SubscriptionFragment(BaseModel):
|
|
809
726
|
id: Any
|
|
810
727
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -914,6 +831,89 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
914
831
|
pass
|
|
915
832
|
|
|
916
833
|
|
|
834
|
+
class FeatureFragment(BaseModel):
|
|
835
|
+
typename__: str = Field(alias="__typename")
|
|
836
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
837
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
838
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
839
|
+
feature_units_plural: Optional[str] = Field(
|
|
840
|
+
alias="featureUnitsPlural", default=None
|
|
841
|
+
)
|
|
842
|
+
description: Optional[str] = Field(default=None)
|
|
843
|
+
display_name: str = Field(alias="displayName")
|
|
844
|
+
ref_id: str = Field(alias="refId")
|
|
845
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
846
|
+
alias="unitTransformation", default=None
|
|
847
|
+
)
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
851
|
+
divide: float
|
|
852
|
+
round: UnitTransformationRound
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
class EntitlementFragment(BaseModel):
|
|
856
|
+
typename__: str = Field(alias="__typename")
|
|
857
|
+
is_granted: bool = Field(alias="isGranted")
|
|
858
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
859
|
+
alias="accessDeniedReason", default=None
|
|
860
|
+
)
|
|
861
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
862
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
863
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
864
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
865
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
866
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
867
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
868
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
869
|
+
alias="entitlementUpdatedAt", default=None
|
|
870
|
+
)
|
|
871
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
872
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
873
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
874
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
875
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
876
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
877
|
+
alias="resetPeriod", default=None
|
|
878
|
+
)
|
|
879
|
+
reset_period_configuration: Optional[
|
|
880
|
+
Annotated[
|
|
881
|
+
Union[
|
|
882
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
883
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
884
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
885
|
+
],
|
|
886
|
+
Field(discriminator="typename__"),
|
|
887
|
+
]
|
|
888
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
889
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
893
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
894
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
895
|
+
alias="monthlyAccordingTo", default=None
|
|
896
|
+
)
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
900
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
901
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
902
|
+
alias="weeklyAccordingTo", default=None
|
|
903
|
+
)
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
907
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
908
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
909
|
+
alias="yearlyAccordingTo", default=None
|
|
910
|
+
)
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
914
|
+
pass
|
|
915
|
+
|
|
916
|
+
|
|
917
917
|
class ApplySubscriptionFragment(BaseModel):
|
|
918
918
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
919
919
|
default=None
|
|
@@ -991,35 +991,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
991
991
|
)
|
|
992
992
|
|
|
993
993
|
|
|
994
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
995
|
-
status: PromotionalEntitlementStatus
|
|
996
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
997
|
-
feature_id: str = Field(alias="featureId")
|
|
998
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
999
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1000
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1001
|
-
alias="resetPeriod", default=None
|
|
1002
|
-
)
|
|
1003
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1004
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1005
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1009
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1010
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1011
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1012
|
-
feature_units_plural: Optional[str] = Field(
|
|
1013
|
-
alias="featureUnitsPlural", default=None
|
|
1014
|
-
)
|
|
1015
|
-
display_name: str = Field(alias="displayName")
|
|
1016
|
-
description: Optional[str] = Field(default=None)
|
|
1017
|
-
ref_id: str = Field(alias="refId")
|
|
1018
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1019
|
-
alias="additionalMetaData", default=None
|
|
1020
|
-
)
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
994
|
class CouponFragment(BaseModel):
|
|
1024
995
|
id: str
|
|
1025
996
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1054,6 +1025,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1054
1025
|
status: SyncStatus
|
|
1055
1026
|
|
|
1056
1027
|
|
|
1028
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1029
|
+
status: PromotionalEntitlementStatus
|
|
1030
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1031
|
+
feature_id: str = Field(alias="featureId")
|
|
1032
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1033
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1034
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1035
|
+
alias="resetPeriod", default=None
|
|
1036
|
+
)
|
|
1037
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1038
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1039
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1043
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1044
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1045
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1046
|
+
feature_units_plural: Optional[str] = Field(
|
|
1047
|
+
alias="featureUnitsPlural", default=None
|
|
1048
|
+
)
|
|
1049
|
+
display_name: str = Field(alias="displayName")
|
|
1050
|
+
description: Optional[str] = Field(default=None)
|
|
1051
|
+
ref_id: str = Field(alias="refId")
|
|
1052
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1053
|
+
alias="additionalMetaData", default=None
|
|
1054
|
+
)
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
1057
|
class CustomerFragment(SlimCustomerFragment):
|
|
1058
1058
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1059
1059
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1260,16 +1260,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1260
1260
|
pass
|
|
1261
1261
|
|
|
1262
1262
|
|
|
1263
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1264
|
-
display_name: str = Field(alias="displayName")
|
|
1265
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1266
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1267
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1268
|
-
period: PromotionalEntitlementPeriod
|
|
1269
|
-
start_date: Any = Field(alias="startDate")
|
|
1270
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
1263
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1274
1264
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1275
1265
|
alias="subscriptionScheduleType"
|
|
@@ -1569,6 +1559,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1569
1559
|
pass
|
|
1570
1560
|
|
|
1571
1561
|
|
|
1562
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1563
|
+
display_name: str = Field(alias="displayName")
|
|
1564
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1565
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1566
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1567
|
+
period: PromotionalEntitlementPeriod
|
|
1568
|
+
start_date: Any = Field(alias="startDate")
|
|
1569
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
1572
|
class CustomerPortalFragment(BaseModel):
|
|
1573
1573
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1574
1574
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2834,40 +2834,40 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2834
2834
|
|
|
2835
2835
|
|
|
2836
2836
|
AddonDependencyFragment.model_rebuild()
|
|
2837
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2838
2837
|
PriceTierFragment.model_rebuild()
|
|
2839
|
-
PriceFragment.model_rebuild()
|
|
2840
2838
|
OveragePriceFragment.model_rebuild()
|
|
2839
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2840
|
+
PriceFragment.model_rebuild()
|
|
2841
2841
|
AddonFragment.model_rebuild()
|
|
2842
|
-
|
|
2843
|
-
EntitlementFragment.model_rebuild()
|
|
2842
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2844
2843
|
CustomerResourceFragment.model_rebuild()
|
|
2844
|
+
TotalPriceFragment.model_rebuild()
|
|
2845
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2845
2846
|
ProductFragment.model_rebuild()
|
|
2846
2847
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2847
2848
|
PlanFragment.model_rebuild()
|
|
2848
|
-
TotalPriceFragment.model_rebuild()
|
|
2849
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2850
2849
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2851
2850
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2852
2851
|
SlimCustomerFragment.model_rebuild()
|
|
2853
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2854
2852
|
SubscriptionFragment.model_rebuild()
|
|
2853
|
+
FeatureFragment.model_rebuild()
|
|
2854
|
+
EntitlementFragment.model_rebuild()
|
|
2855
2855
|
ApplySubscriptionFragment.model_rebuild()
|
|
2856
2856
|
FontVariantFragment.model_rebuild()
|
|
2857
2857
|
TypographyConfigurationFragment.model_rebuild()
|
|
2858
2858
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2859
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2860
2859
|
CouponFragment.model_rebuild()
|
|
2860
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2861
2861
|
CustomerFragment.model_rebuild()
|
|
2862
2862
|
CheckoutStateFragment.model_rebuild()
|
|
2863
2863
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2864
2864
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2865
2865
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2866
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2867
2866
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2868
2867
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2869
2868
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2870
2869
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2870
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2871
2871
|
CustomerPortalFragment.model_rebuild()
|
|
2872
2872
|
CustomerStatisticsFragment.model_rebuild()
|
|
2873
2873
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=Ax7idhOxqqwhmzBPImea0R-KRcq7j5EQNVAqUFbMl_8,3551
|
|
|
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=bgPTBmUh7y6RiDezW1GDuRdTR-WtutE3bpe4f_bWxvg,103354
|
|
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
|
|
@@ -161,7 +161,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
167
|
-
stigg_api_client_v2-2.
|
|
164
|
+
stigg_api_client_v2-2.462.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-2.462.2.dist-info/METADATA,sha256=H45q-rHnwuHG1b5jqnY41H8X7McMQu68En2TgAaaQIk,2258
|
|
166
|
+
stigg_api_client_v2-2.462.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-2.462.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|