@marqeta/ux-toolkit-sdk-javascript 2.19.1 → 2.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-ETU5DMN7.mjs → chunk-KQ3M4IEL.mjs} +1374 -291
- package/dist/{chunk-DCUOKAHQ.js → chunk-TE7F5GLR.js} +1373 -290
- package/dist/index.d.mts +11 -6
- package/dist/index.d.ts +11 -6
- package/dist/index.js +482 -482
- package/dist/index.mjs +1 -1
- package/dist/react-native.js +523 -523
- package/dist/react-native.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -189,9 +189,9 @@ declare enum CardholderVerificationMethods {
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
declare abstract class iCardRepository {
|
|
192
|
-
abstract getCardByToken(cardToken: string): Promise<CardEntity>;
|
|
192
|
+
abstract getCardByToken(cardToken: string, shortCode?: string): Promise<CardEntity>;
|
|
193
193
|
abstract getCardsByUserToken(): Promise<CardEntity[]>;
|
|
194
|
-
abstract getShowpanByCardToken(cardToken: string): Promise<CardEntity>;
|
|
194
|
+
abstract getShowpanByCardToken(cardToken: string, shortCode?: string): Promise<CardEntity>;
|
|
195
195
|
abstract activateCardByTokenOrPan(cardToken: string, cvv: string, expiry: string, pan?: string): Promise<CardEntity>;
|
|
196
196
|
abstract lockCardByToken(cardToken: string): Promise<CardEntity>;
|
|
197
197
|
abstract replaceCardByToken(cardToken: string, cardProductToken: string, reasonCode: string): Promise<CardEntity>;
|
|
@@ -345,8 +345,8 @@ declare class MockCardRepository implements iCardRepository {
|
|
|
345
345
|
lockCardByToken(cardToken: string): Promise<CardEntity>;
|
|
346
346
|
replaceCardByToken(cardProductToken: string, reasonCode: string): Promise<CardEntity>;
|
|
347
347
|
unlockCardByToken(cardToken: string): Promise<CardEntity>;
|
|
348
|
-
getShowpanByCardToken(cardToken: string): Promise<CardEntity>;
|
|
349
|
-
getCardByToken(cardToken: string): Promise<CardEntity>;
|
|
348
|
+
getShowpanByCardToken(cardToken: string, shortCode?: string): Promise<CardEntity>;
|
|
349
|
+
getCardByToken(cardToken: string, shortCode?: string): Promise<CardEntity>;
|
|
350
350
|
getCardsByUserToken(): Promise<CardEntity[]>;
|
|
351
351
|
activateCardByTokenOrPan(cardToken: string, cvv: string, expiry: string, pan: string): Promise<CardEntity>;
|
|
352
352
|
updatePinByCardToken(pin: string, cardToken: string): Promise<UpdatePinResponse>;
|
|
@@ -355,7 +355,7 @@ declare class MockCardRepository implements iCardRepository {
|
|
|
355
355
|
|
|
356
356
|
declare class GetCardByToken {
|
|
357
357
|
cardRepository: iCardRepository;
|
|
358
|
-
execute(cardToken: string): Promise<CardEntity>;
|
|
358
|
+
execute(cardToken: string, shortCode?: string): Promise<CardEntity>;
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
declare class GetCardsByUserToken {
|
|
@@ -365,7 +365,7 @@ declare class GetCardsByUserToken {
|
|
|
365
365
|
|
|
366
366
|
declare class GetShowpanByCardToken {
|
|
367
367
|
cardRepository: iCardRepository;
|
|
368
|
-
execute(cardToken: string): Promise<CardEntity>;
|
|
368
|
+
execute(cardToken: string, shortCode?: string): Promise<CardEntity>;
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
declare class ActivateCardByTokenOrPan {
|
|
@@ -1716,6 +1716,11 @@ type DynamicFormQuestion = {
|
|
|
1716
1716
|
type: string;
|
|
1717
1717
|
title?: string;
|
|
1718
1718
|
validationRules?: KybValidationRule[];
|
|
1719
|
+
format?: string;
|
|
1720
|
+
oneOf?: Array<{
|
|
1721
|
+
const: string;
|
|
1722
|
+
title: string;
|
|
1723
|
+
}>;
|
|
1719
1724
|
};
|
|
1720
1725
|
declare const KybEvaluationStatus: {
|
|
1721
1726
|
readonly COMPLETE: "COMPLETE";
|
package/dist/index.d.ts
CHANGED
|
@@ -189,9 +189,9 @@ declare enum CardholderVerificationMethods {
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
declare abstract class iCardRepository {
|
|
192
|
-
abstract getCardByToken(cardToken: string): Promise<CardEntity>;
|
|
192
|
+
abstract getCardByToken(cardToken: string, shortCode?: string): Promise<CardEntity>;
|
|
193
193
|
abstract getCardsByUserToken(): Promise<CardEntity[]>;
|
|
194
|
-
abstract getShowpanByCardToken(cardToken: string): Promise<CardEntity>;
|
|
194
|
+
abstract getShowpanByCardToken(cardToken: string, shortCode?: string): Promise<CardEntity>;
|
|
195
195
|
abstract activateCardByTokenOrPan(cardToken: string, cvv: string, expiry: string, pan?: string): Promise<CardEntity>;
|
|
196
196
|
abstract lockCardByToken(cardToken: string): Promise<CardEntity>;
|
|
197
197
|
abstract replaceCardByToken(cardToken: string, cardProductToken: string, reasonCode: string): Promise<CardEntity>;
|
|
@@ -345,8 +345,8 @@ declare class MockCardRepository implements iCardRepository {
|
|
|
345
345
|
lockCardByToken(cardToken: string): Promise<CardEntity>;
|
|
346
346
|
replaceCardByToken(cardProductToken: string, reasonCode: string): Promise<CardEntity>;
|
|
347
347
|
unlockCardByToken(cardToken: string): Promise<CardEntity>;
|
|
348
|
-
getShowpanByCardToken(cardToken: string): Promise<CardEntity>;
|
|
349
|
-
getCardByToken(cardToken: string): Promise<CardEntity>;
|
|
348
|
+
getShowpanByCardToken(cardToken: string, shortCode?: string): Promise<CardEntity>;
|
|
349
|
+
getCardByToken(cardToken: string, shortCode?: string): Promise<CardEntity>;
|
|
350
350
|
getCardsByUserToken(): Promise<CardEntity[]>;
|
|
351
351
|
activateCardByTokenOrPan(cardToken: string, cvv: string, expiry: string, pan: string): Promise<CardEntity>;
|
|
352
352
|
updatePinByCardToken(pin: string, cardToken: string): Promise<UpdatePinResponse>;
|
|
@@ -355,7 +355,7 @@ declare class MockCardRepository implements iCardRepository {
|
|
|
355
355
|
|
|
356
356
|
declare class GetCardByToken {
|
|
357
357
|
cardRepository: iCardRepository;
|
|
358
|
-
execute(cardToken: string): Promise<CardEntity>;
|
|
358
|
+
execute(cardToken: string, shortCode?: string): Promise<CardEntity>;
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
declare class GetCardsByUserToken {
|
|
@@ -365,7 +365,7 @@ declare class GetCardsByUserToken {
|
|
|
365
365
|
|
|
366
366
|
declare class GetShowpanByCardToken {
|
|
367
367
|
cardRepository: iCardRepository;
|
|
368
|
-
execute(cardToken: string): Promise<CardEntity>;
|
|
368
|
+
execute(cardToken: string, shortCode?: string): Promise<CardEntity>;
|
|
369
369
|
}
|
|
370
370
|
|
|
371
371
|
declare class ActivateCardByTokenOrPan {
|
|
@@ -1716,6 +1716,11 @@ type DynamicFormQuestion = {
|
|
|
1716
1716
|
type: string;
|
|
1717
1717
|
title?: string;
|
|
1718
1718
|
validationRules?: KybValidationRule[];
|
|
1719
|
+
format?: string;
|
|
1720
|
+
oneOf?: Array<{
|
|
1721
|
+
const: string;
|
|
1722
|
+
title: string;
|
|
1723
|
+
}>;
|
|
1719
1724
|
};
|
|
1720
1725
|
declare const KybEvaluationStatus: {
|
|
1721
1726
|
readonly COMPLETE: "COMPLETE";
|