@wildix/xbees-assistant-client > GetSettingsCommand
GetSettingsCommand class
Signature:
export declare class GetSettingsCommand extends GetSettingsCommand_base
Extends: GetSettingsCommand_base
Example
Use a bare-bones client and the command you need to make an API call.
import { AssistantClient, GetSettingsCommand } from "@wildix/xbees-assistant-client"; // ES Modules import
// const { AssistantClient, GetSettingsCommand } = require("@wildix/xbees-assistant-client"); // CommonJS import
const client = new AssistantClient(config);
const input = {};
const command = new GetSettingsCommand(input);
const response = await client.send(command);
// { // GetSettingsOutput
// system: [ // SystemCommandList // required
// { // SystemCommandData
// id: "STRING_VALUE", // required
// label: "STRING_VALUE", // required
// type: "system", // required
// compatibility: [ // CompatibilityList // required
// "message" || "draft" || "history",
// ],
// },
// ],
// user: [ // UserCommandList // required
// { // UserCommandData
// id: "STRING_VALUE", // required
// label: "STRING_VALUE", // required
// type: "prompt" || "summary" || "rephrase" || "reply" || "expand" || "shorten" || "explain" || "translate", // required
// prompt: "STRING_VALUE", // required
// },
// ],
// };