lark-billing 0.0.6__py3-none-any.whl → 0.0.7__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.

Files changed (141) hide show
  1. lark/__init__.py +69 -360
  2. lark/checkout/client.py +8 -85
  3. lark/checkout/raw_client.py +6 -102
  4. lark/client.py +93 -27
  5. lark/core/client_wrapper.py +2 -2
  6. lark/{feature_access → customer_access}/client.py +30 -24
  7. lark/{feature_access → customer_access}/raw_client.py +22 -17
  8. lark/{types/rate_card.py → customer_portal/__init__.py} +1 -2
  9. lark/customer_portal/client.py +115 -0
  10. lark/customer_portal/raw_client.py +134 -0
  11. lark/environment.py +7 -0
  12. lark/pricing_metrics/__init__.py +38 -0
  13. lark/pricing_metrics/client.py +219 -0
  14. lark/pricing_metrics/raw_client.py +268 -0
  15. lark/pricing_metrics/types/__init__.py +42 -0
  16. lark/{types/credit_grant_resource_input_schedule.py → pricing_metrics/types/pricing_metric_aggregation.py} +7 -8
  17. lark/rate_cards/__init__.py +3 -30
  18. lark/rate_cards/client.py +28 -540
  19. lark/rate_cards/raw_client.py +32 -368
  20. lark/rate_cards/types/__init__.py +2 -29
  21. lark/subjects/client.py +2 -36
  22. lark/subjects/raw_client.py +0 -16
  23. lark/subscriptions/client.py +24 -184
  24. lark/subscriptions/raw_client.py +18 -135
  25. lark/types/__init__.py +41 -356
  26. lark/types/amount.py +5 -1
  27. lark/types/{create_dimension_coordinate_interface.py → billing_state_response.py} +3 -3
  28. lark/types/{credit_grant_schedule_one_time_resource.py → count_aggregation_pricing_metric_resource.py} +1 -1
  29. lark/types/{create_dimension_interface.py → create_customer_portal_session_response.py} +3 -3
  30. lark/types/create_fixed_rate_interface.py +1 -7
  31. lark/types/{pricing_metric_interface.py → create_pricing_metric_response.py} +2 -5
  32. lark/types/create_simple_usage_based_rate_interface.py +3 -8
  33. lark/types/create_subject_response.py +2 -1
  34. lark/types/create_subscription_checkout_session_response.py +1 -2
  35. lark/types/create_usage_event_summary_response.py +1 -1
  36. lark/types/{credit_grant_schedule_rate_cycle_start_resource.py → custom_pricing_metric_resource.py} +3 -1
  37. lark/types/fixed_rate_interface.py +0 -6
  38. lark/types/{create_pricing_metric_interface.py → get_pricing_metric_response.py} +3 -5
  39. lark/types/{credit_grant_schedule_one_time_interface.py → last_aggregation_pricing_metric_resource.py} +2 -2
  40. lark/types/{credit_grant_date_time_expiration_resource.py → max_aggregation_pricing_metric_resource.py} +2 -2
  41. lark/types/package_price.py +2 -2
  42. lark/types/package_price_input_rounding_behavior.py +5 -0
  43. lark/types/package_price_output_rounding_behavior.py +5 -0
  44. lark/types/price.py +39 -1
  45. lark/types/rate_card_resource.py +0 -6
  46. lark/types/rate_card_resource_usage_based_rates_item.py +2 -28
  47. lark/types/simple_usage_based_rate_interface.py +1 -2
  48. lark/types/status.py +1 -1
  49. lark/types/subject_resource.py +2 -1
  50. lark/types/subscription_resource.py +0 -1
  51. lark/types/{credit_grant_date_time_expiration_interface.py → sum_aggregation_pricing_metric_resource.py} +2 -2
  52. lark/types/{subject.py → value.py} +1 -1
  53. lark/usage_events/client.py +8 -21
  54. lark/usage_events/raw_client.py +6 -6
  55. {lark_billing-0.0.6.dist-info → lark_billing-0.0.7.dist-info}/METADATA +3 -3
  56. lark_billing-0.0.7.dist-info/RECORD +94 -0
  57. lark/rate_cards/types/create_rate_card_request_usage_based_rates_item.py +0 -56
  58. lark/rate_cards/types/create_rate_card_version_request_usage_based_rates_item.py +0 -58
  59. lark/rate_cards/types/create_rate_card_version_request_version_type.py +0 -5
  60. lark/types/check_feature_access_request.py +0 -24
  61. lark/types/check_feature_access_response.py +0 -21
  62. lark/types/complete_subscription_checkout_response.py +0 -21
  63. lark/types/create_credit_grant_interface.py +0 -27
  64. lark/types/create_credit_grant_interface_expiration.py +0 -27
  65. lark/types/create_credit_pool_request.py +0 -5
  66. lark/types/create_dimensional_usage_based_rate_interface.py +0 -32
  67. lark/types/create_pricing_matrix_cell_interface.py +0 -22
  68. lark/types/create_pricing_matrix_interface.py +0 -20
  69. lark/types/create_pricing_plan_request.py +0 -5
  70. lark/types/create_rate_card_response.py +0 -36
  71. lark/types/create_rate_card_response_billing_interval.py +0 -5
  72. lark/types/create_rate_card_response_usage_based_rates_item.py +0 -58
  73. lark/types/create_rate_card_version_response.py +0 -36
  74. lark/types/create_rate_card_version_response_billing_interval.py +0 -5
  75. lark/types/create_rate_card_version_response_usage_based_rates_item.py +0 -59
  76. lark/types/credit_grant.py +0 -5
  77. lark/types/credit_grant_duration_expiration_interface.py +0 -21
  78. lark/types/credit_grant_duration_expiration_resource.py +0 -21
  79. lark/types/credit_grant_interface.py +0 -28
  80. lark/types/credit_grant_interface_input_expiration.py +0 -27
  81. lark/types/credit_grant_interface_output_expiration.py +0 -43
  82. lark/types/credit_grant_interface_output_schedule.py +0 -41
  83. lark/types/credit_grant_resource.py +0 -28
  84. lark/types/credit_grant_resource_input_expiration.py +0 -27
  85. lark/types/credit_grant_resource_output_expiration.py +0 -43
  86. lark/types/credit_grant_resource_output_schedule.py +0 -39
  87. lark/types/credit_grant_schedule.py +0 -5
  88. lark/types/credit_grant_schedule_rate_cycle_start_interface.py +0 -19
  89. lark/types/credit_grant_subject_granting_config_interface.py +0 -20
  90. lark/types/credit_pool.py +0 -5
  91. lark/types/credit_pool_rollover_config.py +0 -5
  92. lark/types/custom_aggregation_pricing_metric_interface.py +0 -22
  93. lark/types/custom_pricing_metric.py +0 -5
  94. lark/types/custom_unit.py +0 -5
  95. lark/types/custom_unit_amount.py +0 -5
  96. lark/types/dimension.py +0 -5
  97. lark/types/dimension_coordinate.py +0 -5
  98. lark/types/dimension_coordinate_interface.py +0 -20
  99. lark/types/dimension_coordinate_set.py +0 -5
  100. lark/types/dimension_interface.py +0 -20
  101. lark/types/dimensional_rate_matrix.py +0 -5
  102. lark/types/dimensional_rate_matrix_cell.py +0 -5
  103. lark/types/dimensional_usage_based_rate.py +0 -5
  104. lark/types/dimensional_usage_based_rate_input.py +0 -5
  105. lark/types/dimensional_usage_based_rate_interface.py +0 -33
  106. lark/types/feature_access_resource.py +0 -21
  107. lark/types/get_rate_card_response.py +0 -36
  108. lark/types/get_rate_card_response_billing_interval.py +0 -5
  109. lark/types/get_rate_card_response_usage_based_rates_item.py +0 -58
  110. lark/types/grant_credits_request.py +0 -5
  111. lark/types/last_aggregation_pricing_metric_interface.py +0 -22
  112. lark/types/license_based_rate.py +0 -5
  113. lark/types/license_based_rate_input.py +0 -5
  114. lark/types/max_aggregation_pricing_metric_interface.py +0 -22
  115. lark/types/monetary_amount.py +0 -5
  116. lark/types/package_price_rounding_behavior.py +0 -5
  117. lark/types/package_price_wrapper.py +0 -5
  118. lark/types/pricing_matrix_cell_interface.py +0 -22
  119. lark/types/pricing_matrix_interface.py +0 -20
  120. lark/types/pricing_metric.py +0 -5
  121. lark/types/pricing_plan.py +0 -5
  122. lark/types/pricing_plan_subscription.py +0 -5
  123. lark/types/pricing_tier.py +0 -5
  124. lark/types/rate_card_version.py +0 -5
  125. lark/types/rate_card_version_input.py +0 -5
  126. lark/types/simple_usage_based_rate.py +0 -5
  127. lark/types/simple_usage_based_rate_input.py +0 -5
  128. lark/types/subject_granting_config.py +0 -5
  129. lark/types/subject_granting_config_resource.py +0 -20
  130. lark/types/tiered_price.py +0 -5
  131. lark/types/tiered_price_wrapper.py +0 -5
  132. lark/types/unit.py +0 -5
  133. lark/types/update_pricing_plan_request.py +0 -5
  134. lark/types/update_rate_card_request.py +0 -5
  135. lark/types/update_subscription_request.py +0 -5
  136. lark/types/usage_based_rate.py +0 -5
  137. lark/types/usage_based_rate_input.py +0 -5
  138. lark/types/usage_unit.py +0 -5
  139. lark_billing-0.0.6.dist-info/RECORD +0 -167
  140. /lark/{feature_access → customer_access}/__init__.py +0 -0
  141. {lark_billing-0.0.6.dist-info → lark_billing-0.0.7.dist-info}/WHEEL +0 -0
