@@ -38,6 +38,7 @@ def list(
38
38
self ,
39
39
customer_id : str ,
40
40
* ,
41
+ currency : Optional [str ] | NotGiven = NOT_GIVEN ,
41
42
timeframe_end : Union [str , datetime , None ] | NotGiven = NOT_GIVEN ,
42
43
timeframe_start : Union [str , datetime , None ] | NotGiven = NOT_GIVEN ,
43
44
view_mode : Optional [Literal ["periodic" , "cumulative" ]] | NotGiven = NOT_GIVEN ,
@@ -185,6 +186,8 @@ def list(
185
186
`grouping_value` and `secondary_grouping_value` available.
186
187
187
188
Args:
189
+ currency: The currency or custom pricing unit to use.
190
+
188
191
timeframe_end: Costs returned are exclusive of `timeframe_end`.
189
192
190
193
timeframe_start: Costs returned are inclusive of `timeframe_start`.
@@ -213,6 +216,7 @@ def list(
213
216
timeout = timeout ,
214
217
query = maybe_transform (
215
218
{
219
+ "currency" : currency ,
216
220
"timeframe_end" : timeframe_end ,
217
221
"timeframe_start" : timeframe_start ,
218
222
"view_mode" : view_mode ,
@@ -227,6 +231,7 @@ def list_by_external_id(
227
231
self ,
228
232
external_customer_id : str ,
229
233
* ,
234
+ currency : Optional [str ] | NotGiven = NOT_GIVEN ,
230
235
timeframe_end : Union [str , datetime , None ] | NotGiven = NOT_GIVEN ,
231
236
timeframe_start : Union [str , datetime , None ] | NotGiven = NOT_GIVEN ,
232
237
view_mode : Optional [Literal ["periodic" , "cumulative" ]] | NotGiven = NOT_GIVEN ,
@@ -374,6 +379,8 @@ def list_by_external_id(
374
379
`grouping_value` and `secondary_grouping_value` available.
375
380
376
381
Args:
382
+ currency: The currency or custom pricing unit to use.
383
+
377
384
timeframe_end: Costs returned are exclusive of `timeframe_end`.
378
385
379
386
timeframe_start: Costs returned are inclusive of `timeframe_start`.
@@ -404,6 +411,7 @@ def list_by_external_id(
404
411
timeout = timeout ,
405
412
query = maybe_transform (
406
413
{
414
+ "currency" : currency ,
407
415
"timeframe_end" : timeframe_end ,
408
416
"timeframe_start" : timeframe_start ,
409
417
"view_mode" : view_mode ,
@@ -428,6 +436,7 @@ async def list(
428
436
self ,
429
437
customer_id : str ,
430
438
* ,
439
+ currency : Optional [str ] | NotGiven = NOT_GIVEN ,
431
440
timeframe_end : Union [str , datetime , None ] | NotGiven = NOT_GIVEN ,
432
441
timeframe_start : Union [str , datetime , None ] | NotGiven = NOT_GIVEN ,
433
442
view_mode : Optional [Literal ["periodic" , "cumulative" ]] | NotGiven = NOT_GIVEN ,
@@ -575,6 +584,8 @@ async def list(
575
584
`grouping_value` and `secondary_grouping_value` available.
576
585
577
586
Args:
587
+ currency: The currency or custom pricing unit to use.
588
+
578
589
timeframe_end: Costs returned are exclusive of `timeframe_end`.
579
590
580
591
timeframe_start: Costs returned are inclusive of `timeframe_start`.
@@ -603,6 +614,7 @@ async def list(
603
614
timeout = timeout ,
604
615
query = await async_maybe_transform (
605
616
{
617
+ "currency" : currency ,
606
618
"timeframe_end" : timeframe_end ,
607
619
"timeframe_start" : timeframe_start ,
608
620
"view_mode" : view_mode ,
@@ -617,6 +629,7 @@ async def list_by_external_id(
617
629
self ,
618
630
external_customer_id : str ,
619
631
* ,
632
+ currency : Optional [str ] | NotGiven = NOT_GIVEN ,
620
633
timeframe_end : Union [str , datetime , None ] | NotGiven = NOT_GIVEN ,
621
634
timeframe_start : Union [str , datetime , None ] | NotGiven = NOT_GIVEN ,
622
635
view_mode : Optional [Literal ["periodic" , "cumulative" ]] | NotGiven = NOT_GIVEN ,
@@ -764,6 +777,8 @@ async def list_by_external_id(
764
777
`grouping_value` and `secondary_grouping_value` available.
765
778
766
779
Args:
780
+ currency: The currency or custom pricing unit to use.
781
+
767
782
timeframe_end: Costs returned are exclusive of `timeframe_end`.
768
783
769
784
timeframe_start: Costs returned are inclusive of `timeframe_start`.
@@ -794,6 +809,7 @@ async def list_by_external_id(
794
809
timeout = timeout ,
795
810
query = await async_maybe_transform (
796
811
{
812
+ "currency" : currency ,
797
813
"timeframe_end" : timeframe_end ,
798
814
"timeframe_start" : timeframe_start ,
799
815
"view_mode" : view_mode ,
0 commit comments