stigg-api-client-v2 2.300.0__py3-none-any.whl → 2.302.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 +4 -0
- stigg/generated/enums.py +9 -0
- stigg/generated/fragments.py +368 -368
- stigg/generated/input_types.py +15 -0
- {stigg_api_client_v2-2.300.0.dist-info → stigg_api_client_v2-2.302.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.300.0.dist-info → stigg_api_client_v2-2.302.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-2.300.0.dist-info → stigg_api_client_v2-2.302.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.300.0.dist-info → stigg_api_client_v2-2.302.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -130,6 +130,7 @@ from .enums import (
|
|
|
130
130
|
UsageMeasurementSortFields,
|
|
131
131
|
UsageUpdateBehavior,
|
|
132
132
|
VendorIdentifier,
|
|
133
|
+
VendorType,
|
|
133
134
|
WeeklyAccordingTo,
|
|
134
135
|
WidgetType,
|
|
135
136
|
YearlyAccordingTo,
|
|
@@ -705,6 +706,7 @@ from .input_types import (
|
|
|
705
706
|
InitAddStripeCustomerPaymentMethodInput,
|
|
706
707
|
IntegrationFilter,
|
|
707
708
|
IntegrationSort,
|
|
709
|
+
IntegrationVendorTypeFilterComparison,
|
|
708
710
|
IntFieldComparison,
|
|
709
711
|
IntFieldComparisonBetween,
|
|
710
712
|
InviteMembersInput,
|
|
@@ -1321,6 +1323,7 @@ __all__ = [
|
|
|
1321
1323
|
"IntegrationFilter",
|
|
1322
1324
|
"IntegrationSort",
|
|
1323
1325
|
"IntegrationSortFields",
|
|
1326
|
+
"IntegrationVendorTypeFilterComparison",
|
|
1324
1327
|
"InviteMembersInput",
|
|
1325
1328
|
"InvoiceLineItemType",
|
|
1326
1329
|
"LayoutConfigurationFragment",
|
|
@@ -1811,6 +1814,7 @@ __all__ = [
|
|
|
1811
1814
|
"ValidateMergeEnvironmentInput",
|
|
1812
1815
|
"VendorIdentifier",
|
|
1813
1816
|
"VendorIdentifierFilterComparison",
|
|
1817
|
+
"VendorType",
|
|
1814
1818
|
"WeeklyAccordingTo",
|
|
1815
1819
|
"WeeklyResetPeriodConfigInput",
|
|
1816
1820
|
"WidgetConfigurationUpdateInput",
|
stigg/generated/enums.py
CHANGED
|
@@ -728,6 +728,7 @@ class IntegrationSortFields(str, Enum):
|
|
|
728
728
|
environmentId = "environmentId"
|
|
729
729
|
id = "id"
|
|
730
730
|
vendorIdentifier = "vendorIdentifier"
|
|
731
|
+
vendorType = "vendorType"
|
|
731
732
|
|
|
732
733
|
|
|
733
734
|
class InvoiceLineItemType(str, Enum):
|
|
@@ -1160,6 +1161,14 @@ class VendorIdentifier(str, Enum):
|
|
|
1160
1161
|
ZUORA = "ZUORA"
|
|
1161
1162
|
|
|
1162
1163
|
|
|
1164
|
+
class VendorType(str, Enum):
|
|
1165
|
+
AUTH = "AUTH"
|
|
1166
|
+
BILLING = "BILLING"
|
|
1167
|
+
CRM = "CRM"
|
|
1168
|
+
DATA_EXPORT = "DATA_EXPORT"
|
|
1169
|
+
MARKETPLACE = "MARKETPLACE"
|
|
1170
|
+
|
|
1171
|
+
|
|
1163
1172
|
class WeeklyAccordingTo(str, Enum):
|
|
1164
1173
|
EveryFriday = "EveryFriday"
|
|
1165
1174
|
EveryMonday = "EveryMonday"
|
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,29 +79,33 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
112
79
|
currency: Currency
|
|
113
80
|
|
|
114
81
|
|
|
115
|
-
class
|
|
82
|
+
class PriceFragment(BaseModel):
|
|
116
83
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
117
84
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
85
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
118
86
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
87
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
88
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
119
89
|
billing_country_code: Optional[str] = Field(
|
|
120
90
|
alias="billingCountryCode", default=None
|
|
121
91
|
)
|
|
122
|
-
price: Optional["
|
|
92
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
123
93
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
124
|
-
tiers: Optional[List["
|
|
125
|
-
feature: Optional["
|
|
94
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
95
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
96
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
126
97
|
|
|
127
98
|
|
|
128
|
-
class
|
|
99
|
+
class PriceFragmentPrice(BaseModel):
|
|
129
100
|
amount: float
|
|
130
101
|
currency: Currency
|
|
131
102
|
|
|
132
103
|
|
|
133
|
-
class
|
|
104
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
134
105
|
pass
|
|
135
106
|
|
|
136
107
|
|
|
137
|
-
class
|
|
108
|
+
class PriceFragmentFeature(BaseModel):
|
|
138
109
|
ref_id: str = Field(alias="refId")
|
|
139
110
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
140
111
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -144,33 +115,62 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
144
115
|
description: Optional[str] = Field(default=None)
|
|
145
116
|
|
|
146
117
|
|
|
147
|
-
class
|
|
118
|
+
class PackageEntitlementFragment(BaseModel):
|
|
119
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
120
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
121
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
122
|
+
feature_id: str = Field(alias="featureId")
|
|
123
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
124
|
+
alias="resetPeriod", default=None
|
|
125
|
+
)
|
|
126
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
127
|
+
alias="hiddenFromWidgets", default=None
|
|
128
|
+
)
|
|
129
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
130
|
+
display_name_override: Optional[str] = Field(
|
|
131
|
+
alias="displayNameOverride", default=None
|
|
132
|
+
)
|
|
133
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
137
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
138
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
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
|
+
ref_id: str = Field(alias="refId")
|
|
146
|
+
additional_meta_data: Optional[Any] = Field(
|
|
147
|
+
alias="additionalMetaData", default=None
|
|
148
|
+
)
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
class OveragePriceFragment(BaseModel):
|
|
148
152
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
149
153
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
150
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
151
154
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
152
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
153
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
154
155
|
billing_country_code: Optional[str] = Field(
|
|
155
156
|
alias="billingCountryCode", default=None
|
|
156
157
|
)
|
|
157
|
-
price: Optional["
|
|
158
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
158
159
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
159
|
-
tiers: Optional[List["
|
|
160
|
-
feature: Optional["
|
|
161
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
160
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
161
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
162
162
|
|
|
163
163
|
|
|
164
|
-
class
|
|
164
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
165
165
|
amount: float
|
|
166
166
|
currency: Currency
|
|
167
167
|
|
|
168
168
|
|
|
169
|
-
class
|
|
169
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
170
170
|
pass
|
|
171
171
|
|
|
172
172
|
|
|
173
|
-
class
|
|
173
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
174
174
|
ref_id: str = Field(alias="refId")
|
|
175
175
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
176
176
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -215,8 +215,87 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
215
215
|
pass
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
class
|
|
219
|
-
|
|
218
|
+
class FeatureFragment(BaseModel):
|
|
219
|
+
typename__: str = Field(alias="__typename")
|
|
220
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
221
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
222
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
223
|
+
feature_units_plural: Optional[str] = Field(
|
|
224
|
+
alias="featureUnitsPlural", default=None
|
|
225
|
+
)
|
|
226
|
+
description: Optional[str] = Field(default=None)
|
|
227
|
+
display_name: str = Field(alias="displayName")
|
|
228
|
+
ref_id: str = Field(alias="refId")
|
|
229
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
230
|
+
alias="unitTransformation", default=None
|
|
231
|
+
)
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
235
|
+
divide: float
|
|
236
|
+
round: UnitTransformationRound
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
class EntitlementFragment(BaseModel):
|
|
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)
|
|
247
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
248
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
249
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
250
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
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)
|
|
260
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
261
|
+
alias="resetPeriod", default=None
|
|
262
|
+
)
|
|
263
|
+
reset_period_configuration: Optional[
|
|
264
|
+
Annotated[
|
|
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
|
|
280
|
+
)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
284
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
285
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
286
|
+
alias="weeklyAccordingTo", default=None
|
|
287
|
+
)
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
291
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
292
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
293
|
+
alias="yearlyAccordingTo", default=None
|
|
294
|
+
)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
298
|
+
pass
|
|
220
299
|
|
|
221
300
|
|
|
222
301
|
class SlimCustomerFragment(BaseModel):
|
|
@@ -236,6 +315,10 @@ class SlimCustomerFragment(BaseModel):
|
|
|
236
315
|
)
|
|
237
316
|
|
|
238
317
|
|
|
318
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
319
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
320
|
+
|
|
321
|
+
|
|
239
322
|
class TotalPriceFragment(BaseModel):
|
|
240
323
|
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
241
324
|
total: "TotalPriceFragmentTotal"
|
|
@@ -251,6 +334,126 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
251
334
|
currency: Currency
|
|
252
335
|
|
|
253
336
|
|
|
337
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
338
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
339
|
+
display_name: str = Field(alias="displayName")
|
|
340
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
341
|
+
default=None
|
|
342
|
+
)
|
|
343
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
347
|
+
pass
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
351
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
352
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
class ProductFragment(BaseModel):
|
|
356
|
+
ref_id: str = Field(alias="refId")
|
|
357
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
358
|
+
description: Optional[str] = Field(default=None)
|
|
359
|
+
additional_meta_data: Optional[Any] = Field(
|
|
360
|
+
alias="additionalMetaData", default=None
|
|
361
|
+
)
|
|
362
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
366
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
367
|
+
alias="downgradePlan", default=None
|
|
368
|
+
)
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
372
|
+
ref_id: str = Field(alias="refId")
|
|
373
|
+
display_name: str = Field(alias="displayName")
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
class PlanFragment(BaseModel):
|
|
377
|
+
id: str
|
|
378
|
+
ref_id: str = Field(alias="refId")
|
|
379
|
+
display_name: str = Field(alias="displayName")
|
|
380
|
+
description: Optional[str] = Field(default=None)
|
|
381
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
382
|
+
version_number: int = Field(alias="versionNumber")
|
|
383
|
+
additional_meta_data: Optional[Any] = Field(
|
|
384
|
+
alias="additionalMetaData", default=None
|
|
385
|
+
)
|
|
386
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
387
|
+
alias="hiddenFromWidgets", default=None
|
|
388
|
+
)
|
|
389
|
+
product: "PlanFragmentProduct"
|
|
390
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
391
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
392
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
393
|
+
alias="inheritedEntitlements", default=None
|
|
394
|
+
)
|
|
395
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
396
|
+
alias="compatibleAddons", default=None
|
|
397
|
+
)
|
|
398
|
+
compatible_package_groups: Optional[
|
|
399
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
400
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
401
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
402
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
403
|
+
alias="overagePrices", default=None
|
|
404
|
+
)
|
|
405
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
406
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
407
|
+
alias="defaultTrialConfig", default=None
|
|
408
|
+
)
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
class PlanFragmentProduct(ProductFragment):
|
|
412
|
+
pass
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
416
|
+
ref_id: str = Field(alias="refId")
|
|
417
|
+
display_name: str = Field(alias="displayName")
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
421
|
+
pass
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
425
|
+
pass
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
429
|
+
pass
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
433
|
+
pass
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
class PlanFragmentPrices(PriceFragment):
|
|
437
|
+
pass
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
441
|
+
pass
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
445
|
+
duration: float
|
|
446
|
+
units: TrialPeriodUnits
|
|
447
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
448
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
449
|
+
alias="trialEndBehavior", default=None
|
|
450
|
+
)
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
454
|
+
limit: float
|
|
455
|
+
|
|
456
|
+
|
|
254
457
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
255
458
|
billing_id: str = Field(alias="billingId")
|
|
256
459
|
status: SubscriptionInvoiceStatus
|
|
@@ -277,6 +480,10 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
277
480
|
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
278
481
|
|
|
279
482
|
|
|
483
|
+
class CustomerResourceFragment(BaseModel):
|
|
484
|
+
resource_id: str = Field(alias="resourceId")
|
|
485
|
+
|
|
486
|
+
|
|
280
487
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
281
488
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
282
489
|
alias="subscriptionScheduleType"
|
|
@@ -340,215 +547,95 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(Base
|
|
|
340
547
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
341
548
|
billable_features: Optional[
|
|
342
549
|
List[
|
|
343
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
344
|
-
]
|
|
345
|
-
] = Field(alias="billableFeatures", default=None)
|
|
346
|
-
addons: Optional[
|
|
347
|
-
List[
|
|
348
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
349
|
-
]
|
|
350
|
-
] = Field(default=None)
|
|
351
|
-
price_overrides: Optional[
|
|
352
|
-
List[
|
|
353
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
354
|
-
]
|
|
355
|
-
] = Field(alias="priceOverrides", default=None)
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
359
|
-
BaseModel
|
|
360
|
-
):
|
|
361
|
-
feature_id: str = Field(alias="featureId")
|
|
362
|
-
quantity: float
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
366
|
-
BaseModel
|
|
367
|
-
):
|
|
368
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
369
|
-
quantity: float
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
373
|
-
BaseModel
|
|
374
|
-
):
|
|
375
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
376
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
377
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
381
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
382
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
383
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
384
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
385
|
-
billable_features: Optional[
|
|
386
|
-
List[
|
|
387
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
388
|
-
]
|
|
389
|
-
] = Field(alias="billableFeatures", default=None)
|
|
390
|
-
addons: Optional[
|
|
391
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
392
|
-
] = Field(default=None)
|
|
393
|
-
price_overrides: Optional[
|
|
394
|
-
List[
|
|
395
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
396
|
-
]
|
|
397
|
-
] = Field(alias="priceOverrides", default=None)
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
401
|
-
BaseModel
|
|
402
|
-
):
|
|
403
|
-
feature_id: str = Field(alias="featureId")
|
|
404
|
-
quantity: float
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
408
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
409
|
-
quantity: float
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
413
|
-
BaseModel
|
|
414
|
-
):
|
|
415
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
416
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
417
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
421
|
-
BaseModel
|
|
422
|
-
):
|
|
423
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
424
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
425
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
429
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
430
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
431
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
class ProductFragment(BaseModel):
|
|
435
|
-
ref_id: str = Field(alias="refId")
|
|
436
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
437
|
-
description: Optional[str] = Field(default=None)
|
|
438
|
-
additional_meta_data: Optional[Any] = Field(
|
|
439
|
-
alias="additionalMetaData", default=None
|
|
440
|
-
)
|
|
441
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
445
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
446
|
-
alias="downgradePlan", default=None
|
|
447
|
-
)
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
451
|
-
ref_id: str = Field(alias="refId")
|
|
452
|
-
display_name: str = Field(alias="displayName")
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
456
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
457
|
-
display_name: str = Field(alias="displayName")
|
|
458
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
459
|
-
default=None
|
|
460
|
-
)
|
|
461
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
465
|
-
pass
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
469
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
470
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
class PlanFragment(BaseModel):
|
|
474
|
-
id: str
|
|
475
|
-
ref_id: str = Field(alias="refId")
|
|
476
|
-
display_name: str = Field(alias="displayName")
|
|
477
|
-
description: Optional[str] = Field(default=None)
|
|
478
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
479
|
-
version_number: int = Field(alias="versionNumber")
|
|
480
|
-
additional_meta_data: Optional[Any] = Field(
|
|
481
|
-
alias="additionalMetaData", default=None
|
|
482
|
-
)
|
|
483
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
484
|
-
alias="hiddenFromWidgets", default=None
|
|
485
|
-
)
|
|
486
|
-
product: "PlanFragmentProduct"
|
|
487
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
488
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
489
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
490
|
-
alias="inheritedEntitlements", default=None
|
|
491
|
-
)
|
|
492
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
493
|
-
alias="compatibleAddons", default=None
|
|
494
|
-
)
|
|
495
|
-
compatible_package_groups: Optional[
|
|
496
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
497
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
498
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
499
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
500
|
-
alias="overagePrices", default=None
|
|
501
|
-
)
|
|
502
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
503
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
504
|
-
alias="defaultTrialConfig", default=None
|
|
505
|
-
)
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
class PlanFragmentProduct(ProductFragment):
|
|
509
|
-
pass
|
|
550
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
551
|
+
]
|
|
552
|
+
] = Field(alias="billableFeatures", default=None)
|
|
553
|
+
addons: Optional[
|
|
554
|
+
List[
|
|
555
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
556
|
+
]
|
|
557
|
+
] = Field(default=None)
|
|
558
|
+
price_overrides: Optional[
|
|
559
|
+
List[
|
|
560
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
561
|
+
]
|
|
562
|
+
] = Field(alias="priceOverrides", default=None)
|
|
510
563
|
|
|
511
564
|
|
|
512
|
-
class
|
|
513
|
-
|
|
514
|
-
|
|
565
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
566
|
+
BaseModel
|
|
567
|
+
):
|
|
568
|
+
feature_id: str = Field(alias="featureId")
|
|
569
|
+
quantity: float
|
|
515
570
|
|
|
516
571
|
|
|
517
|
-
class
|
|
518
|
-
|
|
572
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
573
|
+
BaseModel
|
|
574
|
+
):
|
|
575
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
576
|
+
quantity: float
|
|
519
577
|
|
|
520
578
|
|
|
521
|
-
class
|
|
522
|
-
|
|
579
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
580
|
+
BaseModel
|
|
581
|
+
):
|
|
582
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
583
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
584
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
523
585
|
|
|
524
586
|
|
|
525
|
-
class
|
|
526
|
-
|
|
587
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
588
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
589
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
590
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
591
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
592
|
+
billable_features: Optional[
|
|
593
|
+
List[
|
|
594
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
595
|
+
]
|
|
596
|
+
] = Field(alias="billableFeatures", default=None)
|
|
597
|
+
addons: Optional[
|
|
598
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
599
|
+
] = Field(default=None)
|
|
600
|
+
price_overrides: Optional[
|
|
601
|
+
List[
|
|
602
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
603
|
+
]
|
|
604
|
+
] = Field(alias="priceOverrides", default=None)
|
|
527
605
|
|
|
528
606
|
|
|
529
|
-
class
|
|
530
|
-
|
|
607
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
608
|
+
BaseModel
|
|
609
|
+
):
|
|
610
|
+
feature_id: str = Field(alias="featureId")
|
|
611
|
+
quantity: float
|
|
531
612
|
|
|
532
613
|
|
|
533
|
-
class
|
|
534
|
-
|
|
614
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
615
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
616
|
+
quantity: float
|
|
535
617
|
|
|
536
618
|
|
|
537
|
-
class
|
|
538
|
-
|
|
619
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
620
|
+
BaseModel
|
|
621
|
+
):
|
|
622
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
623
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
624
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
539
625
|
|
|
540
626
|
|
|
541
|
-
class
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
)
|
|
627
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
628
|
+
BaseModel
|
|
629
|
+
):
|
|
630
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
631
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
632
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
548
633
|
|
|
549
634
|
|
|
550
|
-
class
|
|
551
|
-
|
|
635
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
636
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
637
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
638
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
552
639
|
|
|
553
640
|
|
|
554
641
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -713,10 +800,6 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
713
800
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
714
801
|
|
|
715
802
|
|
|
716
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
717
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
718
|
-
|
|
719
|
-
|
|
720
803
|
class SubscriptionFragment(BaseModel):
|
|
721
804
|
id: str
|
|
722
805
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -826,89 +909,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
826
909
|
pass
|
|
827
910
|
|
|
828
911
|
|
|
829
|
-
class FeatureFragment(BaseModel):
|
|
830
|
-
typename__: str = Field(alias="__typename")
|
|
831
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
832
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
833
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
834
|
-
feature_units_plural: Optional[str] = Field(
|
|
835
|
-
alias="featureUnitsPlural", default=None
|
|
836
|
-
)
|
|
837
|
-
description: Optional[str] = Field(default=None)
|
|
838
|
-
display_name: str = Field(alias="displayName")
|
|
839
|
-
ref_id: str = Field(alias="refId")
|
|
840
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
841
|
-
alias="unitTransformation", default=None
|
|
842
|
-
)
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
846
|
-
divide: float
|
|
847
|
-
round: UnitTransformationRound
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
class EntitlementFragment(BaseModel):
|
|
851
|
-
typename__: str = Field(alias="__typename")
|
|
852
|
-
is_granted: bool = Field(alias="isGranted")
|
|
853
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
854
|
-
alias="accessDeniedReason", default=None
|
|
855
|
-
)
|
|
856
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
857
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
858
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
859
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
860
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
861
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
862
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
863
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
864
|
-
alias="entitlementUpdatedAt", default=None
|
|
865
|
-
)
|
|
866
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
867
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
868
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
869
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
870
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
871
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
872
|
-
alias="resetPeriod", default=None
|
|
873
|
-
)
|
|
874
|
-
reset_period_configuration: Optional[
|
|
875
|
-
Annotated[
|
|
876
|
-
Union[
|
|
877
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
878
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
879
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
880
|
-
],
|
|
881
|
-
Field(discriminator="typename__"),
|
|
882
|
-
]
|
|
883
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
884
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
888
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
889
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
890
|
-
alias="monthlyAccordingTo", default=None
|
|
891
|
-
)
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
895
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
896
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
897
|
-
alias="weeklyAccordingTo", default=None
|
|
898
|
-
)
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
902
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
903
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
904
|
-
alias="yearlyAccordingTo", default=None
|
|
905
|
-
)
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
909
|
-
pass
|
|
910
|
-
|
|
911
|
-
|
|
912
912
|
class ApplySubscriptionFragment(BaseModel):
|
|
913
913
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
914
914
|
default=None
|
|
@@ -1249,33 +1249,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1249
1249
|
pass
|
|
1250
1250
|
|
|
1251
1251
|
|
|
1252
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1253
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1254
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1255
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1256
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1257
|
-
default=None
|
|
1258
|
-
)
|
|
1259
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1260
|
-
default=None
|
|
1261
|
-
)
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1265
|
-
amount: float
|
|
1266
|
-
currency: Currency
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1270
|
-
id: str
|
|
1271
|
-
ref_id: str = Field(alias="refId")
|
|
1272
|
-
display_name: str = Field(alias="displayName")
|
|
1273
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1274
|
-
feature_units_plural: Optional[str] = Field(
|
|
1275
|
-
alias="featureUnitsPlural", default=None
|
|
1276
|
-
)
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
1252
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1280
1253
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1281
1254
|
alias="subscriptionScheduleType"
|
|
@@ -1445,6 +1418,33 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1445
1418
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1446
1419
|
|
|
1447
1420
|
|
|
1421
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1422
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1423
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1424
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1425
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1426
|
+
default=None
|
|
1427
|
+
)
|
|
1428
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1429
|
+
default=None
|
|
1430
|
+
)
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1434
|
+
amount: float
|
|
1435
|
+
currency: Currency
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1439
|
+
id: str
|
|
1440
|
+
ref_id: str = Field(alias="refId")
|
|
1441
|
+
display_name: str = Field(alias="displayName")
|
|
1442
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1443
|
+
feature_units_plural: Optional[str] = Field(
|
|
1444
|
+
alias="featureUnitsPlural", default=None
|
|
1445
|
+
)
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
1448
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1449
1449
|
addon_id: str = Field(alias="addonId")
|
|
1450
1450
|
description: Optional[str] = Field(default=None)
|
|
@@ -2762,24 +2762,24 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2762
2762
|
|
|
2763
2763
|
|
|
2764
2764
|
AddonDependencyFragment.model_rebuild()
|
|
2765
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2766
2765
|
PriceTierFragment.model_rebuild()
|
|
2767
|
-
OveragePriceFragment.model_rebuild()
|
|
2768
2766
|
PriceFragment.model_rebuild()
|
|
2767
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2768
|
+
OveragePriceFragment.model_rebuild()
|
|
2769
2769
|
AddonFragment.model_rebuild()
|
|
2770
|
-
|
|
2770
|
+
FeatureFragment.model_rebuild()
|
|
2771
|
+
EntitlementFragment.model_rebuild()
|
|
2771
2772
|
SlimCustomerFragment.model_rebuild()
|
|
2773
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2772
2774
|
TotalPriceFragment.model_rebuild()
|
|
2773
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2774
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2775
|
-
ProductFragment.model_rebuild()
|
|
2776
2775
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2776
|
+
ProductFragment.model_rebuild()
|
|
2777
2777
|
PlanFragment.model_rebuild()
|
|
2778
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2779
|
+
CustomerResourceFragment.model_rebuild()
|
|
2780
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2778
2781
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2779
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2780
2782
|
SubscriptionFragment.model_rebuild()
|
|
2781
|
-
FeatureFragment.model_rebuild()
|
|
2782
|
-
EntitlementFragment.model_rebuild()
|
|
2783
2783
|
ApplySubscriptionFragment.model_rebuild()
|
|
2784
2784
|
FontVariantFragment.model_rebuild()
|
|
2785
2785
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2791,8 +2791,8 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2791
2791
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2792
2792
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2794
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2795
2794
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2795
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2796
2796
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2797
2797
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2798
2798
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -92,6 +92,7 @@ from .enums import (
|
|
|
92
92
|
UsageMeasurementSortFields,
|
|
93
93
|
UsageUpdateBehavior,
|
|
94
94
|
VendorIdentifier,
|
|
95
|
+
VendorType,
|
|
95
96
|
WeeklyAccordingTo,
|
|
96
97
|
WidgetType,
|
|
97
98
|
YearlyAccordingTo,
|
|
@@ -664,6 +665,8 @@ class CreateIntegrationInput(BaseModel):
|
|
|
664
665
|
hubspot_credentials: Optional["HubspotCredentialsInput"] = Field(
|
|
665
666
|
alias="hubspotCredentials", default=None
|
|
666
667
|
)
|
|
668
|
+
integration_id: Optional[str] = Field(alias="integrationId", default=None)
|
|
669
|
+
is_default: Optional[bool] = Field(alias="isDefault", default=None)
|
|
667
670
|
open_fga_credentials: Optional["OpenFGACredentialsInput"] = Field(
|
|
668
671
|
alias="openFGACredentials", default=None
|
|
669
672
|
)
|
|
@@ -2068,6 +2071,9 @@ class IntegrationFilter(BaseModel):
|
|
|
2068
2071
|
vendor_identifier: Optional["VendorIdentifierFilterComparison"] = Field(
|
|
2069
2072
|
alias="vendorIdentifier", default=None
|
|
2070
2073
|
)
|
|
2074
|
+
vendor_type: Optional["IntegrationVendorTypeFilterComparison"] = Field(
|
|
2075
|
+
alias="vendorType", default=None
|
|
2076
|
+
)
|
|
2071
2077
|
|
|
2072
2078
|
|
|
2073
2079
|
class IntegrationSort(BaseModel):
|
|
@@ -2076,6 +2082,13 @@ class IntegrationSort(BaseModel):
|
|
|
2076
2082
|
nulls: Optional[SortNulls] = None
|
|
2077
2083
|
|
|
2078
2084
|
|
|
2085
|
+
class IntegrationVendorTypeFilterComparison(BaseModel):
|
|
2086
|
+
eq: Optional[VendorType] = None
|
|
2087
|
+
in_: Optional[List[VendorType]] = Field(alias="in", default=None)
|
|
2088
|
+
neq: Optional[VendorType] = None
|
|
2089
|
+
not_in: Optional[List[VendorType]] = Field(alias="notIn", default=None)
|
|
2090
|
+
|
|
2091
|
+
|
|
2079
2092
|
class InviteMembersInput(BaseModel):
|
|
2080
2093
|
account_role: Optional[AccountAccessRole] = Field(alias="accountRole", default=None)
|
|
2081
2094
|
invites: List[str]
|
|
@@ -4319,6 +4332,8 @@ class UpdateIntegrationInput(BaseModel):
|
|
|
4319
4332
|
auth_0_credentials: Optional["Auth0CredentialsInput"] = Field(
|
|
4320
4333
|
alias="auth0Credentials", default=None
|
|
4321
4334
|
)
|
|
4335
|
+
integration_id: Optional[str] = Field(alias="integrationId", default=None)
|
|
4336
|
+
is_default: Optional[bool] = Field(alias="isDefault", default=None)
|
|
4322
4337
|
open_fga_credentials: Optional["OpenFGACredentialsInput"] = Field(
|
|
4323
4338
|
alias="openFGACredentials", default=None
|
|
4324
4339
|
)
|
|
@@ -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=FxJlqh8IEwKzJECAEGOCLD_sSnKX9mKD4btTX9JS3aA,69004
|
|
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
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=kyCBdkWtzkXjq7jXseqxl41-UAAne0jJiFvcXlCmNzo,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=pc9LCxX-JHp05iOwlZI6QCpzXH5kinzBRAvgTHMBXyE,34336
|
|
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=9jo0Ao2H1k8tVyQBWUWVec6eww-rOdGvY5ak_s1d4P8,100553
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -144,7 +144,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
144
144
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
145
145
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
146
146
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
147
|
-
stigg/generated/input_types.py,sha256=
|
|
147
|
+
stigg/generated/input_types.py,sha256=5qbyq8kDEoYPGCkd9xUiH2vKAkzS8wq2OHa5Gohtwl8,191124
|
|
148
148
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
149
149
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
150
150
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.302.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.302.0.dist-info/METADATA,sha256=vj2lxZ5WCqh7ZDGpD-cFdK3Sq0Gdx0Ifa8zbuPMl6h0,2258
|
|
165
|
+
stigg_api_client_v2-2.302.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.302.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|