lark/__init__.py CHANGED
@@ -14,157 +14,62 @@ if typing.TYPE_CHECKING:
14
14
  Aggregation_Max,
15
15
  Aggregation_Sum,
16
16
  Amount,
17
- CheckFeatureAccessRequest,
18
- CheckFeatureAccessResponse,
19
- CompleteSubscriptionCheckoutResponse,
17
+ BillingStateResponse,
20
18
  CountAggregationPricingMetricInterface,
21
- CreateCreditGrantInterface,
22
- CreateCreditGrantInterfaceExpiration,
23
- CreateCreditGrantInterfaceExpiration_Duration,
24
- CreateCreditPoolRequest,
25
- CreateDimensionCoordinateInterface,
26
- CreateDimensionInterface,
27
- CreateDimensionalUsageBasedRateInterface,
19
+ CountAggregationPricingMetricResource,
20
+ CreateCustomerPortalSessionResponse,
28
21
  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,
22
+ CreatePricingMetricResponse,
43
23
  CreateSimpleUsageBasedRateInterface,
44
24
  CreateSubjectResponse,
45
25
  CreateSubscriptionCheckoutSessionResponse,
46
26
  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,
27
+ CustomPricingMetricResource,
96
28
  FixedRateInterface,
97
29
  FlatPrice,
