"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
    __setModuleDefault(result, mod);
    return result;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Intent = exports.DialogCodeHook = exports.FulfillmentActivity = exports.CodeHook = exports.ConfirmationPrompt = exports.ConclusionStatement = exports.FollowUpPrompt = exports.Prompt = exports.Slot = exports.ValueElicitationPrompt = exports.RejectionStatement = exports.Message = void 0;
const core = __importStar(require("@terrascript/core"));
class Message extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Message.prototype, "content", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Message.prototype, "contentType", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Message.prototype, "groupNumber", void 0);
exports.Message = Message;
class RejectionStatement extends core.Schema {
}
__decorate([
    core.attr(Message, { kind: "array" }),
    __metadata("design:type", Object)
], RejectionStatement.prototype, "message", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], RejectionStatement.prototype, "responseCard", void 0);
exports.RejectionStatement = RejectionStatement;
class ValueElicitationPrompt extends core.Schema {
}
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], ValueElicitationPrompt.prototype, "maxAttempts", void 0);
__decorate([
    core.attr(Message, { kind: "array" }),
    __metadata("design:type", Object)
], ValueElicitationPrompt.prototype, "message", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ValueElicitationPrompt.prototype, "responseCard", void 0);
exports.ValueElicitationPrompt = ValueElicitationPrompt;
class Slot extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Slot.prototype, "description", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Slot.prototype, "name", void 0);
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Slot.prototype, "priority", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Slot.prototype, "responseCard", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Slot.prototype, "sampleUtterances", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Slot.prototype, "slotConstraint", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Slot.prototype, "slotType", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Slot.prototype, "slotTypeVersion", void 0);
__decorate([
    core.attr(ValueElicitationPrompt),
    __metadata("design:type", ValueElicitationPrompt)
], Slot.prototype, "valueElicitationPrompt", void 0);
exports.Slot = Slot;
class Prompt extends core.Schema {
}
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], Prompt.prototype, "maxAttempts", void 0);
__decorate([
    core.attr(Message, { kind: "array" }),
    __metadata("design:type", Object)
], Prompt.prototype, "message", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Prompt.prototype, "responseCard", void 0);
exports.Prompt = Prompt;
class FollowUpPrompt extends core.Schema {
}
__decorate([
    core.attr(Prompt),
    __metadata("design:type", Prompt)
], FollowUpPrompt.prototype, "prompt", void 0);
__decorate([
    core.attr(RejectionStatement),
    __metadata("design:type", RejectionStatement)
], FollowUpPrompt.prototype, "rejectionStatement", void 0);
exports.FollowUpPrompt = FollowUpPrompt;
class ConclusionStatement extends core.Schema {
}
__decorate([
    core.attr(Message, { kind: "array" }),
    __metadata("design:type", Object)
], ConclusionStatement.prototype, "message", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ConclusionStatement.prototype, "responseCard", void 0);
exports.ConclusionStatement = ConclusionStatement;
class ConfirmationPrompt extends core.Schema {
}
__decorate([
    core.attr(Number),
    __metadata("design:type", Object)
], ConfirmationPrompt.prototype, "maxAttempts", void 0);
__decorate([
    core.attr(Message, { kind: "array" }),
    __metadata("design:type", Object)
], ConfirmationPrompt.prototype, "message", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], ConfirmationPrompt.prototype, "responseCard", void 0);
exports.ConfirmationPrompt = ConfirmationPrompt;
class CodeHook extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CodeHook.prototype, "messageVersion", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], CodeHook.prototype, "uri", void 0);
exports.CodeHook = CodeHook;
class FulfillmentActivity extends core.Schema {
}
__decorate([
    core.attr(CodeHook),
    __metadata("design:type", CodeHook)
], FulfillmentActivity.prototype, "codeHook", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], FulfillmentActivity.prototype, "type", void 0);
exports.FulfillmentActivity = FulfillmentActivity;
class DialogCodeHook extends core.Schema {
}
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DialogCodeHook.prototype, "messageVersion", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], DialogCodeHook.prototype, "uri", void 0);
exports.DialogCodeHook = DialogCodeHook;
class Intent extends core.Resource {
    constructor(name, args) {
        super(name, "aws_lex_intent", args);
    }
    getNamespace() {
        return "aws_lex";
    }
}
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Intent.prototype, "arn", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Intent.prototype, "checksum", void 0);
__decorate([
    core.attr(ConclusionStatement),
    __metadata("design:type", ConclusionStatement)
], Intent.prototype, "conclusionStatement", void 0);
__decorate([
    core.attr(ConfirmationPrompt),
    __metadata("design:type", ConfirmationPrompt)
], Intent.prototype, "confirmationPrompt", void 0);
__decorate([
    core.attr(Boolean),
    __metadata("design:type", Object)
], Intent.prototype, "createVersion", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Intent.prototype, "createdDate", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Intent.prototype, "description", void 0);
__decorate([
    core.attr(DialogCodeHook),
    __metadata("design:type", DialogCodeHook)
], Intent.prototype, "dialogCodeHook", void 0);
__decorate([
    core.attr(FollowUpPrompt),
    __metadata("design:type", FollowUpPrompt)
], Intent.prototype, "followUpPrompt", void 0);
__decorate([
    core.attr(FulfillmentActivity),
    __metadata("design:type", FulfillmentActivity)
], Intent.prototype, "fulfillmentActivity", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Intent.prototype, "id", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Intent.prototype, "lastUpdatedDate", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Intent.prototype, "name", void 0);
__decorate([
    core.attr(String),
    __metadata("design:type", Object)
], Intent.prototype, "parentIntentSignature", void 0);
__decorate([
    core.attr(RejectionStatement),
    __metadata("design:type", RejectionStatement)
], Intent.prototype, "rejectionStatement", void 0);
__decorate([
    core.attr(String, { kind: "array" }),
    __metadata("design:type", Object)
], Intent.prototype, "sampleUtterances", void 0);
__decorate([
    core.attr(Slot, { kind: "array" }),
    __metadata("design:type", Object)
], Intent.prototype, "slot", void 0);
__decorate([
    core.attr(String, { computed: true }),
    __metadata("design:type", Object)
], Intent.prototype, "version", void 0);
exports.Intent = Intent;
//# sourceMappingURL=intent.js.map