@enfuce/nextgen-sdk 0.0.2 → 0.0.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/dist/authorisation-control/api.d.ts +0 -302
- package/dist/authorisation-control/api.js +10 -28
- package/dist/authorisation-control/base.d.ts +0 -24
- package/dist/authorisation-control/base.js +0 -19
- package/dist/authorisation-control/common.d.ts +4 -35
- package/dist/authorisation-control/common.js +16 -38
- package/dist/authorisation-control/configuration.d.ts +24 -17
- package/dist/authorisation-control/configuration.js +3 -3
- package/dist/card/api.d.ts +41 -740
- package/dist/card/api.js +38 -105
- package/dist/card/base.d.ts +0 -24
- package/dist/card/base.js +0 -19
- package/dist/card/common.d.ts +4 -35
- package/dist/card/common.js +16 -38
- package/dist/card/configuration.d.ts +24 -17
- package/dist/card/configuration.js +3 -3
- package/dist/cardholder/api.d.ts +959 -686
- package/dist/cardholder/api.js +783 -73
- package/dist/cardholder/base.d.ts +0 -24
- package/dist/cardholder/base.js +0 -19
- package/dist/cardholder/common.d.ts +4 -35
- package/dist/cardholder/common.js +16 -38
- package/dist/cardholder/configuration.d.ts +24 -17
- package/dist/cardholder/configuration.js +3 -3
- package/dist/cards/api.d.ts +0 -7
- package/dist/cards/api.js +2 -9
- package/dist/cards/base.d.ts +0 -24
- package/dist/cards/base.js +0 -19
- package/dist/cards/common.d.ts +4 -35
- package/dist/cards/common.js +16 -38
- package/dist/cards/configuration.d.ts +24 -17
- package/dist/cards/configuration.js +3 -3
- package/dist/clearing-file-copy/api.d.ts +0 -497
- package/dist/clearing-file-copy/api.js +12 -26
- package/dist/clearing-file-copy/base.d.ts +0 -24
- package/dist/clearing-file-copy/base.js +0 -19
- package/dist/clearing-file-copy/common.d.ts +4 -35
- package/dist/clearing-file-copy/common.js +16 -38
- package/dist/clearing-file-copy/configuration.d.ts +24 -17
- package/dist/clearing-file-copy/configuration.js +3 -3
- package/dist/esm/authorisation-control/api.d.ts +0 -302
- package/dist/esm/authorisation-control/api.js +10 -28
- package/dist/esm/authorisation-control/base.d.ts +0 -24
- package/dist/esm/authorisation-control/base.js +0 -19
- package/dist/esm/authorisation-control/common.d.ts +4 -35
- package/dist/esm/authorisation-control/common.js +14 -37
- package/dist/esm/authorisation-control/configuration.d.ts +24 -17
- package/dist/esm/authorisation-control/configuration.js +3 -3
- package/dist/esm/card/api.d.ts +41 -740
- package/dist/esm/card/api.js +38 -105
- package/dist/esm/card/base.d.ts +0 -24
- package/dist/esm/card/base.js +0 -19
- package/dist/esm/card/common.d.ts +4 -35
- package/dist/esm/card/common.js +14 -37
- package/dist/esm/card/configuration.d.ts +24 -17
- package/dist/esm/card/configuration.js +3 -3
- package/dist/esm/cardholder/api.d.ts +959 -686
- package/dist/esm/cardholder/api.js +782 -72
- package/dist/esm/cardholder/base.d.ts +0 -24
- package/dist/esm/cardholder/base.js +0 -19
- package/dist/esm/cardholder/common.d.ts +4 -35
- package/dist/esm/cardholder/common.js +14 -37
- package/dist/esm/cardholder/configuration.d.ts +24 -17
- package/dist/esm/cardholder/configuration.js +3 -3
- package/dist/esm/cards/api.d.ts +0 -7
- package/dist/esm/cards/api.js +2 -9
- package/dist/esm/cards/base.d.ts +0 -24
- package/dist/esm/cards/base.js +0 -19
- package/dist/esm/cards/common.d.ts +4 -35
- package/dist/esm/cards/common.js +14 -37
- package/dist/esm/cards/configuration.d.ts +24 -17
- package/dist/esm/cards/configuration.js +3 -3
- package/dist/esm/clearing-file-copy/api.d.ts +0 -497
- package/dist/esm/clearing-file-copy/api.js +12 -26
- package/dist/esm/clearing-file-copy/base.d.ts +0 -24
- package/dist/esm/clearing-file-copy/base.js +0 -19
- package/dist/esm/clearing-file-copy/common.d.ts +4 -35
- package/dist/esm/clearing-file-copy/common.js +14 -37
- package/dist/esm/clearing-file-copy/configuration.d.ts +24 -17
- package/dist/esm/clearing-file-copy/configuration.js +3 -3
- package/dist/esm/exchange-rate/api.d.ts +409 -0
- package/dist/esm/exchange-rate/api.js +403 -0
- package/dist/esm/exchange-rate/base.d.ts +42 -0
- package/dist/esm/exchange-rate/base.js +41 -0
- package/dist/esm/exchange-rate/common.d.ts +34 -0
- package/dist/esm/exchange-rate/common.js +126 -0
- package/dist/esm/exchange-rate/configuration.d.ts +98 -0
- package/dist/esm/exchange-rate/configuration.js +40 -0
- package/dist/esm/exchange-rate/index.d.ts +13 -0
- package/dist/esm/exchange-rate/index.js +15 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/issuer-events/api.d.ts +639 -601
- package/dist/esm/issuer-events/api.js +520 -54
- package/dist/esm/issuer-events/base.d.ts +0 -24
- package/dist/esm/issuer-events/base.js +0 -19
- package/dist/esm/issuer-events/common.d.ts +4 -35
- package/dist/esm/issuer-events/common.js +14 -37
- package/dist/esm/issuer-events/configuration.d.ts +24 -17
- package/dist/esm/issuer-events/configuration.js +3 -3
- package/dist/esm/pin/api.d.ts +0 -76
- package/dist/esm/pin/api.js +3 -15
- package/dist/esm/pin/base.d.ts +0 -24
- package/dist/esm/pin/base.js +0 -19
- package/dist/esm/pin/common.d.ts +4 -35
- package/dist/esm/pin/common.js +14 -37
- package/dist/esm/pin/configuration.d.ts +24 -17
- package/dist/esm/pin/configuration.js +3 -3
- package/dist/esm/threeds/api.d.ts +0 -18
- package/dist/esm/threeds/api.js +1 -8
- package/dist/esm/threeds/base.d.ts +0 -24
- package/dist/esm/threeds/base.js +0 -19
- package/dist/esm/threeds/common.d.ts +4 -35
- package/dist/esm/threeds/common.js +14 -37
- package/dist/esm/threeds/configuration.d.ts +24 -17
- package/dist/esm/threeds/configuration.js +3 -3
- package/dist/esm/threeds-oob/api.d.ts +0 -90
- package/dist/esm/threeds-oob/api.js +2 -9
- package/dist/esm/threeds-oob/base.d.ts +0 -24
- package/dist/esm/threeds-oob/base.js +0 -19
- package/dist/esm/threeds-oob/common.d.ts +4 -35
- package/dist/esm/threeds-oob/common.js +14 -37
- package/dist/esm/threeds-oob/configuration.d.ts +24 -17
- package/dist/esm/threeds-oob/configuration.js +3 -3
- package/dist/esm/transaction-event/api.d.ts +0 -452
- package/dist/esm/transaction-event/api.js +11 -27
- package/dist/esm/transaction-event/base.d.ts +0 -24
- package/dist/esm/transaction-event/base.js +0 -19
- package/dist/esm/transaction-event/common.d.ts +4 -35
- package/dist/esm/transaction-event/common.js +14 -37
- package/dist/esm/transaction-event/configuration.d.ts +24 -17
- package/dist/esm/transaction-event/configuration.js +3 -3
- package/dist/esm/wallet/api.d.ts +0 -342
- package/dist/esm/wallet/api.js +29 -83
- package/dist/esm/wallet/base.d.ts +0 -24
- package/dist/esm/wallet/base.js +0 -19
- package/dist/esm/wallet/common.d.ts +4 -35
- package/dist/esm/wallet/common.js +14 -37
- package/dist/esm/wallet/configuration.d.ts +24 -17
- package/dist/esm/wallet/configuration.js +3 -3
- package/dist/exchange-rate/api.d.ts +409 -0
- package/dist/exchange-rate/api.js +418 -0
- package/dist/exchange-rate/base.d.ts +42 -0
- package/dist/exchange-rate/base.js +46 -0
- package/dist/exchange-rate/common.d.ts +34 -0
- package/dist/exchange-rate/common.js +139 -0
- package/dist/exchange-rate/configuration.d.ts +98 -0
- package/dist/exchange-rate/configuration.js +44 -0
- package/dist/exchange-rate/index.d.ts +13 -0
- package/dist/exchange-rate/index.js +31 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/issuer-events/api.d.ts +639 -601
- package/dist/issuer-events/api.js +521 -55
- package/dist/issuer-events/base.d.ts +0 -24
- package/dist/issuer-events/base.js +0 -19
- package/dist/issuer-events/common.d.ts +4 -35
- package/dist/issuer-events/common.js +16 -38
- package/dist/issuer-events/configuration.d.ts +24 -17
- package/dist/issuer-events/configuration.js +3 -3
- package/dist/pin/api.d.ts +0 -76
- package/dist/pin/api.js +3 -15
- package/dist/pin/base.d.ts +0 -24
- package/dist/pin/base.js +0 -19
- package/dist/pin/common.d.ts +4 -35
- package/dist/pin/common.js +16 -38
- package/dist/pin/configuration.d.ts +24 -17
- package/dist/pin/configuration.js +3 -3
- package/dist/threeds/api.d.ts +0 -18
- package/dist/threeds/api.js +1 -8
- package/dist/threeds/base.d.ts +0 -24
- package/dist/threeds/base.js +0 -19
- package/dist/threeds/common.d.ts +4 -35
- package/dist/threeds/common.js +16 -38
- package/dist/threeds/configuration.d.ts +24 -17
- package/dist/threeds/configuration.js +3 -3
- package/dist/threeds-oob/api.d.ts +0 -90
- package/dist/threeds-oob/api.js +2 -9
- package/dist/threeds-oob/base.d.ts +0 -24
- package/dist/threeds-oob/base.js +0 -19
- package/dist/threeds-oob/common.d.ts +4 -35
- package/dist/threeds-oob/common.js +16 -38
- package/dist/threeds-oob/configuration.d.ts +24 -17
- package/dist/threeds-oob/configuration.js +3 -3
- package/dist/transaction-event/api.d.ts +0 -452
- package/dist/transaction-event/api.js +11 -27
- package/dist/transaction-event/base.d.ts +0 -24
- package/dist/transaction-event/base.js +0 -19
- package/dist/transaction-event/common.d.ts +4 -35
- package/dist/transaction-event/common.js +16 -38
- package/dist/transaction-event/configuration.d.ts +24 -17
- package/dist/transaction-event/configuration.js +3 -3
- package/dist/wallet/api.d.ts +0 -342
- package/dist/wallet/api.js +29 -83
- package/dist/wallet/base.d.ts +0 -24
- package/dist/wallet/base.js +0 -19
- package/dist/wallet/common.d.ts +4 -35
- package/dist/wallet/common.js +16 -38
- package/dist/wallet/configuration.d.ts +24 -17
- package/dist/wallet/configuration.js +3 -3
- package/package.json +2 -2
- package/src/authorisation-control/api.ts +11 -314
- package/src/authorisation-control/base.ts +0 -24
- package/src/authorisation-control/common.ts +15 -38
- package/src/authorisation-control/configuration.ts +26 -20
- package/src/card/api.ts +80 -786
- package/src/card/base.ts +0 -24
- package/src/card/common.ts +15 -38
- package/src/card/configuration.ts +26 -20
- package/src/cardholder/api.ts +987 -714
- package/src/cardholder/base.ts +0 -24
- package/src/cardholder/common.ts +15 -38
- package/src/cardholder/configuration.ts +26 -20
- package/src/cards/api.ts +3 -11
- package/src/cards/base.ts +0 -24
- package/src/cards/common.ts +15 -38
- package/src/cards/configuration.ts +26 -20
- package/src/clearing-file-copy/api.ts +13 -510
- package/src/clearing-file-copy/base.ts +0 -24
- package/src/clearing-file-copy/common.ts +15 -38
- package/src/clearing-file-copy/configuration.ts +26 -20
- package/src/exchange-rate/api.ts +615 -0
- package/src/exchange-rate/base.ts +62 -0
- package/src/exchange-rate/common.ts +127 -0
- package/src/exchange-rate/configuration.ts +121 -0
- package/src/exchange-rate/index.ts +18 -0
- package/src/index.ts +1 -0
- package/src/issuer-events/api.ts +661 -628
- package/src/issuer-events/base.ts +0 -24
- package/src/issuer-events/common.ts +15 -38
- package/src/issuer-events/configuration.ts +26 -20
- package/src/pin/api.ts +4 -83
- package/src/pin/base.ts +0 -24
- package/src/pin/common.ts +15 -38
- package/src/pin/configuration.ts +26 -20
- package/src/threeds/api.ts +2 -22
- package/src/threeds/base.ts +0 -24
- package/src/threeds/common.ts +15 -38
- package/src/threeds/configuration.ts +26 -20
- package/src/threeds-oob/api.ts +3 -95
- package/src/threeds-oob/base.ts +0 -24
- package/src/threeds-oob/common.ts +15 -38
- package/src/threeds-oob/configuration.ts +26 -20
- package/src/transaction-event/api.ts +12 -464
- package/src/transaction-event/base.ts +0 -24
- package/src/transaction-event/common.ts +15 -38
- package/src/transaction-event/configuration.ts +26 -20
- package/src/wallet/api.ts +30 -377
- package/src/wallet/base.ts +0 -24
- package/src/wallet/common.ts +15 -38
- package/src/wallet/configuration.ts +26 -20
|
@@ -28,18 +28,14 @@ import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchPara
|
|
|
28
28
|
import { BASE_PATH, BaseAPI, operationServerMap } from './base';
|
|
29
29
|
/**
|
|
30
30
|
* The type of card defined by this card configuration.
|
|
31
|
-
* @export
|
|
32
|
-
* @enum {string}
|
|
33
31
|
*/
|
|
34
32
|
export const CardConfigurationType = {
|
|
35
33
|
Debit: 'DEBIT',
|
|
36
34
|
Credit: 'CREDIT',
|
|
37
|
-
Combo: 'COMBO'
|
|
35
|
+
Combo: 'COMBO',
|
|
38
36
|
};
|
|
39
37
|
/**
|
|
40
38
|
* Select the type of delivery you prefer for the new card being created. - MAIL - The card would be sent via mail services. - COURIER - The card would be sent via courier services. - CUSTOM_1–CUSTOM_5 - Custom delivery types that can be used for shipping methods agreed between the customer and the bureau.
|
|
41
|
-
* @export
|
|
42
|
-
* @enum {string}
|
|
43
39
|
*/
|
|
44
40
|
export const CardDeliveryType = {
|
|
45
41
|
Mail: 'MAIL',
|
|
@@ -48,30 +44,21 @@ export const CardDeliveryType = {
|
|
|
48
44
|
Custom2: 'CUSTOM_2',
|
|
49
45
|
Custom3: 'CUSTOM_3',
|
|
50
46
|
Custom4: 'CUSTOM_4',
|
|
51
|
-
Custom5: 'CUSTOM_5'
|
|
47
|
+
Custom5: 'CUSTOM_5',
|
|
52
48
|
};
|
|
53
49
|
/**
|
|
54
50
|
* The role of the card. Multi application cards will have one main card and multiple card applications. Single cards will be treated as main cards.
|
|
55
|
-
* @export
|
|
56
|
-
* @enum {string}
|
|
57
51
|
*/
|
|
58
52
|
export const CardRole = {
|
|
59
53
|
MainCard: 'MAIN_CARD',
|
|
60
|
-
CardApplication: 'CARD_APPLICATION'
|
|
54
|
+
CardApplication: 'CARD_APPLICATION',
|
|
61
55
|
};
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @export
|
|
65
|
-
* @enum {string}
|
|
66
|
-
*/
|
|
67
56
|
export const CardScheme = {
|
|
68
57
|
Mastercard: 'MASTERCARD',
|
|
69
|
-
Visa: 'VISA'
|
|
58
|
+
Visa: 'VISA',
|
|
70
59
|
};
|
|
71
60
|
/**
|
|
72
61
|
* - ACTIVE - Card is active and is enabled for normal usage. - BLOCKED - Card is temporarily blocked. - BLOCKED_SUSPECTED_FRAUD - Card is temporarily blocked due to suspected fraud. - CLOSED_DUE_TO_FRAUD - Card has been closed due to fraud. - CLOSED_LOST - Card has been closed due to being lost. - CLOSED_STOLEN - Card has been closed due to being stolen. - CLOSED - Card has been manually closed. - CLOSED_EXPIRED - Card has no active or initial card versions and cannot be used.
|
|
73
|
-
* @export
|
|
74
|
-
* @enum {string}
|
|
75
62
|
*/
|
|
76
63
|
export const CardStatus = {
|
|
77
64
|
Active: 'ACTIVE',
|
|
@@ -81,24 +68,525 @@ export const CardStatus = {
|
|
|
81
68
|
ClosedLost: 'CLOSED_LOST',
|
|
82
69
|
ClosedStolen: 'CLOSED_STOLEN',
|
|
83
70
|
Closed: 'CLOSED',
|
|
84
|
-
ClosedExpired: 'CLOSED_EXPIRED'
|
|
71
|
+
ClosedExpired: 'CLOSED_EXPIRED',
|
|
85
72
|
};
|
|
86
73
|
/**
|
|
87
74
|
* - ACTIVE - The card is completely operational. You can perform all actions with the card. - INITIAL - The specific card version is awaiting activation. During this state, the card can have limited usage, such as being added to a digital wallet or cardholder can view the PIN (if it is a plastic card). However, in the INITIAL state, the card cannot be used for payments. - CLOSED - The previous versions of the card are no longer valid as a new version is activated or the card is closed.
|
|
88
|
-
* @export
|
|
89
|
-
* @enum {string}
|
|
90
75
|
*/
|
|
91
76
|
export const CardVersionStatus = {
|
|
92
77
|
Active: 'ACTIVE',
|
|
93
78
|
Initial: 'INITIAL',
|
|
94
|
-
Closed: 'CLOSED'
|
|
79
|
+
Closed: 'CLOSED',
|
|
80
|
+
};
|
|
81
|
+
export const CardholderResponseNationalityEnum = {
|
|
82
|
+
Abw: 'ABW',
|
|
83
|
+
Afg: 'AFG',
|
|
84
|
+
Ago: 'AGO',
|
|
85
|
+
Aia: 'AIA',
|
|
86
|
+
Ala: 'ALA',
|
|
87
|
+
Alb: 'ALB',
|
|
88
|
+
And: 'AND',
|
|
89
|
+
Are: 'ARE',
|
|
90
|
+
Arg: 'ARG',
|
|
91
|
+
Arm: 'ARM',
|
|
92
|
+
Asm: 'ASM',
|
|
93
|
+
Ata: 'ATA',
|
|
94
|
+
Atf: 'ATF',
|
|
95
|
+
Atg: 'ATG',
|
|
96
|
+
Aus: 'AUS',
|
|
97
|
+
Aut: 'AUT',
|
|
98
|
+
Aze: 'AZE',
|
|
99
|
+
Bdi: 'BDI',
|
|
100
|
+
Bel: 'BEL',
|
|
101
|
+
Ben: 'BEN',
|
|
102
|
+
Bes: 'BES',
|
|
103
|
+
Bfa: 'BFA',
|
|
104
|
+
Bgd: 'BGD',
|
|
105
|
+
Bgr: 'BGR',
|
|
106
|
+
Bhr: 'BHR',
|
|
107
|
+
Bhs: 'BHS',
|
|
108
|
+
Bih: 'BIH',
|
|
109
|
+
Blm: 'BLM',
|
|
110
|
+
Blr: 'BLR',
|
|
111
|
+
Blz: 'BLZ',
|
|
112
|
+
Bmu: 'BMU',
|
|
113
|
+
Bol: 'BOL',
|
|
114
|
+
Bra: 'BRA',
|
|
115
|
+
Brb: 'BRB',
|
|
116
|
+
Brn: 'BRN',
|
|
117
|
+
Btn: 'BTN',
|
|
118
|
+
Bvt: 'BVT',
|
|
119
|
+
Bwa: 'BWA',
|
|
120
|
+
Caf: 'CAF',
|
|
121
|
+
Can: 'CAN',
|
|
122
|
+
Cck: 'CCK',
|
|
123
|
+
Che: 'CHE',
|
|
124
|
+
Chl: 'CHL',
|
|
125
|
+
Chn: 'CHN',
|
|
126
|
+
Civ: 'CIV',
|
|
127
|
+
Cmr: 'CMR',
|
|
128
|
+
Cod: 'COD',
|
|
129
|
+
Cog: 'COG',
|
|
130
|
+
Cok: 'COK',
|
|
131
|
+
Col: 'COL',
|
|
132
|
+
Com: 'COM',
|
|
133
|
+
Cpv: 'CPV',
|
|
134
|
+
Cri: 'CRI',
|
|
135
|
+
Cub: 'CUB',
|
|
136
|
+
Cuw: 'CUW',
|
|
137
|
+
Cxr: 'CXR',
|
|
138
|
+
Cym: 'CYM',
|
|
139
|
+
Cyp: 'CYP',
|
|
140
|
+
Cze: 'CZE',
|
|
141
|
+
Deu: 'DEU',
|
|
142
|
+
Dji: 'DJI',
|
|
143
|
+
Dma: 'DMA',
|
|
144
|
+
Dnk: 'DNK',
|
|
145
|
+
Dom: 'DOM',
|
|
146
|
+
Dza: 'DZA',
|
|
147
|
+
Ecu: 'ECU',
|
|
148
|
+
Egy: 'EGY',
|
|
149
|
+
Eri: 'ERI',
|
|
150
|
+
Esh: 'ESH',
|
|
151
|
+
Esp: 'ESP',
|
|
152
|
+
Est: 'EST',
|
|
153
|
+
Eth: 'ETH',
|
|
154
|
+
Fin: 'FIN',
|
|
155
|
+
Fji: 'FJI',
|
|
156
|
+
Flk: 'FLK',
|
|
157
|
+
Fra: 'FRA',
|
|
158
|
+
Fro: 'FRO',
|
|
159
|
+
Fsm: 'FSM',
|
|
160
|
+
Gab: 'GAB',
|
|
161
|
+
Gbr: 'GBR',
|
|
162
|
+
Geo: 'GEO',
|
|
163
|
+
Ggy: 'GGY',
|
|
164
|
+
Gha: 'GHA',
|
|
165
|
+
Gib: 'GIB',
|
|
166
|
+
Gin: 'GIN',
|
|
167
|
+
Glp: 'GLP',
|
|
168
|
+
Gmb: 'GMB',
|
|
169
|
+
Gnb: 'GNB',
|
|
170
|
+
Gnq: 'GNQ',
|
|
171
|
+
Grc: 'GRC',
|
|
172
|
+
Grd: 'GRD',
|
|
173
|
+
Grl: 'GRL',
|
|
174
|
+
Gtm: 'GTM',
|
|
175
|
+
Guf: 'GUF',
|
|
176
|
+
Gum: 'GUM',
|
|
177
|
+
Guy: 'GUY',
|
|
178
|
+
Hkg: 'HKG',
|
|
179
|
+
Hmd: 'HMD',
|
|
180
|
+
Hnd: 'HND',
|
|
181
|
+
Hrv: 'HRV',
|
|
182
|
+
Hti: 'HTI',
|
|
183
|
+
Hun: 'HUN',
|
|
184
|
+
Idn: 'IDN',
|
|
185
|
+
Imn: 'IMN',
|
|
186
|
+
Ind: 'IND',
|
|
187
|
+
Iot: 'IOT',
|
|
188
|
+
Irl: 'IRL',
|
|
189
|
+
Irn: 'IRN',
|
|
190
|
+
Irq: 'IRQ',
|
|
191
|
+
Isl: 'ISL',
|
|
192
|
+
Isr: 'ISR',
|
|
193
|
+
Ita: 'ITA',
|
|
194
|
+
Jam: 'JAM',
|
|
195
|
+
Jey: 'JEY',
|
|
196
|
+
Jor: 'JOR',
|
|
197
|
+
Jpn: 'JPN',
|
|
198
|
+
Kaz: 'KAZ',
|
|
199
|
+
Ken: 'KEN',
|
|
200
|
+
Kgz: 'KGZ',
|
|
201
|
+
Khm: 'KHM',
|
|
202
|
+
Kir: 'KIR',
|
|
203
|
+
Kna: 'KNA',
|
|
204
|
+
Kor: 'KOR',
|
|
205
|
+
Kwt: 'KWT',
|
|
206
|
+
Lao: 'LAO',
|
|
207
|
+
Lbn: 'LBN',
|
|
208
|
+
Lbr: 'LBR',
|
|
209
|
+
Lby: 'LBY',
|
|
210
|
+
Lca: 'LCA',
|
|
211
|
+
Lie: 'LIE',
|
|
212
|
+
Lka: 'LKA',
|
|
213
|
+
Lso: 'LSO',
|
|
214
|
+
Ltu: 'LTU',
|
|
215
|
+
Lux: 'LUX',
|
|
216
|
+
Lva: 'LVA',
|
|
217
|
+
Mac: 'MAC',
|
|
218
|
+
Maf: 'MAF',
|
|
219
|
+
Mar: 'MAR',
|
|
220
|
+
Mco: 'MCO',
|
|
221
|
+
Mda: 'MDA',
|
|
222
|
+
Mdg: 'MDG',
|
|
223
|
+
Mdv: 'MDV',
|
|
224
|
+
Mex: 'MEX',
|
|
225
|
+
Mhl: 'MHL',
|
|
226
|
+
Mkd: 'MKD',
|
|
227
|
+
Mli: 'MLI',
|
|
228
|
+
Mlt: 'MLT',
|
|
229
|
+
Mmr: 'MMR',
|
|
230
|
+
Mne: 'MNE',
|
|
231
|
+
Mng: 'MNG',
|
|
232
|
+
Mnp: 'MNP',
|
|
233
|
+
Moz: 'MOZ',
|
|
234
|
+
Mrt: 'MRT',
|
|
235
|
+
Msr: 'MSR',
|
|
236
|
+
Mtq: 'MTQ',
|
|
237
|
+
Mus: 'MUS',
|
|
238
|
+
Mwi: 'MWI',
|
|
239
|
+
Mys: 'MYS',
|
|
240
|
+
Myt: 'MYT',
|
|
241
|
+
Nam: 'NAM',
|
|
242
|
+
Ncl: 'NCL',
|
|
243
|
+
Ner: 'NER',
|
|
244
|
+
Nfk: 'NFK',
|
|
245
|
+
Nga: 'NGA',
|
|
246
|
+
Nic: 'NIC',
|
|
247
|
+
Niu: 'NIU',
|
|
248
|
+
Nld: 'NLD',
|
|
249
|
+
Nor: 'NOR',
|
|
250
|
+
Npl: 'NPL',
|
|
251
|
+
Nru: 'NRU',
|
|
252
|
+
Nzl: 'NZL',
|
|
253
|
+
Omn: 'OMN',
|
|
254
|
+
Pak: 'PAK',
|
|
255
|
+
Pan: 'PAN',
|
|
256
|
+
Pcn: 'PCN',
|
|
257
|
+
Per: 'PER',
|
|
258
|
+
Phl: 'PHL',
|
|
259
|
+
Plw: 'PLW',
|
|
260
|
+
Png: 'PNG',
|
|
261
|
+
Pol: 'POL',
|
|
262
|
+
Pri: 'PRI',
|
|
263
|
+
Prk: 'PRK',
|
|
264
|
+
Prt: 'PRT',
|
|
265
|
+
Pry: 'PRY',
|
|
266
|
+
Pse: 'PSE',
|
|
267
|
+
Pyf: 'PYF',
|
|
268
|
+
Qat: 'QAT',
|
|
269
|
+
Reu: 'REU',
|
|
270
|
+
Rou: 'ROU',
|
|
271
|
+
Rus: 'RUS',
|
|
272
|
+
Rwa: 'RWA',
|
|
273
|
+
Sau: 'SAU',
|
|
274
|
+
Sdn: 'SDN',
|
|
275
|
+
Sen: 'SEN',
|
|
276
|
+
Sgp: 'SGP',
|
|
277
|
+
Sgs: 'SGS',
|
|
278
|
+
Shn: 'SHN',
|
|
279
|
+
Sjm: 'SJM',
|
|
280
|
+
Slb: 'SLB',
|
|
281
|
+
Sle: 'SLE',
|
|
282
|
+
Slv: 'SLV',
|
|
283
|
+
Smr: 'SMR',
|
|
284
|
+
Som: 'SOM',
|
|
285
|
+
Spm: 'SPM',
|
|
286
|
+
Srb: 'SRB',
|
|
287
|
+
Ssd: 'SSD',
|
|
288
|
+
Stp: 'STP',
|
|
289
|
+
Sur: 'SUR',
|
|
290
|
+
Svk: 'SVK',
|
|
291
|
+
Svn: 'SVN',
|
|
292
|
+
Swe: 'SWE',
|
|
293
|
+
Swz: 'SWZ',
|
|
294
|
+
Sxm: 'SXM',
|
|
295
|
+
Syc: 'SYC',
|
|
296
|
+
Syr: 'SYR',
|
|
297
|
+
Tca: 'TCA',
|
|
298
|
+
Tcd: 'TCD',
|
|
299
|
+
Tgo: 'TGO',
|
|
300
|
+
Tha: 'THA',
|
|
301
|
+
Tjk: 'TJK',
|
|
302
|
+
Tkl: 'TKL',
|
|
303
|
+
Tkm: 'TKM',
|
|
304
|
+
Tls: 'TLS',
|
|
305
|
+
Ton: 'TON',
|
|
306
|
+
Tto: 'TTO',
|
|
307
|
+
Tun: 'TUN',
|
|
308
|
+
Tur: 'TUR',
|
|
309
|
+
Tuv: 'TUV',
|
|
310
|
+
Twn: 'TWN',
|
|
311
|
+
Tza: 'TZA',
|
|
312
|
+
Uga: 'UGA',
|
|
313
|
+
Ukr: 'UKR',
|
|
314
|
+
Umi: 'UMI',
|
|
315
|
+
Ury: 'URY',
|
|
316
|
+
Usa: 'USA',
|
|
317
|
+
Uzb: 'UZB',
|
|
318
|
+
Vat: 'VAT',
|
|
319
|
+
Vct: 'VCT',
|
|
320
|
+
Ven: 'VEN',
|
|
321
|
+
Vgb: 'VGB',
|
|
322
|
+
Vir: 'VIR',
|
|
323
|
+
Vnm: 'VNM',
|
|
324
|
+
Vut: 'VUT',
|
|
325
|
+
Wlf: 'WLF',
|
|
326
|
+
Wsm: 'WSM',
|
|
327
|
+
Yem: 'YEM',
|
|
328
|
+
Zaf: 'ZAF',
|
|
329
|
+
Zmb: 'ZMB',
|
|
330
|
+
Zwe: 'ZWE',
|
|
331
|
+
Xkx: 'XKX',
|
|
332
|
+
Xxx: 'XXX',
|
|
333
|
+
};
|
|
334
|
+
/**
|
|
335
|
+
* ISO 3166-1 alpha-3 country codes. XKX is used for the Kosovo.
|
|
336
|
+
*/
|
|
337
|
+
export const CountryCodesAlpha3 = {
|
|
338
|
+
Abw: 'ABW',
|
|
339
|
+
Afg: 'AFG',
|
|
340
|
+
Ago: 'AGO',
|
|
341
|
+
Aia: 'AIA',
|
|
342
|
+
Ala: 'ALA',
|
|
343
|
+
Alb: 'ALB',
|
|
344
|
+
And: 'AND',
|
|
345
|
+
Are: 'ARE',
|
|
346
|
+
Arg: 'ARG',
|
|
347
|
+
Arm: 'ARM',
|
|
348
|
+
Asm: 'ASM',
|
|
349
|
+
Ata: 'ATA',
|
|
350
|
+
Atf: 'ATF',
|
|
351
|
+
Atg: 'ATG',
|
|
352
|
+
Aus: 'AUS',
|
|
353
|
+
Aut: 'AUT',
|
|
354
|
+
Aze: 'AZE',
|
|
355
|
+
Bdi: 'BDI',
|
|
356
|
+
Bel: 'BEL',
|
|
357
|
+
Ben: 'BEN',
|
|
358
|
+
Bes: 'BES',
|
|
359
|
+
Bfa: 'BFA',
|
|
360
|
+
Bgd: 'BGD',
|
|
361
|
+
Bgr: 'BGR',
|
|
362
|
+
Bhr: 'BHR',
|
|
363
|
+
Bhs: 'BHS',
|
|
364
|
+
Bih: 'BIH',
|
|
365
|
+
Blm: 'BLM',
|
|
366
|
+
Blr: 'BLR',
|
|
367
|
+
Blz: 'BLZ',
|
|
368
|
+
Bmu: 'BMU',
|
|
369
|
+
Bol: 'BOL',
|
|
370
|
+
Bra: 'BRA',
|
|
371
|
+
Brb: 'BRB',
|
|
372
|
+
Brn: 'BRN',
|
|
373
|
+
Btn: 'BTN',
|
|
374
|
+
Bvt: 'BVT',
|
|
375
|
+
Bwa: 'BWA',
|
|
376
|
+
Caf: 'CAF',
|
|
377
|
+
Can: 'CAN',
|
|
378
|
+
Cck: 'CCK',
|
|
379
|
+
Che: 'CHE',
|
|
380
|
+
Chl: 'CHL',
|
|
381
|
+
Chn: 'CHN',
|
|
382
|
+
Civ: 'CIV',
|
|
383
|
+
Cmr: 'CMR',
|
|
384
|
+
Cod: 'COD',
|
|
385
|
+
Cog: 'COG',
|
|
386
|
+
Cok: 'COK',
|
|
387
|
+
Col: 'COL',
|
|
388
|
+
Com: 'COM',
|
|
389
|
+
Cpv: 'CPV',
|
|
390
|
+
Cri: 'CRI',
|
|
391
|
+
Cub: 'CUB',
|
|
392
|
+
Cuw: 'CUW',
|
|
393
|
+
Cxr: 'CXR',
|
|
394
|
+
Cym: 'CYM',
|
|
395
|
+
Cyp: 'CYP',
|
|
396
|
+
Cze: 'CZE',
|
|
397
|
+
Deu: 'DEU',
|
|
398
|
+
Dji: 'DJI',
|
|
399
|
+
Dma: 'DMA',
|
|
400
|
+
Dnk: 'DNK',
|
|
401
|
+
Dom: 'DOM',
|
|
402
|
+
Dza: 'DZA',
|
|
403
|
+
Ecu: 'ECU',
|
|
404
|
+
Egy: 'EGY',
|
|
405
|
+
Eri: 'ERI',
|
|
406
|
+
Esh: 'ESH',
|
|
407
|
+
Esp: 'ESP',
|
|
408
|
+
Est: 'EST',
|
|
409
|
+
Eth: 'ETH',
|
|
410
|
+
Fin: 'FIN',
|
|
411
|
+
Fji: 'FJI',
|
|
412
|
+
Flk: 'FLK',
|
|
413
|
+
Fra: 'FRA',
|
|
414
|
+
Fro: 'FRO',
|
|
415
|
+
Fsm: 'FSM',
|
|
416
|
+
Gab: 'GAB',
|
|
417
|
+
Gbr: 'GBR',
|
|
418
|
+
Geo: 'GEO',
|
|
419
|
+
Ggy: 'GGY',
|
|
420
|
+
Gha: 'GHA',
|
|
421
|
+
Gib: 'GIB',
|
|
422
|
+
Gin: 'GIN',
|
|
423
|
+
Glp: 'GLP',
|
|
424
|
+
Gmb: 'GMB',
|
|
425
|
+
Gnb: 'GNB',
|
|
426
|
+
Gnq: 'GNQ',
|
|
427
|
+
Grc: 'GRC',
|
|
428
|
+
Grd: 'GRD',
|
|
429
|
+
Grl: 'GRL',
|
|
430
|
+
Gtm: 'GTM',
|
|
431
|
+
Guf: 'GUF',
|
|
432
|
+
Gum: 'GUM',
|
|
433
|
+
Guy: 'GUY',
|
|
434
|
+
Hkg: 'HKG',
|
|
435
|
+
Hmd: 'HMD',
|
|
436
|
+
Hnd: 'HND',
|
|
437
|
+
Hrv: 'HRV',
|
|
438
|
+
Hti: 'HTI',
|
|
439
|
+
Hun: 'HUN',
|
|
440
|
+
Idn: 'IDN',
|
|
441
|
+
Imn: 'IMN',
|
|
442
|
+
Ind: 'IND',
|
|
443
|
+
Iot: 'IOT',
|
|
444
|
+
Irl: 'IRL',
|
|
445
|
+
Irn: 'IRN',
|
|
446
|
+
Irq: 'IRQ',
|
|
447
|
+
Isl: 'ISL',
|
|
448
|
+
Isr: 'ISR',
|
|
449
|
+
Ita: 'ITA',
|
|
450
|
+
Jam: 'JAM',
|
|
451
|
+
Jey: 'JEY',
|
|
452
|
+
Jor: 'JOR',
|
|
453
|
+
Jpn: 'JPN',
|
|
454
|
+
Kaz: 'KAZ',
|
|
455
|
+
Ken: 'KEN',
|
|
456
|
+
Kgz: 'KGZ',
|
|
457
|
+
Khm: 'KHM',
|
|
458
|
+
Kir: 'KIR',
|
|
459
|
+
Kna: 'KNA',
|
|
460
|
+
Kor: 'KOR',
|
|
461
|
+
Kwt: 'KWT',
|
|
462
|
+
Lao: 'LAO',
|
|
463
|
+
Lbn: 'LBN',
|
|
464
|
+
Lbr: 'LBR',
|
|
465
|
+
Lby: 'LBY',
|
|
466
|
+
Lca: 'LCA',
|
|
467
|
+
Lie: 'LIE',
|
|
468
|
+
Lka: 'LKA',
|
|
469
|
+
Lso: 'LSO',
|
|
470
|
+
Ltu: 'LTU',
|
|
471
|
+
Lux: 'LUX',
|
|
472
|
+
Lva: 'LVA',
|
|
473
|
+
Mac: 'MAC',
|
|
474
|
+
Maf: 'MAF',
|
|
475
|
+
Mar: 'MAR',
|
|
476
|
+
Mco: 'MCO',
|
|
477
|
+
Mda: 'MDA',
|
|
478
|
+
Mdg: 'MDG',
|
|
479
|
+
Mdv: 'MDV',
|
|
480
|
+
Mex: 'MEX',
|
|
481
|
+
Mhl: 'MHL',
|
|
482
|
+
Mkd: 'MKD',
|
|
483
|
+
Mli: 'MLI',
|
|
484
|
+
Mlt: 'MLT',
|
|
485
|
+
Mmr: 'MMR',
|
|
486
|
+
Mne: 'MNE',
|
|
487
|
+
Mng: 'MNG',
|
|
488
|
+
Mnp: 'MNP',
|
|
489
|
+
Moz: 'MOZ',
|
|
490
|
+
Mrt: 'MRT',
|
|
491
|
+
Msr: 'MSR',
|
|
492
|
+
Mtq: 'MTQ',
|
|
493
|
+
Mus: 'MUS',
|
|
494
|
+
Mwi: 'MWI',
|
|
495
|
+
Mys: 'MYS',
|
|
496
|
+
Myt: 'MYT',
|
|
497
|
+
Nam: 'NAM',
|
|
498
|
+
Ncl: 'NCL',
|
|
499
|
+
Ner: 'NER',
|
|
500
|
+
Nfk: 'NFK',
|
|
501
|
+
Nga: 'NGA',
|
|
502
|
+
Nic: 'NIC',
|
|
503
|
+
Niu: 'NIU',
|
|
504
|
+
Nld: 'NLD',
|
|
505
|
+
Nor: 'NOR',
|
|
506
|
+
Npl: 'NPL',
|
|
507
|
+
Nru: 'NRU',
|
|
508
|
+
Nzl: 'NZL',
|
|
509
|
+
Omn: 'OMN',
|
|
510
|
+
Pak: 'PAK',
|
|
511
|
+
Pan: 'PAN',
|
|
512
|
+
Pcn: 'PCN',
|
|
513
|
+
Per: 'PER',
|
|
514
|
+
Phl: 'PHL',
|
|
515
|
+
Plw: 'PLW',
|
|
516
|
+
Png: 'PNG',
|
|
517
|
+
Pol: 'POL',
|
|
518
|
+
Pri: 'PRI',
|
|
519
|
+
Prk: 'PRK',
|
|
520
|
+
Prt: 'PRT',
|
|
521
|
+
Pry: 'PRY',
|
|
522
|
+
Pse: 'PSE',
|
|
523
|
+
Pyf: 'PYF',
|
|
524
|
+
Qat: 'QAT',
|
|
525
|
+
Reu: 'REU',
|
|
526
|
+
Rou: 'ROU',
|
|
527
|
+
Rus: 'RUS',
|
|
528
|
+
Rwa: 'RWA',
|
|
529
|
+
Sau: 'SAU',
|
|
530
|
+
Sdn: 'SDN',
|
|
531
|
+
Sen: 'SEN',
|
|
532
|
+
Sgp: 'SGP',
|
|
533
|
+
Sgs: 'SGS',
|
|
534
|
+
Shn: 'SHN',
|
|
535
|
+
Sjm: 'SJM',
|
|
536
|
+
Slb: 'SLB',
|
|
537
|
+
Sle: 'SLE',
|
|
538
|
+
Slv: 'SLV',
|
|
539
|
+
Smr: 'SMR',
|
|
540
|
+
Som: 'SOM',
|
|
541
|
+
Spm: 'SPM',
|
|
542
|
+
Srb: 'SRB',
|
|
543
|
+
Ssd: 'SSD',
|
|
544
|
+
Stp: 'STP',
|
|
545
|
+
Sur: 'SUR',
|
|
546
|
+
Svk: 'SVK',
|
|
547
|
+
Svn: 'SVN',
|
|
548
|
+
Swe: 'SWE',
|
|
549
|
+
Swz: 'SWZ',
|
|
550
|
+
Sxm: 'SXM',
|
|
551
|
+
Syc: 'SYC',
|
|
552
|
+
Syr: 'SYR',
|
|
553
|
+
Tca: 'TCA',
|
|
554
|
+
Tcd: 'TCD',
|
|
555
|
+
Tgo: 'TGO',
|
|
556
|
+
Tha: 'THA',
|
|
557
|
+
Tjk: 'TJK',
|
|
558
|
+
Tkl: 'TKL',
|
|
559
|
+
Tkm: 'TKM',
|
|
560
|
+
Tls: 'TLS',
|
|
561
|
+
Ton: 'TON',
|
|
562
|
+
Tto: 'TTO',
|
|
563
|
+
Tun: 'TUN',
|
|
564
|
+
Tur: 'TUR',
|
|
565
|
+
Tuv: 'TUV',
|
|
566
|
+
Twn: 'TWN',
|
|
567
|
+
Tza: 'TZA',
|
|
568
|
+
Uga: 'UGA',
|
|
569
|
+
Ukr: 'UKR',
|
|
570
|
+
Umi: 'UMI',
|
|
571
|
+
Ury: 'URY',
|
|
572
|
+
Usa: 'USA',
|
|
573
|
+
Uzb: 'UZB',
|
|
574
|
+
Vat: 'VAT',
|
|
575
|
+
Vct: 'VCT',
|
|
576
|
+
Ven: 'VEN',
|
|
577
|
+
Vgb: 'VGB',
|
|
578
|
+
Vir: 'VIR',
|
|
579
|
+
Vnm: 'VNM',
|
|
580
|
+
Vut: 'VUT',
|
|
581
|
+
Wlf: 'WLF',
|
|
582
|
+
Wsm: 'WSM',
|
|
583
|
+
Yem: 'YEM',
|
|
584
|
+
Zaf: 'ZAF',
|
|
585
|
+
Zmb: 'ZMB',
|
|
586
|
+
Zwe: 'ZWE',
|
|
587
|
+
Xkx: 'XKX',
|
|
95
588
|
};
|
|
96
|
-
|
|
97
|
-
* ISO 3166-1 alpha-3 country codes. XKX is used for the Kosovo.
|
|
98
|
-
* @export
|
|
99
|
-
* @enum {string}
|
|
100
|
-
*/
|
|
101
|
-
export const CountryCodesAlpha3 = {
|
|
589
|
+
export const CreateCardholderBodyNationalityEnum = {
|
|
102
590
|
Abw: 'ABW',
|
|
103
591
|
Afg: 'AFG',
|
|
104
592
|
Ago: 'AGO',
|
|
@@ -348,12 +836,11 @@ export const CountryCodesAlpha3 = {
|
|
|
348
836
|
Zaf: 'ZAF',
|
|
349
837
|
Zmb: 'ZMB',
|
|
350
838
|
Zwe: 'ZWE',
|
|
351
|
-
Xkx: 'XKX'
|
|
839
|
+
Xkx: 'XKX',
|
|
840
|
+
Xxx: 'XXX',
|
|
352
841
|
};
|
|
353
842
|
/**
|
|
354
843
|
* Cardholder\'s language and country code in RFC 5646 format. Temporary for backwards compatibility, the API also accepts legacy underscore values such as en_GB, but will be removed in future releases. Responses and events always use the RFC 5646 hyphenated format.
|
|
355
|
-
* @export
|
|
356
|
-
* @enum {string}
|
|
357
844
|
*/
|
|
358
845
|
export const Locale = {
|
|
359
846
|
AfZa: 'af-ZA',
|
|
@@ -635,44 +1122,290 @@ export const Locale = {
|
|
|
635
1122
|
ZhMo2: 'zh_MO',
|
|
636
1123
|
ZhSg2: 'zh_SG',
|
|
637
1124
|
ZhTw2: 'zh_TW',
|
|
638
|
-
ZuZa2: 'zu_ZA'
|
|
1125
|
+
ZuZa2: 'zu_ZA',
|
|
639
1126
|
};
|
|
640
1127
|
/**
|
|
641
1128
|
* Select the type of delivery you prefer for sending the card PIN. - MAIL - The card PIN would be sent via mail services. - COURIER - The card PIN would be sent via courier services. - EPIN - The card PIN would be sent digitally.
|
|
642
|
-
* @export
|
|
643
|
-
* @enum {string}
|
|
644
1129
|
*/
|
|
645
1130
|
export const PinDeliveryType = {
|
|
646
1131
|
Mail: 'MAIL',
|
|
647
1132
|
Courier: 'COURIER',
|
|
648
|
-
Epin: 'EPIN'
|
|
1133
|
+
Epin: 'EPIN',
|
|
649
1134
|
};
|
|
650
1135
|
/**
|
|
651
1136
|
* - GENERATED - A pin has been randomly generated for the card. - WAITING - A pin is waiting to be set on the card. - SET - A pin has been manually set on the card. - INHERITED - For card applications only. The pin status is inherited from the main card.
|
|
652
|
-
* @export
|
|
653
|
-
* @enum {string}
|
|
654
1137
|
*/
|
|
655
1138
|
export const PinStatus = {
|
|
656
1139
|
Generated: 'GENERATED',
|
|
657
1140
|
Waiting: 'WAITING',
|
|
658
1141
|
Set: 'SET',
|
|
659
|
-
Inherited: 'INHERITED'
|
|
1142
|
+
Inherited: 'INHERITED',
|
|
660
1143
|
};
|
|
661
1144
|
/**
|
|
662
1145
|
* Risk assessment score of the customer: - High - High-risk customer - Med - Medium-risk customer - Low - Low-risk customer - Pep - Politically Exposed Person (PEP) - Prohibited - Customer sanctioned or outside of risk appetite If you are using Enfuce as your BIN sponsor (under ELS or EUK licensing), you are required to populate this field due to regulatory requirements.
|
|
663
|
-
* @export
|
|
664
|
-
* @enum {string}
|
|
665
1146
|
*/
|
|
666
1147
|
export const RiskScore = {
|
|
667
1148
|
High: 'High',
|
|
668
1149
|
Med: 'Med',
|
|
669
1150
|
Low: 'Low',
|
|
670
1151
|
Pep: 'Pep',
|
|
671
|
-
Prohibited: 'Prohibited'
|
|
1152
|
+
Prohibited: 'Prohibited',
|
|
1153
|
+
};
|
|
1154
|
+
export const UpdateCardholderBodyNationalityEnum = {
|
|
1155
|
+
Abw: 'ABW',
|
|
1156
|
+
Afg: 'AFG',
|
|
1157
|
+
Ago: 'AGO',
|
|
1158
|
+
Aia: 'AIA',
|
|
1159
|
+
Ala: 'ALA',
|
|
1160
|
+
Alb: 'ALB',
|
|
1161
|
+
And: 'AND',
|
|
1162
|
+
Are: 'ARE',
|
|
1163
|
+
Arg: 'ARG',
|
|
1164
|
+
Arm: 'ARM',
|
|
1165
|
+
Asm: 'ASM',
|
|
1166
|
+
Ata: 'ATA',
|
|
1167
|
+
Atf: 'ATF',
|
|
1168
|
+
Atg: 'ATG',
|
|
1169
|
+
Aus: 'AUS',
|
|
1170
|
+
Aut: 'AUT',
|
|
1171
|
+
Aze: 'AZE',
|
|
1172
|
+
Bdi: 'BDI',
|
|
1173
|
+
Bel: 'BEL',
|
|
1174
|
+
Ben: 'BEN',
|
|
1175
|
+
Bes: 'BES',
|
|
1176
|
+
Bfa: 'BFA',
|
|
1177
|
+
Bgd: 'BGD',
|
|
1178
|
+
Bgr: 'BGR',
|
|
1179
|
+
Bhr: 'BHR',
|
|
1180
|
+
Bhs: 'BHS',
|
|
1181
|
+
Bih: 'BIH',
|
|
1182
|
+
Blm: 'BLM',
|
|
1183
|
+
Blr: 'BLR',
|
|
1184
|
+
Blz: 'BLZ',
|
|
1185
|
+
Bmu: 'BMU',
|
|
1186
|
+
Bol: 'BOL',
|
|
1187
|
+
Bra: 'BRA',
|
|
1188
|
+
Brb: 'BRB',
|
|
1189
|
+
Brn: 'BRN',
|
|
1190
|
+
Btn: 'BTN',
|
|
1191
|
+
Bvt: 'BVT',
|
|
1192
|
+
Bwa: 'BWA',
|
|
1193
|
+
Caf: 'CAF',
|
|
1194
|
+
Can: 'CAN',
|
|
1195
|
+
Cck: 'CCK',
|
|
1196
|
+
Che: 'CHE',
|
|
1197
|
+
Chl: 'CHL',
|
|
1198
|
+
Chn: 'CHN',
|
|
1199
|
+
Civ: 'CIV',
|
|
1200
|
+
Cmr: 'CMR',
|
|
1201
|
+
Cod: 'COD',
|
|
1202
|
+
Cog: 'COG',
|
|
1203
|
+
Cok: 'COK',
|
|
1204
|
+
Col: 'COL',
|
|
1205
|
+
Com: 'COM',
|
|
1206
|
+
Cpv: 'CPV',
|
|
1207
|
+
Cri: 'CRI',
|
|
1208
|
+
Cub: 'CUB',
|
|
1209
|
+
Cuw: 'CUW',
|
|
1210
|
+
Cxr: 'CXR',
|
|
1211
|
+
Cym: 'CYM',
|
|
1212
|
+
Cyp: 'CYP',
|
|
1213
|
+
Cze: 'CZE',
|
|
1214
|
+
Deu: 'DEU',
|
|
1215
|
+
Dji: 'DJI',
|
|
1216
|
+
Dma: 'DMA',
|
|
1217
|
+
Dnk: 'DNK',
|
|
1218
|
+
Dom: 'DOM',
|
|
1219
|
+
Dza: 'DZA',
|
|
1220
|
+
Ecu: 'ECU',
|
|
1221
|
+
Egy: 'EGY',
|
|
1222
|
+
Eri: 'ERI',
|
|
1223
|
+
Esh: 'ESH',
|
|
1224
|
+
Esp: 'ESP',
|
|
1225
|
+
Est: 'EST',
|
|
1226
|
+
Eth: 'ETH',
|
|
1227
|
+
Fin: 'FIN',
|
|
1228
|
+
Fji: 'FJI',
|
|
1229
|
+
Flk: 'FLK',
|
|
1230
|
+
Fra: 'FRA',
|
|
1231
|
+
Fro: 'FRO',
|
|
1232
|
+
Fsm: 'FSM',
|
|
1233
|
+
Gab: 'GAB',
|
|
1234
|
+
Gbr: 'GBR',
|
|
1235
|
+
Geo: 'GEO',
|
|
1236
|
+
Ggy: 'GGY',
|
|
1237
|
+
Gha: 'GHA',
|
|
1238
|
+
Gib: 'GIB',
|
|
1239
|
+
Gin: 'GIN',
|
|
1240
|
+
Glp: 'GLP',
|
|
1241
|
+
Gmb: 'GMB',
|
|
1242
|
+
Gnb: 'GNB',
|
|
1243
|
+
Gnq: 'GNQ',
|
|
1244
|
+
Grc: 'GRC',
|
|
1245
|
+
Grd: 'GRD',
|
|
1246
|
+
Grl: 'GRL',
|
|
1247
|
+
Gtm: 'GTM',
|
|
1248
|
+
Guf: 'GUF',
|
|
1249
|
+
Gum: 'GUM',
|
|
1250
|
+
Guy: 'GUY',
|
|
1251
|
+
Hkg: 'HKG',
|
|
1252
|
+
Hmd: 'HMD',
|
|
1253
|
+
Hnd: 'HND',
|
|
1254
|
+
Hrv: 'HRV',
|
|
1255
|
+
Hti: 'HTI',
|
|
1256
|
+
Hun: 'HUN',
|
|
1257
|
+
Idn: 'IDN',
|
|
1258
|
+
Imn: 'IMN',
|
|
1259
|
+
Ind: 'IND',
|
|
1260
|
+
Iot: 'IOT',
|
|
1261
|
+
Irl: 'IRL',
|
|
1262
|
+
Irn: 'IRN',
|
|
1263
|
+
Irq: 'IRQ',
|
|
1264
|
+
Isl: 'ISL',
|
|
1265
|
+
Isr: 'ISR',
|
|
1266
|
+
Ita: 'ITA',
|
|
1267
|
+
Jam: 'JAM',
|
|
1268
|
+
Jey: 'JEY',
|
|
1269
|
+
Jor: 'JOR',
|
|
1270
|
+
Jpn: 'JPN',
|
|
1271
|
+
Kaz: 'KAZ',
|
|
1272
|
+
Ken: 'KEN',
|
|
1273
|
+
Kgz: 'KGZ',
|
|
1274
|
+
Khm: 'KHM',
|
|
1275
|
+
Kir: 'KIR',
|
|
1276
|
+
Kna: 'KNA',
|
|
1277
|
+
Kor: 'KOR',
|
|
1278
|
+
Kwt: 'KWT',
|
|
1279
|
+
Lao: 'LAO',
|
|
1280
|
+
Lbn: 'LBN',
|
|
1281
|
+
Lbr: 'LBR',
|
|
1282
|
+
Lby: 'LBY',
|
|
1283
|
+
Lca: 'LCA',
|
|
1284
|
+
Lie: 'LIE',
|
|
1285
|
+
Lka: 'LKA',
|
|
1286
|
+
Lso: 'LSO',
|
|
1287
|
+
Ltu: 'LTU',
|
|
1288
|
+
Lux: 'LUX',
|
|
1289
|
+
Lva: 'LVA',
|
|
1290
|
+
Mac: 'MAC',
|
|
1291
|
+
Maf: 'MAF',
|
|
1292
|
+
Mar: 'MAR',
|
|
1293
|
+
Mco: 'MCO',
|
|
1294
|
+
Mda: 'MDA',
|
|
1295
|
+
Mdg: 'MDG',
|
|
1296
|
+
Mdv: 'MDV',
|
|
1297
|
+
Mex: 'MEX',
|
|
1298
|
+
Mhl: 'MHL',
|
|
1299
|
+
Mkd: 'MKD',
|
|
1300
|
+
Mli: 'MLI',
|
|
1301
|
+
Mlt: 'MLT',
|
|
1302
|
+
Mmr: 'MMR',
|
|
1303
|
+
Mne: 'MNE',
|
|
1304
|
+
Mng: 'MNG',
|
|
1305
|
+
Mnp: 'MNP',
|
|
1306
|
+
Moz: 'MOZ',
|
|
1307
|
+
Mrt: 'MRT',
|
|
1308
|
+
Msr: 'MSR',
|
|
1309
|
+
Mtq: 'MTQ',
|
|
1310
|
+
Mus: 'MUS',
|
|
1311
|
+
Mwi: 'MWI',
|
|
1312
|
+
Mys: 'MYS',
|
|
1313
|
+
Myt: 'MYT',
|
|
1314
|
+
Nam: 'NAM',
|
|
1315
|
+
Ncl: 'NCL',
|
|
1316
|
+
Ner: 'NER',
|
|
1317
|
+
Nfk: 'NFK',
|
|
1318
|
+
Nga: 'NGA',
|
|
1319
|
+
Nic: 'NIC',
|
|
1320
|
+
Niu: 'NIU',
|
|
1321
|
+
Nld: 'NLD',
|
|
1322
|
+
Nor: 'NOR',
|
|
1323
|
+
Npl: 'NPL',
|
|
1324
|
+
Nru: 'NRU',
|
|
1325
|
+
Nzl: 'NZL',
|
|
1326
|
+
Omn: 'OMN',
|
|
1327
|
+
Pak: 'PAK',
|
|
1328
|
+
Pan: 'PAN',
|
|
1329
|
+
Pcn: 'PCN',
|
|
1330
|
+
Per: 'PER',
|
|
1331
|
+
Phl: 'PHL',
|
|
1332
|
+
Plw: 'PLW',
|
|
1333
|
+
Png: 'PNG',
|
|
1334
|
+
Pol: 'POL',
|
|
1335
|
+
Pri: 'PRI',
|
|
1336
|
+
Prk: 'PRK',
|
|
1337
|
+
Prt: 'PRT',
|
|
1338
|
+
Pry: 'PRY',
|
|
1339
|
+
Pse: 'PSE',
|
|
1340
|
+
Pyf: 'PYF',
|
|
1341
|
+
Qat: 'QAT',
|
|
1342
|
+
Reu: 'REU',
|
|
1343
|
+
Rou: 'ROU',
|
|
1344
|
+
Rus: 'RUS',
|
|
1345
|
+
Rwa: 'RWA',
|
|
1346
|
+
Sau: 'SAU',
|
|
1347
|
+
Sdn: 'SDN',
|
|
1348
|
+
Sen: 'SEN',
|
|
1349
|
+
Sgp: 'SGP',
|
|
1350
|
+
Sgs: 'SGS',
|
|
1351
|
+
Shn: 'SHN',
|
|
1352
|
+
Sjm: 'SJM',
|
|
1353
|
+
Slb: 'SLB',
|
|
1354
|
+
Sle: 'SLE',
|
|
1355
|
+
Slv: 'SLV',
|
|
1356
|
+
Smr: 'SMR',
|
|
1357
|
+
Som: 'SOM',
|
|
1358
|
+
Spm: 'SPM',
|
|
1359
|
+
Srb: 'SRB',
|
|
1360
|
+
Ssd: 'SSD',
|
|
1361
|
+
Stp: 'STP',
|
|
1362
|
+
Sur: 'SUR',
|
|
1363
|
+
Svk: 'SVK',
|
|
1364
|
+
Svn: 'SVN',
|
|
1365
|
+
Swe: 'SWE',
|
|
1366
|
+
Swz: 'SWZ',
|
|
1367
|
+
Sxm: 'SXM',
|
|
1368
|
+
Syc: 'SYC',
|
|
1369
|
+
Syr: 'SYR',
|
|
1370
|
+
Tca: 'TCA',
|
|
1371
|
+
Tcd: 'TCD',
|
|
1372
|
+
Tgo: 'TGO',
|
|
1373
|
+
Tha: 'THA',
|
|
1374
|
+
Tjk: 'TJK',
|
|
1375
|
+
Tkl: 'TKL',
|
|
1376
|
+
Tkm: 'TKM',
|
|
1377
|
+
Tls: 'TLS',
|
|
1378
|
+
Ton: 'TON',
|
|
1379
|
+
Tto: 'TTO',
|
|
1380
|
+
Tun: 'TUN',
|
|
1381
|
+
Tur: 'TUR',
|
|
1382
|
+
Tuv: 'TUV',
|
|
1383
|
+
Twn: 'TWN',
|
|
1384
|
+
Tza: 'TZA',
|
|
1385
|
+
Uga: 'UGA',
|
|
1386
|
+
Ukr: 'UKR',
|
|
1387
|
+
Umi: 'UMI',
|
|
1388
|
+
Ury: 'URY',
|
|
1389
|
+
Usa: 'USA',
|
|
1390
|
+
Uzb: 'UZB',
|
|
1391
|
+
Vat: 'VAT',
|
|
1392
|
+
Vct: 'VCT',
|
|
1393
|
+
Ven: 'VEN',
|
|
1394
|
+
Vgb: 'VGB',
|
|
1395
|
+
Vir: 'VIR',
|
|
1396
|
+
Vnm: 'VNM',
|
|
1397
|
+
Vut: 'VUT',
|
|
1398
|
+
Wlf: 'WLF',
|
|
1399
|
+
Wsm: 'WSM',
|
|
1400
|
+
Yem: 'YEM',
|
|
1401
|
+
Zaf: 'ZAF',
|
|
1402
|
+
Zmb: 'ZMB',
|
|
1403
|
+
Zwe: 'ZWE',
|
|
1404
|
+
Xkx: 'XKX',
|
|
1405
|
+
Xxx: 'XXX',
|
|
672
1406
|
};
|
|
673
1407
|
/**
|
|
674
1408
|
* CreateCardholderApi - axios parameter creator
|
|
675
|
-
* @export
|
|
676
1409
|
*/
|
|
677
1410
|
export const CreateCardholderApiAxiosParamCreator = function (configuration) {
|
|
678
1411
|
return {
|
|
@@ -702,6 +1435,7 @@ export const CreateCardholderApiAxiosParamCreator = function (configuration) {
|
|
|
702
1435
|
// http bearer authentication required
|
|
703
1436
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
704
1437
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1438
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
705
1439
|
if (xIdempotencyKey != null) {
|
|
706
1440
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
707
1441
|
}
|
|
@@ -721,7 +1455,6 @@ export const CreateCardholderApiAxiosParamCreator = function (configuration) {
|
|
|
721
1455
|
};
|
|
722
1456
|
/**
|
|
723
1457
|
* CreateCardholderApi - functional programming interface
|
|
724
|
-
* @export
|
|
725
1458
|
*/
|
|
726
1459
|
export const CreateCardholderApiFp = function (configuration) {
|
|
727
1460
|
const localVarAxiosParamCreator = CreateCardholderApiAxiosParamCreator(configuration);
|
|
@@ -748,7 +1481,6 @@ export const CreateCardholderApiFp = function (configuration) {
|
|
|
748
1481
|
};
|
|
749
1482
|
/**
|
|
750
1483
|
* CreateCardholderApi - factory interface
|
|
751
|
-
* @export
|
|
752
1484
|
*/
|
|
753
1485
|
export const CreateCardholderApiFactory = function (configuration, basePath, axios) {
|
|
754
1486
|
const localVarFp = CreateCardholderApiFp(configuration);
|
|
@@ -769,9 +1501,6 @@ export const CreateCardholderApiFactory = function (configuration, basePath, axi
|
|
|
769
1501
|
};
|
|
770
1502
|
/**
|
|
771
1503
|
* CreateCardholderApi - object-oriented interface
|
|
772
|
-
* @export
|
|
773
|
-
* @class CreateCardholderApi
|
|
774
|
-
* @extends {BaseAPI}
|
|
775
1504
|
*/
|
|
776
1505
|
export class CreateCardholderApi extends BaseAPI {
|
|
777
1506
|
/**
|
|
@@ -782,7 +1511,6 @@ export class CreateCardholderApi extends BaseAPI {
|
|
|
782
1511
|
* @param {string} [xAuditUser] Optional audit user header
|
|
783
1512
|
* @param {*} [options] Override http request option.
|
|
784
1513
|
* @throws {RequiredError}
|
|
785
|
-
* @memberof CreateCardholderApi
|
|
786
1514
|
*/
|
|
787
1515
|
createCardholder(createCardholderBody, xIdempotencyKey, xAuditUser, options) {
|
|
788
1516
|
return CreateCardholderApiFp(this.configuration).createCardholder(createCardholderBody, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -790,7 +1518,6 @@ export class CreateCardholderApi extends BaseAPI {
|
|
|
790
1518
|
}
|
|
791
1519
|
/**
|
|
792
1520
|
* GetCardholderApi - axios parameter creator
|
|
793
|
-
* @export
|
|
794
1521
|
*/
|
|
795
1522
|
export const GetCardholderApiAxiosParamCreator = function (configuration) {
|
|
796
1523
|
return {
|
|
@@ -806,7 +1533,7 @@ export const GetCardholderApiAxiosParamCreator = function (configuration) {
|
|
|
806
1533
|
// verify required parameter 'id' is not null or undefined
|
|
807
1534
|
assertParamExists('getCardholderById', 'id', id);
|
|
808
1535
|
const localVarPath = `/v1/cardholders/{id}`
|
|
809
|
-
.replace(
|
|
1536
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
810
1537
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
811
1538
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
812
1539
|
let baseOptions;
|
|
@@ -819,6 +1546,7 @@ export const GetCardholderApiAxiosParamCreator = function (configuration) {
|
|
|
819
1546
|
// authentication bearerAuth required
|
|
820
1547
|
// http bearer authentication required
|
|
821
1548
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1549
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
822
1550
|
if (xAuditUser != null) {
|
|
823
1551
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
824
1552
|
}
|
|
@@ -857,6 +1585,7 @@ export const GetCardholderApiAxiosParamCreator = function (configuration) {
|
|
|
857
1585
|
if (customerNumber !== undefined) {
|
|
858
1586
|
localVarQueryParameter['customerNumber'] = customerNumber;
|
|
859
1587
|
}
|
|
1588
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
860
1589
|
if (xAuditUser != null) {
|
|
861
1590
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
862
1591
|
}
|
|
@@ -872,7 +1601,6 @@ export const GetCardholderApiAxiosParamCreator = function (configuration) {
|
|
|
872
1601
|
};
|
|
873
1602
|
/**
|
|
874
1603
|
* GetCardholderApi - functional programming interface
|
|
875
|
-
* @export
|
|
876
1604
|
*/
|
|
877
1605
|
export const GetCardholderApiFp = function (configuration) {
|
|
878
1606
|
const localVarAxiosParamCreator = GetCardholderApiAxiosParamCreator(configuration);
|
|
@@ -915,7 +1643,6 @@ export const GetCardholderApiFp = function (configuration) {
|
|
|
915
1643
|
};
|
|
916
1644
|
/**
|
|
917
1645
|
* GetCardholderApi - factory interface
|
|
918
|
-
* @export
|
|
919
1646
|
*/
|
|
920
1647
|
export const GetCardholderApiFactory = function (configuration, basePath, axios) {
|
|
921
1648
|
const localVarFp = GetCardholderApiFp(configuration);
|
|
@@ -946,9 +1673,6 @@ export const GetCardholderApiFactory = function (configuration, basePath, axios)
|
|
|
946
1673
|
};
|
|
947
1674
|
/**
|
|
948
1675
|
* GetCardholderApi - object-oriented interface
|
|
949
|
-
* @export
|
|
950
|
-
* @class GetCardholderApi
|
|
951
|
-
* @extends {BaseAPI}
|
|
952
1676
|
*/
|
|
953
1677
|
export class GetCardholderApi extends BaseAPI {
|
|
954
1678
|
/**
|
|
@@ -958,7 +1682,6 @@ export class GetCardholderApi extends BaseAPI {
|
|
|
958
1682
|
* @param {string} [xAuditUser] Optional audit user header
|
|
959
1683
|
* @param {*} [options] Override http request option.
|
|
960
1684
|
* @throws {RequiredError}
|
|
961
|
-
* @memberof GetCardholderApi
|
|
962
1685
|
*/
|
|
963
1686
|
getCardholderById(id, xAuditUser, options) {
|
|
964
1687
|
return GetCardholderApiFp(this.configuration).getCardholderById(id, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -970,7 +1693,6 @@ export class GetCardholderApi extends BaseAPI {
|
|
|
970
1693
|
* @param {string} [xAuditUser] Optional audit user header
|
|
971
1694
|
* @param {*} [options] Override http request option.
|
|
972
1695
|
* @throws {RequiredError}
|
|
973
|
-
* @memberof GetCardholderApi
|
|
974
1696
|
*/
|
|
975
1697
|
getCardholders(customerNumber, xAuditUser, options) {
|
|
976
1698
|
return GetCardholderApiFp(this.configuration).getCardholders(customerNumber, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -978,7 +1700,6 @@ export class GetCardholderApi extends BaseAPI {
|
|
|
978
1700
|
}
|
|
979
1701
|
/**
|
|
980
1702
|
* GetCardsByCardholderIdApi - axios parameter creator
|
|
981
|
-
* @export
|
|
982
1703
|
*/
|
|
983
1704
|
export const GetCardsByCardholderIdApiAxiosParamCreator = function (configuration) {
|
|
984
1705
|
return {
|
|
@@ -996,7 +1717,7 @@ export const GetCardsByCardholderIdApiAxiosParamCreator = function (configuratio
|
|
|
996
1717
|
// verify required parameter 'id' is not null or undefined
|
|
997
1718
|
assertParamExists('getCardsByCardholderId', 'id', id);
|
|
998
1719
|
const localVarPath = `/v1/cardholders/{id}/cards`
|
|
999
|
-
.replace(
|
|
1720
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1000
1721
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1001
1722
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1002
1723
|
let baseOptions;
|
|
@@ -1015,6 +1736,7 @@ export const GetCardsByCardholderIdApiAxiosParamCreator = function (configuratio
|
|
|
1015
1736
|
if (size !== undefined) {
|
|
1016
1737
|
localVarQueryParameter['size'] = size;
|
|
1017
1738
|
}
|
|
1739
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1018
1740
|
if (xAuditUser != null) {
|
|
1019
1741
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
1020
1742
|
}
|
|
@@ -1030,7 +1752,6 @@ export const GetCardsByCardholderIdApiAxiosParamCreator = function (configuratio
|
|
|
1030
1752
|
};
|
|
1031
1753
|
/**
|
|
1032
1754
|
* GetCardsByCardholderIdApi - functional programming interface
|
|
1033
|
-
* @export
|
|
1034
1755
|
*/
|
|
1035
1756
|
export const GetCardsByCardholderIdApiFp = function (configuration) {
|
|
1036
1757
|
const localVarAxiosParamCreator = GetCardsByCardholderIdApiAxiosParamCreator(configuration);
|
|
@@ -1058,7 +1779,6 @@ export const GetCardsByCardholderIdApiFp = function (configuration) {
|
|
|
1058
1779
|
};
|
|
1059
1780
|
/**
|
|
1060
1781
|
* GetCardsByCardholderIdApi - factory interface
|
|
1061
|
-
* @export
|
|
1062
1782
|
*/
|
|
1063
1783
|
export const GetCardsByCardholderIdApiFactory = function (configuration, basePath, axios) {
|
|
1064
1784
|
const localVarFp = GetCardsByCardholderIdApiFp(configuration);
|
|
@@ -1080,9 +1800,6 @@ export const GetCardsByCardholderIdApiFactory = function (configuration, basePat
|
|
|
1080
1800
|
};
|
|
1081
1801
|
/**
|
|
1082
1802
|
* GetCardsByCardholderIdApi - object-oriented interface
|
|
1083
|
-
* @export
|
|
1084
|
-
* @class GetCardsByCardholderIdApi
|
|
1085
|
-
* @extends {BaseAPI}
|
|
1086
1803
|
*/
|
|
1087
1804
|
export class GetCardsByCardholderIdApi extends BaseAPI {
|
|
1088
1805
|
/**
|
|
@@ -1094,7 +1811,6 @@ export class GetCardsByCardholderIdApi extends BaseAPI {
|
|
|
1094
1811
|
* @param {string} [xAuditUser] Optional audit user header
|
|
1095
1812
|
* @param {*} [options] Override http request option.
|
|
1096
1813
|
* @throws {RequiredError}
|
|
1097
|
-
* @memberof GetCardsByCardholderIdApi
|
|
1098
1814
|
*/
|
|
1099
1815
|
getCardsByCardholderId(id, page, size, xAuditUser, options) {
|
|
1100
1816
|
return GetCardsByCardholderIdApiFp(this.configuration).getCardsByCardholderId(id, page, size, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1102,7 +1818,6 @@ export class GetCardsByCardholderIdApi extends BaseAPI {
|
|
|
1102
1818
|
}
|
|
1103
1819
|
/**
|
|
1104
1820
|
* UpdateCardholderApi - axios parameter creator
|
|
1105
|
-
* @export
|
|
1106
1821
|
*/
|
|
1107
1822
|
export const UpdateCardholderApiAxiosParamCreator = function (configuration) {
|
|
1108
1823
|
return {
|
|
@@ -1121,7 +1836,7 @@ export const UpdateCardholderApiAxiosParamCreator = function (configuration) {
|
|
|
1121
1836
|
// verify required parameter 'updateCardholderBody' is not null or undefined
|
|
1122
1837
|
assertParamExists('updateCardholder', 'updateCardholderBody', updateCardholderBody);
|
|
1123
1838
|
const localVarPath = `/v1/cardholders/{id}`
|
|
1124
|
-
.replace(
|
|
1839
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1125
1840
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1126
1841
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1127
1842
|
let baseOptions;
|
|
@@ -1135,6 +1850,7 @@ export const UpdateCardholderApiAxiosParamCreator = function (configuration) {
|
|
|
1135
1850
|
// http bearer authentication required
|
|
1136
1851
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1137
1852
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1853
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1138
1854
|
if (xAuditUser != null) {
|
|
1139
1855
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
1140
1856
|
}
|
|
@@ -1151,7 +1867,6 @@ export const UpdateCardholderApiAxiosParamCreator = function (configuration) {
|
|
|
1151
1867
|
};
|
|
1152
1868
|
/**
|
|
1153
1869
|
* UpdateCardholderApi - functional programming interface
|
|
1154
|
-
* @export
|
|
1155
1870
|
*/
|
|
1156
1871
|
export const UpdateCardholderApiFp = function (configuration) {
|
|
1157
1872
|
const localVarAxiosParamCreator = UpdateCardholderApiAxiosParamCreator(configuration);
|
|
@@ -1178,7 +1893,6 @@ export const UpdateCardholderApiFp = function (configuration) {
|
|
|
1178
1893
|
};
|
|
1179
1894
|
/**
|
|
1180
1895
|
* UpdateCardholderApi - factory interface
|
|
1181
|
-
* @export
|
|
1182
1896
|
*/
|
|
1183
1897
|
export const UpdateCardholderApiFactory = function (configuration, basePath, axios) {
|
|
1184
1898
|
const localVarFp = UpdateCardholderApiFp(configuration);
|
|
@@ -1199,9 +1913,6 @@ export const UpdateCardholderApiFactory = function (configuration, basePath, axi
|
|
|
1199
1913
|
};
|
|
1200
1914
|
/**
|
|
1201
1915
|
* UpdateCardholderApi - object-oriented interface
|
|
1202
|
-
* @export
|
|
1203
|
-
* @class UpdateCardholderApi
|
|
1204
|
-
* @extends {BaseAPI}
|
|
1205
1916
|
*/
|
|
1206
1917
|
export class UpdateCardholderApi extends BaseAPI {
|
|
1207
1918
|
/**
|
|
@@ -1212,7 +1923,6 @@ export class UpdateCardholderApi extends BaseAPI {
|
|
|
1212
1923
|
* @param {string} [xAuditUser] Optional audit user header
|
|
1213
1924
|
* @param {*} [options] Override http request option.
|
|
1214
1925
|
* @throws {RequiredError}
|
|
1215
|
-
* @memberof UpdateCardholderApi
|
|
1216
1926
|
*/
|
|
1217
1927
|
updateCardholder(id, updateCardholderBody, xAuditUser, options) {
|
|
1218
1928
|
return UpdateCardholderApiFp(this.configuration).updateCardholder(id, updateCardholderBody, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|