Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 82 additions & 4 deletions data/specs/mapi/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ components:
- $ref: '#/components/schemas/MessageTypeSelectField'
- $ref: '#/components/schemas/MessageTypeBooleanField'
- $ref: '#/components/schemas/MessageTypeJsonField'
- $ref: '#/components/schemas/MessageTypeTextField'
- $ref: '#/components/schemas/MessageTypeNumberField'
- $ref: '#/components/schemas/MessageTypeTextField'
- $ref: '#/components/schemas/MessageTypeImageField'
- $ref: '#/components/schemas/MessageTypeColorField'
- $ref: '#/components/schemas/MessageTypeUrlField'
Expand Down Expand Up @@ -1770,6 +1770,9 @@ components:
provider: sendgrid
type: email
updated_at: "2021-01-01T00:00:00Z"
visible_in:
- workflow
- broadcast
created_at: "2021-01-01T00:00:00Z"
index: 0
rule_type: always
Expand Down Expand Up @@ -3739,6 +3742,9 @@ components:
provider: sendgrid
type: email
updated_at: "2021-01-01T00:00:00Z"
visible_in:
- workflow
- broadcast
properties:
archived_at:
description: The timestamp of when the channel was deleted.
Expand Down Expand Up @@ -3813,6 +3819,18 @@ components:
type: string
x-struct: null
x-validate: null
visible_in:
description: The resources where this channel is visible as a step destination (e.g. workflow, broadcast).
items:
enum:
- workflow
- broadcast
type: string
x-struct: null
x-validate: null
type: array
x-struct: null
x-validate: null
required:
- id
- name
Expand Down Expand Up @@ -5256,6 +5274,9 @@ components:
provider: sendgrid
type: email
updated_at: "2021-01-01T00:00:00Z"
visible_in:
- workflow
- broadcast
created_at: "2021-01-01T00:00:00Z"
index: 0
rule_type: always
Expand All @@ -5267,6 +5288,9 @@ components:
operator: any
source: user
updated_at: "2021-01-01T00:00:00Z"
visible_in:
- workflow
- broadcast
properties:
channel_group:
$ref: '#/components/schemas/ChannelGroup'
Expand Down Expand Up @@ -7478,6 +7502,9 @@ components:
provider: sendgrid
type: email
updated_at: "2021-01-01T00:00:00Z"
visible_in:
- workflow
- broadcast
created_at: "2021-01-01T00:00:00Z"
index: 0
rule_type: always
Expand All @@ -7489,6 +7516,9 @@ components:
operator: any
source: user
updated_at: "2021-01-01T00:00:00Z"
visible_in:
- workflow
- broadcast
properties:
archived_at:
description: The timestamp of when the channel group was archived (soft deleted).
Expand Down Expand Up @@ -7556,6 +7586,18 @@ components:
type: string
x-struct: null
x-validate: null
visible_in:
description: The resources where this channel group is visible as a step destination (e.g. workflow, broadcast).
items:
enum:
- workflow
- broadcast
type: string
x-struct: null
x-validate: null
type: array
x-struct: null
x-validate: null
required:
- name
- key
Expand Down Expand Up @@ -7663,13 +7705,25 @@ components:
x-struct: null
x-validate: null
operator:
description: Determines how the channel rules are applied ('any' means any rule can match, 'all' means all rules must match).
description: Determines how the channel rules are applied ('any' means any rule can match, 'all' means all rules must match). Defaults to 'any'.
enum:
- any
- all
type: string
x-struct: null
x-validate: null
visible_in:
description: Optional. Where the channel group is visible as a step destination. Defaults to both workflow and broadcast when creating; omitted on update preserves the existing value.
items:
enum:
- workflow
- broadcast
type: string
x-struct: null
x-validate: null
type: array
x-struct: null
x-validate: null
required:
- name
- channel_type
Expand Down Expand Up @@ -8719,8 +8773,8 @@ components:
- $ref: '#/components/schemas/MessageTypeSelectField'
- $ref: '#/components/schemas/MessageTypeBooleanField'
- $ref: '#/components/schemas/MessageTypeJsonField'
- $ref: '#/components/schemas/MessageTypeTextField'
- $ref: '#/components/schemas/MessageTypeNumberField'
- $ref: '#/components/schemas/MessageTypeTextField'
- $ref: '#/components/schemas/MessageTypeImageField'
- $ref: '#/components/schemas/MessageTypeColorField'
- $ref: '#/components/schemas/MessageTypeUrlField'
Expand Down Expand Up @@ -9086,6 +9140,9 @@ components:
provider: sendgrid
type: email
updated_at: "2021-01-01T00:00:00Z"
visible_in:
- workflow
- broadcast
created_at: "2021-01-01T00:00:00Z"
index: 0
rule_type: always
Expand All @@ -9097,6 +9154,9 @@ components:
operator: any
source: user
updated_at: "2021-01-01T00:00:00Z"
visible_in:
- workflow
- broadcast
page_info:
after: null
before: null
Expand Down Expand Up @@ -9677,8 +9737,8 @@ components:
- $ref: '#/components/schemas/MessageTypeSelectField'
- $ref: '#/components/schemas/MessageTypeBooleanField'
- $ref: '#/components/schemas/MessageTypeJsonField'
- $ref: '#/components/schemas/MessageTypeTextField'
- $ref: '#/components/schemas/MessageTypeNumberField'
- $ref: '#/components/schemas/MessageTypeTextField'
- $ref: '#/components/schemas/MessageTypeImageField'
- $ref: '#/components/schemas/MessageTypeColorField'
- $ref: '#/components/schemas/MessageTypeUrlField'
Expand Down Expand Up @@ -11438,6 +11498,9 @@ components:
provider: sendgrid
type: email
updated_at: "2021-01-01T00:00:00Z"
visible_in:
- workflow
- broadcast
page_info:
after: null
before: null
Expand Down Expand Up @@ -14681,6 +14744,9 @@ paths:
provider: sendgrid
type: email
updated_at: "2021-01-01T00:00:00Z"
visible_in:
- workflow
- broadcast
created_at: "2021-01-01T00:00:00Z"
index: 0
rule_type: always
Expand All @@ -14692,6 +14758,9 @@ paths:
operator: any
source: user
updated_at: "2021-01-01T00:00:00Z"
visible_in:
- workflow
- broadcast
page_info:
after: null
before: null
Expand Down Expand Up @@ -16249,6 +16318,9 @@ paths:
provider: sendgrid
type: email
updated_at: "2021-01-01T00:00:00Z"
visible_in:
- workflow
- broadcast
page_info:
after: null
before: null
Expand Down Expand Up @@ -20106,6 +20178,9 @@ paths:
provider: sendgrid
type: email
updated_at: "2021-01-01T00:00:00Z"
visible_in:
- workflow
- broadcast
created_at: "2021-01-01T00:00:00Z"
index: 0
rule_type: always
Expand All @@ -20117,6 +20192,9 @@ paths:
operator: any
source: user
updated_at: "2021-01-01T00:00:00Z"
visible_in:
- workflow
- broadcast
properties:
channel_group:
$ref: '#/components/schemas/ChannelGroup'
Expand Down
Loading