@wppconnect/wa-proto 2.3000.1051224291 → 2.3000.1051295573
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/WAProto.proto +3 -3
- package/dist/index.d.ts +6 -6
- package/dist/index.js +21 -21
- package/package.json +1 -1
package/WAProto.proto
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
syntax = "proto3";
|
|
2
2
|
package waproto;
|
|
3
3
|
|
|
4
|
-
/// WhatsApp Version: 2.3000.
|
|
4
|
+
/// WhatsApp Version: 2.3000.1051295573
|
|
5
5
|
|
|
6
6
|
message ACP2Setting {
|
|
7
7
|
optional bool enabled = 1;
|
|
@@ -1795,12 +1795,12 @@ message ContextInfo {
|
|
|
1795
1795
|
optional AudienceType audienceType = 1;
|
|
1796
1796
|
optional string listName = 2;
|
|
1797
1797
|
optional string listEmoji = 3;
|
|
1798
|
-
optional string
|
|
1798
|
+
optional string orgId = 4;
|
|
1799
1799
|
enum AudienceType {
|
|
1800
1800
|
UNKNOWN = 0;
|
|
1801
1801
|
CLOSE_FRIENDS = 1;
|
|
1802
1802
|
CUSTOM_LIST = 2;
|
|
1803
|
-
|
|
1803
|
+
ORG = 3;
|
|
1804
1804
|
}
|
|
1805
1805
|
}
|
|
1806
1806
|
|
package/dist/index.d.ts
CHANGED
|
@@ -22953,8 +22953,8 @@ export namespace waproto {
|
|
|
22953
22953
|
/** StatusAudienceMetadata listEmoji. */
|
|
22954
22954
|
listEmoji?: (string|null);
|
|
22955
22955
|
|
|
22956
|
-
/** StatusAudienceMetadata
|
|
22957
|
-
|
|
22956
|
+
/** StatusAudienceMetadata orgId. */
|
|
22957
|
+
orgId?: (string|null);
|
|
22958
22958
|
|
|
22959
22959
|
/**
|
|
22960
22960
|
* Creates a new StatusAudienceMetadata instance using the specified properties.
|
|
@@ -23049,8 +23049,8 @@ export namespace waproto {
|
|
|
23049
23049
|
/** StatusAudienceMetadata listEmoji */
|
|
23050
23050
|
listEmoji?: (string|null);
|
|
23051
23051
|
|
|
23052
|
-
/** StatusAudienceMetadata
|
|
23053
|
-
|
|
23052
|
+
/** StatusAudienceMetadata orgId */
|
|
23053
|
+
orgId?: (string|null);
|
|
23054
23054
|
|
|
23055
23055
|
/** Unknown fields preserved while decoding when enabled */
|
|
23056
23056
|
$unknowns?: Uint8Array[];
|
|
@@ -23071,8 +23071,8 @@ export namespace waproto {
|
|
|
23071
23071
|
/** CUSTOM_LIST value */
|
|
23072
23072
|
CUSTOM_LIST = 2,
|
|
23073
23073
|
|
|
23074
|
-
/**
|
|
23075
|
-
|
|
23074
|
+
/** ORG value */
|
|
23075
|
+
ORG = 3
|
|
23076
23076
|
}
|
|
23077
23077
|
}
|
|
23078
23078
|
|
package/dist/index.js
CHANGED
|
@@ -67011,7 +67011,7 @@ $root.waproto = (function() {
|
|
|
67011
67011
|
* @property {waproto.ContextInfo.StatusAudienceMetadata.AudienceType|null} [audienceType] StatusAudienceMetadata audienceType
|
|
67012
67012
|
* @property {string|null} [listName] StatusAudienceMetadata listName
|
|
67013
67013
|
* @property {string|null} [listEmoji] StatusAudienceMetadata listEmoji
|
|
67014
|
-
* @property {string|null} [
|
|
67014
|
+
* @property {string|null} [orgId] StatusAudienceMetadata orgId
|
|
67015
67015
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding when enabled
|
|
67016
67016
|
*/
|
|
67017
67017
|
|
|
@@ -67068,12 +67068,12 @@ $root.waproto = (function() {
|
|
|
67068
67068
|
StatusAudienceMetadata.prototype.listEmoji = null;
|
|
67069
67069
|
|
|
67070
67070
|
/**
|
|
67071
|
-
* StatusAudienceMetadata
|
|
67072
|
-
* @member {string|null|undefined}
|
|
67071
|
+
* StatusAudienceMetadata orgId.
|
|
67072
|
+
* @member {string|null|undefined} orgId
|
|
67073
67073
|
* @memberof waproto.ContextInfo.StatusAudienceMetadata
|
|
67074
67074
|
* @instance
|
|
67075
67075
|
*/
|
|
67076
|
-
StatusAudienceMetadata.prototype.
|
|
67076
|
+
StatusAudienceMetadata.prototype.orgId = null;
|
|
67077
67077
|
|
|
67078
67078
|
// OneOf field names bound to virtual getters and setters
|
|
67079
67079
|
var $oneOfFields;
|
|
@@ -67097,8 +67097,8 @@ $root.waproto = (function() {
|
|
|
67097
67097
|
});
|
|
67098
67098
|
|
|
67099
67099
|
// Virtual OneOf for proto3 optional field
|
|
67100
|
-
$Object.defineProperty(StatusAudienceMetadata.prototype, "
|
|
67101
|
-
get: $util.oneOfGetter($oneOfFields = ["
|
|
67100
|
+
$Object.defineProperty(StatusAudienceMetadata.prototype, "_orgId", {
|
|
67101
|
+
get: $util.oneOfGetter($oneOfFields = ["orgId"]),
|
|
67102
67102
|
set: $util.oneOfSetter($oneOfFields)
|
|
67103
67103
|
});
|
|
67104
67104
|
|
|
@@ -67140,8 +67140,8 @@ $root.waproto = (function() {
|
|
|
67140
67140
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.listName);
|
|
67141
67141
|
if (message.listEmoji != null && $Object.hasOwnProperty.call(message, "listEmoji"))
|
|
67142
67142
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.listEmoji);
|
|
67143
|
-
if (message.
|
|
67144
|
-
writer.uint32(/* id 4, wireType 2 =*/34).string(message.
|
|
67143
|
+
if (message.orgId != null && $Object.hasOwnProperty.call(message, "orgId"))
|
|
67144
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.orgId);
|
|
67145
67145
|
if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns"))
|
|
67146
67146
|
for (var i = 0; i < message.$unknowns.length; ++i)
|
|
67147
67147
|
writer.raw(message.$unknowns[i]);
|
|
@@ -67223,8 +67223,8 @@ $root.waproto = (function() {
|
|
|
67223
67223
|
case 4: {
|
|
67224
67224
|
if (wireType !== 2)
|
|
67225
67225
|
break;
|
|
67226
|
-
message.
|
|
67227
|
-
message.
|
|
67226
|
+
message.orgId = reader.stringVerify();
|
|
67227
|
+
message._orgId = "orgId";
|
|
67228
67228
|
continue;
|
|
67229
67229
|
}
|
|
67230
67230
|
}
|
|
@@ -67291,10 +67291,10 @@ $root.waproto = (function() {
|
|
|
67291
67291
|
if (!$util.isString(message.listEmoji))
|
|
67292
67292
|
return "listEmoji: string expected";
|
|
67293
67293
|
}
|
|
67294
|
-
if (message.
|
|
67295
|
-
properties.
|
|
67296
|
-
if (!$util.isString(message.
|
|
67297
|
-
return "
|
|
67294
|
+
if (message.orgId != null && $Object.hasOwnProperty.call(message, "orgId")) {
|
|
67295
|
+
properties._orgId = 1;
|
|
67296
|
+
if (!$util.isString(message.orgId))
|
|
67297
|
+
return "orgId: string expected";
|
|
67298
67298
|
}
|
|
67299
67299
|
return null;
|
|
67300
67300
|
};
|
|
@@ -67330,7 +67330,7 @@ $root.waproto = (function() {
|
|
|
67330
67330
|
case 2:
|
|
67331
67331
|
message.audienceType = 2;
|
|
67332
67332
|
break;
|
|
67333
|
-
case "
|
|
67333
|
+
case "ORG":
|
|
67334
67334
|
case 3:
|
|
67335
67335
|
message.audienceType = 3;
|
|
67336
67336
|
break;
|
|
@@ -67342,8 +67342,8 @@ $root.waproto = (function() {
|
|
|
67342
67342
|
message.listName = $String(object.listName);
|
|
67343
67343
|
if (object.listEmoji != null)
|
|
67344
67344
|
message.listEmoji = $String(object.listEmoji);
|
|
67345
|
-
if (object.
|
|
67346
|
-
message.
|
|
67345
|
+
if (object.orgId != null)
|
|
67346
|
+
message.orgId = $String(object.orgId);
|
|
67347
67347
|
return message;
|
|
67348
67348
|
};
|
|
67349
67349
|
|
|
@@ -67370,8 +67370,8 @@ $root.waproto = (function() {
|
|
|
67370
67370
|
object.listName = message.listName;
|
|
67371
67371
|
if (message.listEmoji != null && $Object.hasOwnProperty.call(message, "listEmoji"))
|
|
67372
67372
|
object.listEmoji = message.listEmoji;
|
|
67373
|
-
if (message.
|
|
67374
|
-
object.
|
|
67373
|
+
if (message.orgId != null && $Object.hasOwnProperty.call(message, "orgId"))
|
|
67374
|
+
object.orgId = message.orgId;
|
|
67375
67375
|
return object;
|
|
67376
67376
|
};
|
|
67377
67377
|
|
|
@@ -67407,14 +67407,14 @@ $root.waproto = (function() {
|
|
|
67407
67407
|
* @property {number} UNKNOWN=0 UNKNOWN value
|
|
67408
67408
|
* @property {number} CLOSE_FRIENDS=1 CLOSE_FRIENDS value
|
|
67409
67409
|
* @property {number} CUSTOM_LIST=2 CUSTOM_LIST value
|
|
67410
|
-
* @property {number}
|
|
67410
|
+
* @property {number} ORG=3 ORG value
|
|
67411
67411
|
*/
|
|
67412
67412
|
StatusAudienceMetadata.AudienceType = (function() {
|
|
67413
67413
|
var valuesById = $Object.create(null), values = $Object.create(valuesById);
|
|
67414
67414
|
values[valuesById[0] = "UNKNOWN"] = 0;
|
|
67415
67415
|
values[valuesById[1] = "CLOSE_FRIENDS"] = 1;
|
|
67416
67416
|
values[valuesById[2] = "CUSTOM_LIST"] = 2;
|
|
67417
|
-
values[valuesById[3] = "
|
|
67417
|
+
values[valuesById[3] = "ORG"] = 3;
|
|
67418
67418
|
return values;
|
|
67419
67419
|
})();
|
|
67420
67420
|
|