@samva/cli 0.23.0 → 0.25.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.
Files changed (4) hide show
  1. package/AGENTS.md +5 -1
  2. package/README.md +2 -1
  3. package/dist/bin.mjs +1463 -1138
  4. package/package.json +9 -9
package/dist/bin.mjs CHANGED
@@ -589,6 +589,671 @@ var require_mapping_list = __commonJS(function(exports) {
589
589
  };
590
590
  exports.MappingList = MappingList;
591
591
  });
592
+
593
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/generator/token-before.js
594
+ var exports_token_before = {};
595
+ __export(exports_token_before, {
596
+ safe: () => safe,
597
+ spec: () => spec
598
+ });
599
+
600
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/lexer/units.js
601
+ var exports_units = {};
602
+ __export(exports_units, {
603
+ angle: () => angle,
604
+ decibel: () => decibel,
605
+ flex: () => flex,
606
+ frequency: () => frequency,
607
+ length: () => length,
608
+ resolution: () => resolution,
609
+ semitones: () => semitones,
610
+ time: () => time
611
+ });
612
+
613
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/lexer/trace.js
614
+ var exports_trace = {};
615
+ __export(exports_trace, {
616
+ getTrace: () => getTrace,
617
+ isKeyword: () => isKeyword,
618
+ isProperty: () => isProperty,
619
+ isType: () => isType
620
+ });
621
+
622
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/index.js
623
+ var exports_node = {};
624
+ __export(exports_node, {
625
+ AnPlusB: () => exports_AnPlusB,
626
+ Atrule: () => exports_Atrule,
627
+ AtrulePrelude: () => exports_AtrulePrelude,
628
+ AttributeSelector: () => exports_AttributeSelector,
629
+ Block: () => exports_Block,
630
+ Brackets: () => exports_Brackets,
631
+ CDC: () => exports_CDC,
632
+ CDO: () => exports_CDO,
633
+ ClassSelector: () => exports_ClassSelector,
634
+ Combinator: () => exports_Combinator,
635
+ Comment: () => exports_Comment,
636
+ Condition: () => exports_Condition,
637
+ Declaration: () => exports_Declaration,
638
+ DeclarationList: () => exports_DeclarationList,
639
+ Dimension: () => exports_Dimension,
640
+ Feature: () => exports_Feature,
641
+ FeatureFunction: () => exports_FeatureFunction,
642
+ FeatureRange: () => exports_FeatureRange,
643
+ Function: () => exports_Function2,
644
+ GeneralEnclosed: () => exports_GeneralEnclosed,
645
+ Hash: () => exports_Hash2,
646
+ IdSelector: () => exports_IdSelector,
647
+ Identifier: () => exports_Identifier,
648
+ Layer: () => exports_Layer2,
649
+ LayerList: () => exports_LayerList,
650
+ MediaQuery: () => exports_MediaQuery,
651
+ MediaQueryList: () => exports_MediaQueryList,
652
+ NestingSelector: () => exports_NestingSelector,
653
+ Nth: () => exports_Nth,
654
+ Number: () => exports_Number2,
655
+ Operator: () => exports_Operator,
656
+ Parentheses: () => exports_Parentheses,
657
+ Percentage: () => exports_Percentage,
658
+ PseudoClassSelector: () => exports_PseudoClassSelector,
659
+ PseudoElementSelector: () => exports_PseudoElementSelector,
660
+ Ratio: () => exports_Ratio,
661
+ Raw: () => exports_Raw,
662
+ Rule: () => exports_Rule,
663
+ Scope: () => exports_Scope2,
664
+ Selector: () => exports_Selector,
665
+ SelectorList: () => exports_SelectorList,
666
+ String: () => exports_String,
667
+ StyleSheet: () => exports_StyleSheet,
668
+ SupportsDeclaration: () => exports_SupportsDeclaration,
669
+ TypeSelector: () => exports_TypeSelector,
670
+ UnicodeRange: () => exports_UnicodeRange,
671
+ Url: () => exports_Url2,
672
+ Value: () => exports_Value,
673
+ WhiteSpace: () => exports_WhiteSpace
674
+ });
675
+
676
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/AnPlusB.js
677
+ var exports_AnPlusB = {};
678
+ __export(exports_AnPlusB, {
679
+ generate: () => generate7,
680
+ name: () => name,
681
+ parse: () => parse2,
682
+ structure: () => structure2
683
+ });
684
+
685
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Atrule.js
686
+ var exports_Atrule = {};
687
+ __export(exports_Atrule, {
688
+ generate: () => generate8,
689
+ name: () => name2,
690
+ parse: () => parse3,
691
+ structure: () => structure3,
692
+ walkContext: () => walkContext
693
+ });
694
+
695
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js
696
+ var exports_AtrulePrelude = {};
697
+ __export(exports_AtrulePrelude, {
698
+ generate: () => generate9,
699
+ name: () => name3,
700
+ parse: () => parse4,
701
+ structure: () => structure4,
702
+ walkContext: () => walkContext2
703
+ });
704
+
705
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/AttributeSelector.js
706
+ var exports_AttributeSelector = {};
707
+ __export(exports_AttributeSelector, {
708
+ generate: () => generate10,
709
+ name: () => name4,
710
+ parse: () => parse5,
711
+ structure: () => structure5
712
+ });
713
+
714
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Block.js
715
+ var exports_Block = {};
716
+ __export(exports_Block, {
717
+ generate: () => generate11,
718
+ name: () => name5,
719
+ parse: () => parse6,
720
+ structure: () => structure6,
721
+ walkContext: () => walkContext3
722
+ });
723
+
724
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Brackets.js
725
+ var exports_Brackets = {};
726
+ __export(exports_Brackets, {
727
+ generate: () => generate12,
728
+ name: () => name6,
729
+ parse: () => parse7,
730
+ structure: () => structure7
731
+ });
732
+
733
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/CDC.js
734
+ var exports_CDC = {};
735
+ __export(exports_CDC, {
736
+ generate: () => generate13,
737
+ name: () => name7,
738
+ parse: () => parse8,
739
+ structure: () => structure8
740
+ });
741
+
742
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/CDO.js
743
+ var exports_CDO = {};
744
+ __export(exports_CDO, {
745
+ generate: () => generate14,
746
+ name: () => name8,
747
+ parse: () => parse9,
748
+ structure: () => structure9
749
+ });
750
+
751
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/ClassSelector.js
752
+ var exports_ClassSelector = {};
753
+ __export(exports_ClassSelector, {
754
+ generate: () => generate15,
755
+ name: () => name9,
756
+ parse: () => parse10,
757
+ structure: () => structure10
758
+ });
759
+
760
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Combinator.js
761
+ var exports_Combinator = {};
762
+ __export(exports_Combinator, {
763
+ generate: () => generate16,
764
+ name: () => name10,
765
+ parse: () => parse11,
766
+ structure: () => structure11
767
+ });
768
+
769
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Comment.js
770
+ var exports_Comment = {};
771
+ __export(exports_Comment, {
772
+ generate: () => generate17,
773
+ name: () => name11,
774
+ parse: () => parse12,
775
+ structure: () => structure12
776
+ });
777
+
778
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Condition.js
779
+ var exports_Condition = {};
780
+ __export(exports_Condition, {
781
+ generate: () => generate18,
782
+ name: () => name12,
783
+ parse: () => parse13,
784
+ structure: () => structure13
785
+ });
786
+
787
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Declaration.js
788
+ var exports_Declaration = {};
789
+ __export(exports_Declaration, {
790
+ generate: () => generate19,
791
+ name: () => name13,
792
+ parse: () => parse14,
793
+ structure: () => structure14,
794
+ walkContext: () => walkContext4
795
+ });
796
+
797
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/DeclarationList.js
798
+ var exports_DeclarationList = {};
799
+ __export(exports_DeclarationList, {
800
+ generate: () => generate20,
801
+ name: () => name14,
802
+ parse: () => parse15,
803
+ structure: () => structure15
804
+ });
805
+
806
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Dimension.js
807
+ var exports_Dimension = {};
808
+ __export(exports_Dimension, {
809
+ generate: () => generate21,
810
+ name: () => name15,
811
+ parse: () => parse16,
812
+ structure: () => structure16
813
+ });
814
+
815
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Feature.js
816
+ var exports_Feature = {};
817
+ __export(exports_Feature, {
818
+ generate: () => generate22,
819
+ name: () => name16,
820
+ parse: () => parse17,
821
+ structure: () => structure17
822
+ });
823
+
824
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/FeatureFunction.js
825
+ var exports_FeatureFunction = {};
826
+ __export(exports_FeatureFunction, {
827
+ generate: () => generate23,
828
+ name: () => name17,
829
+ parse: () => parse18,
830
+ structure: () => structure18
831
+ });
832
+
833
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/FeatureRange.js
834
+ var exports_FeatureRange = {};
835
+ __export(exports_FeatureRange, {
836
+ generate: () => generate24,
837
+ name: () => name18,
838
+ parse: () => parse19,
839
+ structure: () => structure19
840
+ });
841
+
842
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Function.js
843
+ var exports_Function2 = {};
844
+ __export(exports_Function2, {
845
+ generate: () => generate25,
846
+ name: () => name19,
847
+ parse: () => parse20,
848
+ structure: () => structure20,
849
+ walkContext: () => walkContext5
850
+ });
851
+
852
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/GeneralEnclosed.js
853
+ var exports_GeneralEnclosed = {};
854
+ __export(exports_GeneralEnclosed, {
855
+ generate: () => generate26,
856
+ name: () => name20,
857
+ parse: () => parse21,
858
+ structure: () => structure21
859
+ });
860
+
861
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Hash.js
862
+ var exports_Hash2 = {};
863
+ __export(exports_Hash2, {
864
+ generate: () => generate27,
865
+ name: () => name21,
866
+ parse: () => parse22,
867
+ structure: () => structure22,
868
+ xxx: () => xxx
869
+ });
870
+
871
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Identifier.js
872
+ var exports_Identifier = {};
873
+ __export(exports_Identifier, {
874
+ generate: () => generate28,
875
+ name: () => name22,
876
+ parse: () => parse23,
877
+ structure: () => structure23
878
+ });
879
+
880
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/IdSelector.js
881
+ var exports_IdSelector = {};
882
+ __export(exports_IdSelector, {
883
+ generate: () => generate29,
884
+ name: () => name23,
885
+ parse: () => parse24,
886
+ structure: () => structure24
887
+ });
888
+
889
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Layer.js
890
+ var exports_Layer2 = {};
891
+ __export(exports_Layer2, {
892
+ generate: () => generate30,
893
+ name: () => name24,
894
+ parse: () => parse25,
895
+ structure: () => structure25
896
+ });
897
+
898
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/LayerList.js
899
+ var exports_LayerList = {};
900
+ __export(exports_LayerList, {
901
+ generate: () => generate31,
902
+ name: () => name25,
903
+ parse: () => parse26,
904
+ structure: () => structure26
905
+ });
906
+
907
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/MediaQuery.js
908
+ var exports_MediaQuery = {};
909
+ __export(exports_MediaQuery, {
910
+ generate: () => generate32,
911
+ name: () => name26,
912
+ parse: () => parse27,
913
+ structure: () => structure27
914
+ });
915
+
916
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/MediaQueryList.js
917
+ var exports_MediaQueryList = {};
918
+ __export(exports_MediaQueryList, {
919
+ generate: () => generate33,
920
+ name: () => name27,
921
+ parse: () => parse28,
922
+ structure: () => structure28
923
+ });
924
+
925
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/NestingSelector.js
926
+ var exports_NestingSelector = {};
927
+ __export(exports_NestingSelector, {
928
+ generate: () => generate34,
929
+ name: () => name28,
930
+ parse: () => parse29,
931
+ structure: () => structure29
932
+ });
933
+
934
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Nth.js
935
+ var exports_Nth = {};
936
+ __export(exports_Nth, {
937
+ generate: () => generate35,
938
+ name: () => name29,
939
+ parse: () => parse30,
940
+ structure: () => structure30
941
+ });
942
+
943
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Number.js
944
+ var exports_Number2 = {};
945
+ __export(exports_Number2, {
946
+ generate: () => generate36,
947
+ name: () => name30,
948
+ parse: () => parse31,
949
+ structure: () => structure31
950
+ });
951
+
952
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Operator.js
953
+ var exports_Operator = {};
954
+ __export(exports_Operator, {
955
+ generate: () => generate37,
956
+ name: () => name31,
957
+ parse: () => parse32,
958
+ structure: () => structure32
959
+ });
960
+
961
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Parentheses.js
962
+ var exports_Parentheses = {};
963
+ __export(exports_Parentheses, {
964
+ generate: () => generate38,
965
+ name: () => name32,
966
+ parse: () => parse33,
967
+ structure: () => structure33
968
+ });
969
+
970
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Percentage.js
971
+ var exports_Percentage = {};
972
+ __export(exports_Percentage, {
973
+ generate: () => generate39,
974
+ name: () => name33,
975
+ parse: () => parse34,
976
+ structure: () => structure34
977
+ });
978
+
979
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js
980
+ var exports_PseudoClassSelector = {};
981
+ __export(exports_PseudoClassSelector, {
982
+ generate: () => generate40,
983
+ name: () => name34,
984
+ parse: () => parse35,
985
+ structure: () => structure35,
986
+ walkContext: () => walkContext6
987
+ });
988
+
989
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js
990
+ var exports_PseudoElementSelector = {};
991
+ __export(exports_PseudoElementSelector, {
992
+ generate: () => generate41,
993
+ name: () => name35,
994
+ parse: () => parse36,
995
+ structure: () => structure36,
996
+ walkContext: () => walkContext7
997
+ });
998
+
999
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Ratio.js
1000
+ var exports_Ratio = {};
1001
+ __export(exports_Ratio, {
1002
+ generate: () => generate42,
1003
+ name: () => name36,
1004
+ parse: () => parse37,
1005
+ structure: () => structure37
1006
+ });
1007
+
1008
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Raw.js
1009
+ var exports_Raw = {};
1010
+ __export(exports_Raw, {
1011
+ generate: () => generate43,
1012
+ name: () => name37,
1013
+ parse: () => parse38,
1014
+ structure: () => structure38
1015
+ });
1016
+
1017
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Rule.js
1018
+ var exports_Rule = {};
1019
+ __export(exports_Rule, {
1020
+ generate: () => generate44,
1021
+ name: () => name38,
1022
+ parse: () => parse39,
1023
+ structure: () => structure39,
1024
+ walkContext: () => walkContext8
1025
+ });
1026
+
1027
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Scope.js
1028
+ var exports_Scope2 = {};
1029
+ __export(exports_Scope2, {
1030
+ generate: () => generate45,
1031
+ name: () => name39,
1032
+ parse: () => parse40,
1033
+ structure: () => structure40
1034
+ });
1035
+
1036
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Selector.js
1037
+ var exports_Selector = {};
1038
+ __export(exports_Selector, {
1039
+ generate: () => generate46,
1040
+ name: () => name40,
1041
+ parse: () => parse41,
1042
+ structure: () => structure41
1043
+ });
1044
+
1045
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/SelectorList.js
1046
+ var exports_SelectorList = {};
1047
+ __export(exports_SelectorList, {
1048
+ generate: () => generate47,
1049
+ name: () => name41,
1050
+ parse: () => parse42,
1051
+ structure: () => structure42,
1052
+ walkContext: () => walkContext9
1053
+ });
1054
+
1055
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/String.js
1056
+ var exports_String = {};
1057
+ __export(exports_String, {
1058
+ generate: () => generate48,
1059
+ name: () => name42,
1060
+ parse: () => parse43,
1061
+ structure: () => structure43
1062
+ });
1063
+
1064
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/StyleSheet.js
1065
+ var exports_StyleSheet = {};
1066
+ __export(exports_StyleSheet, {
1067
+ generate: () => generate49,
1068
+ name: () => name43,
1069
+ parse: () => parse44,
1070
+ structure: () => structure44,
1071
+ walkContext: () => walkContext10
1072
+ });
1073
+
1074
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/SupportsDeclaration.js
1075
+ var exports_SupportsDeclaration = {};
1076
+ __export(exports_SupportsDeclaration, {
1077
+ generate: () => generate50,
1078
+ name: () => name44,
1079
+ parse: () => parse45,
1080
+ structure: () => structure45
1081
+ });
1082
+
1083
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/TypeSelector.js
1084
+ var exports_TypeSelector = {};
1085
+ __export(exports_TypeSelector, {
1086
+ generate: () => generate51,
1087
+ name: () => name45,
1088
+ parse: () => parse46,
1089
+ structure: () => structure46
1090
+ });
1091
+
1092
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/UnicodeRange.js
1093
+ var exports_UnicodeRange = {};
1094
+ __export(exports_UnicodeRange, {
1095
+ generate: () => generate52,
1096
+ name: () => name46,
1097
+ parse: () => parse47,
1098
+ structure: () => structure47
1099
+ });
1100
+
1101
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Url.js
1102
+ var exports_Url2 = {};
1103
+ __export(exports_Url2, {
1104
+ generate: () => generate53,
1105
+ name: () => name47,
1106
+ parse: () => parse48,
1107
+ structure: () => structure48
1108
+ });
1109
+
1110
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Value.js
1111
+ var exports_Value = {};
1112
+ __export(exports_Value, {
1113
+ generate: () => generate54,
1114
+ name: () => name48,
1115
+ parse: () => parse49,
1116
+ structure: () => structure49
1117
+ });
1118
+
1119
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/WhiteSpace.js
1120
+ var exports_WhiteSpace = {};
1121
+ __export(exports_WhiteSpace, {
1122
+ generate: () => generate55,
1123
+ name: () => name49,
1124
+ parse: () => parse50,
1125
+ structure: () => structure50
1126
+ });
1127
+
1128
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/scope/index.js
1129
+ var exports_scope = {};
1130
+ __export(exports_scope, {
1131
+ AtrulePrelude: () => atrulePrelude_default,
1132
+ Selector: () => selector_default,
1133
+ Value: () => value_default
1134
+ });
1135
+
1136
+ // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/index-parse.js
1137
+ var exports_index_parse = {};
1138
+ __export(exports_index_parse, {
1139
+ AnPlusB: () => parse2,
1140
+ Atrule: () => parse3,
1141
+ AtrulePrelude: () => parse4,
1142
+ AttributeSelector: () => parse5,
1143
+ Block: () => parse6,
1144
+ Brackets: () => parse7,
1145
+ CDC: () => parse8,
1146
+ CDO: () => parse9,
1147
+ ClassSelector: () => parse10,
1148
+ Combinator: () => parse11,
1149
+ Comment: () => parse12,
1150
+ Condition: () => parse13,
1151
+ Declaration: () => parse14,
1152
+ DeclarationList: () => parse15,
1153
+ Dimension: () => parse16,
1154
+ Feature: () => parse17,
1155
+ FeatureFunction: () => parse18,
1156
+ FeatureRange: () => parse19,
1157
+ Function: () => parse20,
1158
+ GeneralEnclosed: () => parse21,
1159
+ Hash: () => parse22,
1160
+ IdSelector: () => parse24,
1161
+ Identifier: () => parse23,
1162
+ Layer: () => parse25,
1163
+ LayerList: () => parse26,
1164
+ MediaQuery: () => parse27,
1165
+ MediaQueryList: () => parse28,
1166
+ NestingSelector: () => parse29,
1167
+ Nth: () => parse30,
1168
+ Number: () => parse31,
1169
+ Operator: () => parse32,
1170
+ Parentheses: () => parse33,
1171
+ Percentage: () => parse34,
1172
+ PseudoClassSelector: () => parse35,
1173
+ PseudoElementSelector: () => parse36,
1174
+ Ratio: () => parse37,
1175
+ Raw: () => parse38,
1176
+ Rule: () => parse39,
1177
+ Scope: () => parse40,
1178
+ Selector: () => parse41,
1179
+ SelectorList: () => parse42,
1180
+ String: () => parse43,
1181
+ StyleSheet: () => parse44,
1182
+ SupportsDeclaration: () => parse45,
1183
+ TypeSelector: () => parse46,
1184
+ UnicodeRange: () => parse47,
1185
+ Url: () => parse48,
1186
+ Value: () => parse49,
1187
+ WhiteSpace: () => parse50
1188
+ });
1189
+
1190
+ // ../sdk/dist/effect/mailboxes.js
1191
+ var exports_mailboxes = {};
1192
+ __export(exports_mailboxes, {
1193
+ MailboxEventStreamError: () => MailboxEventStreamError,
1194
+ addThreadLabels: () => addThreadLabels,
1195
+ approveAction: () => approveAction,
1196
+ cancelAction: () => cancelAction,
1197
+ copyMessageAttachment: () => copyMessageAttachment,
1198
+ create: () => create6,
1199
+ createDraft: () => createDraft,
1200
+ createEndpoint: () => createEndpoint,
1201
+ createGrant: () => createGrant,
1202
+ createLabel: () => createLabel,
1203
+ createNote: () => createNote,
1204
+ createPolicy: () => createPolicy,
1205
+ deleteDraft: () => deleteDraft,
1206
+ deleteLabel: () => deleteLabel,
1207
+ deleteNote: () => deleteNote,
1208
+ deletePolicy: () => deletePolicy,
1209
+ denyAction: () => denyAction,
1210
+ discardMessage: () => discardMessage,
1211
+ events: () => events3,
1212
+ forward: () => forward,
1213
+ get: () => get19,
1214
+ getAction: () => getAction,
1215
+ getAgentActivity: () => getAgentActivity,
1216
+ getDraft: () => getDraft,
1217
+ getMessage: () => getMessage,
1218
+ getMessageAttachment: () => getMessageAttachment,
1219
+ getMessageRaw: () => getMessageRaw,
1220
+ getPolicy: () => getPolicy,
1221
+ getThread: () => getThread,
1222
+ getThreadContent: () => getThreadContent,
1223
+ list: () => list16,
1224
+ listActions: () => listActions,
1225
+ listDrafts: () => listDrafts,
1226
+ listEvents: () => listEvents2,
1227
+ listFolders: () => listFolders,
1228
+ listGrants: () => listGrants,
1229
+ listLabels: () => listLabels,
1230
+ listPolicies: () => listPolicies,
1231
+ listQuarantine: () => listQuarantine,
1232
+ listThreadMessages: () => listThreadMessages,
1233
+ listThreadNotes: () => listThreadNotes,
1234
+ listThreads: () => listThreads,
1235
+ mailboxes_exports: () => mailboxes_exports2,
1236
+ pause: () => pause,
1237
+ releaseMessage: () => releaseMessage,
1238
+ remove: () => remove8,
1239
+ removeEndpoint: () => removeEndpoint,
1240
+ removeThreadLabels: () => removeThreadLabels,
1241
+ reply: () => reply,
1242
+ replyAll: () => replyAll,
1243
+ resume: () => resume,
1244
+ retryAction: () => retryAction,
1245
+ revokeGrant: () => revokeGrant,
1246
+ sendDraft: () => sendDraft,
1247
+ sendMessage: () => sendMessage2,
1248
+ update: () => update8,
1249
+ updateDraft: () => updateDraft,
1250
+ updateEndpoint: () => updateEndpoint,
1251
+ updateGrant: () => updateGrant,
1252
+ updateLabel: () => updateLabel,
1253
+ updateNote: () => updateNote,
1254
+ updatePolicy: () => updatePolicy,
1255
+ updateThread: () => updateThread
1256
+ });
592
1257
  // ../../node_modules/.bun/effect@4.0.4/node_modules/effect/dist/Pipeable.js
