@@ -162,6 +162,16 @@ export interface FcmOptions {
162162 analyticsLabel? : string ;
163163}
164164
165+ // @public
166+ export interface FidMessage extends BaseMessage {
167+ fid: string ;
168+ }
169+
170+ // @public
171+ export interface FidMulticastMessage extends BaseMessage {
172+ fids: string [];
173+ }
174+
165175// Warning: (ae-forgotten-export) The symbol "FirebaseError" needs to be exported by the entry point index.d.ts
166176//
167177// @public
@@ -183,7 +193,7 @@ export interface LightSettings {
183193}
184194
185195// @public
186- export type Message = TokenMessage | TopicMessage | ConditionMessage ;
196+ export type Message = FidMessage | TokenMessage | TopicMessage | ConditionMessage ;
187197
188198// @public
189199export class Messaging {
@@ -192,7 +202,9 @@ export class Messaging {
192202 enableLegacyHttpTransport(): void ;
193203 send(message : Message , dryRun ? : boolean ): Promise <string >;
194204 sendEach(messages : Message [], dryRun ? : boolean ): Promise <BatchResponse >;
205+ // @deprecated
195206 sendEachForMulticast(message : MulticastMessage , dryRun ? : boolean ): Promise <BatchResponse >;
207+ sendEachForMulticast(message : FidMulticastMessage , dryRun ? : boolean ): Promise <BatchResponse >;
196208 subscribeToTopic(registrationTokenOrTokens : string | string [], topic : string ): Promise <MessagingTopicManagementResponse >;
197209 unsubscribeFromTopic(registrationTokenOrTokens : string | string [], topic : string ): Promise <MessagingTopicManagementResponse >;
198210}
@@ -207,6 +219,7 @@ export const MessagingErrorCode: {
207219 readonly INVALID_OPTIONS: " invalid-options" ;
208220 readonly INVALID_REGISTRATION_TOKEN: " invalid-registration-token" ;
209221 readonly REGISTRATION_TOKEN_NOT_REGISTERED: " registration-token-not-registered" ;
222+ readonly INSTALLATION_ID_NOT_REGISTERED: " installation-id-not-registered" ;
210223 readonly MISMATCHED_CREDENTIAL: " mismatched-credential" ;
211224 readonly INVALID_PACKAGE_NAME: " invalid-package-name" ;
212225 readonly DEVICE_MESSAGE_RATE_EXCEEDED: " device-message-rate-exceeded" ;
@@ -232,9 +245,10 @@ export interface MessagingTopicManagementResponse {
232245 successCount: number ;
233246}
234247
235- // @public
248+ // @public @deprecated
236249export interface MulticastMessage extends BaseMessage {
237- // (undocumented)
250+ fids? : string [];
251+ // @deprecated
238252 tokens: string [];
239253}
240254
@@ -252,7 +266,7 @@ export interface SendResponse {
252266 success: boolean ;
253267}
254268
255- // @public (undocumented)
269+ // @public @deprecated (undocumented)
256270export interface TokenMessage extends BaseMessage {
257271 // (undocumented)
258272 token: string ;
0 commit comments