@classytic/social 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/LICENSE +21 -0
  3. package/README.md +368 -0
  4. package/dist/base-Bw7e52V8.mjs +246 -0
  5. package/dist/base-Bw7e52V8.mjs.map +1 -0
  6. package/dist/base-DBtKFiSX.d.mts +226 -0
  7. package/dist/base-DBtKFiSX.d.mts.map +1 -0
  8. package/dist/chunk-DQk6qfdC.mjs +18 -0
  9. package/dist/client/index.d.mts +44 -0
  10. package/dist/client/index.d.mts.map +1 -0
  11. package/dist/client/index.mjs +154 -0
  12. package/dist/client/index.mjs.map +1 -0
  13. package/dist/common/index.d.mts +3 -0
  14. package/dist/common/index.mjs +7 -0
  15. package/dist/contracts-Cdwa4zlg.d.mts +121 -0
  16. package/dist/contracts-Cdwa4zlg.d.mts.map +1 -0
  17. package/dist/contracts-lCa069IK.mjs +221 -0
  18. package/dist/contracts-lCa069IK.mjs.map +1 -0
  19. package/dist/env-Bl0cwwjC.mjs +955 -0
  20. package/dist/env-Bl0cwwjC.mjs.map +1 -0
  21. package/dist/env-DxOZHf0p.d.mts +394 -0
  22. package/dist/env-DxOZHf0p.d.mts.map +1 -0
  23. package/dist/errors-Cm6LeKf7.mjs +32 -0
  24. package/dist/errors-Cm6LeKf7.mjs.map +1 -0
  25. package/dist/facebook-l_4CghaA.mjs +95 -0
  26. package/dist/facebook-l_4CghaA.mjs.map +1 -0
  27. package/dist/http-DpcLSR1M.mjs +197 -0
  28. package/dist/http-DpcLSR1M.mjs.map +1 -0
  29. package/dist/index.d.mts +42 -0
  30. package/dist/index.d.mts.map +1 -0
  31. package/dist/index.mjs +71 -0
  32. package/dist/index.mjs.map +1 -0
  33. package/dist/instagram-BGaeUFU2.mjs +90 -0
  34. package/dist/instagram-BGaeUFU2.mjs.map +1 -0
  35. package/dist/linkedin-70whtVKa.mjs +101 -0
  36. package/dist/linkedin-70whtVKa.mjs.map +1 -0
  37. package/dist/meta-D3vcJU1c.mjs +126 -0
  38. package/dist/meta-D3vcJU1c.mjs.map +1 -0
  39. package/dist/pkce-jq5II68b.mjs +72 -0
  40. package/dist/pkce-jq5II68b.mjs.map +1 -0
  41. package/dist/polling-DZ1apXtA.mjs +25 -0
  42. package/dist/polling-DZ1apXtA.mjs.map +1 -0
  43. package/dist/providers/facebook.d.mts +135 -0
  44. package/dist/providers/facebook.d.mts.map +1 -0
  45. package/dist/providers/facebook.mjs +450 -0
  46. package/dist/providers/facebook.mjs.map +1 -0
  47. package/dist/providers/instagram.d.mts +122 -0
  48. package/dist/providers/instagram.d.mts.map +1 -0
  49. package/dist/providers/instagram.mjs +496 -0
  50. package/dist/providers/instagram.mjs.map +1 -0
  51. package/dist/providers/linkedin.d.mts +145 -0
  52. package/dist/providers/linkedin.d.mts.map +1 -0
  53. package/dist/providers/linkedin.mjs +574 -0
  54. package/dist/providers/linkedin.mjs.map +1 -0
  55. package/dist/providers/reddit.d.mts +102 -0
  56. package/dist/providers/reddit.d.mts.map +1 -0
  57. package/dist/providers/reddit.mjs +657 -0
  58. package/dist/providers/reddit.mjs.map +1 -0
  59. package/dist/providers/telegram.d.mts +139 -0
  60. package/dist/providers/telegram.d.mts.map +1 -0
  61. package/dist/providers/telegram.mjs +517 -0
  62. package/dist/providers/telegram.mjs.map +1 -0
  63. package/dist/providers/tiktok.d.mts +116 -0
  64. package/dist/providers/tiktok.d.mts.map +1 -0
  65. package/dist/providers/tiktok.mjs +676 -0
  66. package/dist/providers/tiktok.mjs.map +1 -0
  67. package/dist/providers/twitter.d.mts +150 -0
  68. package/dist/providers/twitter.d.mts.map +1 -0
  69. package/dist/providers/twitter.mjs +628 -0
  70. package/dist/providers/twitter.mjs.map +1 -0
  71. package/dist/providers/whatsapp.d.mts +79 -0
  72. package/dist/providers/whatsapp.d.mts.map +1 -0
  73. package/dist/providers/whatsapp.mjs +376 -0
  74. package/dist/providers/whatsapp.mjs.map +1 -0
  75. package/dist/providers/youtube.d.mts +153 -0
  76. package/dist/providers/youtube.d.mts.map +1 -0
  77. package/dist/providers/youtube.mjs +902 -0
  78. package/dist/providers/youtube.mjs.map +1 -0
  79. package/dist/reddit-B10kS4Se.mjs +126 -0
  80. package/dist/reddit-B10kS4Se.mjs.map +1 -0
  81. package/dist/schemas/index.d.mts +819 -0
  82. package/dist/schemas/index.d.mts.map +1 -0
  83. package/dist/schemas/index.mjs +31 -0
  84. package/dist/schemas/index.mjs.map +1 -0
  85. package/dist/security-BXhfebWm.d.mts +338 -0
  86. package/dist/security-BXhfebWm.d.mts.map +1 -0
  87. package/dist/shared-Fvc6xQku.mjs +100 -0
  88. package/dist/shared-Fvc6xQku.mjs.map +1 -0
  89. package/dist/telegram-FaUHpZgB.mjs +107 -0
  90. package/dist/telegram-FaUHpZgB.mjs.map +1 -0
  91. package/dist/tiktok-B_bMk4G-.mjs +94 -0
  92. package/dist/tiktok-B_bMk4G-.mjs.map +1 -0
  93. package/dist/twitter-BC22zfuc.mjs +98 -0
  94. package/dist/twitter-BC22zfuc.mjs.map +1 -0
  95. package/dist/types-BFE4psYI.d.mts +102 -0
  96. package/dist/types-BFE4psYI.d.mts.map +1 -0
  97. package/dist/types-Bv27tcT0.d.mts +230 -0
  98. package/dist/types-Bv27tcT0.d.mts.map +1 -0
  99. package/dist/types-BwkKyqpi.d.mts +253 -0
  100. package/dist/types-BwkKyqpi.d.mts.map +1 -0
  101. package/dist/types-CJrHMDV9.mjs +27 -0
  102. package/dist/types-CJrHMDV9.mjs.map +1 -0
  103. package/dist/types-ClbVc2rc.d.mts +117 -0
  104. package/dist/types-ClbVc2rc.d.mts.map +1 -0
  105. package/dist/types-D91N16Ym.d.mts +242 -0
  106. package/dist/types-D91N16Ym.d.mts.map +1 -0
  107. package/dist/types-DfLp_ibQ.d.mts +178 -0
  108. package/dist/types-DfLp_ibQ.d.mts.map +1 -0
  109. package/dist/types-DfjDgEoJ.d.mts +88 -0
  110. package/dist/types-DfjDgEoJ.d.mts.map +1 -0
  111. package/dist/types-Dp5Z9VBr.mjs +23 -0
  112. package/dist/types-Dp5Z9VBr.mjs.map +1 -0
  113. package/dist/types-hriBJTsU.d.mts +129 -0
  114. package/dist/types-hriBJTsU.d.mts.map +1 -0
  115. package/dist/types-rn6UuLL8.d.mts +184 -0
  116. package/dist/types-rn6UuLL8.d.mts.map +1 -0
  117. package/dist/whatsapp-CFp7ryR4.mjs +101 -0
  118. package/dist/whatsapp-CFp7ryR4.mjs.map +1 -0
  119. package/dist/youtube-Bs0fdY7H.mjs +98 -0
  120. package/dist/youtube-Bs0fdY7H.mjs.map +1 -0
  121. package/package.json +148 -0
