lark-billing 0.0.7__py3-none-any.whl → 0.0.8__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 (46) hide show
  1. lark/__init__.py +42 -28
  2. lark/checkout/client.py +26 -8
  3. lark/checkout/raw_client.py +18 -6
  4. lark/client.py +19 -0
  5. lark/core/client_wrapper.py +2 -2
  6. lark/core/http_sse/__init__.py +42 -0
  7. lark/core/http_sse/_api.py +112 -0
  8. lark/core/http_sse/_decoders.py +61 -0
  9. lark/core/http_sse/_exceptions.py +7 -0
  10. lark/core/http_sse/_models.py +17 -0
  11. lark/core/pydantic_utilities.py +3 -1
  12. lark/invoices/__init__.py +4 -0
  13. lark/invoices/client.py +136 -0
  14. lark/invoices/raw_client.py +147 -0
  15. lark/pricing_metrics/client.py +69 -0
  16. lark/pricing_metrics/raw_client.py +101 -0
  17. lark/rate_cards/__init__.py +15 -3
  18. lark/rate_cards/client.py +10 -10
  19. lark/rate_cards/raw_client.py +14 -14
  20. lark/rate_cards/types/__init__.py +12 -2
  21. lark/rate_cards/types/create_rate_card_request_usage_based_rates_item.py +30 -0
  22. lark/subjects/client.py +16 -18
  23. lark/subjects/raw_client.py +14 -8
  24. lark/subscriptions/client.py +192 -8
  25. lark/subscriptions/raw_client.py +254 -4
  26. lark/types/__init__.py +31 -32
  27. lark/types/aggregation.py +1 -43
  28. lark/types/{create_fixed_rate_interface.py → create_fixed_rate_request.py} +1 -1
  29. lark/types/{create_simple_usage_based_rate_interface.py → create_simple_usage_based_rate_request.py} +5 -3
  30. lark/types/create_subject_response.py +29 -6
  31. lark/types/{custom_pricing_metric_resource.py → invoice_line_item_resource.py} +6 -2
  32. lark/types/invoice_resource.py +31 -0
  33. lark/types/invoice_status.py +5 -0
  34. lark/types/{max_aggregation_pricing_metric_resource.py → list_invoices_response.py} +4 -2
  35. lark/types/list_pricing_metrics_response.py +21 -0
  36. lark/types/period_resource.py +23 -0
  37. lark/types/{last_aggregation_pricing_metric_resource.py → pricing_metric_resource.py} +7 -2
  38. lark/types/rate_card_resource_usage_based_rates_item.py +0 -1
  39. lark/types/simple_usage_based_rate_interface.py +0 -5
  40. lark/types/subject_resource.py +29 -6
  41. lark/types/subscription_resource.py +6 -3
  42. lark/types/subscription_status.py +5 -0
  43. {lark_billing-0.0.7.dist-info → lark_billing-0.0.8.dist-info}/METADATA +4 -3
  44. {lark_billing-0.0.7.dist-info → lark_billing-0.0.8.dist-info}/RECORD +45 -32
  45. lark/types/status.py +0 -5
  46. {lark_billing-0.0.7.dist-info → lark_billing-0.0.8.dist-info}/WHEEL +0 -0
@@ -0,0 +1,21 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ import pydantic
6
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+ from .pricing_metric_resource import PricingMetricResource
8
+
9
+
10
+ class ListPricingMetricsResponse(UniversalBaseModel):
11
+ pricing_metrics: typing.List[PricingMetricResource]
12
+ has_more: bool
13
+
14
+ if IS_PYDANTIC_V2:
15
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
16
+ else:
17
+
18
+ class Config:
19
+ frozen = True
20
+ smart_union = True
21
+ extra = pydantic.Extra.allow
@@ -0,0 +1,23 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import datetime as dt
4
+ import typing
5
+
6
+ import pydantic
7
+ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
+
9
+
10
+ class PeriodResource(UniversalBaseModel):
11
+ inclusive_start: typing.Optional[bool] = None
12
+ inclusive_end: typing.Optional[bool] = None
13
+ start: dt.datetime
14
+ end: dt.datetime
15
+
16
+ if IS_PYDANTIC_V2:
17
+ model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
18
+ else:
19
+
20
+ class Config:
21
+ frozen = True
22
+ smart_union = True
23
+ extra = pydantic.Extra.allow
@@ -4,10 +4,15 @@ import typing
4
4
 
