stigg-api-client-v2 3.64.0__py3-none-any.whl → 3.66.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 +2 -0
- stigg/generated/enums.py +1 -0
- stigg/generated/fragments.py +195 -195
- stigg/generated/input_types.py +12 -3
- {stigg_api_client_v2-3.64.0.dist-info → stigg_api_client_v2-3.66.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.64.0.dist-info → stigg_api_client_v2-3.66.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-3.64.0.dist-info → stigg_api_client_v2-3.66.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.64.0.dist-info → stigg_api_client_v2-3.66.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -805,6 +805,7 @@ from .input_types import (
|
|
|
805
805
|
PackagePublishInput,
|
|
806
806
|
PackageStatusFilterComparison,
|
|
807
807
|
PaymentCollectionFilterComparison,
|
|
808
|
+
PaymentSessionInput,
|
|
808
809
|
PaywallColorsPaletteInput,
|
|
809
810
|
PaywallConfigurationInput,
|
|
810
811
|
PaywallLayoutConfigurationInput,
|
|
@@ -1541,6 +1542,7 @@ __all__ = [
|
|
|
1541
1542
|
"PaymentCollectionFilterComparison",
|
|
1542
1543
|
"PaymentCollectionMethod",
|
|
1543
1544
|
"PaymentMethodType",
|
|
1545
|
+
"PaymentSessionInput",
|
|
1544
1546
|
"PaywallCalculatedPricePointsFragment",
|
|
1545
1547
|
"PaywallCalculatedPricePointsFragmentFeature",
|
|
1546
1548
|
"PaywallColorsPaletteInput",
|
stigg/generated/enums.py
CHANGED
stigg/generated/fragments.py
CHANGED
|
@@ -230,6 +230,136 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
230
230
|
pass
|
|
231
231
|
|
|
232
232
|
|
|
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
|
|
240
|
+
)
|
|
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
|
|
246
|
+
)
|
|
247
|
+
|
|
248
|
+
|
|
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
|
|
259
|
+
)
|
|
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
|
|
271
|
+
)
|
|
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[
|
|
281
|
+
Annotated[
|
|
282
|
+
Union[
|
|
283
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
284
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
285
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
286
|
+
],
|
|
287
|
+
Field(discriminator="typename__"),
|
|
288
|
+
]
|
|
289
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
290
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
294
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
295
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
296
|
+
alias="monthlyAccordingTo", default=None
|
|
297
|
+
)
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
301
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
302
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
303
|
+
alias="weeklyAccordingTo", default=None
|
|
304
|
+
)
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
308
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
309
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
310
|
+
alias="yearlyAccordingTo", default=None
|
|
311
|
+
)
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
315
|
+
pass
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
class SlimCustomerFragment(BaseModel):
|
|
319
|
+
id: Any
|
|
320
|
+
name: Optional[str] = Field(default=None)
|
|
321
|
+
email: Optional[str] = Field(default=None)
|
|
322
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
323
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
324
|
+
ref_id: str = Field(alias="refId")
|
|
325
|
+
customer_id: str = Field(alias="customerId")
|
|
326
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
327
|
+
additional_meta_data: Optional[Any] = Field(
|
|
328
|
+
alias="additionalMetaData", default=None
|
|
329
|
+
)
|
|
330
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
331
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
332
|
+
)
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
336
|
+
billing_id: str = Field(alias="billingId")
|
|
337
|
+
status: SubscriptionInvoiceStatus
|
|
338
|
+
created_at: Any = Field(alias="createdAt")
|
|
339
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
340
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
341
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
342
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
343
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
344
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
345
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
346
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
347
|
+
alias="billingReason", default=None
|
|
348
|
+
)
|
|
349
|
+
currency: Optional[str] = Field(default=None)
|
|
350
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
351
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
352
|
+
alias="subTotalExcludingTax", default=None
|
|
353
|
+
)
|
|
354
|
+
total: Optional[float] = Field(default=None)
|
|
355
|
+
total_excluding_tax: Optional[float] = Field(
|
|
356
|
+
alias="totalExcludingTax", default=None
|
|
357
|
+
)
|
|
358
|
+
tax: Optional[float] = Field(default=None)
|
|
359
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
360
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
361
|
+
|
|
362
|
+
|
|
233
363
|
class ProductFragment(BaseModel):
|
|
234
364
|
ref_id: str = Field(alias="refId")
|
|
235
365
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
@@ -504,59 +634,6 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
504
634
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
505
635
|
|
|
506
636
|
|
|
507
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
508
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
class CustomerResourceFragment(BaseModel):
|
|
512
|
-
resource_id: str = Field(alias="resourceId")
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
516
|
-
billing_id: str = Field(alias="billingId")
|
|
517
|
-
status: SubscriptionInvoiceStatus
|
|
518
|
-
created_at: Any = Field(alias="createdAt")
|
|
519
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
520
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
521
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
522
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
523
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
524
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
525
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
526
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
527
|
-
alias="billingReason", default=None
|
|
528
|
-
)
|
|
529
|
-
currency: Optional[str] = Field(default=None)
|
|
530
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
531
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
532
|
-
alias="subTotalExcludingTax", default=None
|
|
533
|
-
)
|
|
534
|
-
total: Optional[float] = Field(default=None)
|
|
535
|
-
total_excluding_tax: Optional[float] = Field(
|
|
536
|
-
alias="totalExcludingTax", default=None
|
|
537
|
-
)
|
|
538
|
-
tax: Optional[float] = Field(default=None)
|
|
539
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
540
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
class SlimCustomerFragment(BaseModel):
|
|
544
|
-
id: Any
|
|
545
|
-
name: Optional[str] = Field(default=None)
|
|
546
|
-
email: Optional[str] = Field(default=None)
|
|
547
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
548
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
549
|
-
ref_id: str = Field(alias="refId")
|
|
550
|
-
customer_id: str = Field(alias="customerId")
|
|
551
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
552
|
-
additional_meta_data: Optional[Any] = Field(
|
|
553
|
-
alias="additionalMetaData", default=None
|
|
554
|
-
)
|
|
555
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
556
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
557
|
-
)
|
|
558
|
-
|
|
559
|
-
|
|
560
637
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
561
638
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
562
639
|
alias="subscriptionScheduleType"
|
|
@@ -734,6 +811,14 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
734
811
|
currency: Currency
|
|
735
812
|
|
|
736
813
|
|
|
814
|
+
class CustomerResourceFragment(BaseModel):
|
|
815
|
+
resource_id: str = Field(alias="resourceId")
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
819
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
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,35 +1005,6 @@ 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
|
-
|
|
1037
1008
|
class CouponFragment(BaseModel):
|
|
1038
1009
|
id: Any
|
|
1039
1010
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1068,6 +1039,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1068
1039
|
status: SyncStatus
|
|
1069
1040
|
|
|
1070
1041
|
|
|
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")
|
|
@@ -1166,8 +1166,8 @@ class CheckoutStateFragmentBillingIntegration(BaseModel):
|
|
|
1166
1166
|
|
|
1167
1167
|
|
|
1168
1168
|
class CheckoutStateFragmentBillingIntegrationCredentials(BaseModel):
|
|
1169
|
-
account_id: str = Field(alias="accountId")
|
|
1170
|
-
public_key: str = Field(alias="publicKey")
|
|
1169
|
+
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1170
|
+
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1171
1171
|
|
|
1172
1172
|
|
|
1173
1173
|
class CreditGrantFragment(BaseModel):
|
|
@@ -1326,6 +1326,23 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1326
1326
|
pass
|
|
1327
1327
|
|
|
1328
1328
|
|
|
1329
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1330
|
+
display_name: str = Field(alias="displayName")
|
|
1331
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1332
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1333
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1334
|
+
period: PromotionalEntitlementPeriod
|
|
1335
|
+
start_date: Any = Field(alias="startDate")
|
|
1336
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1340
|
+
addon_id: str = Field(alias="addonId")
|
|
1341
|
+
description: Optional[str] = Field(default=None)
|
|
1342
|
+
display_name: str = Field(alias="displayName")
|
|
1343
|
+
quantity: int
|
|
1344
|
+
|
|
1345
|
+
|
|
1329
1346
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1330
1347
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1331
1348
|
alias="subscriptionScheduleType"
|
|
@@ -1495,13 +1512,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1495
1512
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1496
1513
|
|
|
1497
1514
|
|
|
1498
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1499
|
-
addon_id: str = Field(alias="addonId")
|
|
1500
|
-
description: Optional[str] = Field(default=None)
|
|
1501
|
-
display_name: str = Field(alias="displayName")
|
|
1502
|
-
quantity: int
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
1515
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1506
1516
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1507
1517
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1641,16 +1651,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1641
1651
|
pass
|
|
1642
1652
|
|
|
1643
1653
|
|
|
1644
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1645
|
-
display_name: str = Field(alias="displayName")
|
|
1646
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1647
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1648
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1649
|
-
period: PromotionalEntitlementPeriod
|
|
1650
|
-
start_date: Any = Field(alias="startDate")
|
|
1651
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
1654
|
class CustomerPortalFragment(BaseModel):
|
|
1655
1655
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1656
1656
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2933,25 +2933,25 @@ OveragePriceFragment.model_rebuild()
|
|
|
2933
2933
|
PackageEntitlementFragment.model_rebuild()
|
|
2934
2934
|
PriceFragment.model_rebuild()
|
|
2935
2935
|
AddonFragment.model_rebuild()
|
|
2936
|
+
FeatureFragment.model_rebuild()
|
|
2937
|
+
EntitlementFragment.model_rebuild()
|
|
2938
|
+
SlimCustomerFragment.model_rebuild()
|
|
2939
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2936
2940
|
ProductFragment.model_rebuild()
|
|
2937
2941
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2938
2942
|
PlanFragment.model_rebuild()
|
|
2939
2943
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2940
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2941
|
-
CustomerResourceFragment.model_rebuild()
|
|
2942
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2943
|
-
SlimCustomerFragment.model_rebuild()
|
|
2944
2944
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2945
2945
|
TotalPriceFragment.model_rebuild()
|
|
2946
|
+
CustomerResourceFragment.model_rebuild()
|
|
2947
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2946
2948
|
SubscriptionFragment.model_rebuild()
|
|
2947
|
-
FeatureFragment.model_rebuild()
|
|
2948
|
-
EntitlementFragment.model_rebuild()
|
|
2949
2949
|
ApplySubscriptionFragment.model_rebuild()
|
|
2950
2950
|
FontVariantFragment.model_rebuild()
|
|
2951
2951
|
TypographyConfigurationFragment.model_rebuild()
|
|
2952
2952
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2953
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2954
2953
|
CouponFragment.model_rebuild()
|
|
2954
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2955
2955
|
CustomerFragment.model_rebuild()
|
|
2956
2956
|
CheckoutStateFragment.model_rebuild()
|
|
2957
2957
|
CreditGrantFragment.model_rebuild()
|
|
@@ -2959,11 +2959,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
2959
2959
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2960
2960
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2961
2961
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2962
|
-
|
|
2962
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2963
2963
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2964
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2964
2965
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2965
2966
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2966
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2967
2967
|
CustomerPortalFragment.model_rebuild()
|
|
2968
2968
|
CustomerStatisticsFragment.model_rebuild()
|
|
2969
2969
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -2077,7 +2077,7 @@ class GrantPromotionalEntitlementInput(BaseModel):
|
|
|
2077
2077
|
class GrantPromotionalEntitlementsGroupInput(BaseModel):
|
|
2078
2078
|
customer_id: str = Field(alias="customerId")
|
|
2079
2079
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
2080
|
-
feature_group_id:
|
|
2080
|
+
feature_group_id: str = Field(alias="featureGroupId")
|
|
2081
2081
|
promotional_entitlements: List["GrantPromotionalEntitlementInput"] = Field(
|
|
2082
2082
|
alias="promotionalEntitlements"
|
|
2083
2083
|
)
|
|
@@ -2824,6 +2824,14 @@ class PaymentCollectionFilterComparison(BaseModel):
|
|
|
2824
2824
|
not_like: Optional[PaymentCollection] = Field(alias="notLike", default=None)
|
|
2825
2825
|
|
|
2826
2826
|
|
|
2827
|
+
class PaymentSessionInput(BaseModel):
|
|
2828
|
+
billing_country_code: Optional[str] = Field(
|
|
2829
|
+
alias="billingCountryCode", default=None
|
|
2830
|
+
)
|
|
2831
|
+
customer_id: str = Field(alias="customerId")
|
|
2832
|
+
plan_id: str = Field(alias="planId")
|
|
2833
|
+
|
|
2834
|
+
|
|
2827
2835
|
class PaywallColorsPaletteInput(BaseModel):
|
|
2828
2836
|
background_color: Optional[str] = Field(alias="backgroundColor", default=None)
|
|
2829
2837
|
border_color: Optional[str] = Field(alias="borderColor", default=None)
|
|
@@ -3646,7 +3654,7 @@ class RevokePromotionalEntitlementInput(BaseModel):
|
|
|
3646
3654
|
class RevokePromotionalEntitlementsGroupInput(BaseModel):
|
|
3647
3655
|
customer_id: str = Field(alias="customerId")
|
|
3648
3656
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
3649
|
-
feature_group_id:
|
|
3657
|
+
feature_group_id: str = Field(alias="featureGroupId")
|
|
3650
3658
|
|
|
3651
3659
|
|
|
3652
3660
|
class SalesforceCredentialsInput(BaseModel):
|
|
@@ -4580,7 +4588,7 @@ class UnlinkFeatureGroupFromPackageInput(BaseModel):
|
|
|
4580
4588
|
class UnlinkPromotionalEntitlementsGroupInput(BaseModel):
|
|
4581
4589
|
customer_id: str = Field(alias="customerId")
|
|
4582
4590
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
4583
|
-
feature_group_id:
|
|
4591
|
+
feature_group_id: str = Field(alias="featureGroupId")
|
|
4584
4592
|
|
|
4585
4593
|
|
|
4586
4594
|
class UpdateAccountInput(BaseModel):
|
|
@@ -5046,6 +5054,7 @@ class ZuoraCredentialsInput(BaseModel):
|
|
|
5046
5054
|
client_secret: str = Field(alias="clientSecret")
|
|
5047
5055
|
payment_gateway_id: Optional[str] = Field(alias="paymentGatewayId", default=None)
|
|
5048
5056
|
payment_page_id: Optional[str] = Field(alias="paymentPageId", default=None)
|
|
5057
|
+
publishable_key: Optional[str] = Field(alias="publishableKey", default=None)
|
|
5049
5058
|
stripe_publishable_key: Optional[str] = Field(
|
|
5050
5059
|
alias="stripePublishableKey", default=None
|
|
5051
5060
|
)
|
|
@@ -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=ObtESB-oSlxciAHOdkQ1llbY0iPU5vGD5mQIKWO9RBo,75044
|
|
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=S3IQdR4v5a3m0LfUTffEUiHlTXDdbKAlc5qy8bOCEIw,183
|
|
|
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=M1ZmZioTo8XlPc3APutraJ74Ap81K1MEmGXE-1CDsBc,38028
|
|
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=I8glygMGNajpWPvLsemIoHytsirNw-95wJcYhUKLyV4,107054
|
|
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
|
|
@@ -149,7 +149,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
149
149
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
150
150
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
151
151
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
152
|
-
stigg/generated/input_types.py,sha256=
|
|
152
|
+
stigg/generated/input_types.py,sha256=uPODKRjfa2ztPcjwwJnfG2YHwI4FLxqTeC4Ed6wrRsM,207699
|
|
153
153
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
154
154
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
155
155
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -167,7 +167,7 @@ stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9e
|
|
|
167
167
|
stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0LZmDYkRn9mMjZm9n41YG6-p7Z8qU,636
|
|
168
168
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
169
169
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
170
|
-
stigg_api_client_v2-3.
|
|
171
|
-
stigg_api_client_v2-3.
|
|
172
|
-
stigg_api_client_v2-3.
|
|
173
|
-
stigg_api_client_v2-3.
|
|
170
|
+
stigg_api_client_v2-3.66.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
171
|
+
stigg_api_client_v2-3.66.0.dist-info/METADATA,sha256=tmFVg7Mffhu2hq401JTgCEdMnPzj3EIRcA4IZRNF4Ys,2257
|
|
172
|
+
stigg_api_client_v2-3.66.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
173
|
+
stigg_api_client_v2-3.66.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|