lark-billing 0.0.6__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 lark-billing might be problematic. Click here for more details.
- lark/__init__.py +522 -0
- lark/checkout/__init__.py +4 -0
- lark/checkout/client.py +214 -0
- lark/checkout/raw_client.py +252 -0
- lark/client.py +240 -0
- lark/core/__init__.py +105 -0
- lark/core/api_error.py +23 -0
- lark/core/client_wrapper.py +79 -0
- lark/core/datetime_utils.py +28 -0
- lark/core/file.py +67 -0
- lark/core/force_multipart.py +18 -0
- lark/core/http_client.py +543 -0
- lark/core/http_response.py +55 -0
- lark/core/jsonable_encoder.py +100 -0
- lark/core/pydantic_utilities.py +258 -0
- lark/core/query_encoder.py +58 -0
- lark/core/remove_none_from_dict.py +11 -0
- lark/core/request_options.py +35 -0
- lark/core/serialization.py +276 -0
- lark/errors/__init__.py +34 -0
- lark/errors/unprocessable_entity_error.py +11 -0
- lark/feature_access/__init__.py +4 -0
- lark/feature_access/client.py +102 -0
- lark/feature_access/raw_client.py +113 -0
- lark/py.typed +0 -0
- lark/rate_cards/__init__.py +61 -0
- lark/rate_cards/client.py +817 -0
- lark/rate_cards/raw_client.py +728 -0
- lark/rate_cards/types/__init__.py +63 -0
- lark/rate_cards/types/create_rate_card_request_billing_interval.py +5 -0
- lark/rate_cards/types/create_rate_card_request_usage_based_rates_item.py +56 -0
- lark/rate_cards/types/create_rate_card_version_request_usage_based_rates_item.py +58 -0
- lark/rate_cards/types/create_rate_card_version_request_version_type.py +5 -0
- lark/subjects/__init__.py +4 -0
- lark/subjects/client.py +501 -0
- lark/subjects/raw_client.py +633 -0
- lark/subscriptions/__init__.py +4 -0
- lark/subscriptions/client.py +462 -0
- lark/subscriptions/raw_client.py +495 -0
- lark/types/__init__.py +493 -0
- lark/types/aggregation.py +80 -0
- lark/types/amount.py +20 -0
- lark/types/check_feature_access_request.py +24 -0
- lark/types/check_feature_access_response.py +21 -0
- lark/types/complete_subscription_checkout_response.py +21 -0
- lark/types/count_aggregation_pricing_metric_interface.py +17 -0
- lark/types/create_credit_grant_interface.py +27 -0
- lark/types/create_credit_grant_interface_expiration.py +27 -0
- lark/types/create_credit_pool_request.py +5 -0
- lark/types/create_dimension_coordinate_interface.py +20 -0
- lark/types/create_dimension_interface.py +20 -0
- lark/types/create_dimensional_usage_based_rate_interface.py +32 -0
- lark/types/create_fixed_rate_interface.py +28 -0
- lark/types/create_pricing_matrix_cell_interface.py +22 -0
- lark/types/create_pricing_matrix_interface.py +20 -0
- lark/types/create_pricing_metric_interface.py +26 -0
- lark/types/create_pricing_plan_request.py +5 -0
- lark/types/create_rate_card_response.py +36 -0
- lark/types/create_rate_card_response_billing_interval.py +5 -0
- lark/types/create_rate_card_response_usage_based_rates_item.py +58 -0
- lark/types/create_rate_card_version_response.py +36 -0
- lark/types/create_rate_card_version_response_billing_interval.py +5 -0
- lark/types/create_rate_card_version_response_usage_based_rates_item.py +59 -0
- lark/types/create_simple_usage_based_rate_interface.py +30 -0
- lark/types/create_subject_response.py +24 -0
- lark/types/create_subscription_checkout_session_response.py +23 -0
- lark/types/create_usage_event_summary_response.py +23 -0
- lark/types/credit_grant.py +5 -0
- lark/types/credit_grant_date_time_expiration_interface.py +19 -0
- lark/types/credit_grant_date_time_expiration_resource.py +19 -0
- lark/types/credit_grant_duration_expiration_interface.py +21 -0
- lark/types/credit_grant_duration_expiration_resource.py +21 -0
- lark/types/credit_grant_interface.py +28 -0
- lark/types/credit_grant_interface_input_expiration.py +27 -0
- lark/types/credit_grant_interface_output_expiration.py +43 -0
- lark/types/credit_grant_interface_output_schedule.py +41 -0
- lark/types/credit_grant_resource.py +28 -0
- lark/types/credit_grant_resource_input_expiration.py +27 -0
- lark/types/credit_grant_resource_input_schedule.py +39 -0
- lark/types/credit_grant_resource_output_expiration.py +43 -0
- lark/types/credit_grant_resource_output_schedule.py +39 -0
- lark/types/credit_grant_schedule.py +5 -0
- lark/types/credit_grant_schedule_one_time_interface.py +19 -0
- lark/types/credit_grant_schedule_one_time_resource.py +17 -0
- lark/types/credit_grant_schedule_rate_cycle_start_interface.py +19 -0
- lark/types/credit_grant_schedule_rate_cycle_start_resource.py +17 -0
- lark/types/credit_grant_subject_granting_config_interface.py +20 -0
- lark/types/credit_pool.py +5 -0
- lark/types/credit_pool_rollover_config.py +5 -0
- lark/types/custom_aggregation_pricing_metric_interface.py +22 -0
- lark/types/custom_pricing_metric.py +5 -0
- lark/types/custom_unit.py +5 -0
- lark/types/custom_unit_amount.py +5 -0
- lark/types/dimension.py +5 -0
- lark/types/dimension_coordinate.py +5 -0
- lark/types/dimension_coordinate_interface.py +20 -0
- lark/types/dimension_coordinate_set.py +5 -0
- lark/types/dimension_interface.py +20 -0
- lark/types/dimensional_rate_matrix.py +5 -0
- lark/types/dimensional_rate_matrix_cell.py +5 -0
- lark/types/dimensional_usage_based_rate.py +5 -0
- lark/types/dimensional_usage_based_rate_input.py +5 -0
- lark/types/dimensional_usage_based_rate_interface.py +33 -0
- lark/types/feature_access_resource.py +21 -0
- lark/types/fixed_rate_interface.py +29 -0
- lark/types/flat_price.py +24 -0
- lark/types/get_rate_card_response.py +36 -0
- lark/types/get_rate_card_response_billing_interval.py +5 -0
- lark/types/get_rate_card_response_usage_based_rates_item.py +58 -0
- lark/types/grant_credits_request.py +5 -0
- lark/types/http_validation_error.py +20 -0
- lark/types/last_aggregation_pricing_metric_interface.py +22 -0
- lark/types/license_based_rate.py +5 -0
- lark/types/license_based_rate_input.py +5 -0
- lark/types/list_rate_cards_response.py +21 -0
- lark/types/list_subjects_response.py +21 -0
- lark/types/list_subscriptions_response.py +21 -0
- lark/types/max_aggregation_pricing_metric_interface.py +22 -0
- lark/types/monetary_amount.py +5 -0
- lark/types/package_price.py +27 -0
- lark/types/package_price_rounding_behavior.py +5 -0
- lark/types/package_price_wrapper.py +5 -0
- lark/types/period.py +22 -0
- lark/types/price.py +5 -0
- lark/types/pricing_matrix_cell_interface.py +22 -0
- lark/types/pricing_matrix_interface.py +20 -0
- lark/types/pricing_metric.py +5 -0
- lark/types/pricing_metric_interface.py +27 -0
- lark/types/pricing_plan.py +5 -0
- lark/types/pricing_plan_subscription.py +5 -0
- lark/types/pricing_tier.py +5 -0
- lark/types/rate_card.py +5 -0
- lark/types/rate_card_resource.py +36 -0
- lark/types/rate_card_resource_billing_interval.py +5 -0
- lark/types/rate_card_resource_usage_based_rates_item.py +58 -0
- lark/types/rate_card_version.py +5 -0
- lark/types/rate_card_version_input.py +5 -0
- lark/types/simple_usage_based_rate.py +5 -0
- lark/types/simple_usage_based_rate_input.py +5 -0
- lark/types/simple_usage_based_rate_interface.py +31 -0
- lark/types/status.py +5 -0
- lark/types/subject.py +5 -0
- lark/types/subject_granting_config.py +5 -0
- lark/types/subject_granting_config_resource.py +20 -0
- lark/types/subject_resource.py +24 -0
- lark/types/subscription_resource.py +28 -0
- lark/types/sum_aggregation_pricing_metric_interface.py +22 -0
- lark/types/tiered_price.py +5 -0
- lark/types/tiered_price_wrapper.py +5 -0
- lark/types/unit.py +5 -0
- lark/types/update_pricing_plan_request.py +5 -0
- lark/types/update_rate_card_request.py +5 -0
- lark/types/update_subscription_request.py +5 -0
- lark/types/usage_based_rate.py +5 -0
- lark/types/usage_based_rate_input.py +5 -0
- lark/types/usage_unit.py +5 -0
- lark/types/validation_error.py +22 -0
- lark/types/validation_error_loc_item.py +5 -0
- lark/usage_events/__init__.py +34 -0
- lark/usage_events/client.py +293 -0
- lark/usage_events/raw_client.py +318 -0
- lark/usage_events/types/__init__.py +36 -0
- lark/usage_events/types/create_usage_event_summary_request_aggregation_type.py +5 -0
- lark/version.py +3 -0
- lark_billing-0.0.6.dist-info/METADATA +188 -0
- lark_billing-0.0.6.dist-info/RECORD +167 -0
- lark_billing-0.0.6.dist-info/WHEEL +4 -0
lark/__init__.py
ADDED
|
@@ -0,0 +1,522 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
# isort: skip_file
|
|
4
|
+
|
|
5
|
+
import typing
|
|
6
|
+
from importlib import import_module
|
|
7
|
+
|
|
8
|
+
if typing.TYPE_CHECKING:
|
|
9
|
+
from .types import (
|
|
10
|
+
Aggregation,
|
|
11
|
+
Aggregation_Count,
|
|
12
|
+
Aggregation_Custom,
|
|
13
|
+
Aggregation_Last,
|
|
14
|
+
Aggregation_Max,
|
|
15
|
+
Aggregation_Sum,
|
|
16
|
+
Amount,
|
|
17
|
+
CheckFeatureAccessRequest,
|
|
18
|
+
CheckFeatureAccessResponse,
|
|
19
|
+
CompleteSubscriptionCheckoutResponse,
|
|
20
|
+
CountAggregationPricingMetricInterface,
|
|
21
|
+
CreateCreditGrantInterface,
|
|
22
|
+
CreateCreditGrantInterfaceExpiration,
|
|
23
|
+
CreateCreditGrantInterfaceExpiration_Duration,
|
|
24
|
+
CreateCreditPoolRequest,
|
|
25
|
+
CreateDimensionCoordinateInterface,
|
|
26
|
+
CreateDimensionInterface,
|
|
27
|
+
CreateDimensionalUsageBasedRateInterface,
|
|
28
|
+
CreateFixedRateInterface,
|
|
29
|
+
CreatePricingMatrixCellInterface,
|
|
30
|
+
CreatePricingMatrixInterface,
|
|
31
|
+
CreatePricingMetricInterface,
|
|
32
|
+
CreatePricingPlanRequest,
|
|
33
|
+
CreateRateCardResponse,
|
|
34
|
+
CreateRateCardResponseBillingInterval,
|
|
35
|
+
CreateRateCardResponseUsageBasedRatesItem,
|
|
36
|
+
CreateRateCardResponseUsageBasedRatesItem_Dimensional,
|
|
37
|
+
CreateRateCardResponseUsageBasedRatesItem_Simple,
|
|
38
|
+
CreateRateCardVersionResponse,
|
|
39
|
+
CreateRateCardVersionResponseBillingInterval,
|
|
40
|
+
CreateRateCardVersionResponseUsageBasedRatesItem,
|
|
41
|
+
CreateRateCardVersionResponseUsageBasedRatesItem_Dimensional,
|
|
42
|
+
CreateRateCardVersionResponseUsageBasedRatesItem_Simple,
|
|
43
|
+
CreateSimpleUsageBasedRateInterface,
|
|
44
|
+
CreateSubjectResponse,
|
|
45
|
+
CreateSubscriptionCheckoutSessionResponse,
|
|
46
|
+
CreateUsageEventSummaryResponse,
|
|
47
|
+
CreditGrant,
|
|
48
|
+
CreditGrantDateTimeExpirationInterface,
|
|
49
|
+
CreditGrantDateTimeExpirationResource,
|
|
50
|
+
CreditGrantDurationExpirationInterface,
|
|
51
|
+
CreditGrantDurationExpirationResource,
|
|
52
|
+
CreditGrantInterface,
|
|
53
|
+
CreditGrantInterfaceInputExpiration,
|
|
54
|
+
CreditGrantInterfaceInputExpiration_Duration,
|
|
55
|
+
CreditGrantInterfaceOutputExpiration,
|
|
56
|
+
CreditGrantInterfaceOutputExpiration_Date,
|
|
57
|
+
CreditGrantInterfaceOutputExpiration_Duration,
|
|
58
|
+
CreditGrantInterfaceOutputSchedule,
|
|
59
|
+
CreditGrantInterfaceOutputSchedule_OneTime,
|
|
60
|
+
CreditGrantInterfaceOutputSchedule_RateCycleStart,
|
|
61
|
+
CreditGrantResource,
|
|
62
|
+
CreditGrantResourceInputExpiration,
|
|
63
|
+
CreditGrantResourceInputExpiration_Duration,
|
|
64
|
+
CreditGrantResourceInputSchedule,
|
|
65
|
+
CreditGrantResourceInputSchedule_OneTime,
|
|
66
|
+
CreditGrantResourceInputSchedule_RateCycleStart,
|
|
67
|
+
CreditGrantResourceOutputExpiration,
|
|
68
|
+
CreditGrantResourceOutputExpiration_Date,
|
|
69
|
+
CreditGrantResourceOutputExpiration_Duration,
|
|
70
|
+
CreditGrantResourceOutputSchedule,
|
|
71
|
+
CreditGrantResourceOutputSchedule_OneTime,
|
|
72
|
+
CreditGrantResourceOutputSchedule_RateCycleStart,
|
|
73
|
+
CreditGrantSchedule,
|
|
74
|
+
CreditGrantScheduleOneTimeInterface,
|
|
75
|
+
CreditGrantScheduleOneTimeResource,
|
|
76
|
+
CreditGrantScheduleRateCycleStartInterface,
|
|
77
|
+
CreditGrantScheduleRateCycleStartResource,
|
|
78
|
+
CreditGrantSubjectGrantingConfigInterface,
|
|
79
|
+
CreditPool,
|
|
80
|
+
CreditPoolRolloverConfig,
|
|
81
|
+
CustomAggregationPricingMetricInterface,
|
|
82
|
+
CustomPricingMetric,
|
|
83
|
+
CustomUnit,
|
|
84
|
+
CustomUnitAmount,
|
|
85
|
+
Dimension,
|
|
86
|
+
DimensionCoordinate,
|
|
87
|
+
DimensionCoordinateInterface,
|
|
88
|
+
DimensionCoordinateSet,
|
|
89
|
+
DimensionInterface,
|
|
90
|
+
DimensionalRateMatrix,
|
|
91
|
+
DimensionalRateMatrixCell,
|
|
92
|
+
DimensionalUsageBasedRate,
|
|
93
|
+
DimensionalUsageBasedRateInput,
|
|
94
|
+
DimensionalUsageBasedRateInterface,
|
|
95
|
+
FeatureAccessResource,
|
|
96
|
+
FixedRateInterface,
|
|
97
|
+
FlatPrice,
|
|
98
|
+
GetRateCardResponse,
|
|
99
|
+
GetRateCardResponseBillingInterval,
|
|
100
|
+
GetRateCardResponseUsageBasedRatesItem,
|
|
101
|
+
GetRateCardResponseUsageBasedRatesItem_Dimensional,
|
|
102
|
+
GetRateCardResponseUsageBasedRatesItem_Simple,
|
|
103
|
+
GrantCreditsRequest,
|
|
104
|
+
HttpValidationError,
|
|
105
|
+
LastAggregationPricingMetricInterface,
|
|
106
|
+
LicenseBasedRate,
|
|
107
|
+
LicenseBasedRateInput,
|
|
108
|
+
ListRateCardsResponse,
|
|
109
|
+
ListSubjectsResponse,
|
|
110
|
+
ListSubscriptionsResponse,
|
|
111
|
+
MaxAggregationPricingMetricInterface,
|
|
112
|
+
MonetaryAmount,
|
|
113
|
+
PackagePrice,
|
|
114
|
+
PackagePriceRoundingBehavior,
|
|
115
|
+
PackagePriceWrapper,
|
|
116
|
+
Period,
|
|
117
|
+
Price,
|
|
118
|
+
PricingMatrixCellInterface,
|
|
119
|
+
PricingMatrixInterface,
|
|
120
|
+
PricingMetric,
|
|
121
|
+
PricingMetricInterface,
|
|
122
|
+
PricingPlan,
|
|
123
|
+
PricingPlanSubscription,
|
|
124
|
+
PricingTier,
|
|
125
|
+
RateCard,
|
|
126
|
+
RateCardResource,
|
|
127
|
+
RateCardResourceBillingInterval,
|
|
128
|
+
RateCardResourceUsageBasedRatesItem,
|
|
129
|
+
RateCardResourceUsageBasedRatesItem_Dimensional,
|
|
130
|
+
RateCardResourceUsageBasedRatesItem_Simple,
|
|
131
|
+
RateCardVersion,
|
|
132
|
+
RateCardVersionInput,
|
|
133
|
+
SimpleUsageBasedRate,
|
|
134
|
+
SimpleUsageBasedRateInput,
|
|
135
|
+
SimpleUsageBasedRateInterface,
|
|
136
|
+
Status,
|
|
137
|
+
Subject,
|
|
138
|
+
SubjectGrantingConfig,
|
|
139
|
+
SubjectGrantingConfigResource,
|
|
140
|
+
SubjectResource,
|
|
141
|
+
SubscriptionResource,
|
|
142
|
+
SumAggregationPricingMetricInterface,
|
|
143
|
+
TieredPrice,
|
|
144
|
+
TieredPriceWrapper,
|
|
145
|
+
Unit,
|
|
146
|
+
UpdatePricingPlanRequest,
|
|
147
|
+
UpdateRateCardRequest,
|
|
148
|
+
UpdateSubscriptionRequest,
|
|
149
|
+
UsageBasedRate,
|
|
150
|
+
UsageBasedRateInput,
|
|
151
|
+
UsageUnit,
|
|
152
|
+
ValidationError,
|
|
153
|
+
ValidationErrorLocItem,
|
|
154
|
+
)
|
|
155
|
+
from .errors import UnprocessableEntityError
|
|
156
|
+
from . import checkout, feature_access, rate_cards, subjects, subscriptions, usage_events
|
|
157
|
+
from .client import AsyncLark, Lark
|
|
158
|
+
from .rate_cards import (
|
|
159
|
+
CreateRateCardRequestBillingInterval,
|
|
160
|
+
CreateRateCardRequestUsageBasedRatesItem,
|
|
161
|
+
CreateRateCardRequestUsageBasedRatesItem_Dimensional,
|
|
162
|
+
CreateRateCardRequestUsageBasedRatesItem_Simple,
|
|
163
|
+
CreateRateCardVersionRequestUsageBasedRatesItem,
|
|
164
|
+
CreateRateCardVersionRequestUsageBasedRatesItem_Dimensional,
|
|
165
|
+
CreateRateCardVersionRequestUsageBasedRatesItem_Simple,
|
|
166
|
+
CreateRateCardVersionRequestVersionType,
|
|
167
|
+
)
|
|
168
|
+
from .usage_events import CreateUsageEventSummaryRequestAggregationType
|
|
169
|
+
from .version import __version__
|
|
170
|
+
_dynamic_imports: typing.Dict[str, str] = {
|
|
171
|
+
"Aggregation": ".types",
|
|
172
|
+
"Aggregation_Count": ".types",
|
|
173
|
+
"Aggregation_Custom": ".types",
|
|
174
|
+
"Aggregation_Last": ".types",
|
|
175
|
+
"Aggregation_Max": ".types",
|
|
176
|
+
"Aggregation_Sum": ".types",
|
|
177
|
+
"Amount": ".types",
|
|
178
|
+
"AsyncLark": ".client",
|
|
179
|
+
"CheckFeatureAccessRequest": ".types",
|
|
180
|
+
"CheckFeatureAccessResponse": ".types",
|
|
181
|
+
"CompleteSubscriptionCheckoutResponse": ".types",
|
|
182
|
+
"CountAggregationPricingMetricInterface": ".types",
|
|
183
|
+
"CreateCreditGrantInterface": ".types",
|
|
184
|
+
"CreateCreditGrantInterfaceExpiration": ".types",
|
|
185
|
+
"CreateCreditGrantInterfaceExpiration_Duration": ".types",
|
|
186
|
+
"CreateCreditPoolRequest": ".types",
|
|
187
|
+
"CreateDimensionCoordinateInterface": ".types",
|
|
188
|
+
"CreateDimensionInterface": ".types",
|
|
189
|
+
"CreateDimensionalUsageBasedRateInterface": ".types",
|
|
190
|
+
"CreateFixedRateInterface": ".types",
|
|
191
|
+
"CreatePricingMatrixCellInterface": ".types",
|
|
192
|
+
"CreatePricingMatrixInterface": ".types",
|
|
193
|
+
"CreatePricingMetricInterface": ".types",
|
|
194
|
+
"CreatePricingPlanRequest": ".types",
|
|
195
|
+
"CreateRateCardRequestBillingInterval": ".rate_cards",
|
|
196
|
+
"CreateRateCardRequestUsageBasedRatesItem": ".rate_cards",
|
|
197
|
+
"CreateRateCardRequestUsageBasedRatesItem_Dimensional": ".rate_cards",
|
|
198
|
+
"CreateRateCardRequestUsageBasedRatesItem_Simple": ".rate_cards",
|
|
199
|
+
"CreateRateCardResponse": ".types",
|
|
200
|
+
"CreateRateCardResponseBillingInterval": ".types",
|
|
201
|
+
"CreateRateCardResponseUsageBasedRatesItem": ".types",
|
|
202
|
+
"CreateRateCardResponseUsageBasedRatesItem_Dimensional": ".types",
|
|
203
|
+
"CreateRateCardResponseUsageBasedRatesItem_Simple": ".types",
|
|
204
|
+
"CreateRateCardVersionRequestUsageBasedRatesItem": ".rate_cards",
|
|
205
|
+
"CreateRateCardVersionRequestUsageBasedRatesItem_Dimensional": ".rate_cards",
|
|
206
|
+
"CreateRateCardVersionRequestUsageBasedRatesItem_Simple": ".rate_cards",
|
|
207
|
+
"CreateRateCardVersionRequestVersionType": ".rate_cards",
|
|
208
|
+
"CreateRateCardVersionResponse": ".types",
|
|
209
|
+
"CreateRateCardVersionResponseBillingInterval": ".types",
|
|
210
|
+
"CreateRateCardVersionResponseUsageBasedRatesItem": ".types",
|
|
211
|
+
"CreateRateCardVersionResponseUsageBasedRatesItem_Dimensional": ".types",
|
|
212
|
+
"CreateRateCardVersionResponseUsageBasedRatesItem_Simple": ".types",
|
|
213
|
+
"CreateSimpleUsageBasedRateInterface": ".types",
|
|
214
|
+
"CreateSubjectResponse": ".types",
|
|
215
|
+
"CreateSubscriptionCheckoutSessionResponse": ".types",
|
|
216
|
+
"CreateUsageEventSummaryRequestAggregationType": ".usage_events",
|
|
217
|
+
"CreateUsageEventSummaryResponse": ".types",
|
|
218
|
+
"CreditGrant": ".types",
|
|
219
|
+
"CreditGrantDateTimeExpirationInterface": ".types",
|
|
220
|
+
"CreditGrantDateTimeExpirationResource": ".types",
|
|
221
|
+
"CreditGrantDurationExpirationInterface": ".types",
|
|
222
|
+
"CreditGrantDurationExpirationResource": ".types",
|
|
223
|
+
"CreditGrantInterface": ".types",
|
|
224
|
+
"CreditGrantInterfaceInputExpiration": ".types",
|
|
225
|
+
"CreditGrantInterfaceInputExpiration_Duration": ".types",
|
|
226
|
+
"CreditGrantInterfaceOutputExpiration": ".types",
|
|
227
|
+
"CreditGrantInterfaceOutputExpiration_Date": ".types",
|
|
228
|
+
"CreditGrantInterfaceOutputExpiration_Duration": ".types",
|
|
229
|
+
"CreditGrantInterfaceOutputSchedule": ".types",
|
|
230
|
+
"CreditGrantInterfaceOutputSchedule_OneTime": ".types",
|
|
231
|
+
"CreditGrantInterfaceOutputSchedule_RateCycleStart": ".types",
|
|
232
|
+
"CreditGrantResource": ".types",
|
|
233
|
+
"CreditGrantResourceInputExpiration": ".types",
|
|
234
|
+
"CreditGrantResourceInputExpiration_Duration": ".types",
|
|
235
|
+
"CreditGrantResourceInputSchedule": ".types",
|
|
236
|
+
"CreditGrantResourceInputSchedule_OneTime": ".types",
|
|
237
|
+
"CreditGrantResourceInputSchedule_RateCycleStart": ".types",
|
|
238
|
+
"CreditGrantResourceOutputExpiration": ".types",
|
|
239
|
+
"CreditGrantResourceOutputExpiration_Date": ".types",
|
|
240
|
+
"CreditGrantResourceOutputExpiration_Duration": ".types",
|
|
241
|
+
"CreditGrantResourceOutputSchedule": ".types",
|
|
242
|
+
"CreditGrantResourceOutputSchedule_OneTime": ".types",
|
|
243
|
+
"CreditGrantResourceOutputSchedule_RateCycleStart": ".types",
|
|
244
|
+
"CreditGrantSchedule": ".types",
|
|
245
|
+
"CreditGrantScheduleOneTimeInterface": ".types",
|
|
246
|
+
"CreditGrantScheduleOneTimeResource": ".types",
|
|
247
|
+
"CreditGrantScheduleRateCycleStartInterface": ".types",
|
|
248
|
+
"CreditGrantScheduleRateCycleStartResource": ".types",
|
|
249
|
+
"CreditGrantSubjectGrantingConfigInterface": ".types",
|
|
250
|
+
"CreditPool": ".types",
|
|
251
|
+
"CreditPoolRolloverConfig": ".types",
|
|
252
|
+
"CustomAggregationPricingMetricInterface": ".types",
|
|
253
|
+
"CustomPricingMetric": ".types",
|
|
254
|
+
"CustomUnit": ".types",
|
|
255
|
+
"CustomUnitAmount": ".types",
|
|
256
|
+
"Dimension": ".types",
|
|
257
|
+
"DimensionCoordinate": ".types",
|
|
258
|
+
"DimensionCoordinateInterface": ".types",
|
|
259
|
+
"DimensionCoordinateSet": ".types",
|
|
260
|
+
"DimensionInterface": ".types",
|
|
261
|
+
"DimensionalRateMatrix": ".types",
|
|
262
|
+
"DimensionalRateMatrixCell": ".types",
|
|
263
|
+
"DimensionalUsageBasedRate": ".types",
|
|
264
|
+
"DimensionalUsageBasedRateInput": ".types",
|
|
265
|
+
"DimensionalUsageBasedRateInterface": ".types",
|
|
266
|
+
"FeatureAccessResource": ".types",
|
|
267
|
+
"FixedRateInterface": ".types",
|
|
268
|
+
"FlatPrice": ".types",
|
|
269
|
+
"GetRateCardResponse": ".types",
|
|
270
|
+
"GetRateCardResponseBillingInterval": ".types",
|
|
271
|
+
"GetRateCardResponseUsageBasedRatesItem": ".types",
|
|
272
|
+
"GetRateCardResponseUsageBasedRatesItem_Dimensional": ".types",
|
|
273
|
+
"GetRateCardResponseUsageBasedRatesItem_Simple": ".types",
|
|
274
|
+
"GrantCreditsRequest": ".types",
|
|
275
|
+
"HttpValidationError": ".types",
|
|
276
|
+
"Lark": ".client",
|
|
277
|
+
"LastAggregationPricingMetricInterface": ".types",
|
|
278
|
+
"LicenseBasedRate": ".types",
|
|
279
|
+
"LicenseBasedRateInput": ".types",
|
|
280
|
+
"ListRateCardsResponse": ".types",
|
|
281
|
+
"ListSubjectsResponse": ".types",
|
|
282
|
+
"ListSubscriptionsResponse": ".types",
|
|
283
|
+
"MaxAggregationPricingMetricInterface": ".types",
|
|
284
|
+
"MonetaryAmount": ".types",
|
|
285
|
+
"PackagePrice": ".types",
|
|
286
|
+
"PackagePriceRoundingBehavior": ".types",
|
|
287
|
+
"PackagePriceWrapper": ".types",
|
|
288
|
+
"Period": ".types",
|
|
289
|
+
"Price": ".types",
|
|
290
|
+
"PricingMatrixCellInterface": ".types",
|
|
291
|
+
"PricingMatrixInterface": ".types",
|
|
292
|
+
"PricingMetric": ".types",
|
|
293
|
+
"PricingMetricInterface": ".types",
|
|
294
|
+
"PricingPlan": ".types",
|
|
295
|
+
"PricingPlanSubscription": ".types",
|
|
296
|
+
"PricingTier": ".types",
|
|
297
|
+
"RateCard": ".types",
|
|
298
|
+
"RateCardResource": ".types",
|
|
299
|
+
"RateCardResourceBillingInterval": ".types",
|
|
300
|
+
"RateCardResourceUsageBasedRatesItem": ".types",
|
|
301
|
+
"RateCardResourceUsageBasedRatesItem_Dimensional": ".types",
|
|
302
|
+
"RateCardResourceUsageBasedRatesItem_Simple": ".types",
|
|
303
|
+
"RateCardVersion": ".types",
|
|
304
|
+
"RateCardVersionInput": ".types",
|
|
305
|
+
"SimpleUsageBasedRate": ".types",
|
|
306
|
+
"SimpleUsageBasedRateInput": ".types",
|
|
307
|
+
"SimpleUsageBasedRateInterface": ".types",
|
|
308
|
+
"Status": ".types",
|
|
309
|
+
"Subject": ".types",
|
|
310
|
+
"SubjectGrantingConfig": ".types",
|
|
311
|
+
"SubjectGrantingConfigResource": ".types",
|
|
312
|
+
"SubjectResource": ".types",
|
|
313
|
+
"SubscriptionResource": ".types",
|
|
314
|
+
"SumAggregationPricingMetricInterface": ".types",
|
|
315
|
+
"TieredPrice": ".types",
|
|
316
|
+
"TieredPriceWrapper": ".types",
|
|
317
|
+
"Unit": ".types",
|
|
318
|
+
"UnprocessableEntityError": ".errors",
|
|
319
|
+
"UpdatePricingPlanRequest": ".types",
|
|
320
|
+
"UpdateRateCardRequest": ".types",
|
|
321
|
+
"UpdateSubscriptionRequest": ".types",
|
|
322
|
+
"UsageBasedRate": ".types",
|
|
323
|
+
"UsageBasedRateInput": ".types",
|
|
324
|
+
"UsageUnit": ".types",
|
|
325
|
+
"ValidationError": ".types",
|
|
326
|
+
"ValidationErrorLocItem": ".types",
|
|
327
|
+
"__version__": ".version",
|
|
328
|
+
"checkout": ".checkout",
|
|
329
|
+
"feature_access": ".feature_access",
|
|
330
|
+
"rate_cards": ".rate_cards",
|
|
331
|
+
"subjects": ".subjects",
|
|
332
|
+
"subscriptions": ".subscriptions",
|
|
333
|
+
"usage_events": ".usage_events",
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
def __getattr__(attr_name: str) -> typing.Any:
|
|
338
|
+
module_name = _dynamic_imports.get(attr_name)
|
|
339
|
+
if module_name is None:
|
|
340
|
+
raise AttributeError(f"No {attr_name} found in _dynamic_imports for module name -> {__name__}")
|
|
341
|
+
try:
|
|
342
|
+
module = import_module(module_name, __package__)
|
|
343
|
+
if module_name == f".{attr_name}":
|
|
344
|
+
return module
|
|
345
|
+
else:
|
|
346
|
+
return getattr(module, attr_name)
|
|
347
|
+
except ImportError as e:
|
|
348
|
+
raise ImportError(f"Failed to import {attr_name} from {module_name}: {e}") from e
|
|
349
|
+
except AttributeError as e:
|
|
350
|
+
raise AttributeError(f"Failed to get {attr_name} from {module_name}: {e}") from e
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
def __dir__():
|
|
354
|
+
lazy_attrs = list(_dynamic_imports.keys())
|
|
355
|
+
return sorted(lazy_attrs)
|
|
356
|
+
|
|
357
|
+
|
|
358
|
+
__all__ = [
|
|
359
|
+
"Aggregation",
|
|
360
|
+
"Aggregation_Count",
|
|
361
|
+
"Aggregation_Custom",
|
|
362
|
+
"Aggregation_Last",
|
|
363
|
+
"Aggregation_Max",
|
|
364
|
+
"Aggregation_Sum",
|
|
365
|
+
"Amount",
|
|
366
|
+
"AsyncLark",
|
|
367
|
+
"CheckFeatureAccessRequest",
|
|
368
|
+
"CheckFeatureAccessResponse",
|
|
369
|
+
"CompleteSubscriptionCheckoutResponse",
|
|
370
|
+
"CountAggregationPricingMetricInterface",
|
|
371
|
+
"CreateCreditGrantInterface",
|
|
372
|
+
"CreateCreditGrantInterfaceExpiration",
|
|
373
|
+
"CreateCreditGrantInterfaceExpiration_Duration",
|
|
374
|
+
"CreateCreditPoolRequest",
|
|
375
|
+
"CreateDimensionCoordinateInterface",
|
|
376
|
+
"CreateDimensionInterface",
|
|
377
|
+
"CreateDimensionalUsageBasedRateInterface",
|
|
378
|
+
"CreateFixedRateInterface",
|
|
379
|
+
"CreatePricingMatrixCellInterface",
|
|
380
|
+
"CreatePricingMatrixInterface",
|
|
381
|
+
"CreatePricingMetricInterface",
|
|
382
|
+
"CreatePricingPlanRequest",
|
|
383
|
+
"CreateRateCardRequestBillingInterval",
|
|
384
|
+
"CreateRateCardRequestUsageBasedRatesItem",
|
|
385
|
+
"CreateRateCardRequestUsageBasedRatesItem_Dimensional",
|
|
386
|
+
"CreateRateCardRequestUsageBasedRatesItem_Simple",
|
|
387
|
+
"CreateRateCardResponse",
|
|
388
|
+
"CreateRateCardResponseBillingInterval",
|
|
389
|
+
"CreateRateCardResponseUsageBasedRatesItem",
|
|
390
|
+
"CreateRateCardResponseUsageBasedRatesItem_Dimensional",
|
|
391
|
+
"CreateRateCardResponseUsageBasedRatesItem_Simple",
|
|
392
|
+
"CreateRateCardVersionRequestUsageBasedRatesItem",
|
|
393
|
+
"CreateRateCardVersionRequestUsageBasedRatesItem_Dimensional",
|
|
394
|
+
"CreateRateCardVersionRequestUsageBasedRatesItem_Simple",
|
|
395
|
+
"CreateRateCardVersionRequestVersionType",
|
|
396
|
+
"CreateRateCardVersionResponse",
|
|
397
|
+
"CreateRateCardVersionResponseBillingInterval",
|
|
398
|
+
"CreateRateCardVersionResponseUsageBasedRatesItem",
|
|
399
|
+
"CreateRateCardVersionResponseUsageBasedRatesItem_Dimensional",
|
|
400
|
+
"CreateRateCardVersionResponseUsageBasedRatesItem_Simple",
|
|
401
|
+
"CreateSimpleUsageBasedRateInterface",
|
|
402
|
+
"CreateSubjectResponse",
|
|
403
|
+
"CreateSubscriptionCheckoutSessionResponse",
|
|
404
|
+
"CreateUsageEventSummaryRequestAggregationType",
|
|
405
|
+
"CreateUsageEventSummaryResponse",
|
|
406
|
+
"CreditGrant",
|
|
407
|
+
"CreditGrantDateTimeExpirationInterface",
|
|
408
|
+
"CreditGrantDateTimeExpirationResource",
|
|
409
|
+
"CreditGrantDurationExpirationInterface",
|
|
410
|
+
"CreditGrantDurationExpirationResource",
|
|
411
|
+
"CreditGrantInterface",
|
|
412
|
+
"CreditGrantInterfaceInputExpiration",
|
|
413
|
+
"CreditGrantInterfaceInputExpiration_Duration",
|
|
414
|
+
"CreditGrantInterfaceOutputExpiration",
|
|
415
|
+
"CreditGrantInterfaceOutputExpiration_Date",
|
|
416
|
+
"CreditGrantInterfaceOutputExpiration_Duration",
|
|
417
|
+
"CreditGrantInterfaceOutputSchedule",
|
|
418
|
+
"CreditGrantInterfaceOutputSchedule_OneTime",
|
|
419
|
+
"CreditGrantInterfaceOutputSchedule_RateCycleStart",
|
|
420
|
+
"CreditGrantResource",
|
|
421
|
+
"CreditGrantResourceInputExpiration",
|
|
422
|
+
"CreditGrantResourceInputExpiration_Duration",
|
|
423
|
+
"CreditGrantResourceInputSchedule",
|
|
424
|
+
"CreditGrantResourceInputSchedule_OneTime",
|
|
425
|
+
"CreditGrantResourceInputSchedule_RateCycleStart",
|
|
426
|
+
"CreditGrantResourceOutputExpiration",
|
|
427
|
+
"CreditGrantResourceOutputExpiration_Date",
|
|
428
|
+
"CreditGrantResourceOutputExpiration_Duration",
|
|
429
|
+
"CreditGrantResourceOutputSchedule",
|
|
430
|
+
"CreditGrantResourceOutputSchedule_OneTime",
|
|
431
|
+
"CreditGrantResourceOutputSchedule_RateCycleStart",
|
|
432
|
+
"CreditGrantSchedule",
|
|
433
|
+
"CreditGrantScheduleOneTimeInterface",
|
|
434
|
+
"CreditGrantScheduleOneTimeResource",
|
|
435
|
+
"CreditGrantScheduleRateCycleStartInterface",
|
|
436
|
+
"CreditGrantScheduleRateCycleStartResource",
|
|
437
|
+
"CreditGrantSubjectGrantingConfigInterface",
|
|
438
|
+
"CreditPool",
|
|
439
|
+
"CreditPoolRolloverConfig",
|
|
440
|
+
"CustomAggregationPricingMetricInterface",
|
|
441
|
+
"CustomPricingMetric",
|
|
442
|
+
"CustomUnit",
|
|
443
|
+
"CustomUnitAmount",
|
|
444
|
+
"Dimension",
|
|
445
|
+
"DimensionCoordinate",
|
|
446
|
+
"DimensionCoordinateInterface",
|
|
447
|
+
"DimensionCoordinateSet",
|
|
448
|
+
"DimensionInterface",
|
|
449
|
+
"DimensionalRateMatrix",
|
|
450
|
+
"DimensionalRateMatrixCell",
|
|
451
|
+
"DimensionalUsageBasedRate",
|
|
452
|
+
"DimensionalUsageBasedRateInput",
|
|
453
|
+
"DimensionalUsageBasedRateInterface",
|
|
454
|
+
"FeatureAccessResource",
|
|
455
|
+
"FixedRateInterface",
|
|
456
|
+
"FlatPrice",
|
|
457
|
+
"GetRateCardResponse",
|
|
458
|
+
"GetRateCardResponseBillingInterval",
|
|
459
|
+
"GetRateCardResponseUsageBasedRatesItem",
|
|
460
|
+
"GetRateCardResponseUsageBasedRatesItem_Dimensional",
|
|
461
|
+
"GetRateCardResponseUsageBasedRatesItem_Simple",
|
|
462
|
+
"GrantCreditsRequest",
|
|
463
|
+
"HttpValidationError",
|
|
464
|
+
"Lark",
|
|
465
|
+
"LastAggregationPricingMetricInterface",
|
|
466
|
+
"LicenseBasedRate",
|
|
467
|
+
"LicenseBasedRateInput",
|
|
468
|
+
"ListRateCardsResponse",
|
|
469
|
+
"ListSubjectsResponse",
|
|
470
|
+
"ListSubscriptionsResponse",
|
|
471
|
+
"MaxAggregationPricingMetricInterface",
|
|
472
|
+
"MonetaryAmount",
|
|
473
|
+
"PackagePrice",
|
|
474
|
+
"PackagePriceRoundingBehavior",
|
|
475
|
+
"PackagePriceWrapper",
|
|
476
|
+
"Period",
|
|
477
|
+
"Price",
|
|
478
|
+
"PricingMatrixCellInterface",
|
|
479
|
+
"PricingMatrixInterface",
|
|
480
|
+
"PricingMetric",
|
|
481
|
+
"PricingMetricInterface",
|
|
482
|
+
"PricingPlan",
|
|
483
|
+
"PricingPlanSubscription",
|
|
484
|
+
"PricingTier",
|
|
485
|
+
"RateCard",
|
|
486
|
+
"RateCardResource",
|
|
487
|
+
"RateCardResourceBillingInterval",
|
|
488
|
+
"RateCardResourceUsageBasedRatesItem",
|
|
489
|
+
"RateCardResourceUsageBasedRatesItem_Dimensional",
|
|
490
|
+
"RateCardResourceUsageBasedRatesItem_Simple",
|
|
491
|
+
"RateCardVersion",
|
|
492
|
+
"RateCardVersionInput",
|
|
493
|
+
"SimpleUsageBasedRate",
|
|
494
|
+
"SimpleUsageBasedRateInput",
|
|
495
|
+
"SimpleUsageBasedRateInterface",
|
|
496
|
+
"Status",
|
|
497
|
+
"Subject",
|
|
498
|
+
"SubjectGrantingConfig",
|
|
499
|
+
"SubjectGrantingConfigResource",
|
|
500
|
+
"SubjectResource",
|
|
501
|
+
"SubscriptionResource",
|
|
502
|
+
"SumAggregationPricingMetricInterface",
|
|
503
|
+
"TieredPrice",
|
|
504
|
+
"TieredPriceWrapper",
|
|
505
|
+
"Unit",
|
|
506
|
+
"UnprocessableEntityError",
|
|
507
|
+
"UpdatePricingPlanRequest",
|
|
508
|
+
"UpdateRateCardRequest",
|
|
509
|
+
"UpdateSubscriptionRequest",
|
|
510
|
+
"UsageBasedRate",
|
|
511
|
+
"UsageBasedRateInput",
|
|
512
|
+
"UsageUnit",
|
|
513
|
+
"ValidationError",
|
|
514
|
+
"ValidationErrorLocItem",
|
|
515
|
+
"__version__",
|
|
516
|
+
"checkout",
|
|
517
|
+
"feature_access",
|
|
518
|
+
"rate_cards",
|
|
519
|
+
"subjects",
|
|
520
|
+
"subscriptions",
|
|
521
|
+
"usage_events",
|
|
522
|
+
]
|