@xyo-network/payment-payload-plugins 3.6.1 → 4.1.0
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/dist/{types → neutral}/Amount/Iso4217Currency.d.ts.map +1 -1
- package/dist/neutral/Amount/Payload.d.ts +25 -0
- package/dist/{types → neutral}/Amount/Payload.d.ts.map +1 -1
- package/dist/neutral/Billing/Address/Address.d.ts +42 -0
- package/dist/{types → neutral}/Billing/Address/Address.d.ts.map +1 -1
- package/dist/{types → neutral}/Discount/Params.d.ts +2 -2
- package/dist/{types → neutral}/Discount/Params.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts +24 -0
- package/dist/{types → neutral}/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts +24 -0
- package/dist/{types → neutral}/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts +24 -0
- package/dist/{types → neutral}/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Coupon/Payload.d.ts +16 -0
- package/dist/neutral/Discount/Payload/Coupon/Payload.d.ts.map +1 -0
- package/dist/neutral/Discount/Payload/Coupon/types/Condition.d.ts +16 -0
- package/dist/{types → neutral}/Discount/Payload/Coupon/types/Condition.d.ts.map +1 -1
- package/dist/neutral/Discount/Payload/Discount.d.ts +23 -0
- package/dist/{types → neutral}/Discount/Payload/Discount.d.ts.map +1 -1
- package/dist/neutral/Escrow/Outcome.d.ts +29 -0
- package/dist/{types → neutral}/Escrow/Outcome.d.ts.map +1 -1
- package/dist/{types → neutral}/Escrow/Terms/Terms.d.ts +4 -10
- package/dist/{types → neutral}/Escrow/Terms/Terms.d.ts.map +1 -1
- package/dist/{types → neutral}/Escrow/util/secret/createEscrowIntent.d.ts +1 -1
- package/dist/{types → neutral}/Escrow/util/secret/createEscrowIntent.d.ts.map +1 -1
- package/dist/{types → neutral}/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts +1 -1
- package/dist/{types → neutral}/Escrow/util/secret/updateEscrowTermsWithSecret.d.ts.map +1 -1
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/spec/moduleInstanceValidators.spec.d.ts +2 -0
- package/dist/neutral/Escrow/validators/common/ModuleInstanceValidators/spec/moduleInstanceValidators.spec.d.ts.map +1 -0
- package/dist/neutral/Escrow/validators/common/SecretValidators/spec/getPartySecretSignedValidator.spec.d.ts +2 -0
- package/dist/neutral/Escrow/validators/common/SecretValidators/spec/getPartySecretSignedValidator.spec.d.ts.map +1 -0
- package/dist/neutral/Payment/Instrument/Card/Payload.d.ts +44 -0
- package/dist/{types → neutral}/Payment/Instrument/Card/Payload.d.ts.map +1 -1
- package/dist/neutral/Payment/Payload.d.ts +30 -0
- package/dist/{types → neutral}/Payment/Payload.d.ts.map +1 -1
- package/dist/neutral/Payment/Status/Payload.d.ts +29 -0
- package/dist/{types → neutral}/Payment/Status/Payload.d.ts.map +1 -1
- package/dist/neutral/Purchase/Payload.d.ts +31 -0
- package/dist/{types → neutral}/Purchase/Payload.d.ts.map +1 -1
- package/dist/neutral/Receipt/Payload.d.ts +30 -0
- package/dist/{types → neutral}/Receipt/Payload.d.ts.map +1 -1
- package/dist/neutral/Subtotal/Diviner/Payload.d.ts +23 -0
- package/dist/{types → neutral}/Subtotal/Diviner/Payload.d.ts.map +1 -1
- package/dist/neutral/Total/Diviner/Payload.d.ts +23 -0
- package/dist/{types → neutral}/Total/Diviner/Payload.d.ts.map +1 -1
- package/dist/neutral/index.d.ts +850 -0
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +26 -26
- package/src/Amount/Iso4217Currency.ts +360 -360
- package/src/Discount/Params.ts +3 -3
- package/src/Discount/Payload/Coupon/Payload.ts +4 -4
- package/dist/types/Amount/Payload.d.ts +0 -31
- package/dist/types/Billing/Address/Address.d.ts +0 -48
- package/dist/types/Discount/Payload/Coupon/Coupons/FixedAmount.d.ts +0 -30
- package/dist/types/Discount/Payload/Coupon/Coupons/FixedPercentage.d.ts +0 -30
- package/dist/types/Discount/Payload/Coupon/Coupons/FixedPrice.d.ts +0 -30
- package/dist/types/Discount/Payload/Coupon/Payload.d.ts +0 -22
- package/dist/types/Discount/Payload/Coupon/Payload.d.ts.map +0 -1
- package/dist/types/Discount/Payload/Coupon/types/Condition.d.ts +0 -22
- package/dist/types/Discount/Payload/Discount.d.ts +0 -29
- package/dist/types/Escrow/Outcome.d.ts +0 -32
- package/dist/types/Payment/Instrument/Card/Payload.d.ts +0 -50
- package/dist/types/Payment/Payload.d.ts +0 -36
- package/dist/types/Payment/Status/Payload.d.ts +0 -35
- package/dist/types/Purchase/Payload.d.ts +0 -37
- package/dist/types/Receipt/Payload.d.ts +0 -36
- package/dist/types/Subtotal/Diviner/Payload.d.ts +0 -29
- package/dist/types/Total/Diviner/Payload.d.ts +0 -29
- package/dist/types/index.d.ts +0 -12
- /package/dist/{types → neutral}/Amount/Iso4217Currency.d.ts +0 -0
- /package/dist/{types → neutral}/Amount/index.d.ts +0 -0
- /package/dist/{types → neutral}/Amount/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Billing/Address/Schema.d.ts +0 -0
- /package/dist/{types → neutral}/Billing/Address/Schema.d.ts.map +0 -0
- /package/dist/{types → neutral}/Billing/Address/index.d.ts +0 -0
- /package/dist/{types → neutral}/Billing/Address/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Billing/Schema.d.ts +0 -0
- /package/dist/{types → neutral}/Billing/Schema.d.ts.map +0 -0
- /package/dist/{types → neutral}/Billing/index.d.ts +0 -0
- /package/dist/{types → neutral}/Billing/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Currency.d.ts +0 -0
- /package/dist/{types → neutral}/Currency.d.ts.map +0 -0
- /package/dist/{types → neutral}/Discount/Config.d.ts +0 -0
- /package/dist/{types → neutral}/Discount/Config.d.ts.map +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/Conditions/AppraisalAmountCondition.d.ts +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/Conditions/AppraisalAmountCondition.d.ts.map +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/Conditions/AssetQuantityCondition.d.ts +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/Conditions/AssetQuantityCondition.d.ts.map +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/Conditions/BuyerCondition.d.ts +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/Conditions/BuyerCondition.d.ts.map +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/Conditions/index.d.ts +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/Conditions/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/Coupons/index.d.ts +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/Coupons/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/Schema.d.ts +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/Schema.d.ts.map +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/index.d.ts +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/types/CouponFields.d.ts +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/types/CouponFields.d.ts.map +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/types/index.d.ts +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/types/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/types/isStackable.d.ts +0 -0
- /package/dist/{types → neutral}/Discount/Payload/Coupon/types/isStackable.d.ts.map +0 -0
- /package/dist/{types → neutral}/Discount/Payload/NoDiscount.d.ts +0 -0
- /package/dist/{types → neutral}/Discount/Payload/NoDiscount.d.ts.map +0 -0
- /package/dist/{types → neutral}/Discount/Payload/index.d.ts +0 -0
- /package/dist/{types → neutral}/Discount/Payload/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Discount/index.d.ts +0 -0
- /package/dist/{types → neutral}/Discount/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/Schema.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/Schema.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/Terms/Party.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/Terms/Party.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/Terms/PartySecret.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/Terms/PartySecret.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/Terms/index.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/Terms/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/index.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/util/appraisal/getAppraisalsByAsset.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/util/appraisal/getAppraisalsByAsset.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/util/appraisal/getSignaturesByAppraisal.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/util/appraisal/getSignaturesByAppraisal.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/util/appraisal/index.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/util/appraisal/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/util/index.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/util/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/util/secret/findEscrowPartySecretSignatures.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/util/secret/findEscrowPartySecretSignatures.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/util/secret/getEscrowSecret.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/util/secret/getEscrowSecret.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/util/secret/index.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/util/secret/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/common/ModuleInstanceValidators/index.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/common/ModuleInstanceValidators/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/common/ModuleInstanceValidators/moduleInstanceValidators.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/common/SecretValidators/getPartySecretSignedValidator.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/common/SecretValidators/index.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/common/SecretValidators/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/common/TemporalValidators/index.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/common/TemporalValidators/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/common/TemporalValidators/validateWithinWindow.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/common/index.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/common/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/agent.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/agent.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/appraisal.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/appraisal.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/appraisalAuthorities.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/appraisalAuthorities.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/assets.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/assets.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/buyer.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/buyer.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/buyerSecret.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/buyerSecret.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/index.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/nbfExp.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/nbfExp.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/paymentAuthorities.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/paymentAuthorities.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/seller.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/seller.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/sellerSecret.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/escrow/sellerSecret.d.ts.map +0 -0
- /package/dist/{types → neutral}/Escrow/validators/index.d.ts +0 -0
- /package/dist/{types → neutral}/Escrow/validators/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Invoice/Invoice.d.ts +0 -0
- /package/dist/{types → neutral}/Invoice/Invoice.d.ts.map +0 -0
- /package/dist/{types → neutral}/Invoice/index.d.ts +0 -0
- /package/dist/{types → neutral}/Invoice/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Payment/Instrument/Card/Schema.d.ts +0 -0
- /package/dist/{types → neutral}/Payment/Instrument/Card/Schema.d.ts.map +0 -0
- /package/dist/{types → neutral}/Payment/Instrument/Card/index.d.ts +0 -0
- /package/dist/{types → neutral}/Payment/Instrument/Card/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Payment/Instrument/Schema.d.ts +0 -0
- /package/dist/{types → neutral}/Payment/Instrument/Schema.d.ts.map +0 -0
- /package/dist/{types → neutral}/Payment/Instrument/index.d.ts +0 -0
- /package/dist/{types → neutral}/Payment/Instrument/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Payment/Schema.d.ts +0 -0
- /package/dist/{types → neutral}/Payment/Schema.d.ts.map +0 -0
- /package/dist/{types → neutral}/Payment/Status/Schema.d.ts +0 -0
- /package/dist/{types → neutral}/Payment/Status/Schema.d.ts.map +0 -0
- /package/dist/{types → neutral}/Payment/Status/index.d.ts +0 -0
- /package/dist/{types → neutral}/Payment/Status/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Payment/index.d.ts +0 -0
- /package/dist/{types → neutral}/Payment/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Purchase/Schema.d.ts +0 -0
- /package/dist/{types → neutral}/Purchase/Schema.d.ts.map +0 -0
- /package/dist/{types → neutral}/Purchase/index.d.ts +0 -0
- /package/dist/{types → neutral}/Purchase/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Receipt/Schema.d.ts +0 -0
- /package/dist/{types → neutral}/Receipt/Schema.d.ts.map +0 -0
- /package/dist/{types → neutral}/Receipt/index.d.ts +0 -0
- /package/dist/{types → neutral}/Receipt/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Schema.d.ts +0 -0
- /package/dist/{types → neutral}/Schema.d.ts.map +0 -0
- /package/dist/{types → neutral}/Subtotal/Diviner/Config.d.ts +0 -0
- /package/dist/{types → neutral}/Subtotal/Diviner/Config.d.ts.map +0 -0
- /package/dist/{types → neutral}/Subtotal/Diviner/Params.d.ts +0 -0
- /package/dist/{types → neutral}/Subtotal/Diviner/Params.d.ts.map +0 -0
- /package/dist/{types → neutral}/Subtotal/Diviner/index.d.ts +0 -0
- /package/dist/{types → neutral}/Subtotal/Diviner/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Subtotal/index.d.ts +0 -0
- /package/dist/{types → neutral}/Subtotal/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Total/Diviner/Config.d.ts +0 -0
- /package/dist/{types → neutral}/Total/Diviner/Config.d.ts.map +0 -0
- /package/dist/{types → neutral}/Total/Diviner/Params.d.ts +0 -0
- /package/dist/{types → neutral}/Total/Diviner/Params.d.ts.map +0 -0
- /package/dist/{types → neutral}/Total/Diviner/index.d.ts +0 -0
- /package/dist/{types → neutral}/Total/Diviner/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/Total/index.d.ts +0 -0
- /package/dist/{types → neutral}/Total/index.d.ts.map +0 -0
- /package/dist/{types → neutral}/index.d.ts.map +0 -0
|
@@ -2,372 +2,372 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* ISO 4217 currency codes
|
|
4
4
|
*/
|
|
5
|
-
export type Iso4217AlphabeticalCode
|
|
6
|
-
'AED'
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
5
|
+
export type Iso4217AlphabeticalCode
|
|
6
|
+
= 'AED'
|
|
7
|
+
| 'AFN'
|
|
8
|
+
| 'ALL'
|
|
9
|
+
| 'AMD'
|
|
10
|
+
| 'ANG'
|
|
11
|
+
| 'AOA'
|
|
12
|
+
| 'ARS'
|
|
13
|
+
| 'AUD'
|
|
14
|
+
| 'AWG'
|
|
15
|
+
| 'AZN'
|
|
16
|
+
| 'BAM'
|
|
17
|
+
| 'BBD'
|
|
18
|
+
| 'BDT'
|
|
19
|
+
| 'BGN'
|
|
20
|
+
| 'BHD'
|
|
21
|
+
| 'BIF'
|
|
22
|
+
| 'BMD'
|
|
23
|
+
| 'BND'
|
|
24
|
+
| 'BOB'
|
|
25
|
+
| 'BOV'
|
|
26
|
+
| 'BRL'
|
|
27
|
+
| 'BSD'
|
|
28
|
+
| 'BTN'
|
|
29
|
+
| 'BWP'
|
|
30
|
+
| 'BYN'
|
|
31
|
+
| 'BZD'
|
|
32
|
+
| 'CAD'
|
|
33
|
+
| 'CDF'
|
|
34
|
+
| 'CHE'
|
|
35
|
+
| 'CHF'
|
|
36
|
+
| 'CHW'
|
|
37
|
+
| 'CLF'
|
|
38
|
+
| 'CLP'
|
|
39
|
+
| 'CNY'
|
|
40
|
+
| 'COP'
|
|
41
|
+
| 'COU'
|
|
42
|
+
| 'CRC'
|
|
43
|
+
| 'CUP'
|
|
44
|
+
| 'CVE'
|
|
45
|
+
| 'CZK'
|
|
46
|
+
| 'DJF'
|
|
47
|
+
| 'DKK'
|
|
48
|
+
| 'DOP'
|
|
49
|
+
| 'DZD'
|
|
50
|
+
| 'EGP'
|
|
51
|
+
| 'ERN'
|
|
52
|
+
| 'ETB'
|
|
53
|
+
| 'EUR'
|
|
54
|
+
| 'FJD'
|
|
55
|
+
| 'FKP'
|
|
56
|
+
| 'GBP'
|
|
57
|
+
| 'GEL'
|
|
58
|
+
| 'GHS'
|
|
59
|
+
| 'GIP'
|
|
60
|
+
| 'GMD'
|
|
61
|
+
| 'GNF'
|
|
62
|
+
| 'GTQ'
|
|
63
|
+
| 'GYD'
|
|
64
|
+
| 'HKD'
|
|
65
|
+
| 'HNL'
|
|
66
|
+
| 'HTG'
|
|
67
|
+
| 'HUF'
|
|
68
|
+
| 'IDR'
|
|
69
|
+
| 'ILS'
|
|
70
|
+
| 'INR'
|
|
71
|
+
| 'IQD'
|
|
72
|
+
| 'IRR'
|
|
73
|
+
| 'ISK'
|
|
74
|
+
| 'JMD'
|
|
75
|
+
| 'JOD'
|
|
76
|
+
| 'JPY'
|
|
77
|
+
| 'KES'
|
|
78
|
+
| 'KGS'
|
|
79
|
+
| 'KHR'
|
|
80
|
+
| 'KMF'
|
|
81
|
+
| 'KPW'
|
|
82
|
+
| 'KRW'
|
|
83
|
+
| 'KWD'
|
|
84
|
+
| 'KYD'
|
|
85
|
+
| 'KZT'
|
|
86
|
+
| 'LAK'
|
|
87
|
+
| 'LBP'
|
|
88
|
+
| 'LKR'
|
|
89
|
+
| 'LRD'
|
|
90
|
+
| 'LSL'
|
|
91
|
+
| 'LYD'
|
|
92
|
+
| 'MAD'
|
|
93
|
+
| 'MDL'
|
|
94
|
+
| 'MGA'
|
|
95
|
+
| 'MKD'
|
|
96
|
+
| 'MMK'
|
|
97
|
+
| 'MNT'
|
|
98
|
+
| 'MOP'
|
|
99
|
+
| 'MRU'
|
|
100
|
+
| 'MUR'
|
|
101
|
+
| 'MVR'
|
|
102
|
+
| 'MWK'
|
|
103
|
+
| 'MXN'
|
|
104
|
+
| 'MXV'
|
|
105
|
+
| 'MYR'
|
|
106
|
+
| 'MZN'
|
|
107
|
+
| 'NAD'
|
|
108
|
+
| 'NGN'
|
|
109
|
+
| 'NIO'
|
|
110
|
+
| 'NOK'
|
|
111
|
+
| 'NPR'
|
|
112
|
+
| 'NZD'
|
|
113
|
+
| 'OMR'
|
|
114
|
+
| 'PAB'
|
|
115
|
+
| 'PEN'
|
|
116
|
+
| 'PGK'
|
|
117
|
+
| 'PHP'
|
|
118
|
+
| 'PKR'
|
|
119
|
+
| 'PLN'
|
|
120
|
+
| 'PYG'
|
|
121
|
+
| 'QAR'
|
|
122
|
+
| 'RON'
|
|
123
|
+
| 'RSD'
|
|
124
|
+
| 'RUB'
|
|
125
|
+
| 'RWF'
|
|
126
|
+
| 'SAR'
|
|
127
|
+
| 'SBD'
|
|
128
|
+
| 'SCR'
|
|
129
|
+
| 'SDG'
|
|
130
|
+
| 'SEK'
|
|
131
|
+
| 'SGD'
|
|
132
|
+
| 'SHP'
|
|
133
|
+
| 'SLE'
|
|
134
|
+
| 'SOS'
|
|
135
|
+
| 'SRD'
|
|
136
|
+
| 'SSP'
|
|
137
|
+
| 'STN'
|
|
138
|
+
| 'SVC'
|
|
139
|
+
| 'SYP'
|
|
140
|
+
| 'SZL'
|
|
141
|
+
| 'THB'
|
|
142
|
+
| 'TJS'
|
|
143
|
+
| 'TMT'
|
|
144
|
+
| 'TND'
|
|
145
|
+
| 'TOP'
|
|
146
|
+
| 'TRY'
|
|
147
|
+
| 'TTD'
|
|
148
|
+
| 'TWD'
|
|
149
|
+
| 'TZS'
|
|
150
|
+
| 'UAH'
|
|
151
|
+
| 'UGX'
|
|
152
|
+
| 'USD'
|
|
153
|
+
| 'USN'
|
|
154
|
+
| 'UYI'
|
|
155
|
+
| 'UYU'
|
|
156
|
+
| 'UYW'
|
|
157
|
+
| 'UZS'
|
|
158
|
+
| 'VED'
|
|
159
|
+
| 'VES'
|
|
160
|
+
| 'VND'
|
|
161
|
+
| 'VUV'
|
|
162
|
+
| 'WST'
|
|
163
|
+
| 'XAF'
|
|
164
|
+
| 'XAG'
|
|
165
|
+
| 'XAU'
|
|
166
|
+
| 'XBA'
|
|
167
|
+
| 'XBB'
|
|
168
|
+
| 'XBC'
|
|
169
|
+
| 'XBD'
|
|
170
|
+
| 'XCD'
|
|
171
|
+
| 'XDR'
|
|
172
|
+
| 'XOF'
|
|
173
|
+
| 'XPD'
|
|
174
|
+
| 'XPF'
|
|
175
|
+
| 'XPT'
|
|
176
|
+
| 'XSU'
|
|
177
|
+
| 'XTS'
|
|
178
|
+
| 'XUA'
|
|
179
|
+
| 'XXX'
|
|
180
|
+
| 'YER'
|
|
181
|
+
| 'ZAR'
|
|
182
|
+
| 'ZMW'
|
|
183
|
+
| 'ZWG'
|
|
184
|
+
| 'ZWL'
|
|
185
185
|
|
|
186
186
|
// TODO: Technically, the values should be 3 digit numbers with leading
|
|
187
187
|
// zeros, so we can padStart if we need to be strict
|
|
188
188
|
/**
|
|
189
189
|
* ISO 4217 numeric currency number codes
|
|
190
190
|
*/
|
|
191
|
-
export type Iso4217NumericCode
|
|
192
|
-
784
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
191
|
+
export type Iso4217NumericCode
|
|
192
|
+
= 784
|
|
193
|
+
| 971
|
|
194
|
+
| 8
|
|
195
|
+
| 51
|
|
196
|
+
| 532
|
|
197
|
+
| 973
|
|
198
|
+
| 32
|
|
199
|
+
| 36
|
|
200
|
+
| 533
|
|
201
|
+
| 944
|
|
202
|
+
| 977
|
|
203
|
+
| 52
|
|
204
|
+
| 50
|
|
205
|
+
| 975
|
|
206
|
+
| 48
|
|
207
|
+
| 108
|
|
208
|
+
| 60
|
|
209
|
+
| 96
|
|
210
|
+
| 68
|
|
211
|
+
| 984
|
|
212
|
+
| 986
|
|
213
|
+
| 44
|
|
214
|
+
| 64
|
|
215
|
+
| 72
|
|
216
|
+
| 933
|
|
217
|
+
| 84
|
|
218
|
+
| 124
|
|
219
|
+
| 976
|
|
220
|
+
| 947
|
|
221
|
+
| 756
|
|
222
|
+
| 948
|
|
223
|
+
| 990
|
|
224
|
+
| 152
|
|
225
|
+
| 156
|
|
226
|
+
| 170
|
|
227
|
+
| 970
|
|
228
|
+
| 188
|
|
229
|
+
| 192
|
|
230
|
+
| 132
|
|
231
|
+
| 203
|
|
232
|
+
| 262
|
|
233
|
+
| 208
|
|
234
|
+
| 214
|
|
235
|
+
| 12
|
|
236
|
+
| 818
|
|
237
|
+
| 232
|
|
238
|
+
| 230
|
|
239
|
+
| 978
|
|
240
|
+
| 242
|
|
241
|
+
| 238
|
|
242
|
+
| 826
|
|
243
|
+
| 981
|
|
244
|
+
| 936
|
|
245
|
+
| 292
|
|
246
|
+
| 270
|
|
247
|
+
| 324
|
|
248
|
+
| 320
|
|
249
|
+
| 328
|
|
250
|
+
| 344
|
|
251
|
+
| 340
|
|
252
|
+
| 332
|
|
253
|
+
| 348
|
|
254
|
+
| 360
|
|
255
|
+
| 376
|
|
256
|
+
| 356
|
|
257
|
+
| 368
|
|
258
|
+
| 364
|
|
259
|
+
| 352
|
|
260
|
+
| 388
|
|
261
|
+
| 400
|
|
262
|
+
| 392
|
|
263
|
+
| 404
|
|
264
|
+
| 417
|
|
265
|
+
| 116
|
|
266
|
+
| 174
|
|
267
|
+
| 408
|
|
268
|
+
| 410
|
|
269
|
+
| 414
|
|
270
|
+
| 136
|
|
271
|
+
| 398
|
|
272
|
+
| 418
|
|
273
|
+
| 422
|
|
274
|
+
| 144
|
|
275
|
+
| 430
|
|
276
|
+
| 426
|
|
277
|
+
| 434
|
|
278
|
+
| 504
|
|
279
|
+
| 498
|
|
280
|
+
| 969
|
|
281
|
+
| 807
|
|
282
|
+
| 104
|
|
283
|
+
| 496
|
|
284
|
+
| 446
|
|
285
|
+
| 929
|
|
286
|
+
| 480
|
|
287
|
+
| 462
|
|
288
|
+
| 454
|
|
289
|
+
| 484
|
|
290
|
+
| 979
|
|
291
|
+
| 458
|
|
292
|
+
| 943
|
|
293
|
+
| 516
|
|
294
|
+
| 566
|
|
295
|
+
| 558
|
|
296
|
+
| 578
|
|
297
|
+
| 524
|
|
298
|
+
| 554
|
|
299
|
+
| 512
|
|
300
|
+
| 590
|
|
301
|
+
| 604
|
|
302
|
+
| 598
|
|
303
|
+
| 608
|
|
304
|
+
| 586
|
|
305
|
+
| 985
|
|
306
|
+
| 600
|
|
307
|
+
| 634
|
|
308
|
+
| 946
|
|
309
|
+
| 941
|
|
310
|
+
| 643
|
|
311
|
+
| 646
|
|
312
|
+
| 682
|
|
313
|
+
| 90
|
|
314
|
+
| 690
|
|
315
|
+
| 938
|
|
316
|
+
| 752
|
|
317
|
+
| 702
|
|
318
|
+
| 654
|
|
319
|
+
| 925
|
|
320
|
+
| 706
|
|
321
|
+
| 968
|
|
322
|
+
| 728
|
|
323
|
+
| 930
|
|
324
|
+
| 222
|
|
325
|
+
| 760
|
|
326
|
+
| 748
|
|
327
|
+
| 764
|
|
328
|
+
| 972
|
|
329
|
+
| 934
|
|
330
|
+
| 788
|
|
331
|
+
| 776
|
|
332
|
+
| 949
|
|
333
|
+
| 780
|
|
334
|
+
| 901
|
|
335
|
+
| 834
|
|
336
|
+
| 980
|
|
337
|
+
| 800
|
|
338
|
+
| 840
|
|
339
|
+
| 997
|
|
340
|
+
| 940
|
|
341
|
+
| 858
|
|
342
|
+
| 927
|
|
343
|
+
| 860
|
|
344
|
+
| 926
|
|
345
|
+
| 928
|
|
346
|
+
| 704
|
|
347
|
+
| 548
|
|
348
|
+
| 882
|
|
349
|
+
| 950
|
|
350
|
+
| 961
|
|
351
|
+
| 959
|
|
352
|
+
| 955
|
|
353
|
+
| 956
|
|
354
|
+
| 957
|
|
355
|
+
| 958
|
|
356
|
+
| 951
|
|
357
|
+
| 960
|
|
358
|
+
| 952
|
|
359
|
+
| 964
|
|
360
|
+
| 953
|
|
361
|
+
| 962
|
|
362
|
+
| 994
|
|
363
|
+
| 963
|
|
364
|
+
| 965
|
|
365
|
+
| 999
|
|
366
|
+
| 886
|
|
367
|
+
| 710
|
|
368
|
+
| 967
|
|
369
|
+
| 924
|
|
370
|
+
| 932
|
|
371
371
|
|
|
372
372
|
/**
|
|
373
373
|
* Dictionary of ISO 4217 alphabetical currency codes to numeric currency number codes
|