@tinkerlandai/indiana-sdk 0.8.0 → 0.8.3

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +67 -20
  3. package/README.zh-CN.md +66 -19
  4. package/dist/ai-usage-BV-FlgWr.d.ts +247 -0
  5. package/dist/{ai-usage-Bigjb8MS.d.ts → api-B3FIE41b.d.ts} +554 -423
  6. package/dist/chunk-2QPETWDX.js +1 -0
  7. package/dist/chunk-ANOOBDW5.js +350 -0
  8. package/dist/chunk-BNU6IG3F.js +1 -0
  9. package/dist/chunk-GRLMT5PR.js +1 -0
  10. package/dist/chunk-LMR2TM3X.js +1 -0
  11. package/dist/chunk-OBYJWIRB.js +1 -0
  12. package/dist/{chunk-G2R56FKU.js → chunk-SHSNIJJM.js} +1 -1
  13. package/dist/{chunk-OVMNCZYC.js → chunk-SOQO2RDZ.js} +1 -1
  14. package/dist/chunk-VVV3JNS3.js +1 -0
  15. package/dist/{chunk-YAFMBXIE.js → chunk-X747SY26.js} +1 -1
  16. package/dist/chunk-Y32NPIYY.js +1 -0
  17. package/dist/chunk-ZT66RIFU.js +10 -0
  18. package/dist/{configuration-sync-VFbY1pCN.d.ts → configuration-sync-DNvKXHk-.d.ts} +25 -25
  19. package/dist/{content-K2HCZVC2.js → content-J3FKZTGT.js} +1 -1
  20. package/dist/{errors-BpCmukJr.d.ts → errors-C8lRYZ0n.d.ts} +49 -2
  21. package/dist/{funnel-runtime-start-DKcTCRrd.d.ts → funnel-local-client-wbz-4gFx.d.ts} +701 -6055
  22. package/dist/funnel-runtime-host-C5P5JTV3.js +1 -0
  23. package/dist/index.d.ts +1831 -1901
  24. package/dist/index.js +1 -1
  25. package/dist/native-shell.js +1 -1
  26. package/dist/openrouter.d.ts +4 -3
  27. package/dist/openrouter.js +1 -1
  28. package/dist/page.d.ts +7 -7
  29. package/dist/page.js +1 -1
  30. package/dist/paywall-3GIRKSHN.js +1 -0
  31. package/dist/popup.d.ts +2 -2
  32. package/dist/popup.js +1 -1
  33. package/dist/react-native.d.ts +97 -4
  34. package/dist/react-native.js +1 -1
  35. package/dist/screen-renderer-5FPYVSPW.js +1 -0
  36. package/dist/server.d.ts +4648 -8
  37. package/dist/server.js +1 -1
  38. package/dist/src-BMJCIMIF.js +1 -0
  39. package/dist/visual.js +1 -1
  40. package/package.json +3 -3
  41. package/dist/chunk-2A6UYUFA.js +0 -1
  42. package/dist/chunk-3BQFJANQ.js +0 -1
  43. package/dist/chunk-3ENVRJE6.js +0 -350
  44. package/dist/chunk-A3N4ZZTM.js +0 -7
  45. package/dist/chunk-AE4CUTUE.js +0 -1
  46. package/dist/chunk-CXYOZSOF.js +0 -1
  47. package/dist/funnel-runtime-host-HNZ47TZW.js +0 -1
  48. package/dist/paywall-PD62B2AY.js +0 -1
  49. package/dist/src-4MRSESVS.js +0 -1
  50. package/dist/{chunk-6X42DWOM.js → chunk-DSPLGTQI.js} +0 -0
  51. package/dist/{chunk-S5TVMQRC.js → chunk-EXCPE2XH.js} +0 -0
  52. package/dist/{customer-page-BrCZxcaQ.d.ts → customer-page-WUQVK_tp.d.ts} +4 -4
  53. package/dist/{screen-BazUOjwM.d.ts → screen-BpAejkn0.d.ts} +267 -267
@@ -1,5 +1,4 @@
1
- import { LanguageModelV4Usage, LanguageModelV4Middleware } from '@ai-sdk/provider';
2
- import { S as StackNode } from './screen-BazUOjwM.js';
1
+ import { S as StackNode } from './screen-BpAejkn0.js';
3
2
  import { z } from 'zod/v4';
4
3
  import { z as z$1 } from 'zod';
5
4
 
@@ -598,6 +597,371 @@ type InvoiceModeParamsInput = {
598
597
  };
599
598
 