@@ -0,0 +1,819 @@
1
+ import { a as ProviderCapabilities } from "../contracts-Cdwa4zlg.mjs";
2
+ import { z } from "zod";
3
+
4
+ //#region src/schemas/shared.d.ts
5
+ declare const NonEmptyString: z.ZodString;
6
+ /** Public URL. Use `assertPublicHttpUrl` from `common/security.ts` for SSRF guards. */
7
+ declare const PublicUrl: z.ZodURL;
8
+ declare const ISODateTime: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>;
9
+ declare const PrivacyLevel: z.ZodEnum<{
10
+ public: "public";
11
+ private: "private";
12
+ unlisted: "unlisted";
13
+ }>;
14
+ type PrivacyLevel = z.infer<typeof PrivacyLevel>;
15
+ declare const OAuthTokensSchema: z.ZodObject<{
16
+ access_token: z.ZodString;
17
+ refresh_token: z.ZodOptional<z.ZodString>;
18
+ expires_in: z.ZodOptional<z.ZodNumber>;
19
+ token_type: z.ZodOptional<z.ZodString>;
20
+ scope: z.ZodOptional<z.ZodString>;
21
+ }, z.core.$loose>;
22
+ type OAuthTokensInput = z.infer<typeof OAuthTokensSchema>;
23
+ declare const ClientCredentials: z.ZodObject<{
24
+ clientId: z.ZodString;
25
+ clientSecret: z.ZodString;
26
+ redirectUri: z.ZodOptional<z.ZodURL>;
27
+ }, z.core.$strip>;
28
+ /**
29
+ * UI form-field descriptor derived from a zod schema. Mirrors the shape of
30
+ * `CredentialField` in base.ts for backward compatibility.
31
+ */
32
+ interface FieldMeta {
33
+ name: string;
34
+ displayName: string;
35
+ type: 'text' | 'password' | 'url' | 'select' | 'textarea';
36
+ required: boolean;
37
+ description?: string;
38
+ placeholder?: string;
39
+ options?: {
40
+ label: string;
41
+ value: string;
42
+ }[];
43
+ }
44
+ /**
45
+ * Derive `FieldMeta[]` from a zod object schema. Used by providers to expose a
46
+ * UI form schema without manually duplicating field metadata.
47
+ *
48
+ * Heuristics:
49
+ * - field name matching `/token|secret|password|key|credential/i` ⇒ `password`
50
+ * - `z.url()` ⇒ `url`
51
+ * - `z.enum([...])` ⇒ `select`
52
+ * - everything else ⇒ `text`
53
+ */
54
+ declare function fieldsFromSchema<T extends z.ZodObject>(schema: T, overrides?: Partial<Record<keyof z.infer<T> & string, Partial<FieldMeta>>>): FieldMeta[];
55
+ declare namespace youtube_d_exports {
56
+ export { YouTubeCredentialDataSchema, YouTubeCredentialsInput, YouTubeCredentialsSchema, YouTubeListVideosSchema, YouTubePrivacy, YouTubeUpdateVideoSchema, YouTubeUploadParamsInput, YouTubeUploadParamsSchema, youtubeCapabilities, youtubeInfo };
57
+ }
58
+ declare const YouTubeCredentialsSchema: z.ZodObject<{
59
+ clientId: z.ZodString;
60
+ clientSecret: z.ZodString;
61
+ redirectUri: z.ZodOptional<z.ZodURL>;
62
+ }, z.core.$strip>;
63
+ type YouTubeCredentialsInput = z.infer<typeof YouTubeCredentialsSchema>;
64
+ declare const YouTubeCredentialDataSchema: z.ZodObject<{
65
+ clientId: z.ZodString;
66
+ clientSecret: z.ZodString;
67
+ redirectUri: z.ZodOptional<z.ZodURL>;
68
+ oauthTokenData: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
69
+ access_token: z.ZodString;
70
+ refresh_token: z.ZodOptional<z.ZodString>;
71
+ expires_in: z.ZodOptional<z.ZodNumber>;
72
+ token_type: z.ZodOptional<z.ZodString>;
73
+ scope: z.ZodOptional<z.ZodString>;
74
+ }, z.core.$loose>]>>;
75
+ }, z.core.$strip>;
76
+ declare const YouTubePrivacy: z.ZodEnum<{
77
+ public: "public";
78
+ private: "private";
79
+ unlisted: "unlisted";
80
+ }>;
81
+ declare const YouTubeUploadParamsSchema: z.ZodObject<{
82
+ filePath: z.ZodOptional<z.ZodString>;
83
+ videoUrl: z.ZodOptional<z.ZodURL>;
84
+ title: z.ZodString;
85
+ description: z.ZodOptional<z.ZodString>;
86
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
87
+ privacy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
88
+ public: "public";
89
+ private: "private";
90
+ unlisted: "unlisted";
91
+ }>>>;
92
+ categoryId: z.ZodOptional<z.ZodString>;
93
+ publishAt: z.ZodOptional<z.ZodISODateTime>;
94
+ thumbnailUrl: z.ZodOptional<z.ZodURL>;
95
+ }, z.core.$strip>;
96
+ type YouTubeUploadParamsInput = z.infer<typeof YouTubeUploadParamsSchema>;
97
+ declare const YouTubeUpdateVideoSchema: z.ZodObject<{
98
+ title: z.ZodOptional<z.ZodString>;
99
+ description: z.ZodOptional<z.ZodString>;
100
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
101
+ privacy: z.ZodOptional<z.ZodEnum<{
102
+ public: "public";
103
+ private: "private";
104
+ unlisted: "unlisted";
105
+ }>>;
106
+ categoryId: z.ZodOptional<z.ZodString>;
107
+ }, z.core.$strip>;
108
+ declare const YouTubeListVideosSchema: z.ZodObject<{
109
+ maxResults: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
110
+ order: z.ZodOptional<z.ZodEnum<{
111
+ date: "date";
112
+ title: "title";
113
+ rating: "rating";
114
+ relevance: "relevance";
115
+ viewCount: "viewCount";
116
+ }>>;
117
+ pageToken: z.ZodOptional<z.ZodString>;
118
+ publishedAfter: z.ZodOptional<z.ZodISODateTime>;
119
+ publishedBefore: z.ZodOptional<z.ZodISODateTime>;
120
+ }, z.core.$strip>;
121
+ declare const youtubeCapabilities: ProviderCapabilities;
122
+ declare const youtubeInfo: {
123
+ readonly name: "youtube";
124
+ readonly displayName: "YouTube";
125
+ readonly scopes: readonly ["https://www.googleapis.com/auth/youtube.upload", "https://www.googleapis.com/auth/youtube", "https://www.googleapis.com/auth/userinfo.profile"]; /** Per-day quota units; reads ≈1, uploads ≈1600. */
126
+ readonly rateLimits: {
127
+ readonly perDayQuotaUnits: 10000;
128
+ };
129
+ readonly fileLimits: {
130
+ readonly video: {
131
+ readonly maxSizeBytes: number;
132
+ readonly maxDurationSec: number;
133
+ };
134
+ };
135
+ readonly docsUrl: "https://developers.google.com/youtube/v3";
136
+ };
137
+ declare namespace tiktok_d_exports {
138
+ export { TikTokCredentialDataSchema, TikTokCredentialsInput, TikTokCredentialsSchema, TikTokListVideosSchema, TikTokPhotoUploadSchema, TikTokPrivacy, TikTokPrivacyLevel, TikTokVideoUploadSchema, tiktokCapabilities, tiktokInfo };
139
+ }
140
+ declare const TikTokCredentialsSchema: z.ZodObject<{
141
+ clientKey: z.ZodString;
142
+ clientSecret: z.ZodString;
143
+ redirectUri: z.ZodOptional<z.ZodURL>;
144
+ }, z.core.$strip>;
145
+ type TikTokCredentialsInput = z.infer<typeof TikTokCredentialsSchema>;
146
+ declare const TikTokCredentialDataSchema: z.ZodObject<{
147
+ clientKey: z.ZodString;
148
+ clientSecret: z.ZodString;
149
+ redirectUri: z.ZodOptional<z.ZodURL>;
150
+ oauthTokenData: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
151
+ access_token: z.ZodString;
152
+ refresh_token: z.ZodOptional<z.ZodString>;
153
+ expires_in: z.ZodOptional<z.ZodNumber>;
154
+ token_type: z.ZodOptional<z.ZodString>;
155
+ scope: z.ZodOptional<z.ZodString>;
156
+ }, z.core.$loose>]>>;
157
+ }, z.core.$strip>;
158
+ declare const TikTokPrivacyLevel: z.ZodEnum<{
159
+ PUBLIC_TO_EVERYONE: "PUBLIC_TO_EVERYONE";
160
+ MUTUAL_FOLLOW_FRIENDS: "MUTUAL_FOLLOW_FRIENDS";
161
+ FOLLOWER_OF_CREATOR: "FOLLOWER_OF_CREATOR";
162
+ SELF_ONLY: "SELF_ONLY";
163
+ }>;
164
+ declare const TikTokPrivacy: z.ZodEnum<{
165
+ public: "public";
166
+ private: "private";
167
+ unlisted: "unlisted";
168
+ followers: "followers";
169
+ friends: "friends";
170
+ }>;
171
+ declare const TikTokVideoUploadSchema: z.ZodObject<{
172
+ filePath: z.ZodOptional<z.ZodString>;
173
+ videoUrl: z.ZodOptional<z.ZodURL>;
174
+ title: z.ZodOptional<z.ZodString>;
175
+ privacy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
176
+ public: "public";
177
+ private: "private";
178
+ unlisted: "unlisted";
179
+ followers: "followers";
180
+ friends: "friends";
181
+ }>>>;
182
+ disableComment: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
183
+ disableDuet: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
184
+ disableStitch: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
185
+ brandContentToggle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
186
+ brandOrganicToggle: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
187
+ scheduledAt: z.ZodOptional<z.ZodISODateTime>;
188
+ }, z.core.$strip>;
189
+ declare const TikTokPhotoUploadSchema: z.ZodObject<{
190
+ photoUrls: z.ZodArray<z.ZodURL>;
191
+ title: z.ZodOptional<z.ZodString>;
192
+ description: z.ZodOptional<z.ZodString>;
193
+ privacy: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
194
+ public: "public";
195
+ private: "private";
196
+ unlisted: "unlisted";
197
+ followers: "followers";
198
+ friends: "friends";
199
+ }>>>;
200
+ }, z.core.$strip>;
201
+ declare const TikTokListVideosSchema: z.ZodObject<{
202
+ maxCount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
203
+ cursor: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
204
+ }, z.core.$strip>;
205
+ declare const tiktokCapabilities: ProviderCapabilities;
206
+ declare const tiktokInfo: {
207
+ readonly name: "tiktok";
208
+ readonly displayName: "TikTok";
209
+ readonly scopes: readonly ["user.info.profile", "video.upload", "video.publish"];
210
+ readonly rateLimits: {
211
+ readonly perDayPosts: 6;
212
+ };
213
+ readonly fileLimits: {
214
+ readonly video: {
215
+ readonly maxSizeBytes: number;
216
+ readonly maxDurationSec: 600;
217
+ };
218
+ readonly photo: {
219
+ readonly maxCount: 35;
220
+ };
221
+ };
222
+ readonly docsUrl: "https://developers.tiktok.com/doc/content-posting-api-reference-direct-post";
223
+ };
224
+ declare namespace instagram_d_exports {
225
+ export { InstagramCarouselItemSchema, InstagramCarouselUploadSchema, InstagramCredentialDataSchema, InstagramCredentialsInput, InstagramCredentialsSchema, InstagramListMediaSchema, InstagramPhotoUploadSchema, InstagramVideoUploadSchema, instagramCapabilities, instagramInfo };
226
+ }
227
+ declare const InstagramCredentialsSchema: z.ZodObject<{
228
+ appId: z.ZodString;
229
+ appSecret: z.ZodString;
230
+ redirectUri: z.ZodOptional<z.ZodURL>;
231
+ }, z.core.$strip>;
232
+ type InstagramCredentialsInput = z.infer<typeof InstagramCredentialsSchema>;
233
+ declare const InstagramCredentialDataSchema: z.ZodObject<{
234
+ appId: z.ZodString;
235
+ appSecret: z.ZodString;
236
+ redirectUri: z.ZodOptional<z.ZodURL>;
237
+ oauthTokenData: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
238
+ access_token: z.ZodString;
239
+ refresh_token: z.ZodOptional<z.ZodString>;
240
+ expires_in: z.ZodOptional<z.ZodNumber>;
241
+ token_type: z.ZodOptional<z.ZodString>;
242
+ scope: z.ZodOptional<z.ZodString>;
243
+ }, z.core.$loose>]>>;
244
+ }, z.core.$strip>;
245
+ declare const InstagramVideoUploadSchema: z.ZodObject<{
246
+ videoUrl: z.ZodURL;
247
+ caption: z.ZodOptional<z.ZodString>;
248
+ thumbOffset: z.ZodOptional<z.ZodNumber>;
249
+ shareToFeed: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
250
+ igUserId: z.ZodOptional<z.ZodString>;
251
+ }, z.core.$strip>;
252
+ declare const InstagramPhotoUploadSchema: z.ZodObject<{
253
+ imageUrl: z.ZodURL;
254
+ caption: z.ZodOptional<z.ZodString>;
255
+ igUserId: z.ZodOptional<z.ZodString>;
256
+ }, z.core.$strip>;
257
+ declare const InstagramCarouselItemSchema: z.ZodObject<{
258
+ type: z.ZodEnum<{
259
+ IMAGE: "IMAGE";
260
+ VIDEO: "VIDEO";
261
+ }>;
262
+ url: z.ZodURL;
263
+ }, z.core.$strip>;
264
+ declare const InstagramCarouselUploadSchema: z.ZodObject<{
265
+ items: z.ZodArray<z.ZodObject<{
266
+ type: z.ZodEnum<{
267
+ IMAGE: "IMAGE";
268
+ VIDEO: "VIDEO";
269
+ }>;
270
+ url: z.ZodURL;
271
+ }, z.core.$strip>>;
272
+ caption: z.ZodOptional<z.ZodString>;
273
+ igUserId: z.ZodOptional<z.ZodString>;
274
+ }, z.core.$strip>;
275
+ declare const InstagramListMediaSchema: z.ZodObject<{
276
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
277
+ cursor: z.ZodOptional<z.ZodString>;
278
+ }, z.core.$strip>;
279
+ declare const instagramCapabilities: ProviderCapabilities;
280
+ declare const instagramInfo: {
281
+ readonly name: "instagram";
282
+ readonly displayName: "Instagram";
283
+ readonly scopes: readonly ["business_management", "instagram_basic", "instagram_content_publish", "pages_show_list", "pages_read_engagement"];
284
+ readonly rateLimits: {
285
+ readonly per24h: 25;
286
+ };
287
+ readonly fileLimits: {
288
+ readonly photo: {
289
+ readonly maxSizeBytes: number;
290
+ };
291
+ readonly video: {
292
+ readonly maxSizeBytes: number;
293
+ readonly maxDurationSec: 90;
294
+ };
295
+ readonly carousel: {
296
+ readonly minItems: 2;
297
+ readonly maxItems: 10;
298
+ };
299
+ };
300
+ readonly docsUrl: "https://developers.facebook.com/docs/instagram-api";
301
+ };
302
+ declare namespace facebook_d_exports {
303
+ export { FacebookCreateLinkPostSchema, FacebookCreatePhotoPostSchema, FacebookCreatePostSchema, FacebookCredentialDataSchema, FacebookCredentialsInput, FacebookCredentialsSchema, FacebookFeedSchema, FacebookInsightsPeriod, FacebookVideoUploadSchema, facebookCapabilities, facebookInfo };
304
+ }
305
+ declare const FacebookCredentialsSchema: z.ZodObject<{
306
+ appId: z.ZodString;
307
+ appSecret: z.ZodString;
308
+ redirectUri: z.ZodOptional<z.ZodURL>;
309
+ }, z.core.$strip>;
310
+ type FacebookCredentialsInput = z.infer<typeof FacebookCredentialsSchema>;
311
+ declare const FacebookCredentialDataSchema: z.ZodObject<{
312
+ appId: z.ZodString;
313
+ appSecret: z.ZodString;
314
+ redirectUri: z.ZodOptional<z.ZodURL>;
315
+ oauthTokenData: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
316
+ access_token: z.ZodString;
317
+ refresh_token: z.ZodOptional<z.ZodString>;
318
+ expires_in: z.ZodOptional<z.ZodNumber>;
319
+ token_type: z.ZodOptional<z.ZodString>;
320
+ scope: z.ZodOptional<z.ZodString>;
321
+ }, z.core.$loose>]>>;
322
+ }, z.core.$strip>;
323
+ declare const FacebookCreatePostSchema: z.ZodObject<{
324
+ message: z.ZodString;
325
+ scheduledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>>;
326
+ }, z.core.$strip>;
327
+ declare const FacebookCreateLinkPostSchema: z.ZodObject<{
328
+ link: z.ZodURL;
329
+ message: z.ZodOptional<z.ZodString>;
330
+ scheduledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>>;
331
+ }, z.core.$strip>;
332
+ declare const FacebookCreatePhotoPostSchema: z.ZodObject<{
333
+ photoUrl: z.ZodURL;
334
+ caption: z.ZodOptional<z.ZodString>;
335
+ scheduledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>>;
336
+ }, z.core.$strip>;
337
+ declare const FacebookVideoUploadSchema: z.ZodObject<{
338
+ videoUrl: z.ZodURL;
339
+ title: z.ZodOptional<z.ZodString>;
340
+ description: z.ZodOptional<z.ZodString>;
341
+ scheduledAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodDate]>>;
342
+ }, z.core.$strip>;
343
+ declare const FacebookFeedSchema: z.ZodObject<{
344
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
345
+ cursor: z.ZodOptional<z.ZodString>;
346
+ }, z.core.$strip>;
347
+ declare const FacebookInsightsPeriod: z.ZodEnum<{
348
+ day: "day";
349
+ week: "week";
350
+ days_28: "days_28";
351
+ }>;
352
+ declare const facebookCapabilities: ProviderCapabilities;
353
+ declare const facebookInfo: {
354
+ readonly name: "facebook";
355
+ readonly displayName: "Facebook Pages";
356
+ readonly scopes: readonly ["business_management", "pages_show_list", "pages_read_engagement", "pages_manage_posts", "pages_read_user_content"];
357
+ readonly fileLimits: {
358
+ readonly photo: {
359
+ readonly maxSizeBytes: number;
360
+ };
361
+ readonly video: {
362
+ readonly maxSizeBytes: number;
363
+ readonly maxDurationSec: number;
364
+ };
365
+ };
366
+ readonly scheduling: {
367
+ readonly minMinutes: 10;
368
+ readonly maxDays: number;
369
+ };
370
+ readonly docsUrl: "https://developers.facebook.com/docs/pages-api";
371
+ };
372
+ declare namespace linkedin_d_exports {
373
+ export { LinkedInArticlePostSchema, LinkedInCredentialDataSchema, LinkedInCredentialsInput, LinkedInCredentialsSchema, LinkedInImagePostSchema, LinkedInLifecycleState, LinkedInTextPostSchema, LinkedInUrn, LinkedInVideoUploadSchema, LinkedInVisibility, linkedinCapabilities, linkedinInfo };
374
+ }
375
+ declare const LinkedInCredentialsSchema: z.ZodObject<{
376
+ clientId: z.ZodString;
377
+ clientSecret: z.ZodString;
378
+ redirectUri: z.ZodOptional<z.ZodURL>;
379
+ }, z.core.$strip>;
380
+ type LinkedInCredentialsInput = z.infer<typeof LinkedInCredentialsSchema>;
381
+ declare const LinkedInCredentialDataSchema: z.ZodObject<{
382
+ clientId: z.ZodString;
383
+ clientSecret: z.ZodString;
384
+ redirectUri: z.ZodOptional<z.ZodURL>;
385
+ oauthTokenData: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
386
+ access_token: z.ZodString;
387
+ refresh_token: z.ZodOptional<z.ZodString>;
388
+ expires_in: z.ZodOptional<z.ZodNumber>;
389
+ token_type: z.ZodOptional<z.ZodString>;
390
+ scope: z.ZodOptional<z.ZodString>;
391
+ }, z.core.$loose>]>>;
392
+ }, z.core.$strip>;
393
+ declare const LinkedInVisibility: z.ZodEnum<{
394
+ PUBLIC: "PUBLIC";
395
+ CONNECTIONS: "CONNECTIONS";
396
+ LOGGED_IN: "LOGGED_IN";
397
+ CONTAINER: "CONTAINER";
398
+ }>;
399
+ declare const LinkedInLifecycleState: z.ZodEnum<{
400
+ DRAFT: "DRAFT";
401
+ PUBLISHED: "PUBLISHED";
402
+ PUBLISHED_EDITED: "PUBLISHED_EDITED";
403
+ }>;
404
+ declare const LinkedInUrn: z.ZodString;
405
+ declare const LinkedInTextPostSchema: z.ZodObject<{
406
+ authorUrn: z.ZodString;
407
+ text: z.ZodString;
408
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
409
+ PUBLIC: "PUBLIC";
410
+ CONNECTIONS: "CONNECTIONS";
411
+ LOGGED_IN: "LOGGED_IN";
412
+ CONTAINER: "CONTAINER";
413
+ }>>>;
414
+ }, z.core.$strip>;
415
+ declare const LinkedInArticlePostSchema: z.ZodObject<{
416
+ authorUrn: z.ZodString;
417
+ text: z.ZodOptional<z.ZodString>;
418
+ url: z.ZodURL;
419
+ title: z.ZodOptional<z.ZodString>;
420
+ description: z.ZodOptional<z.ZodString>;
421
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
422
+ PUBLIC: "PUBLIC";
423
+ CONNECTIONS: "CONNECTIONS";
424
+ LOGGED_IN: "LOGGED_IN";
425
+ CONTAINER: "CONTAINER";
426
+ }>>>;
427
+ }, z.core.$strip>;
428
+ declare const LinkedInImagePostSchema: z.ZodObject<{
429
+ authorUrn: z.ZodString;
430
+ text: z.ZodString;
431
+ imageBuffer: z.ZodOptional<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>>;
432
+ imageUrl: z.ZodOptional<z.ZodURL>;
433
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
434
+ PUBLIC: "PUBLIC";
435
+ CONNECTIONS: "CONNECTIONS";
436
+ LOGGED_IN: "LOGGED_IN";
437
+ CONTAINER: "CONTAINER";
438
+ }>>>;
439
+ }, z.core.$strip>;
440
+ declare const LinkedInVideoUploadSchema: z.ZodObject<{
441
+ authorUrn: z.ZodString;
442
+ text: z.ZodOptional<z.ZodString>;
443
+ videoUrl: z.ZodURL;
444
+ visibility: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
445
+ PUBLIC: "PUBLIC";
446
+ CONNECTIONS: "CONNECTIONS";
447
+ LOGGED_IN: "LOGGED_IN";
448
+ CONTAINER: "CONTAINER";
449
+ }>>>;
450
+ }, z.core.$strip>;
451
+ declare const linkedinCapabilities: ProviderCapabilities;
452
+ declare const linkedinInfo: {
453
+ readonly name: "linkedin";
454
+ readonly displayName: "LinkedIn";
455
+ readonly scopes: readonly ["openid", "profile", "email", "w_member_social", "w_organization_social"];
456
+ readonly rateLimits: {
457
+ readonly perDay: 100;
458
+ };
459
+ readonly fileLimits: {
460
+ readonly image: {
461
+ readonly maxSizeBytes: number;
462
+ };
463
+ readonly video: {
464
+ readonly maxSizeBytes: number;
465
+ readonly maxDurationSec: number;
466
+ };
467
+ };
468
+ readonly docsUrl: "https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/posts-api";
469
+ };
470
+ declare namespace telegram_d_exports {
471
+ export { TelegramCredentialsInput, TelegramCredentialsSchema, TelegramMediaItemSchema, TelegramSendDocumentSchema, TelegramSendMediaGroupSchema, TelegramSendMessageSchema, TelegramSendPhotoSchema, TelegramSendVideoSchema, telegramCapabilities, telegramInfo };
472
+ }
473
+ declare const TelegramCredentialsSchema: z.ZodObject<{
474
+ botToken: z.ZodString;
475
+ chatId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
476
+ }, z.core.$strip>;
477
+ type TelegramCredentialsInput = z.infer<typeof TelegramCredentialsSchema>;
478
+ declare const TelegramSendMessageSchema: z.ZodObject<{
479
+ chatId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
480
+ text: z.ZodString;
481
+ parseMode: z.ZodOptional<z.ZodEnum<{
482
+ MarkdownV2: "MarkdownV2";
483
+ Markdown: "Markdown";
484
+ HTML: "HTML";
485
+ }>>;
486
+ disableNotification: z.ZodOptional<z.ZodBoolean>;
487
+ disableWebPagePreview: z.ZodOptional<z.ZodBoolean>;
488
+ replyToMessageId: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
489
+ }, z.core.$strip>;
490
+ declare const TelegramSendPhotoSchema: z.ZodObject<{
491
+ chatId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
492
+ photo: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
493
+ caption: z.ZodOptional<z.ZodString>;
494
+ parseMode: z.ZodOptional<z.ZodEnum<{
495
+ MarkdownV2: "MarkdownV2";
496
+ Markdown: "Markdown";
497
+ HTML: "HTML";
498
+ }>>;
499
+ }, z.core.$strip>;
500
+ declare const TelegramSendVideoSchema: z.ZodObject<{
501
+ chatId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
502
+ video: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
503
+ caption: z.ZodOptional<z.ZodString>;
504
+ duration: z.ZodOptional<z.ZodNumber>;
505
+ width: z.ZodOptional<z.ZodNumber>;
506
+ height: z.ZodOptional<z.ZodNumber>;
507
+ supportsStreaming: z.ZodOptional<z.ZodBoolean>;
508
+ parseMode: z.ZodOptional<z.ZodEnum<{
509
+ MarkdownV2: "MarkdownV2";
510
+ Markdown: "Markdown";
511
+ HTML: "HTML";
512
+ }>>;
513
+ }, z.core.$strip>;
514
+ declare const TelegramSendDocumentSchema: z.ZodObject<{
515
+ chatId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
516
+ document: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
517
+ caption: z.ZodOptional<z.ZodString>;
518
+ parseMode: z.ZodOptional<z.ZodEnum<{
519
+ MarkdownV2: "MarkdownV2";
520
+ Markdown: "Markdown";
521
+ HTML: "HTML";
522
+ }>>;
523
+ }, z.core.$strip>;
524
+ declare const TelegramMediaItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
525
+ type: z.ZodLiteral<"photo">;
526
+ media: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
527
+ caption: z.ZodOptional<z.ZodString>;
528
+ }, z.core.$strip>, z.ZodObject<{
529
+ type: z.ZodLiteral<"video">;
530
+ media: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
531
+ caption: z.ZodOptional<z.ZodString>;
532
+ duration: z.ZodOptional<z.ZodNumber>;
533
+ }, z.core.$strip>], "type">;
534
+ declare const TelegramSendMediaGroupSchema: z.ZodObject<{
535
+ chatId: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
536
+ media: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
537
+ type: z.ZodLiteral<"photo">;
538
+ media: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
539
+ caption: z.ZodOptional<z.ZodString>;
540
+ }, z.core.$strip>, z.ZodObject<{
541
+ type: z.ZodLiteral<"video">;
542
+ media: z.ZodUnion<readonly [z.ZodURL, z.ZodString]>;
543
+ caption: z.ZodOptional<z.ZodString>;
544
+ duration: z.ZodOptional<z.ZodNumber>;
545
+ }, z.core.$strip>], "type">>;
546
+ }, z.core.$strip>;
547
+ declare const telegramCapabilities: ProviderCapabilities;
548
+ declare const telegramInfo: {
549
+ readonly name: "telegram";
550
+ readonly displayName: "Telegram";
551
+ readonly scopes: readonly [];
552
+ readonly rateLimits: {
553
+ readonly perSecondToDifferentChats: 30;
554
+ readonly perSecondToSameChat: 1;
555
+ };
556
+ readonly fileLimits: {
557
+ readonly photo: {
558
+ readonly maxSizeBytes: number;
559
+ };
560
+ readonly video: {
561
+ readonly maxSizeBytes: number;
562
+ };
563
+ readonly document: {
564
+ readonly maxSizeBytes: number;
565
+ };
566
+ };
567
+ readonly docsUrl: "https://core.telegram.org/bots/api";
568
+ };
569
+ declare namespace whatsapp_d_exports {
570
+ export { WhatsAppCreateTemplateSchema, WhatsAppCredentialsInput, WhatsAppCredentialsSchema, WhatsAppMediaMessageSchema, WhatsAppTemplateCategory, WhatsAppTemplateMessageSchema, WhatsAppTextMessageSchema, whatsappCapabilities, whatsappInfo };
571
+ }
572
+ declare const WhatsAppCredentialsSchema: z.ZodObject<{
573
+ accessToken: z.ZodString;
574
+ businessAccountId: z.ZodString;
575
+ phoneNumberId: z.ZodOptional<z.ZodString>;
576
+ }, z.core.$strip>;
577
+ type WhatsAppCredentialsInput = z.infer<typeof WhatsAppCredentialsSchema>;
578
+ declare const WhatsAppTextMessageSchema: z.ZodObject<{
579
+ to: z.ZodString;
580
+ body: z.ZodString;
581
+ previewUrl: z.ZodOptional<z.ZodBoolean>;
582
+ }, z.core.$strip>;
583
+ declare const WhatsAppTemplateMessageSchema: z.ZodObject<{
584
+ to: z.ZodString;
585
+ templateName: z.ZodString;
586
+ languageCode: z.ZodDefault<z.ZodString>;
587
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
588
+ type: z.ZodEnum<{
589
+ body: "body";
590
+ header: "header";
591
+ button: "button";
592
+ footer: "footer";
593
+ }>;
594
+ parameters: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
595
+ }, z.core.$loose>>>;
596
+ }, z.core.$strip>;
597
+ declare const WhatsAppMediaMessageSchema: z.ZodObject<{
598
+ to: z.ZodString;
599
+ type: z.ZodEnum<{
600
+ video: "video";
601
+ document: "document";
602
+ image: "image";
603
+ audio: "audio";
604
+ }>;
605
+ link: z.ZodOptional<z.ZodURL>;
606
+ id: z.ZodOptional<z.ZodString>;
607
+ caption: z.ZodOptional<z.ZodString>;
608
+ }, z.core.$strip>;
609
+ declare const WhatsAppTemplateCategory: z.ZodEnum<{
610
+ MARKETING: "MARKETING";
611
+ UTILITY: "UTILITY";
612
+ AUTHENTICATION: "AUTHENTICATION";
613
+ }>;
614
+ declare const WhatsAppCreateTemplateSchema: z.ZodObject<{
615
+ name: z.ZodString;
616
+ category: z.ZodEnum<{
617
+ MARKETING: "MARKETING";
618
+ UTILITY: "UTILITY";
619
+ AUTHENTICATION: "AUTHENTICATION";
620
+ }>;
621
+ languageCode: z.ZodString;
622
+ components: z.ZodArray<z.ZodObject<{
623
+ type: z.ZodEnum<{
624
+ HEADER: "HEADER";
625
+ BODY: "BODY";
626
+ FOOTER: "FOOTER";
627
+ BUTTONS: "BUTTONS";
628
+ }>;
629
+ text: z.ZodOptional<z.ZodString>;
630
+ }, z.core.$loose>>;
631
+ }, z.core.$strip>;
632
+ declare const whatsappCapabilities: ProviderCapabilities;
633
+ declare const whatsappInfo: {
634
+ readonly name: "whatsapp";
635
+ readonly displayName: "WhatsApp Business";
636
+ readonly scopes: readonly []; /** WhatsApp messaging tiers: 1k → 10k → 100k → unlimited 24h conversations. */
637
+ readonly rateLimits: {
638
+ readonly tiers: readonly [1000, 10000, 100000];
639
+ };
640
+ readonly docsUrl: "https://developers.facebook.com/docs/whatsapp/cloud-api";
641
+ };
642
+ declare namespace twitter_d_exports {
643
+ export { TwitterCreateTweetSchema, TwitterCredentialDataSchema, TwitterCredentialsInput, TwitterCredentialsSchema, TwitterReplySettings, TwitterSearchTweetsSchema, TwitterSendDmSchema, twitterCapabilities, twitterInfo };
644
+ }
645
+ declare const TwitterCredentialsSchema: z.ZodObject<{
646
+ clientId: z.ZodString;
647
+ clientSecret: z.ZodOptional<z.ZodString>;
648
+ redirectUri: z.ZodOptional<z.ZodURL>;
649
+ }, z.core.$strip>;
650
+ type TwitterCredentialsInput = z.infer<typeof TwitterCredentialsSchema>;
651
+ declare const TwitterCredentialDataSchema: z.ZodObject<{
652
+ clientId: z.ZodString;
653
+ clientSecret: z.ZodOptional<z.ZodString>;
654
+ redirectUri: z.ZodOptional<z.ZodURL>;
655
+ oauthTokenData: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
656
+ access_token: z.ZodString;
657
+ refresh_token: z.ZodOptional<z.ZodString>;
658
+ expires_in: z.ZodOptional<z.ZodNumber>;
659
+ token_type: z.ZodOptional<z.ZodString>;
660
+ scope: z.ZodOptional<z.ZodString>;
661
+ }, z.core.$loose>]>>;
662
+ }, z.core.$strip>;
663
+ declare const TwitterReplySettings: z.ZodEnum<{
664
+ everyone: "everyone";
665
+ mentionedUsers: "mentionedUsers";
666
+ following: "following";
667
+ }>;
668
+ declare const TwitterCreateTweetSchema: z.ZodObject<{
669
+ text: z.ZodString;
670
+ inReplyToTweetId: z.ZodOptional<z.ZodString>;
671
+ quoteTweetId: z.ZodOptional<z.ZodString>;
672
+ mediaIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
673
+ pollOptions: z.ZodOptional<z.ZodArray<z.ZodString>>;
674
+ pollDurationMinutes: z.ZodOptional<z.ZodNumber>;
675
+ replySettings: z.ZodOptional<z.ZodEnum<{
676
+ everyone: "everyone";
677
+ mentionedUsers: "mentionedUsers";
678
+ following: "following";
679
+ }>>;
680
+ forSuperFollowersOnly: z.ZodOptional<z.ZodBoolean>;
681
+ }, z.core.$strip>;
682
+ declare const TwitterSearchTweetsSchema: z.ZodObject<{
683
+ query: z.ZodString;
684
+ maxResults: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
685
+ startTime: z.ZodOptional<z.ZodISODateTime>;
686
+ endTime: z.ZodOptional<z.ZodISODateTime>;
687
+ nextToken: z.ZodOptional<z.ZodString>;
688
+ }, z.core.$strip>;
689
+ declare const TwitterSendDmSchema: z.ZodObject<{
690
+ recipientId: z.ZodString;
691
+ text: z.ZodString;
692
+ }, z.core.$strip>;
693
+ declare const twitterCapabilities: ProviderCapabilities;
694
+ declare const twitterInfo: {
695
+ readonly name: "twitter";
696
+ readonly displayName: "Twitter / X";
697
+ readonly scopes: readonly ["tweet.read", "tweet.write", "tweet.moderate.write", "users.read", "follows.read", "follows.write", "offline.access", "like.read", "like.write", "dm.write", "dm.read", "list.read", "list.write", "bookmark.read", "bookmark.write", "block.read", "mute.read"]; /** Free / Basic / Pro tiers. Free: ~17 posts/24h. */
698
+ readonly rateLimits: {
699
+ readonly freePerDay: 17;
700
+ };
701
+ readonly fileLimits: {
702
+ readonly image: {
703
+ readonly maxSizeBytes: number;
704
+ };
705
+ readonly video: {
706
+ readonly maxSizeBytes: number;
707
+ readonly maxDurationSec: 140;
708
+ };
709
+ };
710
+ readonly docsUrl: "https://developer.x.com/en/docs/x-api";
711
+ };
712
+ declare namespace reddit_d_exports {
713
+ export { RedditCreateCommentSchema, RedditCreatePostSchema, RedditCredentialDataSchema, RedditCredentialsInput, RedditCredentialsSchema, RedditListPostsSchema, RedditListSort, RedditPostKind, RedditSearchSchema, RedditVoteSchema, redditCapabilities, redditInfo };
714
+ }
715
+ declare const RedditCredentialsSchema: z.ZodObject<{
716
+ clientId: z.ZodString;
717
+ clientSecret: z.ZodString;
718
+ userAgent: z.ZodString;
719
+ redirectUri: z.ZodOptional<z.ZodURL>;
720
+ }, z.core.$strip>;
721
+ type RedditCredentialsInput = z.infer<typeof RedditCredentialsSchema>;
722
+ declare const RedditCredentialDataSchema: z.ZodObject<{
723
+ clientId: z.ZodString;
724
+ clientSecret: z.ZodString;
725
+ userAgent: z.ZodString;
726
+ redirectUri: z.ZodOptional<z.ZodURL>;
727
+ oauthTokenData: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
728
+ access_token: z.ZodString;
729
+ refresh_token: z.ZodOptional<z.ZodString>;
730
+ expires_in: z.ZodOptional<z.ZodNumber>;
731
+ token_type: z.ZodOptional<z.ZodString>;
732
+ scope: z.ZodOptional<z.ZodString>;
733
+ }, z.core.$loose>]>>;
734
+ }, z.core.$strip>;
735
+ declare const RedditPostKind: z.ZodEnum<{
736
+ link: "link";
737
+ video: "video";
738
+ image: "image";
739
+ self: "self";
740
+ }>;
741
+ declare const RedditCreatePostSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
742
+ kind: z.ZodLiteral<"self">;
743
+ subreddit: z.ZodString;
744
+ title: z.ZodString;
745
+ text: z.ZodOptional<z.ZodString>;
746
+ nsfw: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
747
+ spoiler: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
748
+ sendReplies: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
749
+ flairId: z.ZodOptional<z.ZodString>;
750
+ flairText: z.ZodOptional<z.ZodString>;
751
+ }, z.core.$strip>, z.ZodObject<{
752
+ kind: z.ZodLiteral<"link">;
753
+ subreddit: z.ZodString;
754
+ title: z.ZodString;
755
+ url: z.ZodURL;
756
+ nsfw: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
757
+ spoiler: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
758
+ sendReplies: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
759
+ flairId: z.ZodOptional<z.ZodString>;
760
+ flairText: z.ZodOptional<z.ZodString>;
761
+ }, z.core.$strip>], "kind">;
762
+ declare const RedditCreateCommentSchema: z.ZodObject<{
763
+ parentFullname: z.ZodString;
764
+ text: z.ZodString;
765
+ }, z.core.$strip>;
766
+ declare const RedditVoteSchema: z.ZodObject<{
767
+ fullname: z.ZodString;
768
+ direction: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<0>, z.ZodLiteral<-1>]>;
769
+ }, z.core.$strip>;
770
+ declare const RedditListSort: z.ZodEnum<{
771
+ hot: "hot";
772
+ new: "new";
773
+ top: "top";
774
+ rising: "rising";
775
+ controversial: "controversial";
776
+ }>;
777
+ declare const RedditListPostsSchema: z.ZodObject<{
778
+ subreddit: z.ZodString;
779
+ sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
780
+ hot: "hot";
781
+ new: "new";
782
+ top: "top";
783
+ rising: "rising";
784
+ controversial: "controversial";
785
+ }>>>;
786
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
787
+ after: z.ZodOptional<z.ZodString>;
788
+ before: z.ZodOptional<z.ZodString>;
789
+ }, z.core.$strip>;
790
+ declare const RedditSearchSchema: z.ZodObject<{
791
+ query: z.ZodString;
792
+ subreddit: z.ZodOptional<z.ZodString>;
793
+ sort: z.ZodOptional<z.ZodEnum<{
794
+ relevance: "relevance";
795
+ hot: "hot";
796
+ new: "new";
797
+ top: "top";
798
+ comments: "comments";
799
+ }>>;
800
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
801
+ }, z.core.$strip>;
802
+ declare const redditCapabilities: ProviderCapabilities;
803
+ declare const redditInfo: {
804
+ readonly name: "reddit";
805
+ readonly displayName: "Reddit";
806
+ readonly scopes: readonly ["identity", "submit", "read", "edit", "history", "mysubreddits", "subscribe", "vote"]; /** OAuth: 100 QPM per user. Sleep ≥1s between requests. */
807
+ readonly rateLimits: {
808
+ readonly perMinute: 100;
809
+ };
810
+ readonly docsUrl: "https://www.reddit.com/dev/api";
811
+ };
812
+ //#endregion
813
+ //#region src/schemas/index.d.ts
814
+ declare const allCapabilities: Record<string, ProviderCapabilities>;
815
+ /** Convenience: list provider names that have a given capability. */
816
+ declare function providersWithCapability<K extends keyof ProviderCapabilities>(key: K, value?: ProviderCapabilities[K]): string[];
817
+ //#endregion
818
+ export { ClientCredentials, facebook_d_exports as Facebook, FacebookCredentialsSchema, FieldMeta, ISODateTime, instagram_d_exports as Instagram, InstagramCredentialsSchema, linkedin_d_exports as LinkedIn, LinkedInCredentialsSchema, NonEmptyString, OAuthTokensInput, OAuthTokensSchema, PrivacyLevel, PublicUrl, reddit_d_exports as Reddit, RedditCredentialsSchema, telegram_d_exports as Telegram, TelegramCredentialsSchema, tiktok_d_exports as TikTok, TikTokCredentialsSchema, twitter_d_exports as Twitter, TwitterCredentialsSchema, whatsapp_d_exports as WhatsApp, WhatsAppCredentialsSchema, youtube_d_exports as YouTube, YouTubeCredentialsSchema, allCapabilities, facebookCapabilities, facebookInfo, fieldsFromSchema, instagramCapabilities, instagramInfo, linkedinCapabilities, linkedinInfo, providersWithCapability, redditCapabilities, redditInfo, telegramCapabilities, telegramInfo, tiktokCapabilities, tiktokInfo, twitterCapabilities, twitterInfo, whatsappCapabilities, whatsappInfo, youtubeCapabilities, youtubeInfo };
819
+ //# sourceMappingURL=index.d.mts.map