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.
40 lines
975 B
40 lines
975 B
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;
|
|
sendExactSameData: boolean;
|
|
requestHeaders: Record<string, string>;
|
|
responseHeaders: Record<string, string>;
|
|
webhookEvent: WebhookEvent;
|
|
}
|
|
|
|
export interface WebhookSendAttemptGetListInput extends PagedAndSortedResultRequestDto {
|
|
filter?: string;
|
|
webhookEventId?: string;
|
|
subscriptionId?: string;
|
|
responseStatusCode?: HttpStatusCode;
|
|
beginCreationTime?: Date;
|
|
endCreationTime?: Date;
|
|
}
|
|
|
|
export interface WebhookSendRecordDeleteManyInput {
|
|
recordIds: string[];
|
|
}
|
|
|
|
export interface WebhookSendRecordResendManyInput {
|
|
recordIds: string[];
|
|
}
|
|
|