@devvit/public-api 0.11.0-next-2024-07-10-032c868ba.0 → 0.11.0-next-2024-07-10-c63149a74.0

Sign up to get free protection for your applications and to get access to all the features.
package/public-api.d.ts CHANGED
@@ -378,7 +378,7 @@ declare abstract class Actor {
378
378
  }
379
379
 
380
380
  /** Any Known Actor Definitions */
381
- declare type ActorDefinition = AppSettingsDefinition | AssetResolverDefinition | BotDefinition | BuildPackDefinition | BuilderDefinition | BundleServiceDefinition | CacheUtilsDefinition | ClockDefinition | ContextActionDefinition | CustomActionsDefinition | CustomPostDefinition | CustomPostSnapshotResolverDefinition | DevvitProfilerDefinition | EnvelopeReceiverPortDefinition | FlairDefinition | GraphQLDefinition | HTTPDefinition | HelloDefinition | InspectorDefinition | InstallationSettingsDefinition | InstanceSettingsDefinition | KVStoreDefinition | LinkerDefinition | LinksAndCommentsDefinition | ListingsDefinition | LoggerDefinition | MediaServiceDefinition | ModInviteUtilsDefinition | ModNoteDefinition | ModerationDefinition | ModlogDefinition | NewModmailDefinition | OnAccountDeleteDefinition | OnAppInstallDefinition | OnAppUpgradeDefinition | OnCommentApproveDefinition | OnCommentCreateDefinition | OnCommentDeleteDefinition | OnCommentReportDefinition | OnCommentSubmitDefinition | OnCommentUpdateDefinition | OnModActionDefinition | OnModMailDefinition | PaymentsServiceDefinition | OnPostApproveDefinition | OnPostCreateDefinition | OnPostDeleteDefinition | OnPostFlairUpdateDefinition | OnPostReportDefinition | OnPostSubmitDefinition | OnPostUpdateDefinition | OnSubredditSubscribeDefinition | PostCollectionsDefinition | PostFilterDefinition | PrivateMessagesDefinition | ProducerDefinition | RealtimeDefinition | RedditAPIV2Definition | RedisAPIDefinition | RemoteLogConsumerDefinition | RemoteLogPublisherDefinition | ResolverDefinition | SchedulerDefinition | SchedulerHandlerDefinition | SettingsDefinition | StreamBrokerDefinition | StreamsDefinition | SubredditMetadataResolverDefinition | SubredditsDefinition | TimerDefinition | TriggersDefinition | UIEventHandlerDefinition | UserConfigurableDefinition | UsersDefinition | V2EventsDefinition | WidgetsDefinition | WikiDefinition | WrapperTypesDefinition;
381
+ declare type ActorDefinition = AppSettingsDefinition | AssetResolverDefinition | BotDefinition | BuildPackDefinition | BuilderDefinition | BundleServiceDefinition | CacheUtilsDefinition | ClockDefinition | ContextActionDefinition | CustomActionsDefinition | CustomPostDefinition | CustomPostSnapshotResolverDefinition | DevvitProfilerDefinition | EnvelopeReceiverPortDefinition | FlairDefinition | GraphQLDefinition | HTTPDefinition | HelloDefinition | InspectorDefinition | InstallationSettingsDefinition | InstanceSettingsDefinition | KVStoreDefinition | LinkerDefinition | LinksAndCommentsDefinition | ListingsDefinition | LoggerDefinition | MediaServiceDefinition | ModInviteUtilsDefinition | ModNoteDefinition | ModerationDefinition | ModlogDefinition | NewModmailDefinition | OnAccountDeleteDefinition | OnAppInstallDefinition | OnAppUpgradeDefinition | OnCommentApproveDefinition | OnCommentCreateDefinition | OnCommentDeleteDefinition | OnCommentReportDefinition | OnCommentSubmitDefinition | OnCommentUpdateDefinition | OnModActionDefinition | OnModMailDefinition | PaymentsServiceDefinition | OnPostApproveDefinition | OnPostCreateDefinition | OnPostDeleteDefinition | OnPostFlairUpdateDefinition | OnPostReportDefinition | OnPostSubmitDefinition | OnPostUpdateDefinition | OnPostNsfwUpdateDefinition | OnPostSpoilerUpdateDefinition | OnSubredditSubscribeDefinition | PostCollectionsDefinition | PostFilterDefinition | PrivateMessagesDefinition | ProducerDefinition | RealtimeDefinition | RedditAPIV2Definition | RedisAPIDefinition | RemoteLogConsumerDefinition | RemoteLogPublisherDefinition | ResolverDefinition | SchedulerDefinition | SchedulerHandlerDefinition | SettingsDefinition | StreamBrokerDefinition | StreamsDefinition | SubredditMetadataResolverDefinition | SubredditsDefinition | TimerDefinition | TriggersDefinition | UIEventHandlerDefinition | UserConfigurableDefinition | UsersDefinition | V2EventsDefinition | WidgetsDefinition | WikiDefinition | WrapperTypesDefinition;
382
382
 
383
383
  /** Map from any known actor name to their client. */
