@discordjs/builders 2.0.0-dev.1745799236-291012c18 → 2.0.0-dev.1745947320-a787c43d3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +130 -130
- package/dist/index.d.ts +130 -130
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1516,10 +1516,10 @@ declare const emojiPredicate: z.ZodEffects<z.ZodObject<{
|
|
|
1516
1516
|
name?: string | undefined;
|
|
1517
1517
|
animated?: boolean | undefined;
|
|
1518
1518
|
}>;
|
|
1519
|
-
declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<
|
|
1519
|
+
declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<{
|
|
1520
1520
|
type: z.ZodLiteral<ComponentType.Button>;
|
|
1521
1521
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1522
|
-
}
|
|
1522
|
+
} & {
|
|
1523
1523
|
style: z.ZodLiteral<ButtonStyle.Link>;
|
|
1524
1524
|
url: z.ZodEffects<z.ZodString, string, string>;
|
|
1525
1525
|
emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
@@ -1544,7 +1544,7 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<z.o
|
|
|
1544
1544
|
animated?: boolean | undefined;
|
|
1545
1545
|
}>>;
|
|
1546
1546
|
label: z.ZodString;
|
|
1547
|
-
}
|
|
1547
|
+
}, "strict", z.ZodTypeAny, {
|
|
1548
1548
|
label: string;
|
|
1549
1549
|
style: ButtonStyle.Link;
|
|
1550
1550
|
type: ComponentType.Button;
|
|
@@ -1566,10 +1566,10 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<z.o
|
|
|
1566
1566
|
animated?: boolean | undefined;
|
|
1567
1567
|
} | undefined;
|
|
1568
1568
|
disabled?: boolean | undefined;
|
|
1569
|
-
}>, z.ZodObject<
|
|
1569
|
+
}>, z.ZodObject<{
|
|
1570
1570
|
type: z.ZodLiteral<ComponentType.Button>;
|
|
1571
1571
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1572
|
-
}
|
|
1572
|
+
} & {
|
|
1573
1573
|
custom_id: z.ZodString;
|
|
1574
1574
|
emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1575
1575
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1593,9 +1593,9 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<z.o
|
|
|
1593
1593
|
animated?: boolean | undefined;
|
|
1594
1594
|
}>>;
|
|
1595
1595
|
label: z.ZodString;
|
|
1596
|
-
}
|
|
1596
|
+
} & {
|
|
1597
1597
|
style: z.ZodLiteral<ButtonStyle.Primary>;
|
|
1598
|
-
}
|
|
1598
|
+
}, "strict", z.ZodTypeAny, {
|
|
1599
1599
|
custom_id: string;
|
|
1600
1600
|
label: string;
|
|
1601
1601
|
style: ButtonStyle.Primary;
|
|
@@ -1617,10 +1617,10 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<z.o
|
|
|
1617
1617
|
animated?: boolean | undefined;
|
|
1618
1618
|
} | undefined;
|
|
1619
1619
|
disabled?: boolean | undefined;
|
|
1620
|
-
}>, z.ZodObject<
|
|
1620
|
+
}>, z.ZodObject<{
|
|
1621
1621
|
type: z.ZodLiteral<ComponentType.Button>;
|
|
1622
1622
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1623
|
-
}
|
|
1623
|
+
} & {
|
|
1624
1624
|
custom_id: z.ZodString;
|
|
1625
1625
|
emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1626
1626
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1644,9 +1644,9 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<z.o
|
|
|
1644
1644
|
animated?: boolean | undefined;
|
|
1645
1645
|
}>>;
|
|
1646
1646
|
label: z.ZodString;
|
|
1647
|
-
}
|
|
1647
|
+
} & {
|
|
1648
1648
|
style: z.ZodLiteral<ButtonStyle.Secondary>;
|
|
1649
|
-
}
|
|
1649
|
+
}, "strict", z.ZodTypeAny, {
|
|
1650
1650
|
custom_id: string;
|
|
1651
1651
|
label: string;
|
|
1652
1652
|
style: ButtonStyle.Secondary;
|
|
@@ -1668,10 +1668,10 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<z.o
|
|
|
1668
1668
|
animated?: boolean | undefined;
|
|
1669
1669
|
} | undefined;
|
|
1670
1670
|
disabled?: boolean | undefined;
|
|
1671
|
-
}>, z.ZodObject<
|
|
1671
|
+
}>, z.ZodObject<{
|
|
1672
1672
|
type: z.ZodLiteral<ComponentType.Button>;
|
|
1673
1673
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1674
|
-
}
|
|
1674
|
+
} & {
|
|
1675
1675
|
custom_id: z.ZodString;
|
|
1676
1676
|
emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1677
1677
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1695,9 +1695,9 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<z.o
|
|
|
1695
1695
|
animated?: boolean | undefined;
|
|
1696
1696
|
}>>;
|
|
1697
1697
|
label: z.ZodString;
|
|
1698
|
-
}
|
|
1698
|
+
} & {
|
|
1699
1699
|
style: z.ZodLiteral<ButtonStyle.Success>;
|
|
1700
|
-
}
|
|
1700
|
+
}, "strict", z.ZodTypeAny, {
|
|
1701
1701
|
custom_id: string;
|
|
1702
1702
|
label: string;
|
|
1703
1703
|
style: ButtonStyle.Success;
|
|
@@ -1719,10 +1719,10 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<z.o
|
|
|
1719
1719
|
animated?: boolean | undefined;
|
|
1720
1720
|
} | undefined;
|
|
1721
1721
|
disabled?: boolean | undefined;
|
|
1722
|
-
}>, z.ZodObject<
|
|
1722
|
+
}>, z.ZodObject<{
|
|
1723
1723
|
type: z.ZodLiteral<ComponentType.Button>;
|
|
1724
1724
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1725
|
-
}
|
|
1725
|
+
} & {
|
|
1726
1726
|
custom_id: z.ZodString;
|
|
1727
1727
|
emoji: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
1728
1728
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1746,9 +1746,9 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<z.o
|
|
|
1746
1746
|
animated?: boolean | undefined;
|
|
1747
1747
|
}>>;
|
|
1748
1748
|
label: z.ZodString;
|
|
1749
|
-
}
|
|
1749
|
+
} & {
|
|
1750
1750
|
style: z.ZodLiteral<ButtonStyle.Danger>;
|
|
1751
|
-
}
|
|
1751
|
+
}, "strict", z.ZodTypeAny, {
|
|
1752
1752
|
custom_id: string;
|
|
1753
1753
|
label: string;
|
|
1754
1754
|
style: ButtonStyle.Danger;
|
|
@@ -1770,13 +1770,13 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<z.o
|
|
|
1770
1770
|
animated?: boolean | undefined;
|
|
1771
1771
|
} | undefined;
|
|
1772
1772
|
disabled?: boolean | undefined;
|
|
1773
|
-
}>, z.ZodObject<
|
|
1773
|
+
}>, z.ZodObject<{
|
|
1774
1774
|
type: z.ZodLiteral<ComponentType.Button>;
|
|
1775
1775
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1776
|
-
}
|
|
1776
|
+
} & {
|
|
1777
1777
|
style: z.ZodLiteral<ButtonStyle.Premium>;
|
|
1778
1778
|
sku_id: z.ZodString;
|
|
1779
|
-
}
|
|
1779
|
+
}, "strict", z.ZodTypeAny, {
|
|
1780
1780
|
style: ButtonStyle.Premium;
|
|
1781
1781
|
type: ComponentType.Button;
|
|
1782
1782
|
sku_id: string;
|
|
@@ -1787,13 +1787,13 @@ declare const buttonPredicate: z.ZodDiscriminatedUnion<"style", [z.ZodObject<z.o
|
|
|
1787
1787
|
sku_id: string;
|
|
1788
1788
|
disabled?: boolean | undefined;
|
|
1789
1789
|
}>]>;
|
|
1790
|
-
declare const selectMenuChannelPredicate: z.ZodObject<
|
|
1790
|
+
declare const selectMenuChannelPredicate: z.ZodObject<{
|
|
1791
1791
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1792
1792
|
min_values: z.ZodOptional<z.ZodNumber>;
|
|
1793
1793
|
max_values: z.ZodOptional<z.ZodNumber>;
|
|
1794
1794
|
custom_id: z.ZodString;
|
|
1795
1795
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1796
|
-
}
|
|
1796
|
+
} & {
|
|
1797
1797
|
type: z.ZodLiteral<ComponentType.ChannelSelect>;
|
|
1798
1798
|
channel_types: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ChannelType>, "many">>;
|
|
1799
1799
|
default_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1806,7 +1806,7 @@ declare const selectMenuChannelPredicate: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1806
1806
|
type: SelectMenuDefaultValueType.Channel;
|
|
1807
1807
|
id: string;
|
|
1808
1808
|
}>, "many">>;
|
|
1809
|
-
}
|
|
1809
|
+
}, "strip", z.ZodTypeAny, {
|
|
1810
1810
|
custom_id: string;
|
|
1811
1811
|
type: ComponentType.ChannelSelect;
|
|
1812
1812
|
disabled?: boolean | undefined;
|
|
@@ -1831,13 +1831,13 @@ declare const selectMenuChannelPredicate: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1831
1831
|
id: string;
|
|
1832
1832
|
}[] | undefined;
|
|
1833
1833
|
}>;
|
|
1834
|
-
declare const selectMenuMentionablePredicate: z.ZodObject<
|
|
1834
|
+
declare const selectMenuMentionablePredicate: z.ZodObject<{
|
|
1835
1835
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1836
1836
|
min_values: z.ZodOptional<z.ZodNumber>;
|
|
1837
1837
|
max_values: z.ZodOptional<z.ZodNumber>;
|
|
1838
1838
|
custom_id: z.ZodString;
|
|
1839
1839
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1840
|
-
}
|
|
1840
|
+
} & {
|
|
1841
1841
|
type: z.ZodLiteral<ComponentType.MentionableSelect>;
|
|
1842
1842
|
default_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1843
1843
|
id: z.ZodString;
|
|
@@ -1849,7 +1849,7 @@ declare const selectMenuMentionablePredicate: z.ZodObject<z.objectUtil.extendSha
|
|
|
1849
1849
|
type: SelectMenuDefaultValueType.Role | SelectMenuDefaultValueType.User;
|
|
1850
1850
|
id: string;
|
|
1851
1851
|
}>, "many">>;
|
|
1852
|
-
}
|
|
1852
|
+
}, "strip", z.ZodTypeAny, {
|
|
1853
1853
|
custom_id: string;
|
|
1854
1854
|
type: ComponentType.MentionableSelect;
|
|
1855
1855
|
disabled?: boolean | undefined;
|
|
@@ -1872,13 +1872,13 @@ declare const selectMenuMentionablePredicate: z.ZodObject<z.objectUtil.extendSha
|
|
|
1872
1872
|
id: string;
|
|
1873
1873
|
}[] | undefined;
|
|
1874
1874
|
}>;
|
|
1875
|
-
declare const selectMenuRolePredicate: z.ZodObject<
|
|
1875
|
+
declare const selectMenuRolePredicate: z.ZodObject<{
|
|
1876
1876
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1877
1877
|
min_values: z.ZodOptional<z.ZodNumber>;
|
|
1878
1878
|
max_values: z.ZodOptional<z.ZodNumber>;
|
|
1879
1879
|
custom_id: z.ZodString;
|
|
1880
1880
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1881
|
-
}
|
|
1881
|
+
} & {
|
|
1882
1882
|
type: z.ZodLiteral<ComponentType.RoleSelect>;
|
|
1883
1883
|
default_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1884
1884
|
id: z.ZodString;
|
|
@@ -1890,7 +1890,7 @@ declare const selectMenuRolePredicate: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1890
1890
|
type: SelectMenuDefaultValueType.Role;
|
|
1891
1891
|
id: string;
|
|
1892
1892
|
}>, "many">>;
|
|
1893
|
-
}
|
|
1893
|
+
}, "strip", z.ZodTypeAny, {
|
|
1894
1894
|
custom_id: string;
|
|
1895
1895
|
type: ComponentType.RoleSelect;
|
|
1896
1896
|
disabled?: boolean | undefined;
|
|
@@ -1960,13 +1960,13 @@ declare const selectMenuStringOptionPredicate: z.ZodObject<{
|
|
|
1960
1960
|
description?: string | undefined;
|
|
1961
1961
|
default?: boolean | undefined;
|
|
1962
1962
|
}>;
|
|
1963
|
-
declare const selectMenuStringPredicate: z.ZodEffects<z.ZodObject<
|
|
1963
|
+
declare const selectMenuStringPredicate: z.ZodEffects<z.ZodObject<{
|
|
1964
1964
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
1965
1965
|
min_values: z.ZodOptional<z.ZodNumber>;
|
|
1966
1966
|
max_values: z.ZodOptional<z.ZodNumber>;
|
|
1967
1967
|
custom_id: z.ZodString;
|
|
1968
1968
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1969
|
-
}
|
|
1969
|
+
} & {
|
|
1970
1970
|
type: z.ZodLiteral<ComponentType.StringSelect>;
|
|
1971
1971
|
options: z.ZodArray<z.ZodObject<{
|
|
1972
1972
|
label: z.ZodString;
|
|
@@ -2015,7 +2015,7 @@ declare const selectMenuStringPredicate: z.ZodEffects<z.ZodObject<z.objectUtil.e
|
|
|
2015
2015
|
description?: string | undefined;
|
|
2016
2016
|
default?: boolean | undefined;
|
|
2017
2017
|
}>, "many">;
|
|
2018
|
-
}
|
|
2018
|
+
}, "strip", z.ZodTypeAny, {
|
|
2019
2019
|
custom_id: string;
|
|
2020
2020
|
type: ComponentType.StringSelect;
|
|
2021
2021
|
options: {
|
|
@@ -2088,13 +2088,13 @@ declare const selectMenuStringPredicate: z.ZodEffects<z.ZodObject<z.objectUtil.e
|
|
|
2088
2088
|
min_values?: number | undefined;
|
|
2089
2089
|
max_values?: number | undefined;
|
|
2090
2090
|
}>;
|
|
2091
|
-
declare const selectMenuUserPredicate: z.ZodObject<
|
|
2091
|
+
declare const selectMenuUserPredicate: z.ZodObject<{
|
|
2092
2092
|
placeholder: z.ZodOptional<z.ZodString>;
|
|
2093
2093
|
min_values: z.ZodOptional<z.ZodNumber>;
|
|
2094
2094
|
max_values: z.ZodOptional<z.ZodNumber>;
|
|
2095
2095
|
custom_id: z.ZodString;
|
|
2096
2096
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
2097
|
-
}
|
|
2097
|
+
} & {
|
|
2098
2098
|
type: z.ZodLiteral<ComponentType.UserSelect>;
|
|
2099
2099
|
default_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2100
2100
|
id: z.ZodString;
|
|
@@ -2106,7 +2106,7 @@ declare const selectMenuUserPredicate: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2106
2106
|
type: SelectMenuDefaultValueType.User;
|
|
2107
2107
|
id: string;
|
|
2108
2108
|
}>, "many">>;
|
|
2109
|
-
}
|
|
2109
|
+
}, "strip", z.ZodTypeAny, {
|
|
2110
2110
|
custom_id: string;
|
|
2111
2111
|
type: ComponentType.UserSelect;
|
|
2112
2112
|
disabled?: boolean | undefined;
|
|
@@ -2762,7 +2762,7 @@ declare const ChatInputCommandChannelOption_base: ts_mixer_dist_types_types_js.C
|
|
|
2762
2762
|
* A chat input command channel option.
|
|
2763
2763
|
*/
|
|
2764
2764
|
declare class ChatInputCommandChannelOption extends ChatInputCommandChannelOption_base {
|
|
2765
|
-
protected static readonly predicate: zod.ZodObject<
|
|
2765
|
+
protected static readonly predicate: zod.ZodObject<{
|
|
2766
2766
|
name: zod.ZodString;
|
|
2767
2767
|
name_localizations: zod.ZodOptional<zod.ZodObject<Record<discord_api_types_v10.Locale, zod.ZodOptional<zod.ZodString>>, "strict", zod.ZodTypeAny, {
|
|
2768
2768
|
id?: string | undefined;
|
|
@@ -2899,12 +2899,12 @@ declare class ChatInputCommandChannelOption extends ChatInputCommandChannelOptio
|
|
|
2899
2899
|
uk?: string | undefined;
|
|
2900
2900
|
vi?: string | undefined;
|
|
2901
2901
|
}>>;
|
|
2902
|
-
}
|
|
2902
|
+
} & {
|
|
2903
2903
|
required: zod.ZodOptional<zod.ZodBoolean>;
|
|
2904
2904
|
type: zod.ZodUnion<[zod.ZodTypeAny, zod.ZodTypeAny, ...zod.ZodTypeAny[]]>;
|
|
2905
|
-
}
|
|
2905
|
+
} & {
|
|
2906
2906
|
channel_types: zod.ZodOptional<zod.ZodArray<zod.ZodUnion<[zod.ZodTypeAny, zod.ZodTypeAny, ...zod.ZodTypeAny[]]>, "many">>;
|
|
2907
|
-
}
|
|
2907
|
+
}, "strip", zod.ZodTypeAny, {
|
|
2908
2908
|
name: string;
|
|
2909
2909
|
description: string;
|
|
2910
2910
|
type?: any;
|
|
@@ -3063,7 +3063,7 @@ declare const ChatInputCommandIntegerOption_base: ts_mixer_dist_types_types_js.C
|
|
|
3063
3063
|
* A chat input command integer option.
|
|
3064
3064
|
*/
|
|
3065
3065
|
declare class ChatInputCommandIntegerOption extends ChatInputCommandIntegerOption_base {
|
|
3066
|
-
protected static readonly predicate: zod.ZodIntersection<zod.ZodObject<
|
|
3066
|
+
protected static readonly predicate: zod.ZodIntersection<zod.ZodObject<{
|
|
3067
3067
|
name: zod.ZodString;
|
|
3068
3068
|
name_localizations: zod.ZodOptional<zod.ZodObject<Record<discord_api_types_v10.Locale, zod.ZodOptional<zod.ZodString>>, "strict", zod.ZodTypeAny, {
|
|
3069
3069
|
id?: string | undefined;
|
|
@@ -3200,13 +3200,13 @@ declare class ChatInputCommandIntegerOption extends ChatInputCommandIntegerOptio
|
|
|
3200
3200
|
uk?: string | undefined;
|
|
3201
3201
|
vi?: string | undefined;
|
|
3202
3202
|
}>>;
|
|
3203
|
-
}
|
|
3203
|
+
} & {
|
|
3204
3204
|
required: zod.ZodOptional<zod.ZodBoolean>;
|
|
3205
3205
|
type: zod.ZodUnion<[zod.ZodTypeAny, zod.ZodTypeAny, ...zod.ZodTypeAny[]]>;
|
|
3206
|
-
}
|
|
3206
|
+
} & {
|
|
3207
3207
|
max_value: zod.ZodOptional<zod.ZodNumber>;
|
|
3208
3208
|
min_value: zod.ZodOptional<zod.ZodNumber>;
|
|
3209
|
-
}
|
|
3209
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3210
3210
|
name: string;
|
|
3211
3211
|
description: string;
|
|
3212
3212
|
type?: any;
|
|
@@ -3365,10 +3365,10 @@ declare class ChatInputCommandIntegerOption extends ChatInputCommandIntegerOptio
|
|
|
3365
3365
|
}, {
|
|
3366
3366
|
autocomplete: true;
|
|
3367
3367
|
choices?: never[] | undefined;
|
|
3368
|
-
}>, zod.ZodObject<
|
|
3368
|
+
}>, zod.ZodObject<{
|
|
3369
3369
|
autocomplete: zod.ZodOptional<zod.ZodLiteral<false>>;
|
|
3370
|
-
}
|
|
3371
|
-
choices: zod.ZodOptional<zod.ZodArray<zod.ZodObject<
|
|
3370
|
+
} & {
|
|
3371
|
+
choices: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
3372
3372
|
name: zod.ZodString;
|
|
3373
3373
|
name_localizations: zod.ZodOptional<zod.ZodObject<Record<discord_api_types_v10.Locale, zod.ZodOptional<zod.ZodString>>, "strict", zod.ZodTypeAny, {
|
|
3374
3374
|
id?: string | undefined;
|
|
@@ -3437,9 +3437,9 @@ declare class ChatInputCommandIntegerOption extends ChatInputCommandIntegerOptio
|
|
|
3437
3437
|
uk?: string | undefined;
|
|
3438
3438
|
vi?: string | undefined;
|
|
3439
3439
|
}>>;
|
|
3440
|
-
}
|
|
3440
|
+
} & {
|
|
3441
3441
|
value: zod.ZodNumber;
|
|
3442
|
-
}
|
|
3442
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3443
3443
|
value: number;
|
|
3444
3444
|
name: string;
|
|
3445
3445
|
name_localizations?: {
|
|
@@ -3514,7 +3514,7 @@ declare class ChatInputCommandIntegerOption extends ChatInputCommandIntegerOptio
|
|
|
3514
3514
|
vi?: string | undefined;
|
|
3515
3515
|
} | undefined;
|
|
3516
3516
|
}>, "many">>;
|
|
3517
|
-
}
|
|
3517
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3518
3518
|
autocomplete?: false | undefined;
|
|
3519
3519
|
choices?: {
|
|
3520
3520
|
value: number;
|
|
@@ -3612,7 +3612,7 @@ declare const ChatInputCommandNumberOption_base: ts_mixer_dist_types_types_js.Cl
|
|
|
3612
3612
|
* A chat input command number option.
|
|
3613
3613
|
*/
|
|
3614
3614
|
declare class ChatInputCommandNumberOption extends ChatInputCommandNumberOption_base {
|
|
3615
|
-
protected static readonly predicate: zod.ZodIntersection<zod.ZodObject<
|
|
3615
|
+
protected static readonly predicate: zod.ZodIntersection<zod.ZodObject<{
|
|
3616
3616
|
name: zod.ZodString;
|
|
3617
3617
|
name_localizations: zod.ZodOptional<zod.ZodObject<Record<discord_api_types_v10.Locale, zod.ZodOptional<zod.ZodString>>, "strict", zod.ZodTypeAny, {
|
|
3618
3618
|
id?: string | undefined;
|
|
@@ -3749,13 +3749,13 @@ declare class ChatInputCommandNumberOption extends ChatInputCommandNumberOption_
|
|
|
3749
3749
|
uk?: string | undefined;
|
|
3750
3750
|
vi?: string | undefined;
|
|
3751
3751
|
}>>;
|
|
3752
|
-
}
|
|
3752
|
+
} & {
|
|
3753
3753
|
required: zod.ZodOptional<zod.ZodBoolean>;
|
|
3754
3754
|
type: zod.ZodUnion<[zod.ZodTypeAny, zod.ZodTypeAny, ...zod.ZodTypeAny[]]>;
|
|
3755
|
-
}
|
|
3755
|
+
} & {
|
|
3756
3756
|
max_value: zod.ZodOptional<zod.ZodNumber>;
|
|
3757
3757
|
min_value: zod.ZodOptional<zod.ZodNumber>;
|
|
3758
|
-
}
|
|
3758
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3759
3759
|
name: string;
|
|
3760
3760
|
description: string;
|
|
3761
3761
|
type?: any;
|
|
@@ -3914,10 +3914,10 @@ declare class ChatInputCommandNumberOption extends ChatInputCommandNumberOption_
|
|
|
3914
3914
|
}, {
|
|
3915
3915
|
autocomplete: true;
|
|
3916
3916
|
choices?: never[] | undefined;
|
|
3917
|
-
}>, zod.ZodObject<
|
|
3917
|
+
}>, zod.ZodObject<{
|
|
3918
3918
|
autocomplete: zod.ZodOptional<zod.ZodLiteral<false>>;
|
|
3919
|
-
}
|
|
3920
|
-
choices: zod.ZodOptional<zod.ZodArray<zod.ZodObject<
|
|
3919
|
+
} & {
|
|
3920
|
+
choices: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
3921
3921
|
name: zod.ZodString;
|
|
3922
3922
|
name_localizations: zod.ZodOptional<zod.ZodObject<Record<discord_api_types_v10.Locale, zod.ZodOptional<zod.ZodString>>, "strict", zod.ZodTypeAny, {
|
|
3923
3923
|
id?: string | undefined;
|
|
@@ -3986,9 +3986,9 @@ declare class ChatInputCommandNumberOption extends ChatInputCommandNumberOption_
|
|
|
3986
3986
|
uk?: string | undefined;
|
|
3987
3987
|
vi?: string | undefined;
|
|
3988
3988
|
}>>;
|
|
3989
|
-
}
|
|
3989
|
+
} & {
|
|
3990
3990
|
value: zod.ZodNumber;
|
|
3991
|
-
}
|
|
3991
|
+
}, "strip", zod.ZodTypeAny, {
|
|
3992
3992
|
value: number;
|
|
3993
3993
|
name: string;
|
|
3994
3994
|
name_localizations?: {
|
|
@@ -4063,7 +4063,7 @@ declare class ChatInputCommandNumberOption extends ChatInputCommandNumberOption_
|
|
|
4063
4063
|
vi?: string | undefined;
|
|
4064
4064
|
} | undefined;
|
|
4065
4065
|
}>, "many">>;
|
|
4066
|
-
}
|
|
4066
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4067
4067
|
autocomplete?: false | undefined;
|
|
4068
4068
|
choices?: {
|
|
4069
4069
|
value: number;
|
|
@@ -4161,7 +4161,7 @@ declare const ChatInputCommandStringOption_base: ts_mixer_dist_types_types_js.Cl
|
|
|
4161
4161
|
* A chat input command string option.
|
|
4162
4162
|
*/
|
|
4163
4163
|
declare class ChatInputCommandStringOption extends ChatInputCommandStringOption_base {
|
|
4164
|
-
protected static readonly predicate: zod.ZodIntersection<zod.ZodObject<
|
|
4164
|
+
protected static readonly predicate: zod.ZodIntersection<zod.ZodObject<{
|
|
4165
4165
|
name: zod.ZodString;
|
|
4166
4166
|
name_localizations: zod.ZodOptional<zod.ZodObject<Record<discord_api_types_v10.Locale, zod.ZodOptional<zod.ZodString>>, "strict", zod.ZodTypeAny, {
|
|
4167
4167
|
id?: string | undefined;
|
|
@@ -4298,13 +4298,13 @@ declare class ChatInputCommandStringOption extends ChatInputCommandStringOption_
|
|
|
4298
4298
|
uk?: string | undefined;
|
|
4299
4299
|
vi?: string | undefined;
|
|
4300
4300
|
}>>;
|
|
4301
|
-
}
|
|
4301
|
+
} & {
|
|
4302
4302
|
required: zod.ZodOptional<zod.ZodBoolean>;
|
|
4303
4303
|
type: zod.ZodUnion<[zod.ZodTypeAny, zod.ZodTypeAny, ...zod.ZodTypeAny[]]>;
|
|
4304
|
-
}
|
|
4304
|
+
} & {
|
|
4305
4305
|
max_length: zod.ZodOptional<zod.ZodNumber>;
|
|
4306
4306
|
min_length: zod.ZodOptional<zod.ZodNumber>;
|
|
4307
|
-
}
|
|
4307
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4308
4308
|
name: string;
|
|
4309
4309
|
description: string;
|
|
4310
4310
|
type?: any;
|
|
@@ -4463,10 +4463,10 @@ declare class ChatInputCommandStringOption extends ChatInputCommandStringOption_
|
|
|
4463
4463
|
}, {
|
|
4464
4464
|
autocomplete: true;
|
|
4465
4465
|
choices?: never[] | undefined;
|
|
4466
|
-
}>, zod.ZodObject<
|
|
4466
|
+
}>, zod.ZodObject<{
|
|
4467
4467
|
autocomplete: zod.ZodOptional<zod.ZodLiteral<false>>;
|
|
4468
|
-
}
|
|
4469
|
-
choices: zod.ZodOptional<zod.ZodArray<zod.ZodObject<
|
|
4468
|
+
} & {
|
|
4469
|
+
choices: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
4470
4470
|
name: zod.ZodString;
|
|
4471
4471
|
name_localizations: zod.ZodOptional<zod.ZodObject<Record<discord_api_types_v10.Locale, zod.ZodOptional<zod.ZodString>>, "strict", zod.ZodTypeAny, {
|
|
4472
4472
|
id?: string | undefined;
|
|
@@ -4535,9 +4535,9 @@ declare class ChatInputCommandStringOption extends ChatInputCommandStringOption_
|
|
|
4535
4535
|
uk?: string | undefined;
|
|
4536
4536
|
vi?: string | undefined;
|
|
4537
4537
|
}>>;
|
|
4538
|
-
}
|
|
4538
|
+
} & {
|
|
4539
4539
|
value: zod.ZodString;
|
|
4540
|
-
}
|
|
4540
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4541
4541
|
value: string;
|
|
4542
4542
|
name: string;
|
|
4543
4543
|
name_localizations?: {
|
|
@@ -4612,7 +4612,7 @@ declare class ChatInputCommandStringOption extends ChatInputCommandStringOption_
|
|
|
4612
4612
|
vi?: string | undefined;
|
|
4613
4613
|
} | undefined;
|
|
4614
4614
|
}>, "many">>;
|
|
4615
|
-
}
|
|
4615
|
+
}, "strip", zod.ZodTypeAny, {
|
|
4616
4616
|
autocomplete?: false | undefined;
|
|
4617
4617
|
choices?: {
|
|
4618
4618
|
value: string;
|
|
@@ -4893,7 +4893,7 @@ declare class SharedChatInputCommandSubcommands {
|
|
|
4893
4893
|
addSubcommands(...input: RestOrArray<ChatInputCommandSubcommandBuilder | ((subcommandGroup: ChatInputCommandSubcommandBuilder) => ChatInputCommandSubcommandBuilder)>): this;
|
|
4894
4894
|
}
|
|
4895
4895
|
|
|
4896
|
-
declare const basicOptionPredicate: z.ZodObject<
|
|
4896
|
+
declare const basicOptionPredicate: z.ZodObject<{
|
|
4897
4897
|
name: z.ZodString;
|
|
4898
4898
|
name_localizations: z.ZodOptional<z.ZodObject<Record<discord_api_types_v10.Locale, z.ZodOptional<z.ZodString>>, "strict", ZodTypeAny, {
|
|
4899
4899
|
id?: string | undefined;
|
|
@@ -5030,10 +5030,10 @@ declare const basicOptionPredicate: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5030
5030
|
uk?: string | undefined;
|
|
5031
5031
|
vi?: string | undefined;
|
|
5032
5032
|
}>>;
|
|
5033
|
-
}
|
|
5033
|
+
} & {
|
|
5034
5034
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
5035
5035
|
type: z.ZodUnion<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>;
|
|
5036
|
-
}
|
|
5036
|
+
}, "strip", ZodTypeAny, {
|
|
5037
5037
|
name: string;
|
|
5038
5038
|
description: string;
|
|
5039
5039
|
type?: any;
|
|
@@ -5180,7 +5180,7 @@ declare const basicOptionPredicate: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5180
5180
|
vi?: string | undefined;
|
|
5181
5181
|
} | undefined;
|
|
5182
5182
|
}>;
|
|
5183
|
-
declare const channelOptionPredicate: z.ZodObject<
|
|
5183
|
+
declare const channelOptionPredicate: z.ZodObject<{
|
|
5184
5184
|
name: z.ZodString;
|
|
5185
5185
|
name_localizations: z.ZodOptional<z.ZodObject<Record<discord_api_types_v10.Locale, z.ZodOptional<z.ZodString>>, "strict", ZodTypeAny, {
|
|
5186
5186
|
id?: string | undefined;
|
|
@@ -5317,12 +5317,12 @@ declare const channelOptionPredicate: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
5317
5317
|
uk?: string | undefined;
|
|
5318
5318
|
vi?: string | undefined;
|
|
5319
5319
|
}>>;
|
|
5320
|
-
}
|
|
5320
|
+
} & {
|
|
5321
5321
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
5322
5322
|
type: z.ZodUnion<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>;
|
|
5323
|
-
}
|
|
5323
|
+
} & {
|
|
5324
5324
|
channel_types: z.ZodOptional<z.ZodArray<z.ZodUnion<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>, "many">>;
|
|
5325
|
-
}
|
|
5325
|
+
}, "strip", ZodTypeAny, {
|
|
5326
5326
|
name: string;
|
|
5327
5327
|
description: string;
|
|
5328
5328
|
type?: any;
|
|
@@ -5471,7 +5471,7 @@ declare const channelOptionPredicate: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
5471
5471
|
vi?: string | undefined;
|
|
5472
5472
|
} | undefined;
|
|
5473
5473
|
}>;
|
|
5474
|
-
declare const integerOptionPredicate: z.ZodIntersection<z.ZodObject<
|
|
5474
|
+
declare const integerOptionPredicate: z.ZodIntersection<z.ZodObject<{
|
|
5475
5475
|
name: z.ZodString;
|
|
5476
5476
|
name_localizations: z.ZodOptional<z.ZodObject<Record<discord_api_types_v10.Locale, z.ZodOptional<z.ZodString>>, "strict", ZodTypeAny, {
|
|
5477
5477
|
id?: string | undefined;
|
|
@@ -5608,13 +5608,13 @@ declare const integerOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil
|
|
|
5608
5608
|
uk?: string | undefined;
|
|
5609
5609
|
vi?: string | undefined;
|
|
5610
5610
|
}>>;
|
|
5611
|
-
}
|
|
5611
|
+
} & {
|
|
5612
5612
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
5613
5613
|
type: z.ZodUnion<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>;
|
|
5614
|
-
}
|
|
5614
|
+
} & {
|
|
5615
5615
|
max_value: z.ZodOptional<z.ZodNumber>;
|
|
5616
5616
|
min_value: z.ZodOptional<z.ZodNumber>;
|
|
5617
|
-
}
|
|
5617
|
+
}, "strip", ZodTypeAny, {
|
|
5618
5618
|
name: string;
|
|
5619
5619
|
description: string;
|
|
5620
5620
|
type?: any;
|
|
@@ -5773,10 +5773,10 @@ declare const integerOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil
|
|
|
5773
5773
|
}, {
|
|
5774
5774
|
autocomplete: true;
|
|
5775
5775
|
choices?: never[] | undefined;
|
|
5776
|
-
}>, z.ZodObject<
|
|
5776
|
+
}>, z.ZodObject<{
|
|
5777
5777
|
autocomplete: z.ZodOptional<z.ZodLiteral<false>>;
|
|
5778
|
-
}
|
|
5779
|
-
choices: z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
5778
|
+
} & {
|
|
5779
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5780
5780
|
name: z.ZodString;
|
|
5781
5781
|
name_localizations: z.ZodOptional<z.ZodObject<Record<discord_api_types_v10.Locale, z.ZodOptional<z.ZodString>>, "strict", ZodTypeAny, {
|
|
5782
5782
|
id?: string | undefined;
|
|
@@ -5845,9 +5845,9 @@ declare const integerOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil
|
|
|
5845
5845
|
uk?: string | undefined;
|
|
5846
5846
|
vi?: string | undefined;
|
|
5847
5847
|
}>>;
|
|
5848
|
-
}
|
|
5848
|
+
} & {
|
|
5849
5849
|
value: z.ZodNumber;
|
|
5850
|
-
}
|
|
5850
|
+
}, "strip", ZodTypeAny, {
|
|
5851
5851
|
value: number;
|
|
5852
5852
|
name: string;
|
|
5853
5853
|
name_localizations?: {
|
|
@@ -5922,7 +5922,7 @@ declare const integerOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil
|
|
|
5922
5922
|
vi?: string | undefined;
|
|
5923
5923
|
} | undefined;
|
|
5924
5924
|
}>, "many">>;
|
|
5925
|
-
}
|
|
5925
|
+
}, "strip", ZodTypeAny, {
|
|
5926
5926
|
autocomplete?: false | undefined;
|
|
5927
5927
|
choices?: {
|
|
5928
5928
|
value: number;
|
|
@@ -6003,7 +6003,7 @@ declare const integerOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil
|
|
|
6003
6003
|
} | undefined;
|
|
6004
6004
|
}[] | undefined;
|
|
6005
6005
|
}>]>>;
|
|
6006
|
-
declare const numberOptionPredicate: z.ZodIntersection<z.ZodObject<
|
|
6006
|
+
declare const numberOptionPredicate: z.ZodIntersection<z.ZodObject<{
|
|
6007
6007
|
name: z.ZodString;
|
|
6008
6008
|
name_localizations: z.ZodOptional<z.ZodObject<Record<discord_api_types_v10.Locale, z.ZodOptional<z.ZodString>>, "strict", ZodTypeAny, {
|
|
6009
6009
|
id?: string | undefined;
|
|
@@ -6140,13 +6140,13 @@ declare const numberOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil.
|
|
|
6140
6140
|
uk?: string | undefined;
|
|
6141
6141
|
vi?: string | undefined;
|
|
6142
6142
|
}>>;
|
|
6143
|
-
}
|
|
6143
|
+
} & {
|
|
6144
6144
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
6145
6145
|
type: z.ZodUnion<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>;
|
|
6146
|
-
}
|
|
6146
|
+
} & {
|
|
6147
6147
|
max_value: z.ZodOptional<z.ZodNumber>;
|
|
6148
6148
|
min_value: z.ZodOptional<z.ZodNumber>;
|
|
6149
|
-
}
|
|
6149
|
+
}, "strip", ZodTypeAny, {
|
|
6150
6150
|
name: string;
|
|
6151
6151
|
description: string;
|
|
6152
6152
|
type?: any;
|
|
@@ -6305,10 +6305,10 @@ declare const numberOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil.
|
|
|
6305
6305
|
}, {
|
|
6306
6306
|
autocomplete: true;
|
|
6307
6307
|
choices?: never[] | undefined;
|
|
6308
|
-
}>, z.ZodObject<
|
|
6308
|
+
}>, z.ZodObject<{
|
|
6309
6309
|
autocomplete: z.ZodOptional<z.ZodLiteral<false>>;
|
|
6310
|
-
}
|
|
6311
|
-
choices: z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
6310
|
+
} & {
|
|
6311
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6312
6312
|
name: z.ZodString;
|
|
6313
6313
|
name_localizations: z.ZodOptional<z.ZodObject<Record<discord_api_types_v10.Locale, z.ZodOptional<z.ZodString>>, "strict", ZodTypeAny, {
|
|
6314
6314
|
id?: string | undefined;
|
|
@@ -6377,9 +6377,9 @@ declare const numberOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil.
|
|
|
6377
6377
|
uk?: string | undefined;
|
|
6378
6378
|
vi?: string | undefined;
|
|
6379
6379
|
}>>;
|
|
6380
|
-
}
|
|
6380
|
+
} & {
|
|
6381
6381
|
value: z.ZodNumber;
|
|
6382
|
-
}
|
|
6382
|
+
}, "strip", ZodTypeAny, {
|
|
6383
6383
|
value: number;
|
|
6384
6384
|
name: string;
|
|
6385
6385
|
name_localizations?: {
|
|
@@ -6454,7 +6454,7 @@ declare const numberOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil.
|
|
|
6454
6454
|
vi?: string | undefined;
|
|
6455
6455
|
} | undefined;
|
|
6456
6456
|
}>, "many">>;
|
|
6457
|
-
}
|
|
6457
|
+
}, "strip", ZodTypeAny, {
|
|
6458
6458
|
autocomplete?: false | undefined;
|
|
6459
6459
|
choices?: {
|
|
6460
6460
|
value: number;
|
|
@@ -6535,7 +6535,7 @@ declare const numberOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil.
|
|
|
6535
6535
|
} | undefined;
|
|
6536
6536
|
}[] | undefined;
|
|
6537
6537
|
}>]>>;
|
|
6538
|
-
declare const stringOptionPredicate: z.ZodIntersection<z.ZodObject<
|
|
6538
|
+
declare const stringOptionPredicate: z.ZodIntersection<z.ZodObject<{
|
|
6539
6539
|
name: z.ZodString;
|
|
6540
6540
|
name_localizations: z.ZodOptional<z.ZodObject<Record<discord_api_types_v10.Locale, z.ZodOptional<z.ZodString>>, "strict", ZodTypeAny, {
|
|
6541
6541
|
id?: string | undefined;
|
|
@@ -6672,13 +6672,13 @@ declare const stringOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil.
|
|
|
6672
6672
|
uk?: string | undefined;
|
|
6673
6673
|
vi?: string | undefined;
|
|
6674
6674
|
}>>;
|
|
6675
|
-
}
|
|
6675
|
+
} & {
|
|
6676
6676
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
6677
6677
|
type: z.ZodUnion<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>;
|
|
6678
|
-
}
|
|
6678
|
+
} & {
|
|
6679
6679
|
max_length: z.ZodOptional<z.ZodNumber>;
|
|
6680
6680
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
6681
|
-
}
|
|
6681
|
+
}, "strip", ZodTypeAny, {
|
|
6682
6682
|
name: string;
|
|
6683
6683
|
description: string;
|
|
6684
6684
|
type?: any;
|
|
@@ -6837,10 +6837,10 @@ declare const stringOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil.
|
|
|
6837
6837
|
}, {
|
|
6838
6838
|
autocomplete: true;
|
|
6839
6839
|
choices?: never[] | undefined;
|
|
6840
|
-
}>, z.ZodObject<
|
|
6840
|
+
}>, z.ZodObject<{
|
|
6841
6841
|
autocomplete: z.ZodOptional<z.ZodLiteral<false>>;
|
|
6842
|
-
}
|
|
6843
|
-
choices: z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
6842
|
+
} & {
|
|
6843
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6844
6844
|
name: z.ZodString;
|
|
6845
6845
|
name_localizations: z.ZodOptional<z.ZodObject<Record<discord_api_types_v10.Locale, z.ZodOptional<z.ZodString>>, "strict", ZodTypeAny, {
|
|
6846
6846
|
id?: string | undefined;
|
|
@@ -6909,9 +6909,9 @@ declare const stringOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil.
|
|
|
6909
6909
|
uk?: string | undefined;
|
|
6910
6910
|
vi?: string | undefined;
|
|
6911
6911
|
}>>;
|
|
6912
|
-
}
|
|
6912
|
+
} & {
|
|
6913
6913
|
value: z.ZodString;
|
|
6914
|
-
}
|
|
6914
|
+
}, "strip", ZodTypeAny, {
|
|
6915
6915
|
value: string;
|
|
6916
6916
|
name: string;
|
|
6917
6917
|
name_localizations?: {
|
|
@@ -6986,7 +6986,7 @@ declare const stringOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil.
|
|
|
6986
6986
|
vi?: string | undefined;
|
|
6987
6987
|
} | undefined;
|
|
6988
6988
|
}>, "many">>;
|
|
6989
|
-
}
|
|
6989
|
+
}, "strip", ZodTypeAny, {
|
|
6990
6990
|
autocomplete?: false | undefined;
|
|
6991
6991
|
choices?: {
|
|
6992
6992
|
value: string;
|
|
@@ -7067,7 +7067,7 @@ declare const stringOptionPredicate: z.ZodIntersection<z.ZodObject<z.objectUtil.
|
|
|
7067
7067
|
} | undefined;
|
|
7068
7068
|
}[] | undefined;
|
|
7069
7069
|
}>]>>;
|
|
7070
|
-
declare const chatInputCommandPredicate: z.ZodObject<
|
|
7070
|
+
declare const chatInputCommandPredicate: z.ZodObject<{
|
|
7071
7071
|
name: z.ZodString;
|
|
7072
7072
|
name_localizations: z.ZodOptional<z.ZodObject<Record<discord_api_types_v10.Locale, z.ZodOptional<z.ZodString>>, "strict", ZodTypeAny, {
|
|
7073
7073
|
id?: string | undefined;
|
|
@@ -7204,12 +7204,12 @@ declare const chatInputCommandPredicate: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
7204
7204
|
uk?: string | undefined;
|
|
7205
7205
|
vi?: string | undefined;
|
|
7206
7206
|
}>>;
|
|
7207
|
-
}
|
|
7207
|
+
} & {
|
|
7208
7208
|
contexts: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof InteractionContextType>, "many">>;
|
|
7209
7209
|
default_member_permissions: z.ZodOptional<z.ZodBigInt>;
|
|
7210
7210
|
integration_types: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ApplicationIntegrationType>, "many">>;
|
|
7211
7211
|
nsfw: z.ZodOptional<z.ZodBoolean>;
|
|
7212
|
-
}
|
|
7212
|
+
} & {
|
|
7213
7213
|
options: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
|
|
7214
7214
|
type: z.ZodUnion<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>;
|
|
7215
7215
|
}, "strip", ZodTypeAny, {
|
|
@@ -7229,7 +7229,7 @@ declare const chatInputCommandPredicate: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
7229
7229
|
}, {
|
|
7230
7230
|
type: ApplicationCommandOptionType.SubcommandGroup;
|
|
7231
7231
|
}>, "many">]>>;
|
|
7232
|
-
}
|
|
7232
|
+
}, "strip", ZodTypeAny, {
|
|
7233
7233
|
name: string;
|
|
7234
7234
|
description: string;
|
|
7235
7235
|
options?: {
|
|
@@ -7394,7 +7394,7 @@ declare const chatInputCommandPredicate: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
7394
7394
|
integration_types?: ApplicationIntegrationType[] | undefined;
|
|
7395
7395
|
nsfw?: boolean | undefined;
|
|
7396
7396
|
}>;
|
|
7397
|
-
declare const chatInputCommandSubcommandGroupPredicate: z.ZodObject<
|
|
7397
|
+
declare const chatInputCommandSubcommandGroupPredicate: z.ZodObject<{
|
|
7398
7398
|
name: z.ZodString;
|
|
7399
7399
|
name_localizations: z.ZodOptional<z.ZodObject<Record<discord_api_types_v10.Locale, z.ZodOptional<z.ZodString>>, "strict", ZodTypeAny, {
|
|
7400
7400
|
id?: string | undefined;
|
|
@@ -7531,7 +7531,7 @@ declare const chatInputCommandSubcommandGroupPredicate: z.ZodObject<z.objectUtil
|
|
|
7531
7531
|
uk?: string | undefined;
|
|
7532
7532
|
vi?: string | undefined;
|
|
7533
7533
|
}>>;
|
|
7534
|
-
}
|
|
7534
|
+
} & {
|
|
7535
7535
|
type: z.ZodLiteral<ApplicationCommandOptionType.SubcommandGroup>;
|
|
7536
7536
|
options: z.ZodArray<z.ZodObject<{
|
|
7537
7537
|
type: z.ZodLiteral<ApplicationCommandOptionType.Subcommand>;
|
|
@@ -7540,7 +7540,7 @@ declare const chatInputCommandSubcommandGroupPredicate: z.ZodObject<z.objectUtil
|
|
|
7540
7540
|
}, {
|
|
7541
7541
|
type: ApplicationCommandOptionType.Subcommand;
|
|
7542
7542
|
}>, "many">;
|
|
7543
|
-
}
|
|
7543
|
+
}, "strip", ZodTypeAny, {
|
|
7544
7544
|
type: ApplicationCommandOptionType.SubcommandGroup;
|
|
7545
7545
|
options: {
|
|
7546
7546
|
type: ApplicationCommandOptionType.Subcommand;
|
|
@@ -7691,7 +7691,7 @@ declare const chatInputCommandSubcommandGroupPredicate: z.ZodObject<z.objectUtil
|
|
|
7691
7691
|
vi?: string | undefined;
|
|
7692
7692
|
} | undefined;
|
|
7693
7693
|
}>;
|
|
7694
|
-
declare const chatInputCommandSubcommandPredicate: z.ZodObject<
|
|
7694
|
+
declare const chatInputCommandSubcommandPredicate: z.ZodObject<{
|
|
7695
7695
|
name: z.ZodString;
|
|
7696
7696
|
name_localizations: z.ZodOptional<z.ZodObject<Record<discord_api_types_v10.Locale, z.ZodOptional<z.ZodString>>, "strict", ZodTypeAny, {
|
|
7697
7697
|
id?: string | undefined;
|
|
@@ -7828,7 +7828,7 @@ declare const chatInputCommandSubcommandPredicate: z.ZodObject<z.objectUtil.exte
|
|
|
7828
7828
|
uk?: string | undefined;
|
|
7829
7829
|
vi?: string | undefined;
|
|
7830
7830
|
}>>;
|
|
7831
|
-
}
|
|
7831
|
+
} & {
|
|
7832
7832
|
type: z.ZodLiteral<ApplicationCommandOptionType.Subcommand>;
|
|
7833
7833
|
options: z.ZodArray<z.ZodObject<{
|
|
7834
7834
|
type: z.ZodUnion<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>;
|
|
@@ -7837,7 +7837,7 @@ declare const chatInputCommandSubcommandPredicate: z.ZodObject<z.objectUtil.exte
|
|
|
7837
7837
|
}, {
|
|
7838
7838
|
type?: any;
|
|
7839
7839
|
}>, "many">;
|
|
7840
|
-
}
|
|
7840
|
+
}, "strip", ZodTypeAny, {
|
|
7841
7841
|
type: ApplicationCommandOptionType.Subcommand;
|
|
7842
7842
|
options: {
|
|
7843
7843
|
type?: any;
|
|
@@ -8050,7 +8050,7 @@ declare class ChatInputCommandBuilder extends ChatInputCommandBuilder_base {
|
|
|
8050
8050
|
toJSON(validationOverride?: boolean): RESTPostAPIChatInputApplicationCommandsJSONBody;
|
|
8051
8051
|
}
|
|
8052
8052
|
|
|
8053
|
-
declare const userCommandPredicate: z.ZodObject<
|
|
8053
|
+
declare const userCommandPredicate: z.ZodObject<{
|
|
8054
8054
|
contexts: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof InteractionContextType>, "many">>;
|
|
8055
8055
|
default_member_permissions: z.ZodOptional<z.ZodBigInt>;
|
|
8056
8056
|
name: z.ZodString;
|
|
@@ -8123,9 +8123,9 @@ declare const userCommandPredicate: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8123
8123
|
}>>;
|
|
8124
8124
|
integration_types: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ApplicationIntegrationType>, "many">>;
|
|
8125
8125
|
nsfw: z.ZodOptional<z.ZodBoolean>;
|
|
8126
|
-
}
|
|
8126
|
+
} & {
|
|
8127
8127
|
type: z.ZodLiteral<ApplicationCommandType.User>;
|
|
8128
|
-
}
|
|
8128
|
+
}, "strip", z.ZodTypeAny, {
|
|
8129
8129
|
type: ApplicationCommandType.User;
|
|
8130
8130
|
name: string;
|
|
8131
8131
|
name_localizations?: {
|
|
@@ -8208,7 +8208,7 @@ declare const userCommandPredicate: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8208
8208
|
integration_types?: ApplicationIntegrationType[] | undefined;
|
|
8209
8209
|
nsfw?: boolean | undefined;
|
|
8210
8210
|
}>;
|
|
8211
|
-
declare const messageCommandPredicate: z.ZodObject<
|
|
8211
|
+
declare const messageCommandPredicate: z.ZodObject<{
|
|
8212
8212
|
contexts: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof InteractionContextType>, "many">>;
|
|
8213
8213
|
default_member_permissions: z.ZodOptional<z.ZodBigInt>;
|
|
8214
8214
|
name: z.ZodString;
|
|
@@ -8281,9 +8281,9 @@ declare const messageCommandPredicate: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8281
8281
|
}>>;
|
|
8282
8282
|
integration_types: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ApplicationIntegrationType>, "many">>;
|
|
8283
8283
|
nsfw: z.ZodOptional<z.ZodBoolean>;
|
|
8284
|
-
}
|
|
8284
|
+
} & {
|
|
8285
8285
|
type: z.ZodLiteral<ApplicationCommandType.Message>;
|
|
8286
|
-
}
|
|
8286
|
+
}, "strip", z.ZodTypeAny, {
|
|
8287
8287
|
type: ApplicationCommandType.Message;
|
|
8288
8288
|
name: string;
|
|
8289
8289
|
name_localizations?: {
|
|
@@ -9743,7 +9743,7 @@ declare const messageReferencePredicate: z.ZodObject<{
|
|
|
9743
9743
|
channel_id?: string | undefined;
|
|
9744
9744
|
fail_if_not_exists?: boolean | undefined;
|
|
9745
9745
|
}>;
|
|
9746
|
-
declare const messagePredicate: z.ZodUnion<[z.ZodEffects<z.ZodObject<
|
|
9746
|
+
declare const messagePredicate: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
9747
9747
|
nonce: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
9748
9748
|
tts: z.ZodOptional<z.ZodBoolean>;
|
|
9749
9749
|
allowed_mentions: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
@@ -9814,7 +9814,7 @@ declare const messagePredicate: z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUti
|
|
|
9814
9814
|
waveform?: string | undefined;
|
|
9815
9815
|
}>, "many">>;
|
|
9816
9816
|
enforce_nonce: z.ZodOptional<z.ZodBoolean>;
|
|
9817
|
-
}
|
|
9817
|
+
} & {
|
|
9818
9818
|
content: z.ZodOptional<z.ZodString>;
|
|
9819
9819
|
embeds: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
9820
9820
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -10155,7 +10155,7 @@ declare const messagePredicate: z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUti
|
|
|
10155
10155
|
}[];
|
|
10156
10156
|
}>, "many">>;
|
|
10157
10157
|
flags: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, number | undefined>;
|
|
10158
|
-
}
|
|
10158
|
+
}, "strip", z.ZodTypeAny, {
|
|
10159
10159
|
components?: {
|
|
10160
10160
|
type: ComponentType.ActionRow;
|
|
10161
10161
|
components: {
|
|
@@ -10471,7 +10471,7 @@ declare const messagePredicate: z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUti
|
|
|
10471
10471
|
layout_type?: discord_api_types_v10.PollLayoutType | undefined;
|
|
10472
10472
|
} | undefined;
|
|
10473
10473
|
flags?: number | undefined;
|
|
10474
|
-
}>, z.ZodObject<
|
|
10474
|
+
}>, z.ZodObject<{
|
|
10475
10475
|
nonce: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
10476
10476
|
tts: z.ZodOptional<z.ZodBoolean>;
|
|
10477
10477
|
allowed_mentions: z.ZodOptional<z.ZodEffects<z.ZodObject<{
|
|
@@ -10542,7 +10542,7 @@ declare const messagePredicate: z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUti
|
|
|
10542
10542
|
waveform?: string | undefined;
|
|
10543
10543
|
}>, "many">>;
|
|
10544
10544
|
enforce_nonce: z.ZodOptional<z.ZodBoolean>;
|
|
10545
|
-
}
|
|
10545
|
+
} & {
|
|
10546
10546
|
components: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
10547
10547
|
type: z.ZodLiteral<ComponentType.ActionRow>;
|
|
10548
10548
|
components: z.ZodArray<z.ZodObject<{
|
|
@@ -10574,7 +10574,7 @@ declare const messagePredicate: z.ZodUnion<[z.ZodEffects<z.ZodObject<z.objectUti
|
|
|
10574
10574
|
embeds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNever, "many">>>;
|
|
10575
10575
|
sticker_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNever, "many">>>;
|
|
10576
10576
|
poll: z.ZodOptional<z.ZodNull>;
|
|
10577
|
-
}
|
|
10577
|
+
}, "strip", z.ZodTypeAny, {
|
|
10578
10578
|
components: ({
|
|
10579
10579
|
type: ComponentType.ActionRow;
|
|
10580
10580
|
components: {
|