teams_rb 2.0.3 → 2.1.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 (40) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +39 -1
  3. data/docs/README.md +1 -1
  4. data/docs/essentials/README.md +1 -1
  5. data/docs/essentials/on-event.md +12 -2
  6. data/docs/essentials/sending-messages.md +7 -4
  7. data/docs/in-depth-guides/README.md +2 -0
  8. data/docs/in-depth-guides/agent-365.md +3 -1
  9. data/docs/in-depth-guides/files.md +99 -0
  10. data/docs/in-depth-guides/state.md +59 -0
  11. data/docs/in-depth-guides/streaming.md +6 -5
  12. data/docs/in-depth-guides/user-authentication.md +36 -8
  13. data/lib/teams/activity_context.rb +118 -15
  14. data/lib/teams/api/citation_appearance.rb +10 -2
  15. data/lib/teams/api/file_download_info.rb +34 -0
  16. data/lib/teams/api/message_activity.rb +37 -12
  17. data/lib/teams/api/sensitivity_usage_info.rb +38 -0
  18. data/lib/teams/app.rb +195 -153
  19. data/lib/teams/auth/jwt_validator.rb +17 -2
  20. data/lib/teams/cards/generated.rb +430 -430
  21. data/lib/teams/errors.rb +175 -4
  22. data/lib/teams/files/downloaded_file.rb +35 -0
  23. data/lib/teams/files/downloader.rb +405 -0
  24. data/lib/teams/files/files_accessor.rb +175 -0
  25. data/lib/teams/files/graph_share.rb +44 -0
  26. data/lib/teams/files/incoming_file.rb +128 -0
  27. data/lib/teams/files/inline_image.rb +88 -0
  28. data/lib/teams/files.rb +8 -0
  29. data/lib/teams/http_stream.rb +28 -28
  30. data/lib/teams/oauth/flow.rb +184 -0
  31. data/lib/teams/oauth/handlers.rb +376 -0
  32. data/lib/teams/oauth/pending_sign_ins.rb +300 -0
  33. data/lib/teams/oauth.rb +5 -0
  34. data/lib/teams/state/turn_state.rb +163 -0
  35. data/lib/teams/state/turn_state_container.rb +54 -0
  36. data/lib/teams/state/turn_state_loader.rb +143 -0
  37. data/lib/teams/state.rb +5 -0
  38. data/lib/teams/version.rb +1 -1
  39. data/lib/teams.rb +5 -0
  40. metadata +20 -1
@@ -36,9 +36,9 @@ module Teams
36
36
  class BackgroundImage < SerializableObject
37
37
  field :key, "key"
38
38
  field :url, "url"
39
- field :fill_mode, "fillMode", "Cover"
40
- field :horizontal_alignment, "horizontalAlignment", "Left"
41
- field :vertical_alignment, "verticalAlignment", "Top"
39
+ field :fill_mode, "fillMode"
40
+ field :horizontal_alignment, "horizontalAlignment"
41
+ field :vertical_alignment, "verticalAlignment"
42
42
  field :themed_urls, "themedUrls"
43
43
  end
44
44
 
@@ -46,7 +46,7 @@ module Teams
46
46
  class BarChartDataValue < SerializableObject
47
47
  field :key, "key"
48
48
  field :x, "x"
49
- field :y, "y", 0
49
+ field :y, "y"
50
50
  end
51
51
 
52
52
  # Represents a calendar event attendee.
@@ -123,7 +123,7 @@ module Teams
123
123
  class DonutChartData < SerializableObject
124
124
  field :key, "key"
125
125
  field :legend, "legend"
126
- field :value, "value", 0
126
+ field :value, "value"
127
127
  field :color, "color"
128
128
  end
129
129
 
@@ -145,7 +145,7 @@ module Teams
145
145
  # The legend of the chart.
146
146
  class GaugeChartLegend < SerializableObject
147
147
  field :key, "key"
148
- field :size, "size", 0
148
+ field :size, "size"
149
149
  field :legend, "legend"
150
150
  field :color, "color"
151
151
  end
@@ -154,10 +154,10 @@ module Teams
154
154
  class GridArea < SerializableObject
155
155
  field :key, "key"
156
156
  field :name, "name"
157
- field :column, "column", 1
158
- field :column_span, "columnSpan", 1
159
- field :row, "row", 1
160
- field :row_span, "rowSpan", 1
157
+ field :column, "column"
158
+ field :column_span, "columnSpan"
159
+ field :row, "row"
160
+ field :row_span, "rowSpan"
161
161
  end
162
162
 
163
163
  # Represents a series of data points.
@@ -172,7 +172,7 @@ module Teams
172
172
  class HorizontalBarChartDataValue < SerializableObject
173
173
  field :key, "key"
174
174
  field :x, "x"
175
- field :y, "y", 0
175
+ field :y, "y"
176
176
  field :color, "color"
177
177
  end
178
178
 
@@ -185,9 +185,9 @@ module Teams
185
185
  class IconInfo < SerializableObject
186
186
  field :key, "key"
187
187
  field :name, "name"
188
- field :size, "size", "xSmall"
189
- field :style, "style", "Regular"
190
- field :color, "color", "Default"
188
+ field :size, "size"
189
+ field :style, "style"
190
+ field :color, "color"
191
191
  end
192
192
 
193
193
  # Represents Teams-specific data in an Action.Submit to send an Instant Message back to the Bot.
@@ -216,7 +216,7 @@ module Teams
216
216
  class LineChartValue < SerializableObject
217
217
  field :key, "key"
218
218
  field :x, "x"
219
- field :y, "y", 0
219
+ field :y, "y"
220
220
  end
221
221
 
222
222
  # Defines the source URL of a media stream. YouTube, Dailymotion, Vimeo and Microsoft Stream URLs are supported.
@@ -239,7 +239,7 @@ module Teams
239
239
  field :key, "key"
240
240
  field :id, "id"
241
241
  field :name, "name"
242
- field :mention_type, "mentionType", "Person"
242
+ field :mention_type, "mentionType"
243
243
  end
244
244
 
245
245
  # Represents Teams-specific data in an Action.Submit to send a message back to the Bot.
@@ -324,7 +324,7 @@ module Teams
324
324
  class StackedHorizontalBarChartDataPoint < SerializableObject
325
325
  field :key, "key"
326
326
  field :legend, "legend"
327
- field :value, "value", 0
327
+ field :value, "value"
328
328
  field :color, "color"
329
329
  end
330
330
 
@@ -389,7 +389,7 @@ module Teams
389
389
  # Defines a theme-specific URL.
390
390
  class ThemedUrl < SerializableObject
391
391
  field :key, "key"
392
- field :theme, "theme", "Light"
392
+ field :theme, "theme"
393
393
  field :url, "url"
394
394
  end
395
395
 
@@ -405,7 +405,7 @@ module Teams
405
405
  class VerticalBarChartDataValue < SerializableObject
406
406
  field :key, "key"
407
407
  field :x, "x"
408
- field :y, "y", 0
408
+ field :y, "y"
409
409
  field :color, "color"
410
410
  end
411
411
 
@@ -414,15 +414,15 @@ module Teams
414
414
  field :key, "key"
415
415
  field :type, "type", "ActionSet"
416
416
  field :id, "id"
417
- field :requires, "requires", {}, mutable: true
417
+ field :requires, "requires"
418
418
  field :lang, "lang"
419
- field :is_visible, "isVisible", true
420
- field :separator, "separator", false
421
- field :height, "height", "auto"
419
+ field :is_visible, "isVisible"
420
+ field :separator, "separator"
421
+ field :height, "height"
422
422
  field :horizontal_alignment, "horizontalAlignment"
423
- field :spacing, "spacing", "Default"
423
+ field :spacing, "spacing"
424
424
  field :target_width, "targetWidth"
425
- field :is_sort_key, "isSortKey", false
425
+ field :is_sort_key, "isSortKey"
426
426
  field :grid_area, "gridArea"
427
427
  field :fallback, "fallback"
428
428
  field :actions, "actions"
@@ -435,9 +435,9 @@ module Teams
435
435
  field :key, "key"
436
436
  field :type, "type", "AdaptiveCard"
437
437
  field :id, "id"
438
- field :requires, "requires", {}, mutable: true
438
+ field :requires, "requires"
439
439
  field :lang, "lang"
440
- field :is_sort_key, "isSortKey", false
440
+ field :is_sort_key, "isSortKey"
441
441
  field :select_action, "selectAction"
442
442
  field :style, "style"
443
443
  field :layouts, "layouts"
@@ -470,8 +470,8 @@ module Teams
470
470
  field :target_width, "targetWidth"
471
471
  field :columns, "columns"
472
472
  field :areas, "areas"
473
- field :column_spacing, "columnSpacing", "Default"
474
- field :row_spacing, "rowSpacing", "Default"
473
+ field :column_spacing, "columnSpacing"
474
+ field :row_spacing, "rowSpacing"
475
475
  end
476
476
 
477
477
  # A badge element to show an icon and/or text in a compact form over a colored background.
@@ -479,22 +479,22 @@ module Teams
479
479
  field :key, "key"
480
480
  field :type, "type", "Badge"
481
481
  field :id, "id"
482
- field :requires, "requires", {}, mutable: true
482
+ field :requires, "requires"
483
483
  field :lang, "lang"
