pager_tree-integrations 1.1.1 → 1.1.2

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 (54) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/pager_tree/integrations/apex_ping/v3.rb +1 -1
  3. data/app/models/pager_tree/integrations/app_dynamics/v3.rb +1 -1
  4. data/app/models/pager_tree/integrations/auvik/v3.rb +1 -1
  5. data/app/models/pager_tree/integrations/aws_cloudwatch/v3.rb +1 -1
  6. data/app/models/pager_tree/integrations/azure_monitor/v3.rb +5 -6
  7. data/app/models/pager_tree/integrations/cronitor/v3.rb +1 -1
  8. data/app/models/pager_tree/integrations/datadog/v3.rb +1 -1
  9. data/app/models/pager_tree/integrations/dead_mans_snitch/v3.rb +1 -1
  10. data/app/models/pager_tree/integrations/elast_alert/v3.rb +1 -1
  11. data/app/models/pager_tree/integrations/form/v3.rb +1 -1
  12. data/app/models/pager_tree/integrations/freshdesk/v3.rb +1 -1
  13. data/app/models/pager_tree/integrations/freshservice/v3.rb +1 -1
  14. data/app/models/pager_tree/integrations/grafana/v3.rb +1 -1
  15. data/app/models/pager_tree/integrations/healthchecks/v3.rb +1 -1
  16. data/app/models/pager_tree/integrations/honeybadger/v3.rb +1 -1
  17. data/app/models/pager_tree/integrations/hyperping/v3.rb +1 -1
  18. data/app/models/pager_tree/integrations/integration.rb +2 -2
  19. data/app/models/pager_tree/integrations/jira_server/v3.rb +1 -1
  20. data/app/models/pager_tree/integrations/jotform/v3.rb +1 -1
  21. data/app/models/pager_tree/integrations/kapacitor/v3.rb +1 -1
  22. data/app/models/pager_tree/integrations/live_call_routing/twilio/v3.rb +1 -1
  23. data/app/models/pager_tree/integrations/logic_monitor/v3.rb +1 -3
  24. data/app/models/pager_tree/integrations/mattermost/outgoing_webhook/v3.rb +1 -1
  25. data/app/models/pager_tree/integrations/new_relic/v3.rb +1 -3
  26. data/app/models/pager_tree/integrations/pingdom/v3.rb +1 -1
  27. data/app/models/pager_tree/integrations/prometheus/v3.rb +1 -1
  28. data/app/models/pager_tree/integrations/prtg/v3.rb +1 -1
  29. data/app/models/pager_tree/integrations/server_guard24/v3.rb +1 -1
  30. data/app/models/pager_tree/integrations/site24x7/v3.rb +1 -1
  31. data/app/models/pager_tree/integrations/solar_winds/v3.rb +1 -1
  32. data/app/models/pager_tree/integrations/stackdriver/v3.rb +1 -1
  33. data/app/models/pager_tree/integrations/status_cake/v3.rb +1 -1
  34. data/app/models/pager_tree/integrations/twilio/incoming_sms/v3.rb +1 -1
  35. data/app/models/pager_tree/integrations/typeform/v3.rb +1 -1
  36. data/app/models/pager_tree/integrations/uptime/v3.rb +1 -1
  37. data/app/models/pager_tree/integrations/uptime_robot/v3.rb +1 -1
  38. data/app/models/pager_tree/integrations/webhook/v3.rb +21 -15
  39. data/app/models/pager_tree/integrations/zendesk/v3.rb +1 -3
  40. data/app/views/pager_tree/integrations/channel/hangouts/v3/_form_options.html.erb +4 -4
  41. data/app/views/pager_tree/integrations/channel/microsoft_teams/v3/_form_options.html.erb +5 -5
  42. data/app/views/pager_tree/integrations/channel/slack/v3/_form_options.html.erb +5 -5
  43. data/app/views/pager_tree/integrations/email/v3/_form_options.html.erb +5 -5
  44. data/app/views/pager_tree/integrations/form/v3/_form_options.html.erb +18 -18
  45. data/app/views/pager_tree/integrations/honeybadger/v3/_form_options.html.erb +1 -1
  46. data/app/views/pager_tree/integrations/jira_server/v3/_form_options.html.erb +4 -4
  47. data/app/views/pager_tree/integrations/live_call_routing/twilio/v3/_form_options.html.erb +16 -16
  48. data/app/views/pager_tree/integrations/mattermost/outgoing_webhook/v3/_form_options.html.erb +1 -1
  49. data/app/views/pager_tree/integrations/outgoing_webhook/v3/_form_options.html.erb +8 -8
  50. data/app/views/pager_tree/integrations/server_guard24/v3/_form_options.html.erb +3 -3
  51. data/app/views/pager_tree/integrations/webhook/v3/_form_options.html.erb +5 -5
  52. data/lib/generators/integration/templates/model.rb.tt +1 -1
  53. data/lib/pager_tree/integrations/version.rb +1 -1
  54. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7dea02eb35788e7f79b0a01a4104202e970efec6747e0cae9c03a968750f21aa
4
- data.tar.gz: 38ccd8bc1d1b3241c5a3e59ee6d6696f845c7ee7323c566ef34bc192657f528b
3
+ metadata.gz: 346fc5f836fd08b5e13984f0ead3c57af0bfb853c6c7bbe06eab9b9821693d47
4
+ data.tar.gz: '09642e8b0aadff79bedeeec4a6508e0df60ace5ee8d5d751b9b881675bd5829c'
5
5
  SHA512:
6
- metadata.gz: 023af4b2365f721b74240c24e6479a1404a94b0b017b2e9b6c211b222c5be94ec74636fc4251aa82026eafb579e9284bd0fd53eadb2c3a49184e488b9d41c209
7
- data.tar.gz: caa769fdde3885d1d7d751a895bec16bf30d25bd691a882a2c0bc86c2dbd8804b232e992f51b28f94c0cd34dc57805edcaacf68714ca293d07470e1713da1032
6
+ metadata.gz: 9ed77d1beebab497c91eebc46b0611beabf99fe463498aa993f53ff497d543f604b8ec8115276992d76dd877c665d13e1804786c60b94a08bb16581fe9d74f80
7
+ data.tar.gz: 3f586f4688d333343ab300a79836947c29698d82372932a59e7ae2b5253fd6709bc9da57ef21fcc7c1e66f891ca034504bfbd997ad0f00321e2bb6713521c6d0
@@ -27,7 +27,7 @@ module PagerTree::Integrations
27
27
  Alert.new(
28
28
  title: _title,
29
29
  thirdparty_id: _thirdparty_id,
30
- dedup_keys: [_thirdparty_id],
30
+ dedup_keys: [],
31
31
  additional_data: _additional_datums
32
32
  )
