-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ccee693
commit 6414131
Showing
134 changed files
with
2,824 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
/** | ||
* | ||
*/ | ||
export type ActionTypeEnum = "Broadcast" | "User" | "Group"; | ||
|
||
export const ActionTypeEnum = { | ||
Broadcast: "Broadcast", | ||
User: "User", | ||
Group: "Group", | ||
} as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface AlgoliaRuleActionDto { | ||
/** The application ID. */ | ||
appId: string; | ||
/** The API key to grant access to Squidex. */ | ||
apiKey: string; | ||
/** The name of the index. */ | ||
indexName: string; | ||
/** The optional custom document. */ | ||
document?: string; | ||
/** The condition when to delete the entry. */ | ||
delete?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface AssetChangedRuleTriggerDto { | ||
/** Javascript condition when to trigger. */ | ||
condition?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface AzureQueueRuleActionDto { | ||
/** The connection string to the storage account. */ | ||
connectionString: string; | ||
/** The name of the queue. */ | ||
queue: string; | ||
/** Leave it empty to use the full event as body. */ | ||
payload?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface CommentRuleActionDto { | ||
/** The comment text. */ | ||
text: string; | ||
/** An optional client name. */ | ||
client?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface CommentRuleTriggerDto { | ||
/** Javascript condition when to trigger. */ | ||
condition?: string; | ||
} |
12 changes: 12 additions & 0 deletions
12
src/api/resources/rules/types/ContentChangedRuleTriggerDto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
import { Squidex } from "@fern-api/squidex"; | ||
|
||
export interface ContentChangedRuleTriggerDto { | ||
/** The schema settings. */ | ||
schemas?: Squidex.ContentChangedRuleTriggerSchemaDto[]; | ||
/** Determines whether the trigger should handle all content changes events. */ | ||
handleAll?: boolean; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/api/resources/rules/types/ContentChangedRuleTriggerSchemaDto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface ContentChangedRuleTriggerSchemaDto { | ||
/** The ID of the schema. */ | ||
schemaId?: string; | ||
/** Javascript condition when to trigger. */ | ||
condition?: string; | ||
} |
14 changes: 14 additions & 0 deletions
14
src/api/resources/rules/types/CreateContentRuleActionDto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface CreateContentRuleActionDto { | ||
/** The content data. */ | ||
data: string; | ||
/** The name of the schema. */ | ||
schema: string; | ||
/** An optional client name. */ | ||
client?: string; | ||
/** Publish the content. */ | ||
publish?: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface DiscourseRuleActionDto { | ||
/** The url to the discourse server. */ | ||
url: string; | ||
/** The api key to authenticate to your discourse server. */ | ||
apiKey: string; | ||
/** The api username to authenticate to your discourse server. */ | ||
apiUsername: string; | ||
/** The text as markdown. */ | ||
text: string; | ||
/** The optional title when creating new topics. */ | ||
title?: string; | ||
/** The optional topic id. */ | ||
topic?: number; | ||
/** The optional category id. */ | ||
category?: number; | ||
} |
18 changes: 18 additions & 0 deletions
18
src/api/resources/rules/types/ElasticSearchRuleActionDto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface ElasticSearchRuleActionDto { | ||
/** The url to the instance or cluster. */ | ||
host: string; | ||
/** The name of the index. */ | ||
indexName: string; | ||
/** The optional username. */ | ||
username?: string; | ||
/** The optional password. */ | ||
password?: string; | ||
/** The optional custom document. */ | ||
document?: string; | ||
/** The condition when to delete the document. */ | ||
delete?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface EmailRuleActionDto { | ||
/** The IP address or host to the SMTP server. */ | ||
serverHost: string; | ||
/** The port to the SMTP server. */ | ||
serverPort: number; | ||
/** The username for the SMTP server. */ | ||
serverUsername: string; | ||
/** The password for the SMTP server. */ | ||
serverPassword: string; | ||
/** The email sending address. */ | ||
messageFrom: string; | ||
/** The email message will be sent to. */ | ||
messageTo: string; | ||
/** The subject line for this email message. */ | ||
messageSubject: string; | ||
/** The message body. */ | ||
messageBody: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface FastlyRuleActionDto { | ||
/** The API key to grant access to Squidex. */ | ||
apiKey: string; | ||
/** The ID of the fastly service. */ | ||
serviceId: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface ManualRuleTriggerDto {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface MediumRuleActionDto { | ||
/** The self issued access token. */ | ||
accessToken: string; | ||
/** The title, used for the url. */ | ||
title: string; | ||
/** The content, either html or markdown. */ | ||
content: string; | ||
/** The original home of this content, if it was originally published elsewhere. */ | ||
canonicalUrl?: string; | ||
/** The optional comma separated list of tags. */ | ||
tags?: string; | ||
/** Optional publication id. */ | ||
publicationId?: string; | ||
/** Indicates whether the content is markdown or html. */ | ||
isHtml?: boolean; | ||
} |
14 changes: 14 additions & 0 deletions
14
src/api/resources/rules/types/NotificationRuleActionDto.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface NotificationRuleActionDto { | ||
/** The user id or email. */ | ||
user: string; | ||
/** The text to send. */ | ||
text: string; | ||
/** The optional url to attach to the notification. */ | ||
url?: string; | ||
/** An optional client name. */ | ||
client?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface OpenSearchRuleActionDto { | ||
/** The url to the instance or cluster. */ | ||
host: string; | ||
/** The name of the index. */ | ||
indexName: string; | ||
/** The optional username. */ | ||
username?: string; | ||
/** The optional password. */ | ||
password?: string; | ||
/** The optional custom document. */ | ||
document?: string; | ||
/** The condition when to delete the document. */ | ||
delete?: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* This file was auto-generated by Fern from our API Definition. | ||
*/ | ||
|
||
export interface PrerenderRuleActionDto { | ||
/** The prerender token from your account. */ | ||
token: string; | ||
/** The url to recache. */ | ||
url: string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.