com.increase.api.models.EventSubscriptionCreateParams.kt Maven / Gradle / Ivy
// File generated from our OpenAPI spec by Stainless.
package com.increase.api.models
import com.fasterxml.jackson.annotation.JsonAnyGetter
import com.fasterxml.jackson.annotation.JsonAnySetter
import com.fasterxml.jackson.annotation.JsonCreator
import com.fasterxml.jackson.annotation.JsonProperty
import com.fasterxml.jackson.databind.annotation.JsonDeserialize
import com.increase.api.core.Enum
import com.increase.api.core.ExcludeMissing
import com.increase.api.core.JsonField
import com.increase.api.core.JsonValue
import com.increase.api.core.NoAutoDetect
import com.increase.api.core.http.Headers
import com.increase.api.core.http.QueryParams
import com.increase.api.core.toImmutable
import com.increase.api.errors.IncreaseInvalidDataException
import com.increase.api.models.*
import java.util.Objects
class EventSubscriptionCreateParams
constructor(
private val url: String,
private val oauthConnectionId: String?,
private val selectedEventCategory: SelectedEventCategory?,
private val sharedSecret: String?,
private val additionalHeaders: Headers,
private val additionalQueryParams: QueryParams,
private val additionalBodyProperties: Map,
) {
fun url(): String = url
fun oauthConnectionId(): String? = oauthConnectionId
fun selectedEventCategory(): SelectedEventCategory? = selectedEventCategory
fun sharedSecret(): String? = sharedSecret
internal fun getBody(): EventSubscriptionCreateBody {
return EventSubscriptionCreateBody(
url,
oauthConnectionId,
selectedEventCategory,
sharedSecret,
additionalBodyProperties,
)
}
internal fun getHeaders(): Headers = additionalHeaders
internal fun getQueryParams(): QueryParams = additionalQueryParams
@JsonDeserialize(builder = EventSubscriptionCreateBody.Builder::class)
@NoAutoDetect
class EventSubscriptionCreateBody
internal constructor(
private val url: String?,
private val oauthConnectionId: String?,
private val selectedEventCategory: SelectedEventCategory?,
private val sharedSecret: String?,
private val additionalProperties: Map,
) {
/** The URL you'd like us to send webhooks to. */
@JsonProperty("url") fun url(): String? = url
/**
* If specified, this subscription will only receive webhooks for Events associated with the
* specified OAuth Connection.
*/
@JsonProperty("oauth_connection_id") fun oauthConnectionId(): String? = oauthConnectionId
/**
* If specified, this subscription will only receive webhooks for Events with the specified
* `category`.
*/
@JsonProperty("selected_event_category")
fun selectedEventCategory(): SelectedEventCategory? = selectedEventCategory
/**
* The key that will be used to sign webhooks. If no value is passed, a random string will
* be used as default.
*/
@JsonProperty("shared_secret") fun sharedSecret(): String? = sharedSecret
@JsonAnyGetter
@ExcludeMissing
fun _additionalProperties(): Map = additionalProperties
fun toBuilder() = Builder().from(this)
companion object {
fun builder() = Builder()
}
class Builder {
private var url: String? = null
private var oauthConnectionId: String? = null
private var selectedEventCategory: SelectedEventCategory? = null
private var sharedSecret: String? = null
private var additionalProperties: MutableMap = mutableMapOf()
internal fun from(eventSubscriptionCreateBody: EventSubscriptionCreateBody) = apply {
this.url = eventSubscriptionCreateBody.url
this.oauthConnectionId = eventSubscriptionCreateBody.oauthConnectionId
this.selectedEventCategory = eventSubscriptionCreateBody.selectedEventCategory
this.sharedSecret = eventSubscriptionCreateBody.sharedSecret
additionalProperties(eventSubscriptionCreateBody.additionalProperties)
}
/** The URL you'd like us to send webhooks to. */
@JsonProperty("url") fun url(url: String) = apply { this.url = url }
/**
* If specified, this subscription will only receive webhooks for Events associated with
* the specified OAuth Connection.
*/
@JsonProperty("oauth_connection_id")
fun oauthConnectionId(oauthConnectionId: String) = apply {
this.oauthConnectionId = oauthConnectionId
}
/**
* If specified, this subscription will only receive webhooks for Events with the
* specified `category`.
*/
@JsonProperty("selected_event_category")
fun selectedEventCategory(selectedEventCategory: SelectedEventCategory) = apply {
this.selectedEventCategory = selectedEventCategory
}
/**
* The key that will be used to sign webhooks. If no value is passed, a random string
* will be used as default.
*/
@JsonProperty("shared_secret")
fun sharedSecret(sharedSecret: String) = apply { this.sharedSecret = sharedSecret }
fun additionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.clear()
this.additionalProperties.putAll(additionalProperties)
}
@JsonAnySetter
fun putAdditionalProperty(key: String, value: JsonValue) = apply {
this.additionalProperties.put(key, value)
}
fun putAllAdditionalProperties(additionalProperties: Map) = apply {
this.additionalProperties.putAll(additionalProperties)
}
fun build(): EventSubscriptionCreateBody =
EventSubscriptionCreateBody(
checkNotNull(url) { "`url` is required but was not set" },
oauthConnectionId,
selectedEventCategory,
sharedSecret,
additionalProperties.toImmutable(),
)
}
override fun equals(other: Any?): Boolean {
if (this === other) {
return true
}
return /* spotless:off */ other is EventSubscriptionCreateBody && this.url == other.url && this.oauthConnectionId == other.oauthConnectionId && this.selectedEventCategory == other.selectedEventCategory && this.sharedSecret == other.sharedSecret && this.additionalProperties == other.additionalProperties /* spotless:on */
}
private var hashCode: Int = 0
override fun hashCode(): Int {
if (hashCode == 0) {
hashCode = /* spotless:off */ Objects.hash(url, oauthConnectionId, selectedEventCategory, sharedSecret, additionalProperties) /* spotless:on */
}
return hashCode
}
override fun toString() =
"EventSubscriptionCreateBody{url=$url, oauthConnectionId=$oauthConnectionId, selectedEventCategory=$selectedEventCategory, sharedSecret=$sharedSecret, additionalProperties=$additionalProperties}"
}
fun _additionalHeaders(): Headers = additionalHeaders
fun _additionalQueryParams(): QueryParams = additionalQueryParams
fun _additionalBodyProperties(): Map = additionalBodyProperties
override fun equals(other: Any?): Boolean {
if (this === other) {
return true
}
return /* spotless:off */ other is EventSubscriptionCreateParams && this.url == other.url && this.oauthConnectionId == other.oauthConnectionId && this.selectedEventCategory == other.selectedEventCategory && this.sharedSecret == other.sharedSecret && this.additionalHeaders == other.additionalHeaders && this.additionalQueryParams == other.additionalQueryParams && this.additionalBodyProperties == other.additionalBodyProperties /* spotless:on */
}
override fun hashCode(): Int {
return /* spotless:off */ Objects.hash(url, oauthConnectionId, selectedEventCategory, sharedSecret, additionalHeaders, additionalQueryParams, additionalBodyProperties) /* spotless:on */
}
override fun toString() =
"EventSubscriptionCreateParams{url=$url, oauthConnectionId=$oauthConnectionId, selectedEventCategory=$selectedEventCategory, sharedSecret=$sharedSecret, additionalHeaders=$additionalHeaders, additionalQueryParams=$additionalQueryParams, additionalBodyProperties=$additionalBodyProperties}"
fun toBuilder() = Builder().from(this)
companion object {
fun builder() = Builder()
}
@NoAutoDetect
class Builder {
private var url: String? = null
private var oauthConnectionId: String? = null
private var selectedEventCategory: SelectedEventCategory? = null
private var sharedSecret: String? = null
private var additionalHeaders: Headers.Builder = Headers.builder()
private var additionalQueryParams: QueryParams.Builder = QueryParams.builder()
private var additionalBodyProperties: MutableMap = mutableMapOf()
internal fun from(eventSubscriptionCreateParams: EventSubscriptionCreateParams) = apply {
this.url = eventSubscriptionCreateParams.url
this.oauthConnectionId = eventSubscriptionCreateParams.oauthConnectionId
this.selectedEventCategory = eventSubscriptionCreateParams.selectedEventCategory
this.sharedSecret = eventSubscriptionCreateParams.sharedSecret
additionalHeaders(eventSubscriptionCreateParams.additionalHeaders)
additionalQueryParams(eventSubscriptionCreateParams.additionalQueryParams)
additionalBodyProperties(eventSubscriptionCreateParams.additionalBodyProperties)
}
/** The URL you'd like us to send webhooks to. */
fun url(url: String) = apply { this.url = url }
/**
* If specified, this subscription will only receive webhooks for Events associated with the
* specified OAuth Connection.
*/
fun oauthConnectionId(oauthConnectionId: String) = apply {
this.oauthConnectionId = oauthConnectionId
}
/**
* If specified, this subscription will only receive webhooks for Events with the specified
* `category`.
*/
fun selectedEventCategory(selectedEventCategory: SelectedEventCategory) = apply {
this.selectedEventCategory = selectedEventCategory
}
/**
* The key that will be used to sign webhooks. If no value is passed, a random string will
* be used as default.
*/
fun sharedSecret(sharedSecret: String) = apply { this.sharedSecret = sharedSecret }
fun additionalHeaders(additionalHeaders: Headers) = apply {
this.additionalHeaders.clear()
putAllAdditionalHeaders(additionalHeaders)
}
fun additionalHeaders(additionalHeaders: Map>) = apply {
this.additionalHeaders.clear()
putAllAdditionalHeaders(additionalHeaders)
}
fun putAdditionalHeader(name: String, value: String) = apply {
additionalHeaders.put(name, value)
}
fun putAdditionalHeaders(name: String, values: Iterable) = apply {
additionalHeaders.put(name, values)
}
fun putAllAdditionalHeaders(additionalHeaders: Headers) = apply {
this.additionalHeaders.putAll(additionalHeaders)
}
fun putAllAdditionalHeaders(additionalHeaders: Map>) = apply {
this.additionalHeaders.putAll(additionalHeaders)
}
fun replaceAdditionalHeaders(name: String, value: String) = apply {
additionalHeaders.replace(name, value)
}
fun replaceAdditionalHeaders(name: String, values: Iterable) = apply {
additionalHeaders.replace(name, values)
}
fun replaceAllAdditionalHeaders(additionalHeaders: Headers) = apply {
this.additionalHeaders.replaceAll(additionalHeaders)
}
fun replaceAllAdditionalHeaders(additionalHeaders: Map>) = apply {
this.additionalHeaders.replaceAll(additionalHeaders)
}
fun removeAdditionalHeaders(name: String) = apply { additionalHeaders.remove(name) }
fun removeAllAdditionalHeaders(names: Set) = apply {
additionalHeaders.removeAll(names)
}
fun additionalQueryParams(additionalQueryParams: QueryParams) = apply {
this.additionalQueryParams.clear()
putAllAdditionalQueryParams(additionalQueryParams)
}
fun additionalQueryParams(additionalQueryParams: Map>) = apply {
this.additionalQueryParams.clear()
putAllAdditionalQueryParams(additionalQueryParams)
}
fun putAdditionalQueryParam(key: String, value: String) = apply {
additionalQueryParams.put(key, value)
}
fun putAdditionalQueryParams(key: String, values: Iterable) = apply {
additionalQueryParams.put(key, values)
}
fun putAllAdditionalQueryParams(additionalQueryParams: QueryParams) = apply {
this.additionalQueryParams.putAll(additionalQueryParams)
}
fun putAllAdditionalQueryParams(additionalQueryParams: Map>) =
apply {
this.additionalQueryParams.putAll(additionalQueryParams)
}
fun replaceAdditionalQueryParams(key: String, value: String) = apply {
additionalQueryParams.replace(key, value)
}
fun replaceAdditionalQueryParams(key: String, values: Iterable) = apply {
additionalQueryParams.replace(key, values)
}
fun replaceAllAdditionalQueryParams(additionalQueryParams: QueryParams) = apply {
this.additionalQueryParams.replaceAll(additionalQueryParams)
}
fun replaceAllAdditionalQueryParams(additionalQueryParams: Map>) =
apply {
this.additionalQueryParams.replaceAll(additionalQueryParams)
}
fun removeAdditionalQueryParams(key: String) = apply { additionalQueryParams.remove(key) }
fun removeAllAdditionalQueryParams(keys: Set) = apply {
additionalQueryParams.removeAll(keys)
}
fun additionalBodyProperties(additionalBodyProperties: Map) = apply {
this.additionalBodyProperties.clear()
putAllAdditionalBodyProperties(additionalBodyProperties)
}
fun putAdditionalBodyProperty(key: String, value: JsonValue) = apply {
additionalBodyProperties.put(key, value)
}
fun putAllAdditionalBodyProperties(additionalBodyProperties: Map) =
apply {
this.additionalBodyProperties.putAll(additionalBodyProperties)
}
fun removeAdditionalBodyProperty(key: String) = apply {
additionalBodyProperties.remove(key)
}
fun removeAllAdditionalBodyProperties(keys: Set) = apply {
keys.forEach(::removeAdditionalBodyProperty)
}
fun build(): EventSubscriptionCreateParams =
EventSubscriptionCreateParams(
checkNotNull(url) { "`url` is required but was not set" },
oauthConnectionId,
selectedEventCategory,
sharedSecret,
additionalHeaders.build(),
additionalQueryParams.build(),
additionalBodyProperties.toImmutable(),
)
}
class SelectedEventCategory
@JsonCreator
private constructor(
private val value: JsonField,
) : Enum {
@com.fasterxml.jackson.annotation.JsonValue fun _value(): JsonField = value
override fun equals(other: Any?): Boolean {
if (this === other) {
return true
}
return /* spotless:off */ other is SelectedEventCategory && this.value == other.value /* spotless:on */
}
override fun hashCode() = value.hashCode()
override fun toString() = value.toString()
companion object {
val ACCOUNT_CREATED = SelectedEventCategory(JsonField.of("account.created"))
val ACCOUNT_UPDATED = SelectedEventCategory(JsonField.of("account.updated"))
val ACCOUNT_NUMBER_CREATED =
SelectedEventCategory(JsonField.of("account_number.created"))
val ACCOUNT_NUMBER_UPDATED =
SelectedEventCategory(JsonField.of("account_number.updated"))
val ACCOUNT_STATEMENT_CREATED =
SelectedEventCategory(JsonField.of("account_statement.created"))
val ACCOUNT_TRANSFER_CREATED =
SelectedEventCategory(JsonField.of("account_transfer.created"))
val ACCOUNT_TRANSFER_UPDATED =
SelectedEventCategory(JsonField.of("account_transfer.updated"))
val ACH_PRENOTIFICATION_CREATED =
SelectedEventCategory(JsonField.of("ach_prenotification.created"))
val ACH_PRENOTIFICATION_UPDATED =
SelectedEventCategory(JsonField.of("ach_prenotification.updated"))
val ACH_TRANSFER_CREATED = SelectedEventCategory(JsonField.of("ach_transfer.created"))
val ACH_TRANSFER_UPDATED = SelectedEventCategory(JsonField.of("ach_transfer.updated"))
val BOOKKEEPING_ACCOUNT_CREATED =
SelectedEventCategory(JsonField.of("bookkeeping_account.created"))
val BOOKKEEPING_ACCOUNT_UPDATED =
SelectedEventCategory(JsonField.of("bookkeeping_account.updated"))
val BOOKKEEPING_ENTRY_SET_UPDATED =
SelectedEventCategory(JsonField.of("bookkeeping_entry_set.updated"))
val CARD_CREATED = SelectedEventCategory(JsonField.of("card.created"))
val CARD_UPDATED = SelectedEventCategory(JsonField.of("card.updated"))
val CARD_PAYMENT_CREATED = SelectedEventCategory(JsonField.of("card_payment.created"))
val CARD_PAYMENT_UPDATED = SelectedEventCategory(JsonField.of("card_payment.updated"))
val CARD_PROFILE_CREATED = SelectedEventCategory(JsonField.of("card_profile.created"))
val CARD_PROFILE_UPDATED = SelectedEventCategory(JsonField.of("card_profile.updated"))
val CARD_DISPUTE_CREATED = SelectedEventCategory(JsonField.of("card_dispute.created"))
val CARD_DISPUTE_UPDATED = SelectedEventCategory(JsonField.of("card_dispute.updated"))
val CHECK_DEPOSIT_CREATED = SelectedEventCategory(JsonField.of("check_deposit.created"))
val CHECK_DEPOSIT_UPDATED = SelectedEventCategory(JsonField.of("check_deposit.updated"))
val CHECK_TRANSFER_CREATED =
SelectedEventCategory(JsonField.of("check_transfer.created"))
val CHECK_TRANSFER_UPDATED =
SelectedEventCategory(JsonField.of("check_transfer.updated"))
val DECLINED_TRANSACTION_CREATED =
SelectedEventCategory(JsonField.of("declined_transaction.created"))
val DIGITAL_CARD_PROFILE_CREATED =
SelectedEventCategory(JsonField.of("digital_card_profile.created"))
val DIGITAL_CARD_PROFILE_UPDATED =
SelectedEventCategory(JsonField.of("digital_card_profile.updated"))
val DIGITAL_WALLET_TOKEN_CREATED =
SelectedEventCategory(JsonField.of("digital_wallet_token.created"))
val DIGITAL_WALLET_TOKEN_UPDATED =
SelectedEventCategory(JsonField.of("digital_wallet_token.updated"))
val DOCUMENT_CREATED = SelectedEventCategory(JsonField.of("document.created"))
val ENTITY_CREATED = SelectedEventCategory(JsonField.of("entity.created"))
val ENTITY_UPDATED = SelectedEventCategory(JsonField.of("entity.updated"))
val EVENT_SUBSCRIPTION_CREATED =
SelectedEventCategory(JsonField.of("event_subscription.created"))
val EVENT_SUBSCRIPTION_UPDATED =
SelectedEventCategory(JsonField.of("event_subscription.updated"))
val EXPORT_CREATED = SelectedEventCategory(JsonField.of("export.created"))
val EXPORT_UPDATED = SelectedEventCategory(JsonField.of("export.updated"))
val EXTERNAL_ACCOUNT_CREATED =
SelectedEventCategory(JsonField.of("external_account.created"))
val EXTERNAL_ACCOUNT_UPDATED =
SelectedEventCategory(JsonField.of("external_account.updated"))
val FILE_CREATED = SelectedEventCategory(JsonField.of("file.created"))
val GROUP_UPDATED = SelectedEventCategory(JsonField.of("group.updated"))
val GROUP_HEARTBEAT = SelectedEventCategory(JsonField.of("group.heartbeat"))
val INBOUND_ACH_TRANSFER_CREATED =
SelectedEventCategory(JsonField.of("inbound_ach_transfer.created"))
val INBOUND_ACH_TRANSFER_UPDATED =
SelectedEventCategory(JsonField.of("inbound_ach_transfer.updated"))
val INBOUND_ACH_TRANSFER_RETURN_CREATED =
SelectedEventCategory(JsonField.of("inbound_ach_transfer_return.created"))
val INBOUND_ACH_TRANSFER_RETURN_UPDATED =
SelectedEventCategory(JsonField.of("inbound_ach_transfer_return.updated"))
val INBOUND_CHECK_DEPOSIT_CREATED =
SelectedEventCategory(JsonField.of("inbound_check_deposit.created"))
val INBOUND_CHECK_DEPOSIT_UPDATED =
SelectedEventCategory(JsonField.of("inbound_check_deposit.updated"))
val INBOUND_MAIL_ITEM_CREATED =
SelectedEventCategory(JsonField.of("inbound_mail_item.created"))
val INBOUND_MAIL_ITEM_UPDATED =
SelectedEventCategory(JsonField.of("inbound_mail_item.updated"))
val INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
SelectedEventCategory(JsonField.of("inbound_real_time_payments_transfer.created"))
val INBOUND_REAL_TIME_PAYMENTS_TRANSFER_UPDATED =
SelectedEventCategory(JsonField.of("inbound_real_time_payments_transfer.updated"))
val INBOUND_WIRE_DRAWDOWN_REQUEST_CREATED =
SelectedEventCategory(JsonField.of("inbound_wire_drawdown_request.created"))
val INBOUND_WIRE_TRANSFER_CREATED =
SelectedEventCategory(JsonField.of("inbound_wire_transfer.created"))
val INBOUND_WIRE_TRANSFER_UPDATED =
SelectedEventCategory(JsonField.of("inbound_wire_transfer.updated"))
val INTRAFI_ACCOUNT_ENROLLMENT_CREATED =
SelectedEventCategory(JsonField.of("intrafi_account_enrollment.created"))
val INTRAFI_ACCOUNT_ENROLLMENT_UPDATED =
SelectedEventCategory(JsonField.of("intrafi_account_enrollment.updated"))
val INTRAFI_EXCLUSION_CREATED =
SelectedEventCategory(JsonField.of("intrafi_exclusion.created"))
val INTRAFI_EXCLUSION_UPDATED =
SelectedEventCategory(JsonField.of("intrafi_exclusion.updated"))
val LOCKBOX_CREATED = SelectedEventCategory(JsonField.of("lockbox.created"))
val LOCKBOX_UPDATED = SelectedEventCategory(JsonField.of("lockbox.updated"))
val OAUTH_CONNECTION_CREATED =
SelectedEventCategory(JsonField.of("oauth_connection.created"))
val OAUTH_CONNECTION_DEACTIVATED =
SelectedEventCategory(JsonField.of("oauth_connection.deactivated"))
val PENDING_TRANSACTION_CREATED =
SelectedEventCategory(JsonField.of("pending_transaction.created"))
val PENDING_TRANSACTION_UPDATED =
SelectedEventCategory(JsonField.of("pending_transaction.updated"))
val PHYSICAL_CARD_CREATED = SelectedEventCategory(JsonField.of("physical_card.created"))
val PHYSICAL_CARD_UPDATED = SelectedEventCategory(JsonField.of("physical_card.updated"))
val PHYSICAL_CARD_PROFILE_CREATED =
SelectedEventCategory(JsonField.of("physical_card_profile.created"))
val PHYSICAL_CARD_PROFILE_UPDATED =
SelectedEventCategory(JsonField.of("physical_card_profile.updated"))
val PROOF_OF_AUTHORIZATION_REQUEST_CREATED =
SelectedEventCategory(JsonField.of("proof_of_authorization_request.created"))
val PROOF_OF_AUTHORIZATION_REQUEST_UPDATED =
SelectedEventCategory(JsonField.of("proof_of_authorization_request.updated"))
val PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION_CREATED =
SelectedEventCategory(
JsonField.of("proof_of_authorization_request_submission.created")
)
val PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION_UPDATED =
SelectedEventCategory(
JsonField.of("proof_of_authorization_request_submission.updated")
)
val REAL_TIME_DECISION_CARD_AUTHORIZATION_REQUESTED =
SelectedEventCategory(
JsonField.of("real_time_decision.card_authorization_requested")
)
val REAL_TIME_DECISION_DIGITAL_WALLET_TOKEN_REQUESTED =
SelectedEventCategory(
JsonField.of("real_time_decision.digital_wallet_token_requested")
)
val REAL_TIME_DECISION_DIGITAL_WALLET_AUTHENTICATION_REQUESTED =
SelectedEventCategory(
JsonField.of("real_time_decision.digital_wallet_authentication_requested")
)
val REAL_TIME_DECISION_CARD_AUTHENTICATION_REQUESTED =
SelectedEventCategory(
JsonField.of("real_time_decision.card_authentication_requested")
)
val REAL_TIME_DECISION_CARD_AUTHENTICATION_CHALLENGE_REQUESTED =
SelectedEventCategory(
JsonField.of("real_time_decision.card_authentication_challenge_requested")
)
val REAL_TIME_PAYMENTS_TRANSFER_CREATED =
SelectedEventCategory(JsonField.of("real_time_payments_transfer.created"))
val REAL_TIME_PAYMENTS_TRANSFER_UPDATED =
SelectedEventCategory(JsonField.of("real_time_payments_transfer.updated"))
val REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
SelectedEventCategory(
JsonField.of("real_time_payments_request_for_payment.created")
)
val REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
SelectedEventCategory(
JsonField.of("real_time_payments_request_for_payment.updated")
)
val TRANSACTION_CREATED = SelectedEventCategory(JsonField.of("transaction.created"))
val WIRE_DRAWDOWN_REQUEST_CREATED =
SelectedEventCategory(JsonField.of("wire_drawdown_request.created"))
val WIRE_DRAWDOWN_REQUEST_UPDATED =
SelectedEventCategory(JsonField.of("wire_drawdown_request.updated"))
val WIRE_TRANSFER_CREATED = SelectedEventCategory(JsonField.of("wire_transfer.created"))
val WIRE_TRANSFER_UPDATED = SelectedEventCategory(JsonField.of("wire_transfer.updated"))
fun of(value: String) = SelectedEventCategory(JsonField.of(value))
}
enum class Known {
ACCOUNT_CREATED,
ACCOUNT_UPDATED,
ACCOUNT_NUMBER_CREATED,
ACCOUNT_NUMBER_UPDATED,
ACCOUNT_STATEMENT_CREATED,
ACCOUNT_TRANSFER_CREATED,
ACCOUNT_TRANSFER_UPDATED,
ACH_PRENOTIFICATION_CREATED,
ACH_PRENOTIFICATION_UPDATED,
ACH_TRANSFER_CREATED,
ACH_TRANSFER_UPDATED,
BOOKKEEPING_ACCOUNT_CREATED,
BOOKKEEPING_ACCOUNT_UPDATED,
BOOKKEEPING_ENTRY_SET_UPDATED,
CARD_CREATED,
CARD_UPDATED,
CARD_PAYMENT_CREATED,
CARD_PAYMENT_UPDATED,
CARD_PROFILE_CREATED,
CARD_PROFILE_UPDATED,
CARD_DISPUTE_CREATED,
CARD_DISPUTE_UPDATED,
CHECK_DEPOSIT_CREATED,
CHECK_DEPOSIT_UPDATED,
CHECK_TRANSFER_CREATED,
CHECK_TRANSFER_UPDATED,
DECLINED_TRANSACTION_CREATED,
DIGITAL_CARD_PROFILE_CREATED,
DIGITAL_CARD_PROFILE_UPDATED,
DIGITAL_WALLET_TOKEN_CREATED,
DIGITAL_WALLET_TOKEN_UPDATED,
DOCUMENT_CREATED,
ENTITY_CREATED,
ENTITY_UPDATED,
EVENT_SUBSCRIPTION_CREATED,
EVENT_SUBSCRIPTION_UPDATED,
EXPORT_CREATED,
EXPORT_UPDATED,
EXTERNAL_ACCOUNT_CREATED,
EXTERNAL_ACCOUNT_UPDATED,
FILE_CREATED,
GROUP_UPDATED,
GROUP_HEARTBEAT,
INBOUND_ACH_TRANSFER_CREATED,
INBOUND_ACH_TRANSFER_UPDATED,
INBOUND_ACH_TRANSFER_RETURN_CREATED,
INBOUND_ACH_TRANSFER_RETURN_UPDATED,
INBOUND_CHECK_DEPOSIT_CREATED,
INBOUND_CHECK_DEPOSIT_UPDATED,
INBOUND_MAIL_ITEM_CREATED,
INBOUND_MAIL_ITEM_UPDATED,
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED,
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_UPDATED,
INBOUND_WIRE_DRAWDOWN_REQUEST_CREATED,
INBOUND_WIRE_TRANSFER_CREATED,
INBOUND_WIRE_TRANSFER_UPDATED,
INTRAFI_ACCOUNT_ENROLLMENT_CREATED,
INTRAFI_ACCOUNT_ENROLLMENT_UPDATED,
INTRAFI_EXCLUSION_CREATED,
INTRAFI_EXCLUSION_UPDATED,
LOCKBOX_CREATED,
LOCKBOX_UPDATED,
OAUTH_CONNECTION_CREATED,
OAUTH_CONNECTION_DEACTIVATED,
PENDING_TRANSACTION_CREATED,
PENDING_TRANSACTION_UPDATED,
PHYSICAL_CARD_CREATED,
PHYSICAL_CARD_UPDATED,
PHYSICAL_CARD_PROFILE_CREATED,
PHYSICAL_CARD_PROFILE_UPDATED,
PROOF_OF_AUTHORIZATION_REQUEST_CREATED,
PROOF_OF_AUTHORIZATION_REQUEST_UPDATED,
PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION_CREATED,
PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION_UPDATED,
REAL_TIME_DECISION_CARD_AUTHORIZATION_REQUESTED,
REAL_TIME_DECISION_DIGITAL_WALLET_TOKEN_REQUESTED,
REAL_TIME_DECISION_DIGITAL_WALLET_AUTHENTICATION_REQUESTED,
REAL_TIME_DECISION_CARD_AUTHENTICATION_REQUESTED,
REAL_TIME_DECISION_CARD_AUTHENTICATION_CHALLENGE_REQUESTED,
REAL_TIME_PAYMENTS_TRANSFER_CREATED,
REAL_TIME_PAYMENTS_TRANSFER_UPDATED,
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED,
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED,
TRANSACTION_CREATED,
WIRE_DRAWDOWN_REQUEST_CREATED,
WIRE_DRAWDOWN_REQUEST_UPDATED,
WIRE_TRANSFER_CREATED,
WIRE_TRANSFER_UPDATED,
}
enum class Value {
ACCOUNT_CREATED,
ACCOUNT_UPDATED,
ACCOUNT_NUMBER_CREATED,
ACCOUNT_NUMBER_UPDATED,
ACCOUNT_STATEMENT_CREATED,
ACCOUNT_TRANSFER_CREATED,
ACCOUNT_TRANSFER_UPDATED,
ACH_PRENOTIFICATION_CREATED,
ACH_PRENOTIFICATION_UPDATED,
ACH_TRANSFER_CREATED,
ACH_TRANSFER_UPDATED,
BOOKKEEPING_ACCOUNT_CREATED,
BOOKKEEPING_ACCOUNT_UPDATED,
BOOKKEEPING_ENTRY_SET_UPDATED,
CARD_CREATED,
CARD_UPDATED,
CARD_PAYMENT_CREATED,
CARD_PAYMENT_UPDATED,
CARD_PROFILE_CREATED,
CARD_PROFILE_UPDATED,
CARD_DISPUTE_CREATED,
CARD_DISPUTE_UPDATED,
CHECK_DEPOSIT_CREATED,
CHECK_DEPOSIT_UPDATED,
CHECK_TRANSFER_CREATED,
CHECK_TRANSFER_UPDATED,
DECLINED_TRANSACTION_CREATED,
DIGITAL_CARD_PROFILE_CREATED,
DIGITAL_CARD_PROFILE_UPDATED,
DIGITAL_WALLET_TOKEN_CREATED,
DIGITAL_WALLET_TOKEN_UPDATED,
DOCUMENT_CREATED,
ENTITY_CREATED,
ENTITY_UPDATED,
EVENT_SUBSCRIPTION_CREATED,
EVENT_SUBSCRIPTION_UPDATED,
EXPORT_CREATED,
EXPORT_UPDATED,
EXTERNAL_ACCOUNT_CREATED,
EXTERNAL_ACCOUNT_UPDATED,
FILE_CREATED,
GROUP_UPDATED,
GROUP_HEARTBEAT,
INBOUND_ACH_TRANSFER_CREATED,
INBOUND_ACH_TRANSFER_UPDATED,
INBOUND_ACH_TRANSFER_RETURN_CREATED,
INBOUND_ACH_TRANSFER_RETURN_UPDATED,
INBOUND_CHECK_DEPOSIT_CREATED,
INBOUND_CHECK_DEPOSIT_UPDATED,
INBOUND_MAIL_ITEM_CREATED,
INBOUND_MAIL_ITEM_UPDATED,
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED,
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_UPDATED,
INBOUND_WIRE_DRAWDOWN_REQUEST_CREATED,
INBOUND_WIRE_TRANSFER_CREATED,
INBOUND_WIRE_TRANSFER_UPDATED,
INTRAFI_ACCOUNT_ENROLLMENT_CREATED,
INTRAFI_ACCOUNT_ENROLLMENT_UPDATED,
INTRAFI_EXCLUSION_CREATED,
INTRAFI_EXCLUSION_UPDATED,
LOCKBOX_CREATED,
LOCKBOX_UPDATED,
OAUTH_CONNECTION_CREATED,
OAUTH_CONNECTION_DEACTIVATED,
PENDING_TRANSACTION_CREATED,
PENDING_TRANSACTION_UPDATED,
PHYSICAL_CARD_CREATED,
PHYSICAL_CARD_UPDATED,
PHYSICAL_CARD_PROFILE_CREATED,
PHYSICAL_CARD_PROFILE_UPDATED,
PROOF_OF_AUTHORIZATION_REQUEST_CREATED,
PROOF_OF_AUTHORIZATION_REQUEST_UPDATED,
PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION_CREATED,
PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION_UPDATED,
REAL_TIME_DECISION_CARD_AUTHORIZATION_REQUESTED,
REAL_TIME_DECISION_DIGITAL_WALLET_TOKEN_REQUESTED,
REAL_TIME_DECISION_DIGITAL_WALLET_AUTHENTICATION_REQUESTED,
REAL_TIME_DECISION_CARD_AUTHENTICATION_REQUESTED,
REAL_TIME_DECISION_CARD_AUTHENTICATION_CHALLENGE_REQUESTED,
REAL_TIME_PAYMENTS_TRANSFER_CREATED,
REAL_TIME_PAYMENTS_TRANSFER_UPDATED,
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED,
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED,
TRANSACTION_CREATED,
WIRE_DRAWDOWN_REQUEST_CREATED,
WIRE_DRAWDOWN_REQUEST_UPDATED,
WIRE_TRANSFER_CREATED,
WIRE_TRANSFER_UPDATED,
_UNKNOWN,
}
fun value(): Value =
when (this) {
ACCOUNT_CREATED -> Value.ACCOUNT_CREATED
ACCOUNT_UPDATED -> Value.ACCOUNT_UPDATED
ACCOUNT_NUMBER_CREATED -> Value.ACCOUNT_NUMBER_CREATED
ACCOUNT_NUMBER_UPDATED -> Value.ACCOUNT_NUMBER_UPDATED
ACCOUNT_STATEMENT_CREATED -> Value.ACCOUNT_STATEMENT_CREATED
ACCOUNT_TRANSFER_CREATED -> Value.ACCOUNT_TRANSFER_CREATED
ACCOUNT_TRANSFER_UPDATED -> Value.ACCOUNT_TRANSFER_UPDATED
ACH_PRENOTIFICATION_CREATED -> Value.ACH_PRENOTIFICATION_CREATED
ACH_PRENOTIFICATION_UPDATED -> Value.ACH_PRENOTIFICATION_UPDATED
ACH_TRANSFER_CREATED -> Value.ACH_TRANSFER_CREATED
ACH_TRANSFER_UPDATED -> Value.ACH_TRANSFER_UPDATED
BOOKKEEPING_ACCOUNT_CREATED -> Value.BOOKKEEPING_ACCOUNT_CREATED
BOOKKEEPING_ACCOUNT_UPDATED -> Value.BOOKKEEPING_ACCOUNT_UPDATED
BOOKKEEPING_ENTRY_SET_UPDATED -> Value.BOOKKEEPING_ENTRY_SET_UPDATED
CARD_CREATED -> Value.CARD_CREATED
CARD_UPDATED -> Value.CARD_UPDATED
CARD_PAYMENT_CREATED -> Value.CARD_PAYMENT_CREATED
CARD_PAYMENT_UPDATED -> Value.CARD_PAYMENT_UPDATED
CARD_PROFILE_CREATED -> Value.CARD_PROFILE_CREATED
CARD_PROFILE_UPDATED -> Value.CARD_PROFILE_UPDATED
CARD_DISPUTE_CREATED -> Value.CARD_DISPUTE_CREATED
CARD_DISPUTE_UPDATED -> Value.CARD_DISPUTE_UPDATED
CHECK_DEPOSIT_CREATED -> Value.CHECK_DEPOSIT_CREATED
CHECK_DEPOSIT_UPDATED -> Value.CHECK_DEPOSIT_UPDATED
CHECK_TRANSFER_CREATED -> Value.CHECK_TRANSFER_CREATED
CHECK_TRANSFER_UPDATED -> Value.CHECK_TRANSFER_UPDATED
DECLINED_TRANSACTION_CREATED -> Value.DECLINED_TRANSACTION_CREATED
DIGITAL_CARD_PROFILE_CREATED -> Value.DIGITAL_CARD_PROFILE_CREATED
DIGITAL_CARD_PROFILE_UPDATED -> Value.DIGITAL_CARD_PROFILE_UPDATED
DIGITAL_WALLET_TOKEN_CREATED -> Value.DIGITAL_WALLET_TOKEN_CREATED
DIGITAL_WALLET_TOKEN_UPDATED -> Value.DIGITAL_WALLET_TOKEN_UPDATED
DOCUMENT_CREATED -> Value.DOCUMENT_CREATED
ENTITY_CREATED -> Value.ENTITY_CREATED
ENTITY_UPDATED -> Value.ENTITY_UPDATED
EVENT_SUBSCRIPTION_CREATED -> Value.EVENT_SUBSCRIPTION_CREATED
EVENT_SUBSCRIPTION_UPDATED -> Value.EVENT_SUBSCRIPTION_UPDATED
EXPORT_CREATED -> Value.EXPORT_CREATED
EXPORT_UPDATED -> Value.EXPORT_UPDATED
EXTERNAL_ACCOUNT_CREATED -> Value.EXTERNAL_ACCOUNT_CREATED
EXTERNAL_ACCOUNT_UPDATED -> Value.EXTERNAL_ACCOUNT_UPDATED
FILE_CREATED -> Value.FILE_CREATED
GROUP_UPDATED -> Value.GROUP_UPDATED
GROUP_HEARTBEAT -> Value.GROUP_HEARTBEAT
INBOUND_ACH_TRANSFER_CREATED -> Value.INBOUND_ACH_TRANSFER_CREATED
INBOUND_ACH_TRANSFER_UPDATED -> Value.INBOUND_ACH_TRANSFER_UPDATED
INBOUND_ACH_TRANSFER_RETURN_CREATED -> Value.INBOUND_ACH_TRANSFER_RETURN_CREATED
INBOUND_ACH_TRANSFER_RETURN_UPDATED -> Value.INBOUND_ACH_TRANSFER_RETURN_UPDATED
INBOUND_CHECK_DEPOSIT_CREATED -> Value.INBOUND_CHECK_DEPOSIT_CREATED
INBOUND_CHECK_DEPOSIT_UPDATED -> Value.INBOUND_CHECK_DEPOSIT_UPDATED
INBOUND_MAIL_ITEM_CREATED -> Value.INBOUND_MAIL_ITEM_CREATED
INBOUND_MAIL_ITEM_UPDATED -> Value.INBOUND_MAIL_ITEM_UPDATED
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED ->
Value.INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_UPDATED ->
Value.INBOUND_REAL_TIME_PAYMENTS_TRANSFER_UPDATED
INBOUND_WIRE_DRAWDOWN_REQUEST_CREATED -> Value.INBOUND_WIRE_DRAWDOWN_REQUEST_CREATED
INBOUND_WIRE_TRANSFER_CREATED -> Value.INBOUND_WIRE_TRANSFER_CREATED
INBOUND_WIRE_TRANSFER_UPDATED -> Value.INBOUND_WIRE_TRANSFER_UPDATED
INTRAFI_ACCOUNT_ENROLLMENT_CREATED -> Value.INTRAFI_ACCOUNT_ENROLLMENT_CREATED
INTRAFI_ACCOUNT_ENROLLMENT_UPDATED -> Value.INTRAFI_ACCOUNT_ENROLLMENT_UPDATED
INTRAFI_EXCLUSION_CREATED -> Value.INTRAFI_EXCLUSION_CREATED
INTRAFI_EXCLUSION_UPDATED -> Value.INTRAFI_EXCLUSION_UPDATED
LOCKBOX_CREATED -> Value.LOCKBOX_CREATED
LOCKBOX_UPDATED -> Value.LOCKBOX_UPDATED
OAUTH_CONNECTION_CREATED -> Value.OAUTH_CONNECTION_CREATED
OAUTH_CONNECTION_DEACTIVATED -> Value.OAUTH_CONNECTION_DEACTIVATED
PENDING_TRANSACTION_CREATED -> Value.PENDING_TRANSACTION_CREATED
PENDING_TRANSACTION_UPDATED -> Value.PENDING_TRANSACTION_UPDATED
PHYSICAL_CARD_CREATED -> Value.PHYSICAL_CARD_CREATED
PHYSICAL_CARD_UPDATED -> Value.PHYSICAL_CARD_UPDATED
PHYSICAL_CARD_PROFILE_CREATED -> Value.PHYSICAL_CARD_PROFILE_CREATED
PHYSICAL_CARD_PROFILE_UPDATED -> Value.PHYSICAL_CARD_PROFILE_UPDATED
PROOF_OF_AUTHORIZATION_REQUEST_CREATED ->
Value.PROOF_OF_AUTHORIZATION_REQUEST_CREATED
PROOF_OF_AUTHORIZATION_REQUEST_UPDATED ->
Value.PROOF_OF_AUTHORIZATION_REQUEST_UPDATED
PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION_CREATED ->
Value.PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION_CREATED
PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION_UPDATED ->
Value.PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION_UPDATED
REAL_TIME_DECISION_CARD_AUTHORIZATION_REQUESTED ->
Value.REAL_TIME_DECISION_CARD_AUTHORIZATION_REQUESTED
REAL_TIME_DECISION_DIGITAL_WALLET_TOKEN_REQUESTED ->
Value.REAL_TIME_DECISION_DIGITAL_WALLET_TOKEN_REQUESTED
REAL_TIME_DECISION_DIGITAL_WALLET_AUTHENTICATION_REQUESTED ->
Value.REAL_TIME_DECISION_DIGITAL_WALLET_AUTHENTICATION_REQUESTED
REAL_TIME_DECISION_CARD_AUTHENTICATION_REQUESTED ->
Value.REAL_TIME_DECISION_CARD_AUTHENTICATION_REQUESTED
REAL_TIME_DECISION_CARD_AUTHENTICATION_CHALLENGE_REQUESTED ->
Value.REAL_TIME_DECISION_CARD_AUTHENTICATION_CHALLENGE_REQUESTED
REAL_TIME_PAYMENTS_TRANSFER_CREATED -> Value.REAL_TIME_PAYMENTS_TRANSFER_CREATED
REAL_TIME_PAYMENTS_TRANSFER_UPDATED -> Value.REAL_TIME_PAYMENTS_TRANSFER_UPDATED
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED ->
Value.REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED ->
Value.REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED
TRANSACTION_CREATED -> Value.TRANSACTION_CREATED
WIRE_DRAWDOWN_REQUEST_CREATED -> Value.WIRE_DRAWDOWN_REQUEST_CREATED
WIRE_DRAWDOWN_REQUEST_UPDATED -> Value.WIRE_DRAWDOWN_REQUEST_UPDATED
WIRE_TRANSFER_CREATED -> Value.WIRE_TRANSFER_CREATED
WIRE_TRANSFER_UPDATED -> Value.WIRE_TRANSFER_UPDATED
else -> Value._UNKNOWN
}
fun known(): Known =
when (this) {
ACCOUNT_CREATED -> Known.ACCOUNT_CREATED
ACCOUNT_UPDATED -> Known.ACCOUNT_UPDATED
ACCOUNT_NUMBER_CREATED -> Known.ACCOUNT_NUMBER_CREATED
ACCOUNT_NUMBER_UPDATED -> Known.ACCOUNT_NUMBER_UPDATED
ACCOUNT_STATEMENT_CREATED -> Known.ACCOUNT_STATEMENT_CREATED
ACCOUNT_TRANSFER_CREATED -> Known.ACCOUNT_TRANSFER_CREATED
ACCOUNT_TRANSFER_UPDATED -> Known.ACCOUNT_TRANSFER_UPDATED
ACH_PRENOTIFICATION_CREATED -> Known.ACH_PRENOTIFICATION_CREATED
ACH_PRENOTIFICATION_UPDATED -> Known.ACH_PRENOTIFICATION_UPDATED
ACH_TRANSFER_CREATED -> Known.ACH_TRANSFER_CREATED
ACH_TRANSFER_UPDATED -> Known.ACH_TRANSFER_UPDATED
BOOKKEEPING_ACCOUNT_CREATED -> Known.BOOKKEEPING_ACCOUNT_CREATED
BOOKKEEPING_ACCOUNT_UPDATED -> Known.BOOKKEEPING_ACCOUNT_UPDATED
BOOKKEEPING_ENTRY_SET_UPDATED -> Known.BOOKKEEPING_ENTRY_SET_UPDATED
CARD_CREATED -> Known.CARD_CREATED
CARD_UPDATED -> Known.CARD_UPDATED
CARD_PAYMENT_CREATED -> Known.CARD_PAYMENT_CREATED
CARD_PAYMENT_UPDATED -> Known.CARD_PAYMENT_UPDATED
CARD_PROFILE_CREATED -> Known.CARD_PROFILE_CREATED
CARD_PROFILE_UPDATED -> Known.CARD_PROFILE_UPDATED
CARD_DISPUTE_CREATED -> Known.CARD_DISPUTE_CREATED
CARD_DISPUTE_UPDATED -> Known.CARD_DISPUTE_UPDATED
CHECK_DEPOSIT_CREATED -> Known.CHECK_DEPOSIT_CREATED
CHECK_DEPOSIT_UPDATED -> Known.CHECK_DEPOSIT_UPDATED
CHECK_TRANSFER_CREATED -> Known.CHECK_TRANSFER_CREATED
CHECK_TRANSFER_UPDATED -> Known.CHECK_TRANSFER_UPDATED
DECLINED_TRANSACTION_CREATED -> Known.DECLINED_TRANSACTION_CREATED
DIGITAL_CARD_PROFILE_CREATED -> Known.DIGITAL_CARD_PROFILE_CREATED
DIGITAL_CARD_PROFILE_UPDATED -> Known.DIGITAL_CARD_PROFILE_UPDATED
DIGITAL_WALLET_TOKEN_CREATED -> Known.DIGITAL_WALLET_TOKEN_CREATED
DIGITAL_WALLET_TOKEN_UPDATED -> Known.DIGITAL_WALLET_TOKEN_UPDATED
DOCUMENT_CREATED -> Known.DOCUMENT_CREATED
ENTITY_CREATED -> Known.ENTITY_CREATED
ENTITY_UPDATED -> Known.ENTITY_UPDATED
EVENT_SUBSCRIPTION_CREATED -> Known.EVENT_SUBSCRIPTION_CREATED
EVENT_SUBSCRIPTION_UPDATED -> Known.EVENT_SUBSCRIPTION_UPDATED
EXPORT_CREATED -> Known.EXPORT_CREATED
EXPORT_UPDATED -> Known.EXPORT_UPDATED
EXTERNAL_ACCOUNT_CREATED -> Known.EXTERNAL_ACCOUNT_CREATED
EXTERNAL_ACCOUNT_UPDATED -> Known.EXTERNAL_ACCOUNT_UPDATED
FILE_CREATED -> Known.FILE_CREATED
GROUP_UPDATED -> Known.GROUP_UPDATED
GROUP_HEARTBEAT -> Known.GROUP_HEARTBEAT
INBOUND_ACH_TRANSFER_CREATED -> Known.INBOUND_ACH_TRANSFER_CREATED
INBOUND_ACH_TRANSFER_UPDATED -> Known.INBOUND_ACH_TRANSFER_UPDATED
INBOUND_ACH_TRANSFER_RETURN_CREATED -> Known.INBOUND_ACH_TRANSFER_RETURN_CREATED
INBOUND_ACH_TRANSFER_RETURN_UPDATED -> Known.INBOUND_ACH_TRANSFER_RETURN_UPDATED
INBOUND_CHECK_DEPOSIT_CREATED -> Known.INBOUND_CHECK_DEPOSIT_CREATED
INBOUND_CHECK_DEPOSIT_UPDATED -> Known.INBOUND_CHECK_DEPOSIT_UPDATED
INBOUND_MAIL_ITEM_CREATED -> Known.INBOUND_MAIL_ITEM_CREATED
INBOUND_MAIL_ITEM_UPDATED -> Known.INBOUND_MAIL_ITEM_UPDATED
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED ->
Known.INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_UPDATED ->
Known.INBOUND_REAL_TIME_PAYMENTS_TRANSFER_UPDATED
INBOUND_WIRE_DRAWDOWN_REQUEST_CREATED -> Known.INBOUND_WIRE_DRAWDOWN_REQUEST_CREATED
INBOUND_WIRE_TRANSFER_CREATED -> Known.INBOUND_WIRE_TRANSFER_CREATED
INBOUND_WIRE_TRANSFER_UPDATED -> Known.INBOUND_WIRE_TRANSFER_UPDATED
INTRAFI_ACCOUNT_ENROLLMENT_CREATED -> Known.INTRAFI_ACCOUNT_ENROLLMENT_CREATED
INTRAFI_ACCOUNT_ENROLLMENT_UPDATED -> Known.INTRAFI_ACCOUNT_ENROLLMENT_UPDATED
INTRAFI_EXCLUSION_CREATED -> Known.INTRAFI_EXCLUSION_CREATED
INTRAFI_EXCLUSION_UPDATED -> Known.INTRAFI_EXCLUSION_UPDATED
LOCKBOX_CREATED -> Known.LOCKBOX_CREATED
LOCKBOX_UPDATED -> Known.LOCKBOX_UPDATED
OAUTH_CONNECTION_CREATED -> Known.OAUTH_CONNECTION_CREATED
OAUTH_CONNECTION_DEACTIVATED -> Known.OAUTH_CONNECTION_DEACTIVATED
PENDING_TRANSACTION_CREATED -> Known.PENDING_TRANSACTION_CREATED
PENDING_TRANSACTION_UPDATED -> Known.PENDING_TRANSACTION_UPDATED
PHYSICAL_CARD_CREATED -> Known.PHYSICAL_CARD_CREATED
PHYSICAL_CARD_UPDATED -> Known.PHYSICAL_CARD_UPDATED
PHYSICAL_CARD_PROFILE_CREATED -> Known.PHYSICAL_CARD_PROFILE_CREATED
PHYSICAL_CARD_PROFILE_UPDATED -> Known.PHYSICAL_CARD_PROFILE_UPDATED
PROOF_OF_AUTHORIZATION_REQUEST_CREATED ->
Known.PROOF_OF_AUTHORIZATION_REQUEST_CREATED
PROOF_OF_AUTHORIZATION_REQUEST_UPDATED ->
Known.PROOF_OF_AUTHORIZATION_REQUEST_UPDATED
PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION_CREATED ->
Known.PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION_CREATED
PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION_UPDATED ->
Known.PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION_UPDATED
REAL_TIME_DECISION_CARD_AUTHORIZATION_REQUESTED ->
Known.REAL_TIME_DECISION_CARD_AUTHORIZATION_REQUESTED
REAL_TIME_DECISION_DIGITAL_WALLET_TOKEN_REQUESTED ->
Known.REAL_TIME_DECISION_DIGITAL_WALLET_TOKEN_REQUESTED
REAL_TIME_DECISION_DIGITAL_WALLET_AUTHENTICATION_REQUESTED ->
Known.REAL_TIME_DECISION_DIGITAL_WALLET_AUTHENTICATION_REQUESTED
REAL_TIME_DECISION_CARD_AUTHENTICATION_REQUESTED ->
Known.REAL_TIME_DECISION_CARD_AUTHENTICATION_REQUESTED
REAL_TIME_DECISION_CARD_AUTHENTICATION_CHALLENGE_REQUESTED ->
Known.REAL_TIME_DECISION_CARD_AUTHENTICATION_CHALLENGE_REQUESTED
REAL_TIME_PAYMENTS_TRANSFER_CREATED -> Known.REAL_TIME_PAYMENTS_TRANSFER_CREATED
REAL_TIME_PAYMENTS_TRANSFER_UPDATED -> Known.REAL_TIME_PAYMENTS_TRANSFER_UPDATED
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED ->
Known.REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED ->
Known.REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED
TRANSACTION_CREATED -> Known.TRANSACTION_CREATED
WIRE_DRAWDOWN_REQUEST_CREATED -> Known.WIRE_DRAWDOWN_REQUEST_CREATED
WIRE_DRAWDOWN_REQUEST_UPDATED -> Known.WIRE_DRAWDOWN_REQUEST_UPDATED
WIRE_TRANSFER_CREATED -> Known.WIRE_TRANSFER_CREATED
WIRE_TRANSFER_UPDATED -> Known.WIRE_TRANSFER_UPDATED
else -> throw IncreaseInvalidDataException("Unknown SelectedEventCategory: $value")
}
fun asString(): String = _value().asStringOrThrow()
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy