bullet_train-outgoing_webhooks 1.2.23 → 1.2.24

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac76c8e3aa7521f2e6482ef7ef8c230a8129acc227229676a2bd5a989d31fed5
4
- data.tar.gz: ec5813e9fcd2890c2e4c27acacadd96cdf56211bc417edea6349123f0fd7563f
3
+ metadata.gz: 7df4400b86060c86b60e951cfa9e4955dc7357a7bdbdbd3678dba1009a0f0e22
4
+ data.tar.gz: 22ab7c8e7d577dfa2904f38dee58243ee85ec9ad42ccae1899fca01aea03cc7a
5
5
  SHA512:
6
- metadata.gz: 754b0e2c9c5454fe2d3157043140f4ea363f4242c68f55589c214b436d48711cf3a8fd9713b2d07cf390560dd84a9c19ba8c663ceeb5aede543eb9daf3ba6336
7
- data.tar.gz: 34007d9cc55bf55ce6948813248f4c071548a4a92369e2e3f910f7a3ef04b765f9239d892b218c772f5f0ed3cf0de1375577992ec45b6d19f2043d7957b2eb18
6
+ metadata.gz: 0f6e71a71aaf701872a28ccf0b63a6692465eb13eaec6843f099bfdcaf8a7f4b04d9a1229eac2f290d6e0d2bf56c5f58ba9113f53fbbf352b2b8d8368f5d54c5
7
+ data.tar.gz: bef56b1fc54f452c6ebb64507a49c43715667efb807b701f771940a2cb3b2b0b9ef108ca09094afe5fe7e0b181f158a3b02131978479e6d200b97eafb7448e49
@@ -1,12 +1,9 @@
1
- json.data schema: {object: OpenStruct.new, object_title: I18n.t("webhooks/outgoing/events.fields.data.heading"), object_description: I18n.t("webhooks/outgoing/events.fields.data.heading")} do
2
- json.id schema: {type: :integer, description: I18n.t("webhooks/outgoing/events.fields.data.id.heading")}
3
- json.name schema: {type: :string, description: I18n.t("webhooks/outgoing/events.fields.data.name.heading")}
4
- json.description schema: {type: :string, description: I18n.t("webhooks/outgoing/events.fields.data.description.heading")}
5
- json.created_at schema: {type: :string, format: "date-time", description: I18n.t("webhooks/outgoing/events.fields.data.created_at.heading")}
6
- json.updated_at schema: {type: :string, format: "date-time", description: I18n.t("webhooks/outgoing/events.fields.data.updated_at.heading")}
7
- end
8
-
9
- json.event_id schema: {type: :string, description: I18n.t("webhooks/outgoing/events.fields.event_id.heading")}
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
- data:
6
- _: &data Event Data
7
- label: *data
8
- heading: *data
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
- event_id:
35
- _: &event_id Event UUID
36
- label: *event_id
37
- heading: *event_id
10
+ team_id:
11
+ _: &team_id Team ID
12
+ label: *team_id
13
+ heading: *team_id
38
14
 
39
- event_type:
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
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module OutgoingWebhooks
3
- VERSION = "1.2.23"
3
+ VERSION = "1.2.24"
4
4
  end
5
5
  end
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.23
4
+ version: 1.2.24
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-04-01 00:00:00.000000000 Z
11
+ date: 2023-04-03 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
@@ -173,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
173
172
  - !ruby/object:Gem::Version
174
173
  version: '0'
175
174
  requirements: []
176
- rubygems_version: 3.3.7
175
+ rubygems_version: 3.4.6
177
176
  signing_key:
178
177
  specification_version: 4
179
178
  summary: Allow users of your Rails application to subscribe and receive webhooks when
@@ -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. %>