@devvit/protos 0.11.0-next-2024-07-10-85ade0a81.0 → 0.11.0-next-2024-07-11-9d8f8bdd4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2049,6 +2049,260 @@ export declare const TriggersDefinition: {
2049
2049
  permalink?: string;
2050
2050
  } | undefined;
2051
2051
  } | undefined;
2052
+ nsfwPostUpdate?: {
2053
+ post?: {
2054
+ id?: string;
2055
+ title?: string;
2056
+ selftext?: string;
2057
+ nsfw?: boolean;
2058
+ authorId?: string;
2059
+ crowdControlLevel?: import("../../reddit/v2alpha/postv2.js").CrowdControlLevel;
2060
+ numReports?: number;
2061
+ isGallery?: boolean;
2062
+ isMeta?: boolean;
2063
+ createdAt?: number;
2064
+ isApproved?: boolean;
2065
+ isArchived?: boolean;
2066
+ distinguished?: import("../../reddit/v2alpha/postv2.js").DistinguishType;
2067
+ ignoreReports?: boolean;
2068
+ isSelf?: boolean;
2069
+ isVideo?: boolean;
2070
+ isLocked?: boolean;
2071
+ isSpoiler?: boolean;
2072
+ subredditId?: string;
2073
+ upvotes?: number;
2074
+ downvotes?: number;
2075
+ url?: string;
2076
+ isSticky?: boolean;
2077
+ linkFlair?: {
2078
+ text?: string;
2079
+ cssClass?: string;
2080
+ backgroundColor?: string;
2081
+ templateId?: string;
2082
+ textColor?: string;
2083
+ } | undefined;
2084
+ authorFlair?: {
2085
+ userId?: string;
2086
+ subredditId?: string;
2087
+ text?: string;
2088
+ cssClass?: string;
2089
+ templateId?: string;
2090
+ textColor?: string;
2091
+ backgroundColor?: string;
2092
+ enabled?: boolean;
2093
+ } | undefined;
2094
+ spam?: boolean;
2095
+ deleted?: boolean;
2096
+ languageCode?: string;
2097
+ updatedAt?: number;
2098
+ gildings?: number;
2099
+ score?: number;
2100
+ numComments?: number;
2101
+ thumbnail?: string;
2102
+ media?: {
2103
+ type?: string;
2104
+ oembed?: {
2105
+ type?: string;
2106
+ version?: string;
2107
+ title?: string;
2108
+ description?: string;
2109
+ authorName?: string;
2110
+ authorUrl?: string;
2111
+ providerName?: string;
2112
+ providerUrl?: string;
2113
+ thumbnailUrl?: string;
2114
+ thumbnailWidth?: number;
2115
+ thumbnailHeight?: number;
2116
+ html?: string;
2117
+ width?: number;
2118
+ height?: number;
2119
+ } | undefined;
2120
+ redditVideo?: {
2121
+ bitrateKbps?: number;
2122
+ fallbackUrl?: string;
2123
+ height?: number;
2124
+ width?: number;
2125
+ scrubberMediaUrl?: string;
2126
+ dashUrl?: string;
2127
+ duration?: number;
2128
+ hlsUrl?: string;
2129
+ isGif?: boolean;
2130
+ transcodingStatus?: string;
2131
+ } | undefined;
2132
+ } | undefined;
2133
+ crosspostParentId?: string;
2134
+ permalink?: string;
2135
+ isPoll?: boolean;
2136
+ isPromoted?: boolean;
2137
+ isMultiMedia?: boolean;
2138
+ type?: string;
2139
+ unlisted?: boolean;
2140
+ galleryImages?: string[];
2141
+ isImage?: boolean;
2142
+ } | undefined;
2143
+ author?: {
2144
+ id?: string;
2145
+ name?: string;
2146
+ isGold?: boolean;
2147
+ snoovatarImage?: string;
2148
+ url?: string;
2149
+ spam?: boolean;
2150
+ banned?: boolean;
2151
+ flair?: {
2152
+ userId?: string;
2153
+ subredditId?: string;
2154
+ text?: string;
2155
+ cssClass?: string;
2156
+ templateId?: string;
2157
+ textColor?: string;
2158
+ backgroundColor?: string;
2159
+ enabled?: boolean;
2160
+ } | undefined;
2161
+ karma?: number;
2162
+ iconImage?: string;
2163
+ description?: string;
2164
+ } | undefined;
2165
+ isNsfw?: boolean;
2166
+ subreddit?: {
2167
+ id?: string;
2168
+ name?: string;
2169
+ nsfw?: boolean;
2170
+ type?: import("../../reddit/v2alpha/subredditv2.js").SubredditType;
2171
+ spam?: boolean;
2172
+ quarantined?: boolean;
2173
+ topics?: string[];
2174
+ rating?: import("../../reddit/v2alpha/subredditv2.js").SubredditRating;
2175
+ subscribersCount?: number;
2176
+ permalink?: string;
2177
+ } | undefined;
2178
+ } | undefined;
2179
+ spoilerPostUpdate?: {
2180
+ post?: {
2181
+ id?: string;
2182
+ title?: string;
2183
+ selftext?: string;
2184
+ nsfw?: boolean;
2185
+ authorId?: string;
2186
+ crowdControlLevel?: import("../../reddit/v2alpha/postv2.js").CrowdControlLevel;
2187
+ numReports?: number;
2188
+ isGallery?: boolean;
2189
+ isMeta?: boolean;
2190
+ createdAt?: number;
2191
+ isApproved?: boolean;
2192
+ isArchived?: boolean;
2193
+ distinguished?: import("../../reddit/v2alpha/postv2.js").DistinguishType;
2194
+ ignoreReports?: boolean;
2195
+ isSelf?: boolean;
2196
+ isVideo?: boolean;
2197
+ isLocked?: boolean;
2198
+ isSpoiler?: boolean;
2199
+ subredditId?: string;
2200
+ upvotes?: number;
2201
+ downvotes?: number;
2202
+ url?: string;
2203
+ isSticky?: boolean;
2204
+ linkFlair?: {
2205
+ text?: string;
2206
+ cssClass?: string;
2207
+ backgroundColor?: string;
2208
+ templateId?: string;
2209
+ textColor?: string;
2210
+ } | undefined;
2211
+ authorFlair?: {
2212
+ userId?: string;
2213
+ subredditId?: string;
2214
+ text?: string;
2215
+ cssClass?: string;
2216
+ templateId?: string;
2217
+ textColor?: string;
2218
+ backgroundColor?: string;
2219
+ enabled?: boolean;
2220
+ } | undefined;
2221
+ spam?: boolean;
2222
+ deleted?: boolean;
2223
+ languageCode?: string;
2224
+ updatedAt?: number;
2225
+ gildings?: number;
2226
+ score?: number;
2227
+ numComments?: number;
2228
+ thumbnail?: string;
2229
+ media?: {
2230
+ type?: string;
2231
+ oembed?: {
2232
+ type?: string;
2233
+ version?: string;
2234
+ title?: string;
2235
+ description?: string;
2236
+ authorName?: string;
2237
+ authorUrl?: string;
2238
+ providerName?: string;
2239
+ providerUrl?: string;
2240
+ thumbnailUrl?: string;
2241
+ thumbnailWidth?: number;
2242
+ thumbnailHeight?: number;
2243
+ html?: string;
2244
+ width?: number;
2245
+ height?: number;
2246
+ } | undefined;
2247
+ redditVideo?: {
2248
+ bitrateKbps?: number;
2249
+ fallbackUrl?: string;
2250
+ height?: number;
2251
+ width?: number;
2252
+ scrubberMediaUrl?: string;
2253
+ dashUrl?: string;
2254
+ duration?: number;
2255
+ hlsUrl?: string;
2256
+ isGif?: boolean;
2257
+ transcodingStatus?: string;
2258
+ } | undefined;
2259
+ } | undefined;
2260
+ crosspostParentId?: string;
2261
+ permalink?: string;
2262
+ isPoll?: boolean;
2263
+ isPromoted?: boolean;
2264
+ isMultiMedia?: boolean;
2265
+ type?: string;
2266
+ unlisted?: boolean;
2267
+ galleryImages?: string[];
2268
+ isImage?: boolean;
2269
+ } | undefined;
2270
+ author?: {
2271
+ id?: string;
2272
+ name?: string;
2273
+ isGold?: boolean;
2274
+ snoovatarImage?: string;
2275
+ url?: string;
2276
+ spam?: boolean;
2277
+ banned?: boolean;
2278
+ flair?: {
2279
+ userId?: string;
2280
+ subredditId?: string;
2281
+ text?: string;
2282
+ cssClass?: string;
2283
+ templateId?: string;
2284
+ textColor?: string;
2285
+ backgroundColor?: string;
2286
+ enabled?: boolean;
2287
+ } | undefined;
2288
+ karma?: number;
2289
+ iconImage?: string;
2290
+ description?: string;
2291
+ } | undefined;
2292
+ isNsfw?: boolean;
2293
+ subreddit?: {
2294
+ id?: string;
2295
+ name?: string;
2296
+ nsfw?: boolean;
2297
+ type?: import("../../reddit/v2alpha/subredditv2.js").SubredditType;
2298
+ spam?: boolean;
2299
+ quarantined?: boolean;
2300
+ topics?: string[];
2301
+ rating?: import("../../reddit/v2alpha/subredditv2.js").SubredditRating;
2302
+ subscribersCount?: number;
2303
+ permalink?: string;
2304
+ } | undefined;
2305
+ } | undefined;
2052
2306
  } | undefined): TriggerEvent;
