lark-billing 0.0.8__py3-none-any.whl → 0.1.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 lark-billing might be problematic. Click here for more details.
- lark/__init__.py +41 -16
- lark/checkout/client.py +8 -4
- lark/checkout/raw_client.py +4 -0
- lark/core/client_wrapper.py +2 -2
- lark/customer_portal/client.py +4 -2
- lark/customer_portal/raw_client.py +2 -0
- lark/pricing_metrics/__init__.py +19 -2
- lark/pricing_metrics/client.py +148 -22
- lark/pricing_metrics/raw_client.py +159 -20
- lark/pricing_metrics/types/__init__.py +14 -1
- lark/pricing_metrics/types/pricing_metric_aggregation.py +69 -1
- lark/rate_cards/client.py +74 -12
- lark/rate_cards/raw_client.py +24 -14
- lark/rate_cards/types/create_rate_card_request_usage_based_rates_item.py +1 -1
- lark/subjects/client.py +12 -2
- lark/subscriptions/client.py +4 -2
- lark/subscriptions/raw_client.py +2 -0
- lark/types/__init__.py +23 -13
- lark/types/aggregation.py +45 -1
- lark/types/amount.py +4 -1
- lark/types/billing_state_response.py +9 -2
- lark/types/count_aggregation_pricing_metric_interface.py +4 -0
- lark/types/create_customer_portal_session_response.py +9 -2
- lark/types/create_fixed_rate_request.py +10 -2
- lark/types/create_simple_usage_based_rate_request.py +15 -3
- lark/types/create_subscription_checkout_session_response.py +14 -3
- lark/types/custom_aggregation_pricing_metric_interface.py +26 -0
- lark/types/fixed_rate_interface.py +1 -1
- lark/types/invoice_resource.py +34 -9
- lark/types/last_aggregation_pricing_metric_interface.py +26 -0
- lark/types/{get_pricing_metric_response.py → last_aggregation_pricing_metric_resource.py} +5 -7
- lark/types/{create_usage_event_summary_response.py → max_aggregation_pricing_metric_interface.py} +9 -6
- lark/types/{create_pricing_metric_response.py → max_aggregation_pricing_metric_resource.py} +5 -7
- lark/types/period.py +3 -2
- lark/types/pricing_metric_resource.py +24 -5
- lark/types/pricing_metric_summary_resource.py +43 -0
- lark/types/rate_card_resource.py +36 -7
- lark/types/rate_card_resource_usage_based_rates_item.py +1 -1
- lark/types/simple_usage_based_rate_interface.py +1 -1
- lark/types/subscription_resource.py +39 -8
- lark/types/sum_aggregation_pricing_metric_interface.py +4 -0
- lark/types/sum_aggregation_pricing_metric_resource.py +4 -1
- lark/usage_events/__init__.py +3 -3
- lark/usage_events/client.py +40 -131
- lark/usage_events/raw_client.py +21 -147
- lark/usage_events/types/__init__.py +3 -5
- lark/{types/value.py → usage_events/types/create_usage_event_request_data_value.py} +1 -1
- {lark_billing-0.0.8.dist-info → lark_billing-0.1.0.dist-info}/METADATA +5 -5
- {lark_billing-0.0.8.dist-info → lark_billing-0.1.0.dist-info}/RECORD +50 -48
- lark/usage_events/types/create_usage_event_summary_request_aggregation_type.py +0 -5
- {lark_billing-0.0.8.dist-info → lark_billing-0.1.0.dist-info}/WHEEL +0 -0
lark/usage_events/raw_client.py
CHANGED
|
@@ -11,10 +11,8 @@ from ..core.pydantic_utilities import parse_obj_as
|
|
|
11
11
|
from ..core.request_options import RequestOptions
|
|
12
12
|
from ..core.serialization import convert_and_respect_annotation_metadata
|
|
13
13
|
from ..errors.unprocessable_entity_error import UnprocessableEntityError
|
|
14
|
-
from ..types.create_usage_event_summary_response import CreateUsageEventSummaryResponse
|
|
15
14
|
from ..types.http_validation_error import HttpValidationError
|
|
16
|
-
from
|
|
17
|
-
from .types.create_usage_event_summary_request_aggregation_type import CreateUsageEventSummaryRequestAggregationType
|
|
15
|
+
from .types.create_usage_event_request_data_value import CreateUsageEventRequestDataValue
|
|
18
16
|
|
|
19
17
|
# this is used as the default value for optional parameters
|
|
20
18
|
OMIT = typing.cast(typing.Any, ...)
|
|
@@ -30,7 +28,7 @@ class RawUsageEventsClient:
|
|
|
30
28
|
idempotency_key: str,
|
|
31
29
|
event_name: str,
|
|
32
30
|
subject_id: str,
|
|
33
|
-
data: typing.Dict[str,
|
|
31
|
+
data: typing.Dict[str, CreateUsageEventRequestDataValue],
|
|
34
32
|
timestamp: typing.Optional[dt.datetime] = OMIT,
|
|
35
33
|
request_options: typing.Optional[RequestOptions] = None,
|
|
36
34
|
) -> HttpResponse[typing.Optional[typing.Any]]:
|
|
@@ -38,14 +36,19 @@ class RawUsageEventsClient:
|
|
|
38
36
|
Parameters
|
|
39
37
|
----------
|
|
40
38
|
idempotency_key : str
|
|
39
|
+
The idempotency key for the usage event. This ensures that the same event is not processed multiple times.
|
|
41
40
|
|
|
42
41
|
event_name : str
|
|
42
|
+
The name of the event. This is used by pricing metrics to aggregate usage events.
|
|
43
43
|
|
|
44
44
|
subject_id : str
|
|
45
|
+
The ID of the subject that the usage event is for.
|
|
45
46
|
|
|
46
|
-
data : typing.Dict[str,
|
|
47
|
+
data : typing.Dict[str, CreateUsageEventRequestDataValue]
|
|
48
|
+
The data of the usage event. This should contain any data that is needed to aggregate the usage event.
|
|
47
49
|
|
|
48
50
|
timestamp : typing.Optional[dt.datetime]
|
|
51
|
+
The timestamp of the usage event. It is highly recommended to provide a timestamp. If not provided, the current timestamp will be used.
|
|
49
52
|
|
|
50
53
|
request_options : typing.Optional[RequestOptions]
|
|
51
54
|
Request-specific configuration.
|
|
@@ -63,7 +66,9 @@ class RawUsageEventsClient:
|
|
|
63
66
|
"event_name": event_name,
|
|
64
67
|
"subject_id": subject_id,
|
|
65
68
|
"timestamp": timestamp,
|
|
66
|
-
"data":
|
|
69
|
+
"data": convert_and_respect_annotation_metadata(
|
|
70
|
+
object_=data, annotation=typing.Dict[str, CreateUsageEventRequestDataValue], direction="write"
|
|
71
|
+
),
|
|
67
72
|
},
|
|
68
73
|
headers={
|
|
69
74
|
"content-type": "application/json",
|
|
@@ -99,75 +104,6 @@ class RawUsageEventsClient:
|
|
|
99
104
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
100
105
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
101
106
|
|
|
102
|
-
def create_usage_event_summary(
|
|
103
|
-
self,
|
|
104
|
-
*,
|
|
105
|
-
event_name: str,
|
|
106
|
-
subject_id: str,
|
|
107
|
-
period: Period,
|
|
108
|
-
aggregation_type: CreateUsageEventSummaryRequestAggregationType,
|
|
109
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
110
|
-
) -> HttpResponse[CreateUsageEventSummaryResponse]:
|
|
111
|
-
"""
|
|
112
|
-
Parameters
|
|
113
|
-
----------
|
|
114
|
-
event_name : str
|
|
115
|
-
|
|
116
|
-
subject_id : str
|
|
117
|
-
|
|
118
|
-
period : Period
|
|
119
|
-
|
|
120
|
-
aggregation_type : CreateUsageEventSummaryRequestAggregationType
|
|
121
|
-
|
|
122
|
-
request_options : typing.Optional[RequestOptions]
|
|
123
|
-
Request-specific configuration.
|
|
124
|
-
|
|
125
|
-
Returns
|
|
126
|
-
-------
|
|
127
|
-
HttpResponse[CreateUsageEventSummaryResponse]
|
|
128
|
-
Successful Response
|
|
129
|
-
"""
|
|
130
|
-
_response = self._client_wrapper.httpx_client.request(
|
|
131
|
-
"usage-events/summary",
|
|
132
|
-
method="POST",
|
|
133
|
-
json={
|
|
134
|
-
"event_name": event_name,
|
|
135
|
-
"subject_id": subject_id,
|
|
136
|
-
"period": convert_and_respect_annotation_metadata(object_=period, annotation=Period, direction="write"),
|
|
137
|
-
"aggregation_type": aggregation_type,
|
|
138
|
-
},
|
|
139
|
-
headers={
|
|
140
|
-
"content-type": "application/json",
|
|
141
|
-
},
|
|
142
|
-
request_options=request_options,
|
|
143
|
-
omit=OMIT,
|
|
144
|
-
)
|
|
145
|
-
try:
|
|
146
|
-
if 200 <= _response.status_code < 300:
|
|
147
|
-
_data = typing.cast(
|
|
148
|
-
CreateUsageEventSummaryResponse,
|
|
149
|
-
parse_obj_as(
|
|
150
|
-
type_=CreateUsageEventSummaryResponse, # type: ignore
|
|
151
|
-
object_=_response.json(),
|
|
152
|
-
),
|
|
153
|
-
)
|
|
154
|
-
return HttpResponse(response=_response, data=_data)
|
|
155
|
-
if _response.status_code == 422:
|
|
156
|
-
raise UnprocessableEntityError(
|
|
157
|
-
headers=dict(_response.headers),
|
|
158
|
-
body=typing.cast(
|
|
159
|
-
HttpValidationError,
|
|
160
|
-
parse_obj_as(
|
|
161
|
-
type_=HttpValidationError, # type: ignore
|
|
162
|
-
object_=_response.json(),
|
|
163
|
-
),
|
|
164
|
-
),
|
|
165
|
-
)
|
|
166
|
-
_response_json = _response.json()
|
|
167
|
-
except JSONDecodeError:
|
|
168
|
-
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
169
|
-
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
170
|
-
|
|
171
107
|
|
|
172
108
|
class AsyncRawUsageEventsClient:
|
|
173
109
|
def __init__(self, *, client_wrapper: AsyncClientWrapper):
|
|
@@ -179,7 +115,7 @@ class AsyncRawUsageEventsClient:
|
|
|
179
115
|
idempotency_key: str,
|
|
180
116
|
event_name: str,
|
|
181
117
|
subject_id: str,
|
|
182
|
-
data: typing.Dict[str,
|
|
118
|
+
data: typing.Dict[str, CreateUsageEventRequestDataValue],
|
|
183
119
|
timestamp: typing.Optional[dt.datetime] = OMIT,
|
|
184
120
|
request_options: typing.Optional[RequestOptions] = None,
|
|
185
121
|
) -> AsyncHttpResponse[typing.Optional[typing.Any]]:
|
|
@@ -187,14 +123,19 @@ class AsyncRawUsageEventsClient:
|
|
|
187
123
|
Parameters
|
|
188
124
|
----------
|
|
189
125
|
idempotency_key : str
|
|
126
|
+
The idempotency key for the usage event. This ensures that the same event is not processed multiple times.
|
|
190
127
|
|
|
191
128
|
event_name : str
|
|
129
|
+
The name of the event. This is used by pricing metrics to aggregate usage events.
|
|
192
130
|
|
|
193
131
|
subject_id : str
|
|
132
|
+
The ID of the subject that the usage event is for.
|
|
194
133
|
|
|
195
|
-
data : typing.Dict[str,
|
|
134
|
+
data : typing.Dict[str, CreateUsageEventRequestDataValue]
|
|
135
|
+
The data of the usage event. This should contain any data that is needed to aggregate the usage event.
|
|
196
136
|
|
|
197
137
|
timestamp : typing.Optional[dt.datetime]
|
|
138
|
+
The timestamp of the usage event. It is highly recommended to provide a timestamp. If not provided, the current timestamp will be used.
|
|
198
139
|
|
|
199
140
|
request_options : typing.Optional[RequestOptions]
|
|
200
141
|
Request-specific configuration.
|
|
@@ -212,7 +153,9 @@ class AsyncRawUsageEventsClient:
|
|
|
212
153
|
"event_name": event_name,
|
|
213
154
|
"subject_id": subject_id,
|
|
214
155
|
"timestamp": timestamp,
|
|
215
|
-
"data":
|
|
156
|
+
"data": convert_and_respect_annotation_metadata(
|
|
157
|
+
object_=data, annotation=typing.Dict[str, CreateUsageEventRequestDataValue], direction="write"
|
|
158
|
+
),
|
|
216
159
|
},
|
|
217
160
|
headers={
|
|
218
161
|
"content-type": "application/json",
|
|
@@ -247,72 +190,3 @@ class AsyncRawUsageEventsClient:
|
|
|
247
190
|
except JSONDecodeError:
|
|
248
191
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
249
192
|
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
250
|
-
|
|
251
|
-
async def create_usage_event_summary(
|
|
252
|
-
self,
|
|
253
|
-
*,
|
|
254
|
-
event_name: str,
|
|
255
|
-
subject_id: str,
|
|
256
|
-
period: Period,
|
|
257
|
-
aggregation_type: CreateUsageEventSummaryRequestAggregationType,
|
|
258
|
-
request_options: typing.Optional[RequestOptions] = None,
|
|
259
|
-
) -> AsyncHttpResponse[CreateUsageEventSummaryResponse]:
|
|
260
|
-
"""
|
|
261
|
-
Parameters
|
|
262
|
-
----------
|
|
263
|
-
event_name : str
|
|
264
|
-
|
|
265
|
-
subject_id : str
|
|
266
|
-
|
|
267
|
-
period : Period
|
|
268
|
-
|
|
269
|
-
aggregation_type : CreateUsageEventSummaryRequestAggregationType
|
|
270
|
-
|
|
271
|
-
request_options : typing.Optional[RequestOptions]
|
|
272
|
-
Request-specific configuration.
|
|
273
|
-
|
|
274
|
-
Returns
|
|
275
|
-
-------
|
|
276
|
-
AsyncHttpResponse[CreateUsageEventSummaryResponse]
|
|
277
|
-
Successful Response
|
|
278
|
-
"""
|
|
279
|
-
_response = await self._client_wrapper.httpx_client.request(
|
|
280
|
-
"usage-events/summary",
|
|
281
|
-
method="POST",
|
|
282
|
-
json={
|
|
283
|
-
"event_name": event_name,
|
|
284
|
-
"subject_id": subject_id,
|
|
285
|
-
"period": convert_and_respect_annotation_metadata(object_=period, annotation=Period, direction="write"),
|
|
286
|
-
"aggregation_type": aggregation_type,
|
|
287
|
-
},
|
|
288
|
-
headers={
|
|
289
|
-
"content-type": "application/json",
|
|
290
|
-
},
|
|
291
|
-
request_options=request_options,
|
|
292
|
-
omit=OMIT,
|
|
293
|
-
)
|
|
294
|
-
try:
|
|
295
|
-
if 200 <= _response.status_code < 300:
|
|
296
|
-
_data = typing.cast(
|
|
297
|
-
CreateUsageEventSummaryResponse,
|
|
298
|
-
parse_obj_as(
|
|
299
|
-
type_=CreateUsageEventSummaryResponse, # type: ignore
|
|
300
|
-
object_=_response.json(),
|
|
301
|
-
),
|
|
302
|
-
)
|
|
303
|
-
return AsyncHttpResponse(response=_response, data=_data)
|
|
304
|
-
if _response.status_code == 422:
|
|
305
|
-
raise UnprocessableEntityError(
|
|
306
|
-
headers=dict(_response.headers),
|
|
307
|
-
body=typing.cast(
|
|
308
|
-
HttpValidationError,
|
|
309
|
-
parse_obj_as(
|
|
310
|
-
type_=HttpValidationError, # type: ignore
|
|
311
|
-
object_=_response.json(),
|
|
312
|
-
),
|
|
313
|
-
),
|
|
314
|
-
)
|
|
315
|
-
_response_json = _response.json()
|
|
316
|
-
except JSONDecodeError:
|
|
317
|
-
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response.text)
|
|
318
|
-
raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
|
|
@@ -6,10 +6,8 @@ import typing
|
|
|
6
6
|
from importlib import import_module
|
|
7
7
|
|
|
8
8
|
if typing.TYPE_CHECKING:
|
|
9
|
-
from .
|
|
10
|
-
_dynamic_imports: typing.Dict[str, str] = {
|
|
11
|
-
"CreateUsageEventSummaryRequestAggregationType": ".create_usage_event_summary_request_aggregation_type"
|
|
12
|
-
}
|
|
9
|
+
from .create_usage_event_request_data_value import CreateUsageEventRequestDataValue
|
|
10
|
+
_dynamic_imports: typing.Dict[str, str] = {"CreateUsageEventRequestDataValue": ".create_usage_event_request_data_value"}
|
|
13
11
|
|
|
14
12
|
|
|
15
13
|
def __getattr__(attr_name: str) -> typing.Any:
|
|
@@ -33,4 +31,4 @@ def __dir__():
|
|
|
33
31
|
return sorted(lazy_attrs)
|
|
34
32
|
|
|
35
33
|
|
|
36
|
-
__all__ = ["
|
|
34
|
+
__all__ = ["CreateUsageEventRequestDataValue"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lark-billing
|
|
3
|
-
Version: 0.0
|
|
3
|
+
Version: 0.1.0
|
|
4
4
|
Summary:
|
|
5
5
|
Requires-Python: >=3.8,<4.0
|
|
6
6
|
Classifier: Intended Audience :: Developers
|
|
@@ -53,8 +53,8 @@ client = Lark(
|
|
|
53
53
|
api_key="YOUR_API_KEY",
|
|
54
54
|
)
|
|
55
55
|
client.checkout.create_subscription_checkout_session(
|
|
56
|
-
subject_id="
|
|
57
|
-
rate_card_id="
|
|
56
|
+
subject_id="subj_VyX6Q96h5avMho8O7QWlKeXE",
|
|
57
|
+
rate_card_id="rc_AJWMxR81jxoRlli6p13uf3JB",
|
|
58
58
|
success_callback_url="https://example.com/callback",
|
|
59
59
|
)
|
|
60
60
|
```
|
|
@@ -75,8 +75,8 @@ client = AsyncLark(
|
|
|
75
75
|
|
|
76
76
|
async def main() -> None:
|
|
77
77
|
await client.checkout.create_subscription_checkout_session(
|
|
78
|
-
subject_id="
|
|
79
|
-
rate_card_id="
|
|
78
|
+
subject_id="subj_VyX6Q96h5avMho8O7QWlKeXE",
|
|
79
|
+
rate_card_id="rc_AJWMxR81jxoRlli6p13uf3JB",
|
|
80
80
|
success_callback_url="https://example.com/callback",
|
|
81
81
|
)
|
|
82
82
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
lark/__init__.py,sha256=
|
|
1
|
+
lark/__init__.py,sha256=9qhAMiVX06Gu5UKncErYqK0MVFqOsYH3ch2jhTy1Yp8,9188
|
|
2
2
|
lark/checkout/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
3
|
-
lark/checkout/client.py,sha256=
|
|
4
|
-
lark/checkout/raw_client.py,sha256=
|
|
3
|
+
lark/checkout/client.py,sha256=LjSKK7GhZMHyUcsQG4oWZCAsjnYgQmmuHlF_PA4x2UU,4882
|
|
4
|
+
lark/checkout/raw_client.py,sha256=oRoXAuZzZn-eCCPcB34QzGmAu8NBFVprA-14krIPQSM,6512
|
|
5
5
|
lark/client.py,sha256=cpy-iyLMnTnHLsHRNyRCaKFPyPCQwY425SRGG-B3kI4,12650
|
|
6
6
|
lark/core/__init__.py,sha256=GkNNgA0CeqvpCzo2vVtAafE8YcnGV-VGtbU5op93lbc,3624
|
|
7
7
|
lark/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
8
|
-
lark/core/client_wrapper.py,sha256=
|
|
8
|
+
lark/core/client_wrapper.py,sha256=fE2DQe9YbmT9ga369IkisL4s9gJjAg4OeMfJF3erBP8,2374
|
|
9
9
|
lark/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
10
10
|
lark/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
11
11
|
lark/core/force_multipart.py,sha256=cH981xLy0kZVKiZZkFoeUjgJ2Zuq7KXB2aRAnmHzRDc,477
|
|
@@ -26,82 +26,84 @@ lark/customer_access/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhX
|
|
|
26
26
|
lark/customer_access/client.py,sha256=wKvoiC1trQOC99bMoihluFF7BXZi9f18Yu96EFnXc_Q,2989
|
|
27
27
|
lark/customer_access/raw_client.py,sha256=0hK-AC5QpLxkiQJ8eeNXespg4MnXVO1UIwGS-e0MM4I,4668
|
|
28
28
|
lark/customer_portal/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
29
|
-
lark/customer_portal/client.py,sha256=
|
|
30
|
-
lark/customer_portal/raw_client.py,sha256=
|
|
29
|
+
lark/customer_portal/client.py,sha256=_AL-7HEcvn7qcscLbBlXUXAncA2shxEAfZwP-W4Jf_8,3514
|
|
30
|
+
lark/customer_portal/raw_client.py,sha256=yZ0OfBdT019Rx8N40kCuZCQ_Mg7v01RZiMmuX7BKEDg,5348
|
|
31
31
|
lark/environment.py,sha256=dyFMCpgEEgFYj5pj8M-IxENul1uXC6owvlm4Kn6Lw3A,152
|
|
32
32
|
lark/errors/__init__.py,sha256=4g1JPPnrPS-pG-WGU1S8HrYE5RoctStcA35abyL_tmI,1134
|
|
33
33
|
lark/errors/unprocessable_entity_error.py,sha256=aDgvUf-6k1fSUL-OxI3MgOIFQNssTUNpv5vW9M4vfRc,401
|
|
34
34
|
lark/invoices/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
35
35
|
lark/invoices/client.py,sha256=-DDd4gEQz8HZFIiUjqK_sOoevK8I7vyRwHvnm1iZn_k,3601
|
|
36
36
|
lark/invoices/raw_client.py,sha256=VWdX-6-VNdC51sgorAtbYPpppga7dogWRDprErF80I4,5271
|
|
37
|
-
lark/pricing_metrics/__init__.py,sha256=
|
|
38
|
-
lark/pricing_metrics/client.py,sha256=
|
|
39
|
-
lark/pricing_metrics/raw_client.py,sha256=
|
|
40
|
-
lark/pricing_metrics/types/__init__.py,sha256=
|
|
41
|
-
lark/pricing_metrics/types/pricing_metric_aggregation.py,sha256=
|
|
37
|
+
lark/pricing_metrics/__init__.py,sha256=ruJDEPAGWLKjSlm0kGK4FOeHf3tdhCexU9N7oS1Lu6U,1741
|
|
38
|
+
lark/pricing_metrics/client.py,sha256=OaXVx1eKkNg7uzTAoFKIiL6cAmUOmG8ATCC1FQkC7lI,11888
|
|
39
|
+
lark/pricing_metrics/raw_client.py,sha256=MG8DeH3b7m3PTeEtYWP3g2VnRk990eZD2VW3l84ggH0,19460
|
|
40
|
+
lark/pricing_metrics/types/__init__.py,sha256=MUBQR3hpX7rm8P3TqHcZC1yzlzZtj5P2Phq8tHPDcRE,1888
|
|
41
|
+
lark/pricing_metrics/types/pricing_metric_aggregation.py,sha256=I0a5AE6FFSFPaKJR_dcE4fSOm1zGk_nuZJvWg9dqCzo,3030
|
|
42
42
|
lark/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
43
|
lark/rate_cards/__init__.py,sha256=3LWPsE39Ghmz_TbuxHsRnf7yySPt9iZ2YV3okPtQY78,1492
|
|
44
|
-
lark/rate_cards/client.py,sha256=
|
|
45
|
-
lark/rate_cards/raw_client.py,sha256=
|
|
44
|
+
lark/rate_cards/client.py,sha256=dfWjnBtOT4G0SiNFMJwyR8vxqgpgCyPx7t11t7JF6os,11774
|
|
45
|
+
lark/rate_cards/raw_client.py,sha256=_eY7agnGfXi9GI4yGarv_xQ7pMogNVlGL2t9RpYkGqI,16396
|
|
46
46
|
lark/rate_cards/types/__init__.py,sha256=-5y0ZgXL6PifZrZJGGa3mOQZS7iD20Ui-sLmNKY5kRM,1704
|
|
47
47
|
lark/rate_cards/types/create_rate_card_request_billing_interval.py,sha256=k-FOfMuwtBOTn0ZIGkWuJcFBbqbsPkUO4_DvIcBXLRc,181
|
|
48
|
-
lark/rate_cards/types/create_rate_card_request_usage_based_rates_item.py,sha256=
|
|
48
|
+
lark/rate_cards/types/create_rate_card_request_usage_based_rates_item.py,sha256=DW9qJ6ntDrzf9Z3b2RlyndGtIuNQ6nuxWNrCkHWMXqA,917
|
|
49
49
|
lark/subjects/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
50
|
-
lark/subjects/client.py,sha256=
|
|
50
|
+
lark/subjects/client.py,sha256=bzVWBTnS9o-SKNQtqLCjMZ9bxsnYxg2tXl_ESra1Ftg,13377
|
|
51
51
|
lark/subjects/raw_client.py,sha256=WTDK-HZT-P9AU2WvT_l3PprR2DM63soG4p4bv4o0Quo,23921
|
|
52
52
|
lark/subscriptions/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
53
|
-
lark/subscriptions/client.py,sha256=
|
|
54
|
-
lark/subscriptions/raw_client.py,sha256=
|
|
55
|
-
lark/types/__init__.py,sha256=
|
|
56
|
-
lark/types/aggregation.py,sha256=
|
|
57
|
-
lark/types/amount.py,sha256=
|
|
58
|
-
lark/types/billing_state_response.py,sha256=
|
|
59
|
-
lark/types/count_aggregation_pricing_metric_interface.py,sha256=
|
|
53
|
+
lark/subscriptions/client.py,sha256=sHFGqklJPQZYK7EqltplXAjrTcwQLhcMeMKST0T2d6c,14025
|
|
54
|
+
lark/subscriptions/raw_client.py,sha256=MB44QSJB5yREoPR8VIXGenhdE9ltF4bkuqAKxuLpB88,24124
|
|
55
|
+
lark/types/__init__.py,sha256=lqSTUvUtmjiwGyv_Kjka6JZ6ivP07cF4IjBf8tUohOo,9086
|
|
56
|
+
lark/types/aggregation.py,sha256=WUZEh44LANUSg0dtO2tulQRATFLMXexJduEcIb1id6I,2321
|
|
57
|
+
lark/types/amount.py,sha256=iVq6zpS5qreE_l7NU5fAZMs7WjtAzj4RgmSJyoYaIes,711
|
|
58
|
+
lark/types/billing_state_response.py,sha256=ue8x4nkScB24N8s3NtIhzwqOUgJS-jYR_1SpxsMKdlU,813
|
|
59
|
+
lark/types/count_aggregation_pricing_metric_interface.py,sha256=lfnas_w-9m702PAO7HbFyop_MP_qhB4QB1xksbRk6qg,620
|
|
60
60
|
lark/types/count_aggregation_pricing_metric_resource.py,sha256=RNCjrE6zT_Aw8gQWZNNzbAAKmRqISQI3df9em-d4tyk,529
|
|
61
|
-
lark/types/create_customer_portal_session_response.py,sha256=
|
|
62
|
-
lark/types/create_fixed_rate_request.py,sha256=
|
|
63
|
-
lark/types/
|
|
64
|
-
lark/types/create_simple_usage_based_rate_request.py,sha256=vZ5wnTZGuXBQnJjJFYyhMQhIDQz-Lia9MAxQ83hI8l0,816
|
|
61
|
+
lark/types/create_customer_portal_session_response.py,sha256=tlxssxzJ5O-FFNR4guvZWcjpX4BOwm8M-pY8XlWKKyM,747
|
|
62
|
+
lark/types/create_fixed_rate_request.py,sha256=kpBMbKRoll7m0JOc1WCAH_Iygm2le8qToDdvizqycIo,804
|
|
63
|
+
lark/types/create_simple_usage_based_rate_request.py,sha256=5KkTMHWL1kAACLYoSXQ1EBLqqPNXyCujewalXEKo8GU,1095
|
|
65
64
|
lark/types/create_subject_response.py,sha256=vq0cjT7OE7LMBkFxz1Cbs2bVTAw8vmr4C-LgeksZJ3A,1333
|
|
66
|
-
lark/types/create_subscription_checkout_session_response.py,sha256=
|
|
67
|
-
lark/types/
|
|
68
|
-
lark/types/fixed_rate_interface.py,sha256=
|
|
65
|
+
lark/types/create_subscription_checkout_session_response.py,sha256=fAra37vkSc4N_at4vU9cx3Q0o2p3pNx3vfkTK2PuxpA,837
|
|
66
|
+
lark/types/custom_aggregation_pricing_metric_interface.py,sha256=hO5clPaVYskCwn1utUaNYVx80hZZPsfc1-7t6LJ2emQ,853
|
|
67
|
+
lark/types/fixed_rate_interface.py,sha256=r6fifBNcZowmC799zNeUzxQXGLvSuWTCiYw3GwWCzBw,624
|
|
69
68
|
lark/types/flat_price.py,sha256=JPhR3x686VtDTvMfToATj3mwTKNE4W4wcj3nCmm-A5g,631
|
|
70
|
-
lark/types/get_pricing_metric_response.py,sha256=tojAOAuufWaFOEwcLGmnrOrguCP_FbzW_otJPXnZ_P8,643
|
|
71
69
|
lark/types/http_validation_error.py,sha256=NNTK9AbbHXm0n9m1YcsG5zEaSn1n6RghohUX5R8LGzw,623
|
|
72
70
|
lark/types/invoice_line_item_resource.py,sha256=KW3tkZ9yyS2PJ5p_EvgjJo5YCmtEU2oGc6QJ6VjIgBo,634
|
|
73
|
-
lark/types/invoice_resource.py,sha256=
|
|
71
|
+
lark/types/invoice_resource.py,sha256=bN7TuFRI1PYAWs3c5gUyKtThkO7ZY_M_SlMvuH7vqfs,1382
|
|
74
72
|
lark/types/invoice_status.py,sha256=iCLPcMrXWWPQHsitPT9x0Fj_GjTlbG0KVv6F0f4E5g4,187
|
|
73
|
+
lark/types/last_aggregation_pricing_metric_interface.py,sha256=bzzJD_t0YRbxDzaOIGCjp7rZJdhQR4ZWTD5Q4a5cwrI,743
|
|
74
|
+
lark/types/last_aggregation_pricing_metric_resource.py,sha256=KvUtGLg2JVYrs-jUgQTdglnChdfKahjlFSVRk8LUx54,625
|
|
75
75
|
lark/types/list_invoices_response.py,sha256=GaE8TwfDdEaQcd74xv8JBA1qfS8OnO9CI1vS3VaRIQg,621
|
|
76
76
|
lark/types/list_pricing_metrics_response.py,sha256=Ioj7eZ3NwEz92v0dVI4RL_mm9mrHqAwora04iZ5x-h8,653
|
|
77
77
|
lark/types/list_rate_cards_response.py,sha256=IRm3aSOF5zMqS2nxADruN4988Wi4UAT3WYE_fKJrtHU,628
|
|
78
78
|
lark/types/list_subjects_response.py,sha256=k7QbDj-q8oWe15QoEUv4AbixXj5crsBC7CJH6XQuPZM,621
|
|
79
79
|
lark/types/list_subscriptions_response.py,sha256=4LmecLcE6NmMsNe6wyV7CSzaen9HAamKQLfJf8ZDhwI,646
|
|
80
|
+
lark/types/max_aggregation_pricing_metric_interface.py,sha256=ZXUDuWctjbvwxjKlgWaTWJtcNuJeUlhHGBC4Ofs4vXI,740
|
|
81
|
+
lark/types/max_aggregation_pricing_metric_resource.py,sha256=4Y_vZI8WIxvMrGcPYfGxUw2Kkkn6-LexZyGkiqfHObE,623
|
|
80
82
|
lark/types/package_price.py,sha256=pigTnTKFK_b7kG6gNGJnYEDcYZAr3J60q1jRZxkUFZU,938
|
|
81
83
|
lark/types/package_price_input_rounding_behavior.py,sha256=i2_tUvyiFR1Z4s--m4GeTGt5EhSPyu32JpQrI0cdzMA,183
|
|
82
84
|
lark/types/package_price_output_rounding_behavior.py,sha256=3suJHfO9lGMWOb2kRn199FdTpcYdMtOKFlIUWq_xeQU,184
|
|
83
|
-
lark/types/period.py,sha256=
|
|
85
|
+
lark/types/period.py,sha256=xJPEbVTsxAqoEopMfKHc0F_1-v0eFsBSSOpEAEM5cgQ,663
|
|
84
86
|
lark/types/period_resource.py,sha256=TpKNhaxn-G5ufDH35MQ6DTxnUDEhDPe7jx_eq6j0BUs,671
|
|
85
87
|
lark/types/price.py,sha256=1Cn5GRNmqs6yPw5Ajemx7Uxlozz3yBzcAUCkXKFFqw4,1261
|
|
86
|
-
lark/types/pricing_metric_resource.py,sha256=
|
|
87
|
-
lark/types/
|
|
88
|
+
lark/types/pricing_metric_resource.py,sha256=xIKsTEZjxdgNjctHCiMAilnTQNw_PBIKZ6w0Z_KNX9U,1084
|
|
89
|
+
lark/types/pricing_metric_summary_resource.py,sha256=BCiG-ixteWsnHanl2I_T0DAV6aku-0TEsbadcQExJLg,1201
|
|
90
|
+
lark/types/rate_card_resource.py,sha256=crx6hsqgPdWE0IXyY3OV-ya44rK4covAFGlC2_d19-A,1634
|
|
88
91
|
lark/types/rate_card_resource_billing_interval.py,sha256=OT3PxH3tQBXo7TvxcRLcTsXd8dBZo8po1T_k4OWQY7g,176
|
|
89
|
-
lark/types/rate_card_resource_usage_based_rates_item.py,sha256=
|
|
90
|
-
lark/types/simple_usage_based_rate_interface.py,sha256=
|
|
92
|
+
lark/types/rate_card_resource_usage_based_rates_item.py,sha256=7iABgvL3UkBVjVKCBKUFghFJbOysHeSPBQiFyn6hnfg,881
|
|
93
|
+
lark/types/simple_usage_based_rate_interface.py,sha256=a6Hlc2IA-RVk76tFn28WSQAhBFU9PB6n6HJxFfpNvys,686
|
|
91
94
|
lark/types/subject_resource.py,sha256=oacQXkEfmSjMN6muasjU0hQ10OoNYIxdsIMklS9fqiQ,1327
|
|
92
|
-
lark/types/subscription_resource.py,sha256=
|
|
95
|
+
lark/types/subscription_resource.py,sha256=UEmtA1Ias7BQawC_DDqO_dmVH9uzzPU_lGXV0phqbkk,1667
|
|
93
96
|
lark/types/subscription_status.py,sha256=CapkxBTKLbKr6gDn3rnsXXUCqp59F839uWkvrtdVc9M,175
|
|
94
|
-
lark/types/sum_aggregation_pricing_metric_interface.py,sha256=
|
|
95
|
-
lark/types/sum_aggregation_pricing_metric_resource.py,sha256=
|
|
97
|
+
lark/types/sum_aggregation_pricing_metric_interface.py,sha256=dkeVK-86PgvmWlOAK5tZ6oNTKnrnsAtBY_Mj6ciXMPI,722
|
|
98
|
+
lark/types/sum_aggregation_pricing_metric_resource.py,sha256=1qgOOsjW8xOEy9WKmyRT4FZ1nEZzHctqGcAaSHCDRD4,611
|
|
96
99
|
lark/types/validation_error.py,sha256=Ou-GSQTdmDFWIFlP_y9ka_EUAavqFEFLonU9srAkJdc,642
|
|
97
100
|
lark/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
|
98
|
-
lark/
|
|
99
|
-
lark/usage_events/
|
|
100
|
-
lark/usage_events/
|
|
101
|
-
lark/usage_events/
|
|
102
|
-
lark/usage_events/types/
|
|
103
|
-
lark/usage_events/types/create_usage_event_summary_request_aggregation_type.py,sha256=0jg9JuFlG2TmTeQvPY4yHV_9Ec2MpPe_zqKffvBpCvw,192
|
|
101
|
+
lark/usage_events/__init__.py,sha256=wOjciu7VOr1sCjItzZbmxkvAryliHfsEoMRvcGJ7aVM,1116
|
|
102
|
+
lark/usage_events/client.py,sha256=hR1ncs14hiCTGJ4UzmEeqXEzP7f1FPfwYZda0Ulgp-0,6211
|
|
103
|
+
lark/usage_events/raw_client.py,sha256=uoCAcgrA-DFtkY80oQEESxsbM1XnKgTQT4_m1cgarqM,7928
|
|
104
|
+
lark/usage_events/types/__init__.py,sha256=fSMs1e864FcnI16TuvvUkzyO20D5lxThY2taDR1E1j0,1180
|
|
105
|
+
lark/usage_events/types/create_usage_event_request_data_value.py,sha256=eJwLIF47GuslEvseihODk9VoH4spHGC5buPlViJCK84,138
|
|
104
106
|
lark/version.py,sha256=maFXg-cBsqCfydHwhGdh6kzQElFbriuo8a2yvidAV1c,79
|
|
105
|
-
lark_billing-0.0.
|
|
106
|
-
lark_billing-0.0.
|
|
107
|
-
lark_billing-0.0.
|
|
107
|
+
lark_billing-0.1.0.dist-info/METADATA,sha256=bFcelyPI-FgMsUOmVl9UJKFSng3GMjHgoRx0b-r52xg,5680
|
|
108
|
+
lark_billing-0.1.0.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
|
|
109
|
+
lark_billing-0.1.0.dist-info/RECORD,,
|
|
File without changes
|