@k-msg/core 0.18.1 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @k-msg/core
2
2
 
3
+ > Canonical docs: [k-msg.and.guide](https://k-msg.and.guide)
4
+
3
5
  Core types and utilities for the `k-msg` ecosystem.
4
6
 
5
7
  This package intentionally stays low-level:
@@ -94,7 +94,7 @@ export interface NaverSendOptions {
94
94
  /**
95
95
  * Override the template identifier for NSA (provider-specific).
96
96
  */
97
- templateCode?: string;
97
+ templateId?: string;
98
98
  disableSms?: boolean;
99
99
  variables?: MessageVariables;
100
100
  buttons?: unknown[];
@@ -118,7 +118,7 @@ export interface RcsSendOptions {
118
118
  /**
119
119
  * Override template identifier for RCS_*TPL types.
120
120
  */
121
- templateCode?: string;
121
+ templateId?: string;
122
122
  copyAllowed?: boolean;
123
123
  variables?: MessageVariables;
124
124
  mmsType?: "M3" | "S3" | "M4" | "S4" | "M5" | "S5" | "M6" | "S6";
@@ -154,7 +154,7 @@ export interface SmsSendOptions extends CommonSendOptions {
154
154
  }
155
155
  export interface AlimTalkSendOptions extends CommonSendOptions {
156
156
  type: "ALIMTALK";
157
- templateCode: string;
157
+ templateId: string;
158
158
  variables: MessageVariables;
159
159
  kakao?: KakaoSendOptions;
160
160
  failover?: AlimTalkFailoverOptions;
@@ -170,7 +170,7 @@ export interface FriendTalkSendOptions extends CommonSendOptions {
170
170
  }
171
171
  export interface NsaSendOptions extends CommonSendOptions {
172
172
  type: "NSA";
173
- templateCode: string;
173
+ templateId: string;
174
174
  variables: MessageVariables;
175
175
  naver?: NaverSendOptions;
176
176
  }
@@ -195,7 +195,7 @@ export interface RcsTextSendOptions extends CommonSendOptions {
195
195
  }
196
196
  export interface RcsTemplateSendOptions extends CommonSendOptions {
197
197
  type: "RCS_TPL" | "RCS_ITPL" | "RCS_LTPL";
198
- templateCode: string;
198
+ templateId: string;
199
199
  variables: MessageVariables;
200
200
  rcs?: RcsSendOptions;
201
201
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@k-msg/core",
3
- "version": "0.18.1",
3
+ "version": "0.19.0",
4
4
  "packageManager": "bun@1.3.8",
5
5
  "description": "Core types and interfaces for K-Message platform",
6
6
  "type": "module",