integrations/community/forum/dist¶
Interfaces¶
ForumCommunityClient¶
Methods¶
createReply()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
ForumCreateReplyInput |
Returns¶
Promise\<ForumCommunityProviderResponse>
createTopic()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
ForumCreateTopicInput |
Returns¶
Promise\<ForumCommunityProviderResponse>
getCurrentUser()¶
Returns¶
Promise\<ForumCommunityProviderResponse>
getPost()¶
Parameters¶
| Parameter | Type |
|---|---|
postId |
number |
Returns¶
Promise\<ForumCommunityProviderResponse>
getTopic()¶
Parameters¶
| Parameter | Type |
|---|---|
topicId |
number |
Returns¶
Promise\<ForumCommunityProviderResponse>
latest()¶
Returns¶
Promise\<ForumCommunityProviderResponse>
search()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
ForumSearchInput |
Returns¶
Promise\<ForumCommunityProviderResponse>
ForumCommunityClientOptions¶
Extended by¶
Properties¶
apiKey?¶
apiUsername?¶
baseUrl?¶
client?¶
fetch?¶
Call Signature¶
Parameters¶
| Parameter | Type |
|---|---|
input |
URL | RequestInfo |
init? |
RequestInit |
Returns¶
Promise\<Response>
Call Signature¶
Parameters¶
| Parameter | Type |
|---|---|
input |
string | Request | URL |
init? |
RequestInit |
Returns¶
Promise\<Response>
providerClient?¶
retry?¶
signal?¶
timeoutMs?¶
ForumCommunityIntegrationOptions¶
Extends¶
Properties¶
apiKey?¶
Inherited from¶
ForumCommunityClientOptions.apiKey
apiUsername?¶
Inherited from¶
ForumCommunityClientOptions.apiUsername
baseUrl?¶
Inherited from¶
ForumCommunityClientOptions.baseUrl
client?¶
Inherited from¶
ForumCommunityClientOptions.client
fetch?¶
Call Signature¶
Parameters¶
| Parameter | Type |
|---|---|
input |
URL | RequestInfo |
init? |
RequestInit |
Returns¶
Promise\<Response>
Call Signature¶
Parameters¶
| Parameter | Type |
|---|---|
input |
string | Request | URL |
init? |
RequestInit |
Returns¶
Promise\<Response>
Inherited from¶
ForumCommunityClientOptions.fetch
providerClient?¶
Inherited from¶
ForumCommunityClientOptions.providerClient
retry?¶
Inherited from¶
ForumCommunityClientOptions.retry
signal?¶
Inherited from¶
ForumCommunityClientOptions.signal
timeoutMs?¶
Inherited from¶
ForumCommunityClientOptions.timeoutMs
unavailableReason?¶
ForumCommunityJsonObject¶
Extended by¶
Indexable¶
ForumCommunityProviderExtensionFields¶
Extends¶
Indexable¶
ForumCommunityProviderResponse¶
Extends¶
Indexable¶
ForumCreateReplyInput¶
Properties¶
raw¶
replyToPostNumber?¶
topicId¶
ForumCreateTopicInput¶
Properties¶
archetype?¶
category?¶
createdAt?¶
raw¶
tags?¶
title¶
ForumCredentialStatusInput¶
Properties¶
apiKeyConfigured?¶
apiUsername?¶
baseUrl?¶
scopes?¶
webhookSecretConfigured?¶
ForumLiveCheckOptions¶
Properties¶
client?¶
unavailableReason?¶
ForumSearchInput¶
Properties¶
page?¶
query¶
ForumWebhookPayload¶
Indexable¶
Properties¶
event?¶
eventType?¶
post?¶
topic?¶
user?¶
ParseForumWebhookOperationInput¶
Properties¶
options?¶
request¶
ParseForumWebhookOptions¶
Properties¶
rawBody?¶
requireSignature?¶
secret?¶
ProviderJsonRetryOptions¶
Properties¶
attempts?¶
baseDelayMs?¶
maxDelayMs?¶
statusCodes?¶
Type Aliases¶
ForumCommunityJsonPrimitive¶
ForumCommunityJsonValue¶
type ForumCommunityJsonValue =
| ForumCommunityJsonPrimitive
| ForumCommunityJsonObject
| readonly ForumCommunityJsonValue[];
ForumCommunityProviderClient¶
ForumCommunityProviderExtensionValue¶
ForumCommunityProviderPayload¶
ForumCommunityProviderQuery¶
Functions¶
createForumCommunityClient()¶
Parameters¶
| Parameter | Type |
|---|---|
options? |
ForumCommunityClientOptions |
Returns¶
createForumCommunityIntegration()¶
Parameters¶
| Parameter | Type |
|---|---|
options? |
ForumCommunityIntegrationOptions |
Returns¶
DefinedIntegration\<never, unknown, never>
createForumCommunityLiveChecks()¶
function createForumCommunityLiveChecks(options?): {
description: string;
id: string;
requiredCredentialIds: string[];
run: Promise<{
details: {
id: number;
username: string;
};
}>;
}[];
Parameters¶
| Parameter | Type |
|---|---|
options? |
ForumLiveCheckOptions |
Returns¶
{
description: string;
id: string;
requiredCredentialIds: string[];
run: Promise\<{
details: {
id: number;
username: string;
};
}>;
}[]
createForumCommunityUnavailableClient()¶
Parameters¶
| Parameter | Type |
|---|---|
reason? |
string |
Returns¶
forumCommunityCredentialStatuses()¶
function forumCommunityCredentialStatuses(input): {
expiresAt?: string;
message?: string;
providerPackageId?: string;
requirementId: string;
scopes?: string[];
state: | "required"
| "configured"
| "permission-blocked"
| "not-required"
| "missing"
| "expired"
| "insufficient-scope"
| "unavailable";
}[];
Parameters¶
| Parameter | Type |
|---|---|
input |
ForumCredentialStatusInput |
Returns¶
{
expiresAt?: string;
message?: string;
providerPackageId?: string;
requirementId: string;
scopes?: string[];
state: | "required"
| "configured"
| "permission-blocked"
| "not-required"
| "missing"
| "expired"
| "insufficient-scope"
| "unavailable";
}[]
parseForumWebhook()¶
Parameters¶
| Parameter | Type |
|---|---|
request |
Request |
options? |
ParseForumWebhookOptions |
Returns¶
Promise\<ForumWebhookPayload>
validateForumWebhookSignature()¶
Parameters¶
| Parameter | Type |
|---|---|
input |
{ rawBody: string; secret: string; signature: string; } |
input.rawBody |
string |
input.secret |
string |
input.signature |
string |
Returns¶
boolean
References¶
forumCommunityProviderManifest¶
Re-exports forumCommunityProviderManifest