484
- field :is_visible, "isVisible", true
485
- field :separator, "separator", false
486
- field :height, "height", "auto"
484
+ field :is_visible, "isVisible"
485
+ field :separator, "separator"
486
+ field :height, "height"
487
487
  field :horizontal_alignment, "horizontalAlignment"
488
- field :spacing, "spacing", "Default"
488
+ field :spacing, "spacing"
489
489
  field :target_width, "targetWidth"
490
- field :is_sort_key, "isSortKey", false
490
+ field :is_sort_key, "isSortKey"
491
491
  field :text, "text"
492
492
  field :icon, "icon"
493
- field :icon_position, "iconPosition", "Before"
494
- field :appearance, "appearance", "Filled"
495
- field :size, "size", "Medium"
496
- field :shape, "shape", "Circular"
497
- field :style, "style", "Default"
493
+ field :icon_position, "iconPosition"
494
+ field :appearance, "appearance"
495
+ field :size, "size"
496
+ field :shape, "shape"
497
+ field :style, "style"
498
498
  field :tooltip, "tooltip"
499
499
  field :grid_area, "gridArea"
500
500
  field :fallback, "fallback"
@@ -505,17 +505,17 @@ module Teams
505
505
  field :key, "key"
506
506
  field :type, "type", "Carousel"
507
507
  field :id, "id"
508
- field :requires, "requires", {}, mutable: true
508
+ field :requires, "requires"
509
509
  field :lang, "lang"
510
- field :is_visible, "isVisible", true
511
- field :separator, "separator", false
512
- field :height, "height", "auto"
513
- field :spacing, "spacing", "Default"
510
+ field :is_visible, "isVisible"
511
+ field :separator, "separator"
512
+ field :height, "height"
513
+ field :spacing, "spacing"
514
514
  field :target_width, "targetWidth"
515
- field :is_sort_key, "isSortKey", false
516
- field :bleed, "bleed", false
515
+ field :is_sort_key, "isSortKey"
516
+ field :bleed, "bleed"
517
517
  field :min_height, "minHeight"
518
- field :page_animation, "pageAnimation", "Slide"
518
+ field :page_animation, "pageAnimation"
519
519
  field :grid_area, "gridArea"
520
520
  field :fallback, "fallback"
521
521
  field :pages, "pages"
@@ -526,16 +526,16 @@ module Teams
526
526
  field :key, "key"
527
527
  field :type, "type", "CarouselPage"
528
528
  field :id, "id"
529
- field :requires, "requires", {}, mutable: true
529
+ field :requires, "requires"
530
530
  field :lang, "lang"
531
- field :is_visible, "isVisible", true
532
- field :height, "height", "auto"
531
+ field :is_visible, "isVisible"
532
+ field :height, "height"
533
533
  field :target_width, "targetWidth"
534
- field :is_sort_key, "isSortKey", false
534
+ field :is_sort_key, "isSortKey"
535
535
  field :select_action, "selectAction"
536
536
  field :style, "style"
537
- field :show_border, "showBorder", false
538
- field :rounded_corners, "roundedCorners", false
537
+ field :show_border, "showBorder"
538
+ field :rounded_corners, "roundedCorners"
539
539
  field :layouts, "layouts"
540
540
  field :min_height, "minHeight"
541
541
  field :background_image, "backgroundImage"
@@ -552,26 +552,26 @@ module Teams
552
552
  field :key, "key"
553
553
  field :type, "type", "Input.ChoiceSet"
554
554
  field :id, "id"
555
- field :requires, "requires", {}, mutable: true
555
+ field :requires, "requires"
556
556
  field :lang, "lang"
557
- field :is_visible, "isVisible", true
558
- field :separator, "separator", false
559
- field :height, "height", "auto"
560
- field :spacing, "spacing", "Default"
557
+ field :is_visible, "isVisible"
558
+ field :separator, "separator"
559
+ field :height, "height"
560
+ field :spacing, "spacing"
561
561
  field :target_width, "targetWidth"
562
- field :is_sort_key, "isSortKey", false
562
+ field :is_sort_key, "isSortKey"
563
563
  field :label, "label"
564
- field :is_required, "isRequired", false
564
+ field :is_required, "isRequired"
565
565
  field :error_message, "errorMessage"
566
566
  field :value_changed_action, "valueChangedAction"
567
567
  field :value, "value"
568
568
  field :choices, "choices"
569
569
  field :choices_data, "choices.data"
570
- field :style, "style", "compact"
571
- field :is_multi_select, "isMultiSelect", false
570
+ field :style, "style"
571
+ field :is_multi_select, "isMultiSelect"
572
572
  field :placeholder, "placeholder"
573
- field :wrap, "wrap", true
574
- field :use_multiple_columns, "useMultipleColumns", false
573
+ field :wrap, "wrap"
574
+ field :use_multiple_columns, "useMultipleColumns"
575
575
  field :min_column_width, "minColumnWidth"
576
576
  field :grid_area, "gridArea"
577
577
  field :fallback, "fallback"
@@ -584,18 +584,18 @@ module Teams
584
584
  field :key, "key"
585
585
  field :type, "type", "CodeBlock"
586
586
  field :id, "id"
587
- field :requires, "requires", {}, mutable: true
587
+ field :requires, "requires"
588
588
  field :lang, "lang"
589
- field :is_visible, "isVisible", true
590
- field :separator, "separator", false
591
- field :height, "height", "auto"
589
+ field :is_visible, "isVisible"
590
+ field :separator, "separator"
591
+ field :height, "height"
592
592
  field :horizontal_alignment, "horizontalAlignment"
593
- field :spacing, "spacing", "Default"
593
+ field :spacing, "spacing"
594
594
  field :target_width, "targetWidth"
595
- field :is_sort_key, "isSortKey", false
595
+ field :is_sort_key, "isSortKey"
596
596
  field :code_snippet, "codeSnippet"
597
- field :language, "language", "PlainText"
598
- field :start_line_number, "startLineNumber", 1
597
+ field :language, "language"
598
+ field :start_line_number, "startLineNumber"
599
599
  field :grid_area, "gridArea"
600
600
  field :fallback, "fallback"
601
601
  end
@@ -605,21 +605,21 @@ module Teams
605
605
  field :key, "key"
606
606
  field :type, "type", "Column"
607
607
  field :id, "id"
608
- field :requires, "requires", {}, mutable: true
608
+ field :requires, "requires"
609
609
  field :lang, "lang"
610
- field :is_visible, "isVisible", true
611
- field :separator, "separator", false
612
- field :height, "height", "auto"
610
+ field :is_visible, "isVisible"
611
+ field :separator, "separator"
612
+ field :height, "height"
613
613
  field :horizontal_alignment, "horizontalAlignment"
614
- field :spacing, "spacing", "Default"
614
+ field :spacing, "spacing"
615
615
  field :target_width, "targetWidth"
616
- field :is_sort_key, "isSortKey", false
616
+ field :is_sort_key, "isSortKey"
617
617
  field :select_action, "selectAction"
618
618
  field :style, "style"
619
- field :show_border, "showBorder", false
620
- field :rounded_corners, "roundedCorners", false
619
+ field :show_border, "showBorder"
620
+ field :rounded_corners, "roundedCorners"
621
621
  field :layouts, "layouts"
622
- field :bleed, "bleed", false
622
+ field :bleed, "bleed"
623
623
  field :min_height, "minHeight"
624
624
  field :background_image, "backgroundImage"
625
625
  field :vertical_content_alignment, "verticalContentAlignment"
@@ -636,20 +636,20 @@ module Teams
636
636
  field :key, "key"
637
637
  field :type, "type", "ColumnSet"
638
638
  field :id, "id"
639
- field :requires, "requires", {}, mutable: true
639
+ field :requires, "requires"
640
640
  field :lang, "lang"
641
- field :is_visible, "isVisible", true
642
- field :separator, "separator", false
643
- field :height, "height", "auto"
641
+ field :is_visible, "isVisible"
642
+ field :separator, "separator"
643
+ field :height, "height"
644
644
  field :horizontal_alignment, "horizontalAlignment"
645
- field :spacing, "spacing", "Default"
645
+ field :spacing, "spacing"
646
646
  field :target_width, "targetWidth"
647
- field :is_sort_key, "isSortKey", false
647
+ field :is_sort_key, "isSortKey"
648
648
  field :select_action, "selectAction"
649
649
  field :style, "style"
650
- field :show_border, "showBorder", false
651
- field :rounded_corners, "roundedCorners", false
652
- field :bleed, "bleed", false
650
+ field :show_border, "showBorder"
651
+ field :rounded_corners, "roundedCorners"
652
+ field :bleed, "bleed"
653
653
  field :min_height, "minHeight"
654
654
  field :min_width, "minWidth"
655
655
  field :grid_area, "gridArea"
@@ -662,15 +662,15 @@ module Teams
662
662
  field :key, "key"
663
663
  field :type, "type", "Component"
664
664
  field :id, "id"
665
- field :requires, "requires", {}, mutable: true
665
+ field :requires, "requires"
666
666
  field :lang, "lang"
667
- field :is_visible, "isVisible", true
668
- field :separator, "separator", false
669
- field :height, "height", "auto"
667
+ field :is_visible, "isVisible"
668
+ field :separator, "separator"
669
+ field :height, "height"
670
670
  field :horizontal_alignment, "horizontalAlignment"
