@kilterset/auth0-actions-testing
Version:
Test and develop Auth0 Actions or Okta CIC Actions locally.
15 lines • 636 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.phoneMessageOptions = void 0;
const chance_1 = require("./chance");
const define_1 = require("./define");
exports.phoneMessageOptions = (0, define_1.define)(() => {
return {
action: chance_1.chance.pickone(["enrollment", "second-factor-authentication"]),
code: chance_1.chance.string({ length: 6, pool: "0123456789" }),
message_type: chance_1.chance.pickone(["sms", "voice"]),
recipient: chance_1.chance.phone(),
text: chance_1.chance.sentence(),
};
});
//# sourceMappingURL=phone-message-options.js.map