33
33
  end
@@ -26,7 +26,7 @@ module PagerTree::Integrations
26
26
  title: _title,
27
27
  description: _description,
28
28
  thirdparty_id: _thirdparty_id,
29
- dedup_keys: [_thirdparty_id],
29
+ dedup_keys: [],
30
30
  additional_data: _additional_datums
31
31
  )
32
32
  end
@@ -44,7 +44,7 @@ module PagerTree::Integrations
44
44
  description: _description,
45
45
  urgency: _urgency,
46
46
  thirdparty_id: adapter_thirdparty_id,
47
- dedup_keys: [adapter_thirdparty_id],
47
+ dedup_keys: [],
48
48
  additional_data: _additional_datums
49
49
  )
50
50
  end
@@ -34,7 +34,7 @@ module PagerTree::Integrations
34
34
  title: _title,
35
35
  description: _description,
36
36
  thirdparty_id: _thirdparty_id,
37
- dedup_keys: [_thirdparty_id],
37
+ dedup_keys: [],
38
38
  additional_data: _additional_datums
39
39
  )
40
40
  end
@@ -37,7 +37,7 @@ module PagerTree::Integrations
37
37
  description: _description,
38
38
  urgency: _urgency,
39
39
  thirdparty_id: adapter_thirdparty_id,
40
- dedup_keys: [adapter_thirdparty_id],
40
+ dedup_keys: [],
41
41
  additional_data: _additional_datums
42
42
  )
43
43
  end
@@ -58,11 +58,10 @@ module PagerTree::Integrations
58
58
 
59
59
  def _urgency
60
60
  case adapter_incoming_request_params.dig("data", "essentials", "severity")
61
- when "Sev0" then "low"
62
- when "Sev1" then "low"
63
- when "Sev2" then "medium"
64
- when "Sev3" then "high"
65
- when "Sev4" then "critical"
61
+ when "Sev0", "Sev1" then "critical"
62
+ when "Sev2" then "high"
63
+ when "Sev3" then "medium"
64
+ when "Sev4" then "low"
66
65
  end
67
66
  end
68
67
 
@@ -36,7 +36,7 @@ module PagerTree::Integrations
36
36
  title: _title,
37
37
  description: _description,
38
38
  thirdparty_id: adapter_thirdparty_id,
39
- dedup_keys: [adapter_thirdparty_id],
39
+ dedup_keys: [],
40
40
  additional_data: _additional_datums
41
41
  )
42
42
  end
@@ -36,7 +36,7 @@ module PagerTree::Integrations
36
36
  title: _title,
37
37
  description: _description,
38
38
  thirdparty_id: adapter_thirdparty_id,
39
- dedup_keys: [adapter_thirdparty_id, adapter_incoming_request_params.dig("AGGREG_KEY")].compact,
39
+ dedup_keys: [adapter_incoming_request_params.dig("AGGREG_KEY")].compact,
40
40
  additional_data: _additional_datums,
41
41
  tags: _tags
42
42
  )
@@ -37,7 +37,7 @@ module PagerTree::Integrations
37
37
  title: _title,
38
38
  description: _description,
39
39
  thirdparty_id: adapter_thirdparty_id,
40
- dedup_keys: [adapter_thirdparty_id],
40
+ dedup_keys: [],
41
41
  additional_data: _additional_datums,
42
42
  tags: _tags
43
43
  )
@@ -36,7 +36,7 @@ module PagerTree::Integrations
36
36
  title: _title,
37
37
  description: _description,
38
38
  thirdparty_id: adapter_thirdparty_id,
39
- dedup_keys: [adapter_thirdparty_id],
39
+ dedup_keys: [],
40
40
  additional_data: _additional_datums
41
41
  )
42
42
  end
@@ -75,7 +75,7 @@ module PagerTree::Integrations
75
75
  description: _description,
76
76
  urgency: _urgency,
77
77
  thirdparty_id: adapter_thirdparty_id,
78
- dedup_keys: [adapter_thirdparty_id],
78
+ dedup_keys: [],
79
79
  additional_data: _additional_datums
80
80
  )
81
81
  end
@@ -54,7 +54,7 @@ module PagerTree::Integrations
54
54
  description: _description,
55
55
  urgency: _urgency,
56
56
  thirdparty_id: adapter_thirdparty_id,
57
- dedup_keys: [adapter_thirdparty_id],
57
+ dedup_keys: [],
58
58
  additional_data: _additional_datums
59
59
  )
60
60
  end
@@ -55,7 +55,7 @@ module PagerTree::Integrations
55
55
  description: _description,
56
56
  urgency: _urgency,
57
57
  thirdparty_id: adapter_thirdparty_id,
58
- dedup_keys: [adapter_thirdparty_id],
58
+ dedup_keys: [],
59
59
  additional_data: _additional_datums
60
60
  )
61
61
  end
@@ -38,7 +38,7 @@ module PagerTree::Integrations
38
38
  title: _title,
39
39
  description: _description,
40
40
  thirdparty_id: adapter_thirdparty_id,
41
- dedup_keys: [adapter_thirdparty_id],
41
+ dedup_keys: [],
42
42
  additional_data: _additional_datums
43
43
  )
44
44
  end
@@ -38,7 +38,7 @@ module PagerTree::Integrations
38
38
  title: _title,
39
39
  description: _description,
40
40
  thirdparty_id: adapter_thirdparty_id,
41
- dedup_keys: [adapter_thirdparty_id],
41
+ dedup_keys: [],
42
42
  additional_data: _additional_datums,
43
43
  tags: _tags
44
44
  )
@@ -46,7 +46,7 @@ module PagerTree::Integrations
46
46
  Alert.new(
47
47
  title: _title,
48
48
  thirdparty_id: adapter_thirdparty_id,
49
- dedup_keys: [adapter_thirdparty_id],
49
+ dedup_keys: [],
50
50
  additional_data: _additional_datums,
51
51
  tags: _tags
52
52
  )
@@ -38,7 +38,7 @@ module PagerTree::Integrations
38
38
  Alert.new(
39
39
  title: _title,
40
40
  thirdparty_id: adapter_thirdparty_id,
41
- dedup_keys: [adapter_thirdparty_id],
41
+ dedup_keys: [],
42
42
  additional_data: _additional_datums
43
43
  )
44
44
  end
@@ -48,7 +48,7 @@ module PagerTree::Integrations
48
48
  true
49
49
  end
50
50
 
51
- # Returns :create, :acknowledge, :resolve, or :other
51
+ # Returns :create, :resolve, or :other
52
52
  def adapter_action
53
53
  :other
54
54
  end
@@ -102,7 +102,7 @@ module PagerTree::Integrations
102
102
  # END basic show functions
103
103
 
104
104
  def adapter_response_rate_limit
105
- adapter_controller&.head(:not_found)
105
+ adapter_controller&.head(:too_many_requests)
106
106
  end
107
107
 
108
108
  def adapter_response_disabled
@@ -37,7 +37,7 @@ module PagerTree::Integrations
37
37
  title: _title,
38
38
  description: _description,
39
39
  thirdparty_id: adapter_thirdparty_id,
40
- dedup_keys: [adapter_thirdparty_id],
40
+ dedup_keys: [],
41
41
  additional_data: _additional_datums
42
42
  )
43
43
  end
@@ -30,7 +30,7 @@ module PagerTree::Integrations
30
30
  Alert.new(
31
31
  title: _title,
32
32
  thirdparty_id: adapter_thirdparty_id,
33
- dedup_keys: [adapter_thirdparty_id],
33
+ dedup_keys: [],
34
34
  additional_data: _additional_datums
35
35
  )
36
36
  end
@@ -32,7 +32,7 @@ module PagerTree::Integrations
32
32
  description: _description,
33
33
  urgency: _urgency,
34
34
  thirdparty_id: adapter_thirdparty_id,
35
- dedup_keys: [adapter_thirdparty_id],
35
+ dedup_keys: [],
36
36
  additional_data: _additional_datums
37
37
  )
38
38
  end
@@ -108,7 +108,7 @@ module PagerTree::Integrations
108
108
  urgency: urgency,
109
109
 
110
110
  thirdparty_id: _thirdparty_id,
111
- dedup_keys: [_thirdparty_id],
111
+ dedup_keys: [],
112
112
  additional_data: _additional_datums
113
113
  )
114
114
  end
@@ -27,8 +27,6 @@ module PagerTree::Integrations
27
27
  case alert_status
28
28
  when "active", "test"
29
29
  :create
30
- # when "ack"
31
- # :acknowledge
32
30
  when "clear"
33
31
  :resolve
34
32
  else
@@ -42,7 +40,7 @@ module PagerTree::Integrations
42
40
  description: _description,
43
41
  urgency: _urgency,
44
42
  thirdparty_id: adapter_thirdparty_id,
45
- dedup_keys: [adapter_thirdparty_id],
43
+ dedup_keys: [],
46
44
  additional_data: _additional_datums
47
45
  )
48
46
  end
@@ -38,7 +38,7 @@ module PagerTree::Integrations
38
38
  title: _title,
39
39
  urgency: _urgency,
40
40
  thirdparty_id: adapter_thirdparty_id,
41
- dedup_keys: [adapter_thirdparty_id],
41
+ dedup_keys: [],
42
42
  additional_data: _additional_datums
43
43
  )
44
44
  end
@@ -28,8 +28,6 @@ module PagerTree::Integrations
28
28
 
29
29
  if event_type == "INCIDENT_OPEN" || (event_type == "INCIDENT" && current_state == "open")
30
30
  :create
31
- # elsif event_type == "INCIDENT_ACKNOWLEDGED" || (event_type == "INCIDENT" && current_state == "acknowledged")
32
- # :acknowledge
33
31
  elsif event_type == "INCIDENT_RESOLVED" || (event_type == "INCIDENT" && current_state == "closed")
34
32
  :resolve
35
33
  else
@@ -42,7 +40,7 @@ module PagerTree::Integrations
42
40
  title: _title,
43
41
  description: _description,
44
42
  thirdparty_id: adapter_thirdparty_id,
45
- dedup_keys: [adapter_thirdparty_id],
43
+ dedup_keys: [],
46
44
  additional_data: _additional_datums
47
45
  )
48
46
  end
@@ -40,7 +40,7 @@ module PagerTree::Integrations
40
40
  title: _title,
41
41
  description: _description,
42
42
  thirdparty_id: adapter_thirdparty_id,
43
- dedup_keys: [adapter_thirdparty_id],
43
+ dedup_keys: [],
44
44
  additional_data: _additional_datums,
45
45
  tags: _tags
46
46
  )
@@ -39,7 +39,7 @@ module PagerTree::Integrations
39
39
  description: _description,
40
40
  urgency: _urgency,
41
41
  thirdparty_id: adapter_thirdparty_id,
42
- dedup_keys: [adapter_thirdparty_id],
42
+ dedup_keys: [],
43
43
  additional_data: _additional_datums
44
44
  )
45
45
  end
@@ -38,7 +38,7 @@ module PagerTree::Integrations
38
38
  Alert.new(
39
39
  title: _title,
40
40
  thirdparty_id: adapter_thirdparty_id,
41
- dedup_keys: [adapter_thirdparty_id],
41
+ dedup_keys: [],
42
42
  additional_data: _additional_datums
43
43
  )
44
44
  end
@@ -44,7 +44,7 @@ module PagerTree::Integrations
44
44
  title: _title,
45
45
  description: _description,
46
46
  thirdparty_id: adapter_thirdparty_id,
47
- dedup_keys: [adapter_thirdparty_id],
47
+ dedup_keys: [],
48
48
  additional_data: _additional_datums
49
49
  )
50
50
  end
@@ -38,7 +38,7 @@ module PagerTree::Integrations
38
38
  title: _title,
39
39
  description: _description,
40
40
  thirdparty_id: adapter_thirdparty_id,
41
- dedup_keys: [adapter_thirdparty_id],
41
+ dedup_keys: [],
42
42
  additional_data: _additional_datums
43
43
  )
44
44
  end
@@ -39,7 +39,7 @@ module PagerTree::Integrations
39
39
  description: _description,
40
40
  urgency: _urgency,
41
41
  thirdparty_id: adapter_thirdparty_id,
42
- dedup_keys: [adapter_thirdparty_id],
42
+ dedup_keys: [],
43
43
  additional_data: _additional_datums
44
44
  )
45
45
  end
