@google-apps/chat 0.19.1 → 0.21.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.
@@ -1518,6 +1518,10 @@
1518
1518
  "uncollapsibleWidgetsCount": {
1519
1519
  "type": "int32",
1520
1520
  "id": 6
1521
+ },
1522
+ "collapseControl": {
1523
+ "type": "CollapseControl",
1524
+ "id": 8
1521
1525
  }
1522
1526
  }
1523
1527
  },
@@ -1540,6 +1544,31 @@
1540
1544
  }
1541
1545
  }
1542
1546
  },
1547
+ "NestedWidget": {
1548
+ "oneofs": {
1549
+ "data": {
1550
+ "oneof": [
1551
+ "textParagraph",
1552
+ "buttonList",
1553
+ "image"
1554
+ ]
1555
+ }
1556
+ },
1557
+ "fields": {
1558
+ "textParagraph": {
1559
+ "type": "TextParagraph",
1560
+ "id": 1
1561
+ },
1562
+ "buttonList": {
1563
+ "type": "ButtonList",
1564
+ "id": 3
1565
+ },
1566
+ "image": {
1567
+ "type": "Image",
1568
+ "id": 10
1569
+ }
1570
+ }
1571
+ },
1543
1572
  "CardFixedFooter": {
1544
1573
  "fields": {
1545
1574
  "primaryButton": {
@@ -1574,7 +1603,9 @@
1574
1603
  "dateTimePicker",
1575
1604
  "divider",
1576
1605
  "grid",
1577
- "columns"
1606
+ "columns",
1607
+ "carousel",
1608
+ "chipList"
1578
1609
  ]
1579
1610
  }
1580
1611
  },
@@ -1619,6 +1650,14 @@
1619
1650
  "type": "Columns",
1620
1651
  "id": 11
1621
1652
  },
1653
+ "carousel": {
1654
+ "type": "Carousel",
1655
+ "id": 13
1656
+ },
1657
+ "chipList": {
1658
+ "type": "ChipList",
1659
+ "id": 14
1660
+ },
1622
1661
  "horizontalAlignment": {
1623
1662
  "type": "HorizontalAlignment",
1624
1663
  "id": 8
@@ -1638,6 +1677,14 @@
1638
1677
  "CENTER": 2,
1639
1678
  "END": 3
1640
1679
  }
1680
+ },
1681
+ "VerticalAlignment": {
1682
+ "values": {
1683
+ "VERTICAL_ALIGNMENT_UNSPECIFIED": 0,
1684
+ "TOP": 1,
1685
+ "MIDDLE": 2,
1686
+ "BOTTOM": 3
1687
+ }
1641
1688
  }
1642
1689
  }
1643
1690
  },
@@ -1646,6 +1693,23 @@
1646
1693
  "text": {
1647
1694
  "type": "string",
1648
1695
  "id": 1
1696
+ },
1697
+ "maxLines": {
1698
+ "type": "int32",
1699
+ "id": 2
1700
+ },
1701
+ "textSyntax": {
1702
+ "type": "TextSyntax",
1703
+ "id": 4
1704
+ }
1705
+ },
1706
+ "nested": {
1707
+ "TextSyntax": {
1708
+ "values": {
1709
+ "TEXT_SYNTAX_UNSPECIFIED": 0,
1710
+ "HTML": 1,
1711
+ "MARKDOWN": 2
1712
+ }
1649
1713
  }
1650
1714
  }
1651
1715
  },
@@ -1690,14 +1754,26 @@
1690
1754
  "type": "Icon",
1691
1755
  "id": 12
1692
1756
  },
1757
+ "startIconVerticalAlignment": {
1758
+ "type": "Widget.VerticalAlignment",
1759
+ "id": 13
1760
+ },
1693
1761
  "topLabel": {
1694
1762
  "type": "string",
1695
1763
  "id": 3
1696
1764
  },
1765
+ "topLabelText": {
1766
+ "type": "TextParagraph",
1767
+ "id": 17
1768
+ },
1697
1769
  "text": {
1698
1770
  "type": "string",
1699
1771
  "id": 4
1700
1772
  },
1773
+ "contentText": {
1774
+ "type": "TextParagraph",
1775
+ "id": 18
1776
+ },
1701
1777
  "wrapText": {
1702
1778
  "type": "bool",
1703
1779
  "id": 5
@@ -1706,6 +1782,10 @@
1706
1782
  "type": "string",
1707
1783
  "id": 6
1708
1784
  },
1785
+ "bottomLabelText": {
1786
+ "type": "TextParagraph",
1787
+ "id": 19
1788
+ },
1709
1789
  "onClick": {
1710
1790
  "type": "OnClick",
1711
1791
  "id": 7
@@ -1793,6 +1873,10 @@
1793
1873
  "type": "Action",
1794
1874
  "id": 8
1795
1875
  },
1876
+ "validation": {
1877
+ "type": "Validation",
1878
+ "id": 11
1879
+ },
1796
1880
  "placeholderText": {
1797
1881
  "type": "string",
1798
1882
  "id": 12
@@ -1844,6 +1928,11 @@
1844
1928
  },
1845
1929
  "SelectionInput": {
1846
1930
  "oneofs": {
1931
+ "_multiSelectMaxSelectedItems": {
1932
+ "oneof": [
1933
+ "multiSelectMaxSelectedItems"
1934
+ ]
1935
+ },
1847
1936
  "multiSelectDataSource": {
1848
1937
  "oneof": [
1849
1938
  "externalDataSource",
@@ -1875,7 +1964,10 @@
1875
1964
  },
1876
1965
  "multiSelectMaxSelectedItems": {
1877
1966
  "type": "int32",
1878
- "id": 6
1967
+ "id": 6,
1968
+ "options": {
1969
+ "proto3_optional": true
1970
+ }
1879
1971
  },
1880
1972
  "multiSelectMinQueryLength": {
1881
1973
  "type": "int32",
@@ -1901,6 +1993,13 @@
1901
1993
  }
1902
1994
  },
1903
1995
  "SelectionItem": {
1996
+ "oneofs": {
1997
+ "startIcon": {
1998
+ "oneof": [
1999
+ "startIconUri"
2000
+ ]
2001
+ }
2002
+ },
1904
2003
  "fields": {
1905
2004
  "text": {
1906
2005
  "type": "string",
@@ -1950,6 +2049,13 @@
1950
2049
  }
1951
2050
  },
1952
2051
  "DateTimePicker": {
2052
+ "oneofs": {
2053
+ "_valueMsEpoch": {
2054
+ "oneof": [
2055
+ "valueMsEpoch"
2056
+ ]
2057
+ }
2058
+ },
1953
2059
  "fields": {
1954
2060
  "name": {
1955
2061
  "type": "string",
@@ -1965,7 +2071,10 @@
1965
2071
  },
1966
2072
  "valueMsEpoch": {
1967
2073
  "type": "int64",
1968
- "id": 4
2074
+ "id": 4,
2075
+ "options": {
2076
+ "proto3_optional": true
2077
+ }
1969
2078
  },
1970
2079
  "timezoneOffsetDate": {
1971
2080
  "type": "int32",
@@ -1986,6 +2095,37 @@
1986
2095
  }
1987
2096
  }
1988
2097
  },
2098
+ "OverflowMenu": {
2099
+ "fields": {
2100
+ "items": {
2101
+ "rule": "repeated",
2102
+ "type": "OverflowMenuItem",
2103
+ "id": 1
2104
+ }
2105
+ },
2106
+ "nested": {
2107
+ "OverflowMenuItem": {
2108
+ "fields": {
2109
+ "startIcon": {
2110
+ "type": "Icon",
2111
+ "id": 1
2112
+ },
2113
+ "text": {
2114
+ "type": "string",
2115
+ "id": 2
2116
+ },
2117
+ "onClick": {
2118
+ "type": "OnClick",
2119
+ "id": 3
2120
+ },
2121
+ "disabled": {
2122
+ "type": "bool",
2123
+ "id": 4
2124
+ }
2125
+ }
2126
+ }
2127
+ }
2128
+ },
1989
2129
  "Button": {
1990
2130
  "fields": {
1991
2131
  "text": {
@@ -2011,6 +2151,21 @@
2011
2151
  "altText": {
2012
2152
  "type": "string",
2013
2153
  "id": 6
2154
+ },
2155
+ "type": {
2156
+ "type": "Type",
2157
+ "id": 7
2158
+ }
2159
+ },
2160
+ "nested": {
2161
+ "Type": {
2162
+ "values": {
2163
+ "TYPE_UNSPECIFIED": 0,
2164
+ "OUTLINED": 1,
2165
+ "FILLED": 2,
2166
+ "FILLED_TONAL": 3,
2167
+ "BORDERLESS": 4
2168
+ }
2014
2169
  }
2015
2170
  }
2016
2171
  },
@@ -2250,7 +2405,8 @@
2250
2405
  "buttonList",
2251
2406
  "textInput",
2252
2407
  "selectionInput",
2253
- "dateTimePicker"
2408
+ "dateTimePicker",
2409
+ "chipList"
2254
2410
  ]
2255
2411
  }
2256
2412
  },
@@ -2282,6 +2438,10 @@
2282
2438
  "dateTimePicker": {
2283
2439
  "type": "DateTimePicker",
2284
2440
  "id": 7
2441
+ },
2442
+ "chipList": {
2443
+ "type": "ChipList",
2444
+ "id": 8
2285
2445
  }
2286
2446
  }
