Notes
Notes - notes.io |
import {
batchDDIDtlListRes,
payerRes,
mandateDetailRes
} from './DirectDebitInstructionConstants';
const saveDDIInstruction = `saveDDIInstruction(collectionDDIInputRqst: $collectionDDIInputRqst) {
errorRespFlag
validationParentResult {
successValidationResults {
constraintValidatorClassName
entityClassName
nodeName
result
message
errorCode
errorDescription
seq
recordSeq
severity
}
failureValidationResults {
constraintValidatorClassName
entityClassName
nodeName
result
message
errorCode
errorDescription
seq
recordSeq
severity
}
otherValidationResults {
constraintValidatorClassName
entityClassName
nodeName
result
message
errorCode
errorDescription
seq
recordSeq
severity
}
}
transactionSuccess
}`;
const searchDDIResponse = `
transactionSuccess
batchRefNo
currBatchDDIDtlList {${batchDDIDtlListRes}}
otherBatchDDIDtlList {${batchDDIDtlListRes}}
`;
const searchDDIForCreate = `searchDDI(collectionDDIInputRqst: $collectionDDIInputRqst) {
${searchDDIResponse}
}`;
const getDDIDetails = `getDDIDetails(collectionDDIInputRqst: $collectionDDIInputRqst) {
transactionSuccess
ddiDetails {
batchRefNo
ddiRef
yourRef
versionNo
mandateRef
debtorValueDate
ddiCustRef
ddiStatus
repairComments
payerIdNo
province
addlnInfo1
addlnInfo2
transId
accountProperty
accountType
payerIdType
adhocMandateFlag
realTimeFlag
settlementMode
ddiInvoiceDetails {
invoiceRefNo
invoiceDate
invoiceAmount {
value
}
remarks
}
debtorAmount {
value
currency
}
remarks
${mandateDetailRes}
${payerRes}
}
}`;
const getMandateDetailsList = `getMandateDetailsList(getMandateDetailsListRqst: $getMandateDetailsListRqst) {
transactionSuccess
mandateDetails {
batchRefNo
mandateRef
mandateStatus
realTimeFlag
mandateStatusCode
mandateBankRef
dbCcy
dbAmount
creditAcctNo
creditCurrency
creditBankCode
${payerRes}
}
}`;
const getMandateDetails = `getMandateDetails(getMandateDetailsRqst: $getMandateDetailsRqst) {
transactionSuccess
collectionMandate {
mandateDetails {
batchRefNo
mandateRef
mandateBankRef
startDate
endDate
mandateType
groupId
custRef
transType
valueDate
frequency
eddaType
debitReqInsvalue
debtorIdType1
debtorIdNo1
buyerCode
seqType
manddoc1
manddoc2
manddoc3
manddoc4
debtorId
debtorIdType1
debtorIdNo1
debtorIdType2
debtorIdNo2
issuedForUILabel
accTypeUILabel
custTypeUILabel
customeridtypeUILabel
eddaTypeUILabel
debtorIdType1UILabel
debtorIdType2UILabel
seqTypeUILabel
custType
orgidentCode
customeridtype
customeridtypeNo
debtorAmount {
value
currency
}
minAmount {
value
currency
}
maxAmount {
value
currency
}
realTimeFlag
allowDDIFlag
mandateStatus
mandateStatusCode
dbCcy
dbAmount
creditAcctNo
creditCurrency
creditBankCode
${payerRes}
}
}
}`;
const getBankDetails = `searchBank(searchBankRqst: $searchBankRqst) {
transactionSuccess
bankHeader {
bankCode
bankName
bankAddress1
bankBranchAddress1
bankBranchName
bankCountryCode
bankLocalCode1
bankBranchCode
}
}`;
const getBranchList = `getBankBranchList(getBankBranchListRqst: $getBankBranchListRqst) {
transactionSuccess
branchList {
bankCode
bankName
bankAddress1
bankBranchAddress1
bankBranchName
bankCountryCode
bankLocalCode1
bankBranchCode
bankBranchName
}
}`;
const getDDIReferenceNo = `getDDIReferenceNo{
transactionSuccess
referenceNo
}`;
const getAddlInfoForDDI = `getAddlInfoForDDI(searchRulesForDDIBatchRqst: $searchRulesForDDIBatchRqst){
transactionSuccess
commonRuleObjects{
ruleName
additionalFieldList{
fieldName
UILabelCode
fieldType
paymentMappingField
fieldConstraints{
fieldDataType
fieldMaxLength
isFieldMandatory
fieldAllowedValues {
itemValue
itemMaxLength
}
listValues
}
}
}
}`;
const getAddlInfoForMandate = `getAddlInfoForMandate(
searchRulesForMandateBatchRqst: $searchRulesForMandateBatchRqst
) {
commonRuleObjects {
additionalFieldList {
paymentMappingField
fieldName
fieldType
}
}
}`;
const getCountryConfig = `getCountryConfig(getCountryConfigRequest: $getCountryConfigRequest) {
transactionSuccess
isSwift
isLocal
mandateTypeAllowed
maxTransactionLimit
isInvoiceFlag
}`;
export const getBankListQuery = gql`
query getSearchBank($searchBankRqst: CollSearchBankRqst) {
${getBankDetails}
}
`;
export const getBankBranchListQuery = gql` query getBankBranchList($getBankBranchListRqst: GetBankBranchListRqst) {
${getBranchList}
}`;
export const getMandateDetailsQuery = gql`
query getMandateDetails(
$getMandateDetailsRqst: GetMandateDetailsRqst
) {
${getMandateDetails}
}
`;
export const getMandateDetailsListQuery = gql`
query getMandateDetailsList($getMandateDetailsListRqst: GetMandateDetailsListRqst){
${getMandateDetailsList}
}
`;
export const getDDIDetailsQuery = gql`
query getDDIDetails( $collectionDDIInputRqst: CollectionDDIInputRqst,
$searchRulesForDDIBatchRqst: SearchRulesForDDIBatchRqst,
$getCountryConfigRequest: GetCountryConfigRequest,
$getMandateDetailsListRqst: GetMandateDetailsListRqst ) {
${getDDIDetails}
${getAddlInfoForDDI}
${getCountryConfig}
${getMandateDetailsList}
}
`;
export const searchDDIListQuery = gql`
query searchDDI($collectionDDIInputRqst: CollectionDDIInputRqst) {
${searchDDIForCreate}
}
`;
export const saveDDIMutation = gql`
mutation saveDDIInstruction($collectionDDIInputRqst: CollectionDDIInputRqst) {
${saveDDIInstruction}
}
`;
export const onLoadDDIQuery = gql`
query getDDIReferenceNoQuery(
$searchRulesForDDIBatchRqst: SearchRulesForDDIBatchRqst
) {
${getDDIReferenceNo}
${getAddlInfoForDDI}
}
`;
export const getAddlInfoForDDIInfo = gql`
query getAddlInfoForDDIInfoQuery( $searchRulesForDDIBatchRqst: SearchRulesForDDIBatchRqst ){
${getAddlInfoForDDI}
}
`;
export const additionalFieldInfo = gql`
query getAddlInfoForMandate($searchRulesForMandateBatchRqst: SearchRulesForMandateBatchRqst) {
${getAddlInfoForMandate}
}
`;
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team