@wppconnect/wa-proto 2.3000.1046406705 → 2.3000.1046433563
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/WAProto.proto +24 -1
- package/dist/index.d.ts +407 -1
- package/dist/index.js +1033 -1
- package/package.json +1 -1
package/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package waproto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1046433563
|
|
5
5
|
|
|
6
6
|
message ADVDeviceIdentity {
|
|
7
7
|
optional uint32 rawId = 1;
|
|
@@ -81,6 +81,7 @@ message AIMediaCollectionMetadata {
|
|
|
81
81
|
|
|
82
82
|
message AIMetadataOperation {
|
|
83
83
|
optional HatchMetadataSync hatchMetadataSync = 1;
|
|
84
|
+
optional BizAIMetadataSync bizAiMetadataSync = 2;
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
message AIProvenance {
|
|
@@ -325,6 +326,27 @@ message AvatarUserSettings {
|
|
|
325
326
|
optional string password = 2;
|
|
326
327
|
}
|
|
327
328
|
|
|
329
|
+
message BizAIMetadataSync {
|
|
330
|
+
oneof operation {
|
|
331
|
+
BizAIMetadataSync.ServerEvent serverEvent = 1;
|
|
332
|
+
}
|
|
333
|
+
message ServerEvent {
|
|
334
|
+
oneof event {
|
|
335
|
+
BizAIMetadataSync.ServerEvent.ProtocolEvent protocolEvent = 1;
|
|
336
|
+
BizAIMetadataSync.ServerEvent.AgentOnboardingStarted agentOnboardingStarted = 2;
|
|
337
|
+
}
|
|
338
|
+
message AgentOnboardingStarted {
|
|
339
|
+
optional int64 composerBlockDurationSecs = 1;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
enum ProtocolEvent {
|
|
343
|
+
UNSPECIFIED = 0;
|
|
344
|
+
AGENT_CHAT_READY = 1;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
}
|
|
349
|
+
|
|
328
350
|
message BizAccountLinkInfo {
|
|
329
351
|
optional uint64 whatsappBizAcctFbid = 1;
|
|
330
352
|
optional string whatsappAcctNumber = 2;
|
|
@@ -4715,6 +4737,7 @@ message MessageContextInfo {
|
|
|
4715
4737
|
optional bytes teeBotMetadata = 17;
|
|
4716
4738
|
optional NonE2EEAttestation accountEncryptionAttestation = 18;
|
|
4717
4739
|
optional bytes associatedPrimaryIdentityKey = 19;
|
|
4740
|
+
optional string teeContextAnchorMessageId = 20;
|
|
4718
4741
|
enum MessageAddonExpiryType {
|
|
4719
4742
|
STATIC = 1;
|
|
4720
4743
|
DEPENDENT_ON_PARENT = 2;
|
package/dist/index.d.ts
CHANGED
|
@@ -1276,6 +1276,9 @@ export namespace waproto {
|
|
|
1276
1276
|
/** AIMetadataOperation hatchMetadataSync. */
|
|
1277
1277
|
hatchMetadataSync?: (waproto.HatchMetadataSync.$Properties|null);
|
|
1278
1278
|
|
|
1279
|
+
/** AIMetadataOperation bizAiMetadataSync. */
|
|
1280
|
+
bizAiMetadataSync?: (waproto.BizAIMetadataSync.$Properties|null);
|
|
1281
|
+
|
|
1279
1282
|
/**
|
|
1280
1283
|
* Creates a new AIMetadataOperation instance using the specified properties.
|
|
1281
1284
|
* @param [properties] Properties to set
|
|
@@ -1363,12 +1366,19 @@ export namespace waproto {
|
|
|
1363
1366
|
/** AIMetadataOperation hatchMetadataSync */
|
|
1364
1367
|
hatchMetadataSync?: (waproto.HatchMetadataSync.$Properties|null);
|
|
1365
1368
|
|
|
1369
|
+
/** AIMetadataOperation bizAiMetadataSync */
|
|
1370
|
+
bizAiMetadataSync?: (waproto.BizAIMetadataSync.$Properties|null);
|
|
1371
|
+
|
|
1366
1372
|
/** Unknown fields preserved while decoding when enabled */
|
|
1367
1373
|
$unknowns?: Uint8Array[];
|
|
1368
1374
|
}
|
|
1369
1375
|
|
|
1370
1376
|
/** Shape of a AIMetadataOperation. */
|
|
1371
|
-
type $Shape =
|
|
1377
|
+
type $Shape = {
|
|
1378
|
+
hatchMetadataSync?: waproto.HatchMetadataSync.$Shape|null;
|
|
1379
|
+
bizAiMetadataSync?: waproto.BizAIMetadataSync.$Shape|null;
|
|
1380
|
+
$unknowns?: Uint8Array[];
|
|
1381
|
+
};
|
|
1372
1382
|
}
|
|
1373
1383
|
|
|
1374
1384
|
/**
|
|
@@ -5567,6 +5577,396 @@ export namespace waproto {
|
|
|
5567
5577
|
type $Shape = waproto.AvatarUserSettings.$Properties;
|
|
5568
5578
|
}
|
|
5569
5579
|
|
|
5580
|
+
/**
|
|
5581
|
+
* Properties of a BizAIMetadataSync.
|
|
5582
|
+
* @deprecated Use waproto.BizAIMetadataSync.$Properties instead.
|
|
5583
|
+
*/
|
|
5584
|
+
interface IBizAIMetadataSync extends waproto.BizAIMetadataSync.$Properties {
|
|
5585
|
+
}
|
|
5586
|
+
|
|
5587
|
+
/** Represents a BizAIMetadataSync. */
|
|
5588
|
+
class BizAIMetadataSync {
|
|
5589
|
+
|
|
5590
|
+
/**
|
|
5591
|
+
* Constructs a new BizAIMetadataSync.
|
|
5592
|
+
* @param [properties] Properties to set
|
|
5593
|
+
*/
|
|
5594
|
+
constructor(properties?: waproto.BizAIMetadataSync.$Properties);
|
|
5595
|
+
|
|
5596
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
5597
|
+
$unknowns?: Uint8Array[];
|
|
5598
|
+
|
|
5599
|
+
/** BizAIMetadataSync serverEvent. */
|
|
5600
|
+
serverEvent?: (waproto.BizAIMetadataSync.ServerEvent.$Properties|null);
|
|
5601
|
+
|
|
5602
|
+
/** BizAIMetadataSync operation. */
|
|
5603
|
+
operation?: "serverEvent";
|
|
5604
|
+
|
|
5605
|
+
/**
|
|
5606
|
+
* Creates a new BizAIMetadataSync instance using the specified properties.
|
|
5607
|
+
* @param [properties] Properties to set
|
|
5608
|
+
* @returns BizAIMetadataSync instance
|
|
5609
|
+
*/
|
|
5610
|
+
static create(properties: waproto.BizAIMetadataSync.$Shape): waproto.BizAIMetadataSync & waproto.BizAIMetadataSync.$Shape;
|
|
5611
|
+
static create(properties?: waproto.BizAIMetadataSync.$Properties): waproto.BizAIMetadataSync;
|
|
5612
|
+
|
|
5613
|
+
/**
|
|
5614
|
+
* Encodes the specified BizAIMetadataSync message. Does not implicitly {@link waproto.BizAIMetadataSync.verify|verify} messages.
|
|
5615
|
+
* @param message BizAIMetadataSync message or plain object to encode
|
|
5616
|
+
* @param [writer] Writer to encode to
|
|
5617
|
+
* @returns Writer
|
|
5618
|
+
*/
|
|
5619
|
+
static encode(message: waproto.BizAIMetadataSync.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5620
|
+
|
|
5621
|
+
/**
|
|
5622
|
+
* Encodes the specified BizAIMetadataSync message, length delimited. Does not implicitly {@link waproto.BizAIMetadataSync.verify|verify} messages.
|
|
5623
|
+
* @param message BizAIMetadataSync message or plain object to encode
|
|
5624
|
+
* @param [writer] Writer to encode to
|
|
5625
|
+
* @returns Writer
|
|
5626
|
+
*/
|
|
5627
|
+
static encodeDelimited(message: waproto.BizAIMetadataSync.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5628
|
+
|
|
5629
|
+
/**
|
|
5630
|
+
* Decodes a BizAIMetadataSync message from the specified reader or buffer.
|
|
5631
|
+
* @param reader Reader or buffer to decode from
|
|
5632
|
+
* @param [length] Message length if known beforehand
|
|
5633
|
+
* @returns {waproto.BizAIMetadataSync & waproto.BizAIMetadataSync.$Shape} BizAIMetadataSync
|
|
5634
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5635
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5636
|
+
*/
|
|
5637
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BizAIMetadataSync & waproto.BizAIMetadataSync.$Shape;
|
|
5638
|
+
|
|
5639
|
+
/**
|
|
5640
|
+
* Decodes a BizAIMetadataSync message from the specified reader or buffer, length delimited.
|
|
5641
|
+
* @param reader Reader or buffer to decode from
|
|
5642
|
+
* @returns {waproto.BizAIMetadataSync & waproto.BizAIMetadataSync.$Shape} BizAIMetadataSync
|
|
5643
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5644
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5645
|
+
*/
|
|
5646
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BizAIMetadataSync & waproto.BizAIMetadataSync.$Shape;
|
|
5647
|
+
|
|
5648
|
+
/**
|
|
5649
|
+
* Verifies a BizAIMetadataSync message.
|
|
5650
|
+
* @param message Plain object to verify
|
|
5651
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5652
|
+
*/
|
|
5653
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
5654
|
+
|
|
5655
|
+
/**
|
|
5656
|
+
* Creates a BizAIMetadataSync message from a plain object. Also converts values to their respective internal types.
|
|
5657
|
+
* @param object Plain object
|
|
5658
|
+
* @returns BizAIMetadataSync
|
|
5659
|
+
*/
|
|
5660
|
+
static fromObject(object: { [k: string]: any }): waproto.BizAIMetadataSync;
|
|
5661
|
+
|
|
5662
|
+
/**
|
|
5663
|
+
* Creates a plain object from a BizAIMetadataSync message. Also converts values to other types if specified.
|
|
5664
|
+
* @param message BizAIMetadataSync
|
|
5665
|
+
* @param [options] Conversion options
|
|
5666
|
+
* @returns Plain object
|
|
5667
|
+
*/
|
|
5668
|
+
static toObject(message: waproto.BizAIMetadataSync, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5669
|
+
|
|
5670
|
+
/**
|
|
5671
|
+
* Converts this BizAIMetadataSync to JSON.
|
|
5672
|
+
* @returns JSON object
|
|
5673
|
+
*/
|
|
5674
|
+
toJSON(): { [k: string]: any };
|
|
5675
|
+
|
|
5676
|
+
/**
|
|
5677
|
+
* Gets the type url for BizAIMetadataSync
|
|
5678
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
5679
|
+
* @returns The type url
|
|
5680
|
+
*/
|
|
5681
|
+
static getTypeUrl(prefix?: string): string;
|
|
5682
|
+
}
|
|
5683
|
+
|
|
5684
|
+
namespace BizAIMetadataSync {
|
|
5685
|
+
|
|
5686
|
+
/** Properties of a BizAIMetadataSync. */
|
|
5687
|
+
interface $Properties {
|
|
5688
|
+
|
|
5689
|
+
/** BizAIMetadataSync serverEvent */
|
|
5690
|
+
serverEvent?: (waproto.BizAIMetadataSync.ServerEvent.$Properties|null);
|
|
5691
|
+
|
|
5692
|
+
/** BizAIMetadataSync operation */
|
|
5693
|
+
operation?: "serverEvent";
|
|
5694
|
+
|
|
5695
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
5696
|
+
$unknowns?: Uint8Array[];
|
|
5697
|
+
}
|
|
5698
|
+
|
|
5699
|
+
/** Narrowed shape of a BizAIMetadataSync. */
|
|
5700
|
+
type $Shape = {
|
|
5701
|
+
serverEvent?: waproto.BizAIMetadataSync.ServerEvent.$Shape|null;
|
|
5702
|
+
$unknowns?: Uint8Array[];
|
|
5703
|
+
} & (
|
|
5704
|
+
({ operation?: undefined; serverEvent?: null }|{ operation?: "serverEvent"; serverEvent: waproto.BizAIMetadataSync.ServerEvent.$Shape })
|
|
5705
|
+
);
|
|
5706
|
+
|
|
5707
|
+
/**
|
|
5708
|
+
* Properties of a ServerEvent.
|
|
5709
|
+
* @deprecated Use waproto.BizAIMetadataSync.ServerEvent.$Properties instead.
|
|
5710
|
+
*/
|
|
5711
|
+
interface IServerEvent extends waproto.BizAIMetadataSync.ServerEvent.$Properties {
|
|
5712
|
+
}
|
|
5713
|
+
|
|
5714
|
+
/** Represents a ServerEvent. */
|
|
5715
|
+
class ServerEvent {
|
|
5716
|
+
|
|
5717
|
+
/**
|
|
5718
|
+
* Constructs a new ServerEvent.
|
|
5719
|
+
* @param [properties] Properties to set
|
|
5720
|
+
*/
|
|
5721
|
+
constructor(properties?: waproto.BizAIMetadataSync.ServerEvent.$Properties);
|
|
5722
|
+
|
|
5723
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
5724
|
+
$unknowns?: Uint8Array[];
|
|
5725
|
+
|
|
5726
|
+
/** ServerEvent protocolEvent. */
|
|
5727
|
+
protocolEvent?: (waproto.BizAIMetadataSync.ServerEvent.ProtocolEvent|null);
|
|
5728
|
+
|
|
5729
|
+
/** ServerEvent agentOnboardingStarted. */
|
|
5730
|
+
agentOnboardingStarted?: (waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Properties|null);
|
|
5731
|
+
|
|
5732
|
+
/** ServerEvent event. */
|
|
5733
|
+
event?: ("protocolEvent"|"agentOnboardingStarted");
|
|
5734
|
+
|
|
5735
|
+
/**
|
|
5736
|
+
* Creates a new ServerEvent instance using the specified properties.
|
|
5737
|
+
* @param [properties] Properties to set
|
|
5738
|
+
* @returns ServerEvent instance
|
|
5739
|
+
*/
|
|
5740
|
+
static create(properties: waproto.BizAIMetadataSync.ServerEvent.$Shape): waproto.BizAIMetadataSync.ServerEvent & waproto.BizAIMetadataSync.ServerEvent.$Shape;
|
|
5741
|
+
static create(properties?: waproto.BizAIMetadataSync.ServerEvent.$Properties): waproto.BizAIMetadataSync.ServerEvent;
|
|
5742
|
+
|
|
5743
|
+
/**
|
|
5744
|
+
* Encodes the specified ServerEvent message. Does not implicitly {@link waproto.BizAIMetadataSync.ServerEvent.verify|verify} messages.
|
|
5745
|
+
* @param message ServerEvent message or plain object to encode
|
|
5746
|
+
* @param [writer] Writer to encode to
|
|
5747
|
+
* @returns Writer
|
|
5748
|
+
*/
|
|
5749
|
+
static encode(message: waproto.BizAIMetadataSync.ServerEvent.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5750
|
+
|
|
5751
|
+
/**
|
|
5752
|
+
* Encodes the specified ServerEvent message, length delimited. Does not implicitly {@link waproto.BizAIMetadataSync.ServerEvent.verify|verify} messages.
|
|
5753
|
+
* @param message ServerEvent message or plain object to encode
|
|
5754
|
+
* @param [writer] Writer to encode to
|
|
5755
|
+
* @returns Writer
|
|
5756
|
+
*/
|
|
5757
|
+
static encodeDelimited(message: waproto.BizAIMetadataSync.ServerEvent.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5758
|
+
|
|
5759
|
+
/**
|
|
5760
|
+
* Decodes a ServerEvent message from the specified reader or buffer.
|
|
5761
|
+
* @param reader Reader or buffer to decode from
|
|
5762
|
+
* @param [length] Message length if known beforehand
|
|
5763
|
+
* @returns {waproto.BizAIMetadataSync.ServerEvent & waproto.BizAIMetadataSync.ServerEvent.$Shape} ServerEvent
|
|
5764
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5765
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5766
|
+
*/
|
|
5767
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BizAIMetadataSync.ServerEvent & waproto.BizAIMetadataSync.ServerEvent.$Shape;
|
|
5768
|
+
|
|
5769
|
+
/**
|
|
5770
|
+
* Decodes a ServerEvent message from the specified reader or buffer, length delimited.
|
|
5771
|
+
* @param reader Reader or buffer to decode from
|
|
5772
|
+
* @returns {waproto.BizAIMetadataSync.ServerEvent & waproto.BizAIMetadataSync.ServerEvent.$Shape} ServerEvent
|
|
5773
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5774
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5775
|
+
*/
|
|
5776
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BizAIMetadataSync.ServerEvent & waproto.BizAIMetadataSync.ServerEvent.$Shape;
|
|
5777
|
+
|
|
5778
|
+
/**
|
|
5779
|
+
* Verifies a ServerEvent message.
|
|
5780
|
+
* @param message Plain object to verify
|
|
5781
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5782
|
+
*/
|
|
5783
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
5784
|
+
|
|
5785
|
+
/**
|
|
5786
|
+
* Creates a ServerEvent message from a plain object. Also converts values to their respective internal types.
|
|
5787
|
+
* @param object Plain object
|
|
5788
|
+
* @returns ServerEvent
|
|
5789
|
+
*/
|
|
5790
|
+
static fromObject(object: { [k: string]: any }): waproto.BizAIMetadataSync.ServerEvent;
|
|
5791
|
+
|
|
5792
|
+
/**
|
|
5793
|
+
* Creates a plain object from a ServerEvent message. Also converts values to other types if specified.
|
|
5794
|
+
* @param message ServerEvent
|
|
5795
|
+
* @param [options] Conversion options
|
|
5796
|
+
* @returns Plain object
|
|
5797
|
+
*/
|
|
5798
|
+
static toObject(message: waproto.BizAIMetadataSync.ServerEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5799
|
+
|
|
5800
|
+
/**
|
|
5801
|
+
* Converts this ServerEvent to JSON.
|
|
5802
|
+
* @returns JSON object
|
|
5803
|
+
*/
|
|
5804
|
+
toJSON(): { [k: string]: any };
|
|
5805
|
+
|
|
5806
|
+
/**
|
|
5807
|
+
* Gets the type url for ServerEvent
|
|
5808
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
5809
|
+
* @returns The type url
|
|
5810
|
+
*/
|
|
5811
|
+
static getTypeUrl(prefix?: string): string;
|
|
5812
|
+
}
|
|
5813
|
+
|
|
5814
|
+
namespace ServerEvent {
|
|
5815
|
+
|
|
5816
|
+
/** Properties of a ServerEvent. */
|
|
5817
|
+
interface $Properties {
|
|
5818
|
+
|
|
5819
|
+
/** ServerEvent protocolEvent */
|
|
5820
|
+
protocolEvent?: (waproto.BizAIMetadataSync.ServerEvent.ProtocolEvent|null);
|
|
5821
|
+
|
|
5822
|
+
/** ServerEvent agentOnboardingStarted */
|
|
5823
|
+
agentOnboardingStarted?: (waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Properties|null);
|
|
5824
|
+
|
|
5825
|
+
/** ServerEvent event */
|
|
5826
|
+
event?: ("protocolEvent"|"agentOnboardingStarted");
|
|
5827
|
+
|
|
5828
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
5829
|
+
$unknowns?: Uint8Array[];
|
|
5830
|
+
}
|
|
5831
|
+
|
|
5832
|
+
/** Narrowed shape of a ServerEvent. */
|
|
5833
|
+
type $Shape = {
|
|
5834
|
+
protocolEvent?: waproto.BizAIMetadataSync.ServerEvent.ProtocolEvent|null;
|
|
5835
|
+
agentOnboardingStarted?: waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Shape|null;
|
|
5836
|
+
$unknowns?: Uint8Array[];
|
|
5837
|
+
} & (
|
|
5838
|
+
({ event?: undefined; protocolEvent?: null; agentOnboardingStarted?: null }|{ event?: "protocolEvent"; protocolEvent: waproto.BizAIMetadataSync.ServerEvent.ProtocolEvent; agentOnboardingStarted?: null }|{ event?: "agentOnboardingStarted"; protocolEvent?: null; agentOnboardingStarted: waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Shape })
|
|
5839
|
+
);
|
|
5840
|
+
|
|
5841
|
+
/**
|
|
5842
|
+
* Properties of an AgentOnboardingStarted.
|
|
5843
|
+
* @deprecated Use waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Properties instead.
|
|
5844
|
+
*/
|
|
5845
|
+
interface IAgentOnboardingStarted extends waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Properties {
|
|
5846
|
+
}
|
|
5847
|
+
|
|
5848
|
+
/** Represents an AgentOnboardingStarted. */
|
|
5849
|
+
class AgentOnboardingStarted {
|
|
5850
|
+
|
|
5851
|
+
/**
|
|
5852
|
+
* Constructs a new AgentOnboardingStarted.
|
|
5853
|
+
* @param [properties] Properties to set
|
|
5854
|
+
*/
|
|
5855
|
+
constructor(properties?: waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Properties);
|
|
5856
|
+
|
|
5857
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
5858
|
+
$unknowns?: Uint8Array[];
|
|
5859
|
+
|
|
5860
|
+
/** AgentOnboardingStarted composerBlockDurationSecs. */
|
|
5861
|
+
composerBlockDurationSecs?: (number|Long|null);
|
|
5862
|
+
|
|
5863
|
+
/**
|
|
5864
|
+
* Creates a new AgentOnboardingStarted instance using the specified properties.
|
|
5865
|
+
* @param [properties] Properties to set
|
|
5866
|
+
* @returns AgentOnboardingStarted instance
|
|
5867
|
+
*/
|
|
5868
|
+
static create(properties: waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Shape): waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted & waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Shape;
|
|
5869
|
+
static create(properties?: waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Properties): waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted;
|
|
5870
|
+
|
|
5871
|
+
/**
|
|
5872
|
+
* Encodes the specified AgentOnboardingStarted message. Does not implicitly {@link waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.verify|verify} messages.
|
|
5873
|
+
* @param message AgentOnboardingStarted message or plain object to encode
|
|
5874
|
+
* @param [writer] Writer to encode to
|
|
5875
|
+
* @returns Writer
|
|
5876
|
+
*/
|
|
5877
|
+
static encode(message: waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5878
|
+
|
|
5879
|
+
/**
|
|
5880
|
+
* Encodes the specified AgentOnboardingStarted message, length delimited. Does not implicitly {@link waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.verify|verify} messages.
|
|
5881
|
+
* @param message AgentOnboardingStarted message or plain object to encode
|
|
5882
|
+
* @param [writer] Writer to encode to
|
|
5883
|
+
* @returns Writer
|
|
5884
|
+
*/
|
|
5885
|
+
static encodeDelimited(message: waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5886
|
+
|
|
5887
|
+
/**
|
|
5888
|
+
* Decodes an AgentOnboardingStarted message from the specified reader or buffer.
|
|
5889
|
+
* @param reader Reader or buffer to decode from
|
|
5890
|
+
* @param [length] Message length if known beforehand
|
|
5891
|
+
* @returns {waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted & waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Shape} AgentOnboardingStarted
|
|
5892
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5893
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5894
|
+
*/
|
|
5895
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted & waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Shape;
|
|
5896
|
+
|
|
5897
|
+
/**
|
|
5898
|
+
* Decodes an AgentOnboardingStarted message from the specified reader or buffer, length delimited.
|
|
5899
|
+
* @param reader Reader or buffer to decode from
|
|
5900
|
+
* @returns {waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted & waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Shape} AgentOnboardingStarted
|
|
5901
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5902
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5903
|
+
*/
|
|
5904
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted & waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Shape;
|
|
5905
|
+
|
|
5906
|
+
/**
|
|
5907
|
+
* Verifies an AgentOnboardingStarted message.
|
|
5908
|
+
* @param message Plain object to verify
|
|
5909
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5910
|
+
*/
|
|
5911
|
+
static verify(message: { [k: string]: any }): (string|null);
|
|
5912
|
+
|
|
5913
|
+
/**
|
|
5914
|
+
* Creates an AgentOnboardingStarted message from a plain object. Also converts values to their respective internal types.
|
|
5915
|
+
* @param object Plain object
|
|
5916
|
+
* @returns AgentOnboardingStarted
|
|
5917
|
+
*/
|
|
5918
|
+
static fromObject(object: { [k: string]: any }): waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted;
|
|
5919
|
+
|
|
5920
|
+
/**
|
|
5921
|
+
* Creates a plain object from an AgentOnboardingStarted message. Also converts values to other types if specified.
|
|
5922
|
+
* @param message AgentOnboardingStarted
|
|
5923
|
+
* @param [options] Conversion options
|
|
5924
|
+
* @returns Plain object
|
|
5925
|
+
*/
|
|
5926
|
+
static toObject(message: waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5927
|
+
|
|
5928
|
+
/**
|
|
5929
|
+
* Converts this AgentOnboardingStarted to JSON.
|
|
5930
|
+
* @returns JSON object
|
|
5931
|
+
*/
|
|
5932
|
+
toJSON(): { [k: string]: any };
|
|
5933
|
+
|
|
5934
|
+
/**
|
|
5935
|
+
* Gets the type url for AgentOnboardingStarted
|
|
5936
|
+
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
5937
|
+
* @returns The type url
|
|
5938
|
+
*/
|
|
5939
|
+
static getTypeUrl(prefix?: string): string;
|
|
5940
|
+
}
|
|
5941
|
+
|
|
5942
|
+
namespace AgentOnboardingStarted {
|
|
5943
|
+
|
|
5944
|
+
/** Properties of an AgentOnboardingStarted. */
|
|
5945
|
+
interface $Properties {
|
|
5946
|
+
|
|
5947
|
+
/** AgentOnboardingStarted composerBlockDurationSecs */
|
|
5948
|
+
composerBlockDurationSecs?: (number|Long|null);
|
|
5949
|
+
|
|
5950
|
+
/** Unknown fields preserved while decoding when enabled */
|
|
5951
|
+
$unknowns?: Uint8Array[];
|
|
5952
|
+
}
|
|
5953
|
+
|
|
5954
|
+
/** Shape of an AgentOnboardingStarted. */
|
|
5955
|
+
type $Shape = waproto.BizAIMetadataSync.ServerEvent.AgentOnboardingStarted.$Properties;
|
|
5956
|
+
}
|
|
5957
|
+
|
|
5958
|
+
/** ProtocolEvent enum. */
|
|
5959
|
+
enum ProtocolEvent {
|
|
5960
|
+
|
|
5961
|
+
/** UNSPECIFIED value */
|
|
5962
|
+
UNSPECIFIED = 0,
|
|
5963
|
+
|
|
5964
|
+
/** AGENT_CHAT_READY value */
|
|
5965
|
+
AGENT_CHAT_READY = 1
|
|
5966
|
+
}
|
|
5967
|
+
}
|
|
5968
|
+
}
|
|
5969
|
+
|
|
5570
5970
|
/**
|
|
5571
5971
|
* Properties of a BizAccountLinkInfo.
|
|
5572
5972
|
* @deprecated Use waproto.BizAccountLinkInfo.$Properties instead.
|
|
@@ -65575,6 +65975,9 @@ export namespace waproto {
|
|
|
65575
65975
|
/** MessageContextInfo associatedPrimaryIdentityKey. */
|
|
65576
65976
|
associatedPrimaryIdentityKey?: (Uint8Array|null);
|
|
65577
65977
|
|
|
65978
|
+
/** MessageContextInfo teeContextAnchorMessageId. */
|
|
65979
|
+
teeContextAnchorMessageId?: (string|null);
|
|
65980
|
+
|
|
65578
65981
|
/**
|
|
65579
65982
|
* Creates a new MessageContextInfo instance using the specified properties.
|
|
65580
65983
|
* @param [properties] Properties to set
|
|
@@ -65716,6 +66119,9 @@ export namespace waproto {
|
|
|
65716
66119
|
/** MessageContextInfo associatedPrimaryIdentityKey */
|
|
65717
66120
|
associatedPrimaryIdentityKey?: (Uint8Array|null);
|
|
65718
66121
|
|
|
66122
|
+
/** MessageContextInfo teeContextAnchorMessageId */
|
|
66123
|
+
teeContextAnchorMessageId?: (string|null);
|
|
66124
|
+
|
|
65719
66125
|
/** Unknown fields preserved while decoding when enabled */
|
|
65720
66126
|
$unknowns?: Uint8Array[];
|
|
65721
66127
|
}
|