@alogram/payrisk 0.1.6
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/AI.md +37 -0
- package/LICENSE +201 -0
- package/README.md +129 -0
- package/dist/_generated/apis/PayriskApi.d.ts +108 -0
- package/dist/_generated/apis/PayriskApi.js +342 -0
- package/dist/_generated/apis/index.d.ts +1 -0
- package/dist/_generated/apis/index.js +19 -0
- package/dist/_generated/index.d.ts +3 -0
- package/dist/_generated/index.js +21 -0
- package/dist/_generated/models/Account.d.ts +59 -0
- package/dist/_generated/models/Account.js +57 -0
- package/dist/_generated/models/AccountCheckRequest.d.ts +64 -0
- package/dist/_generated/models/AccountCheckRequest.js +72 -0
- package/dist/_generated/models/AvsResultEnum.d.ts +54 -0
- package/dist/_generated/models/AvsResultEnum.js +82 -0
- package/dist/_generated/models/BankTransfer.d.ts +39 -0
- package/dist/_generated/models/BankTransfer.js +59 -0
- package/dist/_generated/models/Card.d.ts +93 -0
- package/dist/_generated/models/Card.js +81 -0
- package/dist/_generated/models/CardNetworkEnum.d.ts +30 -0
- package/dist/_generated/models/CardNetworkEnum.js +58 -0
- package/dist/_generated/models/CategorySignal.d.ts +45 -0
- package/dist/_generated/models/CategorySignal.js +55 -0
- package/dist/_generated/models/ChannelEnum.d.ts +28 -0
- package/dist/_generated/models/ChannelEnum.js +56 -0
- package/dist/_generated/models/CheckRequest.d.ts +66 -0
- package/dist/_generated/models/CheckRequest.js +72 -0
- package/dist/_generated/models/ConfidenceEnum.d.ts +26 -0
- package/dist/_generated/models/ConfidenceEnum.js +54 -0
- package/dist/_generated/models/Crypto.d.ts +39 -0
- package/dist/_generated/models/Crypto.js +59 -0
- package/dist/_generated/models/CvvResultEnum.d.ts +33 -0
- package/dist/_generated/models/CvvResultEnum.js +61 -0
- package/dist/_generated/models/DecisionResponse.d.ts +128 -0
- package/dist/_generated/models/DecisionResponse.js +107 -0
- package/dist/_generated/models/DeviceInfo.d.ts +54 -0
- package/dist/_generated/models/DeviceInfo.js +56 -0
- package/dist/_generated/models/EntityIds.d.ts +113 -0
- package/dist/_generated/models/EntityIds.js +70 -0
- package/dist/_generated/models/EntryMethodEnum.d.ts +30 -0
- package/dist/_generated/models/EntryMethodEnum.js +58 -0
- package/dist/_generated/models/FraudScore.d.ts +52 -0
- package/dist/_generated/models/FraudScore.js +58 -0
- package/dist/_generated/models/Identity.d.ts +71 -0
- package/dist/_generated/models/Identity.js +57 -0
- package/dist/_generated/models/Integrity.d.ts +68 -0
- package/dist/_generated/models/Integrity.js +58 -0
- package/dist/_generated/models/Interaction.d.ts +59 -0
- package/dist/_generated/models/Interaction.js +60 -0
- package/dist/_generated/models/InteractionTypeEnum.d.ts +29 -0
- package/dist/_generated/models/InteractionTypeEnum.js +57 -0
- package/dist/_generated/models/Invoice.d.ts +39 -0
- package/dist/_generated/models/Invoice.js +59 -0
- package/dist/_generated/models/IpInfo.d.ts +101 -0
- package/dist/_generated/models/IpInfo.js +78 -0
- package/dist/_generated/models/KycCheckRequest.d.ts +64 -0
- package/dist/_generated/models/KycCheckRequest.js +74 -0
- package/dist/_generated/models/KycPayload.d.ts +84 -0
- package/dist/_generated/models/KycPayload.js +82 -0
- package/dist/_generated/models/MerchantContext.d.ts +38 -0
- package/dist/_generated/models/MerchantContext.js +50 -0
- package/dist/_generated/models/OrderContext.d.ts +60 -0
- package/dist/_generated/models/OrderContext.js +65 -0
- package/dist/_generated/models/PayerTypeEnum.d.ts +25 -0
- package/dist/_generated/models/PayerTypeEnum.js +53 -0
- package/dist/_generated/models/PaymentAuthorizationOutcome.d.ts +38 -0
- package/dist/_generated/models/PaymentAuthorizationOutcome.js +50 -0
- package/dist/_generated/models/PaymentCaptureOutcome.d.ts +42 -0
- package/dist/_generated/models/PaymentCaptureOutcome.js +60 -0
- package/dist/_generated/models/PaymentCardTypeEnum.d.ts +26 -0
- package/dist/_generated/models/PaymentCardTypeEnum.js +54 -0
- package/dist/_generated/models/PaymentChargeback.d.ts +32 -0
- package/dist/_generated/models/PaymentChargeback.js +48 -0
- package/dist/_generated/models/PaymentChargebackOutcome.d.ts +42 -0
- package/dist/_generated/models/PaymentChargebackOutcome.js +60 -0
- package/dist/_generated/models/PaymentDisputeOutcome.d.ts +43 -0
- package/dist/_generated/models/PaymentDisputeOutcome.js +61 -0
- package/dist/_generated/models/PaymentEvent.d.ts +72 -0
- package/dist/_generated/models/PaymentEvent.js +68 -0
- package/dist/_generated/models/PaymentEventType.d.ts +30 -0
- package/dist/_generated/models/PaymentEventType.js +58 -0
- package/dist/_generated/models/PaymentMethod.d.ts +39 -0
- package/dist/_generated/models/PaymentMethod.js +73 -0
- package/dist/_generated/models/PaymentMethodBase.d.ts +44 -0
- package/dist/_generated/models/PaymentMethodBase.js +64 -0
- package/dist/_generated/models/PaymentOutcome.d.ts +69 -0
- package/dist/_generated/models/PaymentOutcome.js +64 -0
- package/dist/_generated/models/PaymentRealtimeTypeEnum.d.ts +28 -0
- package/dist/_generated/models/PaymentRealtimeTypeEnum.js +56 -0
- package/dist/_generated/models/PaymentRefundOutcome.d.ts +41 -0
- package/dist/_generated/models/PaymentRefundOutcome.js +59 -0
- package/dist/_generated/models/PaymentWalletTypeEnum.d.ts +28 -0
- package/dist/_generated/models/PaymentWalletTypeEnum.js +56 -0
- package/dist/_generated/models/PostalAddress.d.ts +65 -0
- package/dist/_generated/models/PostalAddress.js +58 -0
- package/dist/_generated/models/Problem.d.ts +62 -0
- package/dist/_generated/models/Problem.js +62 -0
- package/dist/_generated/models/Purchase.d.ts +122 -0
- package/dist/_generated/models/Purchase.js +88 -0
- package/dist/_generated/models/PurchaseInitiatorEnum.d.ts +25 -0
- package/dist/_generated/models/PurchaseInitiatorEnum.js +53 -0
- package/dist/_generated/models/PurchaseSequenceEnum.d.ts +25 -0
- package/dist/_generated/models/PurchaseSequenceEnum.js +53 -0
- package/dist/_generated/models/PurchaseUsageEnum.d.ts +27 -0
- package/dist/_generated/models/PurchaseUsageEnum.js +55 -0
- package/dist/_generated/models/Realtime.d.ts +46 -0
- package/dist/_generated/models/Realtime.js +62 -0
- package/dist/_generated/models/ReasonDetail.d.ts +57 -0
- package/dist/_generated/models/ReasonDetail.js +63 -0
- package/dist/_generated/models/RiskBreakdown.d.ts +51 -0
- package/dist/_generated/models/RiskBreakdown.js +55 -0
- package/dist/_generated/models/RiskCategoryEnum.d.ts +27 -0
- package/dist/_generated/models/RiskCategoryEnum.js +55 -0
- package/dist/_generated/models/RiskLevelEnum.d.ts +26 -0
- package/dist/_generated/models/RiskLevelEnum.js +54 -0
- package/dist/_generated/models/ScaMethodEnum.d.ts +30 -0
- package/dist/_generated/models/ScaMethodEnum.js +58 -0
- package/dist/_generated/models/ScoreRecord.d.ts +107 -0
- package/dist/_generated/models/ScoreRecord.js +92 -0
- package/dist/_generated/models/ScoresSuccessResponse.d.ts +39 -0
- package/dist/_generated/models/ScoresSuccessResponse.js +51 -0
- package/dist/_generated/models/SignalsAccountVariant.d.ts +53 -0
- package/dist/_generated/models/SignalsAccountVariant.js +69 -0
- package/dist/_generated/models/SignalsInteractionVariant.d.ts +53 -0
- package/dist/_generated/models/SignalsInteractionVariant.js +69 -0
- package/dist/_generated/models/SignalsRequest.d.ts +28 -0
- package/dist/_generated/models/SignalsRequest.js +53 -0
- package/dist/_generated/models/StoredCredentialContext.d.ts +47 -0
- package/dist/_generated/models/StoredCredentialContext.js +55 -0
- package/dist/_generated/models/ThreeDSData.d.ts +68 -0
- package/dist/_generated/models/ThreeDSData.js +66 -0
- package/dist/_generated/models/Wallet.d.ts +46 -0
- package/dist/_generated/models/Wallet.js +62 -0
- package/dist/_generated/models/index.d.ts +62 -0
- package/dist/_generated/models/index.js +80 -0
- package/dist/_generated/runtime.d.ts +184 -0
- package/dist/_generated/runtime.js +338 -0
- package/dist/client.d.ts +69 -0
- package/dist/client.js +281 -0
- package/dist/exceptions.d.ts +24 -0
- package/dist/exceptions.js +59 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +23 -0
- package/dist/testing.d.ts +24 -0
- package/dist/testing.js +100 -0
- package/dist/webhooks.d.ts +10 -0
- package/dist/webhooks.js +32 -0
- package/examples/asyncSignalIngestion.ts +52 -0
- package/examples/checkRisk.ts +26 -0
- package/examples/productionErrorHandling.ts +52 -0
- package/examples/webhookVerification.ts +29 -0
- package/package.json +64 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Payments Risk API
|
|
6
|
+
* API for detecting and scoring fraud for purchases, with lifecycle labeling and behavioral signals. v1 focuses on purchases only (`/risk/check`), with future account/session and KYC checks stubbed below.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.6-rc.3
|
|
9
|
+
* Contact: support@alogram.ai
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfIdentity = instanceOfIdentity;
|
|
17
|
+
exports.IdentityFromJSON = IdentityFromJSON;
|
|
18
|
+
exports.IdentityFromJSONTyped = IdentityFromJSONTyped;
|
|
19
|
+
exports.IdentityToJSON = IdentityToJSON;
|
|
20
|
+
exports.IdentityToJSONTyped = IdentityToJSONTyped;
|
|
21
|
+
const PostalAddress_1 = require("./PostalAddress");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the Identity interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfIdentity(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function IdentityFromJSON(json) {
|
|
29
|
+
return IdentityFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function IdentityFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
37
|
+
'emailDomain': json['emailDomain'] == null ? undefined : json['emailDomain'],
|
|
38
|
+
'phone': json['phone'] == null ? undefined : json['phone'],
|
|
39
|
+
'shippingAddress': json['shippingAddress'] == null ? undefined : (0, PostalAddress_1.PostalAddressFromJSON)(json['shippingAddress']),
|
|
40
|
+
'billingAddress': json['billingAddress'] == null ? undefined : (0, PostalAddress_1.PostalAddressFromJSON)(json['billingAddress']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function IdentityToJSON(json) {
|
|
44
|
+
return IdentityToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function IdentityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'email': value['email'],
|
|
52
|
+
'emailDomain': value['emailDomain'],
|
|
53
|
+
'phone': value['phone'],
|
|
54
|
+
'shippingAddress': (0, PostalAddress_1.PostalAddressToJSON)(value['shippingAddress']),
|
|
55
|
+
'billingAddress': (0, PostalAddress_1.PostalAddressToJSON)(value['billingAddress']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Payments Risk API
|
|
3
|
+
* API for detecting and scoring fraud for purchases, with lifecycle labeling and behavioral signals. v1 focuses on purchases only (`/risk/check`), with future account/session and KYC checks stubbed below.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.6-rc.3
|
|
6
|
+
* Contact: support@alogram.ai
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Integrity
|
|
16
|
+
*/
|
|
17
|
+
export interface Integrity {
|
|
18
|
+
/**
|
|
19
|
+
* Indicates whether the IP address is associated with a proxy, VPN, or Tor exit node.
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof Integrity
|
|
23
|
+
*/
|
|
24
|
+
isProxyVpnTor?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Indicates whether the IP address belongs to a hosting provider (e.g., data center, cloud provider).
|
|
27
|
+
*
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @memberof Integrity
|
|
30
|
+
*/
|
|
31
|
+
isHostingProvider?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Indicates whether the browser is running in headless mode (e.g., automated testing, scraping).
|
|
34
|
+
*
|
|
35
|
+
* @type {boolean}
|
|
36
|
+
* @memberof Integrity
|
|
37
|
+
*/
|
|
38
|
+
isHeadless?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Indicates whether the request originated from an automated script or bot.
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof Integrity
|
|
44
|
+
*/
|
|
45
|
+
isAutomation?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Indicates whether the request originated from an emulator (e.g., Android Emulator, iOS Simulator).
|
|
48
|
+
*
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof Integrity
|
|
51
|
+
*/
|
|
52
|
+
isEmulator?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Indicates whether the device is rooted (Android) or jailbroken (iOS).
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof Integrity
|
|
58
|
+
*/
|
|
59
|
+
isRootedJailbroken?: boolean;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the Integrity interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfIntegrity(value: object): value is Integrity;
|
|
65
|
+
export declare function IntegrityFromJSON(json: any): Integrity;
|
|
66
|
+
export declare function IntegrityFromJSONTyped(json: any, ignoreDiscriminator: boolean): Integrity;
|
|
67
|
+
export declare function IntegrityToJSON(json: any): Integrity;
|
|
68
|
+
export declare function IntegrityToJSONTyped(value?: Integrity | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Payments Risk API
|
|
6
|
+
* API for detecting and scoring fraud for purchases, with lifecycle labeling and behavioral signals. v1 focuses on purchases only (`/risk/check`), with future account/session and KYC checks stubbed below.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.6-rc.3
|
|
9
|
+
* Contact: support@alogram.ai
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfIntegrity = instanceOfIntegrity;
|
|
17
|
+
exports.IntegrityFromJSON = IntegrityFromJSON;
|
|
18
|
+
exports.IntegrityFromJSONTyped = IntegrityFromJSONTyped;
|
|
19
|
+
exports.IntegrityToJSON = IntegrityToJSON;
|
|
20
|
+
exports.IntegrityToJSONTyped = IntegrityToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the Integrity interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfIntegrity(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function IntegrityFromJSON(json) {
|
|
28
|
+
return IntegrityFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function IntegrityFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'isProxyVpnTor': json['isProxyVpnTor'] == null ? undefined : json['isProxyVpnTor'],
|
|
36
|
+
'isHostingProvider': json['isHostingProvider'] == null ? undefined : json['isHostingProvider'],
|
|
37
|
+
'isHeadless': json['isHeadless'] == null ? undefined : json['isHeadless'],
|
|
38
|
+
'isAutomation': json['isAutomation'] == null ? undefined : json['isAutomation'],
|
|
39
|
+
'isEmulator': json['isEmulator'] == null ? undefined : json['isEmulator'],
|
|
40
|
+
'isRootedJailbroken': json['isRootedJailbroken'] == null ? undefined : json['isRootedJailbroken'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function IntegrityToJSON(json) {
|
|
44
|
+
return IntegrityToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function IntegrityToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'isProxyVpnTor': value['isProxyVpnTor'],
|
|
52
|
+
'isHostingProvider': value['isHostingProvider'],
|
|
53
|
+
'isHeadless': value['isHeadless'],
|
|
54
|
+
'isAutomation': value['isAutomation'],
|
|
55
|
+
'isEmulator': value['isEmulator'],
|
|
56
|
+
'isRootedJailbroken': value['isRootedJailbroken'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Payments Risk API
|
|
3
|
+
* API for detecting and scoring fraud for purchases, with lifecycle labeling and behavioral signals. v1 focuses on purchases only (`/risk/check`), with future account/session and KYC checks stubbed below.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.6-rc.3
|
|
6
|
+
* Contact: support@alogram.ai
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DeviceInfo } from './DeviceInfo';
|
|
13
|
+
import type { InteractionTypeEnum } from './InteractionTypeEnum';
|
|
14
|
+
/**
|
|
15
|
+
* The application-layer Interaction object.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface Interaction
|
|
18
|
+
*/
|
|
19
|
+
export interface Interaction {
|
|
20
|
+
/**
|
|
21
|
+
* Unique identifier for the location where the transaction occurred.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof Interaction
|
|
24
|
+
*/
|
|
25
|
+
locationId?: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {DeviceInfo}
|
|
29
|
+
* @memberof Interaction
|
|
30
|
+
*/
|
|
31
|
+
deviceInfo?: DeviceInfo;
|
|
32
|
+
/**
|
|
33
|
+
* RFC 3339 timestamp with timezone.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof Interaction
|
|
36
|
+
*/
|
|
37
|
+
timestamp?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {InteractionTypeEnum}
|
|
41
|
+
* @memberof Interaction
|
|
42
|
+
*/
|
|
43
|
+
interactionType: InteractionTypeEnum;
|
|
44
|
+
/**
|
|
45
|
+
* Optional key-value pairs providing additional context for the request. Each key should be descriptive, and values should not exceed 2048 characters. Each key should be descriptive.
|
|
46
|
+
*
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof Interaction
|
|
49
|
+
*/
|
|
50
|
+
metadata?: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the Interaction interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfInteraction(value: object): value is Interaction;
|
|
56
|
+
export declare function InteractionFromJSON(json: any): Interaction;
|
|
57
|
+
export declare function InteractionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Interaction;
|
|
58
|
+
export declare function InteractionToJSON(json: any): Interaction;
|
|
59
|
+
export declare function InteractionToJSONTyped(value?: Interaction | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Payments Risk API
|
|
6
|
+
* API for detecting and scoring fraud for purchases, with lifecycle labeling and behavioral signals. v1 focuses on purchases only (`/risk/check`), with future account/session and KYC checks stubbed below.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.6-rc.3
|
|
9
|
+
* Contact: support@alogram.ai
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfInteraction = instanceOfInteraction;
|
|
17
|
+
exports.InteractionFromJSON = InteractionFromJSON;
|
|
18
|
+
exports.InteractionFromJSONTyped = InteractionFromJSONTyped;
|
|
19
|
+
exports.InteractionToJSON = InteractionToJSON;
|
|
20
|
+
exports.InteractionToJSONTyped = InteractionToJSONTyped;
|
|
21
|
+
const DeviceInfo_1 = require("./DeviceInfo");
|
|
22
|
+
const InteractionTypeEnum_1 = require("./InteractionTypeEnum");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the Interaction interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfInteraction(value) {
|
|
27
|
+
if (!('interactionType' in value) || value['interactionType'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function InteractionFromJSON(json) {
|
|
32
|
+
return InteractionFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function InteractionFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'locationId': json['locationId'] == null ? undefined : json['locationId'],
|
|
40
|
+
'deviceInfo': json['deviceInfo'] == null ? undefined : (0, DeviceInfo_1.DeviceInfoFromJSON)(json['deviceInfo']),
|
|
41
|
+
'timestamp': json['timestamp'] == null ? undefined : json['timestamp'],
|
|
42
|
+
'interactionType': (0, InteractionTypeEnum_1.InteractionTypeEnumFromJSON)(json['interactionType']),
|
|
43
|
+
'metadata': json['metadata'] == null ? undefined : json['metadata'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function InteractionToJSON(json) {
|
|
47
|
+
return InteractionToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function InteractionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'locationId': value['locationId'],
|
|
55
|
+
'deviceInfo': (0, DeviceInfo_1.DeviceInfoToJSON)(value['deviceInfo']),
|
|
56
|
+
'timestamp': value['timestamp'],
|
|
57
|
+
'interactionType': (0, InteractionTypeEnum_1.InteractionTypeEnumToJSON)(value['interactionType']),
|
|
58
|
+
'metadata': value['metadata'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Payments Risk API
|
|
3
|
+
* API for detecting and scoring fraud for purchases, with lifecycle labeling and behavioral signals. v1 focuses on purchases only (`/risk/check`), with future account/session and KYC checks stubbed below.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.6-rc.3
|
|
6
|
+
* Contact: support@alogram.ai
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The type of interaction being recorded.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum InteractionTypeEnum {
|
|
18
|
+
Login = "login",
|
|
19
|
+
FeatureUse = "feature_use",
|
|
20
|
+
SettingChange = "setting_change",
|
|
21
|
+
PageView = "page_view",
|
|
22
|
+
_3rdPartyEvent = "3rd_party_event",
|
|
23
|
+
CustomEvent = "custom_event"
|
|
24
|
+
}
|
|
25
|
+
export declare function instanceOfInteractionTypeEnum(value: any): boolean;
|
|
26
|
+
export declare function InteractionTypeEnumFromJSON(json: any): InteractionTypeEnum;
|
|
27
|
+
export declare function InteractionTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): InteractionTypeEnum;
|
|
28
|
+
export declare function InteractionTypeEnumToJSON(value?: InteractionTypeEnum | null): any;
|
|
29
|
+
export declare function InteractionTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): InteractionTypeEnum;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Payments Risk API
|
|
6
|
+
* API for detecting and scoring fraud for purchases, with lifecycle labeling and behavioral signals. v1 focuses on purchases only (`/risk/check`), with future account/session and KYC checks stubbed below.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.6-rc.3
|
|
9
|
+
* Contact: support@alogram.ai
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.InteractionTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfInteractionTypeEnum = instanceOfInteractionTypeEnum;
|
|
18
|
+
exports.InteractionTypeEnumFromJSON = InteractionTypeEnumFromJSON;
|
|
19
|
+
exports.InteractionTypeEnumFromJSONTyped = InteractionTypeEnumFromJSONTyped;
|
|
20
|
+
exports.InteractionTypeEnumToJSON = InteractionTypeEnumToJSON;
|
|
21
|
+
exports.InteractionTypeEnumToJSONTyped = InteractionTypeEnumToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* The type of interaction being recorded.
|
|
24
|
+
* @export
|
|
25
|
+
* @enum {string}
|
|
26
|
+
*/
|
|
27
|
+
var InteractionTypeEnum;
|
|
28
|
+
(function (InteractionTypeEnum) {
|
|
29
|
+
InteractionTypeEnum["Login"] = "login";
|
|
30
|
+
InteractionTypeEnum["FeatureUse"] = "feature_use";
|
|
31
|
+
InteractionTypeEnum["SettingChange"] = "setting_change";
|
|
32
|
+
InteractionTypeEnum["PageView"] = "page_view";
|
|
33
|
+
InteractionTypeEnum["_3rdPartyEvent"] = "3rd_party_event";
|
|
34
|
+
InteractionTypeEnum["CustomEvent"] = "custom_event";
|
|
35
|
+
})(InteractionTypeEnum || (exports.InteractionTypeEnum = InteractionTypeEnum = {}));
|
|
36
|
+
function instanceOfInteractionTypeEnum(value) {
|
|
37
|
+
for (const key in InteractionTypeEnum) {
|
|
38
|
+
if (Object.prototype.hasOwnProperty.call(InteractionTypeEnum, key)) {
|
|
39
|
+
if (InteractionTypeEnum[key] === value) {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
function InteractionTypeEnumFromJSON(json) {
|
|
47
|
+
return InteractionTypeEnumFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function InteractionTypeEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
function InteractionTypeEnumToJSON(value) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
function InteractionTypeEnumToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Payments Risk API
|
|
3
|
+
* API for detecting and scoring fraud for purchases, with lifecycle labeling and behavioral signals. v1 focuses on purchases only (`/risk/check`), with future account/session and KYC checks stubbed below.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.6-rc.3
|
|
6
|
+
* Contact: support@alogram.ai
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface Invoice
|
|
16
|
+
*/
|
|
17
|
+
export interface Invoice {
|
|
18
|
+
/**
|
|
19
|
+
* Fixed to `invoice` for this schema.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Invoice
|
|
22
|
+
*/
|
|
23
|
+
type: InvoiceTypeEnum;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
* @enum {string}
|
|
28
|
+
*/
|
|
29
|
+
export declare enum InvoiceTypeEnum {
|
|
30
|
+
Invoice = "invoice"
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the Invoice interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfInvoice(value: object): value is Invoice;
|
|
36
|
+
export declare function InvoiceFromJSON(json: any): Invoice;
|
|
37
|
+
export declare function InvoiceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Invoice;
|
|
38
|
+
export declare function InvoiceToJSON(json: any): Invoice;
|
|
39
|
+
export declare function InvoiceToJSONTyped(value?: Invoice | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Payments Risk API
|
|
6
|
+
* API for detecting and scoring fraud for purchases, with lifecycle labeling and behavioral signals. v1 focuses on purchases only (`/risk/check`), with future account/session and KYC checks stubbed below.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.6-rc.3
|
|
9
|
+
* Contact: support@alogram.ai
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.InvoiceTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfInvoice = instanceOfInvoice;
|
|
18
|
+
exports.InvoiceFromJSON = InvoiceFromJSON;
|
|
19
|
+
exports.InvoiceFromJSONTyped = InvoiceFromJSONTyped;
|
|
20
|
+
exports.InvoiceToJSON = InvoiceToJSON;
|
|
21
|
+
exports.InvoiceToJSONTyped = InvoiceToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
* @enum {string}
|
|
25
|
+
*/
|
|
26
|
+
var InvoiceTypeEnum;
|
|
27
|
+
(function (InvoiceTypeEnum) {
|
|
28
|
+
InvoiceTypeEnum["Invoice"] = "invoice";
|
|
29
|
+
})(InvoiceTypeEnum || (exports.InvoiceTypeEnum = InvoiceTypeEnum = {}));
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the Invoice interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfInvoice(value) {
|
|
34
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function InvoiceFromJSON(json) {
|
|
39
|
+
return InvoiceFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function InvoiceFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'type': json['type'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function InvoiceToJSON(json) {
|
|
50
|
+
return InvoiceToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function InvoiceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'type': value['type'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Payments Risk API
|
|
3
|
+
* API for detecting and scoring fraud for purchases, with lifecycle labeling and behavioral signals. v1 focuses on purchases only (`/risk/check`), with future account/session and KYC checks stubbed below.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.1.6-rc.3
|
|
6
|
+
* Contact: support@alogram.ai
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface IpInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface IpInfo {
|
|
18
|
+
/**
|
|
19
|
+
* IP address of the customer, client, or user that initiated the request. Each octet must be between 0 and 255.
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof IpInfo
|
|
23
|
+
*/
|
|
24
|
+
ipAddress?: string;
|
|
25
|
+
/**
|
|
26
|
+
* IPv6 address.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof IpInfo
|
|
29
|
+
*/
|
|
30
|
+
ipv6?: string;
|
|
31
|
+
/**
|
|
32
|
+
* IP protocol version.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof IpInfo
|
|
35
|
+
*/
|
|
36
|
+
ipVersion?: IpInfoIpVersionEnum;
|
|
37
|
+
/**
|
|
38
|
+
* CIDR, e.g., 198.51.100.0/24 or 2001:db8::/48
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof IpInfo
|
|
41
|
+
*/
|
|
42
|
+
ipPrefix?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Autonomous System Number (ASN) of the IP address.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof IpInfo
|
|
47
|
+
*/
|
|
48
|
+
asn?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Organization associated with the IP address.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof IpInfo
|
|
53
|
+
*/
|
|
54
|
+
org?: string;
|
|
55
|
+
/**
|
|
56
|
+
* Company associated with the IP address.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof IpInfo
|
|
59
|
+
*/
|
|
60
|
+
company?: string;
|
|
61
|
+
/**
|
|
62
|
+
* ISO 3166-1 alpha-2 country code.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof IpInfo
|
|
65
|
+
*/
|
|
66
|
+
country?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Region associated with the IP address.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof IpInfo
|
|
71
|
+
*/
|
|
72
|
+
region?: string;
|
|
73
|
+
/**
|
|
74
|
+
* City associated with the IP address.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof IpInfo
|
|
77
|
+
*/
|
|
78
|
+
city?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Postal code associated with the IP address.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof IpInfo
|
|
83
|
+
*/
|
|
84
|
+
postalCode?: string;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* @export
|
|
88
|
+
* @enum {string}
|
|
89
|
+
*/
|
|
90
|
+
export declare enum IpInfoIpVersionEnum {
|
|
91
|
+
Ipv4 = "ipv4",
|
|
92
|
+
Ipv6 = "ipv6"
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Check if a given object implements the IpInfo interface.
|
|
96
|
+
*/
|
|
97
|
+
export declare function instanceOfIpInfo(value: object): value is IpInfo;
|
|
98
|
+
export declare function IpInfoFromJSON(json: any): IpInfo;
|
|
99
|
+
export declare function IpInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IpInfo;
|
|
100
|
+
export declare function IpInfoToJSON(json: any): IpInfo;
|
|
101
|
+
export declare function IpInfoToJSONTyped(value?: IpInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Payments Risk API
|
|
6
|
+
* API for detecting and scoring fraud for purchases, with lifecycle labeling and behavioral signals. v1 focuses on purchases only (`/risk/check`), with future account/session and KYC checks stubbed below.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 0.1.6-rc.3
|
|
9
|
+
* Contact: support@alogram.ai
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.IpInfoIpVersionEnum = void 0;
|
|
17
|
+
exports.instanceOfIpInfo = instanceOfIpInfo;
|
|
18
|
+
exports.IpInfoFromJSON = IpInfoFromJSON;
|
|
19
|
+
exports.IpInfoFromJSONTyped = IpInfoFromJSONTyped;
|
|
20
|
+
exports.IpInfoToJSON = IpInfoToJSON;
|
|
21
|
+
exports.IpInfoToJSONTyped = IpInfoToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
* @enum {string}
|
|
25
|
+
*/
|
|
26
|
+
var IpInfoIpVersionEnum;
|
|
27
|
+
(function (IpInfoIpVersionEnum) {
|
|
28
|
+
IpInfoIpVersionEnum["Ipv4"] = "ipv4";
|
|
29
|
+
IpInfoIpVersionEnum["Ipv6"] = "ipv6";
|
|
30
|
+
})(IpInfoIpVersionEnum || (exports.IpInfoIpVersionEnum = IpInfoIpVersionEnum = {}));
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the IpInfo interface.
|
|
33
|
+
*/
|
|
34
|
+
function instanceOfIpInfo(value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function IpInfoFromJSON(json) {
|
|
38
|
+
return IpInfoFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function IpInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'ipAddress': json['ipAddress'] == null ? undefined : json['ipAddress'],
|
|
46
|
+
'ipv6': json['ipv6'] == null ? undefined : json['ipv6'],
|
|
47
|
+
'ipVersion': json['ipVersion'] == null ? undefined : json['ipVersion'],
|
|
48
|
+
'ipPrefix': json['ipPrefix'] == null ? undefined : json['ipPrefix'],
|
|
49
|
+
'asn': json['asn'] == null ? undefined : json['asn'],
|
|
50
|
+
'org': json['org'] == null ? undefined : json['org'],
|
|
51
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
52
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
53
|
+
'region': json['region'] == null ? undefined : json['region'],
|
|
54
|
+
'city': json['city'] == null ? undefined : json['city'],
|
|
55
|
+
'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function IpInfoToJSON(json) {
|
|
59
|
+
return IpInfoToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function IpInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'ipAddress': value['ipAddress'],
|
|
67
|
+
'ipv6': value['ipv6'],
|
|
68
|
+
'ipVersion': value['ipVersion'],
|
|
69
|
+
'ipPrefix': value['ipPrefix'],
|
|
70
|
+
'asn': value['asn'],
|
|
71
|
+
'org': value['org'],
|
|
72
|
+
'company': value['company'],
|
|
73
|
+
'country': value['country'],
|
|
74
|
+
'region': value['region'],
|
|
75
|
+
'city': value['city'],
|
|
76
|
+
'postalCode': value['postalCode'],
|
|
77
|
+
};
|
|
78
|
+
}
|