2053
2307
  fromPartial(object: {
2054
2308
  id?: string;
@@ -3961,7 +4215,261 @@ export declare const TriggersDefinition: {
3961
4215
  galleryImages?: string[];
3962
4216
  isImage?: boolean;
3963
4217
  } | undefined;
3964
- approvedAt?: Date | undefined;
4218
+ approvedAt?: Date | undefined;
4219
+ author?: {
4220
+ id?: string;
4221
+ name?: string;
4222
+ isGold?: boolean;
4223
+ snoovatarImage?: string;
4224
+ url?: string;
4225
+ spam?: boolean;
4226
+ banned?: boolean;
4227
+ flair?: {
4228
+ userId?: string;
4229
+ subredditId?: string;
4230
+ text?: string;
4231
+ cssClass?: string;
4232
+ templateId?: string;
4233
+ textColor?: string;
4234
+ backgroundColor?: string;
4235
+ enabled?: boolean;
4236
+ } | undefined;
4237
+ karma?: number;
4238
+ iconImage?: string;
4239
+ description?: string;
4240
+ } | undefined;
4241
+ source?: import("../../events/v1alpha/events.js").EventSource;
4242
+ subreddit?: {
4243
+ id?: string;
4244
+ name?: string;
4245
+ nsfw?: boolean;
4246
+ type?: import("../../reddit/v2alpha/subredditv2.js").SubredditType;
4247
+ spam?: boolean;
4248
+ quarantined?: boolean;
4249
+ topics?: string[];
4250
+ rating?: import("../../reddit/v2alpha/subredditv2.js").SubredditRating;
4251
+ subscribersCount?: number;
4252
+ permalink?: string;
4253
+ } | undefined;
4254
+ } | undefined;
4255
+ nsfwPostUpdate?: {
4256
+ post?: {
4257
+ id?: string;
4258
+ title?: string;
4259
+ selftext?: string;
4260
+ nsfw?: boolean;
4261
+ authorId?: string;
4262
+ crowdControlLevel?: import("../../reddit/v2alpha/postv2.js").CrowdControlLevel;
4263
+ numReports?: number;
4264
+ isGallery?: boolean;
4265
+ isMeta?: boolean;
4266
+ createdAt?: number;
4267
+ isApproved?: boolean;
4268
+ isArchived?: boolean;
4269
+ distinguished?: import("../../reddit/v2alpha/postv2.js").DistinguishType;
4270
+ ignoreReports?: boolean;
4271
+ isSelf?: boolean;
4272
+ isVideo?: boolean;
4273
+ isLocked?: boolean;
4274
+ isSpoiler?: boolean;
4275
+ subredditId?: string;
4276
+ upvotes?: number;
4277
+ downvotes?: number;
4278
+ url?: string;
4279
+ isSticky?: boolean;
4280
+ linkFlair?: {
4281
+ text?: string;
4282
+ cssClass?: string;
4283
+ backgroundColor?: string;
4284
+ templateId?: string;
4285
+ textColor?: string;
4286
+ } | undefined;
4287
+ authorFlair?: {
4288
+ userId?: string;
4289
+ subredditId?: string;
4290
+ text?: string;
4291
+ cssClass?: string;
4292
+ templateId?: string;
4293
+ textColor?: string;
4294
+ backgroundColor?: string;
4295
+ enabled?: boolean;
4296
+ } | undefined;
4297
+ spam?: boolean;
4298
+ deleted?: boolean;
4299
+ languageCode?: string;
4300
+ updatedAt?: number;
4301
+ gildings?: number;
4302
+ score?: number;
4303
+ numComments?: number;
4304
+ thumbnail?: string;
4305
+ media?: {
4306
+ type?: string;
4307
+ oembed?: {
4308
+ type?: string;
4309
+ version?: string;
4310
+ title?: string;
4311
+ description?: string;
4312
+ authorName?: string;
4313
+ authorUrl?: string;
4314
+ providerName?: string;
4315
+ providerUrl?: string;
4316
+ thumbnailUrl?: string;
4317
+ thumbnailWidth?: number;
4318
+ thumbnailHeight?: number;
4319
+ html?: string;
4320
+ width?: number;
4321
+ height?: number;
4322
+ } | undefined;
4323
+ redditVideo?: {
4324
+ bitrateKbps?: number;
4325
+ fallbackUrl?: string;
4326
+ height?: number;
4327
+ width?: number;
4328
+ scrubberMediaUrl?: string;
4329
+ dashUrl?: string;
4330
+ duration?: number;
4331
+ hlsUrl?: string;
4332
+ isGif?: boolean;
4333
+ transcodingStatus?: string;
4334
+ } | undefined;
4335
+ } | undefined;
4336
+ crosspostParentId?: string;
4337
+ permalink?: string;
4338
+ isPoll?: boolean;
4339
+ isPromoted?: boolean;
4340
+ isMultiMedia?: boolean;
4341
+ type?: string;
4342
+ unlisted?: boolean;
4343
+ galleryImages?: string[];
4344
+ isImage?: boolean;
4345
+ } | undefined;
4346
+ author?: {
4347
+ id?: string;
4348
+ name?: string;
4349
+ isGold?: boolean;
4350
+ snoovatarImage?: string;
4351
+ url?: string;
4352
+ spam?: boolean;
4353
+ banned?: boolean;
4354
+ flair?: {
4355
+ userId?: string;
4356
+ subredditId?: string;
4357
+ text?: string;
4358
+ cssClass?: string;
4359
+ templateId?: string;
4360
+ textColor?: string;
4361
+ backgroundColor?: string;
4362
+ enabled?: boolean;
4363
+ } | undefined;
4364
+ karma?: number;
4365
+ iconImage?: string;
4366
+ description?: string;
4367
+ } | undefined;
4368
+ isNsfw?: boolean;
4369
+ subreddit?: {
4370
+ id?: string;
4371
+ name?: string;
4372
+ nsfw?: boolean;
4373
+ type?: import("../../reddit/v2alpha/subredditv2.js").SubredditType;
4374
+ spam?: boolean;
4375
+ quarantined?: boolean;
4376
+ topics?: string[];
4377
+ rating?: import("../../reddit/v2alpha/subredditv2.js").SubredditRating;
4378
+ subscribersCount?: number;
4379
+ permalink?: string;
4380
+ } | undefined;
4381
+ } | undefined;
4382
+ spoilerPostUpdate?: {
4383
+ post?: {
4384
+ id?: string;
4385
+ title?: string;
4386
+ selftext?: string;
4387
+ nsfw?: boolean;
4388
+ authorId?: string;
4389
+ crowdControlLevel?: import("../../reddit/v2alpha/postv2.js").CrowdControlLevel;
4390
+ numReports?: number;
4391
+ isGallery?: boolean;
4392
+ isMeta?: boolean;
4393
+ createdAt?: number;
4394
+ isApproved?: boolean;
4395
+ isArchived?: boolean;
4396
+ distinguished?: import("../../reddit/v2alpha/postv2.js").DistinguishType;
4397
+ ignoreReports?: boolean;
4398
+ isSelf?: boolean;
4399
+ isVideo?: boolean;
4400
+ isLocked?: boolean;
4401
+ isSpoiler?: boolean;
4402
+ subredditId?: string;
4403
+ upvotes?: number;
4404
+ downvotes?: number;
4405
+ url?: string;
4406
+ isSticky?: boolean;
4407
+ linkFlair?: {
4408
+ text?: string;
4409
+ cssClass?: string;
4410
+ backgroundColor?: string;
4411
+ templateId?: string;
4412
+ textColor?: string;
4413
+ } | undefined;
4414
+ authorFlair?: {
4415
+ userId?: string;
4416
+ subredditId?: string;
4417
+ text?: string;
4418
+ cssClass?: string;
4419
+ templateId?: string;
4420
+ textColor?: string;
4421
+ backgroundColor?: string;
4422
+ enabled?: boolean;
4423
+ } | undefined;
4424
+ spam?: boolean;
4425
+ deleted?: boolean;
4426
+ languageCode?: string;
4427
+ updatedAt?: number;
4428
+ gildings?: number;
4429
+ score?: number;
4430
+ numComments?: number;
4431
+ thumbnail?: string;
4432
+ media?: {
4433
+ type?: string;
4434
+ oembed?: {
4435
+ type?: string;
4436
+ version?: string;
4437
+ title?: string;
4438
+ description?: string;
4439
+ authorName?: string;
4440
+ authorUrl?: string;
4441
+ providerName?: string;
4442
+ providerUrl?: string;
4443
+ thumbnailUrl?: string;
4444
+ thumbnailWidth?: number;
4445
+ thumbnailHeight?: number;
4446
+ html?: string;
4447
+ width?: number;
4448
+ height?: number;
4449
+ } | undefined;
4450
+ redditVideo?: {
4451
+ bitrateKbps?: number;
4452
+ fallbackUrl?: string;
4453
+ height?: number;
4454
+ width?: number;
4455
+ scrubberMediaUrl?: string;
4456
+ dashUrl?: string;
4457
+ duration?: number;
4458
+ hlsUrl?: string;
4459
+ isGif?: boolean;
4460
+ transcodingStatus?: string;
4461
+ } | undefined;
4462
+ } | undefined;
4463
+ crosspostParentId?: string;
4464
+ permalink?: string;
4465
+ isPoll?: boolean;
4466
+ isPromoted?: boolean;
4467
+ isMultiMedia?: boolean;
4468
+ type?: string;
4469
+ unlisted?: boolean;
4470
+ galleryImages?: string[];
4471
+ isImage?: boolean;
4472
+ } | undefined;
3965
4473
  author?: {
3966
4474
  id?: string;
3967
4475
  name?: string;
@@ -3984,7 +4492,7 @@ export declare const TriggersDefinition: {
3984
4492
  iconImage?: string;
3985
4493
  description?: string;
3986
4494
  } | undefined;
3987
- source?: import("../../events/v1alpha/events.js").EventSource;
4495
+ isNsfw?: boolean;
3988
4496
  subreddit?: {
3989
4497
  id?: string;
3990
4498
  name?: string;
@@ -5932,7 +6440,261 @@ export declare const TriggersDefinition: {
5932
6440
  galleryImages?: string[];
5933
6441
  isImage?: boolean;
5934
6442
  } | undefined;
5935
- approvedAt?: Date | undefined;
6443
+ approvedAt?: Date | undefined;
6444
+ author?: {
6445
+ id?: string;
6446
+ name?: string;
6447
+ isGold?: boolean;
6448
+ snoovatarImage?: string;
6449
+ url?: string;
6450
+ spam?: boolean;
6451
+ banned?: boolean;
6452
+ flair?: {
6453
+ userId?: string;
6454
+ subredditId?: string;
6455
+ text?: string;
6456
+ cssClass?: string;
6457
+ templateId?: string;
6458
+ textColor?: string;
6459
+ backgroundColor?: string;
6460
+ enabled?: boolean;
6461
+ } | undefined;
6462
+ karma?: number;
6463
+ iconImage?: string;
6464
+ description?: string;
6465
+ } | undefined;
6466
+ source?: import("../../events/v1alpha/events.js").EventSource;
6467
+ subreddit?: {
6468
+ id?: string;
6469
+ name?: string;
6470
+ nsfw?: boolean;
6471
+ type?: import("../../reddit/v2alpha/subredditv2.js").SubredditType;
6472
+ spam?: boolean;
6473
+ quarantined?: boolean;
6474
+ topics?: string[];
6475
+ rating?: import("../../reddit/v2alpha/subredditv2.js").SubredditRating;
6476
+ subscribersCount?: number;
6477
+ permalink?: string;
6478
+ } | undefined;
6479
+ } | undefined;
6480
+ nsfwPostUpdate?: {
6481
+ post?: {
6482
+ id?: string;
6483
+ title?: string;
6484
+ selftext?: string;
6485
+ nsfw?: boolean;
6486
+ authorId?: string;
6487
+ crowdControlLevel?: import("../../reddit/v2alpha/postv2.js").CrowdControlLevel;
6488
+ numReports?: number;
6489
+ isGallery?: boolean;
6490
+ isMeta?: boolean;
6491
+ createdAt?: number;
6492
+ isApproved?: boolean;
6493
+ isArchived?: boolean;
6494
+ distinguished?: import("../../reddit/v2alpha/postv2.js").DistinguishType;
6495
+ ignoreReports?: boolean;
6496
+ isSelf?: boolean;
6497
+ isVideo?: boolean;
6498
+ isLocked?: boolean;
6499
+ isSpoiler?: boolean;
6500
+ subredditId?: string;
6501
+ upvotes?: number;
6502
+ downvotes?: number;
6503
+ url?: string;
6504
+ isSticky?: boolean;
6505
+ linkFlair?: {
6506
+ text?: string;
6507
+ cssClass?: string;
6508
+ backgroundColor?: string;
6509
+ templateId?: string;
6510
+ textColor?: string;
6511
+ } | undefined;
6512
+ authorFlair?: {
6513
+ userId?: string;
6514
+ subredditId?: string;
6515
+ text?: string;
6516
+ cssClass?: string;
6517
+ templateId?: string;
6518
+ textColor?: string;
6519
+ backgroundColor?: string;
6520
+ enabled?: boolean;
6521
+ } | undefined;
6522
+ spam?: boolean;
6523
+ deleted?: boolean;
6524
+ languageCode?: string;
6525
+ updatedAt?: number;
6526
+ gildings?: number;
6527
+ score?: number;
6528
+ numComments?: number;
6529
+ thumbnail?: string;
6530
+ media?: {
6531
+ type?: string;
6532
+ oembed?: {
6533
+ type?: string;
6534
+ version?: string;
6535
+ title?: string;
6536
+ description?: string;
6537
+ authorName?: string;
6538
+ authorUrl?: string;
6539
+ providerName?: string;
6540
+ providerUrl?: string;
6541
+ thumbnailUrl?: string;
6542
+ thumbnailWidth?: number;
6543
+ thumbnailHeight?: number;
6544
+ html?: string;
6545
+ width?: number;
6546
+ height?: number;
6547
+ } | undefined;
6548
+ redditVideo?: {
6549
+ bitrateKbps?: number;
6550
+ fallbackUrl?: string;
6551
+ height?: number;
6552
+ width?: number;
6553
+ scrubberMediaUrl?: string;
6554
+ dashUrl?: string;
6555
+ duration?: number;
6556
+ hlsUrl?: string;
6557
+ isGif?: boolean;
6558
+ transcodingStatus?: string;
6559
+ } | undefined;
6560
+ } | undefined;
6561
+ crosspostParentId?: string;
6562
+ permalink?: string;
6563
+ isPoll?: boolean;
6564
+ isPromoted?: boolean;
6565
+ isMultiMedia?: boolean;
6566
+ type?: string;
6567
+ unlisted?: boolean;
6568
+ galleryImages?: string[];
6569
+ isImage?: boolean;
6570
+ } | undefined;
6571
+ author?: {
6572
+ id?: string;
6573
+ name?: string;
6574
+ isGold?: boolean;
6575
+ snoovatarImage?: string;
6576
+ url?: string;
6577
+ spam?: boolean;
6578
+ banned?: boolean;
6579
+ flair?: {
6580
+ userId?: string;
6581
+ subredditId?: string;
6582
+ text?: string;
6583
+ cssClass?: string;
6584
+ templateId?: string;
6585
+ textColor?: string;
6586
+ backgroundColor?: string;
6587
+ enabled?: boolean;
6588
+ } | undefined;
6589
+ karma?: number;
6590
+ iconImage?: string;
6591
+ description?: string;
6592
+ } | undefined;
6593
+ isNsfw?: boolean;
6594
+ subreddit?: {
6595
+ id?: string;
6596
+ name?: string;
6597
+ nsfw?: boolean;
6598
+ type?: import("../../reddit/v2alpha/subredditv2.js").SubredditType;
6599
+ spam?: boolean;
6600
+ quarantined?: boolean;
6601
+ topics?: string[];
6602
+ rating?: import("../../reddit/v2alpha/subredditv2.js").SubredditRating;
6603
+ subscribersCount?: number;
6604
+ permalink?: string;
6605
+ } | undefined;
6606
+ } | undefined;
6607
+ spoilerPostUpdate?: {
6608
+ post?: {
6609
+ id?: string;
6610
+ title?: string;
6611
+ selftext?: string;
6612
+ nsfw?: boolean;
6613
+ authorId?: string;
6614
+ crowdControlLevel?: import("../../reddit/v2alpha/postv2.js").CrowdControlLevel;
6615
+ numReports?: number;
6616
+ isGallery?: boolean;
6617
+ isMeta?: boolean;
6618
+ createdAt?: number;
6619
+ isApproved?: boolean;
6620
+ isArchived?: boolean;
6621
+ distinguished?: import("../../reddit/v2alpha/postv2.js").DistinguishType;
6622
+ ignoreReports?: boolean;
6623
+ isSelf?: boolean;
6624
+ isVideo?: boolean;
6625
+ isLocked?: boolean;
6626
+ isSpoiler?: boolean;
6627
+ subredditId?: string;
6628
+ upvotes?: number;
6629
+ downvotes?: number;
6630
+ url?: string;
6631
+ isSticky?: boolean;
6632
+ linkFlair?: {
6633
+ text?: string;
6634
+ cssClass?: string;
6635
+ backgroundColor?: string;
6636
+ templateId?: string;
6637
+ textColor?: string;
6638
+ } | undefined;
6639
+ authorFlair?: {
6640
+ userId?: string;
6641
+ subredditId?: string;
6642
+ text?: string;
6643
+ cssClass?: string;
6644
+ templateId?: string;
6645
+ textColor?: string;
6646
+ backgroundColor?: string;
6647
+ enabled?: boolean;
6648
+ } | undefined;
6649
+ spam?: boolean;
6650
+ deleted?: boolean;
6651
+ languageCode?: string;
6652
+ updatedAt?: number;
6653
+ gildings?: number;
6654
+ score?: number;
6655
+ numComments?: number;
6656
+ thumbnail?: string;
6657
+ media?: {
6658
+ type?: string;
6659
+ oembed?: {
6660
+ type?: string;
6661
+ version?: string;
6662
+ title?: string;
6663
+ description?: string;
6664
+ authorName?: string;
6665
+ authorUrl?: string;
6666
+ providerName?: string;
6667
+ providerUrl?: string;
6668
+ thumbnailUrl?: string;
6669
+ thumbnailWidth?: number;
6670
+ thumbnailHeight?: number;
6671
+ html?: string;
6672
+ width?: number;
6673
+ height?: number;
6674
+ } | undefined;
6675
+ redditVideo?: {
6676
+ bitrateKbps?: number;
6677
+ fallbackUrl?: string;
6678
+ height?: number;
6679
+ width?: number;
6680
+ scrubberMediaUrl?: string;
6681
+ dashUrl?: string;
6682
+ duration?: number;
6683
+ hlsUrl?: string;
6684
+ isGif?: boolean;
6685
+ transcodingStatus?: string;
6686
+ } | undefined;
6687
+ } | undefined;
6688
+ crosspostParentId?: string;
6689
+ permalink?: string;
6690
+ isPoll?: boolean;
6691
+ isPromoted?: boolean;
6692
+ isMultiMedia?: boolean;
6693
+ type?: string;
6694
+ unlisted?: boolean;
6695
+ galleryImages?: string[];
6696
+ isImage?: boolean;
6697
+ } | undefined;
5936
6698
  author?: {
5937
6699
  id?: string;
5938
6700
  name?: string;
@@ -5955,7 +6717,7 @@ export declare const TriggersDefinition: {
5955
6717
  iconImage?: string;
5956
6718
  description?: string;
5957
6719
  } | undefined;
5958
- source?: import("../../events/v1alpha/events.js").EventSource;
6720
+ isNsfw?: boolean;
5959
6721
  subreddit?: {
5960
6722
  id?: string;
5961
6723
  name?: string;
@@ -7918,6 +8680,260 @@ export declare const TriggersDefinition: {
7918
8680
  permalink?: string;
7919
8681
  } | undefined;
7920
8682
  } | undefined;
8683
+ nsfwPostUpdate?: {
8684
+ post?: {
8685
+ id?: string;
8686
+ title?: string;
8687
+ selftext?: string;
8688
+ nsfw?: boolean;
8689
+ authorId?: string;
8690
+ crowdControlLevel?: import("../../reddit/v2alpha/postv2.js").CrowdControlLevel;
8691
+ numReports?: number;
8692
+ isGallery?: boolean;
8693
+ isMeta?: boolean;
8694
+ createdAt?: number;
8695
+ isApproved?: boolean;
8696
+ isArchived?: boolean;
8697
+ distinguished?: import("../../reddit/v2alpha/postv2.js").DistinguishType;
8698
+ ignoreReports?: boolean;
8699
+ isSelf?: boolean;
8700
+ isVideo?: boolean;
8701
+ isLocked?: boolean;
8702
+ isSpoiler?: boolean;
8703
+ subredditId?: string;
8704
+ upvotes?: number;
8705
+ downvotes?: number;
8706
+ url?: string;
8707
+ isSticky?: boolean;
8708
+ linkFlair?: {
8709
+ text?: string;
8710
+ cssClass?: string;
8711
+ backgroundColor?: string;
8712
+ templateId?: string;
8713
+ textColor?: string;
8714
+ } | undefined;
8715
+ authorFlair?: {
8716
+ userId?: string;
8717
+ subredditId?: string;
8718
+ text?: string;
8719
+ cssClass?: string;
8720
+ templateId?: string;
8721
+ textColor?: string;
8722
+ backgroundColor?: string;
8723
+ enabled?: boolean;
8724
+ } | undefined;
8725
+ spam?: boolean;
8726
+ deleted?: boolean;
8727
+ languageCode?: string;
8728
+ updatedAt?: number;
8729
+ gildings?: number;
8730
+ score?: number;
8731
+ numComments?: number;
8732
+ thumbnail?: string;
8733
+ media?: {
8734
+ type?: string;
8735
+ oembed?: {
8736
+ type?: string;
8737
+ version?: string;
8738
+ title?: string;
8739
+ description?: string;
8740
+ authorName?: string;
8741
+ authorUrl?: string;
8742
+ providerName?: string;
8743
+ providerUrl?: string;
8744
+ thumbnailUrl?: string;
8745
+ thumbnailWidth?: number;
8746
+ thumbnailHeight?: number;
8747
+ html?: string;
8748
+ width?: number;
8749
+ height?: number;
8750
+ } | undefined;
8751
+ redditVideo?: {
8752
+ bitrateKbps?: number;
8753
+ fallbackUrl?: string;
8754
+ height?: number;
8755
+ width?: number;
8756
+ scrubberMediaUrl?: string;
8757
+ dashUrl?: string;
8758
+ duration?: number;
8759
+ hlsUrl?: string;
8760
+ isGif?: boolean;
8761
+ transcodingStatus?: string;
8762
+ } | undefined;
8763
+ } | undefined;
8764
+ crosspostParentId?: string;
8765
+ permalink?: string;
8766
+ isPoll?: boolean;
8767
+ isPromoted?: boolean;
8768
+ isMultiMedia?: boolean;
8769
+ type?: string;
8770
+ unlisted?: boolean;
8771
+ galleryImages?: string[];
8772
+ isImage?: boolean;
8773
+ } | undefined;
8774
+ author?: {
8775
+ id?: string;
8776
+ name?: string;
8777
+ isGold?: boolean;
8778
+ snoovatarImage?: string;
8779
+ url?: string;
8780
+ spam?: boolean;
8781
+ banned?: boolean;
8782
+ flair?: {
8783
+ userId?: string;
8784
+ subredditId?: string;
8785
+ text?: string;
8786
+ cssClass?: string;
8787
+ templateId?: string;
8788
+ textColor?: string;
8789
+ backgroundColor?: string;
8790
+ enabled?: boolean;
8791
+ } | undefined;
8792
+ karma?: number;
8793
+ iconImage?: string;
8794
+ description?: string;
8795
+ } | undefined;
8796
+ isNsfw?: boolean;
8797
+ subreddit?: {
8798
+ id?: string;
8799
+ name?: string;
8800
+ nsfw?: boolean;
8801
+ type?: import("../../reddit/v2alpha/subredditv2.js").SubredditType;
8802
+ spam?: boolean;
8803
+ quarantined?: boolean;
8804
+ topics?: string[];
8805
+ rating?: import("../../reddit/v2alpha/subredditv2.js").SubredditRating;
8806
+ subscribersCount?: number;
8807
+ permalink?: string;
8808
+ } | undefined;
8809
+ } | undefined;
8810
+ spoilerPostUpdate?: {
8811
+ post?: {
8812
+ id?: string;
8813
+ title?: string;
8814
+ selftext?: string;
8815
+ nsfw?: boolean;
8816
+ authorId?: string;
8817
+ crowdControlLevel?: import("../../reddit/v2alpha/postv2.js").CrowdControlLevel;
8818
+ numReports?: number;
8819
+ isGallery?: boolean;
8820
+ isMeta?: boolean;
8821
+ createdAt?: number;
8822
+ isApproved?: boolean;
8823
+ isArchived?: boolean;
8824
+ distinguished?: import("../../reddit/v2alpha/postv2.js").DistinguishType;
8825
+ ignoreReports?: boolean;
8826
+ isSelf?: boolean;
8827
+ isVideo?: boolean;
8828
+ isLocked?: boolean;
8829
+ isSpoiler?: boolean;
8830
+ subredditId?: string;
8831
+ upvotes?: number;
8832
+ downvotes?: number;
8833
+ url?: string;
8834
+ isSticky?: boolean;
8835
+ linkFlair?: {
8836
+ text?: string;
8837
+ cssClass?: string;
8838
+ backgroundColor?: string;
8839
+ templateId?: string;
8840
+ textColor?: string;
8841
+ } | undefined;
8842
+ authorFlair?: {
8843
+ userId?: string;
8844
+ subredditId?: string;
8845
+ text?: string;
8846
+ cssClass?: string;
8847
+ templateId?: string;
8848
+ textColor?: string;
8849
+ backgroundColor?: string;
8850
+ enabled?: boolean;
8851
+ } | undefined;
8852
+ spam?: boolean;
8853
+ deleted?: boolean;
8854
+ languageCode?: string;
8855
+ updatedAt?: number;
8856
+ gildings?: number;
8857
+ score?: number;
8858
+ numComments?: number;
8859
+ thumbnail?: string;
8860
+ media?: {
8861
+ type?: string;
8862
+ oembed?: {
8863
+ type?: string;
8864
+ version?: string;
8865
+ title?: string;
8866
+ description?: string;
8867
+ authorName?: string;
8868
+ authorUrl?: string;
8869
+ providerName?: string;
8870
+ providerUrl?: string;
8871
+ thumbnailUrl?: string;
8872
+ thumbnailWidth?: number;
8873
+ thumbnailHeight?: number;
8874
+ html?: string;
8875
+ width?: number;
8876
+ height?: number;
8877
+ } | undefined;
8878
+ redditVideo?: {
8879
+ bitrateKbps?: number;
8880
+ fallbackUrl?: string;
8881
+ height?: number;
8882
+ width?: number;
8883
+ scrubberMediaUrl?: string;
8884
+ dashUrl?: string;
8885
+ duration?: number;
8886
+ hlsUrl?: string;
8887
+ isGif?: boolean;
8888
+ transcodingStatus?: string;
8889
+ } | undefined;
8890
+ } | undefined;
8891
+ crosspostParentId?: string;
8892
+ permalink?: string;
8893
+ isPoll?: boolean;
8894
+ isPromoted?: boolean;
8895
+ isMultiMedia?: boolean;
8896
+ type?: string;
8897
+ unlisted?: boolean;
8898
+ galleryImages?: string[];
8899
+ isImage?: boolean;
8900
+ } | undefined;
8901
+ author?: {
8902
+ id?: string;
8903
+ name?: string;
8904
+ isGold?: boolean;
8905
+ snoovatarImage?: string;
8906
+ url?: string;
8907
+ spam?: boolean;
8908
+ banned?: boolean;
8909
+ flair?: {
8910
+ userId?: string;
8911
+ subredditId?: string;
8912
+ text?: string;
8913
+ cssClass?: string;
8914
+ templateId?: string;
8915
+ textColor?: string;
8916
+ backgroundColor?: string;
8917
+ enabled?: boolean;
8918
+ } | undefined;
8919
+ karma?: number;
8920
+ iconImage?: string;
8921
+ description?: string;
8922
+ } | undefined;
8923
+ isNsfw?: boolean;
8924
+ subreddit?: {
8925
+ id?: string;
8926
+ name?: string;
8927
+ nsfw?: boolean;
8928
+ type?: import("../../reddit/v2alpha/subredditv2.js").SubredditType;
8929
+ spam?: boolean;
8930
+ quarantined?: boolean;
8931
+ topics?: string[];
8932
+ rating?: import("../../reddit/v2alpha/subredditv2.js").SubredditRating;
8933
+ subscribersCount?: number;
8934
+ permalink?: string;
8935
+ } | undefined;
8936
+ } | undefined;
7921
8937
  }): TriggerEvent;
7922
8938
  };
7923
8939
  readonly requestStream: false;