Skip to main content

@wildix/xbees-kite-client > ListSmsNumbersCommand

ListSmsNumbersCommand class

Signature:

export declare class ListSmsNumbersCommand extends ListSmsNumbersCommand_base 

Extends: ListSmsNumbersCommand_base

Example

Use a bare-bones client and the command you need to make an API call.

import { KiteClient, ListSmsNumbersCommand } from "@wildix/xbees-kite-client"; // ES Modules import
// const { KiteClient, ListSmsNumbersCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
const client = new KiteClient(config);
const input = { // ListSmsNumbersInput
companyId: "STRING_VALUE",
};
const command = new ListSmsNumbersCommand(input);
const response = await client.send(command);
// { // ListSmsNumbersOutput
// numbers: [ // SmsServiceNumbersList // required
// { // SmsServiceNumber
// number: "STRING_VALUE", // required
// service: { // Service
// id: Number("int"), // required
// uri: "STRING_VALUE", // required
// title: "STRING_VALUE", // required
// settings: { // ServiceSettings
// phoneNumber: "STRING_VALUE",
// messagingNumber: "STRING_VALUE",
// },
// extensions: [ // ExtensionsList // required
// "STRING_VALUE",
// ],
// pbx: { // ServicePbx
// domain: "STRING_VALUE", // required
// port: Number("int"), // required
// },
// },
// },
// ],
// };