@@ -37,7 +37,7 @@ module PagerTree::Integrations
37
37
  Alert.new(
38
38
  title: _title,
39
39
  thirdparty_id: adapter_thirdparty_id,
40
- dedup_keys: [adapter_thirdparty_id],
40
+ dedup_keys: [],
41
41
  additional_data: _additional_datums
42
42
  )
43
43
  end
@@ -37,7 +37,7 @@ module PagerTree::Integrations
37
37
  Alert.new(
38
38
  title: _title,
39
39
  thirdparty_id: adapter_thirdparty_id,
40
- dedup_keys: [adapter_thirdparty_id],
40
+ dedup_keys: [],
41
41
  additional_data: _additional_datums,
42
42
  tags: _tags
43
43
  )
@@ -31,7 +31,7 @@ module PagerTree::Integrations
31
31
  title: _title,
32
32
  description: _description,
33
33
  thirdparty_id: adapter_thirdparty_id,
34
- dedup_keys: [adapter_thirdparty_id],
34
+ dedup_keys: [],
35
35
  additional_data: _additional_datums
36
36
  )
37
37
  end
@@ -30,7 +30,7 @@ module PagerTree::Integrations
30
30
  Alert.new(
31
31
  title: _title,
32
32
  thirdparty_id: adapter_thirdparty_id,
33
- dedup_keys: [adapter_thirdparty_id]
33
+ dedup_keys: []
34
34
  )
35
35
  end
36
36
 
@@ -38,7 +38,7 @@ module PagerTree::Integrations
38
38
  title: _title,
39
39
  description: _description,
40
40
  thirdparty_id: adapter_thirdparty_id,
41
- dedup_keys: [adapter_thirdparty_id],
41
+ dedup_keys: [],
42
42
  additional_data: _additional_datums,
43
43
  tags: _tags
44
44
  )
@@ -50,7 +50,7 @@ module PagerTree::Integrations
50
50
  title: _title,
51
51
  description: _description,
52
52
  thirdparty_id: adapter_thirdparty_id,
53
- dedup_keys: [adapter_thirdparty_id],
53
+ dedup_keys: [],
54
54
  additional_data: _additional_datums
55
55
  )
56
56
  end
@@ -28,15 +28,13 @@ module PagerTree::Integrations
28
28
  end
29
29
 
30
30
  def adapter_thirdparty_id
31
- adapter_incoming_request_params.dig("Id") || adapter_incoming_request_params.dig("id")
31
+ _adapter_incoming_request_params.dig("id")
32
32
  end
33
33
 
34
34
  def adapter_action
35
- case adapter_incoming_request_params.dig("event_type").to_s.downcase.strip
35
+ case _adapter_incoming_request_params.dig("event_type").to_s.downcase.strip
36
36
  when "create"
37
37
  :create
38
- # when "acknowledge"
39
- # :acknowledge
40
38
  when "resolve"
41
39
  :resolve
42
40
  else
@@ -50,7 +48,7 @@ module PagerTree::Integrations
50
48
  description: _description,
51
49
  urgency: _urgency,
52
50
  thirdparty_id: adapter_thirdparty_id,
53
- dedup_keys: [adapter_thirdparty_id],
51
+ dedup_keys: _dedup_keys,
54
52
  incident: _incident,
55
53
  incident_severity: _incident_severity,
56
54
  incident_message: _incident_message,
@@ -63,44 +61,44 @@ module PagerTree::Integrations
63
61
  private
64
62
 
65
63
  def _title
66
- adapter_incoming_request_params.dig("Title") || adapter_incoming_request_params.dig("title")
64
+ _adapter_incoming_request_params.dig("title")
67
65
  end
68
66
 
69
67
  def _description
70
- adapter_incoming_request_params.dig("Description") || adapter_incoming_request_params.dig("description")
68
+ _adapter_incoming_request_params.dig("description")
71
69
  end
72
70
 
73
71
  def _tags
74
- tags = adapter_incoming_request_params.dig("Tags") || adapter_incoming_request_params.dig("tags")
72
+ tags = _adapter_incoming_request_params.dig("tags")
75
73
  Array(tags).compact_blank.map(&:to_s).uniq
76
74
  end
77
75
 
78
76
  def _urgency
79
- urgency = adapter_incoming_request_params.dig("Urgency") || adapter_incoming_request_params.dig("urgency")
77
+ urgency = _adapter_incoming_request_params.dig("urgency")
80
78
  urgency&.to_s&.downcase&.strip
81
79
  end
82
80
 
83
81
  def _incident
84
- !!adapter_incoming_request_params.dig("Meta", "incident")
82
+ !!_adapter_incoming_request_params.dig("meta", "incident")
85
83
  end
86
84
 
87
85
  def _incident_message
88
- adapter_incoming_request_params.dig("Meta", "incident_message")
86
+ _adapter_incoming_request_params.dig("meta", "incident_message")
89
87
  end
90
88
 
91
89
  def _incident_severity
92
- adapter_incoming_request_params.dig("Meta", "incident_severity")&.to_s&.upcase&.strip
90
+ _adapter_incoming_request_params.dig("meta", "incident_severity")&.to_s&.upcase&.strip
93
91
  end
94
92
 
95
93
  def _meta
96
- meta = adapter_incoming_request_params.dig("Meta")
94
+ meta = _adapter_incoming_request_params.dig("meta")
97
95
  meta.is_a?(Hash) ? meta.except("incident", "incident_message", "incident_severity") : {}
98
96
  end
99
97
 
100
98
  def _additional_datums
101
99
  if self.option_capture_additional_data == true
102
- adapter_incoming_request_params.except(
103
- "Id", "Title", "Description", "Urgency", "Tags", "Meta", "id", "title", "description", "urgency", "tags", "meta", "event_type", "pagertree_integration_id"
100
+ _adapter_incoming_request_params.except(
101
+ "id", "title", "description", "urgency", "tags", "meta", "event_type", "pagertree_integration_id", "dedup_keys"
104
102
  ).map do |key, value|
105
103
  AdditionalDatum.new(format: "text", label: key, value: value.to_s)
106
104
  end
@@ -108,5 +106,13 @@ module PagerTree::Integrations
108
106
  []
109
107
  end
110
108
  end
109
+
110
+ def _dedup_keys
111
+ Array(_adapter_incoming_request_params.dig("dedup_keys")).map(&:to_s).compact_blank.uniq
112
+ end
113
+
114
+ def _adapter_incoming_request_params
115
+ adapter_incoming_request_params.transform_keys(&:downcase)
116
+ end
111
117
  end
112
118
  end
@@ -26,8 +26,6 @@ module PagerTree::Integrations
26
26
  case adapter_incoming_request_params.dig("event_type")
27
27
  when "create"
28
28
  :create
29
- when "acknowledge"
30
- :acknowledge
31
29
  when "resolve"
32
30
  :resolve
33
31
  else
@@ -41,7 +39,7 @@ module PagerTree::Integrations
41
39
  description: _description,
42
40
  urgency: _urgency,
43
41
  thirdparty_id: adapter_thirdparty_id,
44
- dedup_keys: [adapter_thirdparty_id],
42
+ dedup_keys: [],
45
43
  additional_data: _additional_datums
46
44
  )
