UNPKG

@azure/communication-sms

Version:

SDK for Azure Communication SMS service which facilitates the sending of SMS messages.

64 lines 1.68 kB
"use strict"; /* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.body = exports.apiVersion = exports.endpoint = exports.accept = exports.sendMessageRequest = exports.contentType = void 0; const mappers_js_1 = require("../models/mappers.js"); exports.contentType = { parameterPath: ["options", "contentType"], mapper: { defaultValue: "application/json", isConstant: true, serializedName: "Content-Type", type: { name: "String", }, }, }; exports.sendMessageRequest = { parameterPath: "sendMessageRequest", mapper: mappers_js_1.SendMessageRequest, }; exports.accept = { parameterPath: "accept", mapper: { defaultValue: "application/json", isConstant: true, serializedName: "Accept", type: { name: "String", }, }, }; exports.endpoint = { parameterPath: "endpoint", mapper: { serializedName: "endpoint", required: true, type: { name: "String", }, }, skipEncoding: true, }; exports.apiVersion = { parameterPath: "apiVersion", mapper: { defaultValue: "2024-12-10-preview", isConstant: true, serializedName: "api-version", type: { name: "String", }, }, }; exports.body = { parameterPath: "body", mapper: mappers_js_1.OptOutRequest, }; //# sourceMappingURL=parameters.js.map