@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
package/dist/esm/card/api.js
CHANGED
|
@@ -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,109 +68,90 @@ 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',
|
|
95
80
|
};
|
|
96
81
|
/**
|
|
97
82
|
* - GENERATED - A pin should be randomly generated for the card. - WAITING - A pin is waiting to be set on the card.
|
|
98
|
-
* @export
|
|
99
|
-
* @enum {string}
|
|
100
83
|
*/
|
|
101
84
|
export const ChangePinStatus = {
|
|
102
85
|
Generated: 'GENERATED',
|
|
103
|
-
Waiting: 'WAITING'
|
|
86
|
+
Waiting: 'WAITING',
|
|
104
87
|
};
|
|
105
88
|
/**
|
|
106
89
|
* - GENERATED - This endpoint request would generate a random PIN for the new card. - WAITING - The card PIN would be set later.
|
|
107
|
-
* @export
|
|
108
|
-
* @enum {string}
|
|
109
90
|
*/
|
|
110
91
|
export const CreatePinStatus = {
|
|
111
92
|
Generated: 'GENERATED',
|
|
112
|
-
Waiting: 'WAITING'
|
|
93
|
+
Waiting: 'WAITING',
|
|
113
94
|
};
|
|
114
95
|
export const EncryptCardPaymentInfoRequestBodyEncryptionMethodEnum = {
|
|
115
|
-
RsaEcbOaepSha256Mgf12048: 'RSA_ECB_OAEP_SHA256_MGF1_2048'
|
|
96
|
+
RsaEcbOaepSha256Mgf12048: 'RSA_ECB_OAEP_SHA256_MGF1_2048',
|
|
116
97
|
};
|
|
117
98
|
export const EncryptCardPaymentInfoRequestBodyFieldsEnum = {
|
|
118
99
|
PrimaryAccountNumber: 'PRIMARY_ACCOUNT_NUMBER',
|
|
119
100
|
ExpirationDate: 'EXPIRATION_DATE',
|
|
120
|
-
Cvv2: 'CVV2'
|
|
101
|
+
Cvv2: 'CVV2',
|
|
121
102
|
};
|
|
122
103
|
/**
|
|
123
104
|
* Reason for manufacturing the card.
|
|
124
|
-
* @export
|
|
125
|
-
* @enum {string}
|
|
126
105
|
*/
|
|
127
106
|
export const ManufacturingReason = {
|
|
128
107
|
NewCard: 'NEW_CARD',
|
|
129
108
|
ReplaceCard: 'REPLACE_CARD',
|
|
130
109
|
ReissueCard: 'REISSUE_CARD',
|
|
131
110
|
ReorderPin: 'REORDER_PIN',
|
|
132
|
-
RenewCard: 'RENEW_CARD'
|
|
111
|
+
RenewCard: 'RENEW_CARD',
|
|
133
112
|
};
|
|
134
113
|
/**
|
|
135
114
|
* - AWAITING_CRYPTO_VALUES - The card is created and is awaiting to receive cryptographic values before being sent to the card manufacturer. - CRYPTO_VALUES_PROCESSED - The card is awaiting to be included in the next embossing file. - SENT_TO_MANUFACTURER - The card has been successfully processed and sent to the manufacturer. - MANUFACTURING_ABORTED - The manufacturing process is aborted.
|
|
136
|
-
* @export
|
|
137
|
-
* @enum {string}
|
|
138
115
|
*/
|
|
139
116
|
export const ManufacturingStatus = {
|
|
140
117
|
AwaitingCryptoValues: 'AWAITING_CRYPTO_VALUES',
|
|
141
118
|
CryptoValuesProcessed: 'CRYPTO_VALUES_PROCESSED',
|
|
142
119
|
SentToManufacturer: 'SENT_TO_MANUFACTURER',
|
|
143
|
-
ManufacturingAborted: 'MANUFACTURING_ABORTED'
|
|
120
|
+
ManufacturingAborted: 'MANUFACTURING_ABORTED',
|
|
144
121
|
};
|
|
145
122
|
/**
|
|
146
123
|
* 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.
|
|
147
|
-
* @export
|
|
148
|
-
* @enum {string}
|
|
149
124
|
*/
|
|
150
125
|
export const PinDeliveryType = {
|
|
151
126
|
Mail: 'MAIL',
|
|
152
127
|
Courier: 'COURIER',
|
|
153
|
-
Epin: 'EPIN'
|
|
128
|
+
Epin: 'EPIN',
|
|
154
129
|
};
|
|
155
130
|
/**
|
|
156
131
|
* Describes the scope of the operation authorised by the user.
|
|
157
|
-
* @export
|
|
158
|
-
* @enum {string}
|
|
159
132
|
*/
|
|
160
133
|
export const PinScope = {
|
|
161
134
|
ViewPin: 'VIEW_PIN',
|
|
162
135
|
SetPin: 'SET_PIN',
|
|
163
|
-
ChangePin: 'CHANGE_PIN'
|
|
136
|
+
ChangePin: 'CHANGE_PIN',
|
|
164
137
|
};
|
|
165
138
|
/**
|
|
166
139
|
* - 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.
|
|
167
|
-
* @export
|
|
168
|
-
* @enum {string}
|
|
169
140
|
*/
|
|
170
141
|
export const PinStatus = {
|
|
171
142
|
Generated: 'GENERATED',
|
|
172
143
|
Waiting: 'WAITING',
|
|
173
144
|
Set: 'SET',
|
|
174
|
-
Inherited: 'INHERITED'
|
|
145
|
+
Inherited: 'INHERITED',
|
|
175
146
|
};
|
|
176
147
|
/**
|
|
177
148
|
* - GENERATED - A pin should be randomly generated for the card.
|
|
178
|
-
* @export
|
|
179
|
-
* @enum {string}
|
|
180
149
|
*/
|
|
181
150
|
export const UpdatePinStatus = {
|
|
182
|
-
Generated: 'GENERATED'
|
|
151
|
+
Generated: 'GENERATED',
|
|
183
152
|
};
|
|
184
153
|
/**
|
|
185
154
|
* CreateCardApi - axios parameter creator
|
|
186
|
-
* @export
|
|
187
155
|
*/
|
|
188
156
|
export const CreateCardApiAxiosParamCreator = function (configuration) {
|
|
189
157
|
return {
|
|
@@ -213,6 +181,7 @@ export const CreateCardApiAxiosParamCreator = function (configuration) {
|
|
|
213
181
|
// http bearer authentication required
|
|
214
182
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
215
183
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
184
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
216
185
|
if (xAuditUser != null) {
|
|
217
186
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
218
187
|
}
|
|
@@ -232,7 +201,6 @@ export const CreateCardApiAxiosParamCreator = function (configuration) {
|
|
|
232
201
|
};
|
|
233
202
|
/**
|
|
234
203
|
* CreateCardApi - functional programming interface
|
|
235
|
-
* @export
|
|
236
204
|
*/
|
|
237
205
|
export const CreateCardApiFp = function (configuration) {
|
|
238
206
|
const localVarAxiosParamCreator = CreateCardApiAxiosParamCreator(configuration);
|
|
@@ -259,7 +227,6 @@ export const CreateCardApiFp = function (configuration) {
|
|
|
259
227
|
};
|
|
260
228
|
/**
|
|
261
229
|
* CreateCardApi - factory interface
|
|
262
|
-
* @export
|
|
263
230
|
*/
|
|
264
231
|
export const CreateCardApiFactory = function (configuration, basePath, axios) {
|
|
265
232
|
const localVarFp = CreateCardApiFp(configuration);
|
|
@@ -280,9 +247,6 @@ export const CreateCardApiFactory = function (configuration, basePath, axios) {
|
|
|
280
247
|
};
|
|
281
248
|
/**
|
|
282
249
|
* CreateCardApi - object-oriented interface
|
|
283
|
-
* @export
|
|
284
|
-
* @class CreateCardApi
|
|
285
|
-
* @extends {BaseAPI}
|
|
286
250
|
*/
|
|
287
251
|
export class CreateCardApi extends BaseAPI {
|
|
288
252
|
/**
|
|
@@ -293,7 +257,6 @@ export class CreateCardApi extends BaseAPI {
|
|
|
293
257
|
* @param {string} [xIdempotencyKey] Idempotency key for the request.
|
|
294
258
|
* @param {*} [options] Override http request option.
|
|
295
259
|
* @throws {RequiredError}
|
|
296
|
-
* @memberof CreateCardApi
|
|
297
260
|
*/
|
|
298
261
|
createCard(createCardRequest, xAuditUser, xIdempotencyKey, options) {
|
|
299
262
|
return CreateCardApiFp(this.configuration).createCard(createCardRequest, xAuditUser, xIdempotencyKey, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -301,7 +264,6 @@ export class CreateCardApi extends BaseAPI {
|
|
|
301
264
|
}
|
|
302
265
|
/**
|
|
303
266
|
* CreatePINControlAccessTokenApi - axios parameter creator
|
|
304
|
-
* @export
|
|
305
267
|
*/
|
|
306
268
|
export const CreatePINControlAccessTokenApiAxiosParamCreator = function (configuration) {
|
|
307
269
|
return {
|
|
@@ -320,7 +282,7 @@ export const CreatePINControlAccessTokenApiAxiosParamCreator = function (configu
|
|
|
320
282
|
// verify required parameter 'pinControlInfoRequestBody' is not null or undefined
|
|
321
283
|
assertParamExists('createPinControl', 'pinControlInfoRequestBody', pinControlInfoRequestBody);
|
|
322
284
|
const localVarPath = `/v1/cards/{id}/pinControl`
|
|
323
|
-
.replace(
|
|
285
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
324
286
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
325
287
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
326
288
|
let baseOptions;
|
|
@@ -334,6 +296,7 @@ export const CreatePINControlAccessTokenApiAxiosParamCreator = function (configu
|
|
|
334
296
|
// http bearer authentication required
|
|
335
297
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
336
298
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
299
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
337
300
|
if (xAuditUser != null) {
|
|
338
301
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
339
302
|
}
|
|
@@ -350,7 +313,6 @@ export const CreatePINControlAccessTokenApiAxiosParamCreator = function (configu
|
|
|
350
313
|
};
|
|
351
314
|
/**
|
|
352
315
|
* CreatePINControlAccessTokenApi - functional programming interface
|
|
353
|
-
* @export
|
|
354
316
|
*/
|
|
355
317
|
export const CreatePINControlAccessTokenApiFp = function (configuration) {
|
|
356
318
|
const localVarAxiosParamCreator = CreatePINControlAccessTokenApiAxiosParamCreator(configuration);
|
|
@@ -377,7 +339,6 @@ export const CreatePINControlAccessTokenApiFp = function (configuration) {
|
|
|
377
339
|
};
|
|
378
340
|
/**
|
|
379
341
|
* CreatePINControlAccessTokenApi - factory interface
|
|
380
|
-
* @export
|
|
381
342
|
*/
|
|
382
343
|
export const CreatePINControlAccessTokenApiFactory = function (configuration, basePath, axios) {
|
|
383
344
|
const localVarFp = CreatePINControlAccessTokenApiFp(configuration);
|
|
@@ -398,9 +359,6 @@ export const CreatePINControlAccessTokenApiFactory = function (configuration, ba
|
|
|
398
359
|
};
|
|
399
360
|
/**
|
|
400
361
|
* CreatePINControlAccessTokenApi - object-oriented interface
|
|
401
|
-
* @export
|
|
402
|
-
* @class CreatePINControlAccessTokenApi
|
|
403
|
-
* @extends {BaseAPI}
|
|
404
362
|
*/
|
|
405
363
|
export class CreatePINControlAccessTokenApi extends BaseAPI {
|
|
406
364
|
/**
|
|
@@ -411,7 +369,6 @@ export class CreatePINControlAccessTokenApi extends BaseAPI {
|
|
|
411
369
|
* @param {string} [xAuditUser] Optional audit user header
|
|
412
370
|
* @param {*} [options] Override http request option.
|
|
413
371
|
* @throws {RequiredError}
|
|
414
|
-
* @memberof CreatePINControlAccessTokenApi
|
|
415
372
|
*/
|
|
416
373
|
createPinControl(id, pinControlInfoRequestBody, xAuditUser, options) {
|
|
417
374
|
return CreatePINControlAccessTokenApiFp(this.configuration).createPinControl(id, pinControlInfoRequestBody, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -419,7 +376,6 @@ export class CreatePINControlAccessTokenApi extends BaseAPI {
|
|
|
419
376
|
}
|
|
420
377
|
/**
|
|
421
378
|
* GetCardApi - axios parameter creator
|
|
422
|
-
* @export
|
|
423
379
|
*/
|
|
424
380
|
export const GetCardApiAxiosParamCreator = function (configuration) {
|
|
425
381
|
return {
|
|
@@ -435,7 +391,7 @@ export const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
435
391
|
// verify required parameter 'id' is not null or undefined
|
|
436
392
|
assertParamExists('getCard', 'id', id);
|
|
437
393
|
const localVarPath = `/v1/cards/{id}`
|
|
438
|
-
.replace(
|
|
394
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
439
395
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
440
396
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
441
397
|
let baseOptions;
|
|
@@ -448,6 +404,7 @@ export const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
448
404
|
// authentication bearerAuth required
|
|
449
405
|
// http bearer authentication required
|
|
450
406
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
407
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
451
408
|
if (xAuditUser != null) {
|
|
452
409
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
453
410
|
}
|
|
@@ -472,7 +429,7 @@ export const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
472
429
|
// verify required parameter 'id' is not null or undefined
|
|
473
430
|
assertParamExists('getCardDataControlToken', 'id', id);
|
|
474
431
|
const localVarPath = `/v1/cards/{id}/controlToken`
|
|
475
|
-
.replace(
|
|
432
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
476
433
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
477
434
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
478
435
|
let baseOptions;
|
|
@@ -486,6 +443,7 @@ export const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
486
443
|
// http bearer authentication required
|
|
487
444
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
488
445
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
446
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
489
447
|
if (xAuditUser != null) {
|
|
490
448
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
491
449
|
}
|
|
@@ -525,6 +483,7 @@ export const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
525
483
|
if (mainCardId !== undefined) {
|
|
526
484
|
localVarQueryParameter['mainCardId'] = mainCardId;
|
|
527
485
|
}
|
|
486
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
528
487
|
if (xAuditUser != null) {
|
|
529
488
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
530
489
|
}
|
|
@@ -540,7 +499,6 @@ export const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
540
499
|
};
|
|
541
500
|
/**
|
|
542
501
|
* GetCardApi - functional programming interface
|
|
543
|
-
* @export
|
|
544
502
|
*/
|
|
545
503
|
export const GetCardApiFp = function (configuration) {
|
|
546
504
|
const localVarAxiosParamCreator = GetCardApiAxiosParamCreator(configuration);
|
|
@@ -601,7 +559,6 @@ export const GetCardApiFp = function (configuration) {
|
|
|
601
559
|
};
|
|
602
560
|
/**
|
|
603
561
|
* GetCardApi - factory interface
|
|
604
|
-
* @export
|
|
605
562
|
*/
|
|
606
563
|
export const GetCardApiFactory = function (configuration, basePath, axios) {
|
|
607
564
|
const localVarFp = GetCardApiFp(configuration);
|
|
@@ -644,9 +601,6 @@ export const GetCardApiFactory = function (configuration, basePath, axios) {
|
|
|
644
601
|
};
|
|
645
602
|
/**
|
|
646
603
|
* GetCardApi - object-oriented interface
|
|
647
|
-
* @export
|
|
648
|
-
* @class GetCardApi
|
|
649
|
-
* @extends {BaseAPI}
|
|
650
604
|
*/
|
|
651
605
|
export class GetCardApi extends BaseAPI {
|
|
652
606
|
/**
|
|
@@ -656,7 +610,6 @@ export class GetCardApi extends BaseAPI {
|
|
|
656
610
|
* @param {string} [xAuditUser] Optional audit user header
|
|
657
611
|
* @param {*} [options] Override http request option.
|
|
658
612
|
* @throws {RequiredError}
|
|
659
|
-
* @memberof GetCardApi
|
|
660
613
|
*/
|
|
661
614
|
getCard(id, xAuditUser, options) {
|
|
662
615
|
return GetCardApiFp(this.configuration).getCard(id, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -669,7 +622,6 @@ export class GetCardApi extends BaseAPI {
|
|
|
669
622
|
* @param {ControlTokenRequestBody} [controlTokenRequestBody]
|
|
670
623
|
* @param {*} [options] Override http request option.
|
|
671
624
|
* @throws {RequiredError}
|
|
672
|
-
* @memberof GetCardApi
|
|
673
625
|
*/
|
|
674
626
|
getCardDataControlToken(id, xAuditUser, controlTokenRequestBody, options) {
|
|
675
627
|
return GetCardApiFp(this.configuration).getCardDataControlToken(id, xAuditUser, controlTokenRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -681,7 +633,6 @@ export class GetCardApi extends BaseAPI {
|
|
|
681
633
|
* @param {string} [xAuditUser] Optional audit user header
|
|
682
634
|
* @param {*} [options] Override http request option.
|
|
683
635
|
* @throws {RequiredError}
|
|
684
|
-
* @memberof GetCardApi
|
|
685
636
|
*/
|
|
686
637
|
getCards(mainCardId, xAuditUser, options) {
|
|
687
638
|
return GetCardApiFp(this.configuration).getCards(mainCardId, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -689,7 +640,6 @@ export class GetCardApi extends BaseAPI {
|
|
|
689
640
|
}
|
|
690
641
|
/**
|
|
691
642
|
* GetCardPaymentInfoApi - axios parameter creator
|
|
692
|
-
* @export
|
|
693
643
|
*/
|
|
694
644
|
export const GetCardPaymentInfoApiAxiosParamCreator = function (configuration) {
|
|
695
645
|
return {
|
|
@@ -708,7 +658,7 @@ export const GetCardPaymentInfoApiAxiosParamCreator = function (configuration) {
|
|
|
708
658
|
// verify required parameter 'encryptCardPaymentInfoRequestBody' is not null or undefined
|
|
709
659
|
assertParamExists('encryptCardPaymentInfo', 'encryptCardPaymentInfoRequestBody', encryptCardPaymentInfoRequestBody);
|
|
710
660
|
const localVarPath = `/v1/cards/{id}/encrypt`
|
|
711
|
-
.replace(
|
|
661
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
712
662
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
713
663
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
714
664
|
let baseOptions;
|
|
@@ -722,6 +672,7 @@ export const GetCardPaymentInfoApiAxiosParamCreator = function (configuration) {
|
|
|
722
672
|
// http bearer authentication required
|
|
723
673
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
724
674
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
675
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
725
676
|
if (xAuditUser != null) {
|
|
726
677
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
727
678
|
}
|
|
@@ -738,7 +689,6 @@ export const GetCardPaymentInfoApiAxiosParamCreator = function (configuration) {
|
|
|
738
689
|
};
|
|
739
690
|
/**
|
|
740
691
|
* GetCardPaymentInfoApi - functional programming interface
|
|
741
|
-
* @export
|
|
742
692
|
*/
|
|
743
693
|
export const GetCardPaymentInfoApiFp = function (configuration) {
|
|
744
694
|
const localVarAxiosParamCreator = GetCardPaymentInfoApiAxiosParamCreator(configuration);
|
|
@@ -765,7 +715,6 @@ export const GetCardPaymentInfoApiFp = function (configuration) {
|
|
|
765
715
|
};
|
|
766
716
|
/**
|
|
767
717
|
* GetCardPaymentInfoApi - factory interface
|
|
768
|
-
* @export
|
|
769
718
|
*/
|
|
770
719
|
export const GetCardPaymentInfoApiFactory = function (configuration, basePath, axios) {
|
|
771
720
|
const localVarFp = GetCardPaymentInfoApiFp(configuration);
|
|
@@ -786,9 +735,6 @@ export const GetCardPaymentInfoApiFactory = function (configuration, basePath, a
|
|
|
786
735
|
};
|
|
787
736
|
/**
|
|
788
737
|
* GetCardPaymentInfoApi - object-oriented interface
|
|
789
|
-
* @export
|
|
790
|
-
* @class GetCardPaymentInfoApi
|
|
791
|
-
* @extends {BaseAPI}
|
|
792
738
|
*/
|
|
793
739
|
export class GetCardPaymentInfoApi extends BaseAPI {
|
|
794
740
|
/**
|
|
@@ -799,7 +745,6 @@ export class GetCardPaymentInfoApi extends BaseAPI {
|
|
|
799
745
|
* @param {string} [xAuditUser] Optional audit user header
|
|
800
746
|
* @param {*} [options] Override http request option.
|
|
801
747
|
* @throws {RequiredError}
|
|
802
|
-
* @memberof GetCardPaymentInfoApi
|
|
803
748
|
*/
|
|
804
749
|
encryptCardPaymentInfo(id, encryptCardPaymentInfoRequestBody, xAuditUser, options) {
|
|
805
750
|
return GetCardPaymentInfoApiFp(this.configuration).encryptCardPaymentInfo(id, encryptCardPaymentInfoRequestBody, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -807,7 +752,6 @@ export class GetCardPaymentInfoApi extends BaseAPI {
|
|
|
807
752
|
}
|
|
808
753
|
/**
|
|
809
754
|
* GetPlasticManufacturingHistoryApi - axios parameter creator
|
|
810
|
-
* @export
|
|
811
755
|
*/
|
|
812
756
|
export const GetPlasticManufacturingHistoryApiAxiosParamCreator = function (configuration) {
|
|
813
757
|
return {
|
|
@@ -823,7 +767,7 @@ export const GetPlasticManufacturingHistoryApiAxiosParamCreator = function (conf
|
|
|
823
767
|
// verify required parameter 'id' is not null or undefined
|
|
824
768
|
assertParamExists('manufacturingHistory', 'id', id);
|
|
825
769
|
const localVarPath = `/v1/cards/{id}/manufacturing-history`
|
|
826
|
-
.replace(
|
|
770
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
827
771
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
828
772
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
829
773
|
let baseOptions;
|
|
@@ -836,6 +780,7 @@ export const GetPlasticManufacturingHistoryApiAxiosParamCreator = function (conf
|
|
|
836
780
|
// authentication bearerAuth required
|
|
837
781
|
// http bearer authentication required
|
|
838
782
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
783
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
839
784
|
if (xAuditUser != null) {
|
|
840
785
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
841
786
|
}
|
|
@@ -851,7 +796,6 @@ export const GetPlasticManufacturingHistoryApiAxiosParamCreator = function (conf
|
|
|
851
796
|
};
|
|
852
797
|
/**
|
|
853
798
|
* GetPlasticManufacturingHistoryApi - functional programming interface
|
|
854
|
-
* @export
|
|
855
799
|
*/
|
|
856
800
|
export const GetPlasticManufacturingHistoryApiFp = function (configuration) {
|
|
857
801
|
const localVarAxiosParamCreator = GetPlasticManufacturingHistoryApiAxiosParamCreator(configuration);
|
|
@@ -877,7 +821,6 @@ export const GetPlasticManufacturingHistoryApiFp = function (configuration) {
|
|
|
877
821
|
};
|
|
878
822
|
/**
|
|
879
823
|
* GetPlasticManufacturingHistoryApi - factory interface
|
|
880
|
-
* @export
|
|
881
824
|
*/
|
|
882
825
|
export const GetPlasticManufacturingHistoryApiFactory = function (configuration, basePath, axios) {
|
|
883
826
|
const localVarFp = GetPlasticManufacturingHistoryApiFp(configuration);
|
|
@@ -897,9 +840,6 @@ export const GetPlasticManufacturingHistoryApiFactory = function (configuration,
|
|
|
897
840
|
};
|
|
898
841
|
/**
|
|
899
842
|
* GetPlasticManufacturingHistoryApi - object-oriented interface
|
|
900
|
-
* @export
|
|
901
|
-
* @class GetPlasticManufacturingHistoryApi
|
|
902
|
-
* @extends {BaseAPI}
|
|
903
843
|
*/
|
|
904
844
|
export class GetPlasticManufacturingHistoryApi extends BaseAPI {
|
|
905
845
|
/**
|
|
@@ -909,7 +849,6 @@ export class GetPlasticManufacturingHistoryApi extends BaseAPI {
|
|
|
909
849
|
* @param {string} [xAuditUser] Optional audit user header
|
|
910
850
|
* @param {*} [options] Override http request option.
|
|
911
851
|
* @throws {RequiredError}
|
|
912
|
-
* @memberof GetPlasticManufacturingHistoryApi
|
|
913
852
|
*/
|
|
914
853
|
manufacturingHistory(id, xAuditUser, options) {
|
|
915
854
|
return GetPlasticManufacturingHistoryApiFp(this.configuration).manufacturingHistory(id, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -917,7 +856,6 @@ export class GetPlasticManufacturingHistoryApi extends BaseAPI {
|
|
|
917
856
|
}
|
|
918
857
|
/**
|
|
919
858
|
* UpdateCardApi - axios parameter creator
|
|
920
|
-
* @export
|
|
921
859
|
*/
|
|
922
860
|
export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
923
861
|
return {
|
|
@@ -934,7 +872,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
934
872
|
// verify required parameter 'id' is not null or undefined
|
|
935
873
|
assertParamExists('activateCard', 'id', id);
|
|
936
874
|
const localVarPath = `/v1/cards/{id}/activate`
|
|
937
|
-
.replace(
|
|
875
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
938
876
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
939
877
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
940
878
|
let baseOptions;
|
|
@@ -947,6 +885,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
947
885
|
// authentication bearerAuth required
|
|
948
886
|
// http bearer authentication required
|
|
949
887
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
888
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
950
889
|
if (xIdempotencyKey != null) {
|
|
951
890
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
952
891
|
}
|
|
@@ -976,7 +915,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
976
915
|
// verify required parameter 'updateCardBody' is not null or undefined
|
|
977
916
|
assertParamExists('patchCard', 'updateCardBody', updateCardBody);
|
|
978
917
|
const localVarPath = `/v1/cards/{id}`
|
|
979
|
-
.replace(
|
|
918
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
980
919
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
981
920
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
982
921
|
let baseOptions;
|
|
@@ -990,6 +929,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
990
929
|
// http bearer authentication required
|
|
991
930
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
992
931
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
932
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
993
933
|
if (xAuditUser != null) {
|
|
994
934
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
995
935
|
}
|
|
@@ -1016,7 +956,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1016
956
|
// verify required parameter 'id' is not null or undefined
|
|
1017
957
|
assertParamExists('reissueCard', 'id', id);
|
|
1018
958
|
const localVarPath = `/v1/cards/{id}/reissue`
|
|
1019
|
-
.replace(
|
|
959
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1020
960
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1021
961
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1022
962
|
let baseOptions;
|
|
@@ -1030,6 +970,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1030
970
|
// http bearer authentication required
|
|
1031
971
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1032
972
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
973
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1033
974
|
if (xIdempotencyKey != null) {
|
|
1034
975
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1035
976
|
}
|
|
@@ -1058,7 +999,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1058
999
|
// verify required parameter 'id' is not null or undefined
|
|
1059
1000
|
assertParamExists('reorderPin', 'id', id);
|
|
1060
1001
|
const localVarPath = `/v1/cards/{id}/reorder-pin`
|
|
1061
|
-
.replace(
|
|
1002
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1062
1003
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1063
1004
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1064
1005
|
let baseOptions;
|
|
@@ -1071,6 +1012,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1071
1012
|
// authentication bearerAuth required
|
|
1072
1013
|
// http bearer authentication required
|
|
1073
1014
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1015
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1074
1016
|
if (xIdempotencyKey != null) {
|
|
1075
1017
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1076
1018
|
}
|
|
@@ -1099,7 +1041,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1099
1041
|
// verify required parameter 'id' is not null or undefined
|
|
1100
1042
|
assertParamExists('replaceCard', 'id', id);
|
|
1101
1043
|
const localVarPath = `/v1/cards/{id}/replace`
|
|
1102
|
-
.replace(
|
|
1044
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1103
1045
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1104
1046
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1105
1047
|
let baseOptions;
|
|
@@ -1113,6 +1055,7 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1113
1055
|
// http bearer authentication required
|
|
1114
1056
|
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1115
1057
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1058
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1116
1059
|
if (xIdempotencyKey != null) {
|
|
1117
1060
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1118
1061
|
}
|
|
@@ -1132,7 +1075,6 @@ export const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1132
1075
|
};
|
|
1133
1076
|
/**
|
|
1134
1077
|
* UpdateCardApi - functional programming interface
|
|
1135
|
-
* @export
|
|
1136
1078
|
*/
|
|
1137
1079
|
export const UpdateCardApiFp = function (configuration) {
|
|
1138
1080
|
const localVarAxiosParamCreator = UpdateCardApiAxiosParamCreator(configuration);
|
|
@@ -1233,7 +1175,6 @@ export const UpdateCardApiFp = function (configuration) {
|
|
|
1233
1175
|
};
|
|
1234
1176
|
/**
|
|
1235
1177
|
* UpdateCardApi - factory interface
|
|
1236
|
-
* @export
|
|
1237
1178
|
*/
|
|
1238
1179
|
export const UpdateCardApiFactory = function (configuration, basePath, axios) {
|
|
1239
1180
|
const localVarFp = UpdateCardApiFp(configuration);
|
|
@@ -1304,9 +1245,6 @@ export const UpdateCardApiFactory = function (configuration, basePath, axios) {
|
|
|
1304
1245
|
};
|
|
1305
1246
|
/**
|
|
1306
1247
|
* UpdateCardApi - object-oriented interface
|
|
1307
|
-
* @export
|
|
1308
|
-
* @class UpdateCardApi
|
|
1309
|
-
* @extends {BaseAPI}
|
|
1310
1248
|
*/
|
|
1311
1249
|
export class UpdateCardApi extends BaseAPI {
|
|
1312
1250
|
/**
|
|
@@ -1317,7 +1255,6 @@ export class UpdateCardApi extends BaseAPI {
|
|
|
1317
1255
|
* @param {string} [xAuditUser] Optional audit user header
|
|
1318
1256
|
* @param {*} [options] Override http request option.
|
|
1319
1257
|
* @throws {RequiredError}
|
|
1320
|
-
* @memberof UpdateCardApi
|
|
1321
1258
|
*/
|
|
1322
1259
|
activateCard(id, xIdempotencyKey, xAuditUser, options) {
|
|
1323
1260
|
return UpdateCardApiFp(this.configuration).activateCard(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1330,7 +1267,6 @@ export class UpdateCardApi extends BaseAPI {
|
|
|
1330
1267
|
* @param {string} [xAuditUser] Optional audit user header
|
|
1331
1268
|
* @param {*} [options] Override http request option.
|
|
1332
1269
|
* @throws {RequiredError}
|
|
1333
|
-
* @memberof UpdateCardApi
|
|
1334
1270
|
*/
|
|
1335
1271
|
patchCard(id, updateCardBody, xAuditUser, options) {
|
|
1336
1272
|
return UpdateCardApiFp(this.configuration).patchCard(id, updateCardBody, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1344,7 +1280,6 @@ export class UpdateCardApi extends BaseAPI {
|
|
|
1344
1280
|
* @param {ReissueCardBody} [reissueCardBody]
|
|
1345
1281
|
* @param {*} [options] Override http request option.
|
|
1346
1282
|
* @throws {RequiredError}
|
|
1347
|
-
* @memberof UpdateCardApi
|
|
1348
1283
|
*/
|
|
1349
1284
|
reissueCard(id, xIdempotencyKey, xAuditUser, reissueCardBody, options) {
|
|
1350
1285
|
return UpdateCardApiFp(this.configuration).reissueCard(id, xIdempotencyKey, xAuditUser, reissueCardBody, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1357,7 +1292,6 @@ export class UpdateCardApi extends BaseAPI {
|
|
|
1357
1292
|
* @param {string} [xAuditUser] Optional audit user header
|
|
1358
1293
|
* @param {*} [options] Override http request option.
|
|
1359
1294
|
* @throws {RequiredError}
|
|
1360
|
-
* @memberof UpdateCardApi
|
|
1361
1295
|
*/
|
|
1362
1296
|
reorderPin(id, xIdempotencyKey, xAuditUser, options) {
|
|
1363
1297
|
return UpdateCardApiFp(this.configuration).reorderPin(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1371,7 +1305,6 @@ export class UpdateCardApi extends BaseAPI {
|
|
|
1371
1305
|
* @param {ReplaceCardBody} [replaceCardBody]
|
|
1372
1306
|
* @param {*} [options] Override http request option.
|
|
1373
1307
|
* @throws {RequiredError}
|
|
1374
|
-
* @memberof UpdateCardApi
|
|
1375
1308
|
*/
|
|
1376
1309
|
replaceCard(id, xIdempotencyKey, xAuditUser, replaceCardBody, options) {
|
|
1377
1310
|
return UpdateCardApiFp(this.configuration).replaceCard(id, xIdempotencyKey, xAuditUser, replaceCardBody, options).then((request) => request(this.axios, this.basePath));
|