47
45
  end
@@ -1,5 +1,5 @@
1
1
  <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
2
- <div class="form-group md:col-span-3">
2
+ <div class="form-group group md:col-span-3">
3
3
  <%= form.label :option_incoming_webhook_url %>
4
4
  <%= form.text_field :option_incoming_webhook_url, class: "form-control" %>
5
5
  <p class="form-hint"><%== t("pager_tree.integrations.common.option_incoming_webhook_url_hint_html") %></p>
@@ -14,10 +14,10 @@
14
14
  ]
15
15
  %>
16
16
  <% opts.each do |opt| %>
17
- <div class="form-group">
17
+ <div class="form-group group">
18
18
  <%= form.check_box "option_#{opt.to_s}".to_sym, class: "form-checkbox mr-1" %>
19
19
  <%= form.label "option_#{opt.to_s}".to_sym, class: "inline-block" %>
20
- <p class="form-hint"><%== t("pager_tree.integrations.common.option_#{opt.to_s}_hint_html") %></p>
20
+ <p class="form-hint inline-block"><%== t("pager_tree.integrations.common.option_#{opt.to_s}_hint_html") %></p>
21
21
  </div>
22
22
  <% end %>
23
23
 
@@ -25,7 +25,7 @@
25
25
 
26
26
 
27
27
  <div class="grid grid-cols-1 gap-4">
28
- <%= tag.div class: "form-group", data: {controller: "code-editor", code_editor_language_value: "yaml", code_editor_read_only_value: false } do %>
28
+ <%= tag.div class: "form-group group", data: {controller: "code-editor", code_editor_language_value: "yaml", code_editor_read_only_value: false } do %>
29
29
  <%= form.label :option_outgoing_rules, t("pager_tree.integrations.common.option_outgoing_rules") %>
30
30
  <%= form.hidden_field :option_outgoing_rules, class: "form-control", data: {code_editor_target: "form"} %>
31
31
  <%= tag.div class: "h-96", data: {code_editor_target: "editor"} do %><%= form.object.option_outgoing_rules %><% end %>
@@ -1,5 +1,5 @@
1
1
  <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
2
- <div class="form-group md:col-span-3">
2
+ <div class="form-group group md:col-span-3">
3
3
  <%= form.label :option_incoming_webhook_url %>
4
4
  <%= form.text_field :option_incoming_webhook_url, class: "form-control" %>
5
5
  <p class="form-hint"><%== t("pager_tree.integrations.common.option_incoming_webhook_url_hint_html") %></p>
@@ -14,10 +14,10 @@
14
14
  ]
15
15
  %>
16
16
  <% opts.each do |opt| %>
17
- <div class="form-group">
18
- <%= form.check_box "option_#{opt.to_s}".to_sym, class: "form-checkbox mr-1" %>
17
+ <div class="form-group group">
18
+ <%= form.check_box "option_#{opt.to_s}".to_sym, class: "form-checkbox" %>
19
19
  <%= form.label "option_#{opt.to_s}".to_sym, class: "inline-block" %>
20
- <p class="form-hint"><%== t("pager_tree.integrations.common.option_#{opt.to_s}_hint_html") %></p>
20
+ <p class="form-hint md:inline-block"><%== t("pager_tree.integrations.common.option_#{opt.to_s}_hint_html") %></p>
21
21
  </div>
22
22
  <% end %>
23
23
 
@@ -25,7 +25,7 @@
25
25
 
26
26
 
27
27
  <div class="grid grid-cols-1 gap-4">
28
- <%= tag.div class: "form-group", data: {controller: "code-editor", code_editor_language_value: "yaml", code_editor_read_only_value: false } do %>
28
+ <%= tag.div class: "form-group group", data: {controller: "code-editor", code_editor_language_value: "yaml", code_editor_read_only_value: false } do %>
29
29
  <%= form.label :option_outgoing_rules, t("pager_tree.integrations.common.option_outgoing_rules") %>
30
30
  <%= form.hidden_field :option_outgoing_rules, class: "form-control", data: {code_editor_target: "form"} %>
31
31
  <%= tag.div class: "h-96", data: {code_editor_target: "editor"} do %><%= form.object.option_outgoing_rules %><% end %>
@@ -1,5 +1,5 @@
1
1
  <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
2
- <div class="form-group md:col-span-3">
2
+ <div class="form-group group md:col-span-3">
3
3
  <%= form.label :option_incoming_webhook_url %>
4
4
  <%= form.text_field :option_incoming_webhook_url, class: "form-control" %>
5
5
  <p class="form-hint"><%== t("pager_tree.integrations.common.option_incoming_webhook_url_hint_html") %></p>
@@ -14,10 +14,10 @@
14
14
  ]
15
15
  %>
16
16
  <% opts.each do |opt| %>
17
- <div class="form-group">
18
- <%= form.check_box "option_#{opt.to_s}".to_sym, class: "form-checkbox mr-1" %>
17
+ <div class="form-group group">
18
+ <%= form.check_box "option_#{opt.to_s}".to_sym, class: "form-checkbox" %>
19
19
  <%= form.label "option_#{opt.to_s}".to_sym, class: "inline-block" %>
20
- <p class="form-hint"><%== t("pager_tree.integrations.common.option_#{opt.to_s}_hint_html") %></p>
20
+ <p class="form-hint md:inline-block"><%== t("pager_tree.integrations.common.option_#{opt.to_s}_hint_html") %></p>
21
21
  </div>
22
22
  <% end %>
23
23
 
@@ -25,7 +25,7 @@
25
25
 
26
26
 
27
27
  <div class="grid grid-cols-1 gap-4">
