@enfuce/nextgen-sdk 0.0.2 → 0.0.3
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/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/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/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/card/api.js
CHANGED
|
@@ -31,18 +31,14 @@ const common_1 = require("./common");
|
|
|
31
31
|
const base_1 = require("./base");
|
|
32
32
|
/**
|
|
33
33
|
* The type of card defined by this card configuration.
|
|
34
|
-
* @export
|
|
35
|
-
* @enum {string}
|
|
36
34
|
*/
|
|
37
35
|
exports.CardConfigurationType = {
|
|
38
36
|
Debit: 'DEBIT',
|
|
39
37
|
Credit: 'CREDIT',
|
|
40
|
-
Combo: 'COMBO'
|
|
38
|
+
Combo: 'COMBO',
|
|
41
39
|
};
|
|
42
40
|
/**
|
|
43
41
|
* 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.
|
|
44
|
-
* @export
|
|
45
|
-
* @enum {string}
|
|
46
42
|
*/
|
|
47
43
|
exports.CardDeliveryType = {
|
|
48
44
|
Mail: 'MAIL',
|
|
@@ -51,30 +47,21 @@ exports.CardDeliveryType = {
|
|
|
51
47
|
Custom2: 'CUSTOM_2',
|
|
52
48
|
Custom3: 'CUSTOM_3',
|
|
53
49
|
Custom4: 'CUSTOM_4',
|
|
54
|
-
Custom5: 'CUSTOM_5'
|
|
50
|
+
Custom5: 'CUSTOM_5',
|
|
55
51
|
};
|
|
56
52
|
/**
|
|
57
53
|
* 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.
|
|
58
|
-
* @export
|
|
59
|
-
* @enum {string}
|
|
60
54
|
*/
|
|
61
55
|
exports.CardRole = {
|
|
62
56
|
MainCard: 'MAIN_CARD',
|
|
63
|
-
CardApplication: 'CARD_APPLICATION'
|
|
57
|
+
CardApplication: 'CARD_APPLICATION',
|
|
64
58
|
};
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @export
|
|
68
|
-
* @enum {string}
|
|
69
|
-
*/
|
|
70
59
|
exports.CardScheme = {
|
|
71
60
|
Mastercard: 'MASTERCARD',
|
|
72
|
-
Visa: 'VISA'
|
|
61
|
+
Visa: 'VISA',
|
|
73
62
|
};
|
|
74
63
|
/**
|
|
75
64
|
* - 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.
|
|
76
|
-
* @export
|
|
77
|
-
* @enum {string}
|
|
78
65
|
*/
|
|
79
66
|
exports.CardStatus = {
|
|
80
67
|
Active: 'ACTIVE',
|
|
@@ -84,109 +71,90 @@ exports.CardStatus = {
|
|
|
84
71
|
ClosedLost: 'CLOSED_LOST',
|
|
85
72
|
ClosedStolen: 'CLOSED_STOLEN',
|
|
86
73
|
Closed: 'CLOSED',
|
|
87
|
-
ClosedExpired: 'CLOSED_EXPIRED'
|
|
74
|
+
ClosedExpired: 'CLOSED_EXPIRED',
|
|
88
75
|
};
|
|
89
76
|
/**
|
|
90
77
|
* - 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.
|
|
91
|
-
* @export
|
|
92
|
-
* @enum {string}
|
|
93
78
|
*/
|
|
94
79
|
exports.CardVersionStatus = {
|
|
95
80
|
Active: 'ACTIVE',
|
|
96
81
|
Initial: 'INITIAL',
|
|
97
|
-
Closed: 'CLOSED'
|
|
82
|
+
Closed: 'CLOSED',
|
|
98
83
|
};
|
|
99
84
|
/**
|
|
100
85
|
* - GENERATED - A pin should be randomly generated for the card. - WAITING - A pin is waiting to be set on the card.
|
|
101
|
-
* @export
|
|
102
|
-
* @enum {string}
|
|
103
86
|
*/
|
|
104
87
|
exports.ChangePinStatus = {
|
|
105
88
|
Generated: 'GENERATED',
|
|
106
|
-
Waiting: 'WAITING'
|
|
89
|
+
Waiting: 'WAITING',
|
|
107
90
|
};
|
|
108
91
|
/**
|
|
109
92
|
* - GENERATED - This endpoint request would generate a random PIN for the new card. - WAITING - The card PIN would be set later.
|
|
110
|
-
* @export
|
|
111
|
-
* @enum {string}
|
|
112
93
|
*/
|
|
113
94
|
exports.CreatePinStatus = {
|
|
114
95
|
Generated: 'GENERATED',
|
|
115
|
-
Waiting: 'WAITING'
|
|
96
|
+
Waiting: 'WAITING',
|
|
116
97
|
};
|
|
117
98
|
exports.EncryptCardPaymentInfoRequestBodyEncryptionMethodEnum = {
|
|
118
|
-
RsaEcbOaepSha256Mgf12048: 'RSA_ECB_OAEP_SHA256_MGF1_2048'
|
|
99
|
+
RsaEcbOaepSha256Mgf12048: 'RSA_ECB_OAEP_SHA256_MGF1_2048',
|
|
119
100
|
};
|
|
120
101
|
exports.EncryptCardPaymentInfoRequestBodyFieldsEnum = {
|
|
121
102
|
PrimaryAccountNumber: 'PRIMARY_ACCOUNT_NUMBER',
|
|
122
103
|
ExpirationDate: 'EXPIRATION_DATE',
|
|
123
|
-
Cvv2: 'CVV2'
|
|
104
|
+
Cvv2: 'CVV2',
|
|
124
105
|
};
|
|
125
106
|
/**
|
|
126
107
|
* Reason for manufacturing the card.
|
|
127
|
-
* @export
|
|
128
|
-
* @enum {string}
|
|
129
108
|
*/
|
|
130
109
|
exports.ManufacturingReason = {
|
|
131
110
|
NewCard: 'NEW_CARD',
|
|
132
111
|
ReplaceCard: 'REPLACE_CARD',
|
|
133
112
|
ReissueCard: 'REISSUE_CARD',
|
|
134
113
|
ReorderPin: 'REORDER_PIN',
|
|
135
|
-
RenewCard: 'RENEW_CARD'
|
|
114
|
+
RenewCard: 'RENEW_CARD',
|
|
136
115
|
};
|
|
137
116
|
/**
|
|
138
117
|
* - 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.
|
|
139
|
-
* @export
|
|
140
|
-
* @enum {string}
|
|
141
118
|
*/
|
|
142
119
|
exports.ManufacturingStatus = {
|
|
143
120
|
AwaitingCryptoValues: 'AWAITING_CRYPTO_VALUES',
|
|
144
121
|
CryptoValuesProcessed: 'CRYPTO_VALUES_PROCESSED',
|
|
145
122
|
SentToManufacturer: 'SENT_TO_MANUFACTURER',
|
|
146
|
-
ManufacturingAborted: 'MANUFACTURING_ABORTED'
|
|
123
|
+
ManufacturingAborted: 'MANUFACTURING_ABORTED',
|
|
147
124
|
};
|
|
148
125
|
/**
|
|
149
126
|
* 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.
|
|
150
|
-
* @export
|
|
151
|
-
* @enum {string}
|
|
152
127
|
*/
|
|
153
128
|
exports.PinDeliveryType = {
|
|
154
129
|
Mail: 'MAIL',
|
|
155
130
|
Courier: 'COURIER',
|
|
156
|
-
Epin: 'EPIN'
|
|
131
|
+
Epin: 'EPIN',
|
|
157
132
|
};
|
|
158
133
|
/**
|
|
159
134
|
* Describes the scope of the operation authorised by the user.
|
|
160
|
-
* @export
|
|
161
|
-
* @enum {string}
|
|
162
135
|
*/
|
|
163
136
|
exports.PinScope = {
|
|
164
137
|
ViewPin: 'VIEW_PIN',
|
|
165
138
|
SetPin: 'SET_PIN',
|
|
166
|
-
ChangePin: 'CHANGE_PIN'
|
|
139
|
+
ChangePin: 'CHANGE_PIN',
|
|
167
140
|
};
|
|
168
141
|
/**
|
|
169
142
|
* - 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.
|
|
170
|
-
* @export
|
|
171
|
-
* @enum {string}
|
|
172
143
|
*/
|
|
173
144
|
exports.PinStatus = {
|
|
174
145
|
Generated: 'GENERATED',
|
|
175
146
|
Waiting: 'WAITING',
|
|
176
147
|
Set: 'SET',
|
|
177
|
-
Inherited: 'INHERITED'
|
|
148
|
+
Inherited: 'INHERITED',
|
|
178
149
|
};
|
|
179
150
|
/**
|
|
180
151
|
* - GENERATED - A pin should be randomly generated for the card.
|
|
181
|
-
* @export
|
|
182
|
-
* @enum {string}
|
|
183
152
|
*/
|
|
184
153
|
exports.UpdatePinStatus = {
|
|
185
|
-
Generated: 'GENERATED'
|
|
154
|
+
Generated: 'GENERATED',
|
|
186
155
|
};
|
|
187
156
|
/**
|
|
188
157
|
* CreateCardApi - axios parameter creator
|
|
189
|
-
* @export
|
|
190
158
|
*/
|
|
191
159
|
const CreateCardApiAxiosParamCreator = function (configuration) {
|
|
192
160
|
return {
|
|
@@ -216,6 +184,7 @@ const CreateCardApiAxiosParamCreator = function (configuration) {
|
|
|
216
184
|
// http bearer authentication required
|
|
217
185
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
218
186
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
187
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
219
188
|
if (xAuditUser != null) {
|
|
220
189
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
221
190
|
}
|
|
@@ -236,7 +205,6 @@ const CreateCardApiAxiosParamCreator = function (configuration) {
|
|
|
236
205
|
exports.CreateCardApiAxiosParamCreator = CreateCardApiAxiosParamCreator;
|
|
237
206
|
/**
|
|
238
207
|
* CreateCardApi - functional programming interface
|
|
239
|
-
* @export
|
|
240
208
|
*/
|
|
241
209
|
const CreateCardApiFp = function (configuration) {
|
|
242
210
|
const localVarAxiosParamCreator = (0, exports.CreateCardApiAxiosParamCreator)(configuration);
|
|
@@ -264,7 +232,6 @@ const CreateCardApiFp = function (configuration) {
|
|
|
264
232
|
exports.CreateCardApiFp = CreateCardApiFp;
|
|
265
233
|
/**
|
|
266
234
|
* CreateCardApi - factory interface
|
|
267
|
-
* @export
|
|
268
235
|
*/
|
|
269
236
|
const CreateCardApiFactory = function (configuration, basePath, axios) {
|
|
270
237
|
const localVarFp = (0, exports.CreateCardApiFp)(configuration);
|
|
@@ -286,9 +253,6 @@ const CreateCardApiFactory = function (configuration, basePath, axios) {
|
|
|
286
253
|
exports.CreateCardApiFactory = CreateCardApiFactory;
|
|
287
254
|
/**
|
|
288
255
|
* CreateCardApi - object-oriented interface
|
|
289
|
-
* @export
|
|
290
|
-
* @class CreateCardApi
|
|
291
|
-
* @extends {BaseAPI}
|
|
292
256
|
*/
|
|
293
257
|
class CreateCardApi extends base_1.BaseAPI {
|
|
294
258
|
/**
|
|
@@ -299,7 +263,6 @@ class CreateCardApi extends base_1.BaseAPI {
|
|
|
299
263
|
* @param {string} [xIdempotencyKey] Idempotency key for the request.
|
|
300
264
|
* @param {*} [options] Override http request option.
|
|
301
265
|
* @throws {RequiredError}
|
|
302
|
-
* @memberof CreateCardApi
|
|
303
266
|
*/
|
|
304
267
|
createCard(createCardRequest, xAuditUser, xIdempotencyKey, options) {
|
|
305
268
|
return (0, exports.CreateCardApiFp)(this.configuration).createCard(createCardRequest, xAuditUser, xIdempotencyKey, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -308,7 +271,6 @@ class CreateCardApi extends base_1.BaseAPI {
|
|
|
308
271
|
exports.CreateCardApi = CreateCardApi;
|
|
309
272
|
/**
|
|
310
273
|
* CreatePINControlAccessTokenApi - axios parameter creator
|
|
311
|
-
* @export
|
|
312
274
|
*/
|
|
313
275
|
const CreatePINControlAccessTokenApiAxiosParamCreator = function (configuration) {
|
|
314
276
|
return {
|
|
@@ -327,7 +289,7 @@ const CreatePINControlAccessTokenApiAxiosParamCreator = function (configuration)
|
|
|
327
289
|
// verify required parameter 'pinControlInfoRequestBody' is not null or undefined
|
|
328
290
|
(0, common_1.assertParamExists)('createPinControl', 'pinControlInfoRequestBody', pinControlInfoRequestBody);
|
|
329
291
|
const localVarPath = `/v1/cards/{id}/pinControl`
|
|
330
|
-
.replace(
|
|
292
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
331
293
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
332
294
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
333
295
|
let baseOptions;
|
|
@@ -341,6 +303,7 @@ const CreatePINControlAccessTokenApiAxiosParamCreator = function (configuration)
|
|
|
341
303
|
// http bearer authentication required
|
|
342
304
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
343
305
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
306
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
344
307
|
if (xAuditUser != null) {
|
|
345
308
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
346
309
|
}
|
|
@@ -358,7 +321,6 @@ const CreatePINControlAccessTokenApiAxiosParamCreator = function (configuration)
|
|
|
358
321
|
exports.CreatePINControlAccessTokenApiAxiosParamCreator = CreatePINControlAccessTokenApiAxiosParamCreator;
|
|
359
322
|
/**
|
|
360
323
|
* CreatePINControlAccessTokenApi - functional programming interface
|
|
361
|
-
* @export
|
|
362
324
|
*/
|
|
363
325
|
const CreatePINControlAccessTokenApiFp = function (configuration) {
|
|
364
326
|
const localVarAxiosParamCreator = (0, exports.CreatePINControlAccessTokenApiAxiosParamCreator)(configuration);
|
|
@@ -386,7 +348,6 @@ const CreatePINControlAccessTokenApiFp = function (configuration) {
|
|
|
386
348
|
exports.CreatePINControlAccessTokenApiFp = CreatePINControlAccessTokenApiFp;
|
|
387
349
|
/**
|
|
388
350
|
* CreatePINControlAccessTokenApi - factory interface
|
|
389
|
-
* @export
|
|
390
351
|
*/
|
|
391
352
|
const CreatePINControlAccessTokenApiFactory = function (configuration, basePath, axios) {
|
|
392
353
|
const localVarFp = (0, exports.CreatePINControlAccessTokenApiFp)(configuration);
|
|
@@ -408,9 +369,6 @@ const CreatePINControlAccessTokenApiFactory = function (configuration, basePath,
|
|
|
408
369
|
exports.CreatePINControlAccessTokenApiFactory = CreatePINControlAccessTokenApiFactory;
|
|
409
370
|
/**
|
|
410
371
|
* CreatePINControlAccessTokenApi - object-oriented interface
|
|
411
|
-
* @export
|
|
412
|
-
* @class CreatePINControlAccessTokenApi
|
|
413
|
-
* @extends {BaseAPI}
|
|
414
372
|
*/
|
|
415
373
|
class CreatePINControlAccessTokenApi extends base_1.BaseAPI {
|
|
416
374
|
/**
|
|
@@ -421,7 +379,6 @@ class CreatePINControlAccessTokenApi extends base_1.BaseAPI {
|
|
|
421
379
|
* @param {string} [xAuditUser] Optional audit user header
|
|
422
380
|
* @param {*} [options] Override http request option.
|
|
423
381
|
* @throws {RequiredError}
|
|
424
|
-
* @memberof CreatePINControlAccessTokenApi
|
|
425
382
|
*/
|
|
426
383
|
createPinControl(id, pinControlInfoRequestBody, xAuditUser, options) {
|
|
427
384
|
return (0, exports.CreatePINControlAccessTokenApiFp)(this.configuration).createPinControl(id, pinControlInfoRequestBody, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -430,7 +387,6 @@ class CreatePINControlAccessTokenApi extends base_1.BaseAPI {
|
|
|
430
387
|
exports.CreatePINControlAccessTokenApi = CreatePINControlAccessTokenApi;
|
|
431
388
|
/**
|
|
432
389
|
* GetCardApi - axios parameter creator
|
|
433
|
-
* @export
|
|
434
390
|
*/
|
|
435
391
|
const GetCardApiAxiosParamCreator = function (configuration) {
|
|
436
392
|
return {
|
|
@@ -446,7 +402,7 @@ const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
446
402
|
// verify required parameter 'id' is not null or undefined
|
|
447
403
|
(0, common_1.assertParamExists)('getCard', 'id', id);
|
|
448
404
|
const localVarPath = `/v1/cards/{id}`
|
|
449
|
-
.replace(
|
|
405
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
450
406
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
451
407
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
452
408
|
let baseOptions;
|
|
@@ -459,6 +415,7 @@ const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
459
415
|
// authentication bearerAuth required
|
|
460
416
|
// http bearer authentication required
|
|
461
417
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
418
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
462
419
|
if (xAuditUser != null) {
|
|
463
420
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
464
421
|
}
|
|
@@ -483,7 +440,7 @@ const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
483
440
|
// verify required parameter 'id' is not null or undefined
|
|
484
441
|
(0, common_1.assertParamExists)('getCardDataControlToken', 'id', id);
|
|
485
442
|
const localVarPath = `/v1/cards/{id}/controlToken`
|
|
486
|
-
.replace(
|
|
443
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
487
444
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
488
445
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
489
446
|
let baseOptions;
|
|
@@ -497,6 +454,7 @@ const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
497
454
|
// http bearer authentication required
|
|
498
455
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
499
456
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
457
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
500
458
|
if (xAuditUser != null) {
|
|
501
459
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
502
460
|
}
|
|
@@ -536,6 +494,7 @@ const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
536
494
|
if (mainCardId !== undefined) {
|
|
537
495
|
localVarQueryParameter['mainCardId'] = mainCardId;
|
|
538
496
|
}
|
|
497
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
539
498
|
if (xAuditUser != null) {
|
|
540
499
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
541
500
|
}
|
|
@@ -552,7 +511,6 @@ const GetCardApiAxiosParamCreator = function (configuration) {
|
|
|
552
511
|
exports.GetCardApiAxiosParamCreator = GetCardApiAxiosParamCreator;
|
|
553
512
|
/**
|
|
554
513
|
* GetCardApi - functional programming interface
|
|
555
|
-
* @export
|
|
556
514
|
*/
|
|
557
515
|
const GetCardApiFp = function (configuration) {
|
|
558
516
|
const localVarAxiosParamCreator = (0, exports.GetCardApiAxiosParamCreator)(configuration);
|
|
@@ -614,7 +572,6 @@ const GetCardApiFp = function (configuration) {
|
|
|
614
572
|
exports.GetCardApiFp = GetCardApiFp;
|
|
615
573
|
/**
|
|
616
574
|
* GetCardApi - factory interface
|
|
617
|
-
* @export
|
|
618
575
|
*/
|
|
619
576
|
const GetCardApiFactory = function (configuration, basePath, axios) {
|
|
620
577
|
const localVarFp = (0, exports.GetCardApiFp)(configuration);
|
|
@@ -658,9 +615,6 @@ const GetCardApiFactory = function (configuration, basePath, axios) {
|
|
|
658
615
|
exports.GetCardApiFactory = GetCardApiFactory;
|
|
659
616
|
/**
|
|
660
617
|
* GetCardApi - object-oriented interface
|
|
661
|
-
* @export
|
|
662
|
-
* @class GetCardApi
|
|
663
|
-
* @extends {BaseAPI}
|
|
664
618
|
*/
|
|
665
619
|
class GetCardApi extends base_1.BaseAPI {
|
|
666
620
|
/**
|
|
@@ -670,7 +624,6 @@ class GetCardApi extends base_1.BaseAPI {
|
|
|
670
624
|
* @param {string} [xAuditUser] Optional audit user header
|
|
671
625
|
* @param {*} [options] Override http request option.
|
|
672
626
|
* @throws {RequiredError}
|
|
673
|
-
* @memberof GetCardApi
|
|
674
627
|
*/
|
|
675
628
|
getCard(id, xAuditUser, options) {
|
|
676
629
|
return (0, exports.GetCardApiFp)(this.configuration).getCard(id, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -683,7 +636,6 @@ class GetCardApi extends base_1.BaseAPI {
|
|
|
683
636
|
* @param {ControlTokenRequestBody} [controlTokenRequestBody]
|
|
684
637
|
* @param {*} [options] Override http request option.
|
|
685
638
|
* @throws {RequiredError}
|
|
686
|
-
* @memberof GetCardApi
|
|
687
639
|
*/
|
|
688
640
|
getCardDataControlToken(id, xAuditUser, controlTokenRequestBody, options) {
|
|
689
641
|
return (0, exports.GetCardApiFp)(this.configuration).getCardDataControlToken(id, xAuditUser, controlTokenRequestBody, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -695,7 +647,6 @@ class GetCardApi extends base_1.BaseAPI {
|
|
|
695
647
|
* @param {string} [xAuditUser] Optional audit user header
|
|
696
648
|
* @param {*} [options] Override http request option.
|
|
697
649
|
* @throws {RequiredError}
|
|
698
|
-
* @memberof GetCardApi
|
|
699
650
|
*/
|
|
700
651
|
getCards(mainCardId, xAuditUser, options) {
|
|
701
652
|
return (0, exports.GetCardApiFp)(this.configuration).getCards(mainCardId, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -704,7 +655,6 @@ class GetCardApi extends base_1.BaseAPI {
|
|
|
704
655
|
exports.GetCardApi = GetCardApi;
|
|
705
656
|
/**
|
|
706
657
|
* GetCardPaymentInfoApi - axios parameter creator
|
|
707
|
-
* @export
|
|
708
658
|
*/
|
|
709
659
|
const GetCardPaymentInfoApiAxiosParamCreator = function (configuration) {
|
|
710
660
|
return {
|
|
@@ -723,7 +673,7 @@ const GetCardPaymentInfoApiAxiosParamCreator = function (configuration) {
|
|
|
723
673
|
// verify required parameter 'encryptCardPaymentInfoRequestBody' is not null or undefined
|
|
724
674
|
(0, common_1.assertParamExists)('encryptCardPaymentInfo', 'encryptCardPaymentInfoRequestBody', encryptCardPaymentInfoRequestBody);
|
|
725
675
|
const localVarPath = `/v1/cards/{id}/encrypt`
|
|
726
|
-
.replace(
|
|
676
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
727
677
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
728
678
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
729
679
|
let baseOptions;
|
|
@@ -737,6 +687,7 @@ const GetCardPaymentInfoApiAxiosParamCreator = function (configuration) {
|
|
|
737
687
|
// http bearer authentication required
|
|
738
688
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
739
689
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
690
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
740
691
|
if (xAuditUser != null) {
|
|
741
692
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
742
693
|
}
|
|
@@ -754,7 +705,6 @@ const GetCardPaymentInfoApiAxiosParamCreator = function (configuration) {
|
|
|
754
705
|
exports.GetCardPaymentInfoApiAxiosParamCreator = GetCardPaymentInfoApiAxiosParamCreator;
|
|
755
706
|
/**
|
|
756
707
|
* GetCardPaymentInfoApi - functional programming interface
|
|
757
|
-
* @export
|
|
758
708
|
*/
|
|
759
709
|
const GetCardPaymentInfoApiFp = function (configuration) {
|
|
760
710
|
const localVarAxiosParamCreator = (0, exports.GetCardPaymentInfoApiAxiosParamCreator)(configuration);
|
|
@@ -782,7 +732,6 @@ const GetCardPaymentInfoApiFp = function (configuration) {
|
|
|
782
732
|
exports.GetCardPaymentInfoApiFp = GetCardPaymentInfoApiFp;
|
|
783
733
|
/**
|
|
784
734
|
* GetCardPaymentInfoApi - factory interface
|
|
785
|
-
* @export
|
|
786
735
|
*/
|
|
787
736
|
const GetCardPaymentInfoApiFactory = function (configuration, basePath, axios) {
|
|
788
737
|
const localVarFp = (0, exports.GetCardPaymentInfoApiFp)(configuration);
|
|
@@ -804,9 +753,6 @@ const GetCardPaymentInfoApiFactory = function (configuration, basePath, axios) {
|
|
|
804
753
|
exports.GetCardPaymentInfoApiFactory = GetCardPaymentInfoApiFactory;
|
|
805
754
|
/**
|
|
806
755
|
* GetCardPaymentInfoApi - object-oriented interface
|
|
807
|
-
* @export
|
|
808
|
-
* @class GetCardPaymentInfoApi
|
|
809
|
-
* @extends {BaseAPI}
|
|
810
756
|
*/
|
|
811
757
|
class GetCardPaymentInfoApi extends base_1.BaseAPI {
|
|
812
758
|
/**
|
|
@@ -817,7 +763,6 @@ class GetCardPaymentInfoApi extends base_1.BaseAPI {
|
|
|
817
763
|
* @param {string} [xAuditUser] Optional audit user header
|
|
818
764
|
* @param {*} [options] Override http request option.
|
|
819
765
|
* @throws {RequiredError}
|
|
820
|
-
* @memberof GetCardPaymentInfoApi
|
|
821
766
|
*/
|
|
822
767
|
encryptCardPaymentInfo(id, encryptCardPaymentInfoRequestBody, xAuditUser, options) {
|
|
823
768
|
return (0, exports.GetCardPaymentInfoApiFp)(this.configuration).encryptCardPaymentInfo(id, encryptCardPaymentInfoRequestBody, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -826,7 +771,6 @@ class GetCardPaymentInfoApi extends base_1.BaseAPI {
|
|
|
826
771
|
exports.GetCardPaymentInfoApi = GetCardPaymentInfoApi;
|
|
827
772
|
/**
|
|
828
773
|
* GetPlasticManufacturingHistoryApi - axios parameter creator
|
|
829
|
-
* @export
|
|
830
774
|
*/
|
|
831
775
|
const GetPlasticManufacturingHistoryApiAxiosParamCreator = function (configuration) {
|
|
832
776
|
return {
|
|
@@ -842,7 +786,7 @@ const GetPlasticManufacturingHistoryApiAxiosParamCreator = function (configurati
|
|
|
842
786
|
// verify required parameter 'id' is not null or undefined
|
|
843
787
|
(0, common_1.assertParamExists)('manufacturingHistory', 'id', id);
|
|
844
788
|
const localVarPath = `/v1/cards/{id}/manufacturing-history`
|
|
845
|
-
.replace(
|
|
789
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
846
790
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
847
791
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
848
792
|
let baseOptions;
|
|
@@ -855,6 +799,7 @@ const GetPlasticManufacturingHistoryApiAxiosParamCreator = function (configurati
|
|
|
855
799
|
// authentication bearerAuth required
|
|
856
800
|
// http bearer authentication required
|
|
857
801
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
802
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
858
803
|
if (xAuditUser != null) {
|
|
859
804
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
860
805
|
}
|
|
@@ -871,7 +816,6 @@ const GetPlasticManufacturingHistoryApiAxiosParamCreator = function (configurati
|
|
|
871
816
|
exports.GetPlasticManufacturingHistoryApiAxiosParamCreator = GetPlasticManufacturingHistoryApiAxiosParamCreator;
|
|
872
817
|
/**
|
|
873
818
|
* GetPlasticManufacturingHistoryApi - functional programming interface
|
|
874
|
-
* @export
|
|
875
819
|
*/
|
|
876
820
|
const GetPlasticManufacturingHistoryApiFp = function (configuration) {
|
|
877
821
|
const localVarAxiosParamCreator = (0, exports.GetPlasticManufacturingHistoryApiAxiosParamCreator)(configuration);
|
|
@@ -898,7 +842,6 @@ const GetPlasticManufacturingHistoryApiFp = function (configuration) {
|
|
|
898
842
|
exports.GetPlasticManufacturingHistoryApiFp = GetPlasticManufacturingHistoryApiFp;
|
|
899
843
|
/**
|
|
900
844
|
* GetPlasticManufacturingHistoryApi - factory interface
|
|
901
|
-
* @export
|
|
902
845
|
*/
|
|
903
846
|
const GetPlasticManufacturingHistoryApiFactory = function (configuration, basePath, axios) {
|
|
904
847
|
const localVarFp = (0, exports.GetPlasticManufacturingHistoryApiFp)(configuration);
|
|
@@ -919,9 +862,6 @@ const GetPlasticManufacturingHistoryApiFactory = function (configuration, basePa
|
|
|
919
862
|
exports.GetPlasticManufacturingHistoryApiFactory = GetPlasticManufacturingHistoryApiFactory;
|
|
920
863
|
/**
|
|
921
864
|
* GetPlasticManufacturingHistoryApi - object-oriented interface
|
|
922
|
-
* @export
|
|
923
|
-
* @class GetPlasticManufacturingHistoryApi
|
|
924
|
-
* @extends {BaseAPI}
|
|
925
865
|
*/
|
|
926
866
|
class GetPlasticManufacturingHistoryApi extends base_1.BaseAPI {
|
|
927
867
|
/**
|
|
@@ -931,7 +871,6 @@ class GetPlasticManufacturingHistoryApi extends base_1.BaseAPI {
|
|
|
931
871
|
* @param {string} [xAuditUser] Optional audit user header
|
|
932
872
|
* @param {*} [options] Override http request option.
|
|
933
873
|
* @throws {RequiredError}
|
|
934
|
-
* @memberof GetPlasticManufacturingHistoryApi
|
|
935
874
|
*/
|
|
936
875
|
manufacturingHistory(id, xAuditUser, options) {
|
|
937
876
|
return (0, exports.GetPlasticManufacturingHistoryApiFp)(this.configuration).manufacturingHistory(id, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -940,7 +879,6 @@ class GetPlasticManufacturingHistoryApi extends base_1.BaseAPI {
|
|
|
940
879
|
exports.GetPlasticManufacturingHistoryApi = GetPlasticManufacturingHistoryApi;
|
|
941
880
|
/**
|
|
942
881
|
* UpdateCardApi - axios parameter creator
|
|
943
|
-
* @export
|
|
944
882
|
*/
|
|
945
883
|
const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
946
884
|
return {
|
|
@@ -957,7 +895,7 @@ const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
957
895
|
// verify required parameter 'id' is not null or undefined
|
|
958
896
|
(0, common_1.assertParamExists)('activateCard', 'id', id);
|
|
959
897
|
const localVarPath = `/v1/cards/{id}/activate`
|
|
960
|
-
.replace(
|
|
898
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
961
899
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
962
900
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
963
901
|
let baseOptions;
|
|
@@ -970,6 +908,7 @@ const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
970
908
|
// authentication bearerAuth required
|
|
971
909
|
// http bearer authentication required
|
|
972
910
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
911
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
973
912
|
if (xIdempotencyKey != null) {
|
|
974
913
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
975
914
|
}
|
|
@@ -999,7 +938,7 @@ const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
999
938
|
// verify required parameter 'updateCardBody' is not null or undefined
|
|
1000
939
|
(0, common_1.assertParamExists)('patchCard', 'updateCardBody', updateCardBody);
|
|
1001
940
|
const localVarPath = `/v1/cards/{id}`
|
|
1002
|
-
.replace(
|
|
941
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1003
942
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1004
943
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1005
944
|
let baseOptions;
|
|
@@ -1013,6 +952,7 @@ const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1013
952
|
// http bearer authentication required
|
|
1014
953
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1015
954
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
955
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1016
956
|
if (xAuditUser != null) {
|
|
1017
957
|
localVarHeaderParameter['x-audit-user'] = String(xAuditUser);
|
|
1018
958
|
}
|
|
@@ -1039,7 +979,7 @@ const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1039
979
|
// verify required parameter 'id' is not null or undefined
|
|
1040
980
|
(0, common_1.assertParamExists)('reissueCard', 'id', id);
|
|
1041
981
|
const localVarPath = `/v1/cards/{id}/reissue`
|
|
1042
|
-
.replace(
|
|
982
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1043
983
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1044
984
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1045
985
|
let baseOptions;
|
|
@@ -1053,6 +993,7 @@ const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1053
993
|
// http bearer authentication required
|
|
1054
994
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1055
995
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
996
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1056
997
|
if (xIdempotencyKey != null) {
|
|
1057
998
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1058
999
|
}
|
|
@@ -1081,7 +1022,7 @@ const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1081
1022
|
// verify required parameter 'id' is not null or undefined
|
|
1082
1023
|
(0, common_1.assertParamExists)('reorderPin', 'id', id);
|
|
1083
1024
|
const localVarPath = `/v1/cards/{id}/reorder-pin`
|
|
1084
|
-
.replace(
|
|
1025
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1085
1026
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1086
1027
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1087
1028
|
let baseOptions;
|
|
@@ -1094,6 +1035,7 @@ const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1094
1035
|
// authentication bearerAuth required
|
|
1095
1036
|
// http bearer authentication required
|
|
1096
1037
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1038
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1097
1039
|
if (xIdempotencyKey != null) {
|
|
1098
1040
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1099
1041
|
}
|
|
@@ -1122,7 +1064,7 @@ const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1122
1064
|
// verify required parameter 'id' is not null or undefined
|
|
1123
1065
|
(0, common_1.assertParamExists)('replaceCard', 'id', id);
|
|
1124
1066
|
const localVarPath = `/v1/cards/{id}/replace`
|
|
1125
|
-
.replace(
|
|
1067
|
+
.replace('{id}', encodeURIComponent(String(id)));
|
|
1126
1068
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1127
1069
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1128
1070
|
let baseOptions;
|
|
@@ -1136,6 +1078,7 @@ const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1136
1078
|
// http bearer authentication required
|
|
1137
1079
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1138
1080
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1081
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1139
1082
|
if (xIdempotencyKey != null) {
|
|
1140
1083
|
localVarHeaderParameter['x-idempotency-key'] = String(xIdempotencyKey);
|
|
1141
1084
|
}
|
|
@@ -1156,7 +1099,6 @@ const UpdateCardApiAxiosParamCreator = function (configuration) {
|
|
|
1156
1099
|
exports.UpdateCardApiAxiosParamCreator = UpdateCardApiAxiosParamCreator;
|
|
1157
1100
|
/**
|
|
1158
1101
|
* UpdateCardApi - functional programming interface
|
|
1159
|
-
* @export
|
|
1160
1102
|
*/
|
|
1161
1103
|
const UpdateCardApiFp = function (configuration) {
|
|
1162
1104
|
const localVarAxiosParamCreator = (0, exports.UpdateCardApiAxiosParamCreator)(configuration);
|
|
@@ -1258,7 +1200,6 @@ const UpdateCardApiFp = function (configuration) {
|
|
|
1258
1200
|
exports.UpdateCardApiFp = UpdateCardApiFp;
|
|
1259
1201
|
/**
|
|
1260
1202
|
* UpdateCardApi - factory interface
|
|
1261
|
-
* @export
|
|
1262
1203
|
*/
|
|
1263
1204
|
const UpdateCardApiFactory = function (configuration, basePath, axios) {
|
|
1264
1205
|
const localVarFp = (0, exports.UpdateCardApiFp)(configuration);
|
|
@@ -1330,9 +1271,6 @@ const UpdateCardApiFactory = function (configuration, basePath, axios) {
|
|
|
1330
1271
|
exports.UpdateCardApiFactory = UpdateCardApiFactory;
|
|
1331
1272
|
/**
|
|
1332
1273
|
* UpdateCardApi - object-oriented interface
|
|
1333
|
-
* @export
|
|
1334
|
-
* @class UpdateCardApi
|
|
1335
|
-
* @extends {BaseAPI}
|
|
1336
1274
|
*/
|
|
1337
1275
|
class UpdateCardApi extends base_1.BaseAPI {
|
|
1338
1276
|
/**
|
|
@@ -1343,7 +1281,6 @@ class UpdateCardApi extends base_1.BaseAPI {
|
|
|
1343
1281
|
* @param {string} [xAuditUser] Optional audit user header
|
|
1344
1282
|
* @param {*} [options] Override http request option.
|
|
1345
1283
|
* @throws {RequiredError}
|
|
1346
|
-
* @memberof UpdateCardApi
|
|
1347
1284
|
*/
|
|
1348
1285
|
activateCard(id, xIdempotencyKey, xAuditUser, options) {
|
|
1349
1286
|
return (0, exports.UpdateCardApiFp)(this.configuration).activateCard(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1356,7 +1293,6 @@ class UpdateCardApi extends base_1.BaseAPI {
|
|
|
1356
1293
|
* @param {string} [xAuditUser] Optional audit user header
|
|
1357
1294
|
* @param {*} [options] Override http request option.
|
|
1358
1295
|
* @throws {RequiredError}
|
|
1359
|
-
* @memberof UpdateCardApi
|
|
1360
1296
|
*/
|
|
1361
1297
|
patchCard(id, updateCardBody, xAuditUser, options) {
|
|
1362
1298
|
return (0, exports.UpdateCardApiFp)(this.configuration).patchCard(id, updateCardBody, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1370,7 +1306,6 @@ class UpdateCardApi extends base_1.BaseAPI {
|
|
|
1370
1306
|
* @param {ReissueCardBody} [reissueCardBody]
|
|
1371
1307
|
* @param {*} [options] Override http request option.
|
|
1372
1308
|
* @throws {RequiredError}
|
|
1373
|
-
* @memberof UpdateCardApi
|
|
1374
1309
|
*/
|
|
1375
1310
|
reissueCard(id, xIdempotencyKey, xAuditUser, reissueCardBody, options) {
|
|
1376
1311
|
return (0, exports.UpdateCardApiFp)(this.configuration).reissueCard(id, xIdempotencyKey, xAuditUser, reissueCardBody, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1383,7 +1318,6 @@ class UpdateCardApi extends base_1.BaseAPI {
|
|
|
1383
1318
|
* @param {string} [xAuditUser] Optional audit user header
|
|
1384
1319
|
* @param {*} [options] Override http request option.
|
|
1385
1320
|
* @throws {RequiredError}
|
|
1386
|
-
* @memberof UpdateCardApi
|
|
1387
1321
|
*/
|
|
1388
1322
|
reorderPin(id, xIdempotencyKey, xAuditUser, options) {
|
|
1389
1323
|
return (0, exports.UpdateCardApiFp)(this.configuration).reorderPin(id, xIdempotencyKey, xAuditUser, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1397,7 +1331,6 @@ class UpdateCardApi extends base_1.BaseAPI {
|
|
|
1397
1331
|
* @param {ReplaceCardBody} [replaceCardBody]
|
|
1398
1332
|
* @param {*} [options] Override http request option.
|
|
1399
1333
|
* @throws {RequiredError}
|
|
1400
|
-
* @memberof UpdateCardApi
|
|
1401
1334
|
*/
|
|
1402
1335
|
replaceCard(id, xIdempotencyKey, xAuditUser, replaceCardBody, options) {
|
|
1403
1336
|
return (0, exports.UpdateCardApiFp)(this.configuration).replaceCard(id, xIdempotencyKey, xAuditUser, replaceCardBody, options).then((request) => request(this.axios, this.basePath));
|