@@ -193,20 +193,8 @@ export class Messaging {
193
193
// @deprecated
194
194
enableLegacyHttpTransport(): void ;
195
195
send(message : Message , dryRun ? : boolean ): Promise <string >;
196
- // @deprecated
197
- sendAll(messages : Message [], dryRun ? : boolean ): Promise <BatchResponse >;
198
196
sendEach(messages : Message [], dryRun ? : boolean ): Promise <BatchResponse >;
199
197
sendEachForMulticast(message : MulticastMessage , dryRun ? : boolean ): Promise <BatchResponse >;
200
- // @deprecated
201
- sendMulticast(message : MulticastMessage , dryRun ? : boolean ): Promise <BatchResponse >;
202
- // @deprecated
203
- sendToCondition(condition : string , payload : MessagingPayload , options ? : MessagingOptions ): Promise <MessagingConditionResponse >;
204
- // @deprecated
205
- sendToDevice(registrationTokenOrTokens : string | string [], payload : MessagingPayload , options ? : MessagingOptions ): Promise <MessagingDevicesResponse >;
206
- // @deprecated
207
- sendToDeviceGroup(notificationKey : string , payload : MessagingPayload , options ? : MessagingOptions ): Promise <MessagingDeviceGroupResponse >;
208
- // @deprecated
209
- sendToTopic(topic : string , payload : MessagingPayload , options ? : MessagingOptions ): Promise <MessagingTopicResponse >;
210
198
subscribeToTopic(registrationTokenOrTokens : string | string [], topic : string ): Promise <MessagingTopicManagementResponse >;
211
199
unsubscribeFromTopic(registrationTokenOrTokens : string | string [], topic : string ): Promise <MessagingTopicManagementResponse >;
212
200
}
@@ -310,40 +298,6 @@ export class MessagingClientErrorCode {
310
298
};
311
299
}
312
300
313
- // @public
314
- export interface MessagingConditionResponse {
315
- messageId: number ;
316
- }
317
-
318
- // @public @deprecated
319
- export interface MessagingDeviceGroupResponse {
320
- failedRegistrationTokens: string [];
321
- failureCount: number ;
322
- successCount: number ;
323
- }
324
-
325
- // @public @deprecated
326
- export interface MessagingDeviceResult {
327
- canonicalRegistrationToken? : string ;
328
- // Warning: (ae-forgotten-export) The symbol "FirebaseError" needs to be exported by the entry point index.d.ts
329
- error? : FirebaseError ;
330
- messageId? : string ;
331
- }
332
-
333
- // @public @deprecated
334
- export interface MessagingDevicesResponse {
335
- // (undocumented)
336
- canonicalRegistrationTokenCount: number ;
337
- // (undocumented)
338
- failureCount: number ;
339
- // (undocumented)
340
- multicastId: number ;
341
- // (undocumented)
342
- results: MessagingDeviceResult [];
343
- // (undocumented)
344
- successCount: number ;
345
- }
346
-
347
301
// @public
348
302
export interface MessagingOptions {
349
303
// (undocumented)
@@ -371,11 +325,6 @@ export interface MessagingTopicManagementResponse {
371
325
successCount: number ;
372
326
}
373
327
374
- // @public
375
- export interface MessagingTopicResponse {
376
- messageId: number ;
377
- }
378
-
379
328
// @public
380
329
export interface MulticastMessage extends BaseMessage {
381
330
// (undocumented)
@@ -409,6 +358,7 @@ export interface NotificationMessagePayload {
409
358
410
359
// @public
411
360
export interface SendResponse {
361
+ // Warning: (ae-forgotten-export) The symbol "FirebaseError" needs to be exported by the entry point index.d.ts
412
362
error? : FirebaseError ;
413
363
messageId? : string ;
414
364
success: boolean ;
0 commit comments