593
1258
  var pipeArguments = (self, args) => {
594
1259
  switch (args.length) {
@@ -14276,7 +14941,7 @@ var layer12 = /* @__PURE__ */ layer.pipe(/* @__PURE__ */ provideMerge(/* @__PURE
14276
14941
  // package.json
14277
14942
  var package_default = {
14278
14943
  name: "@samva/cli",
14279
- version: "0.23.0",
14944
+ version: "0.25.0",
14280
14945
  description: "Samva CLI \u2014 email and platform operations from your terminal",
14281
14946
  keywords: [
14282
14947
  "cli",
@@ -14332,16 +14997,16 @@ var package_default = {
14332
14997
  "@types/node": "catalog:",
14333
14998
  "better-auth": "catalog:",
14334
14999
  effect: "catalog:effect",
14335
- samva: "workspace:0.24.0",
15000
+ samva: "workspace:0.26.0",
14336
15001
  "tsc-rs": "catalog:",
14337
15002
  vite: "~8.3.0",
14338
15003
  vitest: "catalog:"
14339
15004
  },
14340
15005
  optionalDependencies: {
14341
- "@samva/cli-darwin-arm64": "workspace:0.23.0",
14342
- "@samva/cli-darwin-x64": "workspace:0.23.0",
14343
- "@samva/cli-linux-arm64": "workspace:0.23.0",
14344
- "@samva/cli-linux-x64": "workspace:0.23.0"
15006
+ "@samva/cli-darwin-arm64": "workspace:0.25.0",
15007
+ "@samva/cli-darwin-x64": "workspace:0.25.0",
15008
+ "@samva/cli-linux-arm64": "workspace:0.25.0",
15009
+ "@samva/cli-linux-x64": "workspace:0.25.0"
14345
15010
  },
14346
15011
  engines: {
14347
15012
  node: ">=18"
@@ -20050,10 +20715,16 @@ var ENTITY_PREFIXES = {
20050
20715
  mbxact: "MailboxActionId",
20051
20716
  mbxevt: "MailboxEventId",
20052
20717
  mbxq: "MailboxQuarantineItemId",
20718
+ cconv: "ContactConversationId",
20053
20719
  ext: "ExtensionId",
20054
20720
  extver: "ExtensionVersionId",
20055
20721
  exti: "ExtensionInstallationId",
20722
+ agt: "AgentId",
20723
+ agtv: "AgentVersionId",
20724
+ intg: "IntegrationId",
20725
+ intgflow: "IntegrationConnectFlowId",
20056
20726
  fdbk: "FeedbackId",
20727
+ wpsub: "WebPushSubscriptionId",
20057
20728
  cident: "ContactIdentityId",
20058
20729
  mrcpt: "MessageRecipientId",
20059
20730
  tstate: "MailboxThreadStateId",
@@ -20165,6 +20836,10 @@ var UnsubscribeId = entityId("unsub").pipe(brand(ENTITY_PREFIXES.unsub));
20165
20836
  var UnsubscribeGroupMemberId = entityId("unsubm").pipe(brand(ENTITY_PREFIXES.unsubm));
20166
20837
  var SmsProviderAccountId = entityId("sprov").pipe(brand(ENTITY_PREFIXES.sprov));
20167
20838
  var SmsPhoneNumberId = entityId("phone").pipe(brand(ENTITY_PREFIXES.phone));
20839
+ var AgentId = entityId("agt").pipe(brand(ENTITY_PREFIXES.agt));
20840
+ var AgentVersionId = entityId("agtv").pipe(brand(ENTITY_PREFIXES.agtv));
20841
+ var IntegrationId = entityId("intg").pipe(brand(ENTITY_PREFIXES.intg));
20842
+ var IntegrationConnectFlowId = entityId("intgflow").pipe(brand(ENTITY_PREFIXES.intgflow));
20168
20843
  var MailboxId = entityId("mbx").pipe(brand(ENTITY_PREFIXES.mbx));
20169
20844
  var MailboxEndpointId = entityId("mbxep").pipe(brand(ENTITY_PREFIXES.mbxep));
20170
20845
  var MailboxThreadId = entityId("thread").pipe(brand(ENTITY_PREFIXES.thread));
@@ -20179,6 +20854,7 @@ var MailboxActorId = entityId("mbxactor").pipe(brand(ENTITY_PREFIXES.mbxactor));
20179
20854
  var MailboxActionId = entityId("mbxact").pipe(brand(ENTITY_PREFIXES.mbxact));
20180
20855
  var MailboxEventId = entityId("mbxevt").pipe(brand(ENTITY_PREFIXES.mbxevt));
20181
20856
  var MailboxQuarantineItemId = entityId("mbxq").pipe(brand(ENTITY_PREFIXES.mbxq));
20857
+ var ContactConversationId = entityId("cconv").pipe(brand(ENTITY_PREFIXES.cconv));
20182
20858
  var ExtensionId = entityId("ext").pipe(brand(ENTITY_PREFIXES.ext));
20183
20859
  var ExtensionVersionId = entityId("extver").pipe(brand(ENTITY_PREFIXES.extver));
20184
20860
  var ExtensionInstallationId = entityId("exti").pipe(brand(ENTITY_PREFIXES.exti));
@@ -20197,6 +20873,7 @@ var NewsletterSubscriptionId = entityId("nlsub").pipe(brand(ENTITY_PREFIXES.nlsu
20197
20873
  var HeroDemoVisitId = entityId("hdemo").pipe(brand(ENTITY_PREFIXES.hdemo));
20198
20874
  var AgentAuthRegistrationId = entityId("aareg").pipe(brand(ENTITY_PREFIXES.aareg));
20199
20875
  var FeedbackId = entityId("fdbk").pipe(brand(ENTITY_PREFIXES.fdbk));
20876
+ var WebPushSubscriptionId = entityId("wpsub").pipe(brand(ENTITY_PREFIXES.wpsub));
20200
20877
  var DeviceCodeId = entityId("devcode").pipe(brand(ENTITY_PREFIXES.devcode));
20201
20878
  var JwksId = entityId("jwks").pipe(brand(ENTITY_PREFIXES.jwks));
20202
20879
  var OAuthClientId = entityId("oaclient").pipe(brand(ENTITY_PREFIXES.oaclient));
@@ -20566,7 +21243,8 @@ var MESSAGE_ORIGIN_VALUES = [
20566
21243
  "scheduled",
20567
21244
  "mailbox",
20568
21245
  "forwarding",
20569
- "journey"
21246
+ "journey",
21247
+ "businessApp"
20570
21248
  ];
20571
21249
  var messageOriginSchema = Literals(MESSAGE_ORIGIN_VALUES);
20572
21250
  var SUBMISSION_TRANSPORT_VALUES = ["http", "smtp"];
@@ -20837,7 +21515,7 @@ var domainWebhookEventTypeSchema = Literals(DOMAIN_WEBHOOK_EVENT_TYPE_VALUES);
20837
21515
  var TEMPLATE_WEBHOOK_EVENT_TYPE_VALUES = ["template.registration.updated"];
20838
21516
  var FLOW_WEBHOOK_EVENT_TYPE_VALUES = ["flow.registration.updated"];
20839
21517
  var WHATSAPP_NUMBER_WEBHOOK_EVENT_TYPE_VALUES = ["whatsapp.number.connected"];
20840
- var MAILBOX_WEBHOOK_EVENT_TYPE_VALUES = [
21518
+ var MAILBOX_EXTENSION_EVENT_TYPE_VALUES = [
20841
21519
  "mailbox.message.received",
20842
21520
  "mailbox.message.sent",
20843
21521
  "mailbox.action.pending_approval",
@@ -20846,6 +21524,16 @@ var MAILBOX_WEBHOOK_EVENT_TYPE_VALUES = [
20846
21524
  "mailbox.message.released",
20847
21525
  "mailbox.message.discarded"
20848
21526
  ];
21527
+ var mailboxExtensionEventTypeSchema = Literals(MAILBOX_EXTENSION_EVENT_TYPE_VALUES);
21528
+ var MAILBOX_DELIVERY_STATUS_EVENT_TYPE_VALUES = [
21529
+ "mailbox.message.delivered",
21530
+ "mailbox.message.read",
21531
+ "mailbox.message.failed"
21532
+ ];
21533
+ var MAILBOX_WEBHOOK_EVENT_TYPE_VALUES = [
21534
+ ...MAILBOX_EXTENSION_EVENT_TYPE_VALUES,
21535
+ ...MAILBOX_DELIVERY_STATUS_EVENT_TYPE_VALUES
21536
+ ];
20849
21537
  var mailboxWebhookEventTypeSchema = Literals(MAILBOX_WEBHOOK_EVENT_TYPE_VALUES);
20850
21538
  var MAILBOX_QUARANTINE_WEBHOOK_EVENT_TYPE_VALUES = [
20851
21539
  "mailbox.message.quarantined",
@@ -21517,7 +22205,8 @@ var mailboxActionScopes = [
21517
22205
  "assignThread",
21518
22206
  "changeThreadState",
21519
22207
  "call",
21520
- "extensionRequest"
22208
+ "extensionRequest",
22209
+ "toolCall"
21521
22210
  ];
21522
22211
  var mailboxActorKinds = [
21523
22212
  "user",
@@ -21547,6 +22236,8 @@ var mailboxActionStates = [
21547
22236
  "executed",
21548
22237
  "failed"
21549
22238
  ];
22239
+ var contactConversationResponders = ["agent", "staff"];
22240
+ var staffActivitySources = ["mail", "takeOver", "businessAppEcho"];
21550
22241
  var mailboxSendStates = [
21551
22242
  "approvalRequired",
21552
22243
  "queued",
@@ -21774,7 +22465,8 @@ var MailboxSendIntent = Union2([
21774
22465
  ]).annotate({ identifier: "MailboxSendIntent" });
21775
22466
  var authorityFields = {
21776
22467
  actor: MailboxActorRef,
21777
- installationId: NullOr(ExtensionInstallationId)
22468
+ installationId: NullOr(ExtensionInstallationId),
22469
+ operatorUserId: optional2(UserId)
21778
22470
  };
21779
22471
  var MailboxSendAuthority = Union2([
21780
22472
  Struct({ kind: Literal2("allow"), ...authorityFields }),
@@ -24112,8 +24804,11 @@ var apiKey = (options) => Object.assign(Object.create(Proto18), {
24112
24804
  });
24113
24805
  // ../sdk/dist/effect/generated/shared.js
24114
24806
  var JsonValue = suspend5(() => __recursive_JsonValue);
24115
- var AnalyticsQueryError = class extends TaggedError3()("AnalyticsQueryError", Struct({ message: String4 })) {
24116
- };
24807
+ var Cursor = /* @__PURE__ */ String4.annotate({ identifier: "Cursor" });
24808
+ var NamespaceId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */ new RegExp("^ns_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
24809
+ expected: "a string matching the RegExp ^ns_[0-9a-hjkmnp-tv-z]{16,24}$",
24810
+ identifier: "NamespaceId"
24811
+ })).pipe(brand("NamespaceId"));
24117
24812
  var UnauthorizedError2 = class extends TaggedError3()("UnauthorizedError", Struct({ message: String4 })) {
24118
24813
  };
24119
24814
  var ForbiddenError2 = class extends TaggedError3()("ForbiddenError", Struct({ message: String4 })) {
@@ -24130,7 +24825,34 @@ var GatewayTimeoutError2 = class extends TaggedError3()("GatewayTimeoutError", S
24130
24825
  retryAfterSeconds: Finite.check(isFinite4().annotate({ expected: "a finite number" }))
24131
24826
  })) {
24132
24827
  };
24133
- var Cursor = /* @__PURE__ */ String4.annotate({ identifier: "Cursor" });
24828
+ isMaxLength(120).annotate({ expected: "a value with a length of at most 120" });
24829
+ var MailboxEndpointId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */ new RegExp("^mbxep_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
24830
+ expected: "a string matching the RegExp ^mbxep_[0-9a-hjkmnp-tv-z]{16,24}$",
24831
+ identifier: "MailboxEndpointId"
24832
+ })).pipe(brand("MailboxEndpointId"));
24833
+ isPattern2(/* @__PURE__ */ new RegExp("^[a-z]{2,8}_[0-9a-z]{16}$", "u")).annotate({
24834
+ expected: "a string matching the RegExp ^[a-z]{2,8}_[0-9a-z]{16}$",
24835
+ identifier: "AgentIntegrationReference"
24836
+ });
24837
+ isPattern2(/* @__PURE__ */ new RegExp("^(?:[01]\\d|2[0-3]):[0-5]\\d$", "u")).annotate({
24838
+ expected: "a string matching the RegExp ^(?:[01]\\d|2[0-3]):[0-5]\\d$",
24839
+ identifier: "ClockTime"
24840
+ });
24841
+ var ResourceNotFoundError2 = class extends TaggedError3()("ResourceNotFoundError", Struct({
24842
+ resource: String4,
24843
+ id: String4,
24844
+ message: String4
24845
+ })) {
24846
+ };
24847
+ var ConflictError2 = class extends TaggedError3()("ConflictError", Struct({
24848
+ message: String4,
24849
+ resource: String4,
24850
+ id: optionalKey2(Union2([String4, Null2]))
24851
+ })) {
24852
+ };
24853
+ var VersionCursor = /* @__PURE__ */ String4.annotate({ identifier: "VersionCursor" });
24854
+ var AnalyticsQueryError = class extends TaggedError3()("AnalyticsQueryError", Struct({ message: String4 })) {
24855
+ };
24134
24856
  var ApiKeyResourceAccess = /* @__PURE__ */ Struct({
24135
24857
  messages: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
24136
24858
  email: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
@@ -24139,6 +24861,7 @@ var ApiKeyResourceAccess = /* @__PURE__ */ Struct({
24139
24861
  contacts: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
24140
24862
  conversations: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
24141
24863
  templates: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
24864
+ agents: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
24142
24865
  webhooks: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
24143
24866
  apiKeys: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
24144
24867
  organization: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
@@ -24153,10 +24876,6 @@ var MailboxSendMode2 = /* @__PURE__ */ Union2([Literal2("send"), Literal2("appro
24153
24876
  description: "How the grantee's sends execute: `send` runs them within account limits; `approval` holds each one until a different member approves it.",
24154
24877
  identifier: "MailboxSendMode"
24155
24878
  });
24156
- var NamespaceId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */ new RegExp("^ns_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
24157
- expected: "a string matching the RegExp ^ns_[0-9a-hjkmnp-tv-z]{16,24}$",
24158
- identifier: "NamespaceId"
24159
- })).pipe(brand("NamespaceId"));
24160
24879
  var PaymentRequiredError2 = class extends TaggedError3()("PaymentRequiredError", Struct({
24161
24880
  message: String4,
24162
24881
  resource: String4,
@@ -24164,12 +24883,6 @@ var PaymentRequiredError2 = class extends TaggedError3()("PaymentRequiredError",
24164
24883
  limit: Finite.check(isFinite4().annotate({ expected: "a finite number" }))
24165
24884
  })) {
24166
24885
  };
24167
- var ResourceNotFoundError2 = class extends TaggedError3()("ResourceNotFoundError", Struct({
24168
- resource: String4,
24169
- id: String4,
24170
- message: String4
24171
- })) {
24172
- };
24173
24886
  var RateLimitedError2 = class extends TaggedError3()("RateLimitedError", Struct({
24174
24887
  message: String4,
24175
24888
  retryAfterSeconds: Finite.check(isFinite4().annotate({ expected: "a finite number" }))
@@ -24211,12 +24924,6 @@ var BrandSocialLink = /* @__PURE__ */ Struct({
24211
24924
  label: String4.check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(isMaxCodePoints(64).annotate({ expected: "a string with at most 64 code points" })).check(isMaxLength(64).annotate({ expected: "a value with a length of at most 64" })),
24212
24925
  url: String4.check(isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(isPattern2(/* @__PURE__ */ new RegExp("^https:\\/\\/[^\\s]+$", "u")).annotate({ expected: "a string matching the RegExp ^https:\\/\\/[^\\s]+$" })).check(isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" }))
24213
24926
  }).annotate({ identifier: "BrandSocialLink" });
24214
- var ConflictError2 = class extends TaggedError3()("ConflictError", Struct({
24215
- message: String4,
24216
- resource: String4,
24217
- id: optionalKey2(Union2([String4, Null2]))
24218
- })) {
24219
- };
24220
24927
  var MediaId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */ new RegExp("^media_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
24221
24928
  expected: "a string matching the RegExp ^media_[0-9a-hjkmnp-tv-z]{16,24}$",
24222
24929
  identifier: "MediaId"
@@ -24255,6 +24962,10 @@ var EmailTrackingOverrideV1 = /* @__PURE__ */ Struct({
24255
24962
  identifier: "EmailTrackingOverrideV1"
24256
24963
  });
24257
24964
  var EmailFooterOverride = /* @__PURE__ */ Struct({ enabled: optionalKey2(Union2([Boolean3, Null2])) }).annotate({ identifier: "EmailFooterOverride" });
24965
+ var EmailCustomHeaders = /* @__PURE__ */ Record(String4, String4).annotate({ description: "Custom headers copied onto the outgoing message. Each name is an RFC 5322 field name and each value is one non-empty line of printable ASCII. Names Samva or the transport own are rejected." }).check(isMaxProperties(11).annotate({
24966
+ expected: "a value with at most 11 entries",
24967
+ identifier: "EmailCustomHeaders"
24968
+ }));
24258
24969
  var ConversationId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */ new RegExp("^conv_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
24259
24970
  expected: "a string matching the RegExp ^conv_[0-9a-hjkmnp-tv-z]{16,24}$",
24260
24971
  identifier: "ConversationId"
@@ -24422,10 +25133,6 @@ var MailboxMetadata2 = /* @__PURE__ */ Record(String4, String4.check(isMaxCodePo
24422
25133
  expected: "an object with property names matching the schema",
24423
25134
  identifier: "MailboxMetadata"
24424
25135
  }));
24425
- var MailboxEndpointId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */ new RegExp("^mbxep_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
24426
- expected: "a string matching the RegExp ^mbxep_[0-9a-hjkmnp-tv-z]{16,24}$",
24427
- identifier: "MailboxEndpointId"
24428
- })).pipe(brand("MailboxEndpointId"));
24429
25136
  var MailboxMetadataPatch2 = /* @__PURE__ */ Record(String4, Union2([String4.check(isMaxCodePoints(512).annotate({ expected: "a string with at most 512 code points" })).check(isMaxLength(512).annotate({ expected: "a value with a length of at most 512" })), Null2])).check(isPropertyNames(String4.check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(isMaxCodePoints(64).annotate({ expected: "a string with at most 64 code points" }))).annotate({
24430
25137
  expected: "an object with property names matching the schema",
24431
25138
  identifier: "MailboxMetadataPatch"
@@ -24600,22 +25307,11 @@ var TemplateFromDefault = /* @__PURE__ */ Struct({
24600
25307
  email: String4.check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
24601
25308
  name: optionalKey2(Union2([String4, Null2]))
24602
25309
  }).annotate({ identifier: "TemplateFromDefault" });
25310
+ var TemplateTrackingDefault = /* @__PURE__ */ Struct({
25311
+ opens: optionalKey2(Union2([Boolean3, Null2])),
25312
+ clicks: optionalKey2(Union2([Boolean3, Null2]))
25313
+ }).annotate({ identifier: "TemplateTrackingDefault" });
24603
25314
  var TestWebhookPayload = /* @__PURE__ */ Struct({ data: optionalKey2(Union2([Record(String4, JsonValue), Null2])) }).annotate({ identifier: "TestWebhookPayload" });
24604
- var ApiKeyMailboxAccess = /* @__PURE__ */ Struct({
24605
- permissions: TupleWithRest(Tuple2([Union2([
24606
- Literal2("read"),
24607
- Literal2("update"),
24608
- Literal2("send"),
24609
- Literal2("quarantine.read")
24610
- ])]), [Union2([
24611
- Literal2("read"),
24612
- Literal2("update"),
24613
- Literal2("send"),
24614
- Literal2("quarantine.read")
24615
- ])]).annotate({ description: "`read` reads mailboxes, threads, and messages; `update` changes thread state, labels, drafts, and notes; `send` sends and replies; `quarantine.read` reads quarantined mail." }),
24616
- mailboxIds: optionalKey2(Union2([TupleWithRest(Tuple2([MailboxId2]), [MailboxId2]), Null2]).annotate({ description: "The mailboxes the key may act on. Omit to reach every mailbox the owner can." })),
24617
- sendMode: optionalKey2(Union2([MailboxSendMode2, Null2]).annotate({ description: "Defaults to `send`. With `approval`, each send waits until a person other than the key approves it." }))
24618
- }).annotate({ identifier: "ApiKeyMailboxAccess" });
24619
25315
  var CreateTemplatePayload = /* @__PURE__ */ Struct({
24620
25316
  name: String4.check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })),
24621
25317
  projectName: optionalKey2(Union2([String4.check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })), Null2])),
@@ -24676,6 +25372,9 @@ var CreateWebhookPayload = /* @__PURE__ */ Struct({
24676
25372
  Literal2("mailbox.message.quarantined"),
24677
25373
  Literal2("mailbox.message.released"),
24678
25374
  Literal2("mailbox.message.discarded"),
25375
+ Literal2("mailbox.message.delivered"),
25376
+ Literal2("mailbox.message.read"),
25377
+ Literal2("mailbox.message.failed"),
24679
25378
  Literal2("journey.webhook")
24680
25379
  ])).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
24681
25380
  channels: optionalKey2(Union2([ArraySchema(Literal2("email")).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Null2])),
@@ -24723,6 +25422,9 @@ var UpdateWebhookPayload = /* @__PURE__ */ Struct({
24723
25422
  Literal2("mailbox.message.quarantined"),
24724
25423
  Literal2("mailbox.message.released"),
24725
25424
  Literal2("mailbox.message.discarded"),
25425
+ Literal2("mailbox.message.delivered"),
25426
+ Literal2("mailbox.message.read"),
25427
+ Literal2("mailbox.message.failed"),
24726
25428
  Literal2("journey.webhook")
24727
25429
  ])).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Null2])),
24728
25430
  channels: optionalKey2(Union2([Union2([ArraySchema(Literal2("email")).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Null2]), Null2])),
@@ -24731,6 +25433,21 @@ var UpdateWebhookPayload = /* @__PURE__ */ Struct({
24731
25433
  headers: optionalKey2(Union2([Record(String4, String4), Null2])),
24732
25434
  status: optionalKey2(Union2([Union2([Literal2("active"), Literal2("disabled")]), Null2]))
24733
25435
  }).annotate({ identifier: "UpdateWebhookPayload" });
25436
+ var ApiKeyMailboxAccess = /* @__PURE__ */ Struct({
25437
+ permissions: TupleWithRest(Tuple2([Union2([
25438
+ Literal2("read"),
25439
+ Literal2("update"),
25440
+ Literal2("send"),
25441
+ Literal2("quarantine.read")
25442
+ ])]), [Union2([
25443
+ Literal2("read"),
25444
+ Literal2("update"),
25445
+ Literal2("send"),
25446
+ Literal2("quarantine.read")
25447
+ ])]).annotate({ description: "`read` reads mailboxes, threads, and messages; `update` changes thread state, labels, drafts, and notes; `send` sends and replies; `quarantine.read` reads quarantined mail." }),
25448
+ mailboxIds: optionalKey2(Union2([TupleWithRest(Tuple2([MailboxId2]), [MailboxId2]), Null2]).annotate({ description: "The mailboxes the key may act on. Omit to reach every mailbox the owner can." })),
25449
+ sendMode: optionalKey2(Union2([MailboxSendMode2, Null2]).annotate({ description: "Defaults to `send`. With `approval`, each send waits until a person other than the key approves it." }))
25450
+ }).annotate({ identifier: "ApiKeyMailboxAccess" });
24734
25451
  var MessageSummary2 = /* @__PURE__ */ Struct({
24735
25452
  id: MessageId2,
24736
25453
  channel: Literal2("email"),
@@ -24954,6 +25671,7 @@ var UpdateTemplatePayload = /* @__PURE__ */ Struct({ data: Struct({
24954
25671
  ]), Null2]), Null2])),
24955
25672
  fromDefault: optionalKey2(Union2([Union2([TemplateFromDefault, Null2]), Null2])),
24956
25673
  replyToDefault: optionalKey2(Union2([Union2([ArraySchema(String4), Null2]), Null2])),
25674
+ trackingDefault: optionalKey2(Union2([Union2([TemplateTrackingDefault, Null2]), Null2]).annotate({ description: "Engagement tracking for sends of this template: `opens` and `clicks`, each inherited from the domain and organization defaults when omitted. A send request's own `tracking` still wins. Null clears the template's default." })),
24957
25675
  isActive: optionalKey2(Union2([Boolean3, Null2])),
24958
25676
  shared: optionalKey2(Union2([Boolean3, Null2]).annotate({ description: "Share the template's project with every namespace, or stop sharing it. Applies to every entry in the project. Only an organization-level project is shared." }))
24959
25677
  }) }).annotate({ identifier: "UpdateTemplatePayload" });
@@ -25096,7 +25814,8 @@ var EmailContent = /* @__PURE__ */ Struct({
25096
25814
  replyTo: optionalKey2(ReplyToAddresses),
25097
25815
  unsubscribeGroupId: optionalKey2(Union2([Union2([UnsubscribeId2, Null2]), Null2]).annotate({ description: "The unsubscribe group for this send. Omit to inherit the template group; null disables group inheritance for a direct send. Campaigns require a group." })),
25098
25816
  tracking: optionalKey2(EmailTrackingOverrideV1),
25099
- footer: optionalKey2(EmailFooterOverride)
25817
+ footer: optionalKey2(EmailFooterOverride),
25818
+ headers: optionalKey2(Union2([EmailCustomHeaders, Null2]))
25100
25819
  }).annotate({ identifier: "EmailContent" });
25101
25820
  var EmailDispatchContent = /* @__PURE__ */ Struct({
25102
25821
  subject: optionalKey2(Union2([String4, Null2])),
@@ -25114,7 +25833,8 @@ var EmailDispatchContent = /* @__PURE__ */ Struct({
25114
25833
  replyTo: optionalKey2(ReplyToAddresses),
25115
25834
  unsubscribeGroupId: optionalKey2(Union2([Union2([UnsubscribeId2, Null2]), Null2]).annotate({ description: "The unsubscribe group for this send. Omit to inherit the template group; null disables group inheritance for a direct send. Campaigns require a group." })),
25116
25835
  tracking: optionalKey2(EmailTrackingOverrideV1),
25117
- footer: optionalKey2(EmailFooterOverride)
25836
+ footer: optionalKey2(EmailFooterOverride),
25837
+ headers: optionalKey2(Union2([EmailCustomHeaders, Null2]))
25118
25838
  }).annotate({ identifier: "EmailDispatchContent" });
25119
25839
  var ContactIdentity = /* @__PURE__ */ Struct({
25120
25840
  id: ContactIdentityId2,
@@ -25580,7 +26300,7 @@ var __exportAll = (all, no_symbols) => {
25580
26300
  };
25581
26301
 
25582
26302
  // ../sdk/dist/package.js
25583
- var version = "0.24.0";
26303
+ var version = "0.26.0";
25584
26304
 
25585
26305
  // ../sdk/dist/client-attribution.js
25586
26306
  var SDK_VERSION = version;
@@ -26902,6 +27622,12 @@ var PERMISSIONS = {
26902
27622
  UPDATE: { templates: ["update"] },
26903
27623
  DELETE: { templates: ["delete"] }
26904
27624
  },
27625
+ AGENTS: {
27626
+ CREATE: { agents: ["create"] },
27627
+ READ: { agents: ["read"] },
27628
+ UPDATE: { agents: ["update"] },
27629
+ DELETE: { agents: ["delete"] }
27630
+ },
26905
27631
  MAILBOXES: {
26906
27632
  READ: { mailboxes: ["read"] },
26907
27633
  UPDATE: { mailboxes: ["update"] },
@@ -26954,6 +27680,7 @@ function generateBetterAuthStatement() {
26954
27680
  contacts: ["create", "read", "update", "delete"],
26955
27681
  conversations: ["create", "read", "update", "delete"],
26956
27682
  templates: ["create", "read", "update", "delete"],
27683
+ agents: ["create", "read", "update", "delete"],
26957
27684
  mailboxes: ["read", "update", "send", "manage", "quarantine.read", "quarantine.release"],
26958
27685
  webhooks: ["create", "read", "update", "delete"],
26959
27686
  apiKeys: ["create", "read", "update", "delete", "rotate"],
@@ -26995,6 +27722,12 @@ function roleStatements() {
26995
27722
  ...PERMISSIONS.TEMPLATES.UPDATE.templates,
26996
27723
  ...PERMISSIONS.TEMPLATES.DELETE.templates
26997
27724
  ],
27725
+ agents: [
27726
+ ...PERMISSIONS.AGENTS.CREATE.agents,
27727
+ ...PERMISSIONS.AGENTS.READ.agents,
27728
+ ...PERMISSIONS.AGENTS.UPDATE.agents,
27729
+ ...PERMISSIONS.AGENTS.DELETE.agents
27730
+ ],
26998
27731
  mailboxes: [
26999
27732
  ...PERMISSIONS.MAILBOXES.READ.mailboxes,
27000
27733
  ...PERMISSIONS.MAILBOXES.UPDATE.mailboxes,
@@ -28249,819 +28982,858 @@ var SamvaErrorMetadata = {
28249
28982
  }
28250
28983
  };
28251
28984
  var operationMetadata0 = {
28985
+ group: "Agents",
28986
+ method: "GET",
28987
+ paginated: true
28988
+ };
28989
+ var operationMetadata1 = {
28990
+ group: "Agents",
28991
+ method: "POST",
28992
+ paginated: false
28993
+ };
28994
+ var operationMetadata2 = {
28995
+ group: "Agents",
28996
+ method: "GET",
28997
+ paginated: false
28998
+ };
28999
+ var operationMetadata3 = {
29000
+ group: "Agents",
29001
+ method: "DELETE",
29002
+ paginated: false
29003
+ };
29004
+ var operationMetadata4 = {
29005
+ group: "Agents",
29006
+ method: "PATCH",
29007
+ paginated: false
29008
+ };
29009
+ var operationMetadata5 = {
29010
+ group: "Agents",
29011
+ method: "PUT",
29012
+ paginated: false
29013
+ };
29014
+ var operationMetadata6 = {
28252
29015
  group: "Analytics",
28253
29016
  method: "GET",
28254
29017
  paginated: false
28255
29018
  };
28256
- var operationMetadata1 = {
29019
+ var operationMetadata7 = {
28257
29020
  group: "Analytics",
28258
29021
  method: "POST",
28259
29022
  paginated: false
28260
29023
  };
28261
- var operationMetadata2 = {
29024
+ var operationMetadata8 = {
28262
29025
  group: "API Keys",
28263
29026
  method: "GET",
28264
29027
  paginated: true
28265
29028
  };
28266
- var operationMetadata3 = {
29029
+ var operationMetadata9 = {
28267
29030
  group: "API Keys",
28268
29031
  method: "POST",
28269
29032
  paginated: false
28270
29033
  };
28271
- var operationMetadata4 = {
29034
+ var operationMetadata10 = {
28272
29035
  group: "API Keys",
28273
29036
  method: "GET",
28274
29037
  paginated: false
28275
29038
  };
28276
- var operationMetadata5 = {
29039
+ var operationMetadata11 = {
28277
29040
  group: "API Keys",
28278
29041
  method: "PATCH",
28279
29042
  paginated: false
28280
29043
  };
28281
- var operationMetadata6 = {
29044
+ var operationMetadata12 = {
28282
29045
  group: "Attachments",
28283
29046
  method: "GET",
28284
29047
  paginated: false
28285
29048
  };
28286
- var operationMetadata7 = {
29049
+ var operationMetadata13 = {
28287
29050
  group: "Attachments",
28288
29051
  method: "DELETE",
28289
29052
  paginated: false
28290
29053
  };
28291
- var operationMetadata8 = {
29054
+ var operationMetadata14 = {
28292
29055
  group: "Brands",
28293
29056
  method: "GET",
28294
29057
  paginated: false
28295
29058
  };
28296
- var operationMetadata9 = {
29059
+ var operationMetadata15 = {
28297
29060
  group: "Brands",
28298
29061
  method: "POST",
28299
29062
  paginated: false
28300
29063
  };
28301
- var operationMetadata10 = {
29064
+ var operationMetadata16 = {
28302
29065
  group: "Brands",
28303
29066
  method: "DELETE",
28304
29067
  paginated: false
28305
29068
  };
28306
- var operationMetadata11 = {
29069
+ var operationMetadata17 = {
28307
29070
  group: "Brands",
28308
29071
  method: "PATCH",
28309
29072
  paginated: false
28310
29073
  };
28311
- var operationMetadata12 = {
29074
+ var operationMetadata18 = {
28312
29075
  group: "Campaigns",
28313
29076
  method: "GET",
28314
29077
  paginated: true
28315
29078
  };
28316
- var operationMetadata13 = {
29079
+ var operationMetadata19 = {
28317
29080
  group: "Campaigns",
28318
29081
  method: "POST",
28319
29082
  paginated: false
28320
29083
  };
28321
- var operationMetadata14 = {
29084
+ var operationMetadata20 = {
28322
29085
  group: "Campaigns",
28323
29086
  method: "GET",
28324
29087
  paginated: false
28325
29088
  };
28326
- var operationMetadata15 = {
29089
+ var operationMetadata21 = {
28327
29090
  group: "Campaigns",
28328
29091
  method: "PATCH",
28329
29092
  paginated: false
28330
29093
  };
28331
- var operationMetadata16 = {
29094
+ var operationMetadata22 = {
28332
29095
  group: "Contact Groups",
28333
29096
  method: "GET",
28334
29097
  paginated: true
28335
29098
  };
28336
- var operationMetadata17 = {
29099
+ var operationMetadata23 = {
28337
29100
  group: "Contact Groups",
28338
29101
  method: "POST",
28339
29102
  paginated: false
28340
29103
  };
28341
- var operationMetadata18 = {
29104
+ var operationMetadata24 = {
28342
29105
  group: "Contact Groups",
28343
29106
  method: "GET",
28344
29107
  paginated: false
28345
29108
  };
28346
- var operationMetadata19 = {
29109
+ var operationMetadata25 = {
28347
29110
  group: "Contact Groups",
28348
29111
  method: "DELETE",
28349
29112
  paginated: false
28350
29113
  };
28351
- var operationMetadata20 = {
29114
+ var operationMetadata26 = {
28352
29115
  group: "Contact Groups",
28353
29116
  method: "PATCH",
28354
29117
  paginated: false
28355
29118
  };
28356
- var operationMetadata21 = {
29119
+ var operationMetadata27 = {
28357
29120
  group: "Contacts",
28358
29121
  method: "GET",
28359
29122
  paginated: true
28360
29123
  };
28361
- var operationMetadata22 = {
29124
+ var operationMetadata28 = {
28362
29125
  group: "Contacts",
28363
29126
  method: "POST",
28364
29127
  paginated: false
28365
29128
  };
28366
- var operationMetadata23 = {
29129
+ var operationMetadata29 = {
28367
29130
  group: "Contacts",
28368
29131
  method: "GET",
28369
29132
  paginated: false
28370
29133
  };
28371
- var operationMetadata24 = {
29134
+ var operationMetadata30 = {
28372
29135
  group: "Contacts",
28373
29136
  method: "DELETE",
28374
29137
  paginated: false
28375
29138
  };
28376
- var operationMetadata25 = {
29139
+ var operationMetadata31 = {
28377
29140
  group: "Contacts",
28378
29141
  method: "PATCH",
28379
29142
  paginated: false
28380
29143
  };
28381
- var operationMetadata26 = {
29144
+ var operationMetadata32 = {
28382
29145
  group: "Contact events",
28383
29146
  method: "GET",
28384
29147
  paginated: true
28385
29148
  };
28386
- var operationMetadata27 = {
29149
+ var operationMetadata33 = {
28387
29150
  group: "Contacts",
28388
29151
  method: "PUT",
28389
29152
  paginated: false
28390
29153
  };
28391
- var operationMetadata28 = {
29154
+ var operationMetadata34 = {
28392
29155
  group: "Conversations",
28393
29156
  method: "GET",
28394
29157
  paginated: true
28395
29158
  };
28396
- var operationMetadata29 = {
29159
+ var operationMetadata35 = {
28397
29160
  group: "Conversations",
28398
29161
  method: "POST",
28399
29162
  paginated: false
28400
29163
  };
28401
- var operationMetadata30 = {
29164
+ var operationMetadata36 = {
28402
29165
  group: "Conversations",
28403
29166
  method: "GET",
28404
29167
  paginated: false
28405
29168
  };
28406
- var operationMetadata31 = {
29169
+ var operationMetadata37 = {
28407
29170
  group: "Conversations",
28408
29171
  method: "PATCH",
28409
29172
  paginated: false
28410
29173
  };
28411
- var operationMetadata32 = {
29174
+ var operationMetadata38 = {
28412
29175
  group: "Conversations",
28413
29176
  method: "DELETE",
28414
29177
  paginated: false
28415
29178
  };
28416
- var operationMetadata33 = {
29179
+ var operationMetadata39 = {
28417
29180
  group: "Custom Fields",
28418
29181
  method: "GET",
28419
29182
  paginated: false
28420
29183
  };
28421
- var operationMetadata34 = {
29184
+ var operationMetadata40 = {
28422
29185
  group: "Custom Fields",
28423
29186
  method: "POST",
28424
29187
  paginated: false
28425
29188
  };
28426
- var operationMetadata35 = {
29189
+ var operationMetadata41 = {
28427
29190
  group: "Custom Fields",
28428
29191
  method: "DELETE",
28429
29192
  paginated: false
28430
29193
  };
28431
- var operationMetadata36 = {
29194
+ var operationMetadata42 = {
28432
29195
  group: "Custom Fields",
28433
29196
  method: "PATCH",
28434
29197
  paginated: false
28435
29198
  };
28436
- var operationMetadata37 = {
29199
+ var operationMetadata43 = {
28437
29200
  group: "Email",
28438
29201
  method: "GET",
28439
29202
  paginated: true
28440
29203
  };
28441
- var operationMetadata38 = {
29204
+ var operationMetadata44 = {
28442
29205
  group: "Email",
28443
29206
  method: "POST",
28444
29207
  paginated: false
28445
29208
  };
28446
- var operationMetadata39 = {
29209
+ var operationMetadata45 = {
28447
29210
  group: "Email",
28448
29211
  method: "DELETE",
28449
29212
  paginated: false
28450
29213
  };
28451
- var operationMetadata40 = {
29214
+ var operationMetadata46 = {
28452
29215
  group: "Email",
28453
29216
  method: "PATCH",
28454
29217
  paginated: false
28455
29218
  };
28456
- var operationMetadata41 = {
29219
+ var operationMetadata47 = {
28457
29220
  group: "Email",
28458
29221
  method: "GET",
28459
29222
  paginated: false
28460
29223
  };
28461
- var operationMetadata42 = {
29224
+ var operationMetadata48 = {
28462
29225
  group: "Events",
28463
29226
  method: "POST",
28464
29227
  paginated: false
28465
29228
  };
28466
- var operationMetadata43 = {
29229
+ var operationMetadata49 = {
28467
29230
  group: "Extension installations",
28468
29231
  method: "GET",
28469
29232
  paginated: true
28470
29233
  };
28471
- var operationMetadata44 = {
29234
+ var operationMetadata50 = {
28472
29235
  group: "Extension installations",
28473
29236
  method: "POST",
28474
29237
  paginated: false
28475
29238
  };
28476
- var operationMetadata45 = {
29239
+ var operationMetadata51 = {
28477
29240
  group: "Extension installations",
28478
29241
  method: "GET",
28479
29242
  paginated: false
28480
29243
  };
28481
- var operationMetadata46 = {
29244
+ var operationMetadata52 = {
28482
29245
  group: "Extension installations",
28483
29246
  method: "DELETE",
28484
29247
  paginated: false
28485
29248
  };
28486
- var operationMetadata47 = {
29249
+ var operationMetadata53 = {
28487
29250
  group: "Extensions",
28488
29251
  method: "GET",
28489
29252
  paginated: true
28490
29253
  };
28491
- var operationMetadata48 = {
29254
+ var operationMetadata54 = {
28492
29255
  group: "Extensions",
28493
29256
  method: "POST",
28494
29257
  paginated: false
28495
29258
  };
28496
- var operationMetadata49 = {
29259
+ var operationMetadata55 = {
28497
29260
  group: "Extensions",
28498
29261
  method: "GET",
28499
29262
  paginated: false
28500
29263
  };
28501
- var operationMetadata50 = {
29264
+ var operationMetadata56 = {
28502
29265
  group: "Feedback",
28503
29266
  method: "POST",
28504
29267
  paginated: false
28505
29268
  };
28506
- var operationMetadata51 = {
29269
+ var operationMetadata57 = {
28507
29270
  group: "Journeys",
28508
29271
  method: "GET",
28509
29272
  paginated: true
28510
29273
  };
28511
- var operationMetadata52 = {
29274
+ var operationMetadata58 = {
28512
29275
  group: "Journeys",
28513
29276
  method: "POST",
28514
29277
  paginated: false
28515
29278
  };
28516
- var operationMetadata53 = {
29279
+ var operationMetadata59 = {
28517
29280
  group: "Journeys",
28518
29281
  method: "GET",
28519
29282
  paginated: false
28520
29283
  };
28521
- var operationMetadata54 = {
29284
+ var operationMetadata60 = {
28522
29285
  group: "Journeys",
28523
29286
  method: "DELETE",
28524
29287
  paginated: false
28525
29288
  };
28526
- var operationMetadata55 = {
29289
+ var operationMetadata61 = {
28527
29290
  group: "Journeys",
28528
29291
  method: "PATCH",
28529
29292
  paginated: false
28530
29293
  };
28531
- var operationMetadata56 = {
29294
+ var operationMetadata62 = {
28532
29295
  group: "Journeys",
28533
29296
  method: "PUT",
28534
29297
  paginated: false
28535
29298
  };
28536
- var operationMetadata57 = {
29299
+ var operationMetadata63 = {
28537
29300
  group: "Mailboxes",
28538
29301
  method: "GET",
28539
29302
  paginated: true
28540
29303
  };
28541
- var operationMetadata58 = {
29304
+ var operationMetadata64 = {
28542
29305
  group: "Mailboxes",
28543
29306
  method: "POST",
28544
29307
  paginated: false
28545
29308
  };
28546
- var operationMetadata59 = {
29309
+ var operationMetadata65 = {
28547
29310
  group: "Mailboxes",
28548
29311
  method: "GET",
28549
29312
  paginated: false
28550
29313
  };
28551
- var operationMetadata60 = {
29314
+ var operationMetadata66 = {
28552
29315
  group: "Mailboxes",
28553
29316
  method: "DELETE",
28554
29317
  paginated: false
28555
29318
  };
28556
- var operationMetadata61 = {
29319
+ var operationMetadata67 = {
28557
29320
  group: "Mailboxes",
28558
29321
  method: "PATCH",
28559
29322
  paginated: false
28560
29323
  };
28561
- var operationMetadata62 = {
29324
+ var operationMetadata68 = {
28562
29325
  group: "Media",
28563
29326
  method: "POST",
28564
29327
  paginated: false
28565
29328
  };
28566
- var operationMetadata63 = {
29329
+ var operationMetadata69 = {
28567
29330
  group: "Media",
28568
29331
  method: "GET",
28569
29332
  paginated: false
28570
29333
  };
28571
- var operationMetadata64 = {
29334
+ var operationMetadata70 = {
28572
29335
  group: "Media",
28573
29336
  method: "DELETE",
28574
29337
  paginated: false
28575
29338
  };
28576
- var operationMetadata65 = {
29339
+ var operationMetadata71 = {
28577
29340
  group: "Messages",
28578
29341
  method: "GET",
28579
29342
  paginated: true
28580
29343
  };
28581
- var operationMetadata66 = {
29344
+ var operationMetadata72 = {
28582
29345
  group: "Messages",
28583
29346
  method: "POST",
28584
29347
  paginated: false
28585
29348
  };
28586
- var operationMetadata67 = {
29349
+ var operationMetadata73 = {
28587
29350
  group: "Messages",
28588
29351
  method: "GET",
28589
29352
  paginated: false
28590
29353
  };
28591
- var operationMetadata68 = {
29354
+ var operationMetadata74 = {
28592
29355
  group: "Messages",
28593
29356
  method: "DELETE",
28594
29357
  paginated: false
28595
29358
  };
28596
- var operationMetadata69 = {
29359
+ var operationMetadata75 = {
28597
29360
  group: "Scheduled Messages",
28598
29361
  method: "GET",
28599
29362
  paginated: true
28600
29363
  };
28601
- var operationMetadata70 = {
29364
+ var operationMetadata76 = {
28602
29365
  group: "Scheduled Messages",
28603
29366
  method: "POST",
28604
29367
  paginated: false
28605
29368
  };
28606
- var operationMetadata71 = {
29369
+ var operationMetadata77 = {
28607
29370
  group: "Scheduled Messages",
28608
29371
  method: "GET",
28609
29372
  paginated: false
28610
29373
  };
28611
- var operationMetadata72 = {
29374
+ var operationMetadata78 = {
28612
29375
  group: "Namespaces",
28613
29376
  method: "GET",
28614
29377
  paginated: true
28615
29378
  };
28616
- var operationMetadata73 = {
29379
+ var operationMetadata79 = {
28617
29380
  group: "Namespaces",
28618
29381
  method: "POST",
28619
29382
  paginated: false
28620
29383
  };
28621
- var operationMetadata74 = {
29384
+ var operationMetadata80 = {
28622
29385
  group: "Namespaces",
28623
29386
  method: "GET",
28624
29387
  paginated: false
28625
29388
  };
28626
- var operationMetadata75 = {
29389
+ var operationMetadata81 = {
28627
29390
  group: "Namespaces",
28628
29391
  method: "DELETE",
28629
29392
  paginated: false
28630
29393
  };
28631
- var operationMetadata76 = {
29394
+ var operationMetadata82 = {
28632
29395
  group: "Namespaces",
28633
29396
  method: "PATCH",
28634
29397
  paginated: false
28635
29398
  };
28636
- var operationMetadata77 = {
29399
+ var operationMetadata83 = {
28637
29400
  group: "Operations",
28638
29401
  method: "GET",
28639
29402
  paginated: true
28640
29403
  };
28641
- var operationMetadata78 = {
29404
+ var operationMetadata84 = {
28642
29405
  group: "Operations",
28643
29406
  method: "GET",
28644
29407
  paginated: false
28645
29408
  };
28646
- var operationMetadata79 = {
29409
+ var operationMetadata85 = {
28647
29410
  group: "Operations",
28648
29411
  method: "POST",
28649
29412
  paginated: false
28650
29413
  };
28651
- var operationMetadata80 = {
29414
+ var operationMetadata86 = {
28652
29415
  group: "Organizations",
28653
29416
  method: "POST",
28654
29417
  paginated: false
28655
29418
  };
28656
- var operationMetadata81 = {
29419
+ var operationMetadata87 = {
28657
29420
  group: "Organizations",
28658
29421
  method: "GET",
28659
29422
  paginated: false
28660
29423
  };
28661
- var operationMetadata82 = {
29424
+ var operationMetadata88 = {
28662
29425
  group: "Organizations",
28663
29426
  method: "PATCH",
28664
29427
  paginated: false
28665
29428
  };
28666
- var operationMetadata83 = {
29429
+ var operationMetadata89 = {
28667
29430
  group: "Subscriptions",
28668
29431
  method: "POST",
28669
29432
  paginated: false
28670
29433
  };
28671
- var operationMetadata84 = {
29434
+ var operationMetadata90 = {
28672
29435
  group: "Templates",
28673
29436
  method: "GET",
28674
29437
  paginated: true
28675
29438
  };
28676
- var operationMetadata85 = {
29439
+ var operationMetadata91 = {
28677
29440
  group: "Templates",
28678
29441
  method: "POST",
28679
29442
  paginated: false
28680
29443
  };
28681
- var operationMetadata86 = {
29444
+ var operationMetadata92 = {
28682
29445
  group: "Templates",
28683
29446
  method: "GET",
28684
29447
  paginated: false
28685
29448
  };
28686
- var operationMetadata87 = {
29449
+ var operationMetadata93 = {
28687
29450
  group: "Templates",
28688
29451
  method: "DELETE",
28689
29452
  paginated: false
28690
29453
  };
28691
- var operationMetadata88 = {
29454
+ var operationMetadata94 = {
28692
29455
  group: "Templates",
28693
29456
  method: "PATCH",
28694
29457
  paginated: false
28695
29458
  };
28696
- var operationMetadata89 = {
29459
+ var operationMetadata95 = {
28697
29460
  group: "Templates",
28698
29461
  method: "PUT",
28699
29462
  paginated: false
28700
29463
  };
28701
- var operationMetadata90 = {
29464
+ var operationMetadata96 = {
28702
29465
  group: "Unsubscribe Groups",
28703
29466
  method: "GET",
28704
29467
  paginated: false
28705
29468
  };
28706
- var operationMetadata91 = {
29469
+ var operationMetadata97 = {
28707
29470
  group: "Unsubscribe Groups",
28708
29471
  method: "POST",
28709
29472
  paginated: false
28710
29473
  };
28711
- var operationMetadata92 = {
29474
+ var operationMetadata98 = {
28712
29475
  group: "Unsubscribe Groups",
28713
29476
  method: "DELETE",
28714
29477
  paginated: false
28715
29478
  };
28716
- var operationMetadata93 = {
29479
+ var operationMetadata99 = {
28717
29480
  group: "Unsubscribe Groups",
28718
29481
  method: "PATCH",
28719
29482
  paginated: false
28720
29483
  };
28721
- var operationMetadata94 = {
29484
+ var operationMetadata100 = {
28722
29485
  group: "Unsubscribe Groups",
28723
29486
  method: "GET",
28724
29487
  paginated: true
28725
29488
  };
28726
- var operationMetadata95 = {
29489
+ var operationMetadata101 = {
28727
29490
  group: "Webhooks",
28728
29491
  method: "GET",
28729
29492
  paginated: true
28730
29493
  };
28731
- var operationMetadata96 = {
29494
+ var operationMetadata102 = {
28732
29495
  group: "Webhooks",
28733
29496
  method: "POST",
28734
29497
  paginated: false
28735
29498
  };
28736
- var operationMetadata97 = {
29499
+ var operationMetadata103 = {
28737
29500
  group: "Webhooks",
28738
29501
  method: "GET",
28739
29502
  paginated: false
28740
29503
  };
28741
29504
  var SamvaOperations = {
28742
- analyticsGetChannelStats: operationMetadata0,
28743
- analyticsGetDeliveryMetrics: operationMetadata0,
28744
- analyticsExportData: operationMetadata1,
28745
- analyticsGetHourlyDistribution: operationMetadata0,
28746
- analyticsGetStats: operationMetadata0,
28747
- analyticsGetTopContacts: operationMetadata0,
28748
- apiKeysList: operationMetadata2,
28749
- apiKeysCreate: operationMetadata3,
28750
- apiKeysGet: operationMetadata4,
28751
- apiKeysUpdate: operationMetadata5,
28752
- apiKeysGetActivity: operationMetadata2,
28753
- apiKeysRevoke: operationMetadata3,
28754
- apiKeysRotate: operationMetadata3,
28755
- apiKeysGetStats: operationMetadata4,
28756
- attachmentsList: operationMetadata6,
28757
- attachmentsGetById: operationMetadata6,
28758
- attachmentsRemove: operationMetadata7,
28759
- attachmentsDownloadUrl: operationMetadata6,
28760
- brandsList: operationMetadata8,
28761
- brandsCreate: operationMetadata9,
28762
- brandsGet: operationMetadata8,
28763
- brandsRemove: operationMetadata10,
28764
- brandsUpdate: operationMetadata11,
28765
- brandsSetDefault: operationMetadata9,
28766
- campaignsList: operationMetadata12,
28767
- campaignsCreate: operationMetadata13,
28768
- campaignsGet: operationMetadata14,
28769
- campaignsUpdate: operationMetadata15,
28770
- campaignsArchive: operationMetadata13,
28771
- campaignsListRuns: operationMetadata12,
28772
- campaignsScheduleRun: operationMetadata13,
28773
- campaignsGetRun: operationMetadata14,
28774
- campaignsCancelRun: operationMetadata13,
28775
- campaignsPauseRun: operationMetadata13,
28776
- campaignsListRecipients: operationMetadata12,
28777
- campaignsResumeRun: operationMetadata13,
28778
- contactGroupsList: operationMetadata16,
28779
- contactGroupsCreate: operationMetadata17,
28780
- contactGroupsGetById: operationMetadata18,
28781
- contactGroupsRemove: operationMetadata19,
28782
- contactGroupsUpdate: operationMetadata20,
28783
- contactGroupsEvaluateDynamic: operationMetadata17,
28784
- contactGroupsGetMembers: operationMetadata16,
28785
- contactGroupsAddMembers: operationMetadata17,
28786
- contactGroupsRemoveMembers: operationMetadata19,
28787
- contactGroupsPreview: operationMetadata17,
28788
- contactsList: operationMetadata21,
28789
- contactsCreate: operationMetadata22,
28790
- contactsGet: operationMetadata23,
28791
- contactsRemove: operationMetadata24,
28792
- contactsUpdate: operationMetadata25,
28793
- contactsGetActivityTimeline: operationMetadata21,
28794
- contactsGetEngagement: operationMetadata23,
28795
- contactEventsListEvents: operationMetadata26,
28796
- contactsGetGroupMemberships: operationMetadata21,
28797
- contactsAddIdentity: operationMetadata22,
28798
- contactsRemoveIdentity: operationMetadata24,
28799
- contactsSetConsent: operationMetadata27,
28800
- contactsAddTags: operationMetadata22,
28801
- contactsRemoveTags: operationMetadata24,
28802
- contactsBulkDelete: operationMetadata22,
28803
- contactsBulkImport: operationMetadata22,
28804
- contactsBulkUpdateStatus: operationMetadata22,
28805
- contactsBulkUpdateTags: operationMetadata22,
28806
- contactsExport: operationMetadata22,
28807
- contactsFind: operationMetadata22,
28808
- contactsFindOrCreate: operationMetadata22,
28809
- conversationsList: operationMetadata28,
28810
- conversationsCreate: operationMetadata29,
28811
- conversationsGetById: operationMetadata30,
28812
- conversationsUpdate: operationMetadata31,
28813
- conversationsAddCategories: operationMetadata29,
28814
- conversationsRemoveCategories: operationMetadata32,
28815
- conversationsAddChannels: operationMetadata29,
28816
- conversationsRemoveChannels: operationMetadata32,
28817
- conversationsAddContacts: operationMetadata29,
28818
- conversationsRemoveContacts: operationMetadata32,
28819
- conversationsListMessages: operationMetadata28,
28820
- conversationsAddTags: operationMetadata29,
28821
- conversationsRemoveTags: operationMetadata32,
28822
- customFieldsList: operationMetadata33,
28823
- customFieldsCreate: operationMetadata34,
28824
- customFieldsRemove: operationMetadata35,
28825
- customFieldsUpdate: operationMetadata36,
28826
- emailListBlocks: operationMetadata37,
28827
- emailAddBlock: operationMetadata38,
28828
- emailRemoveBlock: operationMetadata39,
28829
- emailUpdateBlock: operationMetadata40,
28830
- emailCheckBlocked: operationMetadata38,
28831
- emailGetBlockLogs: operationMetadata37,
28832
- emailGetCatchAllConfig: operationMetadata41,
28833
- emailUpdateCatchAllConfig: operationMetadata40,
28834
- emailGetCatchAllStats: operationMetadata41,
28835
- emailListDomains: operationMetadata37,
28836
- emailAddDomain: operationMetadata38,
28837
- emailGetDomainById: operationMetadata41,
28838
- emailRemoveDomain: operationMetadata39,
28839
- emailUpdateDomainConfig: operationMetadata40,
28840
- emailGetCustomTracking: operationMetadata41,
28841
- emailEnableCustomTracking: operationMetadata38,
28842
- emailDisableCustomTracking: operationMetadata39,
28843
- emailGetCustomTrackingDomainConnect: operationMetadata41,
28844
- emailBuildCustomTrackingDomainConnectApplyUrl: operationMetadata38,
28845
- emailCompleteCustomTrackingDomainConnect: operationMetadata38,
28846
- emailRecheckCustomTracking: operationMetadata38,
28847
- emailSetDefaultDomain: operationMetadata38,
28848
- emailDisableCatchAll: operationMetadata38,
28849
- emailGetDomainConnect: operationMetadata41,
28850
- emailBuildDomainConnectApplyUrl: operationMetadata38,
28851
- emailCompleteDomainConnect: operationMetadata38,
28852
- emailEnableCatchAll: operationMetadata38,
28853
- emailEnableReceiving: operationMetadata38,
28854
- emailGetReceivingStatus: operationMetadata41,
28855
- emailDetectRegistrar: operationMetadata38,
28856
- emailRotateDomainDkim: operationMetadata38,
28857
- emailGetDomainVerification: operationMetadata41,
28858
- emailAdvanceDomainVerification: operationMetadata38,
28859
- emailGetDomainWarming: operationMetadata41,
28860
- emailCreateDomainWarmingPlan: operationMetadata38,
28861
- emailCancelDomainWarmingBatch: operationMetadata39,
28862
- emailCompleteDomainWarming: operationMetadata38,
28863
- emailPauseDomainWarming: operationMetadata38,
28864
- emailUpdateDomainWarmingPolicy: operationMetadata40,
28865
- emailResumeDomainWarming: operationMetadata38,
28866
- emailListForwardingRules: operationMetadata41,
28867
- emailCreateForwardingRule: operationMetadata38,
28868
- emailDeleteForwardingRule: operationMetadata39,
28869
- emailUpdateForwardingRule: operationMetadata40,
28870
- emailGetForwardingLog: operationMetadata37,
28871
- emailGetOnboardingReview: operationMetadata41,
28872
- emailReapplyOnboardingReview: operationMetadata38,
28873
- emailRespondToOnboardingInformationRequest: operationMetadata38,
28874
- emailListSenders: operationMetadata37,
28875
- emailAddSender: operationMetadata38,
28876
- emailGetSender: operationMetadata41,
28877
- emailRemoveSender: operationMetadata39,
28878
- emailSetDefaultSender: operationMetadata38,
28879
- emailCheckSenderVerification: operationMetadata41,
28880
- emailGetStats: operationMetadata41,
28881
- emailListSuppressions: operationMetadata37,
28882
- emailRemoveSuppression: operationMetadata39,
28883
- emailCountSuppressions: operationMetadata41,
28884
- emailGetTrackingDefaults: operationMetadata41,
28885
- emailUpdateTrackingDefaults: operationMetadata40,
28886
- emailGetRecipientTrackingPreference: operationMetadata41,
28887
- emailUpdateRecipientTrackingPreference: operationMetadata40,
28888
- eventsCreate: operationMetadata42,
28889
- eventsBatch: operationMetadata42,
28890
- extensionInstallationsList: operationMetadata43,
28891
- extensionInstallationsInstall: operationMetadata44,
28892
- extensionInstallationsGet: operationMetadata45,
28893
- extensionInstallationsUninstall: operationMetadata46,
28894
- extensionInstallationsDisable: operationMetadata44,
28895
- extensionInstallationsEnable: operationMetadata44,
28896
- extensionInstallationsListRuns: operationMetadata45,
28897
- extensionInstallationsGetRun: operationMetadata45,
28898
- extensionInstallationsUpgrade: operationMetadata44,
28899
- extensionsList: operationMetadata47,
28900
- extensionsPublish: operationMetadata48,
28901
- extensionsGet: operationMetadata49,
28902
- extensionsListVersions: operationMetadata47,
28903
- extensionsGetVersion: operationMetadata49,
28904
- feedbackSend: operationMetadata50,
28905
- journeysList: operationMetadata51,
28906
- journeysCreate: operationMetadata52,
28907
- journeysGet: operationMetadata53,
28908
- journeysRemove: operationMetadata54,
28909
- journeysUpdate: operationMetadata55,
28910
- journeysArchive: operationMetadata52,
28911
- journeysReplaceDraft: operationMetadata56,
28912
- journeysPause: operationMetadata52,
28913
- journeysPublish: operationMetadata52,
28914
- journeysResume: operationMetadata52,
28915
- journeysListRuns: operationMetadata51,
28916
- journeysGetRun: operationMetadata53,
28917
- journeysStats: operationMetadata53,
28918
- journeysGetVersion: operationMetadata53,
28919
- mailboxesList: operationMetadata57,
28920
- mailboxesCreate: operationMetadata58,
28921
- mailboxesGet: operationMetadata59,
28922
- mailboxesRemove: operationMetadata60,
28923
- mailboxesUpdate: operationMetadata61,
28924
- mailboxesListActions: operationMetadata57,
28925
- mailboxesGetAction: operationMetadata59,
28926
- mailboxesApproveAction: operationMetadata58,
28927
- mailboxesCancelAction: operationMetadata58,
28928
- mailboxesDenyAction: operationMetadata58,
28929
- mailboxesRetryAction: operationMetadata58,
28930
- mailboxesGetAgentActivity: operationMetadata59,
28931
- mailboxesListDrafts: operationMetadata57,
28932
- mailboxesCreateDraft: operationMetadata58,
28933
- mailboxesGetDraft: operationMetadata59,
28934
- mailboxesDeleteDraft: operationMetadata60,
28935
- mailboxesUpdateDraft: operationMetadata61,
28936
- mailboxesSendDraft: operationMetadata58,
28937
- mailboxesCreateEndpoint: operationMetadata58,
28938
- mailboxesRemoveEndpoint: operationMetadata60,
28939
- mailboxesUpdateEndpoint: operationMetadata61,
28940
- mailboxesListEvents: operationMetadata57,
28941
- mailboxesListFolders: operationMetadata59,
28942
- mailboxesListGrants: operationMetadata57,
28943
- mailboxesCreateGrant: operationMetadata58,
28944
- mailboxesRevokeGrant: operationMetadata60,
28945
- mailboxesUpdateGrant: operationMetadata61,
28946
- mailboxesListLabels: operationMetadata59,
28947
- mailboxesCreateLabel: operationMetadata58,
28948
- mailboxesDeleteLabel: operationMetadata60,
28949
- mailboxesUpdateLabel: operationMetadata61,
28950
- mailboxesSendMessage: operationMetadata58,
28951
- mailboxesGetMessage: operationMetadata59,
28952
- mailboxesGetMessageAttachment: operationMetadata59,
28953
- mailboxesCopyMessageAttachment: operationMetadata58,
28954
- mailboxesDiscardMessage: operationMetadata58,
28955
- mailboxesForward: operationMetadata58,
28956
- mailboxesGetMessageRaw: operationMetadata59,
28957
- mailboxesReleaseMessage: operationMetadata58,
28958
- mailboxesReply: operationMetadata58,
28959
- mailboxesReplyAll: operationMetadata58,
28960
- mailboxesPause: operationMetadata58,
28961
- mailboxesListPolicies: operationMetadata59,
28962
- mailboxesCreatePolicy: operationMetadata58,
28963
- mailboxesGetPolicy: operationMetadata59,
28964
- mailboxesDeletePolicy: operationMetadata60,
28965
- mailboxesUpdatePolicy: operationMetadata61,
28966
- mailboxesListQuarantine: operationMetadata57,
28967
- mailboxesResume: operationMetadata58,
28968
- mailboxesListThreads: operationMetadata57,
28969
- mailboxesGetThread: operationMetadata59,
28970
- mailboxesUpdateThread: operationMetadata61,
28971
- mailboxesGetThreadContent: operationMetadata57,
28972
- mailboxesAddThreadLabels: operationMetadata58,
28973
- mailboxesRemoveThreadLabels: operationMetadata60,
28974
- mailboxesListThreadMessages: operationMetadata57,
28975
- mailboxesListThreadNotes: operationMetadata57,
28976
- mailboxesCreateNote: operationMetadata58,
28977
- mailboxesDeleteNote: operationMetadata60,
28978
- mailboxesUpdateNote: operationMetadata61,
28979
- mediaCreate: operationMetadata62,
28980
- mediaGetById: operationMetadata63,
28981
- mediaRemove: operationMetadata64,
28982
- mediaComplete: operationMetadata62,
28983
- mediaDownloadUrl: operationMetadata63,
28984
- messagesList: operationMetadata65,
28985
- messagesSend: operationMetadata66,
28986
- messagesGet: operationMetadata67,
28987
- messagesRemove: operationMetadata68,
28988
- messagesGetContent: operationMetadata67,
28989
- messagesListDeliveries: operationMetadata67,
28990
- messagesGetEmail: operationMetadata67,
28991
- messagesGetEvents: operationMetadata65,
28992
- messagesGetStatus: operationMetadata67,
28993
- scheduledMessagesList: operationMetadata69,
28994
- scheduledMessagesCreate: operationMetadata70,
28995
- scheduledMessagesGet: operationMetadata71,
28996
- scheduledMessagesCancel: operationMetadata70,
28997
- scheduledMessagesResume: operationMetadata70,
28998
- messagesValidateEmail: operationMetadata66,
28999
- namespacesList: operationMetadata72,
29000
- namespacesCreate: operationMetadata73,
29001
- namespacesGet: operationMetadata74,
29002
- namespacesRemove: operationMetadata75,
29003
- namespacesUpdate: operationMetadata76,
29004
- namespacesAssignResource: operationMetadata73,
29005
- namespacesRemoveResource: operationMetadata75,
29006
- namespacesGetUsage: operationMetadata74,
29007
- operationsList: operationMetadata77,
29008
- operationsGet: operationMetadata78,
29009
- operationsRetry: operationMetadata79,
29010
- organizationsCreate: operationMetadata80,
29011
- organizationsGet: operationMetadata81,
29012
- organizationsUpdate: operationMetadata82,
29013
- organizationsCreateAvatarUpload: operationMetadata80,
29014
- organizationsGetProfile: operationMetadata81,
29015
- organizationsDelete: operationMetadata80,
29016
- organizationsGetTrustTier: operationMetadata81,
29017
- organizationsGetUsage: operationMetadata81,
29018
- subscriptionsSubscribe: operationMetadata83,
29019
- templatesList: operationMetadata84,
29020
- templatesCreate: operationMetadata85,
29021
- templatesGetById: operationMetadata86,
29022
- templatesRemove: operationMetadata87,
29023
- templatesUpdate: operationMetadata88,
29024
- templatesListInputContracts: operationMetadata84,
29025
- templatesGetInputContract: operationMetadata86,
29026
- templatesPublish: operationMetadata85,
29027
- templatesGetPublication: operationMetadata86,
29028
- templatesRenderPublication: operationMetadata85,
29029
- templatesGetGitRepository: operationMetadata86,
29030
- templatesIssueGitCredential: operationMetadata85,
29031
- templatesOpenWorkspace: operationMetadata85,
29032
- templatesPatchWorkspace: operationMetadata88,
29033
- templatesPutWorkspaceAsset: operationMetadata89,
29034
- templatesCheckWorkspace: operationMetadata85,
29035
- templatesResolveWorkspaceConflict: operationMetadata85,
29036
- templatesDiffWorkspace: operationMetadata85,
29037
- templatesRenderWorkspaceFixture: operationMetadata85,
29038
- templatesWorkspaceHistory: operationMetadata86,
29039
- templatesAttachWorkspaceResource: operationMetadata85,
29040
- templatesRemoveWorkspaceResource: operationMetadata85,
29041
- templatesRestoreWorkspace: operationMetadata85,
29042
- templatesSaveWorkspace: operationMetadata85,
29043
- templatesListFamilies: operationMetadata84,
29044
- templatesCreateFamily: operationMetadata85,
29045
- templatesGetFamily: operationMetadata86,
29046
- templatesDeleteFamily: operationMetadata87,
29047
- templatesRenameFamily: operationMetadata88,
29048
- templatesAttachFamilyMember: operationMetadata85,
29049
- templatesDetachFamilyMember: operationMetadata87,
29050
- templatesCreateFamilyFromTemplate: operationMetadata85,
29051
- templatesCreateFromWebsite: operationMetadata85,
29052
- templatesAddEntry: operationMetadata85,
29053
- unsubscribeList: operationMetadata90,
29054
- unsubscribeCreate: operationMetadata91,
29055
- unsubscribeRemove: operationMetadata92,
29056
- unsubscribeUpdate: operationMetadata93,
29057
- unsubscribeSetDefault: operationMetadata91,
29058
- unsubscribeListMembers: operationMetadata94,
29059
- unsubscribeAddMembers: operationMetadata91,
29060
- unsubscribeRemoveMembers: operationMetadata92,
29061
- unsubscribeCheckSubscription: operationMetadata90,
29062
- webhooksList: operationMetadata95,
29063
- webhooksCreate: operationMetadata96,
29064
- webhooksGet: operationMetadata97,
29505
+ agentsList: operationMetadata0,
29506
+ agentsCreate: operationMetadata1,
29507
+ agentsGet: operationMetadata2,
29508
+ agentsRemove: operationMetadata3,
29509
+ agentsUpdate: operationMetadata4,
29510
+ agentsReplaceDraft: operationMetadata5,
29511
+ agentsPublish: operationMetadata1,
29512
+ agentsListVersions: operationMetadata0,
29513
+ agentsGetVersion: operationMetadata2,
29514
+ analyticsGetChannelStats: operationMetadata6,
29515
+ analyticsGetDeliveryMetrics: operationMetadata6,
29516
+ analyticsExportData: operationMetadata7,
29517
+ analyticsGetHourlyDistribution: operationMetadata6,
29518
+ analyticsGetStats: operationMetadata6,
29519
+ analyticsGetTopContacts: operationMetadata6,
29520
+ apiKeysList: operationMetadata8,
29521
+ apiKeysCreate: operationMetadata9,
29522
+ apiKeysGet: operationMetadata10,
29523
+ apiKeysUpdate: operationMetadata11,
29524
+ apiKeysGetActivity: operationMetadata8,
29525
+ apiKeysRevoke: operationMetadata9,
29526
+ apiKeysRotate: operationMetadata9,
29527
+ apiKeysGetStats: operationMetadata10,
29528
+ attachmentsList: operationMetadata12,
29529
+ attachmentsGetById: operationMetadata12,
29530
+ attachmentsRemove: operationMetadata13,
29531
+ attachmentsDownloadUrl: operationMetadata12,
29532
+ brandsList: operationMetadata14,
29533
+ brandsCreate: operationMetadata15,
29534
+ brandsGet: operationMetadata14,
29535
+ brandsRemove: operationMetadata16,
29536
+ brandsUpdate: operationMetadata17,
29537
+ brandsSetDefault: operationMetadata15,
29538
+ campaignsList: operationMetadata18,
29539
+ campaignsCreate: operationMetadata19,
29540
+ campaignsGet: operationMetadata20,
29541
+ campaignsUpdate: operationMetadata21,
29542
+ campaignsArchive: operationMetadata19,
29543
+ campaignsListRuns: operationMetadata18,
29544
+ campaignsScheduleRun: operationMetadata19,
29545
+ campaignsGetRun: operationMetadata20,
29546
+ campaignsCancelRun: operationMetadata19,
29547
+ campaignsPauseRun: operationMetadata19,
29548
+ campaignsListRecipients: operationMetadata18,
29549
+ campaignsResumeRun: operationMetadata19,
29550
+ contactGroupsList: operationMetadata22,
29551
+ contactGroupsCreate: operationMetadata23,
29552
+ contactGroupsGetById: operationMetadata24,
29553
+ contactGroupsRemove: operationMetadata25,
29554
+ contactGroupsUpdate: operationMetadata26,
29555
+ contactGroupsEvaluateDynamic: operationMetadata23,
29556
+ contactGroupsGetMembers: operationMetadata22,
29557
+ contactGroupsAddMembers: operationMetadata23,
29558
+ contactGroupsRemoveMembers: operationMetadata25,
29559
+ contactGroupsPreview: operationMetadata23,
29560
+ contactsList: operationMetadata27,
29561
+ contactsCreate: operationMetadata28,
29562
+ contactsGet: operationMetadata29,
29563
+ contactsRemove: operationMetadata30,
29564
+ contactsUpdate: operationMetadata31,
29565
+ contactsGetActivityTimeline: operationMetadata27,
29566
+ contactsGetEngagement: operationMetadata29,
29567
+ contactEventsListEvents: operationMetadata32,
29568
+ contactsGetGroupMemberships: operationMetadata27,
29569
+ contactsAddIdentity: operationMetadata28,
29570
+ contactsRemoveIdentity: operationMetadata30,
29571
+ contactsSetConsent: operationMetadata33,
29572
+ contactsAddTags: operationMetadata28,
29573
+ contactsRemoveTags: operationMetadata30,
29574
+ contactsBulkDelete: operationMetadata28,
29575
+ contactsBulkImport: operationMetadata28,
29576
+ contactsBulkUpdateStatus: operationMetadata28,
29577
+ contactsBulkUpdateTags: operationMetadata28,
29578
+ contactsExport: operationMetadata28,
29579
+ contactsFind: operationMetadata28,
29580
+ contactsFindOrCreate: operationMetadata28,
29581
+ conversationsList: operationMetadata34,
29582
+ conversationsCreate: operationMetadata35,
29583
+ conversationsGetById: operationMetadata36,
29584
+ conversationsUpdate: operationMetadata37,
29585
+ conversationsAddCategories: operationMetadata35,
29586
+ conversationsRemoveCategories: operationMetadata38,
29587
+ conversationsAddChannels: operationMetadata35,
29588
+ conversationsRemoveChannels: operationMetadata38,
29589
+ conversationsAddContacts: operationMetadata35,
29590
+ conversationsRemoveContacts: operationMetadata38,
29591
+ conversationsListMessages: operationMetadata34,
29592
+ conversationsAddTags: operationMetadata35,
29593
+ conversationsRemoveTags: operationMetadata38,
29594
+ customFieldsList: operationMetadata39,
29595
+ customFieldsCreate: operationMetadata40,
29596
+ customFieldsRemove: operationMetadata41,
29597
+ customFieldsUpdate: operationMetadata42,
29598
+ emailListBlocks: operationMetadata43,
29599
+ emailAddBlock: operationMetadata44,
29600
+ emailRemoveBlock: operationMetadata45,
29601
+ emailUpdateBlock: operationMetadata46,
29602
+ emailCheckBlocked: operationMetadata44,
29603
+ emailGetBlockLogs: operationMetadata43,
29604
+ emailGetCatchAllConfig: operationMetadata47,
29605
+ emailUpdateCatchAllConfig: operationMetadata46,
29606
+ emailGetCatchAllStats: operationMetadata47,
29607
+ emailListDomains: operationMetadata43,
29608
+ emailAddDomain: operationMetadata44,
29609
+ emailGetDomainById: operationMetadata47,
29610
+ emailRemoveDomain: operationMetadata45,
29611
+ emailUpdateDomainConfig: operationMetadata46,
29612
+ emailGetCustomTracking: operationMetadata47,
29613
+ emailEnableCustomTracking: operationMetadata44,
29614
+ emailDisableCustomTracking: operationMetadata45,
29615
+ emailGetCustomTrackingDomainConnect: operationMetadata47,
29616
+ emailBuildCustomTrackingDomainConnectApplyUrl: operationMetadata44,
29617
+ emailCompleteCustomTrackingDomainConnect: operationMetadata44,
29618
+ emailRecheckCustomTracking: operationMetadata44,
29619
+ emailSetDefaultDomain: operationMetadata44,
29620
+ emailDisableCatchAll: operationMetadata44,
29621
+ emailGetDomainConnect: operationMetadata47,
29622
+ emailBuildDomainConnectApplyUrl: operationMetadata44,
29623
+ emailCompleteDomainConnect: operationMetadata44,
29624
+ emailEnableCatchAll: operationMetadata44,
29625
+ emailEnableReceiving: operationMetadata44,
29626
+ emailGetReceivingStatus: operationMetadata47,
29627
+ emailDetectRegistrar: operationMetadata44,
29628
+ emailRotateDomainDkim: operationMetadata44,
29629
+ emailGetDomainVerification: operationMetadata47,
29630
+ emailAdvanceDomainVerification: operationMetadata44,
29631
+ emailGetDomainWarming: operationMetadata47,
29632
+ emailCreateDomainWarmingPlan: operationMetadata44,
29633
+ emailCancelDomainWarmingBatch: operationMetadata45,
29634
+ emailCompleteDomainWarming: operationMetadata44,
29635
+ emailPauseDomainWarming: operationMetadata44,
29636
+ emailUpdateDomainWarmingPolicy: operationMetadata46,
29637
+ emailResumeDomainWarming: operationMetadata44,
29638
+ emailListForwardingRules: operationMetadata47,
29639
+ emailCreateForwardingRule: operationMetadata44,
29640
+ emailDeleteForwardingRule: operationMetadata45,
29641
+ emailUpdateForwardingRule: operationMetadata46,
29642
+ emailGetForwardingLog: operationMetadata43,
29643
+ emailGetOnboardingReview: operationMetadata47,
29644
+ emailReapplyOnboardingReview: operationMetadata44,
29645
+ emailRespondToOnboardingInformationRequest: operationMetadata44,
29646
+ emailListSenders: operationMetadata43,
29647
+ emailAddSender: operationMetadata44,
29648
+ emailGetSender: operationMetadata47,
29649
+ emailRemoveSender: operationMetadata45,
29650
+ emailSetDefaultSender: operationMetadata44,
29651
+ emailCheckSenderVerification: operationMetadata47,
29652
+ emailGetStats: operationMetadata47,
29653
+ emailListSuppressions: operationMetadata43,
29654
+ emailRemoveSuppression: operationMetadata45,
29655
+ emailCountSuppressions: operationMetadata47,
29656
+ emailGetTrackingDefaults: operationMetadata47,
29657
+ emailUpdateTrackingDefaults: operationMetadata46,
29658
+ emailGetRecipientTrackingPreference: operationMetadata47,
29659
+ emailUpdateRecipientTrackingPreference: operationMetadata46,
29660
+ eventsCreate: operationMetadata48,
29661
+ eventsBatch: operationMetadata48,
29662
+ extensionInstallationsList: operationMetadata49,
29663
+ extensionInstallationsInstall: operationMetadata50,
29664
+ extensionInstallationsGet: operationMetadata51,
29665
+ extensionInstallationsUninstall: operationMetadata52,
29666
+ extensionInstallationsDisable: operationMetadata50,
29667
+ extensionInstallationsEnable: operationMetadata50,
29668
+ extensionInstallationsListRuns: operationMetadata51,
29669
+ extensionInstallationsGetRun: operationMetadata51,
29670
+ extensionInstallationsUpgrade: operationMetadata50,
29671
+ extensionsList: operationMetadata53,
29672
+ extensionsPublish: operationMetadata54,
29673
+ extensionsGet: operationMetadata55,
29674
+ extensionsListVersions: operationMetadata53,
29675
+ extensionsGetVersion: operationMetadata55,
29676
+ feedbackSend: operationMetadata56,
29677
+ journeysList: operationMetadata57,
29678
+ journeysCreate: operationMetadata58,
29679
+ journeysGet: operationMetadata59,
29680
+ journeysRemove: operationMetadata60,
29681
+ journeysUpdate: operationMetadata61,
29682
+ journeysArchive: operationMetadata58,
29683
+ journeysReplaceDraft: operationMetadata62,
29684
+ journeysPause: operationMetadata58,
29685
+ journeysPublish: operationMetadata58,
29686
+ journeysResume: operationMetadata58,
29687
+ journeysListRuns: operationMetadata57,
29688
+ journeysGetRun: operationMetadata59,
29689
+ journeysStats: operationMetadata59,
29690
+ journeysGetVersion: operationMetadata59,
29691
+ mailboxesList: operationMetadata63,
29692
+ mailboxesCreate: operationMetadata64,
29693
+ mailboxesGet: operationMetadata65,
29694
+ mailboxesRemove: operationMetadata66,
29695
+ mailboxesUpdate: operationMetadata67,
29696
+ mailboxesListActions: operationMetadata63,
29697
+ mailboxesGetAction: operationMetadata65,
29698
+ mailboxesApproveAction: operationMetadata64,
29699
+ mailboxesCancelAction: operationMetadata64,
29700
+ mailboxesDenyAction: operationMetadata64,
29701
+ mailboxesRetryAction: operationMetadata64,
29702
+ mailboxesGetAgentActivity: operationMetadata65,
29703
+ mailboxesListDrafts: operationMetadata63,
29704
+ mailboxesCreateDraft: operationMetadata64,
29705
+ mailboxesGetDraft: operationMetadata65,
29706
+ mailboxesDeleteDraft: operationMetadata66,
29707
+ mailboxesUpdateDraft: operationMetadata67,
29708
+ mailboxesSendDraft: operationMetadata64,
29709
+ mailboxesCreateEndpoint: operationMetadata64,
29710
+ mailboxesRemoveEndpoint: operationMetadata66,
29711
+ mailboxesUpdateEndpoint: operationMetadata67,
29712
+ mailboxesListEvents: operationMetadata63,
29713
+ mailboxesListFolders: operationMetadata65,
29714
+ mailboxesListGrants: operationMetadata63,
29715
+ mailboxesCreateGrant: operationMetadata64,
29716
+ mailboxesRevokeGrant: operationMetadata66,
29717
+ mailboxesUpdateGrant: operationMetadata67,
29718
+ mailboxesListLabels: operationMetadata65,
29719
+ mailboxesCreateLabel: operationMetadata64,
29720
+ mailboxesDeleteLabel: operationMetadata66,
29721
+ mailboxesUpdateLabel: operationMetadata67,
29722
+ mailboxesSendMessage: operationMetadata64,
29723
+ mailboxesGetMessage: operationMetadata65,
29724
+ mailboxesGetMessageAttachment: operationMetadata65,
29725
+ mailboxesCopyMessageAttachment: operationMetadata64,
29726
+ mailboxesDiscardMessage: operationMetadata64,
29727
+ mailboxesForward: operationMetadata64,
29728
+ mailboxesGetMessageRaw: operationMetadata65,
29729
+ mailboxesReleaseMessage: operationMetadata64,
29730
+ mailboxesReply: operationMetadata64,
29731
+ mailboxesReplyAll: operationMetadata64,
29732
+ mailboxesPause: operationMetadata64,
29733
+ mailboxesListPolicies: operationMetadata65,
29734
+ mailboxesCreatePolicy: operationMetadata64,
29735
+ mailboxesGetPolicy: operationMetadata65,
29736
+ mailboxesDeletePolicy: operationMetadata66,
29737
+ mailboxesUpdatePolicy: operationMetadata67,
29738
+ mailboxesListQuarantine: operationMetadata63,
29739
+ mailboxesResume: operationMetadata64,
29740
+ mailboxesListThreads: operationMetadata63,
29741
+ mailboxesGetThread: operationMetadata65,
29742
+ mailboxesUpdateThread: operationMetadata67,
29743
+ mailboxesGetThreadContent: operationMetadata63,
29744
+ mailboxesAddThreadLabels: operationMetadata64,
29745
+ mailboxesRemoveThreadLabels: operationMetadata66,
29746
+ mailboxesListThreadMessages: operationMetadata63,
29747
+ mailboxesListThreadNotes: operationMetadata63,
29748
+ mailboxesCreateNote: operationMetadata64,
29749
+ mailboxesDeleteNote: operationMetadata66,
29750
+ mailboxesUpdateNote: operationMetadata67,
29751
+ mediaCreate: operationMetadata68,
29752
+ mediaGetById: operationMetadata69,
29753
+ mediaRemove: operationMetadata70,
29754
+ mediaComplete: operationMetadata68,
29755
+ mediaDownloadUrl: operationMetadata69,
29756
+ messagesList: operationMetadata71,
29757
+ messagesSend: operationMetadata72,
29758
+ messagesGet: operationMetadata73,
29759
+ messagesRemove: operationMetadata74,
29760
+ messagesGetContent: operationMetadata73,
29761
+ messagesListDeliveries: operationMetadata73,
29762
+ messagesGetEmail: operationMetadata73,
29763
+ messagesGetEvents: operationMetadata71,
29764
+ messagesGetStatus: operationMetadata73,
29765
+ scheduledMessagesList: operationMetadata75,
29766
+ scheduledMessagesCreate: operationMetadata76,
29767
+ scheduledMessagesGet: operationMetadata77,
29768
+ scheduledMessagesCancel: operationMetadata76,
29769
+ scheduledMessagesResume: operationMetadata76,
29770
+ messagesValidateEmail: operationMetadata72,
29771
+ namespacesList: operationMetadata78,
29772
+ namespacesCreate: operationMetadata79,
29773
+ namespacesGet: operationMetadata80,
29774
+ namespacesRemove: operationMetadata81,
29775
+ namespacesUpdate: operationMetadata82,
29776
+ namespacesAssignResource: operationMetadata79,
29777
+ namespacesRemoveResource: operationMetadata81,
29778
+ namespacesGetUsage: operationMetadata80,
29779
+ operationsList: operationMetadata83,
29780
+ operationsGet: operationMetadata84,
29781
+ operationsRetry: operationMetadata85,
29782
+ organizationsCreate: operationMetadata86,
29783
+ organizationsGet: operationMetadata87,
29784
+ organizationsUpdate: operationMetadata88,
29785
+ organizationsCreateAvatarUpload: operationMetadata86,
29786
+ organizationsGetProfile: operationMetadata87,
29787
+ organizationsDelete: operationMetadata86,
29788
+ organizationsGetTrustTier: operationMetadata87,
29789
+ organizationsGetUsage: operationMetadata87,
29790
+ subscriptionsSubscribe: operationMetadata89,
29791
+ templatesList: operationMetadata90,
29792
+ templatesCreate: operationMetadata91,
29793
+ templatesGetById: operationMetadata92,
29794
+ templatesRemove: operationMetadata93,
29795
+ templatesUpdate: operationMetadata94,
29796
+ templatesListInputContracts: operationMetadata90,
29797
+ templatesGetInputContract: operationMetadata92,
29798
+ templatesPublish: operationMetadata91,
29799
+ templatesGetPublication: operationMetadata92,
29800
+ templatesRenderPublication: operationMetadata91,
29801
+ templatesGetGitRepository: operationMetadata92,
29802
+ templatesIssueGitCredential: operationMetadata91,
29803
+ templatesOpenWorkspace: operationMetadata91,
29804
+ templatesPatchWorkspace: operationMetadata94,
29805
+ templatesPutWorkspaceAsset: operationMetadata95,
29806
+ templatesCheckWorkspace: operationMetadata91,
29807
+ templatesResolveWorkspaceConflict: operationMetadata91,
29808
+ templatesDiffWorkspace: operationMetadata91,
29809
+ templatesRenderWorkspaceFixture: operationMetadata91,
29810
+ templatesWorkspaceHistory: operationMetadata92,
29811
+ templatesAttachWorkspaceResource: operationMetadata91,
29812
+ templatesRemoveWorkspaceResource: operationMetadata91,
29813
+ templatesRestoreWorkspace: operationMetadata91,
29814
+ templatesSaveWorkspace: operationMetadata91,
29815
+ templatesListFamilies: operationMetadata90,
29816
+ templatesCreateFamily: operationMetadata91,
29817
+ templatesGetFamily: operationMetadata92,
29818
+ templatesDeleteFamily: operationMetadata93,
29819
+ templatesRenameFamily: operationMetadata94,
29820
+ templatesAttachFamilyMember: operationMetadata91,
29821
+ templatesDetachFamilyMember: operationMetadata93,
29822
+ templatesCreateFamilyFromTemplate: operationMetadata91,
29823
+ templatesCreateFromWebsite: operationMetadata91,
29824
+ templatesAddEntry: operationMetadata91,
29825
+ unsubscribeList: operationMetadata96,
29826
+ unsubscribeCreate: operationMetadata97,
29827
+ unsubscribeRemove: operationMetadata98,
29828
+ unsubscribeUpdate: operationMetadata99,
29829
+ unsubscribeSetDefault: operationMetadata97,
29830
+ unsubscribeListMembers: operationMetadata100,
29831
+ unsubscribeAddMembers: operationMetadata97,
29832
+ unsubscribeRemoveMembers: operationMetadata98,
29833
+ unsubscribeCheckSubscription: operationMetadata96,
29834
+ webhooksList: operationMetadata101,
29835
+ webhooksCreate: operationMetadata102,
29836
+ webhooksGet: operationMetadata103,
29065
29837
  webhooksRemove: {
29066
29838
  group: "Webhooks",
29067
29839
  method: "DELETE",
@@ -29072,12 +29844,12 @@ var SamvaOperations = {
29072
29844
  method: "PATCH",
29073
29845
  paginated: false
29074
29846
  },
29075
- webhooksRetryDelivery: operationMetadata96,
29076
- webhooksGetLogs: operationMetadata95,
29077
- webhooksRegenerateSecret: operationMetadata96,
29078
- webhooksGetSecret: operationMetadata97,
29079
- webhooksGetStats: operationMetadata97,
29080
- webhooksTest: operationMetadata96,
29847
+ webhooksRetryDelivery: operationMetadata102,
29848
+ webhooksGetLogs: operationMetadata101,
29849
+ webhooksRegenerateSecret: operationMetadata102,
29850
+ webhooksGetSecret: operationMetadata103,
29851
+ webhooksGetStats: operationMetadata103,
29852
+ webhooksTest: operationMetadata102,
29081
29853
  whoamiGet: {
29082
29854
  group: "Whoami",
29083
29855
  method: "GET",
@@ -29947,7 +30719,7 @@ var apiKeysCommand = make29("api-keys").pipe(withDescription3("Create, inspect,
29947
30719
 
29948
30720
  // src/commands/brands.ts
29949
30721
  import { join as join3, relative, resolve as resolve5 } from "path";
29950
- // ../../node_modules/.bun/@samva+markup@0.17.3+a19bcd7db259aaf7/node_modules/@samva/markup/dist/dark-scheme-CbCwGDWH.js
30722
+ // ../../node_modules/.bun/@samva+markup@0.18.0+a19bcd7db259aaf7/node_modules/@samva/markup/dist/dark-scheme-CbCwGDWH.js
29951
30723
  var DARK_SCHEME_QUERY = /^(?:only\s+)?(?:screen\s+and\s+)?\(\s*prefers-color-scheme\s*:\s*dark\s*\)$/i;
29952
30724
  var isDarkSchemeQuery = (prelude) => DARK_SCHEME_QUERY.test(prelude.trim());
29953
30725
 
@@ -32367,11 +33139,6 @@ function generateSourceMap(handlers) {
32367
33139
  }
32368
33140
 
32369
33141
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/generator/token-before.js
32370
- var exports_token_before = {};
32371
- __export(exports_token_before, {
32372
- safe: () => safe,
32373
- spec: () => spec
32374
- });
32375
33142
  var PLUSSIGN = 43;
32376
33143
  var HYPHENMINUS = 45;
32377
33144
  var code = (type, value) => {
@@ -33797,17 +34564,6 @@ function createGenericTypes(units) {
33797
34564
  }
33798
34565
 
33799
34566
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/lexer/units.js
33800
- var exports_units = {};
33801
- __export(exports_units, {
33802
- angle: () => angle,
33803
- decibel: () => decibel,
33804
- flex: () => flex,
33805
- frequency: () => frequency,
33806
- length: () => length,
33807
- resolution: () => resolution,
33808
- semitones: () => semitones,
33809
- time: () => time
33810
- });
33811
34567
  var length = [
33812
34568
  "cm",
33813
34569
  "mm",
@@ -35183,13 +35939,6 @@ function matchAsTree(tokens, matchGraph, syntaxes) {
35183
35939
  }
35184
35940
 
35185
35941
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/lexer/trace.js
35186
- var exports_trace = {};
35187
- __export(exports_trace, {
35188
- getTrace: () => getTrace,
35189
- isKeyword: () => isKeyword,
35190
- isProperty: () => isProperty,
35191
- isType: () => isType
35192
- });
35193
35942
  function getTrace(node) {
35194
35943
  function shouldPutToTrace(syntax) {
35195
35944
  if (syntax === null) {
@@ -50525,68 +51274,7 @@ var data_default = {
50525
51274
  properties: patchDictionary(properties_default, data_patch_default.properties)
50526
51275
  };
50527
51276
 
50528
- // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/index.js
50529
- var exports_node = {};
50530
- __export(exports_node, {
50531
- AnPlusB: () => exports_AnPlusB,
50532
- Atrule: () => exports_Atrule,
50533
- AtrulePrelude: () => exports_AtrulePrelude,
50534
- AttributeSelector: () => exports_AttributeSelector,
50535
- Block: () => exports_Block,
50536
- Brackets: () => exports_Brackets,
50537
- CDC: () => exports_CDC,
50538
- CDO: () => exports_CDO,
50539
- ClassSelector: () => exports_ClassSelector,
50540
- Combinator: () => exports_Combinator,
50541
- Comment: () => exports_Comment,
50542
- Condition: () => exports_Condition,
50543
- Declaration: () => exports_Declaration,
50544
- DeclarationList: () => exports_DeclarationList,
50545
- Dimension: () => exports_Dimension,
50546
- Feature: () => exports_Feature,
50547
- FeatureFunction: () => exports_FeatureFunction,
50548
- FeatureRange: () => exports_FeatureRange,
50549
- Function: () => exports_Function2,
50550
- GeneralEnclosed: () => exports_GeneralEnclosed,
50551
- Hash: () => exports_Hash2,
50552
- IdSelector: () => exports_IdSelector,
50553
- Identifier: () => exports_Identifier,
50554
- Layer: () => exports_Layer2,
50555
- LayerList: () => exports_LayerList,
50556
- MediaQuery: () => exports_MediaQuery,
50557
- MediaQueryList: () => exports_MediaQueryList,
50558
- NestingSelector: () => exports_NestingSelector,
50559
- Nth: () => exports_Nth,
50560
- Number: () => exports_Number2,
50561
- Operator: () => exports_Operator,
50562
- Parentheses: () => exports_Parentheses,
50563
- Percentage: () => exports_Percentage,
50564
- PseudoClassSelector: () => exports_PseudoClassSelector,
50565
- PseudoElementSelector: () => exports_PseudoElementSelector,
50566
- Ratio: () => exports_Ratio,
50567
- Raw: () => exports_Raw,
50568
- Rule: () => exports_Rule,
50569
- Scope: () => exports_Scope2,
50570
- Selector: () => exports_Selector,
50571
- SelectorList: () => exports_SelectorList,
50572
- String: () => exports_String2,
50573
- StyleSheet: () => exports_StyleSheet,
50574
- SupportsDeclaration: () => exports_SupportsDeclaration,
50575
- TypeSelector: () => exports_TypeSelector,
50576
- UnicodeRange: () => exports_UnicodeRange,
50577
- Url: () => exports_Url2,
50578
- Value: () => exports_Value,
50579
- WhiteSpace: () => exports_WhiteSpace
50580
- });
50581
-
50582
51277
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/AnPlusB.js
50583
- var exports_AnPlusB = {};
50584
- __export(exports_AnPlusB, {
50585
- generate: () => generate7,
50586
- name: () => name,
50587
- parse: () => parse2,
50588
- structure: () => structure2
50589
- });
50590
51278
  var PLUSSIGN5 = 43;
50591
51279
  var HYPHENMINUS5 = 45;
50592
51280
  var N6 = 110;
@@ -50776,14 +51464,6 @@ function generate7(node) {
50776
51464
  }
50777
51465
  }
50778
51466
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Atrule.js
50779
- var exports_Atrule = {};
50780
- __export(exports_Atrule, {
50781
- generate: () => generate8,
50782
- name: () => name2,
50783
- parse: () => parse3,
50784
- structure: () => structure3,
50785
- walkContext: () => walkContext
50786
- });
50787
51467
  function consumeRaw() {
50788
51468
  return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon, true);
50789
51469
  }
@@ -50855,14 +51535,6 @@ function generate8(node) {
50855
51535
  }
50856
51536
  }
50857
51537
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js
50858
- var exports_AtrulePrelude = {};
50859
- __export(exports_AtrulePrelude, {
50860
- generate: () => generate9,
50861
- name: () => name3,
50862
- parse: () => parse4,
50863
- structure: () => structure4,
50864
- walkContext: () => walkContext2
50865
- });
50866
51538
  var name3 = "AtrulePrelude";
50867
51539
  var walkContext2 = "atrulePrelude";
50868
51540
  var structure4 = {
@@ -50893,13 +51565,6 @@ function generate9(node) {
50893
51565
  this.children(node);
50894
51566
  }
50895
51567
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/AttributeSelector.js
50896
- var exports_AttributeSelector = {};
50897
- __export(exports_AttributeSelector, {
50898
- generate: () => generate10,
50899
- name: () => name4,
50900
- parse: () => parse5,
50901
- structure: () => structure5
50902
- });
50903
51568
  var DOLLARSIGN = 36;
50904
51569
  var ASTERISK2 = 42;
50905
51570
  var EQUALSSIGN = 61;
@@ -51001,14 +51666,6 @@ function generate10(node) {
51001
51666
  this.token(Delim, "]");
51002
51667
  }
51003
51668
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Block.js
51004
- var exports_Block = {};
51005
- __export(exports_Block, {
51006
- generate: () => generate11,
51007
- name: () => name5,
51008
- parse: () => parse6,
51009
- structure: () => structure6,
51010
- walkContext: () => walkContext3
51011
- });
51012
51669
  var AMPERSAND2 = 38;
51013
51670
  function consumeRaw2() {
51014
51671
  return this.Raw(null, true);
@@ -51082,13 +51739,6 @@ function generate11(node) {
51082
51739
  this.token(RightCurlyBracket, "}");
51083
51740
  }
51084
51741
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Brackets.js
51085
- var exports_Brackets = {};
51086
- __export(exports_Brackets, {
51087
- generate: () => generate12,
51088
- name: () => name6,
51089
- parse: () => parse7,
51090
- structure: () => structure7
51091
- });
51092
51742
  var name6 = "Brackets";
51093
51743
  var structure7 = {
51094
51744
  children: [[]]
@@ -51113,13 +51763,6 @@ function generate12(node) {
51113
51763
  this.token(Delim, "]");
51114
51764
  }
51115
51765
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/CDC.js
51116
- var exports_CDC = {};
51117
- __export(exports_CDC, {
51118
- generate: () => generate13,
51119
- name: () => name7,
51120
- parse: () => parse8,
51121
- structure: () => structure8
51122
- });
51123
51766
  var name7 = "CDC";
51124
51767
  var structure8 = [];
51125
51768
  function parse8() {
@@ -51134,13 +51777,6 @@ function generate13() {
51134
51777
  this.token(CDC, "-->");
51135
51778
  }
51136
51779
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/CDO.js
51137
- var exports_CDO = {};
51138
- __export(exports_CDO, {
51139
- generate: () => generate14,
51140
- name: () => name8,
51141
- parse: () => parse9,
51142
- structure: () => structure9
51143
- });
51144
51780
  var name8 = "CDO";
51145
51781
  var structure9 = [];
51146
51782
  function parse9() {
@@ -51155,13 +51791,6 @@ function generate14() {
51155
51791
  this.token(CDO, "<!--");
51156
51792
  }
51157
51793
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/ClassSelector.js
51158
- var exports_ClassSelector = {};
51159
- __export(exports_ClassSelector, {
51160
- generate: () => generate15,
51161
- name: () => name9,
51162
- parse: () => parse10,
51163
- structure: () => structure10
51164
- });
51165
51794
  var FULLSTOP = 46;
51166
51795
  var name9 = "ClassSelector";
51167
51796
  var structure10 = {
@@ -51180,13 +51809,6 @@ function generate15(node) {
51180
51809
  this.token(Ident, node.name);
51181
51810
  }
51182
51811
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Combinator.js
51183
- var exports_Combinator = {};
51184
- __export(exports_Combinator, {
51185
- generate: () => generate16,
51186
- name: () => name10,
51187
- parse: () => parse11,
51188
- structure: () => structure11
51189
- });
51190
51812
  var PLUSSIGN6 = 43;
51191
51813
  var SOLIDUS = 47;
51192
51814
  var GREATERTHANSIGN2 = 62;
@@ -51230,13 +51852,6 @@ function generate16(node) {
51230
51852
  this.tokenize(node.name);
51231
51853
  }
51232
51854
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Comment.js
51233
- var exports_Comment = {};
51234
- __export(exports_Comment, {
51235
- generate: () => generate17,
51236
- name: () => name11,
51237
- parse: () => parse12,
51238
- structure: () => structure12
51239
- });
51240
51855
  var ASTERISK3 = 42;
51241
51856
  var SOLIDUS2 = 47;
51242
51857
  var name11 = "Comment";
@@ -51260,13 +51875,6 @@ function generate17(node) {
51260
51875
  this.token(Comment, "/*" + node.value + "*/");
51261
51876
  }
51262
51877
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Condition.js
51263
- var exports_Condition = {};
51264
- __export(exports_Condition, {
51265
- generate: () => generate18,
51266
- name: () => name12,
51267
- parse: () => parse13,
51268
- structure: () => structure13
51269
- });
51270
51878
  var likelyFeatureToken = new Set([Colon, RightParenthesis, EOF]);
51271
51879
  var name12 = "Condition";
51272
51880
  var structure13 = {
@@ -51353,14 +51961,6 @@ function generate18(node) {
51353
51961
  });
51354
51962
  }
51355
51963
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Declaration.js
51356
- var exports_Declaration = {};
51357
- __export(exports_Declaration, {
51358
- generate: () => generate19,
51359
- name: () => name13,
51360
- parse: () => parse14,
51361
- structure: () => structure14,
51362
- walkContext: () => walkContext4
51363
- });
51364
51964
  var EXCLAMATIONMARK3 = 33;
51365
51965
  var NUMBERSIGN3 = 35;
51366
51966
  var DOLLARSIGN2 = 36;
@@ -51478,13 +52078,6 @@ function getImportant() {
51478
52078
  return important === "important" ? true : important;
51479
52079
  }
51480
52080
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/DeclarationList.js
51481
- var exports_DeclarationList = {};
51482
- __export(exports_DeclarationList, {
51483
- generate: () => generate20,
51484
- name: () => name14,
51485
- parse: () => parse15,
51486
- structure: () => structure15
51487
- });
51488
52081
  var AMPERSAND4 = 38;
51489
52082
  function consumeRaw3() {
51490
52083
  return this.Raw(this.consumeUntilSemicolonIncluded, true);
@@ -51532,13 +52125,6 @@ function generate20(node) {
51532
52125
  });
51533
52126
  }
51534
52127
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Dimension.js
51535
- var exports_Dimension = {};
51536
- __export(exports_Dimension, {
51537
- generate: () => generate21,
51538
- name: () => name15,
51539
- parse: () => parse16,
51540
- structure: () => structure16
51541
- });
51542
52128
  var name15 = "Dimension";
51543
52129
  var structure16 = {
51544
52130
  value: String,
@@ -51558,13 +52144,6 @@ function generate21(node) {
51558
52144
  this.token(Dimension, node.value + node.unit);
51559
52145
  }
51560
52146
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Feature.js
51561
- var exports_Feature = {};
51562
- __export(exports_Feature, {
51563
- generate: () => generate22,
51564
- name: () => name16,
51565
- parse: () => parse17,
51566
- structure: () => structure17
51567
- });
51568
52147
  var SOLIDUS4 = 47;
51569
52148
  var name16 = "Feature";
51570
52149
  var structure17 = {
@@ -51635,13 +52214,6 @@ function generate22(node) {
51635
52214
  this.token(RightParenthesis, ")");
51636
52215
  }
51637
52216
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/FeatureFunction.js
51638
- var exports_FeatureFunction = {};
51639
- __export(exports_FeatureFunction, {
51640
- generate: () => generate23,
51641
- name: () => name17,
51642
- parse: () => parse18,
51643
- structure: () => structure18
51644
- });
51645
52217
  var name17 = "FeatureFunction";
51646
52218
  var structure18 = {
51647
52219
  kind: String,
@@ -51686,13 +52258,6 @@ function generate23(node) {
51686
52258
  this.token(RightParenthesis, ")");
51687
52259
  }
51688
52260
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/FeatureRange.js
51689
- var exports_FeatureRange = {};
51690
- __export(exports_FeatureRange, {
51691
- generate: () => generate24,
51692
- name: () => name18,
51693
- parse: () => parse19,
51694
- structure: () => structure19
51695
- });
51696
52261
  var SOLIDUS5 = 47;
51697
52262
  var LESSTHANSIGN2 = 60;
51698
52263
  var EQUALSSIGN2 = 61;
@@ -51788,14 +52353,6 @@ function generate24(node) {
51788
52353
  this.token(RightParenthesis, ")");
51789
52354
  }
51790
52355
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Function.js
51791
- var exports_Function2 = {};
51792
- __export(exports_Function2, {
51793
- generate: () => generate25,
51794
- name: () => name19,
51795
- parse: () => parse20,
51796
- structure: () => structure20,
51797
- walkContext: () => walkContext5
51798
- });
51799
52356
  var name19 = "Function";
51800
52357
  var walkContext5 = "function";
51801
52358
  var structure20 = {
@@ -51824,13 +52381,6 @@ function generate25(node) {
51824
52381
  this.token(RightParenthesis, ")");
51825
52382
  }
51826
52383
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/GeneralEnclosed.js
51827
- var exports_GeneralEnclosed = {};
51828
- __export(exports_GeneralEnclosed, {
51829
- generate: () => generate26,
51830
- name: () => name20,
51831
- parse: () => parse21,
51832
- structure: () => structure21
51833
- });
51834
52384
  var name20 = "GeneralEnclosed";
51835
52385
  var structure21 = {
51836
52386
  kind: String,
@@ -51874,14 +52424,6 @@ function generate26(node) {
51874
52424
  this.token(RightParenthesis, ")");
51875
52425
  }
51876
52426
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Hash.js
51877
- var exports_Hash2 = {};
51878
- __export(exports_Hash2, {
51879
- generate: () => generate27,
51880
- name: () => name21,
51881
- parse: () => parse22,
51882
- structure: () => structure22,
51883
- xxx: () => xxx
51884
- });
51885
52427
  var xxx = "XXX";
51886
52428
  var name21 = "Hash";
51887
52429
  var structure22 = {
@@ -51900,13 +52442,6 @@ function generate27(node) {
51900
52442
  this.token(Hash, "#" + node.value);
51901
52443
  }
51902
52444
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Identifier.js
51903
- var exports_Identifier = {};
51904
- __export(exports_Identifier, {
51905
- generate: () => generate28,
51906
- name: () => name22,
51907
- parse: () => parse23,
51908
- structure: () => structure23
51909
- });
51910
52445
  var name22 = "Identifier";
51911
52446
  var structure23 = {
51912
52447
  name: String
@@ -51922,13 +52457,6 @@ function generate28(node) {
51922
52457
  this.token(Ident, node.name);
51923
52458
  }
51924
52459
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/IdSelector.js
51925
- var exports_IdSelector = {};
51926
- __export(exports_IdSelector, {
51927
- generate: () => generate29,
51928
- name: () => name23,
51929
- parse: () => parse24,
51930
- structure: () => structure24
51931
- });
51932
52460
  var name23 = "IdSelector";
51933
52461
  var structure24 = {
51934
52462
  name: String
@@ -51946,13 +52474,6 @@ function generate29(node) {
51946
52474
  this.token(Delim, "#" + node.name);
51947
52475
  }
51948
52476
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Layer.js
51949
- var exports_Layer2 = {};
51950
- __export(exports_Layer2, {
51951
- generate: () => generate30,
51952
- name: () => name24,
51953
- parse: () => parse25,
51954
- structure: () => structure25
51955
- });
51956
52477
  var FULLSTOP2 = 46;
51957
52478
  var name24 = "Layer";
51958
52479
  var structure25 = {
@@ -51975,13 +52496,6 @@ function generate30(node) {
51975
52496
  this.tokenize(node.name);
51976
52497
  }
51977
52498
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/LayerList.js
51978
- var exports_LayerList = {};
51979
- __export(exports_LayerList, {
51980
- generate: () => generate31,
51981
- name: () => name25,
51982
- parse: () => parse26,
51983
- structure: () => structure26
51984
- });
51985
52499
  var name25 = "LayerList";
51986
52500
  var structure26 = {
51987
52501
  children: [[
@@ -52010,13 +52524,6 @@ function generate31(node) {
52010
52524
  this.children(node, () => this.token(Comma, ","));
52011
52525
  }
52012
52526
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/MediaQuery.js
52013
- var exports_MediaQuery = {};
52014
- __export(exports_MediaQuery, {
52015
- generate: () => generate32,
52016
- name: () => name26,
52017
- parse: () => parse27,
52018
- structure: () => structure27
52019
- });
52020
52527
  var name26 = "MediaQuery";
52021
52528
  var structure27 = {
52022
52529
  modifier: [String, null],
@@ -52093,13 +52600,6 @@ function generate32(node) {
52093
52600
  }
52094
52601
  }
52095
52602
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/MediaQueryList.js
52096
- var exports_MediaQueryList = {};
52097
- __export(exports_MediaQueryList, {
52098
- generate: () => generate33,
52099
- name: () => name27,
52100
- parse: () => parse28,
52101
- structure: () => structure28
52102
- });
52103
52603
  var name27 = "MediaQueryList";
52104
52604
  var structure28 = {
52105
52605
  children: [[
@@ -52126,13 +52626,6 @@ function generate33(node) {
52126
52626
  this.children(node, () => this.token(Comma, ","));
52127
52627
  }
52128
52628
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/NestingSelector.js
52129
- var exports_NestingSelector = {};
52130
- __export(exports_NestingSelector, {
52131
- generate: () => generate34,
52132
- name: () => name28,
52133
- parse: () => parse29,
52134
- structure: () => structure29
52135
- });
52136
52629
  var AMPERSAND5 = 38;
52137
52630
  var name28 = "NestingSelector";
52138
52631
  var structure29 = {};
@@ -52148,13 +52641,6 @@ function generate34() {
52148
52641
  this.token(Delim, "&");
52149
52642
  }
52150
52643
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Nth.js
52151
- var exports_Nth = {};
52152
- __export(exports_Nth, {
52153
- generate: () => generate35,
52154
- name: () => name29,
52155
- parse: () => parse30,
52156
- structure: () => structure30
52157
- });
52158
52644
  var name29 = "Nth";
52159
52645
  var structure30 = {
52160
52646
  nth: ["AnPlusB", "Identifier"],
@@ -52193,13 +52679,6 @@ function generate35(node) {
52193
52679
  }
52194
52680
  }
52195
52681
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Number.js
52196
- var exports_Number2 = {};
52197
- __export(exports_Number2, {
52198
- generate: () => generate36,
52199
- name: () => name30,
52200
- parse: () => parse31,
52201
- structure: () => structure31
52202
- });
52203
52682
  var name30 = "Number";
52204
52683
  var structure31 = {
52205
52684
  value: String
@@ -52215,13 +52694,6 @@ function generate36(node) {
52215
52694
  this.token(Number8, node.value);
52216
52695
  }
52217
52696
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Operator.js
52218
- var exports_Operator = {};
52219
- __export(exports_Operator, {
52220
- generate: () => generate37,
52221
- name: () => name31,
52222
- parse: () => parse32,
52223
- structure: () => structure32
52224
- });
52225
52697
  var name31 = "Operator";
52226
52698
  var structure32 = {
52227
52699
  value: String
@@ -52239,13 +52711,6 @@ function generate37(node) {
52239
52711
  this.tokenize(node.value);
52240
52712
  }
52241
52713
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Parentheses.js
52242
- var exports_Parentheses = {};
52243
- __export(exports_Parentheses, {
52244
- generate: () => generate38,
52245
- name: () => name32,
52246
- parse: () => parse33,
52247
- structure: () => structure33
52248
- });
52249
52714
  var name32 = "Parentheses";
52250
52715
  var structure33 = {
52251
52716
  children: [[]]
@@ -52270,13 +52735,6 @@ function generate38(node) {
52270
52735
  this.token(RightParenthesis, ")");
52271
52736
  }
52272
52737
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Percentage.js
52273
- var exports_Percentage = {};
52274
- __export(exports_Percentage, {
52275
- generate: () => generate39,
52276
- name: () => name33,
52277
- parse: () => parse34,
52278
- structure: () => structure34
52279
- });
52280
52738
  var name33 = "Percentage";
52281
52739
  var structure34 = {
52282
52740
  value: String
@@ -52292,14 +52750,6 @@ function generate39(node) {
52292
52750
  this.token(Percentage, node.value + "%");
52293
52751
  }
52294
52752
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js
52295
- var exports_PseudoClassSelector = {};
52296
- __export(exports_PseudoClassSelector, {
52297
- generate: () => generate40,
52298
- name: () => name34,
52299
- parse: () => parse35,
52300
- structure: () => structure35,
52301
- walkContext: () => walkContext6
52302
- });
52303
52753
  var name34 = "PseudoClassSelector";
52304
52754
  var walkContext6 = "function";
52305
52755
  var structure35 = {
@@ -52347,14 +52797,6 @@ function generate40(node) {
52347
52797
  }
52348
52798
  }
52349
52799
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js
52350
- var exports_PseudoElementSelector = {};
52351
- __export(exports_PseudoElementSelector, {
52352
- generate: () => generate41,
52353
- name: () => name35,
52354
- parse: () => parse36,
52355
- structure: () => structure36,
52356
- walkContext: () => walkContext7
52357
- });
52358
52800
  var name35 = "PseudoElementSelector";
52359
52801
  var walkContext7 = "function";
52360
52802
  var structure36 = {
@@ -52404,13 +52846,6 @@ function generate41(node) {
52404
52846
  }
52405
52847
  }
52406
52848
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Ratio.js
52407
- var exports_Ratio = {};
52408
- __export(exports_Ratio, {
52409
- generate: () => generate42,
52410
- name: () => name36,
52411
- parse: () => parse37,
52412
- structure: () => structure37
52413
- });
52414
52849
  var SOLIDUS6 = 47;
52415
52850
  function consumeTerm() {
52416
52851
  this.skipSC();
@@ -52454,13 +52889,6 @@ function generate42(node) {
52454
52889
  }
52455
52890
  }
52456
52891
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Raw.js
52457
- var exports_Raw = {};
52458
- __export(exports_Raw, {
52459
- generate: () => generate43,
52460
- name: () => name37,
52461
- parse: () => parse38,
52462
- structure: () => structure38
52463
- });
52464
52892
  function getOffsetExcludeWS() {
52465
52893
  if (this.tokenIndex > 0) {
52466
52894
  if (this.lookupType(-1) === WhiteSpace) {
@@ -52492,14 +52920,6 @@ function generate43(node) {
52492
52920
  this.tokenize(node.value);
52493
52921
  }
52494
52922
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Rule.js
52495
- var exports_Rule = {};
52496
- __export(exports_Rule, {
52497
- generate: () => generate44,
52498
- name: () => name38,
52499
- parse: () => parse39,
52500
- structure: () => structure39,
52501
- walkContext: () => walkContext8
52502
- });
52503
52923
  function consumeRaw4() {
52504
52924
  return this.Raw(this.consumeUntilLeftCurlyBracket, true);
52505
52925
  }
@@ -52539,13 +52959,6 @@ function generate44(node) {
52539
52959
  this.node(node.block);
52540
52960
  }
52541
52961
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Scope.js
52542
- var exports_Scope2 = {};
52543
- __export(exports_Scope2, {
52544
- generate: () => generate45,
52545
- name: () => name39,
52546
- parse: () => parse40,
52547
- structure: () => structure40
52548
- });
52549
52962
  var name39 = "Scope";
52550
52963
  var structure40 = {
52551
52964
  root: ["SelectorList", "Raw", null],
@@ -52594,13 +53007,6 @@ function generate45(node) {
52594
53007
  }
52595
53008
  }
52596
53009
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Selector.js
52597
- var exports_Selector = {};
52598
- __export(exports_Selector, {
52599
- generate: () => generate46,
52600
- name: () => name40,
52601
- parse: () => parse41,
52602
- structure: () => structure41
52603
- });
52604
53010
  var name40 = "Selector";
52605
53011
  var structure41 = {
52606
53012
  children: [[
@@ -52628,14 +53034,6 @@ function generate46(node) {
52628
53034
  this.children(node);
52629
53035
  }
52630
53036
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/SelectorList.js
52631
- var exports_SelectorList = {};
52632
- __export(exports_SelectorList, {
52633
- generate: () => generate47,
52634
- name: () => name41,
52635
- parse: () => parse42,
52636
- structure: () => structure42,
52637
- walkContext: () => walkContext9
52638
- });
52639
53037
  var name41 = "SelectorList";
52640
53038
  var walkContext9 = "selector";
52641
53039
  var structure42 = {
@@ -52663,15 +53061,6 @@ function parse42() {
52663
53061
  function generate47(node) {
52664
53062
  this.children(node, () => this.token(Comma, ","));
52665
53063
  }
52666
- // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/String.js
52667
- var exports_String2 = {};
52668
- __export(exports_String2, {
52669
- generate: () => generate48,
52670
- name: () => name42,
52671
- parse: () => parse43,
52672
- structure: () => structure43
52673
- });
52674
-
52675
53064
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/utils/string.js
52676
53065
  var REVERSE_SOLIDUS = 92;
52677
53066
  var QUOTATION_MARK = 34;
@@ -52754,14 +53143,6 @@ function generate48(node) {
52754
53143
  this.token(String11, encode4(node.value));
52755
53144
  }
52756
53145
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/StyleSheet.js
52757
- var exports_StyleSheet = {};
52758
- __export(exports_StyleSheet, {
52759
- generate: () => generate49,
52760
- name: () => name43,
52761
- parse: () => parse44,
52762
- structure: () => structure44,
52763
- walkContext: () => walkContext10
52764
- });
52765
53146
  var EXCLAMATIONMARK4 = 33;
52766
53147
  function consumeRaw5() {
52767
53148
  return this.Raw(null, false);
@@ -52819,13 +53200,6 @@ function generate49(node) {
52819
53200
  this.children(node);
52820
53201
  }
52821
53202
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/SupportsDeclaration.js
52822
- var exports_SupportsDeclaration = {};
52823
- __export(exports_SupportsDeclaration, {
52824
- generate: () => generate50,
52825
- name: () => name44,
52826
- parse: () => parse45,
52827
- structure: () => structure45
52828
- });
52829
53203
  var name44 = "SupportsDeclaration";
52830
53204
  var structure45 = {
52831
53205
  declaration: "Declaration"
@@ -52850,13 +53224,6 @@ function generate50(node) {
52850
53224
  this.token(RightParenthesis, ")");
52851
53225
  }
52852
53226
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/TypeSelector.js
52853
- var exports_TypeSelector = {};
52854
- __export(exports_TypeSelector, {
52855
- generate: () => generate51,
52856
- name: () => name45,
52857
- parse: () => parse46,
52858
- structure: () => structure46
52859
- });
52860
53227
  var ASTERISK5 = 42;
52861
53228
  var VERTICALLINE3 = 124;
52862
53229
  function eatIdentifierOrAsterisk() {
@@ -52891,13 +53258,6 @@ function generate51(node) {
52891
53258
  this.tokenize(node.name);
52892
53259
  }
52893
53260
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/UnicodeRange.js
52894
- var exports_UnicodeRange = {};
52895
- __export(exports_UnicodeRange, {
52896
- generate: () => generate52,
52897
- name: () => name46,
52898
- parse: () => parse47,
52899
- structure: () => structure47
52900
- });
52901
53261
  var PLUSSIGN8 = 43;
52902
53262
  var HYPHENMINUS6 = 45;
52903
53263
  var QUESTIONMARK3 = 63;
@@ -52988,15 +53348,6 @@ function parse47() {
52988
53348
  function generate52(node) {
52989
53349
  this.tokenize(node.value);
52990
53350
  }
52991
- // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Url.js
52992
- var exports_Url2 = {};
52993
- __export(exports_Url2, {
52994
- generate: () => generate53,
52995
- name: () => name47,
52996
- parse: () => parse48,
52997
- structure: () => structure48
52998
- });
52999
-
53000
53351
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/utils/url.js
53001
53352
  var SPACE4 = 32;
53002
53353
  var REVERSE_SOLIDUS2 = 92;
@@ -53106,13 +53457,6 @@ function generate53(node) {
53106
53457
  this.token(Url, encode5(node.value));
53107
53458
  }
53108
53459
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Value.js
53109
- var exports_Value = {};
53110
- __export(exports_Value, {
53111
- generate: () => generate54,
53112
- name: () => name48,
53113
- parse: () => parse49,
53114
- structure: () => structure49
53115
- });
53116
53460
  var name48 = "Value";
53117
53461
  var structure49 = {
53118
53462
  children: [[]]
@@ -53130,13 +53474,6 @@ function generate54(node) {
53130
53474
  this.children(node);
53131
53475
  }
53132
53476
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/WhiteSpace.js
53133
- var exports_WhiteSpace = {};
53134
- __export(exports_WhiteSpace, {
53135
- generate: () => generate55,
53136
- name: () => name49,
53137
- parse: () => parse50,
53138
- structure: () => structure50
53139
- });
53140
53477
  var SPACE5 = Object.freeze({
53141
53478
  type: "WhiteSpace",
53142
53479
  loc: null,
@@ -53161,14 +53498,6 @@ var lexer_default = {
53161
53498
  node: exports_node
53162
53499
  };
53163
53500
 
53164
- // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/scope/index.js
53165
- var exports_scope = {};
53166
- __export(exports_scope, {
53167
- AtrulePrelude: () => atrulePrelude_default,
53168
- Selector: () => selector_default,
53169
- Value: () => value_default
53170
- });
53171
-
53172
53501
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/scope/default.js
53173
53502
  var NUMBERSIGN4 = 35;
53174
53503
  var ASTERISK6 = 42;
@@ -53599,61 +53928,6 @@ var pseudo_default = {
53599
53928
  host: selector,
53600
53929
  "host-context": selector
53601
53930
  };
53602
-
53603
- // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/index-parse.js
53604
- var exports_index_parse = {};
53605
- __export(exports_index_parse, {
53606
- AnPlusB: () => parse2,
53607
- Atrule: () => parse3,
53608
- AtrulePrelude: () => parse4,
53609
- AttributeSelector: () => parse5,
53610
- Block: () => parse6,
53611
- Brackets: () => parse7,
53612
- CDC: () => parse8,
53613
- CDO: () => parse9,
53614
- ClassSelector: () => parse10,
53615
- Combinator: () => parse11,
53616
- Comment: () => parse12,
53617
- Condition: () => parse13,
53618
- Declaration: () => parse14,
53619
- DeclarationList: () => parse15,
53620
- Dimension: () => parse16,
53621
- Feature: () => parse17,
53622
- FeatureFunction: () => parse18,
53623
- FeatureRange: () => parse19,
53624
- Function: () => parse20,
53625
- GeneralEnclosed: () => parse21,
53626
- Hash: () => parse22,
53627
- IdSelector: () => parse24,
53628
- Identifier: () => parse23,
53629
- Layer: () => parse25,
53630
- LayerList: () => parse26,
53631
- MediaQuery: () => parse27,
53632
- MediaQueryList: () => parse28,
53633
- NestingSelector: () => parse29,
53634
- Nth: () => parse30,
53635
- Number: () => parse31,
53636
- Operator: () => parse32,
53637
- Parentheses: () => parse33,
53638
- Percentage: () => parse34,
53639
- PseudoClassSelector: () => parse35,
53640
- PseudoElementSelector: () => parse36,
53641
- Ratio: () => parse37,
53642
- Raw: () => parse38,
53643
- Rule: () => parse39,
53644
- Scope: () => parse40,
53645
- Selector: () => parse41,
53646
- SelectorList: () => parse42,
53647
- String: () => parse43,
53648
- StyleSheet: () => parse44,
53649
- SupportsDeclaration: () => parse45,
53650
- TypeSelector: () => parse46,
53651
- UnicodeRange: () => parse47,
53652
- Url: () => parse48,
53653
- Value: () => parse49,
53654
- WhiteSpace: () => parse50
53655
- });
53656
-
53657
53931
  // ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/config/parser.js
53658
53932
  var parser_default = {
53659
53933
  parseContext: {
@@ -53723,7 +53997,7 @@ var {
53723
53997
  fork
53724
53998
  } = syntax_default;
53725
53999
 
53726
- // ../../node_modules/.bun/@samva+markup@0.17.3+a19bcd7db259aaf7/node_modules/@samva/markup/dist/theme-css-P9F5S7Ic.js
54000
+ // ../../node_modules/.bun/@samva+markup@0.18.0+a19bcd7db259aaf7/node_modules/@samva/markup/dist/theme-css-P9F5S7Ic.js
53727
54001
  var BRAND_NAMESPACES = [
53728
54002
  "--color-",
53729
54003
  "--font-",
@@ -54000,7 +54274,7 @@ var DEFAULT_THEME = {
54000
54274
  fontFaces: []
54001
54275
  };
54002
54276
  var DEFAULT_THEME_CSS = printBrandCss(DEFAULT_THEME);
54003
- // ../../node_modules/.bun/@samva+markup@0.17.3+a19bcd7db259aaf7/node_modules/@samva/markup/dist/diagnostic-codes-DZKb0Xcg.js
54277
+ // ../../node_modules/.bun/@samva+markup@0.18.0+a19bcd7db259aaf7/node_modules/@samva/markup/dist/diagnostic-codes-DZKb0Xcg.js
54004
54278
  var buildLineMap = (source) => {
54005
54279
  const lineStarts = [0];
54006
54280
  for (let index = 0;index < source.length; index++) {
@@ -54716,12 +54990,14 @@ var pull = make29("pull", {
54716
54990
  var push = make29("push", {
54717
54991
  file: String10("file").pipe(withDescription4("Brand CSS file to upload")),
54718
54992
  brand: String9("brand").pipe(withDescription2("Slug of the brand to update; defaults to the organization's default brand"), optional4),
54993
+ name: String9("name").pipe(withDescription2("Also set the brand's display name"), optional4),
54719
54994
  dryRun: Boolean6("dry-run").pipe(withDescription2("Validate the CSS locally without uploading it"), withDefault5(false)),
54720
54995
  json: jsonFlag
54721
54996
  }).pipe(withDescription3("Validate brand CSS locally and replace a brand's CSS with it. Published templates keep their brand until republished."), withExamples([
54722
54997
  { command: "samva brands push brand.css", description: "Update the default brand's CSS" },
54723
- { command: "samva brands push brand.css --brand acme --dry-run" }
54724
- ]), withHandler(({ file, brand, dryRun, json }) => gen2(function* () {
54998
+ { command: "samva brands push brand.css --brand acme --dry-run" },
54999
+ { command: 'samva brands push brand.css --name "Acme"', description: "Also rename the brand" }
55000
+ ]), withHandler(({ file, brand, name, dryRun, json }) => gen2(function* () {
54725
55001
  const fs = yield* FileSystem;
54726
55002
  const css = yield* fs.readFileString(file).pipe(mapError2(() => new CliUsageError({
54727
55003
  code: "brand_css_unreadable",
@@ -54762,7 +55038,11 @@ var push = make29("push", {
54762
55038
  }
54763
55039
  const slug = named ?? (yield* fetchBrand(undefined)).slug;
54764
55040
  const client = yield* getClientProvider;
54765
- const updated = yield* update4({ slug, css }).pipe(client.provide, mapError2(apiFailure(`Could not update brand ${slug}`)));
55041
+ const updated = yield* update4({
55042
+ slug,
55043
+ css,
55044
+ ...isSome2(name) ? { name: name.value } : {}
55045
+ }).pipe(client.provide, mapError2(apiFailure(`Could not update brand ${slug}`)));
54766
55046
  const result = {
54767
55047
  action: "brands.push",
54768
55048
  file,
@@ -57472,6 +57752,7 @@ var CustomTrackingStatus = /* @__PURE__ */ Struct({
57472
57752
  ]),
57473
57753
  label: String4,
57474
57754
  hostname: String4,
57755
+ parentDomain: String4,
57475
57756
  region: String4,
57476
57757
  sslStatus: Union2([String4, Null2]),
57477
57758
  certificate: Union2([CustomTrackingCertificate, Null2]),
@@ -57482,7 +57763,8 @@ var CustomTrackingStatus = /* @__PURE__ */ Struct({
57482
57763
  caaBlocked: Boolean3,
57483
57764
  verificationErrors: ArraySchema(String4),
57484
57765
  teardownScheduledAt: Union2([String4, Null2])
57485
- }), Null2])
57766
+ }), Null2]),
57767
+ parentDomains: ArraySchema(String4)
57486
57768
  }).annotate({ identifier: "CustomTrackingStatus" });
57487
57769
  var DomainWarmingPlan = /* @__PURE__ */ Struct({
57488
57770
  id: EmailDomainWarmingPlanId2,
@@ -58144,7 +58426,10 @@ var EmailGetCustomTracking422 = ValidationError2;
58144
58426
  var EmailGetCustomTracking500 = InternalError2;
58145
58427
  var EmailGetCustomTracking504 = GatewayTimeoutError2;
58146
58428
  var EmailEnableCustomTrackingPathParams = /* @__PURE__ */ Struct({ id: EmailDomainId2 });
58147
- var EmailEnableCustomTrackingRequestJson = /* @__PURE__ */ Struct({ label: optionalKey2(Union2([String4, Null2])) });
58429
+ var EmailEnableCustomTrackingRequestJson = /* @__PURE__ */ Struct({
58430
+ label: optionalKey2(Union2([String4.annotate({ description: "First label of the tracking host. Defaults to `track`." }), Null2])),
58431
+ parentDomain: optionalKey2(Union2([String4.annotate({ description: "Domain the tracking host sits directly under: the sending domain (the default) or one of its parents up to its registrable domain, listed in `parentDomains`." }), Null2]))
58432
+ });
58148
58433
  var EmailEnableCustomTracking200 = CustomTrackingStatus;
58149
58434
  var EmailEnableCustomTracking401 = UnauthorizedError2;
58150
58435
  var EmailEnableCustomTracking403 = ForbiddenError2;
@@ -58925,7 +59210,7 @@ var EmailGroup = class extends make37("Email").add(get5("emailListBlocks", "/v1/
58925
59210
  EmailEnableCustomTracking502.pipe(status(502)),
58926
59211
  EmailEnableCustomTracking504.pipe(status(504))
58927
59212
  ]
58928
- }).middleware(ApiKeySecurityMiddleware).annotate(Identifier, "email.enableCustomTracking").annotate(Summary, "Enable a custom tracking domain").annotate(Description, "Provisions a custom tracking domain (default label `track`) for a verified sending domain so open/click links redirect through the customer's own subdomain. Requires a plan that includes custom tracking domains. Returns the resulting state including the two DNS records the customer must create."), del("emailDisableCustomTracking", "/v1/email/domains/:id/custom-tracking", {
59213
+ }).middleware(ApiKeySecurityMiddleware).annotate(Identifier, "email.enableCustomTracking").annotate(Summary, "Enable a custom tracking domain").annotate(Description, "Provisions a custom tracking domain for a verified sending domain so open/click links redirect through the customer's own host, `<label>.<parentDomain>` (default `track.<sending domain>`). `parentDomain` may be a parent of the sending domain, so `send.example.com` can use `track.example.com`. Calling it again with a different label or parent moves the host. Requires a plan that includes custom tracking domains. Returns the resulting state including the two DNS records the customer must create; a hostname another domain already uses is a conflict."), del("emailDisableCustomTracking", "/v1/email/domains/:id/custom-tracking", {
58929
59214
  params: EmailDisableCustomTrackingPathParams,
58930
59215
  success: EmailDisableCustomTracking200,
58931
59216
  error: [
@@ -59877,7 +60162,8 @@ var MessageSubmission2 = /* @__PURE__ */ Struct({
59877
60162
  Literal2("scheduled"),
59878
60163
  Literal2("mailbox"),
59879
60164
  Literal2("forwarding"),
59880
- Literal2("journey")
60165
+ Literal2("journey"),
60166
+ Literal2("businessApp")
59881
60167
  ]),
59882
60168
  transport: Union2([Literal2("http"), Null2]),
59883
60169
  credential: Union2([SubmissionCredential2, Null2]),
@@ -60624,7 +60910,13 @@ var OrganizationsGetUsage200 = /* @__PURE__ */ Struct({
60624
60910
  includedAiCredits: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2]),
60625
60911
  usedAiCredits: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2]),
60626
60912
  overageAiCredits: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2]),
60627
- overageAiCost: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2])
60913
+ overageAiCost: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2]),
60914
+ aiPackCredits: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2]),
60915
+ aiResetsAt: Union2([String4, Null2]),
60916
+ creditsResetsAt: Union2([String4, Null2]),
60917
+ standardGranted: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2]),
60918
+ standardRemaining: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2]),
60919
+ standardResetsAt: Union2([String4, Null2])
60628
60920
  })
60629
60921
  });
60630
60922
  var OrganizationsGetUsage401 = UnauthorizedError2;
@@ -61144,26 +61436,31 @@ Create these DNS records:`);
61144
61436
  });
61145
61437
  var customEnable = make29("enable", {
61146
61438
  id: String10("id").pipe(withDescription4("Domain id to enable custom tracking for")),
61147
- label: String9("label").pipe(withDescription2("First-level label under the domain (default: track)"), optional4),
61439
+ label: String9("label").pipe(withDescription2("First-level label under the parent domain (default: track)"), optional4),
61440
+ parent: String9("parent").pipe(withDescription2("Parent domain for the tracking host (default: sending domain)"), optional4),
61148
61441
  dryRun: Boolean6("dry-run").pipe(withDescription2("Print the planned change without calling the API"), withDefault5(false)),
61149
61442
  json: jsonFlag
61150
61443
  }).pipe(withDescription3("Enable a custom tracking domain"), withExamples([
61151
61444
  { command: "samva email domains custom-tracking enable dom_abc123" },
61152
- { command: "samva email domains custom-tracking enable dom_abc123 --label links" }
61153
- ]), withHandler(({ id, label, dryRun, json }) => gen2(function* () {
61445
+ { command: "samva email domains custom-tracking enable dom_abc123 --label links" },
61446
+ { command: "samva email domains custom-tracking enable dom_abc123 --parent acme.com" }
61447
+ ]), withHandler(({ id, label, parent, dryRun, json }) => gen2(function* () {
61154
61448
  const chosenLabel = getOrUndefined(label);
61449
+ const parentDomain = getOrUndefined(parent);
61155
61450
  if (dryRun) {
61156
61451
  return yield* json ? printJson({
61157
61452
  dryRun: true,
61158
61453
  action: "email.domains.custom-tracking.enable",
61159
61454
  id,
61160
- label: chosenLabel
61161
- }) : log(`[dry-run] Would enable custom tracking for ${id}.`);
61455
+ label: chosenLabel,
61456
+ parentDomain
61457
+ }) : log(`[dry-run] Would enable custom tracking for ${id}${parentDomain === undefined ? "" : ` under ${parentDomain}`}.`);
61162
61458
  }
61163
61459
  const client = yield* getClientProvider;
61164
61460
  const data = yield* enableCustomTracking({
61165
61461
  id,
61166
- ...chosenLabel === undefined ? {} : { label: chosenLabel }
61462
+ ...chosenLabel === undefined ? {} : { label: chosenLabel },
61463
+ ...parentDomain === undefined ? {} : { parentDomain }
61167
61464
  }).pipe(client.provide, mapError2((error) => toCliApiError("Could not enable custom tracking", error)));
61168
61465
  if (json)
61169
61466
  return yield* printJson(data);
@@ -61757,6 +62054,7 @@ var idempotencyKeyFlag2 = String9("idempotency-key").pipe(withDescription2("Key
61757
62054
  var trackOpensFlag2 = Literals3("track-opens", ["on", "off"]).pipe(withDescription2("Override open tracking for this send; recipient opt-out still wins"), optional4);
61758
62055
  var trackClicksFlag2 = Literals3("track-clicks", ["on", "off"]).pipe(withDescription2("Override click tracking for this send; recipient opt-out still wins"), optional4);
61759
62056
  var attachFlag = String9("attach").pipe(withDescription2("File to attach (repeatable); small files travel inline, larger ones upload through media first"), atLeast2(0));
62057
+ var headerFlag2 = String9("header").pipe(withDescription2("Custom email header as Name: Value (repeatable)"), withMetavar2("Name: Value"), atLeast2(0));
61760
62058
  var dryRunFlag4 = Boolean6("dry-run").pipe(withDescription2("Validate inputs and print the request payload without calling the API"), withDefault5(false));
61761
62059
  var bodySourceName = (input) => {
61762
62060
  if (input.templateRefValue)
@@ -61767,6 +62065,18 @@ var bodySourceName = (input) => {
61767
62065
  return "html";
61768
62066
  return "text";
61769
62067
  };
62068
+ var emailHeader = (raw) => {
62069
+ const separator = raw.indexOf(":");
62070
+ const name = separator === -1 ? "" : raw.slice(0, separator).trim();
62071
+ const value = separator === -1 ? "" : raw.slice(separator + 1).trim();
62072
+ if (name.length === 0 || value.length === 0) {
62073
+ return fail6(new CliUsageError({
62074
+ code: "email_header_malformed",
62075
+ message: `--header expects Name: Value, got ${raw}.`
62076
+ }));
62077
+ }
62078
+ return succeed6([name, value]);
62079
+ };
61770
62080
  var parseTemplateData2 = (raw) => match(raw, {
61771
62081
  onNone: () => succeed6(undefined),
61772
62082
  onSome: (value) => try_3({
@@ -61796,6 +62106,7 @@ var send3 = make29("send", {
61796
62106
  trackOpens: trackOpensFlag2,
61797
62107
  trackClicks: trackClicksFlag2,
61798
62108
  attach: attachFlag,
62109
+ header: headerFlag2,
61799
62110
  dryRun: dryRunFlag4,
61800
62111
  wait: Boolean6("wait").pipe(withDescription2("Wait for delivered/read or a terminal delivery failure"), withDefault5(false)),
61801
62112
  timeout: timeoutFlag,
@@ -61832,6 +62143,10 @@ var send3 = make29("send", {
61832
62143
  {
61833
62144
  command: "samva email send --to you@example.com --subject Report --text Attached --attach ./report.pdf --attach ./data.csv",
61834
62145
  description: "Attach files; those past the 4 MiB inline limit upload through media automatically"
62146
+ },
62147
+ {
62148
+ command: "samva email send --to you@example.com --subject Hi --text Hello --header 'OTP-Token: 123456'",
62149
+ description: "Copy a custom header onto the message"
61835
62150
  }
61836
62151
  ]), withHandler(({
61837
62152
  to,
@@ -61855,6 +62170,7 @@ var send3 = make29("send", {
61855
62170
  trackOpens,
61856
62171
  trackClicks,
61857
62172
  attach,
62173
+ header,
61858
62174
  dryRun,
61859
62175
  wait,
61860
62176
  timeout,
@@ -61932,6 +62248,11 @@ var send3 = make29("send", {
61932
62248
  });
61933
62249
  }
61934
62250
  const attachmentFiles = yield* readAttachments(attach);
62251
+ const headers = Object.create(null);
62252
+ for (const raw of header) {
62253
+ const [name, value] = yield* emailHeader(raw);
62254
+ headers[name] = value;
62255
+ }
61935
62256
  const request = {
61936
62257
  to: [...to],
61937
62258
  ...ccValue ? { cc: [{ email: ccValue }] } : {},
@@ -61958,7 +62279,8 @@ var send3 = make29("send", {
61958
62279
  ...trackOpensValue !== undefined ? { opens: trackOpensValue === "on" } : {},
61959
62280
  ...trackClicksValue !== undefined ? { clicks: trackClicksValue === "on" } : {}
61960
62281
  }
61961
- } : {}
62282
+ } : {},
62283
+ ...Object.keys(headers).length === 0 ? {} : { headers }
61962
62284
  };
61963
62285
  const sendOptions = idempotencyKeyValue !== undefined ? { idempotencyKey: idempotencyKeyValue } : {};
61964
62286
  const source = bodySourceName({
@@ -62009,6 +62331,7 @@ var send3 = make29("send", {
62009
62331
  ...request.templateSlug ? [["Template", `${request.templateSlug} (handle)`]] : request.templateId ? [["Template", request.templateId]] : [],
62010
62332
  ...request.inReplyToMessageId ? [["Reply to", request.inReplyToMessageId]] : [],
62011
62333
  ...request.replyTo ? [["Reply-To", request.replyTo]] : [],
62334
+ ...Object.entries(request.headers ?? {}).map(([name, value]) => ["Header", `${name}: ${value}`]),
62012
62335
  ...idempotencyKeyValue ? [["Idempotency key", idempotencyKeyValue]] : [],
62013
62336
  ...attachmentFiles.map((file) => [
62014
62337
  "Attachment",
@@ -62600,7 +62923,7 @@ var ExtensionManifest = Struct({
62600
62923
  description: optional2(String4.check(isMaxLength(500))),
62601
62924
  version: ExtensionVersionString,
62602
62925
  runtime: ExtensionRuntime,
62603
- events: ArraySchema(mailboxWebhookEventTypeSchema).check(isMinLength(1), makeFilter2(uniqueValues, { message: "Each event is listed once" })),
62926
+ events: ArraySchema(mailboxExtensionEventTypeSchema).check(isMinLength(1), makeFilter2(uniqueValues, { message: "Each event is listed once" })),
62604
62927
  permissions: ArraySchema(ExtensionPermission).check(makeFilter2(uniqueValues, { message: "Each permission is listed once" }), makeFilter2((permissions) => permissions.includes("read"), {
62605
62928
  message: "An extension needs the read permission to receive mailbox events"
62606
62929
  }))
@@ -62665,7 +62988,7 @@ var ExtensionInstallationSummary = Struct(installationSummaryFields).annotate({
62665
62988
  });
62666
62989
  var ExtensionInstallation = Struct({
62667
62990
  ...installationSummaryFields,
62668
- events: ArraySchema(mailboxWebhookEventTypeSchema),
62991
+ events: ArraySchema(mailboxExtensionEventTypeSchema),
62669
62992
  permissions: ArraySchema(ExtensionPermission),
62670
62993
  sendMode: Literals(mailboxSendModes),
62671
62994
  scope: ExtensionInstallationScope,
@@ -62691,7 +63014,7 @@ var InstallExtensionResponse = Struct({
62691
63014
  }).annotate({ identifier: "InstallExtensionResponse" });
62692
63015
  var ExtensionUpgradeGrant = Literals([
62693
63016
  ...mailboxKeyActions.map((permission) => `permission:${permission}`),
62694
- ...MAILBOX_WEBHOOK_EVENT_TYPE_VALUES.map((event) => `event:${event}`)
63017
+ ...MAILBOX_EXTENSION_EVENT_TYPE_VALUES.map((event) => `event:${event}`)
62695
63018
  ]);
62696
63019
  var ExtensionPermissionDiff = Struct({
62697
63020
  added: ArraySchema(ExtensionUpgradeGrant),
@@ -62731,7 +63054,7 @@ var ExtensionRunOutcome = Literals([
62731
63054
  var runSummaryFields = {
62732
63055
  id: String4,
62733
63056
  eventId: String4,
62734
- eventType: mailboxWebhookEventTypeSchema,
63057
+ eventType: mailboxExtensionEventTypeSchema,
62735
63058
  attempt: Int,
62736
63059
  startedAt: DateFromString,
62737
63060
  durationMs: Int,
@@ -63291,11 +63614,11 @@ var Cursor2 = StringFromBase64Url.pipe(decodeTo2(fromJsonString2(CursorPosition)
63291
63614
  description: "Opaque position returned as `nextCursor`. Pass it back unchanged."
63292
63615
  });
63293
63616
  var encodeCursor = encodeSync(Cursor2);
63294
- var VersionCursor = StringFromBase64Url.pipe(decodeTo2(fromJsonString2(Int.check(isGreaterThan2(0))))).annotate({
63617
+ var VersionCursor2 = StringFromBase64Url.pipe(decodeTo2(fromJsonString2(Int.check(isGreaterThan2(0))))).annotate({
63295
63618
  identifier: "VersionCursor",
63296
63619
  description: "Opaque position returned as `nextCursor`. Pass it back unchanged."
63297
63620
  });
63298
- var encodeVersionCursor = encodeSync(VersionCursor);
63621
+ var encodeVersionCursor = encodeSync(VersionCursor2);
63299
63622
  var MAX_PAGE_LIMIT = 100;
63300
63623
  var CursorPageQuery = {
63301
63624
  limit: optional2(FiniteFromString.check(isInt(), isGreaterThan2(0), isLessThanOrEqualTo3(MAX_PAGE_LIMIT)).annotate({ description: `Items per page, at most ${MAX_PAGE_LIMIT}.` })),
@@ -64058,74 +64381,6 @@ var extensionApiCommands = [
64058
64381
  run6
64059
64382
  ];
64060
64383
 
64061
- // ../sdk/dist/effect/mailboxes.js
64062
- var exports_mailboxes = {};
64063
- __export(exports_mailboxes, {
64064
- MailboxEventStreamError: () => MailboxEventStreamError,
64065
- addThreadLabels: () => addThreadLabels,
64066
- approveAction: () => approveAction,
64067
- cancelAction: () => cancelAction,
64068
- copyMessageAttachment: () => copyMessageAttachment,
64069
- create: () => create6,
64070
- createDraft: () => createDraft,
64071
- createEndpoint: () => createEndpoint,
64072
- createGrant: () => createGrant,
64073
- createLabel: () => createLabel,
64074
- createNote: () => createNote,
64075
- createPolicy: () => createPolicy,
64076
- deleteDraft: () => deleteDraft,
64077
- deleteLabel: () => deleteLabel,
64078
- deleteNote: () => deleteNote,
64079
- deletePolicy: () => deletePolicy,
64080
- denyAction: () => denyAction,
64081
- discardMessage: () => discardMessage,
64082
- events: () => events3,
64083
- forward: () => forward,
64084
- get: () => get19,
64085
- getAction: () => getAction,
64086
- getAgentActivity: () => getAgentActivity,
64087
- getDraft: () => getDraft,
64088
- getMessage: () => getMessage,
64089
- getMessageAttachment: () => getMessageAttachment,
64090
- getMessageRaw: () => getMessageRaw,
64091
- getPolicy: () => getPolicy,
64092
- getThread: () => getThread,
64093
- getThreadContent: () => getThreadContent,
64094
- list: () => list16,
64095
- listActions: () => listActions,
64096
- listDrafts: () => listDrafts,
64097
- listEvents: () => listEvents2,
64098
- listFolders: () => listFolders,
64099
- listGrants: () => listGrants,
64100
- listLabels: () => listLabels,
64101
- listPolicies: () => listPolicies,
64102
- listQuarantine: () => listQuarantine,
64103
- listThreadMessages: () => listThreadMessages,
64104
- listThreadNotes: () => listThreadNotes,
64105
- listThreads: () => listThreads,
64106
- mailboxes_exports: () => mailboxes_exports2,
64107
- pause: () => pause,
64108
- releaseMessage: () => releaseMessage,
64109
- remove: () => remove8,
64110
- removeEndpoint: () => removeEndpoint,
64111
- removeThreadLabels: () => removeThreadLabels,
64112
- reply: () => reply,
64113
- replyAll: () => replyAll,
64114
- resume: () => resume,
64115
- retryAction: () => retryAction,
64116
- revokeGrant: () => revokeGrant,
64117
- sendDraft: () => sendDraft,
64118
- sendMessage: () => sendMessage2,
64119
- update: () => update8,
64120
- updateDraft: () => updateDraft,
64121
- updateEndpoint: () => updateEndpoint,
64122
- updateGrant: () => updateGrant,
64123
- updateLabel: () => updateLabel,
64124
- updateNote: () => updateNote,
64125
- updatePolicy: () => updatePolicy,
64126
- updateThread: () => updateThread
64127
- });
64128
-
64129
64384
  // ../sdk/dist/mailbox-events.js
64130
64385
  var MAILBOX_EVENT_STREAM_PATH = "/v1/mailboxes/events";
64131
64386
  var MailboxEventStreamCloseCode = {
@@ -64764,6 +65019,7 @@ var MailboxActionResolution = /* @__PURE__ */ Struct({
64764
65019
  Literal2("externalApi"),
64765
65020
  Literal2("externalAgent"),
64766
65021
  Literal2("extension"),
65022
+ Literal2("samvaManagedAgent"),
64767
65023
  Literal2("system")
64768
65024
  ])
64769
65025
  }).annotate({ description: "Who resolved the approval." }),
@@ -64773,6 +65029,11 @@ var MailboxActionResolution = /* @__PURE__ */ Struct({
64773
65029
  description: "How the action's approval ended.",
64774
65030
  identifier: "MailboxActionResolution"
64775
65031
  });
65032
+ var MailboxToolCall = /* @__PURE__ */ Struct({
65033
+ name: String4.check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })),
65034
+ argumentsHash: String4.check(isPattern2(/* @__PURE__ */ new RegExp("^[0-9a-f]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[0-9a-f]{64}$" })),
65035
+ arguments: Record(String4, JsonValue)
65036
+ }).annotate({ identifier: "MailboxToolCall" });
64776
65037
  var MailboxAgentActivity = /* @__PURE__ */ Struct({
64777
65038
  actions: Struct({
64778
65039
  byType: ArraySchema(Struct({
@@ -64784,7 +65045,8 @@ var MailboxAgentActivity = /* @__PURE__ */ Struct({
64784
65045
  Literal2("assignThread"),
64785
65046
  Literal2("changeThreadState"),
64786
65047
  Literal2("call"),
64787
- Literal2("extensionRequest")
65048
+ Literal2("extensionRequest"),
65049
+ Literal2("toolCall")
64788
65050
  ]),
64789
65051
  count: Finite.check(isInt().annotate({ expected: "an integer" })).check(isGreaterThanOrEqualTo2(0).annotate({ expected: "a value greater than or equal to 0" })).check(isLessThanOrEqualTo3(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
64790
65052
  })),
@@ -64917,6 +65179,15 @@ var MailboxNoteId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */ ne
64917
65179
  expected: "a string matching the RegExp ^note_[0-9a-hjkmnp-tv-z]{16,24}$",
64918
65180
  identifier: "MailboxNoteId"
64919
65181
  })).pipe(brand("MailboxNoteId"));
65182
+ var MailboxEndpoint2 = /* @__PURE__ */ Struct({
65183
+ id: MailboxEndpointId2,
65184
+ address: String4,
65185
+ displayName: Union2([String4, Null2]),
65186
+ default: Boolean3,
65187
+ channel: Literal2("email"),
65188
+ source: Union2([Literal2("samvaHosted"), Literal2("verifiedDomain")]),
65189
+ domainId: Union2([String4, Null2])
65190
+ }).annotate({ identifier: "MailboxEndpoint" });
64920
65191
  var MailboxCopiedAttachment = /* @__PURE__ */ Struct({
64921
65192
  filename: String4,
64922
65193
  content: optionalKey2(Union2([String4, Null2])),
@@ -64933,15 +65204,6 @@ var MailboxSummary2 = /* @__PURE__ */ Struct({
64933
65204
  primaryAddress: Union2([String4, Null2]),
64934
65205
  createdAt: String4
64935
65206
  }).annotate({ identifier: "MailboxSummary" });
64936
- var MailboxEndpoint2 = /* @__PURE__ */ Struct({
64937
- id: MailboxEndpointId2,
64938
- address: String4,
64939
- displayName: Union2([String4, Null2]),
64940
- default: Boolean3,
64941
- channel: Literal2("email"),
64942
- source: Union2([Literal2("samvaHosted"), Literal2("verifiedDomain")]),
64943
- domainId: Union2([String4, Null2])
64944
- }).annotate({ identifier: "MailboxEndpoint" });
64945
65207
  var MailboxQuarantinedMessage = /* @__PURE__ */ Struct({
64946
65208
  id: MessageId2,
64947
65209
  disposition: Union2([Literal2("quarantined"), Literal2("isolated")]),
@@ -65192,6 +65454,19 @@ var MailboxNote = /* @__PURE__ */ Struct({
65192
65454
  createdAt: String4,
65193
65455
  updatedAt: String4
65194
65456
  }).annotate({ identifier: "MailboxNote" });
65457
+ var Mailbox2 = /* @__PURE__ */ Struct({
65458
+ id: MailboxId2,
65459
+ namespaceId: Union2([NamespaceId2, Null2]),
65460
+ slug: String4,
65461
+ name: String4,
65462
+ status: MailboxStatus2,
65463
+ primaryAddress: Union2([String4, Null2]),
65464
+ createdAt: String4,
65465
+ description: Union2([String4, Null2]),
65466
+ metadata: MailboxMetadata2,
65467
+ endpoints: ArraySchema(MailboxEndpoint2),
65468
+ updatedAt: String4
65469
+ }).annotate({ identifier: "Mailbox" });
65195
65470
  var MailboxSendSnapshot2 = /* @__PURE__ */ Struct({
65196
65471
  channel: Literal2("email"),
65197
65472
  draftRevision: Finite.check(isInt().annotate({ expected: "an integer" })).check(isLessThanOrEqualTo3(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })).check(isGreaterThan2(0).annotate({ expected: "a value greater than 0" })),
@@ -65232,19 +65507,6 @@ var MailboxPage = /* @__PURE__ */ Struct({
65232
65507
  items: ArraySchema(MailboxSummary2),
65233
65508
  nextCursor: Union2([String4, Null2])
65234
65509
  }).annotate({ identifier: "MailboxPage" });
65235
- var Mailbox2 = /* @__PURE__ */ Struct({
65236
- id: MailboxId2,
65237
- namespaceId: Union2([NamespaceId2, Null2]),
65238
- slug: String4,
65239
- name: String4,
65240
- status: MailboxStatus2,
65241
- primaryAddress: Union2([String4, Null2]),
65242
- createdAt: String4,
65243
- description: Union2([String4, Null2]),
65244
- metadata: MailboxMetadata2,
65245
- endpoints: ArraySchema(MailboxEndpoint2),
65246
- updatedAt: String4
65247
- }).annotate({ identifier: "Mailbox" });
65248
65510
  var MailboxQuarantinePage = /* @__PURE__ */ Struct({
65249
65511
  items: ArraySchema(MailboxQuarantinedMessage),
65250
65512
  nextCursor: Union2([String4, Null2])
@@ -65284,7 +65546,8 @@ var MailboxNonSendAction = /* @__PURE__ */ Struct({
65284
65546
  Literal2("assignThread"),
65285
65547
  Literal2("changeThreadState"),
65286
65548
  Literal2("call"),
65287
- Literal2("extensionRequest")
65549
+ Literal2("extensionRequest"),
65550
+ Literal2("toolCall")
65288
65551
  ]),
65289
65552
  state: Union2([
65290
65553
  Literal2("proposed"),
@@ -65296,7 +65559,8 @@ var MailboxNonSendAction = /* @__PURE__ */ Struct({
65296
65559
  Literal2("executing"),
65297
65560
  Literal2("executed"),
65298
65561
  Literal2("failed")
65299
- ])
65562
+ ]),
65563
+ tool: Union2([MailboxToolCall, Null2]).annotate({ description: "The tool a `toolCall` runs, with its arguments and their hash; an approval covers exactly this call. Null for every other action type." })
65300
65564
  }).annotate({ identifier: "MailboxNonSendAction" });
65301
65565
  var MailboxPendingSendReceipt = /* @__PURE__ */ Struct({
65302
65566
  actionId: MailboxActionId3,
@@ -67511,7 +67775,7 @@ var dev = make29("dev", {
67511
67775
  mailboxIds: mailbox,
67512
67776
  output: mode,
67513
67777
  onEvent: (event) => gen2(function* () {
67514
- if (!extension.manifest.events.includes(event.type))
67778
+ if (!extension.manifest.events.some((type) => type === event.type))
67515
67779
  return;
67516
67780
  const body = JSON.stringify({
67517
67781
  type: event.type,
@@ -68046,6 +68310,9 @@ class MailboxGate extends Service2()("samva/MailboxGate") {
68046
68310
  class JourneysGate extends Service2()("samva/JourneysGate") {
68047
68311
  }
68048
68312
 
68313
+ class AgentsGate extends Service2()("samva/AgentsGate") {
68314
+ }
68315
+
68049
68316
  class SmsChannelGate extends Service2()("samva/SmsChannelGate", { error: FlagDisabledError2 }) {
68050
68317
  }
68051
68318
 
@@ -69201,13 +69468,13 @@ var journeysCommand = make29("journeys").pipe(withDescription3("Create, publish,
69201
69468
  runs2
69202
69469
  ]));
69203
69470
 
69204
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/package.mjs
69471
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/package.mjs
69205
69472
  var version4 = "1.7.5";
69206
69473
 
69207
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/version.mjs
69474
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/version.mjs
69208
69475
  var PACKAGE_VERSION = version4;
69209
69476
 
69210
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/client/broadcast-channel.mjs
69477
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/client/broadcast-channel.mjs
69211
69478
  var kBroadcastChannel = Symbol.for("better-auth:broadcast-channel");
69212
69479
  var now = () => Math.floor(Date.now() / 1000);
69213
69480
  var WindowBroadcastChannel = class {
@@ -69453,7 +69720,7 @@ var onMount = ($store, initialize) => {
69453
69720
  };
69454
69721
  });
69455
69722
  };
69456
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/client/equality.mjs
69723
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/client/equality.mjs
69457
69724
  function isPlainObject(value) {
69458
69725
  if (typeof value !== "object" || value === null)
69459
69726
  return false;
@@ -69490,7 +69757,7 @@ function withEquality(store, isEqual) {
69490
69757
  });
69491
69758
  }
69492
69759
 
69493
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/client/focus-manager.mjs
69760
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/client/focus-manager.mjs
69494
69761
  var kFocusManager = Symbol.for("better-auth:focus-manager");
69495
69762
  var WindowFocusManager = class {
69496
69763
  listeners = /* @__PURE__ */ new Set;
@@ -69522,7 +69789,7 @@ function getGlobalFocusManager() {
69522
69789
  return globalThis[kFocusManager];
69523
69790
  }
69524
69791
 
69525
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/client/online-manager.mjs
69792
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/client/online-manager.mjs
69526
69793
  var kOnlineManager = Symbol.for("better-auth:online-manager");
69527
69794
  var WindowOnlineManager = class {
69528
69795
  listeners = /* @__PURE__ */ new Set;
@@ -69556,7 +69823,7 @@ function getGlobalOnlineManager() {
69556
69823
  return globalThis[kOnlineManager];
69557
69824
  }
69558
69825
 
69559
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/client/parser.mjs
69826
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/client/parser.mjs
69560
69827
  var PROTO_POLLUTION_PATTERNS = {
69561
69828
  proto: /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,
69562
69829
  constructor: /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,
@@ -69634,7 +69901,7 @@ function parseJSON(value, options = { strict: true }) {
69634
69901
  return betterJSONParse(value, options);
69635
69902
  }
69636
69903
 
69637
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/client/query.mjs
69904
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/client/query.mjs
69638
69905
  var isServer = () => typeof window === "undefined";
69639
69906
  function isAuthQueryStateEqual(a, b) {
69640
69907
  return isJsonEqual(a.data, b.data) && a.error === b.error && a.isPending === b.isPending && a.isRefetching === b.isRefetching && a.refetch === b.refetch;
@@ -69760,7 +70027,7 @@ var useAuthQuery = (initializedAtom, path, $fetch, options) => {
69760
70027
  return value;
69761
70028
  };
69762
70029
 
69763
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/client/session-refresh.mjs
70030
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/client/session-refresh.mjs
69764
70031
  var now2 = () => Math.floor(Date.now() / 1000);
69765
70032
  var FOCUS_REFETCH_RATE_LIMIT_SECONDS = 5;
69766
70033
  function createSessionRefreshManager(opts) {
@@ -70089,7 +70356,7 @@ var BetterAuthError = class extends Error {
70089
70356
  }
70090
70357
  };
70091
70358
 
70092
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/utils/url.mjs
70359
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/utils/url.mjs
70093
70360
  var SLASH_CHAR_CODE = 47;
70094
70361
  function trimTrailingSlashes(value) {
70095
70362
  let end = value.length;
@@ -70196,7 +70463,7 @@ function isSafeUrlScheme(value) {
70196
70463
  return !DANGEROUS_URL_SCHEMES.includes(parsed.protocol);
70197
70464
  }
70198
70465
 
70199
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/client/fetch-plugins.mjs
70466
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/client/fetch-plugins.mjs
70200
70467
  var redirectPlugin = {
70201
70468
  id: "redirect",
70202
70469
  name: "Redirect",
@@ -70212,7 +70479,7 @@ var redirectPlugin = {
70212
70479
  } }
70213
70480
  };
70214
70481
 
70215
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/client/session-atom.mjs
70482
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/client/session-atom.mjs
70216
70483
  var isServer2 = () => typeof window === "undefined";
70217
70484
  var SESSION_MOUNT_DEDUPE_INTERVAL = STORE_UNMOUNT_DELAY;
70218
70485
  function hydrateSessionAtom(sessionAtom, session) {
@@ -71076,7 +71343,7 @@ var createFetch = (config) => {
71076
71343
  return $fetch;
71077
71344
  };
71078
71345
 
71079
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/client/config.mjs
71346
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/client/config.mjs
71080
71347
  var resolvePublicAuthUrl = (basePath) => {
71081
71348
  if (typeof process === "undefined")
71082
71349
  return;
@@ -71195,7 +71462,7 @@ var getClientConfig2 = (options, loadEnv) => {
71195
71462
  };
71196
71463
  };
71197
71464
 
71198
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/utils/is-atom.mjs
71465
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/utils/is-atom.mjs
71199
71466
  function isAtom(value) {
71200
71467
  return typeof value === "object" && value !== null && "get" in value && typeof value.get === "function" && "lc" in value && typeof value.lc === "number";
71201
71468
  }
@@ -71213,7 +71480,7 @@ function toKebabCase(input) {
71213
71480
  return splitWords(input).map((word) => word.toLowerCase()).join("-");
71214
71481
  }
71215
71482
 
71216
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/client/proxy.mjs
71483
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/client/proxy.mjs
71217
71484
  function getMethod2(path, knownPathMethods, args) {
71218
71485
  const method = knownPathMethods[path];
71219
71486
  const { fetchOptions, query: _query, ...body } = args || {};
@@ -71295,7 +71562,7 @@ function createDynamicPathProxy(routes, client, knownPathMethods, atoms, atomLis
71295
71562
  return createProxy();
71296
71563
  }
71297
71564
 
71298
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/client/vanilla.mjs
71565
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/client/vanilla.mjs
71299
71566
  function createAuthClient(options) {
71300
71567
  const { pluginPathMethods, pluginsActions, pluginsAtoms, hydrateSession, $fetch, atomListeners, $store } = getClientConfig2(options);
71301
71568
  const resolvedHooks = {};
@@ -71309,7 +71576,7 @@ function createAuthClient(options) {
71309
71576
  $store
71310
71577
  }, $fetch, pluginPathMethods, pluginsAtoms, atomListeners);
71311
71578
  }
71312
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/plugins/device-authorization/client.mjs
71579
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/plugins/device-authorization/client.mjs
71313
71580
  var deviceAuthorizationClient = () => {
71314
71581
  return {
71315
71582
  id: "device-authorization",
@@ -71324,7 +71591,7 @@ var deviceAuthorizationClient = () => {
71324
71591
  }
71325
71592
  };
71326
71593
  };
71327
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/plugins/access/access.mjs
71594
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/plugins/access/access.mjs
71328
71595
  function unknownResourceResponse(requestedResource) {
71329
71596
  return {
71330
71597
  success: false,
@@ -71410,7 +71677,7 @@ function createAccessControl(s) {
71410
71677
  };
71411
71678
  }
71412
71679
 
71413
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/plugins/organization/access/statement.mjs
71680
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/plugins/organization/access/statement.mjs
71414
71681
  var defaultStatements = {
71415
71682
  organization: ["update", "delete"],
71416
71683
  member: [
@@ -71485,7 +71752,7 @@ var defaultRoles = {
71485
71752
  member: memberAc
71486
71753
  };
71487
71754
 
71488
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/plugins/organization/error-codes.mjs
71755
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/plugins/organization/error-codes.mjs
71489
71756
  var ORGANIZATION_ERROR_CODES = defineErrorCodes({
71490
71757
  YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION: "You are not allowed to create a new organization",
71491
71758
  YOU_HAVE_REACHED_THE_MAXIMUM_NUMBER_OF_ORGANIZATIONS: "You have reached the maximum number of organizations",
@@ -71548,7 +71815,7 @@ var ORGANIZATION_ERROR_CODES = defineErrorCodes({
71548
71815
  INVALID_TEAM_ID: "Team id contains a reserved character"
71549
71816
  });
71550
71817
 
71551
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/plugins/organization/permission.mjs
71818
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/plugins/organization/permission.mjs
71552
71819
  var hasPermissionFn = (input, acRoles) => {
71553
71820
  if (!input.permissions)
71554
71821
  return false;
@@ -71564,7 +71831,7 @@ var hasPermissionFn = (input, acRoles) => {
71564
71831
  return false;
71565
71832
  };
71566
71833
 
71567
- // ../../node_modules/.bun/better-auth@1.7.5+36b8da3f8563ed1a/node_modules/better-auth/dist/plugins/organization/client.mjs
71834
+ // ../../node_modules/.bun/better-auth@1.7.5+1a59d3d034a4a7a9/node_modules/better-auth/dist/plugins/organization/client.mjs
71568
71835
  var clientSideHasPermission = (input) => {
71569
71836
  return hasPermissionFn(input, input.options.roles || defaultRoles);
71570
71837
  };
@@ -71866,6 +72133,43 @@ var logoutCommand = make29("logout").pipe(withDescription3("Sign out and remove
71866
72133
  yield* printResult({ action: "logout" }, "Logged out.");
71867
72134
  })));
71868
72135
 
72136
+ // ../core/src/mailboxes/conversation.ts
72137
+ var ContactConversationResponder = Literals(contactConversationResponders);
72138
+ var StaffActivitySource = Literals(staffActivitySources);
72139
+ var DEFAULT_TAKEOVER_TIMEOUT_SECONDS = 60 * 60;
72140
+ var ContactConversation = Struct({
72141
+ id: ContactConversationId,
72142
+ contactId: ContactId,
72143
+ responder: ContactConversationResponder,
72144
+ staffActedAt: NullOr(DateFromString),
72145
+ takeoverExpiresAt: NullOr(DateFromString),
72146
+ takeoverTimeoutSeconds: Int,
72147
+ position: Int
72148
+ }).annotate({ identifier: "ContactConversation" });
72149
+
72150
+ class ConversationTakenOverError extends TaggedError3()("ConversationTakenOverError", {
72151
+ message: String4,
72152
+ contactConversationId: ContactConversationId,
72153
+ staffActedAt: NullOr(DateFromString),
72154
+ takeoverExpiresAt: NullOr(DateFromString)
72155
+ }, { httpApiStatus: 409 }) {
72156
+ }
72157
+
72158
+ class ConversationAdvancedError extends TaggedError3()("ConversationAdvancedError", {
72159
+ message: String4,
72160
+ contactConversationId: ContactConversationId,
72161
+ position: Int,
72162
+ basedOnPosition: Int
72163
+ }, { httpApiStatus: 409 }) {
72164
+ }
72165
+ categorize(ConversationTakenOverError, { categories: ["conflict"], retryable: false });
72166
+ categorize(ConversationAdvancedError, { categories: ["conflict"], retryable: false });
72167
+ var MailboxToolCall2 = Struct({
72168
+ name: String4.check(isMinLength(1), isMaxLength(128)),
72169
+ argumentsHash: String4.check(isPattern2(/^[0-9a-f]{64}$/u)),
72170
+ arguments: Record(String4, Unknown2)
72171
+ }).annotate({ identifier: "MailboxToolCall" });
72172
+
71869
72173
  // ../core/src/mailboxes/action-event-policy.ts
71870
72174
  var MailboxActionType = Literals(mailboxActionScopes);
71871
72175
  var MailboxActionSource = Literals(mailboxActionSources);
@@ -71878,6 +72182,7 @@ var MailboxAttributedSource = MailboxActionSource.pick([
71878
72182
  "externalApi",
71879
72183
  "externalAgent",
71880
72184
  "extension",
72185
+ "samvaManagedAgent",
71881
72186
  "system"
71882
72187
  ]);
71883
72188
  var MailboxAttributedActor = Struct({
@@ -71975,7 +72280,10 @@ var MailboxSendAction2 = Struct({
71975
72280
  var MailboxNonSendAction2 = Struct({
71976
72281
  ...actionFields,
71977
72282
  type: Literals(mailboxActionScopes.filter((type) => type !== "sendMessage" && type !== "reply")),
71978
- state: MailboxNonSendActionState
72283
+ state: MailboxNonSendActionState,
72284
+ tool: NullOr(MailboxToolCall2).annotate({
72285
+ description: "The tool a `toolCall` runs, with its arguments and their hash; an approval covers exactly this call. Null for every other action type."
72286
+ })
71979
72287
  }).annotate({ identifier: "MailboxNonSendAction" });
71980
72288
  var MailboxAction2 = Union2([MailboxSendAction2, MailboxNonSendAction2]).annotate({
71981
72289
  identifier: "MailboxAction"
@@ -73793,6 +74101,7 @@ var orgAvatarCommand = make29("avatar").pipe(withDescription3("Set or remove the
73793
74101
  // src/commands/usage.ts
73794
74102
  var afterFlag2 = String9("after").pipe(withDescription2("Start of the window, an ISO 8601 instant (default: the start of this calendar month)"), optional4);
73795
74103
  var beforeFlag2 = String9("before").pipe(withDescription2("End of the window, an ISO 8601 instant (default: now)"), optional4);
74104
+ var standardAllowance = (billing) => billing.standardGranted === null || billing.standardRemaining === null ? "\u2014" : billing.standardGranted > 0 ? `${Math.round(billing.standardRemaining / billing.standardGranted * 100)}% left` : "none";
73796
74105
  var usageCommand = make29("usage", {
73797
74106
  after: afterFlag2,
73798
74107
  before: beforeFlag2,
@@ -73813,23 +74122,28 @@ var usageCommand = make29("usage", {
73813
74122
  ["Messages", usage.totalMessages],
73814
74123
  ["Plan", billing.planName],
73815
74124
  [
73816
- "Plan credits",
74125
+ "Sending credits",
73817
74126
  billing.includedCredits === null ? "\u2014" : `${billing.usedCredits} of ${billing.includedCredits}`
73818
74127
  ],
73819
- ["Overage credits", billing.overageCredits ?? "\u2014"],
74128
+ ["Extra sending credits", billing.overageCredits ?? "\u2014"],
73820
74129
  [
73821
- "Overage",
74130
+ "Extra sending credit cost",
73822
74131
  billing.overageCost === null ? "\u2014" : `${billing.overageCost} ${billing.currency}`
73823
74132
  ],
74133
+ ["Sending credits reset", billing.creditsResetsAt ?? "\u2014"],
73824
74134
  [
73825
74135
  "AI credits",
73826
74136
  billing.includedAiCredits === null ? "\u2014" : `${billing.usedAiCredits} of ${billing.includedAiCredits}`
73827
74137
  ],
73828
- ["AI overage credits", billing.overageAiCredits ?? "\u2014"],
74138
+ ["AI credits from packs", billing.aiPackCredits ?? "\u2014"],
74139
+ ["Extra AI credits", billing.overageAiCredits ?? "\u2014"],
73829
74140
  [
73830
- "AI overage",
74141
+ "Extra AI credit cost",
73831
74142
  billing.overageAiCost === null ? "\u2014" : `${billing.overageAiCost} ${billing.currency}`
73832
- ]
74143
+ ],
74144
+ ["AI credits reset", billing.aiResetsAt ?? "\u2014"],
74145
+ ["Standard allowance", standardAllowance(billing)],
74146
+ ["Standard allowance resets", billing.standardResetsAt ?? "\u2014"]
73833
74147
  ]);
73834
74148
  }).pipe(json ? provideService2(MinimumLogLevel2, "None") : identity)));
73835
74149
 
@@ -74718,6 +75032,16 @@ import { access as access3, stat as stat5 } from "fs/promises";
74718
75032
  import { basename as basename3, dirname as dirname5, resolve as resolve17 } from "path";
74719
75033
  import { pathToFileURL as pathToFileURL5 } from "url";
74720
75034
 
75035
+ // ../core/src/shared/template-diagnostics.ts
75036
+ var formatReportedDiagnostic = (diagnostic) => {
75037
+ const at = diagnostic.line === undefined ? diagnostic.file : `${diagnostic.file}:${diagnostic.line}${diagnostic.column === undefined ? "" : `:${diagnostic.column}`}`;
75038
+ const head = `${at} ${diagnostic.severity} ${diagnostic.code}: ${diagnostic.message}`;
75039
+ const fixed = diagnostic.fix === undefined ? head : `${head}
75040
+ Fix: ${diagnostic.fix}`;
75041
+ return diagnostic.upgrade === undefined ? fixed : `${fixed}
75042
+ Upgrade: ${diagnostic.upgrade}`;
75043
+ };
75044
+
74721
75045
  // ../sdk/dist/effect/generated/templates.js
74722
75046
  var TemplateProjectId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */ new RegExp("^tproj_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
74723
75047
  expected: "a string matching the RegExp ^tproj_[0-9a-hjkmnp-tv-z]{16,24}$",
@@ -74732,7 +75056,6 @@ var TemplateFamilyId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */
74732
75056
  expected: "a string matching the RegExp ^tfam_[0-9a-hjkmnp-tv-z]{16,24}$",
74733
75057
  identifier: "TemplateFamilyId"
74734
75058
  })).pipe(brand("TemplateFamilyId"));
74735
- var VersionCursor2 = /* @__PURE__ */ String4.annotate({ identifier: "VersionCursor" });
74736
75059
  var BrandRenderedFooter = /* @__PURE__ */ Struct({
74737
75060
  html: String4,
74738
75061
  text: String4,
@@ -74836,10 +75159,7 @@ var Template = /* @__PURE__ */ Struct({
74836
75159
  Literal2("alert")
74837
75160
  ]), Null2]),
74838
75161
  replyToDefault: Union2([ArraySchema(String4), Null2]),
74839
- trackingDefault: Union2([Struct({
74840
- opens: optionalKey2(Union2([Boolean3, Null2])),
74841
- clicks: optionalKey2(Union2([Boolean3, Null2]))
74842
- }), Null2]),
75162
+ trackingDefault: Union2([TemplateTrackingDefault, Null2]),
74843
75163
  email: Union2([Struct({
74844
75164
  subject: String4,
74845
75165
  preheader: Union2([String4, Null2]),
@@ -74966,6 +75286,7 @@ var TemplatesUpdateRequestJson = /* @__PURE__ */ Struct({ data: Struct({
74966
75286
  ]), Null2]), Null2])),
74967
75287
  fromDefault: optionalKey2(Union2([Union2([TemplateFromDefault, Null2]), Null2])),
74968
75288
  replyToDefault: optionalKey2(Union2([Union2([ArraySchema(String4), Null2]), Null2])),
75289
+ trackingDefault: optionalKey2(Union2([Union2([TemplateTrackingDefault, Null2]), Null2]).annotate({ description: "Engagement tracking for sends of this template: `opens` and `clicks`, each inherited from the domain and organization defaults when omitted. A send request's own `tracking` still wins. Null clears the template's default." })),
74969
75290
  isActive: optionalKey2(Union2([Boolean3, Null2])),
74970
75291
  shared: optionalKey2(Union2([Boolean3, Null2]).annotate({ description: "Share the template's project with every namespace, or stop sharing it. Applies to every entry in the project. Only an organization-level project is shared." }))
74971
75292
  }) });
@@ -74980,7 +75301,7 @@ var TemplatesUpdate504 = GatewayTimeoutError2;
74980
75301
  var TemplatesListInputContractsPathParams = /* @__PURE__ */ Struct({ id: TemplateId2 });
74981
75302
  var TemplatesListInputContractsQuery = /* @__PURE__ */ Struct({
74982
75303
  limit: optionalKey2(Union2([String4, Null2])),
74983
- cursor: optionalKey2(Union2([VersionCursor2, Null2]))
75304
+ cursor: optionalKey2(Union2([VersionCursor, Null2]))
74984
75305
  });
74985
75306
  var TemplatesListInputContracts200 = TemplateInputContractPage;
74986
75307
  var TemplatesListInputContracts401 = UnauthorizedError2;
@@ -77003,10 +77324,10 @@ var offlineFlag = Boolean6("offline").pipe(withDescription2("Use the cached bran
77003
77324
 
77004
77325
  // src/commands/templates/toolchain.ts
77005
77326
  import { pathToFileURL as pathToFileURL3 } from "url";
77006
- // ../../node_modules/.bun/@samva+markup@0.17.3+a19bcd7db259aaf7/node_modules/@samva/markup/package.json
77327
+ // ../../node_modules/.bun/@samva+markup@0.18.0+a19bcd7db259aaf7/node_modules/@samva/markup/package.json
77007
77328
  var package_default2 = {
77008
77329
  name: "@samva/markup",
77009
- version: "0.17.3",
77330
+ version: "0.18.0",
77010
77331
  description: "Type-safe authoring and compilation primitives for Samva templates",
77011
77332
  keywords: [
77012
77333
  "email",
@@ -77788,14 +78109,6 @@ var reportDiagnostic = (diagnostic, context) => {
77788
78109
  ...context.fixture === undefined ? {} : { fixture: context.fixture }
77789
78110
  };
77790
78111
  };
77791
- var formatReportedDiagnostic = (diagnostic) => {
77792
- const at = diagnostic.line === undefined ? diagnostic.file : `${diagnostic.file}:${diagnostic.line}${diagnostic.column === undefined ? "" : `:${diagnostic.column}`}`;
77793
- const head = `${at} ${diagnostic.severity} ${diagnostic.code}: ${diagnostic.message}`;
77794
- const fixed = diagnostic.fix === undefined ? head : `${head}
77795
- Fix: ${diagnostic.fix}`;
77796
- return diagnostic.upgrade === undefined ? fixed : `${fixed}
77797
- Upgrade: ${diagnostic.upgrade}`;
77798
- };
77799
78112
 
77800
78113
  // src/commands/templates/from-website-command.ts
77801
78114
  var webOriginForApi = (apiUrl) => {
@@ -95178,6 +95491,9 @@ var WebhookEndpoint = /* @__PURE__ */ Struct({
95178
95491
  Literal2("mailbox.message.quarantined"),
95179
95492
  Literal2("mailbox.message.released"),
95180
95493
  Literal2("mailbox.message.discarded"),
95494
+ Literal2("mailbox.message.delivered"),
95495
+ Literal2("mailbox.message.read"),
95496
+ Literal2("mailbox.message.failed"),
95181
95497
  Literal2("journey.webhook")
95182
95498
  ])),
95183
95499
  channels: Union2([ArraySchema(Literal2("email")), Null2]),
@@ -95230,6 +95546,9 @@ var WebhookEndpointListItem = /* @__PURE__ */ Struct({
95230
95546
  Literal2("mailbox.message.quarantined"),
95231
95547
  Literal2("mailbox.message.released"),
95232
95548
  Literal2("mailbox.message.discarded"),
95549
+ Literal2("mailbox.message.delivered"),
95550
+ Literal2("mailbox.message.read"),
95551
+ Literal2("mailbox.message.failed"),
95233
95552
  Literal2("journey.webhook")
95234
95553
  ])),
95235
95554
  channels: Union2([ArraySchema(Literal2("email")), Null2]),
@@ -95347,6 +95666,9 @@ var WebhooksCreateRequestJson = /* @__PURE__ */ Struct({
95347
95666
  Literal2("mailbox.message.quarantined"),
95348
95667
  Literal2("mailbox.message.released"),
95349
95668
  Literal2("mailbox.message.discarded"),
95669
+ Literal2("mailbox.message.delivered"),
95670
+ Literal2("mailbox.message.read"),
95671
+ Literal2("mailbox.message.failed"),
95350
95672
  Literal2("journey.webhook")
95351
95673
  ])).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
95352
95674
  channels: optionalKey2(Union2([ArraySchema(Literal2("email")).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Null2])),
@@ -95425,6 +95747,9 @@ var WebhooksUpdateRequestJson = /* @__PURE__ */ Struct({
95425
95747
  Literal2("mailbox.message.quarantined"),
95426
95748
  Literal2("mailbox.message.released"),
95427
95749
  Literal2("mailbox.message.discarded"),
95750
+ Literal2("mailbox.message.delivered"),
95751
+ Literal2("mailbox.message.read"),
95752
+ Literal2("mailbox.message.failed"),
95428
95753
  Literal2("journey.webhook")
95429
95754
  ])).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Null2])),
95430
95755
  channels: optionalKey2(Union2([Union2([ArraySchema(Literal2("email")).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Null2]), Null2])),