671
- field :spacing, "spacing", "Default"
671
+ field :spacing, "spacing"
672
672
  field :target_width, "targetWidth"
673
- field :is_sort_key, "isSortKey", false
673
+ field :is_sort_key, "isSortKey"
674
674
  field :name, "name", "graph.microsoft.com/event"
675
675
  field :properties, "properties"
676
676
  field :grid_area, "gridArea"
@@ -682,15 +682,15 @@ module Teams
682
682
  field :key, "key"
683
683
  field :type, "type", "Component"
684
684
  field :id, "id"
685
- field :requires, "requires", {}, mutable: true
685
+ field :requires, "requires"
686
686
  field :lang, "lang"
687
- field :is_visible, "isVisible", true
688
- field :separator, "separator", false
689
- field :height, "height", "auto"
687
+ field :is_visible, "isVisible"
688
+ field :separator, "separator"
689
+ field :height, "height"
690
690
  field :horizontal_alignment, "horizontalAlignment"
691
- field :spacing, "spacing", "Default"
691
+ field :spacing, "spacing"
692
692
  field :target_width, "targetWidth"
693
- field :is_sort_key, "isSortKey", false
693
+ field :is_sort_key, "isSortKey"
694
694
  field :name, "name", "graph.microsoft.com/file"
695
695
  field :properties, "properties"
696
696
  field :grid_area, "gridArea"
@@ -702,15 +702,15 @@ module Teams
702
702
  field :key, "key"
703
703
  field :type, "type", "Component"
704
704
  field :id, "id"
705
- field :requires, "requires", {}, mutable: true
705
+ field :requires, "requires"
706
706
  field :lang, "lang"
707
- field :is_visible, "isVisible", true
708
- field :separator, "separator", false
709
- field :height, "height", "auto"
707
+ field :is_visible, "isVisible"
708
+ field :separator, "separator"
709
+ field :height, "height"
710
710
  field :horizontal_alignment, "horizontalAlignment"
711
- field :spacing, "spacing", "Default"
711
+ field :spacing, "spacing"
712
712
  field :target_width, "targetWidth"
713
- field :is_sort_key, "isSortKey", false
713
+ field :is_sort_key, "isSortKey"
714
714
  field :name, "name", "graph.microsoft.com/resource"
715
715
  field :properties, "properties"
716
716
  field :grid_area, "gridArea"
@@ -722,15 +722,15 @@ module Teams
722
722
  field :key, "key"
723
723
  field :type, "type", "Component"
724
724
  field :id, "id"
725
- field :requires, "requires", {}, mutable: true
725
+ field :requires, "requires"
726
726
  field :lang, "lang"
727
- field :is_visible, "isVisible", true
728
- field :separator, "separator", false
729
- field :height, "height", "auto"
727
+ field :is_visible, "isVisible"
728
+ field :separator, "separator"
729
+ field :height, "height"
730
730
  field :horizontal_alignment, "horizontalAlignment"
731
- field :spacing, "spacing", "Default"
731
+ field :spacing, "spacing"
732
732
  field :target_width, "targetWidth"
733
- field :is_sort_key, "isSortKey", false
733
+ field :is_sort_key, "isSortKey"
734
734
  field :name, "name", "graph.microsoft.com/user"
735
735
  field :properties, "properties"
736
736
  field :grid_area, "gridArea"
@@ -742,15 +742,15 @@ module Teams
742
742
  field :key, "key"
743
743
  field :type, "type", "Component"
744
744
  field :id, "id"
745
- field :requires, "requires", {}, mutable: true
745
+ field :requires, "requires"
746
746
  field :lang, "lang"
747
- field :is_visible, "isVisible", true
748
- field :separator, "separator", false
749
- field :height, "height", "auto"
747
+ field :is_visible, "isVisible"
748
+ field :separator, "separator"
749
+ field :height, "height"
750
750
  field :horizontal_alignment, "horizontalAlignment"
751
- field :spacing, "spacing", "Default"
751
+ field :spacing, "spacing"
752
752
  field :target_width, "targetWidth"
753
- field :is_sort_key, "isSortKey", false
753
+ field :is_sort_key, "isSortKey"
754
754
  field :name, "name", "graph.microsoft.com/users"
755
755
  field :properties, "properties"
756
756
  field :grid_area, "gridArea"
@@ -762,15 +762,15 @@ module Teams
762
762
  field :key, "key"
763
763
  field :type, "type", "CompoundButton"
764
764
  field :id, "id"
765
- field :requires, "requires", {}, mutable: true
765
+ field :requires, "requires"
766
766
  field :lang, "lang"
767
- field :is_visible, "isVisible", true
768
- field :separator, "separator", false
769
- field :height, "height", "auto"
767
+ field :is_visible, "isVisible"
768
+ field :separator, "separator"
769
+ field :height, "height"
770
770
  field :horizontal_alignment, "horizontalAlignment"
771
- field :spacing, "spacing", "Default"
771
+ field :spacing, "spacing"
772
772
  field :target_width, "targetWidth"
773
- field :is_sort_key, "isSortKey", false
773
+ field :is_sort_key, "isSortKey"
774
774
  field :icon, "icon"
775
775
  field :badge, "badge"
776
776
  field :title, "title"
@@ -785,21 +785,21 @@ module Teams
785
785
  field :key, "key"
786
786
  field :type, "type", "Container"
787
787
  field :id, "id"
788
- field :requires, "requires", {}, mutable: true
788
+ field :requires, "requires"
789
789
  field :lang, "lang"
790
- field :is_visible, "isVisible", true
791
- field :separator, "separator", false
792
- field :height, "height", "auto"
790
+ field :is_visible, "isVisible"
791
+ field :separator, "separator"
792
+ field :height, "height"
793
793
  field :horizontal_alignment, "horizontalAlignment"
794
- field :spacing, "spacing", "Default"
794
+ field :spacing, "spacing"
795
795
  field :target_width, "targetWidth"
796
- field :is_sort_key, "isSortKey", false
796
+ field :is_sort_key, "isSortKey"
797
797
  field :select_action, "selectAction"
798
798
  field :style, "style"
799
- field :show_border, "showBorder", false
800
- field :rounded_corners, "roundedCorners", false
799
+ field :show_border, "showBorder"
800
+ field :rounded_corners, "roundedCorners"
801
801
  field :layouts, "layouts"
802
- field :bleed, "bleed", false
802
+ field :bleed, "bleed"
803
803
  field :min_height, "minHeight"
804
804
  field :background_image, "backgroundImage"
805
805
  field :vertical_content_alignment, "verticalContentAlignment"
@@ -815,16 +815,16 @@ module Teams
815
815
  field :key, "key"
816
816
  field :type, "type", "Input.Date"
817
817
  field :id, "id"
818
- field :requires, "requires", {}, mutable: true
818
+ field :requires, "requires"
819
819
  field :lang, "lang"
820
- field :is_visible, "isVisible", true
821
- field :separator, "separator", false
822
- field :height, "height", "auto"
823
- field :spacing, "spacing", "Default"
820
+ field :is_visible, "isVisible"
821
+ field :separator, "separator"
822
+ field :height, "height"
823
+ field :spacing, "spacing"
824
824
  field :target_width, "targetWidth"
825
- field :is_sort_key, "isSortKey", false
825
+ field :is_sort_key, "isSortKey"
826
826
  field :label, "label"
827
- field :is_required, "isRequired", false
827
+ field :is_required, "isRequired"
828
828
  field :error_message, "errorMessage"
829
829
  field :value_changed_action, "valueChangedAction"
830
830
  field :value, "value"
@@ -840,25 +840,25 @@ module Teams
840
840
  field :key, "key"
841
841
  field :type, "type", "Chart.Donut"
842
842
  field :id, "id"
843
- field :requires, "requires", {}, mutable: true
843
+ field :requires, "requires"
844
844
  field :lang, "lang"
845
- field :is_visible, "isVisible", true
846
- field :separator, "separator", false
847
- field :height, "height", "auto"
845
+ field :is_visible, "isVisible"
846
+ field :separator, "separator"
847
+ field :height, "height"
848
848
  field :horizontal_alignment, "horizontalAlignment"
849
- field :spacing, "spacing", "Default"
849
+ field :spacing, "spacing"
850
850
  field :target_width, "targetWidth"
851
- field :is_sort_key, "isSortKey", false
851
+ field :is_sort_key, "isSortKey"
852
852
  field :title, "title"
853
- field :show_title, "showTitle", false
853
+ field :show_title, "showTitle"
854
854
  field :color_set, "colorSet"
855
855
  field :max_width, "maxWidth"
856
- field :show_legend, "showLegend", true
856
+ field :show_legend, "showLegend"
857
857
  field :data, "data"
858
858
  field :value, "value"
859
859
  field :value_color, "valueColor"
860
860
  field :thickness, "thickness"
861
- field :show_outlines, "showOutlines", true
861
+ field :show_outlines, "showOutlines"
862
862
  field :grid_area, "gridArea"
863
863
  field :fallback, "fallback"
864
864
  end
@@ -868,18 +868,18 @@ module Teams
868
868
  field :key, "key"
869
869
  field :type, "type", "Action.Execute"
870
870
  field :id, "id"
871
- field :requires, "requires", {}, mutable: true
871
+ field :requires, "requires"
872
872
  field :title, "title"
873
873
  field :icon_url, "iconUrl"
874
- field :style, "style", "default"
875
- field :mode, "mode", "primary"
874
+ field :style, "style"
875
+ field :mode, "mode"
876
876
  field :tooltip, "tooltip"
877
- field :is_enabled, "isEnabled", true
877
+ field :is_enabled, "isEnabled"
878
878
  field :menu_actions, "menuActions"
879
879
  field :themed_icon_urls, "themedIconUrls"
880
880
  field :data, "data"
881
881
  field :associated_inputs, "associatedInputs"
882
- field :conditionally_enabled, "conditionallyEnabled", false
882
+ field :conditionally_enabled, "conditionallyEnabled"
883
883
  field :verb, "verb"
884
884
  field :fallback, "fallback"
885
885
  end
@@ -889,14 +889,14 @@ module Teams
889
889
  field :key, "key"
890
890
  field :type, "type", "FactSet"
891
891
  field :id, "id"
892
- field :requires, "requires", {}, mutable: true
892
+ field :requires, "requires"
893
893
  field :lang, "lang"
894
- field :is_visible, "isVisible", true
895
- field :separator, "separator", false
896
- field :height, "height", "auto"
897
- field :spacing, "spacing", "Default"
894
+ field :is_visible, "isVisible"
895
+ field :separator, "separator"
896
+ field :height, "height"
897
+ field :spacing, "spacing"
898
898
  field :target_width, "targetWidth"
899
- field :is_sort_key, "isSortKey", false
899
+ field :is_sort_key, "isSortKey"
900
900
  field :facts, "facts"
901
901
  field :grid_area, "gridArea"
902
902
  field :fallback, "fallback"
@@ -907,14 +907,14 @@ module Teams
907
907
  field :key, "key"
908
908
  field :type, "type", "Layout.Flow"
909
909
  field :target_width, "targetWidth"
910
- field :horizontal_items_alignment, "horizontalItemsAlignment", "Center"
911
- field :vertical_items_alignment, "verticalItemsAlignment", "Top"
912
- field :item_fit, "itemFit", "Fit"
910
+ field :horizontal_items_alignment, "horizontalItemsAlignment"
911
+ field :vertical_items_alignment, "verticalItemsAlignment"
912
+ field :item_fit, "itemFit"
913
913
  field :min_item_width, "minItemWidth"
914
914
  field :max_item_width, "maxItemWidth"
915
915
  field :item_width, "itemWidth"
916
- field :column_spacing, "columnSpacing", "Default"
917
- field :row_spacing, "rowSpacing", "Default"
916
+ field :column_spacing, "columnSpacing"
917
+ field :row_spacing, "rowSpacing"
918
918
  end
919
919
 
920
920
  # A gauge chart.
@@ -922,29 +922,29 @@ module Teams
922
922
  field :key, "key"
923
923
  field :type, "type", "Chart.Gauge"
924
924
  field :id, "id"
925
- field :requires, "requires", {}, mutable: true
925
+ field :requires, "requires"
926
926
  field :lang, "lang"
927
- field :is_visible, "isVisible", true
928
- field :separator, "separator", false
929
- field :height, "height", "auto"
927
+ field :is_visible, "isVisible"
928
+ field :separator, "separator"
929
+ field :height, "height"
930
930
  field :horizontal_alignment, "horizontalAlignment"
931
- field :spacing, "spacing", "Default"
931
+ field :spacing, "spacing"
932
932
  field :target_width, "targetWidth"
933
- field :is_sort_key, "isSortKey", false
933
+ field :is_sort_key, "isSortKey"
934
934
  field :title, "title"
935
- field :show_title, "showTitle", false
935
+ field :show_title, "showTitle"
936
936
  field :color_set, "colorSet"
937
937
  field :max_width, "maxWidth"
938
- field :show_legend, "showLegend", true
939
- field :min, "min", 0
938
+ field :show_legend, "showLegend"
939
+ field :min, "min"
940
940
  field :max, "max"
941
941
  field :sub_label, "subLabel"
942
- field :show_min_max, "showMinMax", true
943
- field :show_needle, "showNeedle", true
944
- field :show_outlines, "showOutlines", true
942
+ field :show_min_max, "showMinMax"
943
+ field :show_needle, "showNeedle"
944
+ field :show_outlines, "showOutlines"
945
945
  field :segments, "segments"
946
- field :value, "value", 0
947
- field :value_format, "valueFormat", "Percentage"
946
+ field :value, "value"
947
+ field :value_format, "valueFormat"
948
948
  field :grid_area, "gridArea"
949
949
  field :fallback, "fallback"
950
950
  end
@@ -954,26 +954,26 @@ module Teams
954
954
  field :key, "key"
955
955
  field :type, "type", "Chart.VerticalBar.Grouped"
956
956
  field :id, "id"
957
- field :requires, "requires", {}, mutable: true
957
+ field :requires, "requires"
958
958
  field :lang, "lang"
959
- field :is_visible, "isVisible", true
960
- field :separator, "separator", false
961
- field :height, "height", "auto"
959
+ field :is_visible, "isVisible"
960
+ field :separator, "separator"
961
+ field :height, "height"
962
962
  field :horizontal_alignment, "horizontalAlignment"
963
- field :spacing, "spacing", "Default"
963
+ field :spacing, "spacing"
964
964
  field :target_width, "targetWidth"
965
- field :is_sort_key, "isSortKey", false
965
+ field :is_sort_key, "isSortKey"
966
966
  field :title, "title"
967
- field :show_title, "showTitle", false
967
+ field :show_title, "showTitle"
968
968
  field :color_set, "colorSet"
969
969
  field :max_width, "maxWidth"
970
- field :show_legend, "showLegend", true
970
+ field :show_legend, "showLegend"
971
971
  field :x_axis_title, "xAxisTitle"
972
972
  field :y_axis_title, "yAxisTitle"
973
973
  field :color, "color"
974
- field :stacked, "stacked", false
974
+ field :stacked, "stacked"
975
975
  field :data, "data"
976
- field :show_bar_values, "showBarValues", false
976
+ field :show_bar_values, "showBarValues"
977
977
  field :y_min, "yMin"
978
978
  field :y_max, "yMax"
979
979
  field :grid_area, "gridArea"
@@ -985,25 +985,25 @@ module Teams
985
985
  field :key, "key"
986
986
  field :type, "type", "Chart.HorizontalBar"
987
987
  field :id, "id"
988
- field :requires, "requires", {}, mutable: true
988
+ field :requires, "requires"
989
989
  field :lang, "lang"
990
- field :is_visible, "isVisible", true
991
- field :separator, "separator", false
992
- field :height, "height", "auto"
990
+ field :is_visible, "isVisible"
991
+ field :separator, "separator"
992
+ field :height, "height"
993
993
  field :horizontal_alignment, "horizontalAlignment"
994
- field :spacing, "spacing", "Default"
994
+ field :spacing, "spacing"
995
995
  field :target_width, "targetWidth"
996
- field :is_sort_key, "isSortKey", false
996
+ field :is_sort_key, "isSortKey"
997
997
  field :title, "title"
998
- field :show_title, "showTitle", false
998
+ field :show_title, "showTitle"
999
999
  field :color_set, "colorSet"
1000
1000
  field :max_width, "maxWidth"
1001
- field :show_legend, "showLegend", true
1001
+ field :show_legend, "showLegend"
1002
1002
  field :x_axis_title, "xAxisTitle"
1003
1003
  field :y_axis_title, "yAxisTitle"
1004
1004
  field :color, "color"
1005
1005
  field :data, "data"
1006
- field :display_mode, "displayMode", "AbsoluteWithAxis"
1006
+ field :display_mode, "displayMode"
1007
1007
  field :grid_area, "gridArea"
1008
1008
  field :fallback, "fallback"
1009
1009
  end
@@ -1013,18 +1013,18 @@ module Teams
1013
1013
  field :key, "key"
1014
1014
  field :type, "type", "Icon"
1015
1015
  field :id, "id"
1016
- field :requires, "requires", {}, mutable: true
1016
+ field :requires, "requires"
1017
1017
  field :lang, "lang"
1018
- field :is_visible, "isVisible", true
1019
- field :separator, "separator", false
1018
+ field :is_visible, "isVisible"
1019
+ field :separator, "separator"
1020
1020
  field :horizontal_alignment, "horizontalAlignment"
1021
- field :spacing, "spacing", "Default"
1021
+ field :spacing, "spacing"
1022
1022
  field :target_width, "targetWidth"
1023
- field :is_sort_key, "isSortKey", false
1023
+ field :is_sort_key, "isSortKey"
1024
1024
  field :name, "name"
1025
- field :size, "size", "Standard"
1026
- field :style, "style", "Regular"
1027
- field :color, "color", "Default"
1025
+ field :size, "size"
1026
+ field :style, "style"
1027
+ field :color, "color"
1028
1028
  field :select_action, "selectAction"
1029
1029
  field :grid_area, "gridArea"
1030
1030
  field :fallback, "fallback"
@@ -1036,12 +1036,12 @@ module Teams
1036
1036
  field :type, "type", "IconRun"
1037
1037
  field :id, "id"
1038
1038
  field :lang, "lang"
1039
- field :is_visible, "isVisible", true
1040
- field :is_sort_key, "isSortKey", false
1039
+ field :is_visible, "isVisible"
1040
+ field :is_sort_key, "isSortKey"
1041
1041
  field :name, "name"