28
- <%= tag.div class: "form-group", data: {controller: "code-editor", code_editor_language_value: "yaml", code_editor_read_only_value: false } do %>
28
+ <%= tag.div class: "form-group group", data: {controller: "code-editor", code_editor_language_value: "yaml", code_editor_read_only_value: false } do %>
29
29
  <%= form.label :option_outgoing_rules, t("pager_tree.integrations.common.option_outgoing_rules") %>
30
30
  <%= form.hidden_field :option_outgoing_rules, class: "form-control", data: {code_editor_target: "form"} %>
31
31
  <%= tag.div class: "h-96", data: {code_editor_target: "editor"} do %><%= form.object.option_outgoing_rules %><% end %>
@@ -1,11 +1,11 @@
1
- <div class="form-group">
2
- <%= form.label :option_allow_spam %>
1
+ <div class="form-group group">
3
2
  <%= form.check_box :option_allow_spam, class: "form-checkbox" %>
4
- <p class="form-hint"><%== t(".option_allow_spam_hint_html") %></p>
3
+ <%= form.label :option_allow_spam %>
4
+ <p class="form-hint md:inline-block"><%== t(".option_allow_spam_hint_html") %></p>
5
5
  </div>
6
6
 
7
- <div class="form-group">
8
- <%= form.label :option_dedup_threads %>
7
+ <div class="form-group group">
9
8
  <%= form.check_box :option_dedup_threads, class: "form-checkbox" %>
9
+ <%= form.label :option_dedup_threads %>
10
10
  <p class="form-hint"><%== t(".option_dedup_threads_hint_html") %></p>
11
11
  </div>
@@ -1,35 +1,35 @@
1
1
  <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
2
- <div class="form-group md:col-span-2">
2
+ <div class="form-group group md:col-span-2">
3
3
  <%= form.label :option_form_title %>
4
4
  <%= form.text_field :option_form_title, class: "form-control" %>
5
5
  <p class="form-hint"><%== t(".option_form_title_hint_html") %></p>
6
6
  </div>
7
7
 
8
- <div class="form-group md:col-span-2">
8
+ <div class="form-group group md:col-span-2">
9
9
  <%= form.label :option_form_header %>
10
10
  <%= form.text_field :option_form_header, class: "form-control" %>
11
11
  <p class="form-hint"><%== t(".option_form_header_hint_html") %></p>
12
12
  </div>
13
13
 
14
- <div class="form-group md:col-span-2">
14
+ <div class="form-group group md:col-span-2">
15
15
  <%= form.label :option_form_instructions %>
16
16
  <%= form.text_area :option_form_instructions, class: "form-control" %>
17
17
  <p class="form-hint"><%== t(".option_form_instructions_hint_html") %></p>
18
18
  </div>
19
19
 
20
- <div class="form-group">
20
+ <div class="form-group group">
21
21
  <%= form.label :option_form_footer_text %>
22
22
  <%= form.text_field :option_form_footer_text, class: "form-control" %>
23
23
  <p class="form-hint"><%== t(".option_form_footer_text_hint_html") %></p>
24
24
  </div>
25
25
 
26
- <div class="form-group">
26
+ <div class="form-group group">
27
27
  <%= form.label :option_form_footer_link %>
28
28
  <%= form.text_field :option_form_footer_link, class: "form-control" %>
29
29
  <p class="form-hint"><%== t(".option_form_footer_link_hint_html") %></p>
30
30
  </div>
31
31
 
32
- <div class="form-group">
32
+ <div class="form-group group">
33
33
  <%= form.label :option_form_logo %>
34
34
  <%= form.file_field :option_form_logo, accept: "image/*", class: "file:mr-4 file:py-2 file:px-4 file:rounded-full file:border-0 file:text-sm file:font-semibold file:bg-gray-50 file:text-gray-700 hover:file:bg-gray-100" %>
35
35
  <p class="form-hint"><%== t(".option_form_logo_hint_html") %></p>
@@ -38,27 +38,27 @@
38
38
 
39
39
  <div class="grid grid-cols-4 gap-4">
40
40
 
41
- <div class="form-group">
42
- <%= form.check_box :option_form_email_required, class: "form-checkbox mr-1" %>
41
+ <div class="form-group group">
42
+ <%= form.check_box :option_form_email_required, class: "form-checkbox1" %>
43
43
  <%= form.label :option_form_email_required, class: "inline-block" %>
44
- <p class="form-hint"><%== t(".option_form_email_required_hint_html") %></p>
44
+ <p class="form-hint md:inline-block"><%== t(".option_form_email_required_hint_html") %></p>
45
45
  </div>
46
46
 
47
- <div class="form-group">
48
- <%= form.check_box :option_form_phone_required, class: "form-checkbox mr-1" %>
47
+ <div class="form-group group">
48
+ <%= form.check_box :option_form_phone_required, class: "form-checkbox" %>
49
49
  <%= form.label :option_form_phone_required, class: "inline-block" %>
50
- <p class="form-hint"><%== t(".option_form_phone_required_hint_html") %></p>
50
+ <p class="form-hint md:inline-block"><%== t(".option_form_phone_required_hint_html") %></p>
51
51
  </div>
52
52
 
53
- <div class="form-group">
54
- <%= form.check_box :option_form_description_required, class: "form-checkbox mr-1" %>
53
+ <div class="form-group group">
54
+ <%= form.check_box :option_form_description_required, class: "form-checkbox" %>
55
55
  <%= form.label :option_form_description_required, class: "inline-block" %>
56
- <p class="form-hint"><%== t(".option_form_description_required_hint_html") %></p>
56
+ <p class="form-hint md:inline-block"><%== t(".option_form_description_required_hint_html") %></p>
57
57
  </div>
58
58
 
59
- <div class="form-group">
60
- <%= form.check_box :option_form_urgency_required, class: "form-checkbox mr-1" %>
59
+ <div class="form-group group">
60
+ <%= form.check_box :option_form_urgency_required, class: "form-checkbox" %>
61
61
  <%= form.label :option_form_urgency_required, class: "inline-block" %>
62
- <p class="form-hint"><%== t(".option_form_urgency_required_hint_html") %></p>
62
+ <p class="form-hint md:inline-block"><%== t(".option_form_urgency_required_hint_html") %></p>
63
63
  </div>
64
64
  </div>
@@ -1,5 +1,5 @@
1
1
  <div class="grid grid-cols-1 gap-4">
2
- <div class="form-group">
2
+ <div class="form-group group">
3
3
  <%= form.label :option_token %>