5
5
  import pydantic
6
6
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
+ from .aggregation import Aggregation
7
8
 
8
9
 
9
- class LastAggregationPricingMetricResource(UniversalBaseModel):
10
- value_field: str
10
+ class PricingMetricResource(UniversalBaseModel):
11
+ id: str
12
+ name: str
13
+ event_name: str
14
+ aggregation: Aggregation
15
+ unit: str
11
16
 
12
17
  if IS_PYDANTIC_V2:
13
18
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -12,7 +12,6 @@ from .price import Price
12
12
  class RateCardResourceUsageBasedRatesItem_Simple(UniversalBaseModel):
13
13
  usage_based_rate_type: typing.Literal["simple"] = "simple"
14
14
  id: str
15
- code: str
16
15
  name: str
17
16
  description: str
18
17
  price: Price
@@ -9,11 +9,6 @@ from .price import Price
9
9
 
10
10
  class SimpleUsageBasedRateInterface(UniversalBaseModel):
11
11
  id: str
12
- code: str = pydantic.Field()
13
- """
14
- Code of this rate to be used for overrides and external reference.
15
- """
16
-
17
12
  name: str
18
13
  description: str
19
14
  price: Price
@@ -8,12 +8,35 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
8
 
9
9
 
10
10
  class SubjectResource(UniversalBaseModel):
11
- id: str
12
- external_id: typing.Optional[str] = None
13
- name: typing.Optional[str] = None
14
- email: typing.Optional[str] = None
15
- metadata: typing.Dict[str, str]
16
- created_at: dt.datetime
11
+ id: str = pydantic.Field()
12
+ """
13
+ The ID of the subject.
14
+ """
15
+
16
+ external_id: typing.Optional[str] = pydantic.Field(default=None)
17
+ """
18
+ The ID of the subject in your system. You may pass it to the API in place of the subject ID.
19
+ """
20
+
21
+ name: typing.Optional[str] = pydantic.Field(default=None)
22
+ """
23
+ The name of the subject. Used for display in the dashboard.
24
+ """
25
+
26
+ email: typing.Optional[str] = pydantic.Field(default=None)
27
+ """
28
+ The email of the subject.
29
+ """
30
+
31
+ metadata: typing.Dict[str, str] = pydantic.Field()
32
+ """
33
+ Additional metadata about the subject. You may use this to store any custom data about the subject.
34
+ """
35
+
36
+ created_at: dt.datetime = pydantic.Field()
37
+ """
38
+ The date and time the subject was created.
39
+ """
17
40
 
18
41
  if IS_PYDANTIC_V2:
19
42
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -5,7 +5,8 @@ import typing
5
5
 
6
6
  import pydantic
7
7
  from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
8
- from .status import Status
8
+ from .period_resource import PeriodResource
9
+ from .subscription_status import SubscriptionStatus
9
10
 
10
11
 
11
12
  class SubscriptionResource(UniversalBaseModel):
@@ -14,8 +15,10 @@ class SubscriptionResource(UniversalBaseModel):
14
15
  rate_card_id: str
15
16
  effective_at: dt.datetime
16
17
  cycles_next_at: typing.Optional[dt.datetime] = None
17
- metadata: typing.Optional[typing.Dict[str, typing.Optional[str]]] = None
18
- status: Status
18
+ current_period: typing.Optional[PeriodResource] = None
19
+ metadata: typing.Dict[str, str]
20
+ status: SubscriptionStatus
21
+ cancels_at_end_of_cycle: bool
19
22
 
20
23
  if IS_PYDANTIC_V2:
21
24
  model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
@@ -0,0 +1,5 @@
1
+ # This file was auto-generated by Fern from our API Definition.
2
+
3
+ import typing
4
+
5
+ SubscriptionStatus = typing.Union[typing.Literal["active", "cancelled", "paused"], typing.Any]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lark-billing
3
- Version: 0.0.7
3
+ Version: 0.0.8
4
4
  Summary:
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -22,6 +22,7 @@ Requires-Dist: httpx (>=0.21.2)
22
22
  Requires-Dist: pydantic (>=1.9.2)
