@wppconnect/wa-proto 1.1.43 → 1.1.49
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/CHANGELOG.md +24 -0
- package/WAProto.proto +62 -2
- package/dist/index.d.ts +808 -7
- package/dist/index.js +2282 -102
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2653,6 +2653,121 @@ export namespace waproto {
|
|
|
2653
2653
|
}
|
|
2654
2654
|
}
|
|
2655
2655
|
|
|
2656
|
+
/** Properties of an Account. */
|
|
2657
|
+
interface IAccount {
|
|
2658
|
+
|
|
2659
|
+
/** Account lid */
|
|
2660
|
+
lid?: (string|null);
|
|
2661
|
+
|
|
2662
|
+
/** Account username */
|
|
2663
|
+
username?: (string|null);
|
|
2664
|
+
|
|
2665
|
+
/** Account countryCode */
|
|
2666
|
+
countryCode?: (string|null);
|
|
2667
|
+
|
|
2668
|
+
/** Account isUsernameDeleted */
|
|
2669
|
+
isUsernameDeleted?: (boolean|null);
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
/** Represents an Account. */
|
|
2673
|
+
class Account implements IAccount {
|
|
2674
|
+
|
|
2675
|
+
/**
|
|
2676
|
+
* Constructs a new Account.
|
|
2677
|
+
* @param [properties] Properties to set
|
|
2678
|
+
*/
|
|
2679
|
+
constructor(properties?: waproto.IAccount);
|
|
2680
|
+
|
|
2681
|
+
/** Account lid. */
|
|
2682
|
+
public lid?: (string|null);
|
|
2683
|
+
|
|
2684
|
+
/** Account username. */
|
|
2685
|
+
public username?: (string|null);
|
|
2686
|
+
|
|
2687
|
+
/** Account countryCode. */
|
|
2688
|
+
public countryCode?: (string|null);
|
|
2689
|
+
|
|
2690
|
+
/** Account isUsernameDeleted. */
|
|
2691
|
+
public isUsernameDeleted?: (boolean|null);
|
|
2692
|
+
|
|
2693
|
+
/**
|
|
2694
|
+
* Creates a new Account instance using the specified properties.
|
|
2695
|
+
* @param [properties] Properties to set
|
|
2696
|
+
* @returns Account instance
|
|
2697
|
+
*/
|
|
2698
|
+
public static create(properties?: waproto.IAccount): waproto.Account;
|
|
2699
|
+
|
|
2700
|
+
/**
|
|
2701
|
+
* Encodes the specified Account message. Does not implicitly {@link waproto.Account.verify|verify} messages.
|
|
2702
|
+
* @param message Account message or plain object to encode
|
|
2703
|
+
* @param [writer] Writer to encode to
|
|
2704
|
+
* @returns Writer
|
|
2705
|
+
*/
|
|
2706
|
+
public static encode(message: waproto.IAccount, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2707
|
+
|
|
2708
|
+
/**
|
|
2709
|
+
* Encodes the specified Account message, length delimited. Does not implicitly {@link waproto.Account.verify|verify} messages.
|
|
2710
|
+
* @param message Account message or plain object to encode
|
|
2711
|
+
* @param [writer] Writer to encode to
|
|
2712
|
+
* @returns Writer
|
|
2713
|
+
*/
|
|
2714
|
+
public static encodeDelimited(message: waproto.IAccount, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2715
|
+
|
|
2716
|
+
/**
|
|
2717
|
+
* Decodes an Account message from the specified reader or buffer.
|
|
2718
|
+
* @param reader Reader or buffer to decode from
|
|
2719
|
+
* @param [length] Message length if known beforehand
|
|
2720
|
+
* @returns Account
|
|
2721
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2722
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2723
|
+
*/
|
|
2724
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Account;
|
|
2725
|
+
|
|
2726
|
+
/**
|
|
2727
|
+
* Decodes an Account message from the specified reader or buffer, length delimited.
|
|
2728
|
+
* @param reader Reader or buffer to decode from
|
|
2729
|
+
* @returns Account
|
|
2730
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2731
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2732
|
+
*/
|
|
2733
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Account;
|
|
2734
|
+
|
|
2735
|
+
/**
|
|
2736
|
+
* Verifies an Account message.
|
|
2737
|
+
* @param message Plain object to verify
|
|
2738
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2739
|
+
*/
|
|
2740
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2741
|
+
|
|
2742
|
+
/**
|
|
2743
|
+
* Creates an Account message from a plain object. Also converts values to their respective internal types.
|
|
2744
|
+
* @param object Plain object
|
|
2745
|
+
* @returns Account
|
|
2746
|
+
*/
|
|
2747
|
+
public static fromObject(object: { [k: string]: any }): waproto.Account;
|
|
2748
|
+
|
|
2749
|
+
/**
|
|
2750
|
+
* Creates a plain object from an Account message. Also converts values to other types if specified.
|
|
2751
|
+
* @param message Account
|
|
2752
|
+
* @param [options] Conversion options
|
|
2753
|
+
* @returns Plain object
|
|
2754
|
+
*/
|
|
2755
|
+
public static toObject(message: waproto.Account, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2756
|
+
|
|
2757
|
+
/**
|
|
2758
|
+
* Converts this Account to JSON.
|
|
2759
|
+
* @returns JSON object
|
|
2760
|
+
*/
|
|
2761
|
+
public toJSON(): { [k: string]: any };
|
|
2762
|
+
|
|
2763
|
+
/**
|
|
2764
|
+
* Gets the default type url for Account
|
|
2765
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2766
|
+
* @returns The default type url
|
|
2767
|
+
*/
|
|
2768
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2656
2771
|
/** Properties of an ActionLink. */
|
|
2657
2772
|
interface IActionLink {
|
|
2658
2773
|
|
|
@@ -5170,6 +5285,9 @@ export namespace waproto {
|
|
|
5170
5285
|
|
|
5171
5286
|
/** BotPlanningStepMetadata isEnhancedSearch */
|
|
5172
5287
|
isEnhancedSearch?: (boolean|null);
|
|
5288
|
+
|
|
5289
|
+
/** BotPlanningStepMetadata sections */
|
|
5290
|
+
sections?: (waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata[]|null);
|
|
5173
5291
|
}
|
|
5174
5292
|
|
|
5175
5293
|
/** Represents a BotPlanningStepMetadata. */
|
|
@@ -5199,6 +5317,9 @@ export namespace waproto {
|
|
|
5199
5317
|
/** BotPlanningStepMetadata isEnhancedSearch. */
|
|
5200
5318
|
public isEnhancedSearch?: (boolean|null);
|
|
5201
5319
|
|
|
5320
|
+
/** BotPlanningStepMetadata sections. */
|
|
5321
|
+
public sections: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata[];
|
|
5322
|
+
|
|
5202
5323
|
/**
|
|
5203
5324
|
* Creates a new BotPlanningStepMetadata instance using the specified properties.
|
|
5204
5325
|
* @param [properties] Properties to set
|
|
@@ -5279,6 +5400,121 @@ export namespace waproto {
|
|
|
5279
5400
|
|
|
5280
5401
|
namespace BotPlanningStepMetadata {
|
|
5281
5402
|
|
|
5403
|
+
/** Properties of a BotPlanningSearchSourceMetadata. */
|
|
5404
|
+
interface IBotPlanningSearchSourceMetadata {
|
|
5405
|
+
|
|
5406
|
+
/** BotPlanningSearchSourceMetadata title */
|
|
5407
|
+
title?: (string|null);
|
|
5408
|
+
|
|
5409
|
+
/** BotPlanningSearchSourceMetadata provider */
|
|
5410
|
+
provider?: (waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotSearchSourceProvider|null);
|
|
5411
|
+
|
|
5412
|
+
/** BotPlanningSearchSourceMetadata sourceUrl */
|
|
5413
|
+
sourceUrl?: (string|null);
|
|
5414
|
+
|
|
5415
|
+
/** BotPlanningSearchSourceMetadata favIconUrl */
|
|
5416
|
+
favIconUrl?: (string|null);
|
|
5417
|
+
}
|
|
5418
|
+
|
|
5419
|
+
/** Represents a BotPlanningSearchSourceMetadata. */
|
|
5420
|
+
class BotPlanningSearchSourceMetadata implements IBotPlanningSearchSourceMetadata {
|
|
5421
|
+
|
|
5422
|
+
/**
|
|
5423
|
+
* Constructs a new BotPlanningSearchSourceMetadata.
|
|
5424
|
+
* @param [properties] Properties to set
|
|
5425
|
+
*/
|
|
5426
|
+
constructor(properties?: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata);
|
|
5427
|
+
|
|
5428
|
+
/** BotPlanningSearchSourceMetadata title. */
|
|
5429
|
+
public title?: (string|null);
|
|
5430
|
+
|
|
5431
|
+
/** BotPlanningSearchSourceMetadata provider. */
|
|
5432
|
+
public provider?: (waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotSearchSourceProvider|null);
|
|
5433
|
+
|
|
5434
|
+
/** BotPlanningSearchSourceMetadata sourceUrl. */
|
|
5435
|
+
public sourceUrl?: (string|null);
|
|
5436
|
+
|
|
5437
|
+
/** BotPlanningSearchSourceMetadata favIconUrl. */
|
|
5438
|
+
public favIconUrl?: (string|null);
|
|
5439
|
+
|
|
5440
|
+
/**
|
|
5441
|
+
* Creates a new BotPlanningSearchSourceMetadata instance using the specified properties.
|
|
5442
|
+
* @param [properties] Properties to set
|
|
5443
|
+
* @returns BotPlanningSearchSourceMetadata instance
|
|
5444
|
+
*/
|
|
5445
|
+
public static create(properties?: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata;
|
|
5446
|
+
|
|
5447
|
+
/**
|
|
5448
|
+
* Encodes the specified BotPlanningSearchSourceMetadata message. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata.verify|verify} messages.
|
|
5449
|
+
* @param message BotPlanningSearchSourceMetadata message or plain object to encode
|
|
5450
|
+
* @param [writer] Writer to encode to
|
|
5451
|
+
* @returns Writer
|
|
5452
|
+
*/
|
|
5453
|
+
public static encode(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5454
|
+
|
|
5455
|
+
/**
|
|
5456
|
+
* Encodes the specified BotPlanningSearchSourceMetadata message, length delimited. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata.verify|verify} messages.
|
|
5457
|
+
* @param message BotPlanningSearchSourceMetadata message or plain object to encode
|
|
5458
|
+
* @param [writer] Writer to encode to
|
|
5459
|
+
* @returns Writer
|
|
5460
|
+
*/
|
|
5461
|
+
public static encodeDelimited(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5462
|
+
|
|
5463
|
+
/**
|
|
5464
|
+
* Decodes a BotPlanningSearchSourceMetadata message from the specified reader or buffer.
|
|
5465
|
+
* @param reader Reader or buffer to decode from
|
|
5466
|
+
* @param [length] Message length if known beforehand
|
|
5467
|
+
* @returns BotPlanningSearchSourceMetadata
|
|
5468
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5469
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5470
|
+
*/
|
|
5471
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata;
|
|
5472
|
+
|
|
5473
|
+
/**
|
|
5474
|
+
* Decodes a BotPlanningSearchSourceMetadata message from the specified reader or buffer, length delimited.
|
|
5475
|
+
* @param reader Reader or buffer to decode from
|
|
5476
|
+
* @returns BotPlanningSearchSourceMetadata
|
|
5477
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5478
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5479
|
+
*/
|
|
5480
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata;
|
|
5481
|
+
|
|
5482
|
+
/**
|
|
5483
|
+
* Verifies a BotPlanningSearchSourceMetadata message.
|
|
5484
|
+
* @param message Plain object to verify
|
|
5485
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5486
|
+
*/
|
|
5487
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5488
|
+
|
|
5489
|
+
/**
|
|
5490
|
+
* Creates a BotPlanningSearchSourceMetadata message from a plain object. Also converts values to their respective internal types.
|
|
5491
|
+
* @param object Plain object
|
|
5492
|
+
* @returns BotPlanningSearchSourceMetadata
|
|
5493
|
+
*/
|
|
5494
|
+
public static fromObject(object: { [k: string]: any }): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata;
|
|
5495
|
+
|
|
5496
|
+
/**
|
|
5497
|
+
* Creates a plain object from a BotPlanningSearchSourceMetadata message. Also converts values to other types if specified.
|
|
5498
|
+
* @param message BotPlanningSearchSourceMetadata
|
|
5499
|
+
* @param [options] Conversion options
|
|
5500
|
+
* @returns Plain object
|
|
5501
|
+
*/
|
|
5502
|
+
public static toObject(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningSearchSourceMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5503
|
+
|
|
5504
|
+
/**
|
|
5505
|
+
* Converts this BotPlanningSearchSourceMetadata to JSON.
|
|
5506
|
+
* @returns JSON object
|
|
5507
|
+
*/
|
|
5508
|
+
public toJSON(): { [k: string]: any };
|
|
5509
|
+
|
|
5510
|
+
/**
|
|
5511
|
+
* Gets the default type url for BotPlanningSearchSourceMetadata
|
|
5512
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5513
|
+
* @returns The default type url
|
|
5514
|
+
*/
|
|
5515
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5516
|
+
}
|
|
5517
|
+
|
|
5282
5518
|
/** Properties of a BotPlanningSearchSourcesMetadata. */
|
|
5283
5519
|
interface IBotPlanningSearchSourcesMetadata {
|
|
5284
5520
|
|
|
@@ -5399,6 +5635,123 @@ export namespace waproto {
|
|
|
5399
5635
|
}
|
|
5400
5636
|
}
|
|
5401
5637
|
|
|
5638
|
+
/** Properties of a BotPlanningStepSectionMetadata. */
|
|
5639
|
+
interface IBotPlanningStepSectionMetadata {
|
|
5640
|
+
|
|
5641
|
+
/** BotPlanningStepSectionMetadata sectionTitle */
|
|
5642
|
+
sectionTitle?: (string|null);
|
|
5643
|
+
|
|
5644
|
+
/** BotPlanningStepSectionMetadata sectionBody */
|
|
5645
|
+
sectionBody?: (string|null);
|
|
5646
|
+
|
|
5647
|
+
/** BotPlanningStepSectionMetadata sourcesMetadata */
|
|
5648
|
+
sourcesMetadata?: (waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata[]|null);
|
|
5649
|
+
}
|
|
5650
|
+
|
|
5651
|
+
/** Represents a BotPlanningStepSectionMetadata. */
|
|
5652
|
+
class BotPlanningStepSectionMetadata implements IBotPlanningStepSectionMetadata {
|
|
5653
|
+
|
|
5654
|
+
/**
|
|
5655
|
+
* Constructs a new BotPlanningStepSectionMetadata.
|
|
5656
|
+
* @param [properties] Properties to set
|
|
5657
|
+
*/
|
|
5658
|
+
constructor(properties?: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata);
|
|
5659
|
+
|
|
5660
|
+
/** BotPlanningStepSectionMetadata sectionTitle. */
|
|
5661
|
+
public sectionTitle?: (string|null);
|
|
5662
|
+
|
|
5663
|
+
/** BotPlanningStepSectionMetadata sectionBody. */
|
|
5664
|
+
public sectionBody?: (string|null);
|
|
5665
|
+
|
|
5666
|
+
/** BotPlanningStepSectionMetadata sourcesMetadata. */
|
|
5667
|
+
public sourcesMetadata: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningSearchSourceMetadata[];
|
|
5668
|
+
|
|
5669
|
+
/**
|
|
5670
|
+
* Creates a new BotPlanningStepSectionMetadata instance using the specified properties.
|
|
5671
|
+
* @param [properties] Properties to set
|
|
5672
|
+
* @returns BotPlanningStepSectionMetadata instance
|
|
5673
|
+
*/
|
|
5674
|
+
public static create(properties?: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata;
|
|
5675
|
+
|
|
5676
|
+
/**
|
|
5677
|
+
* Encodes the specified BotPlanningStepSectionMetadata message. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata.verify|verify} messages.
|
|
5678
|
+
* @param message BotPlanningStepSectionMetadata message or plain object to encode
|
|
5679
|
+
* @param [writer] Writer to encode to
|
|
5680
|
+
* @returns Writer
|
|
5681
|
+
*/
|
|
5682
|
+
public static encode(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5683
|
+
|
|
5684
|
+
/**
|
|
5685
|
+
* Encodes the specified BotPlanningStepSectionMetadata message, length delimited. Does not implicitly {@link waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata.verify|verify} messages.
|
|
5686
|
+
* @param message BotPlanningStepSectionMetadata message or plain object to encode
|
|
5687
|
+
* @param [writer] Writer to encode to
|
|
5688
|
+
* @returns Writer
|
|
5689
|
+
*/
|
|
5690
|
+
public static encodeDelimited(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.IBotPlanningStepSectionMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5691
|
+
|
|
5692
|
+
/**
|
|
5693
|
+
* Decodes a BotPlanningStepSectionMetadata message from the specified reader or buffer.
|
|
5694
|
+
* @param reader Reader or buffer to decode from
|
|
5695
|
+
* @param [length] Message length if known beforehand
|
|
5696
|
+
* @returns BotPlanningStepSectionMetadata
|
|
5697
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5698
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5699
|
+
*/
|
|
5700
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata;
|
|
5701
|
+
|
|
5702
|
+
/**
|
|
5703
|
+
* Decodes a BotPlanningStepSectionMetadata message from the specified reader or buffer, length delimited.
|
|
5704
|
+
* @param reader Reader or buffer to decode from
|
|
5705
|
+
* @returns BotPlanningStepSectionMetadata
|
|
5706
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5707
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5708
|
+
*/
|
|
5709
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata;
|
|
5710
|
+
|
|
5711
|
+
/**
|
|
5712
|
+
* Verifies a BotPlanningStepSectionMetadata message.
|
|
5713
|
+
* @param message Plain object to verify
|
|
5714
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5715
|
+
*/
|
|
5716
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5717
|
+
|
|
5718
|
+
/**
|
|
5719
|
+
* Creates a BotPlanningStepSectionMetadata message from a plain object. Also converts values to their respective internal types.
|
|
5720
|
+
* @param object Plain object
|
|
5721
|
+
* @returns BotPlanningStepSectionMetadata
|
|
5722
|
+
*/
|
|
5723
|
+
public static fromObject(object: { [k: string]: any }): waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata;
|
|
5724
|
+
|
|
5725
|
+
/**
|
|
5726
|
+
* Creates a plain object from a BotPlanningStepSectionMetadata message. Also converts values to other types if specified.
|
|
5727
|
+
* @param message BotPlanningStepSectionMetadata
|
|
5728
|
+
* @param [options] Conversion options
|
|
5729
|
+
* @returns Plain object
|
|
5730
|
+
*/
|
|
5731
|
+
public static toObject(message: waproto.BotProgressIndicatorMetadata.BotPlanningStepMetadata.BotPlanningStepSectionMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5732
|
+
|
|
5733
|
+
/**
|
|
5734
|
+
* Converts this BotPlanningStepSectionMetadata to JSON.
|
|
5735
|
+
* @returns JSON object
|
|
5736
|
+
*/
|
|
5737
|
+
public toJSON(): { [k: string]: any };
|
|
5738
|
+
|
|
5739
|
+
/**
|
|
5740
|
+
* Gets the default type url for BotPlanningStepSectionMetadata
|
|
5741
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5742
|
+
* @returns The default type url
|
|
5743
|
+
*/
|
|
5744
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5745
|
+
}
|
|
5746
|
+
|
|
5747
|
+
/** BotSearchSourceProvider enum. */
|
|
5748
|
+
enum BotSearchSourceProvider {
|
|
5749
|
+
UNKNOWN_PROVIDER = 0,
|
|
5750
|
+
OTHER = 1,
|
|
5751
|
+
GOOGLE = 2,
|
|
5752
|
+
BING = 3
|
|
5753
|
+
}
|
|
5754
|
+
|
|
5402
5755
|
/** PlanningStepStatus enum. */
|
|
5403
5756
|
enum PlanningStepStatus {
|
|
5404
5757
|
UNKNOWN = 0,
|
|
@@ -7989,6 +8342,9 @@ export namespace waproto {
|
|
|
7989
8342
|
|
|
7990
8343
|
/** ClientPayload trafficAnonymization */
|
|
7991
8344
|
trafficAnonymization?: (waproto.ClientPayload.TrafficAnonymization|null);
|
|
8345
|
+
|
|
8346
|
+
/** ClientPayload lidDbMigrated */
|
|
8347
|
+
lidDbMigrated?: (boolean|null);
|
|
7992
8348
|
}
|
|
7993
8349
|
|
|
7994
8350
|
/** Represents a ClientPayload. */
|
|
@@ -8084,6 +8440,9 @@ export namespace waproto {
|
|
|
8084
8440
|
/** ClientPayload trafficAnonymization. */
|
|
8085
8441
|
public trafficAnonymization?: (waproto.ClientPayload.TrafficAnonymization|null);
|
|
8086
8442
|
|
|
8443
|
+
/** ClientPayload lidDbMigrated. */
|
|
8444
|
+
public lidDbMigrated?: (boolean|null);
|
|
8445
|
+
|
|
8087
8446
|
/**
|
|
8088
8447
|
* Creates a new ClientPayload instance using the specified properties.
|
|
8089
8448
|
* @param [properties] Properties to set
|
|
@@ -10525,6 +10884,9 @@ export namespace waproto {
|
|
|
10525
10884
|
|
|
10526
10885
|
/** ExternalAdReplyInfo originalImageUrl */
|
|
10527
10886
|
originalImageUrl?: (string|null);
|
|
10887
|
+
|
|
10888
|
+
/** ExternalAdReplyInfo wtwaAdFormat */
|
|
10889
|
+
wtwaAdFormat?: (boolean|null);
|
|
10528
10890
|
}
|
|
10529
10891
|
|
|
10530
10892
|
/** Represents an ExternalAdReplyInfo. */
|
|
@@ -10602,6 +10964,9 @@ export namespace waproto {
|
|
|
10602
10964
|
/** ExternalAdReplyInfo originalImageUrl. */
|
|
10603
10965
|
public originalImageUrl?: (string|null);
|
|
10604
10966
|
|
|
10967
|
+
/** ExternalAdReplyInfo wtwaAdFormat. */
|
|
10968
|
+
public wtwaAdFormat?: (boolean|null);
|
|
10969
|
+
|
|
10605
10970
|
/**
|
|
10606
10971
|
* Creates a new ExternalAdReplyInfo instance using the specified properties.
|
|
10607
10972
|
* @param [properties] Properties to set
|
|
@@ -14648,6 +15013,9 @@ export namespace waproto {
|
|
|
14648
15013
|
|
|
14649
15014
|
/** HistorySync shareableChatIdentifierEncryptionKey */
|
|
14650
15015
|
shareableChatIdentifierEncryptionKey?: (Uint8Array|null);
|
|
15016
|
+
|
|
15017
|
+
/** HistorySync accounts */
|
|
15018
|
+
accounts?: (waproto.IAccount[]|null);
|
|
14651
15019
|
}
|
|
14652
15020
|
|
|
14653
15021
|
/** Represents a HistorySync. */
|
|
@@ -14707,6 +15075,9 @@ export namespace waproto {
|
|
|
14707
15075
|
/** HistorySync shareableChatIdentifierEncryptionKey. */
|
|
14708
15076
|
public shareableChatIdentifierEncryptionKey?: (Uint8Array|null);
|
|
14709
15077
|
|
|
15078
|
+
/** HistorySync accounts. */
|
|
15079
|
+
public accounts: waproto.IAccount[];
|
|
15080
|
+
|
|
14710
15081
|
/**
|
|
14711
15082
|
* Creates a new HistorySync instance using the specified properties.
|
|
14712
15083
|
* @param [properties] Properties to set
|
|
@@ -15475,6 +15846,9 @@ export namespace waproto {
|
|
|
15475
15846
|
/** InteractiveAnnotation embeddedContent */
|
|
15476
15847
|
embeddedContent?: (waproto.IEmbeddedContent|null);
|
|
15477
15848
|
|
|
15849
|
+
/** InteractiveAnnotation statusLinkType */
|
|
15850
|
+
statusLinkType?: (waproto.InteractiveAnnotation.StatusLinkType|null);
|
|
15851
|
+
|
|
15478
15852
|
/** InteractiveAnnotation location */
|
|
15479
15853
|
location?: (waproto.ILocation|null);
|
|
15480
15854
|
|
|
@@ -15506,6 +15880,9 @@ export namespace waproto {
|
|
|
15506
15880
|
/** InteractiveAnnotation embeddedContent. */
|
|
15507
15881
|
public embeddedContent?: (waproto.IEmbeddedContent|null);
|
|
15508
15882
|
|
|
15883
|
+
/** InteractiveAnnotation statusLinkType. */
|
|
15884
|
+
public statusLinkType?: (waproto.InteractiveAnnotation.StatusLinkType|null);
|
|
15885
|
+
|
|
15509
15886
|
/** InteractiveAnnotation location. */
|
|
15510
15887
|
public location?: (waproto.ILocation|null);
|
|
15511
15888
|
|
|
@@ -15599,6 +15976,16 @@ export namespace waproto {
|
|
|
15599
15976
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
15600
15977
|
}
|
|
15601
15978
|
|
|
15979
|
+
namespace InteractiveAnnotation {
|
|
15980
|
+
|
|
15981
|
+
/** StatusLinkType enum. */
|
|
15982
|
+
enum StatusLinkType {
|
|
15983
|
+
RASTERIZED_LINK_PREVIEW = 1,
|
|
15984
|
+
RASTERIZED_LINK_TRUNCATED = 2,
|
|
15985
|
+
RASTERIZED_LINK_FULL_URL = 3
|
|
15986
|
+
}
|
|
15987
|
+
}
|
|
15988
|
+
|
|
15602
15989
|
/** Properties of a KeepInChat. */
|
|
15603
15990
|
interface IKeepInChat {
|
|
15604
15991
|
|
|
@@ -17274,6 +17661,9 @@ export namespace waproto {
|
|
|
17274
17661
|
|
|
17275
17662
|
/** Message statusNotificationMessage */
|
|
17276
17663
|
statusNotificationMessage?: (waproto.Message.IStatusNotificationMessage|null);
|
|
17664
|
+
|
|
17665
|
+
/** Message limitSharingMessage */
|
|
17666
|
+
limitSharingMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
17277
17667
|
}
|
|
17278
17668
|
|
|
17279
17669
|
/** Represents a Message. */
|
|
@@ -17531,6 +17921,9 @@ export namespace waproto {
|
|
|
17531
17921
|
/** Message statusNotificationMessage. */
|
|
17532
17922
|
public statusNotificationMessage?: (waproto.Message.IStatusNotificationMessage|null);
|
|
17533
17923
|
|
|
17924
|
+
/** Message limitSharingMessage. */
|
|
17925
|
+
public limitSharingMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
17926
|
+
|
|
17534
17927
|
/**
|
|
17535
17928
|
* Creates a new Message instance using the specified properties.
|
|
17536
17929
|
* @param [properties] Properties to set
|
|
@@ -21651,6 +22044,9 @@ export namespace waproto {
|
|
|
21651
22044
|
|
|
21652
22045
|
/** ExtendedTextMessage faviconMMSMetadata */
|
|
21653
22046
|
faviconMMSMetadata?: (waproto.Message.IMMSThumbnailMetadata|null);
|
|
22047
|
+
|
|
22048
|
+
/** ExtendedTextMessage linkPreviewMetadata */
|
|
22049
|
+
linkPreviewMetadata?: (waproto.Message.ExtendedTextMessage.ILinkPreviewMetadata|null);
|
|
21654
22050
|
}
|
|
21655
22051
|
|
|
21656
22052
|
/** Represents an ExtendedTextMessage. */
|
|
@@ -21740,6 +22136,9 @@ export namespace waproto {
|
|
|
21740
22136
|
/** ExtendedTextMessage faviconMMSMetadata. */
|
|
21741
22137
|
public faviconMMSMetadata?: (waproto.Message.IMMSThumbnailMetadata|null);
|
|
21742
22138
|
|
|
22139
|
+
/** ExtendedTextMessage linkPreviewMetadata. */
|
|
22140
|
+
public linkPreviewMetadata?: (waproto.Message.ExtendedTextMessage.ILinkPreviewMetadata|null);
|
|
22141
|
+
|
|
21743
22142
|
/**
|
|
21744
22143
|
* Creates a new ExtendedTextMessage instance using the specified properties.
|
|
21745
22144
|
* @param [properties] Properties to set
|
|
@@ -21840,6 +22239,103 @@ export namespace waproto {
|
|
|
21840
22239
|
DEFAULT_SUB = 3
|
|
21841
22240
|
}
|
|
21842
22241
|
|
|
22242
|
+
/** Properties of a LinkPreviewMetadata. */
|
|
22243
|
+
interface ILinkPreviewMetadata {
|
|
22244
|
+
|
|
22245
|
+
/** LinkPreviewMetadata paymentLinkMetadata */
|
|
22246
|
+
paymentLinkMetadata?: (waproto.Message.IPaymentLinkMetadata|null);
|
|
22247
|
+
}
|
|
22248
|
+
|
|
22249
|
+
/** Represents a LinkPreviewMetadata. */
|
|
22250
|
+
class LinkPreviewMetadata implements ILinkPreviewMetadata {
|
|
22251
|
+
|
|
22252
|
+
/**
|
|
22253
|
+
* Constructs a new LinkPreviewMetadata.
|
|
22254
|
+
* @param [properties] Properties to set
|
|
22255
|
+
*/
|
|
22256
|
+
constructor(properties?: waproto.Message.ExtendedTextMessage.ILinkPreviewMetadata);
|
|
22257
|
+
|
|
22258
|
+
/** LinkPreviewMetadata paymentLinkMetadata. */
|
|
22259
|
+
public paymentLinkMetadata?: (waproto.Message.IPaymentLinkMetadata|null);
|
|
22260
|
+
|
|
22261
|
+
/**
|
|
22262
|
+
* Creates a new LinkPreviewMetadata instance using the specified properties.
|
|
22263
|
+
* @param [properties] Properties to set
|
|
22264
|
+
* @returns LinkPreviewMetadata instance
|
|
22265
|
+
*/
|
|
22266
|
+
public static create(properties?: waproto.Message.ExtendedTextMessage.ILinkPreviewMetadata): waproto.Message.ExtendedTextMessage.LinkPreviewMetadata;
|
|
22267
|
+
|
|
22268
|
+
/**
|
|
22269
|
+
* Encodes the specified LinkPreviewMetadata message. Does not implicitly {@link waproto.Message.ExtendedTextMessage.LinkPreviewMetadata.verify|verify} messages.
|
|
22270
|
+
* @param message LinkPreviewMetadata message or plain object to encode
|
|
22271
|
+
* @param [writer] Writer to encode to
|
|
22272
|
+
* @returns Writer
|
|
22273
|
+
*/
|
|
22274
|
+
public static encode(message: waproto.Message.ExtendedTextMessage.ILinkPreviewMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22275
|
+
|
|
22276
|
+
/**
|
|
22277
|
+
* Encodes the specified LinkPreviewMetadata message, length delimited. Does not implicitly {@link waproto.Message.ExtendedTextMessage.LinkPreviewMetadata.verify|verify} messages.
|
|
22278
|
+
* @param message LinkPreviewMetadata message or plain object to encode
|
|
22279
|
+
* @param [writer] Writer to encode to
|
|
22280
|
+
* @returns Writer
|
|
22281
|
+
*/
|
|
22282
|
+
public static encodeDelimited(message: waproto.Message.ExtendedTextMessage.ILinkPreviewMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22283
|
+
|
|
22284
|
+
/**
|
|
22285
|
+
* Decodes a LinkPreviewMetadata message from the specified reader or buffer.
|
|
22286
|
+
* @param reader Reader or buffer to decode from
|
|
22287
|
+
* @param [length] Message length if known beforehand
|
|
22288
|
+
* @returns LinkPreviewMetadata
|
|
22289
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22290
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22291
|
+
*/
|
|
22292
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.ExtendedTextMessage.LinkPreviewMetadata;
|
|
22293
|
+
|
|
22294
|
+
/**
|
|
22295
|
+
* Decodes a LinkPreviewMetadata message from the specified reader or buffer, length delimited.
|
|
22296
|
+
* @param reader Reader or buffer to decode from
|
|
22297
|
+
* @returns LinkPreviewMetadata
|
|
22298
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22299
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22300
|
+
*/
|
|
22301
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.ExtendedTextMessage.LinkPreviewMetadata;
|
|
22302
|
+
|
|
22303
|
+
/**
|
|
22304
|
+
* Verifies a LinkPreviewMetadata message.
|
|
22305
|
+
* @param message Plain object to verify
|
|
22306
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22307
|
+
*/
|
|
22308
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22309
|
+
|
|
22310
|
+
/**
|
|
22311
|
+
* Creates a LinkPreviewMetadata message from a plain object. Also converts values to their respective internal types.
|
|
22312
|
+
* @param object Plain object
|
|
22313
|
+
* @returns LinkPreviewMetadata
|
|
22314
|
+
*/
|
|
22315
|
+
public static fromObject(object: { [k: string]: any }): waproto.Message.ExtendedTextMessage.LinkPreviewMetadata;
|
|
22316
|
+
|
|
22317
|
+
/**
|
|
22318
|
+
* Creates a plain object from a LinkPreviewMetadata message. Also converts values to other types if specified.
|
|
22319
|
+
* @param message LinkPreviewMetadata
|
|
22320
|
+
* @param [options] Conversion options
|
|
22321
|
+
* @returns Plain object
|
|
22322
|
+
*/
|
|
22323
|
+
public static toObject(message: waproto.Message.ExtendedTextMessage.LinkPreviewMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22324
|
+
|
|
22325
|
+
/**
|
|
22326
|
+
* Converts this LinkPreviewMetadata to JSON.
|
|
22327
|
+
* @returns JSON object
|
|
22328
|
+
*/
|
|
22329
|
+
public toJSON(): { [k: string]: any };
|
|
22330
|
+
|
|
22331
|
+
/**
|
|
22332
|
+
* Gets the default type url for LinkPreviewMetadata
|
|
22333
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22334
|
+
* @returns The default type url
|
|
22335
|
+
*/
|
|
22336
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22337
|
+
}
|
|
22338
|
+
|
|
21843
22339
|
/** PreviewType enum. */
|
|
21844
22340
|
enum PreviewType {
|
|
21845
22341
|
NONE = 0,
|
|
@@ -27143,6 +27639,315 @@ export namespace waproto {
|
|
|
27143
27639
|
}
|
|
27144
27640
|
}
|
|
27145
27641
|
|
|
27642
|
+
/** Properties of a PaymentLinkMetadata. */
|
|
27643
|
+
interface IPaymentLinkMetadata {
|
|
27644
|
+
|
|
27645
|
+
/** PaymentLinkMetadata button */
|
|
27646
|
+
button?: (waproto.Message.PaymentLinkMetadata.IPaymentLinkButton|null);
|
|
27647
|
+
|
|
27648
|
+
/** PaymentLinkMetadata header */
|
|
27649
|
+
header?: (waproto.Message.PaymentLinkMetadata.IPaymentLinkHeader|null);
|
|
27650
|
+
}
|
|
27651
|
+
|
|
27652
|
+
/** Represents a PaymentLinkMetadata. */
|
|
27653
|
+
class PaymentLinkMetadata implements IPaymentLinkMetadata {
|
|
27654
|
+
|
|
27655
|
+
/**
|
|
27656
|
+
* Constructs a new PaymentLinkMetadata.
|
|
27657
|
+
* @param [properties] Properties to set
|
|
27658
|
+
*/
|
|
27659
|
+
constructor(properties?: waproto.Message.IPaymentLinkMetadata);
|
|
27660
|
+
|
|
27661
|
+
/** PaymentLinkMetadata button. */
|
|
27662
|
+
public button?: (waproto.Message.PaymentLinkMetadata.IPaymentLinkButton|null);
|
|
27663
|
+
|
|
27664
|
+
/** PaymentLinkMetadata header. */
|
|
27665
|
+
public header?: (waproto.Message.PaymentLinkMetadata.IPaymentLinkHeader|null);
|
|
27666
|
+
|
|
27667
|
+
/**
|
|
27668
|
+
* Creates a new PaymentLinkMetadata instance using the specified properties.
|
|
27669
|
+
* @param [properties] Properties to set
|
|
27670
|
+
* @returns PaymentLinkMetadata instance
|
|
27671
|
+
*/
|
|
27672
|
+
public static create(properties?: waproto.Message.IPaymentLinkMetadata): waproto.Message.PaymentLinkMetadata;
|
|
27673
|
+
|
|
27674
|
+
/**
|
|
27675
|
+
* Encodes the specified PaymentLinkMetadata message. Does not implicitly {@link waproto.Message.PaymentLinkMetadata.verify|verify} messages.
|
|
27676
|
+
* @param message PaymentLinkMetadata message or plain object to encode
|
|
27677
|
+
* @param [writer] Writer to encode to
|
|
27678
|
+
* @returns Writer
|
|
27679
|
+
*/
|
|
27680
|
+
public static encode(message: waproto.Message.IPaymentLinkMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27681
|
+
|
|
27682
|
+
/**
|
|
27683
|
+
* Encodes the specified PaymentLinkMetadata message, length delimited. Does not implicitly {@link waproto.Message.PaymentLinkMetadata.verify|verify} messages.
|
|
27684
|
+
* @param message PaymentLinkMetadata message or plain object to encode
|
|
27685
|
+
* @param [writer] Writer to encode to
|
|
27686
|
+
* @returns Writer
|
|
27687
|
+
*/
|
|
27688
|
+
public static encodeDelimited(message: waproto.Message.IPaymentLinkMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27689
|
+
|
|
27690
|
+
/**
|
|
27691
|
+
* Decodes a PaymentLinkMetadata message from the specified reader or buffer.
|
|
27692
|
+
* @param reader Reader or buffer to decode from
|
|
27693
|
+
* @param [length] Message length if known beforehand
|
|
27694
|
+
* @returns PaymentLinkMetadata
|
|
27695
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27696
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27697
|
+
*/
|
|
27698
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PaymentLinkMetadata;
|
|
27699
|
+
|
|
27700
|
+
/**
|
|
27701
|
+
* Decodes a PaymentLinkMetadata message from the specified reader or buffer, length delimited.
|
|
27702
|
+
* @param reader Reader or buffer to decode from
|
|
27703
|
+
* @returns PaymentLinkMetadata
|
|
27704
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27705
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27706
|
+
*/
|
|
27707
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PaymentLinkMetadata;
|
|
27708
|
+
|
|
27709
|
+
/**
|
|
27710
|
+
* Verifies a PaymentLinkMetadata message.
|
|
27711
|
+
* @param message Plain object to verify
|
|
27712
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27713
|
+
*/
|
|
27714
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27715
|
+
|
|
27716
|
+
/**
|
|
27717
|
+
* Creates a PaymentLinkMetadata message from a plain object. Also converts values to their respective internal types.
|
|
27718
|
+
* @param object Plain object
|
|
27719
|
+
* @returns PaymentLinkMetadata
|
|
27720
|
+
*/
|
|
27721
|
+
public static fromObject(object: { [k: string]: any }): waproto.Message.PaymentLinkMetadata;
|
|
27722
|
+
|
|
27723
|
+
/**
|
|
27724
|
+
* Creates a plain object from a PaymentLinkMetadata message. Also converts values to other types if specified.
|
|
27725
|
+
* @param message PaymentLinkMetadata
|
|
27726
|
+
* @param [options] Conversion options
|
|
27727
|
+
* @returns Plain object
|
|
27728
|
+
*/
|
|
27729
|
+
public static toObject(message: waproto.Message.PaymentLinkMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27730
|
+
|
|
27731
|
+
/**
|
|
27732
|
+
* Converts this PaymentLinkMetadata to JSON.
|
|
27733
|
+
* @returns JSON object
|
|
27734
|
+
*/
|
|
27735
|
+
public toJSON(): { [k: string]: any };
|
|
27736
|
+
|
|
27737
|
+
/**
|
|
27738
|
+
* Gets the default type url for PaymentLinkMetadata
|
|
27739
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
27740
|
+
* @returns The default type url
|
|
27741
|
+
*/
|
|
27742
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
27743
|
+
}
|
|
27744
|
+
|
|
27745
|
+
namespace PaymentLinkMetadata {
|
|
27746
|
+
|
|
27747
|
+
/** Properties of a PaymentLinkButton. */
|
|
27748
|
+
interface IPaymentLinkButton {
|
|
27749
|
+
|
|
27750
|
+
/** PaymentLinkButton displayText */
|
|
27751
|
+
displayText: string;
|
|
27752
|
+
}
|
|
27753
|
+
|
|
27754
|
+
/** Represents a PaymentLinkButton. */
|
|
27755
|
+
class PaymentLinkButton implements IPaymentLinkButton {
|
|
27756
|
+
|
|
27757
|
+
/**
|
|
27758
|
+
* Constructs a new PaymentLinkButton.
|
|
27759
|
+
* @param [properties] Properties to set
|
|
27760
|
+
*/
|
|
27761
|
+
constructor(properties?: waproto.Message.PaymentLinkMetadata.IPaymentLinkButton);
|
|
27762
|
+
|
|
27763
|
+
/** PaymentLinkButton displayText. */
|
|
27764
|
+
public displayText: string;
|
|
27765
|
+
|
|
27766
|
+
/**
|
|
27767
|
+
* Creates a new PaymentLinkButton instance using the specified properties.
|
|
27768
|
+
* @param [properties] Properties to set
|
|
27769
|
+
* @returns PaymentLinkButton instance
|
|
27770
|
+
*/
|
|
27771
|
+
public static create(properties?: waproto.Message.PaymentLinkMetadata.IPaymentLinkButton): waproto.Message.PaymentLinkMetadata.PaymentLinkButton;
|
|
27772
|
+
|
|
27773
|
+
/**
|
|
27774
|
+
* Encodes the specified PaymentLinkButton message. Does not implicitly {@link waproto.Message.PaymentLinkMetadata.PaymentLinkButton.verify|verify} messages.
|
|
27775
|
+
* @param message PaymentLinkButton message or plain object to encode
|
|
27776
|
+
* @param [writer] Writer to encode to
|
|
27777
|
+
* @returns Writer
|
|
27778
|
+
*/
|
|
27779
|
+
public static encode(message: waproto.Message.PaymentLinkMetadata.IPaymentLinkButton, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27780
|
+
|
|
27781
|
+
/**
|
|
27782
|
+
* Encodes the specified PaymentLinkButton message, length delimited. Does not implicitly {@link waproto.Message.PaymentLinkMetadata.PaymentLinkButton.verify|verify} messages.
|
|
27783
|
+
* @param message PaymentLinkButton message or plain object to encode
|
|
27784
|
+
* @param [writer] Writer to encode to
|
|
27785
|
+
* @returns Writer
|
|
27786
|
+
*/
|
|
27787
|
+
public static encodeDelimited(message: waproto.Message.PaymentLinkMetadata.IPaymentLinkButton, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27788
|
+
|
|
27789
|
+
/**
|
|
27790
|
+
* Decodes a PaymentLinkButton message from the specified reader or buffer.
|
|
27791
|
+
* @param reader Reader or buffer to decode from
|
|
27792
|
+
* @param [length] Message length if known beforehand
|
|
27793
|
+
* @returns PaymentLinkButton
|
|
27794
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27795
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27796
|
+
*/
|
|
27797
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PaymentLinkMetadata.PaymentLinkButton;
|
|
27798
|
+
|
|
27799
|
+
/**
|
|
27800
|
+
* Decodes a PaymentLinkButton message from the specified reader or buffer, length delimited.
|
|
27801
|
+
* @param reader Reader or buffer to decode from
|
|
27802
|
+
* @returns PaymentLinkButton
|
|
27803
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27804
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27805
|
+
*/
|
|
27806
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PaymentLinkMetadata.PaymentLinkButton;
|
|
27807
|
+
|
|
27808
|
+
/**
|
|
27809
|
+
* Verifies a PaymentLinkButton message.
|
|
27810
|
+
* @param message Plain object to verify
|
|
27811
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27812
|
+
*/
|
|
27813
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27814
|
+
|
|
27815
|
+
/**
|
|
27816
|
+
* Creates a PaymentLinkButton message from a plain object. Also converts values to their respective internal types.
|
|
27817
|
+
* @param object Plain object
|
|
27818
|
+
* @returns PaymentLinkButton
|
|
27819
|
+
*/
|
|
27820
|
+
public static fromObject(object: { [k: string]: any }): waproto.Message.PaymentLinkMetadata.PaymentLinkButton;
|
|
27821
|
+
|
|
27822
|
+
/**
|
|
27823
|
+
* Creates a plain object from a PaymentLinkButton message. Also converts values to other types if specified.
|
|
27824
|
+
* @param message PaymentLinkButton
|
|
27825
|
+
* @param [options] Conversion options
|
|
27826
|
+
* @returns Plain object
|
|
27827
|
+
*/
|
|
27828
|
+
public static toObject(message: waproto.Message.PaymentLinkMetadata.PaymentLinkButton, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27829
|
+
|
|
27830
|
+
/**
|
|
27831
|
+
* Converts this PaymentLinkButton to JSON.
|
|
27832
|
+
* @returns JSON object
|
|
27833
|
+
*/
|
|
27834
|
+
public toJSON(): { [k: string]: any };
|
|
27835
|
+
|
|
27836
|
+
/**
|
|
27837
|
+
* Gets the default type url for PaymentLinkButton
|
|
27838
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
27839
|
+
* @returns The default type url
|
|
27840
|
+
*/
|
|
27841
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
27842
|
+
}
|
|
27843
|
+
|
|
27844
|
+
/** Properties of a PaymentLinkHeader. */
|
|
27845
|
+
interface IPaymentLinkHeader {
|
|
27846
|
+
|
|
27847
|
+
/** PaymentLinkHeader headerType */
|
|
27848
|
+
headerType: waproto.Message.PaymentLinkMetadata.PaymentLinkHeader.PaymentLinkHeaderType;
|
|
27849
|
+
}
|
|
27850
|
+
|
|
27851
|
+
/** Represents a PaymentLinkHeader. */
|
|
27852
|
+
class PaymentLinkHeader implements IPaymentLinkHeader {
|
|
27853
|
+
|
|
27854
|
+
/**
|
|
27855
|
+
* Constructs a new PaymentLinkHeader.
|
|
27856
|
+
* @param [properties] Properties to set
|
|
27857
|
+
*/
|
|
27858
|
+
constructor(properties?: waproto.Message.PaymentLinkMetadata.IPaymentLinkHeader);
|
|
27859
|
+
|
|
27860
|
+
/** PaymentLinkHeader headerType. */
|
|
27861
|
+
public headerType: waproto.Message.PaymentLinkMetadata.PaymentLinkHeader.PaymentLinkHeaderType;
|
|
27862
|
+
|
|
27863
|
+
/**
|
|
27864
|
+
* Creates a new PaymentLinkHeader instance using the specified properties.
|
|
27865
|
+
* @param [properties] Properties to set
|
|
27866
|
+
* @returns PaymentLinkHeader instance
|
|
27867
|
+
*/
|
|
27868
|
+
public static create(properties?: waproto.Message.PaymentLinkMetadata.IPaymentLinkHeader): waproto.Message.PaymentLinkMetadata.PaymentLinkHeader;
|
|
27869
|
+
|
|
27870
|
+
/**
|
|
27871
|
+
* Encodes the specified PaymentLinkHeader message. Does not implicitly {@link waproto.Message.PaymentLinkMetadata.PaymentLinkHeader.verify|verify} messages.
|
|
27872
|
+
* @param message PaymentLinkHeader message or plain object to encode
|
|
27873
|
+
* @param [writer] Writer to encode to
|
|
27874
|
+
* @returns Writer
|
|
27875
|
+
*/
|
|
27876
|
+
public static encode(message: waproto.Message.PaymentLinkMetadata.IPaymentLinkHeader, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27877
|
+
|
|
27878
|
+
/**
|
|
27879
|
+
* Encodes the specified PaymentLinkHeader message, length delimited. Does not implicitly {@link waproto.Message.PaymentLinkMetadata.PaymentLinkHeader.verify|verify} messages.
|
|
27880
|
+
* @param message PaymentLinkHeader message or plain object to encode
|
|
27881
|
+
* @param [writer] Writer to encode to
|
|
27882
|
+
* @returns Writer
|
|
27883
|
+
*/
|
|
27884
|
+
public static encodeDelimited(message: waproto.Message.PaymentLinkMetadata.IPaymentLinkHeader, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
27885
|
+
|
|
27886
|
+
/**
|
|
27887
|
+
* Decodes a PaymentLinkHeader message from the specified reader or buffer.
|
|
27888
|
+
* @param reader Reader or buffer to decode from
|
|
27889
|
+
* @param [length] Message length if known beforehand
|
|
27890
|
+
* @returns PaymentLinkHeader
|
|
27891
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27892
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27893
|
+
*/
|
|
27894
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.Message.PaymentLinkMetadata.PaymentLinkHeader;
|
|
27895
|
+
|
|
27896
|
+
/**
|
|
27897
|
+
* Decodes a PaymentLinkHeader message from the specified reader or buffer, length delimited.
|
|
27898
|
+
* @param reader Reader or buffer to decode from
|
|
27899
|
+
* @returns PaymentLinkHeader
|
|
27900
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
27901
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
27902
|
+
*/
|
|
27903
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.Message.PaymentLinkMetadata.PaymentLinkHeader;
|
|
27904
|
+
|
|
27905
|
+
/**
|
|
27906
|
+
* Verifies a PaymentLinkHeader message.
|
|
27907
|
+
* @param message Plain object to verify
|
|
27908
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
27909
|
+
*/
|
|
27910
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
27911
|
+
|
|
27912
|
+
/**
|
|
27913
|
+
* Creates a PaymentLinkHeader message from a plain object. Also converts values to their respective internal types.
|
|
27914
|
+
* @param object Plain object
|
|
27915
|
+
* @returns PaymentLinkHeader
|
|
27916
|
+
*/
|
|
27917
|
+
public static fromObject(object: { [k: string]: any }): waproto.Message.PaymentLinkMetadata.PaymentLinkHeader;
|
|
27918
|
+
|
|
27919
|
+
/**
|
|
27920
|
+
* Creates a plain object from a PaymentLinkHeader message. Also converts values to other types if specified.
|
|
27921
|
+
* @param message PaymentLinkHeader
|
|
27922
|
+
* @param [options] Conversion options
|
|
27923
|
+
* @returns Plain object
|
|
27924
|
+
*/
|
|
27925
|
+
public static toObject(message: waproto.Message.PaymentLinkMetadata.PaymentLinkHeader, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
27926
|
+
|
|
27927
|
+
/**
|
|
27928
|
+
* Converts this PaymentLinkHeader to JSON.
|
|
27929
|
+
* @returns JSON object
|
|
27930
|
+
*/
|
|
27931
|
+
public toJSON(): { [k: string]: any };
|
|
27932
|
+
|
|
27933
|
+
/**
|
|
27934
|
+
* Gets the default type url for PaymentLinkHeader
|
|
27935
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
27936
|
+
* @returns The default type url
|
|
27937
|
+
*/
|
|
27938
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
27939
|
+
}
|
|
27940
|
+
|
|
27941
|
+
namespace PaymentLinkHeader {
|
|
27942
|
+
|
|
27943
|
+
/** PaymentLinkHeaderType enum. */
|
|
27944
|
+
enum PaymentLinkHeaderType {
|
|
27945
|
+
LINK_PREVIEW = 0,
|
|
27946
|
+
ORDER = 1
|
|
27947
|
+
}
|
|
27948
|
+
}
|
|
27949
|
+
}
|
|
27950
|
+
|
|
27146
27951
|
/** Properties of a PeerDataOperationRequestMessage. */
|
|
27147
27952
|
interface IPeerDataOperationRequestMessage {
|
|
27148
27953
|
|
|
@@ -32939,9 +33744,6 @@ export namespace waproto {
|
|
|
32939
33744
|
|
|
32940
33745
|
/** VideoMessage processedVideos */
|
|
32941
33746
|
processedVideos?: (waproto.IProcessedVideo[]|null);
|
|
32942
|
-
|
|
32943
|
-
/** VideoMessage externalShareFullVideoDurationInSeconds */
|
|
32944
|
-
externalShareFullVideoDurationInSeconds?: (number|null);
|
|
32945
33747
|
}
|
|
32946
33748
|
|
|
32947
33749
|
/** Represents a VideoMessage. */
|
|
@@ -33031,9 +33833,6 @@ export namespace waproto {
|
|
|
33031
33833
|
/** VideoMessage processedVideos. */
|
|
33032
33834
|
public processedVideos: waproto.IProcessedVideo[];
|
|
33033
33835
|
|
|
33034
|
-
/** VideoMessage externalShareFullVideoDurationInSeconds. */
|
|
33035
|
-
public externalShareFullVideoDurationInSeconds?: (number|null);
|
|
33036
|
-
|
|
33037
33836
|
/**
|
|
33038
33837
|
* Creates a new VideoMessage instance using the specified properties.
|
|
33039
33838
|
* @param [properties] Properties to set
|
|
@@ -33502,7 +34301,9 @@ export namespace waproto {
|
|
|
33502
34301
|
STATUS_NOTIFICATION = 9,
|
|
33503
34302
|
HD_IMAGE_DUAL_UPLOAD = 10,
|
|
33504
34303
|
STICKER_ANNOTATION = 11,
|
|
33505
|
-
MOTION_PHOTO = 12
|
|
34304
|
+
MOTION_PHOTO = 12,
|
|
34305
|
+
STATUS_LINK_ACTION = 13,
|
|
34306
|
+
VIEW_ALL_REPLIES = 14
|
|
33506
34307
|
}
|
|
33507
34308
|
}
|
|
33508
34309
|
|