2017-05-22 13:58:25 -05:00
|
|
|
import * as Sequelize from 'sequelize'
|
|
|
|
|
|
|
|
export namespace RequestToPodMethods {
|
2017-06-10 15:15:25 -05:00
|
|
|
export type RemoveByRequestIdsAndPodCallback = (err: Error) => void
|
|
|
|
export type RemoveByRequestIdsAndPod = (requestsIds: number[], podId: number, callback?: RemoveByRequestIdsAndPodCallback) => void
|
2017-05-22 13:58:25 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface RequestToPodClass {
|
|
|
|
removeByRequestIdsAndPod: RequestToPodMethods.RemoveByRequestIdsAndPod
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface RequestToPodAttributes {
|
|
|
|
}
|
|
|
|
|
2017-06-10 15:15:25 -05:00
|
|
|
export interface RequestToPodInstance extends RequestToPodClass, RequestToPodAttributes, Sequelize.Instance<RequestToPodAttributes> {
|
2017-05-22 13:58:25 -05:00
|
|
|
id: number
|
|
|
|
createdAt: Date
|
|
|
|
updatedAt: Date
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface RequestToPodModel extends RequestToPodClass, Sequelize.Model<RequestToPodInstance, RequestToPodAttributes> {}
|