Variable requestSendMessageSchemaConst
requestSendMessageSchema: Union<
[
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: ...; buttonType: ...; linkMo: ...; linkPc?: ... }
| { buttonName: ...; buttonType: ...; linkAnd: ...; linkIos: ... }
| { buttonName: ...; buttonType: ... }
)[];
disableSms?: boolean;
imageId?: string;
pfId: string;
templateId?: string;
variables?: { readonly [key: string]: string };
};
naverOptions?: {
buttons?: readonly {
buttonName: string;
buttonType: string;
linkAnd?: (...)
| (...);
linkIos?: (...) | (...);
linkMo?: (...) | (...);
linkPc?: (...) | (...);
}[];
disableSms?: boolean;
talkId: string;
templateId: string;
variables?: { readonly [key: string]: string };
};
rcsOptions?: {
additionalBody?: {
buttons?: readonly (...)[];
description: string;
imaggeId?: string;
title: string;
};
brandId: string;
buttons?: readonly (
| { buttonName: ...; buttonType: ...; link: ... }
| { buttonName: ...; buttonType: ...; latitude: ...; longitude: ... }
| { buttonName: ...; buttonType: ...; link: ... }
)[];
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: ...; buttonType: ...; linkMo: ...; linkPc?: ... }
| { buttonName: ...; buttonType: ...; linkAnd: ...; linkIos: ... }
| { buttonName: ...; buttonType: ... }
)[];
disableSms?: boolean;
imageId?: string;
pfId: string;
templateId?: string;
variables?: { readonly [key: string]: string };
};
naverOptions?: {
buttons?: readonly {
buttonName: string;
buttonType: string;
linkAnd?: (...)
| (...);
linkIos?: (...) | (...);
linkMo?: (...) | (...);
linkPc?: (...) | (...);
}[];
disableSms?: boolean;
talkId: string;
templateId: string;
variables?: { readonly [key: string]: string };
};
rcsOptions?: {
additionalBody?: {
buttons?: readonly (...)[];
description: string;
imaggeId?: string;
title: string;
};
brandId: string;
buttons?: readonly (
| { buttonName: ...; buttonType: ...; link: ... }
| { buttonName: ...; buttonType: ...; latitude: ...; longitude: ... }
| { buttonName: ...; buttonType: ...; link: ... }
)[];
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$>>,
],
>;
},
>,
>,
filter<
Array$<
Schema<
{
autoTypeDetect?: boolean;
country?: string;
customFields?: { readonly [key: string]: string };
faxOptions?: { fileIds: readonly string[] };
imageId?: string;
kakaoOptions?: {
adFlag?: boolean;
bms?: { targeting: ... };
buttons?: readonly (...)[];
disableSms?: boolean;
imageId?: string;
pfId: string;
templateId?: string;
variables?: { readonly [key: ...]: ... };
};
naverOptions?: {
buttons?: readonly (...)[];
disableSms?: boolean;
talkId: string;
templateId: string;
variables?: { readonly [key: ...]: ... };
};
rcsOptions?: {
additionalBody?: {
buttons?: ...;
description: ...;
imaggeId?: ...;
title: ...;
};
brandId: string;
buttons?: readonly (...)[];
commercialType?: boolean;
copyAllowed?: boolean;
disableSms?: boolean;
mmsType?: "M3" | "S3" | "M4" | "S4" | "M5" | "S5" | "M6" | "S6";
templateId?: string;
variables?: { readonly [key: ...]: ... };
};
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";
};
} & { from?: string; to: string
| readonly string[] },
{
autoTypeDetect?: boolean;
country?: string;
customFields?: { readonly [key: string]: string };
faxOptions?: { fileIds: readonly string[] };
imageId?: string;
kakaoOptions?: {
adFlag?: boolean;
bms?: { targeting: ... };
buttons?: readonly (...)[];
disableSms?: boolean;
imageId?: string;
pfId: string;
templateId?: string;
variables?: { readonly [key: ...]: ... };
};
naverOptions?: {
buttons?: readonly (...)[];
disableSms?: boolean;
talkId: string;
templateId: string;
variables?: { readonly [key: ...]: ... };
};
rcsOptions?: {
additionalBody?: {
buttons?: ...;
description: ...;
imaggeId?: ...;
title: ...;
};
brandId: string;
buttons?: readonly (...)[];
commercialType?: boolean;
copyAllowed?: boolean;
disableSms?: boolean;
mmsType?: "M3" | "S3" | "M4" | "S4" | "M5" | "S5" | "M6" | "S6";
templateId?: string;
variables?: { readonly [key: ...]: ... };
};
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";
};
} & { from?: string; to: string
| readonly string[] },
never,
>,
>,
>,
],
> = ...
메시지 발송 요청 모델