Skip to content

Instantly share code, notes, and snippets.

@rtang03
Created December 9, 2020 04:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rtang03/4c32ce9e7804c1bbb110fd90aadf90b2 to your computer and use it in GitHub Desktop.
Save rtang03/4c32ce9e7804c1bbb110fd90aadf90b2 to your computer and use it in GitHub Desktop.
generated ISO20022 type definition (008.0001.07)
import * as Primitive from './modified_xml-primitives';
// Source files:
// https://www.iso20022.org/sites/default/files/documents/messages/pacs/schemas/pacs.008.001.07.xsd
interface BaseType {
_exists: boolean;
_namespace: string;
}
interface _AccountIdentification4Choice extends BaseType {
IBAN: string;
Othr: GenericAccountIdentification1;
}
export interface AccountIdentification4Choice
extends _AccountIdentification4Choice {
constructor: { new (): AccountIdentification4Choice };
}
export var AccountIdentification4Choice: {
new (): AccountIdentification4Choice;
};
interface _AccountSchemeName1Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface AccountSchemeName1Choice extends _AccountSchemeName1Choice {
constructor: { new (): AccountSchemeName1Choice };
}
export var AccountSchemeName1Choice: { new (): AccountSchemeName1Choice };
interface _ActiveCurrencyAndAmount extends _ActiveCurrencyAndAmount_SimpleType {
Ccy: string;
}
export interface ActiveCurrencyAndAmount extends _ActiveCurrencyAndAmount {
constructor: { new (): ActiveCurrencyAndAmount };
}
export var ActiveCurrencyAndAmount: { new (): ActiveCurrencyAndAmount };
export type ActiveCurrencyAndAmount_SimpleType = number;
type _ActiveCurrencyAndAmount_SimpleType = Primitive._number;
export type ActiveCurrencyCode = string;
type _ActiveCurrencyCode = Primitive._string;
interface _ActiveOrHistoricCurrencyAndAmount
extends _ActiveOrHistoricCurrencyAndAmount_SimpleType {
Ccy: string;
}
export interface ActiveOrHistoricCurrencyAndAmount
extends _ActiveOrHistoricCurrencyAndAmount {
constructor: { new (): ActiveOrHistoricCurrencyAndAmount };
}
export var ActiveOrHistoricCurrencyAndAmount: {
new (): ActiveOrHistoricCurrencyAndAmount;
};
export type ActiveOrHistoricCurrencyAndAmount_SimpleType = number;
type _ActiveOrHistoricCurrencyAndAmount_SimpleType = Primitive._number;
export type ActiveOrHistoricCurrencyCode = string;
type _ActiveOrHistoricCurrencyCode = Primitive._string;
export type AddressType2Code =
| 'ADDR'
| 'PBOX'
| 'HOME'
| 'BIZZ'
| 'MLTO'
| 'DLVY';
interface _AddressType2Code extends Primitive._string {
content: AddressType2Code;
}
export type AnyBICIdentifier = string;
type _AnyBICIdentifier = Primitive._string;
export type BaseOneRate = number;
type _BaseOneRate = Primitive._number;
export type BatchBookingIndicator = boolean;
type _BatchBookingIndicator = Primitive._boolean;
export type BICFIIdentifier = string;
type _BICFIIdentifier = Primitive._string;
interface _BranchAndFinancialInstitutionIdentification5 extends BaseType {
BrnchId?: BranchData2;
FinInstnId: FinancialInstitutionIdentification8;
}
export interface BranchAndFinancialInstitutionIdentification5
extends _BranchAndFinancialInstitutionIdentification5 {
constructor: { new (): BranchAndFinancialInstitutionIdentification5 };
}
export var BranchAndFinancialInstitutionIdentification5: {
new (): BranchAndFinancialInstitutionIdentification5;
};
interface _BranchData2 extends BaseType {
Id?: string;
Nm?: string;
PstlAdr?: PostalAddress6;
}
export interface BranchData2 extends _BranchData2 {
constructor: { new (): BranchData2 };
}
export var BranchData2: { new (): BranchData2 };
interface _CashAccount24 extends BaseType {
Ccy?: string;
Id: AccountIdentification4Choice;
Nm?: string;
Tp?: CashAccountType2Choice;
}
export interface CashAccount24 extends _CashAccount24 {
constructor: { new (): CashAccount24 };
}
export var CashAccount24: { new (): CashAccount24 };
interface _CashAccountType2Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface CashAccountType2Choice extends _CashAccountType2Choice {
constructor: { new (): CashAccountType2Choice };
}
export var CashAccountType2Choice: { new (): CashAccountType2Choice };
interface _CategoryPurpose1Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface CategoryPurpose1Choice extends _CategoryPurpose1Choice {
constructor: { new (): CategoryPurpose1Choice };
}
export var CategoryPurpose1Choice: { new (): CategoryPurpose1Choice };
export type ChargeBearerType1Code = 'DEBT' | 'CRED' | 'SHAR' | 'SLEV';
interface _ChargeBearerType1Code extends Primitive._string {
content: ChargeBearerType1Code;
}
interface _Charges2 extends BaseType {
Agt: BranchAndFinancialInstitutionIdentification5;
Amt: ActiveOrHistoricCurrencyAndAmount;
}
export interface Charges2 extends _Charges2 {
constructor: { new (): Charges2 };
}
export var Charges2: { new (): Charges2 };
export type ClearingChannel2Code = 'RTGS' | 'RTNS' | 'MPNS' | 'BOOK';
interface _ClearingChannel2Code extends Primitive._string {
content: ClearingChannel2Code;
}
interface _ClearingSystemIdentification2Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface ClearingSystemIdentification2Choice
extends _ClearingSystemIdentification2Choice {
constructor: { new (): ClearingSystemIdentification2Choice };
}
export var ClearingSystemIdentification2Choice: {
new (): ClearingSystemIdentification2Choice;
};
interface _ClearingSystemIdentification3Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface ClearingSystemIdentification3Choice
extends _ClearingSystemIdentification3Choice {
constructor: { new (): ClearingSystemIdentification3Choice };
}
export var ClearingSystemIdentification3Choice: {
new (): ClearingSystemIdentification3Choice;
};
interface _ClearingSystemMemberIdentification2 extends BaseType {
ClrSysId?: ClearingSystemIdentification2Choice;
MmbId: string;
}
export interface ClearingSystemMemberIdentification2
extends _ClearingSystemMemberIdentification2 {
constructor: { new (): ClearingSystemMemberIdentification2 };
}
export var ClearingSystemMemberIdentification2: {
new (): ClearingSystemMemberIdentification2;
};
interface _ContactDetails2 extends BaseType {
EmailAdr?: string;
FaxNb?: string;
MobNb?: string;
Nm?: string;
NmPrfx?: NamePrefix1Code;
Othr?: string;
PhneNb?: string;
}
export interface ContactDetails2 extends _ContactDetails2 {
constructor: { new (): ContactDetails2 };
}
export var ContactDetails2: { new (): ContactDetails2 };
export type CountryCode = string;
type _CountryCode = Primitive._string;
export type CreditDebitCode = 'CRDT' | 'DBIT';
interface _CreditDebitCode extends Primitive._string {
content: CreditDebitCode;
}
interface _CreditorReferenceInformation2 extends BaseType {
Ref?: string;
Tp?: CreditorReferenceType2;
}
export interface CreditorReferenceInformation2
extends _CreditorReferenceInformation2 {
constructor: { new (): CreditorReferenceInformation2 };
}
export var CreditorReferenceInformation2: {
new (): CreditorReferenceInformation2;
};
interface _CreditorReferenceType1Choice extends BaseType {
Cd: DocumentType3Code;
Prtry: string;
}
export interface CreditorReferenceType1Choice
extends _CreditorReferenceType1Choice {
constructor: { new (): CreditorReferenceType1Choice };
}
export var CreditorReferenceType1Choice: {
new (): CreditorReferenceType1Choice;
};
interface _CreditorReferenceType2 extends BaseType {
CdOrPrtry: CreditorReferenceType1Choice;
Issr?: string;
}
export interface CreditorReferenceType2 extends _CreditorReferenceType2 {
constructor: { new (): CreditorReferenceType2 };
}
export var CreditorReferenceType2: { new (): CreditorReferenceType2 };
interface _CreditTransferTransaction30 extends BaseType {
AccptncDtTm?: Date;
Cdtr: PartyIdentification125;
CdtrAcct?: CashAccount24;
CdtrAgt: BranchAndFinancialInstitutionIdentification5;
CdtrAgtAcct?: CashAccount24;
ChrgBr: ChargeBearerType1Code;
ChrgsInf?: Charges2[];
Dbtr: PartyIdentification125;
DbtrAcct?: CashAccount24;
DbtrAgt: BranchAndFinancialInstitutionIdentification5;
DbtrAgtAcct?: CashAccount24;
InitgPty?: PartyIdentification125;
InstdAgt?: BranchAndFinancialInstitutionIdentification5;
InstdAmt?: ActiveOrHistoricCurrencyAndAmount;
InstgAgt?: BranchAndFinancialInstitutionIdentification5;
InstrForCdtrAgt?: InstructionForCreditorAgent1[];
InstrForNxtAgt?: InstructionForNextAgent1[];
IntrBkSttlmAmt: ActiveCurrencyAndAmount;
IntrBkSttlmDt?: Date;
IntrmyAgt1?: BranchAndFinancialInstitutionIdentification5;
IntrmyAgt1Acct?: CashAccount24;
IntrmyAgt2?: BranchAndFinancialInstitutionIdentification5;
IntrmyAgt2Acct?: CashAccount24;
IntrmyAgt3?: BranchAndFinancialInstitutionIdentification5;
IntrmyAgt3Acct?: CashAccount24;
PmtId: PaymentIdentification3;
PmtTpInf?: PaymentTypeInformation21;
PoolgAdjstmntDt?: Date;
PrvsInstgAgt1?: BranchAndFinancialInstitutionIdentification5;
PrvsInstgAgt1Acct?: CashAccount24;
PrvsInstgAgt2?: BranchAndFinancialInstitutionIdentification5;
PrvsInstgAgt2Acct?: CashAccount24;
PrvsInstgAgt3?: BranchAndFinancialInstitutionIdentification5;
PrvsInstgAgt3Acct?: CashAccount24;
Purp?: Purpose2Choice;
RgltryRptg?: RegulatoryReporting3[];
RltdRmtInf?: RemittanceLocation4[];
RmtInf?: RemittanceInformation15;
SplmtryData?: SupplementaryData1[];
SttlmPrty?: Priority3Code;
SttlmTmIndctn?: SettlementDateTimeIndication1;
SttlmTmReq?: SettlementTimeRequest2;
Tax?: TaxInformation6;
UltmtCdtr?: PartyIdentification125;
UltmtDbtr?: PartyIdentification125;
XchgRate?: number;
}
export interface CreditTransferTransaction30
extends _CreditTransferTransaction30 {
constructor: { new (): CreditTransferTransaction30 };
}
export var CreditTransferTransaction30: { new (): CreditTransferTransaction30 };
interface _DateAndPlaceOfBirth1 extends BaseType {
BirthDt: Date;
CityOfBirth: string;
CtryOfBirth: string;
PrvcOfBirth?: string;
}
export interface DateAndPlaceOfBirth1 extends _DateAndPlaceOfBirth1 {
constructor: { new (): DateAndPlaceOfBirth1 };
}
export var DateAndPlaceOfBirth1: { new (): DateAndPlaceOfBirth1 };
interface _DatePeriod2 extends BaseType {
FrDt: Date;
ToDt: Date;
}
export interface DatePeriod2 extends _DatePeriod2 {
constructor: { new (): DatePeriod2 };
}
export var DatePeriod2: { new (): DatePeriod2 };
export type DecimalNumber = number;
type _DecimalNumber = Primitive._number;
interface _DiscountAmountAndType1 extends BaseType {
Amt: ActiveOrHistoricCurrencyAndAmount;
Tp?: DiscountAmountType1Choice;
}
export interface DiscountAmountAndType1 extends _DiscountAmountAndType1 {
constructor: { new (): DiscountAmountAndType1 };
}
export var DiscountAmountAndType1: { new (): DiscountAmountAndType1 };
interface _DiscountAmountType1Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface DiscountAmountType1Choice extends _DiscountAmountType1Choice {
constructor: { new (): DiscountAmountType1Choice };
}
export var DiscountAmountType1Choice: { new (): DiscountAmountType1Choice };
interface _Document extends BaseType {
FIToFICstmrCdtTrf: FIToFICustomerCreditTransferV07;
}
export interface Document extends _Document {
constructor: { new (): Document };
}
export var Document: { new (): Document };
interface _DocumentAdjustment1 extends BaseType {
AddtlInf?: string;
Amt: ActiveOrHistoricCurrencyAndAmount;
CdtDbtInd?: CreditDebitCode;
Rsn?: string;
}
export interface DocumentAdjustment1 extends _DocumentAdjustment1 {
constructor: { new (): DocumentAdjustment1 };
}
export var DocumentAdjustment1: { new (): DocumentAdjustment1 };
interface _DocumentLineIdentification1 extends BaseType {
Nb?: string;
RltdDt?: Date;
Tp?: DocumentLineType1;
}
export interface DocumentLineIdentification1
extends _DocumentLineIdentification1 {
constructor: { new (): DocumentLineIdentification1 };
}
export var DocumentLineIdentification1: { new (): DocumentLineIdentification1 };
interface _DocumentLineInformation1 extends BaseType {
Amt?: RemittanceAmount3;
Desc?: string;
Id: DocumentLineIdentification1[];
}
export interface DocumentLineInformation1 extends _DocumentLineInformation1 {
constructor: { new (): DocumentLineInformation1 };
}
export var DocumentLineInformation1: { new (): DocumentLineInformation1 };
interface _DocumentLineType1 extends BaseType {
CdOrPrtry: DocumentLineType1Choice;
Issr?: string;
}
export interface DocumentLineType1 extends _DocumentLineType1 {
constructor: { new (): DocumentLineType1 };
}
export var DocumentLineType1: { new (): DocumentLineType1 };
interface _DocumentLineType1Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface DocumentLineType1Choice extends _DocumentLineType1Choice {
constructor: { new (): DocumentLineType1Choice };
}
export var DocumentLineType1Choice: { new (): DocumentLineType1Choice };
export type DocumentType3Code =
| 'RADM'
| 'RPIN'
| 'FXDR'
| 'DISP'
| 'PUOR'
| 'SCOR';
interface _DocumentType3Code extends Primitive._string {
content: DocumentType3Code;
}
export type DocumentType6Code =
| 'MSIN'
| 'CNFA'
| 'DNFA'
| 'CINV'
| 'CREN'
| 'DEBN'
| 'HIRI'
| 'SBIN'
| 'CMCN'
| 'SOAC'
| 'DISP'
| 'BOLD'
| 'VCHR'
| 'AROI'
| 'TSUT'
| 'PUOR';
interface _DocumentType6Code extends Primitive._string {
content: DocumentType6Code;
}
export type ExternalAccountIdentification1Code = string;
type _ExternalAccountIdentification1Code = Primitive._string;
export type ExternalCashAccountType1Code = string;
type _ExternalCashAccountType1Code = Primitive._string;
export type ExternalCashClearingSystem1Code = string;
type _ExternalCashClearingSystem1Code = Primitive._string;
export type ExternalCategoryPurpose1Code = string;
type _ExternalCategoryPurpose1Code = Primitive._string;
export type ExternalClearingSystemIdentification1Code = string;
type _ExternalClearingSystemIdentification1Code = Primitive._string;
export type ExternalDiscountAmountType1Code = string;
type _ExternalDiscountAmountType1Code = Primitive._string;
export type ExternalDocumentLineType1Code = string;
type _ExternalDocumentLineType1Code = Primitive._string;
export type ExternalFinancialInstitutionIdentification1Code = string;
type _ExternalFinancialInstitutionIdentification1Code = Primitive._string;
export type ExternalGarnishmentType1Code = string;
type _ExternalGarnishmentType1Code = Primitive._string;
export type ExternalLocalInstrument1Code = string;
type _ExternalLocalInstrument1Code = Primitive._string;
export type ExternalOrganisationIdentification1Code = string;
type _ExternalOrganisationIdentification1Code = Primitive._string;
export type ExternalPersonIdentification1Code = string;
type _ExternalPersonIdentification1Code = Primitive._string;
export type ExternalPurpose1Code = string;
type _ExternalPurpose1Code = Primitive._string;
export type ExternalServiceLevel1Code = string;
type _ExternalServiceLevel1Code = Primitive._string;
export type ExternalTaxAmountType1Code = string;
type _ExternalTaxAmountType1Code = Primitive._string;
interface _FinancialIdentificationSchemeName1Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface FinancialIdentificationSchemeName1Choice
extends _FinancialIdentificationSchemeName1Choice {
constructor: { new (): FinancialIdentificationSchemeName1Choice };
}
export var FinancialIdentificationSchemeName1Choice: {
new (): FinancialIdentificationSchemeName1Choice;
};
interface _FinancialInstitutionIdentification8 extends BaseType {
BICFI?: string;
ClrSysMmbId?: ClearingSystemMemberIdentification2;
Nm?: string;
Othr?: GenericFinancialIdentification1;
PstlAdr?: PostalAddress6;
}
export interface FinancialInstitutionIdentification8
extends _FinancialInstitutionIdentification8 {
constructor: { new (): FinancialInstitutionIdentification8 };
}
export var FinancialInstitutionIdentification8: {
new (): FinancialInstitutionIdentification8;
};
interface _FIToFICustomerCreditTransferV07 extends BaseType {
CdtTrfTxInf: CreditTransferTransaction30[];
GrpHdr: GroupHeader70;
SplmtryData?: SupplementaryData1[];
}
export interface FIToFICustomerCreditTransferV07
extends _FIToFICustomerCreditTransferV07 {
constructor: { new (): FIToFICustomerCreditTransferV07 };
}
export var FIToFICustomerCreditTransferV07: {
new (): FIToFICustomerCreditTransferV07;
};
interface _Garnishment2 extends BaseType {
Dt?: Date;
FmlyMdclInsrncInd?: boolean;
Grnshee?: PartyIdentification125;
GrnshmtAdmstr?: PartyIdentification125;
MplyeeTermntnInd?: boolean;
RefNb?: string;
RmtdAmt?: ActiveOrHistoricCurrencyAndAmount;
Tp: GarnishmentType1;
}
export interface Garnishment2 extends _Garnishment2 {
constructor: { new (): Garnishment2 };
}
export var Garnishment2: { new (): Garnishment2 };
interface _GarnishmentType1 extends BaseType {
CdOrPrtry: GarnishmentType1Choice;
Issr?: string;
}
export interface GarnishmentType1 extends _GarnishmentType1 {
constructor: { new (): GarnishmentType1 };
}
export var GarnishmentType1: { new (): GarnishmentType1 };
interface _GarnishmentType1Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface GarnishmentType1Choice extends _GarnishmentType1Choice {
constructor: { new (): GarnishmentType1Choice };
}
export var GarnishmentType1Choice: { new (): GarnishmentType1Choice };
interface _GenericAccountIdentification1 extends BaseType {
Id: string;
Issr?: string;
SchmeNm?: AccountSchemeName1Choice;
}
export interface GenericAccountIdentification1
extends _GenericAccountIdentification1 {
constructor: { new (): GenericAccountIdentification1 };
}
export var GenericAccountIdentification1: {
new (): GenericAccountIdentification1;
};
interface _GenericFinancialIdentification1 extends BaseType {
Id: string;
Issr?: string;
SchmeNm?: FinancialIdentificationSchemeName1Choice;
}
export interface GenericFinancialIdentification1
extends _GenericFinancialIdentification1 {
constructor: { new (): GenericFinancialIdentification1 };
}
export var GenericFinancialIdentification1: {
new (): GenericFinancialIdentification1;
};
interface _GenericOrganisationIdentification1 extends BaseType {
Id: string;
Issr?: string;
SchmeNm?: OrganisationIdentificationSchemeName1Choice;
}
export interface GenericOrganisationIdentification1
extends _GenericOrganisationIdentification1 {
constructor: { new (): GenericOrganisationIdentification1 };
}
export var GenericOrganisationIdentification1: {
new (): GenericOrganisationIdentification1;
};
interface _GenericPersonIdentification1 extends BaseType {
Id: string;
Issr?: string;
SchmeNm?: PersonIdentificationSchemeName1Choice;
}
export interface GenericPersonIdentification1
extends _GenericPersonIdentification1 {
constructor: { new (): GenericPersonIdentification1 };
}
export var GenericPersonIdentification1: {
new (): GenericPersonIdentification1;
};
interface _GroupHeader70 extends BaseType {
BtchBookg?: boolean;
CreDtTm: Date;
CtrlSum?: number;
InstdAgt?: BranchAndFinancialInstitutionIdentification5;
InstgAgt?: BranchAndFinancialInstitutionIdentification5;
IntrBkSttlmDt?: Date;
MsgId: string;
NbOfTxs: string;
PmtTpInf?: PaymentTypeInformation21;
SttlmInf: SettlementInstruction4;
TtlIntrBkSttlmAmt?: ActiveCurrencyAndAmount;
}
export interface GroupHeader70 extends _GroupHeader70 {
constructor: { new (): GroupHeader70 };
}
export var GroupHeader70: { new (): GroupHeader70 };
export type IBAN2007Identifier = string;
type _IBAN2007Identifier = Primitive._string;
export type Instruction3Code = 'CHQB' | 'HOLD' | 'PHOB' | 'TELB';
interface _Instruction3Code extends Primitive._string {
content: Instruction3Code;
}
export type Instruction4Code = 'PHOA' | 'TELA';
interface _Instruction4Code extends Primitive._string {
content: Instruction4Code;
}
interface _InstructionForCreditorAgent1 extends BaseType {
Cd?: Instruction3Code;
InstrInf?: string;
}
export interface InstructionForCreditorAgent1
extends _InstructionForCreditorAgent1 {
constructor: { new (): InstructionForCreditorAgent1 };
}
export var InstructionForCreditorAgent1: {
new (): InstructionForCreditorAgent1;
};
interface _InstructionForNextAgent1 extends BaseType {
Cd?: Instruction4Code;
InstrInf?: string;
}
export interface InstructionForNextAgent1 extends _InstructionForNextAgent1 {
constructor: { new (): InstructionForNextAgent1 };
}
export var InstructionForNextAgent1: { new (): InstructionForNextAgent1 };
export type ISODate = Date;
type _ISODate = Primitive._Date;
export type ISODateTime = Date;
type _ISODateTime = Primitive._Date;
export type ISOTime = string;
type _ISOTime = Primitive._string;
interface _LocalInstrument2Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface LocalInstrument2Choice extends _LocalInstrument2Choice {
constructor: { new (): LocalInstrument2Choice };
}
export var LocalInstrument2Choice: { new (): LocalInstrument2Choice };
export type Max10Text = string;
type _Max10Text = Primitive._string;
export type Max140Text = string;
type _Max140Text = Primitive._string;
export type Max15NumericText = string;
type _Max15NumericText = Primitive._string;
export type Max16Text = string;
type _Max16Text = Primitive._string;
export type Max2048Text = string;
type _Max2048Text = Primitive._string;
export type Max34Text = string;
type _Max34Text = Primitive._string;
export type Max350Text = string;
type _Max350Text = Primitive._string;
export type Max35Text = string;
type _Max35Text = Primitive._string;
export type Max4Text = string;
type _Max4Text = Primitive._string;
export type Max70Text = string;
type _Max70Text = Primitive._string;
interface _NameAndAddress10 extends BaseType {
Adr: PostalAddress6;
Nm: string;
}
export interface NameAndAddress10 extends _NameAndAddress10 {
constructor: { new (): NameAndAddress10 };
}
export var NameAndAddress10: { new (): NameAndAddress10 };
export type NamePrefix1Code = 'DOCT' | 'MIST' | 'MISS' | 'MADM';
interface _NamePrefix1Code extends Primitive._string {
content: NamePrefix1Code;
}
export type Number = number;
type _Number = Primitive._number;
interface _OrganisationIdentification8 extends BaseType {
AnyBIC?: string;
Othr?: GenericOrganisationIdentification1[];
}
export interface OrganisationIdentification8
extends _OrganisationIdentification8 {
constructor: { new (): OrganisationIdentification8 };
}
export var OrganisationIdentification8: { new (): OrganisationIdentification8 };
interface _OrganisationIdentificationSchemeName1Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface OrganisationIdentificationSchemeName1Choice
extends _OrganisationIdentificationSchemeName1Choice {
constructor: { new (): OrganisationIdentificationSchemeName1Choice };
}
export var OrganisationIdentificationSchemeName1Choice: {
new (): OrganisationIdentificationSchemeName1Choice;
};
interface _Party34Choice extends BaseType {
OrgId: OrganisationIdentification8;
PrvtId: PersonIdentification13;
}
export interface Party34Choice extends _Party34Choice {
constructor: { new (): Party34Choice };
}
export var Party34Choice: { new (): Party34Choice };
interface _PartyIdentification125 extends BaseType {
CtctDtls?: ContactDetails2;
CtryOfRes?: string;
Id?: Party34Choice;
Nm?: string;
PstlAdr?: PostalAddress6;
}
export interface PartyIdentification125 extends _PartyIdentification125 {
constructor: { new (): PartyIdentification125 };
}
export var PartyIdentification125: { new (): PartyIdentification125 };
interface _PaymentIdentification3 extends BaseType {
ClrSysRef?: string;
EndToEndId: string;
InstrId?: string;
TxId: string;
}
export interface PaymentIdentification3 extends _PaymentIdentification3 {
constructor: { new (): PaymentIdentification3 };
}
export var PaymentIdentification3: { new (): PaymentIdentification3 };
interface _PaymentTypeInformation21 extends BaseType {
ClrChanl?: ClearingChannel2Code;
CtgyPurp?: CategoryPurpose1Choice;
InstrPrty?: Priority2Code;
LclInstrm?: LocalInstrument2Choice;
SvcLvl?: ServiceLevel8Choice;
}
export interface PaymentTypeInformation21 extends _PaymentTypeInformation21 {
constructor: { new (): PaymentTypeInformation21 };
}
export var PaymentTypeInformation21: { new (): PaymentTypeInformation21 };
export type PercentageRate = number;
type _PercentageRate = Primitive._number;
interface _PersonIdentification13 extends BaseType {
DtAndPlcOfBirth?: DateAndPlaceOfBirth1;
Othr?: GenericPersonIdentification1[];
}
export interface PersonIdentification13 extends _PersonIdentification13 {
constructor: { new (): PersonIdentification13 };
}
export var PersonIdentification13: { new (): PersonIdentification13 };
interface _PersonIdentificationSchemeName1Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface PersonIdentificationSchemeName1Choice
extends _PersonIdentificationSchemeName1Choice {
constructor: { new (): PersonIdentificationSchemeName1Choice };
}
export var PersonIdentificationSchemeName1Choice: {
new (): PersonIdentificationSchemeName1Choice;
};
export type PhoneNumber = string;
type _PhoneNumber = Primitive._string;
interface _PostalAddress6 extends BaseType {
AdrLine?: string[];
AdrTp?: AddressType2Code;
BldgNb?: string;
Ctry?: string;
CtrySubDvsn?: string;
Dept?: string;
PstCd?: string;
StrtNm?: string;
SubDept?: string;
TwnNm?: string;
}
export interface PostalAddress6 extends _PostalAddress6 {
constructor: { new (): PostalAddress6 };
}
export var PostalAddress6: { new (): PostalAddress6 };
export type Priority2Code = 'HIGH' | 'NORM';
interface _Priority2Code extends Primitive._string {
content: Priority2Code;
}
export type Priority3Code = 'URGT' | 'HIGH' | 'NORM';
interface _Priority3Code extends Primitive._string {
content: Priority3Code;
}
interface _Purpose2Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface Purpose2Choice extends _Purpose2Choice {
constructor: { new (): Purpose2Choice };
}
export var Purpose2Choice: { new (): Purpose2Choice };
interface _ReferredDocumentInformation7 extends BaseType {
LineDtls?: DocumentLineInformation1[];
Nb?: string;
RltdDt?: Date;
Tp?: ReferredDocumentType4;
}
export interface ReferredDocumentInformation7
extends _ReferredDocumentInformation7 {
constructor: { new (): ReferredDocumentInformation7 };
}
export var ReferredDocumentInformation7: {
new (): ReferredDocumentInformation7;
};
interface _ReferredDocumentType3Choice extends BaseType {
Cd: DocumentType6Code;
Prtry: string;
}
export interface ReferredDocumentType3Choice
extends _ReferredDocumentType3Choice {
constructor: { new (): ReferredDocumentType3Choice };
}
export var ReferredDocumentType3Choice: { new (): ReferredDocumentType3Choice };
interface _ReferredDocumentType4 extends BaseType {
CdOrPrtry: ReferredDocumentType3Choice;
Issr?: string;
}
export interface ReferredDocumentType4 extends _ReferredDocumentType4 {
constructor: { new (): ReferredDocumentType4 };
}
export var ReferredDocumentType4: { new (): ReferredDocumentType4 };
interface _RegulatoryAuthority2 extends BaseType {
Ctry?: string;
Nm?: string;
}
export interface RegulatoryAuthority2 extends _RegulatoryAuthority2 {
constructor: { new (): RegulatoryAuthority2 };
}
export var RegulatoryAuthority2: { new (): RegulatoryAuthority2 };
interface _RegulatoryReporting3 extends BaseType {
Authrty?: RegulatoryAuthority2;
DbtCdtRptgInd?: RegulatoryReportingType1Code;
Dtls?: StructuredRegulatoryReporting3[];
}
export interface RegulatoryReporting3 extends _RegulatoryReporting3 {
constructor: { new (): RegulatoryReporting3 };
}
export var RegulatoryReporting3: { new (): RegulatoryReporting3 };
export type RegulatoryReportingType1Code = 'CRED' | 'DEBT' | 'BOTH';
interface _RegulatoryReportingType1Code extends Primitive._string {
content: RegulatoryReportingType1Code;
}
interface _RemittanceAmount2 extends BaseType {
AdjstmntAmtAndRsn?: DocumentAdjustment1[];
CdtNoteAmt?: ActiveOrHistoricCurrencyAndAmount;
DscntApldAmt?: DiscountAmountAndType1[];
DuePyblAmt?: ActiveOrHistoricCurrencyAndAmount;
RmtdAmt?: ActiveOrHistoricCurrencyAndAmount;
TaxAmt?: TaxAmountAndType1[];
}
export interface RemittanceAmount2 extends _RemittanceAmount2 {
constructor: { new (): RemittanceAmount2 };
}
export var RemittanceAmount2: { new (): RemittanceAmount2 };
interface _RemittanceAmount3 extends BaseType {
AdjstmntAmtAndRsn?: DocumentAdjustment1[];
CdtNoteAmt?: ActiveOrHistoricCurrencyAndAmount;
DscntApldAmt?: DiscountAmountAndType1[];
DuePyblAmt?: ActiveOrHistoricCurrencyAndAmount;
RmtdAmt?: ActiveOrHistoricCurrencyAndAmount;
TaxAmt?: TaxAmountAndType1[];
}
export interface RemittanceAmount3 extends _RemittanceAmount3 {
constructor: { new (): RemittanceAmount3 };
}
export var RemittanceAmount3: { new (): RemittanceAmount3 };
interface _RemittanceInformation15 extends BaseType {
Strd?: StructuredRemittanceInformation15[];
Ustrd?: string[];
}
export interface RemittanceInformation15 extends _RemittanceInformation15 {
constructor: { new (): RemittanceInformation15 };
}
export var RemittanceInformation15: { new (): RemittanceInformation15 };
interface _RemittanceLocation4 extends BaseType {
RmtId?: string;
RmtLctnDtls?: RemittanceLocationDetails1[];
}
export interface RemittanceLocation4 extends _RemittanceLocation4 {
constructor: { new (): RemittanceLocation4 };
}
export var RemittanceLocation4: { new (): RemittanceLocation4 };
interface _RemittanceLocationDetails1 extends BaseType {
ElctrncAdr?: string;
Mtd: RemittanceLocationMethod2Code;
PstlAdr?: NameAndAddress10;
}
export interface RemittanceLocationDetails1
extends _RemittanceLocationDetails1 {
constructor: { new (): RemittanceLocationDetails1 };
}
export var RemittanceLocationDetails1: { new (): RemittanceLocationDetails1 };
export type RemittanceLocationMethod2Code =
| 'FAXI'
| 'EDIC'
| 'URID'
| 'EMAL'
| 'POST'
| 'SMSM';
interface _RemittanceLocationMethod2Code extends Primitive._string {
content: RemittanceLocationMethod2Code;
}
interface _ServiceLevel8Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface ServiceLevel8Choice extends _ServiceLevel8Choice {
constructor: { new (): ServiceLevel8Choice };
}
export var ServiceLevel8Choice: { new (): ServiceLevel8Choice };
interface _SettlementDateTimeIndication1 extends BaseType {
CdtDtTm?: Date;
DbtDtTm?: Date;
}
export interface SettlementDateTimeIndication1
extends _SettlementDateTimeIndication1 {
constructor: { new (): SettlementDateTimeIndication1 };
}
export var SettlementDateTimeIndication1: {
new (): SettlementDateTimeIndication1;
};
interface _SettlementInstruction4 extends BaseType {
ClrSys?: ClearingSystemIdentification3Choice;
InstdRmbrsmntAgt?: BranchAndFinancialInstitutionIdentification5;
InstdRmbrsmntAgtAcct?: CashAccount24;
InstgRmbrsmntAgt?: BranchAndFinancialInstitutionIdentification5;
InstgRmbrsmntAgtAcct?: CashAccount24;
SttlmAcct?: CashAccount24;
SttlmMtd: SettlementMethod1Code;
ThrdRmbrsmntAgt?: BranchAndFinancialInstitutionIdentification5;
ThrdRmbrsmntAgtAcct?: CashAccount24;
}
export interface SettlementInstruction4 extends _SettlementInstruction4 {
constructor: { new (): SettlementInstruction4 };
}
export var SettlementInstruction4: { new (): SettlementInstruction4 };
export type SettlementMethod1Code = 'INDA' | 'INGA' | 'COVE' | 'CLRG';
interface _SettlementMethod1Code extends Primitive._string {
content: SettlementMethod1Code;
}
interface _SettlementTimeRequest2 extends BaseType {
CLSTm?: string;
FrTm?: string;
RjctTm?: string;
TillTm?: string;
}
export interface SettlementTimeRequest2 extends _SettlementTimeRequest2 {
constructor: { new (): SettlementTimeRequest2 };
}
export var SettlementTimeRequest2: { new (): SettlementTimeRequest2 };
interface _StructuredRegulatoryReporting3 extends BaseType {
Amt?: ActiveOrHistoricCurrencyAndAmount;
Cd?: string;
Ctry?: string;
Dt?: Date;
Inf?: string[];
Tp?: string;
}
export interface StructuredRegulatoryReporting3
extends _StructuredRegulatoryReporting3 {
constructor: { new (): StructuredRegulatoryReporting3 };
}
export var StructuredRegulatoryReporting3: {
new (): StructuredRegulatoryReporting3;
};
interface _StructuredRemittanceInformation15 extends BaseType {
AddtlRmtInf?: string[];
CdtrRefInf?: CreditorReferenceInformation2;
GrnshmtRmt?: Garnishment2;
Invcee?: PartyIdentification125;
Invcr?: PartyIdentification125;
RfrdDocAmt?: RemittanceAmount2;
RfrdDocInf?: ReferredDocumentInformation7[];
TaxRmt?: TaxInformation7;
}
export interface StructuredRemittanceInformation15
extends _StructuredRemittanceInformation15 {
constructor: { new (): StructuredRemittanceInformation15 };
}
export var StructuredRemittanceInformation15: {
new (): StructuredRemittanceInformation15;
};
interface _SupplementaryData1 extends BaseType {
Envlp: SupplementaryDataEnvelope1;
PlcAndNm?: string;
}
export interface SupplementaryData1 extends _SupplementaryData1 {
constructor: { new (): SupplementaryData1 };
}
export var SupplementaryData1: { new (): SupplementaryData1 };
interface _SupplementaryDataEnvelope1 extends BaseType {}
export interface SupplementaryDataEnvelope1
extends _SupplementaryDataEnvelope1 {
constructor: { new (): SupplementaryDataEnvelope1 };
}
export var SupplementaryDataEnvelope1: { new (): SupplementaryDataEnvelope1 };
interface _TaxAmount2 extends BaseType {
Dtls?: TaxRecordDetails2[];
Rate?: number;
TaxblBaseAmt?: ActiveOrHistoricCurrencyAndAmount;
TtlAmt?: ActiveOrHistoricCurrencyAndAmount;
}
export interface TaxAmount2 extends _TaxAmount2 {
constructor: { new (): TaxAmount2 };
}
export var TaxAmount2: { new (): TaxAmount2 };
interface _TaxAmountAndType1 extends BaseType {
Amt: ActiveOrHistoricCurrencyAndAmount;
Tp?: TaxAmountType1Choice;
}
export interface TaxAmountAndType1 extends _TaxAmountAndType1 {
constructor: { new (): TaxAmountAndType1 };
}
export var TaxAmountAndType1: { new (): TaxAmountAndType1 };
interface _TaxAmountType1Choice extends BaseType {
Cd: string;
Prtry: string;
}
export interface TaxAmountType1Choice extends _TaxAmountType1Choice {
constructor: { new (): TaxAmountType1Choice };
}
export var TaxAmountType1Choice: { new (): TaxAmountType1Choice };
interface _TaxAuthorisation1 extends BaseType {
Nm?: string;
Titl?: string;
}
export interface TaxAuthorisation1 extends _TaxAuthorisation1 {
constructor: { new (): TaxAuthorisation1 };
}
export var TaxAuthorisation1: { new (): TaxAuthorisation1 };
interface _TaxInformation6 extends BaseType {
AdmstnZn?: string;
Cdtr?: TaxParty1;
Dbtr?: TaxParty2;
Dt?: Date;
Mtd?: string;
Rcrd?: TaxRecord2[];
RefNb?: string;
SeqNb?: number;
TtlTaxAmt?: ActiveOrHistoricCurrencyAndAmount;
TtlTaxblBaseAmt?: ActiveOrHistoricCurrencyAndAmount;
}
export interface TaxInformation6 extends _TaxInformation6 {
constructor: { new (): TaxInformation6 };
}
export var TaxInformation6: { new (): TaxInformation6 };
interface _TaxInformation7 extends BaseType {
AdmstnZone?: string;
Cdtr?: TaxParty1;
Dbtr?: TaxParty2;
Dt?: Date;
Mtd?: string;
Rcrd?: TaxRecord2[];
RefNb?: string;
SeqNb?: number;
TtlTaxAmt?: ActiveOrHistoricCurrencyAndAmount;
TtlTaxblBaseAmt?: ActiveOrHistoricCurrencyAndAmount;
UltmtDbtr?: TaxParty2;
}
export interface TaxInformation7 extends _TaxInformation7 {
constructor: { new (): TaxInformation7 };
}
export var TaxInformation7: { new (): TaxInformation7 };
interface _TaxParty1 extends BaseType {
RegnId?: string;
TaxId?: string;
TaxTp?: string;
}
export interface TaxParty1 extends _TaxParty1 {
constructor: { new (): TaxParty1 };
}
export var TaxParty1: { new (): TaxParty1 };
interface _TaxParty2 extends BaseType {
Authstn?: TaxAuthorisation1;
RegnId?: string;
TaxId?: string;
TaxTp?: string;
}
export interface TaxParty2 extends _TaxParty2 {
constructor: { new (): TaxParty2 };
}
export var TaxParty2: { new (): TaxParty2 };
interface _TaxPeriod2 extends BaseType {
FrToDt?: DatePeriod2;
Tp?: TaxRecordPeriod1Code;
Yr?: Date;
}
export interface TaxPeriod2 extends _TaxPeriod2 {
constructor: { new (): TaxPeriod2 };
}
export var TaxPeriod2: { new (): TaxPeriod2 };
interface _TaxRecord2 extends BaseType {
AddtlInf?: string;
CertId?: string;
Ctgy?: string;
CtgyDtls?: string;
DbtrSts?: string;
FrmsCd?: string;
Prd?: TaxPeriod2;
TaxAmt?: TaxAmount2;
Tp?: string;
}
export interface TaxRecord2 extends _TaxRecord2 {
constructor: { new (): TaxRecord2 };
}
export var TaxRecord2: { new (): TaxRecord2 };
interface _TaxRecordDetails2 extends BaseType {
Amt: ActiveOrHistoricCurrencyAndAmount;
Prd?: TaxPeriod2;
}
export interface TaxRecordDetails2 extends _TaxRecordDetails2 {
constructor: { new (): TaxRecordDetails2 };
}
export var TaxRecordDetails2: { new (): TaxRecordDetails2 };
export type TaxRecordPeriod1Code =
| 'MM01'
| 'MM02'
| 'MM03'
| 'MM04'
| 'MM05'
| 'MM06'
| 'MM07'
| 'MM08'
| 'MM09'
| 'MM10'
| 'MM11'
| 'MM12'
| 'QTR1'
| 'QTR2'
| 'QTR3'
| 'QTR4'
| 'HLF1'
| 'HLF2';
interface _TaxRecordPeriod1Code extends Primitive._string {
content: TaxRecordPeriod1Code;
}
export type TrueFalseIndicator = boolean;
type _TrueFalseIndicator = Primitive._boolean;
export interface document extends BaseType {
Document: Document;
}
export var document: document;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment