@samva/cli 0.22.2 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +6 -1
- package/README.md +2 -1
- package/dist/bin.mjs +1465 -1108
- 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.
|
|
14944
|
+
version: "0.24.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.
|
|
15000
|
+
samva: "workspace:0.25.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.
|
|
14342
|
-
"@samva/cli-darwin-x64": "workspace:0.
|
|
14343
|
-
"@samva/cli-linux-arm64": "workspace:0.
|
|
14344
|
-
"@samva/cli-linux-x64": "workspace:0.
|
|
15006
|
+
"@samva/cli-darwin-arm64": "workspace:0.24.0",
|
|
15007
|
+
"@samva/cli-darwin-x64": "workspace:0.24.0",
|
|
15008
|
+
"@samva/cli-linux-arm64": "workspace:0.24.0",
|
|
15009
|
+
"@samva/cli-linux-x64": "workspace:0.24.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
|
|
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",
|
|
@@ -21306,6 +21994,12 @@ class SenderNotReadyError extends TaggedError3()("SenderNotReadyError", {
|
|
|
21306
21994
|
}, { httpApiStatus: 503 }) {
|
|
21307
21995
|
}
|
|
21308
21996
|
|
|
21997
|
+
class FromAddressRequiredError extends TaggedError3()("FromAddressRequiredError", {
|
|
21998
|
+
message: String4,
|
|
21999
|
+
verifiedDomains: ArraySchema(String4)
|
|
22000
|
+
}, { httpApiStatus: 422 }) {
|
|
22001
|
+
}
|
|
22002
|
+
|
|
21309
22003
|
class OnboardingReviewRequiredError extends TaggedError3()("OnboardingReviewRequiredError", {
|
|
21310
22004
|
message: String4,
|
|
21311
22005
|
code: Literals([
|
|
@@ -21430,6 +22124,7 @@ categorize(OnboardingReviewRequiredError, {
|
|
|
21430
22124
|
retryable: false
|
|
21431
22125
|
});
|
|
21432
22126
|
categorize(ValidationError, { categories: ["validation"], retryable: false });
|
|
22127
|
+
categorize(FromAddressRequiredError, { categories: ["validation"], retryable: false });
|
|
21433
22128
|
categorize(ResourceNotFoundError, {
|
|
21434
22129
|
categories: ["notFound"],
|
|
21435
22130
|
retryable: false
|
|
@@ -21510,7 +22205,8 @@ var mailboxActionScopes = [
|
|
|
21510
22205
|
"assignThread",
|
|
21511
22206
|
"changeThreadState",
|
|
21512
22207
|
"call",
|
|
21513
|
-
"extensionRequest"
|
|
22208
|
+
"extensionRequest",
|
|
22209
|
+
"toolCall"
|
|
21514
22210
|
];
|
|
21515
22211
|
var mailboxActorKinds = [
|
|
21516
22212
|
"user",
|
|
@@ -21540,6 +22236,8 @@ var mailboxActionStates = [
|
|
|
21540
22236
|
"executed",
|
|
21541
22237
|
"failed"
|
|
21542
22238
|
];
|
|
22239
|
+
var contactConversationResponders = ["agent", "staff"];
|
|
22240
|
+
var staffActivitySources = ["mail", "takeOver", "businessAppEcho"];
|
|
21543
22241
|
var mailboxSendStates = [
|
|
21544
22242
|
"approvalRequired",
|
|
21545
22243
|
"queued",
|
|
@@ -21767,7 +22465,8 @@ var MailboxSendIntent = Union2([
|
|
|
21767
22465
|
]).annotate({ identifier: "MailboxSendIntent" });
|
|
21768
22466
|
var authorityFields = {
|
|
21769
22467
|
actor: MailboxActorRef,
|
|
21770
|
-
installationId: NullOr(ExtensionInstallationId)
|
|
22468
|
+
installationId: NullOr(ExtensionInstallationId),
|
|
22469
|
+
operatorUserId: optional2(UserId)
|
|
21771
22470
|
};
|
|
21772
22471
|
var MailboxSendAuthority = Union2([
|
|
21773
22472
|
Struct({ kind: Literal2("allow"), ...authorityFields }),
|
|
@@ -24105,8 +24804,11 @@ var apiKey = (options) => Object.assign(Object.create(Proto18), {
|
|
|
24105
24804
|
});
|
|
24106
24805
|
// ../sdk/dist/effect/generated/shared.js
|
|
24107
24806
|
var JsonValue = suspend5(() => __recursive_JsonValue);
|
|
24108
|
-
var
|
|
24109
|
-
}
|
|
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"));
|
|
24110
24812
|
var UnauthorizedError2 = class extends TaggedError3()("UnauthorizedError", Struct({ message: String4 })) {
|
|
24111
24813
|
};
|
|
24112
24814
|
var ForbiddenError2 = class extends TaggedError3()("ForbiddenError", Struct({ message: String4 })) {
|
|
@@ -24123,7 +24825,34 @@ var GatewayTimeoutError2 = class extends TaggedError3()("GatewayTimeoutError", S
|
|
|
24123
24825
|
retryAfterSeconds: Finite.check(isFinite4().annotate({ expected: "a finite number" }))
|
|
24124
24826
|
})) {
|
|
24125
24827
|
};
|
|
24126
|
-
|
|
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
|
+
};
|
|
24127
24856
|
var ApiKeyResourceAccess = /* @__PURE__ */ Struct({
|
|
24128
24857
|
messages: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
|
|
24129
24858
|
email: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
|
|
@@ -24132,6 +24861,7 @@ var ApiKeyResourceAccess = /* @__PURE__ */ Struct({
|
|
|
24132
24861
|
contacts: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
|
|
24133
24862
|
conversations: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
|
|
24134
24863
|
templates: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
|
|
24864
|
+
agents: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
|
|
24135
24865
|
webhooks: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
|
|
24136
24866
|
apiKeys: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
|
|
24137
24867
|
organization: optionalKey2(Union2([Union2([Literal2("read"), Literal2("write")]), Null2])),
|
|
@@ -24146,10 +24876,6 @@ var MailboxSendMode2 = /* @__PURE__ */ Union2([Literal2("send"), Literal2("appro
|
|
|
24146
24876
|
description: "How the grantee's sends execute: `send` runs them within account limits; `approval` holds each one until a different member approves it.",
|
|
24147
24877
|
identifier: "MailboxSendMode"
|
|
24148
24878
|
});
|
|
24149
|
-
var NamespaceId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */ new RegExp("^ns_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
24150
|
-
expected: "a string matching the RegExp ^ns_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
24151
|
-
identifier: "NamespaceId"
|
|
24152
|
-
})).pipe(brand("NamespaceId"));
|
|
24153
24879
|
var PaymentRequiredError2 = class extends TaggedError3()("PaymentRequiredError", Struct({
|
|
24154
24880
|
message: String4,
|
|
24155
24881
|
resource: String4,
|
|
@@ -24157,12 +24883,6 @@ var PaymentRequiredError2 = class extends TaggedError3()("PaymentRequiredError",
|
|
|
24157
24883
|
limit: Finite.check(isFinite4().annotate({ expected: "a finite number" }))
|
|
24158
24884
|
})) {
|
|
24159
24885
|
};
|
|
24160
|
-
var ResourceNotFoundError2 = class extends TaggedError3()("ResourceNotFoundError", Struct({
|
|
24161
|
-
resource: String4,
|
|
24162
|
-
id: String4,
|
|
24163
|
-
message: String4
|
|
24164
|
-
})) {
|
|
24165
|
-
};
|
|
24166
24886
|
var RateLimitedError2 = class extends TaggedError3()("RateLimitedError", Struct({
|
|
24167
24887
|
message: String4,
|
|
24168
24888
|
retryAfterSeconds: Finite.check(isFinite4().annotate({ expected: "a finite number" }))
|
|
@@ -24204,12 +24924,6 @@ var BrandSocialLink = /* @__PURE__ */ Struct({
|
|
|
24204
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" })),
|
|
24205
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" }))
|
|
24206
24926
|
}).annotate({ identifier: "BrandSocialLink" });
|
|
24207
|
-
var ConflictError2 = class extends TaggedError3()("ConflictError", Struct({
|
|
24208
|
-
message: String4,
|
|
24209
|
-
resource: String4,
|
|
24210
|
-
id: optionalKey2(Union2([String4, Null2]))
|
|
24211
|
-
})) {
|
|
24212
|
-
};
|
|
24213
24927
|
var MediaId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */ new RegExp("^media_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
24214
24928
|
expected: "a string matching the RegExp ^media_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
24215
24929
|
identifier: "MediaId"
|
|
@@ -24273,6 +24987,11 @@ var EmailDomainId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */ ne
|
|
|
24273
24987
|
expected: "a string matching the RegExp ^dom_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
24274
24988
|
identifier: "EmailDomainId"
|
|
24275
24989
|
})).pipe(brand("EmailDomainId"));
|
|
24990
|
+
var FromAddressRequiredError2 = class extends TaggedError3()("FromAddressRequiredError", Struct({
|
|
24991
|
+
message: String4,
|
|
24992
|
+
verifiedDomains: ArraySchema(String4)
|
|
24993
|
+
})) {
|
|
24994
|
+
};
|
|
24276
24995
|
var BrandAddressRequiredError = class extends TaggedError3()("BrandAddressRequiredError", Struct({
|
|
24277
24996
|
message: String4,
|
|
24278
24997
|
brand: Union2([String4, Null2])
|
|
@@ -24410,10 +25129,6 @@ var MailboxMetadata2 = /* @__PURE__ */ Record(String4, String4.check(isMaxCodePo
|
|
|
24410
25129
|
expected: "an object with property names matching the schema",
|
|
24411
25130
|
identifier: "MailboxMetadata"
|
|
24412
25131
|
}));
|
|
24413
|
-
var MailboxEndpointId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */ new RegExp("^mbxep_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
|
|
24414
|
-
expected: "a string matching the RegExp ^mbxep_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
24415
|
-
identifier: "MailboxEndpointId"
|
|
24416
|
-
})).pipe(brand("MailboxEndpointId"));
|
|
24417
25132
|
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({
|
|
24418
25133
|
expected: "an object with property names matching the schema",
|
|
24419
25134
|
identifier: "MailboxMetadataPatch"
|
|
@@ -24588,22 +25303,11 @@ var TemplateFromDefault = /* @__PURE__ */ Struct({
|
|
|
24588
25303
|
email: String4.check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
24589
25304
|
name: optionalKey2(Union2([String4, Null2]))
|
|
24590
25305
|
}).annotate({ identifier: "TemplateFromDefault" });
|
|
25306
|
+
var TemplateTrackingDefault = /* @__PURE__ */ Struct({
|
|
25307
|
+
opens: optionalKey2(Union2([Boolean3, Null2])),
|
|
25308
|
+
clicks: optionalKey2(Union2([Boolean3, Null2]))
|
|
25309
|
+
}).annotate({ identifier: "TemplateTrackingDefault" });
|
|
24591
25310
|
var TestWebhookPayload = /* @__PURE__ */ Struct({ data: optionalKey2(Union2([Record(String4, JsonValue), Null2])) }).annotate({ identifier: "TestWebhookPayload" });
|
|
24592
|
-
var ApiKeyMailboxAccess = /* @__PURE__ */ Struct({
|
|
24593
|
-
permissions: TupleWithRest(Tuple2([Union2([
|
|
24594
|
-
Literal2("read"),
|
|
24595
|
-
Literal2("update"),
|
|
24596
|
-
Literal2("send"),
|
|
24597
|
-
Literal2("quarantine.read")
|
|
24598
|
-
])]), [Union2([
|
|
24599
|
-
Literal2("read"),
|
|
24600
|
-
Literal2("update"),
|
|
24601
|
-
Literal2("send"),
|
|
24602
|
-
Literal2("quarantine.read")
|
|
24603
|
-
])]).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." }),
|
|
24604
|
-
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." })),
|
|
24605
|
-
sendMode: optionalKey2(Union2([MailboxSendMode2, Null2]).annotate({ description: "Defaults to `send`. With `approval`, each send waits until a person other than the key approves it." }))
|
|
24606
|
-
}).annotate({ identifier: "ApiKeyMailboxAccess" });
|
|
24607
25311
|
var CreateTemplatePayload = /* @__PURE__ */ Struct({
|
|
24608
25312
|
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" })),
|
|
24609
25313
|
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])),
|
|
@@ -24664,6 +25368,9 @@ var CreateWebhookPayload = /* @__PURE__ */ Struct({
|
|
|
24664
25368
|
Literal2("mailbox.message.quarantined"),
|
|
24665
25369
|
Literal2("mailbox.message.released"),
|
|
24666
25370
|
Literal2("mailbox.message.discarded"),
|
|
25371
|
+
Literal2("mailbox.message.delivered"),
|
|
25372
|
+
Literal2("mailbox.message.read"),
|
|
25373
|
+
Literal2("mailbox.message.failed"),
|
|
24667
25374
|
Literal2("journey.webhook")
|
|
24668
25375
|
])).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
24669
25376
|
channels: optionalKey2(Union2([ArraySchema(Literal2("email")).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Null2])),
|
|
@@ -24711,6 +25418,9 @@ var UpdateWebhookPayload = /* @__PURE__ */ Struct({
|
|
|
24711
25418
|
Literal2("mailbox.message.quarantined"),
|
|
24712
25419
|
Literal2("mailbox.message.released"),
|
|
24713
25420
|
Literal2("mailbox.message.discarded"),
|
|
25421
|
+
Literal2("mailbox.message.delivered"),
|
|
25422
|
+
Literal2("mailbox.message.read"),
|
|
25423
|
+
Literal2("mailbox.message.failed"),
|
|
24714
25424
|
Literal2("journey.webhook")
|
|
24715
25425
|
])).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Null2])),
|
|
24716
25426
|
channels: optionalKey2(Union2([Union2([ArraySchema(Literal2("email")).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Null2]), Null2])),
|
|
@@ -24719,6 +25429,21 @@ var UpdateWebhookPayload = /* @__PURE__ */ Struct({
|
|
|
24719
25429
|
headers: optionalKey2(Union2([Record(String4, String4), Null2])),
|
|
24720
25430
|
status: optionalKey2(Union2([Union2([Literal2("active"), Literal2("disabled")]), Null2]))
|
|
24721
25431
|
}).annotate({ identifier: "UpdateWebhookPayload" });
|
|
25432
|
+
var ApiKeyMailboxAccess = /* @__PURE__ */ Struct({
|
|
25433
|
+
permissions: TupleWithRest(Tuple2([Union2([
|
|
25434
|
+
Literal2("read"),
|
|
25435
|
+
Literal2("update"),
|
|
25436
|
+
Literal2("send"),
|
|
25437
|
+
Literal2("quarantine.read")
|
|
25438
|
+
])]), [Union2([
|
|
25439
|
+
Literal2("read"),
|
|
25440
|
+
Literal2("update"),
|
|
25441
|
+
Literal2("send"),
|
|
25442
|
+
Literal2("quarantine.read")
|
|
25443
|
+
])]).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." }),
|
|
25444
|
+
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." })),
|
|
25445
|
+
sendMode: optionalKey2(Union2([MailboxSendMode2, Null2]).annotate({ description: "Defaults to `send`. With `approval`, each send waits until a person other than the key approves it." }))
|
|
25446
|
+
}).annotate({ identifier: "ApiKeyMailboxAccess" });
|
|
24722
25447
|
var MessageSummary2 = /* @__PURE__ */ Struct({
|
|
24723
25448
|
id: MessageId2,
|
|
24724
25449
|
channel: Literal2("email"),
|
|
@@ -24942,6 +25667,7 @@ var UpdateTemplatePayload = /* @__PURE__ */ Struct({ data: Struct({
|
|
|
24942
25667
|
]), Null2]), Null2])),
|
|
24943
25668
|
fromDefault: optionalKey2(Union2([Union2([TemplateFromDefault, Null2]), Null2])),
|
|
24944
25669
|
replyToDefault: optionalKey2(Union2([Union2([ArraySchema(String4), Null2]), Null2])),
|
|
25670
|
+
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." })),
|
|
24945
25671
|
isActive: optionalKey2(Union2([Boolean3, Null2])),
|
|
24946
25672
|
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." }))
|
|
24947
25673
|
}) }).annotate({ identifier: "UpdateTemplatePayload" });
|
|
@@ -25272,6 +25998,7 @@ var apiStatuses = {
|
|
|
25272
25998
|
ValidationError: 422,
|
|
25273
25999
|
AnalyticsQueryError: 400,
|
|
25274
26000
|
BrandAddressRequiredError: 422,
|
|
26001
|
+
FromAddressRequiredError: 422,
|
|
25275
26002
|
CampaignFooterRequiredError: 422,
|
|
25276
26003
|
UnauthorizedError: 401,
|
|
25277
26004
|
ForbiddenError: 403,
|
|
@@ -25338,6 +26065,9 @@ var apiErrorGuidance = (error) => {
|
|
|
25338
26065
|
case "SenderNotReadyError":
|
|
25339
26066
|
next = typeof details.retryAfterSeconds === "number" ? `Wait ${details.retryAfterSeconds} seconds before retrying.` : "Wait for the sending identity to be ready before retrying.";
|
|
25340
26067
|
break;
|
|
26068
|
+
case "FromAddressRequiredError":
|
|
26069
|
+
next = Array.isArray(details.verifiedDomains) && details.verifiedDomains.length > 0 ? `Pass --from with an address on ${details.verifiedDomains.join(", ")}, or add a sender there and run samva email senders set-default.` : "Verify a domain or a sender (samva email domains add, samva email senders add), then set a default sender.";
|
|
26070
|
+
break;
|
|
25341
26071
|
case "CursorExpiredError":
|
|
25342
26072
|
next = "Read current state from the API, then retry without the cursor.";
|
|
25343
26073
|
break;
|
|
@@ -25564,7 +26294,7 @@ var __exportAll = (all, no_symbols) => {
|
|
|
25564
26294
|
};
|
|
25565
26295
|
|
|
25566
26296
|
// ../sdk/dist/package.js
|
|
25567
|
-
var version = "0.
|
|
26297
|
+
var version = "0.25.0";
|
|
25568
26298
|
|
|
25569
26299
|
// ../sdk/dist/client-attribution.js
|
|
25570
26300
|
var SDK_VERSION = version;
|
|
@@ -26886,6 +27616,12 @@ var PERMISSIONS = {
|
|
|
26886
27616
|
UPDATE: { templates: ["update"] },
|
|
26887
27617
|
DELETE: { templates: ["delete"] }
|
|
26888
27618
|
},
|
|
27619
|
+
AGENTS: {
|
|
27620
|
+
CREATE: { agents: ["create"] },
|
|
27621
|
+
READ: { agents: ["read"] },
|
|
27622
|
+
UPDATE: { agents: ["update"] },
|
|
27623
|
+
DELETE: { agents: ["delete"] }
|
|
27624
|
+
},
|
|
26889
27625
|
MAILBOXES: {
|
|
26890
27626
|
READ: { mailboxes: ["read"] },
|
|
26891
27627
|
UPDATE: { mailboxes: ["update"] },
|
|
@@ -26938,6 +27674,7 @@ function generateBetterAuthStatement() {
|
|
|
26938
27674
|
contacts: ["create", "read", "update", "delete"],
|
|
26939
27675
|
conversations: ["create", "read", "update", "delete"],
|
|
26940
27676
|
templates: ["create", "read", "update", "delete"],
|
|
27677
|
+
agents: ["create", "read", "update", "delete"],
|
|
26941
27678
|
mailboxes: ["read", "update", "send", "manage", "quarantine.read", "quarantine.release"],
|
|
26942
27679
|
webhooks: ["create", "read", "update", "delete"],
|
|
26943
27680
|
apiKeys: ["create", "read", "update", "delete", "rotate"],
|
|
@@ -26979,6 +27716,12 @@ function roleStatements() {
|
|
|
26979
27716
|
...PERMISSIONS.TEMPLATES.UPDATE.templates,
|
|
26980
27717
|
...PERMISSIONS.TEMPLATES.DELETE.templates
|
|
26981
27718
|
],
|
|
27719
|
+
agents: [
|
|
27720
|
+
...PERMISSIONS.AGENTS.CREATE.agents,
|
|
27721
|
+
...PERMISSIONS.AGENTS.READ.agents,
|
|
27722
|
+
...PERMISSIONS.AGENTS.UPDATE.agents,
|
|
27723
|
+
...PERMISSIONS.AGENTS.DELETE.agents
|
|
27724
|
+
],
|
|
26982
27725
|
mailboxes: [
|
|
26983
27726
|
...PERMISSIONS.MAILBOXES.READ.mailboxes,
|
|
26984
27727
|
...PERMISSIONS.MAILBOXES.UPDATE.mailboxes,
|
|
@@ -28183,6 +28926,10 @@ var SamvaErrorMetadata = {
|
|
|
28183
28926
|
categories: ["auth"],
|
|
28184
28927
|
retryable: false
|
|
28185
28928
|
},
|
|
28929
|
+
FromAddressRequiredError: {
|
|
28930
|
+
categories: ["validation"],
|
|
28931
|
+
retryable: false
|
|
28932
|
+
},
|
|
28186
28933
|
GatewayTimeoutError: {
|
|
28187
28934
|
categories: ["transient"],
|
|
28188
28935
|
retryable: true
|
|
@@ -28229,819 +28976,858 @@ var SamvaErrorMetadata = {
|
|
|
28229
28976
|
}
|
|
28230
28977
|
};
|
|
28231
28978
|
var operationMetadata0 = {
|
|
28979
|
+
group: "Agents",
|
|
28980
|
+
method: "GET",
|
|
28981
|
+
paginated: true
|
|
28982
|
+
};
|
|
28983
|
+
var operationMetadata1 = {
|
|
28984
|
+
group: "Agents",
|
|
28985
|
+
method: "POST",
|
|
28986
|
+
paginated: false
|
|
28987
|
+
};
|
|
28988
|
+
var operationMetadata2 = {
|
|
28989
|
+
group: "Agents",
|
|
28990
|
+
method: "GET",
|
|
28991
|
+
paginated: false
|
|
28992
|
+
};
|
|
28993
|
+
var operationMetadata3 = {
|
|
28994
|
+
group: "Agents",
|
|
28995
|
+
method: "DELETE",
|
|
28996
|
+
paginated: false
|
|
28997
|
+
};
|
|
28998
|
+
var operationMetadata4 = {
|
|
28999
|
+
group: "Agents",
|
|
29000
|
+
method: "PATCH",
|
|
29001
|
+
paginated: false
|
|
29002
|
+
};
|
|
29003
|
+
var operationMetadata5 = {
|
|
29004
|
+
group: "Agents",
|
|
29005
|
+
method: "PUT",
|
|
29006
|
+
paginated: false
|
|
29007
|
+
};
|
|
29008
|
+
var operationMetadata6 = {
|
|
28232
29009
|
group: "Analytics",
|
|
28233
29010
|
method: "GET",
|
|
28234
29011
|
paginated: false
|
|
28235
29012
|
};
|
|
28236
|
-
var
|
|
29013
|
+
var operationMetadata7 = {
|
|
28237
29014
|
group: "Analytics",
|
|
28238
29015
|
method: "POST",
|
|
28239
29016
|
paginated: false
|
|
28240
29017
|
};
|
|
28241
|
-
var
|
|
29018
|
+
var operationMetadata8 = {
|
|
28242
29019
|
group: "API Keys",
|
|
28243
29020
|
method: "GET",
|
|
28244
29021
|
paginated: true
|
|
28245
29022
|
};
|
|
28246
|
-
var
|
|
29023
|
+
var operationMetadata9 = {
|
|
28247
29024
|
group: "API Keys",
|
|
28248
29025
|
method: "POST",
|
|
28249
29026
|
paginated: false
|
|
28250
29027
|
};
|
|
28251
|
-
var
|
|
29028
|
+
var operationMetadata10 = {
|
|
28252
29029
|
group: "API Keys",
|
|
28253
29030
|
method: "GET",
|
|
28254
29031
|
paginated: false
|
|
28255
29032
|
};
|
|
28256
|
-
var
|
|
29033
|
+
var operationMetadata11 = {
|
|
28257
29034
|
group: "API Keys",
|
|
28258
29035
|
method: "PATCH",
|
|
28259
29036
|
paginated: false
|
|
28260
29037
|
};
|
|
28261
|
-
var
|
|
29038
|
+
var operationMetadata12 = {
|
|
28262
29039
|
group: "Attachments",
|
|
28263
29040
|
method: "GET",
|
|
28264
29041
|
paginated: false
|
|
28265
29042
|
};
|
|
28266
|
-
var
|
|
29043
|
+
var operationMetadata13 = {
|
|
28267
29044
|
group: "Attachments",
|
|
28268
29045
|
method: "DELETE",
|
|
28269
29046
|
paginated: false
|
|
28270
29047
|
};
|
|
28271
|
-
var
|
|
29048
|
+
var operationMetadata14 = {
|
|
28272
29049
|
group: "Brands",
|
|
28273
29050
|
method: "GET",
|
|
28274
29051
|
paginated: false
|
|
28275
29052
|
};
|
|
28276
|
-
var
|
|
29053
|
+
var operationMetadata15 = {
|
|
28277
29054
|
group: "Brands",
|
|
28278
29055
|
method: "POST",
|
|
28279
29056
|
paginated: false
|
|
28280
29057
|
};
|
|
28281
|
-
var
|
|
29058
|
+
var operationMetadata16 = {
|
|
28282
29059
|
group: "Brands",
|
|
28283
29060
|
method: "DELETE",
|
|
28284
29061
|
paginated: false
|
|
28285
29062
|
};
|
|
28286
|
-
var
|
|
29063
|
+
var operationMetadata17 = {
|
|
28287
29064
|
group: "Brands",
|
|
28288
29065
|
method: "PATCH",
|
|
28289
29066
|
paginated: false
|
|
28290
29067
|
};
|
|
28291
|
-
var
|
|
29068
|
+
var operationMetadata18 = {
|
|
28292
29069
|
group: "Campaigns",
|
|
28293
29070
|
method: "GET",
|
|
28294
29071
|
paginated: true
|
|
28295
29072
|
};
|
|
28296
|
-
var
|
|
29073
|
+
var operationMetadata19 = {
|
|
28297
29074
|
group: "Campaigns",
|
|
28298
29075
|
method: "POST",
|
|
28299
29076
|
paginated: false
|
|
28300
29077
|
};
|
|
28301
|
-
var
|
|
29078
|
+
var operationMetadata20 = {
|
|
28302
29079
|
group: "Campaigns",
|
|
28303
29080
|
method: "GET",
|
|
28304
29081
|
paginated: false
|
|
28305
29082
|
};
|
|
28306
|
-
var
|
|
29083
|
+
var operationMetadata21 = {
|
|
28307
29084
|
group: "Campaigns",
|
|
28308
29085
|
method: "PATCH",
|
|
28309
29086
|
paginated: false
|
|
28310
29087
|
};
|
|
28311
|
-
var
|
|
29088
|
+
var operationMetadata22 = {
|
|
28312
29089
|
group: "Contact Groups",
|
|
28313
29090
|
method: "GET",
|
|
28314
29091
|
paginated: true
|
|
28315
29092
|
};
|
|
28316
|
-
var
|
|
29093
|
+
var operationMetadata23 = {
|
|
28317
29094
|
group: "Contact Groups",
|
|
28318
29095
|
method: "POST",
|
|
28319
29096
|
paginated: false
|
|
28320
29097
|
};
|
|
28321
|
-
var
|
|
29098
|
+
var operationMetadata24 = {
|
|
28322
29099
|
group: "Contact Groups",
|
|
28323
29100
|
method: "GET",
|
|
28324
29101
|
paginated: false
|
|
28325
29102
|
};
|
|
28326
|
-
var
|
|
29103
|
+
var operationMetadata25 = {
|
|
28327
29104
|
group: "Contact Groups",
|
|
28328
29105
|
method: "DELETE",
|
|
28329
29106
|
paginated: false
|
|
28330
29107
|
};
|
|
28331
|
-
var
|
|
29108
|
+
var operationMetadata26 = {
|
|
28332
29109
|
group: "Contact Groups",
|
|
28333
29110
|
method: "PATCH",
|
|
28334
29111
|
paginated: false
|
|
28335
29112
|
};
|
|
28336
|
-
var
|
|
29113
|
+
var operationMetadata27 = {
|
|
28337
29114
|
group: "Contacts",
|
|
28338
29115
|
method: "GET",
|
|
28339
29116
|
paginated: true
|
|
28340
29117
|
};
|
|
28341
|
-
var
|
|
29118
|
+
var operationMetadata28 = {
|
|
28342
29119
|
group: "Contacts",
|
|
28343
29120
|
method: "POST",
|
|
28344
29121
|
paginated: false
|
|
28345
29122
|
};
|
|
28346
|
-
var
|
|
29123
|
+
var operationMetadata29 = {
|
|
28347
29124
|
group: "Contacts",
|
|
28348
29125
|
method: "GET",
|
|
28349
29126
|
paginated: false
|
|
28350
29127
|
};
|
|
28351
|
-
var
|
|
29128
|
+
var operationMetadata30 = {
|
|
28352
29129
|
group: "Contacts",
|
|
28353
29130
|
method: "DELETE",
|
|
28354
29131
|
paginated: false
|
|
28355
29132
|
};
|
|
28356
|
-
var
|
|
29133
|
+
var operationMetadata31 = {
|
|
28357
29134
|
group: "Contacts",
|
|
28358
29135
|
method: "PATCH",
|
|
28359
29136
|
paginated: false
|
|
28360
29137
|
};
|
|
28361
|
-
var
|
|
29138
|
+
var operationMetadata32 = {
|
|
28362
29139
|
group: "Contact events",
|
|
28363
29140
|
method: "GET",
|
|
28364
29141
|
paginated: true
|
|
28365
29142
|
};
|
|
28366
|
-
var
|
|
29143
|
+
var operationMetadata33 = {
|
|
28367
29144
|
group: "Contacts",
|
|
28368
29145
|
method: "PUT",
|
|
28369
29146
|
paginated: false
|
|
28370
29147
|
};
|
|
28371
|
-
var
|
|
29148
|
+
var operationMetadata34 = {
|
|
28372
29149
|
group: "Conversations",
|
|
28373
29150
|
method: "GET",
|
|
28374
29151
|
paginated: true
|
|
28375
29152
|
};
|
|
28376
|
-
var
|
|
29153
|
+
var operationMetadata35 = {
|
|
28377
29154
|
group: "Conversations",
|
|
28378
29155
|
method: "POST",
|
|
28379
29156
|
paginated: false
|
|
28380
29157
|
};
|
|
28381
|
-
var
|
|
29158
|
+
var operationMetadata36 = {
|
|
28382
29159
|
group: "Conversations",
|
|
28383
29160
|
method: "GET",
|
|
28384
29161
|
paginated: false
|
|
28385
29162
|
};
|
|
28386
|
-
var
|
|
29163
|
+
var operationMetadata37 = {
|
|
28387
29164
|
group: "Conversations",
|
|
28388
29165
|
method: "PATCH",
|
|
28389
29166
|
paginated: false
|
|
28390
29167
|
};
|
|
28391
|
-
var
|
|
29168
|
+
var operationMetadata38 = {
|
|
28392
29169
|
group: "Conversations",
|
|
28393
29170
|
method: "DELETE",
|
|
28394
29171
|
paginated: false
|
|
28395
29172
|
};
|
|
28396
|
-
var
|
|
29173
|
+
var operationMetadata39 = {
|
|
28397
29174
|
group: "Custom Fields",
|
|
28398
29175
|
method: "GET",
|
|
28399
29176
|
paginated: false
|
|
28400
29177
|
};
|
|
28401
|
-
var
|
|
29178
|
+
var operationMetadata40 = {
|
|
28402
29179
|
group: "Custom Fields",
|
|
28403
29180
|
method: "POST",
|
|
28404
29181
|
paginated: false
|
|
28405
29182
|
};
|
|
28406
|
-
var
|
|
29183
|
+
var operationMetadata41 = {
|
|
28407
29184
|
group: "Custom Fields",
|
|
28408
29185
|
method: "DELETE",
|
|
28409
29186
|
paginated: false
|
|
28410
29187
|
};
|
|
28411
|
-
var
|
|
29188
|
+
var operationMetadata42 = {
|
|
28412
29189
|
group: "Custom Fields",
|
|
28413
29190
|
method: "PATCH",
|
|
28414
29191
|
paginated: false
|
|
28415
29192
|
};
|
|
28416
|
-
var
|
|
29193
|
+
var operationMetadata43 = {
|
|
28417
29194
|
group: "Email",
|
|
28418
29195
|
method: "GET",
|
|
28419
29196
|
paginated: true
|
|
28420
29197
|
};
|
|
28421
|
-
var
|
|
29198
|
+
var operationMetadata44 = {
|
|
28422
29199
|
group: "Email",
|
|
28423
29200
|
method: "POST",
|
|
28424
29201
|
paginated: false
|
|
28425
29202
|
};
|
|
28426
|
-
var
|
|
29203
|
+
var operationMetadata45 = {
|
|
28427
29204
|
group: "Email",
|
|
28428
29205
|
method: "DELETE",
|
|
28429
29206
|
paginated: false
|
|
28430
29207
|
};
|
|
28431
|
-
var
|
|
29208
|
+
var operationMetadata46 = {
|
|
28432
29209
|
group: "Email",
|
|
28433
29210
|
method: "PATCH",
|
|
28434
29211
|
paginated: false
|
|
28435
29212
|
};
|
|
28436
|
-
var
|
|
29213
|
+
var operationMetadata47 = {
|
|
28437
29214
|
group: "Email",
|
|
28438
29215
|
method: "GET",
|
|
28439
29216
|
paginated: false
|
|
28440
29217
|
};
|
|
28441
|
-
var
|
|
29218
|
+
var operationMetadata48 = {
|
|
28442
29219
|
group: "Events",
|
|
28443
29220
|
method: "POST",
|
|
28444
29221
|
paginated: false
|
|
28445
29222
|
};
|
|
28446
|
-
var
|
|
29223
|
+
var operationMetadata49 = {
|
|
28447
29224
|
group: "Extension installations",
|
|
28448
29225
|
method: "GET",
|
|
28449
29226
|
paginated: true
|
|
28450
29227
|
};
|
|
28451
|
-
var
|
|
29228
|
+
var operationMetadata50 = {
|
|
28452
29229
|
group: "Extension installations",
|
|
28453
29230
|
method: "POST",
|
|
28454
29231
|
paginated: false
|
|
28455
29232
|
};
|
|
28456
|
-
var
|
|
29233
|
+
var operationMetadata51 = {
|
|
28457
29234
|
group: "Extension installations",
|
|
28458
29235
|
method: "GET",
|
|
28459
29236
|
paginated: false
|
|
28460
29237
|
};
|
|
28461
|
-
var
|
|
29238
|
+
var operationMetadata52 = {
|
|
28462
29239
|
group: "Extension installations",
|
|
28463
29240
|
method: "DELETE",
|
|
28464
29241
|
paginated: false
|
|
28465
29242
|
};
|
|
28466
|
-
var
|
|
29243
|
+
var operationMetadata53 = {
|
|
28467
29244
|
group: "Extensions",
|
|
28468
29245
|
method: "GET",
|
|
28469
29246
|
paginated: true
|
|
28470
29247
|
};
|
|
28471
|
-
var
|
|
29248
|
+
var operationMetadata54 = {
|
|
28472
29249
|
group: "Extensions",
|
|
28473
29250
|
method: "POST",
|
|
28474
29251
|
paginated: false
|
|
28475
29252
|
};
|
|
28476
|
-
var
|
|
29253
|
+
var operationMetadata55 = {
|
|
28477
29254
|
group: "Extensions",
|
|
28478
29255
|
method: "GET",
|
|
28479
29256
|
paginated: false
|
|
28480
29257
|
};
|
|
28481
|
-
var
|
|
29258
|
+
var operationMetadata56 = {
|
|
28482
29259
|
group: "Feedback",
|
|
28483
29260
|
method: "POST",
|
|
28484
29261
|
paginated: false
|
|
28485
29262
|
};
|
|
28486
|
-
var
|
|
29263
|
+
var operationMetadata57 = {
|
|
28487
29264
|
group: "Journeys",
|
|
28488
29265
|
method: "GET",
|
|
28489
29266
|
paginated: true
|
|
28490
29267
|
};
|
|
28491
|
-
var
|
|
29268
|
+
var operationMetadata58 = {
|
|
28492
29269
|
group: "Journeys",
|
|
28493
29270
|
method: "POST",
|
|
28494
29271
|
paginated: false
|
|
28495
29272
|
};
|
|
28496
|
-
var
|
|
29273
|
+
var operationMetadata59 = {
|
|
28497
29274
|
group: "Journeys",
|
|
28498
29275
|
method: "GET",
|
|
28499
29276
|
paginated: false
|
|
28500
29277
|
};
|
|
28501
|
-
var
|
|
29278
|
+
var operationMetadata60 = {
|
|
28502
29279
|
group: "Journeys",
|
|
28503
29280
|
method: "DELETE",
|
|
28504
29281
|
paginated: false
|
|
28505
29282
|
};
|
|
28506
|
-
var
|
|
29283
|
+
var operationMetadata61 = {
|
|
28507
29284
|
group: "Journeys",
|
|
28508
29285
|
method: "PATCH",
|
|
28509
29286
|
paginated: false
|
|
28510
29287
|
};
|
|
28511
|
-
var
|
|
29288
|
+
var operationMetadata62 = {
|
|
28512
29289
|
group: "Journeys",
|
|
28513
29290
|
method: "PUT",
|
|
28514
29291
|
paginated: false
|
|
28515
29292
|
};
|
|
28516
|
-
var
|
|
29293
|
+
var operationMetadata63 = {
|
|
28517
29294
|
group: "Mailboxes",
|
|
28518
29295
|
method: "GET",
|
|
28519
29296
|
paginated: true
|
|
28520
29297
|
};
|
|
28521
|
-
var
|
|
29298
|
+
var operationMetadata64 = {
|
|
28522
29299
|
group: "Mailboxes",
|
|
28523
29300
|
method: "POST",
|
|
28524
29301
|
paginated: false
|
|
28525
29302
|
};
|
|
28526
|
-
var
|
|
29303
|
+
var operationMetadata65 = {
|
|
28527
29304
|
group: "Mailboxes",
|
|
28528
29305
|
method: "GET",
|
|
28529
29306
|
paginated: false
|
|
28530
29307
|
};
|
|
28531
|
-
var
|
|
29308
|
+
var operationMetadata66 = {
|
|
28532
29309
|
group: "Mailboxes",
|
|
28533
29310
|
method: "DELETE",
|
|
28534
29311
|
paginated: false
|
|
28535
29312
|
};
|
|
28536
|
-
var
|
|
29313
|
+
var operationMetadata67 = {
|
|
28537
29314
|
group: "Mailboxes",
|
|
28538
29315
|
method: "PATCH",
|
|
28539
29316
|
paginated: false
|
|
28540
29317
|
};
|
|
28541
|
-
var
|
|
29318
|
+
var operationMetadata68 = {
|
|
28542
29319
|
group: "Media",
|
|
28543
29320
|
method: "POST",
|
|
28544
29321
|
paginated: false
|
|
28545
29322
|
};
|
|
28546
|
-
var
|
|
29323
|
+
var operationMetadata69 = {
|
|
28547
29324
|
group: "Media",
|
|
28548
29325
|
method: "GET",
|
|
28549
29326
|
paginated: false
|
|
28550
29327
|
};
|
|
28551
|
-
var
|
|
29328
|
+
var operationMetadata70 = {
|
|
28552
29329
|
group: "Media",
|
|
28553
29330
|
method: "DELETE",
|
|
28554
29331
|
paginated: false
|
|
28555
29332
|
};
|
|
28556
|
-
var
|
|
29333
|
+
var operationMetadata71 = {
|
|
28557
29334
|
group: "Messages",
|
|
28558
29335
|
method: "GET",
|
|
28559
29336
|
paginated: true
|
|
28560
29337
|
};
|
|
28561
|
-
var
|
|
29338
|
+
var operationMetadata72 = {
|
|
28562
29339
|
group: "Messages",
|
|
28563
29340
|
method: "POST",
|
|
28564
29341
|
paginated: false
|
|
28565
29342
|
};
|
|
28566
|
-
var
|
|
29343
|
+
var operationMetadata73 = {
|
|
28567
29344
|
group: "Messages",
|
|
28568
29345
|
method: "GET",
|
|
28569
29346
|
paginated: false
|
|
28570
29347
|
};
|
|
28571
|
-
var
|
|
29348
|
+
var operationMetadata74 = {
|
|
28572
29349
|
group: "Messages",
|
|
28573
29350
|
method: "DELETE",
|
|
28574
29351
|
paginated: false
|
|
28575
29352
|
};
|
|
28576
|
-
var
|
|
29353
|
+
var operationMetadata75 = {
|
|
28577
29354
|
group: "Scheduled Messages",
|
|
28578
29355
|
method: "GET",
|
|
28579
29356
|
paginated: true
|
|
28580
29357
|
};
|
|
28581
|
-
var
|
|
29358
|
+
var operationMetadata76 = {
|
|
28582
29359
|
group: "Scheduled Messages",
|
|
28583
29360
|
method: "POST",
|
|
28584
29361
|
paginated: false
|
|
28585
29362
|
};
|
|
28586
|
-
var
|
|
29363
|
+
var operationMetadata77 = {
|
|
28587
29364
|
group: "Scheduled Messages",
|
|
28588
29365
|
method: "GET",
|
|
28589
29366
|
paginated: false
|
|
28590
29367
|
};
|
|
28591
|
-
var
|
|
29368
|
+
var operationMetadata78 = {
|
|
28592
29369
|
group: "Namespaces",
|
|
28593
29370
|
method: "GET",
|
|
28594
29371
|
paginated: true
|
|
28595
29372
|
};
|
|
28596
|
-
var
|
|
29373
|
+
var operationMetadata79 = {
|
|
28597
29374
|
group: "Namespaces",
|
|
28598
29375
|
method: "POST",
|
|
28599
29376
|
paginated: false
|
|
28600
29377
|
};
|
|
28601
|
-
var
|
|
29378
|
+
var operationMetadata80 = {
|
|
28602
29379
|
group: "Namespaces",
|
|
28603
29380
|
method: "GET",
|
|
28604
29381
|
paginated: false
|
|
28605
29382
|
};
|
|
28606
|
-
var
|
|
29383
|
+
var operationMetadata81 = {
|
|
28607
29384
|
group: "Namespaces",
|
|
28608
29385
|
method: "DELETE",
|
|
28609
29386
|
paginated: false
|
|
28610
29387
|
};
|
|
28611
|
-
var
|
|
29388
|
+
var operationMetadata82 = {
|
|
28612
29389
|
group: "Namespaces",
|
|
28613
29390
|
method: "PATCH",
|
|
28614
29391
|
paginated: false
|
|
28615
29392
|
};
|
|
28616
|
-
var
|
|
29393
|
+
var operationMetadata83 = {
|
|
28617
29394
|
group: "Operations",
|
|
28618
29395
|
method: "GET",
|
|
28619
29396
|
paginated: true
|
|
28620
29397
|
};
|
|
28621
|
-
var
|
|
29398
|
+
var operationMetadata84 = {
|
|
28622
29399
|
group: "Operations",
|
|
28623
29400
|
method: "GET",
|
|
28624
29401
|
paginated: false
|
|
28625
29402
|
};
|
|
28626
|
-
var
|
|
29403
|
+
var operationMetadata85 = {
|
|
28627
29404
|
group: "Operations",
|
|
28628
29405
|
method: "POST",
|
|
28629
29406
|
paginated: false
|
|
28630
29407
|
};
|
|
28631
|
-
var
|
|
29408
|
+
var operationMetadata86 = {
|
|
28632
29409
|
group: "Organizations",
|
|
28633
29410
|
method: "POST",
|
|
28634
29411
|
paginated: false
|
|
28635
29412
|
};
|
|
28636
|
-
var
|
|
29413
|
+
var operationMetadata87 = {
|
|
28637
29414
|
group: "Organizations",
|
|
28638
29415
|
method: "GET",
|
|
28639
29416
|
paginated: false
|
|
28640
29417
|
};
|
|
28641
|
-
var
|
|
29418
|
+
var operationMetadata88 = {
|
|
28642
29419
|
group: "Organizations",
|
|
28643
29420
|
method: "PATCH",
|
|
28644
29421
|
paginated: false
|
|
28645
29422
|
};
|
|
28646
|
-
var
|
|
29423
|
+
var operationMetadata89 = {
|
|
28647
29424
|
group: "Subscriptions",
|
|
28648
29425
|
method: "POST",
|
|
28649
29426
|
paginated: false
|
|
28650
29427
|
};
|
|
28651
|
-
var
|
|
29428
|
+
var operationMetadata90 = {
|
|
28652
29429
|
group: "Templates",
|
|
28653
29430
|
method: "GET",
|
|
28654
29431
|
paginated: true
|
|
28655
29432
|
};
|
|
28656
|
-
var
|
|
29433
|
+
var operationMetadata91 = {
|
|
28657
29434
|
group: "Templates",
|
|
28658
29435
|
method: "POST",
|
|
28659
29436
|
paginated: false
|
|
28660
29437
|
};
|
|
28661
|
-
var
|
|
29438
|
+
var operationMetadata92 = {
|
|
28662
29439
|
group: "Templates",
|
|
28663
29440
|
method: "GET",
|
|
28664
29441
|
paginated: false
|
|
28665
29442
|
};
|
|
28666
|
-
var
|
|
29443
|
+
var operationMetadata93 = {
|
|
28667
29444
|
group: "Templates",
|
|
28668
29445
|
method: "DELETE",
|
|
28669
29446
|
paginated: false
|
|
28670
29447
|
};
|
|
28671
|
-
var
|
|
29448
|
+
var operationMetadata94 = {
|
|
28672
29449
|
group: "Templates",
|
|
28673
29450
|
method: "PATCH",
|
|
28674
29451
|
paginated: false
|
|
28675
29452
|
};
|
|
28676
|
-
var
|
|
29453
|
+
var operationMetadata95 = {
|
|
28677
29454
|
group: "Templates",
|
|
28678
29455
|
method: "PUT",
|
|
28679
29456
|
paginated: false
|
|
28680
29457
|
};
|
|
28681
|
-
var
|
|
29458
|
+
var operationMetadata96 = {
|
|
28682
29459
|
group: "Unsubscribe Groups",
|
|
28683
29460
|
method: "GET",
|
|
28684
29461
|
paginated: false
|
|
28685
29462
|
};
|
|
28686
|
-
var
|
|
29463
|
+
var operationMetadata97 = {
|
|
28687
29464
|
group: "Unsubscribe Groups",
|
|
28688
29465
|
method: "POST",
|
|
28689
29466
|
paginated: false
|
|
28690
29467
|
};
|
|
28691
|
-
var
|
|
29468
|
+
var operationMetadata98 = {
|
|
28692
29469
|
group: "Unsubscribe Groups",
|
|
28693
29470
|
method: "DELETE",
|
|
28694
29471
|
paginated: false
|
|
28695
29472
|
};
|
|
28696
|
-
var
|
|
29473
|
+
var operationMetadata99 = {
|
|
28697
29474
|
group: "Unsubscribe Groups",
|
|
28698
29475
|
method: "PATCH",
|
|
28699
29476
|
paginated: false
|
|
28700
29477
|
};
|
|
28701
|
-
var
|
|
29478
|
+
var operationMetadata100 = {
|
|
28702
29479
|
group: "Unsubscribe Groups",
|
|
28703
29480
|
method: "GET",
|
|
28704
29481
|
paginated: true
|
|
28705
29482
|
};
|
|
28706
|
-
var
|
|
29483
|
+
var operationMetadata101 = {
|
|
28707
29484
|
group: "Webhooks",
|
|
28708
29485
|
method: "GET",
|
|
28709
29486
|
paginated: true
|
|
28710
29487
|
};
|
|
28711
|
-
var
|
|
29488
|
+
var operationMetadata102 = {
|
|
28712
29489
|
group: "Webhooks",
|
|
28713
29490
|
method: "POST",
|
|
28714
29491
|
paginated: false
|
|
28715
29492
|
};
|
|
28716
|
-
var
|
|
29493
|
+
var operationMetadata103 = {
|
|
28717
29494
|
group: "Webhooks",
|
|
28718
29495
|
method: "GET",
|
|
28719
29496
|
paginated: false
|
|
28720
29497
|
};
|
|
28721
29498
|
var SamvaOperations = {
|
|
28722
|
-
|
|
28723
|
-
|
|
28724
|
-
|
|
28725
|
-
|
|
28726
|
-
|
|
28727
|
-
|
|
28728
|
-
|
|
28729
|
-
|
|
28730
|
-
|
|
28731
|
-
|
|
28732
|
-
|
|
28733
|
-
|
|
28734
|
-
|
|
28735
|
-
|
|
28736
|
-
|
|
28737
|
-
|
|
28738
|
-
|
|
28739
|
-
|
|
28740
|
-
|
|
28741
|
-
|
|
28742
|
-
|
|
28743
|
-
|
|
28744
|
-
|
|
28745
|
-
|
|
28746
|
-
|
|
28747
|
-
|
|
28748
|
-
|
|
28749
|
-
|
|
28750
|
-
|
|
28751
|
-
|
|
28752
|
-
|
|
28753
|
-
|
|
28754
|
-
|
|
28755
|
-
|
|
28756
|
-
|
|
28757
|
-
|
|
28758
|
-
|
|
28759
|
-
|
|
28760
|
-
|
|
28761
|
-
|
|
28762
|
-
|
|
28763
|
-
|
|
28764
|
-
|
|
28765
|
-
|
|
28766
|
-
|
|
28767
|
-
|
|
28768
|
-
|
|
28769
|
-
|
|
28770
|
-
|
|
28771
|
-
|
|
28772
|
-
|
|
28773
|
-
|
|
28774
|
-
|
|
28775
|
-
|
|
28776
|
-
|
|
28777
|
-
|
|
28778
|
-
|
|
28779
|
-
|
|
28780
|
-
|
|
28781
|
-
|
|
28782
|
-
|
|
28783
|
-
|
|
28784
|
-
|
|
28785
|
-
|
|
28786
|
-
|
|
28787
|
-
|
|
28788
|
-
|
|
28789
|
-
|
|
28790
|
-
|
|
28791
|
-
|
|
28792
|
-
|
|
28793
|
-
|
|
28794
|
-
|
|
28795
|
-
|
|
28796
|
-
|
|
28797
|
-
|
|
28798
|
-
|
|
28799
|
-
|
|
28800
|
-
|
|
28801
|
-
|
|
28802
|
-
|
|
28803
|
-
|
|
28804
|
-
|
|
28805
|
-
|
|
28806
|
-
|
|
28807
|
-
|
|
28808
|
-
|
|
28809
|
-
|
|
28810
|
-
|
|
28811
|
-
|
|
28812
|
-
|
|
28813
|
-
|
|
28814
|
-
|
|
28815
|
-
|
|
28816
|
-
|
|
28817
|
-
|
|
28818
|
-
|
|
28819
|
-
|
|
28820
|
-
|
|
28821
|
-
|
|
28822
|
-
|
|
28823
|
-
|
|
28824
|
-
|
|
28825
|
-
|
|
28826
|
-
|
|
28827
|
-
|
|
28828
|
-
|
|
28829
|
-
|
|
28830
|
-
|
|
28831
|
-
|
|
28832
|
-
|
|
28833
|
-
|
|
28834
|
-
|
|
28835
|
-
|
|
28836
|
-
|
|
28837
|
-
|
|
28838
|
-
|
|
28839
|
-
|
|
28840
|
-
|
|
28841
|
-
|
|
28842
|
-
|
|
28843
|
-
|
|
28844
|
-
|
|
28845
|
-
|
|
28846
|
-
|
|
28847
|
-
|
|
28848
|
-
|
|
28849
|
-
|
|
28850
|
-
|
|
28851
|
-
|
|
28852
|
-
|
|
28853
|
-
|
|
28854
|
-
|
|
28855
|
-
|
|
28856
|
-
|
|
28857
|
-
|
|
28858
|
-
|
|
28859
|
-
|
|
28860
|
-
|
|
28861
|
-
|
|
28862
|
-
|
|
28863
|
-
|
|
28864
|
-
|
|
28865
|
-
|
|
28866
|
-
|
|
28867
|
-
|
|
28868
|
-
|
|
28869
|
-
|
|
28870
|
-
|
|
28871
|
-
|
|
28872
|
-
|
|
28873
|
-
|
|
28874
|
-
|
|
28875
|
-
|
|
28876
|
-
|
|
28877
|
-
|
|
28878
|
-
|
|
28879
|
-
|
|
28880
|
-
|
|
28881
|
-
|
|
28882
|
-
|
|
28883
|
-
|
|
28884
|
-
|
|
28885
|
-
|
|
28886
|
-
|
|
28887
|
-
|
|
28888
|
-
|
|
28889
|
-
|
|
28890
|
-
|
|
28891
|
-
|
|
28892
|
-
|
|
28893
|
-
|
|
28894
|
-
|
|
28895
|
-
|
|
28896
|
-
|
|
28897
|
-
|
|
28898
|
-
|
|
28899
|
-
|
|
28900
|
-
|
|
28901
|
-
|
|
28902
|
-
|
|
28903
|
-
|
|
28904
|
-
|
|
28905
|
-
|
|
28906
|
-
|
|
28907
|
-
|
|
28908
|
-
|
|
28909
|
-
|
|
28910
|
-
|
|
28911
|
-
|
|
28912
|
-
|
|
28913
|
-
|
|
28914
|
-
|
|
28915
|
-
|
|
28916
|
-
|
|
28917
|
-
|
|
28918
|
-
|
|
28919
|
-
|
|
28920
|
-
|
|
28921
|
-
|
|
28922
|
-
|
|
28923
|
-
|
|
28924
|
-
|
|
28925
|
-
|
|
28926
|
-
|
|
28927
|
-
|
|
28928
|
-
|
|
28929
|
-
|
|
28930
|
-
|
|
28931
|
-
|
|
28932
|
-
|
|
28933
|
-
|
|
28934
|
-
|
|
28935
|
-
|
|
28936
|
-
|
|
28937
|
-
|
|
28938
|
-
|
|
28939
|
-
|
|
28940
|
-
|
|
28941
|
-
|
|
28942
|
-
|
|
28943
|
-
|
|
28944
|
-
|
|
28945
|
-
|
|
28946
|
-
|
|
28947
|
-
|
|
28948
|
-
|
|
28949
|
-
|
|
28950
|
-
|
|
28951
|
-
|
|
28952
|
-
|
|
28953
|
-
|
|
28954
|
-
|
|
28955
|
-
|
|
28956
|
-
|
|
28957
|
-
|
|
28958
|
-
|
|
28959
|
-
|
|
28960
|
-
|
|
28961
|
-
|
|
28962
|
-
|
|
28963
|
-
|
|
28964
|
-
|
|
28965
|
-
|
|
28966
|
-
|
|
28967
|
-
|
|
28968
|
-
|
|
28969
|
-
|
|
28970
|
-
|
|
28971
|
-
|
|
28972
|
-
|
|
28973
|
-
|
|
28974
|
-
|
|
28975
|
-
|
|
28976
|
-
|
|
28977
|
-
|
|
28978
|
-
|
|
28979
|
-
|
|
28980
|
-
|
|
28981
|
-
|
|
28982
|
-
|
|
28983
|
-
|
|
28984
|
-
|
|
28985
|
-
|
|
28986
|
-
|
|
28987
|
-
|
|
28988
|
-
|
|
28989
|
-
|
|
28990
|
-
|
|
28991
|
-
|
|
28992
|
-
|
|
28993
|
-
|
|
28994
|
-
|
|
28995
|
-
|
|
28996
|
-
|
|
28997
|
-
|
|
28998
|
-
|
|
28999
|
-
|
|
29000
|
-
|
|
29001
|
-
|
|
29002
|
-
|
|
29003
|
-
|
|
29004
|
-
|
|
29005
|
-
|
|
29006
|
-
|
|
29007
|
-
|
|
29008
|
-
|
|
29009
|
-
|
|
29010
|
-
|
|
29011
|
-
|
|
29012
|
-
|
|
29013
|
-
|
|
29014
|
-
|
|
29015
|
-
|
|
29016
|
-
|
|
29017
|
-
|
|
29018
|
-
|
|
29019
|
-
|
|
29020
|
-
|
|
29021
|
-
|
|
29022
|
-
|
|
29023
|
-
|
|
29024
|
-
|
|
29025
|
-
|
|
29026
|
-
|
|
29027
|
-
|
|
29028
|
-
|
|
29029
|
-
|
|
29030
|
-
|
|
29031
|
-
|
|
29032
|
-
|
|
29033
|
-
|
|
29034
|
-
|
|
29035
|
-
|
|
29036
|
-
|
|
29037
|
-
|
|
29038
|
-
|
|
29039
|
-
|
|
29040
|
-
|
|
29041
|
-
|
|
29042
|
-
|
|
29043
|
-
|
|
29044
|
-
|
|
29499
|
+
agentsList: operationMetadata0,
|
|
29500
|
+
agentsCreate: operationMetadata1,
|
|
29501
|
+
agentsGet: operationMetadata2,
|
|
29502
|
+
agentsRemove: operationMetadata3,
|
|
29503
|
+
agentsUpdate: operationMetadata4,
|
|
29504
|
+
agentsReplaceDraft: operationMetadata5,
|
|
29505
|
+
agentsPublish: operationMetadata1,
|
|
29506
|
+
agentsListVersions: operationMetadata0,
|
|
29507
|
+
agentsGetVersion: operationMetadata2,
|
|
29508
|
+
analyticsGetChannelStats: operationMetadata6,
|
|
29509
|
+
analyticsGetDeliveryMetrics: operationMetadata6,
|
|
29510
|
+
analyticsExportData: operationMetadata7,
|
|
29511
|
+
analyticsGetHourlyDistribution: operationMetadata6,
|
|
29512
|
+
analyticsGetStats: operationMetadata6,
|
|
29513
|
+
analyticsGetTopContacts: operationMetadata6,
|
|
29514
|
+
apiKeysList: operationMetadata8,
|
|
29515
|
+
apiKeysCreate: operationMetadata9,
|
|
29516
|
+
apiKeysGet: operationMetadata10,
|
|
29517
|
+
apiKeysUpdate: operationMetadata11,
|
|
29518
|
+
apiKeysGetActivity: operationMetadata8,
|
|
29519
|
+
apiKeysRevoke: operationMetadata9,
|
|
29520
|
+
apiKeysRotate: operationMetadata9,
|
|
29521
|
+
apiKeysGetStats: operationMetadata10,
|
|
29522
|
+
attachmentsList: operationMetadata12,
|
|
29523
|
+
attachmentsGetById: operationMetadata12,
|
|
29524
|
+
attachmentsRemove: operationMetadata13,
|
|
29525
|
+
attachmentsDownloadUrl: operationMetadata12,
|
|
29526
|
+
brandsList: operationMetadata14,
|
|
29527
|
+
brandsCreate: operationMetadata15,
|
|
29528
|
+
brandsGet: operationMetadata14,
|
|
29529
|
+
brandsRemove: operationMetadata16,
|
|
29530
|
+
brandsUpdate: operationMetadata17,
|
|
29531
|
+
brandsSetDefault: operationMetadata15,
|
|
29532
|
+
campaignsList: operationMetadata18,
|
|
29533
|
+
campaignsCreate: operationMetadata19,
|
|
29534
|
+
campaignsGet: operationMetadata20,
|
|
29535
|
+
campaignsUpdate: operationMetadata21,
|
|
29536
|
+
campaignsArchive: operationMetadata19,
|
|
29537
|
+
campaignsListRuns: operationMetadata18,
|
|
29538
|
+
campaignsScheduleRun: operationMetadata19,
|
|
29539
|
+
campaignsGetRun: operationMetadata20,
|
|
29540
|
+
campaignsCancelRun: operationMetadata19,
|
|
29541
|
+
campaignsPauseRun: operationMetadata19,
|
|
29542
|
+
campaignsListRecipients: operationMetadata18,
|
|
29543
|
+
campaignsResumeRun: operationMetadata19,
|
|
29544
|
+
contactGroupsList: operationMetadata22,
|
|
29545
|
+
contactGroupsCreate: operationMetadata23,
|
|
29546
|
+
contactGroupsGetById: operationMetadata24,
|
|
29547
|
+
contactGroupsRemove: operationMetadata25,
|
|
29548
|
+
contactGroupsUpdate: operationMetadata26,
|
|
29549
|
+
contactGroupsEvaluateDynamic: operationMetadata23,
|
|
29550
|
+
contactGroupsGetMembers: operationMetadata22,
|
|
29551
|
+
contactGroupsAddMembers: operationMetadata23,
|
|
29552
|
+
contactGroupsRemoveMembers: operationMetadata25,
|
|
29553
|
+
contactGroupsPreview: operationMetadata23,
|
|
29554
|
+
contactsList: operationMetadata27,
|
|
29555
|
+
contactsCreate: operationMetadata28,
|
|
29556
|
+
contactsGet: operationMetadata29,
|
|
29557
|
+
contactsRemove: operationMetadata30,
|
|
29558
|
+
contactsUpdate: operationMetadata31,
|
|
29559
|
+
contactsGetActivityTimeline: operationMetadata27,
|
|
29560
|
+
contactsGetEngagement: operationMetadata29,
|
|
29561
|
+
contactEventsListEvents: operationMetadata32,
|
|
29562
|
+
contactsGetGroupMemberships: operationMetadata27,
|
|
29563
|
+
contactsAddIdentity: operationMetadata28,
|
|
29564
|
+
contactsRemoveIdentity: operationMetadata30,
|
|
29565
|
+
contactsSetConsent: operationMetadata33,
|
|
29566
|
+
contactsAddTags: operationMetadata28,
|
|
29567
|
+
contactsRemoveTags: operationMetadata30,
|
|
29568
|
+
contactsBulkDelete: operationMetadata28,
|
|
29569
|
+
contactsBulkImport: operationMetadata28,
|
|
29570
|
+
contactsBulkUpdateStatus: operationMetadata28,
|
|
29571
|
+
contactsBulkUpdateTags: operationMetadata28,
|
|
29572
|
+
contactsExport: operationMetadata28,
|
|
29573
|
+
contactsFind: operationMetadata28,
|
|
29574
|
+
contactsFindOrCreate: operationMetadata28,
|
|
29575
|
+
conversationsList: operationMetadata34,
|
|
29576
|
+
conversationsCreate: operationMetadata35,
|
|
29577
|
+
conversationsGetById: operationMetadata36,
|
|
29578
|
+
conversationsUpdate: operationMetadata37,
|
|
29579
|
+
conversationsAddCategories: operationMetadata35,
|
|
29580
|
+
conversationsRemoveCategories: operationMetadata38,
|
|
29581
|
+
conversationsAddChannels: operationMetadata35,
|
|
29582
|
+
conversationsRemoveChannels: operationMetadata38,
|
|
29583
|
+
conversationsAddContacts: operationMetadata35,
|
|
29584
|
+
conversationsRemoveContacts: operationMetadata38,
|
|
29585
|
+
conversationsListMessages: operationMetadata34,
|
|
29586
|
+
conversationsAddTags: operationMetadata35,
|
|
29587
|
+
conversationsRemoveTags: operationMetadata38,
|
|
29588
|
+
customFieldsList: operationMetadata39,
|
|
29589
|
+
customFieldsCreate: operationMetadata40,
|
|
29590
|
+
customFieldsRemove: operationMetadata41,
|
|
29591
|
+
customFieldsUpdate: operationMetadata42,
|
|
29592
|
+
emailListBlocks: operationMetadata43,
|
|
29593
|
+
emailAddBlock: operationMetadata44,
|
|
29594
|
+
emailRemoveBlock: operationMetadata45,
|
|
29595
|
+
emailUpdateBlock: operationMetadata46,
|
|
29596
|
+
emailCheckBlocked: operationMetadata44,
|
|
29597
|
+
emailGetBlockLogs: operationMetadata43,
|
|
29598
|
+
emailGetCatchAllConfig: operationMetadata47,
|
|
29599
|
+
emailUpdateCatchAllConfig: operationMetadata46,
|
|
29600
|
+
emailGetCatchAllStats: operationMetadata47,
|
|
29601
|
+
emailListDomains: operationMetadata43,
|
|
29602
|
+
emailAddDomain: operationMetadata44,
|
|
29603
|
+
emailGetDomainById: operationMetadata47,
|
|
29604
|
+
emailRemoveDomain: operationMetadata45,
|
|
29605
|
+
emailUpdateDomainConfig: operationMetadata46,
|
|
29606
|
+
emailGetCustomTracking: operationMetadata47,
|
|
29607
|
+
emailEnableCustomTracking: operationMetadata44,
|
|
29608
|
+
emailDisableCustomTracking: operationMetadata45,
|
|
29609
|
+
emailGetCustomTrackingDomainConnect: operationMetadata47,
|
|
29610
|
+
emailBuildCustomTrackingDomainConnectApplyUrl: operationMetadata44,
|
|
29611
|
+
emailCompleteCustomTrackingDomainConnect: operationMetadata44,
|
|
29612
|
+
emailRecheckCustomTracking: operationMetadata44,
|
|
29613
|
+
emailSetDefaultDomain: operationMetadata44,
|
|
29614
|
+
emailDisableCatchAll: operationMetadata44,
|
|
29615
|
+
emailGetDomainConnect: operationMetadata47,
|
|
29616
|
+
emailBuildDomainConnectApplyUrl: operationMetadata44,
|
|
29617
|
+
emailCompleteDomainConnect: operationMetadata44,
|
|
29618
|
+
emailEnableCatchAll: operationMetadata44,
|
|
29619
|
+
emailEnableReceiving: operationMetadata44,
|
|
29620
|
+
emailGetReceivingStatus: operationMetadata47,
|
|
29621
|
+
emailDetectRegistrar: operationMetadata44,
|
|
29622
|
+
emailRotateDomainDkim: operationMetadata44,
|
|
29623
|
+
emailGetDomainVerification: operationMetadata47,
|
|
29624
|
+
emailAdvanceDomainVerification: operationMetadata44,
|
|
29625
|
+
emailGetDomainWarming: operationMetadata47,
|
|
29626
|
+
emailCreateDomainWarmingPlan: operationMetadata44,
|
|
29627
|
+
emailCancelDomainWarmingBatch: operationMetadata45,
|
|
29628
|
+
emailCompleteDomainWarming: operationMetadata44,
|
|
29629
|
+
emailPauseDomainWarming: operationMetadata44,
|
|
29630
|
+
emailUpdateDomainWarmingPolicy: operationMetadata46,
|
|
29631
|
+
emailResumeDomainWarming: operationMetadata44,
|
|
29632
|
+
emailListForwardingRules: operationMetadata47,
|
|
29633
|
+
emailCreateForwardingRule: operationMetadata44,
|
|
29634
|
+
emailDeleteForwardingRule: operationMetadata45,
|
|
29635
|
+
emailUpdateForwardingRule: operationMetadata46,
|
|
29636
|
+
emailGetForwardingLog: operationMetadata43,
|
|
29637
|
+
emailGetOnboardingReview: operationMetadata47,
|
|
29638
|
+
emailReapplyOnboardingReview: operationMetadata44,
|
|
29639
|
+
emailRespondToOnboardingInformationRequest: operationMetadata44,
|
|
29640
|
+
emailListSenders: operationMetadata43,
|
|
29641
|
+
emailAddSender: operationMetadata44,
|
|
29642
|
+
emailGetSender: operationMetadata47,
|
|
29643
|
+
emailRemoveSender: operationMetadata45,
|
|
29644
|
+
emailSetDefaultSender: operationMetadata44,
|
|
29645
|
+
emailCheckSenderVerification: operationMetadata47,
|
|
29646
|
+
emailGetStats: operationMetadata47,
|
|
29647
|
+
emailListSuppressions: operationMetadata43,
|
|
29648
|
+
emailRemoveSuppression: operationMetadata45,
|
|
29649
|
+
emailCountSuppressions: operationMetadata47,
|
|
29650
|
+
emailGetTrackingDefaults: operationMetadata47,
|
|
29651
|
+
emailUpdateTrackingDefaults: operationMetadata46,
|
|
29652
|
+
emailGetRecipientTrackingPreference: operationMetadata47,
|
|
29653
|
+
emailUpdateRecipientTrackingPreference: operationMetadata46,
|
|
29654
|
+
eventsCreate: operationMetadata48,
|
|
29655
|
+
eventsBatch: operationMetadata48,
|
|
29656
|
+
extensionInstallationsList: operationMetadata49,
|
|
29657
|
+
extensionInstallationsInstall: operationMetadata50,
|
|
29658
|
+
extensionInstallationsGet: operationMetadata51,
|
|
29659
|
+
extensionInstallationsUninstall: operationMetadata52,
|
|
29660
|
+
extensionInstallationsDisable: operationMetadata50,
|
|
29661
|
+
extensionInstallationsEnable: operationMetadata50,
|
|
29662
|
+
extensionInstallationsListRuns: operationMetadata51,
|
|
29663
|
+
extensionInstallationsGetRun: operationMetadata51,
|
|
29664
|
+
extensionInstallationsUpgrade: operationMetadata50,
|
|
29665
|
+
extensionsList: operationMetadata53,
|
|
29666
|
+
extensionsPublish: operationMetadata54,
|
|
29667
|
+
extensionsGet: operationMetadata55,
|
|
29668
|
+
extensionsListVersions: operationMetadata53,
|
|
29669
|
+
extensionsGetVersion: operationMetadata55,
|
|
29670
|
+
feedbackSend: operationMetadata56,
|
|
29671
|
+
journeysList: operationMetadata57,
|
|
29672
|
+
journeysCreate: operationMetadata58,
|
|
29673
|
+
journeysGet: operationMetadata59,
|
|
29674
|
+
journeysRemove: operationMetadata60,
|
|
29675
|
+
journeysUpdate: operationMetadata61,
|
|
29676
|
+
journeysArchive: operationMetadata58,
|
|
29677
|
+
journeysReplaceDraft: operationMetadata62,
|
|
29678
|
+
journeysPause: operationMetadata58,
|
|
29679
|
+
journeysPublish: operationMetadata58,
|
|
29680
|
+
journeysResume: operationMetadata58,
|
|
29681
|
+
journeysListRuns: operationMetadata57,
|
|
29682
|
+
journeysGetRun: operationMetadata59,
|
|
29683
|
+
journeysStats: operationMetadata59,
|
|
29684
|
+
journeysGetVersion: operationMetadata59,
|
|
29685
|
+
mailboxesList: operationMetadata63,
|
|
29686
|
+
mailboxesCreate: operationMetadata64,
|
|
29687
|
+
mailboxesGet: operationMetadata65,
|
|
29688
|
+
mailboxesRemove: operationMetadata66,
|
|
29689
|
+
mailboxesUpdate: operationMetadata67,
|
|
29690
|
+
mailboxesListActions: operationMetadata63,
|
|
29691
|
+
mailboxesGetAction: operationMetadata65,
|
|
29692
|
+
mailboxesApproveAction: operationMetadata64,
|
|
29693
|
+
mailboxesCancelAction: operationMetadata64,
|
|
29694
|
+
mailboxesDenyAction: operationMetadata64,
|
|
29695
|
+
mailboxesRetryAction: operationMetadata64,
|
|
29696
|
+
mailboxesGetAgentActivity: operationMetadata65,
|
|
29697
|
+
mailboxesListDrafts: operationMetadata63,
|
|
29698
|
+
mailboxesCreateDraft: operationMetadata64,
|
|
29699
|
+
mailboxesGetDraft: operationMetadata65,
|
|
29700
|
+
mailboxesDeleteDraft: operationMetadata66,
|
|
29701
|
+
mailboxesUpdateDraft: operationMetadata67,
|
|
29702
|
+
mailboxesSendDraft: operationMetadata64,
|
|
29703
|
+
mailboxesCreateEndpoint: operationMetadata64,
|
|
29704
|
+
mailboxesRemoveEndpoint: operationMetadata66,
|
|
29705
|
+
mailboxesUpdateEndpoint: operationMetadata67,
|
|
29706
|
+
mailboxesListEvents: operationMetadata63,
|
|
29707
|
+
mailboxesListFolders: operationMetadata65,
|
|
29708
|
+
mailboxesListGrants: operationMetadata63,
|
|
29709
|
+
mailboxesCreateGrant: operationMetadata64,
|
|
29710
|
+
mailboxesRevokeGrant: operationMetadata66,
|
|
29711
|
+
mailboxesUpdateGrant: operationMetadata67,
|
|
29712
|
+
mailboxesListLabels: operationMetadata65,
|
|
29713
|
+
mailboxesCreateLabel: operationMetadata64,
|
|
29714
|
+
mailboxesDeleteLabel: operationMetadata66,
|
|
29715
|
+
mailboxesUpdateLabel: operationMetadata67,
|
|
29716
|
+
mailboxesSendMessage: operationMetadata64,
|
|
29717
|
+
mailboxesGetMessage: operationMetadata65,
|
|
29718
|
+
mailboxesGetMessageAttachment: operationMetadata65,
|
|
29719
|
+
mailboxesCopyMessageAttachment: operationMetadata64,
|
|
29720
|
+
mailboxesDiscardMessage: operationMetadata64,
|
|
29721
|
+
mailboxesForward: operationMetadata64,
|
|
29722
|
+
mailboxesGetMessageRaw: operationMetadata65,
|
|
29723
|
+
mailboxesReleaseMessage: operationMetadata64,
|
|
29724
|
+
mailboxesReply: operationMetadata64,
|
|
29725
|
+
mailboxesReplyAll: operationMetadata64,
|
|
29726
|
+
mailboxesPause: operationMetadata64,
|
|
29727
|
+
mailboxesListPolicies: operationMetadata65,
|
|
29728
|
+
mailboxesCreatePolicy: operationMetadata64,
|
|
29729
|
+
mailboxesGetPolicy: operationMetadata65,
|
|
29730
|
+
mailboxesDeletePolicy: operationMetadata66,
|
|
29731
|
+
mailboxesUpdatePolicy: operationMetadata67,
|
|
29732
|
+
mailboxesListQuarantine: operationMetadata63,
|
|
29733
|
+
mailboxesResume: operationMetadata64,
|
|
29734
|
+
mailboxesListThreads: operationMetadata63,
|
|
29735
|
+
mailboxesGetThread: operationMetadata65,
|
|
29736
|
+
mailboxesUpdateThread: operationMetadata67,
|
|
29737
|
+
mailboxesGetThreadContent: operationMetadata63,
|
|
29738
|
+
mailboxesAddThreadLabels: operationMetadata64,
|
|
29739
|
+
mailboxesRemoveThreadLabels: operationMetadata66,
|
|
29740
|
+
mailboxesListThreadMessages: operationMetadata63,
|
|
29741
|
+
mailboxesListThreadNotes: operationMetadata63,
|
|
29742
|
+
mailboxesCreateNote: operationMetadata64,
|
|
29743
|
+
mailboxesDeleteNote: operationMetadata66,
|
|
29744
|
+
mailboxesUpdateNote: operationMetadata67,
|
|
29745
|
+
mediaCreate: operationMetadata68,
|
|
29746
|
+
mediaGetById: operationMetadata69,
|
|
29747
|
+
mediaRemove: operationMetadata70,
|
|
29748
|
+
mediaComplete: operationMetadata68,
|
|
29749
|
+
mediaDownloadUrl: operationMetadata69,
|
|
29750
|
+
messagesList: operationMetadata71,
|
|
29751
|
+
messagesSend: operationMetadata72,
|
|
29752
|
+
messagesGet: operationMetadata73,
|
|
29753
|
+
messagesRemove: operationMetadata74,
|
|
29754
|
+
messagesGetContent: operationMetadata73,
|
|
29755
|
+
messagesListDeliveries: operationMetadata73,
|
|
29756
|
+
messagesGetEmail: operationMetadata73,
|
|
29757
|
+
messagesGetEvents: operationMetadata71,
|
|
29758
|
+
messagesGetStatus: operationMetadata73,
|
|
29759
|
+
scheduledMessagesList: operationMetadata75,
|
|
29760
|
+
scheduledMessagesCreate: operationMetadata76,
|
|
29761
|
+
scheduledMessagesGet: operationMetadata77,
|
|
29762
|
+
scheduledMessagesCancel: operationMetadata76,
|
|
29763
|
+
scheduledMessagesResume: operationMetadata76,
|
|
29764
|
+
messagesValidateEmail: operationMetadata72,
|
|
29765
|
+
namespacesList: operationMetadata78,
|
|
29766
|
+
namespacesCreate: operationMetadata79,
|
|
29767
|
+
namespacesGet: operationMetadata80,
|
|
29768
|
+
namespacesRemove: operationMetadata81,
|
|
29769
|
+
namespacesUpdate: operationMetadata82,
|
|
29770
|
+
namespacesAssignResource: operationMetadata79,
|
|
29771
|
+
namespacesRemoveResource: operationMetadata81,
|
|
29772
|
+
namespacesGetUsage: operationMetadata80,
|
|
29773
|
+
operationsList: operationMetadata83,
|
|
29774
|
+
operationsGet: operationMetadata84,
|
|
29775
|
+
operationsRetry: operationMetadata85,
|
|
29776
|
+
organizationsCreate: operationMetadata86,
|
|
29777
|
+
organizationsGet: operationMetadata87,
|
|
29778
|
+
organizationsUpdate: operationMetadata88,
|
|
29779
|
+
organizationsCreateAvatarUpload: operationMetadata86,
|
|
29780
|
+
organizationsGetProfile: operationMetadata87,
|
|
29781
|
+
organizationsDelete: operationMetadata86,
|
|
29782
|
+
organizationsGetTrustTier: operationMetadata87,
|
|
29783
|
+
organizationsGetUsage: operationMetadata87,
|
|
29784
|
+
subscriptionsSubscribe: operationMetadata89,
|
|
29785
|
+
templatesList: operationMetadata90,
|
|
29786
|
+
templatesCreate: operationMetadata91,
|
|
29787
|
+
templatesGetById: operationMetadata92,
|
|
29788
|
+
templatesRemove: operationMetadata93,
|
|
29789
|
+
templatesUpdate: operationMetadata94,
|
|
29790
|
+
templatesListInputContracts: operationMetadata90,
|
|
29791
|
+
templatesGetInputContract: operationMetadata92,
|
|
29792
|
+
templatesPublish: operationMetadata91,
|
|
29793
|
+
templatesGetPublication: operationMetadata92,
|
|
29794
|
+
templatesRenderPublication: operationMetadata91,
|
|
29795
|
+
templatesGetGitRepository: operationMetadata92,
|
|
29796
|
+
templatesIssueGitCredential: operationMetadata91,
|
|
29797
|
+
templatesOpenWorkspace: operationMetadata91,
|
|
29798
|
+
templatesPatchWorkspace: operationMetadata94,
|
|
29799
|
+
templatesPutWorkspaceAsset: operationMetadata95,
|
|
29800
|
+
templatesCheckWorkspace: operationMetadata91,
|
|
29801
|
+
templatesResolveWorkspaceConflict: operationMetadata91,
|
|
29802
|
+
templatesDiffWorkspace: operationMetadata91,
|
|
29803
|
+
templatesRenderWorkspaceFixture: operationMetadata91,
|
|
29804
|
+
templatesWorkspaceHistory: operationMetadata92,
|
|
29805
|
+
templatesAttachWorkspaceResource: operationMetadata91,
|
|
29806
|
+
templatesRemoveWorkspaceResource: operationMetadata91,
|
|
29807
|
+
templatesRestoreWorkspace: operationMetadata91,
|
|
29808
|
+
templatesSaveWorkspace: operationMetadata91,
|
|
29809
|
+
templatesListFamilies: operationMetadata90,
|
|
29810
|
+
templatesCreateFamily: operationMetadata91,
|
|
29811
|
+
templatesGetFamily: operationMetadata92,
|
|
29812
|
+
templatesDeleteFamily: operationMetadata93,
|
|
29813
|
+
templatesRenameFamily: operationMetadata94,
|
|
29814
|
+
templatesAttachFamilyMember: operationMetadata91,
|
|
29815
|
+
templatesDetachFamilyMember: operationMetadata93,
|
|
29816
|
+
templatesCreateFamilyFromTemplate: operationMetadata91,
|
|
29817
|
+
templatesCreateFromWebsite: operationMetadata91,
|
|
29818
|
+
templatesAddEntry: operationMetadata91,
|
|
29819
|
+
unsubscribeList: operationMetadata96,
|
|
29820
|
+
unsubscribeCreate: operationMetadata97,
|
|
29821
|
+
unsubscribeRemove: operationMetadata98,
|
|
29822
|
+
unsubscribeUpdate: operationMetadata99,
|
|
29823
|
+
unsubscribeSetDefault: operationMetadata97,
|
|
29824
|
+
unsubscribeListMembers: operationMetadata100,
|
|
29825
|
+
unsubscribeAddMembers: operationMetadata97,
|
|
29826
|
+
unsubscribeRemoveMembers: operationMetadata98,
|
|
29827
|
+
unsubscribeCheckSubscription: operationMetadata96,
|
|
29828
|
+
webhooksList: operationMetadata101,
|
|
29829
|
+
webhooksCreate: operationMetadata102,
|
|
29830
|
+
webhooksGet: operationMetadata103,
|
|
29045
29831
|
webhooksRemove: {
|
|
29046
29832
|
group: "Webhooks",
|
|
29047
29833
|
method: "DELETE",
|
|
@@ -29052,12 +29838,12 @@ var SamvaOperations = {
|
|
|
29052
29838
|
method: "PATCH",
|
|
29053
29839
|
paginated: false
|
|
29054
29840
|
},
|
|
29055
|
-
webhooksRetryDelivery:
|
|
29056
|
-
webhooksGetLogs:
|
|
29057
|
-
webhooksRegenerateSecret:
|
|
29058
|
-
webhooksGetSecret:
|
|
29059
|
-
webhooksGetStats:
|
|
29060
|
-
webhooksTest:
|
|
29841
|
+
webhooksRetryDelivery: operationMetadata102,
|
|
29842
|
+
webhooksGetLogs: operationMetadata101,
|
|
29843
|
+
webhooksRegenerateSecret: operationMetadata102,
|
|
29844
|
+
webhooksGetSecret: operationMetadata103,
|
|
29845
|
+
webhooksGetStats: operationMetadata103,
|
|
29846
|
+
webhooksTest: operationMetadata102,
|
|
29061
29847
|
whoamiGet: {
|
|
29062
29848
|
group: "Whoami",
|
|
29063
29849
|
method: "GET",
|
|
@@ -29927,7 +30713,7 @@ var apiKeysCommand = make29("api-keys").pipe(withDescription3("Create, inspect,
|
|
|
29927
30713
|
|
|
29928
30714
|
// src/commands/brands.ts
|
|
29929
30715
|
import { join as join3, relative, resolve as resolve5 } from "path";
|
|
29930
|
-
// ../../node_modules/.bun/@samva+markup@0.
|
|
30716
|
+
// ../../node_modules/.bun/@samva+markup@0.18.0+a19bcd7db259aaf7/node_modules/@samva/markup/dist/dark-scheme-CbCwGDWH.js
|
|
29931
30717
|
var DARK_SCHEME_QUERY = /^(?:only\s+)?(?:screen\s+and\s+)?\(\s*prefers-color-scheme\s*:\s*dark\s*\)$/i;
|
|
29932
30718
|
var isDarkSchemeQuery = (prelude) => DARK_SCHEME_QUERY.test(prelude.trim());
|
|
29933
30719
|
|
|
@@ -32347,11 +33133,6 @@ function generateSourceMap(handlers) {
|
|
|
32347
33133
|
}
|
|
32348
33134
|
|
|
32349
33135
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/generator/token-before.js
|
|
32350
|
-
var exports_token_before = {};
|
|
32351
|
-
__export(exports_token_before, {
|
|
32352
|
-
safe: () => safe,
|
|
32353
|
-
spec: () => spec
|
|
32354
|
-
});
|
|
32355
33136
|
var PLUSSIGN = 43;
|
|
32356
33137
|
var HYPHENMINUS = 45;
|
|
32357
33138
|
var code = (type, value) => {
|
|
@@ -33777,17 +34558,6 @@ function createGenericTypes(units) {
|
|
|
33777
34558
|
}
|
|
33778
34559
|
|
|
33779
34560
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/lexer/units.js
|
|
33780
|
-
var exports_units = {};
|
|
33781
|
-
__export(exports_units, {
|
|
33782
|
-
angle: () => angle,
|
|
33783
|
-
decibel: () => decibel,
|
|
33784
|
-
flex: () => flex,
|
|
33785
|
-
frequency: () => frequency,
|
|
33786
|
-
length: () => length,
|
|
33787
|
-
resolution: () => resolution,
|
|
33788
|
-
semitones: () => semitones,
|
|
33789
|
-
time: () => time
|
|
33790
|
-
});
|
|
33791
34561
|
var length = [
|
|
33792
34562
|
"cm",
|
|
33793
34563
|
"mm",
|
|
@@ -35163,13 +35933,6 @@ function matchAsTree(tokens, matchGraph, syntaxes) {
|
|
|
35163
35933
|
}
|
|
35164
35934
|
|
|
35165
35935
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/lexer/trace.js
|
|
35166
|
-
var exports_trace = {};
|
|
35167
|
-
__export(exports_trace, {
|
|
35168
|
-
getTrace: () => getTrace,
|
|
35169
|
-
isKeyword: () => isKeyword,
|
|
35170
|
-
isProperty: () => isProperty,
|
|
35171
|
-
isType: () => isType
|
|
35172
|
-
});
|
|
35173
35936
|
function getTrace(node) {
|
|
35174
35937
|
function shouldPutToTrace(syntax) {
|
|
35175
35938
|
if (syntax === null) {
|
|
@@ -50505,68 +51268,7 @@ var data_default = {
|
|
|
50505
51268
|
properties: patchDictionary(properties_default, data_patch_default.properties)
|
|
50506
51269
|
};
|
|
50507
51270
|
|
|
50508
|
-
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/index.js
|
|
50509
|
-
var exports_node = {};
|
|
50510
|
-
__export(exports_node, {
|
|
50511
|
-
AnPlusB: () => exports_AnPlusB,
|
|
50512
|
-
Atrule: () => exports_Atrule,
|
|
50513
|
-
AtrulePrelude: () => exports_AtrulePrelude,
|
|
50514
|
-
AttributeSelector: () => exports_AttributeSelector,
|
|
50515
|
-
Block: () => exports_Block,
|
|
50516
|
-
Brackets: () => exports_Brackets,
|
|
50517
|
-
CDC: () => exports_CDC,
|
|
50518
|
-
CDO: () => exports_CDO,
|
|
50519
|
-
ClassSelector: () => exports_ClassSelector,
|
|
50520
|
-
Combinator: () => exports_Combinator,
|
|
50521
|
-
Comment: () => exports_Comment,
|
|
50522
|
-
Condition: () => exports_Condition,
|
|
50523
|
-
Declaration: () => exports_Declaration,
|
|
50524
|
-
DeclarationList: () => exports_DeclarationList,
|
|
50525
|
-
Dimension: () => exports_Dimension,
|
|
50526
|
-
Feature: () => exports_Feature,
|
|
50527
|
-
FeatureFunction: () => exports_FeatureFunction,
|
|
50528
|
-
FeatureRange: () => exports_FeatureRange,
|
|
50529
|
-
Function: () => exports_Function2,
|
|
50530
|
-
GeneralEnclosed: () => exports_GeneralEnclosed,
|
|
50531
|
-
Hash: () => exports_Hash2,
|
|
50532
|
-
IdSelector: () => exports_IdSelector,
|
|
50533
|
-
Identifier: () => exports_Identifier,
|
|
50534
|
-
Layer: () => exports_Layer2,
|
|
50535
|
-
LayerList: () => exports_LayerList,
|
|
50536
|
-
MediaQuery: () => exports_MediaQuery,
|
|
50537
|
-
MediaQueryList: () => exports_MediaQueryList,
|
|
50538
|
-
NestingSelector: () => exports_NestingSelector,
|
|
50539
|
-
Nth: () => exports_Nth,
|
|
50540
|
-
Number: () => exports_Number2,
|
|
50541
|
-
Operator: () => exports_Operator,
|
|
50542
|
-
Parentheses: () => exports_Parentheses,
|
|
50543
|
-
Percentage: () => exports_Percentage,
|
|
50544
|
-
PseudoClassSelector: () => exports_PseudoClassSelector,
|
|
50545
|
-
PseudoElementSelector: () => exports_PseudoElementSelector,
|
|
50546
|
-
Ratio: () => exports_Ratio,
|
|
50547
|
-
Raw: () => exports_Raw,
|
|
50548
|
-
Rule: () => exports_Rule,
|
|
50549
|
-
Scope: () => exports_Scope2,
|
|
50550
|
-
Selector: () => exports_Selector,
|
|
50551
|
-
SelectorList: () => exports_SelectorList,
|
|
50552
|
-
String: () => exports_String2,
|
|
50553
|
-
StyleSheet: () => exports_StyleSheet,
|
|
50554
|
-
SupportsDeclaration: () => exports_SupportsDeclaration,
|
|
50555
|
-
TypeSelector: () => exports_TypeSelector,
|
|
50556
|
-
UnicodeRange: () => exports_UnicodeRange,
|
|
50557
|
-
Url: () => exports_Url2,
|
|
50558
|
-
Value: () => exports_Value,
|
|
50559
|
-
WhiteSpace: () => exports_WhiteSpace
|
|
50560
|
-
});
|
|
50561
|
-
|
|
50562
51271
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/AnPlusB.js
|
|
50563
|
-
var exports_AnPlusB = {};
|
|
50564
|
-
__export(exports_AnPlusB, {
|
|
50565
|
-
generate: () => generate7,
|
|
50566
|
-
name: () => name,
|
|
50567
|
-
parse: () => parse2,
|
|
50568
|
-
structure: () => structure2
|
|
50569
|
-
});
|
|
50570
51272
|
var PLUSSIGN5 = 43;
|
|
50571
51273
|
var HYPHENMINUS5 = 45;
|
|
50572
51274
|
var N6 = 110;
|
|
@@ -50756,14 +51458,6 @@ function generate7(node) {
|
|
|
50756
51458
|
}
|
|
50757
51459
|
}
|
|
50758
51460
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Atrule.js
|
|
50759
|
-
var exports_Atrule = {};
|
|
50760
|
-
__export(exports_Atrule, {
|
|
50761
|
-
generate: () => generate8,
|
|
50762
|
-
name: () => name2,
|
|
50763
|
-
parse: () => parse3,
|
|
50764
|
-
structure: () => structure3,
|
|
50765
|
-
walkContext: () => walkContext
|
|
50766
|
-
});
|
|
50767
51461
|
function consumeRaw() {
|
|
50768
51462
|
return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon, true);
|
|
50769
51463
|
}
|
|
@@ -50835,14 +51529,6 @@ function generate8(node) {
|
|
|
50835
51529
|
}
|
|
50836
51530
|
}
|
|
50837
51531
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/AtrulePrelude.js
|
|
50838
|
-
var exports_AtrulePrelude = {};
|
|
50839
|
-
__export(exports_AtrulePrelude, {
|
|
50840
|
-
generate: () => generate9,
|
|
50841
|
-
name: () => name3,
|
|
50842
|
-
parse: () => parse4,
|
|
50843
|
-
structure: () => structure4,
|
|
50844
|
-
walkContext: () => walkContext2
|
|
50845
|
-
});
|
|
50846
51532
|
var name3 = "AtrulePrelude";
|
|
50847
51533
|
var walkContext2 = "atrulePrelude";
|
|
50848
51534
|
var structure4 = {
|
|
@@ -50873,13 +51559,6 @@ function generate9(node) {
|
|
|
50873
51559
|
this.children(node);
|
|
50874
51560
|
}
|
|
50875
51561
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/AttributeSelector.js
|
|
50876
|
-
var exports_AttributeSelector = {};
|
|
50877
|
-
__export(exports_AttributeSelector, {
|
|
50878
|
-
generate: () => generate10,
|
|
50879
|
-
name: () => name4,
|
|
50880
|
-
parse: () => parse5,
|
|
50881
|
-
structure: () => structure5
|
|
50882
|
-
});
|
|
50883
51562
|
var DOLLARSIGN = 36;
|
|
50884
51563
|
var ASTERISK2 = 42;
|
|
50885
51564
|
var EQUALSSIGN = 61;
|
|
@@ -50981,14 +51660,6 @@ function generate10(node) {
|
|
|
50981
51660
|
this.token(Delim, "]");
|
|
50982
51661
|
}
|
|
50983
51662
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Block.js
|
|
50984
|
-
var exports_Block = {};
|
|
50985
|
-
__export(exports_Block, {
|
|
50986
|
-
generate: () => generate11,
|
|
50987
|
-
name: () => name5,
|
|
50988
|
-
parse: () => parse6,
|
|
50989
|
-
structure: () => structure6,
|
|
50990
|
-
walkContext: () => walkContext3
|
|
50991
|
-
});
|
|
50992
51663
|
var AMPERSAND2 = 38;
|
|
50993
51664
|
function consumeRaw2() {
|
|
50994
51665
|
return this.Raw(null, true);
|
|
@@ -51062,13 +51733,6 @@ function generate11(node) {
|
|
|
51062
51733
|
this.token(RightCurlyBracket, "}");
|
|
51063
51734
|
}
|
|
51064
51735
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Brackets.js
|
|
51065
|
-
var exports_Brackets = {};
|
|
51066
|
-
__export(exports_Brackets, {
|
|
51067
|
-
generate: () => generate12,
|
|
51068
|
-
name: () => name6,
|
|
51069
|
-
parse: () => parse7,
|
|
51070
|
-
structure: () => structure7
|
|
51071
|
-
});
|
|
51072
51736
|
var name6 = "Brackets";
|
|
51073
51737
|
var structure7 = {
|
|
51074
51738
|
children: [[]]
|
|
@@ -51093,13 +51757,6 @@ function generate12(node) {
|
|
|
51093
51757
|
this.token(Delim, "]");
|
|
51094
51758
|
}
|
|
51095
51759
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/CDC.js
|
|
51096
|
-
var exports_CDC = {};
|
|
51097
|
-
__export(exports_CDC, {
|
|
51098
|
-
generate: () => generate13,
|
|
51099
|
-
name: () => name7,
|
|
51100
|
-
parse: () => parse8,
|
|
51101
|
-
structure: () => structure8
|
|
51102
|
-
});
|
|
51103
51760
|
var name7 = "CDC";
|
|
51104
51761
|
var structure8 = [];
|
|
51105
51762
|
function parse8() {
|
|
@@ -51114,13 +51771,6 @@ function generate13() {
|
|
|
51114
51771
|
this.token(CDC, "-->");
|
|
51115
51772
|
}
|
|
51116
51773
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/CDO.js
|
|
51117
|
-
var exports_CDO = {};
|
|
51118
|
-
__export(exports_CDO, {
|
|
51119
|
-
generate: () => generate14,
|
|
51120
|
-
name: () => name8,
|
|
51121
|
-
parse: () => parse9,
|
|
51122
|
-
structure: () => structure9
|
|
51123
|
-
});
|
|
51124
51774
|
var name8 = "CDO";
|
|
51125
51775
|
var structure9 = [];
|
|
51126
51776
|
function parse9() {
|
|
@@ -51135,13 +51785,6 @@ function generate14() {
|
|
|
51135
51785
|
this.token(CDO, "<!--");
|
|
51136
51786
|
}
|
|
51137
51787
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/ClassSelector.js
|
|
51138
|
-
var exports_ClassSelector = {};
|
|
51139
|
-
__export(exports_ClassSelector, {
|
|
51140
|
-
generate: () => generate15,
|
|
51141
|
-
name: () => name9,
|
|
51142
|
-
parse: () => parse10,
|
|
51143
|
-
structure: () => structure10
|
|
51144
|
-
});
|
|
51145
51788
|
var FULLSTOP = 46;
|
|
51146
51789
|
var name9 = "ClassSelector";
|
|
51147
51790
|
var structure10 = {
|
|
@@ -51160,13 +51803,6 @@ function generate15(node) {
|
|
|
51160
51803
|
this.token(Ident, node.name);
|
|
51161
51804
|
}
|
|
51162
51805
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Combinator.js
|
|
51163
|
-
var exports_Combinator = {};
|
|
51164
|
-
__export(exports_Combinator, {
|
|
51165
|
-
generate: () => generate16,
|
|
51166
|
-
name: () => name10,
|
|
51167
|
-
parse: () => parse11,
|
|
51168
|
-
structure: () => structure11
|
|
51169
|
-
});
|
|
51170
51806
|
var PLUSSIGN6 = 43;
|
|
51171
51807
|
var SOLIDUS = 47;
|
|
51172
51808
|
var GREATERTHANSIGN2 = 62;
|
|
@@ -51210,13 +51846,6 @@ function generate16(node) {
|
|
|
51210
51846
|
this.tokenize(node.name);
|
|
51211
51847
|
}
|
|
51212
51848
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Comment.js
|
|
51213
|
-
var exports_Comment = {};
|
|
51214
|
-
__export(exports_Comment, {
|
|
51215
|
-
generate: () => generate17,
|
|
51216
|
-
name: () => name11,
|
|
51217
|
-
parse: () => parse12,
|
|
51218
|
-
structure: () => structure12
|
|
51219
|
-
});
|
|
51220
51849
|
var ASTERISK3 = 42;
|
|
51221
51850
|
var SOLIDUS2 = 47;
|
|
51222
51851
|
var name11 = "Comment";
|
|
@@ -51240,13 +51869,6 @@ function generate17(node) {
|
|
|
51240
51869
|
this.token(Comment, "/*" + node.value + "*/");
|
|
51241
51870
|
}
|
|
51242
51871
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Condition.js
|
|
51243
|
-
var exports_Condition = {};
|
|
51244
|
-
__export(exports_Condition, {
|
|
51245
|
-
generate: () => generate18,
|
|
51246
|
-
name: () => name12,
|
|
51247
|
-
parse: () => parse13,
|
|
51248
|
-
structure: () => structure13
|
|
51249
|
-
});
|
|
51250
51872
|
var likelyFeatureToken = new Set([Colon, RightParenthesis, EOF]);
|
|
51251
51873
|
var name12 = "Condition";
|
|
51252
51874
|
var structure13 = {
|
|
@@ -51333,14 +51955,6 @@ function generate18(node) {
|
|
|
51333
51955
|
});
|
|
51334
51956
|
}
|
|
51335
51957
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Declaration.js
|
|
51336
|
-
var exports_Declaration = {};
|
|
51337
|
-
__export(exports_Declaration, {
|
|
51338
|
-
generate: () => generate19,
|
|
51339
|
-
name: () => name13,
|
|
51340
|
-
parse: () => parse14,
|
|
51341
|
-
structure: () => structure14,
|
|
51342
|
-
walkContext: () => walkContext4
|
|
51343
|
-
});
|
|
51344
51958
|
var EXCLAMATIONMARK3 = 33;
|
|
51345
51959
|
var NUMBERSIGN3 = 35;
|
|
51346
51960
|
var DOLLARSIGN2 = 36;
|
|
@@ -51458,13 +52072,6 @@ function getImportant() {
|
|
|
51458
52072
|
return important === "important" ? true : important;
|
|
51459
52073
|
}
|
|
51460
52074
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/DeclarationList.js
|
|
51461
|
-
var exports_DeclarationList = {};
|
|
51462
|
-
__export(exports_DeclarationList, {
|
|
51463
|
-
generate: () => generate20,
|
|
51464
|
-
name: () => name14,
|
|
51465
|
-
parse: () => parse15,
|
|
51466
|
-
structure: () => structure15
|
|
51467
|
-
});
|
|
51468
52075
|
var AMPERSAND4 = 38;
|
|
51469
52076
|
function consumeRaw3() {
|
|
51470
52077
|
return this.Raw(this.consumeUntilSemicolonIncluded, true);
|
|
@@ -51512,13 +52119,6 @@ function generate20(node) {
|
|
|
51512
52119
|
});
|
|
51513
52120
|
}
|
|
51514
52121
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Dimension.js
|
|
51515
|
-
var exports_Dimension = {};
|
|
51516
|
-
__export(exports_Dimension, {
|
|
51517
|
-
generate: () => generate21,
|
|
51518
|
-
name: () => name15,
|
|
51519
|
-
parse: () => parse16,
|
|
51520
|
-
structure: () => structure16
|
|
51521
|
-
});
|
|
51522
52122
|
var name15 = "Dimension";
|
|
51523
52123
|
var structure16 = {
|
|
51524
52124
|
value: String,
|
|
@@ -51538,13 +52138,6 @@ function generate21(node) {
|
|
|
51538
52138
|
this.token(Dimension, node.value + node.unit);
|
|
51539
52139
|
}
|
|
51540
52140
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Feature.js
|
|
51541
|
-
var exports_Feature = {};
|
|
51542
|
-
__export(exports_Feature, {
|
|
51543
|
-
generate: () => generate22,
|
|
51544
|
-
name: () => name16,
|
|
51545
|
-
parse: () => parse17,
|
|
51546
|
-
structure: () => structure17
|
|
51547
|
-
});
|
|
51548
52141
|
var SOLIDUS4 = 47;
|
|
51549
52142
|
var name16 = "Feature";
|
|
51550
52143
|
var structure17 = {
|
|
@@ -51615,13 +52208,6 @@ function generate22(node) {
|
|
|
51615
52208
|
this.token(RightParenthesis, ")");
|
|
51616
52209
|
}
|
|
51617
52210
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/FeatureFunction.js
|
|
51618
|
-
var exports_FeatureFunction = {};
|
|
51619
|
-
__export(exports_FeatureFunction, {
|
|
51620
|
-
generate: () => generate23,
|
|
51621
|
-
name: () => name17,
|
|
51622
|
-
parse: () => parse18,
|
|
51623
|
-
structure: () => structure18
|
|
51624
|
-
});
|
|
51625
52211
|
var name17 = "FeatureFunction";
|
|
51626
52212
|
var structure18 = {
|
|
51627
52213
|
kind: String,
|
|
@@ -51666,13 +52252,6 @@ function generate23(node) {
|
|
|
51666
52252
|
this.token(RightParenthesis, ")");
|
|
51667
52253
|
}
|
|
51668
52254
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/FeatureRange.js
|
|
51669
|
-
var exports_FeatureRange = {};
|
|
51670
|
-
__export(exports_FeatureRange, {
|
|
51671
|
-
generate: () => generate24,
|
|
51672
|
-
name: () => name18,
|
|
51673
|
-
parse: () => parse19,
|
|
51674
|
-
structure: () => structure19
|
|
51675
|
-
});
|
|
51676
52255
|
var SOLIDUS5 = 47;
|
|
51677
52256
|
var LESSTHANSIGN2 = 60;
|
|
51678
52257
|
var EQUALSSIGN2 = 61;
|
|
@@ -51768,14 +52347,6 @@ function generate24(node) {
|
|
|
51768
52347
|
this.token(RightParenthesis, ")");
|
|
51769
52348
|
}
|
|
51770
52349
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Function.js
|
|
51771
|
-
var exports_Function2 = {};
|
|
51772
|
-
__export(exports_Function2, {
|
|
51773
|
-
generate: () => generate25,
|
|
51774
|
-
name: () => name19,
|
|
51775
|
-
parse: () => parse20,
|
|
51776
|
-
structure: () => structure20,
|
|
51777
|
-
walkContext: () => walkContext5
|
|
51778
|
-
});
|
|
51779
52350
|
var name19 = "Function";
|
|
51780
52351
|
var walkContext5 = "function";
|
|
51781
52352
|
var structure20 = {
|
|
@@ -51804,13 +52375,6 @@ function generate25(node) {
|
|
|
51804
52375
|
this.token(RightParenthesis, ")");
|
|
51805
52376
|
}
|
|
51806
52377
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/GeneralEnclosed.js
|
|
51807
|
-
var exports_GeneralEnclosed = {};
|
|
51808
|
-
__export(exports_GeneralEnclosed, {
|
|
51809
|
-
generate: () => generate26,
|
|
51810
|
-
name: () => name20,
|
|
51811
|
-
parse: () => parse21,
|
|
51812
|
-
structure: () => structure21
|
|
51813
|
-
});
|
|
51814
52378
|
var name20 = "GeneralEnclosed";
|
|
51815
52379
|
var structure21 = {
|
|
51816
52380
|
kind: String,
|
|
@@ -51854,14 +52418,6 @@ function generate26(node) {
|
|
|
51854
52418
|
this.token(RightParenthesis, ")");
|
|
51855
52419
|
}
|
|
51856
52420
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Hash.js
|
|
51857
|
-
var exports_Hash2 = {};
|
|
51858
|
-
__export(exports_Hash2, {
|
|
51859
|
-
generate: () => generate27,
|
|
51860
|
-
name: () => name21,
|
|
51861
|
-
parse: () => parse22,
|
|
51862
|
-
structure: () => structure22,
|
|
51863
|
-
xxx: () => xxx
|
|
51864
|
-
});
|
|
51865
52421
|
var xxx = "XXX";
|
|
51866
52422
|
var name21 = "Hash";
|
|
51867
52423
|
var structure22 = {
|
|
@@ -51880,13 +52436,6 @@ function generate27(node) {
|
|
|
51880
52436
|
this.token(Hash, "#" + node.value);
|
|
51881
52437
|
}
|
|
51882
52438
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Identifier.js
|
|
51883
|
-
var exports_Identifier = {};
|
|
51884
|
-
__export(exports_Identifier, {
|
|
51885
|
-
generate: () => generate28,
|
|
51886
|
-
name: () => name22,
|
|
51887
|
-
parse: () => parse23,
|
|
51888
|
-
structure: () => structure23
|
|
51889
|
-
});
|
|
51890
52439
|
var name22 = "Identifier";
|
|
51891
52440
|
var structure23 = {
|
|
51892
52441
|
name: String
|
|
@@ -51902,13 +52451,6 @@ function generate28(node) {
|
|
|
51902
52451
|
this.token(Ident, node.name);
|
|
51903
52452
|
}
|
|
51904
52453
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/IdSelector.js
|
|
51905
|
-
var exports_IdSelector = {};
|
|
51906
|
-
__export(exports_IdSelector, {
|
|
51907
|
-
generate: () => generate29,
|
|
51908
|
-
name: () => name23,
|
|
51909
|
-
parse: () => parse24,
|
|
51910
|
-
structure: () => structure24
|
|
51911
|
-
});
|
|
51912
52454
|
var name23 = "IdSelector";
|
|
51913
52455
|
var structure24 = {
|
|
51914
52456
|
name: String
|
|
@@ -51926,13 +52468,6 @@ function generate29(node) {
|
|
|
51926
52468
|
this.token(Delim, "#" + node.name);
|
|
51927
52469
|
}
|
|
51928
52470
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Layer.js
|
|
51929
|
-
var exports_Layer2 = {};
|
|
51930
|
-
__export(exports_Layer2, {
|
|
51931
|
-
generate: () => generate30,
|
|
51932
|
-
name: () => name24,
|
|
51933
|
-
parse: () => parse25,
|
|
51934
|
-
structure: () => structure25
|
|
51935
|
-
});
|
|
51936
52471
|
var FULLSTOP2 = 46;
|
|
51937
52472
|
var name24 = "Layer";
|
|
51938
52473
|
var structure25 = {
|
|
@@ -51955,13 +52490,6 @@ function generate30(node) {
|
|
|
51955
52490
|
this.tokenize(node.name);
|
|
51956
52491
|
}
|
|
51957
52492
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/LayerList.js
|
|
51958
|
-
var exports_LayerList = {};
|
|
51959
|
-
__export(exports_LayerList, {
|
|
51960
|
-
generate: () => generate31,
|
|
51961
|
-
name: () => name25,
|
|
51962
|
-
parse: () => parse26,
|
|
51963
|
-
structure: () => structure26
|
|
51964
|
-
});
|
|
51965
52493
|
var name25 = "LayerList";
|
|
51966
52494
|
var structure26 = {
|
|
51967
52495
|
children: [[
|
|
@@ -51990,13 +52518,6 @@ function generate31(node) {
|
|
|
51990
52518
|
this.children(node, () => this.token(Comma, ","));
|
|
51991
52519
|
}
|
|
51992
52520
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/MediaQuery.js
|
|
51993
|
-
var exports_MediaQuery = {};
|
|
51994
|
-
__export(exports_MediaQuery, {
|
|
51995
|
-
generate: () => generate32,
|
|
51996
|
-
name: () => name26,
|
|
51997
|
-
parse: () => parse27,
|
|
51998
|
-
structure: () => structure27
|
|
51999
|
-
});
|
|
52000
52521
|
var name26 = "MediaQuery";
|
|
52001
52522
|
var structure27 = {
|
|
52002
52523
|
modifier: [String, null],
|
|
@@ -52073,13 +52594,6 @@ function generate32(node) {
|
|
|
52073
52594
|
}
|
|
52074
52595
|
}
|
|
52075
52596
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/MediaQueryList.js
|
|
52076
|
-
var exports_MediaQueryList = {};
|
|
52077
|
-
__export(exports_MediaQueryList, {
|
|
52078
|
-
generate: () => generate33,
|
|
52079
|
-
name: () => name27,
|
|
52080
|
-
parse: () => parse28,
|
|
52081
|
-
structure: () => structure28
|
|
52082
|
-
});
|
|
52083
52597
|
var name27 = "MediaQueryList";
|
|
52084
52598
|
var structure28 = {
|
|
52085
52599
|
children: [[
|
|
@@ -52106,13 +52620,6 @@ function generate33(node) {
|
|
|
52106
52620
|
this.children(node, () => this.token(Comma, ","));
|
|
52107
52621
|
}
|
|
52108
52622
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/NestingSelector.js
|
|
52109
|
-
var exports_NestingSelector = {};
|
|
52110
|
-
__export(exports_NestingSelector, {
|
|
52111
|
-
generate: () => generate34,
|
|
52112
|
-
name: () => name28,
|
|
52113
|
-
parse: () => parse29,
|
|
52114
|
-
structure: () => structure29
|
|
52115
|
-
});
|
|
52116
52623
|
var AMPERSAND5 = 38;
|
|
52117
52624
|
var name28 = "NestingSelector";
|
|
52118
52625
|
var structure29 = {};
|
|
@@ -52128,13 +52635,6 @@ function generate34() {
|
|
|
52128
52635
|
this.token(Delim, "&");
|
|
52129
52636
|
}
|
|
52130
52637
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Nth.js
|
|
52131
|
-
var exports_Nth = {};
|
|
52132
|
-
__export(exports_Nth, {
|
|
52133
|
-
generate: () => generate35,
|
|
52134
|
-
name: () => name29,
|
|
52135
|
-
parse: () => parse30,
|
|
52136
|
-
structure: () => structure30
|
|
52137
|
-
});
|
|
52138
52638
|
var name29 = "Nth";
|
|
52139
52639
|
var structure30 = {
|
|
52140
52640
|
nth: ["AnPlusB", "Identifier"],
|
|
@@ -52173,13 +52673,6 @@ function generate35(node) {
|
|
|
52173
52673
|
}
|
|
52174
52674
|
}
|
|
52175
52675
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Number.js
|
|
52176
|
-
var exports_Number2 = {};
|
|
52177
|
-
__export(exports_Number2, {
|
|
52178
|
-
generate: () => generate36,
|
|
52179
|
-
name: () => name30,
|
|
52180
|
-
parse: () => parse31,
|
|
52181
|
-
structure: () => structure31
|
|
52182
|
-
});
|
|
52183
52676
|
var name30 = "Number";
|
|
52184
52677
|
var structure31 = {
|
|
52185
52678
|
value: String
|
|
@@ -52195,13 +52688,6 @@ function generate36(node) {
|
|
|
52195
52688
|
this.token(Number8, node.value);
|
|
52196
52689
|
}
|
|
52197
52690
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Operator.js
|
|
52198
|
-
var exports_Operator = {};
|
|
52199
|
-
__export(exports_Operator, {
|
|
52200
|
-
generate: () => generate37,
|
|
52201
|
-
name: () => name31,
|
|
52202
|
-
parse: () => parse32,
|
|
52203
|
-
structure: () => structure32
|
|
52204
|
-
});
|
|
52205
52691
|
var name31 = "Operator";
|
|
52206
52692
|
var structure32 = {
|
|
52207
52693
|
value: String
|
|
@@ -52219,13 +52705,6 @@ function generate37(node) {
|
|
|
52219
52705
|
this.tokenize(node.value);
|
|
52220
52706
|
}
|
|
52221
52707
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Parentheses.js
|
|
52222
|
-
var exports_Parentheses = {};
|
|
52223
|
-
__export(exports_Parentheses, {
|
|
52224
|
-
generate: () => generate38,
|
|
52225
|
-
name: () => name32,
|
|
52226
|
-
parse: () => parse33,
|
|
52227
|
-
structure: () => structure33
|
|
52228
|
-
});
|
|
52229
52708
|
var name32 = "Parentheses";
|
|
52230
52709
|
var structure33 = {
|
|
52231
52710
|
children: [[]]
|
|
@@ -52250,13 +52729,6 @@ function generate38(node) {
|
|
|
52250
52729
|
this.token(RightParenthesis, ")");
|
|
52251
52730
|
}
|
|
52252
52731
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Percentage.js
|
|
52253
|
-
var exports_Percentage = {};
|
|
52254
|
-
__export(exports_Percentage, {
|
|
52255
|
-
generate: () => generate39,
|
|
52256
|
-
name: () => name33,
|
|
52257
|
-
parse: () => parse34,
|
|
52258
|
-
structure: () => structure34
|
|
52259
|
-
});
|
|
52260
52732
|
var name33 = "Percentage";
|
|
52261
52733
|
var structure34 = {
|
|
52262
52734
|
value: String
|
|
@@ -52272,14 +52744,6 @@ function generate39(node) {
|
|
|
52272
52744
|
this.token(Percentage, node.value + "%");
|
|
52273
52745
|
}
|
|
52274
52746
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/PseudoClassSelector.js
|
|
52275
|
-
var exports_PseudoClassSelector = {};
|
|
52276
|
-
__export(exports_PseudoClassSelector, {
|
|
52277
|
-
generate: () => generate40,
|
|
52278
|
-
name: () => name34,
|
|
52279
|
-
parse: () => parse35,
|
|
52280
|
-
structure: () => structure35,
|
|
52281
|
-
walkContext: () => walkContext6
|
|
52282
|
-
});
|
|
52283
52747
|
var name34 = "PseudoClassSelector";
|
|
52284
52748
|
var walkContext6 = "function";
|
|
52285
52749
|
var structure35 = {
|
|
@@ -52327,14 +52791,6 @@ function generate40(node) {
|
|
|
52327
52791
|
}
|
|
52328
52792
|
}
|
|
52329
52793
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/PseudoElementSelector.js
|
|
52330
|
-
var exports_PseudoElementSelector = {};
|
|
52331
|
-
__export(exports_PseudoElementSelector, {
|
|
52332
|
-
generate: () => generate41,
|
|
52333
|
-
name: () => name35,
|
|
52334
|
-
parse: () => parse36,
|
|
52335
|
-
structure: () => structure36,
|
|
52336
|
-
walkContext: () => walkContext7
|
|
52337
|
-
});
|
|
52338
52794
|
var name35 = "PseudoElementSelector";
|
|
52339
52795
|
var walkContext7 = "function";
|
|
52340
52796
|
var structure36 = {
|
|
@@ -52384,13 +52840,6 @@ function generate41(node) {
|
|
|
52384
52840
|
}
|
|
52385
52841
|
}
|
|
52386
52842
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Ratio.js
|
|
52387
|
-
var exports_Ratio = {};
|
|
52388
|
-
__export(exports_Ratio, {
|
|
52389
|
-
generate: () => generate42,
|
|
52390
|
-
name: () => name36,
|
|
52391
|
-
parse: () => parse37,
|
|
52392
|
-
structure: () => structure37
|
|
52393
|
-
});
|
|
52394
52843
|
var SOLIDUS6 = 47;
|
|
52395
52844
|
function consumeTerm() {
|
|
52396
52845
|
this.skipSC();
|
|
@@ -52434,13 +52883,6 @@ function generate42(node) {
|
|
|
52434
52883
|
}
|
|
52435
52884
|
}
|
|
52436
52885
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Raw.js
|
|
52437
|
-
var exports_Raw = {};
|
|
52438
|
-
__export(exports_Raw, {
|
|
52439
|
-
generate: () => generate43,
|
|
52440
|
-
name: () => name37,
|
|
52441
|
-
parse: () => parse38,
|
|
52442
|
-
structure: () => structure38
|
|
52443
|
-
});
|
|
52444
52886
|
function getOffsetExcludeWS() {
|
|
52445
52887
|
if (this.tokenIndex > 0) {
|
|
52446
52888
|
if (this.lookupType(-1) === WhiteSpace) {
|
|
@@ -52472,14 +52914,6 @@ function generate43(node) {
|
|
|
52472
52914
|
this.tokenize(node.value);
|
|
52473
52915
|
}
|
|
52474
52916
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Rule.js
|
|
52475
|
-
var exports_Rule = {};
|
|
52476
|
-
__export(exports_Rule, {
|
|
52477
|
-
generate: () => generate44,
|
|
52478
|
-
name: () => name38,
|
|
52479
|
-
parse: () => parse39,
|
|
52480
|
-
structure: () => structure39,
|
|
52481
|
-
walkContext: () => walkContext8
|
|
52482
|
-
});
|
|
52483
52917
|
function consumeRaw4() {
|
|
52484
52918
|
return this.Raw(this.consumeUntilLeftCurlyBracket, true);
|
|
52485
52919
|
}
|
|
@@ -52519,13 +52953,6 @@ function generate44(node) {
|
|
|
52519
52953
|
this.node(node.block);
|
|
52520
52954
|
}
|
|
52521
52955
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Scope.js
|
|
52522
|
-
var exports_Scope2 = {};
|
|
52523
|
-
__export(exports_Scope2, {
|
|
52524
|
-
generate: () => generate45,
|
|
52525
|
-
name: () => name39,
|
|
52526
|
-
parse: () => parse40,
|
|
52527
|
-
structure: () => structure40
|
|
52528
|
-
});
|
|
52529
52956
|
var name39 = "Scope";
|
|
52530
52957
|
var structure40 = {
|
|
52531
52958
|
root: ["SelectorList", "Raw", null],
|
|
@@ -52574,13 +53001,6 @@ function generate45(node) {
|
|
|
52574
53001
|
}
|
|
52575
53002
|
}
|
|
52576
53003
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Selector.js
|
|
52577
|
-
var exports_Selector = {};
|
|
52578
|
-
__export(exports_Selector, {
|
|
52579
|
-
generate: () => generate46,
|
|
52580
|
-
name: () => name40,
|
|
52581
|
-
parse: () => parse41,
|
|
52582
|
-
structure: () => structure41
|
|
52583
|
-
});
|
|
52584
53004
|
var name40 = "Selector";
|
|
52585
53005
|
var structure41 = {
|
|
52586
53006
|
children: [[
|
|
@@ -52608,14 +53028,6 @@ function generate46(node) {
|
|
|
52608
53028
|
this.children(node);
|
|
52609
53029
|
}
|
|
52610
53030
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/SelectorList.js
|
|
52611
|
-
var exports_SelectorList = {};
|
|
52612
|
-
__export(exports_SelectorList, {
|
|
52613
|
-
generate: () => generate47,
|
|
52614
|
-
name: () => name41,
|
|
52615
|
-
parse: () => parse42,
|
|
52616
|
-
structure: () => structure42,
|
|
52617
|
-
walkContext: () => walkContext9
|
|
52618
|
-
});
|
|
52619
53031
|
var name41 = "SelectorList";
|
|
52620
53032
|
var walkContext9 = "selector";
|
|
52621
53033
|
var structure42 = {
|
|
@@ -52643,15 +53055,6 @@ function parse42() {
|
|
|
52643
53055
|
function generate47(node) {
|
|
52644
53056
|
this.children(node, () => this.token(Comma, ","));
|
|
52645
53057
|
}
|
|
52646
|
-
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/String.js
|
|
52647
|
-
var exports_String2 = {};
|
|
52648
|
-
__export(exports_String2, {
|
|
52649
|
-
generate: () => generate48,
|
|
52650
|
-
name: () => name42,
|
|
52651
|
-
parse: () => parse43,
|
|
52652
|
-
structure: () => structure43
|
|
52653
|
-
});
|
|
52654
|
-
|
|
52655
53058
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/utils/string.js
|
|
52656
53059
|
var REVERSE_SOLIDUS = 92;
|
|
52657
53060
|
var QUOTATION_MARK = 34;
|
|
@@ -52734,14 +53137,6 @@ function generate48(node) {
|
|
|
52734
53137
|
this.token(String11, encode4(node.value));
|
|
52735
53138
|
}
|
|
52736
53139
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/StyleSheet.js
|
|
52737
|
-
var exports_StyleSheet = {};
|
|
52738
|
-
__export(exports_StyleSheet, {
|
|
52739
|
-
generate: () => generate49,
|
|
52740
|
-
name: () => name43,
|
|
52741
|
-
parse: () => parse44,
|
|
52742
|
-
structure: () => structure44,
|
|
52743
|
-
walkContext: () => walkContext10
|
|
52744
|
-
});
|
|
52745
53140
|
var EXCLAMATIONMARK4 = 33;
|
|
52746
53141
|
function consumeRaw5() {
|
|
52747
53142
|
return this.Raw(null, false);
|
|
@@ -52799,13 +53194,6 @@ function generate49(node) {
|
|
|
52799
53194
|
this.children(node);
|
|
52800
53195
|
}
|
|
52801
53196
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/SupportsDeclaration.js
|
|
52802
|
-
var exports_SupportsDeclaration = {};
|
|
52803
|
-
__export(exports_SupportsDeclaration, {
|
|
52804
|
-
generate: () => generate50,
|
|
52805
|
-
name: () => name44,
|
|
52806
|
-
parse: () => parse45,
|
|
52807
|
-
structure: () => structure45
|
|
52808
|
-
});
|
|
52809
53197
|
var name44 = "SupportsDeclaration";
|
|
52810
53198
|
var structure45 = {
|
|
52811
53199
|
declaration: "Declaration"
|
|
@@ -52830,13 +53218,6 @@ function generate50(node) {
|
|
|
52830
53218
|
this.token(RightParenthesis, ")");
|
|
52831
53219
|
}
|
|
52832
53220
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/TypeSelector.js
|
|
52833
|
-
var exports_TypeSelector = {};
|
|
52834
|
-
__export(exports_TypeSelector, {
|
|
52835
|
-
generate: () => generate51,
|
|
52836
|
-
name: () => name45,
|
|
52837
|
-
parse: () => parse46,
|
|
52838
|
-
structure: () => structure46
|
|
52839
|
-
});
|
|
52840
53221
|
var ASTERISK5 = 42;
|
|
52841
53222
|
var VERTICALLINE3 = 124;
|
|
52842
53223
|
function eatIdentifierOrAsterisk() {
|
|
@@ -52871,13 +53252,6 @@ function generate51(node) {
|
|
|
52871
53252
|
this.tokenize(node.name);
|
|
52872
53253
|
}
|
|
52873
53254
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/UnicodeRange.js
|
|
52874
|
-
var exports_UnicodeRange = {};
|
|
52875
|
-
__export(exports_UnicodeRange, {
|
|
52876
|
-
generate: () => generate52,
|
|
52877
|
-
name: () => name46,
|
|
52878
|
-
parse: () => parse47,
|
|
52879
|
-
structure: () => structure47
|
|
52880
|
-
});
|
|
52881
53255
|
var PLUSSIGN8 = 43;
|
|
52882
53256
|
var HYPHENMINUS6 = 45;
|
|
52883
53257
|
var QUESTIONMARK3 = 63;
|
|
@@ -52968,15 +53342,6 @@ function parse47() {
|
|
|
52968
53342
|
function generate52(node) {
|
|
52969
53343
|
this.tokenize(node.value);
|
|
52970
53344
|
}
|
|
52971
|
-
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Url.js
|
|
52972
|
-
var exports_Url2 = {};
|
|
52973
|
-
__export(exports_Url2, {
|
|
52974
|
-
generate: () => generate53,
|
|
52975
|
-
name: () => name47,
|
|
52976
|
-
parse: () => parse48,
|
|
52977
|
-
structure: () => structure48
|
|
52978
|
-
});
|
|
52979
|
-
|
|
52980
53345
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/utils/url.js
|
|
52981
53346
|
var SPACE4 = 32;
|
|
52982
53347
|
var REVERSE_SOLIDUS2 = 92;
|
|
@@ -53086,13 +53451,6 @@ function generate53(node) {
|
|
|
53086
53451
|
this.token(Url, encode5(node.value));
|
|
53087
53452
|
}
|
|
53088
53453
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/Value.js
|
|
53089
|
-
var exports_Value = {};
|
|
53090
|
-
__export(exports_Value, {
|
|
53091
|
-
generate: () => generate54,
|
|
53092
|
-
name: () => name48,
|
|
53093
|
-
parse: () => parse49,
|
|
53094
|
-
structure: () => structure49
|
|
53095
|
-
});
|
|
53096
53454
|
var name48 = "Value";
|
|
53097
53455
|
var structure49 = {
|
|
53098
53456
|
children: [[]]
|
|
@@ -53110,13 +53468,6 @@ function generate54(node) {
|
|
|
53110
53468
|
this.children(node);
|
|
53111
53469
|
}
|
|
53112
53470
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/WhiteSpace.js
|
|
53113
|
-
var exports_WhiteSpace = {};
|
|
53114
|
-
__export(exports_WhiteSpace, {
|
|
53115
|
-
generate: () => generate55,
|
|
53116
|
-
name: () => name49,
|
|
53117
|
-
parse: () => parse50,
|
|
53118
|
-
structure: () => structure50
|
|
53119
|
-
});
|
|
53120
53471
|
var SPACE5 = Object.freeze({
|
|
53121
53472
|
type: "WhiteSpace",
|
|
53122
53473
|
loc: null,
|
|
@@ -53141,14 +53492,6 @@ var lexer_default = {
|
|
|
53141
53492
|
node: exports_node
|
|
53142
53493
|
};
|
|
53143
53494
|
|
|
53144
|
-
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/scope/index.js
|
|
53145
|
-
var exports_scope = {};
|
|
53146
|
-
__export(exports_scope, {
|
|
53147
|
-
AtrulePrelude: () => atrulePrelude_default,
|
|
53148
|
-
Selector: () => selector_default,
|
|
53149
|
-
Value: () => value_default
|
|
53150
|
-
});
|
|
53151
|
-
|
|
53152
53495
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/scope/default.js
|
|
53153
53496
|
var NUMBERSIGN4 = 35;
|
|
53154
53497
|
var ASTERISK6 = 42;
|
|
@@ -53579,61 +53922,6 @@ var pseudo_default = {
|
|
|
53579
53922
|
host: selector,
|
|
53580
53923
|
"host-context": selector
|
|
53581
53924
|
};
|
|
53582
|
-
|
|
53583
|
-
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/node/index-parse.js
|
|
53584
|
-
var exports_index_parse = {};
|
|
53585
|
-
__export(exports_index_parse, {
|
|
53586
|
-
AnPlusB: () => parse2,
|
|
53587
|
-
Atrule: () => parse3,
|
|
53588
|
-
AtrulePrelude: () => parse4,
|
|
53589
|
-
AttributeSelector: () => parse5,
|
|
53590
|
-
Block: () => parse6,
|
|
53591
|
-
Brackets: () => parse7,
|
|
53592
|
-
CDC: () => parse8,
|
|
53593
|
-
CDO: () => parse9,
|
|
53594
|
-
ClassSelector: () => parse10,
|
|
53595
|
-
Combinator: () => parse11,
|
|
53596
|
-
Comment: () => parse12,
|
|
53597
|
-
Condition: () => parse13,
|
|
53598
|
-
Declaration: () => parse14,
|
|
53599
|
-
DeclarationList: () => parse15,
|
|
53600
|
-
Dimension: () => parse16,
|
|
53601
|
-
Feature: () => parse17,
|
|
53602
|
-
FeatureFunction: () => parse18,
|
|
53603
|
-
FeatureRange: () => parse19,
|
|
53604
|
-
Function: () => parse20,
|
|
53605
|
-
GeneralEnclosed: () => parse21,
|
|
53606
|
-
Hash: () => parse22,
|
|
53607
|
-
IdSelector: () => parse24,
|
|
53608
|
-
Identifier: () => parse23,
|
|
53609
|
-
Layer: () => parse25,
|
|
53610
|
-
LayerList: () => parse26,
|
|
53611
|
-
MediaQuery: () => parse27,
|
|
53612
|
-
MediaQueryList: () => parse28,
|
|
53613
|
-
NestingSelector: () => parse29,
|
|
53614
|
-
Nth: () => parse30,
|
|
53615
|
-
Number: () => parse31,
|
|
53616
|
-
Operator: () => parse32,
|
|
53617
|
-
Parentheses: () => parse33,
|
|
53618
|
-
Percentage: () => parse34,
|
|
53619
|
-
PseudoClassSelector: () => parse35,
|
|
53620
|
-
PseudoElementSelector: () => parse36,
|
|
53621
|
-
Ratio: () => parse37,
|
|
53622
|
-
Raw: () => parse38,
|
|
53623
|
-
Rule: () => parse39,
|
|
53624
|
-
Scope: () => parse40,
|
|
53625
|
-
Selector: () => parse41,
|
|
53626
|
-
SelectorList: () => parse42,
|
|
53627
|
-
String: () => parse43,
|
|
53628
|
-
StyleSheet: () => parse44,
|
|
53629
|
-
SupportsDeclaration: () => parse45,
|
|
53630
|
-
TypeSelector: () => parse46,
|
|
53631
|
-
UnicodeRange: () => parse47,
|
|
53632
|
-
Url: () => parse48,
|
|
53633
|
-
Value: () => parse49,
|
|
53634
|
-
WhiteSpace: () => parse50
|
|
53635
|
-
});
|
|
53636
|
-
|
|
53637
53925
|
// ../../node_modules/.bun/css-tree@3.2.1/node_modules/css-tree/lib/syntax/config/parser.js
|
|
53638
53926
|
var parser_default = {
|
|
53639
53927
|
parseContext: {
|
|
@@ -53703,7 +53991,7 @@ var {
|
|
|
53703
53991
|
fork
|
|
53704
53992
|
} = syntax_default;
|
|
53705
53993
|
|
|
53706
|
-
// ../../node_modules/.bun/@samva+markup@0.
|
|
53994
|
+
// ../../node_modules/.bun/@samva+markup@0.18.0+a19bcd7db259aaf7/node_modules/@samva/markup/dist/theme-css-P9F5S7Ic.js
|
|
53707
53995
|
var BRAND_NAMESPACES = [
|
|
53708
53996
|
"--color-",
|
|
53709
53997
|
"--font-",
|
|
@@ -53980,7 +54268,7 @@ var DEFAULT_THEME = {
|
|
|
53980
54268
|
fontFaces: []
|
|
53981
54269
|
};
|
|
53982
54270
|
var DEFAULT_THEME_CSS = printBrandCss(DEFAULT_THEME);
|
|
53983
|
-
// ../../node_modules/.bun/@samva+markup@0.
|
|
54271
|
+
// ../../node_modules/.bun/@samva+markup@0.18.0+a19bcd7db259aaf7/node_modules/@samva/markup/dist/diagnostic-codes-DZKb0Xcg.js
|
|
53984
54272
|
var buildLineMap = (source) => {
|
|
53985
54273
|
const lineStarts = [0];
|
|
53986
54274
|
for (let index = 0;index < source.length; index++) {
|
|
@@ -54696,12 +54984,14 @@ var pull = make29("pull", {
|
|
|
54696
54984
|
var push = make29("push", {
|
|
54697
54985
|
file: String10("file").pipe(withDescription4("Brand CSS file to upload")),
|
|
54698
54986
|
brand: String9("brand").pipe(withDescription2("Slug of the brand to update; defaults to the organization's default brand"), optional4),
|
|
54987
|
+
name: String9("name").pipe(withDescription2("Also set the brand's display name"), optional4),
|
|
54699
54988
|
dryRun: Boolean6("dry-run").pipe(withDescription2("Validate the CSS locally without uploading it"), withDefault5(false)),
|
|
54700
54989
|
json: jsonFlag
|
|
54701
54990
|
}).pipe(withDescription3("Validate brand CSS locally and replace a brand's CSS with it. Published templates keep their brand until republished."), withExamples([
|
|
54702
54991
|
{ command: "samva brands push brand.css", description: "Update the default brand's CSS" },
|
|
54703
|
-
{ command: "samva brands push brand.css --brand acme --dry-run" }
|
|
54704
|
-
|
|
54992
|
+
{ command: "samva brands push brand.css --brand acme --dry-run" },
|
|
54993
|
+
{ command: 'samva brands push brand.css --name "Acme"', description: "Also rename the brand" }
|
|
54994
|
+
]), withHandler(({ file, brand, name, dryRun, json }) => gen2(function* () {
|
|
54705
54995
|
const fs = yield* FileSystem;
|
|
54706
54996
|
const css = yield* fs.readFileString(file).pipe(mapError2(() => new CliUsageError({
|
|
54707
54997
|
code: "brand_css_unreadable",
|
|
@@ -54742,7 +55032,11 @@ var push = make29("push", {
|
|
|
54742
55032
|
}
|
|
54743
55033
|
const slug = named ?? (yield* fetchBrand(undefined)).slug;
|
|
54744
55034
|
const client = yield* getClientProvider;
|
|
54745
|
-
const updated = yield* update4({
|
|
55035
|
+
const updated = yield* update4({
|
|
55036
|
+
slug,
|
|
55037
|
+
css,
|
|
55038
|
+
...isSome2(name) ? { name: name.value } : {}
|
|
55039
|
+
}).pipe(client.provide, mapError2(apiFailure(`Could not update brand ${slug}`)));
|
|
54746
55040
|
const result = {
|
|
54747
55041
|
action: "brands.push",
|
|
54748
55042
|
file,
|
|
@@ -55090,6 +55384,7 @@ var CampaignsScheduleRun403 = /* @__PURE__ */ Union2([FlagDisabledError, Forbidd
|
|
|
55090
55384
|
var CampaignsScheduleRun404 = ResourceNotFoundError2;
|
|
55091
55385
|
var CampaignsScheduleRun409 = ConflictError2;
|
|
55092
55386
|
var CampaignsScheduleRun422 = /* @__PURE__ */ Union2([
|
|
55387
|
+
FromAddressRequiredError2,
|
|
55093
55388
|
ValidationError2,
|
|
55094
55389
|
BrandAddressRequiredError,
|
|
55095
55390
|
CampaignFooterRequiredError
|
|
@@ -57451,6 +57746,7 @@ var CustomTrackingStatus = /* @__PURE__ */ Struct({
|
|
|
57451
57746
|
]),
|
|
57452
57747
|
label: String4,
|
|
57453
57748
|
hostname: String4,
|
|
57749
|
+
parentDomain: String4,
|
|
57454
57750
|
region: String4,
|
|
57455
57751
|
sslStatus: Union2([String4, Null2]),
|
|
57456
57752
|
certificate: Union2([CustomTrackingCertificate, Null2]),
|
|
@@ -57461,7 +57757,8 @@ var CustomTrackingStatus = /* @__PURE__ */ Struct({
|
|
|
57461
57757
|
caaBlocked: Boolean3,
|
|
57462
57758
|
verificationErrors: ArraySchema(String4),
|
|
57463
57759
|
teardownScheduledAt: Union2([String4, Null2])
|
|
57464
|
-
}), Null2])
|
|
57760
|
+
}), Null2]),
|
|
57761
|
+
parentDomains: ArraySchema(String4)
|
|
57465
57762
|
}).annotate({ identifier: "CustomTrackingStatus" });
|
|
57466
57763
|
var DomainWarmingPlan = /* @__PURE__ */ Struct({
|
|
57467
57764
|
id: EmailDomainWarmingPlanId2,
|
|
@@ -58123,7 +58420,10 @@ var EmailGetCustomTracking422 = ValidationError2;
|
|
|
58123
58420
|
var EmailGetCustomTracking500 = InternalError2;
|
|
58124
58421
|
var EmailGetCustomTracking504 = GatewayTimeoutError2;
|
|
58125
58422
|
var EmailEnableCustomTrackingPathParams = /* @__PURE__ */ Struct({ id: EmailDomainId2 });
|
|
58126
|
-
var EmailEnableCustomTrackingRequestJson = /* @__PURE__ */ Struct({
|
|
58423
|
+
var EmailEnableCustomTrackingRequestJson = /* @__PURE__ */ Struct({
|
|
58424
|
+
label: optionalKey2(Union2([String4.annotate({ description: "First label of the tracking host. Defaults to `track`." }), Null2])),
|
|
58425
|
+
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]))
|
|
58426
|
+
});
|
|
58127
58427
|
var EmailEnableCustomTracking200 = CustomTrackingStatus;
|
|
58128
58428
|
var EmailEnableCustomTracking401 = UnauthorizedError2;
|
|
58129
58429
|
var EmailEnableCustomTracking403 = ForbiddenError2;
|
|
@@ -58904,7 +59204,7 @@ var EmailGroup = class extends make37("Email").add(get5("emailListBlocks", "/v1/
|
|
|
58904
59204
|
EmailEnableCustomTracking502.pipe(status(502)),
|
|
58905
59205
|
EmailEnableCustomTracking504.pipe(status(504))
|
|
58906
59206
|
]
|
|
58907
|
-
}).middleware(ApiKeySecurityMiddleware).annotate(Identifier, "email.enableCustomTracking").annotate(Summary, "Enable a custom tracking domain").annotate(Description, "Provisions a custom tracking domain
|
|
59207
|
+
}).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", {
|
|
58908
59208
|
params: EmailDisableCustomTrackingPathParams,
|
|
58909
59209
|
success: EmailDisableCustomTracking200,
|
|
58910
59210
|
error: [
|
|
@@ -59856,7 +60156,8 @@ var MessageSubmission2 = /* @__PURE__ */ Struct({
|
|
|
59856
60156
|
Literal2("scheduled"),
|
|
59857
60157
|
Literal2("mailbox"),
|
|
59858
60158
|
Literal2("forwarding"),
|
|
59859
|
-
Literal2("journey")
|
|
60159
|
+
Literal2("journey"),
|
|
60160
|
+
Literal2("businessApp")
|
|
59860
60161
|
]),
|
|
59861
60162
|
transport: Union2([Literal2("http"), Null2]),
|
|
59862
60163
|
credential: Union2([SubmissionCredential2, Null2]),
|
|
@@ -59993,7 +60294,7 @@ var MessagesSend403 = /* @__PURE__ */ Union2([
|
|
|
59993
60294
|
]);
|
|
59994
60295
|
var MessagesSend404 = ResourceNotFoundError2;
|
|
59995
60296
|
var MessagesSend409 = ConflictError2;
|
|
59996
|
-
var MessagesSend422 = ValidationError2;
|
|
60297
|
+
var MessagesSend422 = /* @__PURE__ */ Union2([ValidationError2, FromAddressRequiredError2]);
|
|
59997
60298
|
var MessagesSend429 = RateLimitedError2;
|
|
59998
60299
|
var MessagesSend500 = InternalError2;
|
|
59999
60300
|
var MessagesSend502 = /* @__PURE__ */ Union2([BillingProviderError, ExternalServiceError2]);
|
|
@@ -60248,7 +60549,7 @@ var MessagesValidateEmail200 = ValidateEmailResponse;
|
|
|
60248
60549
|
var MessagesValidateEmail401 = UnauthorizedError2;
|
|
60249
60550
|
var MessagesValidateEmail403 = ForbiddenError2;
|
|
60250
60551
|
var MessagesValidateEmail404 = ResourceNotFoundError2;
|
|
60251
|
-
var MessagesValidateEmail422 = ValidationError2;
|
|
60552
|
+
var MessagesValidateEmail422 = /* @__PURE__ */ Union2([ValidationError2, FromAddressRequiredError2]);
|
|
60252
60553
|
var MessagesValidateEmail500 = InternalError2;
|
|
60253
60554
|
var MessagesValidateEmail503 = SenderNotReadyError2;
|
|
60254
60555
|
var MessagesValidateEmail504 = GatewayTimeoutError2;
|
|
@@ -60603,7 +60904,13 @@ var OrganizationsGetUsage200 = /* @__PURE__ */ Struct({
|
|
|
60603
60904
|
includedAiCredits: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2]),
|
|
60604
60905
|
usedAiCredits: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2]),
|
|
60605
60906
|
overageAiCredits: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2]),
|
|
60606
|
-
overageAiCost: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2])
|
|
60907
|
+
overageAiCost: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2]),
|
|
60908
|
+
aiPackCredits: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2]),
|
|
60909
|
+
aiResetsAt: Union2([String4, Null2]),
|
|
60910
|
+
creditsResetsAt: Union2([String4, Null2]),
|
|
60911
|
+
standardGranted: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2]),
|
|
60912
|
+
standardRemaining: Union2([Finite.check(isFinite4().annotate({ expected: "a finite number" })), Null2]),
|
|
60913
|
+
standardResetsAt: Union2([String4, Null2])
|
|
60607
60914
|
})
|
|
60608
60915
|
});
|
|
60609
60916
|
var OrganizationsGetUsage401 = UnauthorizedError2;
|
|
@@ -61123,26 +61430,31 @@ Create these DNS records:`);
|
|
|
61123
61430
|
});
|
|
61124
61431
|
var customEnable = make29("enable", {
|
|
61125
61432
|
id: String10("id").pipe(withDescription4("Domain id to enable custom tracking for")),
|
|
61126
|
-
label: String9("label").pipe(withDescription2("First-level label under the domain (default: track)"), optional4),
|
|
61433
|
+
label: String9("label").pipe(withDescription2("First-level label under the parent domain (default: track)"), optional4),
|
|
61434
|
+
parent: String9("parent").pipe(withDescription2("Parent domain for the tracking host (default: sending domain)"), optional4),
|
|
61127
61435
|
dryRun: Boolean6("dry-run").pipe(withDescription2("Print the planned change without calling the API"), withDefault5(false)),
|
|
61128
61436
|
json: jsonFlag
|
|
61129
61437
|
}).pipe(withDescription3("Enable a custom tracking domain"), withExamples([
|
|
61130
61438
|
{ command: "samva email domains custom-tracking enable dom_abc123" },
|
|
61131
|
-
{ command: "samva email domains custom-tracking enable dom_abc123 --label links" }
|
|
61132
|
-
|
|
61439
|
+
{ command: "samva email domains custom-tracking enable dom_abc123 --label links" },
|
|
61440
|
+
{ command: "samva email domains custom-tracking enable dom_abc123 --parent acme.com" }
|
|
61441
|
+
]), withHandler(({ id, label, parent, dryRun, json }) => gen2(function* () {
|
|
61133
61442
|
const chosenLabel = getOrUndefined(label);
|
|
61443
|
+
const parentDomain = getOrUndefined(parent);
|
|
61134
61444
|
if (dryRun) {
|
|
61135
61445
|
return yield* json ? printJson({
|
|
61136
61446
|
dryRun: true,
|
|
61137
61447
|
action: "email.domains.custom-tracking.enable",
|
|
61138
61448
|
id,
|
|
61139
|
-
label: chosenLabel
|
|
61140
|
-
|
|
61449
|
+
label: chosenLabel,
|
|
61450
|
+
parentDomain
|
|
61451
|
+
}) : log(`[dry-run] Would enable custom tracking for ${id}${parentDomain === undefined ? "" : ` under ${parentDomain}`}.`);
|
|
61141
61452
|
}
|
|
61142
61453
|
const client = yield* getClientProvider;
|
|
61143
61454
|
const data = yield* enableCustomTracking({
|
|
61144
61455
|
id,
|
|
61145
|
-
...chosenLabel === undefined ? {} : { label: chosenLabel }
|
|
61456
|
+
...chosenLabel === undefined ? {} : { label: chosenLabel },
|
|
61457
|
+
...parentDomain === undefined ? {} : { parentDomain }
|
|
61146
61458
|
}).pipe(client.provide, mapError2((error) => toCliApiError("Could not enable custom tracking", error)));
|
|
61147
61459
|
if (json)
|
|
61148
61460
|
return yield* printJson(data);
|
|
@@ -61728,6 +62040,8 @@ var templateSlugFlag2 = String9("template-slug").pipe(withDescription2("Template
|
|
|
61728
62040
|
var templateDataFlag2 = String9("template-data").pipe(withDescription2("JSON object of variables for the template"), optional4);
|
|
61729
62041
|
var localeFlag = String9("locale").pipe(withDescription2("BCP 47 language tag (for example en-US) for dates, numbers and money in a template send; defaults to the template's locale"), optional4);
|
|
61730
62042
|
var timeZoneFlag = String9("time-zone").pipe(withDescription2("IANA time zone (for example America/New_York) that a template send renders dates in; defaults to UTC"), optional4);
|
|
62043
|
+
var fromFlag2 = String9("from").pipe(withDescription2("Sender address: a verified sender or any address on a verified domain. Omitted, the send uses the default sender, else the only verified sender"), optional4);
|
|
62044
|
+
var fromNameFlag = String9("from-name").pipe(withDescription2("Sender display name; applies with --from"), optional4);
|
|
61731
62045
|
var replyToMessageFlag = String9("reply-to-message-id").pipe(withDescription2("Message id this email replies to (threads the conversation)"), optional4);
|
|
61732
62046
|
var replyToAddressFlag = String9("reply-to").pipe(withDescription2("Reply-To header email address"), optional4);
|
|
61733
62047
|
var idempotencyKeyFlag2 = String9("idempotency-key").pipe(withDescription2("Key (1-255 characters) so identical retries return the original email"), optional4);
|
|
@@ -61765,6 +62079,8 @@ var send3 = make29("send", {
|
|
|
61765
62079
|
templateData: templateDataFlag2,
|
|
61766
62080
|
locale: localeFlag,
|
|
61767
62081
|
timeZone: timeZoneFlag,
|
|
62082
|
+
from: fromFlag2,
|
|
62083
|
+
fromName: fromNameFlag,
|
|
61768
62084
|
replyTo: replyToMessageFlag,
|
|
61769
62085
|
replyToAddress: replyToAddressFlag,
|
|
61770
62086
|
idempotencyKey: idempotencyKeyFlag2,
|
|
@@ -61788,6 +62104,10 @@ var send3 = make29("send", {
|
|
|
61788
62104
|
command: `samva email send --to you@example.com --template-slug order-receipt --template-data '{"total":42}' --locale de-DE --time-zone Europe/Berlin`,
|
|
61789
62105
|
description: "Render a template's dates and money for a locale and time zone"
|
|
61790
62106
|
},
|
|
62107
|
+
{
|
|
62108
|
+
command: "samva email send --to you@example.com --subject Hi --text Hello --from hello@acme.test",
|
|
62109
|
+
description: "Send from any address on a verified domain, or from a verified sender"
|
|
62110
|
+
},
|
|
61791
62111
|
{
|
|
61792
62112
|
command: 'echo "Hello" | samva email send --to you@example.com --subject Hi --text -',
|
|
61793
62113
|
description: "Pipe plain-text body from stdin"
|
|
@@ -61818,6 +62138,8 @@ var send3 = make29("send", {
|
|
|
61818
62138
|
templateData,
|
|
61819
62139
|
locale,
|
|
61820
62140
|
timeZone,
|
|
62141
|
+
from,
|
|
62142
|
+
fromName,
|
|
61821
62143
|
replyTo,
|
|
61822
62144
|
replyToAddress,
|
|
61823
62145
|
idempotencyKey,
|
|
@@ -61839,6 +62161,11 @@ var send3 = make29("send", {
|
|
|
61839
62161
|
publicationId: getOrUndefined(publicationId),
|
|
61840
62162
|
inputContractId: getOrUndefined(inputContractId)
|
|
61841
62163
|
});
|
|
62164
|
+
const fromValue = getOrUndefined(from);
|
|
62165
|
+
const fromNameValue = getOrUndefined(fromName);
|
|
62166
|
+
if (fromValue === undefined && fromNameValue !== undefined) {
|
|
62167
|
+
return yield* new SamvaCliError({ message: "--from-name applies with --from." });
|
|
62168
|
+
}
|
|
61842
62169
|
const replyToValue = getOrUndefined(replyTo);
|
|
61843
62170
|
const replyToAddressValue = getOrUndefined(replyToAddress);
|
|
61844
62171
|
const idempotencyKeyValue = getOrUndefined(idempotencyKey);
|
|
@@ -61909,6 +62236,12 @@ var send3 = make29("send", {
|
|
|
61909
62236
|
...templateDataValue === undefined ? {} : { templateData: templateDataValue },
|
|
61910
62237
|
...localeValue === undefined ? {} : { locale: localeValue },
|
|
61911
62238
|
...timeZoneValue === undefined ? {} : { timeZone: timeZoneValue },
|
|
62239
|
+
...fromValue === undefined ? {} : {
|
|
62240
|
+
from: {
|
|
62241
|
+
email: fromValue,
|
|
62242
|
+
...fromNameValue === undefined ? {} : { name: fromNameValue }
|
|
62243
|
+
}
|
|
62244
|
+
},
|
|
61912
62245
|
...replyToValue === undefined ? {} : { inReplyToMessageId: replyToValue },
|
|
61913
62246
|
...replyToAddressValue === undefined ? {} : { replyTo: replyToAddressValue },
|
|
61914
62247
|
...trackOpensValue !== undefined || trackClicksValue !== undefined ? {
|
|
@@ -61959,6 +62292,7 @@ var send3 = make29("send", {
|
|
|
61959
62292
|
yield* printFields([["Body source", source]]);
|
|
61960
62293
|
yield* log("");
|
|
61961
62294
|
yield* printFields([
|
|
62295
|
+
...request.from ? [["From", request.from.email]] : [],
|
|
61962
62296
|
["To", request.to.join(", ")],
|
|
61963
62297
|
...ccValue ? [["Cc", ccValue]] : [],
|
|
61964
62298
|
...bccValue ? [["Bcc", bccValue]] : [],
|
|
@@ -62557,7 +62891,7 @@ var ExtensionManifest = Struct({
|
|
|
62557
62891
|
description: optional2(String4.check(isMaxLength(500))),
|
|
62558
62892
|
version: ExtensionVersionString,
|
|
62559
62893
|
runtime: ExtensionRuntime,
|
|
62560
|
-
events: ArraySchema(
|
|
62894
|
+
events: ArraySchema(mailboxExtensionEventTypeSchema).check(isMinLength(1), makeFilter2(uniqueValues, { message: "Each event is listed once" })),
|
|
62561
62895
|
permissions: ArraySchema(ExtensionPermission).check(makeFilter2(uniqueValues, { message: "Each permission is listed once" }), makeFilter2((permissions) => permissions.includes("read"), {
|
|
62562
62896
|
message: "An extension needs the read permission to receive mailbox events"
|
|
62563
62897
|
}))
|
|
@@ -62622,7 +62956,7 @@ var ExtensionInstallationSummary = Struct(installationSummaryFields).annotate({
|
|
|
62622
62956
|
});
|
|
62623
62957
|
var ExtensionInstallation = Struct({
|
|
62624
62958
|
...installationSummaryFields,
|
|
62625
|
-
events: ArraySchema(
|
|
62959
|
+
events: ArraySchema(mailboxExtensionEventTypeSchema),
|
|
62626
62960
|
permissions: ArraySchema(ExtensionPermission),
|
|
62627
62961
|
sendMode: Literals(mailboxSendModes),
|
|
62628
62962
|
scope: ExtensionInstallationScope,
|
|
@@ -62648,7 +62982,7 @@ var InstallExtensionResponse = Struct({
|
|
|
62648
62982
|
}).annotate({ identifier: "InstallExtensionResponse" });
|
|
62649
62983
|
var ExtensionUpgradeGrant = Literals([
|
|
62650
62984
|
...mailboxKeyActions.map((permission) => `permission:${permission}`),
|
|
62651
|
-
...
|
|
62985
|
+
...MAILBOX_EXTENSION_EVENT_TYPE_VALUES.map((event) => `event:${event}`)
|
|
62652
62986
|
]);
|
|
62653
62987
|
var ExtensionPermissionDiff = Struct({
|
|
62654
62988
|
added: ArraySchema(ExtensionUpgradeGrant),
|
|
@@ -62688,7 +63022,7 @@ var ExtensionRunOutcome = Literals([
|
|
|
62688
63022
|
var runSummaryFields = {
|
|
62689
63023
|
id: String4,
|
|
62690
63024
|
eventId: String4,
|
|
62691
|
-
eventType:
|
|
63025
|
+
eventType: mailboxExtensionEventTypeSchema,
|
|
62692
63026
|
attempt: Int,
|
|
62693
63027
|
startedAt: DateFromString,
|
|
62694
63028
|
durationMs: Int,
|
|
@@ -63248,11 +63582,11 @@ var Cursor2 = StringFromBase64Url.pipe(decodeTo2(fromJsonString2(CursorPosition)
|
|
|
63248
63582
|
description: "Opaque position returned as `nextCursor`. Pass it back unchanged."
|
|
63249
63583
|
});
|
|
63250
63584
|
var encodeCursor = encodeSync(Cursor2);
|
|
63251
|
-
var
|
|
63585
|
+
var VersionCursor2 = StringFromBase64Url.pipe(decodeTo2(fromJsonString2(Int.check(isGreaterThan2(0))))).annotate({
|
|
63252
63586
|
identifier: "VersionCursor",
|
|
63253
63587
|
description: "Opaque position returned as `nextCursor`. Pass it back unchanged."
|
|
63254
63588
|
});
|
|
63255
|
-
var encodeVersionCursor = encodeSync(
|
|
63589
|
+
var encodeVersionCursor = encodeSync(VersionCursor2);
|
|
63256
63590
|
var MAX_PAGE_LIMIT = 100;
|
|
63257
63591
|
var CursorPageQuery = {
|
|
63258
63592
|
limit: optional2(FiniteFromString.check(isInt(), isGreaterThan2(0), isLessThanOrEqualTo3(MAX_PAGE_LIMIT)).annotate({ description: `Items per page, at most ${MAX_PAGE_LIMIT}.` })),
|
|
@@ -64015,74 +64349,6 @@ var extensionApiCommands = [
|
|
|
64015
64349
|
run6
|
|
64016
64350
|
];
|
|
64017
64351
|
|
|
64018
|
-
// ../sdk/dist/effect/mailboxes.js
|
|
64019
|
-
var exports_mailboxes = {};
|
|
64020
|
-
__export(exports_mailboxes, {
|
|
64021
|
-
MailboxEventStreamError: () => MailboxEventStreamError,
|
|
64022
|
-
addThreadLabels: () => addThreadLabels,
|
|
64023
|
-
approveAction: () => approveAction,
|
|
64024
|
-
cancelAction: () => cancelAction,
|
|
64025
|
-
copyMessageAttachment: () => copyMessageAttachment,
|
|
64026
|
-
create: () => create6,
|
|
64027
|
-
createDraft: () => createDraft,
|
|
64028
|
-
createEndpoint: () => createEndpoint,
|
|
64029
|
-
createGrant: () => createGrant,
|
|
64030
|
-
createLabel: () => createLabel,
|
|
64031
|
-
createNote: () => createNote,
|
|
64032
|
-
createPolicy: () => createPolicy,
|
|
64033
|
-
deleteDraft: () => deleteDraft,
|
|
64034
|
-
deleteLabel: () => deleteLabel,
|
|
64035
|
-
deleteNote: () => deleteNote,
|
|
64036
|
-
deletePolicy: () => deletePolicy,
|
|
64037
|
-
denyAction: () => denyAction,
|
|
64038
|
-
discardMessage: () => discardMessage,
|
|
64039
|
-
events: () => events3,
|
|
64040
|
-
forward: () => forward,
|
|
64041
|
-
get: () => get19,
|
|
64042
|
-
getAction: () => getAction,
|
|
64043
|
-
getAgentActivity: () => getAgentActivity,
|
|
64044
|
-
getDraft: () => getDraft,
|
|
64045
|
-
getMessage: () => getMessage,
|
|
64046
|
-
getMessageAttachment: () => getMessageAttachment,
|
|
64047
|
-
getMessageRaw: () => getMessageRaw,
|
|
64048
|
-
getPolicy: () => getPolicy,
|
|
64049
|
-
getThread: () => getThread,
|
|
64050
|
-
getThreadContent: () => getThreadContent,
|
|
64051
|
-
list: () => list16,
|
|
64052
|
-
listActions: () => listActions,
|
|
64053
|
-
listDrafts: () => listDrafts,
|
|
64054
|
-
listEvents: () => listEvents2,
|
|
64055
|
-
listFolders: () => listFolders,
|
|
64056
|
-
listGrants: () => listGrants,
|
|
64057
|
-
listLabels: () => listLabels,
|
|
64058
|
-
listPolicies: () => listPolicies,
|
|
64059
|
-
listQuarantine: () => listQuarantine,
|
|
64060
|
-
listThreadMessages: () => listThreadMessages,
|
|
64061
|
-
listThreadNotes: () => listThreadNotes,
|
|
64062
|
-
listThreads: () => listThreads,
|
|
64063
|
-
mailboxes_exports: () => mailboxes_exports2,
|
|
64064
|
-
pause: () => pause,
|
|
64065
|
-
releaseMessage: () => releaseMessage,
|
|
64066
|
-
remove: () => remove8,
|
|
64067
|
-
removeEndpoint: () => removeEndpoint,
|
|
64068
|
-
removeThreadLabels: () => removeThreadLabels,
|
|
64069
|
-
reply: () => reply,
|
|
64070
|
-
replyAll: () => replyAll,
|
|
64071
|
-
resume: () => resume,
|
|
64072
|
-
retryAction: () => retryAction,
|
|
64073
|
-
revokeGrant: () => revokeGrant,
|
|
64074
|
-
sendDraft: () => sendDraft,
|
|
64075
|
-
sendMessage: () => sendMessage2,
|
|
64076
|
-
update: () => update8,
|
|
64077
|
-
updateDraft: () => updateDraft,
|
|
64078
|
-
updateEndpoint: () => updateEndpoint,
|
|
64079
|
-
updateGrant: () => updateGrant,
|
|
64080
|
-
updateLabel: () => updateLabel,
|
|
64081
|
-
updateNote: () => updateNote,
|
|
64082
|
-
updatePolicy: () => updatePolicy,
|
|
64083
|
-
updateThread: () => updateThread
|
|
64084
|
-
});
|
|
64085
|
-
|
|
64086
64352
|
// ../sdk/dist/mailbox-events.js
|
|
64087
64353
|
var MAILBOX_EVENT_STREAM_PATH = "/v1/mailboxes/events";
|
|
64088
64354
|
var MailboxEventStreamCloseCode = {
|
|
@@ -64721,6 +64987,7 @@ var MailboxActionResolution = /* @__PURE__ */ Struct({
|
|
|
64721
64987
|
Literal2("externalApi"),
|
|
64722
64988
|
Literal2("externalAgent"),
|
|
64723
64989
|
Literal2("extension"),
|
|
64990
|
+
Literal2("samvaManagedAgent"),
|
|
64724
64991
|
Literal2("system")
|
|
64725
64992
|
])
|
|
64726
64993
|
}).annotate({ description: "Who resolved the approval." }),
|
|
@@ -64730,6 +64997,11 @@ var MailboxActionResolution = /* @__PURE__ */ Struct({
|
|
|
64730
64997
|
description: "How the action's approval ended.",
|
|
64731
64998
|
identifier: "MailboxActionResolution"
|
|
64732
64999
|
});
|
|
65000
|
+
var MailboxToolCall = /* @__PURE__ */ Struct({
|
|
65001
|
+
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" })),
|
|
65002
|
+
argumentsHash: String4.check(isPattern2(/* @__PURE__ */ new RegExp("^[0-9a-f]{64}$", "u")).annotate({ expected: "a string matching the RegExp ^[0-9a-f]{64}$" })),
|
|
65003
|
+
arguments: Record(String4, JsonValue)
|
|
65004
|
+
}).annotate({ identifier: "MailboxToolCall" });
|
|
64733
65005
|
var MailboxAgentActivity = /* @__PURE__ */ Struct({
|
|
64734
65006
|
actions: Struct({
|
|
64735
65007
|
byType: ArraySchema(Struct({
|
|
@@ -64741,7 +65013,8 @@ var MailboxAgentActivity = /* @__PURE__ */ Struct({
|
|
|
64741
65013
|
Literal2("assignThread"),
|
|
64742
65014
|
Literal2("changeThreadState"),
|
|
64743
65015
|
Literal2("call"),
|
|
64744
|
-
Literal2("extensionRequest")
|
|
65016
|
+
Literal2("extensionRequest"),
|
|
65017
|
+
Literal2("toolCall")
|
|
64745
65018
|
]),
|
|
64746
65019
|
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" }))
|
|
64747
65020
|
})),
|
|
@@ -64874,6 +65147,15 @@ var MailboxNoteId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */ ne
|
|
|
64874
65147
|
expected: "a string matching the RegExp ^note_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
64875
65148
|
identifier: "MailboxNoteId"
|
|
64876
65149
|
})).pipe(brand("MailboxNoteId"));
|
|
65150
|
+
var MailboxEndpoint2 = /* @__PURE__ */ Struct({
|
|
65151
|
+
id: MailboxEndpointId2,
|
|
65152
|
+
address: String4,
|
|
65153
|
+
displayName: Union2([String4, Null2]),
|
|
65154
|
+
default: Boolean3,
|
|
65155
|
+
channel: Literal2("email"),
|
|
65156
|
+
source: Union2([Literal2("samvaHosted"), Literal2("verifiedDomain")]),
|
|
65157
|
+
domainId: Union2([String4, Null2])
|
|
65158
|
+
}).annotate({ identifier: "MailboxEndpoint" });
|
|
64877
65159
|
var MailboxCopiedAttachment = /* @__PURE__ */ Struct({
|
|
64878
65160
|
filename: String4,
|
|
64879
65161
|
content: optionalKey2(Union2([String4, Null2])),
|
|
@@ -64890,15 +65172,6 @@ var MailboxSummary2 = /* @__PURE__ */ Struct({
|
|
|
64890
65172
|
primaryAddress: Union2([String4, Null2]),
|
|
64891
65173
|
createdAt: String4
|
|
64892
65174
|
}).annotate({ identifier: "MailboxSummary" });
|
|
64893
|
-
var MailboxEndpoint2 = /* @__PURE__ */ Struct({
|
|
64894
|
-
id: MailboxEndpointId2,
|
|
64895
|
-
address: String4,
|
|
64896
|
-
displayName: Union2([String4, Null2]),
|
|
64897
|
-
default: Boolean3,
|
|
64898
|
-
channel: Literal2("email"),
|
|
64899
|
-
source: Union2([Literal2("samvaHosted"), Literal2("verifiedDomain")]),
|
|
64900
|
-
domainId: Union2([String4, Null2])
|
|
64901
|
-
}).annotate({ identifier: "MailboxEndpoint" });
|
|
64902
65175
|
var MailboxQuarantinedMessage = /* @__PURE__ */ Struct({
|
|
64903
65176
|
id: MessageId2,
|
|
64904
65177
|
disposition: Union2([Literal2("quarantined"), Literal2("isolated")]),
|
|
@@ -65149,6 +65422,19 @@ var MailboxNote = /* @__PURE__ */ Struct({
|
|
|
65149
65422
|
createdAt: String4,
|
|
65150
65423
|
updatedAt: String4
|
|
65151
65424
|
}).annotate({ identifier: "MailboxNote" });
|
|
65425
|
+
var Mailbox2 = /* @__PURE__ */ Struct({
|
|
65426
|
+
id: MailboxId2,
|
|
65427
|
+
namespaceId: Union2([NamespaceId2, Null2]),
|
|
65428
|
+
slug: String4,
|
|
65429
|
+
name: String4,
|
|
65430
|
+
status: MailboxStatus2,
|
|
65431
|
+
primaryAddress: Union2([String4, Null2]),
|
|
65432
|
+
createdAt: String4,
|
|
65433
|
+
description: Union2([String4, Null2]),
|
|
65434
|
+
metadata: MailboxMetadata2,
|
|
65435
|
+
endpoints: ArraySchema(MailboxEndpoint2),
|
|
65436
|
+
updatedAt: String4
|
|
65437
|
+
}).annotate({ identifier: "Mailbox" });
|
|
65152
65438
|
var MailboxSendSnapshot2 = /* @__PURE__ */ Struct({
|
|
65153
65439
|
channel: Literal2("email"),
|
|
65154
65440
|
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" })),
|
|
@@ -65189,19 +65475,6 @@ var MailboxPage = /* @__PURE__ */ Struct({
|
|
|
65189
65475
|
items: ArraySchema(MailboxSummary2),
|
|
65190
65476
|
nextCursor: Union2([String4, Null2])
|
|
65191
65477
|
}).annotate({ identifier: "MailboxPage" });
|
|
65192
|
-
var Mailbox2 = /* @__PURE__ */ Struct({
|
|
65193
|
-
id: MailboxId2,
|
|
65194
|
-
namespaceId: Union2([NamespaceId2, Null2]),
|
|
65195
|
-
slug: String4,
|
|
65196
|
-
name: String4,
|
|
65197
|
-
status: MailboxStatus2,
|
|
65198
|
-
primaryAddress: Union2([String4, Null2]),
|
|
65199
|
-
createdAt: String4,
|
|
65200
|
-
description: Union2([String4, Null2]),
|
|
65201
|
-
metadata: MailboxMetadata2,
|
|
65202
|
-
endpoints: ArraySchema(MailboxEndpoint2),
|
|
65203
|
-
updatedAt: String4
|
|
65204
|
-
}).annotate({ identifier: "Mailbox" });
|
|
65205
65478
|
var MailboxQuarantinePage = /* @__PURE__ */ Struct({
|
|
65206
65479
|
items: ArraySchema(MailboxQuarantinedMessage),
|
|
65207
65480
|
nextCursor: Union2([String4, Null2])
|
|
@@ -65241,7 +65514,8 @@ var MailboxNonSendAction = /* @__PURE__ */ Struct({
|
|
|
65241
65514
|
Literal2("assignThread"),
|
|
65242
65515
|
Literal2("changeThreadState"),
|
|
65243
65516
|
Literal2("call"),
|
|
65244
|
-
Literal2("extensionRequest")
|
|
65517
|
+
Literal2("extensionRequest"),
|
|
65518
|
+
Literal2("toolCall")
|
|
65245
65519
|
]),
|
|
65246
65520
|
state: Union2([
|
|
65247
65521
|
Literal2("proposed"),
|
|
@@ -65253,7 +65527,8 @@ var MailboxNonSendAction = /* @__PURE__ */ Struct({
|
|
|
65253
65527
|
Literal2("executing"),
|
|
65254
65528
|
Literal2("executed"),
|
|
65255
65529
|
Literal2("failed")
|
|
65256
|
-
])
|
|
65530
|
+
]),
|
|
65531
|
+
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." })
|
|
65257
65532
|
}).annotate({ identifier: "MailboxNonSendAction" });
|
|
65258
65533
|
var MailboxPendingSendReceipt = /* @__PURE__ */ Struct({
|
|
65259
65534
|
actionId: MailboxActionId3,
|
|
@@ -67468,7 +67743,7 @@ var dev = make29("dev", {
|
|
|
67468
67743
|
mailboxIds: mailbox,
|
|
67469
67744
|
output: mode,
|
|
67470
67745
|
onEvent: (event) => gen2(function* () {
|
|
67471
|
-
if (!extension.manifest.events.
|
|
67746
|
+
if (!extension.manifest.events.some((type) => type === event.type))
|
|
67472
67747
|
return;
|
|
67473
67748
|
const body = JSON.stringify({
|
|
67474
67749
|
type: event.type,
|
|
@@ -68003,6 +68278,9 @@ class MailboxGate extends Service2()("samva/MailboxGate") {
|
|
|
68003
68278
|
class JourneysGate extends Service2()("samva/JourneysGate") {
|
|
68004
68279
|
}
|
|
68005
68280
|
|
|
68281
|
+
class AgentsGate extends Service2()("samva/AgentsGate") {
|
|
68282
|
+
}
|
|
68283
|
+
|
|
68006
68284
|
class SmsChannelGate extends Service2()("samva/SmsChannelGate", { error: FlagDisabledError2 }) {
|
|
68007
68285
|
}
|
|
68008
68286
|
|
|
@@ -71823,6 +72101,43 @@ var logoutCommand = make29("logout").pipe(withDescription3("Sign out and remove
|
|
|
71823
72101
|
yield* printResult({ action: "logout" }, "Logged out.");
|
|
71824
72102
|
})));
|
|
71825
72103
|
|
|
72104
|
+
// ../core/src/mailboxes/conversation.ts
|
|
72105
|
+
var ContactConversationResponder = Literals(contactConversationResponders);
|
|
72106
|
+
var StaffActivitySource = Literals(staffActivitySources);
|
|
72107
|
+
var DEFAULT_TAKEOVER_TIMEOUT_SECONDS = 60 * 60;
|
|
72108
|
+
var ContactConversation = Struct({
|
|
72109
|
+
id: ContactConversationId,
|
|
72110
|
+
contactId: ContactId,
|
|
72111
|
+
responder: ContactConversationResponder,
|
|
72112
|
+
staffActedAt: NullOr(DateFromString),
|
|
72113
|
+
takeoverExpiresAt: NullOr(DateFromString),
|
|
72114
|
+
takeoverTimeoutSeconds: Int,
|
|
72115
|
+
position: Int
|
|
72116
|
+
}).annotate({ identifier: "ContactConversation" });
|
|
72117
|
+
|
|
72118
|
+
class ConversationTakenOverError extends TaggedError3()("ConversationTakenOverError", {
|
|
72119
|
+
message: String4,
|
|
72120
|
+
contactConversationId: ContactConversationId,
|
|
72121
|
+
staffActedAt: NullOr(DateFromString),
|
|
72122
|
+
takeoverExpiresAt: NullOr(DateFromString)
|
|
72123
|
+
}, { httpApiStatus: 409 }) {
|
|
72124
|
+
}
|
|
72125
|
+
|
|
72126
|
+
class ConversationAdvancedError extends TaggedError3()("ConversationAdvancedError", {
|
|
72127
|
+
message: String4,
|
|
72128
|
+
contactConversationId: ContactConversationId,
|
|
72129
|
+
position: Int,
|
|
72130
|
+
basedOnPosition: Int
|
|
72131
|
+
}, { httpApiStatus: 409 }) {
|
|
72132
|
+
}
|
|
72133
|
+
categorize(ConversationTakenOverError, { categories: ["conflict"], retryable: false });
|
|
72134
|
+
categorize(ConversationAdvancedError, { categories: ["conflict"], retryable: false });
|
|
72135
|
+
var MailboxToolCall2 = Struct({
|
|
72136
|
+
name: String4.check(isMinLength(1), isMaxLength(128)),
|
|
72137
|
+
argumentsHash: String4.check(isPattern2(/^[0-9a-f]{64}$/u)),
|
|
72138
|
+
arguments: Record(String4, Unknown2)
|
|
72139
|
+
}).annotate({ identifier: "MailboxToolCall" });
|
|
72140
|
+
|
|
71826
72141
|
// ../core/src/mailboxes/action-event-policy.ts
|
|
71827
72142
|
var MailboxActionType = Literals(mailboxActionScopes);
|
|
71828
72143
|
var MailboxActionSource = Literals(mailboxActionSources);
|
|
@@ -71835,6 +72150,7 @@ var MailboxAttributedSource = MailboxActionSource.pick([
|
|
|
71835
72150
|
"externalApi",
|
|
71836
72151
|
"externalAgent",
|
|
71837
72152
|
"extension",
|
|
72153
|
+
"samvaManagedAgent",
|
|
71838
72154
|
"system"
|
|
71839
72155
|
]);
|
|
71840
72156
|
var MailboxAttributedActor = Struct({
|
|
@@ -71932,7 +72248,10 @@ var MailboxSendAction2 = Struct({
|
|
|
71932
72248
|
var MailboxNonSendAction2 = Struct({
|
|
71933
72249
|
...actionFields,
|
|
71934
72250
|
type: Literals(mailboxActionScopes.filter((type) => type !== "sendMessage" && type !== "reply")),
|
|
71935
|
-
state: MailboxNonSendActionState
|
|
72251
|
+
state: MailboxNonSendActionState,
|
|
72252
|
+
tool: NullOr(MailboxToolCall2).annotate({
|
|
72253
|
+
description: "The tool a `toolCall` runs, with its arguments and their hash; an approval covers exactly this call. Null for every other action type."
|
|
72254
|
+
})
|
|
71936
72255
|
}).annotate({ identifier: "MailboxNonSendAction" });
|
|
71937
72256
|
var MailboxAction2 = Union2([MailboxSendAction2, MailboxNonSendAction2]).annotate({
|
|
71938
72257
|
identifier: "MailboxAction"
|
|
@@ -73750,6 +74069,7 @@ var orgAvatarCommand = make29("avatar").pipe(withDescription3("Set or remove the
|
|
|
73750
74069
|
// src/commands/usage.ts
|
|
73751
74070
|
var afterFlag2 = String9("after").pipe(withDescription2("Start of the window, an ISO 8601 instant (default: the start of this calendar month)"), optional4);
|
|
73752
74071
|
var beforeFlag2 = String9("before").pipe(withDescription2("End of the window, an ISO 8601 instant (default: now)"), optional4);
|
|
74072
|
+
var standardAllowance = (billing) => billing.standardGranted === null || billing.standardRemaining === null ? "\u2014" : billing.standardGranted > 0 ? `${Math.round(billing.standardRemaining / billing.standardGranted * 100)}% left` : "none";
|
|
73753
74073
|
var usageCommand = make29("usage", {
|
|
73754
74074
|
after: afterFlag2,
|
|
73755
74075
|
before: beforeFlag2,
|
|
@@ -73770,23 +74090,28 @@ var usageCommand = make29("usage", {
|
|
|
73770
74090
|
["Messages", usage.totalMessages],
|
|
73771
74091
|
["Plan", billing.planName],
|
|
73772
74092
|
[
|
|
73773
|
-
"
|
|
74093
|
+
"Sending credits",
|
|
73774
74094
|
billing.includedCredits === null ? "\u2014" : `${billing.usedCredits} of ${billing.includedCredits}`
|
|
73775
74095
|
],
|
|
73776
|
-
["
|
|
74096
|
+
["Extra sending credits", billing.overageCredits ?? "\u2014"],
|
|
73777
74097
|
[
|
|
73778
|
-
"
|
|
74098
|
+
"Extra sending credit cost",
|
|
73779
74099
|
billing.overageCost === null ? "\u2014" : `${billing.overageCost} ${billing.currency}`
|
|
73780
74100
|
],
|
|
74101
|
+
["Sending credits reset", billing.creditsResetsAt ?? "\u2014"],
|
|
73781
74102
|
[
|
|
73782
74103
|
"AI credits",
|
|
73783
74104
|
billing.includedAiCredits === null ? "\u2014" : `${billing.usedAiCredits} of ${billing.includedAiCredits}`
|
|
73784
74105
|
],
|
|
73785
|
-
["AI
|
|
74106
|
+
["AI credits from packs", billing.aiPackCredits ?? "\u2014"],
|
|
74107
|
+
["Extra AI credits", billing.overageAiCredits ?? "\u2014"],
|
|
73786
74108
|
[
|
|
73787
|
-
"AI
|
|
74109
|
+
"Extra AI credit cost",
|
|
73788
74110
|
billing.overageAiCost === null ? "\u2014" : `${billing.overageAiCost} ${billing.currency}`
|
|
73789
|
-
]
|
|
74111
|
+
],
|
|
74112
|
+
["AI credits reset", billing.aiResetsAt ?? "\u2014"],
|
|
74113
|
+
["Standard allowance", standardAllowance(billing)],
|
|
74114
|
+
["Standard allowance resets", billing.standardResetsAt ?? "\u2014"]
|
|
73790
74115
|
]);
|
|
73791
74116
|
}).pipe(json ? provideService2(MinimumLogLevel2, "None") : identity)));
|
|
73792
74117
|
|
|
@@ -74106,7 +74431,7 @@ var ScheduledMessagesResume401 = UnauthorizedError2;
|
|
|
74106
74431
|
var ScheduledMessagesResume403 = ForbiddenError2;
|
|
74107
74432
|
var ScheduledMessagesResume404 = ResourceNotFoundError2;
|
|
74108
74433
|
var ScheduledMessagesResume409 = ConflictError2;
|
|
74109
|
-
var ScheduledMessagesResume422 = ValidationError2;
|
|
74434
|
+
var ScheduledMessagesResume422 = /* @__PURE__ */ Union2([FromAddressRequiredError2, ValidationError2]);
|
|
74110
74435
|
var ScheduledMessagesResume500 = InternalError2;
|
|
74111
74436
|
var ScheduledMessagesResume502 = ExternalServiceError2;
|
|
74112
74437
|
var ScheduledMessagesResume503 = SenderNotReadyError2;
|
|
@@ -74208,6 +74533,7 @@ var assembleScheduledEmailPayload = (input) => ({
|
|
|
74208
74533
|
to: input.to.map((email) => ({ email })),
|
|
74209
74534
|
cc: input.cc ? [{ email: input.cc }] : undefined,
|
|
74210
74535
|
bcc: input.bcc ? [{ email: input.bcc }] : undefined,
|
|
74536
|
+
...input.from === undefined ? {} : { from: input.from },
|
|
74211
74537
|
email: {
|
|
74212
74538
|
subject: input.subject,
|
|
74213
74539
|
html: input.html,
|
|
@@ -74235,6 +74561,8 @@ var parseTemplateData3 = (raw) => match(raw, {
|
|
|
74235
74561
|
var toFlag2 = String9("to").pipe(withDescription2("Recipient email address (repeatable)"), atLeast2(1));
|
|
74236
74562
|
var ccFlag2 = String9("cc").pipe(withDescription2("Cc recipient email address"), optional4);
|
|
74237
74563
|
var bccFlag2 = String9("bcc").pipe(withDescription2("Bcc recipient email address"), optional4);
|
|
74564
|
+
var fromFlag3 = String9("from").pipe(withDescription2("Sender address: a verified sender or any address on a verified domain. Omitted, the send uses the default sender, else the only verified sender"), optional4);
|
|
74565
|
+
var fromNameFlag2 = String9("from-name").pipe(withDescription2("Sender display name; applies with --from"), optional4);
|
|
74238
74566
|
var subjectFlag3 = String9("subject").pipe(withDescription2("Email subject line (required with inline --html; omit for templates)"), optional4);
|
|
74239
74567
|
var htmlFlag3 = String9("html").pipe(withDescription2("HTML body"), optional4);
|
|
74240
74568
|
var textFlag3 = String9("text").pipe(withDescription2("Plain-text body"), optional4);
|
|
@@ -74256,6 +74584,8 @@ var create14 = make29("create", {
|
|
|
74256
74584
|
to: toFlag2,
|
|
74257
74585
|
cc: ccFlag2,
|
|
74258
74586
|
bcc: bccFlag2,
|
|
74587
|
+
from: fromFlag3,
|
|
74588
|
+
fromName: fromNameFlag2,
|
|
74259
74589
|
subject: subjectFlag3,
|
|
74260
74590
|
html: htmlFlag3,
|
|
74261
74591
|
text: textFlag3,
|
|
@@ -74277,6 +74607,10 @@ var create14 = make29("create", {
|
|
|
74277
74607
|
command: 'samva scheduled-messages create --to you@example.com --subject Hi --html "<p>Hello</p>" --text Hello --at 2026-08-01T09:00:00Z',
|
|
74278
74608
|
description: "Schedule an inline HTML email with a text fallback"
|
|
74279
74609
|
},
|
|
74610
|
+
{
|
|
74611
|
+
command: 'samva scheduled-messages create --to you@example.com --from hello@acme.test --subject Hi --html "<p>Hello</p>" --at 2026-08-01T09:00:00Z',
|
|
74612
|
+
description: "Send from any address on a verified domain, or from a verified sender"
|
|
74613
|
+
},
|
|
74280
74614
|
{
|
|
74281
74615
|
command: `samva scheduled-messages create --to you@example.com --template-slug welcome-email --template-data '{"name":"Ada"}' --at 2026-08-01T09:00:00Z --timezone America/New_York`,
|
|
74282
74616
|
description: "Schedule a published template; timezone is descriptive metadata"
|
|
@@ -74289,6 +74623,8 @@ var create14 = make29("create", {
|
|
|
74289
74623
|
to,
|
|
74290
74624
|
cc,
|
|
74291
74625
|
bcc,
|
|
74626
|
+
from,
|
|
74627
|
+
fromName,
|
|
74292
74628
|
subject,
|
|
74293
74629
|
html,
|
|
74294
74630
|
text,
|
|
@@ -74316,6 +74652,11 @@ var create14 = make29("create", {
|
|
|
74316
74652
|
});
|
|
74317
74653
|
const templateSlugValue = getOrUndefined(templateSlug);
|
|
74318
74654
|
const templateDataValue = yield* parseTemplateData3(templateData);
|
|
74655
|
+
const fromValue = getOrUndefined(from);
|
|
74656
|
+
const fromNameValue = getOrUndefined(fromName);
|
|
74657
|
+
if (fromValue === undefined && fromNameValue !== undefined) {
|
|
74658
|
+
return yield* new SamvaCliError({ message: "--from-name applies with --from." });
|
|
74659
|
+
}
|
|
74319
74660
|
if (templateIdValue && templateSlugValue) {
|
|
74320
74661
|
return yield* new SamvaCliError({
|
|
74321
74662
|
message: "Use either --template-id or --template-slug, not both."
|
|
@@ -74354,6 +74695,12 @@ var create14 = make29("create", {
|
|
|
74354
74695
|
templateData: templateDataValue,
|
|
74355
74696
|
cc: getOrUndefined(cc),
|
|
74356
74697
|
bcc: getOrUndefined(bcc),
|
|
74698
|
+
...fromValue === undefined ? {} : {
|
|
74699
|
+
from: {
|
|
74700
|
+
email: fromValue,
|
|
74701
|
+
...fromNameValue === undefined ? {} : { name: fromNameValue }
|
|
74702
|
+
}
|
|
74703
|
+
},
|
|
74357
74704
|
scheduledFor: new Date(at),
|
|
74358
74705
|
timezone: getOrUndefined(timezone),
|
|
74359
74706
|
idempotencyKey: getOrUndefined(idempotencyKey),
|
|
@@ -74574,6 +74921,7 @@ var SubscriptionsSubscribe404 = ResourceNotFoundError2;
|
|
|
74574
74921
|
var SubscriptionsSubscribe409 = ConflictError2;
|
|
74575
74922
|
var SubscriptionsSubscribe422 = /* @__PURE__ */ Union2([
|
|
74576
74923
|
ValidationError2,
|
|
74924
|
+
FromAddressRequiredError2,
|
|
74577
74925
|
BrandAddressRequiredError,
|
|
74578
74926
|
CampaignFooterRequiredError
|
|
74579
74927
|
]);
|
|
@@ -74666,7 +75014,6 @@ var TemplateFamilyId2 = /* @__PURE__ */ String4.check(isPattern2(/* @__PURE__ */
|
|
|
74666
75014
|
expected: "a string matching the RegExp ^tfam_[0-9a-hjkmnp-tv-z]{16,24}$",
|
|
74667
75015
|
identifier: "TemplateFamilyId"
|
|
74668
75016
|
})).pipe(brand("TemplateFamilyId"));
|
|
74669
|
-
var VersionCursor2 = /* @__PURE__ */ String4.annotate({ identifier: "VersionCursor" });
|
|
74670
75017
|
var BrandRenderedFooter = /* @__PURE__ */ Struct({
|
|
74671
75018
|
html: String4,
|
|
74672
75019
|
text: String4,
|
|
@@ -74770,10 +75117,7 @@ var Template = /* @__PURE__ */ Struct({
|
|
|
74770
75117
|
Literal2("alert")
|
|
74771
75118
|
]), Null2]),
|
|
74772
75119
|
replyToDefault: Union2([ArraySchema(String4), Null2]),
|
|
74773
|
-
trackingDefault: Union2([
|
|
74774
|
-
opens: optionalKey2(Union2([Boolean3, Null2])),
|
|
74775
|
-
clicks: optionalKey2(Union2([Boolean3, Null2]))
|
|
74776
|
-
}), Null2]),
|
|
75120
|
+
trackingDefault: Union2([TemplateTrackingDefault, Null2]),
|
|
74777
75121
|
email: Union2([Struct({
|
|
74778
75122
|
subject: String4,
|
|
74779
75123
|
preheader: Union2([String4, Null2]),
|
|
@@ -74900,6 +75244,7 @@ var TemplatesUpdateRequestJson = /* @__PURE__ */ Struct({ data: Struct({
|
|
|
74900
75244
|
]), Null2]), Null2])),
|
|
74901
75245
|
fromDefault: optionalKey2(Union2([Union2([TemplateFromDefault, Null2]), Null2])),
|
|
74902
75246
|
replyToDefault: optionalKey2(Union2([Union2([ArraySchema(String4), Null2]), Null2])),
|
|
75247
|
+
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." })),
|
|
74903
75248
|
isActive: optionalKey2(Union2([Boolean3, Null2])),
|
|
74904
75249
|
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." }))
|
|
74905
75250
|
}) });
|
|
@@ -74914,7 +75259,7 @@ var TemplatesUpdate504 = GatewayTimeoutError2;
|
|
|
74914
75259
|
var TemplatesListInputContractsPathParams = /* @__PURE__ */ Struct({ id: TemplateId2 });
|
|
74915
75260
|
var TemplatesListInputContractsQuery = /* @__PURE__ */ Struct({
|
|
74916
75261
|
limit: optionalKey2(Union2([String4, Null2])),
|
|
74917
|
-
cursor: optionalKey2(Union2([
|
|
75262
|
+
cursor: optionalKey2(Union2([VersionCursor, Null2]))
|
|
74918
75263
|
});
|
|
74919
75264
|
var TemplatesListInputContracts200 = TemplateInputContractPage;
|
|
74920
75265
|
var TemplatesListInputContracts401 = UnauthorizedError2;
|
|
@@ -76937,10 +77282,10 @@ var offlineFlag = Boolean6("offline").pipe(withDescription2("Use the cached bran
|
|
|
76937
77282
|
|
|
76938
77283
|
// src/commands/templates/toolchain.ts
|
|
76939
77284
|
import { pathToFileURL as pathToFileURL3 } from "url";
|
|
76940
|
-
// ../../node_modules/.bun/@samva+markup@0.
|
|
77285
|
+
// ../../node_modules/.bun/@samva+markup@0.18.0+a19bcd7db259aaf7/node_modules/@samva/markup/package.json
|
|
76941
77286
|
var package_default2 = {
|
|
76942
77287
|
name: "@samva/markup",
|
|
76943
|
-
version: "0.
|
|
77288
|
+
version: "0.18.0",
|
|
76944
77289
|
description: "Type-safe authoring and compilation primitives for Samva templates",
|
|
76945
77290
|
keywords: [
|
|
76946
77291
|
"email",
|
|
@@ -95112,6 +95457,9 @@ var WebhookEndpoint = /* @__PURE__ */ Struct({
|
|
|
95112
95457
|
Literal2("mailbox.message.quarantined"),
|
|
95113
95458
|
Literal2("mailbox.message.released"),
|
|
95114
95459
|
Literal2("mailbox.message.discarded"),
|
|
95460
|
+
Literal2("mailbox.message.delivered"),
|
|
95461
|
+
Literal2("mailbox.message.read"),
|
|
95462
|
+
Literal2("mailbox.message.failed"),
|
|
95115
95463
|
Literal2("journey.webhook")
|
|
95116
95464
|
])),
|
|
95117
95465
|
channels: Union2([ArraySchema(Literal2("email")), Null2]),
|
|
@@ -95164,6 +95512,9 @@ var WebhookEndpointListItem = /* @__PURE__ */ Struct({
|
|
|
95164
95512
|
Literal2("mailbox.message.quarantined"),
|
|
95165
95513
|
Literal2("mailbox.message.released"),
|
|
95166
95514
|
Literal2("mailbox.message.discarded"),
|
|
95515
|
+
Literal2("mailbox.message.delivered"),
|
|
95516
|
+
Literal2("mailbox.message.read"),
|
|
95517
|
+
Literal2("mailbox.message.failed"),
|
|
95167
95518
|
Literal2("journey.webhook")
|
|
95168
95519
|
])),
|
|
95169
95520
|
channels: Union2([ArraySchema(Literal2("email")), Null2]),
|
|
@@ -95281,6 +95632,9 @@ var WebhooksCreateRequestJson = /* @__PURE__ */ Struct({
|
|
|
95281
95632
|
Literal2("mailbox.message.quarantined"),
|
|
95282
95633
|
Literal2("mailbox.message.released"),
|
|
95283
95634
|
Literal2("mailbox.message.discarded"),
|
|
95635
|
+
Literal2("mailbox.message.delivered"),
|
|
95636
|
+
Literal2("mailbox.message.read"),
|
|
95637
|
+
Literal2("mailbox.message.failed"),
|
|
95284
95638
|
Literal2("journey.webhook")
|
|
95285
95639
|
])).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
|
|
95286
95640
|
channels: optionalKey2(Union2([ArraySchema(Literal2("email")).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Null2])),
|
|
@@ -95359,6 +95713,9 @@ var WebhooksUpdateRequestJson = /* @__PURE__ */ Struct({
|
|
|
95359
95713
|
Literal2("mailbox.message.quarantined"),
|
|
95360
95714
|
Literal2("mailbox.message.released"),
|
|
95361
95715
|
Literal2("mailbox.message.discarded"),
|
|
95716
|
+
Literal2("mailbox.message.delivered"),
|
|
95717
|
+
Literal2("mailbox.message.read"),
|
|
95718
|
+
Literal2("mailbox.message.failed"),
|
|
95362
95719
|
Literal2("journey.webhook")
|
|
95363
95720
|
])).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Null2])),
|
|
95364
95721
|
channels: optionalKey2(Union2([Union2([ArraySchema(Literal2("email")).check(isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Null2]), Null2])),
|