콘텐츠로 이동

IWINVSendProvider

Defined in: packages/provider/src/iwinv/provider.send.ts:66

IWINV send/status/balance focused entrypoint.

new IWINVSendProvider(config): IWINVSendProvider

Defined in: packages/provider/src/iwinv/provider.send.ts:85

IWINVConfig

IWINVSendProvider

readonly id: "iwinv" = "iwinv"

Defined in: packages/provider/src/iwinv/provider.send.ts:67

Unique identifier for this provider instance. Used for routing and logging.

"solapi"

Provider.id


readonly name: "IWINV Messaging Provider" = "IWINV Messaging Provider"

Defined in: packages/provider/src/iwinv/provider.send.ts:68

Human-readable name for display purposes.

"SOLAPI"

Provider.name


readonly supportedTypes: readonly MessageType[]

Defined in: packages/provider/src/iwinv/provider.send.ts:69

Message types this provider supports. Messages of unsupported types will be rejected.

Provider.supportedTypes

getBalance(query?): Promise<Result<BalanceResult, KMsgError>>

Defined in: packages/provider/src/iwinv/provider.send.ts:207

Query the remaining balance/points for the provider account.

BalanceQuery

Promise<Result<BalanceResult, KMsgError>>

BalanceProvider.getBalance


getDeliveryStatus(query): Promise<Result<DeliveryStatusResult | null, KMsgError>>

Defined in: packages/provider/src/iwinv/provider.send.ts:178

Query delivery status for a previously sent message. Optional capability - not all providers support this.

DeliveryStatusQuery

Promise<Result<DeliveryStatusResult | null, KMsgError>>

Provider.getDeliveryStatus


getOnboardingSpec(): ProviderOnboardingSpec

Defined in: packages/provider/src/iwinv/provider.send.ts:73

Get the onboarding specification for this provider. Used by tooling to guide provider configuration.

ProviderOnboardingSpec

Provider.getOnboardingSpec


healthCheck(): Promise<ProviderHealthStatus>

Defined in: packages/provider/src/iwinv/provider.send.ts:110

Check if the provider is operational. Used for health monitoring and circuit breaker decisions.

Promise<ProviderHealthStatus>

Provider.healthCheck


send(options): Promise<Result<SendResult, KMsgError>>

Defined in: packages/provider/src/iwinv/provider.send.ts:145

Send a message through this provider.

SendOptions

Promise<Result<SendResult, KMsgError>>

Result with SendResult on success, KMsgError on failure.

Provider.send