2287
2447
  }
@@ -2289,6 +2449,47 @@
2289
2449
  }
2290
2450
  }
2291
2451
  },
2452
+ "Carousel": {
2453
+ "fields": {
2454
+ "carouselCards": {
2455
+ "rule": "repeated",
2456
+ "type": "CarouselCard",
2457
+ "id": 4
2458
+ }
2459
+ },
2460
+ "nested": {
2461
+ "CarouselCard": {
2462
+ "fields": {
2463
+ "widgets": {
2464
+ "rule": "repeated",
2465
+ "type": "Card.NestedWidget",
2466
+ "id": 1
2467
+ },
2468
+ "footerWidgets": {
2469
+ "rule": "repeated",
2470
+ "type": "Card.NestedWidget",
2471
+ "id": 2
2472
+ }
2473
+ }
2474
+ }
2475
+ }
2476
+ },
2477
+ "CollapseControl": {
2478
+ "fields": {
2479
+ "horizontalAlignment": {
2480
+ "type": "Widget.HorizontalAlignment",
2481
+ "id": 1
2482
+ },
2483
+ "expandButton": {
2484
+ "type": "Button",
2485
+ "id": 2
2486
+ },
2487
+ "collapseButton": {
2488
+ "type": "Button",
2489
+ "id": 3
2490
+ }
2491
+ }
2492
+ },
2292
2493
  "OnClick": {
2293
2494
  "oneofs": {
2294
2495
  "data": {
@@ -2296,7 +2497,8 @@
2296
2497
  "action",
2297
2498
  "openLink",
2298
2499
  "openDynamicLinkAction",
2299
- "card"
2500
+ "card",
2501
+ "overflowMenu"
2300
2502
  ]
2301
2503
  }
2302
2504
  },
@@ -2316,6 +2518,10 @@
2316
2518
  "card": {
2317
2519
  "type": "Card",
2318
2520
  "id": 4
2521
+ },
2522
+ "overflowMenu": {
2523
+ "type": "OverflowMenu",
2524
+ "id": 8
2319
2525
  }
2320
2526
  }
2321
2527
  },
@@ -2371,6 +2577,15 @@
2371
2577
  "interaction": {
2372
2578
  "type": "Interaction",
2373
2579
  "id": 5
2580
+ },
2581
+ "requiredWidgets": {
2582
+ "rule": "repeated",
2583
+ "type": "string",
2584
+ "id": 6
2585
+ },
2586
+ "allWidgetsAreRequired": {
2587
+ "type": "bool",
2588
+ "id": 7
2374
2589
  }
2375
2590
  },
