Update to the latest SignalService.proto

This commit is contained in:
Scott Nonnenberg
2025-02-11 08:20:14 +10:00
committed by GitHub
parent cf5dc4b940
commit d26d915a44
26 changed files with 464 additions and 536 deletions

View File

@@ -208,7 +208,7 @@ export class RetryRequestEvent extends ConfirmableEvent {
export type SentEventData = Readonly<{
envelopeId: string;
destination?: string;
destinationE164?: string;
destinationServiceId?: ServiceIdString;
timestamp?: number;
serverTimestamp: number;
@@ -311,25 +311,21 @@ export class ConfigurationEvent extends ConfirmableEvent {
}
export type ViewOnceOpenSyncOptions = {
source?: string;
sourceAci?: AciString;
timestamp?: number;
};
export class ViewOnceOpenSyncEvent extends ConfirmableEvent {
public readonly source?: string;
public readonly sourceAci?: AciString;
public readonly timestamp?: number;
constructor(
{ source, sourceAci, timestamp }: ViewOnceOpenSyncOptions,
{ sourceAci, timestamp }: ViewOnceOpenSyncOptions,
confirm: ConfirmCallback
) {
super('viewOnceOpenSync', confirm);
this.source = source;
this.sourceAci = sourceAci;
this.timestamp = timestamp;
}
@@ -345,8 +341,6 @@ export type MessageRequestResponseOptions = {
};
export class MessageRequestResponseEvent extends ConfirmableEvent {
public readonly threadE164?: string;
public readonly threadAci?: AciString;
public readonly messageRequestResponseType?: MessageRequestResponseOptions['messageRequestResponseType'];
@@ -360,7 +354,6 @@ export class MessageRequestResponseEvent extends ConfirmableEvent {
constructor(
{
envelopeId,
threadE164,
threadAci,
messageRequestResponseType,
groupId,
@@ -371,7 +364,6 @@ export class MessageRequestResponseEvent extends ConfirmableEvent {
super('messageRequestResponse', confirm);
this.envelopeId = envelopeId;
this.threadE164 = threadE164;
this.threadAci = threadAci;
this.messageRequestResponseType = messageRequestResponseType;
this.groupId = groupId;