@azure/communication-sms
Version:
SDK for Azure Communication SMS service which facilitates the sending of SMS messages.
61 lines • 1.56 kB
JavaScript
/*
* 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.
*/
import { SendMessageRequest as SendMessageRequestMapper, OptOutRequest as OptOutRequestMapper, } from "../models/mappers.js";
export const contentType = {
parameterPath: ["options", "contentType"],
mapper: {
defaultValue: "application/json",
isConstant: true,
serializedName: "Content-Type",
type: {
name: "String",
},
},
};
export const sendMessageRequest = {
parameterPath: "sendMessageRequest",
mapper: SendMessageRequestMapper,
};
export const accept = {
parameterPath: "accept",
mapper: {
defaultValue: "application/json",
isConstant: true,
serializedName: "Accept",
type: {
name: "String",
},
},
};
export const endpoint = {
parameterPath: "endpoint",
mapper: {
serializedName: "endpoint",
required: true,
type: {
name: "String",
},
},
skipEncoding: true,
};
export const apiVersion = {
parameterPath: "apiVersion",
mapper: {
defaultValue: "2024-12-10-preview",
isConstant: true,
serializedName: "api-version",
type: {
name: "String",
},
},
};
export const body = {
parameterPath: "body",
mapper: OptOutRequestMapper,
};
//# sourceMappingURL=parameters.js.map