stigg-api-client-v2 2.323.0__py3-none-any.whl → 2.323.4__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 +0 -2
- stigg/generated/fragments.py +406 -406
- {stigg_api_client_v2-2.323.0.dist-info → stigg_api_client_v2-2.323.4.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.323.0.dist-info → stigg_api_client_v2-2.323.4.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-2.323.0.dist-info → stigg_api_client_v2-2.323.4.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.323.0.dist-info → stigg_api_client_v2-2.323.4.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -457,8 +457,6 @@ class ErrorCode(str, Enum):
|
|
|
457
457
|
"FreePlanCantHaveCompatiblePackageGroupError"
|
|
458
458
|
)
|
|
459
459
|
GraphQLAliasesLimitExceeded = "GraphQLAliasesLimitExceeded"
|
|
460
|
-
GraphQLBatchedOperationsLimitExceeded = "GraphQLBatchedOperationsLimitExceeded"
|
|
461
|
-
GraphQLUnsupportedDirective = "GraphQLUnsupportedDirective"
|
|
462
460
|
HubspotIntegrationError = "HubspotIntegrationError"
|
|
463
461
|
IdentityForbidden = "IdentityForbidden"
|
|
464
462
|
ImportAlreadyInProgress = "ImportAlreadyInProgress"
|
stigg/generated/fragments.py
CHANGED
|
@@ -59,39 +59,6 @@ class AddonDependencyFragment(BaseModel):
|
|
|
59
59
|
description: Optional[str] = Field(default=None)
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
class PackageEntitlementFragment(BaseModel):
|
|
63
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
64
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
65
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
66
|
-
feature_id: str = Field(alias="featureId")
|
|
67
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
68
|
-
alias="resetPeriod", default=None
|
|
69
|
-
)
|
|
70
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
71
|
-
alias="hiddenFromWidgets", default=None
|
|
72
|
-
)
|
|
73
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
74
|
-
display_name_override: Optional[str] = Field(
|
|
75
|
-
alias="displayNameOverride", default=None
|
|
76
|
-
)
|
|
77
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
81
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
82
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
83
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
84
|
-
feature_units_plural: Optional[str] = Field(
|
|
85
|
-
alias="featureUnitsPlural", default=None
|
|
86
|
-
)
|
|
87
|
-
display_name: str = Field(alias="displayName")
|
|
88
|
-
description: Optional[str] = Field(default=None)
|
|
89
|
-
ref_id: str = Field(alias="refId")
|
|
90
|
-
additional_meta_data: Optional[Any] = Field(
|
|
91
|
-
alias="additionalMetaData", default=None
|
|
92
|
-
)
|
|
93
|
-
|
|
94
|
-
|
|
95
62
|
class PriceTierFragment(BaseModel):
|
|
96
63
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
97
64
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -112,38 +79,6 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
112
79
|
currency: Currency
|
|
113
80
|
|
|
114
81
|
|
|
115
|
-
class OveragePriceFragment(BaseModel):
|
|
116
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
117
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
118
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
119
|
-
billing_country_code: Optional[str] = Field(
|
|
120
|
-
alias="billingCountryCode", default=None
|
|
121
|
-
)
|
|
122
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
123
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
124
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
125
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
129
|
-
amount: float
|
|
130
|
-
currency: Currency
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
134
|
-
pass
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
138
|
-
ref_id: str = Field(alias="refId")
|
|
139
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
140
|
-
feature_units_plural: Optional[str] = Field(
|
|
141
|
-
alias="featureUnitsPlural", default=None
|
|
142
|
-
)
|
|
143
|
-
display_name: str = Field(alias="displayName")
|
|
144
|
-
description: Optional[str] = Field(default=None)
|
|
145
|
-
|
|
146
|
-
|
|
147
82
|
class PriceFragment(BaseModel):
|
|
148
83
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
149
84
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -180,261 +115,104 @@ class PriceFragmentFeature(BaseModel):
|
|
|
180
115
|
description: Optional[str] = Field(default=None)
|
|
181
116
|
|
|
182
117
|
|
|
183
|
-
class
|
|
184
|
-
|
|
185
|
-
|
|
118
|
+
class OveragePriceFragment(BaseModel):
|
|
119
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
120
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
186
121
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
additional_meta_data: Optional[Any] = Field(
|
|
190
|
-
alias="additionalMetaData", default=None
|
|
191
|
-
)
|
|
192
|
-
entitlements: Optional[List["AddonFragmentEntitlements"]] = Field(default=None)
|
|
193
|
-
prices: Optional[List["AddonFragmentPrices"]] = Field(default=None)
|
|
194
|
-
overage_prices: Optional[List["AddonFragmentOveragePrices"]] = Field(
|
|
195
|
-
alias="overagePrices", default=None
|
|
122
|
+
billing_country_code: Optional[str] = Field(
|
|
123
|
+
alias="billingCountryCode", default=None
|
|
196
124
|
)
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
class AddonFragmentEntitlements(PackageEntitlementFragment):
|
|
203
|
-
pass
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
class AddonFragmentPrices(PriceFragment):
|
|
207
|
-
pass
|
|
125
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
126
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
127
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
128
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
208
129
|
|
|
209
130
|
|
|
210
|
-
class
|
|
211
|
-
|
|
131
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
132
|
+
amount: float
|
|
133
|
+
currency: Currency
|
|
212
134
|
|
|
213
135
|
|
|
214
|
-
class
|
|
136
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
215
137
|
pass
|
|
216
138
|
|
|
217
139
|
|
|
218
|
-
class
|
|
219
|
-
|
|
220
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
221
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
140
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
141
|
+
ref_id: str = Field(alias="refId")
|
|
222
142
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
223
143
|
feature_units_plural: Optional[str] = Field(
|
|
224
144
|
alias="featureUnitsPlural", default=None
|
|
225
145
|
)
|
|
226
|
-
description: Optional[str] = Field(default=None)
|
|
227
146
|
display_name: str = Field(alias="displayName")
|
|
228
|
-
|
|
229
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
230
|
-
alias="unitTransformation", default=None
|
|
231
|
-
)
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
235
|
-
divide: float
|
|
236
|
-
round: UnitTransformationRound
|
|
147
|
+
description: Optional[str] = Field(default=None)
|
|
237
148
|
|
|
238
149
|
|
|
239
|
-
class
|
|
240
|
-
typename__: str = Field(alias="__typename")
|
|
241
|
-
is_granted: bool = Field(alias="isGranted")
|
|
242
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
243
|
-
alias="accessDeniedReason", default=None
|
|
244
|
-
)
|
|
245
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
246
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
150
|
+
class PackageEntitlementFragment(BaseModel):
|
|
247
151
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
248
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
152
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
249
153
|
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
250
|
-
|
|
251
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
252
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
253
|
-
alias="entitlementUpdatedAt", default=None
|
|
254
|
-
)
|
|
255
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
256
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
257
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
258
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
259
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
154
|
+
feature_id: str = Field(alias="featureId")
|
|
260
155
|
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
261
156
|
alias="resetPeriod", default=None
|
|
262
157
|
)
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
Union[
|
|
266
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
267
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
268
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
269
|
-
],
|
|
270
|
-
Field(discriminator="typename__"),
|
|
271
|
-
]
|
|
272
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
273
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
277
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
278
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
279
|
-
alias="monthlyAccordingTo", default=None
|
|
158
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
159
|
+
alias="hiddenFromWidgets", default=None
|
|
280
160
|
)
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
285
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
286
|
-
alias="weeklyAccordingTo", default=None
|
|
161
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
162
|
+
display_name_override: Optional[str] = Field(
|
|
163
|
+
alias="displayNameOverride", default=None
|
|
287
164
|
)
|
|
165
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
288
166
|
|
|
289
167
|
|
|
290
|
-
class
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
168
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
169
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
170
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
171
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
172
|
+
feature_units_plural: Optional[str] = Field(
|
|
173
|
+
alias="featureUnitsPlural", default=None
|
|
294
174
|
)
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
298
|
-
pass
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
class ProductFragment(BaseModel):
|
|
302
|
-
ref_id: str = Field(alias="refId")
|
|
303
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
175
|
+
display_name: str = Field(alias="displayName")
|
|
304
176
|
description: Optional[str] = Field(default=None)
|
|
177
|
+
ref_id: str = Field(alias="refId")
|
|
305
178
|
additional_meta_data: Optional[Any] = Field(
|
|
306
179
|
alias="additionalMetaData", default=None
|
|
307
180
|
)
|
|
308
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
309
181
|
|
|
310
182
|
|
|
311
|
-
class
|
|
312
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
313
|
-
alias="downgradePlan", default=None
|
|
314
|
-
)
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
318
|
-
ref_id: str = Field(alias="refId")
|
|
319
|
-
display_name: str = Field(alias="displayName")
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
323
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
324
|
-
display_name: str = Field(alias="displayName")
|
|
325
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
326
|
-
default=None
|
|
327
|
-
)
|
|
328
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
332
|
-
pass
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
336
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
337
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
class PlanFragment(BaseModel):
|
|
183
|
+
class AddonFragment(BaseModel):
|
|
341
184
|
id: str
|
|
342
185
|
ref_id: str = Field(alias="refId")
|
|
186
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
343
187
|
display_name: str = Field(alias="displayName")
|
|
344
188
|
description: Optional[str] = Field(default=None)
|
|
345
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
346
|
-
version_number: int = Field(alias="versionNumber")
|
|
347
189
|
additional_meta_data: Optional[Any] = Field(
|
|
348
190
|
alias="additionalMetaData", default=None
|
|
349
191
|
)
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
)
|
|
359
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
360
|
-
alias="compatibleAddons", default=None
|
|
361
|
-
)
|
|
362
|
-
compatible_package_groups: Optional[
|
|
363
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
364
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
365
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
366
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
367
|
-
alias="overagePrices", default=None
|
|
368
|
-
)
|
|
369
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
370
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
371
|
-
alias="defaultTrialConfig", default=None
|
|
372
|
-
)
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
class PlanFragmentProduct(ProductFragment):
|
|
376
|
-
pass
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
380
|
-
ref_id: str = Field(alias="refId")
|
|
381
|
-
display_name: str = Field(alias="displayName")
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
385
|
-
pass
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
389
|
-
pass
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
393
|
-
pass
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
397
|
-
pass
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
class PlanFragmentPrices(PriceFragment):
|
|
401
|
-
pass
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
405
|
-
pass
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
409
|
-
duration: float
|
|
410
|
-
units: TrialPeriodUnits
|
|
411
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
412
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
413
|
-
alias="trialEndBehavior", default=None
|
|
414
|
-
)
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
418
|
-
limit: float
|
|
192
|
+
entitlements: Optional[List["AddonFragmentEntitlements"]] = Field(default=None)
|
|
193
|
+
prices: Optional[List["AddonFragmentPrices"]] = Field(default=None)
|
|
194
|
+
overage_prices: Optional[List["AddonFragmentOveragePrices"]] = Field(
|
|
195
|
+
alias="overagePrices", default=None
|
|
196
|
+
)
|
|
197
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
198
|
+
max_quantity: Optional[float] = Field(alias="maxQuantity", default=None)
|
|
199
|
+
dependencies: Optional[List["AddonFragmentDependencies"]] = Field(default=None)
|
|
419
200
|
|
|
420
201
|
|
|
421
|
-
class
|
|
422
|
-
|
|
423
|
-
total: "TotalPriceFragmentTotal"
|
|
202
|
+
class AddonFragmentEntitlements(PackageEntitlementFragment):
|
|
203
|
+
pass
|
|
424
204
|
|
|
425
205
|
|
|
426
|
-
class
|
|
427
|
-
|
|
428
|
-
currency: Currency
|
|
206
|
+
class AddonFragmentPrices(PriceFragment):
|
|
207
|
+
pass
|
|
429
208
|
|
|
430
209
|
|
|
431
|
-
class
|
|
432
|
-
|
|
433
|
-
currency: Currency
|
|
210
|
+
class AddonFragmentOveragePrices(OveragePriceFragment):
|
|
211
|
+
pass
|
|
434
212
|
|
|
435
213
|
|
|
436
|
-
class
|
|
437
|
-
|
|
214
|
+
class AddonFragmentDependencies(AddonDependencyFragment):
|
|
215
|
+
pass
|
|
438
216
|
|
|
439
217
|
|
|
440
218
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
@@ -591,50 +369,6 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
591
369
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
592
370
|
|
|
593
371
|
|
|
594
|
-
class SlimCustomerFragment(BaseModel):
|
|
595
|
-
id: str
|
|
596
|
-
name: Optional[str] = Field(default=None)
|
|
597
|
-
email: Optional[str] = Field(default=None)
|
|
598
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
599
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
600
|
-
ref_id: str = Field(alias="refId")
|
|
601
|
-
customer_id: str = Field(alias="customerId")
|
|
602
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
603
|
-
additional_meta_data: Optional[Any] = Field(
|
|
604
|
-
alias="additionalMetaData", default=None
|
|
605
|
-
)
|
|
606
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
607
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
608
|
-
)
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
612
|
-
billing_id: str = Field(alias="billingId")
|
|
613
|
-
status: SubscriptionInvoiceStatus
|
|
614
|
-
created_at: Any = Field(alias="createdAt")
|
|
615
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
616
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
617
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
618
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
619
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
620
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
621
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
622
|
-
alias="billingReason", default=None
|
|
623
|
-
)
|
|
624
|
-
currency: Optional[str] = Field(default=None)
|
|
625
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
626
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
627
|
-
alias="subTotalExcludingTax", default=None
|
|
628
|
-
)
|
|
629
|
-
total: Optional[float] = Field(default=None)
|
|
630
|
-
total_excluding_tax: Optional[float] = Field(
|
|
631
|
-
alias="totalExcludingTax", default=None
|
|
632
|
-
)
|
|
633
|
-
tax: Optional[float] = Field(default=None)
|
|
634
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
635
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
636
|
-
|
|
637
|
-
|
|
638
372
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
639
373
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
640
374
|
alias="subscriptionScheduleType"
|
|
@@ -773,32 +507,215 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
|
773
507
|
quantity: float
|
|
774
508
|
|
|
775
509
|
|
|
776
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
777
|
-
BaseModel
|
|
778
|
-
):
|
|
779
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
780
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
781
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
510
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
511
|
+
BaseModel
|
|
512
|
+
):
|
|
513
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
514
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
515
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
519
|
+
BaseModel
|
|
520
|
+
):
|
|
521
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
522
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
523
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
527
|
+
BaseModel
|
|
528
|
+
):
|
|
529
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
530
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
531
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
535
|
+
billing_id: str = Field(alias="billingId")
|
|
536
|
+
status: SubscriptionInvoiceStatus
|
|
537
|
+
created_at: Any = Field(alias="createdAt")
|
|
538
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
539
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
540
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
541
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
542
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
543
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
544
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
545
|
+
alias="billingReason", default=None
|
|
546
|
+
)
|
|
547
|
+
currency: Optional[str] = Field(default=None)
|
|
548
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
549
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
550
|
+
alias="subTotalExcludingTax", default=None
|
|
551
|
+
)
|
|
552
|
+
total: Optional[float] = Field(default=None)
|
|
553
|
+
total_excluding_tax: Optional[float] = Field(
|
|
554
|
+
alias="totalExcludingTax", default=None
|
|
555
|
+
)
|
|
556
|
+
tax: Optional[float] = Field(default=None)
|
|
557
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
558
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
562
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
class TotalPriceFragment(BaseModel):
|
|
566
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
567
|
+
total: "TotalPriceFragmentTotal"
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
571
|
+
amount: float
|
|
572
|
+
currency: Currency
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
576
|
+
amount: float
|
|
577
|
+
currency: Currency
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
class CustomerResourceFragment(BaseModel):
|
|
581
|
+
resource_id: str = Field(alias="resourceId")
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
class SlimCustomerFragment(BaseModel):
|
|
585
|
+
id: str
|
|
586
|
+
name: Optional[str] = Field(default=None)
|
|
587
|
+
email: Optional[str] = Field(default=None)
|
|
588
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
589
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
590
|
+
ref_id: str = Field(alias="refId")
|
|
591
|
+
customer_id: str = Field(alias="customerId")
|
|
592
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
593
|
+
additional_meta_data: Optional[Any] = Field(
|
|
594
|
+
alias="additionalMetaData", default=None
|
|
595
|
+
)
|
|
596
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
597
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
598
|
+
)
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
class ProductFragment(BaseModel):
|
|
602
|
+
ref_id: str = Field(alias="refId")
|
|
603
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
604
|
+
description: Optional[str] = Field(default=None)
|
|
605
|
+
additional_meta_data: Optional[Any] = Field(
|
|
606
|
+
alias="additionalMetaData", default=None
|
|
607
|
+
)
|
|
608
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
612
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
613
|
+
alias="downgradePlan", default=None
|
|
614
|
+
)
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
618
|
+
ref_id: str = Field(alias="refId")
|
|
619
|
+
display_name: str = Field(alias="displayName")
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
623
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
624
|
+
display_name: str = Field(alias="displayName")
|
|
625
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
626
|
+
default=None
|
|
627
|
+
)
|
|
628
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
632
|
+
pass
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
636
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
637
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
class PlanFragment(BaseModel):
|
|
641
|
+
id: str
|
|
642
|
+
ref_id: str = Field(alias="refId")
|
|
643
|
+
display_name: str = Field(alias="displayName")
|
|
644
|
+
description: Optional[str] = Field(default=None)
|
|
645
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
646
|
+
version_number: int = Field(alias="versionNumber")
|
|
647
|
+
additional_meta_data: Optional[Any] = Field(
|
|
648
|
+
alias="additionalMetaData", default=None
|
|
649
|
+
)
|
|
650
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
651
|
+
alias="hiddenFromWidgets", default=None
|
|
652
|
+
)
|
|
653
|
+
product: "PlanFragmentProduct"
|
|
654
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
655
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
656
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
657
|
+
alias="inheritedEntitlements", default=None
|
|
658
|
+
)
|
|
659
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
660
|
+
alias="compatibleAddons", default=None
|
|
661
|
+
)
|
|
662
|
+
compatible_package_groups: Optional[
|
|
663
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
664
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
665
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
666
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
667
|
+
alias="overagePrices", default=None
|
|
668
|
+
)
|
|
669
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
670
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
671
|
+
alias="defaultTrialConfig", default=None
|
|
672
|
+
)
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
class PlanFragmentProduct(ProductFragment):
|
|
676
|
+
pass
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
680
|
+
ref_id: str = Field(alias="refId")
|
|
681
|
+
display_name: str = Field(alias="displayName")
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
685
|
+
pass
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
689
|
+
pass
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
693
|
+
pass
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
697
|
+
pass
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
class PlanFragmentPrices(PriceFragment):
|
|
701
|
+
pass
|
|
782
702
|
|
|
783
703
|
|
|
784
|
-
class
|
|
785
|
-
|
|
786
|
-
):
|
|
787
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
788
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
789
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
704
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
705
|
+
pass
|
|
790
706
|
|
|
791
707
|
|
|
792
|
-
class
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
708
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
709
|
+
duration: float
|
|
710
|
+
units: TrialPeriodUnits
|
|
711
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
712
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
713
|
+
alias="trialEndBehavior", default=None
|
|
714
|
+
)
|
|
798
715
|
|
|
799
716
|
|
|
800
|
-
class
|
|
801
|
-
|
|
717
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
718
|
+
limit: float
|
|
802
719
|
|
|
803
720
|
|
|
804
721
|
class SubscriptionFragment(BaseModel):
|
|
@@ -910,6 +827,89 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
910
827
|
pass
|
|
911
828
|
|
|
912
829
|
|
|
830
|
+
class FeatureFragment(BaseModel):
|
|
831
|
+
typename__: str = Field(alias="__typename")
|
|
832
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
833
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
834
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
835
|
+
feature_units_plural: Optional[str] = Field(
|
|
836
|
+
alias="featureUnitsPlural", default=None
|
|
837
|
+
)
|
|
838
|
+
description: Optional[str] = Field(default=None)
|
|
839
|
+
display_name: str = Field(alias="displayName")
|
|
840
|
+
ref_id: str = Field(alias="refId")
|
|
841
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
842
|
+
alias="unitTransformation", default=None
|
|
843
|
+
)
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
847
|
+
divide: float
|
|
848
|
+
round: UnitTransformationRound
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
class EntitlementFragment(BaseModel):
|
|
852
|
+
typename__: str = Field(alias="__typename")
|
|
853
|
+
is_granted: bool = Field(alias="isGranted")
|
|
854
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
855
|
+
alias="accessDeniedReason", default=None
|
|
856
|
+
)
|
|
857
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
858
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
859
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
860
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
861
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
862
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
863
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
864
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
865
|
+
alias="entitlementUpdatedAt", default=None
|
|
866
|
+
)
|
|
867
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
868
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
869
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
870
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
871
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
872
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
873
|
+
alias="resetPeriod", default=None
|
|
874
|
+
)
|
|
875
|
+
reset_period_configuration: Optional[
|
|
876
|
+
Annotated[
|
|
877
|
+
Union[
|
|
878
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
879
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
880
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
881
|
+
],
|
|
882
|
+
Field(discriminator="typename__"),
|
|
883
|
+
]
|
|
884
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
885
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
889
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
890
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
891
|
+
alias="monthlyAccordingTo", default=None
|
|
892
|
+
)
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
896
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
897
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
898
|
+
alias="weeklyAccordingTo", default=None
|
|
899
|
+
)
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
903
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
904
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
905
|
+
alias="yearlyAccordingTo", default=None
|
|
906
|
+
)
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
910
|
+
pass
|
|
911
|
+
|
|
912
|
+
|
|
913
913
|
class ApplySubscriptionFragment(BaseModel):
|
|
914
914
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
915
915
|
default=None
|
|
@@ -987,6 +987,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
987
987
|
)
|
|
988
988
|
|
|
989
989
|
|
|
990
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
991
|
+
status: PromotionalEntitlementStatus
|
|
992
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
993
|
+
feature_id: str = Field(alias="featureId")
|
|
994
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
995
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
996
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
997
|
+
alias="resetPeriod", default=None
|
|
998
|
+
)
|
|
999
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1000
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1001
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1005
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1006
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1007
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1008
|
+
feature_units_plural: Optional[str] = Field(
|
|
1009
|
+
alias="featureUnitsPlural", default=None
|
|
1010
|
+
)
|
|
1011
|
+
display_name: str = Field(alias="displayName")
|
|
1012
|
+
description: Optional[str] = Field(default=None)
|
|
1013
|
+
ref_id: str = Field(alias="refId")
|
|
1014
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1015
|
+
alias="additionalMetaData", default=None
|
|
1016
|
+
)
|
|
1017
|
+
|
|
1018
|
+
|
|
990
1019
|
class CouponFragment(BaseModel):
|
|
991
1020
|
id: str
|
|
992
1021
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1021,35 +1050,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1021
1050
|
status: SyncStatus
|
|
1022
1051
|
|
|
1023
1052
|
|
|
1024
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1025
|
-
status: PromotionalEntitlementStatus
|
|
1026
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1027
|
-
feature_id: str = Field(alias="featureId")
|
|
1028
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1029
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1030
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1031
|
-
alias="resetPeriod", default=None
|
|
1032
|
-
)
|
|
1033
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1034
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1035
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1039
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1040
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1041
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1042
|
-
feature_units_plural: Optional[str] = Field(
|
|
1043
|
-
alias="featureUnitsPlural", default=None
|
|
1044
|
-
)
|
|
1045
|
-
display_name: str = Field(alias="displayName")
|
|
1046
|
-
description: Optional[str] = Field(default=None)
|
|
1047
|
-
ref_id: str = Field(alias="refId")
|
|
1048
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1049
|
-
alias="additionalMetaData", default=None
|
|
1050
|
-
)
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
1053
|
class CustomerFragment(SlimCustomerFragment):
|
|
1054
1054
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1055
1055
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1250,33 +1250,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1250
1250
|
pass
|
|
1251
1251
|
|
|
1252
1252
|
|
|
1253
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1254
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1255
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1256
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1257
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1258
|
-
default=None
|
|
1259
|
-
)
|
|
1260
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1261
|
-
default=None
|
|
1262
|
-
)
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1266
|
-
amount: float
|
|
1267
|
-
currency: Currency
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1271
|
-
id: str
|
|
1272
|
-
ref_id: str = Field(alias="refId")
|
|
1273
|
-
display_name: str = Field(alias="displayName")
|
|
1274
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1275
|
-
feature_units_plural: Optional[str] = Field(
|
|
1276
|
-
alias="featureUnitsPlural", default=None
|
|
1277
|
-
)
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
1253
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1281
1254
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1282
1255
|
alias="subscriptionScheduleType"
|
|
@@ -1453,6 +1426,33 @@ class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
|
1453
1426
|
quantity: int
|
|
1454
1427
|
|
|
1455
1428
|
|
|
1429
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1430
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1431
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1432
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1433
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1434
|
+
default=None
|
|
1435
|
+
)
|
|
1436
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1437
|
+
default=None
|
|
1438
|
+
)
|
|
1439
|
+
|
|
1440
|
+
|
|
1441
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1442
|
+
amount: float
|
|
1443
|
+
currency: Currency
|
|
1444
|
+
|
|
1445
|
+
|
|
1446
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1447
|
+
id: str
|
|
1448
|
+
ref_id: str = Field(alias="refId")
|
|
1449
|
+
display_name: str = Field(alias="displayName")
|
|
1450
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1451
|
+
feature_units_plural: Optional[str] = Field(
|
|
1452
|
+
alias="featureUnitsPlural", default=None
|
|
1453
|
+
)
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
1456
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1457
1457
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1458
1458
|
plan_id: str = Field(alias="planId")
|
|
@@ -2763,38 +2763,38 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2763
2763
|
|
|
2764
2764
|
|
|
2765
2765
|
AddonDependencyFragment.model_rebuild()
|
|
2766
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2767
2766
|
PriceTierFragment.model_rebuild()
|
|
2768
|
-
OveragePriceFragment.model_rebuild()
|
|
2769
2767
|
PriceFragment.model_rebuild()
|
|
2768
|
+
OveragePriceFragment.model_rebuild()
|
|
2769
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2770
2770
|
AddonFragment.model_rebuild()
|
|
2771
|
-
FeatureFragment.model_rebuild()
|
|
2772
|
-
EntitlementFragment.model_rebuild()
|
|
2773
|
-
ProductFragment.model_rebuild()
|
|
2774
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2775
|
-
PlanFragment.model_rebuild()
|
|
2776
|
-
TotalPriceFragment.model_rebuild()
|
|
2777
|
-
CustomerResourceFragment.model_rebuild()
|
|
2778
2771
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2779
|
-
SlimCustomerFragment.model_rebuild()
|
|
2780
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2781
2772
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2773
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2782
2774
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2775
|
+
TotalPriceFragment.model_rebuild()
|
|
2776
|
+
CustomerResourceFragment.model_rebuild()
|
|
2777
|
+
SlimCustomerFragment.model_rebuild()
|
|
2778
|
+
ProductFragment.model_rebuild()
|
|
2779
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2780
|
+
PlanFragment.model_rebuild()
|
|
2783
2781
|
SubscriptionFragment.model_rebuild()
|
|
2782
|
+
FeatureFragment.model_rebuild()
|
|
2783
|
+
EntitlementFragment.model_rebuild()
|
|
2784
2784
|
ApplySubscriptionFragment.model_rebuild()
|
|
2785
2785
|
FontVariantFragment.model_rebuild()
|
|
2786
2786
|
TypographyConfigurationFragment.model_rebuild()
|
|
2787
2787
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2788
|
-
CouponFragment.model_rebuild()
|
|
2789
2788
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2789
|
+
CouponFragment.model_rebuild()
|
|
2790
2790
|
CustomerFragment.model_rebuild()
|
|
2791
2791
|
CheckoutStateFragment.model_rebuild()
|
|
2792
2792
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2794
2794
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2795
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2796
2795
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2797
2796
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2797
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2798
2798
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2799
2799
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalFragment.model_rebuild()
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=AHebP8X0jl5noIxkZwMgE-EOE3e5lv-tGrCj2xDt58c,169
|
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
122
|
-
stigg/generated/enums.py,sha256=
|
|
122
|
+
stigg/generated/enums.py,sha256=h9LSA5nwfWf-0PfV_KXU4DVxr07T_9ZF4LcYXGRIMxY,34540
|
|
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=TxbVYIup3a6K4GVhfm8hhJaoy0wuoT0H3ca-oz0BTJA,100632
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.323.
|
|
164
|
-
stigg_api_client_v2-2.323.
|
|
165
|
-
stigg_api_client_v2-2.323.
|
|
166
|
-
stigg_api_client_v2-2.323.
|
|
163
|
+
stigg_api_client_v2-2.323.4.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.323.4.dist-info/METADATA,sha256=oBnTjTCJsD0iK2qgHH04C73AeqncmmczCrZ9lPYSOo8,2258
|
|
165
|
+
stigg_api_client_v2-2.323.4.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.323.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|