47 lines
1.0 KiB
JavaScript
47 lines
1.0 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.desc = void 0;
|
|
const Action_1 = require("./Action");
|
|
exports.desc = {
|
|
attributes: {
|
|
channel: {
|
|
notNull: true,
|
|
type: "varchar",
|
|
params: {
|
|
length: 32
|
|
}
|
|
},
|
|
applicationId: {
|
|
type: "ref",
|
|
ref: "application"
|
|
},
|
|
data: {
|
|
type: "object"
|
|
},
|
|
messageSystemId: {
|
|
notNull: true,
|
|
type: "ref",
|
|
ref: "messageSystem"
|
|
},
|
|
data1: {
|
|
type: "object"
|
|
},
|
|
data2: {
|
|
type: "object"
|
|
},
|
|
templateId: {
|
|
type: "varchar",
|
|
params: {
|
|
length: 128
|
|
}
|
|
},
|
|
iState: {
|
|
notNull: true,
|
|
type: "enum",
|
|
enumeration: ["sending", "success", "failure"]
|
|
}
|
|
},
|
|
actionType: "crud",
|
|
actions: Action_1.actions
|
|
};
|