Skip to content
Open
Show file tree
Hide file tree
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
5 changes: 3 additions & 2 deletions generated-sources/api/src/models/CreateDestinationRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface CreateDestinationRequest {
*/
name: string;
/**
* The type of the destination.
* The type of the destination. For `slack`, set `metadata.url` to a Slack incoming webhook URL.
* @type {string}
* @memberof CreateDestinationRequest
*/
Expand All @@ -65,7 +65,8 @@ export interface CreateDestinationRequest {
export const CreateDestinationRequestTypeEnum = {
Webhook: 'webhook',
Kinesis: 'kinesis',
S3: 's3'
S3: 's3',
Slack: 'slack'
} as const;
export type CreateDestinationRequestTypeEnum = typeof CreateDestinationRequestTypeEnum[keyof typeof CreateDestinationRequestTypeEnum];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { exists, mapValues } from '../runtime';
*/
export interface CreateDestinationRequestMetadata {
/**
* Webhook URL, must start with "https://".
* Webhook URL, must start with "https://". For `slack` destinations, this is the Slack incoming webhook URL.
* @type {string}
* @memberof CreateDestinationRequestMetadata
*/
Expand Down
Loading