4
4
  <%= form.text_field :option_token, class: "form-control" %>
5
5
  <p class="form-hint"><%== t(".option_token_hint_html") %></p>
@@ -1,7 +1,7 @@
1
- <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
2
- <div class="form-group">
3
- <%= form.check_box :option_issue_updated, class: "form-checkbox mr-1" %>
1
+ <div class="grid grid-cols-1 gap-4">
2
+ <div class="form-group group">
3
+ <%= form.check_box :option_issue_updated, class: "form-checkbox" %>
4
4
  <%= form.label :option_issue_updated, class: "inline-block" %>
5
- <p class="form-hint"><%== t(".option_issue_updated_hint_html") %></p>
5
+ <p class="form-hint md:inline-block"><%== t(".option_issue_updated_hint_html") %></p>
6
6
  </div>
7
7
  </div>
@@ -1,11 +1,11 @@
1
1
  <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
2
- <div class="form-group">
2
+ <div class="form-group group">
3
3
  <%= form.label :option_account_sid %>
4
4
  <%= form.text_field :option_account_sid, class: "form-control" %>
5
5
  <p class="form-hint"><%== t(".option_account_sid_hint_html") %></p>
6
6
  </div>
7
7
 
8
- <div class="form-group" data-controller="password-visibility">
8
+ <div class="form-group group" data-controller="password-visibility">
9
9
  <%= form.label :option_api_key %>
10
10
  <%= form.password_field :option_api_key, value: form.object.option_api_key, class: "form-control", data: { password_visibility_target: "input"} %>
11
11
  <div class="flex justify-between">
@@ -14,7 +14,7 @@
14
14
  </div>
15
15
  </div>
16
16
 
17
- <div class="form-group" data-controller="password-visibility">
17
+ <div class="form-group group" data-controller="password-visibility">
18
18
  <%= form.label :option_api_secret %>
19
19
  <%= form.password_field :option_api_secret, value: form.object.option_api_secret, class: "form-control", data: { password_visibility_target: "input"} %>
20
20
  <div class="flex justify-between">
@@ -23,55 +23,55 @@
23
23
  </div>
24
24
  </div>
25
25
 
26
- <div class="form-group">
26
+ <div class="form-group group">
27
27
  <%= form.label :option_welcome_media %>
28
28
  <%= form.file_field :option_welcome_media, accept: "audio/*", class: "file:mr-4 file:py-2 file:px-4 file:rounded-full file:border-0 file:text-sm file:font-semibold file:bg-gray-50 file:text-gray-700 hover:file:bg-gray-100" %>
29
29
  <p class="form-hint"><%== t(".option_welcome_media_hint_html") %></p>
30
30
  </div>
31
31
 
32
- <div class="form-group">
32
+ <div class="form-group group">
33
33
  <%= form.label :option_please_wait_media %>
34
34
  <%= form.file_field :option_please_wait_media, accept: "audio/*", class: "file:mr-4 file:py-2 file:px-4 file:rounded-full file:border-0 file:text-sm file:font-semibold file:bg-gray-50 file:text-gray-700 hover:file:bg-gray-100" %>
35
35
  <p class="form-hint"><%== t(".option_please_wait_media_hint_html") %></p>
36
36
  </div>
37
37
 
38
- <div class="form-group">
38
+ <div class="form-group group">
39
39
  <%= form.label :option_music_media %>
40
40
  <%= form.file_field :option_music_media, accept: "audio/*", class: "file:mr-4 file:py-2 file:px-4 file:rounded-full file:border-0 file:text-sm file:font-semibold file:bg-gray-50 file:text-gray-700 hover:file:bg-gray-100" %>
41
41
  <p class="form-hint"><%== t(".option_music_media_hint_html") %></p>
42
42
  </div>
43
43
 
44
- <div class="form-group">
44
+ <div class="form-group group">
45
45
  <%= form.label :option_connect_now_media %>
46
46
  <%= form.file_field :option_connect_now_media, accept: "audio/*", class: "file:mr-4 file:py-2 file:px-4 file:rounded-full file:border-0 file:text-sm file:font-semibold file:bg-gray-50 file:text-gray-700 hover:file:bg-gray-100" %>
47
47
  <p class="form-hint"><%== t(".option_connect_now_media_hint_html") %></p>
48
48
  </div>
49
49
 
50
- <div class="form-group">
50
+ <div class="form-group group">
51
51
  <%= form.label :option_no_answer_media %>
52
52
  <%= form.file_field :option_no_answer_media, accept: "audio/*", class: "file:mr-4 file:py-2 file:px-4 file:rounded-full file:border-0 file:text-sm file:font-semibold file:bg-gray-50 file:text-gray-700 hover:file:bg-gray-100" %>
53
53
  <p class="form-hint"><%== t(".option_no_answer_media_hint_html") %></p>
54
54
  </div>
55
55
 
56
- <div class="form-group">
56
+ <div class="form-group group">
57
57
  <%= form.label :option_no_answer_thank_you_media %>
58
58
  <%= form.file_field :option_no_answer_thank_you_media, accept: "audio/*", class: "file:mr-4 file:py-2 file:px-4 file:rounded-full file:border-0 file:text-sm file:font-semibold file:bg-gray-50 file:text-gray-700 hover:file:bg-gray-100" %>
59
59
  <p class="form-hint"><%== t(".option_no_answer_thank_you_media_hint_html") %></p>
60
60
  </div>
61
61
 
62
- <div class="form-group">
63
- <%= form.label :option_force_input %>
62
+ <div class="form-group group">
64
63
  <%= form.check_box :option_force_input, class: "form-checkbox" %>
65
- <p class="form-hint"><%== t(".option_force_input_hint_html") %></p>
64
+ <%= form.label :option_force_input, class: "inline-block" %>
65
+ <p class="form-hint md:inline-block"><%== t(".option_force_input_hint_html") %></p>
66
66
  </div>
67
67
 
68
- <div class="form-group">
69
- <%= form.label :option_record %>
68
+ <div class="form-group group">
70
69
  <%= form.check_box :option_record, class: "form-checkbox" %>
71
- <p class="form-hint"><%== t(".option_record_hint_html") %></p>
70
+ <%= form.label :option_record, class: "inline-block" %>
71
+ <p class="form-hint md:inline-block"><%== t(".option_record_hint_html") %></p>
72
72
  </div>
73
73
 
