@wppconnect/wa-proto 1.1.2 → 1.1.4
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 +8 -0
- package/WAProto.proto +97 -2
- package/dist/index.d.ts +854 -9
- package/dist/index.js +2575 -35
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1530,9 +1530,20 @@ export namespace waproto {
|
|
|
1530
1530
|
RICH_RESPONSE_HEADING = 2,
|
|
1531
1531
|
RICH_RESPONSE_NESTED_LIST = 3,
|
|
1532
1532
|
AI_MEMORY = 4,
|
|
1533
|
+
RICH_RESPONSE_THREAD_SURFING = 5,
|
|
1534
|
+
RICH_RESPONSE_TABLE = 6,
|
|
1535
|
+
RICH_RESPONSE_CODE = 7,
|
|
1533
1536
|
WA_IG_1P_PLUGIN_RANKING_CONTROL = 10,
|
|
1534
1537
|
WA_IG_1P_PLUGIN_RANKING_UPDATE_1 = 11,
|
|
1535
|
-
WA_IG_1P_PLUGIN_RANKING_UPDATE_2 = 12
|
|
1538
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_2 = 12,
|
|
1539
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_3 = 13,
|
|
1540
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_4 = 14,
|
|
1541
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_5 = 15,
|
|
1542
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_6 = 16,
|
|
1543
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_7 = 17,
|
|
1544
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_8 = 18,
|
|
1545
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_9 = 19,
|
|
1546
|
+
WA_IG_1P_PLUGIN_RANKING_UPDATE_10 = 20
|
|
1536
1547
|
}
|
|
1537
1548
|
}
|
|
1538
1549
|
|
|
@@ -2144,6 +2155,12 @@ export namespace waproto {
|
|
|
2144
2155
|
|
|
2145
2156
|
/** BotMetadata memoryMetadata */
|
|
2146
2157
|
memoryMetadata?: (waproto.IBotMemoryMetadata|null);
|
|
2158
|
+
|
|
2159
|
+
/** BotMetadata renderingMetadata */
|
|
2160
|
+
renderingMetadata?: (waproto.IBotRenderingMetadata|null);
|
|
2161
|
+
|
|
2162
|
+
/** BotMetadata botMetricsMetadata */
|
|
2163
|
+
botMetricsMetadata?: (waproto.IBotMetricsMetadata|null);
|
|
2147
2164
|
}
|
|
2148
2165
|
|
|
2149
2166
|
/** Represents a BotMetadata. */
|
|
@@ -2200,6 +2217,12 @@ export namespace waproto {
|
|
|
2200
2217
|
/** BotMetadata memoryMetadata. */
|
|
2201
2218
|
public memoryMetadata?: (waproto.IBotMemoryMetadata|null);
|
|
2202
2219
|
|
|
2220
|
+
/** BotMetadata renderingMetadata. */
|
|
2221
|
+
public renderingMetadata?: (waproto.IBotRenderingMetadata|null);
|
|
2222
|
+
|
|
2223
|
+
/** BotMetadata botMetricsMetadata. */
|
|
2224
|
+
public botMetricsMetadata?: (waproto.IBotMetricsMetadata|null);
|
|
2225
|
+
|
|
2203
2226
|
/**
|
|
2204
2227
|
* Creates a new BotMetadata instance using the specified properties.
|
|
2205
2228
|
* @param [properties] Properties to set
|
|
@@ -2278,6 +2301,129 @@ export namespace waproto {
|
|
|
2278
2301
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2279
2302
|
}
|
|
2280
2303
|
|
|
2304
|
+
/** BotMetricsEntryPoint enum. */
|
|
2305
|
+
enum BotMetricsEntryPoint {
|
|
2306
|
+
FAVICON = 1,
|
|
2307
|
+
CHATLIST = 2,
|
|
2308
|
+
AISEARCH_NULL_STATE_PAPER_PLANE = 3,
|
|
2309
|
+
AISEARCH_NULL_STATE_SUGGESTION = 4,
|
|
2310
|
+
AISEARCH_TYPE_AHEAD_SUGGESTION = 5,
|
|
2311
|
+
AISEARCH_TYPE_AHEAD_PAPER_PLANE = 6,
|
|
2312
|
+
AISEARCH_TYPE_AHEAD_RESULT_CHATLIST = 7,
|
|
2313
|
+
AISEARCH_TYPE_AHEAD_RESULT_MESSAGES = 8,
|
|
2314
|
+
AIVOICE_SEARCH_BAR = 9,
|
|
2315
|
+
AIVOICE_FAVICON = 10,
|
|
2316
|
+
AISTUDIO = 11,
|
|
2317
|
+
DEEPLINK = 12,
|
|
2318
|
+
NOTIFICATION = 13,
|
|
2319
|
+
PROFILE_MESSAGE_BUTTON = 14,
|
|
2320
|
+
FORWARD = 15,
|
|
2321
|
+
APP_SHORTCUT = 16
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2324
|
+
/** Properties of a BotMetricsMetadata. */
|
|
2325
|
+
interface IBotMetricsMetadata {
|
|
2326
|
+
|
|
2327
|
+
/** BotMetricsMetadata destinationId */
|
|
2328
|
+
destinationId?: (string|null);
|
|
2329
|
+
|
|
2330
|
+
/** BotMetricsMetadata destinationEntryPoint */
|
|
2331
|
+
destinationEntryPoint?: (waproto.BotMetricsEntryPoint|null);
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
/** Represents a BotMetricsMetadata. */
|
|
2335
|
+
class BotMetricsMetadata implements IBotMetricsMetadata {
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* Constructs a new BotMetricsMetadata.
|
|
2339
|
+
* @param [properties] Properties to set
|
|
2340
|
+
*/
|
|
2341
|
+
constructor(properties?: waproto.IBotMetricsMetadata);
|
|
2342
|
+
|
|
2343
|
+
/** BotMetricsMetadata destinationId. */
|
|
2344
|
+
public destinationId?: (string|null);
|
|
2345
|
+
|
|
2346
|
+
/** BotMetricsMetadata destinationEntryPoint. */
|
|
2347
|
+
public destinationEntryPoint?: (waproto.BotMetricsEntryPoint|null);
|
|
2348
|
+
|
|
2349
|
+
/**
|
|
2350
|
+
* Creates a new BotMetricsMetadata instance using the specified properties.
|
|
2351
|
+
* @param [properties] Properties to set
|
|
2352
|
+
* @returns BotMetricsMetadata instance
|
|
2353
|
+
*/
|
|
2354
|
+
public static create(properties?: waproto.IBotMetricsMetadata): waproto.BotMetricsMetadata;
|
|
2355
|
+
|
|
2356
|
+
/**
|
|
2357
|
+
* Encodes the specified BotMetricsMetadata message. Does not implicitly {@link waproto.BotMetricsMetadata.verify|verify} messages.
|
|
2358
|
+
* @param message BotMetricsMetadata message or plain object to encode
|
|
2359
|
+
* @param [writer] Writer to encode to
|
|
2360
|
+
* @returns Writer
|
|
2361
|
+
*/
|
|
2362
|
+
public static encode(message: waproto.IBotMetricsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
* Encodes the specified BotMetricsMetadata message, length delimited. Does not implicitly {@link waproto.BotMetricsMetadata.verify|verify} messages.
|
|
2366
|
+
* @param message BotMetricsMetadata message or plain object to encode
|
|
2367
|
+
* @param [writer] Writer to encode to
|
|
2368
|
+
* @returns Writer
|
|
2369
|
+
*/
|
|
2370
|
+
public static encodeDelimited(message: waproto.IBotMetricsMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2371
|
+
|
|
2372
|
+
/**
|
|
2373
|
+
* Decodes a BotMetricsMetadata message from the specified reader or buffer.
|
|
2374
|
+
* @param reader Reader or buffer to decode from
|
|
2375
|
+
* @param [length] Message length if known beforehand
|
|
2376
|
+
* @returns BotMetricsMetadata
|
|
2377
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2378
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2379
|
+
*/
|
|
2380
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotMetricsMetadata;
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* Decodes a BotMetricsMetadata message from the specified reader or buffer, length delimited.
|
|
2384
|
+
* @param reader Reader or buffer to decode from
|
|
2385
|
+
* @returns BotMetricsMetadata
|
|
2386
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2387
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2388
|
+
*/
|
|
2389
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotMetricsMetadata;
|
|
2390
|
+
|
|
2391
|
+
/**
|
|
2392
|
+
* Verifies a BotMetricsMetadata message.
|
|
2393
|
+
* @param message Plain object to verify
|
|
2394
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2395
|
+
*/
|
|
2396
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2397
|
+
|
|
2398
|
+
/**
|
|
2399
|
+
* Creates a BotMetricsMetadata message from a plain object. Also converts values to their respective internal types.
|
|
2400
|
+
* @param object Plain object
|
|
2401
|
+
* @returns BotMetricsMetadata
|
|
2402
|
+
*/
|
|
2403
|
+
public static fromObject(object: { [k: string]: any }): waproto.BotMetricsMetadata;
|
|
2404
|
+
|
|
2405
|
+
/**
|
|
2406
|
+
* Creates a plain object from a BotMetricsMetadata message. Also converts values to other types if specified.
|
|
2407
|
+
* @param message BotMetricsMetadata
|
|
2408
|
+
* @param [options] Conversion options
|
|
2409
|
+
* @returns Plain object
|
|
2410
|
+
*/
|
|
2411
|
+
public static toObject(message: waproto.BotMetricsMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2412
|
+
|
|
2413
|
+
/**
|
|
2414
|
+
* Converts this BotMetricsMetadata to JSON.
|
|
2415
|
+
* @returns JSON object
|
|
2416
|
+
*/
|
|
2417
|
+
public toJSON(): { [k: string]: any };
|
|
2418
|
+
|
|
2419
|
+
/**
|
|
2420
|
+
* Gets the default type url for BotMetricsMetadata
|
|
2421
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2422
|
+
* @returns The default type url
|
|
2423
|
+
*/
|
|
2424
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2425
|
+
}
|
|
2426
|
+
|
|
2281
2427
|
/** Properties of a BotModelMetadata. */
|
|
2282
2428
|
interface IBotModelMetadata {
|
|
2283
2429
|
|
|
@@ -2385,12 +2531,14 @@ export namespace waproto {
|
|
|
2385
2531
|
|
|
2386
2532
|
/** ModelType enum. */
|
|
2387
2533
|
enum ModelType {
|
|
2534
|
+
UNKNOWN_TYPE = 0,
|
|
2388
2535
|
LLAMA_PROD = 1,
|
|
2389
2536
|
LLAMA_PROD_PREMIUM = 2
|
|
2390
2537
|
}
|
|
2391
2538
|
|
|
2392
2539
|
/** PremiumModelStatus enum. */
|
|
2393
2540
|
enum PremiumModelStatus {
|
|
2541
|
+
UNKNOWN_STATUS = 0,
|
|
2394
2542
|
AVAILABLE = 1,
|
|
2395
2543
|
QUOTA_EXCEED_LIMIT = 2
|
|
2396
2544
|
}
|
|
@@ -2563,12 +2711,14 @@ export namespace waproto {
|
|
|
2563
2711
|
|
|
2564
2712
|
/** PluginType enum. */
|
|
2565
2713
|
enum PluginType {
|
|
2714
|
+
UNKNOWN_PLUGIN = 0,
|
|
2566
2715
|
REELS = 1,
|
|
2567
2716
|
SEARCH = 2
|
|
2568
2717
|
}
|
|
2569
2718
|
|
|
2570
2719
|
/** SearchProvider enum. */
|
|
2571
2720
|
enum SearchProvider {
|
|
2721
|
+
UNKNOWN = 0,
|
|
2572
2722
|
BING = 1,
|
|
2573
2723
|
GOOGLE = 2,
|
|
2574
2724
|
SUPPORT = 3
|
|
@@ -3013,6 +3163,209 @@ export namespace waproto {
|
|
|
3013
3163
|
}
|
|
3014
3164
|
}
|
|
3015
3165
|
|
|
3166
|
+
/** Properties of a BotRenderingMetadata. */
|
|
3167
|
+
interface IBotRenderingMetadata {
|
|
3168
|
+
|
|
3169
|
+
/** BotRenderingMetadata keywords */
|
|
3170
|
+
keywords?: (waproto.BotRenderingMetadata.IKeyword[]|null);
|
|
3171
|
+
}
|
|
3172
|
+
|
|
3173
|
+
/** Represents a BotRenderingMetadata. */
|
|
3174
|
+
class BotRenderingMetadata implements IBotRenderingMetadata {
|
|
3175
|
+
|
|
3176
|
+
/**
|
|
3177
|
+
* Constructs a new BotRenderingMetadata.
|
|
3178
|
+
* @param [properties] Properties to set
|
|
3179
|
+
*/
|
|
3180
|
+
constructor(properties?: waproto.IBotRenderingMetadata);
|
|
3181
|
+
|
|
3182
|
+
/** BotRenderingMetadata keywords. */
|
|
3183
|
+
public keywords: waproto.BotRenderingMetadata.IKeyword[];
|
|
3184
|
+
|
|
3185
|
+
/**
|
|
3186
|
+
* Creates a new BotRenderingMetadata instance using the specified properties.
|
|
3187
|
+
* @param [properties] Properties to set
|
|
3188
|
+
* @returns BotRenderingMetadata instance
|
|
3189
|
+
*/
|
|
3190
|
+
public static create(properties?: waproto.IBotRenderingMetadata): waproto.BotRenderingMetadata;
|
|
3191
|
+
|
|
3192
|
+
/**
|
|
3193
|
+
* Encodes the specified BotRenderingMetadata message. Does not implicitly {@link waproto.BotRenderingMetadata.verify|verify} messages.
|
|
3194
|
+
* @param message BotRenderingMetadata message or plain object to encode
|
|
3195
|
+
* @param [writer] Writer to encode to
|
|
3196
|
+
* @returns Writer
|
|
3197
|
+
*/
|
|
3198
|
+
public static encode(message: waproto.IBotRenderingMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3199
|
+
|
|
3200
|
+
/**
|
|
3201
|
+
* Encodes the specified BotRenderingMetadata message, length delimited. Does not implicitly {@link waproto.BotRenderingMetadata.verify|verify} messages.
|
|
3202
|
+
* @param message BotRenderingMetadata message or plain object to encode
|
|
3203
|
+
* @param [writer] Writer to encode to
|
|
3204
|
+
* @returns Writer
|
|
3205
|
+
*/
|
|
3206
|
+
public static encodeDelimited(message: waproto.IBotRenderingMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3207
|
+
|
|
3208
|
+
/**
|
|
3209
|
+
* Decodes a BotRenderingMetadata message from the specified reader or buffer.
|
|
3210
|
+
* @param reader Reader or buffer to decode from
|
|
3211
|
+
* @param [length] Message length if known beforehand
|
|
3212
|
+
* @returns BotRenderingMetadata
|
|
3213
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3214
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3215
|
+
*/
|
|
3216
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotRenderingMetadata;
|
|
3217
|
+
|
|
3218
|
+
/**
|
|
3219
|
+
* Decodes a BotRenderingMetadata message from the specified reader or buffer, length delimited.
|
|
3220
|
+
* @param reader Reader or buffer to decode from
|
|
3221
|
+
* @returns BotRenderingMetadata
|
|
3222
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3223
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3224
|
+
*/
|
|
3225
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotRenderingMetadata;
|
|
3226
|
+
|
|
3227
|
+
/**
|
|
3228
|
+
* Verifies a BotRenderingMetadata message.
|
|
3229
|
+
* @param message Plain object to verify
|
|
3230
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3231
|
+
*/
|
|
3232
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3233
|
+
|
|
3234
|
+
/**
|
|
3235
|
+
* Creates a BotRenderingMetadata message from a plain object. Also converts values to their respective internal types.
|
|
3236
|
+
* @param object Plain object
|
|
3237
|
+
* @returns BotRenderingMetadata
|
|
3238
|
+
*/
|
|
3239
|
+
public static fromObject(object: { [k: string]: any }): waproto.BotRenderingMetadata;
|
|
3240
|
+
|
|
3241
|
+
/**
|
|
3242
|
+
* Creates a plain object from a BotRenderingMetadata message. Also converts values to other types if specified.
|
|
3243
|
+
* @param message BotRenderingMetadata
|
|
3244
|
+
* @param [options] Conversion options
|
|
3245
|
+
* @returns Plain object
|
|
3246
|
+
*/
|
|
3247
|
+
public static toObject(message: waproto.BotRenderingMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3248
|
+
|
|
3249
|
+
/**
|
|
3250
|
+
* Converts this BotRenderingMetadata to JSON.
|
|
3251
|
+
* @returns JSON object
|
|
3252
|
+
*/
|
|
3253
|
+
public toJSON(): { [k: string]: any };
|
|
3254
|
+
|
|
3255
|
+
/**
|
|
3256
|
+
* Gets the default type url for BotRenderingMetadata
|
|
3257
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3258
|
+
* @returns The default type url
|
|
3259
|
+
*/
|
|
3260
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3261
|
+
}
|
|
3262
|
+
|
|
3263
|
+
namespace BotRenderingMetadata {
|
|
3264
|
+
|
|
3265
|
+
/** Properties of a Keyword. */
|
|
3266
|
+
interface IKeyword {
|
|
3267
|
+
|
|
3268
|
+
/** Keyword value */
|
|
3269
|
+
value?: (string|null);
|
|
3270
|
+
|
|
3271
|
+
/** Keyword associatedPrompts */
|
|
3272
|
+
associatedPrompts?: (string[]|null);
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3275
|
+
/** Represents a Keyword. */
|
|
3276
|
+
class Keyword implements IKeyword {
|
|
3277
|
+
|
|
3278
|
+
/**
|
|
3279
|
+
* Constructs a new Keyword.
|
|
3280
|
+
* @param [properties] Properties to set
|
|
3281
|
+
*/
|
|
3282
|
+
constructor(properties?: waproto.BotRenderingMetadata.IKeyword);
|
|
3283
|
+
|
|
3284
|
+
/** Keyword value. */
|
|
3285
|
+
public value?: (string|null);
|
|
3286
|
+
|
|
3287
|
+
/** Keyword associatedPrompts. */
|
|
3288
|
+
public associatedPrompts: string[];
|
|
3289
|
+
|
|
3290
|
+
/**
|
|
3291
|
+
* Creates a new Keyword instance using the specified properties.
|
|
3292
|
+
* @param [properties] Properties to set
|
|
3293
|
+
* @returns Keyword instance
|
|
3294
|
+
*/
|
|
3295
|
+
public static create(properties?: waproto.BotRenderingMetadata.IKeyword): waproto.BotRenderingMetadata.Keyword;
|
|
3296
|
+
|
|
3297
|
+
/**
|
|
3298
|
+
* Encodes the specified Keyword message. Does not implicitly {@link waproto.BotRenderingMetadata.Keyword.verify|verify} messages.
|
|
3299
|
+
* @param message Keyword message or plain object to encode
|
|
3300
|
+
* @param [writer] Writer to encode to
|
|
3301
|
+
* @returns Writer
|
|
3302
|
+
*/
|
|
3303
|
+
public static encode(message: waproto.BotRenderingMetadata.IKeyword, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3304
|
+
|
|
3305
|
+
/**
|
|
3306
|
+
* Encodes the specified Keyword message, length delimited. Does not implicitly {@link waproto.BotRenderingMetadata.Keyword.verify|verify} messages.
|
|
3307
|
+
* @param message Keyword message or plain object to encode
|
|
3308
|
+
* @param [writer] Writer to encode to
|
|
3309
|
+
* @returns Writer
|
|
3310
|
+
*/
|
|
3311
|
+
public static encodeDelimited(message: waproto.BotRenderingMetadata.IKeyword, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3312
|
+
|
|
3313
|
+
/**
|
|
3314
|
+
* Decodes a Keyword message from the specified reader or buffer.
|
|
3315
|
+
* @param reader Reader or buffer to decode from
|
|
3316
|
+
* @param [length] Message length if known beforehand
|
|
3317
|
+
* @returns Keyword
|
|
3318
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3319
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3320
|
+
*/
|
|
3321
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.BotRenderingMetadata.Keyword;
|
|
3322
|
+
|
|
3323
|
+
/**
|
|
3324
|
+
* Decodes a Keyword message from the specified reader or buffer, length delimited.
|
|
3325
|
+
* @param reader Reader or buffer to decode from
|
|
3326
|
+
* @returns Keyword
|
|
3327
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3328
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3329
|
+
*/
|
|
3330
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.BotRenderingMetadata.Keyword;
|
|
3331
|
+
|
|
3332
|
+
/**
|
|
3333
|
+
* Verifies a Keyword message.
|
|
3334
|
+
* @param message Plain object to verify
|
|
3335
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3336
|
+
*/
|
|
3337
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3338
|
+
|
|
3339
|
+
/**
|
|
3340
|
+
* Creates a Keyword message from a plain object. Also converts values to their respective internal types.
|
|
3341
|
+
* @param object Plain object
|
|
3342
|
+
* @returns Keyword
|
|
3343
|
+
*/
|
|
3344
|
+
public static fromObject(object: { [k: string]: any }): waproto.BotRenderingMetadata.Keyword;
|
|
3345
|
+
|
|
3346
|
+
/**
|
|
3347
|
+
* Creates a plain object from a Keyword message. Also converts values to other types if specified.
|
|
3348
|
+
* @param message Keyword
|
|
3349
|
+
* @param [options] Conversion options
|
|
3350
|
+
* @returns Plain object
|
|
3351
|
+
*/
|
|
3352
|
+
public static toObject(message: waproto.BotRenderingMetadata.Keyword, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3353
|
+
|
|
3354
|
+
/**
|
|
3355
|
+
* Converts this Keyword to JSON.
|
|
3356
|
+
* @returns JSON object
|
|
3357
|
+
*/
|
|
3358
|
+
public toJSON(): { [k: string]: any };
|
|
3359
|
+
|
|
3360
|
+
/**
|
|
3361
|
+
* Gets the default type url for Keyword
|
|
3362
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3363
|
+
* @returns The default type url
|
|
3364
|
+
*/
|
|
3365
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3366
|
+
}
|
|
3367
|
+
}
|
|
3368
|
+
|
|
3016
3369
|
/** Properties of a BotSessionMetadata. */
|
|
3017
3370
|
interface IBotSessionMetadata {
|
|
3018
3371
|
|
|
@@ -6034,6 +6387,103 @@ export namespace waproto {
|
|
|
6034
6387
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6035
6388
|
}
|
|
6036
6389
|
|
|
6390
|
+
/** Properties of a CompanionCommitment. */
|
|
6391
|
+
interface ICompanionCommitment {
|
|
6392
|
+
|
|
6393
|
+
/** CompanionCommitment hash */
|
|
6394
|
+
hash?: (Uint8Array|null);
|
|
6395
|
+
}
|
|
6396
|
+
|
|
6397
|
+
/** Represents a CompanionCommitment. */
|
|
6398
|
+
class CompanionCommitment implements ICompanionCommitment {
|
|
6399
|
+
|
|
6400
|
+
/**
|
|
6401
|
+
* Constructs a new CompanionCommitment.
|
|
6402
|
+
* @param [properties] Properties to set
|
|
6403
|
+
*/
|
|
6404
|
+
constructor(properties?: waproto.ICompanionCommitment);
|
|
6405
|
+
|
|
6406
|
+
/** CompanionCommitment hash. */
|
|
6407
|
+
public hash?: (Uint8Array|null);
|
|
6408
|
+
|
|
6409
|
+
/**
|
|
6410
|
+
* Creates a new CompanionCommitment instance using the specified properties.
|
|
6411
|
+
* @param [properties] Properties to set
|
|
6412
|
+
* @returns CompanionCommitment instance
|
|
6413
|
+
*/
|
|
6414
|
+
public static create(properties?: waproto.ICompanionCommitment): waproto.CompanionCommitment;
|
|
6415
|
+
|
|
6416
|
+
/**
|
|
6417
|
+
* Encodes the specified CompanionCommitment message. Does not implicitly {@link waproto.CompanionCommitment.verify|verify} messages.
|
|
6418
|
+
* @param message CompanionCommitment message or plain object to encode
|
|
6419
|
+
* @param [writer] Writer to encode to
|
|
6420
|
+
* @returns Writer
|
|
6421
|
+
*/
|
|
6422
|
+
public static encode(message: waproto.ICompanionCommitment, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6423
|
+
|
|
6424
|
+
/**
|
|
6425
|
+
* Encodes the specified CompanionCommitment message, length delimited. Does not implicitly {@link waproto.CompanionCommitment.verify|verify} messages.
|
|
6426
|
+
* @param message CompanionCommitment message or plain object to encode
|
|
6427
|
+
* @param [writer] Writer to encode to
|
|
6428
|
+
* @returns Writer
|
|
6429
|
+
*/
|
|
6430
|
+
public static encodeDelimited(message: waproto.ICompanionCommitment, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6431
|
+
|
|
6432
|
+
/**
|
|
6433
|
+
* Decodes a CompanionCommitment message from the specified reader or buffer.
|
|
6434
|
+
* @param reader Reader or buffer to decode from
|
|
6435
|
+
* @param [length] Message length if known beforehand
|
|
6436
|
+
* @returns CompanionCommitment
|
|
6437
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6438
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6439
|
+
*/
|
|
6440
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.CompanionCommitment;
|
|
6441
|
+
|
|
6442
|
+
/**
|
|
6443
|
+
* Decodes a CompanionCommitment message from the specified reader or buffer, length delimited.
|
|
6444
|
+
* @param reader Reader or buffer to decode from
|
|
6445
|
+
* @returns CompanionCommitment
|
|
6446
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6447
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6448
|
+
*/
|
|
6449
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.CompanionCommitment;
|
|
6450
|
+
|
|
6451
|
+
/**
|
|
6452
|
+
* Verifies a CompanionCommitment message.
|
|
6453
|
+
* @param message Plain object to verify
|
|
6454
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6455
|
+
*/
|
|
6456
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6457
|
+
|
|
6458
|
+
/**
|
|
6459
|
+
* Creates a CompanionCommitment message from a plain object. Also converts values to their respective internal types.
|
|
6460
|
+
* @param object Plain object
|
|
6461
|
+
* @returns CompanionCommitment
|
|
6462
|
+
*/
|
|
6463
|
+
public static fromObject(object: { [k: string]: any }): waproto.CompanionCommitment;
|
|
6464
|
+
|
|
6465
|
+
/**
|
|
6466
|
+
* Creates a plain object from a CompanionCommitment message. Also converts values to other types if specified.
|
|
6467
|
+
* @param message CompanionCommitment
|
|
6468
|
+
* @param [options] Conversion options
|
|
6469
|
+
* @returns Plain object
|
|
6470
|
+
*/
|
|
6471
|
+
public static toObject(message: waproto.CompanionCommitment, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6472
|
+
|
|
6473
|
+
/**
|
|
6474
|
+
* Converts this CompanionCommitment to JSON.
|
|
6475
|
+
* @returns JSON object
|
|
6476
|
+
*/
|
|
6477
|
+
public toJSON(): { [k: string]: any };
|
|
6478
|
+
|
|
6479
|
+
/**
|
|
6480
|
+
* Gets the default type url for CompanionCommitment
|
|
6481
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6482
|
+
* @returns The default type url
|
|
6483
|
+
*/
|
|
6484
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6485
|
+
}
|
|
6486
|
+
|
|
6037
6487
|
/** Properties of a CompanionEphemeralIdentity. */
|
|
6038
6488
|
interface ICompanionEphemeralIdentity {
|
|
6039
6489
|
|
|
@@ -6368,6 +6818,9 @@ export namespace waproto {
|
|
|
6368
6818
|
|
|
6369
6819
|
/** ContextInfo forwardedAiBotMessageInfo */
|
|
6370
6820
|
forwardedAiBotMessageInfo?: (waproto.ContextInfo.IForwardedAIBotMessageInfo|null);
|
|
6821
|
+
|
|
6822
|
+
/** ContextInfo statusAttributionType */
|
|
6823
|
+
statusAttributionType?: (waproto.ContextInfo.StatusAttributionType|null);
|
|
6371
6824
|
}
|
|
6372
6825
|
|
|
6373
6826
|
/** Represents a ContextInfo. */
|
|
@@ -6499,6 +6952,9 @@ export namespace waproto {
|
|
|
6499
6952
|
/** ContextInfo forwardedAiBotMessageInfo. */
|
|
6500
6953
|
public forwardedAiBotMessageInfo?: (waproto.ContextInfo.IForwardedAIBotMessageInfo|null);
|
|
6501
6954
|
|
|
6955
|
+
/** ContextInfo statusAttributionType. */
|
|
6956
|
+
public statusAttributionType?: (waproto.ContextInfo.StatusAttributionType|null);
|
|
6957
|
+
|
|
6502
6958
|
/**
|
|
6503
6959
|
* Creates a new ContextInfo instance using the specified properties.
|
|
6504
6960
|
* @param [properties] Properties to set
|
|
@@ -7616,6 +8072,12 @@ export namespace waproto {
|
|
|
7616
8072
|
}
|
|
7617
8073
|
}
|
|
7618
8074
|
|
|
8075
|
+
/** StatusAttributionType enum. */
|
|
8076
|
+
enum StatusAttributionType {
|
|
8077
|
+
NONE = 0,
|
|
8078
|
+
RESHARED_FROM_MENTION = 1
|
|
8079
|
+
}
|
|
8080
|
+
|
|
7619
8081
|
/** Properties of a UTMInfo. */
|
|
7620
8082
|
interface IUTMInfo {
|
|
7621
8083
|
|
|
@@ -7866,6 +8328,9 @@ export namespace waproto {
|
|
|
7866
8328
|
|
|
7867
8329
|
/** Conversation capiCreatedGroup */
|
|
7868
8330
|
capiCreatedGroup?: (boolean|null);
|
|
8331
|
+
|
|
8332
|
+
/** Conversation accountLid */
|
|
8333
|
+
accountLid?: (string|null);
|
|
7869
8334
|
}
|
|
7870
8335
|
|
|
7871
8336
|
/** Represents a Conversation. */
|
|
@@ -8021,6 +8486,9 @@ export namespace waproto {
|
|
|
8021
8486
|
/** Conversation capiCreatedGroup. */
|
|
8022
8487
|
public capiCreatedGroup?: (boolean|null);
|
|
8023
8488
|
|
|
8489
|
+
/** Conversation accountLid. */
|
|
8490
|
+
public accountLid?: (string|null);
|
|
8491
|
+
|
|
8024
8492
|
/**
|
|
8025
8493
|
* Creates a new Conversation instance using the specified properties.
|
|
8026
8494
|
* @param [properties] Properties to set
|
|
@@ -13364,14 +13832,23 @@ export namespace waproto {
|
|
|
13364
13832
|
/** Message pollResultSnapshotMessage */
|
|
13365
13833
|
pollResultSnapshotMessage?: (waproto.Message.IPollResultSnapshotMessage|null);
|
|
13366
13834
|
|
|
13367
|
-
/** Message pollCreationMessageV4 */
|
|
13368
|
-
pollCreationMessageV4?: (waproto.Message.IFutureProofMessage|null);
|
|
13369
|
-
|
|
13370
13835
|
/** Message pollCreationOptionImageMessage */
|
|
13371
13836
|
pollCreationOptionImageMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
13372
13837
|
|
|
13373
13838
|
/** Message associatedChildMessage */
|
|
13374
13839
|
associatedChildMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
13840
|
+
|
|
13841
|
+
/** Message groupStatusMentionMessage */
|
|
13842
|
+
groupStatusMentionMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
13843
|
+
|
|
13844
|
+
/** Message pollCreationMessageV4 */
|
|
13845
|
+
pollCreationMessageV4?: (waproto.Message.IFutureProofMessage|null);
|
|
13846
|
+
|
|
13847
|
+
/** Message pollCreationMessageV5 */
|
|
13848
|
+
pollCreationMessageV5?: (waproto.Message.IFutureProofMessage|null);
|
|
13849
|
+
|
|
13850
|
+
/** Message statusAddYours */
|
|
13851
|
+
statusAddYours?: (waproto.Message.IFutureProofMessage|null);
|
|
13375
13852
|
}
|
|
13376
13853
|
|
|
13377
13854
|
/** Represents a Message. */
|
|
@@ -13602,15 +14079,24 @@ export namespace waproto {
|
|
|
13602
14079
|
/** Message pollResultSnapshotMessage. */
|
|
13603
14080
|
public pollResultSnapshotMessage?: (waproto.Message.IPollResultSnapshotMessage|null);
|
|
13604
14081
|
|
|
13605
|
-
/** Message pollCreationMessageV4. */
|
|
13606
|
-
public pollCreationMessageV4?: (waproto.Message.IFutureProofMessage|null);
|
|
13607
|
-
|
|
13608
14082
|
/** Message pollCreationOptionImageMessage. */
|
|
13609
14083
|
public pollCreationOptionImageMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
13610
14084
|
|
|
13611
14085
|
/** Message associatedChildMessage. */
|
|
13612
14086
|
public associatedChildMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
13613
14087
|
|
|
14088
|
+
/** Message groupStatusMentionMessage. */
|
|
14089
|
+
public groupStatusMentionMessage?: (waproto.Message.IFutureProofMessage|null);
|
|
14090
|
+
|
|
14091
|
+
/** Message pollCreationMessageV4. */
|
|
14092
|
+
public pollCreationMessageV4?: (waproto.Message.IFutureProofMessage|null);
|
|
14093
|
+
|
|
14094
|
+
/** Message pollCreationMessageV5. */
|
|
14095
|
+
public pollCreationMessageV5?: (waproto.Message.IFutureProofMessage|null);
|
|
14096
|
+
|
|
14097
|
+
/** Message statusAddYours. */
|
|
14098
|
+
public statusAddYours?: (waproto.Message.IFutureProofMessage|null);
|
|
14099
|
+
|
|
13614
14100
|
/**
|
|
13615
14101
|
* Creates a new Message instance using the specified properties.
|
|
13616
14102
|
* @param [properties] Properties to set
|
|
@@ -25066,6 +25552,12 @@ export namespace waproto {
|
|
|
25066
25552
|
|
|
25067
25553
|
/** PollCreationMessage pollMediaType */
|
|
25068
25554
|
pollMediaType?: (waproto.Message.PollMediaType|null);
|
|
25555
|
+
|
|
25556
|
+
/** PollCreationMessage pollType */
|
|
25557
|
+
pollType?: (waproto.Message.PollCreationMessage.PollType|null);
|
|
25558
|
+
|
|
25559
|
+
/** PollCreationMessage correctAnswer */
|
|
25560
|
+
correctAnswer?: (waproto.Message.PollCreationMessage.IOption|null);
|
|
25069
25561
|
}
|
|
25070
25562
|
|
|
25071
25563
|
/** Represents a PollCreationMessage. */
|
|
@@ -25095,6 +25587,12 @@ export namespace waproto {
|
|
|
25095
25587
|
/** PollCreationMessage pollMediaType. */
|
|
25096
25588
|
public pollMediaType?: (waproto.Message.PollMediaType|null);
|
|
25097
25589
|
|
|
25590
|
+
/** PollCreationMessage pollType. */
|
|
25591
|
+
public pollType?: (waproto.Message.PollCreationMessage.PollType|null);
|
|
25592
|
+
|
|
25593
|
+
/** PollCreationMessage correctAnswer. */
|
|
25594
|
+
public correctAnswer?: (waproto.Message.PollCreationMessage.IOption|null);
|
|
25595
|
+
|
|
25098
25596
|
/**
|
|
25099
25597
|
* Creates a new PollCreationMessage instance using the specified properties.
|
|
25100
25598
|
* @param [properties] Properties to set
|
|
@@ -25277,6 +25775,12 @@ export namespace waproto {
|
|
|
25277
25775
|
*/
|
|
25278
25776
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
25279
25777
|
}
|
|
25778
|
+
|
|
25779
|
+
/** PollType enum. */
|
|
25780
|
+
enum PollType {
|
|
25781
|
+
POLL = 0,
|
|
25782
|
+
QUIZ = 1
|
|
25783
|
+
}
|
|
25280
25784
|
}
|
|
25281
25785
|
|
|
25282
25786
|
/** Properties of a PollEncValue. */
|
|
@@ -29427,7 +29931,8 @@ export namespace waproto {
|
|
|
29427
29931
|
STATUS_POLL = 4,
|
|
29428
29932
|
HD_VIDEO_DUAL_UPLOAD = 5,
|
|
29429
29933
|
STATUS_TAPPABLE_MESSAGE = 6,
|
|
29430
|
-
MEDIA_POLL = 7
|
|
29934
|
+
MEDIA_POLL = 7,
|
|
29935
|
+
STATUS_ADD_YOURS = 8
|
|
29431
29936
|
}
|
|
29432
29937
|
}
|
|
29433
29938
|
|
|
@@ -31248,6 +31753,115 @@ export namespace waproto {
|
|
|
31248
31753
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
31249
31754
|
}
|
|
31250
31755
|
|
|
31756
|
+
/** Properties of a PairingRequest. */
|
|
31757
|
+
interface IPairingRequest {
|
|
31758
|
+
|
|
31759
|
+
/** PairingRequest companionPublicKey */
|
|
31760
|
+
companionPublicKey?: (Uint8Array|null);
|
|
31761
|
+
|
|
31762
|
+
/** PairingRequest companionIdentityKey */
|
|
31763
|
+
companionIdentityKey?: (Uint8Array|null);
|
|
31764
|
+
|
|
31765
|
+
/** PairingRequest advSecret */
|
|
31766
|
+
advSecret?: (Uint8Array|null);
|
|
31767
|
+
}
|
|
31768
|
+
|
|
31769
|
+
/** Represents a PairingRequest. */
|
|
31770
|
+
class PairingRequest implements IPairingRequest {
|
|
31771
|
+
|
|
31772
|
+
/**
|
|
31773
|
+
* Constructs a new PairingRequest.
|
|
31774
|
+
* @param [properties] Properties to set
|
|
31775
|
+
*/
|
|
31776
|
+
constructor(properties?: waproto.IPairingRequest);
|
|
31777
|
+
|
|
31778
|
+
/** PairingRequest companionPublicKey. */
|
|
31779
|
+
public companionPublicKey?: (Uint8Array|null);
|
|
31780
|
+
|
|
31781
|
+
/** PairingRequest companionIdentityKey. */
|
|
31782
|
+
public companionIdentityKey?: (Uint8Array|null);
|
|
31783
|
+
|
|
31784
|
+
/** PairingRequest advSecret. */
|
|
31785
|
+
public advSecret?: (Uint8Array|null);
|
|
31786
|
+
|
|
31787
|
+
/**
|
|
31788
|
+
* Creates a new PairingRequest instance using the specified properties.
|
|
31789
|
+
* @param [properties] Properties to set
|
|
31790
|
+
* @returns PairingRequest instance
|
|
31791
|
+
*/
|
|
31792
|
+
public static create(properties?: waproto.IPairingRequest): waproto.PairingRequest;
|
|
31793
|
+
|
|
31794
|
+
/**
|
|
31795
|
+
* Encodes the specified PairingRequest message. Does not implicitly {@link waproto.PairingRequest.verify|verify} messages.
|
|
31796
|
+
* @param message PairingRequest message or plain object to encode
|
|
31797
|
+
* @param [writer] Writer to encode to
|
|
31798
|
+
* @returns Writer
|
|
31799
|
+
*/
|
|
31800
|
+
public static encode(message: waproto.IPairingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31801
|
+
|
|
31802
|
+
/**
|
|
31803
|
+
* Encodes the specified PairingRequest message, length delimited. Does not implicitly {@link waproto.PairingRequest.verify|verify} messages.
|
|
31804
|
+
* @param message PairingRequest message or plain object to encode
|
|
31805
|
+
* @param [writer] Writer to encode to
|
|
31806
|
+
* @returns Writer
|
|
31807
|
+
*/
|
|
31808
|
+
public static encodeDelimited(message: waproto.IPairingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
31809
|
+
|
|
31810
|
+
/**
|
|
31811
|
+
* Decodes a PairingRequest message from the specified reader or buffer.
|
|
31812
|
+
* @param reader Reader or buffer to decode from
|
|
31813
|
+
* @param [length] Message length if known beforehand
|
|
31814
|
+
* @returns PairingRequest
|
|
31815
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31816
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31817
|
+
*/
|
|
31818
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.PairingRequest;
|
|
31819
|
+
|
|
31820
|
+
/**
|
|
31821
|
+
* Decodes a PairingRequest message from the specified reader or buffer, length delimited.
|
|
31822
|
+
* @param reader Reader or buffer to decode from
|
|
31823
|
+
* @returns PairingRequest
|
|
31824
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
31825
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
31826
|
+
*/
|
|
31827
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.PairingRequest;
|
|
31828
|
+
|
|
31829
|
+
/**
|
|
31830
|
+
* Verifies a PairingRequest message.
|
|
31831
|
+
* @param message Plain object to verify
|
|
31832
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
31833
|
+
*/
|
|
31834
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
31835
|
+
|
|
31836
|
+
/**
|
|
31837
|
+
* Creates a PairingRequest message from a plain object. Also converts values to their respective internal types.
|
|
31838
|
+
* @param object Plain object
|
|
31839
|
+
* @returns PairingRequest
|
|
31840
|
+
*/
|
|
31841
|
+
public static fromObject(object: { [k: string]: any }): waproto.PairingRequest;
|
|
31842
|
+
|
|
31843
|
+
/**
|
|
31844
|
+
* Creates a plain object from a PairingRequest message. Also converts values to other types if specified.
|
|
31845
|
+
* @param message PairingRequest
|
|
31846
|
+
* @param [options] Conversion options
|
|
31847
|
+
* @returns Plain object
|
|
31848
|
+
*/
|
|
31849
|
+
public static toObject(message: waproto.PairingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
31850
|
+
|
|
31851
|
+
/**
|
|
31852
|
+
* Converts this PairingRequest to JSON.
|
|
31853
|
+
* @returns JSON object
|
|
31854
|
+
*/
|
|
31855
|
+
public toJSON(): { [k: string]: any };
|
|
31856
|
+
|
|
31857
|
+
/**
|
|
31858
|
+
* Gets the default type url for PairingRequest
|
|
31859
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
31860
|
+
* @returns The default type url
|
|
31861
|
+
*/
|
|
31862
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
31863
|
+
}
|
|
31864
|
+
|
|
31251
31865
|
/** Properties of a PastParticipant. */
|
|
31252
31866
|
interface IPastParticipant {
|
|
31253
31867
|
|
|
@@ -31636,7 +32250,9 @@ export namespace waproto {
|
|
|
31636
32250
|
SMBI = 3,
|
|
31637
32251
|
WEB = 4,
|
|
31638
32252
|
UWP = 5,
|
|
31639
|
-
DARWIN = 6
|
|
32253
|
+
DARWIN = 6,
|
|
32254
|
+
IPAD = 7,
|
|
32255
|
+
WEAROS = 8
|
|
31640
32256
|
}
|
|
31641
32257
|
}
|
|
31642
32258
|
|
|
@@ -33268,6 +33884,9 @@ export namespace waproto {
|
|
|
33268
33884
|
|
|
33269
33885
|
/** PrimaryEphemeralIdentity publicKey */
|
|
33270
33886
|
publicKey?: (Uint8Array|null);
|
|
33887
|
+
|
|
33888
|
+
/** PrimaryEphemeralIdentity nonce */
|
|
33889
|
+
nonce?: (Uint8Array|null);
|
|
33271
33890
|
}
|
|
33272
33891
|
|
|
33273
33892
|
/** Represents a PrimaryEphemeralIdentity. */
|
|
@@ -33282,6 +33901,9 @@ export namespace waproto {
|
|
|
33282
33901
|
/** PrimaryEphemeralIdentity publicKey. */
|
|
33283
33902
|
public publicKey?: (Uint8Array|null);
|
|
33284
33903
|
|
|
33904
|
+
/** PrimaryEphemeralIdentity nonce. */
|
|
33905
|
+
public nonce?: (Uint8Array|null);
|
|
33906
|
+
|
|
33285
33907
|
/**
|
|
33286
33908
|
* Creates a new PrimaryEphemeralIdentity instance using the specified properties.
|
|
33287
33909
|
* @param [properties] Properties to set
|
|
@@ -33517,6 +34139,109 @@ export namespace waproto {
|
|
|
33517
34139
|
}
|
|
33518
34140
|
}
|
|
33519
34141
|
|
|
34142
|
+
/** Properties of a ProloguePayload. */
|
|
34143
|
+
interface IProloguePayload {
|
|
34144
|
+
|
|
34145
|
+
/** ProloguePayload companionEphemeralIdentity */
|
|
34146
|
+
companionEphemeralIdentity?: (Uint8Array|null);
|
|
34147
|
+
|
|
34148
|
+
/** ProloguePayload commitment */
|
|
34149
|
+
commitment?: (waproto.ICompanionCommitment|null);
|
|
34150
|
+
}
|
|
34151
|
+
|
|
34152
|
+
/** Represents a ProloguePayload. */
|
|
34153
|
+
class ProloguePayload implements IProloguePayload {
|
|
34154
|
+
|
|
34155
|
+
/**
|
|
34156
|
+
* Constructs a new ProloguePayload.
|
|
34157
|
+
* @param [properties] Properties to set
|
|
34158
|
+
*/
|
|
34159
|
+
constructor(properties?: waproto.IProloguePayload);
|
|
34160
|
+
|
|
34161
|
+
/** ProloguePayload companionEphemeralIdentity. */
|
|
34162
|
+
public companionEphemeralIdentity?: (Uint8Array|null);
|
|
34163
|
+
|
|
34164
|
+
/** ProloguePayload commitment. */
|
|
34165
|
+
public commitment?: (waproto.ICompanionCommitment|null);
|
|
34166
|
+
|
|
34167
|
+
/**
|
|
34168
|
+
* Creates a new ProloguePayload instance using the specified properties.
|
|
34169
|
+
* @param [properties] Properties to set
|
|
34170
|
+
* @returns ProloguePayload instance
|
|
34171
|
+
*/
|
|
34172
|
+
public static create(properties?: waproto.IProloguePayload): waproto.ProloguePayload;
|
|
34173
|
+
|
|
34174
|
+
/**
|
|
34175
|
+
* Encodes the specified ProloguePayload message. Does not implicitly {@link waproto.ProloguePayload.verify|verify} messages.
|
|
34176
|
+
* @param message ProloguePayload message or plain object to encode
|
|
34177
|
+
* @param [writer] Writer to encode to
|
|
34178
|
+
* @returns Writer
|
|
34179
|
+
*/
|
|
34180
|
+
public static encode(message: waproto.IProloguePayload, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34181
|
+
|
|
34182
|
+
/**
|
|
34183
|
+
* Encodes the specified ProloguePayload message, length delimited. Does not implicitly {@link waproto.ProloguePayload.verify|verify} messages.
|
|
34184
|
+
* @param message ProloguePayload message or plain object to encode
|
|
34185
|
+
* @param [writer] Writer to encode to
|
|
34186
|
+
* @returns Writer
|
|
34187
|
+
*/
|
|
34188
|
+
public static encodeDelimited(message: waproto.IProloguePayload, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
34189
|
+
|
|
34190
|
+
/**
|
|
34191
|
+
* Decodes a ProloguePayload message from the specified reader or buffer.
|
|
34192
|
+
* @param reader Reader or buffer to decode from
|
|
34193
|
+
* @param [length] Message length if known beforehand
|
|
34194
|
+
* @returns ProloguePayload
|
|
34195
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34196
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34197
|
+
*/
|
|
34198
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.ProloguePayload;
|
|
34199
|
+
|
|
34200
|
+
/**
|
|
34201
|
+
* Decodes a ProloguePayload message from the specified reader or buffer, length delimited.
|
|
34202
|
+
* @param reader Reader or buffer to decode from
|
|
34203
|
+
* @returns ProloguePayload
|
|
34204
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
34205
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
34206
|
+
*/
|
|
34207
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.ProloguePayload;
|
|
34208
|
+
|
|
34209
|
+
/**
|
|
34210
|
+
* Verifies a ProloguePayload message.
|
|
34211
|
+
* @param message Plain object to verify
|
|
34212
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
34213
|
+
*/
|
|
34214
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
34215
|
+
|
|
34216
|
+
/**
|
|
34217
|
+
* Creates a ProloguePayload message from a plain object. Also converts values to their respective internal types.
|
|
34218
|
+
* @param object Plain object
|
|
34219
|
+
* @returns ProloguePayload
|
|
34220
|
+
*/
|
|
34221
|
+
public static fromObject(object: { [k: string]: any }): waproto.ProloguePayload;
|
|
34222
|
+
|
|
34223
|
+
/**
|
|
34224
|
+
* Creates a plain object from a ProloguePayload message. Also converts values to other types if specified.
|
|
34225
|
+
* @param message ProloguePayload
|
|
34226
|
+
* @param [options] Conversion options
|
|
34227
|
+
* @returns Plain object
|
|
34228
|
+
*/
|
|
34229
|
+
public static toObject(message: waproto.ProloguePayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
34230
|
+
|
|
34231
|
+
/**
|
|
34232
|
+
* Converts this ProloguePayload to JSON.
|
|
34233
|
+
* @returns JSON object
|
|
34234
|
+
*/
|
|
34235
|
+
public toJSON(): { [k: string]: any };
|
|
34236
|
+
|
|
34237
|
+
/**
|
|
34238
|
+
* Gets the default type url for ProloguePayload
|
|
34239
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
34240
|
+
* @returns The default type url
|
|
34241
|
+
*/
|
|
34242
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
34243
|
+
}
|
|
34244
|
+
|
|
33520
34245
|
/** Properties of a Pushname. */
|
|
33521
34246
|
interface IPushname {
|
|
33522
34247
|
|
|
@@ -36629,6 +37354,9 @@ export namespace waproto {
|
|
|
36629
37354
|
|
|
36630
37355
|
/** SyncActionValue usernameChatStartMode */
|
|
36631
37356
|
usernameChatStartMode?: (waproto.SyncActionValue.IUsernameChatStartModeAction|null);
|
|
37357
|
+
|
|
37358
|
+
/** SyncActionValue notificationActivitySettingAction */
|
|
37359
|
+
notificationActivitySettingAction?: (waproto.SyncActionValue.INotificationActivitySettingAction|null);
|
|
36632
37360
|
}
|
|
36633
37361
|
|
|
36634
37362
|
/** Represents a SyncActionValue. */
|
|
@@ -36799,6 +37527,9 @@ export namespace waproto {
|
|
|
36799
37527
|
/** SyncActionValue usernameChatStartMode. */
|
|
36800
37528
|
public usernameChatStartMode?: (waproto.SyncActionValue.IUsernameChatStartModeAction|null);
|
|
36801
37529
|
|
|
37530
|
+
/** SyncActionValue notificationActivitySettingAction. */
|
|
37531
|
+
public notificationActivitySettingAction?: (waproto.SyncActionValue.INotificationActivitySettingAction|null);
|
|
37532
|
+
|
|
36802
37533
|
/**
|
|
36803
37534
|
* Creates a new SyncActionValue instance using the specified properties.
|
|
36804
37535
|
* @param [properties] Properties to set
|
|
@@ -40035,6 +40766,114 @@ export namespace waproto {
|
|
|
40035
40766
|
}
|
|
40036
40767
|
}
|
|
40037
40768
|
|
|
40769
|
+
/** Properties of a NotificationActivitySettingAction. */
|
|
40770
|
+
interface INotificationActivitySettingAction {
|
|
40771
|
+
|
|
40772
|
+
/** NotificationActivitySettingAction notificationActivitySetting */
|
|
40773
|
+
notificationActivitySetting?: (waproto.SyncActionValue.NotificationActivitySettingAction.NotificationActivitySetting|null);
|
|
40774
|
+
}
|
|
40775
|
+
|
|
40776
|
+
/** Represents a NotificationActivitySettingAction. */
|
|
40777
|
+
class NotificationActivitySettingAction implements INotificationActivitySettingAction {
|
|
40778
|
+
|
|
40779
|
+
/**
|
|
40780
|
+
* Constructs a new NotificationActivitySettingAction.
|
|
40781
|
+
* @param [properties] Properties to set
|
|
40782
|
+
*/
|
|
40783
|
+
constructor(properties?: waproto.SyncActionValue.INotificationActivitySettingAction);
|
|
40784
|
+
|
|
40785
|
+
/** NotificationActivitySettingAction notificationActivitySetting. */
|
|
40786
|
+
public notificationActivitySetting?: (waproto.SyncActionValue.NotificationActivitySettingAction.NotificationActivitySetting|null);
|
|
40787
|
+
|
|
40788
|
+
/**
|
|
40789
|
+
* Creates a new NotificationActivitySettingAction instance using the specified properties.
|
|
40790
|
+
* @param [properties] Properties to set
|
|
40791
|
+
* @returns NotificationActivitySettingAction instance
|
|
40792
|
+
*/
|
|
40793
|
+
public static create(properties?: waproto.SyncActionValue.INotificationActivitySettingAction): waproto.SyncActionValue.NotificationActivitySettingAction;
|
|
40794
|
+
|
|
40795
|
+
/**
|
|
40796
|
+
* Encodes the specified NotificationActivitySettingAction message. Does not implicitly {@link waproto.SyncActionValue.NotificationActivitySettingAction.verify|verify} messages.
|
|
40797
|
+
* @param message NotificationActivitySettingAction message or plain object to encode
|
|
40798
|
+
* @param [writer] Writer to encode to
|
|
40799
|
+
* @returns Writer
|
|
40800
|
+
*/
|
|
40801
|
+
public static encode(message: waproto.SyncActionValue.INotificationActivitySettingAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
40802
|
+
|
|
40803
|
+
/**
|
|
40804
|
+
* Encodes the specified NotificationActivitySettingAction message, length delimited. Does not implicitly {@link waproto.SyncActionValue.NotificationActivitySettingAction.verify|verify} messages.
|
|
40805
|
+
* @param message NotificationActivitySettingAction message or plain object to encode
|
|
40806
|
+
* @param [writer] Writer to encode to
|
|
40807
|
+
* @returns Writer
|
|
40808
|
+
*/
|
|
40809
|
+
public static encodeDelimited(message: waproto.SyncActionValue.INotificationActivitySettingAction, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
40810
|
+
|
|
40811
|
+
/**
|
|
40812
|
+
* Decodes a NotificationActivitySettingAction message from the specified reader or buffer.
|
|
40813
|
+
* @param reader Reader or buffer to decode from
|
|
40814
|
+
* @param [length] Message length if known beforehand
|
|
40815
|
+
* @returns NotificationActivitySettingAction
|
|
40816
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
40817
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
40818
|
+
*/
|
|
40819
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): waproto.SyncActionValue.NotificationActivitySettingAction;
|
|
40820
|
+
|
|
40821
|
+
/**
|
|
40822
|
+
* Decodes a NotificationActivitySettingAction message from the specified reader or buffer, length delimited.
|
|
40823
|
+
* @param reader Reader or buffer to decode from
|
|
40824
|
+
* @returns NotificationActivitySettingAction
|
|
40825
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
40826
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
40827
|
+
*/
|
|
40828
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): waproto.SyncActionValue.NotificationActivitySettingAction;
|
|
40829
|
+
|
|
40830
|
+
/**
|
|
40831
|
+
* Verifies a NotificationActivitySettingAction message.
|
|
40832
|
+
* @param message Plain object to verify
|
|
40833
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
40834
|
+
*/
|
|
40835
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
40836
|
+
|
|
40837
|
+
/**
|
|
40838
|
+
* Creates a NotificationActivitySettingAction message from a plain object. Also converts values to their respective internal types.
|
|
40839
|
+
* @param object Plain object
|
|
40840
|
+
* @returns NotificationActivitySettingAction
|
|
40841
|
+
*/
|
|
40842
|
+
public static fromObject(object: { [k: string]: any }): waproto.SyncActionValue.NotificationActivitySettingAction;
|
|
40843
|
+
|
|
40844
|
+
/**
|
|
40845
|
+
* Creates a plain object from a NotificationActivitySettingAction message. Also converts values to other types if specified.
|
|
40846
|
+
* @param message NotificationActivitySettingAction
|
|
40847
|
+
* @param [options] Conversion options
|
|
40848
|
+
* @returns Plain object
|
|
40849
|
+
*/
|
|
40850
|
+
public static toObject(message: waproto.SyncActionValue.NotificationActivitySettingAction, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
40851
|
+
|
|
40852
|
+
/**
|
|
40853
|
+
* Converts this NotificationActivitySettingAction to JSON.
|
|
40854
|
+
* @returns JSON object
|
|
40855
|
+
*/
|
|
40856
|
+
public toJSON(): { [k: string]: any };
|
|
40857
|
+
|
|
40858
|
+
/**
|
|
40859
|
+
* Gets the default type url for NotificationActivitySettingAction
|
|
40860
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
40861
|
+
* @returns The default type url
|
|
40862
|
+
*/
|
|
40863
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
40864
|
+
}
|
|
40865
|
+
|
|
40866
|
+
namespace NotificationActivitySettingAction {
|
|
40867
|
+
|
|
40868
|
+
/** NotificationActivitySetting enum. */
|
|
40869
|
+
enum NotificationActivitySetting {
|
|
40870
|
+
DEFAULT_ALL_MESSAGES = 0,
|
|
40871
|
+
ALL_MESSAGES = 1,
|
|
40872
|
+
HIGHLIGHTS = 2,
|
|
40873
|
+
DEFAULT_HIGHLIGHTS = 3
|
|
40874
|
+
}
|
|
40875
|
+
}
|
|
40876
|
+
|
|
40038
40877
|
/** Properties of a NuxAction. */
|
|
40039
40878
|
interface INuxAction {
|
|
40040
40879
|
|
|
@@ -45367,6 +46206,9 @@ export namespace waproto {
|
|
|
45367
46206
|
|
|
45368
46207
|
/** WebMessageInfo isSupportAiMessage */
|
|
45369
46208
|
isSupportAiMessage?: (boolean|null);
|
|
46209
|
+
|
|
46210
|
+
/** WebMessageInfo statusMentionSources */
|
|
46211
|
+
statusMentionSources?: (string[]|null);
|
|
45370
46212
|
}
|
|
45371
46213
|
|
|
45372
46214
|
/** Represents a WebMessageInfo. */
|
|
@@ -45555,6 +46397,9 @@ export namespace waproto {
|
|
|
45555
46397
|
/** WebMessageInfo isSupportAiMessage. */
|
|
45556
46398
|
public isSupportAiMessage?: (boolean|null);
|
|
45557
46399
|
|
|
46400
|
+
/** WebMessageInfo statusMentionSources. */
|
|
46401
|
+
public statusMentionSources: string[];
|
|
46402
|
+
|
|
45558
46403
|
/**
|
|
45559
46404
|
* Creates a new WebMessageInfo instance using the specified properties.
|
|
45560
46405
|
* @param [properties] Properties to set
|