bullet_train-outgoing_webhooks 1.2.23 → 1.2.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/api/v1/webhooks/outgoing/events/_event.json.jbuilder +9 -12
- data/config/locales/en/webhooks/outgoing/events.en.yml +21 -33
- data/db/migrate/20221230223200_add_api_version_to_webhooks_outgoing_endpoints.rb +5 -0
- data/db/migrate/20221230235326_add_api_version_to_webhooks_outgoing_events.rb +5 -0
- data/db/migrate/20221231003437_remove_default_from_webhooks_outgoing_endpoints.rb +5 -0
- data/db/migrate/20221231003438_remove_default_from_webhooks_outgoing_events.rb +5 -0
- data/lib/bullet_train/outgoing_webhooks/version.rb +1 -1
- metadata +6 -3
- data/app/views/api/v1/open_api/index.yaml.erb +0 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e81637d68e3ae36f5f4fd1723c692b5d58577e5dd66db6b834ec843ed1b036a7
|
4
|
+
data.tar.gz: 9c422ab8041f69147fb38c5af3539c8742a2225073f27a70f49bf06455ee170c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f68ed169a9250f8c3d5e73e848125138cec0c4a44cac49d751de96be8ac471ab00e32556e36ad6db471582836a4db38e7b71da2ca7f806da7a8677543e95eaf1
|
7
|
+
data.tar.gz: d09b381b296a9ec78084aab2cadfdfd3b1ca6d421e3e7ba75147b4bb963e4b09c6849fb921fbe6a740bc2ecd0ef3600e831f00d899813c876b8904152a940773
|
@@ -1,12 +1,9 @@
|
|
1
|
-
json.
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
json.event_type schema: {type: :integer, description: I18n.t("webhooks/outgoing/events.fields.event_type.heading")}
|
11
|
-
json.subject_id schema: {type: :integer, description: I18n.t("webhooks/outgoing/events.fields.subject_id.heading")}
|
12
|
-
json.subject_type schema: {type: :string, description: I18n.t("webhooks/outgoing/events.fields.subject_type.heading")}
|
1
|
+
json.extract! event,
|
2
|
+
:id,
|
3
|
+
:team_id,
|
4
|
+
:uuid,
|
5
|
+
:event_type_id,
|
6
|
+
:subject_id,
|
7
|
+
:subject_type,
|
8
|
+
:data,
|
9
|
+
:created_at
|
@@ -2,45 +2,23 @@ en:
|
|
2
2
|
webhooks/outgoing/events: &events
|
3
3
|
label: &label Webhooks Events
|
4
4
|
fields: &fields
|
5
|
-
|
6
|
-
_: &
|
7
|
-
label: *
|
8
|
-
heading: *
|
9
|
-
|
10
|
-
id:
|
11
|
-
_: &id Event ID
|
12
|
-
label: *id
|
13
|
-
heading: *id
|
14
|
-
|
15
|
-
name:
|
16
|
-
_: &name Event Name
|
17
|
-
label: *name
|
18
|
-
heading: *name
|
19
|
-
|
20
|
-
description:
|
21
|
-
_: &description Event Description
|
22
|
-
label: *description
|
23
|
-
heading: *description
|
24
|
-
|
25
|
-
created_at:
|
26
|
-
_: &created_at DateTime Event was added
|
27
|
-
label: *created_at
|
28
|
-
heading: *created_at
|
29
|
-
updated_at:
|
30
|
-
_: &updated_at DateTime Event was updated
|
31
|
-
label: *updated_at
|
32
|
-
heading: *updated_at
|
5
|
+
id:
|
6
|
+
_: &id Event ID
|
7
|
+
label: *id
|
8
|
+
heading: *id
|
33
9
|
|
34
|
-
|
35
|
-
_: &
|
36
|
-
label: *
|
37
|
-
heading: *
|
10
|
+
team_id:
|
11
|
+
_: &team_id Team ID
|
12
|
+
label: *team_id
|
13
|
+
heading: *team_id
|
38
14
|
|
39
|
-
|
15
|
+
event_type_id: &event_type_id
|
40
16
|
_: &event_type Event Type
|
41
17
|
label: *event_type
|
42
18
|
heading: *event_type
|
43
19
|
|
20
|
+
event_type: *event_type_id
|
21
|
+
|
44
22
|
subject_id:
|
45
23
|
_: &subject_id Subject ID
|
46
24
|
label: *subject_id
|
@@ -70,3 +48,13 @@ en:
|
|
70
48
|
_: &event_type_name Event Type Name
|
71
49
|
label: *event_type_name
|
72
50
|
heading: *event_type_name
|
51
|
+
|
52
|
+
data:
|
53
|
+
_: &data Object Data
|
54
|
+
label: *data
|
55
|
+
heading: *data
|
56
|
+
|
57
|
+
created_at:
|
58
|
+
_: &created_at Happened At
|
59
|
+
label: *created_at
|
60
|
+
heading: *created_at
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-outgoing_webhooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|
@@ -114,7 +114,6 @@ files:
|
|
114
114
|
- app/views/account/webhooks/outgoing/endpoints/index.html.erb
|
115
115
|
- app/views/account/webhooks/outgoing/endpoints/new.html.erb
|
116
116
|
- app/views/account/webhooks/outgoing/endpoints/show.html.erb
|
117
|
-
- app/views/api/v1/open_api/index.yaml.erb
|
118
117
|
- app/views/api/v1/webhooks/outgoing/endpoints/_endpoint.json.jbuilder
|
119
118
|
- app/views/api/v1/webhooks/outgoing/endpoints/index.json.jbuilder
|
120
119
|
- app/views/api/v1/webhooks/outgoing/endpoints/show.json.jbuilder
|
@@ -148,6 +147,10 @@ files:
|
|
148
147
|
- db/migrate/20211127015712_drop_webhooks_outgoing_endpoint_event_types.rb
|
149
148
|
- db/migrate/20211127015713_drop_webhooks_outgoing_event_types.rb
|
150
149
|
- db/migrate/20221130063357_add_creative_concept_to_endpoints.rb
|
150
|
+
- db/migrate/20221230223200_add_api_version_to_webhooks_outgoing_endpoints.rb
|
151
|
+
- db/migrate/20221230235326_add_api_version_to_webhooks_outgoing_events.rb
|
152
|
+
- db/migrate/20221231003437_remove_default_from_webhooks_outgoing_endpoints.rb
|
153
|
+
- db/migrate/20221231003438_remove_default_from_webhooks_outgoing_events.rb
|
151
154
|
- lib/bullet_train/outgoing_webhooks.rb
|
152
155
|
- lib/bullet_train/outgoing_webhooks/engine.rb
|
153
156
|
- lib/bullet_train/outgoing_webhooks/version.rb
|
@@ -1,33 +0,0 @@
|
|
1
|
-
openapi: 3.1.0
|
2
|
-
info:
|
3
|
-
title: Bullet Train API
|
4
|
-
description: |
|
5
|
-
The baseline API of a new Bullet Train application.
|
6
|
-
license:
|
7
|
-
name: MIT
|
8
|
-
url: https://opensource.org/licenses/MIT
|
9
|
-
version: "<%= @version.upcase %>"
|
10
|
-
servers:
|
11
|
-
- url: <%= ENV["BASE_URL"] %>/api/<%= @version %>
|
12
|
-
components:
|
13
|
-
securitySchemes:
|
14
|
-
BearerAuth:
|
15
|
-
type: http
|
16
|
-
scheme: bearer
|
17
|
-
schemas:
|
18
|
-
<%= automatic_components_for Webhooks::Outgoing::Endpoint %>
|
19
|
-
<%= automatic_components_for Webhooks::Outgoing::Event %>
|
20
|
-
<%# 🚅 super scaffolding will insert new components above this line. %>
|
21
|
-
parameters:
|
22
|
-
id:
|
23
|
-
name: id
|
24
|
-
in: path
|
25
|
-
required: true
|
26
|
-
schema:
|
27
|
-
type: string
|
28
|
-
security:
|
29
|
-
- BearerAuth: []
|
30
|
-
paths:
|
31
|
-
<%= automatic_paths_for Webhooks::Outgoing::Endpoint, Team %>
|
32
|
-
<%= automatic_paths_for Webhooks::Outgoing::Event, Team, except: %i[create update delete] %>
|
33
|
-
<%# 🚅 super scaffolding will insert new paths above this line. %>
|