You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.3 KiB
51 lines
1.3 KiB
export interface WebhookSubscription extends CreationAuditedEntityDto<string>, IHasConcurrencyStamp {
|
|
tenantId?: string;
|
|
webhookUri: string;
|
|
description?: string;
|
|
secret: string;
|
|
isActive: boolean;
|
|
webhooks: string[];
|
|
timeoutDuration?: number;
|
|
headers: Dictionary<string, string>;
|
|
}
|
|
|
|
export interface WebhookSubscriptionCreateOrUpdate {
|
|
webhookUri: string;
|
|
description?: string;
|
|
secret: string;
|
|
isActive: boolean;
|
|
webhooks: string[];
|
|
timeoutDuration?: number;
|
|
headers: Dictionary<string, string>;
|
|
}
|
|
|
|
export type CreateWebhookSubscription = WebhookSubscriptionCreateOrUpdate;
|
|
|
|
export interface UpdateWebhookSubscription extends WebhookSubscriptionCreateOrUpdate , IHasConcurrencyStamp {};
|
|
|
|
export interface WebhookAvailable {
|
|
name: string;
|
|
displayName: string;
|
|
description: string;
|
|
}
|
|
|
|
export interface WebhookAvailableGroup {
|
|
name: string;
|
|
displayName: string;
|
|
webhooks: WebhookAvailable[];
|
|
}
|
|
|
|
export interface WebhookSubscriptionGetListInput extends PagedAndSortedResultRequestDto {
|
|
filter?: string;
|
|
tenantId?: string;
|
|
webhookUri?: string;
|
|
secret?: string;
|
|
isActive?: boolean;
|
|
webhooks?: string;
|
|
beginCreationTime?: Date;
|
|
endCreationTime?: Date;
|
|
}
|
|
|
|
export interface WebhookSubscriptionDeleteManyInput {
|
|
recordIds: string[];
|
|
}
|
|
|