stigg-api-client-v2 3.54.0__py3-none-any.whl → 3.57.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/__init__.py +6 -0
- stigg/generated/fragments.py +367 -367
- stigg/generated/input_types.py +22 -0
- {stigg_api_client_v2-3.54.0.dist-info → stigg_api_client_v2-3.57.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.54.0.dist-info → stigg_api_client_v2-3.57.0.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-3.54.0.dist-info → stigg_api_client_v2-3.57.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.54.0.dist-info → stigg_api_client_v2-3.57.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -742,6 +742,7 @@ from .input_types import (
|
|
|
742
742
|
GetWidgetConfigurationInput,
|
|
743
743
|
GetWorkflowTriggersInput,
|
|
744
744
|
GrantPromotionalEntitlementInput,
|
|
745
|
+
GrantPromotionalEntitlementsGroupInput,
|
|
745
746
|
GrantPromotionalEntitlementsInput,
|
|
746
747
|
HookFilter,
|
|
747
748
|
HookSort,
|
|
@@ -847,6 +848,7 @@ from .input_types import (
|
|
|
847
848
|
ReportUsageInput,
|
|
848
849
|
ResyncIntegrationInput,
|
|
849
850
|
RevokePromotionalEntitlementInput,
|
|
851
|
+
RevokePromotionalEntitlementsGroupInput,
|
|
850
852
|
SalesforceCredentialsInput,
|
|
851
853
|
SetAccessRolesInput,
|
|
852
854
|
SetBasePlanOnPlanInput,
|
|
@@ -919,6 +921,7 @@ from .input_types import (
|
|
|
919
921
|
UnitsInput,
|
|
920
922
|
UnitTransformationInput,
|
|
921
923
|
UnlinkFeatureGroupFromPackageInput,
|
|
924
|
+
UnlinkPromotionalEntitlementsGroupInput,
|
|
922
925
|
UpdateAccountInput,
|
|
923
926
|
UpdateCouponInput,
|
|
924
927
|
UpdateCreditGrantInput,
|
|
@@ -1385,6 +1388,7 @@ __all__ = [
|
|
|
1385
1388
|
"GrantPromotionalEntitlementInput",
|
|
1386
1389
|
"GrantPromotionalEntitlements",
|
|
1387
1390
|
"GrantPromotionalEntitlementsGrantPromotionalEntitlements",
|
|
1391
|
+
"GrantPromotionalEntitlementsGroupInput",
|
|
1388
1392
|
"GrantPromotionalEntitlementsInput",
|
|
1389
1393
|
"GraphQLClientError",
|
|
1390
1394
|
"GraphQLClientGraphQLError",
|
|
@@ -1646,6 +1650,7 @@ __all__ = [
|
|
|
1646
1650
|
"RevokePromotionalEntitlement",
|
|
1647
1651
|
"RevokePromotionalEntitlementInput",
|
|
1648
1652
|
"RevokePromotionalEntitlementRevokePromotionalEntitlement",
|
|
1653
|
+
"RevokePromotionalEntitlementsGroupInput",
|
|
1649
1654
|
"SalesforceCredentialsInput",
|
|
1650
1655
|
"ScheduleStrategy",
|
|
1651
1656
|
"SetAccessRolesInput",
|
|
@@ -1898,6 +1903,7 @@ __all__ = [
|
|
|
1898
1903
|
"UnitTransformationRound",
|
|
1899
1904
|
"UnitsInput",
|
|
1900
1905
|
"UnlinkFeatureGroupFromPackageInput",
|
|
1906
|
+
"UnlinkPromotionalEntitlementsGroupInput",
|
|
1901
1907
|
"UpdateAccountInput",
|
|
1902
1908
|
"UpdateCouponInput",
|
|
1903
1909
|
"UpdateCreditGrantInput",
|
stigg/generated/fragments.py
CHANGED
|
@@ -116,41 +116,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
116
116
|
currency: Currency
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
class
|
|
119
|
+
class OveragePriceFragment(BaseModel):
|
|
120
120
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
121
121
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
122
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
123
122
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
124
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
125
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
126
123
|
billing_country_code: Optional[str] = Field(
|
|
127
124
|
alias="billingCountryCode", default=None
|
|
128
125
|
)
|
|
129
|
-
price: Optional["
|
|
130
|
-
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
131
|
-
alias="creditRate", default=None
|
|
132
|
-
)
|
|
126
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
133
127
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
134
|
-
tiers: Optional[List["
|
|
135
|
-
feature: Optional["
|
|
136
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
128
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
129
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
137
130
|
|
|
138
131
|
|
|
139
|
-
class
|
|
132
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
140
133
|
amount: float
|
|
141
134
|
currency: Currency
|
|
142
135
|
|
|
143
136
|
|
|
144
|
-
class
|
|
145
|
-
amount: float
|
|
146
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
class PriceFragmentTiers(PriceTierFragment):
|
|
137
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
150
138
|
pass
|
|
151
139
|
|
|
152
140
|
|
|
153
|
-
class
|
|
141
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
154
142
|
ref_id: str = Field(alias="refId")
|
|
155
143
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
156
144
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -160,29 +148,41 @@ class PriceFragmentFeature(BaseModel):
|
|
|
160
148
|
description: Optional[str] = Field(default=None)
|
|
161
149
|
|
|
162
150
|
|
|
163
|
-
class
|
|
151
|
+
class PriceFragment(BaseModel):
|
|
164
152
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
165
153
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
154
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
166
155
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
156
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
157
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
167
158
|
billing_country_code: Optional[str] = Field(
|
|
168
159
|
alias="billingCountryCode", default=None
|
|
169
160
|
)
|
|
170
|
-
price: Optional["
|
|
161
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
162
|
+
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
163
|
+
alias="creditRate", default=None
|
|
164
|
+
)
|
|
171
165
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
172
|
-
tiers: Optional[List["
|
|
173
|
-
feature: Optional["
|
|
166
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
167
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
168
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
174
169
|
|
|
175
170
|
|
|
176
|
-
class
|
|
171
|
+
class PriceFragmentPrice(BaseModel):
|
|
177
172
|
amount: float
|
|
178
173
|
currency: Currency
|
|
179
174
|
|
|
180
175
|
|
|
181
|
-
class
|
|
176
|
+
class PriceFragmentCreditRate(BaseModel):
|
|
177
|
+
amount: float
|
|
178
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
182
182
|
pass
|
|
183
183
|
|
|
184
184
|
|
|
185
|
-
class
|
|
185
|
+
class PriceFragmentFeature(BaseModel):
|
|
186
186
|
ref_id: str = Field(alias="refId")
|
|
187
187
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
188
188
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -230,179 +230,89 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
230
230
|
pass
|
|
231
231
|
|
|
232
232
|
|
|
233
|
-
class
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
customer_id: str = Field(alias="customerId")
|
|
241
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
242
|
-
additional_meta_data: Optional[Any] = Field(
|
|
243
|
-
alias="additionalMetaData", default=None
|
|
233
|
+
class FeatureFragment(BaseModel):
|
|
234
|
+
typename__: str = Field(alias="__typename")
|
|
235
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
236
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
237
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
238
|
+
feature_units_plural: Optional[str] = Field(
|
|
239
|
+
alias="featureUnitsPlural", default=None
|
|
244
240
|
)
|
|
245
|
-
|
|
246
|
-
|
|
241
|
+
description: Optional[str] = Field(default=None)
|
|
242
|
+
display_name: str = Field(alias="displayName")
|
|
243
|
+
ref_id: str = Field(alias="refId")
|
|
244
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
245
|
+
alias="unitTransformation", default=None
|
|
247
246
|
)
|
|
248
247
|
|
|
249
248
|
|
|
250
|
-
class
|
|
251
|
-
|
|
252
|
-
|
|
249
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
250
|
+
divide: float
|
|
251
|
+
round: UnitTransformationRound
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
class EntitlementFragment(BaseModel):
|
|
255
|
+
typename__: str = Field(alias="__typename")
|
|
256
|
+
is_granted: bool = Field(alias="isGranted")
|
|
257
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
258
|
+
alias="accessDeniedReason", default=None
|
|
253
259
|
)
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
260
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
261
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
262
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
263
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
264
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
265
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
266
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
267
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
268
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
269
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
270
|
+
alias="entitlementUpdatedAt", default=None
|
|
258
271
|
)
|
|
259
|
-
|
|
272
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
273
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
274
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
275
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
276
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
277
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
278
|
+
alias="resetPeriod", default=None
|
|
279
|
+
)
|
|
280
|
+
reset_period_configuration: Optional[
|
|
260
281
|
Annotated[
|
|
261
282
|
Union[
|
|
262
|
-
"
|
|
263
|
-
"
|
|
264
|
-
"
|
|
265
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
266
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
267
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
268
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
269
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
283
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
284
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
285
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
270
286
|
],
|
|
271
287
|
Field(discriminator="typename__"),
|
|
272
288
|
]
|
|
273
|
-
] = Field(alias="
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
277
|
-
id: Any
|
|
278
|
-
ref_id: str = Field(alias="refId")
|
|
279
|
-
display_name: str = Field(alias="displayName")
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
283
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
284
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
285
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
289
|
-
BaseModel
|
|
290
|
-
):
|
|
291
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
292
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
293
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
297
|
-
BaseModel
|
|
298
|
-
):
|
|
299
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
300
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
304
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
308
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
309
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
310
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
311
|
-
billable_features: Optional[
|
|
312
|
-
List[
|
|
313
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
314
|
-
]
|
|
315
|
-
] = Field(alias="billableFeatures", default=None)
|
|
316
|
-
addons: Optional[
|
|
317
|
-
List[
|
|
318
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
319
|
-
]
|
|
320
|
-
] = Field(default=None)
|
|
321
|
-
price_overrides: Optional[
|
|
322
|
-
List[
|
|
323
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
324
|
-
]
|
|
325
|
-
] = Field(alias="priceOverrides", default=None)
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
329
|
-
BaseModel
|
|
330
|
-
):
|
|
331
|
-
feature_id: str = Field(alias="featureId")
|
|
332
|
-
quantity: float
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
336
|
-
BaseModel
|
|
337
|
-
):
|
|
338
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
339
|
-
quantity: float
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
343
|
-
BaseModel
|
|
344
|
-
):
|
|
345
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
346
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
347
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
351
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
352
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
353
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
354
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
355
|
-
billable_features: Optional[
|
|
356
|
-
List[
|
|
357
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
358
|
-
]
|
|
359
|
-
] = Field(alias="billableFeatures", default=None)
|
|
360
|
-
addons: Optional[
|
|
361
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
362
|
-
] = Field(default=None)
|
|
363
|
-
price_overrides: Optional[
|
|
364
|
-
List[
|
|
365
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
366
|
-
]
|
|
367
|
-
] = Field(alias="priceOverrides", default=None)
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
371
|
-
BaseModel
|
|
372
|
-
):
|
|
373
|
-
feature_id: str = Field(alias="featureId")
|
|
374
|
-
quantity: float
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
378
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
379
|
-
quantity: float
|
|
289
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
290
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
380
291
|
|
|
381
292
|
|
|
382
|
-
class
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
293
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
294
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
295
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
296
|
+
alias="monthlyAccordingTo", default=None
|
|
297
|
+
)
|
|
388
298
|
|
|
389
299
|
|
|
390
|
-
class
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
300
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
301
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
302
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
303
|
+
alias="weeklyAccordingTo", default=None
|
|
304
|
+
)
|
|
396
305
|
|
|
397
306
|
|
|
398
|
-
class
|
|
399
|
-
typename__: Literal["
|
|
400
|
-
|
|
401
|
-
|
|
307
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
308
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
309
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
310
|
+
alias="yearlyAccordingTo", default=None
|
|
311
|
+
)
|
|
402
312
|
|
|
403
313
|
|
|
404
|
-
class
|
|
405
|
-
|
|
314
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
315
|
+
pass
|
|
406
316
|
|
|
407
317
|
|
|
408
318
|
class TotalPriceFragment(BaseModel):
|
|
@@ -420,22 +330,8 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
420
330
|
currency: Currency
|
|
421
331
|
|
|
422
332
|
|
|
423
|
-
class
|
|
424
|
-
|
|
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)
|
|
333
|
+
class CustomerResourceFragment(BaseModel):
|
|
334
|
+
resource_id: str = Field(alias="resourceId")
|
|
439
335
|
|
|
440
336
|
|
|
441
337
|
class ProductFragment(BaseModel):
|
|
@@ -459,6 +355,24 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
459
355
|
display_name: str = Field(alias="displayName")
|
|
460
356
|
|
|
461
357
|
|
|
358
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
359
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
360
|
+
display_name: str = Field(alias="displayName")
|
|
361
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
362
|
+
default=None
|
|
363
|
+
)
|
|
364
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
368
|
+
pass
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
372
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
373
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
374
|
+
|
|
375
|
+
|
|
462
376
|
class PlanFragment(BaseModel):
|
|
463
377
|
id: Any
|
|
464
378
|
ref_id: str = Field(alias="refId")
|
|
@@ -540,6 +454,10 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
540
454
|
limit: float
|
|
541
455
|
|
|
542
456
|
|
|
457
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
458
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
459
|
+
|
|
460
|
+
|
|
543
461
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
544
462
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
545
463
|
alias="subscriptionScheduleType"
|
|
@@ -702,10 +620,6 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
702
620
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
703
621
|
|
|
704
622
|
|
|
705
|
-
class CustomerResourceFragment(BaseModel):
|
|
706
|
-
resource_id: str = Field(alias="resourceId")
|
|
707
|
-
|
|
708
|
-
|
|
709
623
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
710
624
|
billing_id: str = Field(alias="billingId")
|
|
711
625
|
status: SubscriptionInvoiceStatus
|
|
@@ -734,6 +648,177 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
734
648
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
735
649
|
|
|
736
650
|
|
|
651
|
+
class SlimCustomerFragment(BaseModel):
|
|
652
|
+
id: Any
|
|
653
|
+
name: Optional[str] = Field(default=None)
|
|
654
|
+
email: Optional[str] = Field(default=None)
|
|
655
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
656
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
657
|
+
ref_id: str = Field(alias="refId")
|
|
658
|
+
customer_id: str = Field(alias="customerId")
|
|
659
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
660
|
+
additional_meta_data: Optional[Any] = Field(
|
|
661
|
+
alias="additionalMetaData", default=None
|
|
662
|
+
)
|
|
663
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
664
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
665
|
+
)
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
669
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
670
|
+
alias="subscriptionScheduleType"
|
|
671
|
+
)
|
|
672
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
673
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
674
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
675
|
+
alias="targetPackage", default=None
|
|
676
|
+
)
|
|
677
|
+
schedule_variables: Optional[
|
|
678
|
+
Annotated[
|
|
679
|
+
Union[
|
|
680
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
681
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
682
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
683
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
684
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
685
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
686
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
687
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
688
|
+
],
|
|
689
|
+
Field(discriminator="typename__"),
|
|
690
|
+
]
|
|
691
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
695
|
+
id: Any
|
|
696
|
+
ref_id: str = Field(alias="refId")
|
|
697
|
+
display_name: str = Field(alias="displayName")
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
701
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
702
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
703
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
707
|
+
BaseModel
|
|
708
|
+
):
|
|
709
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
710
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
711
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
715
|
+
BaseModel
|
|
716
|
+
):
|
|
717
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
718
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
722
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
726
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
727
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
728
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
729
|
+
billable_features: Optional[
|
|
730
|
+
List[
|
|
731
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
732
|
+
]
|
|
733
|
+
] = Field(alias="billableFeatures", default=None)
|
|
734
|
+
addons: Optional[
|
|
735
|
+
List[
|
|
736
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
737
|
+
]
|
|
738
|
+
] = Field(default=None)
|
|
739
|
+
price_overrides: Optional[
|
|
740
|
+
List[
|
|
741
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
742
|
+
]
|
|
743
|
+
] = Field(alias="priceOverrides", default=None)
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
747
|
+
BaseModel
|
|
748
|
+
):
|
|
749
|
+
feature_id: str = Field(alias="featureId")
|
|
750
|
+
quantity: float
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
754
|
+
BaseModel
|
|
755
|
+
):
|
|
756
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
757
|
+
quantity: float
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
761
|
+
BaseModel
|
|
762
|
+
):
|
|
763
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
764
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
765
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
769
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
770
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
771
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
772
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
773
|
+
billable_features: Optional[
|
|
774
|
+
List[
|
|
775
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
776
|
+
]
|
|
777
|
+
] = Field(alias="billableFeatures", default=None)
|
|
778
|
+
addons: Optional[
|
|
779
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
780
|
+
] = Field(default=None)
|
|
781
|
+
price_overrides: Optional[
|
|
782
|
+
List[
|
|
783
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
784
|
+
]
|
|
785
|
+
] = Field(alias="priceOverrides", default=None)
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
789
|
+
BaseModel
|
|
790
|
+
):
|
|
791
|
+
feature_id: str = Field(alias="featureId")
|
|
792
|
+
quantity: float
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
796
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
797
|
+
quantity: float
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
801
|
+
BaseModel
|
|
802
|
+
):
|
|
803
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
804
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
805
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
809
|
+
BaseModel
|
|
810
|
+
):
|
|
811
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
812
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
813
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
817
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
818
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
819
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
820
|
+
|
|
821
|
+
|
|
737
822
|
class SubscriptionFragment(BaseModel):
|
|
738
823
|
id: Any
|
|
739
824
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -843,91 +928,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
843
928
|
pass
|
|
844
929
|
|
|
845
930
|
|
|
846
|
-
class FeatureFragment(BaseModel):
|
|
847
|
-
typename__: str = Field(alias="__typename")
|
|
848
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
849
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
850
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
851
|
-
feature_units_plural: Optional[str] = Field(
|
|
852
|
-
alias="featureUnitsPlural", default=None
|
|
853
|
-
)
|
|
854
|
-
description: Optional[str] = Field(default=None)
|
|
855
|
-
display_name: str = Field(alias="displayName")
|
|
856
|
-
ref_id: str = Field(alias="refId")
|
|
857
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
858
|
-
alias="unitTransformation", default=None
|
|
859
|
-
)
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
863
|
-
divide: float
|
|
864
|
-
round: UnitTransformationRound
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
class EntitlementFragment(BaseModel):
|
|
868
|
-
typename__: str = Field(alias="__typename")
|
|
869
|
-
is_granted: bool = Field(alias="isGranted")
|
|
870
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
871
|
-
alias="accessDeniedReason", default=None
|
|
872
|
-
)
|
|
873
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
874
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
875
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
876
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
877
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
878
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
879
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
880
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
881
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
882
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
883
|
-
alias="entitlementUpdatedAt", default=None
|
|
884
|
-
)
|
|
885
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
886
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
887
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
888
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
889
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
890
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
891
|
-
alias="resetPeriod", default=None
|
|
892
|
-
)
|
|
893
|
-
reset_period_configuration: Optional[
|
|
894
|
-
Annotated[
|
|
895
|
-
Union[
|
|
896
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
897
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
898
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
899
|
-
],
|
|
900
|
-
Field(discriminator="typename__"),
|
|
901
|
-
]
|
|
902
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
903
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
907
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
908
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
909
|
-
alias="monthlyAccordingTo", default=None
|
|
910
|
-
)
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
914
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
915
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
916
|
-
alias="weeklyAccordingTo", default=None
|
|
917
|
-
)
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
921
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
922
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
923
|
-
alias="yearlyAccordingTo", default=None
|
|
924
|
-
)
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
928
|
-
pass
|
|
929
|
-
|
|
930
|
-
|
|
931
931
|
class ApplySubscriptionFragment(BaseModel):
|
|
932
932
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
933
933
|
default=None
|
|
@@ -1005,6 +1005,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1005
1005
|
)
|
|
1006
1006
|
|
|
1007
1007
|
|
|
1008
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1009
|
+
status: PromotionalEntitlementStatus
|
|
1010
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1011
|
+
feature_id: Any = Field(alias="featureId")
|
|
1012
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1013
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1014
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1015
|
+
alias="resetPeriod", default=None
|
|
1016
|
+
)
|
|
1017
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1018
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1019
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1023
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1024
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1025
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1026
|
+
feature_units_plural: Optional[str] = Field(
|
|
1027
|
+
alias="featureUnitsPlural", default=None
|
|
1028
|
+
)
|
|
1029
|
+
display_name: str = Field(alias="displayName")
|
|
1030
|
+
description: Optional[str] = Field(default=None)
|
|
1031
|
+
ref_id: str = Field(alias="refId")
|
|
1032
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1033
|
+
alias="additionalMetaData", default=None
|
|
1034
|
+
)
|
|
1035
|
+
|
|
1036
|
+
|
|
1008
1037
|
class CouponFragment(BaseModel):
|
|
1009
1038
|
id: Any
|
|
1010
1039
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1039,35 +1068,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1039
1068
|
status: SyncStatus
|
|
1040
1069
|
|
|
1041
1070
|
|
|
1042
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1043
|
-
status: PromotionalEntitlementStatus
|
|
1044
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1045
|
-
feature_id: Any = Field(alias="featureId")
|
|
1046
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1047
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1048
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1049
|
-
alias="resetPeriod", default=None
|
|
1050
|
-
)
|
|
1051
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1052
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1053
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1057
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1058
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1059
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1060
|
-
feature_units_plural: Optional[str] = Field(
|
|
1061
|
-
alias="featureUnitsPlural", default=None
|
|
1062
|
-
)
|
|
1063
|
-
display_name: str = Field(alias="displayName")
|
|
1064
|
-
description: Optional[str] = Field(default=None)
|
|
1065
|
-
ref_id: str = Field(alias="refId")
|
|
1066
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1067
|
-
alias="additionalMetaData", default=None
|
|
1068
|
-
)
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
1071
|
class CustomerFragment(SlimCustomerFragment):
|
|
1072
1072
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1073
1073
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1318,39 +1318,14 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1318
1318
|
pass
|
|
1319
1319
|
|
|
1320
1320
|
|
|
1321
|
-
class
|
|
1322
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1323
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1324
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1325
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1326
|
-
default=None
|
|
1327
|
-
)
|
|
1328
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1329
|
-
alias="creditRate", default=None
|
|
1330
|
-
)
|
|
1331
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1332
|
-
default=None
|
|
1333
|
-
)
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1337
|
-
amount: float
|
|
1338
|
-
currency: Currency
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1342
|
-
amount: float
|
|
1343
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1347
|
-
id: Any
|
|
1348
|
-
ref_id: str = Field(alias="refId")
|
|
1321
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1349
1322
|
display_name: str = Field(alias="displayName")
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1323
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1324
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1325
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1326
|
+
period: PromotionalEntitlementPeriod
|
|
1327
|
+
start_date: Any = Field(alias="startDate")
|
|
1328
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1354
1329
|
|
|
1355
1330
|
|
|
1356
1331
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
@@ -1529,6 +1504,41 @@ class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
|
1529
1504
|
quantity: int
|
|
1530
1505
|
|
|
1531
1506
|
|
|
1507
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1508
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1509
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1510
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1511
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1512
|
+
default=None
|
|
1513
|
+
)
|
|
1514
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1515
|
+
alias="creditRate", default=None
|
|
1516
|
+
)
|
|
1517
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1518
|
+
default=None
|
|
1519
|
+
)
|
|
1520
|
+
|
|
1521
|
+
|
|
1522
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1523
|
+
amount: float
|
|
1524
|
+
currency: Currency
|
|
1525
|
+
|
|
1526
|
+
|
|
1527
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1528
|
+
amount: float
|
|
1529
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1530
|
+
|
|
1531
|
+
|
|
1532
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1533
|
+
id: Any
|
|
1534
|
+
ref_id: str = Field(alias="refId")
|
|
1535
|
+
display_name: str = Field(alias="displayName")
|
|
1536
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1537
|
+
feature_units_plural: Optional[str] = Field(
|
|
1538
|
+
alias="featureUnitsPlural", default=None
|
|
1539
|
+
)
|
|
1540
|
+
|
|
1541
|
+
|
|
1532
1542
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1533
1543
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1534
1544
|
plan_id: str = Field(alias="planId")
|
|
@@ -1633,16 +1643,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1633
1643
|
pass
|
|
1634
1644
|
|
|
1635
1645
|
|
|
1636
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1637
|
-
display_name: str = Field(alias="displayName")
|
|
1638
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1639
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1640
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1641
|
-
period: PromotionalEntitlementPeriod
|
|
1642
|
-
start_date: Any = Field(alias="startDate")
|
|
1643
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
1646
|
class CustomerPortalFragment(BaseModel):
|
|
1647
1647
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1648
1648
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2922,28 +2922,28 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2922
2922
|
AddonDependencyFragment.model_rebuild()
|
|
2923
2923
|
PackageEntitlementFragment.model_rebuild()
|
|
2924
2924
|
PriceTierFragment.model_rebuild()
|
|
2925
|
-
PriceFragment.model_rebuild()
|
|
2926
2925
|
OveragePriceFragment.model_rebuild()
|
|
2926
|
+
PriceFragment.model_rebuild()
|
|
2927
2927
|
AddonFragment.model_rebuild()
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2928
|
+
FeatureFragment.model_rebuild()
|
|
2929
|
+
EntitlementFragment.model_rebuild()
|
|
2931
2930
|
TotalPriceFragment.model_rebuild()
|
|
2932
|
-
|
|
2931
|
+
CustomerResourceFragment.model_rebuild()
|
|
2933
2932
|
ProductFragment.model_rebuild()
|
|
2933
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2934
2934
|
PlanFragment.model_rebuild()
|
|
2935
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2935
2936
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2936
|
-
CustomerResourceFragment.model_rebuild()
|
|
2937
2937
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2938
|
+
SlimCustomerFragment.model_rebuild()
|
|
2939
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2938
2940
|
SubscriptionFragment.model_rebuild()
|
|
2939
|
-
FeatureFragment.model_rebuild()
|
|
2940
|
-
EntitlementFragment.model_rebuild()
|
|
2941
2941
|
ApplySubscriptionFragment.model_rebuild()
|
|
2942
2942
|
FontVariantFragment.model_rebuild()
|
|
2943
2943
|
TypographyConfigurationFragment.model_rebuild()
|
|
2944
2944
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2945
|
-
CouponFragment.model_rebuild()
|
|
2946
2945
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2946
|
+
CouponFragment.model_rebuild()
|
|
2947
2947
|
CustomerFragment.model_rebuild()
|
|
2948
2948
|
CheckoutStateFragment.model_rebuild()
|
|
2949
2949
|
CreditGrantFragment.model_rebuild()
|
|
@@ -2951,11 +2951,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
2951
2951
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2952
2952
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2953
2953
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2954
|
-
|
|
2954
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2955
2955
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2956
2956
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2957
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2957
2958
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2958
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2959
2959
|
CustomerPortalFragment.model_rebuild()
|
|
2960
2960
|
CustomerStatisticsFragment.model_rebuild()
|
|
2961
2961
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -2074,6 +2074,15 @@ class GrantPromotionalEntitlementInput(BaseModel):
|
|
|
2074
2074
|
)
|
|
2075
2075
|
|
|
2076
2076
|
|
|
2077
|
+
class GrantPromotionalEntitlementsGroupInput(BaseModel):
|
|
2078
|
+
customer_id: str = Field(alias="customerId")
|
|
2079
|
+
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
2080
|
+
feature_group_id: Any = Field(alias="featureGroupId")
|
|
2081
|
+
promotional_entitlements: List["GrantPromotionalEntitlementInput"] = Field(
|
|
2082
|
+
alias="promotionalEntitlements"
|
|
2083
|
+
)
|
|
2084
|
+
|
|
2085
|
+
|
|
2077
2086
|
class GrantPromotionalEntitlementsInput(BaseModel):
|
|
2078
2087
|
customer_id: str = Field(alias="customerId")
|
|
2079
2088
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
@@ -3265,6 +3274,7 @@ class PromotionalEntitlementInput(BaseModel):
|
|
|
3265
3274
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
3266
3275
|
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
3267
3276
|
environment_id: Any = Field(alias="environmentId")
|
|
3277
|
+
feature_group_id: Optional[Any] = Field(alias="featureGroupId", default=None)
|
|
3268
3278
|
feature_id: str = Field(alias="featureId")
|
|
3269
3279
|
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
3270
3280
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -3633,6 +3643,12 @@ class RevokePromotionalEntitlementInput(BaseModel):
|
|
|
3633
3643
|
feature_id: str = Field(alias="featureId")
|
|
3634
3644
|
|
|
3635
3645
|
|
|
3646
|
+
class RevokePromotionalEntitlementsGroupInput(BaseModel):
|
|
3647
|
+
customer_id: str = Field(alias="customerId")
|
|
3648
|
+
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
3649
|
+
feature_group_id: Any = Field(alias="featureGroupId")
|
|
3650
|
+
|
|
3651
|
+
|
|
3636
3652
|
class SalesforceCredentialsInput(BaseModel):
|
|
3637
3653
|
domain: Optional[str] = None
|
|
3638
3654
|
|
|
@@ -4558,6 +4574,12 @@ class UnlinkFeatureGroupFromPackageInput(BaseModel):
|
|
|
4558
4574
|
package_id: Any = Field(alias="packageId")
|
|
4559
4575
|
|
|
4560
4576
|
|
|
4577
|
+
class UnlinkPromotionalEntitlementsGroupInput(BaseModel):
|
|
4578
|
+
customer_id: str = Field(alias="customerId")
|
|
4579
|
+
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
4580
|
+
feature_group_id: Any = Field(alias="featureGroupId")
|
|
4581
|
+
|
|
4582
|
+
|
|
4561
4583
|
class UpdateAccountInput(BaseModel):
|
|
4562
4584
|
access_method: Optional[AccountAccessMethod] = Field(
|
|
4563
4585
|
alias="accessMethod", default=None
|
|
@@ -106,7 +106,7 @@ stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
106
106
|
stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
107
107
|
stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE,sha256=qeGG88oWte74QxjnpwFyE1GgDLe4rjpDlLZ7SeNSnvM,1129
|
|
108
108
|
stigg/client.py,sha256=RWrVnxo9zHFXka8KJVE4sMgyek70ispQk0vqOINCvM0,8335
|
|
109
|
-
stigg/generated/__init__.py,sha256=
|
|
109
|
+
stigg/generated/__init__.py,sha256=IeT9vYKGoOkdNAwqm8twvLl2bY81EWGKg8iMZWrlyrk,74024
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=4wSfEXeZZqMSjsCsSG8baVg3Si8sjzV3bp_unHWHBtQ,3800
|
|
|
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=oYIuruveDeiPlVlEsnvoovdEIcuKkCkMcn8KhWjbB2E,106791
|
|
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
|
|
@@ -148,7 +148,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
148
148
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
149
149
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
150
150
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
151
|
-
stigg/generated/input_types.py,sha256=
|
|
151
|
+
stigg/generated/input_types.py,sha256=bUURVQwCdG8107n9upwWwhqcZn13baH2fH11X7izw00,207174
|
|
152
152
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
153
153
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
154
154
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -164,7 +164,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
164
164
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
165
165
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
166
166
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
167
|
-
stigg_api_client_v2-3.
|
|
168
|
-
stigg_api_client_v2-3.
|
|
169
|
-
stigg_api_client_v2-3.
|
|
170
|
-
stigg_api_client_v2-3.
|
|
167
|
+
stigg_api_client_v2-3.57.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
168
|
+
stigg_api_client_v2-3.57.0.dist-info/METADATA,sha256=EPE3uugAezp5To0tgljlnLU5G7BwaxTQW080mQ4uJks,2257
|
|
169
|
+
stigg_api_client_v2-3.57.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
170
|
+
stigg_api_client_v2-3.57.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|