600
599
  declare const apiOperations: {
600
+ readonly sendMessage: {
601
+ readonly method: "POST";
602
+ readonly path: "messaging/send";
603
+ readonly permission: "messaging:write";
604
+ readonly audience: "server";
605
+ readonly request: z$1.ZodObject<{
606
+ requestId: z$1.ZodUUID;
607
+ customerId: z$1.ZodUUID;
608
+ connectionId: z$1.ZodOptional<z$1.ZodUUID>;
609
+ message: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
610
+ channel: z$1.ZodLiteral<"email">;
611
+ content: z$1.ZodObject<{
612
+ subject: z$1.ZodString;
613
+ html: z$1.ZodOptional<z$1.ZodString>;
614
+ text: z$1.ZodOptional<z$1.ZodString>;
615
+ }, z$1.core.$strict>;
616
+ }, z$1.core.$strict>, z$1.ZodObject<{
617
+ channel: z$1.ZodLiteral<"sms">;
618
+ content: z$1.ZodObject<{
619
+ body: z$1.ZodString;
620
+ }, z$1.core.$strict>;
621
+ }, z$1.core.$strict>, z$1.ZodObject<{
622
+ channel: z$1.ZodLiteral<"voice">;
623
+ content: z$1.ZodObject<{
624
+ text: z$1.ZodString;
625
+ language: z$1.ZodString;
626
+ maxDurationSeconds: z$1.ZodNumber;
627
+ }, z$1.core.$strict>;
628
+ }, z$1.core.$strict>, z$1.ZodObject<{
629
+ channel: z$1.ZodLiteral<"push">;
630
+ content: z$1.ZodObject<{
631
+ title: z$1.ZodString;
632
+ body: z$1.ZodString;
633
+ url: z$1.ZodOptional<z$1.ZodURL>;
634
+ data: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
635
+ }, z$1.core.$strict>;
636
+ }, z$1.core.$strict>], "channel">;
637
+ expiresAt: z$1.ZodISODateTime;
638
+ }, z$1.core.$strict>;
639
+ readonly response: z$1.ZodObject<{
640
+ requestId: z$1.ZodUUID;
641
+ scope: z$1.ZodObject<{
642
+ projectId: z$1.ZodString;
643
+ environment: z$1.ZodEnum<{
644
+ sandbox: "sandbox";
645
+ live: "live";
646
+ }>;
647
+ }, z$1.core.$strict>;
648
+ message: z$1.ZodObject<{
649
+ messageId: z$1.ZodUUID;
650
+ channel: z$1.ZodEnum<{
651
+ email: "email";
652
+ sms: "sms";
653
+ voice: "voice";
654
+ push: "push";
655
+ }>;
656
+ acceptedAt: z$1.ZodISODateTime;
657
+ status: z$1.ZodEnum<{
658
+ canceled: "canceled";
659
+ completed: "completed";
660
+ accepted: "accepted";
661
+ sending: "sending";
662
+ }>;
663
+ replayed: z$1.ZodBoolean;
664
+ }, z$1.core.$strip>;
665
+ }, z$1.core.$strict>;
666
+ };
667
+ readonly readMessage: {
668
+ readonly method: "POST";
669
+ readonly path: "messaging/read";
670
+ readonly permission: "messaging:write";
671
+ readonly audience: "server";
672
+ readonly request: z$1.ZodObject<{
673
+ messageId: z$1.ZodUUID;
674
+ }, z$1.core.$strict>;
675
+ readonly response: z$1.ZodObject<{
676
+ requestId: z$1.ZodUUID;
677
+ scope: z$1.ZodObject<{
678
+ projectId: z$1.ZodString;
679
+ environment: z$1.ZodEnum<{
680
+ sandbox: "sandbox";
681
+ live: "live";
682
+ }>;
683
+ }, z$1.core.$strict>;
684
+ message: z$1.ZodObject<{
685
+ id: z$1.ZodUUID;
686
+ channel: z$1.ZodEnum<{
687
+ email: "email";
688
+ sms: "sms";
689
+ voice: "voice";
690
+ push: "push";
691
+ }>;
692
+ status: z$1.ZodEnum<{
693
+ canceled: "canceled";
694
+ completed: "completed";
695
+ accepted: "accepted";
696
+ sending: "sending";
697
+ }>;
698
+ deliveries: z$1.ZodArray<z$1.ZodObject<{
699
+ id: z$1.ZodUUID;
700
+ status: z$1.ZodEnum<{
701
+ unknown: "unknown";
702
+ canceled: "canceled";
703
+ failed: "failed";
704
+ accepted: "accepted";
705
+ queued: "queued";
706
+ leased: "leased";
707
+ dispatching: "dispatching";
708
+ retry: "retry";
709
+ skipped: "skipped";
710
+ }>;
711
+ attempts: z$1.ZodNumber;
712
+ receipts: z$1.ZodArray<z$1.ZodObject<{
713
+ kind: z$1.ZodEnum<{
714
+ failed: "failed";
715
+ completed: "completed";
716
+ accepted: "accepted";
717
+ sent: "sent";
718
+ delivered: "delivered";
719
+ delayed: "delayed";
720
+ bounced: "bounced";
721
+ complained: "complained";
722
+ unsubscribed: "unsubscribed";
723
+ opened: "opened";
724
+ clicked: "clicked";
725
+ ringing: "ringing";
726
+ answered: "answered";
727
+ busy: "busy";
728
+ no_answer: "no_answer";
729
+ cost_finalized: "cost_finalized";
730
+ }>;
731
+ occurredAt: z$1.ZodNullable<z$1.ZodISODateTime>;
732
+ }, z$1.core.$strip>>;
733
+ }, z$1.core.$strip>>;
734
+ }, z$1.core.$strip>;
735
+ }, z$1.core.$strict>;
736
+ };
737
+ readonly bindPushInstallation: {
738
+ readonly method: "POST";
739
+ readonly path: "push/installations/bind";
740
+ readonly permission: "messaging:write";
741
+ readonly audience: "customer";
742
+ readonly request: z$1.ZodObject<{
743
+ installationId: z$1.ZodUUID;
744
+ publicKey: z$1.ZodString;
745
+ issuedAt: z$1.ZodISODateTime;
746
+ signature: z$1.ZodString;
747
+ sequence: z$1.ZodNumber;
748
+ platform: z$1.ZodEnum<{
749
+ ios: "ios";
750
+ android: "android";
751
+ }>;
752
+ credentialDigest: z$1.ZodString;
753
+ }, z$1.core.$strict>;
754
+ readonly response: z$1.ZodObject<{
755
+ requestId: z$1.ZodUUID;
756
+ scope: z$1.ZodObject<{
757
+ projectId: z$1.ZodString;
758
+ environment: z$1.ZodEnum<{
759
+ sandbox: "sandbox";
760
+ live: "live";
761
+ }>;
762
+ }, z$1.core.$strict>;
763
+ installation: z$1.ZodObject<{
764
+ installationId: z$1.ZodUUID;
765
+ bound: z$1.ZodBoolean;
766
+ identitySeq: z$1.ZodNumber;
767
+ bindingGeneration: z$1.ZodNumber;
768
+ addressSeq: z$1.ZodNumber;
769
+ addressRevision: z$1.ZodNumber;
770
+ connectionId: z$1.ZodNullable<z$1.ZodUUID>;
771
+ addressStatus: z$1.ZodNullable<z$1.ZodEnum<{
772
+ active: "active";
773
+ invalid: "invalid";
774
+ }>>;
775
+ permission: z$1.ZodEnum<{
776
+ unknown: "unknown";
777
+ denied: "denied";
778
+ provisional: "provisional";
779
+ granted: "granted";
780
+ }>;
781
+ }, z$1.core.$strict>;
782
+ }, z$1.core.$strict>;
783
+ };
784
+ readonly readPushInstallation: {
785
+ readonly method: "POST";
786
+ readonly path: "push/installations/read";
787
+ readonly permission: "messaging:write";
788
+ readonly audience: "customer";
789
+ readonly request: z$1.ZodObject<{
790
+ installationId: z$1.ZodUUID;
791
+ publicKey: z$1.ZodString;
792
+ issuedAt: z$1.ZodISODateTime;
793
+ signature: z$1.ZodString;
794
+ credentialDigest: z$1.ZodString;
795
+ }, z$1.core.$strict>;
796
+ readonly response: z$1.ZodObject<{
797
+ requestId: z$1.ZodUUID;
798
+ scope: z$1.ZodObject<{
799
+ projectId: z$1.ZodString;
800
+ environment: z$1.ZodEnum<{
801
+ sandbox: "sandbox";
802
+ live: "live";
803
+ }>;
804
+ }, z$1.core.$strict>;
805
+ installation: z$1.ZodObject<{
806
+ installationId: z$1.ZodUUID;
807
+ bound: z$1.ZodBoolean;
808
+ identitySeq: z$1.ZodNumber;
809
+ bindingGeneration: z$1.ZodNumber;
810
+ addressSeq: z$1.ZodNumber;
811
+ addressRevision: z$1.ZodNumber;
812
+ connectionId: z$1.ZodNullable<z$1.ZodUUID>;
813
+ addressStatus: z$1.ZodNullable<z$1.ZodEnum<{
814
+ active: "active";
815
+ invalid: "invalid";
816
+ }>>;
817
+ permission: z$1.ZodEnum<{
818
+ unknown: "unknown";
819
+ denied: "denied";
820
+ provisional: "provisional";
821
+ granted: "granted";
822
+ }>;
823
+ }, z$1.core.$strict>;
824
+ }, z$1.core.$strict>;
825
+ };
826
+ readonly updatePushAddress: {
827
+ readonly method: "POST";
828
+ readonly path: "push/installations/address";
829
+ readonly permission: "messaging:write";
830
+ readonly audience: "customer";
831
+ readonly request: z$1.ZodObject<{
832
+ installationId: z$1.ZodUUID;
833
+ publicKey: z$1.ZodString;
834
+ issuedAt: z$1.ZodISODateTime;
835
+ signature: z$1.ZodString;
836
+ sequence: z$1.ZodNumber;
837
+ credentialDigest: z$1.ZodString;
838
+ connectionId: z$1.ZodNullable<z$1.ZodUUID>;
839
+ kind: z$1.ZodNullable<z$1.ZodEnum<{
840
+ fcm_token: "fcm_token";
841
+ apns_token: "apns_token";
842
+ }>>;
843
+ token: z$1.ZodNullable<z$1.ZodString>;
844
+ permission: z$1.ZodEnum<{
845
+ unknown: "unknown";
846
+ denied: "denied";
847
+ provisional: "provisional";
848
+ granted: "granted";
849
+ }>;
850
+ }, z$1.core.$strict>;
851
+ readonly response: z$1.ZodObject<{
852
+ requestId: z$1.ZodUUID;
853
+ scope: z$1.ZodObject<{
854
+ projectId: z$1.ZodString;
855
+ environment: z$1.ZodEnum<{
856
+ sandbox: "sandbox";
857
+ live: "live";
858
+ }>;
859
+ }, z$1.core.$strict>;
860
+ installation: z$1.ZodObject<{
861
+ installationId: z$1.ZodUUID;
862
+ bound: z$1.ZodBoolean;
863
+ identitySeq: z$1.ZodNumber;
864
+ bindingGeneration: z$1.ZodNumber;
865
+ addressSeq: z$1.ZodNumber;
866
+ addressRevision: z$1.ZodNumber;
867
+ connectionId: z$1.ZodNullable<z$1.ZodUUID>;
868
+ addressStatus: z$1.ZodNullable<z$1.ZodEnum<{
869
+ active: "active";
870
+ invalid: "invalid";
871
+ }>>;
872
+ permission: z$1.ZodEnum<{
873
+ unknown: "unknown";
874
+ denied: "denied";
875
+ provisional: "provisional";
876
+ granted: "granted";
877
+ }>;
878
+ }, z$1.core.$strict>;
879
+ }, z$1.core.$strict>;
880
+ };
881
+ readonly readMessagingPreference: {
882
+ readonly method: "POST";
883
+ readonly path: "messaging/preferences/read";
884
+ readonly permission: "messaging:write";
885
+ readonly audience: "customer";
886
+ readonly request: z$1.ZodObject<{
887
+ channel: z$1.ZodEnum<{
888
+ email: "email";
889
+ sms: "sms";
890
+ voice: "voice";
891
+ push: "push";
892
+ }>;
893
+ }, z$1.core.$strict>;
894
+ readonly response: z$1.ZodObject<{
895
+ requestId: z$1.ZodUUID;
896
+ scope: z$1.ZodObject<{
897
+ projectId: z$1.ZodString;
898
+ environment: z$1.ZodEnum<{
899
+ sandbox: "sandbox";
900
+ live: "live";
901
+ }>;
902
+ }, z$1.core.$strict>;
903
+ preference: z$1.ZodObject<{
904
+ channel: z$1.ZodEnum<{
905
+ email: "email";
906
+ sms: "sms";
907
+ voice: "voice";
908
+ push: "push";
909
+ }>;
910
+ state: z$1.ZodEnum<{
911
+ allowed: "allowed";
912
+ unknown: "unknown";
913
+ denied: "denied";
914
+ }>;
915
+ revision: z$1.ZodNumber;
916
+ updatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
917
+ }, z$1.core.$strict>;
918
+ }, z$1.core.$strict>;
919
+ };
920
+ readonly setMessagingPreference: {
921
+ readonly method: "POST";
922
+ readonly path: "messaging/preferences/set";
923
+ readonly permission: "messaging:write";
924
+ readonly audience: "customer";
925
+ readonly request: z$1.ZodObject<{
926
+ requestId: z$1.ZodUUID;
927
+ channel: z$1.ZodEnum<{
928
+ email: "email";
929
+ sms: "sms";
930
+ voice: "voice";
931
+ push: "push";
932
+ }>;
933
+ state: z$1.ZodEnum<{
934
+ allowed: "allowed";
935
+ denied: "denied";
936
+ }>;
937
+ expectedRevision: z$1.ZodNumber;
938
+ }, z$1.core.$strict>;
939
+ readonly response: z$1.ZodObject<{
940
+ requestId: z$1.ZodUUID;
941
+ scope: z$1.ZodObject<{
942
+ projectId: z$1.ZodString;
943
+ environment: z$1.ZodEnum<{
944
+ sandbox: "sandbox";
945
+ live: "live";
946
+ }>;
947
+ }, z$1.core.$strict>;
948
+ preference: z$1.ZodObject<{
949
+ channel: z$1.ZodEnum<{
950
+ email: "email";
951
+ sms: "sms";
952
+ voice: "voice";
953
+ push: "push";
954
+ }>;
955
+ state: z$1.ZodEnum<{
956
+ allowed: "allowed";
957
+ unknown: "unknown";
958
+ denied: "denied";
959
+ }>;
960
+ revision: z$1.ZodNumber;
961
+ updatedAt: z$1.ZodNullable<z$1.ZodISODateTime>;
962
+ }, z$1.core.$strict>;
963
+ }, z$1.core.$strict>;
964
+ };
601
965
  readonly listInvoiceTemplates: {
602
966
  readonly method: "POST";
603
967
  readonly path: "invoices/templates";
@@ -611,8 +975,8 @@ declare const apiOperations: {
611
975
  scope: z$1.ZodObject<{
612
976
  projectId: z$1.ZodString;
613
977
  environment: z$1.ZodEnum<{
614
- live: "live";
615
978
  sandbox: "sandbox";
979
+ live: "live";
616
980
  }>;
617
981
  }, z$1.core.$strict>;
618
982
  templates: z$1.ZodObject<{
@@ -642,8 +1006,8 @@ declare const apiOperations: {
642
1006
  scope: z$1.ZodObject<{
643
1007
  projectId: z$1.ZodString;
644
1008
  environment: z$1.ZodEnum<{
645
- live: "live";
646
1009
  sandbox: "sandbox";
1010
+ live: "live";
647
1011
  }>;
648
1012
  }, z$1.core.$strict>;
649
1013
  preview: z$1.ZodType<CreateInvoicePreview, CreateInvoicePreviewInput, z$1.core.$ZodTypeInternals<CreateInvoicePreview, CreateInvoicePreviewInput>>;
@@ -664,15 +1028,15 @@ declare const apiOperations: {
664
1028
  scope: z$1.ZodObject<{
665
1029
  projectId: z$1.ZodString;
666
1030
  environment: z$1.ZodEnum<{
667
- live: "live";
668
1031
  sandbox: "sandbox";
1032
+ live: "live";
669
1033
  }>;
670
1034
  }, z$1.core.$strict>;
671
1035
  operation: z$1.ZodObject<{
672
1036
  taskId: z$1.ZodUUID;
673
1037
  status: z$1.ZodEnum<{
674
- ready: "ready";
675
1038
  running: "running";
1039
+ ready: "ready";
676
1040
  done: "done";
677
1041
  dead: "dead";
678
1042
  }>;
@@ -682,8 +1046,8 @@ declare const apiOperations: {
682
1046
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
683
1047
  status: z$1.ZodEnum<{
684
1048
  void: "void";
685
- open: "open";
686
1049
  draft: "draft";
1050
+ open: "open";
687
1051
  paid: "paid";
688
1052
  uncollectible: "uncollectible";
689
1053
  }>;
@@ -734,15 +1098,15 @@ declare const apiOperations: {
734
1098
  scope: z$1.ZodObject<{
735
1099
  projectId: z$1.ZodString;
736
1100
  environment: z$1.ZodEnum<{
737
- live: "live";
738
1101
  sandbox: "sandbox";
1102
+ live: "live";
739
1103
  }>;
740
1104
  }, z$1.core.$strict>;
741
1105
  operation: z$1.ZodObject<{
742
1106
  taskId: z$1.ZodUUID;
743
1107
  status: z$1.ZodEnum<{
744
- ready: "ready";
745
1108
  running: "running";
1109
+ ready: "ready";
746
1110
  done: "done";
747
1111
  dead: "dead";
748
1112
  }>;
@@ -752,8 +1116,8 @@ declare const apiOperations: {
752
1116
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
753
1117
  status: z$1.ZodEnum<{
754
1118
  void: "void";
755
- open: "open";
756
1119
  draft: "draft";
1120
+ open: "open";
757
1121
  paid: "paid";
758
1122
  uncollectible: "uncollectible";
759
1123
  }>;
@@ -786,15 +1150,15 @@ declare const apiOperations: {
786
1150
  scope: z$1.ZodObject<{
787
1151
  projectId: z$1.ZodString;
788
1152
  environment: z$1.ZodEnum<{
789
- live: "live";
790
1153
  sandbox: "sandbox";
1154
+ live: "live";
791
1155
  }>;
792
1156
  }, z$1.core.$strict>;
793
1157
  operation: z$1.ZodObject<{
794
1158
  taskId: z$1.ZodUUID;
795
1159
  status: z$1.ZodEnum<{
796
- ready: "ready";
797
1160
  running: "running";
1161
+ ready: "ready";
798
1162
  done: "done";
799
1163
  dead: "dead";
800
1164
  }>;
@@ -804,8 +1168,8 @@ declare const apiOperations: {
804
1168
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
805
1169
  status: z$1.ZodEnum<{
806
1170
  void: "void";
807
- open: "open";
808
1171
  draft: "draft";
1172
+ open: "open";
809
1173
  paid: "paid";
810
1174
  uncollectible: "uncollectible";
811
1175
  }>;
@@ -838,8 +1202,8 @@ declare const apiOperations: {
838
1202
  scope: z$1.ZodObject<{
839
1203
  projectId: z$1.ZodString;
840
1204
  environment: z$1.ZodEnum<{
841
- live: "live";
842
1205
  sandbox: "sandbox";
1206
+ live: "live";
843
1207
  }>;
844
1208
  }, z$1.core.$strict>;
845
1209
  invoices: z$1.ZodObject<{
@@ -849,8 +1213,8 @@ declare const apiOperations: {
849
1213
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
850
1214
  status: z$1.ZodEnum<{
851
1215
  void: "void";
852
- open: "open";
853
1216
  draft: "draft";
1217
+ open: "open";
854
1218
  paid: "paid";
855
1219
  uncollectible: "uncollectible";
856
1220
  }>;
@@ -869,8 +1233,8 @@ declare const apiOperations: {
869
1233
  operations: z$1.ZodArray<z$1.ZodObject<{
870
1234
  taskId: z$1.ZodUUID;
871
1235
  status: z$1.ZodEnum<{
872
- ready: "ready";
873
1236
  running: "running";
1237
+ ready: "ready";
874
1238
  done: "done";
875
1239
  dead: "dead";
876
1240
  }>;
@@ -880,8 +1244,8 @@ declare const apiOperations: {
880
1244
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
881
1245
  status: z$1.ZodEnum<{
882
1246
  void: "void";
883
- open: "open";
884
1247
  draft: "draft";
1248
+ open: "open";
885
1249
  paid: "paid";
886
1250
  uncollectible: "uncollectible";
887
1251
  }>;
@@ -916,8 +1280,8 @@ declare const apiOperations: {
916
1280
  scope: z$1.ZodObject<{
917
1281
  projectId: z$1.ZodString;
918
1282
  environment: z$1.ZodEnum<{
919
- live: "live";
920
1283
  sandbox: "sandbox";
1284
+ live: "live";
921
1285
  }>;
922
1286
  }, z$1.core.$strict>;
923
1287
  invoice: z$1.ZodObject<{
@@ -926,8 +1290,8 @@ declare const apiOperations: {
926
1290
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
927
1291
  status: z$1.ZodEnum<{
928
1292
  void: "void";
929
- open: "open";
930
1293
  draft: "draft";
1294
+ open: "open";
931
1295
  paid: "paid";
932
1296
  uncollectible: "uncollectible";
933
1297
  }>;
@@ -967,20 +1331,20 @@ declare const apiOperations: {
967
1331
  scope: z$1.ZodObject<{
968
1332
  projectId: z$1.ZodString;
969
1333
  environment: z$1.ZodEnum<{
970
- live: "live";
971
1334
  sandbox: "sandbox";
1335
+ live: "live";
972
1336
  }>;
973
1337
  }, z$1.core.$strict>;
974
1338
  config: z$1.ZodObject<{
975
1339
  repository: z$1.ZodObject<{
976
1340
  id: z$1.ZodUUID;
977
- revision: z$1.ZodNumber;
978
- include: z$1.ZodArray<z$1.ZodString>;
979
1341
  platform: z$1.ZodEnum<{
980
1342
  github: "github";
981
1343
  gitlab: "gitlab";
982
1344
  bitbucket: "bitbucket";
983
1345
  }>;
1346
+ revision: z$1.ZodNumber;
1347
+ include: z$1.ZodArray<z$1.ZodString>;
984
1348
  repo: z$1.ZodString;
985
1349
  branches: z$1.ZodArray<z$1.ZodString>;
986
1350
  workflow: z$1.ZodString;
@@ -1032,8 +1396,8 @@ declare const apiOperations: {
1032
1396
  scope: z$1.ZodObject<{
1033
1397
  projectId: z$1.ZodString;
1034
1398
  environment: z$1.ZodEnum<{
1035
- live: "live";
1036
1399
  sandbox: "sandbox";
1400
+ live: "live";
1037
1401
  }>;
1038
1402
  }, z$1.core.$strict>;
1039
1403
  receipt: z$1.ZodObject<{
@@ -1056,16 +1420,16 @@ declare const apiOperations: {
1056
1420
  scope: z$1.ZodObject<{
1057
1421
  projectId: z$1.ZodString;
1058
1422
  environment: z$1.ZodEnum<{
1059
- live: "live";
1060
1423
  sandbox: "sandbox";
1424
+ live: "live";
1061
1425
  }>;
1062
1426
  }, z$1.core.$strict>;
1063
1427
  payload: z$1.ZodObject<{
1064
1428
  scope: z$1.ZodObject<{
1065
1429
  projectId: z$1.ZodString;
1066
1430
  environment: z$1.ZodEnum<{
1067
- live: "live";
1068
1431
  sandbox: "sandbox";
1432
+ live: "live";
1069
1433
  }>;
1070
1434
  }, z$1.core.$strict>;
1071
1435
  generation: z$1.ZodString;
@@ -1250,8 +1614,8 @@ declare const apiOperations: {
1250
1614
  scope: z$1.ZodObject<{
1251
1615
  projectId: z$1.ZodString;
1252
1616
  environment: z$1.ZodEnum<{
1253
- live: "live";
1254
1617
  sandbox: "sandbox";
1618
+ live: "live";
1255
1619
  }>;
1256
1620
  }, z$1.core.$strict>;
1257
1621
  generation: z$1.ZodString;
@@ -1309,8 +1673,8 @@ declare const apiOperations: {
1309
1673
  scope: z$1.ZodObject<{
1310
1674
  projectId: z$1.ZodString;
1311
1675
  environment: z$1.ZodEnum<{
1312
- live: "live";
1313
1676
  sandbox: "sandbox";
1677
+ live: "live";
1314
1678
  }>;
1315
1679
  }, z$1.core.$strict>;
1316
1680
  inserted: z$1.ZodNumber;
@@ -1338,8 +1702,8 @@ declare const apiOperations: {
1338
1702
  scope: z$1.ZodObject<{
1339
1703
  projectId: z$1.ZodString;
1340
1704
  environment: z$1.ZodEnum<{
1341
- live: "live";
1342
1705
  sandbox: "sandbox";
1706
+ live: "live";
1343
1707
  }>;
1344
1708
  }, z$1.core.$strict>;
1345
1709
  balance: z$1.ZodObject<{
@@ -1388,8 +1752,8 @@ declare const apiOperations: {
1388
1752
  scope: z$1.ZodObject<{
1389
1753
  projectId: z$1.ZodString;
1390
1754
  environment: z$1.ZodEnum<{
1391
- live: "live";
1392
1755
  sandbox: "sandbox";
1756
+ live: "live";
1393
1757
  }>;
1394
1758
  }, z$1.core.$strict>;
1395
1759
  balance: z$1.ZodObject<{
@@ -1416,8 +1780,8 @@ declare const apiOperations: {
1416
1780
  scope: z$1.ZodObject<{
1417
1781
  projectId: z$1.ZodString;
1418
1782
  environment: z$1.ZodEnum<{
1419
- live: "live";
1420
1783
  sandbox: "sandbox";
1784
+ live: "live";
1421
1785
  }>;
1422
1786
  }, z$1.core.$strict>;
1423
1787
  internal_feature_id: z$1.ZodUUID;
@@ -1514,8 +1878,8 @@ declare const apiOperations: {
1514
1878
  scope: z$1.ZodObject<{
1515
1879
  projectId: z$1.ZodString;
1516
1880
  environment: z$1.ZodEnum<{
1517
- live: "live";
1518
1881
  sandbox: "sandbox";
1882
+ live: "live";
1519
1883
  }>;
1520
1884
  }, z$1.core.$strict>;
1521
1885
  usage: z$1.ZodObject<{
@@ -1554,8 +1918,8 @@ declare const apiOperations: {
1554
1918
  scope: z$1.ZodObject<{
1555
1919
  projectId: z$1.ZodString;
1556
1920
  environment: z$1.ZodEnum<{
1557
- live: "live";
1558
1921
  sandbox: "sandbox";
1922
+ live: "live";
1559
1923
  }>;
1560
1924
  }, z$1.core.$strict>;
1561
1925
  usage: z$1.ZodObject<{
@@ -1590,11 +1954,11 @@ declare const apiOperations: {
1590
1954
  week: "week";
1591
1955
  month: "month";
1592
1956
  year: "year";
1593
- day: "day";
1594
- hour: "hour";
1595
- minute: "minute";
1596
1957
  quarter: "quarter";
1597
1958
  semi_annual: "semi_annual";
1959
+ minute: "minute";
1960
+ hour: "hour";
1961
+ day: "day";
1598
1962
  }>;
1599
1963
  count: z$1.ZodNumber;
1600
1964
  }, z$1.core.$strict>>;
@@ -1639,8 +2003,8 @@ declare const apiOperations: {
1639
2003
  scope: z$1.ZodObject<{
1640
2004
  projectId: z$1.ZodString;
1641
2005
  environment: z$1.ZodEnum<{
1642
- live: "live";
1643
2006
  sandbox: "sandbox";
2007
+ live: "live";
1644
2008
  }>;
1645
2009
  }, z$1.core.$strict>;
1646
2010
  grant: z$1.ZodObject<{
@@ -1653,11 +2017,11 @@ declare const apiOperations: {
1653
2017
  week: "week";
1654
2018
  month: "month";
1655
2019
  year: "year";
1656
- day: "day";
1657
- hour: "hour";
1658
- minute: "minute";
1659
2020
  quarter: "quarter";
1660
2021
  semi_annual: "semi_annual";
2022
+ minute: "minute";
2023
+ hour: "hour";
2024
+ day: "day";
1661
2025
  }>;
1662
2026
  count: z$1.ZodNumber;
1663
2027
  }, z$1.core.$strict>>;
@@ -1692,8 +2056,8 @@ declare const apiOperations: {
1692
2056
  scope: z$1.ZodObject<{
1693
2057
  projectId: z$1.ZodString;
1694
2058
  environment: z$1.ZodEnum<{
1695
- live: "live";
1696
2059
  sandbox: "sandbox";
2060
+ live: "live";
1697
2061
  }>;
1698
2062
  }, z$1.core.$strict>;
1699
2063
  grants: z$1.ZodObject<{
@@ -1707,11 +2071,11 @@ declare const apiOperations: {
1707
2071
  week: "week";
1708
2072
  month: "month";
1709
2073
  year: "year";
1710
- day: "day";
1711
- hour: "hour";
1712
- minute: "minute";
1713
2074
  quarter: "quarter";
1714
2075
  semi_annual: "semi_annual";
2076
+ minute: "minute";
2077
+ hour: "hour";
2078
+ day: "day";
1715
2079
  }>;
1716
2080
  count: z$1.ZodNumber;
1717
2081
  }, z$1.core.$strict>>;
@@ -1766,8 +2130,8 @@ declare const apiOperations: {
1766
2130
  scope: z$1.ZodObject<{
1767
2131
  projectId: z$1.ZodString;
1768
2132
  environment: z$1.ZodEnum<{
1769
- live: "live";
1770
2133
  sandbox: "sandbox";
2134
+ live: "live";
1771
2135
  }>;
1772
2136
  }, z$1.core.$strict>;
1773
2137
  operation: z$1.ZodObject<{
@@ -1875,8 +2239,8 @@ declare const apiOperations: {
1875
2239
  scope: z$1.ZodObject<{
1876
2240
  projectId: z$1.ZodString;
1877
2241
  environment: z$1.ZodEnum<{
1878
- live: "live";
1879
2242
  sandbox: "sandbox";
2243
+ live: "live";
1880
2244
  }>;
1881
2245
  }, z$1.core.$strict>;
1882
2246
  setup: z$1.ZodObject<{
@@ -1961,8 +2325,8 @@ declare const apiOperations: {
1961
2325
  scope: z$1.ZodObject<{
1962
2326
  projectId: z$1.ZodString;
1963
2327
  environment: z$1.ZodEnum<{
1964
- live: "live";
1965
2328
  sandbox: "sandbox";
2329
+ live: "live";
1966
2330
  }>;
1967
2331
  }, z$1.core.$strict>;
1968
2332
  setup: z$1.ZodObject<{
@@ -2058,16 +2422,16 @@ declare const apiOperations: {
2058
2422
  scope: z$1.ZodObject<{
2059
2423
  projectId: z$1.ZodString;
2060
2424
  environment: z$1.ZodEnum<{
2061
- live: "live";
2062
2425
  sandbox: "sandbox";
2426
+ live: "live";
2063
2427
  }>;
2064
2428
  }, z$1.core.$strict>;
2065
2429
  batch: z$1.ZodObject<{
2066
2430
  batchId: z$1.ZodUUID;
2067
2431
  ready: z$1.ZodBoolean;
2068
2432
  status: z$1.ZodEnum<{
2069
- expired: "expired";
2070
2433
  pending: "pending";
2434
+ expired: "expired";
2071
2435
  prepared: "prepared";
2072
2436
  effective: "effective";
2073
2437
  cancelled: "cancelled";
@@ -2171,9 +2535,9 @@ declare const apiOperations: {
2171
2535
  accountId: z$1.ZodString;
2172
2536
  subscriptionId: z$1.ZodString;
2173
2537
  action: z$1.ZodEnum<{
2538
+ update: "update";
2174
2539
  cancel: "cancel";
2175
2540
  release: "release";
2176
- update: "update";
2177
2541
  schedule: "schedule";
2178
2542
  }>;
2179
2543
  update: z$1.ZodNullable<z$1.ZodObject<{
@@ -2259,16 +2623,16 @@ declare const apiOperations: {
2259
2623
  scope: z$1.ZodObject<{
2260
2624
  projectId: z$1.ZodString;
2261
2625
  environment: z$1.ZodEnum<{
2262
- live: "live";
2263
2626
  sandbox: "sandbox";
2627
+ live: "live";
2264
2628
  }>;
2265
2629
  }, z$1.core.$strict>;
2266
2630
  batch: z$1.ZodObject<{
2267
2631
  batchId: z$1.ZodUUID;
2268
2632
  ready: z$1.ZodBoolean;
2269
2633
  status: z$1.ZodEnum<{
2270
- expired: "expired";
2271
2634
  pending: "pending";
2635
+ expired: "expired";
2272
2636
  prepared: "prepared";
2273
2637
  effective: "effective";
2274
2638
  cancelled: "cancelled";
@@ -2372,9 +2736,9 @@ declare const apiOperations: {
2372
2736
  accountId: z$1.ZodString;
2373
2737
  subscriptionId: z$1.ZodString;
2374
2738
  action: z$1.ZodEnum<{
2739
+ update: "update";
2375
2740
  cancel: "cancel";
2376
2741
  release: "release";
2377
- update: "update";
2378
2742
  schedule: "schedule";
2379
2743
  }>;
2380
2744
  update: z$1.ZodNullable<z$1.ZodObject<{
@@ -2460,16 +2824,16 @@ declare const apiOperations: {
2460
2824
  scope: z$1.ZodObject<{
2461
2825
  projectId: z$1.ZodString;
2462
2826
  environment: z$1.ZodEnum<{
2463
- live: "live";
2464
2827
  sandbox: "sandbox";
2828
+ live: "live";
2465
2829
  }>;
2466
2830
  }, z$1.core.$strict>;
2467
2831
  batch: z$1.ZodObject<{
2468
2832
  batchId: z$1.ZodUUID;
2469
2833
  ready: z$1.ZodBoolean;
2470
2834
  status: z$1.ZodEnum<{
2471
- expired: "expired";
2472
2835
  pending: "pending";
2836
+ expired: "expired";
2473
2837
  prepared: "prepared";
2474
2838
  effective: "effective";
2475
2839
  cancelled: "cancelled";
@@ -2573,9 +2937,9 @@ declare const apiOperations: {
2573
2937
  accountId: z$1.ZodString;
2574
2938
  subscriptionId: z$1.ZodString;
2575
2939
  action: z$1.ZodEnum<{
2940
+ update: "update";
2576
2941
  cancel: "cancel";
2577
2942
  release: "release";
2578
- update: "update";
2579
2943
  schedule: "schedule";
2580
2944
  }>;
2581
2945
  update: z$1.ZodNullable<z$1.ZodObject<{
@@ -2661,16 +3025,16 @@ declare const apiOperations: {
2661
3025
  scope: z$1.ZodObject<{
2662
3026
  projectId: z$1.ZodString;
2663
3027
  environment: z$1.ZodEnum<{
2664
- live: "live";
2665
3028
  sandbox: "sandbox";
3029
+ live: "live";
2666
3030
  }>;
2667
3031
  }, z$1.core.$strict>;
2668
3032
  batch: z$1.ZodObject<{
2669
3033
  batchId: z$1.ZodUUID;
2670
3034
  ready: z$1.ZodBoolean;
2671
3035
  status: z$1.ZodEnum<{
2672
- expired: "expired";
2673
3036
  pending: "pending";
3037
+ expired: "expired";
2674
3038
  prepared: "prepared";
2675
3039
  effective: "effective";
2676
3040
  cancelled: "cancelled";
@@ -2774,9 +3138,9 @@ declare const apiOperations: {
2774
3138
  accountId: z$1.ZodString;
2775
3139
  subscriptionId: z$1.ZodString;
2776
3140
  action: z$1.ZodEnum<{
3141
+ update: "update";
2777
3142
  cancel: "cancel";
2778
3143
  release: "release";
2779
- update: "update";
2780
3144
  schedule: "schedule";
2781
3145
  }>;
2782
3146
  update: z$1.ZodNullable<z$1.ZodObject<{
@@ -2880,8 +3244,8 @@ declare const apiOperations: {
2880
3244
  scope: z$1.ZodObject<{
2881
3245
  projectId: z$1.ZodString;
2882
3246
  environment: z$1.ZodEnum<{
2883
- live: "live";
2884
3247
  sandbox: "sandbox";
3248
+ live: "live";
2885
3249
  }>;
2886
3250
  }, z$1.core.$strict>;
2887
3251
  trial: z$1.ZodObject<{
@@ -2929,8 +3293,8 @@ declare const apiOperations: {
2929
3293
  scope: z$1.ZodObject<{
2930
3294
  projectId: z$1.ZodString;
2931
3295
  environment: z$1.ZodEnum<{
2932
- live: "live";
2933
3296
  sandbox: "sandbox";
3297
+ live: "live";
2934
3298
  }>;
2935
3299
  }, z$1.core.$strict>;
2936
3300
  trial: z$1.ZodObject<{
@@ -2980,10 +3344,10 @@ declare const apiOperations: {
2980
3344
  stripe: "stripe";
2981
3345
  }>>;
2982
3346
  status: z$1.ZodOptional<z$1.ZodEnum<{
2983
- ended: "ended";
2984
- trial: "trial";
2985
3347
  active: "active";
3348
+ trial: "trial";
2986
3349
  past_due: "past_due";
3350
+ ended: "ended";
2987
3351
  refunded: "refunded";
2988
3352
  }>>;
2989
3353
  cursor: z$1.ZodOptional<z$1.ZodObject<{
@@ -2997,17 +3361,17 @@ declare const apiOperations: {
2997
3361
  scope: z$1.ZodObject<{
2998
3362
  projectId: z$1.ZodString;
2999
3363
  environment: z$1.ZodEnum<{
3000
- live: "live";
3001
3364
  sandbox: "sandbox";
3365
+ live: "live";
3002
3366
  }>;
3003
3367
  }, z$1.core.$strict>;
3004
3368
  subscriptions: z$1.ZodObject<{
3005
3369
  items: z$1.ZodArray<z$1.ZodObject<{
3006
3370
  status: z$1.ZodEnum<{
3007
- ended: "ended";
3008
- trial: "trial";
3009
3371
  active: "active";
3372
+ trial: "trial";
3010
3373
  past_due: "past_due";
3374
+ ended: "ended";
3011
3375
  }>;
3012
3376
  cancelAtPeriodEnd: z$1.ZodBoolean;
3013
3377
  billingSubscriptionId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -3048,10 +3412,10 @@ declare const apiOperations: {
3048
3412
  stripe: "stripe";
3049
3413
  }>>;
3050
3414
  status: z$1.ZodOptional<z$1.ZodEnum<{
3051
- ended: "ended";
3052
- trial: "trial";
3053
3415
  active: "active";
3416
+ trial: "trial";
3054
3417
  past_due: "past_due";
3418
+ ended: "ended";
3055
3419
  refunded: "refunded";
3056
3420
  }>>;
3057
3421
  cursor: z$1.ZodOptional<z$1.ZodObject<{
@@ -3065,15 +3429,15 @@ declare const apiOperations: {
3065
3429
  scope: z$1.ZodObject<{
3066
3430
  projectId: z$1.ZodString;
3067
3431
  environment: z$1.ZodEnum<{
3068
- live: "live";
3069
3432
  sandbox: "sandbox";
3433
+ live: "live";
3070
3434
  }>;
3071
3435
  }, z$1.core.$strict>;
3072
3436
  purchases: z$1.ZodObject<{
3073
3437
  items: z$1.ZodArray<z$1.ZodObject<{
3074
3438
  status: z$1.ZodEnum<{
3075
- ended: "ended";
3076
3439
  active: "active";
3440
+ ended: "ended";
3077
3441
  refunded: "refunded";
3078
3442
  }>;
3079
3443
  orderId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -3165,8 +3529,8 @@ declare const apiOperations: {
3165
3529
  scope: z$1.ZodObject<{
3166
3530
  projectId: z$1.ZodString;
3167
3531
  environment: z$1.ZodEnum<{
3168
- live: "live";
3169
3532
  sandbox: "sandbox";
3533
+ live: "live";
3170
3534
  }>;
3171
3535
  }, z$1.core.$strict>;
3172
3536
  conflicts: z$1.ZodObject<{
@@ -3216,8 +3580,8 @@ declare const apiOperations: {
3216
3580
  scope: z$1.ZodObject<{
3217
3581
  projectId: z$1.ZodString;
3218
3582
  environment: z$1.ZodEnum<{
3219
- live: "live";
3220
3583
  sandbox: "sandbox";
3584
+ live: "live";
3221
3585
  }>;
3222
3586
  }, z$1.core.$strict>;
3223
3587
  resolution: z$1.ZodObject<{
@@ -3242,8 +3606,8 @@ declare const apiOperations: {
3242
3606
  scope: z$1.ZodObject<{
3243
3607
  projectId: z$1.ZodString;
3244
3608
  environment: z$1.ZodEnum<{
3245
- live: "live";
3246
3609
  sandbox: "sandbox";
3610
+ live: "live";
3247
3611
  }>;
3248
3612
  }, z$1.core.$strict>;
3249
3613
  verification: z$1.ZodObject<{
@@ -3263,10 +3627,10 @@ declare const apiOperations: {
3263
3627
  quantity: "quantity";
3264
3628
  currency: "currency";
3265
3629
  price: "price";
3266
- product: "product";
3267
3630
  status: "status";
3268
3631
  subscription: "subscription";
3269
3632
  cancelAtPeriodEnd: "cancelAtPeriodEnd";
3633
+ product: "product";
3270
3634
  periodStart: "periodStart";
3271
3635
  periodEnd: "periodEnd";
3272
3636
  trialEnd: "trialEnd";
@@ -3356,8 +3720,8 @@ declare const apiOperations: {
3356
3720
  scope: z$1.ZodObject<{
3357
3721
  projectId: z$1.ZodString;
3358
3722
  environment: z$1.ZodEnum<{
3359
- live: "live";
3360
3723
  sandbox: "sandbox";
3724
+ live: "live";
3361
3725
  }>;
3362
3726
  }, z$1.core.$strict>;
3363
3727
  quote: z$1.ZodObject<{
@@ -3681,8 +4045,8 @@ declare const apiOperations: {
3681
4045
  operationId: z$1.ZodUUID;
3682
4046
  customerId: z$1.ZodOptional<z$1.ZodUUID>;
3683
4047
  intent: z$1.ZodOptional<z$1.ZodEnum<{
3684
- confirm: "confirm";
3685
4048
  cancel: "cancel";
4049
+ confirm: "confirm";
3686
4050
  }>>;
3687
4051
  }, z$1.core.$strict>;
3688
4052
  readonly response: z$1.ZodObject<{
@@ -3690,8 +4054,8 @@ declare const apiOperations: {
3690
4054
  scope: z$1.ZodObject<{
3691
4055
  projectId: z$1.ZodString;
3692
4056
  environment: z$1.ZodEnum<{
3693
- live: "live";
3694
4057
  sandbox: "sandbox";
4058
+ live: "live";
3695
4059
  }>;
3696
4060
  }, z$1.core.$strict>;
3697
4061
  operation: z$1.ZodObject<{
@@ -3934,8 +4298,8 @@ declare const apiOperations: {
3934
4298
  scope: z$1.ZodObject<{
3935
4299
  projectId: z$1.ZodString;
3936
4300
  environment: z$1.ZodEnum<{
3937
- live: "live";
3938
4301
  sandbox: "sandbox";
4302
+ live: "live";
3939
4303
  }>;
3940
4304
  }, z$1.core.$strict>;
3941
4305
  operation: z$1.ZodObject<{
@@ -4183,8 +4547,8 @@ declare const apiOperations: {
4183
4547
  }, z$1.core.$strict>>;
4184
4548
  membershipIds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodUUID>>;
4185
4549
  prorationBehavior: z$1.ZodOptional<z$1.ZodEnum<{
4186
- none: "none";
4187
4550
  prorate_immediately: "prorate_immediately";
4551
+ none: "none";
4188
4552
  bill_difference: "bill_difference";
4189
4553
  }>>;
4190
4554
  timing: z$1.ZodEnum<{
@@ -4218,8 +4582,8 @@ declare const apiOperations: {
4218
4582
  scope: z$1.ZodObject<{
4219
4583
  projectId: z$1.ZodString;
4220
4584
  environment: z$1.ZodEnum<{
4221
- live: "live";
4222
4585
  sandbox: "sandbox";
4586
+ live: "live";
4223
4587
  }>;
4224
4588
  }, z$1.core.$strict>;
4225
4589
  quote: z$1.ZodUnion<readonly [z$1.ZodObject<{
@@ -4291,9 +4655,9 @@ declare const apiOperations: {
4291
4655
  accountId: z$1.ZodString;
4292
4656
  subscriptionId: z$1.ZodString;
4293
4657
  action: z$1.ZodEnum<{
4658
+ update: "update";
4294
4659
  cancel: "cancel";
4295
4660
  release: "release";
4296
- update: "update";
4297
4661
  schedule: "schedule";
4298
4662
  }>;
4299
4663
  update: z$1.ZodNullable<z$1.ZodObject<{
@@ -4426,8 +4790,8 @@ declare const apiOperations: {
4426
4790
  operationId: z$1.ZodUUID;
4427
4791
  customerId: z$1.ZodOptional<z$1.ZodUUID>;
4428
4792
  intent: z$1.ZodOptional<z$1.ZodEnum<{
4429
- confirm: "confirm";
4430
4793
  cancel: "cancel";
4794
+ confirm: "confirm";
4431
4795
  }>>;
4432
4796
  }, z$1.core.$strict>;
4433
4797
  readonly response: z$1.ZodObject<{
@@ -4435,8 +4799,8 @@ declare const apiOperations: {
4435
4799
  scope: z$1.ZodObject<{
4436
4800
  projectId: z$1.ZodString;
4437
4801
  environment: z$1.ZodEnum<{
4438
- live: "live";
4439
4802
  sandbox: "sandbox";
4803
+ live: "live";
4440
4804
  }>;
4441
4805
  }, z$1.core.$strict>;
4442
4806
  operation: z$1.ZodUnion<readonly [z$1.ZodObject<{
@@ -4474,9 +4838,9 @@ declare const apiOperations: {
4474
4838
  accountId: z$1.ZodString;
4475
4839
  subscriptionId: z$1.ZodString;
4476
4840
  action: z$1.ZodEnum<{
4841
+ update: "update";
4477
4842
  cancel: "cancel";
4478
4843
  release: "release";
4479
- update: "update";
4480
4844
  schedule: "schedule";
4481
4845
  }>;
4482
4846
  update: z$1.ZodNullable<z$1.ZodObject<{
@@ -4652,8 +5016,8 @@ declare const apiOperations: {
4652
5016
  scope: z$1.ZodObject<{
4653
5017
  projectId: z$1.ZodString;
4654
5018
  environment: z$1.ZodEnum<{
4655
- live: "live";
4656
5019
  sandbox: "sandbox";
5020
+ live: "live";
4657
5021
  }>;
4658
5022
  }, z$1.core.$strict>;
4659
5023
  operation: z$1.ZodUnion<readonly [z$1.ZodObject<{
@@ -4691,9 +5055,9 @@ declare const apiOperations: {
4691
5055
  accountId: z$1.ZodString;
4692
5056
  subscriptionId: z$1.ZodString;
4693
5057
  action: z$1.ZodEnum<{
5058
+ update: "update";
4694
5059
  cancel: "cancel";
4695
5060
  release: "release";
4696
- update: "update";
4697
5061
  schedule: "schedule";
4698
5062
  }>;
4699
5063
  update: z$1.ZodNullable<z$1.ZodObject<{
@@ -4879,8 +5243,8 @@ declare const apiOperations: {
4879
5243
  scope: z$1.ZodObject<{
4880
5244
  projectId: z$1.ZodString;
4881
5245
  environment: z$1.ZodEnum<{
4882
- live: "live";
4883
5246
  sandbox: "sandbox";
5247
+ live: "live";
4884
5248
  }>;
4885
5249
  }, z$1.core.$strict>;
4886
5250
  quote: z$1.ZodObject<{
@@ -4972,8 +5336,8 @@ declare const apiOperations: {
4972
5336
  scope: z$1.ZodObject<{
4973
5337
  projectId: z$1.ZodString;
4974
5338
  environment: z$1.ZodEnum<{
4975
- live: "live";
4976
5339
  sandbox: "sandbox";
5340
+ live: "live";
4977
5341
  }>;
4978
5342
  }, z$1.core.$strict>;
4979
5343
  operation: z$1.ZodObject<{
@@ -4981,8 +5345,8 @@ declare const apiOperations: {
4981
5345
  invoiceId: z$1.ZodUUID;
4982
5346
  providerInvoiceId: z$1.ZodString;
4983
5347
  status: z$1.ZodEnum<{
4984
- expired: "expired";
4985
5348
  pending: "pending";
5349
+ expired: "expired";
4986
5350
  failed: "failed";
4987
5351
  quoted: "quoted";
4988
5352
  succeeded: "succeeded";
@@ -5072,8 +5436,8 @@ declare const apiOperations: {
5072
5436
  scope: z$1.ZodObject<{
5073
5437
  projectId: z$1.ZodString;
5074
5438
  environment: z$1.ZodEnum<{
5075
- live: "live";
5076
5439
  sandbox: "sandbox";
5440
+ live: "live";
5077
5441
  }>;
5078
5442
  }, z$1.core.$strict>;
5079
5443
  operation: z$1.ZodObject<{
@@ -5081,8 +5445,8 @@ declare const apiOperations: {
5081
5445
  invoiceId: z$1.ZodUUID;
5082
5446
  providerInvoiceId: z$1.ZodString;
5083
5447
  status: z$1.ZodEnum<{
5084
- expired: "expired";
5085
5448
  pending: "pending";
5449
+ expired: "expired";
5086
5450
  failed: "failed";
5087
5451
  quoted: "quoted";
5088
5452
  succeeded: "succeeded";
@@ -5172,8 +5536,8 @@ declare const apiOperations: {
5172
5536
  scope: z$1.ZodObject<{
5173
5537
  projectId: z$1.ZodString;
5174
5538
  environment: z$1.ZodEnum<{
5175
- live: "live";
5176
5539
  sandbox: "sandbox";
5540
+ live: "live";
5177
5541
  }>;
5178
5542
  }, z$1.core.$strict>;
5179
5543
  controls: z$1.ZodObject<{
@@ -5187,8 +5551,8 @@ declare const apiOperations: {
5187
5551
  interval: z$1.ZodEnum<{
5188
5552
  week: "week";
5189
5553
  month: "month";
5190
- day: "day";
5191
5554
  hour: "hour";
5555
+ day: "day";
5192
5556
  }>;
5193
5557
  intervalCount: z$1.ZodNumber;
5194
5558
  limit: z$1.ZodNumber;
@@ -5428,9 +5792,9 @@ declare const apiOperations: {
5428
5792
  autoTopups: z$1.ZodArray<z$1.ZodObject<{
5429
5793
  authorizationId: z$1.ZodUUID;
5430
5794
  status: z$1.ZodEnum<{
5431
- idle: "idle";
5432
5795
  pending: "pending";
5433
5796
  blocked: "blocked";
5797
+ idle: "idle";
5434
5798
  }>;
5435
5799
  taskId: z$1.ZodNullable<z$1.ZodUUID>;
5436
5800
  invoiceId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -5460,8 +5824,8 @@ declare const apiOperations: {
5460
5824
  interval: z$1.ZodEnum<{
5461
5825
  week: "week";
5462
5826
  month: "month";
5463
- day: "day";
5464
5827
  hour: "hour";
5828
+ day: "day";
5465
5829
  }>;
5466
5830
  intervalCount: z$1.ZodNumber;
5467
5831
  limit: z$1.ZodNumber;
@@ -5552,8 +5916,8 @@ declare const apiOperations: {
5552
5916
  scope: z$1.ZodObject<{
5553
5917
  projectId: z$1.ZodString;
5554
5918
  environment: z$1.ZodEnum<{
5555
- live: "live";
5556
5919
  sandbox: "sandbox";
5920
+ live: "live";
5557
5921
  }>;
5558
5922
  }, z$1.core.$strict>;
5559
5923
  prepared: z$1.ZodObject<{
@@ -5566,8 +5930,8 @@ declare const apiOperations: {
5566
5930
  interval: z$1.ZodEnum<{
5567
5931
  week: "week";
5568
5932
  month: "month";
5569
- day: "day";
5570
5933
  hour: "hour";
5934
+ day: "day";
5571
5935
  }>;
5572
5936
  intervalCount: z$1.ZodNumber;
5573
5937
  limit: z$1.ZodNumber;
@@ -5735,8 +6099,8 @@ declare const apiOperations: {
5735
6099
  scope: z$1.ZodObject<{
5736
6100
  projectId: z$1.ZodString;
5737
6101
  environment: z$1.ZodEnum<{
5738
- live: "live";
5739
6102
  sandbox: "sandbox";
6103
+ live: "live";
5740
6104
  }>;
5741
6105
  }, z$1.core.$strict>;
5742
6106
  authorization: z$1.ZodObject<{
@@ -5749,8 +6113,8 @@ declare const apiOperations: {
5749
6113
  interval: z$1.ZodEnum<{
5750
6114
  week: "week";
5751
6115
  month: "month";
5752
- day: "day";
5753
6116
  hour: "hour";
6117
+ day: "day";
5754
6118
  }>;
5755
6119
  intervalCount: z$1.ZodNumber;
5756
6120
  limit: z$1.ZodNumber;
@@ -5928,8 +6292,8 @@ declare const apiOperations: {
5928
6292
  scope: z$1.ZodObject<{
5929
6293
  projectId: z$1.ZodString;
5930
6294
  environment: z$1.ZodEnum<{
5931
- live: "live";
5932
6295
  sandbox: "sandbox";
6296
+ live: "live";
5933
6297
  }>;
5934
6298
  }, z$1.core.$strict>;
5935
6299
  coupons: z$1.ZodObject<{
@@ -6056,8 +6420,8 @@ declare const apiOperations: {
6056
6420
  scope: z$1.ZodObject<{
6057
6421
  projectId: z$1.ZodString;
6058
6422
  environment: z$1.ZodEnum<{
6059
- live: "live";
6060
6423
  sandbox: "sandbox";
6424
+ live: "live";
6061
6425
  }>;
6062
6426
  }, z$1.core.$strict>;
6063
6427
  authorization: z$1.ZodObject<{
@@ -6070,8 +6434,8 @@ declare const apiOperations: {
6070
6434
  interval: z$1.ZodEnum<{
6071
6435
  week: "week";
6072
6436
  month: "month";
6073
- day: "day";
6074
6437
  hour: "hour";
6438
+ day: "day";
6075
6439
  }>;
6076
6440
  intervalCount: z$1.ZodNumber;
6077
6441
  limit: z$1.ZodNumber;
@@ -6248,24 +6612,24 @@ declare const apiOperations: {
6248
6612
  scope: z$1.ZodObject<{
6249
6613
  projectId: z$1.ZodString;
6250
6614
  environment: z$1.ZodEnum<{
6251
- live: "live";
6252
6615
  sandbox: "sandbox";
6616
+ live: "live";
6253
6617
  }>;
6254
6618
  }, z$1.core.$strict>;
6255
6619
  invoices: z$1.ZodObject<{
6256
6620
  rows: z$1.ZodArray<z$1.ZodObject<{
6257
6621
  id: z$1.ZodUUID;
6258
6622
  sourceKind: z$1.ZodEnum<{
6259
- product: "product";
6260
6623
  usage: "usage";
6624
+ product: "product";
6261
6625
  manual: "manual";
6262
6626
  }>;
6263
6627
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
6264
6628
  status: z$1.ZodEnum<{
6265
6629
  void: "void";
6266
- open: "open";
6267
6630
  pending: "pending";
6268
6631
  failed: "failed";
6632
+ open: "open";
6269
6633
  accruing: "accruing";
6270
6634
  paid: "paid";
6271
6635
  }>;
@@ -6411,23 +6775,23 @@ declare const apiOperations: {
6411
6775
  scope: z$1.ZodObject<{
6412
6776
  projectId: z$1.ZodString;
6413
6777
  environment: z$1.ZodEnum<{
6414
- live: "live";
6415
6778
  sandbox: "sandbox";
6779
+ live: "live";
6416
6780
  }>;
6417
6781
  }, z$1.core.$strict>;
6418
6782
  invoice: z$1.ZodObject<{
6419
6783
  id: z$1.ZodUUID;
6420
6784
  sourceKind: z$1.ZodEnum<{
6421
- product: "product";
6422
6785
  usage: "usage";
6786
+ product: "product";
6423
6787
  manual: "manual";
6424
6788
  }>;
6425
6789
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
6426
6790
  status: z$1.ZodEnum<{
6427
6791
  void: "void";
6428
- open: "open";
6429
6792
  pending: "pending";
6430
6793
  failed: "failed";
6794
+ open: "open";
6431
6795
  accruing: "accruing";
6432
6796
  paid: "paid";
6433
6797
  }>;
@@ -6611,8 +6975,8 @@ declare const apiOperations: {
6611
6975
  scope: z$1.ZodObject<{
6612
6976
  projectId: z$1.ZodString;
6613
6977
  environment: z$1.ZodEnum<{
6614
- live: "live";
6615
6978
  sandbox: "sandbox";
6979
+ live: "live";
6616
6980
  }>;
6617
6981
  }, z$1.core.$strict>;
6618
6982
  controls: z$1.ZodObject<{
@@ -6626,8 +6990,8 @@ declare const apiOperations: {
6626
6990
  interval: z$1.ZodEnum<{
6627
6991
  week: "week";
6628
6992
  month: "month";
6629
- day: "day";
6630
6993
  hour: "hour";
6994
+ day: "day";
6631
6995
  }>;
6632
6996
  intervalCount: z$1.ZodNumber;
6633
6997
  limit: z$1.ZodNumber;
@@ -6867,9 +7231,9 @@ declare const apiOperations: {
6867
7231
  autoTopups: z$1.ZodArray<z$1.ZodObject<{
6868
7232
  authorizationId: z$1.ZodUUID;
6869
7233
  status: z$1.ZodEnum<{
6870
- idle: "idle";
6871
7234
  pending: "pending";
6872
7235
  blocked: "blocked";
7236
+ idle: "idle";
6873
7237
  }>;
6874
7238
  taskId: z$1.ZodNullable<z$1.ZodUUID>;
6875
7239
  invoiceId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -6907,8 +7271,8 @@ declare const apiOperations: {
6907
7271
  scope: z$1.ZodObject<{
6908
7272
  projectId: z$1.ZodString;
6909
7273
  environment: z$1.ZodEnum<{
6910
- live: "live";
6911
7274
  sandbox: "sandbox";
7275
+ live: "live";
6912
7276
  }>;
6913
7277
  }, z$1.core.$strict>;
6914
7278
  entity: z$1.ZodObject<{
@@ -6959,8 +7323,8 @@ declare const apiOperations: {
6959
7323
  interval: z$1.ZodEnum<{
6960
7324
  week: "week";
6961
7325
  month: "month";
6962
- day: "day";
6963
7326
  hour: "hour";
7327
+ day: "day";
6964
7328
  }>;
6965
7329
  internal_feature_id: z$1.ZodNullable<z$1.ZodUUID>;
6966
7330
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -6973,8 +7337,8 @@ declare const apiOperations: {
6973
7337
  scope: z$1.ZodObject<{
6974
7338
  projectId: z$1.ZodString;
6975
7339
  environment: z$1.ZodEnum<{
6976
- live: "live";
6977
7340
  sandbox: "sandbox";
7341
+ live: "live";
6978
7342
  }>;
6979
7343
  }, z$1.core.$strict>;
6980
7344
  analytics: z$1.ZodObject<{
@@ -6983,8 +7347,8 @@ declare const apiOperations: {
6983
7347
  interval: z$1.ZodEnum<{
6984
7348
  week: "week";
6985
7349
  month: "month";
6986
- day: "day";
6987
7350
  hour: "hour";
7351
+ day: "day";
6988
7352
  }>;
6989
7353
  timezone: z$1.ZodString;
6990
7354
  rows: z$1.ZodArray<z$1.ZodObject<{
@@ -7047,18 +7411,18 @@ declare const apiOperations: {
7047
7411
  interval: z$1.ZodEnum<{
7048
7412
  week: "week";
7049
7413
  month: "month";
7050
- day: "day";
7051
7414
  hour: "hour";
7415
+ day: "day";
7052
7416
  }>;
7053
7417
  internal_feature_id: z$1.ZodNullable<z$1.ZodUUID>;
7054
7418
  entityId: z$1.ZodNullable<z$1.ZodUUID>;
7055
7419
  topN: z$1.ZodNullable<z$1.ZodNumber>;
7056
7420
  groupBy: z$1.ZodUnion<readonly [z$1.ZodEnum<{
7057
7421
  source: "source";
7058
- plan: "plan";
7059
7422
  customer: "customer";
7060
7423
  entity: "entity";
7061
7424
  dimension: "dimension";
7425
+ plan: "plan";
7062
7426
  entitlement: "entitlement";
7063
7427
  resource: "resource";
7064
7428
  }>, z$1.ZodString]>;
@@ -7077,8 +7441,8 @@ declare const apiOperations: {
7077
7441
  scope: z$1.ZodObject<{
7078
7442
  projectId: z$1.ZodString;
7079
7443
  environment: z$1.ZodEnum<{
7080
- live: "live";
7081
7444
  sandbox: "sandbox";
7445
+ live: "live";
7082
7446
  }>;
7083
7447
  }, z$1.core.$strict>;
7084
7448
  analytics: z$1.ZodObject<{
@@ -7087,8 +7451,8 @@ declare const apiOperations: {
7087
7451
  interval: z$1.ZodEnum<{
7088
7452
  week: "week";
7089
7453
  month: "month";
7090
- day: "day";
7091
7454
  hour: "hour";
7455
+ day: "day";
7092
7456
  }>;
7093
7457
  timezone: z$1.ZodString;
7094
7458
  rows: z$1.ZodArray<z$1.ZodObject<{
@@ -7147,8 +7511,8 @@ declare const apiOperations: {
7147
7511
  scope: z$1.ZodObject<{
7148
7512
  projectId: z$1.ZodString;
7149
7513
  environment: z$1.ZodEnum<{
7150
- live: "live";
7151
7514
  sandbox: "sandbox";
7515
+ live: "live";
7152
7516
  }>;
7153
7517
  }, z$1.core.$strict>;
7154
7518
  batchId: z$1.ZodUUID;
@@ -7169,15 +7533,15 @@ declare const apiOperations: {
7169
7533
  scope: z$1.ZodObject<{
7170
7534
  projectId: z$1.ZodString;
7171
7535
  environment: z$1.ZodEnum<{
7172
- live: "live";
7173
7536
  sandbox: "sandbox";
7537
+ live: "live";
7174
7538
  }>;
7175
7539
  }, z$1.core.$strict>;
7176
7540
  batch: z$1.ZodObject<{
7177
7541
  batchId: z$1.ZodUUID;
7178
7542
  status: z$1.ZodEnum<{
7179
- complete: "complete";
7180
7543
  queued: "queued";
7544
+ complete: "complete";
7181
7545
  }>;
7182
7546
  total: z$1.ZodNumber;
7183
7547
  processed: z$1.ZodNumber;
@@ -7188,16 +7552,16 @@ declare const apiOperations: {
7188
7552
  status: z$1.ZodEnum<{
7189
7553
  failed: "failed";
7190
7554
  accepted: "accepted";
7191
- rejected: "rejected";
7192
7555
  queued: "queued";
7556
+ rejected: "rejected";
7193
7557
  }>;
7194
7558
  receipt: z$1.ZodNullable<z$1.ZodObject<{
7195
7559
  id: z$1.ZodUUID;
7196
7560
  internal_feature_id: z$1.ZodUUID;
7197
7561
  kind: z$1.ZodEnum<{
7198
- confirm: "confirm";
7199
7562
  consume: "consume";
7200
7563
  reserve: "reserve";
7564
+ confirm: "confirm";
7201
7565
  refund: "refund";
7202
7566
  release: "release";
7203
7567
  expire: "expire";
@@ -7222,8 +7586,8 @@ declare const apiOperations: {
7222
7586
  }>>;
7223
7587
  createdAt: z$1.ZodISODateTime;
7224
7588
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
7225
- expired: "expired";
7226
7589
  pending: "pending";
7590
+ expired: "expired";
7227
7591
  confirmed: "confirmed";
7228
7592
  released: "released";
7229
7593
  }>>;
@@ -7335,8 +7699,8 @@ declare const apiOperations: {
7335
7699
  scope: z$1.ZodObject<{
7336
7700
  projectId: z$1.ZodString;
7337
7701
  environment: z$1.ZodEnum<{
7338
- live: "live";
7339
7702
  sandbox: "sandbox";
7703
+ live: "live";
7340
7704
  }>;
7341
7705
  }, z$1.core.$strict>;
7342
7706
  check: z$1.ZodObject<{
@@ -7451,8 +7815,8 @@ declare const apiOperations: {
7451
7815
  scope: z$1.ZodObject<{
7452
7816
  projectId: z$1.ZodString;
7453
7817
  environment: z$1.ZodEnum<{
7454
- live: "live";
7455
7818
  sandbox: "sandbox";
7819
+ live: "live";
7456
7820
  }>;
7457
7821
  }, z$1.core.$strict>;
7458
7822
  content: z$1.ZodObject<{
@@ -7511,10 +7875,10 @@ declare const apiOperations: {
7511
7875
  background: z$1.ZodString;
7512
7876
  text: z$1.ZodString;
7513
7877
  radius: z$1.ZodEnum<{
7878
+ none: "none";
7514
7879
  sm: "sm";
7515
7880
  md: "md";
7516
7881
  lg: "lg";
7517
- none: "none";
7518
7882
  full: "full";
7519
7883
  }>;
7520
7884
  font: z$1.ZodEnum<{
@@ -7533,10 +7897,10 @@ declare const apiOperations: {
7533
7897
  background: z$1.ZodString;
7534
7898
  text: z$1.ZodString;
7535
7899
  radius: z$1.ZodEnum<{
7900
+ none: "none";
7536
7901
  sm: "sm";
7537
7902
  md: "md";
7538
7903
  lg: "lg";
7539
- none: "none";
7540
7904
  full: "full";
7541
7905
  }>;
7542
7906
  font: z$1.ZodEnum<{
@@ -7691,8 +8055,8 @@ declare const apiOperations: {
7691
8055
  scope: z$1.ZodObject<{
7692
8056
  projectId: z$1.ZodString;
7693
8057
  environment: z$1.ZodEnum<{
7694
- live: "live";
7695
8058
  sandbox: "sandbox";
8059
+ live: "live";
7696
8060
  }>;
7697
8061
  }, z$1.core.$strict>;
7698
8062
  paywall: z$1.ZodObject<{
@@ -7782,6 +8146,8 @@ declare const apiOperations: {
7782
8146
  }, z$1.core.$strict>>;
7783
8147
  }, z$1.core.$strict>>;
7784
8148
  id: z$1.ZodUUID;
8149
+ version: z$1.ZodNumber;
8150
+ paywallId: z$1.ZodUUID;
7785
8151
  capabilities: z$1.ZodObject<{
7786
8152
  paywall: z$1.ZodOptional<z$1.ZodObject<{
7787
8153
  internal_feature_id: z$1.ZodString;
@@ -8033,8 +8399,6 @@ declare const apiOperations: {
8033
8399
  message: z$1.ZodString;
8034
8400
  }, z$1.core.$strict>>;
8035
8401
  }, z$1.core.$strict>;
8036
- version: z$1.ZodNumber;
8037
- paywallId: z$1.ZodUUID;
8038
8402
  content: z$1.ZodObject<{
8039
8403
  environmentId: z$1.ZodUUID;
8040
8404
  offeringVersionId: z$1.ZodUUID;
@@ -8132,8 +8496,8 @@ declare const apiOperations: {
8132
8496
  scope: z$1.ZodObject<{
8133
8497
  projectId: z$1.ZodString;
8134
8498
  environment: z$1.ZodEnum<{
8135
- live: "live";
8136
8499
  sandbox: "sandbox";
8500
+ live: "live";
8137
8501
  }>;
8138
8502
  }, z$1.core.$strict>;
8139
8503
  offering: z$1.ZodObject<{
@@ -8320,8 +8684,8 @@ declare const apiOperations: {
8320
8684
  scope: z$1.ZodObject<{
8321
8685
  projectId: z$1.ZodString;
8322
8686
  environment: z$1.ZodEnum<{
8323
- live: "live";
8324
8687
  sandbox: "sandbox";
8688
+ live: "live";
8325
8689
  }>;
8326
8690
  }, z$1.core.$strict>;
8327
8691
  holdings: z$1.ZodObject<{
@@ -8342,14 +8706,14 @@ declare const apiOperations: {
8342
8706
  }>;
8343
8707
  status: z$1.ZodEnum<{
8344
8708
  unknown: "unknown";
8345
- ended: "ended";
8346
- trial: "trial";
8347
- expired: "expired";
8348
- pending: "pending";
8349
8709
  active: "active";
8710
+ pending: "pending";
8711
+ expired: "expired";
8350
8712
  scheduled: "scheduled";
8713
+ trial: "trial";
8351
8714
  past_due: "past_due";
8352
8715
  paused: "paused";
8716
+ ended: "ended";
8353
8717
  trialing: "trialing";
8354
8718
  }>;
8355
8719
  cancelAtPeriodEnd: z$1.ZodBoolean;
@@ -8477,8 +8841,8 @@ declare const apiOperations: {
8477
8841
  scope: z$1.ZodObject<{
8478
8842
  projectId: z$1.ZodString;
8479
8843
  environment: z$1.ZodEnum<{
8480
- live: "live";
8481
8844
  sandbox: "sandbox";
8845
+ live: "live";
8482
8846
  }>;
8483
8847
  }, z$1.core.$strict>;
8484
8848
  ledger: z$1.ZodObject<{
@@ -8530,8 +8894,8 @@ declare const apiOperations: {
8530
8894
  type: z$1.ZodLiteral<"source">;
8531
8895
  reason: z$1.ZodEnum<{
8532
8896
  topup: "topup";
8533
- membership: "membership";
8534
8897
  trial: "trial";
8898
+ membership: "membership";
8535
8899
  manual: "manual";
8536
8900
  rollover: "rollover";
8537
8901
  seat: "seat";
@@ -8541,8 +8905,8 @@ declare const apiOperations: {
8541
8905
  unlimited: z$1.ZodBoolean;
8542
8906
  status: z$1.ZodEnum<{
8543
8907
  unavailable: "unavailable";
8544
- expired: "expired";
8545
8908
  active: "active";
8909
+ expired: "expired";
8546
8910
  scheduled: "scheduled";
8547
8911
  revoked: "revoked";
8548
8912
  }>;
@@ -8565,9 +8929,9 @@ declare const apiOperations: {
8565
8929
  internal_feature_id: z$1.ZodUUID;
8566
8930
  name: z$1.ZodString;
8567
8931
  kind: z$1.ZodEnum<{
8568
- confirm: "confirm";
8569
8932
  consume: "consume";
8570
8933
  reserve: "reserve";
8934
+ confirm: "confirm";
8571
8935
  refund: "refund";
8572
8936
  release: "release";
8573
8937
  expire: "expire";
@@ -8590,8 +8954,8 @@ declare const apiOperations: {
8590
8954
  [k: string]: string;
8591
8955
  }, Record<string, string | number | boolean>>>;
8592
8956
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
8593
- expired: "expired";
8594
8957
  pending: "pending";
8958
+ expired: "expired";
8595
8959
  confirmed: "confirmed";
8596
8960
  released: "released";
8597
8961
  }>>;
@@ -8776,24 +9140,24 @@ declare const apiOperations: {
8776
9140
  scope: z$1.ZodObject<{
8777
9141
  projectId: z$1.ZodString;
8778
9142
  environment: z$1.ZodEnum<{
8779
- live: "live";
8780
9143
  sandbox: "sandbox";
9144
+ live: "live";
8781
9145
  }>;
8782
9146
  }, z$1.core.$strict>;
8783
9147
  detail: z$1.ZodObject<{
8784
9148
  invoice: z$1.ZodObject<{
8785
9149
  id: z$1.ZodUUID;
8786
9150
  sourceKind: z$1.ZodEnum<{
8787
- product: "product";
8788
9151
  usage: "usage";
9152
+ product: "product";
8789
9153
  manual: "manual";
8790
9154
  }>;
8791
9155
  providerInvoiceId: z$1.ZodNullable<z$1.ZodString>;
8792
9156
  status: z$1.ZodEnum<{
8793
9157
  void: "void";
8794
- open: "open";
8795
9158
  pending: "pending";
8796
9159
  failed: "failed";
9160
+ open: "open";
8797
9161
  accruing: "accruing";
8798
9162
  paid: "paid";
8799
9163
  }>;
@@ -9117,8 +9481,8 @@ declare const apiOperations: {
9117
9481
  scope: z$1.ZodObject<{
9118
9482
  projectId: z$1.ZodString;
9119
9483
  environment: z$1.ZodEnum<{
9120
- live: "live";
9121
9484
  sandbox: "sandbox";
9485
+ live: "live";
9122
9486
  }>;
9123
9487
  }, z$1.core.$strict>;
9124
9488
  statement: z$1.ZodObject<{
@@ -9138,8 +9502,8 @@ declare const apiOperations: {
9138
9502
  operationId: z$1.ZodUUID;
9139
9503
  position: z$1.ZodNumber;
9140
9504
  kind: z$1.ZodEnum<{
9141
- confirm: "confirm";
9142
9505
  consume: "consume";
9506
+ confirm: "confirm";
9143
9507
  refund: "refund";
9144
9508
  }>;
9145
9509
  originalId: z$1.ZodNullable<z$1.ZodUUID>;
@@ -9200,8 +9564,8 @@ declare const apiOperations: {
9200
9564
  scope: z$1.ZodObject<{
9201
9565
  projectId: z$1.ZodString;
9202
9566
  environment: z$1.ZodEnum<{
9203
- live: "live";
9204
9567
  sandbox: "sandbox";
9568
+ live: "live";
9205
9569
  }>;
9206
9570
  }, z$1.core.$strict>;
9207
9571
  quote: z$1.ZodObject<{
@@ -9286,17 +9650,17 @@ declare const apiOperations: {
9286
9650
  scope: z$1.ZodObject<{
9287
9651
  projectId: z$1.ZodString;
9288
9652
  environment: z$1.ZodEnum<{
9289
- live: "live";
9290
9653
  sandbox: "sandbox";
9654
+ live: "live";
9291
9655
  }>;
9292
9656
  }, z$1.core.$strict>;
9293
9657
  receipts: z$1.ZodArray<z$1.ZodObject<{
9294
9658
  id: z$1.ZodUUID;
9295
9659
  internal_feature_id: z$1.ZodUUID;
9296
9660
  kind: z$1.ZodEnum<{
9297
- confirm: "confirm";
9298
9661
  consume: "consume";
9299
9662
  reserve: "reserve";
9663
+ confirm: "confirm";
9300
9664
  refund: "refund";
9301
9665
  release: "release";
9302
9666
  expire: "expire";
@@ -9321,8 +9685,8 @@ declare const apiOperations: {
9321
9685
  }>>;
9322
9686
  createdAt: z$1.ZodISODateTime;
9323
9687
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
9324
- expired: "expired";
9325
9688
  pending: "pending";
9689
+ expired: "expired";
9326
9690
  confirmed: "confirmed";
9327
9691
  released: "released";
9328
9692
  }>>;
@@ -9587,17 +9951,17 @@ declare const apiOperations: {
9587
9951
  scope: z$1.ZodObject<{
9588
9952
  projectId: z$1.ZodString;
9589
9953
  environment: z$1.ZodEnum<{
9590
- live: "live";
9591
9954
  sandbox: "sandbox";
9955
+ live: "live";
9592
9956
  }>;
9593
9957
  }, z$1.core.$strict>;
9594
9958
  receipt: z$1.ZodObject<{
9595
9959
  id: z$1.ZodUUID;
9596
9960
  internal_feature_id: z$1.ZodUUID;
9597
9961
  kind: z$1.ZodEnum<{
9598
- confirm: "confirm";
9599
9962
  consume: "consume";
9600
9963
  reserve: "reserve";
9964
+ confirm: "confirm";
9601
9965
  refund: "refund";
9602
9966
  release: "release";
9603
9967
  expire: "expire";
@@ -9622,8 +9986,8 @@ declare const apiOperations: {
9622
9986
  }>>;
9623
9987
  createdAt: z$1.ZodISODateTime;
9624
9988
  reservationStatus: z$1.ZodNullable<z$1.ZodEnum<{
9625
- expired: "expired";
9626
9989
  pending: "pending";
9990
+ expired: "expired";
9627
9991
  confirmed: "confirmed";
9628
9992
  released: "released";
9629
9993
  }>>;
@@ -9676,8 +10040,8 @@ declare const apiOperations: {
9676
10040
  scope: z$1.ZodObject<{
9677
10041
  projectId: z$1.ZodString;
9678
10042
  environment: z$1.ZodEnum<{
9679
- live: "live";
9680
10043
  sandbox: "sandbox";
10044
+ live: "live";
9681
10045
  }>;
9682
10046
  }, z$1.core.$strict>;
9683
10047
  redemption: z$1.ZodObject<{
@@ -9710,8 +10074,8 @@ declare const apiOperations: {
9710
10074
  scope: z$1.ZodObject<{
9711
10075
  projectId: z$1.ZodString;
9712
10076
  environment: z$1.ZodEnum<{
9713
- live: "live";
9714
10077
  sandbox: "sandbox";
10078
+ live: "live";
9715
10079
  }>;
9716
10080
  }, z$1.core.$strict>;
9717
10081
  referralCode: z$1.ZodObject<{
@@ -9772,8 +10136,8 @@ declare const apiOperations: {
9772
10136
  scope: z$1.ZodObject<{
9773
10137
  projectId: z$1.ZodString;
9774
10138
  environment: z$1.ZodEnum<{
9775
- live: "live";
9776
10139
  sandbox: "sandbox";
10140
+ live: "live";
9777
10141
  }>;
9778
10142
  }, z$1.core.$strict>;
9779
10143
  checkout: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -9904,8 +10268,8 @@ declare const apiOperations: {
9904
10268
  scope: z$1.ZodObject<{
9905
10269
  projectId: z$1.ZodString;
9906
10270
  environment: z$1.ZodEnum<{
9907
- live: "live";
9908
10271
  sandbox: "sandbox";
10272
+ live: "live";
9909
10273
  }>;
9910
10274
  }, z$1.core.$strict>;
9911
10275
  seats: z$1.ZodObject<{
@@ -10003,8 +10367,8 @@ declare const apiOperations: {
10003
10367
  scope: z$1.ZodObject<{
10004
10368
  projectId: z$1.ZodString;
10005
10369
  environment: z$1.ZodEnum<{
10006
- live: "live";
10007
10370
  sandbox: "sandbox";
10371
+ live: "live";
10008
10372
  }>;
10009
10373
  }, z$1.core.$strict>;
10010
10374
  seats: z$1.ZodObject<{
@@ -10082,6 +10446,7 @@ declare const apiOperations: {
10082
10446
  externalUserId: z$1.ZodOptional<z$1.ZodString>;
10083
10447
  name: z$1.ZodDefault<z$1.ZodString>;
10084
10448
  email: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodEmail, z$1.ZodLiteral<"">]>>;
10449
+ phone: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
10085
10450
  attributes: z$1.ZodDefault<z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>, z$1.ZodObject<{
10086
10451
  tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
10087
10452
  }, z$1.core.$loose>>>;
@@ -10092,8 +10457,8 @@ declare const apiOperations: {
10092
10457
  scope: z$1.ZodObject<{
10093
10458
  projectId: z$1.ZodString;
10094
10459
  environment: z$1.ZodEnum<{
10095
- live: "live";
10096
10460
  sandbox: "sandbox";
10461
+ live: "live";
10097
10462
  }>;
10098
10463
  }, z$1.core.$strict>;
10099
10464
  customer: z$1.ZodObject<{
@@ -10101,6 +10466,7 @@ declare const apiOperations: {
10101
10466
  externalUserId: z$1.ZodNullable<z$1.ZodString>;
10102
10467
  name: z$1.ZodString;
10103
10468
  email: z$1.ZodUnion<readonly [z$1.ZodEmail, z$1.ZodLiteral<"">]>;
10469
+ phone: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
10104
10470
  attributes: z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>, z$1.ZodObject<{
10105
10471
  tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
10106
10472
  }, z$1.core.$loose>>;
@@ -10128,8 +10494,8 @@ declare const apiOperations: {
10128
10494
  scope: z$1.ZodObject<{
10129
10495
  projectId: z$1.ZodString;
10130
10496
  environment: z$1.ZodEnum<{
10131
- live: "live";
10132
10497
  sandbox: "sandbox";
10498
+ live: "live";
10133
10499
  }>;
10134
10500
  }, z$1.core.$strict>;
10135
10501
  customer: z$1.ZodObject<{
@@ -10137,6 +10503,7 @@ declare const apiOperations: {
10137
10503
  externalUserId: z$1.ZodNullable<z$1.ZodString>;
10138
10504
  name: z$1.ZodString;
10139
10505
  email: z$1.ZodUnion<readonly [z$1.ZodEmail, z$1.ZodLiteral<"">]>;
10506
+ phone: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
10140
10507
  attributes: z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>, z$1.ZodObject<{
10141
10508
  tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
10142
10509
  }, z$1.core.$loose>>;
@@ -10157,17 +10524,17 @@ declare const apiOperations: {
10157
10524
  holdingStatus: z$1.ZodDefault<z$1.ZodEnum<{
10158
10525
  "": "";
10159
10526
  unavailable: "unavailable";
10160
- none: "none";
10161
- expired: "expired";
10162
10527
  active: "active";
10528
+ expired: "expired";
10163
10529
  scheduled: "scheduled";
10530
+ none: "none";
10164
10531
  }>>;
10165
10532
  membershipStatus: z$1.ZodDefault<z$1.ZodEnum<{
10166
10533
  "": "";
10167
- ended: "ended";
10168
- trial: "trial";
10169
10534
  active: "active";
10535
+ trial: "trial";
10170
10536
  past_due: "past_due";
10537
+ ended: "ended";
10171
10538
  }>>;
10172
10539
  createdFrom: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodISODateTime, z$1.ZodLiteral<"">]>>;
10173
10540
  createdUntil: z$1.ZodDefault<z$1.ZodUnion<readonly [z$1.ZodISODateTime, z$1.ZodLiteral<"">]>>;
@@ -10179,8 +10546,8 @@ declare const apiOperations: {
10179
10546
  scope: z$1.ZodObject<{
10180
10547
  projectId: z$1.ZodString;
10181
10548
  environment: z$1.ZodEnum<{
10182
- live: "live";
10183
10549
  sandbox: "sandbox";
10550
+ live: "live";
10184
10551
  }>;
10185
10552
  }, z$1.core.$strict>;
10186
10553
  customers: z$1.ZodArray<z$1.ZodObject<{
@@ -10188,6 +10555,7 @@ declare const apiOperations: {
10188
10555
  externalUserId: z$1.ZodNullable<z$1.ZodString>;
10189
10556
  name: z$1.ZodString;
10190
10557
  email: z$1.ZodUnion<readonly [z$1.ZodEmail, z$1.ZodLiteral<"">]>;
10558
+ phone: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
10191
10559
  attributes: z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>, z$1.ZodObject<{
10192
10560
  tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
10193
10561
  }, z$1.core.$loose>>;
@@ -10215,6 +10583,7 @@ declare const apiOperations: {
10215
10583
  patch: z$1.ZodObject<{
10216
10584
  name: z$1.ZodOptional<z$1.ZodString>;
10217
10585
  email: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEmail, z$1.ZodLiteral<"">]>>;
10586
+ phone: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
10218
10587
  attributes: z$1.ZodOptional<z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>, z$1.ZodObject<{
10219
10588
  tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
10220
10589
  }, z$1.core.$loose>>>;
@@ -10230,8 +10599,8 @@ declare const apiOperations: {
10230
10599
  scope: z$1.ZodObject<{
10231
10600
  projectId: z$1.ZodString;
10232
10601
  environment: z$1.ZodEnum<{
10233
- live: "live";
10234
10602
  sandbox: "sandbox";
10603
+ live: "live";
10235
10604
  }>;
10236
10605
  }, z$1.core.$strict>;
10237
10606
  customer: z$1.ZodObject<{
@@ -10239,6 +10608,7 @@ declare const apiOperations: {
10239
10608
  externalUserId: z$1.ZodNullable<z$1.ZodString>;
10240
10609
  name: z$1.ZodString;
10241
10610
  email: z$1.ZodUnion<readonly [z$1.ZodEmail, z$1.ZodLiteral<"">]>;
10611
+ phone: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
10242
10612
  attributes: z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>, z$1.ZodObject<{
10243
10613
  tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
10244
10614
  }, z$1.core.$loose>>;
@@ -10261,8 +10631,8 @@ declare const apiOperations: {
10261
10631
  scope: z$1.ZodObject<{
10262
10632
  projectId: z$1.ZodString;
10263
10633
  environment: z$1.ZodEnum<{
10264
- live: "live";
10265
10634
  sandbox: "sandbox";
10635
+ live: "live";
10266
10636
  }>;
10267
10637
  }, z$1.core.$strict>;
10268
10638
  customerToken: z$1.ZodString;
@@ -10284,8 +10654,8 @@ declare const apiOperations: {
10284
10654
  scope: z$1.ZodObject<{
10285
10655
  projectId: z$1.ZodString;
10286
10656
  environment: z$1.ZodEnum<{
10287
- live: "live";
10288
10657
  sandbox: "sandbox";
10658
+ live: "live";
10289
10659
  }>;
10290
10660
  }, z$1.core.$strict>;
10291
10661
  customerToken: z$1.ZodString;
@@ -10307,8 +10677,8 @@ declare const apiOperations: {
10307
10677
  scope: z$1.ZodObject<{
10308
10678
  projectId: z$1.ZodString;
10309
10679
  environment: z$1.ZodEnum<{
10310
- live: "live";
10311
10680
  sandbox: "sandbox";
10681
+ live: "live";
10312
10682
  }>;
10313
10683
  }, z$1.core.$strict>;
10314
10684
  revoked: z$1.ZodNumber;
@@ -10328,8 +10698,8 @@ declare const apiOperations: {
10328
10698
  scope: z$1.ZodObject<{
10329
10699
  projectId: z$1.ZodString;
10330
10700
  environment: z$1.ZodEnum<{
10331
- live: "live";
10332
10701
  sandbox: "sandbox";
10702
+ live: "live";
10333
10703
  }>;
10334
10704
  }, z$1.core.$strict>;
10335
10705
  customerId: z$1.ZodUUID;
@@ -10350,8 +10720,8 @@ declare const apiOperations: {
10350
10720
  scope: z$1.ZodObject<{
10351
10721
  projectId: z$1.ZodString;
10352
10722
  environment: z$1.ZodEnum<{
10353
- live: "live";
10354
10723
  sandbox: "sandbox";
10724
+ live: "live";
10355
10725
  }>;
10356
10726
  }, z$1.core.$strict>;
10357
10727
  customerId: z$1.ZodUUID;
@@ -10375,8 +10745,8 @@ declare const apiOperations: {
10375
10745
  scope: z$1.ZodObject<{
10376
10746
  projectId: z$1.ZodString;
10377
10747
  environment: z$1.ZodEnum<{
10378
- live: "live";
10379
10748
  sandbox: "sandbox";
10749
+ live: "live";
10380
10750
  }>;
10381
10751
  }, z$1.core.$strict>;
10382
10752
  customer: z$1.ZodObject<{
@@ -10384,6 +10754,7 @@ declare const apiOperations: {
10384
10754
  externalUserId: z$1.ZodNullable<z$1.ZodString>;
10385
10755
  name: z$1.ZodString;
10386
10756
  email: z$1.ZodUnion<readonly [z$1.ZodEmail, z$1.ZodLiteral<"">]>;
10757
+ phone: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
10387
10758
  attributes: z$1.ZodIntersection<z$1.ZodRecord<z$1.ZodString, z$1.ZodJSONSchema>, z$1.ZodObject<{
10388
10759
  tags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
10389
10760
  }, z$1.core.$loose>>;
@@ -10407,17 +10778,17 @@ declare const apiOperations: {
10407
10778
  scope: z$1.ZodObject<{
10408
10779
  projectId: z$1.ZodString;
10409
10780
  environment: z$1.ZodEnum<{
10410
- live: "live";
10411
10781
  sandbox: "sandbox";
10782
+ live: "live";
10412
10783
  }>;
10413
10784
  }, z$1.core.$strict>;
10414
10785
  offer: z$1.ZodNullable<z$1.ZodObject<{
10415
10786
  id: z$1.ZodUUID;
10416
10787
  couponId: z$1.ZodUUID;
10417
10788
  status: z$1.ZodEnum<{
10418
- reserved: "reserved";
10419
10789
  expired: "expired";
10420
10790
  issued: "issued";
10791
+ reserved: "reserved";
10421
10792
  redeemed: "redeemed";
10422
10793
  revoked: "revoked";
10423
10794
  }>;
@@ -10507,17 +10878,17 @@ declare const apiOperations: {
10507
10878
  scope: z$1.ZodObject<{
10508
10879
  projectId: z$1.ZodString;
10509
10880
  environment: z$1.ZodEnum<{
10510
- live: "live";
10511
10881
  sandbox: "sandbox";
10882
+ live: "live";
10512
10883
  }>;
10513
10884
  }, z$1.core.$strict>;
10514
10885
  offers: z$1.ZodArray<z$1.ZodObject<{
10515
10886
  id: z$1.ZodUUID;
10516
10887
  couponId: z$1.ZodUUID;
10517
10888
  status: z$1.ZodEnum<{
10518
- reserved: "reserved";
10519
10889
  expired: "expired";
10520
10890
  issued: "issued";
10891
+ reserved: "reserved";
10521
10892
  redeemed: "redeemed";
10522
10893
  revoked: "revoked";
10523
10894
  }>;
@@ -10605,17 +10976,17 @@ declare const apiOperations: {
10605
10976
  scope: z$1.ZodObject<{
10606
10977
  projectId: z$1.ZodString;
10607
10978
  environment: z$1.ZodEnum<{
10608
- live: "live";
10609
10979
  sandbox: "sandbox";
10980
+ live: "live";
10610
10981
  }>;
10611
10982
  }, z$1.core.$strict>;
10612
10983
  offer: z$1.ZodNullable<z$1.ZodObject<{
10613
10984
  id: z$1.ZodUUID;
10614
10985
  couponId: z$1.ZodUUID;
10615
10986
  status: z$1.ZodEnum<{
10616
- reserved: "reserved";
10617
10987
  expired: "expired";
10618
10988
  issued: "issued";
10989
+ reserved: "reserved";
10619
10990
  redeemed: "redeemed";
10620
10991
  revoked: "revoked";
10621
10992
  }>;
@@ -10712,8 +11083,8 @@ declare const apiOperations: {
10712
11083
  scope: z$1.ZodObject<{
10713
11084
  projectId: z$1.ZodString;
10714
11085
  environment: z$1.ZodEnum<{
10715
- live: "live";
10716
11086
  sandbox: "sandbox";
11087
+ live: "live";
10717
11088
  }>;
10718
11089
  }, z$1.core.$strict>;
10719
11090
  receipt: z$1.ZodObject<{
@@ -10736,6 +11107,8 @@ type ApiOperation = keyof typeof apiOperations;
10736
11107
  type ApiInput<K extends ApiOperation> = z$1.input<(typeof apiOperations)[K]["request"]>;
10737
11108
  type ApiOutput<K extends ApiOperation> = z$1.output<(typeof apiOperations)[K]["response"]>;
10738
11109
  interface FoundationApi {
11110
+ sendMessage(input: ApiInput<"sendMessage">): Promise<ApiOutput<"sendMessage">>;
11111
+ readMessage(input: ApiInput<"readMessage">): Promise<ApiOutput<"readMessage">>;
10739
11112
  listInvoiceTemplates(input?: ApiInput<"listInvoiceTemplates">): Promise<ApiOutput<"listInvoiceTemplates">>;
10740
11113
  previewInvoice(input: ApiInput<"previewInvoice">): Promise<ApiOutput<"previewInvoice">>;
10741
11114
  createInvoice(input: ApiInput<"createInvoice">): Promise<ApiOutput<"createInvoice">>;
@@ -10867,246 +11240,4 @@ interface FoundationApi {
10867
11240
  recordCouponRedemption(input: ApiInput<"recordCouponRedemption">): Promise<ApiOutput<"recordCouponRedemption">>;
10868
11241
  }
10869
11242
 
10870
- declare const tokenCounts: z$1.ZodObject<{
10871
- output: z$1.ZodNumber;
10872
- input: z$1.ZodNumber;
10873
- cache_read: z$1.ZodNumber;
10874
- cache_write: z$1.ZodNumber;
10875
- reasoning: z$1.ZodNumber;
10876
- input_audio: z$1.ZodNumber;
10877
- output_audio: z$1.ZodNumber;
10878
- }, z$1.core.$strict>;
10879
- declare const aiPriceSnapshotSchema: z$1.ZodObject<{
10880
- modelId: z$1.ZodString;
10881
- source: z$1.ZodEnum<{
10882
- custom: "custom";
10883
- "models.dev": "models.dev";
10884
- }>;
10885
- fetchedAt: z$1.ZodISODateTime;
10886
- rates: z$1.ZodObject<{
10887
- input: z$1.ZodString;
10888
- output: z$1.ZodString;
10889
- cache_read: z$1.ZodOptional<z$1.ZodString>;
10890
- cache_write: z$1.ZodOptional<z$1.ZodString>;
10891
- reasoning: z$1.ZodOptional<z$1.ZodString>;
10892
- input_audio: z$1.ZodOptional<z$1.ZodString>;
10893
- output_audio: z$1.ZodOptional<z$1.ZodString>;
10894
- }, z$1.core.$strict>;
10895
- contextTier: z$1.ZodNumber;
10896
- markupPercent: z$1.ZodNumber;
10897
- }, z$1.core.$strict>;
10898
- declare const aiTokenQuoteSchema: z$1.ZodObject<{
10899
- pricing: z$1.ZodObject<{
10900
- modelId: z$1.ZodString;
10901
- source: z$1.ZodEnum<{
10902
- custom: "custom";
10903
- "models.dev": "models.dev";
10904
- }>;
10905
- fetchedAt: z$1.ZodISODateTime;
10906
- rates: z$1.ZodObject<{
10907
- input: z$1.ZodString;
10908
- output: z$1.ZodString;
10909
- cache_read: z$1.ZodOptional<z$1.ZodString>;
10910
- cache_write: z$1.ZodOptional<z$1.ZodString>;
10911
- reasoning: z$1.ZodOptional<z$1.ZodString>;
10912
- input_audio: z$1.ZodOptional<z$1.ZodString>;
10913
- output_audio: z$1.ZodOptional<z$1.ZodString>;
10914
- }, z$1.core.$strict>;
10915
- contextTier: z$1.ZodNumber;
10916
- markupPercent: z$1.ZodNumber;
10917
- }, z$1.core.$strict>;
10918
- tokens: z$1.ZodObject<{
10919
- output: z$1.ZodNumber;
10920
- input: z$1.ZodNumber;
10921
- cache_read: z$1.ZodNumber;
10922
- cache_write: z$1.ZodNumber;
10923
- reasoning: z$1.ZodNumber;
10924
- input_audio: z$1.ZodNumber;
10925
- output_audio: z$1.ZodNumber;
10926
- }, z$1.core.$strict>;
10927
- quantity: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
10928
- digest: z$1.ZodString;
10929
- }, z$1.core.$strict>;
10930
- type AiTokenQuote = z$1.infer<typeof aiTokenQuoteSchema>;
10931
- type AiTokenUsage = z$1.infer<typeof tokenCounts>;
10932
- type AiPricingOptions = {
10933
- defaultMarkup?: number;
10934
- providerMarkups?: Record<string, number>;
10935
- modelMarkups?: Record<string, number>;
10936
- customModels?: Record<string, Partial<z$1.infer<typeof aiPriceSnapshotSchema>["rates"]>>;
10937
- fetch?: typeof fetch;
10938
- };
10939
- /** Fetch automatic model prices on a trusted backend. Quotes can be saved with a job and reused verbatim on retries. */
10940
- declare function createAiPricing(options?: AiPricingOptions): {
10941
- /** Explicit refresh affects future quotes only, including their immutable timestamps and digest. */
10942
- refreshPrices(): void;
10943
- quoteTokens(input: {
10944
- modelId: string;
10945
- tokens: AiTokenUsage;
10946
- }): Promise<AiTokenQuote>;
10947
- /** All pools become one atomic balance operation. The metered entitlement unit must be one micro USD. */
10948
- trackTokens(client: Pick<FoundationApi, "mutateBalance">, input: {
10949
- customerId: string;
10950
- internal_feature_id: string;
10951
- entityId?: string;
10952
- idempotencyKey: string;
10953
- quote: AiTokenQuote;
10954
- properties?: Record<string, string>;
10955
- providerCostUsd?: string;
10956
- generationId?: string;
10957
- }): Promise<{
10958
- requestId: string;
10959
- scope: {
10960
- projectId: string;
10961
- environment: "live" | "sandbox";
10962
- };
10963
- receipt: {
10964
- id: string;
10965
- internal_feature_id: string;
10966
- kind: "confirm" | "consume" | "reserve" | "refund" | "release" | "expire";
10967
- originalId: string | null;
10968
- quantity: string;
10969
- accepted: boolean;
10970
- reason: "insufficient_balance" | "limit_exceeded" | "awaiting_topup" | "authorization_required" | "payment_blocked" | "cash_budget_exceeded" | "unavailable" | "expired" | null;
10971
- createdAt: string;
10972
- reservationStatus: "expired" | "pending" | "confirmed" | "released" | null;
10973
- expiresAt: string | null;
10974
- allocations: ({
10975
- funding: "prepaid";
10976
- sourceId: string;
10977
- units: string;
10978
- amount: string;
10979
- pricing: {
10980
- internal_credit_feature_id: string | null;
10981
- internal_metered_feature_id: string;
10982
- dimension: string;
10983
- counterKey: string;
10984
- cycleStart: string;
10985
- unitCost: string;
10986
- units: string;
10987
- amount: string;
10988
- tier: number | null;
10989
- }[];
10990
- } | {
10991
- funding: "balance";
10992
- sourceId: string;
10993
- rolloverId: string | null;
10994
- units: string;
10995
- amount: string;
10996
- } | {
10997
- funding: "unbilled";
10998
- units: string;
10999
- } | {
11000
- funding: "postpaid";
11001
- invoiceLineId: string | null;
11002
- units: string;
11003
- authorizationId: string;
11004
- })[];
11005
- requestedQuantity?: string | undefined;
11006
- overageBehavior?: "cap" | "overflow" | undefined;
11007
- };
11008
- }>;
11009
- };
11010
- /** Read one published configuration for new provider calls. Saved quotes keep their original rules. */
11011
- declare function createConfiguredAiPricing(client: Pick<FoundationApi, "readAiPricing">, input: ApiInput<"readAiPricing">, options?: Pick<AiPricingOptions, "fetch">): Promise<{
11012
- /** Explicit refresh affects future quotes only, including their immutable timestamps and digest. */
11013
- refreshPrices(): void;
11014
- quoteTokens(input: {
11015
- modelId: string;
11016
- tokens: AiTokenUsage;
11017
- }): Promise<AiTokenQuote>;
11018
- /** All pools become one atomic balance operation. The metered entitlement unit must be one micro USD. */
11019
- trackTokens(client: Pick<FoundationApi, "mutateBalance">, input: {
11020
- customerId: string;
11021
- internal_feature_id: string;
11022
- entityId?: string;
11023
- idempotencyKey: string;
11024
- quote: AiTokenQuote;
11025
- properties?: Record<string, string>;
11026
- providerCostUsd?: string;
11027
- generationId?: string;
11028
- }): Promise<{
11029
- requestId: string;
11030
- scope: {
11031
- projectId: string;
11032
- environment: "live" | "sandbox";
11033
- };
11034
- receipt: {
11035
- id: string;
11036
- internal_feature_id: string;
11037
- kind: "confirm" | "consume" | "reserve" | "refund" | "release" | "expire";
11038
- originalId: string | null;
11039
- quantity: string;
11040
- accepted: boolean;
11041
- reason: "insufficient_balance" | "limit_exceeded" | "awaiting_topup" | "authorization_required" | "payment_blocked" | "cash_budget_exceeded" | "unavailable" | "expired" | null;
11042
- createdAt: string;
11043
- reservationStatus: "expired" | "pending" | "confirmed" | "released" | null;
11044
- expiresAt: string | null;
11045
- allocations: ({
11046
- funding: "prepaid";
11047
- sourceId: string;
11048
- units: string;
11049
- amount: string;
11050
- pricing: {
11051
- internal_credit_feature_id: string | null;
11052
- internal_metered_feature_id: string;
11053
- dimension: string;
11054
- counterKey: string;
11055
- cycleStart: string;
11056
- unitCost: string;
11057
- units: string;
11058
- amount: string;
11059
- tier: number | null;
11060
- }[];
11061
- } | {
11062
- funding: "balance";
11063
- sourceId: string;
11064
- rolloverId: string | null;
11065
- units: string;
11066
- amount: string;
11067
- } | {
11068
- funding: "unbilled";
11069
- units: string;
11070
- } | {
11071
- funding: "postpaid";
11072
- invoiceLineId: string | null;
11073
- units: string;
11074
- authorizationId: string;
11075
- })[];
11076
- requestedQuantity?: string | undefined;
11077
- overageBehavior?: "cap" | "overflow" | undefined;
11078
- };
11079
- }>;
11080
- }>;
11081
-
11082
- type AiUsageContext = {
11083
- customerId: string;
11084
- internal_feature_id: string;
11085
- entityId?: string;
11086
- idempotencyKey: string;
11087
- properties?: Record<string, string>;
11088
- };
11089
- type AiUsageRecord = {
11090
- context: AiUsageContext;
11091
- modelId: string;
11092
- usage: LanguageModelV4Usage | null;
11093
- tokens: AiTokenUsage | null;
11094
- quote: AiTokenQuote | null;
11095
- receipt: Awaited<ReturnType<FoundationApi["mutateBalance"]>> | null;
11096
- phase: "captured" | "quoted" | "settled" | "incomplete";
11097
- };
11098
- type AiUsageMiddlewareOptions = {
11099
- pricing: ReturnType<typeof createAiPricing>;
11100
- client: Pick<FoundationApi, "mutateBalance">;
11101
- modelId: string;
11102
- /** Allocate a durable, unique ID per provider call, including each tool step. */
11103
- context: () => AiUsageContext | Promise<AiUsageContext>;
11104
- /** Save raw usage before pricing, and the frozen quote before a balance request. */
11105
- persist: (record: AiUsageRecord) => Promise<void>;
11106
- reasoning: "output" | "separate";
11107
- mapTokens?: (usage: LanguageModelV4Usage) => AiTokenUsage;
11108
- };
11109
- /** Current AI SDK v7 / LanguageModelV4 only. Never suppress a failed financial settlement. */
11110
- declare function createAiUsageMiddleware(options: AiUsageMiddlewareOptions): LanguageModelV4Middleware;
11111
-
11112
- export { type ApiInput as A, type FoundationApi as F, type InvoiceModeParams as I, type OfferingItem as O, type AiUsageContext as a, type AiTokenUsage as b, createAiPricing as c, type AiTokenQuote as d, type InvoiceModeParamsInput as e, type AiPricingOptions as f, type AiUsageMiddlewareOptions as g, type AiUsageRecord as h, aiPriceSnapshotSchema as i, aiTokenQuoteSchema as j, createAiUsageMiddleware as k, createConfiguredAiPricing as l };
11243
+ export { type ApiInput as A, type FoundationApi as F, type InvoiceModeParams as I, type OfferingItem as O, apiOperations as a, type InvoiceModeParamsInput as b };