@mojaloop/api-snippets 18.0.0-snapshot.3 → 18.0.0-snapshot.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/sdk-scheme-adapter-outbound-v2_1_0-openapi3-snippets.yaml +52 -7
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/json-schemas.json +223 -7
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/openapi.d.ts +25 -6
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.d.ts +191 -7
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js +4 -1
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/schemas.js.map +1 -1
- package/lib/sdk-scheme-adapter/v2_1_0/outbound/types.d.ts +4 -1
- package/package.json +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/responses/accountDeletionCompleted.yaml +1 -1
- package/sdk-scheme-adapter/v2_1_0/components/schemas/accountDeletionResponse.yaml +9 -4
@@ -945,6 +945,57 @@ components:
|
|
945
945
|
properties:
|
946
946
|
executionState:
|
947
947
|
$ref: '#/components/schemas/accountsResponse'
|
948
|
+
FspId:
|
949
|
+
title: FspId
|
950
|
+
type: string
|
951
|
+
minLength: 1
|
952
|
+
maxLength: 32
|
953
|
+
description: FSP identifier.
|
954
|
+
accountDeletionStatus:
|
955
|
+
type: array
|
956
|
+
items:
|
957
|
+
type: object
|
958
|
+
required:
|
959
|
+
- fspId
|
960
|
+
properties:
|
961
|
+
fspId:
|
962
|
+
$ref: '#/components/schemas/FspId'
|
963
|
+
error:
|
964
|
+
$ref: '#/components/schemas/errorResponse'
|
965
|
+
accountDeletionState:
|
966
|
+
type: string
|
967
|
+
enum:
|
968
|
+
- ERROR_OCCURRED
|
969
|
+
- COMPLETED
|
970
|
+
accountDeletionResponse:
|
971
|
+
type: object
|
972
|
+
required:
|
973
|
+
- accountIdType
|
974
|
+
- accountIdValue
|
975
|
+
properties:
|
976
|
+
accountIdType:
|
977
|
+
$ref: '#/components/schemas/PartyIdType'
|
978
|
+
accountIdValue:
|
979
|
+
$ref: '#/components/schemas/PartyIdentifier'
|
980
|
+
accountSubIdOrType:
|
981
|
+
$ref: '#/components/schemas/PartySubIdOrType'
|
982
|
+
modelId:
|
983
|
+
$ref: '#/components/schemas/CorrelationId'
|
984
|
+
response:
|
985
|
+
$ref: '#/components/schemas/accountDeletionStatus'
|
986
|
+
currentState:
|
987
|
+
$ref: '#/components/schemas/accountDeletionState'
|
988
|
+
lastError:
|
989
|
+
$ref: '#/components/schemas/transferError'
|
990
|
+
deleteAccountResponse:
|
991
|
+
type: object
|
992
|
+
required:
|
993
|
+
- body
|
994
|
+
properties:
|
995
|
+
body:
|
996
|
+
type: object
|
997
|
+
headers:
|
998
|
+
type: object
|
948
999
|
TransactionInitiatorType:
|
949
1000
|
title: TransactionInitiatorType
|
950
1001
|
type: string
|
@@ -1005,12 +1056,6 @@ components:
|
|
1005
1056
|
type: string
|
1006
1057
|
pattern: ^[\d]{1,4}$
|
1007
1058
|
description: A limited set of pre-defined numbers. This list would be a limited set of numbers identifying a set of popular merchant types like School Fees, Pubs and Restaurants, Groceries, etc.
|
1008
|
-
FspId:
|
1009
|
-
title: FspId
|
1010
|
-
type: string
|
1011
|
-
minLength: 1
|
1012
|
-
maxLength: 32
|
1013
|
-
description: FSP identifier.
|
1014
1059
|
KYCInformation:
|
1015
1060
|
title: KYCInformation
|
1016
1061
|
type: string
|
@@ -2876,7 +2921,7 @@ components:
|
|
2876
2921
|
content:
|
2877
2922
|
application/json:
|
2878
2923
|
schema:
|
2879
|
-
$ref: '#/components/schemas/
|
2924
|
+
$ref: '#/components/schemas/accountDeletionResponse'
|
2880
2925
|
accountDeletionError:
|
2881
2926
|
description: An error occurred while deleting an account
|
2882
2927
|
content:
|
@@ -1605,6 +1605,229 @@
|
|
1605
1605
|
}
|
1606
1606
|
]
|
1607
1607
|
},
|
1608
|
+
"FspId": {
|
1609
|
+
"title": "FspId",
|
1610
|
+
"type": "string",
|
1611
|
+
"minLength": 1,
|
1612
|
+
"maxLength": 32,
|
1613
|
+
"description": "FSP identifier."
|
1614
|
+
},
|
1615
|
+
"accountDeletionStatus": {
|
1616
|
+
"type": "array",
|
1617
|
+
"items": {
|
1618
|
+
"type": "object",
|
1619
|
+
"required": [
|
1620
|
+
"fspId"
|
1621
|
+
],
|
1622
|
+
"properties": {
|
1623
|
+
"fspId": {
|
1624
|
+
"title": "FspId",
|
1625
|
+
"type": "string",
|
1626
|
+
"minLength": 1,
|
1627
|
+
"maxLength": 32,
|
1628
|
+
"description": "FSP identifier."
|
1629
|
+
},
|
1630
|
+
"error": {
|
1631
|
+
"type": "object",
|
1632
|
+
"properties": {
|
1633
|
+
"statusCode": {
|
1634
|
+
"type": "string",
|
1635
|
+
"description": "Backend error code from FSP. Ideally, statusCode is FSPIOP conforming. SDK will use status code to retrieve an FSPIOP error with the same code.\nOtherwise, a suitable generic FSPIOP will be used with the errorResponse in the FSPIOP error message.\n"
|
1636
|
+
},
|
1637
|
+
"message": {
|
1638
|
+
"type": "string",
|
1639
|
+
"description": "Error message text."
|
1640
|
+
}
|
1641
|
+
}
|
1642
|
+
}
|
1643
|
+
}
|
1644
|
+
}
|
1645
|
+
},
|
1646
|
+
"accountDeletionState": {
|
1647
|
+
"type": "string",
|
1648
|
+
"enum": [
|
1649
|
+
"ERROR_OCCURRED",
|
1650
|
+
"COMPLETED"
|
1651
|
+
]
|
1652
|
+
},
|
1653
|
+
"accountDeletionResponse": {
|
1654
|
+
"type": "object",
|
1655
|
+
"required": [
|
1656
|
+
"accountIdType",
|
1657
|
+
"accountIdValue"
|
1658
|
+
],
|
1659
|
+
"properties": {
|
1660
|
+
"accountIdType": {
|
1661
|
+
"title": "PartyIdType",
|
1662
|
+
"type": "string",
|
1663
|
+
"enum": [
|
1664
|
+
"MSISDN",
|
1665
|
+
"EMAIL",
|
1666
|
+
"PERSONAL_ID",
|
1667
|
+
"BUSINESS",
|
1668
|
+
"DEVICE",
|
1669
|
+
"ACCOUNT_ID",
|
1670
|
+
"IBAN",
|
1671
|
+
"ALIAS"
|
1672
|
+
],
|
1673
|
+
"description": "Below are the allowed values for the enumeration.\n- MSISDN - An MSISDN (Mobile Station International Subscriber Directory Number, that is, the phone number) is used as reference to a participant. The MSISDN identifier should be in international format according to the [ITU-T E.164 standard](https://www.itu.int/rec/T-REC-E.164/en). Optionally, the MSISDN may be prefixed by a single plus sign, indicating the international prefix.\n- EMAIL - An email is used as reference to a participant. The format of the email should be according to the informational [RFC 3696](https://tools.ietf.org/html/rfc3696).\n- PERSONAL_ID - A personal identifier is used as reference to a participant. Examples of personal identification are passport number, birth certificate number, and national registration number. The identifier number is added in the PartyIdentifier element. The personal identifier type is added in the PartySubIdOrType element.\n- BUSINESS - A specific Business (for example, an organization or a company) is used as reference to a participant. The BUSINESS identifier can be in any format. To make a transaction connected to a specific username or bill number in a Business, the PartySubIdOrType element should be used.\n- DEVICE - A specific device (for example, a POS or ATM) ID connected to a specific business or organization is used as reference to a Party. For referencing a specific device under a specific business or organization, use the PartySubIdOrType element.\n- ACCOUNT_ID - A bank account number or FSP account ID should be used as reference to a participant. The ACCOUNT_ID identifier can be in any format, as formats can greatly differ depending on country and FSP.\n- IBAN - A bank account number or FSP account ID is used as reference to a participant. The IBAN identifier can consist of up to 34 alphanumeric characters and should be entered without whitespace.\n- ALIAS An alias is used as reference to a participant. The alias should be created in the FSP as an alternative reference to an account owner. Another example of an alias is a username in the FSP system. The ALIAS identifier can be in any format. It is also possible to use the PartySubIdOrType element for identifying an account under an Alias defined by the PartyIdentifier."
|
1674
|
+
},
|
1675
|
+
"accountIdValue": {
|
1676
|
+
"title": "PartyIdentifier",
|
1677
|
+
"type": "string",
|
1678
|
+
"minLength": 1,
|
1679
|
+
"maxLength": 128,
|
1680
|
+
"description": "Identifier of the Party.",
|
1681
|
+
"example": "16135551212"
|
1682
|
+
},
|
1683
|
+
"accountSubIdOrType": {
|
1684
|
+
"title": "PartySubIdOrType",
|
1685
|
+
"type": "string",
|
1686
|
+
"minLength": 1,
|
1687
|
+
"maxLength": 128,
|
1688
|
+
"description": "Either a sub-identifier of a PartyIdentifier, or a sub-type of the PartyIdType, normally a PersonalIdentifierType."
|
1689
|
+
},
|
1690
|
+
"modelId": {
|
1691
|
+
"title": "CorrelationId",
|
1692
|
+
"type": "string",
|
1693
|
+
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[1-7][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$|^[0-9A-HJKMNP-TV-Z]{26}$",
|
1694
|
+
"description": "Identifier that correlates all messages of the same sequence. The supported identifiers formats are for lowercase [UUID](https://datatracker.ietf.org/doc/html/rfc9562) and uppercase [ULID](https://github.com/ulid/spec)",
|
1695
|
+
"example": "b51ec534-ee48-4575-b6a9-ead2955b8069"
|
1696
|
+
},
|
1697
|
+
"response": {
|
1698
|
+
"type": "array",
|
1699
|
+
"items": {
|
1700
|
+
"type": "object",
|
1701
|
+
"required": [
|
1702
|
+
"fspId"
|
1703
|
+
],
|
1704
|
+
"properties": {
|
1705
|
+
"fspId": {
|
1706
|
+
"title": "FspId",
|
1707
|
+
"type": "string",
|
1708
|
+
"minLength": 1,
|
1709
|
+
"maxLength": 32,
|
1710
|
+
"description": "FSP identifier."
|
1711
|
+
},
|
1712
|
+
"error": {
|
1713
|
+
"type": "object",
|
1714
|
+
"properties": {
|
1715
|
+
"statusCode": {
|
1716
|
+
"type": "string",
|
1717
|
+
"description": "Backend error code from FSP. Ideally, statusCode is FSPIOP conforming. SDK will use status code to retrieve an FSPIOP error with the same code.\nOtherwise, a suitable generic FSPIOP will be used with the errorResponse in the FSPIOP error message.\n"
|
1718
|
+
},
|
1719
|
+
"message": {
|
1720
|
+
"type": "string",
|
1721
|
+
"description": "Error message text."
|
1722
|
+
}
|
1723
|
+
}
|
1724
|
+
}
|
1725
|
+
}
|
1726
|
+
}
|
1727
|
+
},
|
1728
|
+
"currentState": {
|
1729
|
+
"type": "string",
|
1730
|
+
"enum": [
|
1731
|
+
"ERROR_OCCURRED",
|
1732
|
+
"COMPLETED"
|
1733
|
+
]
|
1734
|
+
},
|
1735
|
+
"lastError": {
|
1736
|
+
"type": "object",
|
1737
|
+
"description": "This object represents a Mojaloop API error received at any time during the transfer process",
|
1738
|
+
"properties": {
|
1739
|
+
"httpStatusCode": {
|
1740
|
+
"type": "integer",
|
1741
|
+
"description": "The HTTP status code returned to the caller. This is the same as the actual HTTP status code returned with the response."
|
1742
|
+
},
|
1743
|
+
"mojaloopError": {
|
1744
|
+
"type": "object",
|
1745
|
+
"properties": {
|
1746
|
+
"errorInformation": {
|
1747
|
+
"title": "ErrorInformation",
|
1748
|
+
"type": "object",
|
1749
|
+
"description": "Data model for the complex type ErrorInformation.",
|
1750
|
+
"properties": {
|
1751
|
+
"errorCode": {
|
1752
|
+
"title": "ErrorCode",
|
1753
|
+
"type": "string",
|
1754
|
+
"pattern": "^[1-9]\\d{3}$",
|
1755
|
+
"description": "The API data type ErrorCode is a JSON String of four characters, consisting of digits only. Negative numbers are not allowed. A leading zero is not allowed. Each error code in the API is a four-digit number, for example, 1234, where the first number (1 in the example) represents the high-level error category, the second number (2 in the example) represents the low-level error category, and the last two numbers (34 in the example) represent the specific error.",
|
1756
|
+
"example": "5100"
|
1757
|
+
},
|
1758
|
+
"errorDescription": {
|
1759
|
+
"title": "ErrorDescription",
|
1760
|
+
"type": "string",
|
1761
|
+
"minLength": 1,
|
1762
|
+
"maxLength": 128,
|
1763
|
+
"description": "Error description string."
|
1764
|
+
},
|
1765
|
+
"extensionList": {
|
1766
|
+
"title": "ExtensionList",
|
1767
|
+
"type": "object",
|
1768
|
+
"description": "Data model for the complex type ExtensionList. An optional list of extensions, specific to deployment.",
|
1769
|
+
"properties": {
|
1770
|
+
"extension": {
|
1771
|
+
"type": "array",
|
1772
|
+
"items": {
|
1773
|
+
"title": "Extension_v2_1_0",
|
1774
|
+
"type": "object",
|
1775
|
+
"description": "Data model for the complex type Extension.",
|
1776
|
+
"properties": {
|
1777
|
+
"key": {
|
1778
|
+
"title": "ExtensionKey_v2_1_0",
|
1779
|
+
"type": "string",
|
1780
|
+
"minLength": 1,
|
1781
|
+
"description": "Extension key."
|
1782
|
+
},
|
1783
|
+
"value": {
|
1784
|
+
"title": "ExtensionValue",
|
1785
|
+
"type": "string",
|
1786
|
+
"minLength": 1,
|
1787
|
+
"maxLength": 128,
|
1788
|
+
"description": "Extension value."
|
1789
|
+
}
|
1790
|
+
},
|
1791
|
+
"required": [
|
1792
|
+
"key",
|
1793
|
+
"value"
|
1794
|
+
]
|
1795
|
+
},
|
1796
|
+
"minItems": 1,
|
1797
|
+
"maxItems": 16,
|
1798
|
+
"description": "Number of Extension elements."
|
1799
|
+
}
|
1800
|
+
},
|
1801
|
+
"required": [
|
1802
|
+
"extension"
|
1803
|
+
]
|
1804
|
+
}
|
1805
|
+
},
|
1806
|
+
"required": [
|
1807
|
+
"errorCode",
|
1808
|
+
"errorDescription"
|
1809
|
+
]
|
1810
|
+
}
|
1811
|
+
}
|
1812
|
+
}
|
1813
|
+
}
|
1814
|
+
},
|
1815
|
+
"deleteAccountResponse": {
|
1816
|
+
"type": "object",
|
1817
|
+
"required": [
|
1818
|
+
"body"
|
1819
|
+
],
|
1820
|
+
"properties": {
|
1821
|
+
"body": {
|
1822
|
+
"type": "object"
|
1823
|
+
},
|
1824
|
+
"headers": {
|
1825
|
+
"type": "object"
|
1826
|
+
}
|
1827
|
+
}
|
1828
|
+
}
|
1829
|
+
}
|
1830
|
+
},
|
1608
1831
|
"TransactionInitiatorType": {
|
1609
1832
|
"title": "TransactionInitiatorType",
|
1610
1833
|
"type": "string",
|
@@ -1663,13 +1886,6 @@
|
|
1663
1886
|
"pattern": "^[\\d]{1,4}$",
|
1664
1887
|
"description": "A limited set of pre-defined numbers. This list would be a limited set of numbers identifying a set of popular merchant types like School Fees, Pubs and Restaurants, Groceries, etc."
|
1665
1888
|
},
|
1666
|
-
"FspId": {
|
1667
|
-
"title": "FspId",
|
1668
|
-
"type": "string",
|
1669
|
-
"minLength": 1,
|
1670
|
-
"maxLength": 32,
|
1671
|
-
"description": "FSP identifier."
|
1672
|
-
},
|
1673
1889
|
"KYCInformation": {
|
1674
1890
|
"title": "KYCInformation",
|
1675
1891
|
"type": "string",
|
@@ -1065,6 +1065,30 @@ export interface components {
|
|
1065
1065
|
errorAccountsResponse: components["schemas"]["errorResponse"] & {
|
1066
1066
|
executionState: components["schemas"]["accountsResponse"];
|
1067
1067
|
};
|
1068
|
+
/**
|
1069
|
+
* FspId
|
1070
|
+
* @description FSP identifier.
|
1071
|
+
*/
|
1072
|
+
FspId: string;
|
1073
|
+
accountDeletionStatus: {
|
1074
|
+
fspId: components["schemas"]["FspId"];
|
1075
|
+
error?: components["schemas"]["errorResponse"];
|
1076
|
+
}[];
|
1077
|
+
/** @enum {string} */
|
1078
|
+
accountDeletionState: "ERROR_OCCURRED" | "COMPLETED";
|
1079
|
+
accountDeletionResponse: {
|
1080
|
+
accountIdType: components["schemas"]["PartyIdType"];
|
1081
|
+
accountIdValue: components["schemas"]["PartyIdentifier"];
|
1082
|
+
accountSubIdOrType?: components["schemas"]["PartySubIdOrType"];
|
1083
|
+
modelId?: components["schemas"]["CorrelationId"];
|
1084
|
+
response?: components["schemas"]["accountDeletionStatus"];
|
1085
|
+
currentState?: components["schemas"]["accountDeletionState"];
|
1086
|
+
lastError?: components["schemas"]["transferError"];
|
1087
|
+
deleteAccountResponse?: {
|
1088
|
+
body: Record<string, never>;
|
1089
|
+
headers?: Record<string, never>;
|
1090
|
+
};
|
1091
|
+
};
|
1068
1092
|
/**
|
1069
1093
|
* TransactionInitiatorType
|
1070
1094
|
* @description Below are the allowed values for the enumeration.
|
@@ -1114,11 +1138,6 @@ export interface components {
|
|
1114
1138
|
* @description A limited set of pre-defined numbers. This list would be a limited set of numbers identifying a set of popular merchant types like School Fees, Pubs and Restaurants, Groceries, etc.
|
1115
1139
|
*/
|
1116
1140
|
MerchantClassificationCode: string;
|
1117
|
-
/**
|
1118
|
-
* FspId
|
1119
|
-
* @description FSP identifier.
|
1120
|
-
*/
|
1121
|
-
FspId: string;
|
1122
1141
|
/**
|
1123
1142
|
* KYCInformation
|
1124
1143
|
* @description KYC information for the party in a form mandated by an individual scheme.
|
@@ -2101,7 +2120,7 @@ export interface components {
|
|
2101
2120
|
[name: string]: unknown;
|
2102
2121
|
};
|
2103
2122
|
content: {
|
2104
|
-
"application/json": components["schemas"]["
|
2123
|
+
"application/json": components["schemas"]["accountDeletionResponse"];
|
2105
2124
|
};
|
2106
2125
|
};
|
2107
2126
|
/** @description An error occurred while deleting an account */
|
@@ -795,6 +795,197 @@ export declare namespace Schemas {
|
|
795
795
|
};
|
796
796
|
})[];
|
797
797
|
};
|
798
|
+
const FspId: {
|
799
|
+
title: string;
|
800
|
+
type: string;
|
801
|
+
minLength: number;
|
802
|
+
maxLength: number;
|
803
|
+
description: string;
|
804
|
+
};
|
805
|
+
const accountDeletionStatus: {
|
806
|
+
type: string;
|
807
|
+
items: {
|
808
|
+
type: string;
|
809
|
+
required: string[];
|
810
|
+
properties: {
|
811
|
+
fspId: {
|
812
|
+
title: string;
|
813
|
+
type: string;
|
814
|
+
minLength: number;
|
815
|
+
maxLength: number;
|
816
|
+
description: string;
|
817
|
+
};
|
818
|
+
error: {
|
819
|
+
type: string;
|
820
|
+
properties: {
|
821
|
+
statusCode: {
|
822
|
+
type: string;
|
823
|
+
description: string;
|
824
|
+
};
|
825
|
+
message: {
|
826
|
+
type: string;
|
827
|
+
description: string;
|
828
|
+
};
|
829
|
+
};
|
830
|
+
};
|
831
|
+
};
|
832
|
+
};
|
833
|
+
};
|
834
|
+
const accountDeletionState: {
|
835
|
+
type: string;
|
836
|
+
enum: string[];
|
837
|
+
};
|
838
|
+
const accountDeletionResponse: {
|
839
|
+
type: string;
|
840
|
+
required: string[];
|
841
|
+
properties: {
|
842
|
+
accountIdType: {
|
843
|
+
title: string;
|
844
|
+
type: string;
|
845
|
+
enum: string[];
|
846
|
+
description: string;
|
847
|
+
};
|
848
|
+
accountIdValue: {
|
849
|
+
title: string;
|
850
|
+
type: string;
|
851
|
+
minLength: number;
|
852
|
+
maxLength: number;
|
853
|
+
description: string;
|
854
|
+
example: string;
|
855
|
+
};
|
856
|
+
accountSubIdOrType: {
|
857
|
+
title: string;
|
858
|
+
type: string;
|
859
|
+
minLength: number;
|
860
|
+
maxLength: number;
|
861
|
+
description: string;
|
862
|
+
};
|
863
|
+
modelId: {
|
864
|
+
title: string;
|
865
|
+
type: string;
|
866
|
+
pattern: string;
|
867
|
+
description: string;
|
868
|
+
example: string;
|
869
|
+
};
|
870
|
+
response: {
|
871
|
+
type: string;
|
872
|
+
items: {
|
873
|
+
type: string;
|
874
|
+
required: string[];
|
875
|
+
properties: {
|
876
|
+
fspId: {
|
877
|
+
title: string;
|
878
|
+
type: string;
|
879
|
+
minLength: number;
|
880
|
+
maxLength: number;
|
881
|
+
description: string;
|
882
|
+
};
|
883
|
+
error: {
|
884
|
+
type: string;
|
885
|
+
properties: {
|
886
|
+
statusCode: {
|
887
|
+
type: string;
|
888
|
+
description: string;
|
889
|
+
};
|
890
|
+
message: {
|
891
|
+
type: string;
|
892
|
+
description: string;
|
893
|
+
};
|
894
|
+
};
|
895
|
+
};
|
896
|
+
};
|
897
|
+
};
|
898
|
+
};
|
899
|
+
currentState: {
|
900
|
+
type: string;
|
901
|
+
enum: string[];
|
902
|
+
};
|
903
|
+
lastError: {
|
904
|
+
type: string;
|
905
|
+
description: string;
|
906
|
+
properties: {
|
907
|
+
httpStatusCode: {
|
908
|
+
type: string;
|
909
|
+
description: string;
|
910
|
+
};
|
911
|
+
mojaloopError: {
|
912
|
+
type: string;
|
913
|
+
properties: {
|
914
|
+
errorInformation: {
|
915
|
+
title: string;
|
916
|
+
type: string;
|
917
|
+
description: string;
|
918
|
+
properties: {
|
919
|
+
errorCode: {
|
920
|
+
title: string;
|
921
|
+
type: string;
|
922
|
+
pattern: string;
|
923
|
+
description: string;
|
924
|
+
example: string;
|
925
|
+
};
|
926
|
+
errorDescription: {
|
927
|
+
title: string;
|
928
|
+
type: string;
|
929
|
+
minLength: number;
|
930
|
+
maxLength: number;
|
931
|
+
description: string;
|
932
|
+
};
|
933
|
+
extensionList: {
|
934
|
+
title: string;
|
935
|
+
type: string;
|
936
|
+
description: string;
|
937
|
+
properties: {
|
938
|
+
extension: {
|
939
|
+
type: string;
|
940
|
+
items: {
|
941
|
+
title: string;
|
942
|
+
type: string;
|
943
|
+
description: string;
|
944
|
+
properties: {
|
945
|
+
key: {
|
946
|
+
title: string;
|
947
|
+
type: string;
|
948
|
+
minLength: number;
|
949
|
+
description: string;
|
950
|
+
};
|
951
|
+
value: {
|
952
|
+
title: string;
|
953
|
+
type: string;
|
954
|
+
minLength: number;
|
955
|
+
maxLength: number;
|
956
|
+
description: string;
|
957
|
+
};
|
958
|
+
};
|
959
|
+
required: string[];
|
960
|
+
};
|
961
|
+
minItems: number;
|
962
|
+
maxItems: number;
|
963
|
+
description: string;
|
964
|
+
};
|
965
|
+
};
|
966
|
+
required: string[];
|
967
|
+
};
|
968
|
+
};
|
969
|
+
required: string[];
|
970
|
+
};
|
971
|
+
};
|
972
|
+
};
|
973
|
+
};
|
974
|
+
};
|
975
|
+
deleteAccountResponse: {
|
976
|
+
type: string;
|
977
|
+
required: string[];
|
978
|
+
properties: {
|
979
|
+
body: {
|
980
|
+
type: string;
|
981
|
+
};
|
982
|
+
headers: {
|
983
|
+
type: string;
|
984
|
+
};
|
985
|
+
};
|
986
|
+
};
|
987
|
+
};
|
988
|
+
};
|
798
989
|
const TransactionInitiatorType: {
|
799
990
|
title: string;
|
800
991
|
type: string;
|
@@ -848,13 +1039,6 @@ export declare namespace Schemas {
|
|
848
1039
|
pattern: string;
|
849
1040
|
description: string;
|
850
1041
|
};
|
851
|
-
const FspId: {
|
852
|
-
title: string;
|
853
|
-
type: string;
|
854
|
-
minLength: number;
|
855
|
-
maxLength: number;
|
856
|
-
description: string;
|
857
|
-
};
|
858
1042
|
const KYCInformation: {
|
859
1043
|
title: string;
|
860
1044
|
type: string;
|
@@ -27,6 +27,10 @@ var Schemas;
|
|
27
27
|
Schemas.transferError = json_schemas_json_1.default["transferError"];
|
28
28
|
Schemas.accountsResponse = json_schemas_json_1.default["accountsResponse"];
|
29
29
|
Schemas.errorAccountsResponse = json_schemas_json_1.default["errorAccountsResponse"];
|
30
|
+
Schemas.FspId = json_schemas_json_1.default["FspId"];
|
31
|
+
Schemas.accountDeletionStatus = json_schemas_json_1.default["accountDeletionStatus"];
|
32
|
+
Schemas.accountDeletionState = json_schemas_json_1.default["accountDeletionState"];
|
33
|
+
Schemas.accountDeletionResponse = json_schemas_json_1.default["accountDeletionResponse"];
|
30
34
|
Schemas.TransactionInitiatorType = json_schemas_json_1.default["TransactionInitiatorType"];
|
31
35
|
Schemas.Name = json_schemas_json_1.default["Name"];
|
32
36
|
Schemas.FirstName = json_schemas_json_1.default["FirstName"];
|
@@ -34,7 +38,6 @@ var Schemas;
|
|
34
38
|
Schemas.LastName = json_schemas_json_1.default["LastName"];
|
35
39
|
Schemas.DateOfBirth = json_schemas_json_1.default["DateOfBirth"];
|
36
40
|
Schemas.MerchantClassificationCode = json_schemas_json_1.default["MerchantClassificationCode"];
|
37
|
-
Schemas.FspId = json_schemas_json_1.default["FspId"];
|
38
41
|
Schemas.KYCInformation = json_schemas_json_1.default["KYCInformation"];
|
39
42
|
Schemas.extensionListEmptiable = json_schemas_json_1.default["extensionListEmptiable"];
|
40
43
|
Schemas.transferParty = json_schemas_json_1.default["transferParty"];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/sdk-scheme-adapter/v2_1_0/outbound/schemas.ts"],"names":[],"mappings":";AAAA,oDAAoD;;;;AAEpD,kEAAkE;AAElE,oFAA6C;AAE7C,IAAiB,OAAO,
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../../src/sdk-scheme-adapter/v2_1_0/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AC1C,iBAAS,GAAG,2BAAW,CAAC,WAAW,CAAC,CAAA;IACpC,sCAA8B,GAAG,2BAAW,CAAC,gCAAgC,CAAC,CAAA;IAC9E,kBAAU,GAAG,2BAAW,CAAC,YAAY,CAAC,CAAA;IACtC,0BAAkB,GAAG,2BAAW,CAAC,oBAAoB,CAAC,CAAA;IACtD,uBAAe,GAAG,2BAAW,CAAC,iBAAiB,CAAC,CAAA;IAChD,uCAA+B,GAAG,2BAAW,CAAC,iCAAiC,CAAC,CAAA;AAC/F,CAAC,EA/IgB,OAAO,uBAAP,OAAO,QA+IvB"}
|
@@ -21,6 +21,10 @@ export declare namespace Types {
|
|
21
21
|
type transferError = components['schemas']['transferError'];
|
22
22
|
type accountsResponse = components['schemas']['accountsResponse'];
|
23
23
|
type errorAccountsResponse = components['schemas']['errorAccountsResponse'];
|
24
|
+
type FspId = components['schemas']['FspId'];
|
25
|
+
type accountDeletionStatus = components['schemas']['accountDeletionStatus'];
|
26
|
+
type accountDeletionState = components['schemas']['accountDeletionState'];
|
27
|
+
type accountDeletionResponse = components['schemas']['accountDeletionResponse'];
|
24
28
|
type TransactionInitiatorType = components['schemas']['TransactionInitiatorType'];
|
25
29
|
type Name = components['schemas']['Name'];
|
26
30
|
type FirstName = components['schemas']['FirstName'];
|
@@ -28,7 +32,6 @@ export declare namespace Types {
|
|
28
32
|
type LastName = components['schemas']['LastName'];
|
29
33
|
type DateOfBirth = components['schemas']['DateOfBirth'];
|
30
34
|
type MerchantClassificationCode = components['schemas']['MerchantClassificationCode'];
|
31
|
-
type FspId = components['schemas']['FspId'];
|
32
35
|
type KYCInformation = components['schemas']['KYCInformation'];
|
33
36
|
type extensionListEmptiable = components['schemas']['extensionListEmptiable'];
|
34
37
|
type transferParty = components['schemas']['transferParty'];
|
package/package.json
CHANGED
@@ -1,18 +1,23 @@
|
|
1
1
|
type: object
|
2
2
|
required:
|
3
|
-
-
|
3
|
+
- accountIdType
|
4
|
+
- accountIdValue
|
4
5
|
properties:
|
6
|
+
accountIdType:
|
7
|
+
$ref: ./PartyIdType.yaml
|
8
|
+
accountIdValue:
|
9
|
+
$ref: ./PartyIdentifier.yaml
|
10
|
+
accountSubIdOrType:
|
11
|
+
$ref: ./PartySubIdOrType.yaml
|
5
12
|
modelId:
|
6
13
|
$ref: ./CorrelationId.yaml
|
7
|
-
fspId:
|
8
|
-
$ref: ./FspId.yaml
|
9
14
|
response:
|
10
15
|
$ref: ./accountDeletionStatus.yaml
|
11
16
|
currentState:
|
12
17
|
$ref: ./accountDeletionState.yaml
|
13
18
|
lastError:
|
14
19
|
$ref: ./transferError.yaml
|
15
|
-
|
20
|
+
deleteAccountResponse:
|
16
21
|
type: object
|
17
22
|
required:
|
18
23
|
- body
|