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.
30 lines
776 B
30 lines
776 B
import { PagedAndSortedResultRequestDto } from '../../model/baseModel';
|
|
import { HttpStatusCode } from '/@/enums/httpEnum';
|
|
|
|
export interface WebhookEvent {
|
|
tenantId?: string;
|
|
webhookName: string;
|
|
data: string;
|
|
creationTime: Date;
|
|
}
|
|
|
|
export interface WebhookSendAttempt {
|
|
id: string;
|
|
tenantId?: string;
|
|
webhookEventId: string;
|
|
webhookSubscriptionId: string;
|
|
response: string;
|
|
responseStatusCode?: HttpStatusCode;
|
|
creationTime: Date;
|
|
lastModificationTime?: Date;
|
|
webhookEvent: WebhookEvent;
|
|
}
|
|
|
|
export interface WebhookSendAttemptGetListInput extends PagedAndSortedResultRequestDto {
|
|
filter?: string;
|
|
webhookEventId?: string;
|
|
subscriptionId?: string;
|
|
responseStatusCode?: HttpStatusCode;
|
|
beginCreationTime?: Date;
|
|
endCreationTime?: Date;
|
|
}
|
|
|