23
23
  Requires-Dist: pydantic-core (>=2.18.2)
24
24
  Requires-Dist: typing_extensions (>=4.0.0)
25
+ Project-URL: Repository, https://github.com/fern-demo/lark-python-sdk
25
26
  Description-Content-Type: text/markdown
26
27
 
27
28
  # Lark Python Library
@@ -54,7 +55,7 @@ client = Lark(
54
55
  client.checkout.create_subscription_checkout_session(
55
56
  subject_id="subject_id",
56
57
  rate_card_id="rate_card_id",
57
- callback_url="callback_url",
58
+ success_callback_url="https://example.com/callback",
58
59
  )
59
60
  ```
60
61
 
@@ -76,7 +77,7 @@ async def main() -> None:
76
77
  await client.checkout.create_subscription_checkout_session(
77
78
  subject_id="subject_id",
78
79
  rate_card_id="rate_card_id",
79
- callback_url="callback_url",
80
+ success_callback_url="https://example.com/callback",
80
81
  )
81
82
 
82
83
 
@@ -1,18 +1,23 @@
1
- lark/__init__.py,sha256=zZDuRKYB6HeX3PLo6rSDtQfZabEiXWlrYx0WQN4UU9o,7745
1
+ lark/__init__.py,sha256=6PZSM_VR0EuEVtS4SUQ6pmiwvkwijsfTeIAajrItjb4,8183
2
2
  lark/checkout/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
3
- lark/checkout/client.py,sha256=Eu5FS6YlR6pogfR4ciWHJ5D1dIlDZKKlrC4UxzJuV_M,3870
4
- lark/checkout/raw_client.py,sha256=svo8NgORezE9w7jdJanm7y9Vq6FiW4YcdG5cbY4Xlv8,5676
5
- lark/client.py,sha256=WGOVdXdqRNbml5-US82J2NZxDX2DT4UzBaGVsDtFAdo,11928
3
+ lark/checkout/client.py,sha256=HNyXw_0o0NbfYjv7DyXcfKQ8L3jO7a2WIwGqXjQKfL4,4584
4
+ lark/checkout/raw_client.py,sha256=PgtTi45gzMbplMzcgVUr-W_Mf57TBVuwkvKemVbvZI0,6282
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=1_y6OXzS_1TzjGPiH-G46RWzMvGtrU1DghJ8hYNXl0g,2374
8
+ lark/core/client_wrapper.py,sha256=EahlMGvqxt1Yny5y6EwSJ6ADoIVOig4-mdHIp9jwITg,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
12
12
  lark/core/http_client.py,sha256=QurkBvCZZz2Z1d8znp4M2YbOXebBUPcPXRhPIS84Wvk,21214
13
13
  lark/core/http_response.py,sha256=A6URkoTBCiryctAA-m9EiDWOsHgM5oYAlcYVc_YOiiI,1330
14
+ lark/core/http_sse/__init__.py,sha256=vE7RxBmzIfV9SmFDw4YCuDN9DaPuJb3FAnoFDo7bqww,1350
15
+ lark/core/http_sse/_api.py,sha256=v7bcIkdawmL6Y39HxrM5OiEB1Ci3wzIdu21kCZII-mU,3920
16
+ lark/core/http_sse/_decoders.py,sha256=tY3L5TZ0y-pgz0Lu1q8ro5Ljz43q4lYyuec73u9WfNw,1733
17
+ lark/core/http_sse/_exceptions.py,sha256=o8Tp-e8Lvmtn_5MVSYbkW9rVrpwFg5pnKbOcHfrHH14,127
18
+ lark/core/http_sse/_models.py,sha256=kKvCCm8e6gCilulJpiHv4f2OPVxo9CydLboEqMhplPI,397
14
19
  lark/core/jsonable_encoder.py,sha256=hGgcEEeX11sqxxsll7h15pO3pTNVxk_n79Kcn0laoWA,3655
15
- lark/core/pydantic_utilities.py,sha256=kdepxVbqP7nmMhh9rttKiMF3bQEYRZiiS2-JIyTLfAc,10824
20
+ lark/core/pydantic_utilities.py,sha256=fxp1jeDn1YbKXbVabl0hI9YeC3LtN8ZQ4HIICyFS8xg,10966
16
21
  lark/core/query_encoder.py,sha256=ekulqNd0j8TgD7ox-Qbz7liqX8-KP9blvT9DsRCenYM,2144
17
22
  lark/core/remove_none_from_dict.py,sha256=EU9SGgYidWq7SexuJbNs4-PZ-5Bl3Vppd864mS6vQZw,342
18
23
  lark/core/request_options.py,sha256=h0QUNCFVdCW_7GclVySCAY2w4NhtXVBUCmHgmzaxpcg,1681
@@ -26,58 +31,66 @@ lark/customer_portal/raw_client.py,sha256=ykHL6kRZWFjks1T8ej8SwQQofDfeWC0Y9ojgm8
26
31
  lark/environment.py,sha256=dyFMCpgEEgFYj5pj8M-IxENul1uXC6owvlm4Kn6Lw3A,152
27
32
  lark/errors/__init__.py,sha256=4g1JPPnrPS-pG-WGU1S8HrYE5RoctStcA35abyL_tmI,1134
28
33
  lark/errors/unprocessable_entity_error.py,sha256=aDgvUf-6k1fSUL-OxI3MgOIFQNssTUNpv5vW9M4vfRc,401
34
+ lark/invoices/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
35
+ lark/invoices/client.py,sha256=-DDd4gEQz8HZFIiUjqK_sOoevK8I7vyRwHvnm1iZn_k,3601
36
+ lark/invoices/raw_client.py,sha256=VWdX-6-VNdC51sgorAtbYPpppga7dogWRDprErF80I4,5271
29
37
  lark/pricing_metrics/__init__.py,sha256=GjKCI2AEhDsAXGdUMkyZlGRyNzIj6HRWPRZEcScwVEU,1321
30
- lark/pricing_metrics/client.py,sha256=b7-8Cetwcj6ND6Mw7hzqtTkZAe9Z9QF7CkdCWPGCXMk,6147
31
- lark/pricing_metrics/raw_client.py,sha256=qGg0Hz4HdhTPtiGXaCxXtDNA8b_EoqbGFIYFkq-zar8,10126
38
+ lark/pricing_metrics/client.py,sha256=onk8W05UQyOjKdt5dMwEzUquf9zCiUns-JlBaaVZhHU,8018
39
+ lark/pricing_metrics/raw_client.py,sha256=a4jTR0mDCjUcUAvOKdU6-H-bQfCNyXvgdh-SO_1CHwk,14094
32
40
  lark/pricing_metrics/types/__init__.py,sha256=DaWe3hOaIKUlI4nWjNOmEtjks5ges3BFq4jujJDDX2M,1438
33
41
  lark/pricing_metrics/types/pricing_metric_aggregation.py,sha256=NkO1F-g7n1UfUVVaYmcmeBnOP-lcu1lhs5_TQytj_b0,1145
34
42
  lark/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
- lark/rate_cards/__init__.py,sha256=Ex8AazkS9LkZUgO5eQE7C2F8d9ALRLLO9-hbZiy3cEo,1128
36
- lark/rate_cards/client.py,sha256=8FOpK4Ojnq29hAdTYZNYuHOhHey002d_CuSRGR4fozQ,8753
37
- lark/rate_cards/raw_client.py,sha256=QeOj7jIgh-CsPltnQSNYGBmBIMSrnsYuOcMc38hGFTI,15553
38
- lark/rate_cards/types/__init__.py,sha256=CASbUjScGbmJVDTwXF2ytFowA2zN6V6JfqMHEe-aj80,1206
43
+ lark/rate_cards/__init__.py,sha256=3LWPsE39Ghmz_TbuxHsRnf7yySPt9iZ2YV3okPtQY78,1492
44
+ lark/rate_cards/client.py,sha256=I90dIRlUoEFxr_SETRIh35bA3s35Z8qY0CjKVaDrWzg,8772
45
+ lark/rate_cards/raw_client.py,sha256=XbrTjYBcutmP61T4SBb_seHRaMPokwENm1fdYCERxHY,15578
46
+ lark/rate_cards/types/__init__.py,sha256=-5y0ZgXL6PifZrZJGGa3mOQZS7iD20Ui-sLmNKY5kRM,1704
39
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=nXCkT-U6VwpJ-UWQOOMyS2yFEcaaWGVnH0ivLIpXyDo,941
40
49
  lark/subjects/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
41
- lark/subjects/client.py,sha256=4h7uGtz0Zs1VZYL36WmyjZsqAtbsYWABi2NxoNrUyVw,12105
42
- lark/subjects/raw_client.py,sha256=Nl0k4cS0FSKbpEiqUwtU-rTWbM0TkYOksdtuNp3h8EY,22909
50
+ lark/subjects/client.py,sha256=eBvTNKJxMXSSthIhRAaD0770yhrL3r1iFmfPVZtL2cM,13033
51
+ lark/subjects/raw_client.py,sha256=WTDK-HZT-P9AU2WvT_l3PprR2DM63soG4p4bv4o0Quo,23921
43
52
  lark/subscriptions/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
44
- lark/subscriptions/client.py,sha256=GmvUX8sli2b2z_OPFj-lbMC3ayDsBk3Y_O66pE7lM3s,8525
45
- lark/subscriptions/raw_client.py,sha256=mB62aUhtxdmMmdLjs3UQRTwSI4ZdExJhyd5NkNVOpCQ,14350
46
- lark/types/__init__.py,sha256=9v8fRjJTKZjNEADtmDXTjkXMAo-TAcRV4Y9-640NrMw,8129
47
- lark/types/aggregation.py,sha256=fObzgStVfkYfBhUeleq3gY08cVdOZUYSDoA9oYZD70Q,2374
53
+ lark/subscriptions/client.py,sha256=Oq9hcA71jnufcerH-38VBQTNaDdeKyDZ0MxkmsfKV9g,13891
54
+ lark/subscriptions/raw_client.py,sha256=NsF0U4SD-JEI0wmgjj6Jcx9nv8xmTiTmeBXJo0a37ck,23990
55
+ lark/types/__init__.py,sha256=3PAjZAUxKQGJVjyq0ynltWkF_QrUImQf9QTfvTOrtJE,8199
56
+ lark/types/aggregation.py,sha256=JTY5X_dJn0Nv7W-KvdcsavKgqMGQ6Yv1AD2qREl9BBw,1079
48
57
  lark/types/amount.py,sha256=1RNZbJNsLMUCPFRq6_iU6hFs1wbg6IJkQ_wUPWOX8Kk,639
49
58
  lark/types/billing_state_response.py,sha256=PwsR7EjjKal_GHaxsfPUztyDuunAevjwL85KFKvSShk,579
50
59
  lark/types/count_aggregation_pricing_metric_interface.py,sha256=4RnOiOWtUUCkqT-rc0HHetar8DmI72lX0_yaZR1ZTTc,530
51
60
  lark/types/count_aggregation_pricing_metric_resource.py,sha256=RNCjrE6zT_Aw8gQWZNNzbAAKmRqISQI3df9em-d4tyk,529
52
61
  lark/types/create_customer_portal_session_response.py,sha256=V9YASol5nLLGTCzykViIuenPhX_tUtHF5VObvN62lOI,561
53
- lark/types/create_fixed_rate_interface.py,sha256=u8B7s3fDC9W9W6YbEqPj_METLqRojksMdXxzMBluccs,642
62
+ lark/types/create_fixed_rate_request.py,sha256=3cSEScYrlIUNbDCqDI-8f18lQajXJQl0aLWrkCQy_u4,640
54
63
  lark/types/create_pricing_metric_response.py,sha256=4qzlMDVkAhRMrUCPt9IDS8h6r0EagIJuZOgpTNBwq8g,646
55
- lark/types/create_simple_usage_based_rate_interface.py,sha256=SyfetjVuh2lk6uTawvPZgS49vDv450bbE68O6zPqcyM,804
56
- lark/types/create_subject_response.py,sha256=Ehplj4YU7IC7OtLEjWVZc8o-OOFWTxFUC3OI8iWUXfQ,734
64
+ lark/types/create_simple_usage_based_rate_request.py,sha256=vZ5wnTZGuXBQnJjJFYyhMQhIDQz-Lia9MAxQ83hI8l0,816
65
+ lark/types/create_subject_response.py,sha256=vq0cjT7OE7LMBkFxz1Cbs2bVTAw8vmr4C-LgeksZJ3A,1333
57
66
  lark/types/create_subscription_checkout_session_response.py,sha256=kO4Z5DzluPutnYYSW6ZiDrySL1DHmCka2POCyeDrFaA,605
58
67
  lark/types/create_usage_event_summary_response.py,sha256=9GWy3RxD02CDt3qHpsTSlouwzaztWlRqfkRAGNHpEgU,649
59
- lark/types/custom_pricing_metric_resource.py,sha256=CnWhGrD4XGQjNO3Iaay3b7prmMrnrJ6Anh9469vTbYo,533
60
68
  lark/types/fixed_rate_interface.py,sha256=zQuokRdlr6aWHO6lAmdYmBOBQCHqBBaQ65bZQvBNElc,600
61
69
  lark/types/flat_price.py,sha256=JPhR3x686VtDTvMfToATj3mwTKNE4W4wcj3nCmm-A5g,631
62
70
  lark/types/get_pricing_metric_response.py,sha256=tojAOAuufWaFOEwcLGmnrOrguCP_FbzW_otJPXnZ_P8,643
63
71
  lark/types/http_validation_error.py,sha256=NNTK9AbbHXm0n9m1YcsG5zEaSn1n6RghohUX5R8LGzw,623
64
- lark/types/last_aggregation_pricing_metric_resource.py,sha256=vEohWOLO5VdIdEO0wqWXQmOAS37G0Zl1ynQAvvB53Xs,550
72
+ lark/types/invoice_line_item_resource.py,sha256=KW3tkZ9yyS2PJ5p_EvgjJo5YCmtEU2oGc6QJ6VjIgBo,634
73
+ lark/types/invoice_resource.py,sha256=XXWt_DkyH7NNXMgcNR7xumArbaPlzbyIbhR6gK4bclY,933
74
+ lark/types/invoice_status.py,sha256=iCLPcMrXWWPQHsitPT9x0Fj_GjTlbG0KVv6F0f4E5g4,187
75
+ lark/types/list_invoices_response.py,sha256=GaE8TwfDdEaQcd74xv8JBA1qfS8OnO9CI1vS3VaRIQg,621
76
+ lark/types/list_pricing_metrics_response.py,sha256=Ioj7eZ3NwEz92v0dVI4RL_mm9mrHqAwora04iZ5x-h8,653
65
77
  lark/types/list_rate_cards_response.py,sha256=IRm3aSOF5zMqS2nxADruN4988Wi4UAT3WYE_fKJrtHU,628
66
78
  lark/types/list_subjects_response.py,sha256=k7QbDj-q8oWe15QoEUv4AbixXj5crsBC7CJH6XQuPZM,621
67
79
  lark/types/list_subscriptions_response.py,sha256=4LmecLcE6NmMsNe6wyV7CSzaen9HAamKQLfJf8ZDhwI,646
68
- lark/types/max_aggregation_pricing_metric_resource.py,sha256=jic_mOemy8Rx7iBQ2lbUK0iZdp7QfBQRhyoCA41ZfEE,549
69
80
  lark/types/package_price.py,sha256=pigTnTKFK_b7kG6gNGJnYEDcYZAr3J60q1jRZxkUFZU,938
70
81
  lark/types/package_price_input_rounding_behavior.py,sha256=i2_tUvyiFR1Z4s--m4GeTGt5EhSPyu32JpQrI0cdzMA,183
71
82
  lark/types/package_price_output_rounding_behavior.py,sha256=3suJHfO9lGMWOb2kRn199FdTpcYdMtOKFlIUWq_xeQU,184
72
83
  lark/types/period.py,sha256=rjptqL1APWiYEMxIluE5vL1vuAXKXwnIzl0AsnWBKCA,625
84
+ lark/types/period_resource.py,sha256=TpKNhaxn-G5ufDH35MQ6DTxnUDEhDPe7jx_eq6j0BUs,671
73
85
  lark/types/price.py,sha256=1Cn5GRNmqs6yPw5Ajemx7Uxlozz3yBzcAUCkXKFFqw4,1261
86
+ lark/types/pricing_metric_resource.py,sha256=kTiAIzXlt-PGAWhipTtbPd7KBBy56-yFhsCHZTmhXBU,640
74
87
  lark/types/rate_card_resource.py,sha256=xDjYAXA_I8G0-ZQF402lvjxl3EG6cqwgPUI_IWaVrZA,1032
75
88
  lark/types/rate_card_resource_billing_interval.py,sha256=OT3PxH3tQBXo7TvxcRLcTsXd8dBZo8po1T_k4OWQY7g,176
76
- lark/types/rate_card_resource_usage_based_rates_item.py,sha256=yerroQidEvHw_1E9zPYkuVaNya7YlCRwouAGDE3N6CY,871
77
- lark/types/simple_usage_based_rate_interface.py,sha256=D3S1hpfagCjqLILHKK2lkxMGHULcMthQNO2Dst05AfA,783
78
- lark/types/status.py,sha256=wfhEncMsJ_zinGqqrC8lssHXOsKZyKhzHgedLZM8FIs,153
79
- lark/types/subject_resource.py,sha256=55hWhCw_vjD-zr-7sHOYJmUa_-cAamlKqdfRjOwvlrk,728
80
- lark/types/subscription_resource.py,sha256=-vZfKh2MzkxWcsso2UvS9iE4jdGFLHvMt7ULiX7EKgc,798
89
+ lark/types/rate_card_resource_usage_based_rates_item.py,sha256=cQDKUru8SAJVRnAbifIWRBmAlACUToiEVe-9QzN2000,857
90
+ lark/types/simple_usage_based_rate_interface.py,sha256=Z4UOl3e-Eiv8YIrr45i5RGfnpx6ZJvrNUqcoZQMc918,662
91
+ lark/types/subject_resource.py,sha256=oacQXkEfmSjMN6muasjU0hQ10OoNYIxdsIMklS9fqiQ,1327
92
+ lark/types/subscription_resource.py,sha256=812CKt7cYgRk4HofXxMIVOhMQZj4mRL8I0AsLfqQZX4,931
93
+ lark/types/subscription_status.py,sha256=CapkxBTKLbKr6gDn3rnsXXUCqp59F839uWkvrtdVc9M,175
81
94
  lark/types/sum_aggregation_pricing_metric_interface.py,sha256=R_sDNeB5RaZ9o4-O1_ceC7Ium_NKn5m6egj9AykjEN4,608
82
95
  lark/types/sum_aggregation_pricing_metric_resource.py,sha256=PeF2LCNjjILU5OneNMCluIqW0CTM1SPW6VRX6-H7P9E,549
83
96
  lark/types/validation_error.py,sha256=Ou-GSQTdmDFWIFlP_y9ka_EUAavqFEFLonU9srAkJdc,642
@@ -89,6 +102,6 @@ lark/usage_events/raw_client.py,sha256=cWTLiwSuR0_9q8YfbcVryHrfezyP_nDyU45jgN68E
89
102
  lark/usage_events/types/__init__.py,sha256=zAaz1oVwvwjfhEubLwwIoDAoqeiqwnXw95CAXIoJ2cY,1253
90
103
  lark/usage_events/types/create_usage_event_summary_request_aggregation_type.py,sha256=0jg9JuFlG2TmTeQvPY4yHV_9Ec2MpPe_zqKffvBpCvw,192
91
104
  lark/version.py,sha256=maFXg-cBsqCfydHwhGdh6kzQElFbriuo8a2yvidAV1c,79
92
- lark_billing-0.0.7.dist-info/METADATA,sha256=CS7Fc3Igh81UHmTMru7X5sTfRuocD4H80LL03EuVINw,5494
93
- lark_billing-0.0.7.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
94
- lark_billing-0.0.7.dist-info/RECORD,,
105
+ lark_billing-0.0.8.dist-info/METADATA,sha256=HO_UuSpURWf4IQKeHeu3hqDFveDIe0DTxp9tQ1ELIsI,5612
106
+ lark_billing-0.0.8.dist-info/WHEEL,sha256=Zb28QaM1gQi8f4VCBhsUklF61CTlNYfs9YAZn-TOGFk,88
107
+ lark_billing-0.0.8.dist-info/RECORD,,
lark/types/status.py DELETED
@@ -1,5 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- Status = typing.Union[typing.Literal["active", "cancelled"], typing.Any]