@k-msg/provider 0.1.4 → 0.1.6
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/adapters/iwinv.adapter.d.ts +2 -5
- package/dist/index.js +23 -23
- package/dist/index.js.map +6 -5
- package/dist/index.mjs +23 -23
- package/dist/index.mjs.map +6 -5
- package/dist/iwinv/types/iwinv.d.ts +12 -4
- package/package.json +2 -2
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
* IWINV API를 표준 인터페이스로 변환하는 어댑터
|
|
4
4
|
*/
|
|
5
5
|
import { type AdapterFactory, BaseProviderAdapter, KMsgError, type ProviderConfig, type ProviderMetadata, type Result, type StandardError, type StandardRequest, type StandardResult, type Template, type TemplateProvider } from "@k-msg/core";
|
|
6
|
+
import type { IWINVConfig } from "../iwinv/types/iwinv";
|
|
7
|
+
export type { IWINVConfig } from "../iwinv/types/iwinv";
|
|
6
8
|
export interface IWINVError {
|
|
7
9
|
code: number;
|
|
8
10
|
message: string;
|
|
@@ -52,11 +54,6 @@ export interface IWINVTemplateListResponse extends IWINVResponse {
|
|
|
52
54
|
export declare function isIWINVError(error: unknown): error is IWINVError;
|
|
53
55
|
export declare function isIWINVResponse(response: unknown): response is IWINVResponse;
|
|
54
56
|
export declare function isIWINVBalanceResponse(response: unknown): response is IWINVBalanceResponse;
|
|
55
|
-
export interface IWINVConfig extends ProviderConfig {
|
|
56
|
-
userId?: string;
|
|
57
|
-
senderNumber?: string;
|
|
58
|
-
sendEndpoint?: string;
|
|
59
|
-
}
|
|
60
57
|
/**
|
|
61
58
|
* IWINV API 어댑터 구현
|
|
62
59
|
*/
|