@k-msg/channel 0.27.2 → 0.28.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/dist/toolkit/index.js +23 -23
- package/dist/toolkit/index.mjs +23 -23
- package/dist/types/channel.types.d.ts +38 -38
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
1
|
+
import { z } from "zod/mini";
|
|
2
2
|
export interface Channel {
|
|
3
3
|
id: string;
|
|
4
4
|
name: string;
|
|
@@ -167,49 +167,49 @@ export interface SenderNumberFilters {
|
|
|
167
167
|
category?: SenderNumberCategory;
|
|
168
168
|
verified?: boolean;
|
|
169
169
|
}
|
|
170
|
-
export declare const ChannelCreateRequestSchema: z.
|
|
171
|
-
name: z.
|
|
172
|
-
type: z.
|
|
173
|
-
provider: z.
|
|
174
|
-
profileKey: z.
|
|
175
|
-
businessInfo: z.
|
|
176
|
-
name: z.
|
|
177
|
-
registrationNumber: z.
|
|
178
|
-
category: z.
|
|
179
|
-
contactPerson: z.
|
|
180
|
-
contactEmail: z.
|
|
181
|
-
contactPhone: z.
|
|
170
|
+
export declare const ChannelCreateRequestSchema: z.ZodMiniObject<{
|
|
171
|
+
name: z.ZodMiniString<string>;
|
|
172
|
+
type: z.ZodMiniEnum<typeof ChannelType>;
|
|
173
|
+
provider: z.ZodMiniString<string>;
|
|
174
|
+
profileKey: z.ZodMiniString<string>;
|
|
175
|
+
businessInfo: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
176
|
+
name: z.ZodMiniString<string>;
|
|
177
|
+
registrationNumber: z.ZodMiniString<string>;
|
|
178
|
+
category: z.ZodMiniString<string>;
|
|
179
|
+
contactPerson: z.ZodMiniString<string>;
|
|
180
|
+
contactEmail: z.ZodMiniEmail;
|
|
181
|
+
contactPhone: z.ZodMiniString<string>;
|
|
182
182
|
}, z.core.$strip>>;
|
|
183
|
-
kakaoInfo: z.
|
|
184
|
-
plusFriendId: z.
|
|
185
|
-
brandName: z.
|
|
186
|
-
logoUrl: z.
|
|
187
|
-
description: z.
|
|
183
|
+
kakaoInfo: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
184
|
+
plusFriendId: z.ZodMiniString<string>;
|
|
185
|
+
brandName: z.ZodMiniString<string>;
|
|
186
|
+
logoUrl: z.ZodMiniOptional<z.ZodMiniURL>;
|
|
187
|
+
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
188
188
|
}, z.core.$strip>>;
|
|
189
189
|
}, z.core.$strip>;
|
|
190
|
-
export declare const SenderNumberCreateRequestSchema: z.
|
|
191
|
-
phoneNumber: z.
|
|
192
|
-
category: z.
|
|
193
|
-
businessInfo: z.
|
|
194
|
-
businessName: z.
|
|
195
|
-
businessRegistrationNumber: z.
|
|
196
|
-
contactPerson: z.
|
|
197
|
-
contactEmail: z.
|
|
190
|
+
export declare const SenderNumberCreateRequestSchema: z.ZodMiniObject<{
|
|
191
|
+
phoneNumber: z.ZodMiniString<string>;
|
|
192
|
+
category: z.ZodMiniEnum<typeof SenderNumberCategory>;
|
|
193
|
+
businessInfo: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
194
|
+
businessName: z.ZodMiniString<string>;
|
|
195
|
+
businessRegistrationNumber: z.ZodMiniString<string>;
|
|
196
|
+
contactPerson: z.ZodMiniString<string>;
|
|
197
|
+
contactEmail: z.ZodMiniEmail;
|
|
198
198
|
}, z.core.$strip>>;
|
|
199
199
|
}, z.core.$strip>;
|
|
200
|
-
export declare const ChannelFiltersSchema: z.
|
|
201
|
-
provider: z.
|
|
202
|
-
type: z.
|
|
203
|
-
status: z.
|
|
204
|
-
verified: z.
|
|
205
|
-
createdAfter: z.
|
|
206
|
-
createdBefore: z.
|
|
200
|
+
export declare const ChannelFiltersSchema: z.ZodMiniObject<{
|
|
201
|
+
provider: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
202
|
+
type: z.ZodMiniOptional<z.ZodMiniEnum<typeof ChannelType>>;
|
|
203
|
+
status: z.ZodMiniOptional<z.ZodMiniEnum<typeof ChannelStatus>>;
|
|
204
|
+
verified: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
205
|
+
createdAfter: z.ZodMiniOptional<z.ZodMiniDate<Date>>;
|
|
206
|
+
createdBefore: z.ZodMiniOptional<z.ZodMiniDate<Date>>;
|
|
207
207
|
}, z.core.$strip>;
|
|
208
|
-
export declare const SenderNumberFiltersSchema: z.
|
|
209
|
-
channelId: z.
|
|
210
|
-
status: z.
|
|
211
|
-
category: z.
|
|
212
|
-
verified: z.
|
|
208
|
+
export declare const SenderNumberFiltersSchema: z.ZodMiniObject<{
|
|
209
|
+
channelId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
210
|
+
status: z.ZodMiniOptional<z.ZodMiniEnum<typeof SenderNumberStatus>>;
|
|
211
|
+
category: z.ZodMiniOptional<z.ZodMiniEnum<typeof SenderNumberCategory>>;
|
|
212
|
+
verified: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
213
213
|
}, z.core.$strip>;
|
|
214
214
|
export type ChannelCreateRequestType = z.infer<typeof ChannelCreateRequestSchema>;
|
|
215
215
|
export type SenderNumberCreateRequestType = z.infer<typeof SenderNumberCreateRequestSchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@k-msg/channel",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"packageManager": "bun@1.3.8",
|
|
5
5
|
"description": "AlimTalk channel and sender number management",
|
|
6
6
|
"type": "module",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"publish": "bun publish --access public"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@k-msg/core": "0.
|
|
37
|
+
"@k-msg/core": "0.28.0",
|
|
38
38
|
"zod": "^4.0.14"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|