98
- GetRateCardResponse,
99
- GetRateCardResponseBillingInterval,
100
- GetRateCardResponseUsageBasedRatesItem,
101
- GetRateCardResponseUsageBasedRatesItem_Dimensional,
102
- GetRateCardResponseUsageBasedRatesItem_Simple,
103
- GrantCreditsRequest,
30
+ GetPricingMetricResponse,
104
31
  HttpValidationError,
105
- LastAggregationPricingMetricInterface,
106
- LicenseBasedRate,
107
- LicenseBasedRateInput,
32
+ LastAggregationPricingMetricResource,
108
33
  ListRateCardsResponse,
109
34
  ListSubjectsResponse,
110
35
  ListSubscriptionsResponse,
111
- MaxAggregationPricingMetricInterface,
112
- MonetaryAmount,
36
+ MaxAggregationPricingMetricResource,
113
37
  PackagePrice,
114
- PackagePriceRoundingBehavior,
115
- PackagePriceWrapper,
38
+ PackagePriceInputRoundingBehavior,
39
+ PackagePriceOutputRoundingBehavior,
116
40
  Period,
117
41
  Price,
118
- PricingMatrixCellInterface,
119
- PricingMatrixInterface,
120
- PricingMetric,
121
- PricingMetricInterface,
122
- PricingPlan,
123
- PricingPlanSubscription,
124
- PricingTier,
125
- RateCard,
42
+ Price_Flat,
43
+ Price_Package,
126
44
  RateCardResource,
