-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathwallet.ts
More file actions
133 lines (124 loc) · 7.15 KB
/
wallet.ts
File metadata and controls
133 lines (124 loc) · 7.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/*
* The version of the OpenAPI document: v2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { Device } from "./device";
export class Wallet {
/**
* The confidence score of the wallet account, calculated by the wallet provider. A high score means that account is considered trustworthy. A low score means that the account is considered suspicious. Possible values: **1** to **5**.
*/
"accountScore"?: string;
"device"?: Device | null;
/**
* The confidence score of the device, calculated by the wallet provider. A high score means that device is considered trustworthy. A low score means that the device is considered suspicious. Possible values: **1** to **5**.
*/
"deviceScore"?: string;
/**
* The method used for provisioning the network token. Possible values: **push**, **manual**, **cof**, **unknown**.
*/
"provisioningMethod"?: string;
/**
* A list of risk indicators triggered at the time of provisioning the network token. Some example values of risk indicators are: * **accountTooNewSinceLaunch** * **tooManyRecentAttempts** * **lowDeviceScore** * **lowAccountScore**
*/
"recommendationReasons"?: Array<Wallet.RecommendationReasonsEnum>;
/**
* The type of wallet that the network token is associated with. Possible values: **applePay**, **googlePay**, **garminPay**.
*
* @deprecated since Configuration webhooks v2
* Use name of the `tokenRequestor` instead.
*/
"type"?: string;
static readonly discriminator: string | undefined = undefined;
static readonly mapping: {[index: string]: string} | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "accountScore",
"baseName": "accountScore",
"type": "string",
"format": ""
},
{
"name": "device",
"baseName": "device",
"type": "Device | null",
"format": ""
},
{
"name": "deviceScore",
"baseName": "deviceScore",
"type": "string",
"format": ""
},
{
"name": "provisioningMethod",
"baseName": "provisioningMethod",
"type": "string",
"format": ""
},
{
"name": "recommendationReasons",
"baseName": "recommendationReasons",
"type": "Wallet.RecommendationReasonsEnum",
"format": ""
},
{
"name": "type",
"baseName": "type",
"type": "string",
"format": ""
} ];
static getAttributeTypeMap() {
return Wallet.attributeTypeMap;
}
public constructor() {
}
}
export namespace Wallet {
export enum RecommendationReasonsEnum {
AccountCardTooNew = 'accountCardTooNew',
AccountHighRisk = 'accountHighRisk',
AccountRecentlyChanged = 'accountRecentlyChanged',
AccountTooNew = 'accountTooNew',
AccountTooNewSinceLaunch = 'accountTooNewSinceLaunch',
CardholderPanAssociatedToAccountWithinThresholdDays = 'cardholderPanAssociatedToAccountWithinThresholdDays',
ChangesMadeToAccountDataWithinThresholdDays = 'changesMadeToAccountDataWithinThresholdDays',
DeviceProvisioningLocationOutsideOfCardholdersWalletAccountHomeCountry = 'deviceProvisioningLocationOutsideOfCardholdersWalletAccountHomeCountry',
DeviceRecentlyLost = 'deviceRecentlyLost',
EncryptedPaymentInstrumentDataIsBeingPushedByTheIssuerToTheSameDeviceThatIssuerApplicationAuthenticatedButWithSuccessfulUpfrontAuthentication = 'encryptedPaymentInstrumentDataIsBeingPushedByTheIssuerToTheSameDeviceThatIssuerApplicationAuthenticatedButWithSuccessfulUpfrontAuthentication',
EncryptedPaymentInstrumentDataIsBeingPushedByTheIssuerToTheSameDeviceThatIssuerApplicationAuthenticatedButWithoutAnyUpfrontAuthentication = 'encryptedPaymentInstrumentDataIsBeingPushedByTheIssuerToTheSameDeviceThatIssuerApplicationAuthenticatedButWithoutAnyUpfrontAuthentication',
EncryptedPaymentInstrumentDataIsPushedToADifferentDeviceThanTheOneThatIssuerApplicationAuthenticated = 'encryptedPaymentInstrumentDataIsPushedToADifferentDeviceThanTheOneThatIssuerApplicationAuthenticated',
EncryptedPaymentInstrumentDataIsPushedToADifferentUserThanTheCardHolder = 'encryptedPaymentInstrumentDataIsPushedToADifferentUserThanTheCardHolder',
HasSuspendedTokens = 'hasSuspendedTokens',
InactiveAccount = 'inactiveAccount',
IssuerDeferredIdvDecision = 'issuerDeferredIDVDecision',
IssuerEncryptedPaymentInstrumentDataExpired = 'issuerEncryptedPaymentInstrumentDataExpired',
LowAccountScore = 'lowAccountScore',
LowDeviceScore = 'lowDeviceScore',
LowPhoneNumberScore = 'lowPhoneNumberScore',
NumberOfActiveTokensGreaterThanThreshold = 'numberOfActiveTokensGreaterThanThreshold',
NumberOfActiveTokensOnAllDevicesIsGreaterThanThreshold = 'numberOfActiveTokensOnAllDevicesIsGreaterThanThreshold',
NumberOfDaysSinceDeviceWasLastReportedLostIsLessThanThresholdDays = 'numberOfDaysSinceDeviceWasLastReportedLostIsLessThanThresholdDays',
NumberOfDevicesWithSameUseridWithTokenIsGreaterThanThreshold = 'numberOfDevicesWithSameUseridWithTokenIsGreaterThanThreshold',
NumberOfTransactionsInLast12MonthsLessThanThresholdNumber = 'numberOfTransactionsInLast12MonthsLessThanThresholdNumber',
OutSideHomeTerritory = 'outSideHomeTerritory',
SuspendedCardsInTheWalletAccountIsGreaterThanThreshold = 'suspendedCardsInTheWALLETAccountIsGreaterThanThreshold',
SuspiciousActivity = 'suspiciousActivity',
TheNumberOfProvisioningAttemptsAcrossAllCardsOnThisDeviceInTheLast24HoursExceedsTheThreshold = 'theNumberOfProvisioningAttemptsAcrossAllCardsOnThisDeviceInTheLast24HoursExceedsTheThreshold',
TheWalletAccountIntoWhichTheCardIsBeingProvisionedContainDistinctNamesGreaterThanThreshold = 'theWALLETAccountIntoWhichTheCardIsBeingProvisionedContainDistinctNamesGreaterThanThreshold',
ThisAccountHasNotHadActivityWithinThresholdPeriod = 'thisAccountHasNotHadActivityWithinThresholdPeriod',
TooManyDifferentCardholders = 'tooManyDifferentCardholders',
TooManyRecentAttempts = 'tooManyRecentAttempts',
TooManyRecentTokens = 'tooManyRecentTokens',
UnableToAssess = 'unableToAssess',
Unknown = 'unknown',
UserAccountWasCreatedWithinThresholdDays = 'userAccountWasCreatedWithinThresholdDays',
UserDeviceReceivingEncryptedPaymentInstrumentDataIsDifferentThanTheOneThatIsProvisioningTheToken = 'userDeviceReceivingEncryptedPaymentInstrumentDataIsDifferentThanTheOneThatIsProvisioningTheToken',
UsersAccountOnDeviceLessThanThresholdDays = 'usersAccountOnDeviceLessThanThresholdDays',
WalletAccountCreatedWithinThresholdDays = 'walletAccountCreatedWithinThresholdDays',
WalletAccountHolderNameOnFileDoesNotMatchCardholderEnteredName = 'walletAccountHolderNameOnFileDoesNotMatchCardholderEnteredName'
}
}