1042
- field :size, "size", "Default"
1043
- field :style, "style", "Regular"
1044
- field :color, "color", "Default"
1042
+ field :size, "size"
1043
+ field :style, "style"
1044
+ field :color, "color"
1045
1045
  field :select_action, "selectAction"
1046
1046
  field :grid_area, "gridArea"
1047
1047
  field :fallback, "fallback"
@@ -1052,28 +1052,28 @@ module Teams
1052
1052
  field :key, "key"
1053
1053
  field :type, "type", "Image"
1054
1054
  field :id, "id"
1055
- field :requires, "requires", {}, mutable: true
1055
+ field :requires, "requires"
1056
1056
  field :lang, "lang"
1057
- field :is_visible, "isVisible", true
1058
- field :separator, "separator", false
1057
+ field :is_visible, "isVisible"
1058
+ field :separator, "separator"
1059
1059
  field :horizontal_alignment, "horizontalAlignment"
1060
- field :spacing, "spacing", "Default"
1060
+ field :spacing, "spacing"
1061
1061
  field :target_width, "targetWidth"
1062
- field :is_sort_key, "isSortKey", false
1062
+ field :is_sort_key, "isSortKey"
1063
1063
  field :url, "url"
1064
1064
  field :alt_text, "altText"
1065
1065
  field :background_color, "backgroundColor"
1066
- field :style, "style", "Default"
1067
- field :size, "size", "Auto"
1068
- field :width, "width", "auto"
1066
+ field :style, "style"
1067
+ field :size, "size"
1068
+ field :width, "width"
1069
1069
  field :select_action, "selectAction"
1070
- field :allow_expand, "allowExpand", false
1070
+ field :allow_expand, "allowExpand"
1071
1071
  field :msteams, "msteams"
1072
1072
  field :themed_urls, "themedUrls"
1073
- field :fit_mode, "fitMode", "Fill"
1074
- field :horizontal_content_alignment, "horizontalContentAlignment", "Left"
1075
- field :vertical_content_alignment, "verticalContentAlignment", "Top"
1076
- field :height, "height", "auto"
1073
+ field :fit_mode, "fitMode"
1074
+ field :horizontal_content_alignment, "horizontalContentAlignment"
1075
+ field :vertical_content_alignment, "verticalContentAlignment"
1076
+ field :height, "height"
1077
1077
  field :grid_area, "gridArea"
1078
1078
  field :fallback, "fallback"
1079
1079
  end
@@ -1084,11 +1084,11 @@ module Teams
1084
1084
  field :type, "type", "ImageRun"
1085
1085
  field :id, "id"
1086
1086
  field :lang, "lang"
1087
- field :is_visible, "isVisible", true
1088
- field :is_sort_key, "isSortKey", false
1087
+ field :is_visible, "isVisible"
1088
+ field :is_sort_key, "isSortKey"
1089
1089
  field :url, "url"
1090
- field :size, "size", "Default"
1091
- field :style, "style", "Default"
1090
+ field :size, "size"
1091
+ field :style, "style"
1092
1092
  field :select_action, "selectAction"
1093
1093
  field :themed_urls, "themedUrls"
1094
1094
  field :grid_area, "gridArea"
@@ -1100,17 +1100,17 @@ module Teams
1100
1100
  field :key, "key"
1101
1101
  field :type, "type", "ImageSet"
1102
1102
  field :id, "id"
1103
- field :requires, "requires", {}, mutable: true
1103
+ field :requires, "requires"
1104
1104
  field :lang, "lang"
1105
- field :is_visible, "isVisible", true
1106
- field :separator, "separator", false
1107
- field :height, "height", "auto"
1105
+ field :is_visible, "isVisible"
1106
+ field :separator, "separator"
1107
+ field :height, "height"
1108
1108
  field :horizontal_alignment, "horizontalAlignment"
1109
- field :spacing, "spacing", "Default"
1109
+ field :spacing, "spacing"
1110
1110
  field :target_width, "targetWidth"
1111
- field :is_sort_key, "isSortKey", false
1111
+ field :is_sort_key, "isSortKey"
1112
1112
  field :images, "images"
1113
- field :image_size, "imageSize", "Medium"
1113
+ field :image_size, "imageSize"
1114
1114
  field :grid_area, "gridArea"
1115
1115
  field :fallback, "fallback"
1116
1116
  end
@@ -1120,18 +1120,18 @@ module Teams
1120
1120
  field :key, "key"
1121
1121
  field :type, "type", "Action.InsertImage"
1122
1122
  field :id, "id"
1123
- field :requires, "requires", {}, mutable: true
1123
+ field :requires, "requires"
1124
1124
  field :title, "title"
1125
1125
  field :icon_url, "iconUrl"
1126
- field :style, "style", "default"
1127
- field :mode, "mode", "primary"
1126
+ field :style, "style"
1127
+ field :mode, "mode"
1128
1128
  field :tooltip, "tooltip"
1129
- field :is_enabled, "isEnabled", true
1129
+ field :is_enabled, "isEnabled"
1130
1130
  field :menu_actions, "menuActions"
1131
1131
  field :themed_icon_urls, "themedIconUrls"
1132
1132
  field :url, "url"
1133
1133
  field :alt_text, "altText"
1134
- field :insert_position, "insertPosition", "Selection"
1134
+ field :insert_position, "insertPosition"
1135
1135
  field :fallback, "fallback"
1136
1136
  end
1137
1137
 
@@ -1140,20 +1140,20 @@ module Teams
1140
1140
  field :key, "key"
1141
1141
  field :type, "type", "Chart.Line"
1142
1142
  field :id, "id"
1143
- field :requires, "requires", {}, mutable: true
1143
+ field :requires, "requires"
1144
1144
  field :lang, "lang"
1145
- field :is_visible, "isVisible", true
1146
- field :separator, "separator", false
1147
- field :height, "height", "auto"
1145
+ field :is_visible, "isVisible"
1146
+ field :separator, "separator"
1147
+ field :height, "height"
1148
1148
  field :horizontal_alignment, "horizontalAlignment"
1149
- field :spacing, "spacing", "Default"
1149
+ field :spacing, "spacing"
1150
1150
  field :target_width, "targetWidth"
1151
- field :is_sort_key, "isSortKey", false
1151
+ field :is_sort_key, "isSortKey"
1152
1152
  field :title, "title"
1153
- field :show_title, "showTitle", false
1153
+ field :show_title, "showTitle"
1154
1154
  field :color_set, "colorSet"
1155
1155
  field :max_width, "maxWidth"
1156
- field :show_legend, "showLegend", true
1156
+ field :show_legend, "showLegend"
1157
1157
  field :x_axis_title, "xAxisTitle"
1158
1158
  field :y_axis_title, "yAxisTitle"
1159
1159
  field :color, "color"
@@ -1169,14 +1169,14 @@ module Teams
1169
1169
  field :key, "key"
1170
1170
  field :type, "type", "Media"
1171
1171
  field :id, "id"
1172
- field :requires, "requires", {}, mutable: true
1172
+ field :requires, "requires"
1173
1173
  field :lang, "lang"
1174
- field :is_visible, "isVisible", true
1175
- field :separator, "separator", false
1176
- field :height, "height", "auto"
1177
- field :spacing, "spacing", "Default"
1174
+ field :is_visible, "isVisible"
1175
+ field :separator, "separator"
1176
+ field :height, "height"
1177
+ field :spacing, "spacing"
1178
1178
  field :target_width, "targetWidth"
1179
- field :is_sort_key, "isSortKey", false
1179
+ field :is_sort_key, "isSortKey"
1180
1180
  field :sources, "sources"
1181
1181
  field :caption_sources, "captionSources"
1182
1182
  field :poster, "poster"
@@ -1190,16 +1190,16 @@ module Teams
1190
1190
  field :key, "key"
1191
1191
  field :type, "type", "Input.Number"
1192
1192
  field :id, "id"
1193
- field :requires, "requires", {}, mutable: true
1193
+ field :requires, "requires"
1194
1194
  field :lang, "lang"
1195
- field :is_visible, "isVisible", true
1196
- field :separator, "separator", false
1197
- field :height, "height", "auto"
1198
- field :spacing, "spacing", "Default"
1195
+ field :is_visible, "isVisible"
1196
+ field :separator, "separator"
1197
+ field :height, "height"
1198
+ field :spacing, "spacing"
1199
1199
  field :target_width, "targetWidth"
1200
- field :is_sort_key, "isSortKey", false
1200
+ field :is_sort_key, "isSortKey"
1201
1201
  field :label, "label"
1202
- field :is_required, "isRequired", false
1202
+ field :is_required, "isRequired"
1203
1203
  field :error_message, "errorMessage"
1204
1204
  field :value_changed_action, "valueChangedAction"
1205
1205
  field :value, "value"
@@ -1215,13 +1215,13 @@ module Teams
1215
1215
  field :key, "key"
1216
1216
  field :type, "type", "Action.OpenUrl"
1217
1217
  field :id, "id"
1218
- field :requires, "requires", {}, mutable: true
1218
+ field :requires, "requires"
1219
1219
  field :title, "title"
1220
1220
  field :icon_url, "iconUrl"
1221
- field :style, "style", "default"
1222
- field :mode, "mode", "primary"
1221
+ field :style, "style"
1222
+ field :mode, "mode"
1223
1223
  field :tooltip, "tooltip"
