Variable requestSendOneMessageSchemaConst
requestSendOneMessageSchema: extend<
SchemaClass<
{
autoTypeDetect?: boolean;
country?: string;
customFields?: { readonly [key: string]: string };
faxOptions?: { fileIds: readonly string[] };
imageId?: string;
kakaoOptions?: {
adFlag?: boolean;
bms?: { targeting: "I" | "M" | "N" };
buttons?: readonly (
| {
buttonName: string;
buttonType: "WL";
linkMo: string;
linkPc?: string;
}
| {
buttonName: string;
buttonType: "AL";
linkAnd: string;
linkIos: string;
}
| {
buttonName: string;
buttonType: "BK"
| "MD"
| "DS"
| "BC"
| "BT"
| "AC";
}
)[];
disableSms?: boolean;
imageId?: string;
pfId: string;
templateId?: string;
variables?: { readonly [key: string]: string };
};
naverOptions?: {
buttons?: readonly {
buttonName: string;
buttonType: string;
linkAnd?: string;
linkIos?: string;
linkMo?: string;
linkPc?: string;
}[];
disableSms?: boolean;
talkId: string;
templateId: string;
variables?: { readonly [key: string]: string };
};
rcsOptions?: {
additionalBody?: {
buttons?: readonly (
| { buttonName: ...; buttonType: ...; link: ... }
| { buttonName: ...; buttonType: ...; latitude: ...; longitude: ... }
| { buttonName: ...; buttonType: ...; link: ... }
)[];
description: string;
imaggeId?: string;
title: string;
};
brandId: string;
buttons?: readonly (
| { buttonName: string; buttonType: "WL"; link: string }
| {
buttonName: string;
buttonType: "ML";
latitude: string;
longitude: string;
}
| {
buttonName: string;
buttonType: "MQ"
| "MR"
| "CA"
| "CL"
| "DL"
| "MS";
link: string;
}
)[];
commercialType?: boolean;
copyAllowed?: boolean;
disableSms?: boolean;
mmsType?: "M3"
| "S3"
| "M4"
| "S4"
| "M5"
| "S5"
| "M6"
| "S6";
templateId?: string;
variables?: { readonly [key: string]: string };
};
replacements?: readonly {}[];
subject?: string;
text?: string;
type?: | "SMS"
| "LMS"
| "MMS"
| "ATA"
| "CTA"
| "CTI"
| "NSA"
| "RCS_SMS"
| "RCS_LMS"
| "RCS_MMS"
| "RCS_TPL"
| "RCS_ITPL"
| "RCS_LTPL"
| "FAX"
| "VOICE"
| "BMS_TEXT"
| "BMS_IMAGE"
| "BMS_WIDE"
| "BMS_WIDE_ITEM_LIST"
| "BMS_CAROUSEL_FEED"
| "BMS_PREMIUM_VIDEO"
| "BMS_COMMERCE"
| "BMS_CAROUSEL_COMMERCE";
voiceOptions?: {
counselorNumber?: string;
headerMessage?: string;
replyRange?: 2
| 1
| 3
| 4
| 5
| 6
| 7
| 8
| 9;
tailMessage?: string;
voiceType: "FEMALE" | "MALE";
};
},
{
autoTypeDetect?: boolean;
country?: string;
customFields?: { readonly [key: string]: string };
faxOptions?: { fileIds: readonly string[] };
imageId?: string;
kakaoOptions?: {
adFlag?: boolean;
bms?: { targeting: "I" | "M" | "N" };
buttons?: readonly (
| {
buttonName: string;
buttonType: "WL";
linkMo: string;
linkPc?: string;
}
| {
buttonName: string;
buttonType: "AL";
linkAnd: string;
linkIos: string;
}
| {
buttonName: string;
buttonType: "BK"
| "MD"
| "DS"
| "BC"
| "BT"
| "AC";
}
)[];
disableSms?: boolean;
imageId?: string;
pfId: string;
templateId?: string;
variables?: { readonly [key: string]: string };
};
naverOptions?: {
buttons?: readonly {
buttonName: string;
buttonType: string;
linkAnd?: string;
linkIos?: string;
linkMo?: string;
linkPc?: string;
}[];
disableSms?: boolean;
talkId: string;
templateId: string;
variables?: { readonly [key: string]: string };
};
rcsOptions?: {
additionalBody?: {
buttons?: readonly (
| { buttonName: ...; buttonType: ...; link: ... }
| { buttonName: ...; buttonType: ...; latitude: ...; longitude: ... }
| { buttonName: ...; buttonType: ...; link: ... }
)[];
description: string;
imaggeId?: string;
title: string;
};
brandId: string;
buttons?: readonly (
| { buttonName: string; buttonType: "WL"; link: string }
| {
buttonName: string;
buttonType: "ML";
latitude: string;
longitude: string;
}
| {
buttonName: string;
buttonType: "MQ"
| "MR"
| "CA"
| "CL"
| "DL"
| "MS";
link: string;
}
)[];
commercialType?: boolean;
copyAllowed?: boolean;
disableSms?: boolean;
mmsType?: "M3"
| "S3"
| "M4"
| "S4"
| "M5"
| "S5"
| "M6"
| "S6";
templateId?: string;
variables?: { readonly [key: string]: string };
};
replacements?: readonly {}[];
subject?: string;
text?: string;
type?: | "SMS"
| "LMS"
| "MMS"
| "ATA"
| "CTA"
| "CTI"
| "NSA"
| "RCS_SMS"
| "RCS_LMS"
| "RCS_MMS"
| "RCS_TPL"
| "RCS_ITPL"
| "RCS_LTPL"
| "FAX"
| "VOICE"
| "BMS_TEXT"
| "BMS_IMAGE"
| "BMS_WIDE"
| "BMS_WIDE_ITEM_LIST"
| "BMS_CAROUSEL_FEED"
| "BMS_PREMIUM_VIDEO"
| "BMS_COMMERCE"
| "BMS_CAROUSEL_COMMERCE";
voiceOptions?: {
counselorNumber?: string;
headerMessage?: string;
replyRange?: 2
| 1
| 3
| 4
| 5
| 6
| 7
| 8
| 9;
tailMessage?: string;
voiceType: "FEMALE" | "MALE";
};
},
never,
>,
Struct<
{
from: optional<transform<typeof String$, typeof String$>>;
to: Union<
[
transform<typeof String$, typeof String$>,
Array$<transform<typeof String$, typeof String$>>,
],
>;
},
>,
> = ...
단건 메시지 발송 요청 모델