2376
2591
  "nested": {
@@ -2399,6 +2614,83 @@
2399
2614
  }
2400
2615
  }
2401
2616
  }
2617
+ },
2618
+ "Validation": {
2619
+ "fields": {
2620
+ "characterLimit": {
2621
+ "type": "int32",
2622
+ "id": 1
2623
+ },
2624
+ "inputType": {
2625
+ "type": "InputType",
2626
+ "id": 2
2627
+ }
2628
+ },
2629
+ "nested": {
2630
+ "InputType": {
2631
+ "values": {
2632
+ "INPUT_TYPE_UNSPECIFIED": 0,
2633
+ "TEXT": 1,
2634
+ "INTEGER": 2,
2635
+ "FLOAT": 3,
2636
+ "EMAIL": 4,
2637
+ "EMOJI_PICKER": 5
2638
+ }
2639
+ }
2640
+ }
2641
+ },
2642
+ "ChipList": {
2643
+ "fields": {
2644
+ "layout": {
2645
+ "type": "Layout",
2646
+ "id": 1
2647
+ },
2648
+ "chips": {
2649
+ "rule": "repeated",
2650
+ "type": "Chip",
2651
+ "id": 2
2652
+ }
2653
+ },
2654
+ "nested": {
2655
+ "Layout": {
2656
+ "values": {
2657
+ "LAYOUT_UNSPECIFIED": 0,
2658
+ "WRAPPED": 1,
2659
+ "HORIZONTAL_SCROLLABLE": 2
2660
+ }
2661
+ }
2662
+ }
2663
+ },
2664
+ "Chip": {
2665
+ "fields": {
2666
+ "icon": {
2667
+ "type": "Icon",
2668
+ "id": 1
2669
+ },
2670
+ "label": {
2671
+ "type": "string",
2672
+ "id": 2
2673
+ },
2674
+ "onClick": {
2675
+ "type": "OnClick",
2676
+ "id": 3
2677
+ },
2678
+ "enabled": {
2679
+ "type": "bool",
2680
+ "id": 4,
2681
+ "options": {
2682
+ "deprecated": true
2683
+ }
2684
+ },
2685
+ "disabled": {
2686
+ "type": "bool",
2687
+ "id": 6
2688
+ },
2689
+ "altText": {
2690
+ "type": "string",
2691
+ "id": 5
2692
+ }
2693
+ }
2402
2694
  }
2403
2695
  }
2404
2696
  }
@@ -3932,7 +4224,8 @@
3932
4224
  "values": {
3933
4225
  "MEMBERSHIP_ROLE_UNSPECIFIED": 0,
3934
4226
  "ROLE_MEMBER": 1,
3935
- "ROLE_MANAGER": 2
4227
+ "ROLE_MANAGER": 2,
4228
+ "ROLE_ASSISTANT_MANAGER": 4
3936
4229
  }
3937
4230
  }
3938
4231
  }
@@ -5417,6 +5710,13 @@
5417
5710
  }
5418
5711
  },
5419
5712
  "PermissionSetting": {
5713
+ "oneofs": {
5714
+ "_assistantManagersAllowed": {
5715
+ "oneof": [
5716
+ "assistantManagersAllowed"
5717
+ ]
5718
+ }
5719
+ },
5420
5720
  "fields": {
5421
5721
  "managersAllowed": {
5422
5722
  "type": "bool",
@@ -5425,6 +5725,14 @@
5425
5725
  "(google.api.field_behavior)": "OPTIONAL"
5426
5726
  }
5427
5727
  },
5728
+ "assistantManagersAllowed": {
5729
+ "type": "bool",
5730
+ "id": 3,
5731
+ "options": {
5732
+ "(google.api.field_behavior)": "OPTIONAL",
5733
+ "proto3_optional": true
5734
+ }
5735
+ },
5428
5736
  "membersAllowed": {
5429
5737
  "type": "bool",
5430
5738
  "id": 2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google-apps/chat",
3
- "version": "0.19.1",
3
+ "version": "0.21.0",
4
4
  "description": "Google Chat API client for Node.js",
5
5
  "repository": {
6
6
  "type": "git",