1224
- field :is_enabled, "isEnabled", true
1224
+ field :is_enabled, "isEnabled"
1225
1225
  field :menu_actions, "menuActions"
1226
1226
  field :themed_icon_urls, "themedIconUrls"
1227
1227
  field :url, "url"
@@ -1234,13 +1234,13 @@ module Teams
1234
1234
  field :key, "key"
1235
1235
  field :type, "type", "Action.OpenUrlDialog"
1236
1236
  field :id, "id"
1237
- field :requires, "requires", {}, mutable: true
1237
+ field :requires, "requires"
1238
1238
  field :title, "title"
1239
1239
  field :icon_url, "iconUrl"
1240
- field :style, "style", "default"
1241
- field :mode, "mode", "primary"
1240
+ field :style, "style"
1241
+ field :mode, "mode"
1242
1242
  field :tooltip, "tooltip"
1243
- field :is_enabled, "isEnabled", true
1243
+ field :is_enabled, "isEnabled"
1244
1244
  field :menu_actions, "menuActions"
1245
1245
  field :themed_icon_urls, "themedIconUrls"
1246
1246
  field :dialog_title, "dialogTitle"
@@ -1255,25 +1255,25 @@ module Teams
1255
1255
  field :key, "key"
1256
1256
  field :type, "type", "Chart.Pie"
1257
1257
  field :id, "id"
1258
- field :requires, "requires", {}, mutable: true
1258
+ field :requires, "requires"
1259
1259
  field :lang, "lang"
1260
- field :is_visible, "isVisible", true
1261
- field :separator, "separator", false
1262
- field :height, "height", "auto"
1260
+ field :is_visible, "isVisible"
1261
+ field :separator, "separator"
1262
+ field :height, "height"
1263
1263
  field :horizontal_alignment, "horizontalAlignment"
1264
- field :spacing, "spacing", "Default"
1264
+ field :spacing, "spacing"
1265
1265
  field :target_width, "targetWidth"
1266
- field :is_sort_key, "isSortKey", false
1266
+ field :is_sort_key, "isSortKey"
1267
1267
  field :title, "title"
1268
- field :show_title, "showTitle", false
1268
+ field :show_title, "showTitle"
1269
1269
  field :color_set, "colorSet"
1270
1270
  field :max_width, "maxWidth"
1271
- field :show_legend, "showLegend", true
1271
+ field :show_legend, "showLegend"
1272
1272
  field :data, "data"
1273
1273
  field :value, "value"
1274
1274
  field :value_color, "valueColor"
1275
1275
  field :thickness, "thickness"
1276
- field :show_outlines, "showOutlines", true
1276
+ field :show_outlines, "showOutlines"
1277
1277
  field :grid_area, "gridArea"
1278
1278
  field :fallback, "fallback"
1279
1279
  end
@@ -1283,17 +1283,17 @@ module Teams
1283
1283
  field :key, "key"
1284
1284
  field :type, "type", "Action.Popover"
1285
1285
  field :id, "id"
1286
- field :requires, "requires", {}, mutable: true
1286
+ field :requires, "requires"
1287
1287
  field :title, "title"
1288
1288
  field :icon_url, "iconUrl"
1289
- field :style, "style", "default"
1290
- field :mode, "mode", "primary"
1289
+ field :style, "style"
1290
+ field :mode, "mode"
1291
1291
  field :tooltip, "tooltip"
1292
- field :is_enabled, "isEnabled", true
1292
+ field :is_enabled, "isEnabled"
1293
1293
  field :themed_icon_urls, "themedIconUrls"
1294
1294
  field :content, "content"
1295
- field :display_arrow, "displayArrow", true
1296
- field :position, "position", "Above"
1295
+ field :display_arrow, "displayArrow"
1296
+ field :position, "position"
1297
1297
  field :max_popover_width, "maxPopoverWidth"
1298
1298
  field :fallback, "fallback"
1299
1299
  end
@@ -1303,18 +1303,18 @@ module Teams
1303
1303
  field :key, "key"
1304
1304
  field :type, "type", "ProgressBar"
1305
1305
  field :id, "id"
1306
- field :requires, "requires", {}, mutable: true
1306
+ field :requires, "requires"
1307
1307
  field :lang, "lang"
1308
- field :is_visible, "isVisible", true
1309
- field :separator, "separator", false
1310
- field :height, "height", "auto"
1308
+ field :is_visible, "isVisible"
1309
+ field :separator, "separator"
1310
+ field :height, "height"
1311
1311
  field :horizontal_alignment, "horizontalAlignment"
1312
- field :spacing, "spacing", "Default"
1312
+ field :spacing, "spacing"
1313
1313
  field :target_width, "targetWidth"
1314
- field :is_sort_key, "isSortKey", false
1314
+ field :is_sort_key, "isSortKey"
1315
1315
  field :value, "value"
1316
- field :max, "max", 100
1317
- field :color, "color", "Accent"
1316
+ field :max, "max"
1317
+ field :color, "color"
1318
1318
  field :grid_area, "gridArea"
1319
1319
  field :fallback, "fallback"
1320
1320
  end
@@ -1324,18 +1324,18 @@ module Teams
1324
1324
  field :key, "key"
1325
1325
  field :type, "type", "ProgressRing"
1326
1326
  field :id, "id"
1327
- field :requires, "requires", {}, mutable: true
1327
+ field :requires, "requires"
1328
1328
  field :lang, "lang"
1329
- field :is_visible, "isVisible", true
1330
- field :separator, "separator", false
1331
- field :height, "height", "auto"
1329
+ field :is_visible, "isVisible"
1330
+ field :separator, "separator"
1331
+ field :height, "height"
1332
1332
  field :horizontal_alignment, "horizontalAlignment"
1333
- field :spacing, "spacing", "Default"
1333
+ field :spacing, "spacing"
1334
1334
  field :target_width, "targetWidth"
1335
- field :is_sort_key, "isSortKey", false
1335
+ field :is_sort_key, "isSortKey"
1336
1336
  field :label, "label"
1337
- field :label_position, "labelPosition", "Below"
1338
- field :size, "size", "Medium"
1337
+ field :label_position, "labelPosition"
1338
+ field :size, "size"
1339
1339
  field :grid_area, "gridArea"
1340
1340
  field :fallback, "fallback"
1341
1341
  end
@@ -1345,21 +1345,21 @@ module Teams
1345
1345
  field :key, "key"
1346
1346
  field :type, "type", "Rating"
1347
1347
  field :id, "id"
1348
- field :requires, "requires", {}, mutable: true
1348
+ field :requires, "requires"
1349
1349
  field :lang, "lang"
1350
- field :is_visible, "isVisible", true
1351
- field :separator, "separator", false
1352
- field :height, "height", "auto"
1350
+ field :is_visible, "isVisible"
1351
+ field :separator, "separator"
1352
+ field :height, "height"
1353
1353
  field :horizontal_alignment, "horizontalAlignment"
1354
- field :spacing, "spacing", "Default"
1354
+ field :spacing, "spacing"
1355
1355
  field :target_width, "targetWidth"
1356
- field :is_sort_key, "isSortKey", false
1356
+ field :is_sort_key, "isSortKey"
1357
1357
  field :value, "value"
1358
1358
  field :count, "count"
1359
- field :max, "max", 5
1360
- field :size, "size", "Large"
1361
- field :color, "color", "Neutral"
1362
- field :style, "style", "Default"
1359
+ field :max, "max"
1360
+ field :size, "size"
1361
+ field :color, "color"
1362
+ field :style, "style"
1363
1363
  field :grid_area, "gridArea"
1364
1364
  field :fallback, "fallback"
1365
1365
  end
@@ -1369,23 +1369,23 @@ module Teams
1369
1369
  field :key, "key"
1370
1370
  field :type, "type", "Input.Rating"
1371
1371
  field :id, "id"
1372
- field :requires, "requires", {}, mutable: true
1372
+ field :requires, "requires"
1373
1373
  field :lang, "lang"
1374
- field :is_visible, "isVisible", true
1375
- field :separator, "separator", false
1376
- field :height, "height", "auto"
1377
- field :spacing, "spacing", "Default"
1374
+ field :is_visible, "isVisible"
1375
+ field :separator, "separator"
1376
+ field :height, "height"
1377
+ field :spacing, "spacing"
1378
1378
  field :target_width, "targetWidth"
1379
- field :is_sort_key, "isSortKey", false
1379
+ field :is_sort_key, "isSortKey"
1380
1380
  field :label, "label"
1381
- field :is_required, "isRequired", false
1381
+ field :is_required, "isRequired"
1382
1382
  field :error_message, "errorMessage"
1383
1383
  field :value_changed_action, "valueChangedAction"
1384
1384
  field :value, "value"
1385
- field :max, "max", 5
1386
- field :allow_half_steps, "allowHalfSteps", false
1387
- field :size, "size", "Large"
1388
- field :color, "color", "Neutral"
1385
+ field :max, "max"
1386
+ field :allow_half_steps, "allowHalfSteps"
1387
+ field :size, "size"
1388
+ field :color, "color"
1389
1389
  field :grid_area, "gridArea"
1390
1390
  field :fallback, "fallback"
1391
1391
  end
@@ -1395,13 +1395,13 @@ module Teams
1395
1395
  field :key, "key"
1396
1396
  field :type, "type", "Action.ResetInputs"