74
- <div class="form-group" data-controller="tagify">
74
+ <div class="form-group group" data-controller="tagify">
75
75
  <%= form.label :option_record_emails_list %>
76
76
  <%= form.text_field :option_record_emails_list, class: "form-control", data: { tagify_target: "input" } %>
77
77
  <p class="form-hint"><%== t(".option_record_emails_list_hint_html") %></p>
@@ -1,5 +1,5 @@
1
1
  <div class="grid grid-cols-1 gap-4">
2
- <div class="form-group">
2
+ <div class="form-group group">
3
3
  <%= form.label :option_token %>
4
4
  <%= form.text_field :option_token, class: "form-control" %>
5
5
  <p class="form-hint"><%== t(".option_token_hint_html") %></p>
@@ -1,17 +1,17 @@
1
1
  <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
2
- <div class="form-group">
2
+ <div class="form-group group">
3
3
  <%= form.label :option_webhook_url %>
4
4
  <%= form.text_field :option_webhook_url, class: "form-control" %>
5
5
  <p class="form-hint"><%== t(".option_webhook_url_hint_html") %></p>
6
6
  </div>
7
7
 
8
- <div class="form-group">
8
+ <div class="form-group group">
9
9
  <%= form.label :option_username %>
10
10
  <%= form.text_field :option_username, class: "form-control" %>
11
11
  <p class="form-hint"><%== t(".option_username_hint_html") %></p>
12
12
  </div>
13
13
 
14
- <div class="form-group">
14
+ <div class="form-group group">
15
15
  <%= form.label :option_password %>
16
16
  <%= form.text_field :option_password, class: "form-control" %>
17
17
  <p class="form-hint"><%== t(".option_password_hint_html") %></p>
@@ -31,24 +31,24 @@
31
31
  ]
32
32
  %>
33
33
  <% opts.each do |opt| %>
34
- <div class="form-group">
35
- <%= form.check_box "option_#{opt.to_s}".to_sym, class: "form-checkbox mr-1" %>
34
+ <div class="form-group group">
35
+ <%= form.check_box "option_#{opt.to_s}".to_sym, class: "form-checkbox" %>
36
36
  <%= form.label "option_#{opt.to_s}".to_sym, class: "inline-block" %>
37
- <p class="form-hint"><%== t("pager_tree.integrations.common.option_#{opt.to_s}_hint_html") %></p>
37
+ <p class="form-hint md:inline-block"><%== t("pager_tree.integrations.common.option_#{opt.to_s}_hint_html") %></p>
38
38
  </div>
39
39
  <% end %>
40
40
 
41
41
  </div>
42
42
 
43
43
  <div class="grid grid-cols-1 gap-4">
44
- <%= tag.div class: "form-group", data: {controller: "code-editor", code_editor_language_value: "handlebars", code_editor_read_only_value: false } do %>
44
+ <%= tag.div class: "form-group group", data: {controller: "code-editor", code_editor_language_value: "handlebars", code_editor_read_only_value: false } do %>
45
45
  <%= form.label :option_template %>
46
46
  <%= form.hidden_field :option_template, class: "form-control", data: {code_editor_target: "form"} %>
47
47
  <%= tag.div class: "h-96", data: {code_editor_target: "editor"} do %><%= form.object.option_template %><% end %>
48
48
  <p class="form-hint"><%== t(".option_template_hint_html") %></p>
49
49
  <% end %>
50
50
 
51
- <%= tag.div class: "form-group", data: {controller: "code-editor", code_editor_language_value: "yaml", code_editor_read_only_value: false } do %>
51
+ <%= tag.div class: "form-group group", data: {controller: "code-editor", code_editor_language_value: "yaml", code_editor_read_only_value: false } do %>
52
52
  <%= form.label :option_outgoing_rules, t("pager_tree.integrations.common.option_outgoing_rules") %>
53
53
  <%= form.hidden_field :option_outgoing_rules, class: "form-control", data: {code_editor_target: "form"} %>
54
54
  <%= tag.div class: "h-96", data: {code_editor_target: "editor"} do %><%= form.object.option_outgoing_rules %><% end %>
@@ -1,7 +1,7 @@
1
1
  <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
2
- <div class="form-group">
3
- <%= form.check_box :option_resolve_warn, class: "form-checkbox mr-1" %>
2
+ <div class="form-group group">
3
+ <%= form.check_box :option_resolve_warn, class: "form-checkbox" %>
4
4
  <%= form.label :option_resolve_warn, class: "inline-block" %>
5
- <p class="form-hint"><%== t(".option_resolve_warn_hint_html") %></p>
5
+ <p class="form-hint md:inline-block"><%== t(".option_resolve_warn_hint_html") %></p>
6
6
  </div>
7
7
  </div>
@@ -1,15 +1,15 @@
1
1
  <div class="grid grid-cols-1 gap-4">
2
- <div class="form-group">
2
+ <div class="form-group group">
3
3
  <%= form.label :option_token %>
4
4
  <%= form.text_field :option_token, class: "form-control" %>
5
5
  <p class="form-hint"><%== t(".option_token_hint_html") %></p>
6
6
  </div>
7
7
  </div>
8
8
 
9
- <div class="grid grid-cols-1 md:grid-cols-3 gap-4">
10
- <div class="form-group">
11
- <%= form.check_box :option_capture_additional_data, class: "form-checkbox mr-1" %>
9
+ <div class="grid grid-cols-1 gap-4">
10
+ <div class="form-group group">
11
+ <%= form.check_box :option_capture_additional_data, class: "form-checkbox" %>
12
12
  <%= form.label :option_capture_additional_data, class: "inline-block" %>
13
- <p class="form-hint"><%== t(".option_capture_additional_data_hint_html") %></p>
13
+ <p class="form-hint md:inline-block"><%== t(".option_capture_additional_data_hint_html") %></p>
14
14
  </div>
15
15
  </div>
@@ -35,7 +35,7 @@ module PagerTree::Integrations
35
35
  adapter_incoming_request_params.dig("id")
36
36
  end
37
37
 
38
- # TODO: Returns :create, :acknowledge, :resolve, or :other
38
+ # TODO: Returns :create, :resolve, or :other
39
39
  def adapter_action
40
40
  :other
41
41
  end
@@ -1,5 +1,5 @@
1
1
  module PagerTree
2
2
  module Integrations
3
- VERSION = "1.1.1"
3
+ VERSION = "1.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pager_tree-integrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Austin Miller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-10 00:00:00.000000000 Z
11
+ date: 2022-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails