@headspace/protos-events 1.66.0 → 1.67.0

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.
Files changed (3) hide show
  1. package/lib/index.d.ts +777 -0
  2. package/lib/index.js +1977 -0
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -1204,6 +1204,693 @@ export namespace subscription {
1204
1204
  }
1205
1205
  }
1206
1206
 
1207
+ /** Namespace asset. */
1208
+ export namespace asset {
1209
+
1210
+ /** Properties of an Asset. */
1211
+ interface IAsset {
1212
+
1213
+ /** Asset id */
1214
+ id?: (string|null);
1215
+
1216
+ /** Asset title */
1217
+ title?: (string|null);
1218
+
1219
+ /** Asset description */
1220
+ description?: (string|null);
1221
+
1222
+ /** Asset tags */
1223
+ tags?: (string[]|null);
1224
+
1225
+ /** Asset audio */
1226
+ audio?: (asset.IAudio|null);
1227
+
1228
+ /** Asset image */
1229
+ image?: (asset.IImage|null);
1230
+
1231
+ /** Asset video */
1232
+ video?: (asset.IVideo|null);
1233
+
1234
+ /** Asset createdAt */
1235
+ createdAt?: (number|Long|null);
1236
+ }
1237
+
1238
+ /** Represents an Asset. */
1239
+ class Asset implements IAsset {
1240
+
1241
+ /**
1242
+ * Constructs a new Asset.
1243
+ * @param [properties] Properties to set
1244
+ */
1245
+ constructor(properties?: asset.IAsset);
1246
+
1247
+ /** Asset id. */
1248
+ public id: string;
1249
+
1250
+ /** Asset title. */
1251
+ public title: string;
1252
+
1253
+ /** Asset description. */
1254
+ public description: string;
1255
+
1256
+ /** Asset tags. */
1257
+ public tags: string[];
1258
+
1259
+ /** Asset audio. */
1260
+ public audio?: (asset.IAudio|null);
1261
+
1262
+ /** Asset image. */
1263
+ public image?: (asset.IImage|null);
1264
+
1265
+ /** Asset video. */
1266
+ public video?: (asset.IVideo|null);
1267
+
1268
+ /** Asset createdAt. */
1269
+ public createdAt: (number|Long);
1270
+
1271
+ /**
1272
+ * Creates a new Asset instance using the specified properties.
1273
+ * @param [properties] Properties to set
1274
+ * @returns Asset instance
1275
+ */
1276
+ public static create(properties?: asset.IAsset): asset.Asset;
1277
+
1278
+ /**
1279
+ * Encodes the specified Asset message. Does not implicitly {@link asset.Asset.verify|verify} messages.
1280
+ * @param message Asset message or plain object to encode
1281
+ * @param [writer] Writer to encode to
1282
+ * @returns Writer
1283
+ */
1284
+ public static encode(message: asset.IAsset, writer?: $protobuf.Writer): $protobuf.Writer;
1285
+
1286
+ /**
1287
+ * Encodes the specified Asset message, length delimited. Does not implicitly {@link asset.Asset.verify|verify} messages.
1288
+ * @param message Asset message or plain object to encode
1289
+ * @param [writer] Writer to encode to
1290
+ * @returns Writer
1291
+ */
1292
+ public static encodeDelimited(message: asset.IAsset, writer?: $protobuf.Writer): $protobuf.Writer;
1293
+
1294
+ /**
1295
+ * Decodes an Asset message from the specified reader or buffer.
1296
+ * @param reader Reader or buffer to decode from
1297
+ * @param [length] Message length if known beforehand
1298
+ * @returns Asset
1299
+ * @throws {Error} If the payload is not a reader or valid buffer
1300
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1301
+ */
1302
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): asset.Asset;
1303
+
1304
+ /**
1305
+ * Decodes an Asset message from the specified reader or buffer, length delimited.
1306
+ * @param reader Reader or buffer to decode from
1307
+ * @returns Asset
1308
+ * @throws {Error} If the payload is not a reader or valid buffer
1309
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1310
+ */
1311
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): asset.Asset;
1312
+
1313
+ /**
1314
+ * Verifies an Asset message.
1315
+ * @param message Plain object to verify
1316
+ * @returns `null` if valid, otherwise the reason why it is not
1317
+ */
1318
+ public static verify(message: { [k: string]: any }): (string|null);
1319
+
1320
+ /**
1321
+ * Creates an Asset message from a plain object. Also converts values to their respective internal types.
1322
+ * @param object Plain object
1323
+ * @returns Asset
1324
+ */
1325
+ public static fromObject(object: { [k: string]: any }): asset.Asset;
1326
+
1327
+ /**
1328
+ * Creates a plain object from an Asset message. Also converts values to other types if specified.
1329
+ * @param message Asset
1330
+ * @param [options] Conversion options
1331
+ * @returns Plain object
1332
+ */
1333
+ public static toObject(message: asset.Asset, options?: $protobuf.IConversionOptions): { [k: string]: any };
1334
+
1335
+ /**
1336
+ * Converts this Asset to JSON.
1337
+ * @returns JSON object
1338
+ */
1339
+ public toJSON(): { [k: string]: any };
1340
+ }
1341
+
1342
+ /** Properties of a Video. */
1343
+ interface IVideo {
1344
+
1345
+ /** Video encoding */
1346
+ encoding?: (asset.IEncoding|null);
1347
+
1348
+ /** Video language */
1349
+ language?: (asset.Language|null);
1350
+ }
1351
+
1352
+ /** Represents a Video. */
1353
+ class Video implements IVideo {
1354
+
1355
+ /**
1356
+ * Constructs a new Video.
1357
+ * @param [properties] Properties to set
1358
+ */
1359
+ constructor(properties?: asset.IVideo);
1360
+
1361
+ /** Video encoding. */
1362
+ public encoding?: (asset.IEncoding|null);
1363
+
1364
+ /** Video language. */
1365
+ public language: asset.Language;
1366
+
1367
+ /**
1368
+ * Creates a new Video instance using the specified properties.
1369
+ * @param [properties] Properties to set
1370
+ * @returns Video instance
1371
+ */
1372
+ public static create(properties?: asset.IVideo): asset.Video;
1373
+
1374
+ /**
1375
+ * Encodes the specified Video message. Does not implicitly {@link asset.Video.verify|verify} messages.
1376
+ * @param message Video message or plain object to encode
1377
+ * @param [writer] Writer to encode to
1378
+ * @returns Writer
1379
+ */
1380
+ public static encode(message: asset.IVideo, writer?: $protobuf.Writer): $protobuf.Writer;
1381
+
1382
+ /**
1383
+ * Encodes the specified Video message, length delimited. Does not implicitly {@link asset.Video.verify|verify} messages.
1384
+ * @param message Video message or plain object to encode
1385
+ * @param [writer] Writer to encode to
1386
+ * @returns Writer
1387
+ */
1388
+ public static encodeDelimited(message: asset.IVideo, writer?: $protobuf.Writer): $protobuf.Writer;
1389
+
1390
+ /**
1391
+ * Decodes a Video message from the specified reader or buffer.
1392
+ * @param reader Reader or buffer to decode from
1393
+ * @param [length] Message length if known beforehand
1394
+ * @returns Video
1395
+ * @throws {Error} If the payload is not a reader or valid buffer
1396
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1397
+ */
1398
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): asset.Video;
1399
+
1400
+ /**
1401
+ * Decodes a Video message from the specified reader or buffer, length delimited.
1402
+ * @param reader Reader or buffer to decode from
1403
+ * @returns Video
1404
+ * @throws {Error} If the payload is not a reader or valid buffer
1405
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1406
+ */
1407
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): asset.Video;
1408
+
1409
+ /**
1410
+ * Verifies a Video message.
1411
+ * @param message Plain object to verify
1412
+ * @returns `null` if valid, otherwise the reason why it is not
1413
+ */
1414
+ public static verify(message: { [k: string]: any }): (string|null);
1415
+
1416
+ /**
1417
+ * Creates a Video message from a plain object. Also converts values to their respective internal types.
1418
+ * @param object Plain object
1419
+ * @returns Video
1420
+ */
1421
+ public static fromObject(object: { [k: string]: any }): asset.Video;
1422
+
1423
+ /**
1424
+ * Creates a plain object from a Video message. Also converts values to other types if specified.
1425
+ * @param message Video
1426
+ * @param [options] Conversion options
1427
+ * @returns Plain object
1428
+ */
1429
+ public static toObject(message: asset.Video, options?: $protobuf.IConversionOptions): { [k: string]: any };
1430
+
1431
+ /**
1432
+ * Converts this Video to JSON.
1433
+ * @returns JSON object
1434
+ */
1435
+ public toJSON(): { [k: string]: any };
1436
+ }
1437
+
1438
+ /** Properties of an Audio. */
1439
+ interface IAudio {
1440
+
1441
+ /** Audio encoding */
1442
+ encoding?: (asset.IEncoding|null);
1443
+
1444
+ /** Audio language */
1445
+ language?: (asset.Language|null);
1446
+
1447
+ /** Audio narrator */
1448
+ narrator?: (asset.INarrator|null);
1449
+
1450
+ /** Audio displayDurationMins */
1451
+ displayDurationMins?: (number|null);
1452
+ }
1453
+
1454
+ /** Represents an Audio. */
1455
+ class Audio implements IAudio {
1456
+
1457
+ /**
1458
+ * Constructs a new Audio.
1459
+ * @param [properties] Properties to set
1460
+ */
1461
+ constructor(properties?: asset.IAudio);
1462
+
1463
+ /** Audio encoding. */
1464
+ public encoding?: (asset.IEncoding|null);
1465
+
1466
+ /** Audio language. */
1467
+ public language: asset.Language;
1468
+
1469
+ /** Audio narrator. */
1470
+ public narrator?: (asset.INarrator|null);
1471
+
1472
+ /** Audio displayDurationMins. */
1473
+ public displayDurationMins: number;
1474
+
1475
+ /**
1476
+ * Creates a new Audio instance using the specified properties.
1477
+ * @param [properties] Properties to set
1478
+ * @returns Audio instance
1479
+ */
1480
+ public static create(properties?: asset.IAudio): asset.Audio;
1481
+
1482
+ /**
1483
+ * Encodes the specified Audio message. Does not implicitly {@link asset.Audio.verify|verify} messages.
1484
+ * @param message Audio message or plain object to encode
1485
+ * @param [writer] Writer to encode to
1486
+ * @returns Writer
1487
+ */
1488
+ public static encode(message: asset.IAudio, writer?: $protobuf.Writer): $protobuf.Writer;
1489
+
1490
+ /**
1491
+ * Encodes the specified Audio message, length delimited. Does not implicitly {@link asset.Audio.verify|verify} messages.
1492
+ * @param message Audio message or plain object to encode
1493
+ * @param [writer] Writer to encode to
1494
+ * @returns Writer
1495
+ */
1496
+ public static encodeDelimited(message: asset.IAudio, writer?: $protobuf.Writer): $protobuf.Writer;
1497
+
1498
+ /**
1499
+ * Decodes an Audio message from the specified reader or buffer.
1500
+ * @param reader Reader or buffer to decode from
1501
+ * @param [length] Message length if known beforehand
1502
+ * @returns Audio
1503
+ * @throws {Error} If the payload is not a reader or valid buffer
1504
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1505
+ */
1506
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): asset.Audio;
1507
+
1508
+ /**
1509
+ * Decodes an Audio message from the specified reader or buffer, length delimited.
1510
+ * @param reader Reader or buffer to decode from
1511
+ * @returns Audio
1512
+ * @throws {Error} If the payload is not a reader or valid buffer
1513
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1514
+ */
1515
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): asset.Audio;
1516
+
1517
+ /**
1518
+ * Verifies an Audio message.
1519
+ * @param message Plain object to verify
1520
+ * @returns `null` if valid, otherwise the reason why it is not
1521
+ */
1522
+ public static verify(message: { [k: string]: any }): (string|null);
1523
+
1524
+ /**
1525
+ * Creates an Audio message from a plain object. Also converts values to their respective internal types.
1526
+ * @param object Plain object
1527
+ * @returns Audio
1528
+ */
1529
+ public static fromObject(object: { [k: string]: any }): asset.Audio;
1530
+
1531
+ /**
1532
+ * Creates a plain object from an Audio message. Also converts values to other types if specified.
1533
+ * @param message Audio
1534
+ * @param [options] Conversion options
1535
+ * @returns Plain object
1536
+ */
1537
+ public static toObject(message: asset.Audio, options?: $protobuf.IConversionOptions): { [k: string]: any };
1538
+
1539
+ /**
1540
+ * Converts this Audio to JSON.
1541
+ * @returns JSON object
1542
+ */
1543
+ public toJSON(): { [k: string]: any };
1544
+ }
1545
+
1546
+ /** Properties of an Image. */
1547
+ interface IImage {
1548
+
1549
+ /** Image path */
1550
+ path?: (string|null);
1551
+
1552
+ /** Image aspectRatio */
1553
+ aspectRatio?: (string|null);
1554
+ }
1555
+
1556
+ /** Represents an Image. */
1557
+ class Image implements IImage {
1558
+
1559
+ /**
1560
+ * Constructs a new Image.
1561
+ * @param [properties] Properties to set
1562
+ */
1563
+ constructor(properties?: asset.IImage);
1564
+
1565
+ /** Image path. */
1566
+ public path: string;
1567
+
1568
+ /** Image aspectRatio. */
1569
+ public aspectRatio: string;
1570
+
1571
+ /**
1572
+ * Creates a new Image instance using the specified properties.
1573
+ * @param [properties] Properties to set
1574
+ * @returns Image instance
1575
+ */
1576
+ public static create(properties?: asset.IImage): asset.Image;
1577
+
1578
+ /**
1579
+ * Encodes the specified Image message. Does not implicitly {@link asset.Image.verify|verify} messages.
1580
+ * @param message Image message or plain object to encode
1581
+ * @param [writer] Writer to encode to
1582
+ * @returns Writer
1583
+ */
1584
+ public static encode(message: asset.IImage, writer?: $protobuf.Writer): $protobuf.Writer;
1585
+
1586
+ /**
1587
+ * Encodes the specified Image message, length delimited. Does not implicitly {@link asset.Image.verify|verify} messages.
1588
+ * @param message Image message or plain object to encode
1589
+ * @param [writer] Writer to encode to
1590
+ * @returns Writer
1591
+ */
1592
+ public static encodeDelimited(message: asset.IImage, writer?: $protobuf.Writer): $protobuf.Writer;
1593
+
1594
+ /**
1595
+ * Decodes an Image message from the specified reader or buffer.
1596
+ * @param reader Reader or buffer to decode from
1597
+ * @param [length] Message length if known beforehand
1598
+ * @returns Image
1599
+ * @throws {Error} If the payload is not a reader or valid buffer
1600
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1601
+ */
1602
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): asset.Image;
1603
+
1604
+ /**
1605
+ * Decodes an Image message from the specified reader or buffer, length delimited.
1606
+ * @param reader Reader or buffer to decode from
1607
+ * @returns Image
1608
+ * @throws {Error} If the payload is not a reader or valid buffer
1609
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1610
+ */
1611
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): asset.Image;
1612
+
1613
+ /**
1614
+ * Verifies an Image message.
1615
+ * @param message Plain object to verify
1616
+ * @returns `null` if valid, otherwise the reason why it is not
1617
+ */
1618
+ public static verify(message: { [k: string]: any }): (string|null);
1619
+
1620
+ /**
1621
+ * Creates an Image message from a plain object. Also converts values to their respective internal types.
1622
+ * @param object Plain object
1623
+ * @returns Image
1624
+ */
1625
+ public static fromObject(object: { [k: string]: any }): asset.Image;
1626
+
1627
+ /**
1628
+ * Creates a plain object from an Image message. Also converts values to other types if specified.
1629
+ * @param message Image
1630
+ * @param [options] Conversion options
1631
+ * @returns Plain object
1632
+ */
1633
+ public static toObject(message: asset.Image, options?: $protobuf.IConversionOptions): { [k: string]: any };
1634
+
1635
+ /**
1636
+ * Converts this Image to JSON.
1637
+ * @returns JSON object
1638
+ */
1639
+ public toJSON(): { [k: string]: any };
1640
+ }
1641
+
1642
+ /** Properties of a Narrator. */
1643
+ interface INarrator {
1644
+
1645
+ /** Narrator id */
1646
+ id?: (string|null);
1647
+
1648
+ /** Narrator name */
1649
+ name?: (string|null);
1650
+
1651
+ /** Narrator gender */
1652
+ gender?: (asset.Gender|null);
1653
+ }
1654
+
1655
+ /** Represents a Narrator. */
1656
+ class Narrator implements INarrator {
1657
+
1658
+ /**
1659
+ * Constructs a new Narrator.
1660
+ * @param [properties] Properties to set
1661
+ */
1662
+ constructor(properties?: asset.INarrator);
1663
+
1664
+ /** Narrator id. */
1665
+ public id: string;
1666
+
1667
+ /** Narrator name. */
1668
+ public name: string;
1669
+
1670
+ /** Narrator gender. */
1671
+ public gender: asset.Gender;
1672
+
1673
+ /**
1674
+ * Creates a new Narrator instance using the specified properties.
1675
+ * @param [properties] Properties to set
1676
+ * @returns Narrator instance
1677
+ */
1678
+ public static create(properties?: asset.INarrator): asset.Narrator;
1679
+
1680
+ /**
1681
+ * Encodes the specified Narrator message. Does not implicitly {@link asset.Narrator.verify|verify} messages.
1682
+ * @param message Narrator message or plain object to encode
1683
+ * @param [writer] Writer to encode to
1684
+ * @returns Writer
1685
+ */
1686
+ public static encode(message: asset.INarrator, writer?: $protobuf.Writer): $protobuf.Writer;
1687
+
1688
+ /**
1689
+ * Encodes the specified Narrator message, length delimited. Does not implicitly {@link asset.Narrator.verify|verify} messages.
1690
+ * @param message Narrator message or plain object to encode
1691
+ * @param [writer] Writer to encode to
1692
+ * @returns Writer
1693
+ */
1694
+ public static encodeDelimited(message: asset.INarrator, writer?: $protobuf.Writer): $protobuf.Writer;
1695
+
1696
+ /**
1697
+ * Decodes a Narrator message from the specified reader or buffer.
1698
+ * @param reader Reader or buffer to decode from
1699
+ * @param [length] Message length if known beforehand
1700
+ * @returns Narrator
1701
+ * @throws {Error} If the payload is not a reader or valid buffer
1702
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1703
+ */
1704
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): asset.Narrator;
1705
+
1706
+ /**
1707
+ * Decodes a Narrator message from the specified reader or buffer, length delimited.
1708
+ * @param reader Reader or buffer to decode from
1709
+ * @returns Narrator
1710
+ * @throws {Error} If the payload is not a reader or valid buffer
1711
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1712
+ */
1713
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): asset.Narrator;
1714
+
1715
+ /**
1716
+ * Verifies a Narrator message.
1717
+ * @param message Plain object to verify
1718
+ * @returns `null` if valid, otherwise the reason why it is not
1719
+ */
1720
+ public static verify(message: { [k: string]: any }): (string|null);
1721
+
1722
+ /**
1723
+ * Creates a Narrator message from a plain object. Also converts values to their respective internal types.
1724
+ * @param object Plain object
1725
+ * @returns Narrator
1726
+ */
1727
+ public static fromObject(object: { [k: string]: any }): asset.Narrator;
1728
+
1729
+ /**
1730
+ * Creates a plain object from a Narrator message. Also converts values to other types if specified.
1731
+ * @param message Narrator
1732
+ * @param [options] Conversion options
1733
+ * @returns Plain object
1734
+ */
1735
+ public static toObject(message: asset.Narrator, options?: $protobuf.IConversionOptions): { [k: string]: any };
1736
+
1737
+ /**
1738
+ * Converts this Narrator to JSON.
1739
+ * @returns JSON object
1740
+ */
1741
+ public toJSON(): { [k: string]: any };
1742
+ }
1743
+
1744
+ /** Properties of an Encoding. */
1745
+ interface IEncoding {
1746
+
1747
+ /** Encoding path */
1748
+ path?: (string|null);
1749
+
1750
+ /** Encoding audioCodec */
1751
+ audioCodec?: (string|null);
1752
+
1753
+ /** Encoding videoCodec */
1754
+ videoCodec?: (string|null);
1755
+
1756
+ /** Encoding height */
1757
+ height?: (number|null);
1758
+
1759
+ /** Encoding width */
1760
+ width?: (number|null);
1761
+
1762
+ /** Encoding fileSizeInBytes */
1763
+ fileSizeInBytes?: (number|null);
1764
+
1765
+ /** Encoding totalBitrateInKbps */
1766
+ totalBitrateInKbps?: (number|null);
1767
+
1768
+ /** Encoding durationInMs */
1769
+ durationInMs?: (number|null);
1770
+ }
1771
+
1772
+ /** Represents an Encoding. */
1773
+ class Encoding implements IEncoding {
1774
+
1775
+ /**
1776
+ * Constructs a new Encoding.
1777
+ * @param [properties] Properties to set
1778
+ */
1779
+ constructor(properties?: asset.IEncoding);
1780
+
1781
+ /** Encoding path. */
1782
+ public path: string;
1783
+
1784
+ /** Encoding audioCodec. */
1785
+ public audioCodec: string;
1786
+
1787
+ /** Encoding videoCodec. */
1788
+ public videoCodec: string;
1789
+
1790
+ /** Encoding height. */
1791
+ public height: number;
1792
+
1793
+ /** Encoding width. */
1794
+ public width: number;
1795
+
1796
+ /** Encoding fileSizeInBytes. */
1797
+ public fileSizeInBytes: number;
1798
+
1799
+ /** Encoding totalBitrateInKbps. */
1800
+ public totalBitrateInKbps: number;
1801
+
1802
+ /** Encoding durationInMs. */
1803
+ public durationInMs: number;
1804
+
1805
+ /**
1806
+ * Creates a new Encoding instance using the specified properties.
1807
+ * @param [properties] Properties to set
1808
+ * @returns Encoding instance
1809
+ */
1810
+ public static create(properties?: asset.IEncoding): asset.Encoding;
1811
+
1812
+ /**
1813
+ * Encodes the specified Encoding message. Does not implicitly {@link asset.Encoding.verify|verify} messages.
1814
+ * @param message Encoding message or plain object to encode
1815
+ * @param [writer] Writer to encode to
1816
+ * @returns Writer
1817
+ */
1818
+ public static encode(message: asset.IEncoding, writer?: $protobuf.Writer): $protobuf.Writer;
1819
+
1820
+ /**
1821
+ * Encodes the specified Encoding message, length delimited. Does not implicitly {@link asset.Encoding.verify|verify} messages.
1822
+ * @param message Encoding message or plain object to encode
1823
+ * @param [writer] Writer to encode to
1824
+ * @returns Writer
1825
+ */
1826
+ public static encodeDelimited(message: asset.IEncoding, writer?: $protobuf.Writer): $protobuf.Writer;
1827
+
1828
+ /**
1829
+ * Decodes an Encoding message from the specified reader or buffer.
1830
+ * @param reader Reader or buffer to decode from
1831
+ * @param [length] Message length if known beforehand
1832
+ * @returns Encoding
1833
+ * @throws {Error} If the payload is not a reader or valid buffer
1834
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1835
+ */
1836
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): asset.Encoding;
1837
+
1838
+ /**
1839
+ * Decodes an Encoding message from the specified reader or buffer, length delimited.
1840
+ * @param reader Reader or buffer to decode from
1841
+ * @returns Encoding
1842
+ * @throws {Error} If the payload is not a reader or valid buffer
1843
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1844
+ */
1845
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): asset.Encoding;
1846
+
1847
+ /**
1848
+ * Verifies an Encoding message.
1849
+ * @param message Plain object to verify
1850
+ * @returns `null` if valid, otherwise the reason why it is not
1851
+ */
1852
+ public static verify(message: { [k: string]: any }): (string|null);
1853
+
1854
+ /**
1855
+ * Creates an Encoding message from a plain object. Also converts values to their respective internal types.
1856
+ * @param object Plain object
1857
+ * @returns Encoding
1858
+ */
1859
+ public static fromObject(object: { [k: string]: any }): asset.Encoding;
1860
+
1861
+ /**
1862
+ * Creates a plain object from an Encoding message. Also converts values to other types if specified.
1863
+ * @param message Encoding
1864
+ * @param [options] Conversion options
1865
+ * @returns Plain object
1866
+ */
1867
+ public static toObject(message: asset.Encoding, options?: $protobuf.IConversionOptions): { [k: string]: any };
1868
+
1869
+ /**
1870
+ * Converts this Encoding to JSON.
1871
+ * @returns JSON object
1872
+ */
1873
+ public toJSON(): { [k: string]: any };
1874
+ }
1875
+
1876
+ /** Gender enum. */
1877
+ enum Gender {
1878
+ GENDER_UNKNOWN = 0,
1879
+ GENDER_MALE = 1,
1880
+ GENDER_FEMALE = 2
1881
+ }
1882
+
1883
+ /** Language enum. */
1884
+ enum Language {
1885
+ LANGUAGE_UNKNOWN = 0,
1886
+ LANGUAGE_EN = 1,
1887
+ LANGUAGE_DE = 2,
1888
+ LANGUAGE_FR = 3,
1889
+ LANGUAGE_ES = 4,
1890
+ LANGUAGE_PT = 5
1891
+ }
1892
+ }
1893
+
1207
1894
  /** Namespace userdomain. */
1208
1895
  export namespace userdomain {
1209
1896
 
@@ -2723,6 +3410,96 @@ export class MessageSent implements IMessageSent {
2723
3410
  public toJSON(): { [k: string]: any };
2724
3411
  }
2725
3412
 
3413
+ /** Properties of an AssetCreated. */
3414
+ export interface IAssetCreated {
3415
+
3416
+ /** AssetCreated asset */
3417
+ asset?: (asset.IAsset|null);
3418
+ }
3419
+
3420
+ /** Represents an AssetCreated. */
3421
+ export class AssetCreated implements IAssetCreated {
3422
+
3423
+ /**
3424
+ * Constructs a new AssetCreated.
3425
+ * @param [properties] Properties to set
3426
+ */
3427
+ constructor(properties?: IAssetCreated);
3428
+
3429
+ /** AssetCreated asset. */
3430
+ public asset?: (asset.IAsset|null);
3431
+
3432
+ /**
3433
+ * Creates a new AssetCreated instance using the specified properties.
3434
+ * @param [properties] Properties to set
3435
+ * @returns AssetCreated instance
3436
+ */
3437
+ public static create(properties?: IAssetCreated): AssetCreated;
3438
+
3439
+ /**
3440
+ * Encodes the specified AssetCreated message. Does not implicitly {@link AssetCreated.verify|verify} messages.
3441
+ * @param message AssetCreated message or plain object to encode
3442
+ * @param [writer] Writer to encode to
3443
+ * @returns Writer
3444
+ */
3445
+ public static encode(message: IAssetCreated, writer?: $protobuf.Writer): $protobuf.Writer;
3446
+
3447
+ /**
3448
+ * Encodes the specified AssetCreated message, length delimited. Does not implicitly {@link AssetCreated.verify|verify} messages.
3449
+ * @param message AssetCreated message or plain object to encode
3450
+ * @param [writer] Writer to encode to
3451
+ * @returns Writer
3452
+ */
3453
+ public static encodeDelimited(message: IAssetCreated, writer?: $protobuf.Writer): $protobuf.Writer;
3454
+
3455
+ /**
3456
+ * Decodes an AssetCreated message from the specified reader or buffer.
3457
+ * @param reader Reader or buffer to decode from
3458
+ * @param [length] Message length if known beforehand
3459
+ * @returns AssetCreated
3460
+ * @throws {Error} If the payload is not a reader or valid buffer
3461
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3462
+ */
3463
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): AssetCreated;
3464
+
3465
+ /**
3466
+ * Decodes an AssetCreated message from the specified reader or buffer, length delimited.
3467
+ * @param reader Reader or buffer to decode from
3468
+ * @returns AssetCreated
3469
+ * @throws {Error} If the payload is not a reader or valid buffer
3470
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3471
+ */
3472
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): AssetCreated;
3473
+
3474
+ /**
3475
+ * Verifies an AssetCreated message.
3476
+ * @param message Plain object to verify
3477
+ * @returns `null` if valid, otherwise the reason why it is not
3478
+ */
3479
+ public static verify(message: { [k: string]: any }): (string|null);
3480
+
3481
+ /**
3482
+ * Creates an AssetCreated message from a plain object. Also converts values to their respective internal types.
3483
+ * @param object Plain object
3484
+ * @returns AssetCreated
3485
+ */
3486
+ public static fromObject(object: { [k: string]: any }): AssetCreated;
3487
+
3488
+ /**
3489
+ * Creates a plain object from an AssetCreated message. Also converts values to other types if specified.
3490
+ * @param message AssetCreated
3491
+ * @param [options] Conversion options
3492
+ * @returns Plain object
3493
+ */
3494
+ public static toObject(message: AssetCreated, options?: $protobuf.IConversionOptions): { [k: string]: any };
3495
+
3496
+ /**
3497
+ * Converts this AssetCreated to JSON.
3498
+ * @returns JSON object
3499
+ */
3500
+ public toJSON(): { [k: string]: any };
3501
+ }
3502
+
2726
3503
  /** Properties of a FamilyMemberAdded. */
2727
3504
  export interface IFamilyMemberAdded {
2728
3505