1397
1397
  field :id, "id"
1398
- field :requires, "requires", {}, mutable: true
1398
+ field :requires, "requires"
1399
1399
  field :title, "title"
1400
1400
  field :icon_url, "iconUrl"
1401
- field :style, "style", "default"
1402
- field :mode, "mode", "primary"
1401
+ field :style, "style"
1402
+ field :mode, "mode"
1403
1403
  field :tooltip, "tooltip"
1404
- field :is_enabled, "isEnabled", true
1404
+ field :is_enabled, "isEnabled"
1405
1405
  field :menu_actions, "menuActions"
1406
1406
  field :themed_icon_urls, "themedIconUrls"
1407
1407
  field :target_input_ids, "targetInputIds"
@@ -1413,15 +1413,15 @@ module Teams
1413
1413
  field :key, "key"
1414
1414
  field :type, "type", "RichTextBlock"
1415
1415
  field :id, "id"
1416
- field :requires, "requires", {}, mutable: true
1416
+ field :requires, "requires"
1417
1417
  field :lang, "lang"
1418
- field :is_visible, "isVisible", true
1419
- field :separator, "separator", false
1420
- field :height, "height", "auto"
1418
+ field :is_visible, "isVisible"
1419
+ field :separator, "separator"
1420
+ field :height, "height"
1421
1421
  field :horizontal_alignment, "horizontalAlignment"
1422
- field :spacing, "spacing", "Default"
1422
+ field :spacing, "spacing"
1423
1423
  field :target_width, "targetWidth"
1424
- field :is_sort_key, "isSortKey", false
1424
+ field :is_sort_key, "isSortKey"
1425
1425
  field :label_for, "labelFor"
1426
1426
  field :grid_area, "gridArea"
1427
1427
  field :fallback, "fallback"
@@ -1433,13 +1433,13 @@ module Teams
1433
1433
  field :key, "key"
1434
1434
  field :type, "type", "Action.ShowCard"
1435
1435
  field :id, "id"
1436
- field :requires, "requires", {}, mutable: true
1436
+ field :requires, "requires"
1437
1437
  field :title, "title"
1438
1438
  field :icon_url, "iconUrl"
1439
- field :style, "style", "default"
1440
- field :mode, "mode", "primary"
1439
+ field :style, "style"
1440
+ field :mode, "mode"
1441
1441
  field :tooltip, "tooltip"
1442
- field :is_enabled, "isEnabled", true
1442
+ field :is_enabled, "isEnabled"
1443
1443
  field :menu_actions, "menuActions"
1444
1444
  field :themed_icon_urls, "themedIconUrls"
1445
1445
  field :fallback, "fallback"
@@ -1458,20 +1458,20 @@ module Teams
1458
1458
  field :key, "key"
1459
1459
  field :type, "type", "Chart.HorizontalBar.Stacked"
1460
1460
  field :id, "id"
1461
- field :requires, "requires", {}, mutable: true
1461
+ field :requires, "requires"
1462
1462
  field :lang, "lang"
1463
- field :is_visible, "isVisible", true
1464
- field :separator, "separator", false
1465
- field :height, "height", "auto"
1463
+ field :is_visible, "isVisible"
1464
+ field :separator, "separator"
1465
+ field :height, "height"
1466
1466
  field :horizontal_alignment, "horizontalAlignment"
1467
- field :spacing, "spacing", "Default"
1467
+ field :spacing, "spacing"
1468
1468
  field :target_width, "targetWidth"
1469
- field :is_sort_key, "isSortKey", false
1469
+ field :is_sort_key, "isSortKey"
1470
1470
  field :title, "title"
1471
- field :show_title, "showTitle", false
1471
+ field :show_title, "showTitle"
1472
1472
  field :color_set, "colorSet"
1473
1473
  field :max_width, "maxWidth"
1474
- field :show_legend, "showLegend", true
1474
+ field :show_legend, "showLegend"
1475
1475
  field :x_axis_title, "xAxisTitle"
1476
1476
  field :y_axis_title, "yAxisTitle"
1477
1477
  field :color, "color"
@@ -1485,18 +1485,18 @@ module Teams
1485
1485
  field :key, "key"
1486
1486
  field :type, "type", "Action.Submit"
1487
1487
  field :id, "id"
1488
- field :requires, "requires", {}, mutable: true
1488
+ field :requires, "requires"
1489
1489
  field :title, "title"
1490
1490
  field :icon_url, "iconUrl"
1491
- field :style, "style", "default"
1492
- field :mode, "mode", "primary"
1491
+ field :style, "style"
1492
+ field :mode, "mode"
1493
1493
  field :tooltip, "tooltip"
1494
- field :is_enabled, "isEnabled", true
1494
+ field :is_enabled, "isEnabled"
1495
1495
  field :menu_actions, "menuActions"
1496
1496
  field :themed_icon_urls, "themedIconUrls"
1497
1497
  field :data, "data"
1498
1498
  field :associated_inputs, "associatedInputs"
1499
- field :conditionally_enabled, "conditionallyEnabled", false
1499
+ field :conditionally_enabled, "conditionallyEnabled"
1500
1500
  field :msteams, "msteams"
1501
1501
  field :fallback, "fallback"
1502
1502
  end
@@ -1506,22 +1506,22 @@ module Teams
1506
1506
  field :key, "key"
1507
1507
  field :type, "type", "Table"
1508
1508
  field :id, "id"
1509
- field :requires, "requires", {}, mutable: true
1509
+ field :requires, "requires"
1510
1510
  field :lang, "lang"
1511
- field :is_visible, "isVisible", true
1512
- field :separator, "separator", false
1513
- field :height, "height", "auto"
1511
+ field :is_visible, "isVisible"
1512
+ field :separator, "separator"
1513
+ field :height, "height"
1514
1514
  field :horizontal_alignment, "horizontalAlignment"
1515
- field :spacing, "spacing", "Default"
1515
+ field :spacing, "spacing"
1516
1516
  field :target_width, "targetWidth"
1517
- field :is_sort_key, "isSortKey", false
1517
+ field :is_sort_key, "isSortKey"
1518
1518
  field :style, "style"
1519
- field :show_border, "showBorder", false
1520
- field :rounded_corners, "roundedCorners", false
1519
+ field :show_border, "showBorder"
1520
+ field :rounded_corners, "roundedCorners"
1521
1521
  field :columns, "columns"
1522
1522
  field :min_width, "minWidth"
1523
- field :first_row_as_headers, "firstRowAsHeaders", true
1524
- field :show_grid_lines, "showGridLines", true
1523
+ field :first_row_as_headers, "firstRowAsHeaders"
1524
+ field :show_grid_lines, "showGridLines"
1525
1525
  field :grid_style, "gridStyle"
1526
1526
  field :horizontal_cell_content_alignment, "horizontalCellContentAlignment"
1527
1527
  field :vertical_cell_content_alignment, "verticalCellContentAlignment"
@@ -1535,18 +1535,18 @@ module Teams
1535
1535
  field :key, "key"
1536
1536
  field :type, "type", "TableCell"
1537
1537
  field :id, "id"
1538
- field :requires, "requires", {}, mutable: true
1538
+ field :requires, "requires"
1539
1539
  field :lang, "lang"
1540
- field :is_visible, "isVisible", true
1541
- field :separator, "separator", false
1542
- field :height, "height", "auto"
1543
- field :spacing, "spacing", "Default"
1540
+ field :is_visible, "isVisible"
1541
+ field :separator, "separator"
1542
+ field :height, "height"
1543
+ field :spacing, "spacing"
1544
1544
  field :target_width, "targetWidth"
1545
- field :is_sort_key, "isSortKey", false
1545
+ field :is_sort_key, "isSortKey"
1546
1546
  field :select_action, "selectAction"
1547
1547
  field :style, "style"
1548
1548
  field :layouts, "layouts"
1549
- field :bleed, "bleed", false
1549
+ field :bleed, "bleed"
1550
1550
  field :min_height, "minHeight"
1551
1551
  field :background_image, "backgroundImage"
1552
1552
  field :vertical_content_alignment, "verticalContentAlignment"
@@ -1562,17 +1562,17 @@ module Teams
1562
1562
  field :key, "key"
1563
1563
  field :type, "type", "TableRow"
1564
1564
  field :id, "id"
1565
- field :requires, "requires", {}, mutable: true
1565
+ field :requires, "requires"
1566
1566
  field :lang, "lang"
1567
- field :is_visible, "isVisible", true
1568
- field :separator, "separator", false
1569
- field :height, "height", "auto"
1567
+ field :is_visible, "isVisible"
1568
+ field :separator, "separator"
1569
+ field :height, "height"
1570
1570
  field :horizontal_alignment, "horizontalAlignment"
1571
- field :spacing, "spacing", "Default"
1571
+ field :spacing, "spacing"
1572
1572
  field :target_width, "targetWidth"
1573
- field :is_sort_key, "isSortKey", false
1574
- field :show_border, "showBorder", false
1575
- field :rounded_corners, "roundedCorners", false
1573
+ field :is_sort_key, "isSortKey"
1574
+ field :show_border, "showBorder"
1575
+ field :rounded_corners, "roundedCorners"
1576
1576
  field :style, "style"
1577
1577
  field :horizontal_cell_content_alignment, "horizontalCellContentAlignment"