127
45
  RateCardResourceBillingInterval,
128
46
  RateCardResourceUsageBasedRatesItem,
129
- RateCardResourceUsageBasedRatesItem_Dimensional,
130
47
  RateCardResourceUsageBasedRatesItem_Simple,
131
- RateCardVersion,
132
- RateCardVersionInput,
133
- SimpleUsageBasedRate,
134
- SimpleUsageBasedRateInput,
135
48
  SimpleUsageBasedRateInterface,
136
49
  Status,
137
- Subject,
138
- SubjectGrantingConfig,
139
- SubjectGrantingConfigResource,
140
50
  SubjectResource,
141
51
  SubscriptionResource,
142
52
  SumAggregationPricingMetricInterface,
143
- TieredPrice,
144
- TieredPriceWrapper,
145
- Unit,
146
- UpdatePricingPlanRequest,
147
- UpdateRateCardRequest,
148
- UpdateSubscriptionRequest,
149
- UsageBasedRate,
150
- UsageBasedRateInput,
151
- UsageUnit,
53
+ SumAggregationPricingMetricResource,
152
54
  ValidationError,
153
55
  ValidationErrorLocItem,
56
+ Value,
154
57
  )
155
58
  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,
59
+ from . import (
60
+ checkout,
61
+ customer_access,
62
+ customer_portal,
63
+ pricing_metrics,
64
+ rate_cards,
65
+ subjects,
66
+ subscriptions,
67
+ usage_events,
167
68
  )
69
+ from .client import AsyncLark, Lark
70
+ from .environment import LarkEnvironment
71
+ from .pricing_metrics import PricingMetricAggregation, PricingMetricAggregation_Count, PricingMetricAggregation_Sum
72
+ from .rate_cards import CreateRateCardRequestBillingInterval
168
73
  from .usage_events import CreateUsageEventSummaryRequestAggregationType
169
74
  from .version import __version__
