mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 20:47:09 +00:00
2660 lines
153 KiB
Scala
2660 lines
153 KiB
Scala
package code.api.util
|
|
|
|
|
|
import code.api.Constant
|
|
import code.api.util.APIUtil.{DateWithMs, DateWithMsExampleString, formatDate, oneYearAgoDate, parseDate}
|
|
import code.api.util.ErrorMessages.{InvalidJsonFormat, UnknownError, UserHasMissingRoles, UserNotLoggedIn}
|
|
import code.api.util.Glossary.{glossaryItems, makeGlossaryItem}
|
|
import code.apicollection.ApiCollection
|
|
import code.dynamicEntity._
|
|
import com.openbankproject.commons.model.CardAction
|
|
import com.openbankproject.commons.model.enums.{CustomerAttributeType, DynamicEntityFieldType, UserInvitationPurpose}
|
|
import com.openbankproject.commons.util.ReflectUtils
|
|
import net.liftweb.json
|
|
import net.liftweb.json.JObject
|
|
import net.liftweb.json.JsonAST.JField
|
|
import net.liftweb.json.JsonDSL._
|
|
|
|
case class ConnectorField(value: String, description: String) {
|
|
|
|
// def valueAndDescription: String = {
|
|
// s"${value} : ${description}".toString
|
|
// }
|
|
|
|
}
|
|
object ExampleValue {
|
|
|
|
val NoDescriptionProvided = "no-description-provided"
|
|
val NoExampleProvided = ""
|
|
val booleanFalse = "false"
|
|
|
|
lazy val bankIdGlossary = glossaryItems.find(_.title == "Bank.bank_id").map(_.textDescription)
|
|
|
|
lazy val bankIdExample = ConnectorField("gh.29.uk", s"A string that MUST uniquely identify the bank on this OBP instance. " +
|
|
s"It COULD be a UUID but is generally a short string that easily identifies the bank / brand it represents.")
|
|
lazy val bank_idExample = bankIdExample
|
|
glossaryItems += makeGlossaryItem("Bank.bank_id", bankIdExample)
|
|
|
|
lazy val accountIdExample = ConnectorField("8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0", s"A string that, in combination with the bankId MUST uniquely identify the account on this OBP instance. SHOULD be a UUID. " +
|
|
s"MUST NOT be able to guess accountNumber from accountId. OBP-API or Adapter keeps a mapping between accountId and accountNumber. AccountId is a non reversible hash of the human readable account number.")
|
|
lazy val account_idExample = accountIdExample
|
|
|
|
|
|
lazy val accountNumberExample = ConnectorField("546387432", s"A human friendly string that identifies the account at the bank, possibly in combination with the branch and account type.")
|
|
|
|
lazy val sessionIdExample = ConnectorField("b4e0352a-9a0f-4bfa-b30b-9003aa467f50", s"A string that MUST uniquely identify the session on this OBP instance, can be used in all cache. ")
|
|
|
|
lazy val userIdExample = ConnectorField("9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1", s"A string that MUST uniquely identify the user on this OBP instance.")
|
|
glossaryItems += makeGlossaryItem("User.userId", userIdExample)
|
|
|
|
lazy val relationshipTypeExample = ConnectorField("Owner", s"Relationship between two parties.")
|
|
glossaryItems += makeGlossaryItem("Customer.relationshipType", relationshipTypeExample)
|
|
|
|
|
|
lazy val usernameExample = ConnectorField("felixsmith", s"The username the user uses to authenticate.")
|
|
glossaryItems += makeGlossaryItem("User.username", usernameExample)
|
|
|
|
lazy val passwordExample = ConnectorField("password", s"The password the user uses to authenticate.")
|
|
glossaryItems += makeGlossaryItem("User.password", passwordExample)
|
|
|
|
|
|
lazy val userNameExample = ConnectorField("felixsmith", s"The userName the user uses to authenticate.")
|
|
glossaryItems += makeGlossaryItem("User.userNameExample", userNameExample)
|
|
|
|
lazy val correlationIdExample = ConnectorField("1flssoftxq0cr1nssr68u0mioj", s"A string generated by OBP-API that MUST " +
|
|
s"uniquely identify the API call received by OBP-API. Used for debugging and logging purposes. It is returned in header to the caller.")
|
|
glossaryItems += makeGlossaryItem("API.correlation_id", correlationIdExample)
|
|
|
|
|
|
lazy val customerIdExample = ConnectorField("7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh", s"A non human friendly string that " +
|
|
s"identifies the customer and is used in URLs. This SHOULD NOT be the customer number. The combination of customerId and " +
|
|
s"bankId MUST be unique on an OBP instance. customerId SHOULD be unique on an OBP instance. Ideally customerId is a UUID. A mapping between customer number and customer id is kept in OBP.")
|
|
glossaryItems += makeGlossaryItem("Customer.customerId", customerIdExample)
|
|
|
|
lazy val agentIdExample = ConnectorField("7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh", s"A non human friendly string that " +
|
|
s"identifies the agent and is used in URLs. This SHOULD NOT be the agent number. The combination of agentId and bankId " +
|
|
s"MUST be unique on an OBP instance. AgentId SHOULD be unique on an OBP instance. Ideally agentId is a UUID. A mapping between agent number and agent id is kept in OBP.")
|
|
glossaryItems += makeGlossaryItem("Agent.agent_id", agentIdExample)
|
|
|
|
lazy val customerAccountLinkIdExample = ConnectorField("xyz8a7e4-6d02-40e3-a129-0b2bf89de8uh", s"A non human friendly " +
|
|
s"string that identifies the Customer Account Link and is used in URLs. ")
|
|
glossaryItems += makeGlossaryItem("Customer.customerAccountLinkId", customerAccountLinkIdExample)
|
|
|
|
lazy val customerAttributeId = ConnectorField("7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh", s"A non human friendly string that identifies the customer attribute and is used in URLs.")
|
|
glossaryItems += makeGlossaryItem("Customer.customerAttributeId", customerAttributeId)
|
|
|
|
lazy val customerAttributeName = ConnectorField("SPECIAL_TAX_NUMBER", s"The Customer Attribute name, eg: SPECIAL_TAX_NUMBER")
|
|
glossaryItems += makeGlossaryItem("Customer.customerAttributeName", customerAttributeName)
|
|
|
|
lazy val customerAttributeType = ConnectorField("STRING", s"It can be ${CustomerAttributeType.STRING}, ${CustomerAttributeType.INTEGER}, ${CustomerAttributeType.DOUBLE}, ${CustomerAttributeType.DATE_WITH_DAY}")
|
|
glossaryItems += makeGlossaryItem("Customer.customerAttributeType", customerAttributeType)
|
|
|
|
lazy val customerAttributeValue = ConnectorField("123456789", s"The Customer Attribute value of the current attribute type, eg: 123456789.")
|
|
glossaryItems += makeGlossaryItem("Customer.customerAttributeValue", customerAttributeValue)
|
|
|
|
lazy val consumerIdExample = ConnectorField("7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh", s"A non human friendly string that identifies the consumer. It is the app which calls the apis")
|
|
glossaryItems += makeGlossaryItem("Customer.consumerId", consumerIdExample)
|
|
|
|
lazy val nameSuffixExample = ConnectorField("Sr", s"suffix of the name")
|
|
glossaryItems += makeGlossaryItem("Customer.nameSuffix", nameSuffixExample)
|
|
|
|
lazy val titleExample = ConnectorField("Dr.", s"title of the name")
|
|
glossaryItems += makeGlossaryItem("Customer.title", titleExample)
|
|
|
|
lazy val highestEducationAttainedExample = ConnectorField("Master", s"highest education attained")
|
|
glossaryItems += makeGlossaryItem("Customer.highestEducationAttained", highestEducationAttainedExample)
|
|
|
|
lazy val employmentStatusExample = ConnectorField("worker", s"employment status")
|
|
glossaryItems += makeGlossaryItem("Customer.employmentStatus", employmentStatusExample)
|
|
|
|
lazy val relationshipStatusExample = ConnectorField("single", s"relationship status")
|
|
glossaryItems += makeGlossaryItem("Customer.relationshipStatus", relationshipStatusExample)
|
|
|
|
lazy val dependantsExample = ConnectorField("1", s"the number of dependants")
|
|
glossaryItems += makeGlossaryItem("Customer.dependants", dependantsExample)
|
|
|
|
lazy val dependentsExample = ConnectorField("2", s"the number of dependents") // Dominant form in American English
|
|
glossaryItems += makeGlossaryItem("Customer.dependents", dependentsExample)
|
|
|
|
lazy val kycStatusExample = ConnectorField(booleanFalse, s"This is boolean to indicate if the cusomter's KYC has been checked.")
|
|
glossaryItems += makeGlossaryItem("Customer.kycStatus", kycStatusExample)
|
|
|
|
lazy val urlExample = ConnectorField("http://www.example.com/id-docs/123/image.png", s"The URL ")
|
|
glossaryItems += makeGlossaryItem("Customer.url", urlExample)
|
|
|
|
lazy val customerNumberExample = ConnectorField("5987953", s"The human friendly customer identifier that MUST uniquely identify the Customer at the Bank ID. Customer Number is NOT used in URLs.")
|
|
glossaryItems += makeGlossaryItem("Customer.customerNumber", customerNumberExample)
|
|
|
|
lazy val agentNumberExample = ConnectorField("5987953", s"The human friendly agent identifier that MUST uniquely identify the Agent at the Bank ID. Agent Number is NOT used in URLs.")
|
|
glossaryItems += makeGlossaryItem("Agent.agent_number", agentNumberExample)
|
|
|
|
lazy val licenseIdExample = ConnectorField("ODbL-1.0", s"")
|
|
glossaryItems += makeGlossaryItem("License.id", licenseIdExample)
|
|
|
|
lazy val licenseNameExample = ConnectorField("Open Database License", s"")
|
|
glossaryItems += makeGlossaryItem("License.name", licenseNameExample)
|
|
|
|
lazy val customerAttributeIdExample = ConnectorField("7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh", s"Customer attribute id")
|
|
glossaryItems += makeGlossaryItem("Customer.attributeId", customerAttributeIdExample)
|
|
|
|
lazy val userAttributeIdExample = ConnectorField("7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh", s"User attribute id")
|
|
glossaryItems += makeGlossaryItem("Customer.attributeId", userAttributeIdExample)
|
|
|
|
lazy val customerAttributeNameExample = ConnectorField("SPECIAL_TAX_NUMBER", s"Customer attribute name")
|
|
glossaryItems += makeGlossaryItem("Customer.attributeName", customerAttributeNameExample)
|
|
|
|
lazy val userAttributeNameExample = ConnectorField("BATTERY_LEVEL", s"User attribute name")
|
|
glossaryItems += makeGlossaryItem("User.attributeName", userAttributeNameExample)
|
|
|
|
lazy val templateAttributeNameExample = ConnectorField("SPECIAL_TAX_NUMBER", s"Attribute name")
|
|
glossaryItems += makeGlossaryItem("Template.attributeName", templateAttributeNameExample)
|
|
|
|
lazy val customerAttributeTypeExample = ConnectorField("STRING", s"Customer attribute type.")
|
|
glossaryItems += makeGlossaryItem("Customer.attributeType", customerAttributeTypeExample)
|
|
|
|
lazy val userAttributeTypeExample = ConnectorField("STRING", s"User attribute type.")
|
|
glossaryItems += makeGlossaryItem("User.attributeType", userAttributeTypeExample)
|
|
|
|
lazy val templateAttributeTypeExample = ConnectorField("STRING", s"Attribute type.")
|
|
glossaryItems += makeGlossaryItem("Template.attributeType", templateAttributeTypeExample)
|
|
|
|
lazy val attributeAliasExample = ConnectorField("STRING", s"Customer attribute alias.")
|
|
glossaryItems += makeGlossaryItem("Customer.attributeAlias", attributeAliasExample)
|
|
|
|
lazy val customerAttributeValueExample = ConnectorField("123456789", s"Customer attribute value.")
|
|
glossaryItems += makeGlossaryItem("Customer.attributeValue", customerAttributeValueExample)
|
|
|
|
lazy val userAttributeValueExample = ConnectorField("90", s"User attribute value.")
|
|
glossaryItems += makeGlossaryItem("User.attributeValue", userAttributeValueExample)
|
|
|
|
lazy val userAttributeIsPersonalExample = ConnectorField("false", s"User attribute is personal value.")
|
|
glossaryItems += makeGlossaryItem("User.isPersonal", userAttributeIsPersonalExample)
|
|
|
|
lazy val labelExample = ConnectorField("My Account", s"A label that describes the Account")
|
|
lazy val legalNameExample = ConnectorField("Eveline Tripman", s"The legal name of the Customer.")
|
|
glossaryItems += makeGlossaryItem("Customer.legalName", legalNameExample)
|
|
|
|
lazy val mobileNumberExample = ConnectorField("+44 07972 444 876", s"The mobile number name of the Customer.")
|
|
glossaryItems += makeGlossaryItem("Customer.mobileNumber", mobileNumberExample)
|
|
|
|
lazy val ratingExample = ConnectorField("", s".")
|
|
glossaryItems += makeGlossaryItem("Customer.Credit.rating", ratingExample)
|
|
|
|
lazy val sourceExample = ConnectorField("", s".")
|
|
glossaryItems += makeGlossaryItem("Customer.Credit.source", sourceExample)
|
|
|
|
|
|
lazy val cbsTokenExample = ConnectorField("FYIUYF6SUYFSD", s"A token provided by the Gateway for use by the Core Banking System")
|
|
glossaryItems += makeGlossaryItem("Adapter.cbsToken", cbsTokenExample)
|
|
|
|
lazy val counterpartyIdExample = ConnectorField("9fg8a7e4-6d02-40e3-a129-0b2bf89de8uh", s"The Counterparty ID used in URLs. This SHOULD NOT be a name of a Counterparty.")
|
|
glossaryItems += makeGlossaryItem("Counterparty.counterpartyId", counterpartyIdExample)
|
|
|
|
lazy val otherAccountProviderExample = ConnectorField("", s"")//TODO, not sure what is this field for?
|
|
glossaryItems += makeGlossaryItem("Transaction.otherAccountProvider", otherAccountProviderExample)
|
|
|
|
lazy val isBeneficiaryExample = ConnectorField(booleanFalse, s"This is a boolean. True if the originAccount can send money to the Counterparty")
|
|
glossaryItems += makeGlossaryItem("Counterparty.isBeneficiary", isBeneficiaryExample)
|
|
|
|
lazy val counterpartyNameExample = ConnectorField("John Smith Ltd.", s"The name of a Counterparty. Ideally unique for an Account")
|
|
glossaryItems += makeGlossaryItem("Counterparty.counterpartyName", counterpartyNameExample)
|
|
|
|
lazy val transactionIdExample = ConnectorField("2fg8a7e4-6d02-40e3-a129-0b2bf89de8ub", s"The Transaction ID used in URLs. Used to store Metadata for the Transaction.")
|
|
glossaryItems += makeGlossaryItem("Transaction.transactionId", transactionIdExample)
|
|
|
|
lazy val chargePolicyExample = ConnectorField("SHARED", s"The transaction fee charge policy, can be shared, debit account or credit account.")
|
|
glossaryItems += makeGlossaryItem("Transaction.charge_policy", chargePolicyExample)
|
|
|
|
lazy val transactionAttributeIdExample = ConnectorField("7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh", s"Transaction attribute id")
|
|
glossaryItems += makeGlossaryItem("Transaction.attributeId", transactionAttributeIdExample)
|
|
|
|
lazy val transactionAttributeNameExample = ConnectorField("HOUSE_RENT", s"Transaction attribute name")
|
|
glossaryItems += makeGlossaryItem("Transaction.attributeName", transactionAttributeNameExample)
|
|
|
|
lazy val transactionAttributeTypeExample = ConnectorField("DATE_WITH_DAY", s"Transaction attribute type.")
|
|
glossaryItems += makeGlossaryItem("Transaction.attributeType", transactionAttributeTypeExample)
|
|
|
|
lazy val transactionAttributeValueExample = ConnectorField("123456789", s"Transaction attribute value.")
|
|
glossaryItems += makeGlossaryItem("Transaction.attributeValue", transactionAttributeValueExample)
|
|
|
|
lazy val transactionRequestAttributeIdExample = ConnectorField("7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh", s"Transaction Request attribute id")
|
|
glossaryItems += makeGlossaryItem("Transaction Requests.attributeId", transactionRequestAttributeIdExample)
|
|
|
|
lazy val transactionRequestAttributeNameExample = ConnectorField("HOUSE_RENT", s"Transaction Request attribute name")
|
|
glossaryItems += makeGlossaryItem("Transaction Requests.attributeName", transactionRequestAttributeNameExample)
|
|
|
|
lazy val transactionRequestAttributeTypeExample = ConnectorField("STRING", s"Transaction Request attribute type.")
|
|
glossaryItems += makeGlossaryItem("Transaction Requests.attributeType", transactionRequestAttributeTypeExample)
|
|
|
|
lazy val transactionRequestAttributeValueExample = ConnectorField("123456789", s"Transaction Request attribute value.")
|
|
glossaryItems += makeGlossaryItem("Transaction Requests.attributeValue", transactionRequestAttributeValueExample)
|
|
|
|
lazy val transactionDescriptionExample = ConnectorField("The piano lession-Invoice No:68", s"A description or reference for the transaction")
|
|
glossaryItems += makeGlossaryItem("Transaction.transactionDescription", transactionDescriptionExample)
|
|
|
|
lazy val transactionTypeExample = ConnectorField("DEBIT", s"A code for the type of transaction")
|
|
glossaryItems += makeGlossaryItem("Transaction.transactionType", transactionTypeExample)
|
|
|
|
lazy val limitExample = ConnectorField("100", s"The limit in pagination")
|
|
glossaryItems += makeGlossaryItem("Adapter.limit", limitExample)
|
|
|
|
lazy val offsetExample = ConnectorField("100", s"The offset in pagination")
|
|
glossaryItems += makeGlossaryItem("Adapter.offset", offsetExample)
|
|
|
|
|
|
lazy val ibanExample = ConnectorField("DE91 1000 0000 0123 4567 89", s"MUST uniquely identify the bank account globally.")
|
|
glossaryItems += makeGlossaryItem("Account.iban", ibanExample)
|
|
|
|
lazy val queryTagsExample = ConnectorField("Card,Debit", s"This field is only used for OBP to distinguish the debit accounts, card accounts ... ")
|
|
glossaryItems += makeGlossaryItem("Account.queryTagsExample", queryTagsExample)
|
|
|
|
lazy val transactionRequestIban = ibanExample
|
|
|
|
lazy val challengeIdExample = ConnectorField("123chaneid13-6d02-40e3-a129-0b2bf89de9f0", s"MUST uniquely identify the challenge globally.")
|
|
glossaryItems += makeGlossaryItem("ChallengeAnswer.challengeId", challengeIdExample)
|
|
|
|
lazy val hashOfSuppliedAnswerExample = ConnectorField(HashUtil.Sha256Hash("123"), s"Sha256 hash value of the ChallengeAnswer.challengeId")
|
|
glossaryItems += makeGlossaryItem("ChallengeAnswer.hashOfSuppliedAnswer", hashOfSuppliedAnswerExample)
|
|
|
|
lazy val suppliedAnswerExample = ConnectorField("123456", s"The value of the ChallengeAnswer.challengeId")
|
|
glossaryItems += makeGlossaryItem("ChallengeAnswer.suppliedAnswerExample", suppliedAnswerExample)
|
|
|
|
|
|
lazy val gitCommitExample = ConnectorField("59623811dd8a41f6ffe67be46954eee11913dc28", "Identifies the code running on the OBP-API (Connector) or Adapter.")
|
|
|
|
lazy val subExample = ConnectorField(s"${userNameExample.value}","An identifier for the user, unique among all OBP-API users and never reused")
|
|
lazy val issExample = ConnectorField("String","The Issuer Identifier for the Issuer of the response.")
|
|
lazy val audExample = ConnectorField("String","Identifies the audience that this ID token is intended for. It must be one of the OBP-API client IDs of your application.")
|
|
lazy val jtiExample = ConnectorField("String","(JWT ID) claim provides a unique identifier for the JWT.")
|
|
lazy val iatExample = ConnectorField("60","The iat (issued at) claim identifies the time at which the JWT was issued. Represented in Unix time (integer seconds).")
|
|
lazy val nbfExample = ConnectorField("60","The nbf (not before) claim identifies the time before which the JWT MUST NOT be accepted for processing. Represented in Unix time (integer seconds).")
|
|
lazy val expExample = ConnectorField("60","The exp (expiration time) claim identifies the expiration time on or after which the JWT MUST NOT be accepted for processing. Represented in Unix time (integer seconds).")
|
|
lazy val emailVerifiedExample = ConnectorField("String","If the email is verified or not.")
|
|
|
|
lazy val emailExample = ConnectorField(s"${userNameExample.value}@example.com", "An email address.")
|
|
|
|
lazy val branchIdExample = ConnectorField("DERBY6", "Uniquely identifies the Branch in combination with the bankId.")
|
|
glossaryItems += makeGlossaryItem("Branch.branch_id", branchIdExample)
|
|
|
|
lazy val apiCollectionNameExample = ConnectorField("Favourites", "Name of the ApiCollection")
|
|
glossaryItems += makeGlossaryItem("ApiCollection.apiCollectionName", apiCollectionNameExample)
|
|
|
|
lazy val apiCollectionIdExample = ConnectorField("7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh", "A string that MUST uniquely identify the session on this OBP instance, can be used in all cache.")
|
|
glossaryItems += makeGlossaryItem("ApiCollection.apiCollectionId", apiCollectionIdExample)
|
|
|
|
lazy val apiCollectionEndpointIdExample = ConnectorField("8uy8a7e4-6d02-40e3-a129-0b2bf89de8uh", "A string that MUST uniquely identify the session on this OBP instance, can be used in all cache.")
|
|
glossaryItems += makeGlossaryItem("ApiCollectionEndpoint.apiCollectionEndpointId", apiCollectionEndpointIdExample)
|
|
|
|
lazy val operationIdExample = ConnectorField("OBPv4.0.0-getBanks", "A uniquely identify the obp endpoint on OBP instance, you can get it from Get Resource endpoints.")
|
|
glossaryItems += makeGlossaryItem("ApiCollectionEndpoint.operationId", operationIdExample)
|
|
|
|
lazy val tagNameExample = ConnectorField("BankAccountTag1", "The endpoint tag name")
|
|
glossaryItems += makeGlossaryItem("EndpointTag.tagName", tagNameExample)
|
|
|
|
lazy val endpointTagIdExample = ConnectorField("7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh", "A string that MUST uniquely identify the endpointTag on this OBP instance, can be used in all cache.")
|
|
glossaryItems += makeGlossaryItem("EndpointTag.endpointTagId", endpointTagIdExample)
|
|
|
|
|
|
lazy val accountTypeExample = ConnectorField("AC","A short code that represents the type of the account as provided by the bank.")
|
|
|
|
lazy val balanceAmountExample = ConnectorField("50.89", "The balance on the account.")
|
|
|
|
lazy val balanceTypeExample = ConnectorField("openingBooked", "The balance type.")
|
|
glossaryItems += makeGlossaryItem("balance_type", balanceTypeExample)
|
|
|
|
lazy val balanceIdExample = ConnectorField("7uy8a7e4-6d02-40e3-a129-0b2bf89de8uh", "A string that MUST uniquely identify the Account Balance on this OBP instance, can be used in all cache.")
|
|
glossaryItems += makeGlossaryItem("balance_id", balanceIdExample)
|
|
|
|
lazy val amountExample = ConnectorField("10.12", "The balance on the account.")
|
|
|
|
lazy val balanceCurrencyExample = ConnectorField("EUR", "The currency of the account.")
|
|
|
|
lazy val creditLimitAmountExample = ConnectorField("1000.00", "The credit limit on the accounts of a customer.")
|
|
|
|
lazy val transactionAmountExample = ConnectorField("19.64", "A Transaction Amount.")
|
|
|
|
lazy val transactionPostedDateExample = ConnectorField("2018-01-27", "The Posted date of a transaction in the format: yyyy-MM-dd")
|
|
lazy val transactionCompletedDateExample = ConnectorField("2018-01-28", "The Completed date of a transaction in the format: yyyy-MM-dd")
|
|
|
|
lazy val dateExample = ConnectorField("2020-01-27", "The Date in the format: yyyy-MM-dd")
|
|
lazy val dateTimeExample = ConnectorField("2021-04-08T09:12:27Z", "The Date in the format: yyyy-MM-dd'T'HH:mm:ss'Z'")
|
|
lazy val timeStampExample = ConnectorField(DateWithMsExampleString, s"The TimeStamp in the format: $DateWithMs")
|
|
lazy val cancelledDateExample = ConnectorField("2020-01-27", "The Cancelled Date in the format: yyyy-MM-dd")
|
|
lazy val dateCancelledExample = cancelledDateExample
|
|
lazy val signedDateExample = ConnectorField("2020-01-27", "The Signed Date in the format: yyyy-MM-dd")
|
|
lazy val dateSignedExample = signedDateExample
|
|
lazy val startDateExample = ConnectorField("2020-01-27", "The Start Date in the format: yyyy-MM-dd")
|
|
lazy val dateStartsExample = startDateExample
|
|
lazy val finishDateExample = ConnectorField("2020-01-27", "The Finish Date in the format: yyyy-MM-dd")
|
|
lazy val completedDateExample = finishDateExample
|
|
lazy val insertDateExample = ConnectorField("2020-01-27", "The Insert Date in the format: yyyy-MM-dd")
|
|
lazy val postedDateExample = ConnectorField("2020-01-27", "The Posted Date in the format: yyyy-MM-dd")
|
|
lazy val collectedDateExample = ConnectorField("2020-01-27", "The Collected Date in the format: yyyy-MM-dd")
|
|
lazy val requestedDateExample = ConnectorField("2020-01-27", "The Requested Date in the format: yyyy-MM-dd")
|
|
lazy val validFromDateExample = ConnectorField("2020-01-27", "The Valid From date in the format: yyyy-MM-dd")
|
|
lazy val issueDateExample = ConnectorField("2020-01-27", "The Issue date in the format: yyyy-MM-dd")
|
|
lazy val expiryDateExample = ConnectorField("2021-01-27", "The Expiry date in the format: yyyy-MM-dd")
|
|
lazy val expiresDateExample = expiryDateExample
|
|
lazy val dateExpiresExample = expiryDateExample
|
|
|
|
lazy val transactionRequestTypeExample = ConnectorField("SEPA", "The Transaction Request Type defines the request body that is " +
|
|
"required - and the logic / flow of the Transaction Request. Allowed values include SEPA, COUNTERPARTY and SANDBOX_TAN.")
|
|
glossaryItems += makeGlossaryItem("Transaction Requests.Transaction Request Type", transactionRequestTypeExample)
|
|
|
|
lazy val transactionRequestIdExample = ConnectorField("8138a7e4-6d02-40e3-a129-0b2bf89de9f1", "The Transaction Request Id")
|
|
glossaryItems += makeGlossaryItem("Transaction Requests.id", transactionRequestIdExample)
|
|
|
|
lazy val transactionRequestCounterpartyIdExample = counterpartyIdExample
|
|
|
|
lazy val transactionRequestRefundReasonCodeExample = ConnectorField("CUST", "Defines the reason code of a transaction refund request (e.g. a SEPA Credit Transfer Scheme reason code).")
|
|
glossaryItems += makeGlossaryItem("Transaction Requests.Transaction Request Refund Reason Code", transactionRequestRefundReasonCodeExample)
|
|
|
|
lazy val currencyExample = balanceCurrencyExample
|
|
|
|
lazy val paymentSystemExample = ConnectorField("SEPA", "A payment system can be SEPA, CARD, SWIFT ....")
|
|
|
|
lazy val owner1Example = ConnectorField("SusanSmith", "A username that is the owner of the account.")
|
|
glossaryItems += makeGlossaryItem("Account.owner", owner1Example)
|
|
|
|
lazy val viewIdExample = ConnectorField(Constant.SYSTEM_OWNER_VIEW_ID, "A viewId can be owner, accountant ....")
|
|
glossaryItems += makeGlossaryItem("view.id", viewIdExample)
|
|
|
|
lazy val viewNameExample = ConnectorField(Constant.SYSTEM_OWNER_VIEW_ID,"A viewName can be owner, accountant ....")
|
|
glossaryItems += makeGlossaryItem("view.name",viewNameExample)
|
|
|
|
lazy val viewDescriptionExample = ConnectorField("This view is for the owner for the account.", "A description for this view.")
|
|
glossaryItems += makeGlossaryItem("view.description", viewDescriptionExample)
|
|
|
|
|
|
|
|
|
|
|
|
lazy val owner2Example = ConnectorField("JaneSmith", "A username that is the owner of the account.")
|
|
|
|
lazy val bankRoutingSchemeExample = ConnectorField("BIC", "The scheme that the bank_routing_address / bankRoutingAddress is an example of.")
|
|
glossaryItems += makeGlossaryItem("Bank.bank_routing_scheme", bankRoutingSchemeExample)
|
|
|
|
lazy val bankRoutingAddressExample = ConnectorField("GENODEM1GLS", "An identifier that conforms to bank_routing_scheme / bankRoutingScheme")
|
|
glossaryItems += makeGlossaryItem("Bank.bank_routing_address", bankRoutingAddressExample)
|
|
|
|
lazy val branchRoutingSchemeExample = ConnectorField("BRANCH-CODE", "The scheme that the branch_routing_address / branchRoutingAddress is an example of.")
|
|
glossaryItems += makeGlossaryItem("Branch.branch_routing_scheme", branchRoutingSchemeExample)
|
|
|
|
lazy val branchRoutingAddressExample = ConnectorField("DERBY6", "An address that conforms to branch_routing_scheme / branchRoutingScheme")
|
|
glossaryItems += makeGlossaryItem("Branch.branch_routing_address", branchRoutingAddressExample)
|
|
|
|
lazy val accountRoutingSchemeExample = ConnectorField("IBAN", "The scheme that the account_routing_address / accountRoutingAddress is an example of.")
|
|
glossaryItems += makeGlossaryItem("Account.account_routing_scheme",accountRoutingSchemeExample)
|
|
|
|
lazy val accountRoutingAddressExample = ConnectorField("DE91 1000 0000 0123 4567 89", "An identifier that conforms to account_routing_scheme / accountRoutingScheme")
|
|
glossaryItems += makeGlossaryItem("Account.account_routing_address", accountRoutingAddressExample)
|
|
|
|
lazy val keyExample = ConnectorField(s"CustomerNumber", s"This key should be used with Adapter.value together. They are a pair.")
|
|
glossaryItems += makeGlossaryItem("Adapter.key", keyExample)
|
|
|
|
lazy val consumerSecretExample = ConnectorField(s"xwdgylv3vau0n2gkxu1aize4glapftfldp5y1bic", s"This key should be used with Adapter.value together. They are a pair.")
|
|
glossaryItems += makeGlossaryItem("Customer.secret", consumerSecretExample)
|
|
|
|
lazy val consumerKeyExample = ConnectorField(s"bwf0ykmwoirip1yjxcn15wnhuyxcziwgtcoaildq", s"This key should be used with Adapter.value together. They are a pair.")
|
|
glossaryItems += makeGlossaryItem("Customer.key", consumerKeyExample)
|
|
|
|
lazy val valueExample = ConnectorField(s"${customerNumberExample.value}", s"This key should be used with Adapter.key together. They are a pair.")
|
|
glossaryItems += makeGlossaryItem("Adapter.value", valueExample)
|
|
|
|
lazy val bankCardNumberExample = ConnectorField("364435172576215", s"The number of the physical card")
|
|
glossaryItems += makeGlossaryItem("Adapter.card_number", bankCardNumberExample)
|
|
|
|
lazy val cardTypeExample = ConnectorField("Credit", s"The type of the physical card. eg: credit, debit ...")
|
|
glossaryItems += makeGlossaryItem("Adapter.card_type", cardTypeExample)
|
|
|
|
lazy val cardIdExample = ConnectorField("36f8a9e6-c2b1-407a-8bd0-421b7119307e ", s"A string that MUST uniquely identify the card on this OBP instance. It SHOULD be a UUID.")
|
|
glossaryItems += makeGlossaryItem("Adapter.card_id", cardIdExample)
|
|
|
|
lazy val nameOnCardExample = ConnectorField(owner1Example.value, s"The name on the physical card")
|
|
glossaryItems += makeGlossaryItem("Adapter.name_on_card", nameOnCardExample)
|
|
|
|
lazy val cvvExample = ConnectorField("123", s"Card Verification Value")
|
|
glossaryItems += makeGlossaryItem("Adapter.cvv", nameOnCardExample)
|
|
|
|
lazy val brandExample = ConnectorField("Visa", s"The brand of the card, eg: Visa, Mastercard")
|
|
glossaryItems += makeGlossaryItem("Adapter.brand", nameOnCardExample)
|
|
|
|
lazy val expiryYearExample = ConnectorField("2023", s"The expiry year of the card")
|
|
glossaryItems += makeGlossaryItem("Adapter.expiry_year", expiryYearExample)
|
|
|
|
lazy val expiryMonthExample = ConnectorField("01", s"The expiry month of the card")
|
|
glossaryItems += makeGlossaryItem("Adapter.expiry_month", expiryMonthExample)
|
|
|
|
lazy val issueNumberExample = ConnectorField("1", s"The issue number of the physical card, eg 1,2,3,4 ....")
|
|
glossaryItems += makeGlossaryItem("Adapter.issue_number", issueNumberExample)
|
|
|
|
lazy val serialNumberExample = ConnectorField("1324234", s"The serial number of the physical card, eg 1123.")
|
|
glossaryItems += makeGlossaryItem("Adapter.serial_number", serialNumberExample)
|
|
|
|
lazy val cardAttributeIdExample = ConnectorField("b4e0352a-9a0f-4bfa-b30b-9003aa467f50", s"A string that MUST uniquely " +
|
|
s"identify the card attribute on this OBP instance. It SHOULD be a UUID.")
|
|
glossaryItems += makeGlossaryItem("Adapter.card_attribute_id", cardAttributeIdExample)
|
|
|
|
lazy val cardAttributeNameExample = ConnectorField("OVERDRAFT_START_DATE", s"The Card attribute name")
|
|
glossaryItems += makeGlossaryItem("Adapter.card_attribute_name", cardAttributeNameExample)
|
|
|
|
lazy val cardAttributeValueExample = ConnectorField("2012-04-23", s"The card attribute values")
|
|
glossaryItems += makeGlossaryItem("Adapter.card_attribute_value", cardAttributeValueExample)
|
|
|
|
lazy val providerValueExample = ConnectorField("http://127.0.0.1:8080", s"The host name of an Identity Provider authenticating a User. " +
|
|
s"OBP allows the use of multiple simultanious authentication providers. The provider name (host) along with the provider id " +
|
|
s"(a username or id) uniquely identifies a user on OBP.")
|
|
glossaryItems += makeGlossaryItem("Authentication.provider", providerValueExample)
|
|
|
|
lazy val providerIdValueExample = ConnectorField("Chris", s"The provider id of the user which is equivalent to the username. " +
|
|
s"Used in combination with the provider name (host) to uniquely identify a User on OBP.")
|
|
glossaryItems += makeGlossaryItem("Adapter.provider_id", providerIdValueExample)
|
|
|
|
lazy val cbsErrorCodeExample = ConnectorField("500-OFFLINE", "An error code returned by the CBS")
|
|
|
|
lazy val attributeNameExample = ConnectorField("STATUS", s"Transaction attribute name")
|
|
glossaryItems += makeGlossaryItem("Attribute.name", attributeNameExample)
|
|
|
|
lazy val attributeTypeExample = ConnectorField("STRING", s"Transaction attribute type.")
|
|
glossaryItems += makeGlossaryItem("Attribute.type", attributeTypeExample)
|
|
|
|
lazy val attributeValueExample = ConnectorField("closed", s"Transaction attribute value.")
|
|
glossaryItems += makeGlossaryItem("Attribute.value", attributeValueExample)
|
|
|
|
lazy val htmlExample = ConnectorField("html format content","the content is displayed in HTML format")
|
|
glossaryItems += makeGlossaryItem("html", htmlExample)
|
|
|
|
|
|
lazy val connectorMethodIdExample = ConnectorField("ace0352a-9a0f-4bfa-b30b-9003aa467f51", "A string that MUST uniquely identify the connector method on this OBP instance, can be used in all cache. ")
|
|
glossaryItems += makeGlossaryItem("ConnectorMethod.connectorMethodId", connectorMethodIdExample)
|
|
|
|
lazy val dynamicResourceDocMethodBodyExample = ConnectorField("%20%20%20%20val%20Some(resourceDoc)%20%3D%20callContext." +
|
|
"resourceDocument%0A%20%20%20%20val%20hasRequestBody%20%3D%20request.body.isDefined%0A%0A%20%20%20%20%2F%2F%20get%20" +
|
|
"Path%20Parameters%2C%20example%3A%0A%20%20%20%20%2F%2F%20if%20the%20requestUrl%20of%20resourceDoc%20is%20%2Fhello%2" +
|
|
"Fbanks%2FBANK_ID%2Fworld%0A%20%20%20%20%2F%2F%20the%20request%20path%20is%20%2Fhello%2Fbanks%2Fbank_x%2Fworld%0A%20" +
|
|
"%20%20%20%2F%2FpathParams.get(%22BANK_ID%22)%20will%20get%20Option(%22bank_x%22)%20value%0A%0A%20%20%20%20val%20my" +
|
|
"UserId%20%3D%20pathParams(%22MY_USER_ID%22)%0A%0A%0A%20%20%20%20val%20requestEntity%20%3D%20request.json%20match%20" +
|
|
"%7B%0A%20%20%20%20%20%20case%20Full(zson)%20%3D%3E%0A%20%20%20%20%20%20%20%20try%20%7B%0A%20%20%20%20%20%20%20%20%" +
|
|
"20%20zson.extract%5BRequestRootJsonClass%5D%0A%20%20%20%20%20%20%20%20%7D%20catch%20%7B%0A%20%20%20%20%20%20%20%20%" +
|
|
"20%20case%20e%3A%20MappingException%20%3D%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20return%20Full(errorJsonResponse(" +
|
|
"s%22%24InvalidJsonFormat%20%24%7Be.msg%7D%22))%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20case%20_%3A%20Emp" +
|
|
"tyBox%20%3D%3E%0A%20%20%20%20%20%20%20%20return%20Full(errorJsonResponse(s%22%24InvalidRequestPayload%20Current%20" +
|
|
"request%20has%20no%20payload%22))%0A%20%20%20%20%7D%0A%0A%0A%20%20%20%20%2F%2F%20please%20add%20business%20logic%20" +
|
|
"here%0A%20%20%20%20val%20responseBody%3AResponseRootJsonClass%20%3D%20ResponseRootJsonClass(s%22%24%7BmyUserId%7D_" +
|
|
"from_path%22%2C%20requestEntity.name%2C%20requestEntity.age%2C%20requestEntity.hobby)%0A%20%20%20%20Future.successf" +
|
|
"ul%20%7B%0A%20%20%20%20%20%20(responseBody%2C%20HttpCode.%60200%60(callContext.callContext))%0A%20%20%20%20%7D",
|
|
"the URL-encoded format String, the original code is the OBP connector method body.")
|
|
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.methodBody", dynamicResourceDocMethodBodyExample)
|
|
|
|
lazy val connectorMethodBodyScalaExample = ConnectorField("%20%20%20%20%20%20Future.successful%28%0A%20%20%20%20%20%20%20%20Full%28%" +
|
|
"28BankCommons%28%0A%20%20%20%20%20%20%20%20%20%20BankId%28%22Hello%20bank%20id%22%29%2C%0A%20%20%20%20%20%20%20%20%20" +
|
|
"%20%221%22%2C%0A%20%20%20%20%20%20%20%20%20%20%221%22%2C%0A%20%20%20%20%20%20%20%20%20%20%221%22%2C%0A%20%20%20%20%20%2" +
|
|
"0%20%20%20%20%221%22%2C%0A%20%20%20%20%20%20%20%20%20%20%221%22%2C%0A%20%20%20%20%20%20%20%20%20%20%221%22%2C%0A%20%20%2" +
|
|
"0%20%20%20%20%20%20%20%221%22%2C%0A%20%20%20%20%20%20%20%20%20%20%228%22%0A%20%20%20%20%20%20%20%20%29%2C%20None%29%29%0A%" +
|
|
"20%20%20%20%20%20%29",
|
|
"the URL-encoded format String, the original code is the OBP connector method body.")
|
|
glossaryItems += makeGlossaryItem("DynamicConnectorMethod.methodBody.scala", connectorMethodBodyScalaExample)
|
|
|
|
lazy val connectorMethodBodyJavaExample = ConnectorField("package%20code.bankconnectors%3B%0A%0Aimport%20com.openbankp" +
|
|
"roject.commons.model.*%3B%0Aimport%20java.util.function.Function%3B%0Aimport%20java.util.function.Supplier%3B%0A%0A" +
|
|
"%2F**%0A%20*%20This%20is%20a%20java%20dynamic%20function%20template.%0A%20*%20Must%20copy%20the%20whole%20content%2" +
|
|
"0of%20the%20file%20as%20%22dynamic%20method%20body%22.%0A%20*%20Currently%2C%20support%20Java%201.8%20version%20lan" +
|
|
"guage%20features%0A%20*%2F%0Apublic%20class%20DynamicJavaConnector%20implements%20Supplier%3CFunction%3CObject%5B%5" +
|
|
"D%2C%20Object%3E%3E%20%7B%0A%20%20%20%20private%20Object%20apply(Object%5B%5D%20args)%20%7B%0A%20%20%20%20%20%20%20" +
|
|
"BankId%20bankId%20%3D%20(BankId)%20args%5B0%5D%3B%0A%0A%20%20%20%20%20%20%20Bank%20bank%20%3D%20new%20BankCommons(b" +
|
|
"ankId%2C%20%22The%20Java%20Bank%20of%20Scotland%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22The%20Royal" +
|
|
"%20Bank%20of%20Scotland%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22http%3A%2F%2Fwww.red-bank-shoreditc" +
|
|
"h.com%2Flogo.gif%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22http%3A%2F%2Fwww.red-bank-shoreditch.com%2" +
|
|
"2%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22OBP%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22" +
|
|
"Java%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22Swift%20bic%20value%22%2C%0A%20%20%20%20%20%20%20%20%2" +
|
|
"0%20%20%20%20%20%20%22Java%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20)%3B%0A%20%20%20%20%20%20%20return%20b" +
|
|
"ank%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20%40Override%0A%20%20%20%20public%20Function%3CObject%5B%5D%2C%20Object%3E" +
|
|
"%20get()%20%7B%0A%20%20%20%20%20%20%20%20return%20this%3A%3Aapply%3B%0A%20%20%20%20%7D%0A%7D%0A",
|
|
"the URL-encoded format String, the original Java code is the OBP connector method body.")
|
|
glossaryItems += makeGlossaryItem("DynamicConnectorMethod.methodBody.Java", connectorMethodBodyJavaExample)
|
|
|
|
lazy val connectorMethodBodyJsExample = ConnectorField("%7B%0A%20%20%20%20const%20%5BbankId%5D%20%3D%20args%3B%0A%20%" +
|
|
"20%20%20%2F%2F%20call%20java%20or%20scala%20type%20in%20this%20way%0A%20%20%20%20const%20BigDecimal%20%3D%20Java." +
|
|
"type(%27java.math.BigDecimal%27)%3B%0A%20%20%20%20%2F%2F%20define%20a%20class%0A%20%20%20%20class%20SwiftBic%7B%0A" +
|
|
"%20%20%20%20%20%20%20%20constructor(name%2C%20value)%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20this.name%20%3D%20" +
|
|
"name%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20this.value%20%3D%20value%3B%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20" +
|
|
"%20%7D%0A%20%20%20%20%2F%2F%20define%20async%20function%0A%20%20%20%20const%20someAsyncFn%20%3D%20async%20()%20%3D%" +
|
|
"3E%20new%20BigDecimal(%27123.456%27)%0A%20%20%20%20%2F%2F%20call%20other%20async%20methods%0A%20%20%20%20const%20" +
|
|
"data%20%3D%20await%20someAsyncFn()%3B%0A%0A%20%20%20%20const%20bank%20%3D%20%7B%0A%20%20%20%20%20%20%20%20%22bankId" +
|
|
"%22%3A%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%22value%22%3A%22HelloJsBank%3A%22%2B%20bankId%0A%20%20%20%20%20%20" +
|
|
"%20%20%7D%2C%0A%20%20%20%20%20%20%20%20%22shortName%22%3A%22The%20Js%20Bank%20of%20Scotland%22%20%2Bdata.toString()" +
|
|
"%2C%0A%20%20%20%20%20%20%20%20%22fullName%22%3A%22The%20Js%20Bank%20of%20Scotland%22%2C%0A%20%20%20%20%20%20%20%20%" +
|
|
"22logoUrl%22%3A%22http%3A%2F%2Fwww.red-bank-shoreditch.com%2Flogo.gif%22%2C%0A%20%20%20%20%20%20%20%20%22websiteUrl" +
|
|
"%22%3A%22http%3A%2F%2Fwww.red-bank-shoreditch.com%22%2C%0A%20%20%20%20%20%20%20%20%22bankRoutingScheme%22%3A%22OBP%" +
|
|
"22%2C%0A%20%20%20%20%20%20%20%20%22bankRoutingAddress%22%3A%22Js%22%2C%0A%20%20%20%20%20%20%20%20%22swiftBic%22%3A%" +
|
|
"20new%20SwiftBic(%22Mock%20Swift%22%2C%2010).name%2C%0A%20%20%20%20%20%20%20%20%22nationalIdentifier%22%3A%22Js%22%" +
|
|
"2C%0A%20%20%20%20%7D%0A%0A%20%20%20%20return%20bank%3B%0A%7D",
|
|
"the URL-encoded format String, the original Js code is the OBP connector method body.")
|
|
glossaryItems += makeGlossaryItem("DynamicConnectorMethod.methodBody.Js", connectorMethodBodyJsExample)
|
|
|
|
lazy val connectorMethodLangExample = ConnectorField("Scala",
|
|
"the programming language of OBP connector method body.")
|
|
glossaryItems += makeGlossaryItem("DynamicConnectorMethod.lang", connectorMethodLangExample)
|
|
|
|
|
|
|
|
lazy val dynamicResourceDocIdExample = ConnectorField("vce035ca-9a0f-4bfa-b30b-9003aa467f51",
|
|
"A string that MUST uniquely identify the dynamic Resource Doc on this OBP instance, can be used in all cache. ")
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.dynamicResourceDocId", dynamicResourceDocIdExample)
|
|
|
|
lazy val partialFunctionExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.partialFunction", partialFunctionExample)
|
|
|
|
lazy val implementedInApiVersionExample = ConnectorField(NoExampleProvided, NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.implementedInApiVersion", implementedInApiVersionExample)
|
|
|
|
lazy val partialFunctionNameExample = ConnectorField("getBanks", "partial function name")
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.partialFunctionName", partialFunctionNameExample)
|
|
|
|
lazy val dynamicResourceDocPartialFunctionNameExample = ConnectorField("createUser", "partial function name")
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.partialFunctionName", dynamicResourceDocPartialFunctionNameExample)
|
|
|
|
lazy val requestVerbExample = ConnectorField("POST", "This is the HTTP methods, eg: GET, POST, PUT, DELETE ")
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.requestVerb", requestVerbExample)
|
|
|
|
lazy val requestUrlExample = ConnectorField("/my_user/MY_USER_ID", "The URL of the endpoint.")
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.requestUrl", requestUrlExample)
|
|
|
|
lazy val exampleRequestBodyExample = ConnectorField("""{"name": "Jhon", "age": 12, "hobby": ["coding"],"_optional_fields_": ["hobby"]}""", "the json string of the request body.")
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.exampleRequestBody", exampleRequestBodyExample)
|
|
|
|
lazy val successResponseBodyExample = ConnectorField(
|
|
"""{"my_user_id": "some_id_value", "name": "Jhon", "age": 12, "hobby": ["coding"],"_optional_fields_": ["hobby"]}""".stripMargin, "the json string of the success response body.")
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.successResponseBody", successResponseBodyExample)
|
|
|
|
lazy val errorResponseBodiesExample = ConnectorField(s"$UnknownError,$UserNotLoggedIn,$UserHasMissingRoles,$InvalidJsonFormat", "The possible error messages of the endpoint. ")
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.errorResponseBodies", errorResponseBodiesExample)
|
|
|
|
|
|
lazy val isFeaturedExample = ConnectorField("false", "if this is featured or not ")
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.isFeatured", isFeaturedExample)
|
|
|
|
lazy val specialInstructionsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.specialInstructions", specialInstructionsExample)
|
|
|
|
lazy val specifiedUrlExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.specifiedUrl", specifiedUrlExample)
|
|
|
|
lazy val dynamicMessageDocIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("DynamicMessageDoc.dynamicMessageDocId", dynamicMessageDocIdExample)
|
|
|
|
lazy val outboundAvroSchemaExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("DynamicMessageDoc.outboundAvroSchema", outboundAvroSchemaExample)
|
|
|
|
lazy val inboundAvroSchemaExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("DynamicMessageDoc.inboundAvroSchema", inboundAvroSchemaExample)
|
|
|
|
lazy val canSeeImagesExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_images", canSeeImagesExample)
|
|
|
|
lazy val topConsumersExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("top_consumers", topConsumersExample)
|
|
|
|
lazy val smsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("sms", smsExample)
|
|
|
|
lazy val maximumResponseTimeExample = ConnectorField("60",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("maximum_response_time", maximumResponseTimeExample)
|
|
|
|
lazy val cancelledExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("cancelled", cancelledExample)
|
|
|
|
lazy val entitlementRequestsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("entitlement_requests", entitlementRequestsExample)
|
|
|
|
lazy val newBalanceExample = ConnectorField("20",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("new_balance", newBalanceExample)
|
|
|
|
lazy val nExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("n", nExample)
|
|
|
|
lazy val scopesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("scopes", scopesExample)
|
|
|
|
lazy val effectiveDateExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("effective_date", effectiveDateExample)
|
|
|
|
lazy val dateOfApplicationExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("date_of_application", dateOfApplicationExample)
|
|
|
|
lazy val useTypeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("use_type", useTypeExample)
|
|
|
|
lazy val cardsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("cards", cardsExample)
|
|
|
|
lazy val orderDateExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("order_date", orderDateExample)
|
|
|
|
lazy val canAddCommentExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_comment", canAddCommentExample)
|
|
|
|
lazy val frequencyExample = ConnectorField("DAILY",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("frequency", frequencyExample)
|
|
|
|
lazy val ordersExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("orders", ordersExample)
|
|
|
|
lazy val typeExample = ConnectorField("",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("type", typeExample)
|
|
|
|
lazy val imageIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("image_id", imageIdExample)
|
|
|
|
lazy val canSeeOtherAccountRoutingSchemeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_other_account_routing_scheme", canSeeOtherAccountRoutingSchemeExample)
|
|
|
|
lazy val canDeleteCorporateLocationExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_delete_corporate_location", canDeleteCorporateLocationExample)
|
|
|
|
lazy val fromExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("from", fromExample)
|
|
|
|
lazy val httpMethodExample = ConnectorField("GET",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("http_method", httpMethodExample)
|
|
|
|
lazy val developerEmailExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("developer_email", developerEmailExample)
|
|
|
|
lazy val logLevelExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("log_level", logLevelExample)
|
|
|
|
lazy val otherAccountExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("other_account", otherAccountExample)
|
|
|
|
lazy val balanceExample = ConnectorField("10",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("balance", balanceExample)
|
|
|
|
lazy val portsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ports", portsExample)
|
|
|
|
lazy val perSecondExample = ConnectorField("1000",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("per_second", perSecondExample)
|
|
|
|
lazy val challengeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("challenge", challengeExample)
|
|
|
|
lazy val appNameExample = ConnectorField("appNameBank",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("app_name", appNameExample)
|
|
|
|
lazy val executionDateExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("execution_date", executionDateExample)
|
|
|
|
lazy val technologyExample = ConnectorField("technology1",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("technology", technologyExample)
|
|
|
|
lazy val connectorNameExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("connector_name", connectorNameExample)
|
|
|
|
lazy val ownersExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("owners", ownersExample)
|
|
|
|
lazy val exampleInboundMessageExample = ConnectorField("{}", "This is the json object.")
|
|
glossaryItems += makeGlossaryItem("example_inbound_message", exampleInboundMessageExample)
|
|
|
|
lazy val nationalIdentifierExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("national_identifier", nationalIdentifierExample)
|
|
|
|
lazy val temporaryRequestedCurrentAmountExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("temporary_requested_current_amount", temporaryRequestedCurrentAmountExample)
|
|
|
|
lazy val countExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("count", countExample)
|
|
|
|
lazy val canSeeOtherAccountBankNameExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_other_account_bank_name", canSeeOtherAccountBankNameExample)
|
|
|
|
lazy val handleExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("handle", handleExample)
|
|
|
|
lazy val customerTokenExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("customer_token", customerTokenExample)
|
|
|
|
lazy val sandboxTanExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("sandbox_tan", sandboxTanExample)
|
|
|
|
lazy val corporateLocationExample = ConnectorField("10",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("corporate_location", corporateLocationExample)
|
|
|
|
lazy val enabledExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("enabled", enabledExample)
|
|
|
|
lazy val durationExample = ConnectorField("5.123"," This is a decimal number in seconds, eg: 1 for 1 second, 0.001 for 1 ms")
|
|
glossaryItems += makeGlossaryItem("duration", durationExample)
|
|
|
|
lazy val canSeeBankAccountTypeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_account_type", canSeeBankAccountTypeExample)
|
|
|
|
lazy val toSepaExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("to_sepa", toSepaExample)
|
|
|
|
lazy val whichAliasToUseExample = ConnectorField("public",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("which_alias_to_use", whichAliasToUseExample)
|
|
|
|
lazy val canAddImageExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_image", canAddImageExample)
|
|
|
|
lazy val accountAttributeIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("account_attribute_id", accountAttributeIdExample)
|
|
|
|
lazy val closingTimeExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("closing_time", closingTimeExample)
|
|
|
|
lazy val lastFailureDateExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("last_failure_date", lastFailureDateExample)
|
|
|
|
lazy val whereExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("where", whereExample)
|
|
|
|
lazy val nominalInterest2Example = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("nominal_interest2", nominalInterest2Example)
|
|
|
|
lazy val statusExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("status", statusExample)
|
|
|
|
lazy val errorCodeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("errorCode", errorCodeExample)
|
|
|
|
lazy val textExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("text", textExample)
|
|
|
|
lazy val canSeeTransactionBalanceExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_transaction_balance", canSeeTransactionBalanceExample)
|
|
|
|
lazy val atmsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("atms", atmsExample)
|
|
|
|
lazy val overallBalanceDateExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("overall_balance_date", overallBalanceDateExample)
|
|
|
|
lazy val canDeletePhysicalLocationExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_delete_physical_location", canDeletePhysicalLocationExample)
|
|
|
|
lazy val canAddWhereTagExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_where_tag", canAddWhereTagExample)
|
|
|
|
lazy val pinResetExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("pin_reset", pinResetExample)
|
|
|
|
lazy val sepaExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("sepa", sepaExample)
|
|
|
|
lazy val shortNameExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("short_name", shortNameExample)
|
|
|
|
lazy val attributeDefinitionIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("attribute_definition_id", attributeDefinitionIdExample)
|
|
|
|
lazy val accountRulesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("account_rules", accountRulesExample)
|
|
|
|
lazy val transactionsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("transactions", transactionsExample)
|
|
|
|
lazy val channelExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("channel", channelExample)
|
|
|
|
lazy val creatorExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("creator", creatorExample)
|
|
|
|
lazy val activeExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("active", activeExample)
|
|
|
|
lazy val canSeeOtherAccountMetadataExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_other_account_metadata", canSeeOtherAccountMetadataExample)
|
|
|
|
lazy val canSeeBankAccountIbanExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_account_iban", canSeeBankAccountIbanExample)
|
|
|
|
lazy val lobbyExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("lobby", lobbyExample)
|
|
|
|
lazy val conversionValueExample = ConnectorField("100",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("conversion_value", conversionValueExample)
|
|
|
|
lazy val transactionRequestsWithChargesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("transaction_requests_with_charges", transactionRequestsWithChargesExample)
|
|
|
|
lazy val customerUserIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("customer_user_id", customerUserIdExample)
|
|
|
|
lazy val bankCodeExample = ConnectorField("CGHZ",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("bank_code", bankCodeExample)
|
|
|
|
lazy val averageResponseTimeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("average_response_time", averageResponseTimeExample)
|
|
|
|
lazy val phoneNumberExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("phone_number", phoneNumberExample)
|
|
|
|
lazy val viewsBasicExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("views_basic", viewsBasicExample)
|
|
|
|
lazy val functionNameExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("function_name", functionNameExample)
|
|
|
|
lazy val canSeeBankRoutingSchemeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_routing_scheme", canSeeBankRoutingSchemeExample)
|
|
|
|
lazy val line1Example = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("line1", line1Example)
|
|
|
|
lazy val fromDateExample = ConnectorField(DateWithMsExampleString,s"The TimeStamp in the format: $DateWithMs")
|
|
glossaryItems += makeGlossaryItem("from_date", fromDateExample)
|
|
|
|
lazy val creditLimitExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("credit_limit", creditLimitExample)
|
|
|
|
lazy val otherBankRoutingAddressExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("other_bank_routing_address", otherBankRoutingAddressExample)
|
|
|
|
lazy val bankExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("bank", bankExample)
|
|
|
|
lazy val counterpartiesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("counterparties", counterpartiesExample)
|
|
|
|
lazy val canSeeMoreInfoExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_more_info", canSeeMoreInfoExample)
|
|
|
|
lazy val transactionAttributesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("transaction_attributes", transactionAttributesExample)
|
|
|
|
lazy val viewsAvailableExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("views_available", viewsAvailableExample)
|
|
|
|
lazy val useExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("use", useExample)
|
|
|
|
lazy val requestedTemporaryValidEndDateExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("requested_temporary_valid_end_date", requestedTemporaryValidEndDateExample)
|
|
|
|
lazy val imagesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("images", imagesExample)
|
|
|
|
lazy val canSeeBankAccountBalanceExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_account_balance", canSeeBankAccountBalanceExample)
|
|
|
|
lazy val parametersExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("parameters", parametersExample)
|
|
|
|
lazy val canAddTransactionRequestToAnyAccountExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_transaction_request_to_any_account", canAddTransactionRequestToAnyAccountExample)
|
|
|
|
lazy val websiteExample = ConnectorField("www.openbankproject.com",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("website", websiteExample)
|
|
|
|
lazy val atmIdExample = ConnectorField("atme-9a0f-4bfa-b30b-9003aa467f51","A string that MUST uniquely identify the ATM on this OBP instance.")
|
|
glossaryItems += makeGlossaryItem("atm_id", atmIdExample)
|
|
|
|
lazy val atmAttributeIdExample = ConnectorField("xxaf2a-9a0f-4bfa-b30b-9003aa467f51","A string that MUST uniquely identify the ATM Attribute on this OBP instance.")
|
|
glossaryItems += makeGlossaryItem("ATM.attribute_id", atmIdExample)
|
|
|
|
lazy val entityIdExample = ConnectorField("0af807d7-3c39-43ef-9712-82bcfde1b9ca", "A unique identifier for the entity.")
|
|
glossaryItems += makeGlossaryItem("entity_id", entityIdExample)
|
|
|
|
lazy val certificateAuthorityCaOwnerIdExample = ConnectorField("CY_CBC", "The certificate authority owner ID.")
|
|
glossaryItems += makeGlossaryItem("certificate_authority_ca_owner_id", certificateAuthorityCaOwnerIdExample)
|
|
|
|
lazy val entityCertificatePublicKeyExample = ConnectorField(
|
|
"MIICsjCCAZqgAwIBAgIGAYwQ62R0MA0GCSqGSIb3DQEBCwUAMBoxGDAWBgNVBAMMD2FwcC5leGFtcGxlLmNvbT" +
|
|
"AeFw0yMzExMjcxMzE1MTFaFw0yNTExMjYxMzE1MTFaMBoxGDAWBgNVBAMMD2FwcC5leGFtcGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADC" +
|
|
"CAQoCggEBAK9WIodZHWzKyCcf9YfWEhPURbfO6zKuMqzHN27GdqHsVVEGxP4F/J4mso+0ENcRr6ur4u81iREaVdCc40rHDHVJNEtniD8Icbz7tcsq" +
|
|
"AewIVhc/q6WXGqImJpCq7hA0m247dDsaZT0lb/MVBiMoJxDEmAE/GYYnWTEn84R35WhJsMvuQ7QmLvNg6RkChY6POCT/YKe9NKwa1NqI1U+oA5RFz" +
|
|
"AaFtytvZCE3jtp+aR0brL7qaGfgxm6B7dEpGyhg0NcVCV7xMQNq2JxZTVdAr6lcsRGaAFulakmW3aNnmK+L35Wu8uW+OxNxwUuC6f3b4FVBa276F" +
|
|
"MuUTRfu7gc+k6kCAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAAU5CjEyAoyTn7PgFpQD48ZNPuUsEQ19gzYgJvHMzFIoZ7jKBodjO5mCzWBcR7A4mpe" +
|
|
"AsdyiNBl2sTiZscSnNqxk61jVzP5Ba1D7XtOjjr7+3iqowrThj6BY40QqhYh/6BSY9fDzVZQiHnvlo6ZUM5kUK6OavZOovKlp5DIl5sGqoP0qAJnp" +
|
|
"Q4nhB2WVVsKfPlOXc+2KSsbJ23g9l8zaTMr+X0umlvfEKqyEl1Fa2L1dO0y/KFQ+ILmxcZLpRdq1hRAjd0quq9qGC8ucXhRWDg4hslVpau0da68g" +
|
|
"0aItWNez3mc5lB82b3dcZpFMzO41bgw7gvw10AvvTfQDqEYIuQ==",
|
|
"The public key of the entity certificate."
|
|
)
|
|
glossaryItems += makeGlossaryItem("entity_certificate_public_key", entityCertificatePublicKeyExample)
|
|
|
|
lazy val entityNameExample = ConnectorField("EXAMPLE COMPANY LTD", "The name of the entity.")
|
|
glossaryItems += makeGlossaryItem("entity_name", entityNameExample)
|
|
|
|
lazy val entityCodeExample = ConnectorField("PSD_PICY_CBC!12345", "The code of the entity.")
|
|
glossaryItems += makeGlossaryItem("entity_code", entityCodeExample)
|
|
|
|
lazy val entityTypeExample = ConnectorField("PSD_PI", "The type of the entity.")
|
|
glossaryItems += makeGlossaryItem("entity_type", entityTypeExample)
|
|
|
|
lazy val entityAddressExample = ConnectorField("EXAMPLE COMPANY LTD, 5 SOME STREET", "The address of the entity.")
|
|
glossaryItems += makeGlossaryItem("entity_address", entityAddressExample)
|
|
|
|
lazy val entityTownCityExample = ConnectorField("SOME CITY", "The town or city of the entity.")
|
|
glossaryItems += makeGlossaryItem("entity_town_city", entityTownCityExample)
|
|
|
|
lazy val entityPostCodeExample = ConnectorField("1060", "The postal code of the entity.")
|
|
glossaryItems += makeGlossaryItem("entity_post_code", entityPostCodeExample)
|
|
|
|
lazy val entityCountryExample = ConnectorField("CY", "The country of the entity.")
|
|
glossaryItems += makeGlossaryItem("entity_country", entityCountryExample)
|
|
|
|
lazy val entityWebSiteExample = ConnectorField("www.example.com", "The website of the entity.")
|
|
glossaryItems += makeGlossaryItem("entity_web_site", entityWebSiteExample)
|
|
|
|
lazy val servicesExample = ConnectorField("""[{"CY":["PS_010","PS_020","PS_03C","PS_04C"]}]""", "The services provided by the entity.")
|
|
glossaryItems += makeGlossaryItem("services", servicesExample)
|
|
|
|
lazy val regulatedEntityAttributeIdExample = ConnectorField("attrafa-9a0f-4bfa-b30b-9003aa467f51","A string that MUST uniquely identify the Regulated Entity Attribute on this OBP instance.")
|
|
glossaryItems += makeGlossaryItem("RegulatedEntity.attribute_id", regulatedEntityAttributeIdExample)
|
|
|
|
lazy val regulatedEntityAttributeNameExample = ConnectorField("Attribute Name", s"regulatedEntity attribute name")
|
|
glossaryItems += makeGlossaryItem("RegulatedEntity.attribute_name", regulatedEntityAttributeNameExample)
|
|
|
|
lazy val regulatedEntityAttributeTypeExample = ConnectorField("STRING", s"Regulated Entity Attribute Type.")
|
|
glossaryItems += makeGlossaryItem("RegulatedEntity.attribute_type", regulatedEntityAttributeNameExample)
|
|
|
|
lazy val regulatedEntityAttributeValueExample = ConnectorField("1234", s"Regulated Entity Attribute value")
|
|
glossaryItems += makeGlossaryItem("RegulatedEntity.attribute_value", regulatedEntityAttributeNameExample)
|
|
|
|
lazy val atmNameExample = ConnectorField("Atm by the Lake","The name of the ATM")
|
|
glossaryItems += makeGlossaryItem("ATM.name", atmNameExample)
|
|
|
|
lazy val supportedCurrenciesExample = ConnectorField("""["EUR","MXN","USD"]""", NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("supported_currencies", supportedCurrenciesExample)
|
|
|
|
lazy val supportedLanguagesExample = ConnectorField("""["es","fr","de"]""", NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("supported_languages", supportedCurrenciesExample)
|
|
|
|
lazy val atmServicesExample = ConnectorField("""["ATBP","ATBA"]""", NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ATM.services", atmServicesExample)
|
|
|
|
lazy val atmNotesExample = ConnectorField("""["String1","String2"]""", NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ATM.notes", atmNotesExample)
|
|
|
|
lazy val atmLocationCategoriesExample = ConnectorField("""["ATBI","ATBE"]""", NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ATM.location_categories", atmLocationCategoriesExample)
|
|
|
|
lazy val atmMinimumWithdrawalExample = ConnectorField("""5""", "minimum withdrawal at this ATM")
|
|
glossaryItems += makeGlossaryItem("ATM.minimum_withdrawal", atmMinimumWithdrawalExample)
|
|
|
|
lazy val atmBranchIdentificationExample = ConnectorField(NoExampleProvided, NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ATM.branch_identification", atmBranchIdentificationExample)
|
|
|
|
lazy val siteIdentification = ConnectorField(NoExampleProvided, NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ATM.site_identification", siteIdentification)
|
|
|
|
lazy val atmSiteNameExample = ConnectorField(NoExampleProvided, NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ATM.site_name", atmSiteNameExample)
|
|
|
|
lazy val cashWithdrawalNationalFeeExample = ConnectorField(NoExampleProvided, NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ATM.cash_withdrawal_national_fee", cashWithdrawalNationalFeeExample)
|
|
|
|
lazy val cashWithdrawalInternationalFeeExample: ConnectorField = ConnectorField(NoExampleProvided, NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ATM.cash_withdrawal_international_fee", cashWithdrawalInternationalFeeExample)
|
|
|
|
lazy val balanceInquiryFeeExample = ConnectorField(NoExampleProvided, NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ATM.balance_inquiry_fee", balanceInquiryFeeExample)
|
|
|
|
lazy val atmTypeExample = ConnectorField(NoExampleProvided, NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ATM.atm_type", atmTypeExample)
|
|
|
|
lazy val accessibilityFeaturesExample = ConnectorField("""["ATAC","ATAD"]""", NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("accessibility_features", accessibilityFeaturesExample)
|
|
|
|
lazy val canSeeOtherBankRoutingSchemeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_other_bank_routing_scheme", canSeeOtherBankRoutingSchemeExample)
|
|
|
|
lazy val physicalLocationExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("physical_location", physicalLocationExample)
|
|
|
|
lazy val canSeeBankAccountRoutingSchemeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_account_routing_scheme", canSeeBankAccountRoutingSchemeExample)
|
|
|
|
lazy val rankAmount2Example = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("rank_amount2", rankAmount2Example)
|
|
|
|
lazy val relatesToKycCheckIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("relates_to_kyc_check_id", relatesToKycCheckIdExample)
|
|
|
|
lazy val productCodeExample = ConnectorField("1234BW", NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("product_code", productCodeExample)
|
|
|
|
lazy val imageUrlExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("image_url", imageUrlExample)
|
|
|
|
lazy val canSeeTransactionMetadataExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_transaction_metadata", canSeeTransactionMetadataExample)
|
|
|
|
lazy val documentsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("documents", documentsExample)
|
|
|
|
lazy val relatesToKycDocumentIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("relates_to_kyc_document_id", relatesToKycDocumentIdExample)
|
|
|
|
lazy val hostedAtExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("hosted_at", hostedAtExample)
|
|
|
|
lazy val holderExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("holder", holderExample)
|
|
|
|
lazy val kindExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("kind", kindExample)
|
|
|
|
lazy val shortCodeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("short_code", shortCodeExample)
|
|
|
|
lazy val driveupExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("driveup", driveupExample)
|
|
|
|
lazy val keysExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("keys", keysExample)
|
|
|
|
lazy val otherAccountsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("other_accounts", otherAccountsExample)
|
|
|
|
lazy val canSeeTransactionFinishDateExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_transaction_finish_date", canSeeTransactionFinishDateExample)
|
|
|
|
lazy val satisfiedExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("satisfied", satisfiedExample)
|
|
|
|
lazy val canSeeOtherAccountIbanExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_other_account_iban", canSeeOtherAccountIbanExample)
|
|
|
|
lazy val attributeIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("attribute_id", attributeIdExample)
|
|
|
|
lazy val accountExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("account", accountExample)
|
|
|
|
lazy val idExample = ConnectorField("d8839721-ad8f-45dd-9f78-2080414b93f9",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("id", idExample)
|
|
|
|
lazy val canAddCorporateLocationExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_corporate_location", canAddCorporateLocationExample)
|
|
|
|
lazy val crmEventsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("crm_events", crmEventsExample)
|
|
|
|
lazy val shortReferenceExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("short_reference", shortReferenceExample)
|
|
|
|
lazy val requiresBankIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("requires_bank_id", requiresBankIdExample)
|
|
|
|
lazy val numberExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("number", numberExample)
|
|
|
|
lazy val cityExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("city", cityExample)
|
|
|
|
lazy val toTransferToAtmExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("to_transfer_to_atm", toTransferToAtmExample)
|
|
|
|
lazy val jwtExample = ConnectorField("eyJhbGciOiJIUzI1NiJ9.eyJlbnRpdGxlbWVudHMiOltdLCJjcmVhdGVkQnlVc2VySWQiOiJhYjY1Mz" +
|
|
"lhOS1iMTA1LTQ0ODktYTg4My0wYWQ4ZDZjNjE2NTciLCJzdWIiOiIyMWUxYzhjYy1mOTE4LTRlYWMtYjhlMy01ZTVlZWM2YjNiNGIiLCJhdWQiOiJ" +
|
|
"lanpuazUwNWQxMzJyeW9tbmhieDFxbXRvaHVyYnNiYjBraWphanNrIiwibmJmIjoxNTUzNTU0ODk5LCJpc3MiOiJodHRwczpcL1wvd3d3Lm9wZW5i" +
|
|
"YW5rcHJvamVjdC5jb20iLCJleHAiOjE1NTM1NTg0OTksImlhdCI6MTU1MzU1NDg5OSwianRpIjoiMDlmODhkNWYtZWNlNi00Mzk4LThlOTktNjYxMW" +
|
|
"ZhMWNkYmQ1Iiwidmlld3MiOlt7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAxIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoi" +
|
|
"b3duZXIifSx7ImFjY291bnRfaWQiOiJtYXJrb19wcml2aXRlXzAyIiwiYmFua19pZCI6ImdoLjI5LnVrLngiLCJ2aWV3X2lkIjoib3duZXIifV19." +
|
|
"8cc7cBEf2NyQvJoukBCmDLT7LXYcuzTcSYLqSpbxLp4","JSON Web Token")
|
|
glossaryItems += makeGlossaryItem("jwt", jwtExample)
|
|
|
|
lazy val requestedCurrentValidEndDateExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("requested_current_valid_end_date", requestedCurrentValidEndDateExample)
|
|
|
|
lazy val canSeeOtherBankRoutingAddressExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_other_bank_routing_address", canSeeOtherBankRoutingAddressExample)
|
|
|
|
lazy val thursdayExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("thursday", thursdayExample)
|
|
|
|
lazy val userAuthContextsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("user_auth_contexts", userAuthContextsExample)
|
|
|
|
lazy val phoneExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("phone", phoneExample)
|
|
|
|
lazy val sepaCreditTransferExample = ConnectorField("yes","no-description-provided")
|
|
glossaryItems += makeGlossaryItem("sepaCreditTransfer", sepaCreditTransferExample)
|
|
|
|
lazy val sepaSddCoreExample = ConnectorField("yes","no-description-provided")
|
|
glossaryItems += makeGlossaryItem("sepaSddCore", sepaSddCoreExample)
|
|
|
|
lazy val sepaB2bExample = ConnectorField("yes","no-description-provided")
|
|
glossaryItems += makeGlossaryItem("sepaB2b", sepaB2bExample)
|
|
|
|
lazy val sepaCardClearingExample = ConnectorField("no","no-description-provided")
|
|
glossaryItems += makeGlossaryItem("sepaCardClearing", sepaCardClearingExample)
|
|
|
|
lazy val bicExample = ConnectorField("BUKBGB22","The Business Identifier Code")
|
|
glossaryItems += makeGlossaryItem("bic", bicExample)
|
|
|
|
lazy val sepaDirectDebitExample = ConnectorField("yes","no-description-provided")
|
|
glossaryItems += makeGlossaryItem("sepaDirectDebit", sepaDirectDebitExample)
|
|
|
|
lazy val canSeeTransactionOtherBankAccountExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_transaction_other_bank_account", canSeeTransactionOtherBankAccountExample)
|
|
|
|
lazy val itemsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("items", itemsExample)
|
|
|
|
lazy val toDateExample = ConnectorField(DateWithMsExampleString,s"The TimeStamp in the format: $DateWithMs")
|
|
glossaryItems += makeGlossaryItem("to_date", toDateExample)
|
|
|
|
lazy val bankRoutingsExample = ConnectorField("bank routing in form of (scheme, address)",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("bank_routings", bankRoutingsExample)
|
|
|
|
lazy val canSeeOpenCorporatesUrlExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_open_corporates_url", canSeeOpenCorporatesUrlExample)
|
|
|
|
lazy val branchesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("branches", branchesExample)
|
|
|
|
lazy val overallBalanceExample = ConnectorField("10",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("overall_balance", overallBalanceExample)
|
|
|
|
lazy val ttlInSecondsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ttl_in_seconds", ttlInSecondsExample)
|
|
|
|
lazy val authContextUpdateIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("auth_context_update_id", authContextUpdateIdExample)
|
|
|
|
lazy val scopeIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("scope_id", scopeIdExample)
|
|
|
|
lazy val organisationWebsiteExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("organisation_website", organisationWebsiteExample)
|
|
|
|
lazy val howExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("how", howExample)
|
|
|
|
lazy val holdersExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("holders", holdersExample)
|
|
|
|
lazy val consumersExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("consumers", consumersExample)
|
|
|
|
lazy val nicknameExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("nickname", nicknameExample)
|
|
|
|
lazy val mediasExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("medias", mediasExample)
|
|
|
|
lazy val perMonthCallLimitExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("per_month_call_limit", perMonthCallLimitExample)
|
|
|
|
lazy val rolesExample = ConnectorField("CanCreateMyUser","Entitlements are used to grant System or Bank level roles to Users ")
|
|
glossaryItems += makeGlossaryItem("roles", rolesExample)
|
|
|
|
lazy val categoryExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("category", categoryExample)
|
|
|
|
lazy val onHotListExample = ConnectorField("false",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("on_hot_list", onHotListExample)
|
|
|
|
lazy val temporaryCreditDocumentationExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("temporary_credit_documentation", temporaryCreditDocumentationExample)
|
|
|
|
lazy val locationExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("location", locationExample)
|
|
|
|
lazy val otherBankRoutingSchemeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("other_bank_routing_scheme", otherBankRoutingSchemeExample)
|
|
|
|
lazy val groupExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("group", groupExample)
|
|
|
|
lazy val taxResidenceIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("tax_residence_id", taxResidenceIdExample)
|
|
|
|
lazy val accountAttributesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("account_attributes", accountAttributesExample)
|
|
|
|
lazy val listExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("list", listExample)
|
|
|
|
lazy val branchNumberExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("branch_number", branchNumberExample)
|
|
|
|
lazy val accountsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("accounts", accountsExample)
|
|
|
|
lazy val consentsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("consents", consentsExample)
|
|
|
|
lazy val entitlementsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("entitlements", entitlementsExample)
|
|
|
|
lazy val commentIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("comment_id", commentIdExample)
|
|
|
|
lazy val canSeeBankAccountNationalIdentifierExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_account_national_identifier", canSeeBankAccountNationalIdentifierExample)
|
|
|
|
lazy val perMinuteExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("per_minute", perMinuteExample)
|
|
|
|
lazy val resultExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("result", resultExample)
|
|
|
|
lazy val entitlementRequestIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("entitlement_request_id", entitlementRequestIdExample)
|
|
|
|
lazy val minimumResponseTimeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("minimum_response_time", minimumResponseTimeExample)
|
|
|
|
lazy val locatedAtExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ATM.located_at", locatedAtExample)
|
|
|
|
lazy val requireScopesForAllRolesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("require_scopes_for_all_roles", requireScopesForAllRolesExample)
|
|
|
|
lazy val creditRatingExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("credit_rating", creditRatingExample)
|
|
|
|
lazy val firstCheckNumberExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("first_check_number", firstCheckNumberExample)
|
|
|
|
lazy val addressesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("addresses", addressesExample)
|
|
|
|
lazy val thisViewIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("this_view_id", thisViewIdExample)
|
|
|
|
lazy val canSeeTransactionCurrencyExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_transaction_currency", canSeeTransactionCurrencyExample)
|
|
|
|
lazy val accountOtpExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("account_otp", accountOtpExample)
|
|
|
|
lazy val hideMetadataIfAliasUsedExample = ConnectorField(booleanFalse, NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("hide_metadata_if_alias_used", hideMetadataIfAliasUsedExample)
|
|
|
|
lazy val canSeeBankAccountCurrencyExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_account_currency", canSeeBankAccountCurrencyExample)
|
|
|
|
lazy val generateAuditorsViewExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("generate_auditors_view", generateAuditorsViewExample)
|
|
|
|
lazy val longitudeExample = ConnectorField("-77.0364",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("longitude", longitudeExample)
|
|
|
|
lazy val familyExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("family", familyExample)
|
|
|
|
lazy val reasonsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("reasons", reasonsExample)
|
|
|
|
lazy val replacementExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("replacement", replacementExample)
|
|
|
|
lazy val customerExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("customer", customerExample)
|
|
|
|
lazy val nominalInterest1Example = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("nominal_interest1", nominalInterest1Example)
|
|
|
|
lazy val memberProductCodeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("member_product_code", memberProductCodeExample)
|
|
|
|
lazy val scaMethodExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("sca_method", scaMethodExample)
|
|
|
|
lazy val accountWebhookIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("account_webhook_id", accountWebhookIdExample)
|
|
|
|
lazy val customerMessageId = ConnectorField("5995d6a2-01b3-423c-a173-5481df49bdaf",
|
|
"A string that, in combination with the bankId MUST uniquely identify the customer message on this OBP instance")
|
|
glossaryItems += makeGlossaryItem("id", customerMessageId)
|
|
|
|
lazy val messageExample = ConnectorField("123456","The messsage content to send to customer.")
|
|
glossaryItems += makeGlossaryItem("message", messageExample)
|
|
|
|
lazy val transportExample = ConnectorField("SMS", "It can be SMS or Email or other transport types")
|
|
glossaryItems += makeGlossaryItem("transport", transportExample)
|
|
|
|
lazy val fromDepartmentExample = ConnectorField("Open Bank", "The department of the sender")
|
|
glossaryItems += makeGlossaryItem("from_department", fromDepartmentExample)
|
|
|
|
lazy val fromPersonExample = ConnectorField("Tom", "The name of the sender")
|
|
glossaryItems += makeGlossaryItem("from_person", fromPersonExample)
|
|
|
|
lazy val canSeePrivateAliasExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_private_alias", canSeePrivateAliasExample)
|
|
|
|
lazy val typeOfLockExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("type_of_lock", typeOfLockExample)
|
|
|
|
lazy val canSeeOtherAccountKindExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_other_account_kind", canSeeOtherAccountKindExample)
|
|
|
|
lazy val canAddOpenCorporatesUrlExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_open_corporates_url", canAddOpenCorporatesUrlExample)
|
|
|
|
lazy val metadataViewExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("metadata_view", metadataViewExample)
|
|
|
|
lazy val aliasExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("alias", aliasExample)
|
|
|
|
lazy val canSeeTransactionThisBankAccountExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_transaction_this_bank_account", canSeeTransactionThisBankAccountExample)
|
|
|
|
lazy val triggerNameExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("trigger_name", triggerNameExample)
|
|
|
|
lazy val otherAccountIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("other_account_id", otherAccountIdExample)
|
|
|
|
lazy val resetInSecondsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("reset_in_seconds", resetInSecondsExample)
|
|
|
|
lazy val answerExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("answer", answerExample)
|
|
|
|
lazy val executionTimeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("execution_time", executionTimeExample)
|
|
|
|
lazy val timeToLiveExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("time_to_live", timeToLiveExample)
|
|
|
|
lazy val akkaExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("akka", akkaExample)
|
|
|
|
lazy val meetingIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("meeting_id", meetingIdExample)
|
|
|
|
lazy val tagIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("tag_id", tagIdExample)
|
|
|
|
lazy val addressExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("address", addressExample)
|
|
|
|
lazy val canAddPrivateAliasExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_private_alias", canAddPrivateAliasExample)
|
|
|
|
lazy val postcodeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("postcode", postcodeExample)
|
|
|
|
lazy val fromCurrencyCodeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("from_currency_code", fromCurrencyCodeExample)
|
|
|
|
lazy val wednesdayExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("wednesday", wednesdayExample)
|
|
|
|
lazy val lastOkDateExample = ConnectorField(formatDate(oneYearAgoDate),NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("last_ok_date", lastOkDateExample)
|
|
|
|
lazy val transactionTypesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("transaction_types", transactionTypesExample)
|
|
|
|
lazy val resetPasswordUrlExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("reset_password_url", resetPasswordUrlExample)
|
|
|
|
lazy val canSeeBankAccountSwiftBicExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_account_swift_bic", canSeeBankAccountSwiftBicExample)
|
|
|
|
lazy val jsonstringExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("jsonstring", jsonstringExample)
|
|
|
|
lazy val inviteesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("invitees", inviteesExample)
|
|
|
|
lazy val appTypeExample = ConnectorField("Web",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("app_type", appTypeExample)
|
|
|
|
lazy val productAttributeIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("product_attribute_id", productAttributeIdExample)
|
|
|
|
lazy val isSystemExample = ConnectorField("true", "If the view is the system level, then it is true")
|
|
glossaryItems += makeGlossaryItem("view.is_system", isSystemExample)
|
|
|
|
lazy val detailsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("details", detailsExample)
|
|
|
|
lazy val canSeeOwnerCommentExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_owner_comment", canSeeOwnerCommentExample)
|
|
|
|
lazy val canSeeTagsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_tags", canSeeTagsExample)
|
|
|
|
lazy val moreInfoUrlExample = ConnectorField("www.example.com/abc",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("more_info_url", moreInfoUrlExample)
|
|
|
|
lazy val kycMediaIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("kyc_media_id", kycMediaIdExample)
|
|
|
|
lazy val outboundavroschemaExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("outboundavroschema", outboundavroschemaExample)
|
|
|
|
lazy val isAliasExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("is_alias", isAliasExample)
|
|
|
|
lazy val roleNameExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("role_name", roleNameExample)
|
|
|
|
lazy val termsAndConditionsUrlExample = ConnectorField("www.example.com/xyz",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("terms_and_conditions_url_example", termsAndConditionsUrlExample)
|
|
|
|
lazy val canAddUrlExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_url", canAddUrlExample)
|
|
|
|
lazy val viewExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("view", viewExample)
|
|
|
|
lazy val displayNameExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("display_name", displayNameExample)
|
|
|
|
lazy val canDeleteTagExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_delete_tag", canDeleteTagExample)
|
|
|
|
lazy val hoursExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("hours", hoursExample)
|
|
|
|
lazy val customerAttributesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("customer_attributes", customerAttributesExample)
|
|
|
|
lazy val perHourCallLimitExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("per_hour_call_limit", perHourCallLimitExample)
|
|
|
|
lazy val distributionChannelExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("distribution_channel", distributionChannelExample)
|
|
|
|
lazy val otherAccountRoutingSchemeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("other_account_routing_scheme", otherAccountRoutingSchemeExample)
|
|
|
|
lazy val generateAccountantsViewExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("generate_accountants_view", generateAccountantsViewExample)
|
|
|
|
lazy val counterpartyExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("counterparty", counterpartyExample)
|
|
|
|
lazy val tagsExample = ConnectorField("Create-My-User","OBP uses the tags to group the endpoints, the relevant endpoints can share the same tag. ")
|
|
glossaryItems += makeGlossaryItem("tags", tagsExample)
|
|
|
|
lazy val perHourExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("per_hour", perHourExample)
|
|
|
|
lazy val cardDescriptionExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("card_description", cardDescriptionExample)
|
|
|
|
lazy val moreInfoExample = ConnectorField("More information about this fee",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("more_info", moreInfoExample)
|
|
|
|
lazy val fieldExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("field", fieldExample)
|
|
|
|
lazy val creditornameExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("creditorname", creditornameExample)
|
|
|
|
lazy val dateActivatedExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("date_activated", dateActivatedExample)
|
|
|
|
lazy val webuiPropsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("webui_props", webuiPropsExample)
|
|
|
|
lazy val userCustomerLinksExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("user_customer_links", userCustomerLinksExample)
|
|
|
|
lazy val inboundavroschemaExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("inboundavroschema", inboundavroschemaExample)
|
|
|
|
lazy val matchAllExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("match_all", matchAllExample)
|
|
|
|
lazy val chargeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("charge", chargeExample)
|
|
|
|
lazy val kycDocumentIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("kyc_document_id", kycDocumentIdExample)
|
|
|
|
lazy val canSeePublicAliasExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_public_alias", canSeePublicAliasExample)
|
|
|
|
lazy val webUiPropsIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("web_ui_props_id", webUiPropsIdExample)
|
|
|
|
lazy val providerExample = ConnectorField("ETHEREUM","the provider name ")
|
|
glossaryItems += makeGlossaryItem("provider", providerExample)
|
|
|
|
lazy val canSeePhysicalLocationExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_physical_location", canSeePhysicalLocationExample)
|
|
|
|
lazy val accountRoutingsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("account_routings", accountRoutingsExample)
|
|
|
|
lazy val purposeIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("purpose_id", purposeIdExample)
|
|
|
|
lazy val perDayCallLimitExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("per_day_call_limit", perDayCallLimitExample)
|
|
|
|
lazy val kycCheckIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("kyc_check_id", kycCheckIdExample)
|
|
|
|
lazy val perWeekCallLimitExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("per_week_call_limit", perWeekCallLimitExample)
|
|
|
|
lazy val bankIdPatternExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("bank_id_pattern", bankIdPatternExample)
|
|
|
|
lazy val cardAttributesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("card_attributes", cardAttributesExample)
|
|
|
|
lazy val verbExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("verb", verbExample)
|
|
|
|
lazy val freeFormExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("free_form", freeFormExample)
|
|
|
|
lazy val transferTypeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("transfer_type", transferTypeExample)
|
|
|
|
lazy val challengeTypeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("challenge_type", challengeTypeExample)
|
|
|
|
lazy val messageDocsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("message_docs", messageDocsExample)
|
|
|
|
lazy val licenseExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("license", licenseExample)
|
|
|
|
lazy val requestIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("request_id", requestIdExample)
|
|
|
|
lazy val userAuthContextIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("user_auth_context_id", userAuthContextIdExample)
|
|
|
|
lazy val perMinuteCallLimitExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("per_minute_call_limit", perMinuteCallLimitExample)
|
|
|
|
lazy val countyExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("county", countyExample)
|
|
|
|
lazy val publicAliasExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("public_alias", publicAliasExample)
|
|
|
|
lazy val parentProductCodeExample = ConnectorField("787LOW",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("parent_product_code", parentProductCodeExample)
|
|
|
|
lazy val productNameExample = ConnectorField("Deposit Account 1",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("product_name", productNameExample)
|
|
|
|
lazy val numberOfCheckbooksExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("number_of_checkbooks", numberOfCheckbooksExample)
|
|
|
|
lazy val directDebitIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("direct_debit_id", directDebitIdExample)
|
|
|
|
lazy val consentReferenceIdExample = ConnectorField("123456" ,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("consent_id", consentReferenceIdExample)
|
|
|
|
lazy val consentIdExample = ConnectorField("9d429899-24f5-42c8-8565-943ffa6a7947",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("consent_id", consentIdExample)
|
|
|
|
lazy val basketIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("basket_id", basketIdExample)
|
|
|
|
lazy val consentRequestPayloadExample = ConnectorField(
|
|
s"""{
|
|
| "everything": false,
|
|
| "account_access": [
|
|
| {
|
|
| "account_routing": {
|
|
| "scheme": "${schemeExample.value}",
|
|
| "address": "${accountIdExample.value}"
|
|
| },
|
|
| "view_id": "${Constant.SYSTEM_OWNER_VIEW_ID}"
|
|
| }
|
|
| ],
|
|
| "phone_number": "+44 07972 444 876",
|
|
| "valid_from": "2022-06-14T12:42:00Z",
|
|
| "time_to_live": 3600
|
|
|}""".stripMargin,
|
|
"The whole create consent request json body."
|
|
)
|
|
|
|
lazy val vrpConsentRequestPayloadExample = ConnectorField(
|
|
s"""{
|
|
| "from_account": {
|
|
| "bank_routing": {
|
|
| "scheme": "${schemeExample.value}",
|
|
| "address": "${bankIdExample.value}"
|
|
| },
|
|
| "account_routing": {
|
|
| "scheme": "${schemeExample.value}",
|
|
| "address": "${accountIdExample.value}"
|
|
| },
|
|
| "branch_routing": {
|
|
| "scheme": "${schemeExample.value}",
|
|
| "address": "${branchIdExample.value}"
|
|
| }
|
|
| },
|
|
| "to_account": {
|
|
| "bank_routing": {
|
|
| "scheme": "${schemeExample.value}",
|
|
| "address": "${bankIdExample.value}"
|
|
| },
|
|
| "account_routing": {
|
|
| "scheme": "${schemeExample.value}",
|
|
| "address": "${accountIdExample.value}"
|
|
| },
|
|
| "branch_routing": {
|
|
| "scheme": "${schemeExample.value}",
|
|
| "address": "${branchIdExample.value}"
|
|
| },
|
|
| "limit": {
|
|
| "currency": "EUR",
|
|
| "max_single_amount": 1000,
|
|
| "max_monthly_amount": 10000,
|
|
| "max_number_of_monthly_transactions": 10,
|
|
| "max_yearly_amount": 12000,
|
|
| "max_number_of_yearly_transactions": 100
|
|
| }
|
|
| },
|
|
| "valid_from": "2024-07-10T09:22:06Z",
|
|
| "time_to_live": 3600
|
|
|}
|
|
|""".stripMargin,
|
|
"The whole create consent request json body."
|
|
)
|
|
|
|
glossaryItems += makeGlossaryItem("payload", consentRequestPayloadExample)
|
|
glossaryItems += makeGlossaryItem("vrp_consent_request.payload", vrpConsentRequestPayloadExample)
|
|
|
|
lazy val consentRequestIdExample = ConnectorField (
|
|
"8ca8a7e4-6d02-40e3-a129-0b2bf89de9f0",
|
|
s"A string that MUST uniquely identify the Consent Request on this OBP instance."
|
|
)
|
|
|
|
glossaryItems += makeGlossaryItem("consent_request_id", consentRequestIdExample)
|
|
|
|
lazy val line2Example = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("line2", line2Example)
|
|
|
|
lazy val everythingExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("everything", everythingExample)
|
|
|
|
lazy val networksExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("networks", networksExample)
|
|
|
|
lazy val allowsExample = ConnectorField(List(CardAction.CREDIT.toString.toLowerCase,CardAction.DEBIT.toString.toLowerCase,CardAction.CASH_WITHDRAWAL.toString.toLowerCase).mkString("[",",","]"), "The actions of the card.")
|
|
glossaryItems += makeGlossaryItem("allows", allowsExample)
|
|
|
|
lazy val `data.bankIdExample` = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("data.bankid", `data.bankIdExample` )
|
|
|
|
lazy val customerNameExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("customer_name", customerNameExample)
|
|
|
|
lazy val fridayExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("friday", fridayExample)
|
|
|
|
lazy val productCollectionExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("product_collection", productCollectionExample)
|
|
|
|
lazy val methodNameExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("method_name", methodNameExample)
|
|
|
|
lazy val staffTokenExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("staff_token", staffTokenExample)
|
|
|
|
lazy val dateAddedExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("date_added", dateAddedExample)
|
|
|
|
lazy val connectorVersionExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("connector_version", connectorVersionExample)
|
|
|
|
lazy val accountApplicationsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("account_applications", accountApplicationsExample)
|
|
|
|
lazy val endDateExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("end_date", endDateExample)
|
|
|
|
lazy val canAddTransactionRequestToOwnAccountExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_transaction_request_to_own_account", canAddTransactionRequestToOwnAccountExample)
|
|
|
|
lazy val otherAccountRoutingAddressExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("other_account_routing_address", otherAccountRoutingAddressExample)
|
|
|
|
lazy val isFirehoseExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("is_firehose", isFirehoseExample)
|
|
|
|
lazy val okExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ok", okExample)
|
|
|
|
lazy val bankRoutingExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("bank_routing", bankRoutingExample)
|
|
|
|
lazy val shippingCodeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("shipping_code", shippingCodeExample)
|
|
|
|
lazy val line3Example = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("line3", line3Example)
|
|
|
|
lazy val swiftBicExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("swift_bic", swiftBicExample)
|
|
|
|
lazy val debtoraccountExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("debtoraccount", debtoraccountExample)
|
|
|
|
lazy val latitudeExample = ConnectorField("38.8951",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("latitude", latitudeExample)
|
|
|
|
lazy val dependentEndpointsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("dependent_endpoints", dependentEndpointsExample)
|
|
|
|
lazy val hasDepositCapabilityExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ATM.has_deposit_capability", hasDepositCapabilityExample)
|
|
|
|
lazy val toCounterpartyExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("to_counterparty", toCounterpartyExample)
|
|
|
|
lazy val dateInsertedExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("date_inserted", dateInsertedExample)
|
|
|
|
lazy val schemeExample = ConnectorField("OBP",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("scheme", schemeExample)
|
|
|
|
lazy val customerAddressIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("customer_address_id", customerAddressIdExample)
|
|
|
|
lazy val generatePublicViewExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("generate_public_view", generatePublicViewExample)
|
|
|
|
lazy val canSeeBankAccountRoutingAddressExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_account_routing_address", canSeeBankAccountRoutingAddressExample)
|
|
|
|
lazy val canSeeCommentsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_comments", canSeeCommentsExample)
|
|
|
|
lazy val canEditOwnerCommentExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_edit_owner_comment", canEditOwnerCommentExample)
|
|
|
|
lazy val canAddCounterpartyExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_counterparty", canAddCounterpartyExample)
|
|
|
|
lazy val markdownExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("markdown", markdownExample)
|
|
|
|
lazy val standingOrderIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("standing_order_id", standingOrderIdExample)
|
|
|
|
lazy val parentProductExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("parent_product", parentProductExample)
|
|
|
|
lazy val mobilePhoneExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("mobile_phone", mobilePhoneExample)
|
|
|
|
lazy val sundayExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("sunday", sundayExample)
|
|
|
|
lazy val propertyExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("property", propertyExample)
|
|
|
|
lazy val tokenExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("token", tokenExample)
|
|
|
|
lazy val accountRoutingExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("account_routing", accountRoutingExample)
|
|
|
|
lazy val requestedCurrentRateAmount2Example = ConnectorField("20",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("requested_current_rate_amount2", requestedCurrentRateAmount2Example)
|
|
|
|
lazy val narrativeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("narrative", narrativeExample)
|
|
|
|
lazy val canSeeOtherAccountRoutingAddressExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_other_account_routing_address", canSeeOtherAccountRoutingAddressExample)
|
|
|
|
lazy val statusesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("statuses", statusesExample)
|
|
|
|
lazy val callsMadeExample = ConnectorField("50",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("calls_made", callsMadeExample)
|
|
|
|
lazy val currentStateExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("current_state", currentStateExample)
|
|
|
|
lazy val customersExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("customers", customersExample)
|
|
|
|
lazy val scheduledDateExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("scheduled_date", scheduledDateExample)
|
|
|
|
lazy val allowedAttemptsExample = ConnectorField("5",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("allowed_attempts", allowedAttemptsExample)
|
|
|
|
lazy val hostedByExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("hosted_by", hostedByExample)
|
|
|
|
lazy val whenExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("when", whenExample)
|
|
|
|
lazy val userAuthContextUpdateIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("user_auth_context_update_id", userAuthContextUpdateIdExample)
|
|
|
|
lazy val accessiblefeaturesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("accessiblefeatures", accessiblefeaturesExample)
|
|
|
|
lazy val tuesdayExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("tuesday", tuesdayExample)
|
|
|
|
lazy val canQueryAvailableFundsExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_query_available_funds", canQueryAvailableFundsExample)
|
|
|
|
lazy val otherAccountSecondaryRoutingSchemeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("other_account_secondary_routing_scheme", otherAccountSecondaryRoutingSchemeExample)
|
|
|
|
lazy val processExample = ConnectorField("obp.getBank","The format must be obp.xxxx, 'obp.' is the prefix, xxx will be the connector method name")
|
|
glossaryItems += makeGlossaryItem("process", processExample)
|
|
|
|
lazy val otherBranchRoutingSchemeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("other_branch_routing_scheme", otherBranchRoutingSchemeExample)
|
|
|
|
lazy val openingTimeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("opening_time", openingTimeExample)
|
|
|
|
lazy val httpProtocolExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("http_protocol", httpProtocolExample)
|
|
|
|
lazy val thisAccountIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("this_account_id", thisAccountIdExample)
|
|
|
|
lazy val queryExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("query", queryExample)
|
|
|
|
lazy val badAttemptsSinceLastSuccessOrResetExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("bad_attempts_since_last_success_or_reset", badAttemptsSinceLastSuccessOrResetExample)
|
|
|
|
lazy val webHooksExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("web_hooks", webHooksExample)
|
|
|
|
lazy val providerIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("provider_id", providerIdExample)
|
|
|
|
lazy val meetingsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("meetings", meetingsExample)
|
|
|
|
lazy val cardNumberExample = bankCardNumberExample
|
|
|
|
lazy val instructedamountExample = ConnectorField("100",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("instructedamount", instructedamountExample)
|
|
|
|
lazy val userCustomerLinkIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("user_customer_link_id", userCustomerLinkIdExample)
|
|
|
|
lazy val outboundTopicExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("outbound_topic", outboundTopicExample)
|
|
|
|
lazy val postCodeExample = ConnectorField("789",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("post_code", postCodeExample)
|
|
|
|
lazy val superFamilyExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("super_family", superFamilyExample)
|
|
|
|
lazy val nameExample = ConnectorField("ACCOUNT_MANAGEMENT_FEE",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("name", nameExample)
|
|
|
|
lazy val ageExample = ConnectorField("18", "The user age.")
|
|
glossaryItems += makeGlossaryItem("age", ageExample)
|
|
|
|
lazy val productFeeIdExample = ConnectorField("696hlAHLFKUHE37469287634",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("product_fee_id", productFeeIdExample)
|
|
|
|
lazy val emailAddressExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("email_address", emailAddressExample)
|
|
|
|
lazy val availableFundsRequestIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("available_funds_request_id", availableFundsRequestIdExample)
|
|
|
|
lazy val lastNameExample = ConnectorField("Smith","The Last name")
|
|
glossaryItems += makeGlossaryItem("last_name", lastNameExample)
|
|
|
|
lazy val companyExample = ConnectorField("Tesobe GmbH","The company name")
|
|
glossaryItems += makeGlossaryItem("company", companyExample)
|
|
|
|
lazy val countryExample = ConnectorField("Germany"," The country name")
|
|
glossaryItems += makeGlossaryItem("country", countryExample)
|
|
|
|
lazy val purposeExample = ConnectorField(UserInvitationPurpose.DEVELOPER.toString, NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("purpose", purposeExample)
|
|
|
|
lazy val redirectUrlExample = ConnectorField("https://apisandbox.openbankproject.com",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("redirect_url", redirectUrlExample)
|
|
|
|
|
|
lazy val logoURLExample = ConnectorField("https://apisandbox.openbankproject.com/logo",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("logo_url", logoURLExample)
|
|
|
|
lazy val roleExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("role", roleExample)
|
|
|
|
lazy val requireScopesForListedRolesExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("require_scopes_for_listed_roles", requireScopesForListedRolesExample)
|
|
|
|
lazy val branchTypeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("branch_type", branchTypeExample)
|
|
|
|
lazy val fullNameExample = ConnectorField("full name string",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("full_name", fullNameExample)
|
|
|
|
lazy val canCreateDirectDebitExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_create_direct_debit", canCreateDirectDebitExample)
|
|
|
|
lazy val futureDateExample = ConnectorField("20200127",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("future_date", futureDateExample)
|
|
|
|
lazy val toTransferToAccountExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("to_transfer_to_account", toTransferToAccountExample)
|
|
|
|
lazy val thisAccountExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("this_account", thisAccountExample)
|
|
|
|
lazy val accountApplicationIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("account_application_id", accountApplicationIdExample)
|
|
|
|
lazy val documentNumberExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("document_number", documentNumberExample)
|
|
|
|
lazy val canSeeOtherAccountNationalIdentifierExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_other_account_national_identifier", canSeeOtherAccountNationalIdentifierExample)
|
|
|
|
lazy val canSeeTransactionStartDateExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_transaction_start_date", canSeeTransactionStartDateExample)
|
|
|
|
lazy val canAddPhysicalLocationExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_physical_location", canAddPhysicalLocationExample)
|
|
|
|
lazy val cacheExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("cache", cacheExample)
|
|
|
|
lazy val canSeeBankRoutingAddressExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_routing_address", canSeeBankRoutingAddressExample)
|
|
|
|
lazy val usersExample = ConnectorField("user list", "Please refer to the user object.")
|
|
glossaryItems += makeGlossaryItem("users", usersExample)
|
|
|
|
lazy val staffNameExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("staff_name", staffNameExample)
|
|
|
|
lazy val ktyExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("kty", ktyExample)
|
|
|
|
lazy val canBeSeenOnViewsExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_be_seen_on_views", canBeSeenOnViewsExample)
|
|
|
|
lazy val kidExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("kid", kidExample)
|
|
|
|
lazy val createdByUserExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("created_by_user", createdByUserExample)
|
|
|
|
lazy val taxNumberExample = ConnectorField("456",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("tax_number", taxNumberExample)
|
|
|
|
lazy val presentExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("present", presentExample)
|
|
|
|
lazy val metadataExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("metadata", metadataExample)
|
|
|
|
lazy val canSeeTransactionAmountExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_transaction_amount", canSeeTransactionAmountExample)
|
|
|
|
lazy val methodRoutingIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("method_routing_id", methodRoutingIdExample)
|
|
|
|
lazy val thisBankIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("this_bank_id", thisBankIdExample)
|
|
|
|
lazy val permissionsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("permissions", permissionsExample)
|
|
|
|
lazy val otherBranchRoutingAddressExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("other_branch_routing_address", otherBranchRoutingAddressExample)
|
|
|
|
lazy val bespokeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("bespoke", bespokeExample)
|
|
|
|
lazy val codeExample = ConnectorField("125",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("code", codeExample)
|
|
|
|
lazy val countryCodeExample = ConnectorField("1254",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("country_code", countryCodeExample)
|
|
|
|
lazy val canSeeBankAccountCreditLimitExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_account_credit_limit", canSeeBankAccountCreditLimitExample)
|
|
|
|
lazy val canSeeOtherAccountNumberExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_other_account_number", canSeeOtherAccountNumberExample)
|
|
|
|
lazy val orderExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("order", orderExample)
|
|
|
|
lazy val postedExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("posted", postedExample)
|
|
|
|
lazy val logoExample = ConnectorField("logo url",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("logo", logoExample)
|
|
|
|
lazy val topApisExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("top_apis", topApisExample)
|
|
|
|
lazy val taxResidenceExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("tax_residence", taxResidenceExample)
|
|
|
|
lazy val isActiveExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("is_active", isActiveExample)
|
|
|
|
lazy val canSeeBankAccountBankNameExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_account_bank_name", canSeeBankAccountBankNameExample)
|
|
|
|
lazy val firstNameExample = ConnectorField("Tom","The first name")
|
|
glossaryItems += makeGlossaryItem("first_name", firstNameExample)
|
|
|
|
lazy val contactDetailsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("contact_details", contactDetailsExample)
|
|
|
|
lazy val jwksUriExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("jwks_uri", jwksUriExample)
|
|
|
|
lazy val transactionIdsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("transaction_ids", transactionIdsExample)
|
|
|
|
lazy val canSeeBankAccountOwnersExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_account_owners", canSeeBankAccountOwnersExample)
|
|
|
|
lazy val actualDateExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("actual_date", actualDateExample)
|
|
|
|
lazy val exampleOutboundMessageExample = ConnectorField("{}","this will the json object")
|
|
glossaryItems += makeGlossaryItem("example_outbound_message", exampleOutboundMessageExample)
|
|
|
|
lazy val canDeleteWhereTagExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_delete_where_tag", canDeleteWhereTagExample)
|
|
|
|
lazy val canSeeUrlExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_url", canSeeUrlExample)
|
|
|
|
lazy val versionExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("version", versionExample)
|
|
|
|
lazy val collectedExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("collected", collectedExample)
|
|
|
|
lazy val canAddPublicAliasExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_public_alias", canAddPublicAliasExample)
|
|
|
|
lazy val allowedActionsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("allowed_actions", allowedActionsExample)
|
|
|
|
lazy val rankAmount1Example = ConnectorField("100",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("rank_amount1", rankAmount1Example)
|
|
|
|
lazy val durationTimeExample = ConnectorField("60",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("duration_time", durationTimeExample)
|
|
|
|
lazy val noneExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("none", noneExample)
|
|
|
|
lazy val implementedInVersionExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("implemented_in_version", implementedInVersionExample)
|
|
|
|
lazy val canSeeImageUrlExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_image_url", canSeeImageUrlExample)
|
|
|
|
lazy val toTransferToPhoneExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("to_transfer_to_phone", toTransferToPhoneExample)
|
|
|
|
lazy val perDayExample = ConnectorField("4000",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("per_day", perDayExample)
|
|
|
|
lazy val elasticSearchExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("elastic_search", elasticSearchExample)
|
|
|
|
lazy val reasonRequestedExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("reason_requested", reasonRequestedExample)
|
|
|
|
lazy val perWeekExample = ConnectorField("50000",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("per_week", perWeekExample)
|
|
|
|
lazy val productsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("products", productsExample)
|
|
|
|
lazy val organisationExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("organisation", organisationExample)
|
|
|
|
lazy val branchRoutingExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("branch_routing", branchRoutingExample)
|
|
|
|
lazy val versionStatusExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("version_status", versionStatusExample)
|
|
|
|
lazy val apiVersionExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("api_version", apiVersionExample)
|
|
|
|
lazy val perSecondCallLimitExample = ConnectorField("10",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("per_second_call_limit", perSecondCallLimitExample)
|
|
|
|
lazy val messagesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("messages", messagesExample)
|
|
|
|
lazy val metaExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("meta", metaExample)
|
|
|
|
lazy val eExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("e", eExample)
|
|
|
|
lazy val canSeeCorporateLocationExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_corporate_location", canSeeCorporateLocationExample)
|
|
|
|
lazy val userExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("user", userExample)
|
|
|
|
lazy val lastLockDateExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("last_lock_date", lastLockDateExample)
|
|
|
|
lazy val requestedCurrentRateAmount1Example = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("requested_current_rate_amount1", requestedCurrentRateAmount1Example)
|
|
|
|
lazy val toCurrencyCodeExample = ConnectorField("EUR",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("to_currency_code", toCurrencyCodeExample)
|
|
|
|
lazy val dobOfDependantsExample = ConnectorField("[2019-09-08, 2017-07-12]",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("dob_of_dependants", dobOfDependantsExample)
|
|
|
|
lazy val settlementAccountsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("settlement_accounts", settlementAccountsExample)
|
|
|
|
lazy val collectionCodeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("collection_code", collectionCodeExample)
|
|
|
|
lazy val energySourceExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("energy_source", energySourceExample)
|
|
|
|
lazy val openCorporatesUrlExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("open_corporates_url", openCorporatesUrlExample)
|
|
|
|
lazy val inverseConversionValueExample = ConnectorField("50",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("inverse_conversion_value", inverseConversionValueExample)
|
|
|
|
lazy val methodRoutingsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("method_routings", methodRoutingsExample)
|
|
|
|
lazy val orderIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("order_id", orderIdExample)
|
|
|
|
lazy val checksExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("checks", checksExample)
|
|
|
|
lazy val mondayExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("monday", mondayExample)
|
|
|
|
lazy val requiredfieldinfoExample = ConnectorField("false",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("requiredfieldinfo", requiredfieldinfoExample)
|
|
|
|
lazy val canSeeWhereTagExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_where_tag", canSeeWhereTagExample)
|
|
|
|
lazy val bankidExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("bankid", bankidExample)
|
|
|
|
lazy val otherAccountSecondaryRoutingAddressExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("other_account_secondary_routing_address", otherAccountSecondaryRoutingAddressExample)
|
|
|
|
lazy val perMonthExample = ConnectorField("500",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("per_month", perMonthExample)
|
|
|
|
lazy val inboundTopicExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("inbound_topic", inboundTopicExample)
|
|
|
|
lazy val creditoraccountExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("creditoraccount", creditoraccountExample)
|
|
|
|
lazy val warehouseExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("warehouse", warehouseExample)
|
|
|
|
lazy val metricsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("metrics", metricsExample)
|
|
|
|
lazy val kycDocumentExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("kyc_document", kycDocumentExample)
|
|
|
|
lazy val privateAliasExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("private_alias", privateAliasExample)
|
|
|
|
lazy val toSepaCreditTransfersExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("to_sepa_credit_transfers", toSepaCreditTransfersExample)
|
|
|
|
lazy val stateExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("state", stateExample)
|
|
|
|
lazy val createdByUserIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("created_by_user_id", createdByUserIdExample)
|
|
|
|
lazy val attributesExample = ConnectorField("attribute value in form of (name, value)",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("attributes", attributesExample)
|
|
|
|
lazy val revokedExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("revoked", revokedExample)
|
|
|
|
lazy val currentCreditDocumentationExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("current_credit_documentation", currentCreditDocumentationExample)
|
|
|
|
lazy val mobilePhoneNumberExample = ConnectorField("+49 30 901820",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("mobile_phone_number", mobilePhoneNumberExample)
|
|
|
|
lazy val saturdayExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("saturday", saturdayExample)
|
|
|
|
lazy val completedExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("completed", completedExample)
|
|
|
|
lazy val domainExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("domain", domainExample)
|
|
|
|
lazy val toSandboxTanExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("to_sandbox_tan", toSandboxTanExample)
|
|
|
|
lazy val canAddTagExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_tag", canAddTagExample)
|
|
|
|
lazy val canSeeBankAccountLabelExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_account_label", canSeeBankAccountLabelExample)
|
|
|
|
lazy val serviceAvailableExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("service_available", serviceAvailableExample)
|
|
|
|
lazy val suggestedOrderExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("suggested_order", suggestedOrderExample)
|
|
|
|
lazy val shortcodeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("shortcode", shortcodeExample)
|
|
|
|
lazy val linkExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("link", linkExample)
|
|
|
|
lazy val canSeeTransactionTypeExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_transaction_type", canSeeTransactionTypeExample)
|
|
|
|
lazy val implementedByPartialFunctionExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("implemented_by_partial_function", implementedByPartialFunctionExample)
|
|
|
|
lazy val driveUpExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("drive_up", driveUpExample)
|
|
|
|
lazy val canAddMoreInfoExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_more_info", canAddMoreInfoExample)
|
|
|
|
lazy val detailExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("detail", detailExample)
|
|
|
|
lazy val viewsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("views", viewsExample)
|
|
|
|
lazy val transactionRequestTypesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("transaction_request_types", transactionRequestTypesExample)
|
|
|
|
lazy val counterpartyLimitIdExample = ConnectorField("abc9a7e4-6d02-40e3-a129-0b2bf89de9b1","A string that MUST uniquely identify the Counterparty Limit on this OBP instance.")
|
|
glossaryItems += makeGlossaryItem("counterparty_limit_id", counterpartyLimitIdExample)
|
|
|
|
lazy val maxSingleAmountExample = ConnectorField("1000.11",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("max_single_amount", maxSingleAmountExample)
|
|
|
|
lazy val maxMonthlyAmountExample = ConnectorField("10000.11",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("max_monthly_amount", maxMonthlyAmountExample)
|
|
|
|
lazy val maxNumberOfMonthlyTransactionsExample = ConnectorField("10",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("max_number_of_monthly_transactions", maxNumberOfMonthlyTransactionsExample)
|
|
|
|
lazy val maxYearlyAmountExample = ConnectorField("12000.11",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("max_yearly_amount", maxYearlyAmountExample)
|
|
|
|
lazy val maxNumberOfYearlyTransactionsExample = ConnectorField("100",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("max_number_of_yearly_transactions", maxNumberOfYearlyTransactionsExample)
|
|
|
|
lazy val maxNumberOfTransactionsExample = ConnectorField("100",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("max_number_of_transactions", maxNumberOfTransactionsExample)
|
|
|
|
lazy val maxTotalAmountExample = ConnectorField("10000.12",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("max_total_amount", maxTotalAmountExample)
|
|
|
|
lazy val canAddImageUrlExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_add_image_url", canAddImageUrlExample)
|
|
|
|
lazy val jwksUrisExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("jwks_uris", jwksUrisExample)
|
|
|
|
lazy val canSeeOtherAccountSwiftBicExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_other_account_swift_bic", canSeeOtherAccountSwiftBicExample)
|
|
|
|
lazy val staffUserIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("staff_user_id", staffUserIdExample)
|
|
|
|
lazy val branchRoutingsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("branch_routings", branchRoutingsExample)
|
|
|
|
lazy val validFromExample = ConnectorField("2020-01-27",NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("valid_from", validFromExample)
|
|
|
|
lazy val canDeleteImageExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_delete_image", canDeleteImageExample)
|
|
|
|
lazy val toExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("to", toExample)
|
|
|
|
lazy val messageFormatExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("message_format", messageFormatExample)
|
|
|
|
lazy val productAttributesExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("product_attributes", productAttributesExample)
|
|
|
|
lazy val canSeeTransactionDescriptionExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_transaction_description", canSeeTransactionDescriptionExample)
|
|
|
|
lazy val faceImageExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("face_image", faceImageExample)
|
|
|
|
lazy val canSeeBankAccountNumberExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_see_bank_account_number", canSeeBankAccountNumberExample)
|
|
|
|
lazy val glossaryItemsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("glossary_items", glossaryItemsExample)
|
|
|
|
lazy val isBankIdExactMatchExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("is_bank_id_exact_match", isBankIdExactMatchExample)
|
|
|
|
lazy val isPublicExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("is_public", isPublicExample)
|
|
|
|
lazy val isAccessibleExample = ConnectorField(booleanFalse,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("ATM.is_accessible", isAccessibleExample)
|
|
|
|
lazy val entitlementIdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("entitlement_id", entitlementIdExample)
|
|
|
|
lazy val indexExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("index", indexExample)
|
|
|
|
lazy val descriptionExample = ConnectorField(s"Description of the object. Maximum length is ${ApiCollection.Description.maxLen}. It can be any characters here.","The human readable description here.")
|
|
glossaryItems += makeGlossaryItem("description", descriptionExample)
|
|
|
|
lazy val paymentServiceExample = ConnectorField("payments", s"The berlin group payment services, eg: payments, periodic-payments and bulk-payments. ")
|
|
glossaryItems += makeGlossaryItem("paymentService", paymentServiceExample)
|
|
|
|
lazy val dynamicResourceDocDescriptionExample = ConnectorField("Create one User", "the description for this endpoint")
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.description", dynamicResourceDocDescriptionExample)
|
|
|
|
lazy val canDeleteCommentExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_delete_comment", canDeleteCommentExample)
|
|
|
|
lazy val commentsExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("comments", commentsExample)
|
|
|
|
lazy val banksExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("banks", banksExample)
|
|
|
|
lazy val canCreateStandingOrderExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("can_create_standing_order", canCreateStandingOrderExample)
|
|
|
|
lazy val adapterImplementationExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("adapter_implementation", adapterImplementationExample)
|
|
|
|
lazy val successExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("success", successExample)
|
|
|
|
lazy val createdExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("created", createdExample)
|
|
|
|
lazy val issuePlaceExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("issue_place", issuePlaceExample)
|
|
|
|
lazy val summaryExample = ConnectorField(NoExampleProvided,NoDescriptionProvided)
|
|
glossaryItems += makeGlossaryItem("summary", summaryExample)
|
|
|
|
lazy val dynamicResourceDocSummaryExample = ConnectorField("Create My User","The summary of this endpoint")
|
|
glossaryItems += makeGlossaryItem("DynamicResourceDoc.summary", dynamicResourceDocSummaryExample)
|
|
|
|
|
|
//------------------------------------------------------------
|
|
// TODO @Simon please fix the follow example values to reasonable values
|
|
lazy val dateOfBirthExample = ConnectorField("2018-03-09", "customer birthday")
|
|
lazy val customerTitleExample = ConnectorField("title of customer", "Sir")
|
|
|
|
// can rename to "fromDateExample" and "toDateExample", if it is reasonable
|
|
lazy val outBoundGetTransactionsFromDateExample = ConnectorField("2018-03-09", "fix me")
|
|
lazy val outBoundGetTransactionsToDateExample = ConnectorField("2018-03-09", "fix me")
|
|
|
|
lazy val inboundAdapterInfoInternalErrorCodeExample = ConnectorField("error code", "fix me")
|
|
lazy val inboundAdapterInfoInternalNameExample = ConnectorField("NAME", "fix me")
|
|
lazy val inboundAdapterInfoInternalGit_commitExample = ConnectorField("git_commit", "fix me")
|
|
lazy val inboundAdapterInfoInternalDateExample = ConnectorField(DateWithMsExampleString, "")
|
|
lazy val inboundAdapterInfoInternalVersionExample = ConnectorField("version string", "fix me")
|
|
|
|
lazy val inboundStatusMessageStatusExample = ConnectorField("Status string", "fix me")
|
|
lazy val inboundStatusMessageErrorCodeExample = ConnectorField("errorCode string", "fix me")
|
|
lazy val inboundStatusMessageTextExample = ConnectorField("text string", "fix me")
|
|
|
|
lazy val statusErrorCodeExample = ConnectorField("status error code string", "fix me")
|
|
|
|
lazy val bankShortNameExample = ConnectorField("bank shortName string", "fix me")
|
|
lazy val bankFullNameExample = ConnectorField("bank fullName string", "fix me")
|
|
lazy val bankLogoUrlExample = ConnectorField("bank logoUrl string", "fix me")
|
|
lazy val bankWebsiteUrlExample = ConnectorField("bank websiteUrl string", "fix me")
|
|
lazy val bankSwiftBicExample = ConnectorField("bank swiftBic string", "fix me")
|
|
lazy val bankNationalIdentifierExample = ConnectorField("bank nationalIdentifier string", "fix me")
|
|
|
|
lazy val bankAccountExample = ConnectorField("bankAccount nationalIdentifier string", "fix me")
|
|
lazy val bankAccountNameExample = ConnectorField("bankAccount name string", "fix me")
|
|
lazy val bankAccountNumberExample = ConnectorField("bankAccount number string", "fix me")
|
|
lazy val bankAccountLastUpdateExample = ConnectorField("2018-03-09", "fix me")
|
|
lazy val bankAccountAccountHolderExample = ConnectorField("bankAccount accountHolder string", "fix me")
|
|
|
|
lazy val accountRuleSchemeExample = ConnectorField("AccountRule scheme string", "fix me")
|
|
lazy val accountRuleValueExample = ConnectorField("AccountRule value string", "fix me")
|
|
|
|
//the follow two examples are list type, InboundAccount#owners: List[String] InboundAccount#viewsToGenerate: List[String]
|
|
// the value should divided with , or ;
|
|
lazy val inboundAccountOwnersExample = ConnectorField("InboundAccount,owners,list,string", "fix me, if there are multiple values, split with ,or;")
|
|
lazy val inboundAccountViewsToGenerateExample = ConnectorField("Owner;Accountant;Auditor", "These are the views the account can have when import account data from adapter.")
|
|
|
|
lazy val transactionUuidExample = ConnectorField("Transaction uuid string", "fix me")
|
|
lazy val transactionStartDateExample = ConnectorField("2019-09-07", "fix me, Transaction start Date string")
|
|
lazy val transactionRequestStartDateExample = transactionStartDateExample
|
|
lazy val transactionFinishDateExample = ConnectorField("2019-09-08", "fix me, Transaction finish Date string")
|
|
lazy val transactionRequestEndDateExample = transactionFinishDateExample
|
|
|
|
lazy val counterpartyNationalIdentifierExample = ConnectorField("Counterparty nationalIdentifier string", "fix me")
|
|
lazy val counterpartyKindExample = ConnectorField("Counterparty kind string", "fix me")
|
|
|
|
// the follow examples all contains "others" part, but there are corresponding examples: bankRoutingSchemeExample, bankRoutingAddressExample...
|
|
// if these are duplicate with those examples, just delete the follow examples
|
|
lazy val counterpartyOtherBankRoutingSchemeExample = ConnectorField("OBP" ,"Counterparty otherBankRoutingScheme string")
|
|
lazy val counterpartyOtherBankRoutingAddressExample = ConnectorField("gh.29.uk", "Counterparty otherBankRoutingAddress string")
|
|
lazy val counterpartyOtherAccountRoutingSchemeExample = ConnectorField("OBP", "Counterparty otherAccountRoutingScheme string")
|
|
lazy val counterpartyOtherAccountRoutingAddressExample = ConnectorField("36f8a9e6-c2b1-407a-8bd0-421b7119307e", "Counterparty otherAccountRoutingAddress string")
|
|
lazy val counterpartyOtherAccountSecondaryRoutingSchemeExample = ConnectorField("IBAN", "Counterparty otherAccountSecondaryRoutingScheme string")
|
|
lazy val counterpartyOtherAccountSecondaryRoutingAddressExample = ConnectorField("DE89370400440532013000", "Counterparty otherAccountSecondaryRoutingAddress string")
|
|
lazy val counterpartyOtherAccountProviderExample = ConnectorField("Counterparty otherAccountProvider string", "fix me")
|
|
lazy val counterpartyOtherBranchRoutingSchemeExample = ConnectorField("OBP", "Counterparty otherBranchRoutingScheme string")
|
|
lazy val counterpartyOtherBranchRoutingAddressExample = ConnectorField("12f8a9e6-c2b1-407a-8bd0-421b7119307e", "Counterparty otherBranchRoutingAddress string")
|
|
|
|
|
|
lazy val customerFaceImageDateExample = ConnectorField("2019-09-08", "fix me, CustomerFaceImage Date string")
|
|
lazy val customerLastOkDateExample = ConnectorField("2019-09-08", "fix me, lastOkDate Date string")
|
|
lazy val dobOfDependentsExample = ConnectorField("2019-09-08,2019-01-03", "fix me, dobOfDependent Date string list, split with ,or ;")
|
|
|
|
// @Simon, whether can make customerLastOkDateExample and outBoundCreateCustomerLastOkDateExample a single one: lastOkDateExample
|
|
// if yes, please rename the follow to lastOkDateExample, and delete outBoundCreateCustomerLastOkDateExample
|
|
lazy val outBoundCreateCustomerLastOkDateExample = ConnectorField("2019-09-12", "fix me, lastOkDate Date string")
|
|
|
|
lazy val uuidExample = ConnectorField("9ca9a7e4-6d02-40e3-a129-0b2bf89de9b1", "UUID value")
|
|
|
|
|
|
//this is only for dynamicEntity post or request body example
|
|
"""
|
|
|{
|
|
| "FooBar": {
|
|
| "description": "description of this entity, can be markdown text."
|
|
| "required": [
|
|
| "name"
|
|
| ],
|
|
| "properties": {
|
|
| "name": {
|
|
| "type": "string",
|
|
| "maxLength": 20,
|
|
| "minLength": 3,
|
|
| "example": "James Brown",
|
|
| "description":"description of **name** field, can be markdown text."
|
|
| },
|
|
| "number": {
|
|
| "type": "integer",
|
|
| "example": "698761728934",
|
|
| "description": "description of **number** field, can be markdown text."
|
|
| }
|
|
| }
|
|
| }
|
|
|}
|
|
|""".stripMargin
|
|
|
|
lazy val dynamicEntityRequestBodyExample = DynamicEntityFooBar(
|
|
Some(ExampleValue.bankIdExample.value),
|
|
DynamicEntityDefinition(
|
|
"description of this entity, can be markdown text.",
|
|
List("name"),
|
|
DynamicEntityFullBarFields(
|
|
DynamicEntityStringTypeExample(DynamicEntityFieldType.string, 3, 20, "James Brown", "description of **name** field, can be markdown text."),
|
|
DynamicEntityIntTypeExample(DynamicEntityFieldType.integer, 698761728, "description of **number** field, can be markdown text.")
|
|
)
|
|
)
|
|
)
|
|
|
|
lazy val dynamicEntityResponseBodyExample = dynamicEntityRequestBodyExample.copy(dynamicEntityId = Some("dynamic-entity-id"), userId =Some(ExampleValue.userIdExample.value))
|
|
|
|
val dynamicEndpointSwagger =
|
|
"""{
|
|
| "swagger": "2.0",
|
|
| "info": {
|
|
| "title": "Bank Accounts (Dynamic Endpoint)",
|
|
| "version": "1.0.0"
|
|
| },
|
|
| "definitions": {
|
|
| "AccountName": {
|
|
| "type": "object",
|
|
| "properties": {
|
|
| "name": {
|
|
| "type": "string",
|
|
| "example": "family account"
|
|
| },
|
|
| "balance": {
|
|
| "type": "integer",
|
|
| "format": "int64",
|
|
| "example": 1000.123
|
|
| }
|
|
| }
|
|
| }
|
|
| },
|
|
| "paths": {
|
|
| "/accounts": {
|
|
| "post": {
|
|
| "operationId": "POST_account",
|
|
| "produces": [
|
|
| "application/json"
|
|
| ],
|
|
| "responses": {
|
|
| "201": {
|
|
| "description": "Success Response",
|
|
| "schema": {
|
|
| "$ref": "#/definitions/AccountName"
|
|
| }
|
|
| }
|
|
| },
|
|
| "consumes": [
|
|
| "application/json"
|
|
| ],
|
|
| "description": "POST Accounts",
|
|
| "summary": "POST Accounts"
|
|
| }
|
|
| },
|
|
| "/accounts/{account_id}": {
|
|
| "get": {
|
|
| "operationId": "GET_account",
|
|
| "produces": [
|
|
| "application/json"
|
|
| ],
|
|
| "responses": {
|
|
| "200": {
|
|
| "description": "Success Response",
|
|
| "schema": {
|
|
| "$ref": "#/definitions/AccountName"
|
|
| }
|
|
| }
|
|
| },
|
|
| "consumes": [
|
|
| "application/json"
|
|
| ],
|
|
| "description": "Get Bank Account",
|
|
| "summary": "Get Bank Account by Id"
|
|
| }
|
|
| }
|
|
| },
|
|
| "host": "obp_mock",
|
|
| "schemes": [
|
|
| "http",
|
|
| "https"
|
|
| ]
|
|
|}""".stripMargin
|
|
lazy val dynamicEndpointRequestBodyExample: JObject = json.parse(dynamicEndpointSwagger).asInstanceOf[JObject]
|
|
lazy val dynamicEndpointResponseBodyExample: JObject = ("user_id", ExampleValue.userIdExample.value) ~ ("dynamic_endpoint_id", "dynamic-endpoint-id") ~ ("swagger_string", dynamicEndpointRequestBodyExample)
|
|
|
|
lazy val dynamicEndpointRequestBodyEmptyExample: JObject = "swagger" -> "2.0"
|
|
lazy val dynamicEndpointResponseBodyEmptyExample: JObject = dynamicEndpointResponseBodyExample.transformField {
|
|
case JField("swagger_string", _) => JField("swagger_string", "swagger" -> "2.0")
|
|
}.asInstanceOf[JObject]
|
|
|
|
val endpointMappingExample =
|
|
"""{
|
|
| "operation_id": "OBPv4.0.0-dynamicEndpoint_POST_account",
|
|
| "request_mapping": {
|
|
|
|
|
| },
|
|
| "response_mapping": {
|
|
| "name": {
|
|
| "entity": "FooBar",
|
|
| "field": "name",
|
|
| "query": "number"
|
|
| },
|
|
| "balance": {
|
|
| "entity": "FashionBrand",
|
|
| "field": "number",
|
|
| "query": "number"
|
|
| }
|
|
| }
|
|
|}""".stripMargin
|
|
lazy val endpointMappingRequestBodyExample: JObject = json.parse(endpointMappingExample).asInstanceOf[JObject]
|
|
lazy val endpointMappingResponseBodyExample: JObject = endpointMappingRequestBodyExample ~ ("endpoint_mapping_id", "b4e0352a-9a0f-4bfa-b30b-9003aa467f50")
|
|
|
|
/**
|
|
* parse date example value to Date type
|
|
* @param exampleValue example value
|
|
* @return parsed Date type value
|
|
*/
|
|
def toDate(exampleValue: ConnectorField) = {
|
|
exampleNameToValue.collectFirst {
|
|
case (name, example) if example == exampleValue => parseDate(example.value).getOrElse(sys.error(s"$name.value is not a valid date format."))
|
|
}.getOrElse(sys.error(s"$exampleValue is not an example value of code.api.util.ExampleValue"))
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
* all ConnectorField type example name map value
|
|
*/
|
|
lazy val exampleNameToValue: Map[String, ConnectorField] = ReflectUtils.getFieldsNameToValue[ConnectorField](this)
|
|
}
|
|
|
|
|
|
|
|
|