1578
1578
  field :vertical_cell_content_alignment, "verticalCellContentAlignment"
@@ -1586,22 +1586,22 @@ module Teams
1586
1586
  field :key, "key"
1587
1587
  field :type, "type", "TextBlock"
1588
1588
  field :id, "id"
1589
- field :requires, "requires", {}, mutable: true
1589
+ field :requires, "requires"
1590
1590
  field :lang, "lang"
1591
- field :is_visible, "isVisible", true
1592
- field :separator, "separator", false
1593
- field :height, "height", "auto"
1591
+ field :is_visible, "isVisible"
1592
+ field :separator, "separator"
1593
+ field :height, "height"
1594
1594
  field :horizontal_alignment, "horizontalAlignment"
1595
- field :spacing, "spacing", "Default"
1595
+ field :spacing, "spacing"
1596
1596
  field :target_width, "targetWidth"
1597
- field :is_sort_key, "isSortKey", false
1597
+ field :is_sort_key, "isSortKey"
1598
1598
  field :text, "text"
1599
1599
  field :size, "size"
1600
1600
  field :weight, "weight"
1601
1601
  field :color, "color"
1602
1602
  field :is_subtle, "isSubtle"
1603
1603
  field :font_type, "fontType"
1604
- field :wrap, "wrap", false
1604
+ field :wrap, "wrap"
1605
1605
  field :max_lines, "maxLines"
1606
1606
  field :style, "style"
1607
1607
  field :label_for, "labelFor"
@@ -1615,23 +1615,23 @@ module Teams
1615
1615
  field :key, "key"
1616
1616
  field :type, "type", "Input.Text"
1617
1617
  field :id, "id"
1618
- field :requires, "requires", {}, mutable: true
1618
+ field :requires, "requires"
1619
1619
  field :lang, "lang"
1620
- field :is_visible, "isVisible", true
1621
- field :separator, "separator", false
1622
- field :height, "height", "auto"
1623
- field :spacing, "spacing", "Default"
1620
+ field :is_visible, "isVisible"
1621
+ field :separator, "separator"
1622
+ field :height, "height"
1623
+ field :spacing, "spacing"
1624
1624
  field :target_width, "targetWidth"
1625
- field :is_sort_key, "isSortKey", false
1625
+ field :is_sort_key, "isSortKey"
1626
1626
  field :label, "label"
1627
- field :is_required, "isRequired", false
1627
+ field :is_required, "isRequired"
1628
1628
  field :error_message, "errorMessage"
1629
1629
  field :value_changed_action, "valueChangedAction"
1630
1630
  field :value, "value"
1631
1631
  field :max_length, "maxLength"
1632
- field :is_multiline, "isMultiline", false
1632
+ field :is_multiline, "isMultiline"
1633
1633
  field :placeholder, "placeholder"
1634
- field :style, "style", "Text"
1634
+ field :style, "style"
1635
1635
  field :inline_action, "inlineAction"
1636
1636
  field :regex, "regex"
1637
1637
  field :grid_area, "gridArea"
@@ -1644,18 +1644,18 @@ module Teams
1644
1644
  field :type, "type", "TextRun"
1645
1645
  field :id, "id"
1646
1646
  field :lang, "lang"
1647
- field :is_visible, "isVisible", true
1648
- field :is_sort_key, "isSortKey", false
1647
+ field :is_visible, "isVisible"
1648
+ field :is_sort_key, "isSortKey"
1649
1649
  field :text, "text"
1650
1650
  field :size, "size"
1651
1651
  field :weight, "weight"
1652
1652
  field :color, "color"
1653
1653
  field :is_subtle, "isSubtle"
1654
1654
  field :font_type, "fontType"
1655
- field :italic, "italic", false
1656
- field :strikethrough, "strikethrough", false
1657
- field :highlight, "highlight", false
1658
- field :underline, "underline", false
1655
+ field :italic, "italic"
1656
+ field :strikethrough, "strikethrough"
1657
+ field :highlight, "highlight"
1658
+ field :underline, "underline"
1659
1659
  field :select_action, "selectAction"
1660
1660
  field :grid_area, "gridArea"
1661
1661
  field :fallback, "fallback"
@@ -1666,16 +1666,16 @@ module Teams
1666
1666
  field :key, "key"
1667
1667
  field :type, "type", "Input.Time"
1668
1668
  field :id, "id"
1669
- field :requires, "requires", {}, mutable: true
1669
+ field :requires, "requires"
1670
1670
  field :lang, "lang"
1671
- field :is_visible, "isVisible", true
1672
- field :separator, "separator", false
1673
- field :height, "height", "auto"
1674
- field :spacing, "spacing", "Default"
1671
+ field :is_visible, "isVisible"
1672
+ field :separator, "separator"
1673
+ field :height, "height"
1674
+ field :spacing, "spacing"
1675
1675
  field :target_width, "targetWidth"
1676
- field :is_sort_key, "isSortKey", false
1676
+ field :is_sort_key, "isSortKey"
1677
1677
  field :label, "label"
1678
- field :is_required, "isRequired", false
1678
+ field :is_required, "isRequired"
1679
1679
  field :error_message, "errorMessage"
1680
1680
  field :value_changed_action, "valueChangedAction"
1681
1681
  field :value, "value"
@@ -1691,24 +1691,24 @@ module Teams
1691
1691
  field :key, "key"
1692
1692
  field :type, "type", "Input.Toggle"
1693
1693
  field :id, "id"
1694
- field :requires, "requires", {}, mutable: true
1694
+ field :requires, "requires"
1695
1695
  field :lang, "lang"
1696
- field :is_visible, "isVisible", true
1697
- field :separator, "separator", false
1698
- field :height, "height", "auto"
1699
- field :spacing, "spacing", "Default"
1696
+ field :is_visible, "isVisible"
1697
+ field :separator, "separator"
1698
+ field :height, "height"
1699
+ field :spacing, "spacing"
1700
1700
  field :target_width, "targetWidth"
1701
- field :is_sort_key, "isSortKey", false
1701
+ field :is_sort_key, "isSortKey"
1702
1702
  field :label, "label"
1703
- field :is_required, "isRequired", false
1703
+ field :is_required, "isRequired"
1704
1704
  field :error_message, "errorMessage"
1705
1705
  field :value_changed_action, "valueChangedAction"
1706
- field :value, "value", "false"
1706
+ field :value, "value"
1707
1707
  field :title, "title"
1708
- field :value_on, "valueOn", "true"
1709
- field :value_off, "valueOff", "false"
1710
- field :wrap, "wrap", true
1711
- field :show_title, "showTitle", true
1708
+ field :value_on, "valueOn"
1709
+ field :value_off, "valueOff"
1710
+ field :wrap, "wrap"
1711
+ field :show_title, "showTitle"
1712
1712
  field :grid_area, "gridArea"
1713
1713
  field :fallback, "fallback"
1714
1714
  end
@@ -1718,13 +1718,13 @@ module Teams
1718
1718
  field :key, "key"
1719
1719
  field :type, "type", "Action.ToggleVisibility"
1720
1720
  field :id, "id"
1721
- field :requires, "requires", {}, mutable: true
1721
+ field :requires, "requires"
1722
1722
  field :title, "title"
1723
1723
  field :icon_url, "iconUrl"
1724
- field :style, "style", "default"
1725
- field :mode, "mode", "primary"
1724
+ field :style, "style"
1725
+ field :mode, "mode"
1726
1726
  field :tooltip, "tooltip"
1727
- field :is_enabled, "isEnabled", true
1727
+ field :is_enabled, "isEnabled"
1728
1728
  field :menu_actions, "menuActions"
1729
1729
  field :themed_icon_urls, "themedIconUrls"
1730
1730
  field :target_elements, "targetElements"
@@ -1736,25 +1736,25 @@ module Teams
1736
1736
  field :key, "key"
1737
1737
  field :type, "type", "Chart.VerticalBar"
1738
1738
  field :id, "id"
1739
- field :requires, "requires", {}, mutable: true
1739
+ field :requires, "requires"
1740
1740
  field :lang, "lang"
1741
- field :is_visible, "isVisible", true
1742
- field :separator, "separator", false
1743
- field :height, "height", "auto"
1741
+ field :is_visible, "isVisible"
1742
+ field :separator, "separator"
1743
+ field :height, "height"
1744
1744
  field :horizontal_alignment, "horizontalAlignment"
1745
- field :spacing, "spacing", "Default"
1745
+ field :spacing, "spacing"
1746
1746
  field :target_width, "targetWidth"
1747
- field :is_sort_key, "isSortKey", false
1747
+ field :is_sort_key, "isSortKey"
1748
1748
  field :title, "title"
1749
- field :show_title, "showTitle", false
1749
+ field :show_title, "showTitle"
1750
1750
  field :color_set, "colorSet"
1751
1751
  field :max_width, "maxWidth"
1752
- field :show_legend, "showLegend", true
1752
+ field :show_legend, "showLegend"
1753
1753
  field :x_axis_title, "xAxisTitle"
1754
1754
  field :y_axis_title, "yAxisTitle"
1755
1755
  field :data, "data"
1756
1756
  field :color, "color"
1757
- field :show_bar_values, "showBarValues", false
1757
+ field :show_bar_values, "showBarValues"
1758
1758
  field :y_min, "yMin"
1759
1759
  field :y_max, "yMax"
1760
1760
  field :grid_area, "gridArea"