170
75
  _dynamic_imports: typing.Dict[str, str] = {
@@ -176,157 +81,59 @@ _dynamic_imports: typing.Dict[str, str] = {
176
81
  "Aggregation_Sum": ".types",
177
82
  "Amount": ".types",
178
83
  "AsyncLark": ".client",
179
- "CheckFeatureAccessRequest": ".types",
180
- "CheckFeatureAccessResponse": ".types",
181
- "CompleteSubscriptionCheckoutResponse": ".types",
84
+ "BillingStateResponse": ".types",
182
85
  "CountAggregationPricingMetricInterface": ".types",
183
- "CreateCreditGrantInterface": ".types",
184
- "CreateCreditGrantInterfaceExpiration": ".types",
185
- "CreateCreditGrantInterfaceExpiration_Duration": ".types",
186
- "CreateCreditPoolRequest": ".types",
187
- "CreateDimensionCoordinateInterface": ".types",
188
- "CreateDimensionInterface": ".types",
189
- "CreateDimensionalUsageBasedRateInterface": ".types",
86
+ "CountAggregationPricingMetricResource": ".types",
87
+ "CreateCustomerPortalSessionResponse": ".types",
190
88
  "CreateFixedRateInterface": ".types",
191
- "CreatePricingMatrixCellInterface": ".types",
192
- "CreatePricingMatrixInterface": ".types",
193
- "CreatePricingMetricInterface": ".types",
194
- "CreatePricingPlanRequest": ".types",
89
+ "CreatePricingMetricResponse": ".types",
195
90
  "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
91
  "CreateSimpleUsageBasedRateInterface": ".types",
214
92
  "CreateSubjectResponse": ".types",
215
93
  "CreateSubscriptionCheckoutSessionResponse": ".types",
216
94
  "CreateUsageEventSummaryRequestAggregationType": ".usage_events",
217
95
  "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",
96
+ "CustomPricingMetricResource": ".types",
267
97
  "FixedRateInterface": ".types",
268
98
  "FlatPrice": ".types",
269
- "GetRateCardResponse": ".types",
270
- "GetRateCardResponseBillingInterval": ".types",
271
- "GetRateCardResponseUsageBasedRatesItem": ".types",
272
- "GetRateCardResponseUsageBasedRatesItem_Dimensional": ".types",
273
- "GetRateCardResponseUsageBasedRatesItem_Simple": ".types",
274
- "GrantCreditsRequest": ".types",
99
+ "GetPricingMetricResponse": ".types",
275
100
  "HttpValidationError": ".types",
276
101
  "Lark": ".client",
277
- "LastAggregationPricingMetricInterface": ".types",
278
- "LicenseBasedRate": ".types",
279
- "LicenseBasedRateInput": ".types",
102
+ "LarkEnvironment": ".environment",
103
+ "LastAggregationPricingMetricResource": ".types",
280
104
  "ListRateCardsResponse": ".types",
281
105
  "ListSubjectsResponse": ".types",
282
106
  "ListSubscriptionsResponse": ".types",
283
- "MaxAggregationPricingMetricInterface": ".types",
284
- "MonetaryAmount": ".types",
107
+ "MaxAggregationPricingMetricResource": ".types",
285
108
  "PackagePrice": ".types",
286
- "PackagePriceRoundingBehavior": ".types",
287
- "PackagePriceWrapper": ".types",
109
+ "PackagePriceInputRoundingBehavior": ".types",
110
+ "PackagePriceOutputRoundingBehavior": ".types",
288
111
  "Period": ".types",
289
112
  "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",
113
+ "Price_Flat": ".types",
114
+ "Price_Package": ".types",
115
+ "PricingMetricAggregation": ".pricing_metrics",
116
+ "PricingMetricAggregation_Count": ".pricing_metrics",
117
+ "PricingMetricAggregation_Sum": ".pricing_metrics",
298
118
  "RateCardResource": ".types",
299
119
  "RateCardResourceBillingInterval": ".types",
300
120
  "RateCardResourceUsageBasedRatesItem": ".types",
301
- "RateCardResourceUsageBasedRatesItem_Dimensional": ".types",
302
121
  "RateCardResourceUsageBasedRatesItem_Simple": ".types",
303
- "RateCardVersion": ".types",
304
- "RateCardVersionInput": ".types",
305
- "SimpleUsageBasedRate": ".types",
306
- "SimpleUsageBasedRateInput": ".types",
307
122
  "SimpleUsageBasedRateInterface": ".types",
308
123
  "Status": ".types",
309
- "Subject": ".types",
310
- "SubjectGrantingConfig": ".types",
311
- "SubjectGrantingConfigResource": ".types",
312
124
  "SubjectResource": ".types",
313
125
  "SubscriptionResource": ".types",
314
126
  "SumAggregationPricingMetricInterface": ".types",
315
- "TieredPrice": ".types",
316
- "TieredPriceWrapper": ".types",
317
- "Unit": ".types",
127
+ "SumAggregationPricingMetricResource": ".types",
318
128
  "UnprocessableEntityError": ".errors",
319
- "UpdatePricingPlanRequest": ".types",
320
- "UpdateRateCardRequest": ".types",
321
- "UpdateSubscriptionRequest": ".types",
322
- "UsageBasedRate": ".types",
323
- "UsageBasedRateInput": ".types",
324
- "UsageUnit": ".types",
325
129
  "ValidationError": ".types",
326
130
  "ValidationErrorLocItem": ".types",
131
+ "Value": ".types",
327
132
  "__version__": ".version",
328
133
  "checkout": ".checkout",
329
- "feature_access": ".feature_access",
134
+ "customer_access": ".customer_access",
135
+ "customer_portal": ".customer_portal",
136
+ "pricing_metrics": ".pricing_metrics",
330
137
  "rate_cards": ".rate_cards",
331
138
  "subjects": ".subjects",
332
139
  "subscriptions": ".subscriptions",
@@ -364,157 +171,59 @@ __all__ = [
364
171
  "Aggregation_Sum",
365
172
  "Amount",
366
173
  "AsyncLark",
367
- "CheckFeatureAccessRequest",
368
- "CheckFeatureAccessResponse",
369
- "CompleteSubscriptionCheckoutResponse",
174
+ "BillingStateResponse",
370
175
  "CountAggregationPricingMetricInterface",
371
- "CreateCreditGrantInterface",
372
- "CreateCreditGrantInterfaceExpiration",
373
- "CreateCreditGrantInterfaceExpiration_Duration",
374
- "CreateCreditPoolRequest",
375
- "CreateDimensionCoordinateInterface",
376
- "CreateDimensionInterface",
377
- "CreateDimensionalUsageBasedRateInterface",
176
+ "CountAggregationPricingMetricResource",
177
+ "CreateCustomerPortalSessionResponse",
378
178
  "CreateFixedRateInterface",
379
- "CreatePricingMatrixCellInterface",
380
- "CreatePricingMatrixInterface",
381
- "CreatePricingMetricInterface",
382
- "CreatePricingPlanRequest",
179
+ "CreatePricingMetricResponse",
383
180
  "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
181
  "CreateSimpleUsageBasedRateInterface",
402
182
  "CreateSubjectResponse",
403
183
  "CreateSubscriptionCheckoutSessionResponse",
404
184
  "CreateUsageEventSummaryRequestAggregationType",
405
185
  "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",
186
+ "CustomPricingMetricResource",
455
187
  "FixedRateInterface",
456
188
  "FlatPrice",
457
- "GetRateCardResponse",
458
- "GetRateCardResponseBillingInterval",
459
- "GetRateCardResponseUsageBasedRatesItem",
460
- "GetRateCardResponseUsageBasedRatesItem_Dimensional",
461
- "GetRateCardResponseUsageBasedRatesItem_Simple",
462
- "GrantCreditsRequest",
189
+ "GetPricingMetricResponse",
463
190
  "HttpValidationError",
464
191
  "Lark",
465
- "LastAggregationPricingMetricInterface",
466
- "LicenseBasedRate",
467
- "LicenseBasedRateInput",
192
+ "LarkEnvironment",
193
+ "LastAggregationPricingMetricResource",
468
194
  "ListRateCardsResponse",
469
195
  "ListSubjectsResponse",
470
196
  "ListSubscriptionsResponse",
471
- "MaxAggregationPricingMetricInterface",
472
- "MonetaryAmount",
197
+ "MaxAggregationPricingMetricResource",
473
198
  "PackagePrice",
474
- "PackagePriceRoundingBehavior",
475
- "PackagePriceWrapper",
199
+ "PackagePriceInputRoundingBehavior",
200
+ "PackagePriceOutputRoundingBehavior",
476
201
  "Period",
477
202
  "Price",
478
- "PricingMatrixCellInterface",
479
- "PricingMatrixInterface",
480
- "PricingMetric",
481
- "PricingMetricInterface",
482
- "PricingPlan",
483
- "PricingPlanSubscription",
484
- "PricingTier",
485
- "RateCard",
203
+ "Price_Flat",
204
+ "Price_Package",
205
+ "PricingMetricAggregation",
206
+ "PricingMetricAggregation_Count",
207
+ "PricingMetricAggregation_Sum",
486
208
  "RateCardResource",
487
209
  "RateCardResourceBillingInterval",
488
210
  "RateCardResourceUsageBasedRatesItem",
489
- "RateCardResourceUsageBasedRatesItem_Dimensional",
490
211
  "RateCardResourceUsageBasedRatesItem_Simple",
491
- "RateCardVersion",
492
- "RateCardVersionInput",
493
- "SimpleUsageBasedRate",
494
- "SimpleUsageBasedRateInput",
495
212
  "SimpleUsageBasedRateInterface",
496
213
  "Status",
497
- "Subject",
498
- "SubjectGrantingConfig",
499
- "SubjectGrantingConfigResource",
500
214
  "SubjectResource",
501
215
  "SubscriptionResource",
502
216
  "SumAggregationPricingMetricInterface",
503
- "TieredPrice",
504
- "TieredPriceWrapper",
505
- "Unit",
217
+ "SumAggregationPricingMetricResource",
506
218
  "UnprocessableEntityError",
507
- "UpdatePricingPlanRequest",
508
- "UpdateRateCardRequest",
509
- "UpdateSubscriptionRequest",
510
- "UsageBasedRate",
511
- "UsageBasedRateInput",
512
- "UsageUnit",
513
219
  "ValidationError",
514
220
  "ValidationErrorLocItem",
221
+ "Value",
515
222
  "__version__",
516
223
  "checkout",
517
- "feature_access",
224
+ "customer_access",
225
+ "customer_portal",
226
+ "pricing_metrics",
518
227
  "rate_cards",
519
228
  "subjects",
520
229
  "subscriptions",