Variable singleMessageSendingRequestSchemaConst
singleMessageSendingRequestSchema: Struct<
{
agent: PropertySignature<
":",
{ appId?: string; osPlatform: string; sdkVersion: string },
never,
"?:",
{ appId?: string; osPlatform?: string; sdkVersion?: string } | undefined,
true,
never,
>;
message: extend<
SchemaClass<
{
autoTypeDetect?: boolean;
country?: string;
customFields?: { readonly [key: string]: string };
faxOptions?: { fileIds: readonly string[] };
imageId?: string;
kakaoOptions?: {
adFlag?: boolean;
bms?: {
additionalContent?: string;
adult?: boolean;
buttons?: readonly (...)[];
carousel?:
| { list: ...; tail?: ... }
| { head?: ...; list: ...; tail?: ... };
chatBubbleType:
| "TEXT"
| "IMAGE"
| "WIDE"
| "WIDE_ITEM_LIST"
| "COMMERCE"
| "CAROUSEL_FEED"
| "CAROUSEL_COMMERCE"
| "PREMIUM_VIDEO";
commerce?: {
discountFixed?: ...;
discountPrice?: ...;
discountRate?: ...;
regularPrice: ...;
title: ...;
};
content?: string;
coupon?: {
description: ...;
linkAndroid?: ...;
linkIos?: ...;
linkMobile?: ...;
linkPc?: ...;
title: ...;
};
header?: string;
imageId?: string;
imageLink?: string;
mainWideItem?: {
imageId: ...;
linkAndroid?: ...;
linkIos?: ...;
linkMobile: ...;
linkPc?: ...;
title?: ...;
};
subWideItemList?: readonly (...)[];
targeting: "I" | "M" | "N";
video?: { imageId?: ...; imageLink?: ...; videoUrl: ... };
};
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"
| "BMS_FREE";
voiceOptions?: {
counselorNumber?: string;
headerMessage?: string;
replyRange?: 1
| 2
| 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?: {
additionalContent?: string;
adult?: boolean;
buttons?: readonly (...)[];
carousel?:
| { list: ...; tail?: ... }
| { head?: ...; list: ...; tail?: ... };
chatBubbleType:
| "TEXT"
| "IMAGE"
| "WIDE"
| "WIDE_ITEM_LIST"
| "COMMERCE"
| "CAROUSEL_FEED"
| "CAROUSEL_COMMERCE"
| "PREMIUM_VIDEO";
commerce?: {
discountFixed?: ...;
discountPrice?: ...;
discountRate?: ...;
regularPrice: ...;
title: ...;
};
content?: string;
coupon?: {
description: ...;
linkAndroid?: ...;
linkIos?: ...;
linkMobile?: ...;
linkPc?: ...;
title: ...;
};
header?: string;
imageId?: string;
imageLink?: string;
mainWideItem?: {
imageId: ...;
linkAndroid?: ...;
linkIos?: ...;
linkMobile: ...;
linkPc?: ...;
title?: ...;
};
subWideItemList?: readonly (...)[];
targeting: "I" | "M" | "N";
video?: { imageId?: ...; imageLink?: ...; videoUrl: ... };
};
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"
| "BMS_FREE";
voiceOptions?: {
counselorNumber?: string;
headerMessage?: string;
replyRange?: 1
| 2
| 3
| 4
| 5
| 6
| 7
| 8
| 9;
tailMessage?: string;
voiceType: "FEMALE" | "MALE";
};
},
never,
>,
Struct<
{
from: optional<
filter<filter<transform<typeof String$, typeof String$>>>,
>;
to: Union<
[
filter<filter<transform<typeof String$, typeof String$>>>,
Array$<filter<filter<transform<(...), (...)>>>>,
],
>;
},
>,
>;
},
> = ...