@leaflow/sdk 0.208.0 → 0.210.0
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.
- package/dist/billing/v1/generated/models.d.ts +133 -69
- package/dist/billing/v1/generated/models.js +12 -26
- package/dist/billing/v1/generated/schemas.zod.d.ts +91 -18
- package/dist/billing/v1/generated/schemas.zod.js +132 -14
- package/dist/billing/v1/generated/validators/activeResource.zod.js +2 -1
- package/dist/billing/v1/generated/validators/activeResourceStatus.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/activeResourceStatus.zod.js +9 -0
- package/dist/billing/v1/generated/validators/allowance.zod.js +2 -1
- package/dist/billing/v1/generated/validators/allowanceStatus.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/allowanceStatus.zod.js +9 -0
- package/dist/billing/v1/generated/validators/creditGrant.zod.js +2 -1
- package/dist/billing/v1/generated/validators/creditGrantStatus.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/creditGrantStatus.zod.js +9 -0
- package/dist/billing/v1/generated/validators/creditNote.zod.js +2 -1
- package/dist/billing/v1/generated/validators/creditNoteStatus.zod.d.ts +14 -0
- package/dist/billing/v1/generated/validators/creditNoteStatus.zod.js +9 -0
- package/dist/billing/v1/generated/validators/discount.zod.js +2 -3
- package/dist/billing/v1/generated/validators/discountStatus.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/discountStatus.zod.js +11 -0
- package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.d.ts +7 -0
- package/dist/billing/v1/generated/validators/listAccountDiscountsParams.zod.js +3 -0
- package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.d.ts +3 -2
- package/dist/billing/v1/generated/validators/listActiveResourcesParams.zod.js +3 -1
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.d.ts +3 -2
- package/dist/billing/v1/generated/validators/listAllowancesParams.zod.js +3 -1
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.d.ts +3 -2
- package/dist/billing/v1/generated/validators/listCancellationsParams.zod.js +4 -1
- package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.d.ts +3 -2
- package/dist/billing/v1/generated/validators/listCheckoutSessionsParams.zod.js +6 -1
- package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.d.ts +3 -2
- package/dist/billing/v1/generated/validators/listCreditGrantsParams.zod.js +3 -1
- package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.d.ts +5 -0
- package/dist/billing/v1/generated/validators/listCreditNotesParams.zod.js +3 -0
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.d.ts +3 -2
- package/dist/billing/v1/generated/validators/listFeatureGrantsParams.zod.js +2 -1
- package/dist/billing/v1/generated/validators/listInvoicesParams.zod.d.ts +3 -2
- package/dist/billing/v1/generated/validators/listInvoicesParams.zod.js +2 -1
- package/dist/billing/v1/generated/validators/listOrdersParams.zod.d.ts +3 -2
- package/dist/billing/v1/generated/validators/listOrdersParams.zod.js +2 -1
- package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.d.ts +5 -0
- package/dist/billing/v1/generated/validators/listPaymentMethodsParams.zod.js +6 -0
- package/dist/billing/v1/generated/validators/listRefundsParams.zod.d.ts +7 -0
- package/dist/billing/v1/generated/validators/listRefundsParams.zod.js +3 -0
- package/dist/billing/v1/generated/validators/listStatementsParams.zod.d.ts +3 -2
- package/dist/billing/v1/generated/validators/listStatementsParams.zod.js +2 -1
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.d.ts +9 -0
- package/dist/billing/v1/generated/validators/listSubscriptionsParams.zod.js +3 -0
- package/dist/billing/v1/generated/validators/listTopUpsParams.zod.d.ts +7 -0
- package/dist/billing/v1/generated/validators/listTopUpsParams.zod.js +3 -0
- package/dist/billing/v1/generated/validators/listTransactionsParams.zod.d.ts +15 -0
- package/dist/billing/v1/generated/validators/listTransactionsParams.zod.js +6 -0
- package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.d.ts +9 -0
- package/dist/billing/v1/generated/validators/listWithdrawalsParams.zod.js +3 -0
- package/dist/billing/v1/generated/validators/refund.zod.js +2 -3
- package/dist/billing/v1/generated/validators/refundStatus.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/refundStatus.zod.js +11 -0
- package/dist/billing/v1/generated/validators/subscription.zod.js +2 -3
- package/dist/billing/v1/generated/validators/subscriptionStatus.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/subscriptionStatus.zod.js +11 -0
- package/dist/billing/v1/generated/validators/topUp.zod.js +2 -3
- package/dist/billing/v1/generated/validators/topUpStatus.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/topUpStatus.zod.js +11 -0
- package/dist/billing/v1/generated/validators/transaction.zod.js +2 -4
- package/dist/billing/v1/generated/validators/transactionStatus.zod.d.ts +16 -0
- package/dist/billing/v1/generated/validators/transactionStatus.zod.js +11 -0
- package/dist/billing/v1/generated/validators/withdrawal.zod.js +2 -8
- package/dist/billing/v1/generated/validators/withdrawalStatus.zod.d.ts +18 -0
- package/dist/billing/v1/generated/validators/withdrawalStatus.zod.js +16 -0
- package/dist/canopy/v1/generated/functions.d.ts +73 -1
- package/dist/canopy/v1/generated/functions.js +92 -6
- package/dist/canopy/v1/generated/models.d.ts +148 -12
- package/dist/canopy/v1/generated/models.js +13 -0
- package/dist/canopy/v1/generated/schemas.zod.d.ts +49 -0
- package/dist/canopy/v1/generated/schemas.zod.js +28 -0
- package/dist/canopy/v1/generated/validators/cursorPageRequestResource.zod.d.ts +10 -0
- package/dist/canopy/v1/generated/validators/getVideoContentHeaders.zod.d.ts +46 -0
- package/dist/canopy/v1/generated/validators/getVideoContentHeaders.zod.js +44 -0
- package/dist/canopy/v1/generated/validators/mediaUsageDetails.zod.d.ts +61 -0
- package/dist/canopy/v1/generated/validators/mediaUsageDetails.zod.js +67 -0
- package/dist/canopy/v1/generated/validators/requestResource.zod.d.ts +10 -0
- package/dist/canopy/v1/generated/validators/requestResource.zod.js +2 -0
- package/dist/canopy/v1/generated/validators/videoCreateRequest.zod.d.ts +67 -0
- package/dist/canopy/v1/generated/validators/videoCreateRequest.zod.js +70 -0
- package/dist/canopy/v1/generated/validators/videoReferenceMedia.zod.d.ts +53 -0
- package/dist/canopy/v1/generated/validators/videoReferenceMedia.zod.js +53 -0
- package/dist/canopy/v1/generated/validators/videoTask.zod.d.ts +71 -0
- package/dist/canopy/v1/generated/validators/videoTask.zod.js +64 -0
- package/dist/canopy/v1/generated/validators/videoUsage.zod.d.ts +54 -0
- package/dist/canopy/v1/generated/validators/videoUsage.zod.js +62 -0
- package/dist/compute/v2/generated/models.d.ts +1 -1
- package/dist/compute/v2/generated/validators/createSecurityGroupRuleRequestBody.zod.js +1 -1
- package/dist/proto/leaflow/fleet/virtualdesktop/datatransfer/v1/datatransfer_pb.d.ts +10 -5
- package/dist/routes.d.ts +24 -0
- package/dist/routes.js +27 -0
- package/package.json +1 -1
|
@@ -29,10 +29,19 @@ export declare const listWithdrawalsQueryPageDefault = 1;
|
|
|
29
29
|
export declare const listWithdrawalsQueryPageMax = 2147483647;
|
|
30
30
|
export declare const listWithdrawalsQueryPageSizeDefault = 50;
|
|
31
31
|
export declare const listWithdrawalsQueryPageSizeMax = 200;
|
|
32
|
+
export declare const listWithdrawalsQueryStatusMax = 6;
|
|
32
33
|
export declare const ListWithdrawalsQueryParams: zod.ZodObject<{
|
|
33
34
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
34
35
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
35
36
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
37
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
38
|
+
failed: "failed";
|
|
39
|
+
pending: "pending";
|
|
40
|
+
succeeded: "succeeded";
|
|
41
|
+
processing: "processing";
|
|
42
|
+
partially_completed: "partially_completed";
|
|
43
|
+
reversed: "reversed";
|
|
44
|
+
}>>>;
|
|
36
45
|
}, zod.z.core.$strict>;
|
|
37
46
|
/**
|
|
38
47
|
* Withdraws the requested balance through the original top-ups, oldest first, with fees calculated per source. expected_items and expected_refund_amount must match the preview. Reusing the ID with different terms fails. Only successful items are charged a fee.
|
|
@@ -279,10 +288,17 @@ export declare const listTopUpsQueryPageDefault = 1;
|
|
|
279
288
|
export declare const listTopUpsQueryPageMax = 2147483647;
|
|
280
289
|
export declare const listTopUpsQueryPageSizeDefault = 50;
|
|
281
290
|
export declare const listTopUpsQueryPageSizeMax = 200;
|
|
291
|
+
export declare const listTopUpsQueryStatusMax = 4;
|
|
282
292
|
export declare const ListTopUpsQueryParams: zod.ZodObject<{
|
|
283
293
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
284
294
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
285
295
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
296
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
297
|
+
failed: "failed";
|
|
298
|
+
pending: "pending";
|
|
299
|
+
canceled: "canceled";
|
|
300
|
+
succeeded: "succeeded";
|
|
301
|
+
}>>>;
|
|
286
302
|
}, zod.z.core.$strict>;
|
|
287
303
|
/**
|
|
288
304
|
* Creates a top-up for an account of the authenticated user and returns its payment information. The balance increases when the gateway confirms receipt. Keep the supplied ID to read the attempt after a lost response; creating it again conflicts.
|
|
@@ -326,10 +342,15 @@ export declare const listPaymentMethodsQueryPageDefault = 1;
|
|
|
326
342
|
export declare const listPaymentMethodsQueryPageMax = 2147483647;
|
|
327
343
|
export declare const listPaymentMethodsQueryPageSizeDefault = 50;
|
|
328
344
|
export declare const listPaymentMethodsQueryPageSizeMax = 200;
|
|
345
|
+
export declare const listPaymentMethodsQueryStatusMax = 2;
|
|
329
346
|
export declare const ListPaymentMethodsQueryParams: zod.ZodObject<{
|
|
330
347
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
331
348
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
332
349
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
350
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
351
|
+
active: "active";
|
|
352
|
+
expired: "expired";
|
|
353
|
+
}>>>;
|
|
333
354
|
}, zod.z.core.$strict>;
|
|
334
355
|
/**
|
|
335
356
|
* Returns what the browser needs to open the payment gateway's card form. Nothing is charged; the method is listed once the gateway confirms it. Card numbers never reach this service.
|
|
@@ -435,15 +456,16 @@ export declare const listInvoicesQueryPageDefault = 1;
|
|
|
435
456
|
export declare const listInvoicesQueryPageMax = 2147483647;
|
|
436
457
|
export declare const listInvoicesQueryPageSizeDefault = 50;
|
|
437
458
|
export declare const listInvoicesQueryPageSizeMax = 200;
|
|
459
|
+
export declare const listInvoicesQueryStatusMax = 3;
|
|
438
460
|
export declare const ListInvoicesQueryParams: zod.ZodObject<{
|
|
439
461
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
440
462
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
441
463
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
442
|
-
status: zod.ZodOptional<zod.ZodEnum<{
|
|
464
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
443
465
|
void: "void";
|
|
444
466
|
open: "open";
|
|
445
467
|
paid: "paid";
|
|
446
|
-
}
|
|
468
|
+
}>>>;
|
|
447
469
|
subscription_id: zod.ZodOptional<zod.ZodUUID>;
|
|
448
470
|
from: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
449
471
|
to: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
@@ -478,12 +500,27 @@ export declare const listTransactionsQueryPageDefault = 1;
|
|
|
478
500
|
export declare const listTransactionsQueryPageMax = 2147483647;
|
|
479
501
|
export declare const listTransactionsQueryPageSizeDefault = 50;
|
|
480
502
|
export declare const listTransactionsQueryPageSizeMax = 200;
|
|
503
|
+
export declare const listTransactionsQueryTypeMax = 5;
|
|
504
|
+
export declare const listTransactionsQueryStatusMax = 4;
|
|
481
505
|
export declare const ListTransactionsQueryParams: zod.ZodObject<{
|
|
482
506
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
483
507
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
484
508
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
485
509
|
from: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
486
510
|
to: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
511
|
+
type: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
512
|
+
topup: "topup";
|
|
513
|
+
payment: "payment";
|
|
514
|
+
refund: "refund";
|
|
515
|
+
adjustment: "adjustment";
|
|
516
|
+
fee: "fee";
|
|
517
|
+
}>>>;
|
|
518
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
519
|
+
failed: "failed";
|
|
520
|
+
pending: "pending";
|
|
521
|
+
canceled: "canceled";
|
|
522
|
+
succeeded: "succeeded";
|
|
523
|
+
}>>>;
|
|
487
524
|
}, zod.z.core.$strict>;
|
|
488
525
|
/**
|
|
489
526
|
* Coupons held by the account, applied at checkout without a code. Coupons reached through a code are not listed.
|
|
@@ -493,10 +530,17 @@ export declare const listAccountDiscountsQueryPageDefault = 1;
|
|
|
493
530
|
export declare const listAccountDiscountsQueryPageMax = 2147483647;
|
|
494
531
|
export declare const listAccountDiscountsQueryPageSizeDefault = 50;
|
|
495
532
|
export declare const listAccountDiscountsQueryPageSizeMax = 200;
|
|
533
|
+
export declare const listAccountDiscountsQueryStatusMax = 4;
|
|
496
534
|
export declare const ListAccountDiscountsQueryParams: zod.ZodObject<{
|
|
497
535
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
498
536
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
499
537
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
538
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
539
|
+
scheduled: "scheduled";
|
|
540
|
+
active: "active";
|
|
541
|
+
expired: "expired";
|
|
542
|
+
voided: "voided";
|
|
543
|
+
}>>>;
|
|
500
544
|
}, zod.z.core.$strict>;
|
|
501
545
|
/**
|
|
502
546
|
* Credit grants with what remains and what each may pay for. Credit is spent before balance and cannot be withdrawn.
|
|
@@ -506,16 +550,17 @@ export declare const listCreditGrantsQueryPageDefault = 1;
|
|
|
506
550
|
export declare const listCreditGrantsQueryPageMax = 2147483647;
|
|
507
551
|
export declare const listCreditGrantsQueryPageSizeDefault = 50;
|
|
508
552
|
export declare const listCreditGrantsQueryPageSizeMax = 200;
|
|
553
|
+
export declare const listCreditGrantsQueryStatusMax = 4;
|
|
509
554
|
export declare const ListCreditGrantsQueryParams: zod.ZodObject<{
|
|
510
555
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
511
556
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
512
557
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
513
|
-
status: zod.ZodOptional<zod.ZodEnum<{
|
|
558
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
514
559
|
active: "active";
|
|
515
560
|
expired: "expired";
|
|
516
561
|
depleted: "depleted";
|
|
517
562
|
voided: "voided";
|
|
518
|
-
}
|
|
563
|
+
}>>>;
|
|
519
564
|
}, zod.z.core.$strict>;
|
|
520
565
|
/**
|
|
521
566
|
* Credit notes, newest first. Filters apply within the billing accounts you are authorized for.
|
|
@@ -525,11 +570,16 @@ export declare const listCreditNotesQueryPageDefault = 1;
|
|
|
525
570
|
export declare const listCreditNotesQueryPageMax = 2147483647;
|
|
526
571
|
export declare const listCreditNotesQueryPageSizeDefault = 50;
|
|
527
572
|
export declare const listCreditNotesQueryPageSizeMax = 200;
|
|
573
|
+
export declare const listCreditNotesQueryStatusMax = 2;
|
|
528
574
|
export declare const ListCreditNotesQueryParams: zod.ZodObject<{
|
|
529
575
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
530
576
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
531
577
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
532
578
|
invoice_id: zod.ZodOptional<zod.ZodUUID>;
|
|
579
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
580
|
+
void: "void";
|
|
581
|
+
issued: "issued";
|
|
582
|
+
}>>>;
|
|
533
583
|
}, zod.z.core.$strict>;
|
|
534
584
|
/**
|
|
535
585
|
* Requires authorization for the invoice's billing account.
|
|
@@ -561,12 +611,19 @@ export declare const listRefundsQueryPageDefault = 1;
|
|
|
561
611
|
export declare const listRefundsQueryPageMax = 2147483647;
|
|
562
612
|
export declare const listRefundsQueryPageSizeDefault = 50;
|
|
563
613
|
export declare const listRefundsQueryPageSizeMax = 200;
|
|
614
|
+
export declare const listRefundsQueryStatusMax = 4;
|
|
564
615
|
export declare const ListRefundsQueryParams: zod.ZodObject<{
|
|
565
616
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
566
617
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
567
618
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
568
619
|
invoice_id: zod.ZodOptional<zod.ZodUUID>;
|
|
569
620
|
order_id: zod.ZodOptional<zod.ZodUUID>;
|
|
621
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
622
|
+
failed: "failed";
|
|
623
|
+
pending: "pending";
|
|
624
|
+
succeeded: "succeeded";
|
|
625
|
+
processing: "processing";
|
|
626
|
+
}>>>;
|
|
570
627
|
}, zod.z.core.$strict>;
|
|
571
628
|
/**
|
|
572
629
|
* Priced usage charges in the requested scope; members with the project permission `billing:finance.manage` list a project's charges with `project_ids`. Usage that had no price when it occurred is never charged later.
|
|
@@ -601,12 +658,21 @@ export declare const listSubscriptionsQueryPageMax = 2147483647;
|
|
|
601
658
|
export declare const listSubscriptionsQueryPageSizeDefault = 50;
|
|
602
659
|
export declare const listSubscriptionsQueryPageSizeMax = 200;
|
|
603
660
|
export declare const listSubscriptionsQueryProjectIdsMax = 100;
|
|
661
|
+
export declare const listSubscriptionsQueryStatusMax = 6;
|
|
604
662
|
export declare const ListSubscriptionsQueryParams: zod.ZodObject<{
|
|
605
663
|
expiring_before: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
606
664
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
607
665
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
608
666
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
609
667
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
668
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
669
|
+
active: "active";
|
|
670
|
+
pending: "pending";
|
|
671
|
+
suspended: "suspended";
|
|
672
|
+
canceled: "canceled";
|
|
673
|
+
provisioning: "provisioning";
|
|
674
|
+
terminated: "terminated";
|
|
675
|
+
}>>>;
|
|
610
676
|
}, zod.z.core.$strict>;
|
|
611
677
|
/**
|
|
612
678
|
* A subscription paid by your billing account or of a project you are a member of. Deleted subscriptions are reported as not found.
|
|
@@ -655,13 +721,14 @@ export declare const listCancellationsQueryPageDefault = 1;
|
|
|
655
721
|
export declare const listCancellationsQueryPageMax = 2147483647;
|
|
656
722
|
export declare const listCancellationsQueryPageSizeDefault = 50;
|
|
657
723
|
export declare const listCancellationsQueryPageSizeMax = 200;
|
|
724
|
+
export declare const listCancellationsQueryStatusMax = 7;
|
|
658
725
|
export declare const listCancellationsQueryProjectIdsMax = 100;
|
|
659
726
|
export declare const ListCancellationsQueryParams: zod.ZodObject<{
|
|
660
727
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
661
728
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
662
729
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
663
730
|
subscription_id: zod.ZodOptional<zod.ZodUUID>;
|
|
664
|
-
status: zod.ZodOptional<zod.ZodEnum<{
|
|
731
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
665
732
|
scheduled: "scheduled";
|
|
666
733
|
completed: "completed";
|
|
667
734
|
failed: "failed";
|
|
@@ -669,7 +736,7 @@ export declare const ListCancellationsQueryParams: zod.ZodObject<{
|
|
|
669
736
|
requested: "requested";
|
|
670
737
|
releasing: "releasing";
|
|
671
738
|
canceled: "canceled";
|
|
672
|
-
}
|
|
739
|
+
}>>>;
|
|
673
740
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
674
741
|
}, zod.z.core.$strict>;
|
|
675
742
|
/**
|
|
@@ -800,6 +867,7 @@ export declare const listAllowancesQueryPageDefault = 1;
|
|
|
800
867
|
export declare const listAllowancesQueryPageMax = 2147483647;
|
|
801
868
|
export declare const listAllowancesQueryPageSizeDefault = 50;
|
|
802
869
|
export declare const listAllowancesQueryPageSizeMax = 200;
|
|
870
|
+
export declare const listAllowancesQueryStatusMax = 4;
|
|
803
871
|
export declare const listAllowancesQueryProductIdMax = 64;
|
|
804
872
|
export declare const listAllowancesQueryProductIdRegExp: RegExp;
|
|
805
873
|
export declare const listAllowancesQueryProjectIdsMax = 100;
|
|
@@ -808,12 +876,12 @@ export declare const ListAllowancesQueryParams: zod.ZodObject<{
|
|
|
808
876
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
809
877
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
810
878
|
meter_id: zod.ZodOptional<zod.ZodUUID>;
|
|
811
|
-
status: zod.ZodOptional<zod.ZodEnum<{
|
|
879
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
812
880
|
active: "active";
|
|
813
881
|
expired: "expired";
|
|
814
882
|
depleted: "depleted";
|
|
815
883
|
voided: "voided";
|
|
816
|
-
}
|
|
884
|
+
}>>>;
|
|
817
885
|
product_id: zod.ZodOptional<zod.ZodString>;
|
|
818
886
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
819
887
|
}, zod.z.core.$strict>;
|
|
@@ -825,16 +893,17 @@ export declare const listCheckoutSessionsQueryPageDefault = 1;
|
|
|
825
893
|
export declare const listCheckoutSessionsQueryPageMax = 2147483647;
|
|
826
894
|
export declare const listCheckoutSessionsQueryPageSizeDefault = 50;
|
|
827
895
|
export declare const listCheckoutSessionsQueryPageSizeMax = 200;
|
|
896
|
+
export declare const listCheckoutSessionsQueryStatusMax = 3;
|
|
828
897
|
export declare const listCheckoutSessionsQueryProjectIdsMax = 100;
|
|
829
898
|
export declare const ListCheckoutSessionsQueryParams: zod.ZodObject<{
|
|
830
899
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
831
900
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
832
901
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
833
|
-
status: zod.ZodOptional<zod.ZodEnum<{
|
|
902
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
834
903
|
expired: "expired";
|
|
835
904
|
open: "open";
|
|
836
905
|
complete: "complete";
|
|
837
|
-
}
|
|
906
|
+
}>>>;
|
|
838
907
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
839
908
|
}, zod.z.core.$strict>;
|
|
840
909
|
/**
|
|
@@ -943,19 +1012,20 @@ export declare const listOrdersQueryPageDefault = 1;
|
|
|
943
1012
|
export declare const listOrdersQueryPageMax = 2147483647;
|
|
944
1013
|
export declare const listOrdersQueryPageSizeDefault = 50;
|
|
945
1014
|
export declare const listOrdersQueryPageSizeMax = 200;
|
|
1015
|
+
export declare const listOrdersQueryStatusMax = 6;
|
|
946
1016
|
export declare const listOrdersQueryProjectIdsMax = 100;
|
|
947
1017
|
export declare const ListOrdersQueryParams: zod.ZodObject<{
|
|
948
1018
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
949
1019
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
950
1020
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
951
|
-
status: zod.ZodOptional<zod.ZodEnum<{
|
|
1021
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
952
1022
|
completed: "completed";
|
|
953
1023
|
failed: "failed";
|
|
954
1024
|
pending: "pending";
|
|
955
1025
|
canceled: "canceled";
|
|
956
1026
|
accepted: "accepted";
|
|
957
1027
|
partially_completed: "partially_completed";
|
|
958
|
-
}
|
|
1028
|
+
}>>>;
|
|
959
1029
|
from: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
960
1030
|
to: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
961
1031
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
@@ -1042,17 +1112,18 @@ export declare const listFeatureGrantsQueryPageSizeDefault = 50;
|
|
|
1042
1112
|
export declare const listFeatureGrantsQueryPageSizeMax = 200;
|
|
1043
1113
|
export declare const listFeatureGrantsQueryProductIdMax = 64;
|
|
1044
1114
|
export declare const listFeatureGrantsQueryProductIdRegExp: RegExp;
|
|
1115
|
+
export declare const listFeatureGrantsQueryStatusMax = 4;
|
|
1045
1116
|
export declare const ListFeatureGrantsQueryParams: zod.ZodObject<{
|
|
1046
1117
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
1047
1118
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
1048
1119
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
1049
1120
|
product_id: zod.ZodOptional<zod.ZodString>;
|
|
1050
|
-
status: zod.ZodOptional<zod.ZodEnum<{
|
|
1121
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
1051
1122
|
scheduled: "scheduled";
|
|
1052
1123
|
active: "active";
|
|
1053
1124
|
expired: "expired";
|
|
1054
1125
|
voided: "voided";
|
|
1055
|
-
}
|
|
1126
|
+
}>>>;
|
|
1056
1127
|
}, zod.z.core.$strict>;
|
|
1057
1128
|
/**
|
|
1058
1129
|
* Every active price in the currency, one entry per plan and price. Archived prices are not listed; existing subscriptions keep the terms they were bought at.
|
|
@@ -1186,6 +1257,7 @@ export declare const listActiveResourcesQueryPageSizeMax = 200;
|
|
|
1186
1257
|
export declare const listActiveResourcesQueryProjectIdsMax = 100;
|
|
1187
1258
|
export declare const listActiveResourcesQueryProductIdMax = 64;
|
|
1188
1259
|
export declare const listActiveResourcesQueryProductIdRegExp: RegExp;
|
|
1260
|
+
export declare const listActiveResourcesQueryStatusMax = 4;
|
|
1189
1261
|
export declare const ListActiveResourcesQueryParams: zod.ZodObject<{
|
|
1190
1262
|
page: zod.ZodDefault<zod.ZodInt>;
|
|
1191
1263
|
page_size: zod.ZodDefault<zod.ZodInt>;
|
|
@@ -1194,12 +1266,12 @@ export declare const ListActiveResourcesQueryParams: zod.ZodObject<{
|
|
|
1194
1266
|
project_ids: zod.ZodOptional<zod.ZodArray<zod.ZodUUID>>;
|
|
1195
1267
|
meter_id: zod.ZodOptional<zod.ZodUUID>;
|
|
1196
1268
|
product_id: zod.ZodOptional<zod.ZodString>;
|
|
1197
|
-
status: zod.ZodOptional<zod.ZodEnum<{
|
|
1269
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
1198
1270
|
active: "active";
|
|
1199
1271
|
suspended: "suspended";
|
|
1200
1272
|
closed: "closed";
|
|
1201
1273
|
closing: "closing";
|
|
1202
|
-
}
|
|
1274
|
+
}>>>;
|
|
1203
1275
|
}, zod.z.core.$strict>;
|
|
1204
1276
|
/**
|
|
1205
1277
|
* Sums priced usage for one billing account by UTC day, including usage not yet invoiced. Amounts are
|
|
@@ -1254,16 +1326,17 @@ export declare const ListMonthlyStatementsQueryParams: zod.ZodObject<{
|
|
|
1254
1326
|
* Statements of your billing accounts, filtered by billing_account_id, open or closed and period start. A closed statement does not mean the month is complete.
|
|
1255
1327
|
* @summary List statements
|
|
1256
1328
|
*/
|
|
1329
|
+
export declare const listStatementsQueryStatusMax = 2;
|
|
1257
1330
|
export declare const listStatementsQueryPageDefault = 1;
|
|
1258
1331
|
export declare const listStatementsQueryPageMax = 2147483647;
|
|
1259
1332
|
export declare const listStatementsQueryPageSizeDefault = 50;
|
|
1260
1333
|
export declare const listStatementsQueryPageSizeMax = 200;
|
|
1261
1334
|
export declare const ListStatementsQueryParams: zod.ZodObject<{
|
|
1262
1335
|
billing_account_id: zod.ZodOptional<zod.ZodInt>;
|
|
1263
|
-
status: zod.ZodOptional<zod.ZodEnum<{
|
|
1336
|
+
status: zod.ZodOptional<zod.ZodArray<zod.ZodEnum<{
|
|
1264
1337
|
open: "open";
|
|
1265
1338
|
closed: "closed";
|
|
1266
|
-
}
|
|
1339
|
+
}>>>;
|
|
1267
1340
|
from: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
1268
1341
|
to: zod.ZodOptional<zod.z.ZodISODateTime>;
|
|
1269
1342
|
page: zod.ZodDefault<zod.ZodInt>;
|