384
384
  declare type ActorNameClientMap = {
@@ -429,6 +429,8 @@ declare type ActorNameClientMap = {
429
429
  OnPostCreate: OnPostCreate;
430
430
  OnPostDelete: OnPostDelete;
431
431
  OnPostFlairUpdate: OnPostFlairUpdate;
432
+ OnPostNsfwUpdate: OnPostNsfwUpdate;
433
+ OnPostSpoilerUpdate: OnPostSpoilerUpdate;
432
434
  OnPostReport: OnPostReport;
433
435
  OnPostSubmit: OnPostSubmit;
434
436
  OnPostUpdate: OnPostUpdate;
@@ -37833,33 +37835,33 @@ declare const OnPostFlairUpdateDefinition: {
37833
37835
 
37834
37836
  declare const OnPostFlairUpdateServiceName = "devvit.actor.automation.v1alpha.OnPostFlairUpdate";
37835
37837
 
37836
- declare interface OnPostReport {
37837
- OnPostReport(request: PostReport_2, metadata?: Metadata): Promise<HandlerResult>;
37838
+ declare interface OnPostNsfwUpdate {
37839
+ OnPostNsfwUpdate(request: PostNsfwUpdate_2, metadata?: Metadata): Promise<HandlerResult>;
37838
37840
  }
37839
37841
 
37840
- declare class OnPostReportClientImpl implements OnPostReport {
37842
+ declare class OnPostNsfwUpdateClientImpl implements OnPostNsfwUpdate {
37841
37843
  private readonly rpc;
37842
37844
  private readonly service;
37843
37845
  constructor(rpc: Rpc_65, opts?: {
37844
37846
  service?: string;
37845
37847
  });
37846
- OnPostReport(request: PostReport_2, metadata?: Metadata): Promise<HandlerResult>;
37848
+ OnPostNsfwUpdate(request: PostNsfwUpdate_2, metadata?: Metadata): Promise<HandlerResult>;
37847
37849
  }
37848
37850
 
37849
- declare type OnPostReportDefinition = typeof OnPostReportDefinition;
37851
+ declare type OnPostNsfwUpdateDefinition = typeof OnPostNsfwUpdateDefinition;
37850
37852
 
37851
- declare const OnPostReportDefinition: {
37852
- readonly name: "OnPostReport";
37853
- readonly fullName: "devvit.actor.automation.v1alpha.OnPostReport";
37853
+ declare const OnPostNsfwUpdateDefinition: {
37854
+ readonly name: "OnPostNsfwUpdate";
37855
+ readonly fullName: "devvit.actor.automation.v1alpha.OnPostNsfwUpdate";
37854
37856
  readonly methods: {
37855
- readonly onPostReport: {
37856
- readonly name: "OnPostReport";
37857
+ readonly onPostNsfwUpdate: {
37858
+ readonly name: "OnPostNsfwUpdate";
37857
37859
  readonly requestType: {
37858
- $type: "devvit.events.v1alpha.PostReport";
37859
- encode(message: PostReport_2, writer?: _m0.Writer): _m0.Writer;
37860
- decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PostReport_2;
37861
- fromJSON(object: any): PostReport_2;
37862
- toJSON(message: PostReport_2): unknown;
37860
+ $type: "devvit.events.v1alpha.PostNsfwUpdate";
37861
+ encode(message: PostNsfwUpdate_2, writer?: _m0.Writer): _m0.Writer;
37862
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PostNsfwUpdate_2;
37863
+ fromJSON(object: any): PostNsfwUpdate_2;
37864
+ toJSON(message: PostNsfwUpdate_2): unknown;
37863
37865
  create(base?: {
37864
37866
  post?: {
37865
37867
  id?: string;
@@ -37951,6 +37953,29 @@ declare const OnPostReportDefinition: {
37951
37953
  galleryImages?: string[];
37952
37954
  isImage?: boolean;
37953
37955
  } | undefined;
37956
+ author?: {
37957
+ id?: string;
37958
+ name?: string;
37959
+ isGold?: boolean;
37960
+ snoovatarImage?: string;
37961
+ url?: string;
37962
+ spam?: boolean;
37963
+ banned?: boolean;
37964
+ flair?: {
37965
+ userId?: string;
37966
+ subredditId?: string;
37967
+ text?: string;
37968
+ cssClass?: string;
37969
+ templateId?: string;
37970
+ textColor?: string;
37971
+ backgroundColor?: string;
37972
+ enabled?: boolean;
37973
+ } | undefined;
37974
+ karma?: number;
37975
+ iconImage?: string;
37976
+ description?: string;
37977
+ } | undefined;
37978
+ isNsfw?: boolean;
37954
37979
  subreddit?: {
37955
37980
  id?: string;
37956
37981
  name?: string;
@@ -37963,8 +37988,7 @@ declare const OnPostReportDefinition: {
37963
37988
  subscribersCount?: number;
37964
37989
  permalink?: string;
37965
37990
  } | undefined;
37966
- reason?: string;
37967
- } | undefined): PostReport_2;
37991
+ } | undefined): PostNsfwUpdate_2;
37968
37992
  fromPartial(object: {
37969
37993
  post?: {
37970
37994
  id?: string;
@@ -38056,6 +38080,29 @@ declare const OnPostReportDefinition: {
38056
38080
  galleryImages?: string[];
38057
38081
  isImage?: boolean;
38058
38082
  } | undefined;
38083
+ author?: {
38084
+ id?: string;
38085
+ name?: string;
38086
+ isGold?: boolean;
38087
+ snoovatarImage?: string;
38088
+ url?: string;
38089
+ spam?: boolean;
38090
+ banned?: boolean;
38091
+ flair?: {
38092
+ userId?: string;
38093
+ subredditId?: string;
38094
+ text?: string;
38095
+ cssClass?: string;
38096
+ templateId?: string;
38097
+ textColor?: string;
38098
+ backgroundColor?: string;
38099
+ enabled?: boolean;
38100
+ } | undefined;
38101
+ karma?: number;
38102
+ iconImage?: string;
38103
+ description?: string;
38104
+ } | undefined;
38105
+ isNsfw?: boolean;
38059
38106
  subreddit?: {
38060
38107
  id?: string;
38061
38108
  name?: string;
@@ -38068,8 +38115,7 @@ declare const OnPostReportDefinition: {
38068
38115
  subscribersCount?: number;
38069
38116
  permalink?: string;
38070
38117
  } | undefined;
38071
- reason?: string;
38072
- }): PostReport_2;
38118
+ }): PostNsfwUpdate_2;
38073
38119
  };
38074
38120
  readonly requestStream: false;
38075
38121
  readonly responseType: {
@@ -38087,35 +38133,35 @@ declare const OnPostReportDefinition: {
38087
38133
  };
38088
38134
  };
38089
38135
 
38090
- declare const OnPostReportServiceName = "devvit.actor.automation.v1alpha.OnPostReport";
38136
+ declare const OnPostNsfwUpdateServiceName = "devvit.actor.automation.v1alpha.OnPostNsfwUpdate";
38091
38137
 
38092
- declare interface OnPostSubmit {
38093
- OnPostSubmit(request: PostSubmit_2, metadata?: Metadata): Promise<HandlerResult>;
38138
+ declare interface OnPostReport {
38139
+ OnPostReport(request: PostReport_2, metadata?: Metadata): Promise<HandlerResult>;
38094
38140
  }
38095
38141
 
38096
- declare class OnPostSubmitClientImpl implements OnPostSubmit {
38142
+ declare class OnPostReportClientImpl implements OnPostReport {
38097
38143
  private readonly rpc;
38098
38144
  private readonly service;
38099
38145
  constructor(rpc: Rpc_65, opts?: {
38100
38146
  service?: string;
38101
38147
  });
38102
- OnPostSubmit(request: PostSubmit_2, metadata?: Metadata): Promise<HandlerResult>;
38148
+ OnPostReport(request: PostReport_2, metadata?: Metadata): Promise<HandlerResult>;
38103
38149
  }
38104
38150
 
38105
- declare type OnPostSubmitDefinition = typeof OnPostSubmitDefinition;
38151
+ declare type OnPostReportDefinition = typeof OnPostReportDefinition;
38106
38152
 
38107
- declare const OnPostSubmitDefinition: {
38108
- readonly name: "OnPostSubmit";
38109
- readonly fullName: "devvit.actor.automation.v1alpha.OnPostSubmit";
38153
+ declare const OnPostReportDefinition: {
38154
+ readonly name: "OnPostReport";
38155
+ readonly fullName: "devvit.actor.automation.v1alpha.OnPostReport";
38110
38156
  readonly methods: {
38111
- readonly onPostSubmit: {
38112
- readonly name: "OnPostSubmit";
38157
+ readonly onPostReport: {
38158
+ readonly name: "OnPostReport";
38113
38159
  readonly requestType: {
38114
- $type: "devvit.events.v1alpha.PostSubmit";
38115
- encode(message: PostSubmit_2, writer?: _m0.Writer): _m0.Writer;
38116
- decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PostSubmit_2;
38117
- fromJSON(object: any): PostSubmit_2;
38118
- toJSON(message: PostSubmit_2): unknown;
38160
+ $type: "devvit.events.v1alpha.PostReport";
38161
+ encode(message: PostReport_2, writer?: _m0.Writer): _m0.Writer;
38162
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PostReport_2;
38163
+ fromJSON(object: any): PostReport_2;
38164
+ toJSON(message: PostReport_2): unknown;
38119
38165
  create(base?: {
38120
38166
  post?: {
38121
38167
  id?: string;
@@ -38207,15 +38253,53 @@ declare const OnPostSubmitDefinition: {
38207
38253
  galleryImages?: string[];
38208
38254
  isImage?: boolean;
38209
38255
  } | undefined;
38210
- author?: {
38256
+ subreddit?: {
38211
38257
  id?: string;
38212
38258
  name?: string;
38213
- isGold?: boolean;
38214
- snoovatarImage?: string;
38215
- url?: string;
38259
+ nsfw?: boolean;
38260
+ type?: SubredditType_3;
38216
38261
  spam?: boolean;
38217
- banned?: boolean;
38218
- flair?: {
38262
+ quarantined?: boolean;
38263
+ topics?: string[];
38264
+ rating?: SubredditRating_2;
38265
+ subscribersCount?: number;
38266
+ permalink?: string;
38267
+ } | undefined;
38268
+ reason?: string;
38269
+ } | undefined): PostReport_2;
38270
+ fromPartial(object: {
38271
+ post?: {
38272
+ id?: string;
38273
+ title?: string;
38274
+ selftext?: string;
38275
+ nsfw?: boolean;
38276
+ authorId?: string;
38277
+ crowdControlLevel?: CrowdControlLevel_2;
38278
+ numReports?: number;
38279
+ isGallery?: boolean;
38280
+ isMeta?: boolean;
38281
+ createdAt?: number;
38282
+ isApproved?: boolean;
38283
+ isArchived?: boolean;
38284
+ distinguished?: DistinguishType_2;
38285
+ ignoreReports?: boolean;
38286
+ isSelf?: boolean;
38287
+ isVideo?: boolean;
38288
+ isLocked?: boolean;
38289
+ isSpoiler?: boolean;
38290
+ subredditId?: string;
38291
+ upvotes?: number;
38292
+ downvotes?: number;
38293
+ url?: string;
38294
+ isSticky?: boolean;
38295
+ linkFlair?: {
38296
+ text?: string;
38297
+ cssClass?: string;
38298
+ backgroundColor?: string;
38299
+ templateId?: string;
38300
+ textColor?: string;
38301
+ } | undefined;
38302
+ authorFlair?: {
38219
38303
  userId?: string;
38220
38304
  subredditId?: string;
38221
38305
  text?: string;
@@ -38225,9 +38309,54 @@ declare const OnPostSubmitDefinition: {
38225
38309
  backgroundColor?: string;
38226
38310
  enabled?: boolean;
38227
38311
  } | undefined;
38228
- karma?: number;
38229
- iconImage?: string;
38230
- description?: string;
38312
+ spam?: boolean;
38313
+ deleted?: boolean;
38314
+ languageCode?: string;
38315
+ updatedAt?: number;
38316
+ gildings?: number;
38317
+ score?: number;
38318
+ numComments?: number;
38319
+ thumbnail?: string;
38320
+ media?: {
38321
+ type?: string;
38322
+ oembed?: {
38323
+ type?: string;
38324
+ version?: string;
38325
+ title?: string;
38326
+ description?: string;
38327
+ authorName?: string;
38328
+ authorUrl?: string;
38329
+ providerName?: string;
38330
+ providerUrl?: string;
38331
+ thumbnailUrl?: string;
38332
+ thumbnailWidth?: number;
38333
+ thumbnailHeight?: number;
38334
+ html?: string;
38335
+ width?: number;
38336
+ height?: number;
38337
+ } | undefined;
38338
+ redditVideo?: {
38339
+ bitrateKbps?: number;
38340
+ fallbackUrl?: string;
38341
+ height?: number;
38342
+ width?: number;
38343
+ scrubberMediaUrl?: string;
38344
+ dashUrl?: string;
38345
+ duration?: number;
38346
+ hlsUrl?: string;
38347
+ isGif?: boolean;
38348
+ transcodingStatus?: string;
38349
+ } | undefined;
38350
+ } | undefined;
38351
+ crosspostParentId?: string;
38352
+ permalink?: string;
38353
+ isPoll?: boolean;
38354
+ isPromoted?: boolean;
38355
+ isMultiMedia?: boolean;
38356
+ type?: string;
38357
+ unlisted?: boolean;
38358
+ galleryImages?: string[];
38359
+ isImage?: boolean;
38231
38360
  } | undefined;
38232
38361
  subreddit?: {
38233
38362
  id?: string;
@@ -38241,8 +38370,55 @@ declare const OnPostSubmitDefinition: {
38241
38370
  subscribersCount?: number;
38242
38371
  permalink?: string;
38243
38372
  } | undefined;
38244
- } | undefined): PostSubmit_2;
38245
- fromPartial(object: {
38373
+ reason?: string;
38374
+ }): PostReport_2;
38375
+ };
38376
+ readonly requestStream: false;
38377
+ readonly responseType: {
38378
+ $type: "devvit.actor.automation.v1alpha.HandlerResult";
38379
+ encode(_: HandlerResult, writer?: _m0.Writer): _m0.Writer;
38380
+ decode(input: _m0.Reader | Uint8Array, length?: number): HandlerResult;
38381
+ fromJSON(_: any): HandlerResult;
38382
+ toJSON(_: HandlerResult): unknown;
38383
+ create(base?: DeepPartial_74<HandlerResult>): HandlerResult;
38384
+ fromPartial(_: DeepPartial_74<HandlerResult>): HandlerResult;
38385
+ };
38386
+ readonly responseStream: false;
38387
+ readonly options: {};
38388
+ };
38389
+ };
38390
+ };
38391
+
38392
+ declare const OnPostReportServiceName = "devvit.actor.automation.v1alpha.OnPostReport";
38393
+
38394
+ declare interface OnPostSpoilerUpdate {
38395
+ OnPostSpoilerUpdate(request: PostSpoilerUpdate_2, metadata?: Metadata): Promise<HandlerResult>;
38396
+ }
38397
+
38398
+ declare class OnPostSpoilerUpdateClientImpl implements OnPostSpoilerUpdate {
38399
+ private readonly rpc;
38400
+ private readonly service;
38401
+ constructor(rpc: Rpc_65, opts?: {
38402
+ service?: string;
38403
+ });
38404
+ OnPostSpoilerUpdate(request: PostSpoilerUpdate_2, metadata?: Metadata): Promise<HandlerResult>;
38405
+ }
38406
+
38407
+ declare type OnPostSpoilerUpdateDefinition = typeof OnPostSpoilerUpdateDefinition;
38408
+
38409
+ declare const OnPostSpoilerUpdateDefinition: {
38410
+ readonly name: "OnPostSpoilerUpdate";
38411
+ readonly fullName: "devvit.actor.automation.v1alpha.OnPostSpoilerUpdate";
38412
+ readonly methods: {
38413
+ readonly onPostSpoilerUpdate: {
38414
+ readonly name: "OnPostSpoilerUpdate";
38415
+ readonly requestType: {
38416
+ $type: "devvit.events.v1alpha.PostSpoilerUpdate";
38417
+ encode(message: PostSpoilerUpdate_2, writer?: _m0.Writer): _m0.Writer;
38418
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PostSpoilerUpdate_2;
38419
+ fromJSON(object: any): PostSpoilerUpdate_2;
38420
+ toJSON(message: PostSpoilerUpdate_2): unknown;
38421
+ create(base?: {
38246
38422
  post?: {
38247
38423
  id?: string;
38248
38424
  title?: string;
@@ -38355,6 +38531,7 @@ declare const OnPostSubmitDefinition: {
38355
38531
  iconImage?: string;
38356
38532
  description?: string;
38357
38533
  } | undefined;
38534
+ isNsfw?: boolean;
38358
38535
  subreddit?: {
38359
38536
  id?: string;
38360
38537
  name?: string;
@@ -38367,54 +38544,479 @@ declare const OnPostSubmitDefinition: {
38367
38544
  subscribersCount?: number;
38368
38545
  permalink?: string;
38369
38546
  } | undefined;
38370
- }): PostSubmit_2;
38371
- };
38372
- readonly requestStream: false;
38373
- readonly responseType: {
38374
- $type: "devvit.actor.automation.v1alpha.HandlerResult";
38375
- encode(_: HandlerResult, writer?: _m0.Writer): _m0.Writer;
38376
- decode(input: _m0.Reader | Uint8Array, length?: number): HandlerResult;
38377
- fromJSON(_: any): HandlerResult;
38378
- toJSON(_: HandlerResult): unknown;
38379
- create(base?: DeepPartial_74<HandlerResult>): HandlerResult;
38380
- fromPartial(_: DeepPartial_74<HandlerResult>): HandlerResult;
38381
- };
38382
- readonly responseStream: false;
38383
- readonly options: {};
38384
- };
38385
- };
38386
- };
38387
-
38388
- declare const OnPostSubmitServiceName = "devvit.actor.automation.v1alpha.OnPostSubmit";
38389
-
38390
- declare interface OnPostUpdate {
38391
- OnPostUpdate(request: PostUpdate_2, metadata?: Metadata): Promise<HandlerResult>;
38392
- }
38393
-
38394
- declare class OnPostUpdateClientImpl implements OnPostUpdate {
38395
- private readonly rpc;
38396
- private readonly service;
38397
- constructor(rpc: Rpc_65, opts?: {
38398
- service?: string;
38399
- });
38400
- OnPostUpdate(request: PostUpdate_2, metadata?: Metadata): Promise<HandlerResult>;
38401
- }
38402
-
38403
- declare type OnPostUpdateDefinition = typeof OnPostUpdateDefinition;
38404
-
38405
- declare const OnPostUpdateDefinition: {
38406
- readonly name: "OnPostUpdate";
38407
- readonly fullName: "devvit.actor.automation.v1alpha.OnPostUpdate";
38408
- readonly methods: {
38409
- readonly onPostUpdate: {
38410
- readonly name: "OnPostUpdate";
38411
- readonly requestType: {
38412
- $type: "devvit.events.v1alpha.PostUpdate";
38413
- encode(message: PostUpdate_2, writer?: _m0.Writer): _m0.Writer;
38414
- decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PostUpdate_2;
38415
- fromJSON(object: any): PostUpdate_2;
38416
- toJSON(message: PostUpdate_2): unknown;
38417
- create(base?: {
38547
+ } | undefined): PostSpoilerUpdate_2;
38548
+ fromPartial(object: {
38549
+ post?: {
38550
+ id?: string;
38551
+ title?: string;
38552
+ selftext?: string;
38553
+ nsfw?: boolean;
38554
+ authorId?: string;
38555
+ crowdControlLevel?: CrowdControlLevel_2;
38556
+ numReports?: number;
38557
+ isGallery?: boolean;
38558
+ isMeta?: boolean;
38559
+ createdAt?: number;
38560
+ isApproved?: boolean;
38561
+ isArchived?: boolean;
38562
+ distinguished?: DistinguishType_2;
38563
+ ignoreReports?: boolean;
38564
+ isSelf?: boolean;
38565
+ isVideo?: boolean;
38566
+ isLocked?: boolean;
38567
+ isSpoiler?: boolean;
38568
+ subredditId?: string;
38569
+ upvotes?: number;
38570
+ downvotes?: number;
38571
+ url?: string;
38572
+ isSticky?: boolean;
38573
+ linkFlair?: {
38574
+ text?: string;
38575
+ cssClass?: string;
38576
+ backgroundColor?: string;
38577
+ templateId?: string;
38578
+ textColor?: string;
38579
+ } | undefined;
38580
+ authorFlair?: {
38581
+ userId?: string;
38582
+ subredditId?: string;
38583
+ text?: string;
38584
+ cssClass?: string;
38585
+ templateId?: string;
38586
+ textColor?: string;
38587
+ backgroundColor?: string;
38588
+ enabled?: boolean;
38589
+ } | undefined;
38590
+ spam?: boolean;
38591
+ deleted?: boolean;
38592
+ languageCode?: string;
38593
+ updatedAt?: number;
38594
+ gildings?: number;
38595
+ score?: number;
38596
+ numComments?: number;
38597
+ thumbnail?: string;
38598
+ media?: {
38599
+ type?: string;
38600
+ oembed?: {
38601
+ type?: string;
38602
+ version?: string;
38603
+ title?: string;
38604
+ description?: string;
38605
+ authorName?: string;
38606
+ authorUrl?: string;
38607
+ providerName?: string;
38608
+ providerUrl?: string;
38609
+ thumbnailUrl?: string;
38610
+ thumbnailWidth?: number;
38611
+ thumbnailHeight?: number;
38612
+ html?: string;
38613
+ width?: number;
38614
+ height?: number;
38615
+ } | undefined;
38616
+ redditVideo?: {
38617
+ bitrateKbps?: number;
38618
+ fallbackUrl?: string;
38619
+ height?: number;
38620
+ width?: number;
38621
+ scrubberMediaUrl?: string;
38622
+ dashUrl?: string;
38623
+ duration?: number;
38624
+ hlsUrl?: string;
38625
+ isGif?: boolean;
38626
+ transcodingStatus?: string;
38627
+ } | undefined;
38628
+ } | undefined;
38629
+ crosspostParentId?: string;
38630
+ permalink?: string;
38631
+ isPoll?: boolean;
38632
+ isPromoted?: boolean;
38633
+ isMultiMedia?: boolean;
38634
+ type?: string;
38635
+ unlisted?: boolean;
38636
+ galleryImages?: string[];
38637
+ isImage?: boolean;
38638
+ } | undefined;
38639
+ author?: {
38640
+ id?: string;
38641
+ name?: string;
38642
+ isGold?: boolean;
38643
+ snoovatarImage?: string;
38644
+ url?: string;
38645
+ spam?: boolean;
38646
+ banned?: boolean;
38647
+ flair?: {
38648
+ userId?: string;
38649
+ subredditId?: string;
38650
+ text?: string;
38651
+ cssClass?: string;
38652
+ templateId?: string;
38653
+ textColor?: string;
38654
+ backgroundColor?: string;
38655
+ enabled?: boolean;
38656
+ } | undefined;
38657
+ karma?: number;
38658
+ iconImage?: string;
38659
+ description?: string;
38660
+ } | undefined;
38661
+ isNsfw?: boolean;
38662
+ subreddit?: {
38663
+ id?: string;
38664
+ name?: string;
38665
+ nsfw?: boolean;
38666
+ type?: SubredditType_3;
38667
+ spam?: boolean;
38668
+ quarantined?: boolean;
38669
+ topics?: string[];
38670
+ rating?: SubredditRating_2;
38671
+ subscribersCount?: number;
38672
+ permalink?: string;
38673
+ } | undefined;
38674
+ }): PostSpoilerUpdate_2;
38675
+ };
38676
+ readonly requestStream: false;
38677
+ readonly responseType: {
38678
+ $type: "devvit.actor.automation.v1alpha.HandlerResult";
38679
+ encode(_: HandlerResult, writer?: _m0.Writer): _m0.Writer;
38680
+ decode(input: _m0.Reader | Uint8Array, length?: number): HandlerResult;
38681
+ fromJSON(_: any): HandlerResult;
38682
+ toJSON(_: HandlerResult): unknown;
38683
+ create(base?: DeepPartial_74<HandlerResult>): HandlerResult;
38684
+ fromPartial(_: DeepPartial_74<HandlerResult>): HandlerResult;
38685
+ };
38686
+ readonly responseStream: false;
38687
+ readonly options: {};
38688
+ };
38689
+ };
38690
+ };
38691
+
38692
+ declare const OnPostSpoilerUpdateServiceName = "devvit.actor.automation.v1alpha.OnPostSpoilerUpdate";
38693
+
38694
+ declare interface OnPostSubmit {
38695
+ OnPostSubmit(request: PostSubmit_2, metadata?: Metadata): Promise<HandlerResult>;
38696
+ }
38697
+
38698
+ declare class OnPostSubmitClientImpl implements OnPostSubmit {
38699
+ private readonly rpc;
38700
+ private readonly service;
38701
+ constructor(rpc: Rpc_65, opts?: {
38702
+ service?: string;
38703
+ });
38704
+ OnPostSubmit(request: PostSubmit_2, metadata?: Metadata): Promise<HandlerResult>;
38705
+ }
38706
+
38707
+ declare type OnPostSubmitDefinition = typeof OnPostSubmitDefinition;
38708
+
38709
+ declare const OnPostSubmitDefinition: {
38710
+ readonly name: "OnPostSubmit";
38711
+ readonly fullName: "devvit.actor.automation.v1alpha.OnPostSubmit";
38712
+ readonly methods: {
38713
+ readonly onPostSubmit: {
38714
+ readonly name: "OnPostSubmit";
38715
+ readonly requestType: {
38716
+ $type: "devvit.events.v1alpha.PostSubmit";
38717
+ encode(message: PostSubmit_2, writer?: _m0.Writer): _m0.Writer;
38718
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PostSubmit_2;
38719
+ fromJSON(object: any): PostSubmit_2;
38720
+ toJSON(message: PostSubmit_2): unknown;
38721
+ create(base?: {
38722
+ post?: {
38723
+ id?: string;
38724
+ title?: string;
38725
+ selftext?: string;
38726
+ nsfw?: boolean;
38727
+ authorId?: string;
38728
+ crowdControlLevel?: CrowdControlLevel_2;
38729
+ numReports?: number;
38730
+ isGallery?: boolean;
38731
+ isMeta?: boolean;
38732
+ createdAt?: number;
38733
+ isApproved?: boolean;
38734
+ isArchived?: boolean;
38735
+ distinguished?: DistinguishType_2;
38736
+ ignoreReports?: boolean;
38737
+ isSelf?: boolean;
38738
+ isVideo?: boolean;
38739
+ isLocked?: boolean;
38740
+ isSpoiler?: boolean;
38741
+ subredditId?: string;
38742
+ upvotes?: number;
38743
+ downvotes?: number;
38744
+ url?: string;
38745
+ isSticky?: boolean;
38746
+ linkFlair?: {
38747
+ text?: string;
38748
+ cssClass?: string;
38749
+ backgroundColor?: string;
38750
+ templateId?: string;
38751
+ textColor?: string;
38752
+ } | undefined;
38753
+ authorFlair?: {
38754
+ userId?: string;
38755
+ subredditId?: string;
38756
+ text?: string;
38757
+ cssClass?: string;
38758
+ templateId?: string;
38759
+ textColor?: string;
38760
+ backgroundColor?: string;
38761
+ enabled?: boolean;
38762
+ } | undefined;
38763
+ spam?: boolean;
38764
+ deleted?: boolean;
38765
+ languageCode?: string;
38766
+ updatedAt?: number;
38767
+ gildings?: number;
38768
+ score?: number;
38769
+ numComments?: number;
38770
+ thumbnail?: string;
38771
+ media?: {
38772
+ type?: string;
38773
+ oembed?: {
38774
+ type?: string;
38775
+ version?: string;
38776
+ title?: string;
38777
+ description?: string;
38778
+ authorName?: string;
38779
+ authorUrl?: string;
38780
+ providerName?: string;
38781
+ providerUrl?: string;
38782
+ thumbnailUrl?: string;
38783
+ thumbnailWidth?: number;
38784
+ thumbnailHeight?: number;
38785
+ html?: string;
38786
+ width?: number;
38787
+ height?: number;
38788
+ } | undefined;
38789
+ redditVideo?: {
38790
+ bitrateKbps?: number;
38791
+ fallbackUrl?: string;
38792
+ height?: number;
38793
+ width?: number;
38794
+ scrubberMediaUrl?: string;
38795
+ dashUrl?: string;
38796
+ duration?: number;
38797
+ hlsUrl?: string;
38798
+ isGif?: boolean;
38799
+ transcodingStatus?: string;
38800
+ } | undefined;
38801
+ } | undefined;
38802
+ crosspostParentId?: string;
38803
+ permalink?: string;
38804
+ isPoll?: boolean;
38805
+ isPromoted?: boolean;
38806
+ isMultiMedia?: boolean;
38807
+ type?: string;
38808
+ unlisted?: boolean;
38809
+ galleryImages?: string[];
38810
+ isImage?: boolean;
38811
+ } | undefined;
38812
+ author?: {
38813
+ id?: string;
38814
+ name?: string;
38815
+ isGold?: boolean;
38816
+ snoovatarImage?: string;
38817
+ url?: string;
38818
+ spam?: boolean;
38819
+ banned?: boolean;
38820
+ flair?: {
38821
+ userId?: string;
38822
+ subredditId?: string;
38823
+ text?: string;
38824
+ cssClass?: string;
38825
+ templateId?: string;
38826
+ textColor?: string;
38827
+ backgroundColor?: string;
38828
+ enabled?: boolean;
38829
+ } | undefined;
38830
+ karma?: number;
38831
+ iconImage?: string;
38832
+ description?: string;
38833
+ } | undefined;
38834
+ subreddit?: {
38835
+ id?: string;
38836
+ name?: string;
38837
+ nsfw?: boolean;
38838
+ type?: SubredditType_3;
38839
+ spam?: boolean;
38840
+ quarantined?: boolean;
38841
+ topics?: string[];
38842
+ rating?: SubredditRating_2;
38843
+ subscribersCount?: number;
38844
+ permalink?: string;
38845
+ } | undefined;
38846
+ } | undefined): PostSubmit_2;
38847
+ fromPartial(object: {
38848
+ post?: {
38849
+ id?: string;
38850
+ title?: string;
38851
+ selftext?: string;
38852
+ nsfw?: boolean;
38853
+ authorId?: string;
38854
+ crowdControlLevel?: CrowdControlLevel_2;
38855
+ numReports?: number;
38856
+ isGallery?: boolean;
38857
+ isMeta?: boolean;
38858
+ createdAt?: number;
38859
+ isApproved?: boolean;
38860
+ isArchived?: boolean;
38861
+ distinguished?: DistinguishType_2;
38862
+ ignoreReports?: boolean;
38863
+ isSelf?: boolean;
38864
+ isVideo?: boolean;
38865
+ isLocked?: boolean;
38866
+ isSpoiler?: boolean;
38867
+ subredditId?: string;
38868
+ upvotes?: number;
38869
+ downvotes?: number;
38870
+ url?: string;
38871
+ isSticky?: boolean;
38872
+ linkFlair?: {
38873
+ text?: string;
38874
+ cssClass?: string;
38875
+ backgroundColor?: string;
38876
+ templateId?: string;
38877
+ textColor?: string;
38878
+ } | undefined;
38879
+ authorFlair?: {
38880
+ userId?: string;
38881
+ subredditId?: string;
38882
+ text?: string;
38883
+ cssClass?: string;
38884
+ templateId?: string;
38885
+ textColor?: string;
38886
+ backgroundColor?: string;
38887
+ enabled?: boolean;
38888
+ } | undefined;
38889
+ spam?: boolean;
38890
+ deleted?: boolean;
38891
+ languageCode?: string;
38892
+ updatedAt?: number;
38893
+ gildings?: number;
38894
+ score?: number;
38895
+ numComments?: number;
38896
+ thumbnail?: string;
38897
+ media?: {
38898
+ type?: string;
38899
+ oembed?: {
38900
+ type?: string;
38901
+ version?: string;
38902
+ title?: string;
38903
+ description?: string;
38904
+ authorName?: string;
38905
+ authorUrl?: string;
38906
+ providerName?: string;
38907
+ providerUrl?: string;
38908
+ thumbnailUrl?: string;
38909
+ thumbnailWidth?: number;
38910
+ thumbnailHeight?: number;
38911
+ html?: string;
38912
+ width?: number;
38913
+ height?: number;
38914
+ } | undefined;
38915
+ redditVideo?: {
38916
+ bitrateKbps?: number;
38917
+ fallbackUrl?: string;
38918
+ height?: number;
38919
+ width?: number;
38920
+ scrubberMediaUrl?: string;
38921
+ dashUrl?: string;
38922
+ duration?: number;
38923
+ hlsUrl?: string;
38924
+ isGif?: boolean;
38925
+ transcodingStatus?: string;
38926
+ } | undefined;
38927
+ } | undefined;
38928
+ crosspostParentId?: string;
38929
+ permalink?: string;
38930
+ isPoll?: boolean;
38931
+ isPromoted?: boolean;
38932
+ isMultiMedia?: boolean;
38933
+ type?: string;
38934
+ unlisted?: boolean;
38935
+ galleryImages?: string[];
38936
+ isImage?: boolean;
38937
+ } | undefined;
38938
+ author?: {
38939
+ id?: string;
38940
+ name?: string;
38941
+ isGold?: boolean;
38942
+ snoovatarImage?: string;
38943
+ url?: string;
38944
+ spam?: boolean;
38945
+ banned?: boolean;
38946
+ flair?: {
38947
+ userId?: string;
38948
+ subredditId?: string;
38949
+ text?: string;
38950
+ cssClass?: string;
38951
+ templateId?: string;
38952
+ textColor?: string;
38953
+ backgroundColor?: string;
38954
+ enabled?: boolean;
38955
+ } | undefined;
38956
+ karma?: number;
38957
+ iconImage?: string;
38958
+ description?: string;
38959
+ } | undefined;
38960
+ subreddit?: {
38961
+ id?: string;
38962
+ name?: string;
38963
+ nsfw?: boolean;
38964
+ type?: SubredditType_3;
38965
+ spam?: boolean;
38966
+ quarantined?: boolean;
38967
+ topics?: string[];
38968
+ rating?: SubredditRating_2;
38969
+ subscribersCount?: number;
38970
+ permalink?: string;
38971
+ } | undefined;
38972
+ }): PostSubmit_2;
38973
+ };
38974
+ readonly requestStream: false;
38975
+ readonly responseType: {
38976
+ $type: "devvit.actor.automation.v1alpha.HandlerResult";
38977
+ encode(_: HandlerResult, writer?: _m0.Writer): _m0.Writer;
38978
+ decode(input: _m0.Reader | Uint8Array, length?: number): HandlerResult;
38979
+ fromJSON(_: any): HandlerResult;
38980
+ toJSON(_: HandlerResult): unknown;
38981
+ create(base?: DeepPartial_74<HandlerResult>): HandlerResult;
38982
+ fromPartial(_: DeepPartial_74<HandlerResult>): HandlerResult;
38983
+ };
38984
+ readonly responseStream: false;
38985
+ readonly options: {};
38986
+ };
38987
+ };
38988
+ };
38989
+
38990
+ declare const OnPostSubmitServiceName = "devvit.actor.automation.v1alpha.OnPostSubmit";
38991
+
38992
+ declare interface OnPostUpdate {
38993
+ OnPostUpdate(request: PostUpdate_2, metadata?: Metadata): Promise<HandlerResult>;
38994
+ }
38995
+
38996
+ declare class OnPostUpdateClientImpl implements OnPostUpdate {
38997
+ private readonly rpc;
38998
+ private readonly service;
38999
+ constructor(rpc: Rpc_65, opts?: {
39000
+ service?: string;
39001
+ });
39002
+ OnPostUpdate(request: PostUpdate_2, metadata?: Metadata): Promise<HandlerResult>;
39003
+ }
39004
+
39005
+ declare type OnPostUpdateDefinition = typeof OnPostUpdateDefinition;
39006
+
39007
+ declare const OnPostUpdateDefinition: {
39008
+ readonly name: "OnPostUpdate";
39009
+ readonly fullName: "devvit.actor.automation.v1alpha.OnPostUpdate";
39010
+ readonly methods: {
39011
+ readonly onPostUpdate: {
39012
+ readonly name: "OnPostUpdate";
39013
+ readonly requestType: {
39014
+ $type: "devvit.events.v1alpha.PostUpdate";
39015
+ encode(message: PostUpdate_2, writer?: _m0.Writer): _m0.Writer;
39016
+ decode(input: _m0.Reader | Uint8Array, length?: number | undefined): PostUpdate_2;
39017
+ fromJSON(object: any): PostUpdate_2;
39018
+ toJSON(message: PostUpdate_2): unknown;
39019
+ create(base?: {
38418
39020
  post?: {
38419
39021
  id?: string;
38420
39022
  title?: string;
@@ -38805,7 +39407,7 @@ declare const OnSubredditSubscribeDefinition: {
38805
39407
 
38806
39408
  declare const OnSubredditSubscribeServiceName = "devvit.actor.automation.v1alpha.OnSubredditSubscribe";
38807
39409
 
38808
- export declare type OnTriggerRequest = protos.PostFlairUpdate | protos.PostSubmit | protos.PostCreate | protos.PostUpdate | protos.PostReport | protos.PostDelete | protos.CommentSubmit | protos.CommentCreate | protos.CommentUpdate | protos.CommentReport | protos.CommentDelete | protos.AppInstall | protos.AppUpgrade | protos.ModAction | protos.ModMail;
39410
+ export declare type OnTriggerRequest = protos.PostFlairUpdate | protos.PostSubmit | protos.PostCreate | protos.PostUpdate | protos.PostReport | protos.PostDelete | protos.CommentSubmit | protos.CommentCreate | protos.CommentUpdate | protos.CommentReport | protos.CommentDelete | protos.AppInstall | protos.AppUpgrade | protos.ModAction | protos.ModMail | protos.PostNsfwUpdate | protos.PostSpoilerUpdate;
38809
39411
 
38810
39412
  export declare type OnValidateHandler<ValueType> = (event: SettingsFormFieldValidatorEvent<ValueType>, context: Devvit.Context) => void | string | Promise<void | string>;
38811
39413
 
@@ -40389,6 +40991,31 @@ declare const PostNotesRequest: {
40389
40991
  fromPartial(object: DeepPartial_3<PostNotesRequest>): PostNotesRequest;
40390
40992
  };
40391
40993
 
40994
+ /** The event name for when a post is marked/unmarked as nsfw*/
40995
+ export declare type PostNsfwUpdate = 'PostNsfwUpdate';
40996
+
40997
+ declare interface PostNsfwUpdate_2 {
40998
+ post?: PostV2 | undefined;
40999
+ author?: UserV2 | undefined;
41000
+ isNsfw: boolean;
41001
+ subreddit?: SubredditV2 | undefined;
41002
+ }
41003
+
41004
+ declare const PostNsfwUpdate_2: {
41005
+ $type: "devvit.events.v1alpha.PostNsfwUpdate";
41006
+ encode(message: PostNsfwUpdate_2, writer?: _m0.Writer): _m0.Writer;
41007
+ decode(input: _m0.Reader | Uint8Array, length?: number): PostNsfwUpdate_2;
41008
+ fromJSON(object: any): PostNsfwUpdate_2;
41009
+ toJSON(message: PostNsfwUpdate_2): unknown;
41010
+ create(base?: DeepPartial_73<PostNsfwUpdate_2>): PostNsfwUpdate_2;
41011
+ fromPartial(object: DeepPartial_73<PostNsfwUpdate_2>): PostNsfwUpdate_2;
41012
+ };
41013
+
41014
+ export declare type PostNsfwUpdateDefinition = {
41015
+ event: PostNsfwUpdate;
41016
+ onEvent: TriggerOnEventHandler<protos.PostNsfwUpdate>;
41017
+ };
41018
+
40392
41019
  declare interface PostRemovalNoteRequest {
40393
41020
  /** list of thing ids */
40394
41021
  itemIds: string[];
@@ -40432,6 +41059,31 @@ export declare type PostReportDefinition = {
40432
41059
  onEvent: TriggerOnEventHandler<protos.PostReport>;
40433
41060
  };
40434
41061
 
41062
+ /** The event name for when a post is marked/unmarked as spoiler*/
41063
+ export declare type PostSpoilerUpdate = 'PostSpoilerUpdate';
41064
+
41065
+ declare interface PostSpoilerUpdate_2 {
41066
+ post?: PostV2 | undefined;
41067
+ author?: UserV2 | undefined;
41068
+ isNsfw: boolean;
41069
+ subreddit?: SubredditV2 | undefined;
41070
+ }
41071
+
41072
+ declare const PostSpoilerUpdate_2: {
41073
+ $type: "devvit.events.v1alpha.PostSpoilerUpdate";
41074
+ encode(message: PostSpoilerUpdate_2, writer?: _m0.Writer): _m0.Writer;
41075
+ decode(input: _m0.Reader | Uint8Array, length?: number): PostSpoilerUpdate_2;
41076
+ fromJSON(object: any): PostSpoilerUpdate_2;
41077
+ toJSON(message: PostSpoilerUpdate_2): unknown;
41078
+ create(base?: DeepPartial_73<PostSpoilerUpdate_2>): PostSpoilerUpdate_2;
41079
+ fromPartial(object: DeepPartial_73<PostSpoilerUpdate_2>): PostSpoilerUpdate_2;
41080
+ };
41081
+
41082
+ export declare type PostSpoilerUpdateDefinition = {
41083
+ event: PostSpoilerUpdate;
41084
+ onEvent: TriggerOnEventHandler<protos.PostSpoilerUpdate>;
41085
+ };
41086
+
40435
41087
  /** The event name for when a post is submitted */
40436
41088
  export declare type PostSubmit = 'PostSubmit';
40437
41089
 
@@ -41949,6 +42601,8 @@ declare namespace protos {
41949
42601
  AppUpgrade_2 as AppUpgrade,
41950
42602
  AccountDelete,
41951
42603
  Vote,
42604
+ PostNsfwUpdate_2 as PostNsfwUpdate,
42605
+ PostSpoilerUpdate_2 as PostSpoilerUpdate,
41952
42606
  GetProfileRequest,
41953
42607
  GetProfileResponse,
41954
42608
  DevvitProfiler,
@@ -42709,6 +43363,14 @@ declare namespace protos {
42709
43363
  OnAccountDeleteServiceName,
42710
43364
  OnAccountDeleteClientImpl,
42711
43365
  OnAccountDeleteDefinition,
43366
+ OnPostNsfwUpdate,
43367
+ OnPostNsfwUpdateServiceName,
43368
+ OnPostNsfwUpdateClientImpl,
43369
+ OnPostNsfwUpdateDefinition,
43370
+ OnPostSpoilerUpdate,
43371
+ OnPostSpoilerUpdateServiceName,
43372
+ OnPostSpoilerUpdateClientImpl,
43373
+ OnPostSpoilerUpdateDefinition,
42712
43374
  GetProductsRequest,
42713
43375
  GetProductsRequest_MetadataEntry,
42714
43376
  GetProductsResponse,
@@ -56688,9 +57350,9 @@ declare const TransactionResponses: {
56688
57350
 
56689
57351
  export declare type TriggerContext = Omit<Devvit.Context, 'ui' | 'dimensions' | 'modLog' | 'uiEnvironment'>;
56690
57352
 
56691
- export declare type TriggerDefinition = PostSubmitDefinition | PostCreateDefinition | PostUpdateDefinition | PostFlairUpdateDefinition | PostReportDefinition | PostDeleteDefinition | CommentSubmitDefinition | CommentCreateDefinition | CommentUpdateDefinition | CommentReportDefinition | CommentDeleteDefinition | AppInstallDefinition | AppUpgradeDefinition | ModActionDefinition | ModMailDefinition;
57353
+ export declare type TriggerDefinition = PostSubmitDefinition | PostCreateDefinition | PostUpdateDefinition | PostFlairUpdateDefinition | PostReportDefinition | PostDeleteDefinition | CommentSubmitDefinition | CommentCreateDefinition | CommentUpdateDefinition | CommentReportDefinition | CommentDeleteDefinition | AppInstallDefinition | AppUpgradeDefinition | ModActionDefinition | ModMailDefinition | PostSpoilerUpdateDefinition | PostNsfwUpdateDefinition;
56692
57354
 
56693
- export declare type TriggerEvent = PostSubmit | PostCreate | PostUpdate | PostReport | PostDelete | PostFlairUpdate | CommentSubmit | CommentCreate | CommentUpdate | CommentReport | CommentDelete | AppInstall | AppUpgrade | ModActionTrigger | ModMailTrigger;
57355
+ export declare type TriggerEvent = PostSubmit | PostCreate | PostUpdate | PostReport | PostDelete | PostFlairUpdate | CommentSubmit | CommentCreate | CommentUpdate | CommentReport | CommentDelete | AppInstall | AppUpgrade | ModActionTrigger | ModMailTrigger | PostNsfwUpdate | PostSpoilerUpdate;
56694
57356
 
56695
57357
  declare interface TriggerEvent_2 {
56696
57358
  /** UUID for the event */
@@ -56718,6 +57380,9 @@ declare interface TriggerEvent_2 {
56718
57380
  vote?: Vote | undefined;
56719
57381
  postApprove?: PostApprove | undefined;
56720
57382
  commentApprove?: CommentApprove | undefined;
57383
+ nsfwPostUpdate?: PostNsfwUpdate_2 | undefined;
57384
+ /** NEXT: 122 */
57385
+ spoilerPostUpdate?: PostSpoilerUpdate_2 | undefined;
56721
57386
  }
56722
57387
 
56723
57388
  declare const TriggerEvent_2: {
@@ -56777,6 +57442,12 @@ export declare type TriggerEventType = {
56777
57442
  ModMail: {
56778
57443
  type: 'ModMail';
56779
57444
  } & protos.ModMail;
57445
+ PostNsfwUpdate: {
57446
+ type: 'PostNsfwUpdate';
57447
+ } & protos.PostNsfwUpdate;
57448
+ PostSpoilerUpdate: {
57449
+ type: 'PostSpoilerUpdate';
57450
+ } & protos.PostSpoilerUpdate;
56780
57451
  };
56781
57452
 
56782
57453
  declare interface TriggerFanOutResponse {
@@ -58345,9 +59016,310 @@ declare const TriggersDefinition: {
58345
59016
  galleryImages?: string[];
58346
59017
  isImage?: boolean;
58347
59018
  } | undefined;
58348
- } | undefined;
58349
- modMail?: {
58350
- messageAuthor?: {
59019
+ } | undefined;
59020
+ modMail?: {
59021
+ messageAuthor?: {
59022
+ id?: string;
59023
+ name?: string;
59024
+ isGold?: boolean;
59025
+ snoovatarImage?: string;
59026
+ url?: string;
59027
+ spam?: boolean;
59028
+ banned?: boolean;
59029
+ flair?: {
59030
+ userId?: string;
59031
+ subredditId?: string;
59032
+ text?: string;
59033
+ cssClass?: string;
59034
+ templateId?: string;
59035
+ textColor?: string;
59036
+ backgroundColor?: string;
59037
+ enabled?: boolean;
59038
+ } | undefined;
59039
+ karma?: number;
59040
+ iconImage?: string;
59041
+ description?: string;
59042
+ } | undefined;
59043
+ createdAt?: Date | undefined;
59044
+ messageAuthorType?: string;
59045
+ conversationState?: string;
59046
+ conversationType?: string;
59047
+ isAutoGenerated?: boolean;
59048
+ conversationSubreddit?: {
59049
+ id?: string;
59050
+ name?: string;
59051
+ nsfw?: boolean;
59052
+ type?: SubredditType_4;
59053
+ spam?: boolean;
59054
+ quarantined?: boolean;
59055
+ topics?: string[];
59056
+ rating?: SubredditRating_3;
59057
+ subscribersCount?: number;
59058
+ permalink?: string;
59059
+ } | undefined;
59060
+ destinationSubreddit?: {
59061
+ id?: string;
59062
+ name?: string;
59063
+ nsfw?: boolean;
59064
+ type?: SubredditType_4;
59065
+ spam?: boolean;
59066
+ quarantined?: boolean;
59067
+ topics?: string[];
59068
+ rating?: SubredditRating_3;
59069
+ subscribersCount?: number;
59070
+ permalink?: string;
59071
+ } | undefined;
59072
+ conversationId?: string;
59073
+ messageId?: string;
59074
+ } | undefined;
59075
+ accountDelete?: {
59076
+ userId?: string;
59077
+ deletedAt?: Date | undefined;
59078
+ user?: {
59079
+ id?: string;
59080
+ name?: string;
59081
+ isGold?: boolean;
59082
+ snoovatarImage?: string;
59083
+ url?: string;
59084
+ spam?: boolean;
59085
+ banned?: boolean;
59086
+ flair?: {
59087
+ userId?: string;
59088
+ subredditId?: string;
59089
+ text?: string;
59090
+ cssClass?: string;
59091
+ templateId?: string;
59092
+ textColor?: string;
59093
+ backgroundColor?: string;
59094
+ enabled?: boolean;
59095
+ } | undefined;
59096
+ karma?: number;
59097
+ iconImage?: string;
59098
+ description?: string;
59099
+ } | undefined;
59100
+ } | undefined;
59101
+ vote?: {
59102
+ updatedAt?: Date | undefined;
59103
+ comment?: {
59104
+ id?: string;
59105
+ parentId?: string;
59106
+ body?: string;
59107
+ author?: string;
59108
+ numReports?: number;
59109
+ collapsedBecauseCrowdControl?: boolean;
59110
+ spam?: boolean;
59111
+ deleted?: boolean;
59112
+ createdAt?: number;
59113
+ upvotes?: number;
59114
+ downvotes?: number;
59115
+ languageCode?: string;
59116
+ lastModifiedAt?: number;
59117
+ gilded?: boolean;
59118
+ score?: number;
59119
+ permalink?: string;
59120
+ hasMedia?: boolean;
59121
+ postId?: string;
59122
+ subredditId?: string;
59123
+ elementTypes?: string[];
59124
+ } | undefined;
59125
+ post?: {
59126
+ id?: string;
59127
+ title?: string;
59128
+ selftext?: string;
59129
+ nsfw?: boolean;
59130
+ authorId?: string;
59131
+ crowdControlLevel?: CrowdControlLevel_3;
59132
+ numReports?: number;
59133
+ isGallery?: boolean;
59134
+ isMeta?: boolean;
59135
+ createdAt?: number;
59136
+ isApproved?: boolean;
59137
+ isArchived?: boolean;
59138
+ distinguished?: DistinguishType_3;
59139
+ ignoreReports?: boolean;
59140
+ isSelf?: boolean;
59141
+ isVideo?: boolean;
59142
+ isLocked?: boolean;
59143
+ isSpoiler?: boolean;
59144
+ subredditId?: string;
59145
+ upvotes?: number;
59146
+ downvotes?: number;
59147
+ url?: string;
59148
+ isSticky?: boolean;
59149
+ linkFlair?: {
59150
+ text?: string;
59151
+ cssClass?: string;
59152
+ backgroundColor?: string;
59153
+ templateId?: string;
59154
+ textColor?: string;
59155
+ } | undefined;
59156
+ authorFlair?: {
59157
+ userId?: string;
59158
+ subredditId?: string;
59159
+ text?: string;
59160
+ cssClass?: string;
59161
+ templateId?: string;
59162
+ textColor?: string;
59163
+ backgroundColor?: string;
59164
+ enabled?: boolean;
59165
+ } | undefined;
59166
+ spam?: boolean;
59167
+ deleted?: boolean;
59168
+ languageCode?: string;
59169
+ updatedAt?: number;
59170
+ gildings?: number;
59171
+ score?: number;
59172
+ numComments?: number;
59173
+ thumbnail?: string;
59174
+ media?: {
59175
+ type?: string;
59176
+ oembed?: {
59177
+ type?: string;
59178
+ version?: string;
59179
+ title?: string;
59180
+ description?: string;
59181
+ authorName?: string;
59182
+ authorUrl?: string;
59183
+ providerName?: string;
59184
+ providerUrl?: string;
59185
+ thumbnailUrl?: string;
59186
+ thumbnailWidth?: number;
59187
+ thumbnailHeight?: number;
59188
+ html?: string;
59189
+ width?: number;
59190
+ height?: number;
59191
+ } | undefined;
59192
+ redditVideo?: {
59193
+ bitrateKbps?: number;
59194
+ fallbackUrl?: string;
59195
+ height?: number;
59196
+ width?: number;
59197
+ scrubberMediaUrl?: string;
59198
+ dashUrl?: string;
59199
+ duration?: number;
59200
+ hlsUrl?: string;
59201
+ isGif?: boolean;
59202
+ transcodingStatus?: string;
59203
+ } | undefined;
59204
+ } | undefined;
59205
+ crosspostParentId?: string;
59206
+ permalink?: string;
59207
+ isPoll?: boolean;
59208
+ isPromoted?: boolean;
59209
+ isMultiMedia?: boolean;
59210
+ type?: string;
59211
+ unlisted?: boolean;
59212
+ galleryImages?: string[];
59213
+ isImage?: boolean;
59214
+ } | undefined;
59215
+ subreddit?: {
59216
+ id?: string;
59217
+ name?: string;
59218
+ nsfw?: boolean;
59219
+ type?: SubredditType_4;
59220
+ spam?: boolean;
59221
+ quarantined?: boolean;
59222
+ topics?: string[];
59223
+ rating?: SubredditRating_3;
59224
+ subscribersCount?: number;
59225
+ permalink?: string;
59226
+ } | undefined;
59227
+ upvoteRatio?: number;
59228
+ score?: number;
59229
+ } | undefined;
59230
+ postApprove?: {
59231
+ post?: {
59232
+ id?: string;
59233
+ title?: string;
59234
+ selftext?: string;
59235
+ nsfw?: boolean;
59236
+ authorId?: string;
59237
+ crowdControlLevel?: CrowdControlLevel_3;
59238
+ numReports?: number;
59239
+ isGallery?: boolean;
59240
+ isMeta?: boolean;
59241
+ createdAt?: number;
59242
+ isApproved?: boolean;
59243
+ isArchived?: boolean;
59244
+ distinguished?: DistinguishType_3;
59245
+ ignoreReports?: boolean;
59246
+ isSelf?: boolean;
59247
+ isVideo?: boolean;
59248
+ isLocked?: boolean;
59249
+ isSpoiler?: boolean;
59250
+ subredditId?: string;
59251
+ upvotes?: number;
59252
+ downvotes?: number;
59253
+ url?: string;
59254
+ isSticky?: boolean;
59255
+ linkFlair?: {
59256
+ text?: string;
59257
+ cssClass?: string;
59258
+ backgroundColor?: string;
59259
+ templateId?: string;
59260
+ textColor?: string;
59261
+ } | undefined;
59262
+ authorFlair?: {
59263
+ userId?: string;
59264
+ subredditId?: string;
59265
+ text?: string;
59266
+ cssClass?: string;
59267
+ templateId?: string;
59268
+ textColor?: string;
59269
+ backgroundColor?: string;
59270
+ enabled?: boolean;
59271
+ } | undefined;
59272
+ spam?: boolean;
59273
+ deleted?: boolean;
59274
+ languageCode?: string;
59275
+ updatedAt?: number;
59276
+ gildings?: number;
59277
+ score?: number;
59278
+ numComments?: number;
59279
+ thumbnail?: string;
59280
+ media?: {
59281
+ type?: string;
59282
+ oembed?: {
59283
+ type?: string;
59284
+ version?: string;
59285
+ title?: string;
59286
+ description?: string;
59287
+ authorName?: string;
59288
+ authorUrl?: string;
59289
+ providerName?: string;
59290
+ providerUrl?: string;
59291
+ thumbnailUrl?: string;
59292
+ thumbnailWidth?: number;
59293
+ thumbnailHeight?: number;
59294
+ html?: string;
59295
+ width?: number;
59296
+ height?: number;
59297
+ } | undefined;
59298
+ redditVideo?: {
59299
+ bitrateKbps?: number;
59300
+ fallbackUrl?: string;
59301
+ height?: number;
59302
+ width?: number;
59303
+ scrubberMediaUrl?: string;
59304
+ dashUrl?: string;
59305
+ duration?: number;
59306
+ hlsUrl?: string;
59307
+ isGif?: boolean;
59308
+ transcodingStatus?: string;
59309
+ } | undefined;
59310
+ } | undefined;
59311
+ crosspostParentId?: string;
59312
+ permalink?: string;
59313
+ isPoll?: boolean;
59314
+ isPromoted?: boolean;
59315
+ isMultiMedia?: boolean;
59316
+ type?: string;
59317
+ unlisted?: boolean;
59318
+ galleryImages?: string[];
59319
+ isImage?: boolean;
59320
+ } | undefined;
59321
+ approvedAt?: Date | undefined;
59322
+ author?: {
58351
59323
  id?: string;
58352
59324
  name?: string;
58353
59325
  isGold?: boolean;
@@ -58369,24 +59341,8 @@ declare const TriggersDefinition: {
58369
59341
  iconImage?: string;
58370
59342
  description?: string;
58371
59343
  } | undefined;
58372
- createdAt?: Date | undefined;
58373
- messageAuthorType?: string;
58374
- conversationState?: string;
58375
- conversationType?: string;
58376
- isAutoGenerated?: boolean;
58377
- conversationSubreddit?: {
58378
- id?: string;
58379
- name?: string;
58380
- nsfw?: boolean;
58381
- type?: SubredditType_4;
58382
- spam?: boolean;
58383
- quarantined?: boolean;
58384
- topics?: string[];
58385
- rating?: SubredditRating_3;
58386
- subscribersCount?: number;
58387
- permalink?: string;
58388
- } | undefined;
58389
- destinationSubreddit?: {
59344
+ source?: EventSource_4;
59345
+ subreddit?: {
58390
59346
  id?: string;
58391
59347
  name?: string;
58392
59348
  nsfw?: boolean;
@@ -58398,37 +59354,8 @@ declare const TriggersDefinition: {
58398
59354
  subscribersCount?: number;
58399
59355
  permalink?: string;
58400
59356
  } | undefined;
58401
- conversationId?: string;
58402
- messageId?: string;
58403
59357
  } | undefined;
58404
- accountDelete?: {
58405
- userId?: string;
58406
- deletedAt?: Date | undefined;
58407
- user?: {
58408
- id?: string;
58409
- name?: string;
58410
- isGold?: boolean;
58411
- snoovatarImage?: string;
58412
- url?: string;
58413
- spam?: boolean;
58414
- banned?: boolean;
58415
- flair?: {
58416
- userId?: string;
58417
- subredditId?: string;
58418
- text?: string;
58419
- cssClass?: string;
58420
- templateId?: string;
58421
- textColor?: string;
58422
- backgroundColor?: string;
58423
- enabled?: boolean;
58424
- } | undefined;
58425
- karma?: number;
58426
- iconImage?: string;
58427
- description?: string;
58428
- } | undefined;
58429
- } | undefined;
58430
- vote?: {
58431
- updatedAt?: Date | undefined;
59358
+ commentApprove?: {
58432
59359
  comment?: {
58433
59360
  id?: string;
58434
59361
  parentId?: string;
@@ -58541,6 +59468,30 @@ declare const TriggersDefinition: {
58541
59468
  galleryImages?: string[];
58542
59469
  isImage?: boolean;
58543
59470
  } | undefined;
59471
+ approvedAt?: Date | undefined;
59472
+ author?: {
59473
+ id?: string;
59474
+ name?: string;
59475
+ isGold?: boolean;
59476
+ snoovatarImage?: string;
59477
+ url?: string;
59478
+ spam?: boolean;
59479
+ banned?: boolean;
59480
+ flair?: {
59481
+ userId?: string;
59482
+ subredditId?: string;
59483
+ text?: string;
59484
+ cssClass?: string;
59485
+ templateId?: string;
59486
+ textColor?: string;
59487
+ backgroundColor?: string;
59488
+ enabled?: boolean;
59489
+ } | undefined;
59490
+ karma?: number;
59491
+ iconImage?: string;
59492
+ description?: string;
59493
+ } | undefined;
59494
+ source?: EventSource_4;
58544
59495
  subreddit?: {
58545
59496
  id?: string;
58546
59497
  name?: string;
@@ -58553,10 +59504,8 @@ declare const TriggersDefinition: {
58553
59504
  subscribersCount?: number;
58554
59505
  permalink?: string;
58555
59506
  } | undefined;
58556
- upvoteRatio?: number;
58557
- score?: number;
58558
59507
  } | undefined;
58559
- postApprove?: {
59508
+ nsfwPostUpdate?: {
58560
59509
  post?: {
58561
59510
  id?: string;
58562
59511
  title?: string;
@@ -58647,7 +59596,6 @@ declare const TriggersDefinition: {
58647
59596
  galleryImages?: string[];
58648
59597
  isImage?: boolean;
58649
59598
  } | undefined;
58650
- approvedAt?: Date | undefined;
58651
59599
  author?: {
58652
59600
  id?: string;
58653
59601
  name?: string;
@@ -58670,7 +59618,7 @@ declare const TriggersDefinition: {
58670
59618
  iconImage?: string;
58671
59619
  description?: string;
58672
59620
  } | undefined;
58673
- source?: EventSource_4;
59621
+ isNsfw?: boolean;
58674
59622
  subreddit?: {
58675
59623
  id?: string;
58676
59624
  name?: string;
@@ -58684,29 +59632,7 @@ declare const TriggersDefinition: {
58684
59632
  permalink?: string;
58685
59633
  } | undefined;
58686
59634
  } | undefined;
58687
- commentApprove?: {
58688
- comment?: {
58689
- id?: string;
58690
- parentId?: string;
58691
- body?: string;
58692
- author?: string;
58693
- numReports?: number;
58694
- collapsedBecauseCrowdControl?: boolean;
58695
- spam?: boolean;
58696
- deleted?: boolean;
58697
- createdAt?: number;
58698
- upvotes?: number;
58699
- downvotes?: number;
58700
- languageCode?: string;
58701
- lastModifiedAt?: number;
58702
- gilded?: boolean;
58703
- score?: number;
58704
- permalink?: string;
58705
- hasMedia?: boolean;
58706
- postId?: string;
58707
- subredditId?: string;
58708
- elementTypes?: string[];
58709
- } | undefined;
59635
+ spoilerPostUpdate?: {
58710
59636
  post?: {
58711
59637
  id?: string;
58712
59638
  title?: string;
@@ -58797,7 +59723,6 @@ declare const TriggersDefinition: {
58797
59723
  galleryImages?: string[];
58798
59724
  isImage?: boolean;
58799
59725
  } | undefined;
58800
- approvedAt?: Date | undefined;
58801
59726
  author?: {
58802
59727
  id?: string;
58803
59728
  name?: string;
@@ -58820,7 +59745,7 @@ declare const TriggersDefinition: {
58820
59745
  iconImage?: string;
58821
59746
  description?: string;
58822
59747
  } | undefined;
58823
- source?: EventSource_4;
59748
+ isNsfw?: boolean;
58824
59749
  subreddit?: {
58825
59750
  id?: string;
58826
59751
  name?: string;
@@ -60122,11 +61047,208 @@ declare const TriggersDefinition: {
60122
61047
  iconImage?: string;
60123
61048
  description?: string;
60124
61049
  } | undefined;
60125
- } | undefined;
60126
- modAction?: {
60127
- action?: string | undefined;
60128
- actionedAt?: Date | undefined;
60129
- subreddit?: {
61050
+ } | undefined;
61051
+ modAction?: {
61052
+ action?: string | undefined;
61053
+ actionedAt?: Date | undefined;
61054
+ subreddit?: {
61055
+ id?: string;
61056
+ name?: string;
61057
+ nsfw?: boolean;
61058
+ type?: SubredditType_4;
61059
+ spam?: boolean;
61060
+ quarantined?: boolean;
61061
+ topics?: string[];
61062
+ rating?: SubredditRating_3;
61063
+ subscribersCount?: number;
61064
+ permalink?: string;
61065
+ } | undefined;
61066
+ moderator?: {
61067
+ id?: string;
61068
+ name?: string;
61069
+ isGold?: boolean;
61070
+ snoovatarImage?: string;
61071
+ url?: string;
61072
+ spam?: boolean;
61073
+ banned?: boolean;
61074
+ flair?: {
61075
+ userId?: string;
61076
+ subredditId?: string;
61077
+ text?: string;
61078
+ cssClass?: string;
61079
+ templateId?: string;
61080
+ textColor?: string;
61081
+ backgroundColor?: string;
61082
+ enabled?: boolean;
61083
+ } | undefined;
61084
+ karma?: number;
61085
+ iconImage?: string;
61086
+ description?: string;
61087
+ } | undefined;
61088
+ targetUser?: {
61089
+ id?: string;
61090
+ name?: string;
61091
+ isGold?: boolean;
61092
+ snoovatarImage?: string;
61093
+ url?: string;
61094
+ spam?: boolean;
61095
+ banned?: boolean;
61096
+ flair?: {
61097
+ userId?: string;
61098
+ subredditId?: string;
61099
+ text?: string;
61100
+ cssClass?: string;
61101
+ templateId?: string;
61102
+ textColor?: string;
61103
+ backgroundColor?: string;
61104
+ enabled?: boolean;
61105
+ } | undefined;
61106
+ karma?: number;
61107
+ iconImage?: string;
61108
+ description?: string;
61109
+ } | undefined;
61110
+ targetComment?: {
61111
+ id?: string;
61112
+ parentId?: string;
61113
+ body?: string;
61114
+ author?: string;
61115
+ numReports?: number;
61116
+ collapsedBecauseCrowdControl?: boolean;
61117
+ spam?: boolean;
61118
+ deleted?: boolean;
61119
+ createdAt?: number;
61120
+ upvotes?: number;
61121
+ downvotes?: number;
61122
+ languageCode?: string;
61123
+ lastModifiedAt?: number;
61124
+ gilded?: boolean;
61125
+ score?: number;
61126
+ permalink?: string;
61127
+ hasMedia?: boolean;
61128
+ postId?: string;
61129
+ subredditId?: string;
61130
+ elementTypes?: string[];
61131
+ } | undefined;
61132
+ targetPost?: {
61133
+ id?: string;
61134
+ title?: string;
61135
+ selftext?: string;
61136
+ nsfw?: boolean;
61137
+ authorId?: string;
61138
+ crowdControlLevel?: CrowdControlLevel_3;
61139
+ numReports?: number;
61140
+ isGallery?: boolean;
61141
+ isMeta?: boolean;
61142
+ createdAt?: number;
61143
+ isApproved?: boolean;
61144
+ isArchived?: boolean;
61145
+ distinguished?: DistinguishType_3;
61146
+ ignoreReports?: boolean;
61147
+ isSelf?: boolean;
61148
+ isVideo?: boolean;
61149
+ isLocked?: boolean;
61150
+ isSpoiler?: boolean;
61151
+ subredditId?: string;
61152
+ upvotes?: number;
61153
+ downvotes?: number;
61154
+ url?: string;
61155
+ isSticky?: boolean;
61156
+ linkFlair?: {
61157
+ text?: string;
61158
+ cssClass?: string;
61159
+ backgroundColor?: string;
61160
+ templateId?: string;
61161
+ textColor?: string;
61162
+ } | undefined;
61163
+ authorFlair?: {
61164
+ userId?: string;
61165
+ subredditId?: string;
61166
+ text?: string;
61167
+ cssClass?: string;
61168
+ templateId?: string;
61169
+ textColor?: string;
61170
+ backgroundColor?: string;
61171
+ enabled?: boolean;
61172
+ } | undefined;
61173
+ spam?: boolean;
61174
+ deleted?: boolean;
61175
+ languageCode?: string;
61176
+ updatedAt?: number;
61177
+ gildings?: number;
61178
+ score?: number;
61179
+ numComments?: number;
61180
+ thumbnail?: string;
61181
+ media?: {
61182
+ type?: string;
61183
+ oembed?: {
61184
+ type?: string;
61185
+ version?: string;
61186
+ title?: string;
61187
+ description?: string;
61188
+ authorName?: string;
61189
+ authorUrl?: string;
61190
+ providerName?: string;
61191
+ providerUrl?: string;
61192
+ thumbnailUrl?: string;
61193
+ thumbnailWidth?: number;
61194
+ thumbnailHeight?: number;
61195
+ html?: string;
61196
+ width?: number;
61197
+ height?: number;
61198
+ } | undefined;
61199
+ redditVideo?: {
61200
+ bitrateKbps?: number;
61201
+ fallbackUrl?: string;
61202
+ height?: number;
61203
+ width?: number;
61204
+ scrubberMediaUrl?: string;
61205
+ dashUrl?: string;
61206
+ duration?: number;
61207
+ hlsUrl?: string;
61208
+ isGif?: boolean;
61209
+ transcodingStatus?: string;
61210
+ } | undefined;
61211
+ } | undefined;
61212
+ crosspostParentId?: string;
61213
+ permalink?: string;
61214
+ isPoll?: boolean;
61215
+ isPromoted?: boolean;
61216
+ isMultiMedia?: boolean;
61217
+ type?: string;
61218
+ unlisted?: boolean;
61219
+ galleryImages?: string[];
61220
+ isImage?: boolean;
61221
+ } | undefined;
61222
+ } | undefined;
61223
+ modMail?: {
61224
+ messageAuthor?: {
61225
+ id?: string;
61226
+ name?: string;
61227
+ isGold?: boolean;
61228
+ snoovatarImage?: string;
61229
+ url?: string;
61230
+ spam?: boolean;
61231
+ banned?: boolean;
61232
+ flair?: {
61233
+ userId?: string;
61234
+ subredditId?: string;
61235
+ text?: string;
61236
+ cssClass?: string;
61237
+ templateId?: string;
61238
+ textColor?: string;
61239
+ backgroundColor?: string;
61240
+ enabled?: boolean;
61241
+ } | undefined;
61242
+ karma?: number;
61243
+ iconImage?: string;
61244
+ description?: string;
61245
+ } | undefined;
61246
+ createdAt?: Date | undefined;
61247
+ messageAuthorType?: string;
61248
+ conversationState?: string;
61249
+ conversationType?: string;
61250
+ isAutoGenerated?: boolean;
61251
+ conversationSubreddit?: {
60130
61252
  id?: string;
60131
61253
  name?: string;
60132
61254
  nsfw?: boolean;
@@ -60138,29 +61260,25 @@ declare const TriggersDefinition: {
60138
61260
  subscribersCount?: number;
60139
61261
  permalink?: string;
60140
61262
  } | undefined;
60141
- moderator?: {
61263
+ destinationSubreddit?: {
60142
61264
  id?: string;
60143
61265
  name?: string;
60144
- isGold?: boolean;
60145
- snoovatarImage?: string;
60146
- url?: string;
61266
+ nsfw?: boolean;
61267
+ type?: SubredditType_4;
60147
61268
  spam?: boolean;
60148
- banned?: boolean;
60149
- flair?: {
60150
- userId?: string;
60151
- subredditId?: string;
60152
- text?: string;
60153
- cssClass?: string;
60154
- templateId?: string;
60155
- textColor?: string;
60156
- backgroundColor?: string;
60157
- enabled?: boolean;
60158
- } | undefined;
60159
- karma?: number;
60160
- iconImage?: string;
60161
- description?: string;
61269
+ quarantined?: boolean;
61270
+ topics?: string[];
61271
+ rating?: SubredditRating_3;
61272
+ subscribersCount?: number;
61273
+ permalink?: string;
60162
61274
  } | undefined;
60163
- targetUser?: {
61275
+ conversationId?: string;
61276
+ messageId?: string;
61277
+ } | undefined;
61278
+ accountDelete?: {
61279
+ userId?: string;
61280
+ deletedAt?: Date | undefined;
61281
+ user?: {
60164
61282
  id?: string;
60165
61283
  name?: string;
60166
61284
  isGold?: boolean;
@@ -60182,7 +61300,10 @@ declare const TriggersDefinition: {
60182
61300
  iconImage?: string;
60183
61301
  description?: string;
60184
61302
  } | undefined;
60185
- targetComment?: {
61303
+ } | undefined;
61304
+ vote?: {
61305
+ updatedAt?: Date | undefined;
61306
+ comment?: {
60186
61307
  id?: string;
60187
61308
  parentId?: string;
60188
61309
  body?: string;
@@ -60204,7 +61325,7 @@ declare const TriggersDefinition: {
60204
61325
  subredditId?: string;
60205
61326
  elementTypes?: string[];
60206
61327
  } | undefined;
60207
- targetPost?: {
61328
+ post?: {
60208
61329
  id?: string;
60209
61330
  title?: string;
60210
61331
  selftext?: string;
@@ -60294,36 +61415,7 @@ declare const TriggersDefinition: {
60294
61415
  galleryImages?: string[];
60295
61416
  isImage?: boolean;
60296
61417
  } | undefined;
60297
- } | undefined;
60298
- modMail?: {
60299
- messageAuthor?: {
60300
- id?: string;
60301
- name?: string;
60302
- isGold?: boolean;
60303
- snoovatarImage?: string;
60304
- url?: string;
60305
- spam?: boolean;
60306
- banned?: boolean;
60307
- flair?: {
60308
- userId?: string;
60309
- subredditId?: string;
60310
- text?: string;
60311
- cssClass?: string;
60312
- templateId?: string;
60313
- textColor?: string;
60314
- backgroundColor?: string;
60315
- enabled?: boolean;
60316
- } | undefined;
60317
- karma?: number;
60318
- iconImage?: string;
60319
- description?: string;
60320
- } | undefined;
60321
- createdAt?: Date | undefined;
60322
- messageAuthorType?: string;
60323
- conversationState?: string;
60324
- conversationType?: string;
60325
- isAutoGenerated?: boolean;
60326
- conversationSubreddit?: {
61418
+ subreddit?: {
60327
61419
  id?: string;
60328
61420
  name?: string;
60329
61421
  nsfw?: boolean;
@@ -60335,25 +61427,102 @@ declare const TriggersDefinition: {
60335
61427
  subscribersCount?: number;
60336
61428
  permalink?: string;
60337
61429
  } | undefined;
60338
- destinationSubreddit?: {
61430
+ upvoteRatio?: number;
61431
+ score?: number;
61432
+ } | undefined;
61433
+ postApprove?: {
61434
+ post?: {
60339
61435
  id?: string;
60340
- name?: string;
61436
+ title?: string;
61437
+ selftext?: string;
60341
61438
  nsfw?: boolean;
60342
- type?: SubredditType_4;
61439
+ authorId?: string;
61440
+ crowdControlLevel?: CrowdControlLevel_3;
61441
+ numReports?: number;
61442
+ isGallery?: boolean;
61443
+ isMeta?: boolean;
61444
+ createdAt?: number;
61445
+ isApproved?: boolean;
61446
+ isArchived?: boolean;
61447
+ distinguished?: DistinguishType_3;
61448
+ ignoreReports?: boolean;
61449
+ isSelf?: boolean;
61450
+ isVideo?: boolean;
61451
+ isLocked?: boolean;
61452
+ isSpoiler?: boolean;
61453
+ subredditId?: string;
61454
+ upvotes?: number;
61455
+ downvotes?: number;
61456
+ url?: string;
61457
+ isSticky?: boolean;
61458
+ linkFlair?: {
61459
+ text?: string;
61460
+ cssClass?: string;
61461
+ backgroundColor?: string;
61462
+ templateId?: string;
61463
+ textColor?: string;
61464
+ } | undefined;
61465
+ authorFlair?: {
61466
+ userId?: string;
61467
+ subredditId?: string;
61468
+ text?: string;
61469
+ cssClass?: string;
61470
+ templateId?: string;
61471
+ textColor?: string;
61472
+ backgroundColor?: string;
61473
+ enabled?: boolean;
61474
+ } | undefined;
60343
61475
  spam?: boolean;
60344
- quarantined?: boolean;
60345
- topics?: string[];
60346
- rating?: SubredditRating_3;
60347
- subscribersCount?: number;
61476
+ deleted?: boolean;
61477
+ languageCode?: string;
61478
+ updatedAt?: number;
61479
+ gildings?: number;
61480
+ score?: number;
61481
+ numComments?: number;
61482
+ thumbnail?: string;
61483
+ media?: {
61484
+ type?: string;
61485
+ oembed?: {
61486
+ type?: string;
61487
+ version?: string;
61488
+ title?: string;
61489
+ description?: string;
61490
+ authorName?: string;
61491
+ authorUrl?: string;
61492
+ providerName?: string;
61493
+ providerUrl?: string;
61494
+ thumbnailUrl?: string;
61495
+ thumbnailWidth?: number;
61496
+ thumbnailHeight?: number;
61497
+ html?: string;
61498
+ width?: number;
61499
+ height?: number;
61500
+ } | undefined;
61501
+ redditVideo?: {
61502
+ bitrateKbps?: number;
61503
+ fallbackUrl?: string;
61504
+ height?: number;
61505
+ width?: number;
61506
+ scrubberMediaUrl?: string;
61507
+ dashUrl?: string;
61508
+ duration?: number;
61509
+ hlsUrl?: string;
61510
+ isGif?: boolean;
61511
+ transcodingStatus?: string;
61512
+ } | undefined;
61513
+ } | undefined;
61514
+ crosspostParentId?: string;
60348
61515
  permalink?: string;
61516
+ isPoll?: boolean;
61517
+ isPromoted?: boolean;
61518
+ isMultiMedia?: boolean;
61519
+ type?: string;
61520
+ unlisted?: boolean;
61521
+ galleryImages?: string[];
61522
+ isImage?: boolean;
60349
61523
  } | undefined;
60350
- conversationId?: string;
60351
- messageId?: string;
60352
- } | undefined;
60353
- accountDelete?: {
60354
- userId?: string;
60355
- deletedAt?: Date | undefined;
60356
- user?: {
61524
+ approvedAt?: Date | undefined;
61525
+ author?: {
60357
61526
  id?: string;
60358
61527
  name?: string;
60359
61528
  isGold?: boolean;
@@ -60375,9 +61544,21 @@ declare const TriggersDefinition: {
60375
61544
  iconImage?: string;
60376
61545
  description?: string;
60377
61546
  } | undefined;
61547
+ source?: EventSource_4;
61548
+ subreddit?: {
61549
+ id?: string;
61550
+ name?: string;
61551
+ nsfw?: boolean;
61552
+ type?: SubredditType_4;
61553
+ spam?: boolean;
61554
+ quarantined?: boolean;
61555
+ topics?: string[];
61556
+ rating?: SubredditRating_3;
61557
+ subscribersCount?: number;
61558
+ permalink?: string;
61559
+ } | undefined;
60378
61560
  } | undefined;
60379
- vote?: {
60380
- updatedAt?: Date | undefined;
61561
+ commentApprove?: {
60381
61562
  comment?: {
60382
61563
  id?: string;
60383
61564
  parentId?: string;
@@ -60490,6 +61671,30 @@ declare const TriggersDefinition: {
60490
61671
  galleryImages?: string[];
60491
61672
  isImage?: boolean;
60492
61673
  } | undefined;
61674
+ approvedAt?: Date | undefined;
61675
+ author?: {
61676
+ id?: string;
61677
+ name?: string;
61678
+ isGold?: boolean;
61679
+ snoovatarImage?: string;
61680
+ url?: string;
61681
+ spam?: boolean;
61682
+ banned?: boolean;
61683
+ flair?: {
61684
+ userId?: string;
61685
+ subredditId?: string;
61686
+ text?: string;
61687
+ cssClass?: string;
61688
+ templateId?: string;
61689
+ textColor?: string;
61690
+ backgroundColor?: string;
61691
+ enabled?: boolean;
61692
+ } | undefined;
61693
+ karma?: number;
61694
+ iconImage?: string;
61695
+ description?: string;
61696
+ } | undefined;
61697
+ source?: EventSource_4;
60493
61698
  subreddit?: {
60494
61699
  id?: string;
60495
61700
  name?: string;
@@ -60502,10 +61707,8 @@ declare const TriggersDefinition: {
60502
61707
  subscribersCount?: number;
60503
61708
  permalink?: string;
60504
61709
  } | undefined;
60505
- upvoteRatio?: number;
60506
- score?: number;
60507
61710
  } | undefined;
60508
- postApprove?: {
61711
+ nsfwPostUpdate?: {
60509
61712
  post?: {
60510
61713
  id?: string;
60511
61714
  title?: string;
@@ -60596,7 +61799,6 @@ declare const TriggersDefinition: {
60596
61799
  galleryImages?: string[];
60597
61800
  isImage?: boolean;
60598
61801
  } | undefined;
60599
- approvedAt?: Date | undefined;
60600
61802
  author?: {
60601
61803
  id?: string;
60602
61804
  name?: string;
@@ -60619,7 +61821,7 @@ declare const TriggersDefinition: {
60619
61821
  iconImage?: string;
60620
61822
  description?: string;
60621
61823
  } | undefined;
60622
- source?: EventSource_4;
61824
+ isNsfw?: boolean;
60623
61825
  subreddit?: {
60624
61826
  id?: string;
60625
61827
  name?: string;
@@ -60633,29 +61835,7 @@ declare const TriggersDefinition: {
60633
61835
  permalink?: string;
60634
61836
  } | undefined;
60635
61837
  } | undefined;
60636
- commentApprove?: {
60637
- comment?: {
60638
- id?: string;
60639
- parentId?: string;
60640
- body?: string;
60641
- author?: string;
60642
- numReports?: number;
60643
- collapsedBecauseCrowdControl?: boolean;
60644
- spam?: boolean;
60645
- deleted?: boolean;
60646
- createdAt?: number;
60647
- upvotes?: number;
60648
- downvotes?: number;
60649
- languageCode?: string;
60650
- lastModifiedAt?: number;
60651
- gilded?: boolean;
60652
- score?: number;
60653
- permalink?: string;
60654
- hasMedia?: boolean;
60655
- postId?: string;
60656
- subredditId?: string;
60657
- elementTypes?: string[];
60658
- } | undefined;
61838
+ spoilerPostUpdate?: {
60659
61839
  post?: {
60660
61840
  id?: string;
60661
61841
  title?: string;
@@ -60746,7 +61926,6 @@ declare const TriggersDefinition: {
60746
61926
  galleryImages?: string[];
60747
61927
  isImage?: boolean;
60748
61928
  } | undefined;
60749
- approvedAt?: Date | undefined;
60750
61929
  author?: {
60751
61930
  id?: string;
60752
61931
  name?: string;
@@ -60769,7 +61948,7 @@ declare const TriggersDefinition: {
60769
61948
  iconImage?: string;
60770
61949
  description?: string;
60771
61950
  } | undefined;
60772
- source?: EventSource_4;
61951
+ isNsfw?: boolean;
60773
61952
  subreddit?: {
60774
61953
  id?: string;
60775
61954
  name?: string;
@@ -62265,9 +63444,310 @@ declare const TriggersDefinition: {
62265
63444
  galleryImages?: string[];
62266
63445
  isImage?: boolean;
62267
63446
  } | undefined;
62268
- } | undefined;
62269
- modMail?: {
62270
- messageAuthor?: {
63447
+ } | undefined;
63448
+ modMail?: {
63449
+ messageAuthor?: {
63450
+ id?: string;
63451
+ name?: string;
63452
+ isGold?: boolean;
63453
+ snoovatarImage?: string;
63454
+ url?: string;
63455
+ spam?: boolean;
63456
+ banned?: boolean;
63457
+ flair?: {
63458
+ userId?: string;
63459
+ subredditId?: string;
63460
+ text?: string;
63461
+ cssClass?: string;
63462
+ templateId?: string;
63463
+ textColor?: string;
63464
+ backgroundColor?: string;
63465
+ enabled?: boolean;
63466
+ } | undefined;
63467
+ karma?: number;
63468
+ iconImage?: string;
63469
+ description?: string;
63470
+ } | undefined;
63471
+ createdAt?: Date | undefined;
63472
+ messageAuthorType?: string;
63473
+ conversationState?: string;
63474
+ conversationType?: string;
63475
+ isAutoGenerated?: boolean;
63476
+ conversationSubreddit?: {
63477
+ id?: string;
63478
+ name?: string;
63479
+ nsfw?: boolean;
63480
+ type?: SubredditType_4;
63481
+ spam?: boolean;
63482
+ quarantined?: boolean;
63483
+ topics?: string[];
63484
+ rating?: SubredditRating_3;
63485
+ subscribersCount?: number;
63486
+ permalink?: string;
63487
+ } | undefined;
63488
+ destinationSubreddit?: {
63489
+ id?: string;
63490
+ name?: string;
63491
+ nsfw?: boolean;
63492
+ type?: SubredditType_4;
63493
+ spam?: boolean;
63494
+ quarantined?: boolean;
63495
+ topics?: string[];
63496
+ rating?: SubredditRating_3;
63497
+ subscribersCount?: number;
63498
+ permalink?: string;
63499
+ } | undefined;
63500
+ conversationId?: string;
63501
+ messageId?: string;
63502
+ } | undefined;
63503
+ accountDelete?: {
63504
+ userId?: string;
63505
+ deletedAt?: Date | undefined;
63506
+ user?: {
63507
+ id?: string;
63508
+ name?: string;
63509
+ isGold?: boolean;
63510
+ snoovatarImage?: string;
63511
+ url?: string;
63512
+ spam?: boolean;
63513
+ banned?: boolean;
63514
+ flair?: {
63515
+ userId?: string;
63516
+ subredditId?: string;
63517
+ text?: string;
63518
+ cssClass?: string;
63519
+ templateId?: string;
63520
+ textColor?: string;
63521
+ backgroundColor?: string;
63522
+ enabled?: boolean;
63523
+ } | undefined;
63524
+ karma?: number;
63525
+ iconImage?: string;
63526
+ description?: string;
63527
+ } | undefined;
63528
+ } | undefined;
63529
+ vote?: {
63530
+ updatedAt?: Date | undefined;
63531
+ comment?: {
63532
+ id?: string;
63533
+ parentId?: string;
63534
+ body?: string;
63535
+ author?: string;
63536
+ numReports?: number;
63537
+ collapsedBecauseCrowdControl?: boolean;
63538
+ spam?: boolean;
63539
+ deleted?: boolean;
63540
+ createdAt?: number;
63541
+ upvotes?: number;
63542
+ downvotes?: number;
63543
+ languageCode?: string;
63544
+ lastModifiedAt?: number;
63545
+ gilded?: boolean;
63546
+ score?: number;
63547
+ permalink?: string;
63548
+ hasMedia?: boolean;
63549
+ postId?: string;
63550
+ subredditId?: string;
63551
+ elementTypes?: string[];
63552
+ } | undefined;
63553
+ post?: {
63554
+ id?: string;
63555
+ title?: string;
63556
+ selftext?: string;
63557
+ nsfw?: boolean;
63558
+ authorId?: string;
63559
+ crowdControlLevel?: CrowdControlLevel_3;
63560
+ numReports?: number;
63561
+ isGallery?: boolean;
63562
+ isMeta?: boolean;
63563
+ createdAt?: number;
63564
+ isApproved?: boolean;
63565
+ isArchived?: boolean;
63566
+ distinguished?: DistinguishType_3;
63567
+ ignoreReports?: boolean;
63568
+ isSelf?: boolean;
63569
+ isVideo?: boolean;
63570
+ isLocked?: boolean;
63571
+ isSpoiler?: boolean;
63572
+ subredditId?: string;
63573
+ upvotes?: number;
63574
+ downvotes?: number;
63575
+ url?: string;
63576
+ isSticky?: boolean;
63577
+ linkFlair?: {
63578
+ text?: string;
63579
+ cssClass?: string;
63580
+ backgroundColor?: string;
63581
+ templateId?: string;
63582
+ textColor?: string;
63583
+ } | undefined;
63584
+ authorFlair?: {
63585
+ userId?: string;
63586
+ subredditId?: string;
63587
+ text?: string;
63588
+ cssClass?: string;
63589
+ templateId?: string;
63590
+ textColor?: string;
63591
+ backgroundColor?: string;
63592
+ enabled?: boolean;
63593
+ } | undefined;
63594
+ spam?: boolean;
63595
+ deleted?: boolean;
63596
+ languageCode?: string;
63597
+ updatedAt?: number;
63598
+ gildings?: number;
63599
+ score?: number;
63600
+ numComments?: number;
63601
+ thumbnail?: string;
63602
+ media?: {
63603
+ type?: string;
63604
+ oembed?: {
63605
+ type?: string;
63606
+ version?: string;
63607
+ title?: string;
63608
+ description?: string;
63609
+ authorName?: string;
63610
+ authorUrl?: string;
63611
+ providerName?: string;
63612
+ providerUrl?: string;
63613
+ thumbnailUrl?: string;
63614
+ thumbnailWidth?: number;
63615
+ thumbnailHeight?: number;
63616
+ html?: string;
63617
+ width?: number;
63618
+ height?: number;
63619
+ } | undefined;
63620
+ redditVideo?: {
63621
+ bitrateKbps?: number;
63622
+ fallbackUrl?: string;
63623
+ height?: number;
63624
+ width?: number;
63625
+ scrubberMediaUrl?: string;
63626
+ dashUrl?: string;
63627
+ duration?: number;
63628
+ hlsUrl?: string;
63629
+ isGif?: boolean;
63630
+ transcodingStatus?: string;
63631
+ } | undefined;
63632
+ } | undefined;
63633
+ crosspostParentId?: string;
63634
+ permalink?: string;
63635
+ isPoll?: boolean;
63636
+ isPromoted?: boolean;
63637
+ isMultiMedia?: boolean;
63638
+ type?: string;
63639
+ unlisted?: boolean;
63640
+ galleryImages?: string[];
63641
+ isImage?: boolean;
63642
+ } | undefined;
63643
+ subreddit?: {
63644
+ id?: string;
63645
+ name?: string;
63646
+ nsfw?: boolean;
63647
+ type?: SubredditType_4;
63648
+ spam?: boolean;
63649
+ quarantined?: boolean;
63650
+ topics?: string[];
63651
+ rating?: SubredditRating_3;
63652
+ subscribersCount?: number;
63653
+ permalink?: string;
63654
+ } | undefined;
63655
+ upvoteRatio?: number;
63656
+ score?: number;
63657
+ } | undefined;
63658
+ postApprove?: {
63659
+ post?: {
63660
+ id?: string;
63661
+ title?: string;
63662
+ selftext?: string;
63663
+ nsfw?: boolean;
63664
+ authorId?: string;
63665
+ crowdControlLevel?: CrowdControlLevel_3;
63666
+ numReports?: number;
63667
+ isGallery?: boolean;
63668
+ isMeta?: boolean;
63669
+ createdAt?: number;
63670
+ isApproved?: boolean;
63671
+ isArchived?: boolean;
63672
+ distinguished?: DistinguishType_3;
63673
+ ignoreReports?: boolean;
63674
+ isSelf?: boolean;
63675
+ isVideo?: boolean;
63676
+ isLocked?: boolean;
63677
+ isSpoiler?: boolean;
63678
+ subredditId?: string;
63679
+ upvotes?: number;
63680
+ downvotes?: number;
63681
+ url?: string;
63682
+ isSticky?: boolean;
63683
+ linkFlair?: {
63684
+ text?: string;
63685
+ cssClass?: string;
63686
+ backgroundColor?: string;
63687
+ templateId?: string;
63688
+ textColor?: string;
63689
+ } | undefined;
63690
+ authorFlair?: {
63691
+ userId?: string;
63692
+ subredditId?: string;
63693
+ text?: string;
63694
+ cssClass?: string;
63695
+ templateId?: string;
63696
+ textColor?: string;
63697
+ backgroundColor?: string;
63698
+ enabled?: boolean;
63699
+ } | undefined;
63700
+ spam?: boolean;
63701
+ deleted?: boolean;
63702
+ languageCode?: string;
63703
+ updatedAt?: number;
63704
+ gildings?: number;
63705
+ score?: number;
63706
+ numComments?: number;
63707
+ thumbnail?: string;
63708
+ media?: {
63709
+ type?: string;
63710
+ oembed?: {
63711
+ type?: string;
63712
+ version?: string;
63713
+ title?: string;
63714
+ description?: string;
63715
+ authorName?: string;
63716
+ authorUrl?: string;
63717
+ providerName?: string;
63718
+ providerUrl?: string;
63719
+ thumbnailUrl?: string;
63720
+ thumbnailWidth?: number;
63721
+ thumbnailHeight?: number;
63722
+ html?: string;
63723
+ width?: number;
63724
+ height?: number;
63725
+ } | undefined;
63726
+ redditVideo?: {
63727
+ bitrateKbps?: number;
63728
+ fallbackUrl?: string;
63729
+ height?: number;
63730
+ width?: number;
63731
+ scrubberMediaUrl?: string;
63732
+ dashUrl?: string;
63733
+ duration?: number;
63734
+ hlsUrl?: string;
63735
+ isGif?: boolean;
63736
+ transcodingStatus?: string;
63737
+ } | undefined;
63738
+ } | undefined;
63739
+ crosspostParentId?: string;
63740
+ permalink?: string;
63741
+ isPoll?: boolean;
63742
+ isPromoted?: boolean;
63743
+ isMultiMedia?: boolean;
63744
+ type?: string;
63745
+ unlisted?: boolean;
63746
+ galleryImages?: string[];
63747
+ isImage?: boolean;
63748
+ } | undefined;
63749
+ approvedAt?: Date | undefined;
63750
+ author?: {
62271
63751
  id?: string;
62272
63752
  name?: string;
62273
63753
  isGold?: boolean;
@@ -62289,24 +63769,8 @@ declare const TriggersDefinition: {
62289
63769
  iconImage?: string;
62290
63770
  description?: string;
62291
63771
  } | undefined;
62292
- createdAt?: Date | undefined;
62293
- messageAuthorType?: string;
62294
- conversationState?: string;
62295
- conversationType?: string;
62296
- isAutoGenerated?: boolean;
62297
- conversationSubreddit?: {
62298
- id?: string;
62299
- name?: string;
62300
- nsfw?: boolean;
62301
- type?: SubredditType_4;
62302
- spam?: boolean;
62303
- quarantined?: boolean;
62304
- topics?: string[];
62305
- rating?: SubredditRating_3;
62306
- subscribersCount?: number;
62307
- permalink?: string;
62308
- } | undefined;
62309
- destinationSubreddit?: {
63772
+ source?: EventSource_4;
63773
+ subreddit?: {
62310
63774
  id?: string;
62311
63775
  name?: string;
62312
63776
  nsfw?: boolean;
@@ -62318,37 +63782,8 @@ declare const TriggersDefinition: {
62318
63782
  subscribersCount?: number;
62319
63783
  permalink?: string;
62320
63784
  } | undefined;
62321
- conversationId?: string;
62322
- messageId?: string;
62323
63785
  } | undefined;
62324
- accountDelete?: {
62325
- userId?: string;
62326
- deletedAt?: Date | undefined;
62327
- user?: {
62328
- id?: string;
62329
- name?: string;
62330
- isGold?: boolean;
62331
- snoovatarImage?: string;
62332
- url?: string;
62333
- spam?: boolean;
62334
- banned?: boolean;
62335
- flair?: {
62336
- userId?: string;
62337
- subredditId?: string;
62338
- text?: string;
62339
- cssClass?: string;
62340
- templateId?: string;
62341
- textColor?: string;
62342
- backgroundColor?: string;
62343
- enabled?: boolean;
62344
- } | undefined;
62345
- karma?: number;
62346
- iconImage?: string;
62347
- description?: string;
62348
- } | undefined;
62349
- } | undefined;
62350
- vote?: {
62351
- updatedAt?: Date | undefined;
63786
+ commentApprove?: {
62352
63787
  comment?: {
62353
63788
  id?: string;
62354
63789
  parentId?: string;
@@ -62461,6 +63896,30 @@ declare const TriggersDefinition: {
62461
63896
  galleryImages?: string[];
62462
63897
  isImage?: boolean;
62463
63898
  } | undefined;
63899
+ approvedAt?: Date | undefined;
63900
+ author?: {
63901
+ id?: string;
63902
+ name?: string;
63903
+ isGold?: boolean;
63904
+ snoovatarImage?: string;
63905
+ url?: string;
63906
+ spam?: boolean;
63907
+ banned?: boolean;
63908
+ flair?: {
63909
+ userId?: string;
63910
+ subredditId?: string;
63911
+ text?: string;
63912
+ cssClass?: string;
63913
+ templateId?: string;
63914
+ textColor?: string;
63915
+ backgroundColor?: string;
63916
+ enabled?: boolean;
63917
+ } | undefined;
63918
+ karma?: number;
63919
+ iconImage?: string;
63920
+ description?: string;
63921
+ } | undefined;
63922
+ source?: EventSource_4;
62464
63923
  subreddit?: {
62465
63924
  id?: string;
62466
63925
  name?: string;
@@ -62473,10 +63932,8 @@ declare const TriggersDefinition: {
62473
63932
  subscribersCount?: number;
62474
63933
  permalink?: string;
62475
63934
  } | undefined;
62476
- upvoteRatio?: number;
62477
- score?: number;
62478
63935
  } | undefined;
62479
- postApprove?: {
63936
+ nsfwPostUpdate?: {
62480
63937
  post?: {
62481
63938
  id?: string;
62482
63939
  title?: string;
@@ -62567,7 +64024,6 @@ declare const TriggersDefinition: {
62567
64024
  galleryImages?: string[];
62568
64025
  isImage?: boolean;
62569
64026
  } | undefined;
62570
- approvedAt?: Date | undefined;
62571
64027
  author?: {
62572
64028
  id?: string;
62573
64029
  name?: string;
@@ -62590,7 +64046,7 @@ declare const TriggersDefinition: {
62590
64046
  iconImage?: string;
62591
64047
  description?: string;
62592
64048
  } | undefined;
62593
- source?: EventSource_4;
64049
+ isNsfw?: boolean;
62594
64050
  subreddit?: {
62595
64051
  id?: string;
62596
64052
  name?: string;
@@ -62604,29 +64060,7 @@ declare const TriggersDefinition: {
62604
64060
  permalink?: string;
62605
64061
  } | undefined;
62606
64062
  } | undefined;
62607
- commentApprove?: {
62608
- comment?: {
62609
- id?: string;
62610
- parentId?: string;
62611
- body?: string;
62612
- author?: string;
62613
- numReports?: number;
62614
- collapsedBecauseCrowdControl?: boolean;
62615
- spam?: boolean;
62616
- deleted?: boolean;
62617
- createdAt?: number;
62618
- upvotes?: number;
62619
- downvotes?: number;
62620
- languageCode?: string;
62621
- lastModifiedAt?: number;
62622
- gilded?: boolean;
62623
- score?: number;
62624
- permalink?: string;
62625
- hasMedia?: boolean;
62626
- postId?: string;
62627
- subredditId?: string;
62628
- elementTypes?: string[];
62629
- } | undefined;
64063
+ spoilerPostUpdate?: {
62630
64064
  post?: {
62631
64065
  id?: string;
62632
64066
  title?: string;
@@ -62717,7 +64151,6 @@ declare const TriggersDefinition: {
62717
64151
  galleryImages?: string[];
62718
64152
  isImage?: boolean;
62719
64153
  } | undefined;
62720
- approvedAt?: Date | undefined;
62721
64154
  author?: {
62722
64155
  id?: string;
62723
64156
  name?: string;
@@ -62740,7 +64173,7 @@ declare const TriggersDefinition: {
62740
64173
  iconImage?: string;
62741
64174
  description?: string;
62742
64175
  } | undefined;
62743
- source?: EventSource_4;
64176
+ isNsfw?: boolean;
62744
64177
  subreddit?: {
62745
64178
  id?: string;
62746
64179
  name?: string;
@@ -64042,11 +65475,208 @@ declare const TriggersDefinition: {
64042
65475
  iconImage?: string;
64043
65476
  description?: string;
64044
65477
  } | undefined;
64045
- } | undefined;
64046
- modAction?: {
64047
- action?: string | undefined;
64048
- actionedAt?: Date | undefined;
64049
- subreddit?: {
65478
+ } | undefined;
65479
+ modAction?: {
65480
+ action?: string | undefined;
65481
+ actionedAt?: Date | undefined;
65482
+ subreddit?: {
65483
+ id?: string;
65484
+ name?: string;
65485
+ nsfw?: boolean;
65486
+ type?: SubredditType_4;
65487
+ spam?: boolean;
65488
+ quarantined?: boolean;
65489
+ topics?: string[];
65490
+ rating?: SubredditRating_3;
65491
+ subscribersCount?: number;
65492
+ permalink?: string;
65493
+ } | undefined;
65494
+ moderator?: {
65495
+ id?: string;
65496
+ name?: string;
65497
+ isGold?: boolean;
65498
+ snoovatarImage?: string;
65499
+ url?: string;
65500
+ spam?: boolean;
65501
+ banned?: boolean;
65502
+ flair?: {
65503
+ userId?: string;
65504
+ subredditId?: string;
65505
+ text?: string;
65506
+ cssClass?: string;
65507
+ templateId?: string;
65508
+ textColor?: string;
65509
+ backgroundColor?: string;
65510
+ enabled?: boolean;
65511
+ } | undefined;
65512
+ karma?: number;
65513
+ iconImage?: string;
65514
+ description?: string;
65515
+ } | undefined;
65516
+ targetUser?: {
65517
+ id?: string;
65518
+ name?: string;
65519
+ isGold?: boolean;
65520
+ snoovatarImage?: string;
65521
+ url?: string;
65522
+ spam?: boolean;
65523
+ banned?: boolean;
65524
+ flair?: {
65525
+ userId?: string;
65526
+ subredditId?: string;
65527
+ text?: string;
65528
+ cssClass?: string;
65529
+ templateId?: string;
65530
+ textColor?: string;
65531
+ backgroundColor?: string;
65532
+ enabled?: boolean;
65533
+ } | undefined;
65534
+ karma?: number;
65535
+ iconImage?: string;
65536
+ description?: string;
65537
+ } | undefined;
65538
+ targetComment?: {
65539
+ id?: string;
65540
+ parentId?: string;
65541
+ body?: string;
65542
+ author?: string;
65543
+ numReports?: number;
65544
+ collapsedBecauseCrowdControl?: boolean;
65545
+ spam?: boolean;
65546
+ deleted?: boolean;
65547
+ createdAt?: number;
65548
+ upvotes?: number;
65549
+ downvotes?: number;
65550
+ languageCode?: string;
65551
+ lastModifiedAt?: number;
65552
+ gilded?: boolean;
65553
+ score?: number;
65554
+ permalink?: string;
65555
+ hasMedia?: boolean;
65556
+ postId?: string;
65557
+ subredditId?: string;
65558
+ elementTypes?: string[];
65559
+ } | undefined;
65560
+ targetPost?: {
65561
+ id?: string;
65562
+ title?: string;
65563
+ selftext?: string;
65564
+ nsfw?: boolean;
65565
+ authorId?: string;
65566
+ crowdControlLevel?: CrowdControlLevel_3;
65567
+ numReports?: number;
65568
+ isGallery?: boolean;
65569
+ isMeta?: boolean;
65570
+ createdAt?: number;
65571
+ isApproved?: boolean;
65572
+ isArchived?: boolean;
65573
+ distinguished?: DistinguishType_3;
65574
+ ignoreReports?: boolean;
65575
+ isSelf?: boolean;
65576
+ isVideo?: boolean;
65577
+ isLocked?: boolean;
65578
+ isSpoiler?: boolean;
65579
+ subredditId?: string;
65580
+ upvotes?: number;
65581
+ downvotes?: number;
65582
+ url?: string;
65583
+ isSticky?: boolean;
65584
+ linkFlair?: {
65585
+ text?: string;
65586
+ cssClass?: string;
65587
+ backgroundColor?: string;
65588
+ templateId?: string;
65589
+ textColor?: string;
65590
+ } | undefined;
65591
+ authorFlair?: {
65592
+ userId?: string;
65593
+ subredditId?: string;
65594
+ text?: string;
65595
+ cssClass?: string;
65596
+ templateId?: string;
65597
+ textColor?: string;
65598
+ backgroundColor?: string;
65599
+ enabled?: boolean;
65600
+ } | undefined;
65601
+ spam?: boolean;
65602
+ deleted?: boolean;
65603
+ languageCode?: string;
65604
+ updatedAt?: number;
65605
+ gildings?: number;
65606
+ score?: number;
65607
+ numComments?: number;
65608
+ thumbnail?: string;
65609
+ media?: {
65610
+ type?: string;
65611
+ oembed?: {
65612
+ type?: string;
65613
+ version?: string;
65614
+ title?: string;
65615
+ description?: string;
65616
+ authorName?: string;
65617
+ authorUrl?: string;
65618
+ providerName?: string;
65619
+ providerUrl?: string;
65620
+ thumbnailUrl?: string;
65621
+ thumbnailWidth?: number;
65622
+ thumbnailHeight?: number;
65623
+ html?: string;
65624
+ width?: number;
65625
+ height?: number;
65626
+ } | undefined;
65627
+ redditVideo?: {
65628
+ bitrateKbps?: number;
65629
+ fallbackUrl?: string;
65630
+ height?: number;
65631
+ width?: number;
65632
+ scrubberMediaUrl?: string;
65633
+ dashUrl?: string;
65634
+ duration?: number;
65635
+ hlsUrl?: string;
65636
+ isGif?: boolean;
65637
+ transcodingStatus?: string;
65638
+ } | undefined;
65639
+ } | undefined;
65640
+ crosspostParentId?: string;
65641
+ permalink?: string;
65642
+ isPoll?: boolean;
65643
+ isPromoted?: boolean;
65644
+ isMultiMedia?: boolean;
65645
+ type?: string;
65646
+ unlisted?: boolean;
65647
+ galleryImages?: string[];
65648
+ isImage?: boolean;
65649
+ } | undefined;
65650
+ } | undefined;
65651
+ modMail?: {
65652
+ messageAuthor?: {
65653
+ id?: string;
65654
+ name?: string;
65655
+ isGold?: boolean;
65656
+ snoovatarImage?: string;
65657
+ url?: string;
65658
+ spam?: boolean;
65659
+ banned?: boolean;
65660
+ flair?: {
65661
+ userId?: string;
65662
+ subredditId?: string;
65663
+ text?: string;
65664
+ cssClass?: string;
65665
+ templateId?: string;
65666
+ textColor?: string;
65667
+ backgroundColor?: string;
65668
+ enabled?: boolean;
65669
+ } | undefined;
65670
+ karma?: number;
65671
+ iconImage?: string;
65672
+ description?: string;
65673
+ } | undefined;
65674
+ createdAt?: Date | undefined;
65675
+ messageAuthorType?: string;
65676
+ conversationState?: string;
65677
+ conversationType?: string;
65678
+ isAutoGenerated?: boolean;
65679
+ conversationSubreddit?: {
64050
65680
  id?: string;
64051
65681
  name?: string;
64052
65682
  nsfw?: boolean;
@@ -64058,29 +65688,25 @@ declare const TriggersDefinition: {
64058
65688
  subscribersCount?: number;
64059
65689
  permalink?: string;
64060
65690
  } | undefined;
64061
- moderator?: {
65691
+ destinationSubreddit?: {
64062
65692
  id?: string;
64063
65693
  name?: string;
64064
- isGold?: boolean;
64065
- snoovatarImage?: string;
64066
- url?: string;
65694
+ nsfw?: boolean;
65695
+ type?: SubredditType_4;
64067
65696
  spam?: boolean;
64068
- banned?: boolean;
64069
- flair?: {
64070
- userId?: string;
64071
- subredditId?: string;
64072
- text?: string;
64073
- cssClass?: string;
64074
- templateId?: string;
64075
- textColor?: string;
64076
- backgroundColor?: string;
64077
- enabled?: boolean;
64078
- } | undefined;
64079
- karma?: number;
64080
- iconImage?: string;
64081
- description?: string;
65697
+ quarantined?: boolean;
65698
+ topics?: string[];
65699
+ rating?: SubredditRating_3;
65700
+ subscribersCount?: number;
65701
+ permalink?: string;
64082
65702
  } | undefined;
64083
- targetUser?: {
65703
+ conversationId?: string;
65704
+ messageId?: string;
65705
+ } | undefined;
65706
+ accountDelete?: {
65707
+ userId?: string;
65708
+ deletedAt?: Date | undefined;
65709
+ user?: {
64084
65710
  id?: string;
64085
65711
  name?: string;
64086
65712
  isGold?: boolean;
@@ -64102,7 +65728,10 @@ declare const TriggersDefinition: {
64102
65728
  iconImage?: string;
64103
65729
  description?: string;
64104
65730
  } | undefined;
64105
- targetComment?: {
65731
+ } | undefined;
65732
+ vote?: {
65733
+ updatedAt?: Date | undefined;
65734
+ comment?: {
64106
65735
  id?: string;
64107
65736
  parentId?: string;
64108
65737
  body?: string;
@@ -64124,7 +65753,7 @@ declare const TriggersDefinition: {
64124
65753
  subredditId?: string;
64125
65754
  elementTypes?: string[];
64126
65755
  } | undefined;
64127
- targetPost?: {
65756
+ post?: {
64128
65757
  id?: string;
64129
65758
  title?: string;
64130
65759
  selftext?: string;
@@ -64214,36 +65843,7 @@ declare const TriggersDefinition: {
64214
65843
  galleryImages?: string[];
64215
65844
  isImage?: boolean;
64216
65845
  } | undefined;
64217
- } | undefined;
64218
- modMail?: {
64219
- messageAuthor?: {
64220
- id?: string;
64221
- name?: string;
64222
- isGold?: boolean;
64223
- snoovatarImage?: string;
64224
- url?: string;
64225
- spam?: boolean;
64226
- banned?: boolean;
64227
- flair?: {
64228
- userId?: string;
64229
- subredditId?: string;
64230
- text?: string;
64231
- cssClass?: string;
64232
- templateId?: string;
64233
- textColor?: string;
64234
- backgroundColor?: string;
64235
- enabled?: boolean;
64236
- } | undefined;
64237
- karma?: number;
64238
- iconImage?: string;
64239
- description?: string;
64240
- } | undefined;
64241
- createdAt?: Date | undefined;
64242
- messageAuthorType?: string;
64243
- conversationState?: string;
64244
- conversationType?: string;
64245
- isAutoGenerated?: boolean;
64246
- conversationSubreddit?: {
65846
+ subreddit?: {
64247
65847
  id?: string;
64248
65848
  name?: string;
64249
65849
  nsfw?: boolean;
@@ -64255,25 +65855,102 @@ declare const TriggersDefinition: {
64255
65855
  subscribersCount?: number;
64256
65856
  permalink?: string;
64257
65857
  } | undefined;
64258
- destinationSubreddit?: {
65858
+ upvoteRatio?: number;
65859
+ score?: number;
65860
+ } | undefined;
65861
+ postApprove?: {
65862
+ post?: {
64259
65863
  id?: string;
64260
- name?: string;
65864
+ title?: string;
65865
+ selftext?: string;
64261
65866
  nsfw?: boolean;
64262
- type?: SubredditType_4;
65867
+ authorId?: string;
65868
+ crowdControlLevel?: CrowdControlLevel_3;
65869
+ numReports?: number;
65870
+ isGallery?: boolean;
65871
+ isMeta?: boolean;
65872
+ createdAt?: number;
65873
+ isApproved?: boolean;
65874
+ isArchived?: boolean;
65875
+ distinguished?: DistinguishType_3;
65876
+ ignoreReports?: boolean;
65877
+ isSelf?: boolean;
65878
+ isVideo?: boolean;
65879
+ isLocked?: boolean;
65880
+ isSpoiler?: boolean;
65881
+ subredditId?: string;
65882
+ upvotes?: number;
65883
+ downvotes?: number;
65884
+ url?: string;
65885
+ isSticky?: boolean;
65886
+ linkFlair?: {
65887
+ text?: string;
65888
+ cssClass?: string;
65889
+ backgroundColor?: string;
65890
+ templateId?: string;
65891
+ textColor?: string;
65892
+ } | undefined;
65893
+ authorFlair?: {
65894
+ userId?: string;
65895
+ subredditId?: string;
65896
+ text?: string;
65897
+ cssClass?: string;
65898
+ templateId?: string;
65899
+ textColor?: string;
65900
+ backgroundColor?: string;
65901
+ enabled?: boolean;
65902
+ } | undefined;
64263
65903
  spam?: boolean;
64264
- quarantined?: boolean;
64265
- topics?: string[];
64266
- rating?: SubredditRating_3;
64267
- subscribersCount?: number;
65904
+ deleted?: boolean;
65905
+ languageCode?: string;
65906
+ updatedAt?: number;
65907
+ gildings?: number;
65908
+ score?: number;
65909
+ numComments?: number;
65910
+ thumbnail?: string;
65911
+ media?: {
65912
+ type?: string;
65913
+ oembed?: {
65914
+ type?: string;
65915
+ version?: string;
65916
+ title?: string;
65917
+ description?: string;
65918
+ authorName?: string;
65919
+ authorUrl?: string;
65920
+ providerName?: string;
65921
+ providerUrl?: string;
65922
+ thumbnailUrl?: string;
65923
+ thumbnailWidth?: number;
65924
+ thumbnailHeight?: number;
65925
+ html?: string;
65926
+ width?: number;
65927
+ height?: number;
65928
+ } | undefined;
65929
+ redditVideo?: {
65930
+ bitrateKbps?: number;
65931
+ fallbackUrl?: string;
65932
+ height?: number;
65933
+ width?: number;
65934
+ scrubberMediaUrl?: string;
65935
+ dashUrl?: string;
65936
+ duration?: number;
65937
+ hlsUrl?: string;
65938
+ isGif?: boolean;
65939
+ transcodingStatus?: string;
65940
+ } | undefined;
65941
+ } | undefined;
65942
+ crosspostParentId?: string;
64268
65943
  permalink?: string;
65944
+ isPoll?: boolean;
65945
+ isPromoted?: boolean;
65946
+ isMultiMedia?: boolean;
65947
+ type?: string;
65948
+ unlisted?: boolean;
65949
+ galleryImages?: string[];
65950
+ isImage?: boolean;
64269
65951
  } | undefined;
64270
- conversationId?: string;
64271
- messageId?: string;
64272
- } | undefined;
64273
- accountDelete?: {
64274
- userId?: string;
64275
- deletedAt?: Date | undefined;
64276
- user?: {
65952
+ approvedAt?: Date | undefined;
65953
+ author?: {
64277
65954
  id?: string;
64278
65955
  name?: string;
64279
65956
  isGold?: boolean;
@@ -64295,9 +65972,21 @@ declare const TriggersDefinition: {
64295
65972
  iconImage?: string;
64296
65973
  description?: string;
64297
65974
  } | undefined;
65975
+ source?: EventSource_4;
65976
+ subreddit?: {
65977
+ id?: string;
65978
+ name?: string;
65979
+ nsfw?: boolean;
65980
+ type?: SubredditType_4;
65981
+ spam?: boolean;
65982
+ quarantined?: boolean;
65983
+ topics?: string[];
65984
+ rating?: SubredditRating_3;
65985
+ subscribersCount?: number;
65986
+ permalink?: string;
65987
+ } | undefined;
64298
65988
  } | undefined;
64299
- vote?: {
64300
- updatedAt?: Date | undefined;
65989
+ commentApprove?: {
64301
65990
  comment?: {
64302
65991
  id?: string;
64303
65992
  parentId?: string;
@@ -64410,6 +66099,30 @@ declare const TriggersDefinition: {
64410
66099
  galleryImages?: string[];
64411
66100
  isImage?: boolean;
64412
66101
  } | undefined;
66102
+ approvedAt?: Date | undefined;
66103
+ author?: {
66104
+ id?: string;
66105
+ name?: string;
66106
+ isGold?: boolean;
66107
+ snoovatarImage?: string;
66108
+ url?: string;
66109
+ spam?: boolean;
66110
+ banned?: boolean;
66111
+ flair?: {
66112
+ userId?: string;
66113
+ subredditId?: string;
66114
+ text?: string;
66115
+ cssClass?: string;
66116
+ templateId?: string;
66117
+ textColor?: string;
66118
+ backgroundColor?: string;
66119
+ enabled?: boolean;
66120
+ } | undefined;
66121
+ karma?: number;
66122
+ iconImage?: string;
66123
+ description?: string;
66124
+ } | undefined;
66125
+ source?: EventSource_4;
64413
66126
  subreddit?: {
64414
66127
  id?: string;
64415
66128
  name?: string;
@@ -64422,10 +66135,8 @@ declare const TriggersDefinition: {
64422
66135
  subscribersCount?: number;
64423
66136
  permalink?: string;
64424
66137
  } | undefined;
64425
- upvoteRatio?: number;
64426
- score?: number;
64427
66138
  } | undefined;
64428
- postApprove?: {
66139
+ nsfwPostUpdate?: {
64429
66140
  post?: {
64430
66141
  id?: string;
64431
66142
  title?: string;
@@ -64516,7 +66227,6 @@ declare const TriggersDefinition: {
64516
66227
  galleryImages?: string[];
64517
66228
  isImage?: boolean;
64518
66229
  } | undefined;
64519
- approvedAt?: Date | undefined;
64520
66230
  author?: {
64521
66231
  id?: string;
64522
66232
  name?: string;
@@ -64539,7 +66249,7 @@ declare const TriggersDefinition: {
64539
66249
  iconImage?: string;
64540
66250
  description?: string;
64541
66251
  } | undefined;
64542
- source?: EventSource_4;
66252
+ isNsfw?: boolean;
64543
66253
  subreddit?: {
64544
66254
  id?: string;
64545
66255
  name?: string;
@@ -64553,29 +66263,7 @@ declare const TriggersDefinition: {
64553
66263
  permalink?: string;
64554
66264
  } | undefined;
64555
66265
  } | undefined;
64556
- commentApprove?: {
64557
- comment?: {
64558
- id?: string;
64559
- parentId?: string;
64560
- body?: string;
64561
- author?: string;
64562
- numReports?: number;
64563
- collapsedBecauseCrowdControl?: boolean;
64564
- spam?: boolean;
64565
- deleted?: boolean;
64566
- createdAt?: number;
64567
- upvotes?: number;
64568
- downvotes?: number;
64569
- languageCode?: string;
64570
- lastModifiedAt?: number;
64571
- gilded?: boolean;
64572
- score?: number;
64573
- permalink?: string;
64574
- hasMedia?: boolean;
64575
- postId?: string;
64576
- subredditId?: string;
64577
- elementTypes?: string[];
64578
- } | undefined;
66266
+ spoilerPostUpdate?: {
64579
66267
  post?: {
64580
66268
  id?: string;
64581
66269
  title?: string;
@@ -64666,7 +66354,6 @@ declare const TriggersDefinition: {
64666
66354
  galleryImages?: string[];
64667
66355
  isImage?: boolean;
64668
66356
  } | undefined;
64669
- approvedAt?: Date | undefined;
64670
66357
  author?: {
64671
66358
  id?: string;
64672
66359
  name?: string;
@@ -64689,7 +66376,7 @@ declare const TriggersDefinition: {
64689
66376
  iconImage?: string;
64690
66377
  description?: string;
64691
66378
  } | undefined;
64692
- source?: EventSource_4;
66379
+ isNsfw?: boolean;
64693
66380
  subreddit?: {
64694
66381
  id?: string;
64695
66382
  name?: string;