@keystrokehq/fraudlabs_pro 0.1.0 → 0.1.1
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-account.cjs +15 -15
- package/dist/actions/create-account.cjs.map +1 -1
- package/dist/actions/create-account.d.cts +70 -3
- package/dist/actions/create-account.d.cts.map +1 -1
- package/dist/actions/create-account.d.mts +70 -3
- package/dist/actions/create-account.d.mts.map +1 -1
- package/dist/actions/create-account.mjs +15 -15
- package/dist/actions/create-account.mjs.map +1 -1
- package/dist/actions/flp-feedback-order.cjs +1 -1
- package/dist/actions/flp-feedback-order.cjs.map +1 -1
- package/dist/actions/flp-feedback-order.d.cts +26 -3
- package/dist/actions/flp-feedback-order.d.cts.map +1 -1
- package/dist/actions/flp-feedback-order.d.mts +26 -3
- package/dist/actions/flp-feedback-order.d.mts.map +1 -1
- package/dist/actions/flp-feedback-order.mjs +1 -1
- package/dist/actions/flp-feedback-order.mjs.map +1 -1
- package/dist/actions/flp-screen-order.cjs +56 -56
- package/dist/actions/flp-screen-order.cjs.map +1 -1
- package/dist/actions/flp-screen-order.d.cts +233 -3
- package/dist/actions/flp-screen-order.d.cts.map +1 -1
- package/dist/actions/flp-screen-order.d.mts +233 -3
- package/dist/actions/flp-screen-order.d.mts.map +1 -1
- package/dist/actions/flp-screen-order.mjs +56 -56
- package/dist/actions/flp-screen-order.mjs.map +1 -1
- package/dist/actions/get-order-result2.cjs +62 -62
- package/dist/actions/get-order-result2.cjs.map +1 -1
- package/dist/actions/get-order-result2.d.cts +161 -3
- package/dist/actions/get-order-result2.d.cts.map +1 -1
- package/dist/actions/get-order-result2.d.mts +161 -3
- package/dist/actions/get-order-result2.d.mts.map +1 -1
- package/dist/actions/get-order-result2.mjs +62 -62
- package/dist/actions/get-order-result2.mjs.map +1 -1
- package/dist/actions/get-sms-verification-result.cjs +1 -1
- package/dist/actions/get-sms-verification-result.cjs.map +1 -1
- package/dist/actions/get-sms-verification-result.d.cts +23 -3
- package/dist/actions/get-sms-verification-result.d.cts.map +1 -1
- package/dist/actions/get-sms-verification-result.d.mts +23 -3
- package/dist/actions/get-sms-verification-result.d.mts.map +1 -1
- package/dist/actions/get-sms-verification-result.mjs +1 -1
- package/dist/actions/get-sms-verification-result.mjs.map +1 -1
- package/dist/actions/send-sms-verification.cjs +2 -2
- package/dist/actions/send-sms-verification.cjs.map +1 -1
- package/dist/actions/send-sms-verification.d.cts +26 -3
- package/dist/actions/send-sms-verification.d.cts.map +1 -1
- package/dist/actions/send-sms-verification.d.mts +26 -3
- package/dist/actions/send-sms-verification.d.mts.map +1 -1
- package/dist/actions/send-sms-verification.mjs +2 -2
- package/dist/actions/send-sms-verification.mjs.map +1 -1
- package/dist/actions/subscribe-plan.cjs +6 -6
- package/dist/actions/subscribe-plan.cjs.map +1 -1
- package/dist/actions/subscribe-plan.d.cts +36 -3
- package/dist/actions/subscribe-plan.d.cts.map +1 -1
- package/dist/actions/subscribe-plan.d.mts +36 -3
- package/dist/actions/subscribe-plan.d.mts.map +1 -1
- package/dist/actions/subscribe-plan.mjs +6 -6
- package/dist/actions/subscribe-plan.mjs.map +1 -1
- package/dist/actions/webhook-order-status-changed.cjs +3 -3
- package/dist/actions/webhook-order-status-changed.cjs.map +1 -1
- package/dist/actions/webhook-order-status-changed.d.cts +29 -3
- package/dist/actions/webhook-order-status-changed.d.cts.map +1 -1
- package/dist/actions/webhook-order-status-changed.d.mts +29 -3
- package/dist/actions/webhook-order-status-changed.d.mts.map +1 -1
- package/dist/actions/webhook-order-status-changed.mjs +3 -3
- package/dist/actions/webhook-order-status-changed.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -8,84 +8,84 @@ const FraudlabsProGetOrderResult2Input = zod.z.object({
|
|
|
8
8
|
id_type: zod.z.enum(["FraudLabsPro::ID", "FraudLabsPro::UserOrderID"]).describe("Type of ID provided in the 'id' parameter. Use FraudLabsPro::ID for FraudLabs Pro transaction IDs or FraudLabsPro::UserOrderID for your order IDs.").optional()
|
|
9
9
|
});
|
|
10
10
|
const FraudlabsProGetOrderResult2_DeviceSchema = zod.z.object({
|
|
11
|
-
is_in_blacklist: zod.z.boolean().describe("Device is in blacklist").
|
|
12
|
-
is_malware_exploit: zod.z.boolean().describe("Device has malware/exploit risk").
|
|
11
|
+
is_in_blacklist: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Device is in blacklist").optional()),
|
|
12
|
+
is_malware_exploit: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Device has malware/exploit risk").optional())
|
|
13
13
|
});
|
|
14
14
|
const FraudlabsProGetOrderResult2_UsernameSchema = zod.z.object({
|
|
15
|
-
is_high_risk: zod.z.boolean().describe("Username is flagged as high risk").
|
|
16
|
-
is_in_blacklist: zod.z.boolean().describe("Username is in blacklist").
|
|
15
|
+
is_high_risk: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Username is flagged as high risk").optional()),
|
|
16
|
+
is_in_blacklist: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Username is in blacklist").optional())
|
|
17
17
|
});
|
|
18
18
|
const FraudlabsProGetOrderResult2_CreditCardSchema = zod.z.object({
|
|
19
|
-
card_type: zod.z.string().describe("Credit card type").
|
|
20
|
-
card_brand: zod.z.string().describe("Credit card brand").
|
|
21
|
-
is_prepaid: zod.z.boolean().describe("Whether the card is prepaid").
|
|
22
|
-
is_bin_exist: zod.z.boolean().describe("Whether the BIN exists").
|
|
23
|
-
is_in_blacklist: zod.z.boolean().describe("Credit card is in blacklist").
|
|
24
|
-
card_issuing_bank: zod.z.string().describe("Issuing bank of the card").
|
|
25
|
-
card_issuing_country: zod.z.string().describe("ISO-3166 alpha-2 code of issuing country").
|
|
26
|
-
is_bin_country_match: zod.z.boolean().describe("BIN country matches card country").
|
|
19
|
+
card_type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Credit card type").optional()),
|
|
20
|
+
card_brand: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Credit card brand").optional()),
|
|
21
|
+
is_prepaid: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the card is prepaid").optional()),
|
|
22
|
+
is_bin_exist: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the BIN exists").optional()),
|
|
23
|
+
is_in_blacklist: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Credit card is in blacklist").optional()),
|
|
24
|
+
card_issuing_bank: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Issuing bank of the card").optional()),
|
|
25
|
+
card_issuing_country: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO-3166 alpha-2 code of issuing country").optional()),
|
|
26
|
+
is_bin_country_match: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("BIN country matches card country").optional())
|
|
27
27
|
});
|
|
28
28
|
const FraudlabsProGetOrderResult2_PhoneNumberSchema = zod.z.object({
|
|
29
|
-
is_disposable: zod.z.boolean().describe("Disposable phone number").
|
|
30
|
-
is_in_blacklist: zod.z.boolean().describe("Phone number is in blacklist").
|
|
29
|
+
is_disposable: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Disposable phone number").optional()),
|
|
30
|
+
is_in_blacklist: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Phone number is in blacklist").optional())
|
|
31
31
|
});
|
|
32
32
|
const FraudlabsProGetOrderResult2_EmailAddressSchema = zod.z.object({
|
|
33
|
-
is_free: zod.z.boolean().describe("Free email provider").
|
|
34
|
-
is_disposable: zod.z.boolean().describe("Disposable email provider").
|
|
35
|
-
is_in_blacklist: zod.z.boolean().describe("Email domain is in blacklist").
|
|
36
|
-
is_domain_exists: zod.z.boolean().describe("Email domain exists").
|
|
37
|
-
is_new_domain_name: zod.z.boolean().describe("Newly registered domain").
|
|
33
|
+
is_free: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Free email provider").optional()),
|
|
34
|
+
is_disposable: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Disposable email provider").optional()),
|
|
35
|
+
is_in_blacklist: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Email domain is in blacklist").optional()),
|
|
36
|
+
is_domain_exists: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Email domain exists").optional()),
|
|
37
|
+
is_new_domain_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Newly registered domain").optional())
|
|
38
38
|
});
|
|
39
39
|
const FraudlabsProGetOrderResult2_IPGeolocationSchema = zod.z.object({
|
|
40
|
-
ip: zod.z.string().describe("Transaction IP address").
|
|
41
|
-
city: zod.z.string().describe("City").
|
|
42
|
-
domain: zod.z.string().describe("Domain").
|
|
43
|
-
region: zod.z.string().describe("Region").
|
|
44
|
-
is_proxy: zod.z.boolean().describe("Whether the IP is a proxy").
|
|
45
|
-
isp_name: zod.z.string().describe("ISP name").
|
|
46
|
-
latitude: zod.z.number().describe("Latitude").
|
|
47
|
-
netspeed: zod.z.string().describe("Network speed").
|
|
48
|
-
timezone: zod.z.string().describe("Timezone").
|
|
49
|
-
zip_code: zod.z.string().describe("ZIP/postal code").
|
|
50
|
-
continent: zod.z.string().describe("Estimated continent").
|
|
51
|
-
elevation: zod.z.number().int().describe("Elevation").
|
|
52
|
-
longitude: zod.z.number().describe("Longitude").
|
|
53
|
-
mobile_mcc: zod.z.string().describe("Mobile country code").
|
|
54
|
-
mobile_mnc: zod.z.string().describe("Mobile network code").
|
|
55
|
-
usage_type: zod.z.array(zod.z.string()).describe("Usage type").
|
|
56
|
-
country_code: zod.z.string().describe("ISO-3166 alpha-2 country code").
|
|
57
|
-
country_name: zod.z.string().describe("Country name").
|
|
58
|
-
mobile_brand: zod.z.string().describe("Mobile brand").
|
|
59
|
-
is_in_blacklist: zod.z.boolean().describe("Whether the IP is in blacklist").
|
|
40
|
+
ip: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Transaction IP address").optional()),
|
|
41
|
+
city: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("City").optional()),
|
|
42
|
+
domain: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Domain").optional()),
|
|
43
|
+
region: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Region").optional()),
|
|
44
|
+
is_proxy: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the IP is a proxy").optional()),
|
|
45
|
+
isp_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISP name").optional()),
|
|
46
|
+
latitude: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("Latitude").optional()),
|
|
47
|
+
netspeed: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Network speed").optional()),
|
|
48
|
+
timezone: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Timezone").optional()),
|
|
49
|
+
zip_code: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ZIP/postal code").optional()),
|
|
50
|
+
continent: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Estimated continent").optional()),
|
|
51
|
+
elevation: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Elevation").optional()),
|
|
52
|
+
longitude: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().describe("Longitude").optional()),
|
|
53
|
+
mobile_mcc: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Mobile country code").optional()),
|
|
54
|
+
mobile_mnc: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Mobile network code").optional()),
|
|
55
|
+
usage_type: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("Usage type").optional()),
|
|
56
|
+
country_code: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("ISO-3166 alpha-2 country code").optional()),
|
|
57
|
+
country_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Country name").optional()),
|
|
58
|
+
mobile_brand: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Mobile brand").optional()),
|
|
59
|
+
is_in_blacklist: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Whether the IP is in blacklist").optional())
|
|
60
60
|
});
|
|
61
61
|
const FraudlabsProGetOrderResult2_BillingAddressSchema = zod.z.object({
|
|
62
|
-
distance_in_km: zod.z.number().int().describe("IP-to-billing distance in kilometers").
|
|
63
|
-
distance_in_mile: zod.z.number().int().describe("IP-to-billing distance in miles").
|
|
64
|
-
is_ip_country_match: zod.z.boolean().describe("IP country matches billing country").
|
|
62
|
+
distance_in_km: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("IP-to-billing distance in kilometers").optional()),
|
|
63
|
+
distance_in_mile: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("IP-to-billing distance in miles").optional()),
|
|
64
|
+
is_ip_country_match: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("IP country matches billing country").optional())
|
|
65
65
|
});
|
|
66
66
|
const FraudlabsProGetOrderResult2_ShippingAddressSchema = zod.z.object({
|
|
67
|
-
is_in_blacklist: zod.z.boolean().describe("Shipping address is in blacklist").
|
|
68
|
-
is_bill_city_match: zod.z.boolean().describe("Billing city matches shipping city").
|
|
69
|
-
is_bill_state_match: zod.z.boolean().describe("Billing state matches shipping state").
|
|
70
|
-
is_bill_country_match: zod.z.boolean().describe("Billing country matches shipping country").
|
|
71
|
-
is_bill_postcode_match: zod.z.boolean().describe("Billing postcode matches shipping postcode").
|
|
72
|
-
is_address_ship_forward: zod.z.boolean().describe("Known mail drop/forwarding address").
|
|
73
|
-
is_export_controlled_country: zod.z.boolean().describe("Order shipping to embargoed country").
|
|
67
|
+
is_in_blacklist: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Shipping address is in blacklist").optional()),
|
|
68
|
+
is_bill_city_match: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Billing city matches shipping city").optional()),
|
|
69
|
+
is_bill_state_match: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Billing state matches shipping state").optional()),
|
|
70
|
+
is_bill_country_match: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Billing country matches shipping country").optional()),
|
|
71
|
+
is_bill_postcode_match: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Billing postcode matches shipping postcode").optional()),
|
|
72
|
+
is_address_ship_forward: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Known mail drop/forwarding address").optional()),
|
|
73
|
+
is_export_controlled_country: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.boolean().describe("Order shipping to embargoed country").optional())
|
|
74
74
|
});
|
|
75
75
|
const FraudlabsProGetOrderResult2Output = zod.z.object({
|
|
76
|
-
device:
|
|
77
|
-
username:
|
|
78
|
-
credit_card:
|
|
79
|
-
phone_number:
|
|
80
|
-
email_address:
|
|
81
|
-
user_order_id: zod.z.string().describe("Your order identifier").
|
|
82
|
-
ip_geolocation:
|
|
83
|
-
billing_address:
|
|
84
|
-
fraudlabspro_id: zod.z.string().describe("FraudLabs Pro transaction ID").
|
|
85
|
-
shipping_address:
|
|
86
|
-
fraudlabspro_rules: zod.z.array(zod.z.string()).describe("List of rules triggered in screening").
|
|
87
|
-
fraudlabspro_score: zod.z.number().int().describe("Risk score (1-100; higher is riskier)").
|
|
88
|
-
fraudlabspro_status: zod.z.string().describe("Final action; APPROVE, REJECT, or REVIEW").
|
|
76
|
+
device: zod.z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_DeviceSchema.optional()),
|
|
77
|
+
username: zod.z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_UsernameSchema.optional()),
|
|
78
|
+
credit_card: zod.z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_CreditCardSchema.optional()),
|
|
79
|
+
phone_number: zod.z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_PhoneNumberSchema.optional()),
|
|
80
|
+
email_address: zod.z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_EmailAddressSchema.optional()),
|
|
81
|
+
user_order_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Your order identifier").optional()),
|
|
82
|
+
ip_geolocation: zod.z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_IPGeolocationSchema.optional()),
|
|
83
|
+
billing_address: zod.z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_BillingAddressSchema.optional()),
|
|
84
|
+
fraudlabspro_id: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("FraudLabs Pro transaction ID").optional()),
|
|
85
|
+
shipping_address: zod.z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_ShippingAddressSchema.optional()),
|
|
86
|
+
fraudlabspro_rules: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.array(zod.z.string()).describe("List of rules triggered in screening").optional()),
|
|
87
|
+
fraudlabspro_score: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Risk score (1-100; higher is riskier)").optional()),
|
|
88
|
+
fraudlabspro_status: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Final action; APPROVE, REJECT, or REVIEW").optional())
|
|
89
89
|
}).describe("Retrieve the fraud analysis result for a screened order from FraudLabs Pro v2 API.");
|
|
90
90
|
const fraudlabsProGetOrderResult2 = require_action.action("FRAUDLABS_PRO_GET_ORDER_RESULT2", {
|
|
91
91
|
slug: "fraudlabs_pro-get-order-result2",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order-result2.cjs","names":["z","action"],"sources":["../../src/actions/get-order-result2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FraudlabsProGetOrderResult2Input: z.ZodTypeAny = z.object({\n id: z.string().describe(\"FraudLabs Pro transaction ID (fraudlabspro_id) or your platform's order ID (user_order_id). Required unless retrieving without specific ID.\").optional(),\n key: z.string().describe(\"FraudLabs Pro API key. If not provided, will use key from authentication metadata.\").optional(),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format; json (default) or xml\").optional(),\n id_type: z.enum([\"FraudLabsPro::ID\", \"FraudLabsPro::UserOrderID\"]).describe(\"Type of ID provided in the 'id' parameter. Use FraudLabsPro::ID for FraudLabs Pro transaction IDs or FraudLabsPro::UserOrderID for your order IDs.\").optional(),\n});\nconst FraudlabsProGetOrderResult2_DeviceSchema: z.ZodTypeAny = z.object({\n is_in_blacklist: z.boolean().describe(\"Device is in blacklist\").nullable().optional(),\n is_malware_exploit: z.boolean().describe(\"Device has malware/exploit risk\").nullable().optional(),\n});\nconst FraudlabsProGetOrderResult2_UsernameSchema: z.ZodTypeAny = z.object({\n is_high_risk: z.boolean().describe(\"Username is flagged as high risk\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Username is in blacklist\").nullable().optional(),\n});\nconst FraudlabsProGetOrderResult2_CreditCardSchema: z.ZodTypeAny = z.object({\n card_type: z.string().describe(\"Credit card type\").nullable().optional(),\n card_brand: z.string().describe(\"Credit card brand\").nullable().optional(),\n is_prepaid: z.boolean().describe(\"Whether the card is prepaid\").nullable().optional(),\n is_bin_exist: z.boolean().describe(\"Whether the BIN exists\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Credit card is in blacklist\").nullable().optional(),\n card_issuing_bank: z.string().describe(\"Issuing bank of the card\").nullable().optional(),\n card_issuing_country: z.string().describe(\"ISO-3166 alpha-2 code of issuing country\").nullable().optional(),\n is_bin_country_match: z.boolean().describe(\"BIN country matches card country\").nullable().optional(),\n});\nconst FraudlabsProGetOrderResult2_PhoneNumberSchema: z.ZodTypeAny = z.object({\n is_disposable: z.boolean().describe(\"Disposable phone number\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Phone number is in blacklist\").nullable().optional(),\n});\nconst FraudlabsProGetOrderResult2_EmailAddressSchema: z.ZodTypeAny = z.object({\n is_free: z.boolean().describe(\"Free email provider\").nullable().optional(),\n is_disposable: z.boolean().describe(\"Disposable email provider\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Email domain is in blacklist\").nullable().optional(),\n is_domain_exists: z.boolean().describe(\"Email domain exists\").nullable().optional(),\n is_new_domain_name: z.boolean().describe(\"Newly registered domain\").nullable().optional(),\n});\nconst FraudlabsProGetOrderResult2_IPGeolocationSchema: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"Transaction IP address\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n domain: z.string().describe(\"Domain\").nullable().optional(),\n region: z.string().describe(\"Region\").nullable().optional(),\n is_proxy: z.boolean().describe(\"Whether the IP is a proxy\").nullable().optional(),\n isp_name: z.string().describe(\"ISP name\").nullable().optional(),\n latitude: z.number().describe(\"Latitude\").nullable().optional(),\n netspeed: z.string().describe(\"Network speed\").nullable().optional(),\n timezone: z.string().describe(\"Timezone\").nullable().optional(),\n zip_code: z.string().describe(\"ZIP/postal code\").nullable().optional(),\n continent: z.string().describe(\"Estimated continent\").nullable().optional(),\n elevation: z.number().int().describe(\"Elevation\").nullable().optional(),\n longitude: z.number().describe(\"Longitude\").nullable().optional(),\n mobile_mcc: z.string().describe(\"Mobile country code\").nullable().optional(),\n mobile_mnc: z.string().describe(\"Mobile network code\").nullable().optional(),\n usage_type: z.array(z.string()).describe(\"Usage type\").nullable().optional(),\n country_code: z.string().describe(\"ISO-3166 alpha-2 country code\").nullable().optional(),\n country_name: z.string().describe(\"Country name\").nullable().optional(),\n mobile_brand: z.string().describe(\"Mobile brand\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Whether the IP is in blacklist\").nullable().optional(),\n});\nconst FraudlabsProGetOrderResult2_BillingAddressSchema: z.ZodTypeAny = z.object({\n distance_in_km: z.number().int().describe(\"IP-to-billing distance in kilometers\").nullable().optional(),\n distance_in_mile: z.number().int().describe(\"IP-to-billing distance in miles\").nullable().optional(),\n is_ip_country_match: z.boolean().describe(\"IP country matches billing country\").nullable().optional(),\n});\nconst FraudlabsProGetOrderResult2_ShippingAddressSchema: z.ZodTypeAny = z.object({\n is_in_blacklist: z.boolean().describe(\"Shipping address is in blacklist\").nullable().optional(),\n is_bill_city_match: z.boolean().describe(\"Billing city matches shipping city\").nullable().optional(),\n is_bill_state_match: z.boolean().describe(\"Billing state matches shipping state\").nullable().optional(),\n is_bill_country_match: z.boolean().describe(\"Billing country matches shipping country\").nullable().optional(),\n is_bill_postcode_match: z.boolean().describe(\"Billing postcode matches shipping postcode\").nullable().optional(),\n is_address_ship_forward: z.boolean().describe(\"Known mail drop/forwarding address\").nullable().optional(),\n is_export_controlled_country: z.boolean().describe(\"Order shipping to embargoed country\").nullable().optional(),\n});\nexport const FraudlabsProGetOrderResult2Output: z.ZodTypeAny = z.object({\n device: FraudlabsProGetOrderResult2_DeviceSchema.nullable().optional(),\n username: FraudlabsProGetOrderResult2_UsernameSchema.nullable().optional(),\n credit_card: FraudlabsProGetOrderResult2_CreditCardSchema.nullable().optional(),\n phone_number: FraudlabsProGetOrderResult2_PhoneNumberSchema.nullable().optional(),\n email_address: FraudlabsProGetOrderResult2_EmailAddressSchema.nullable().optional(),\n user_order_id: z.string().describe(\"Your order identifier\").nullable().optional(),\n ip_geolocation: FraudlabsProGetOrderResult2_IPGeolocationSchema.nullable().optional(),\n billing_address: FraudlabsProGetOrderResult2_BillingAddressSchema.nullable().optional(),\n fraudlabspro_id: z.string().describe(\"FraudLabs Pro transaction ID\").nullable().optional(),\n shipping_address: FraudlabsProGetOrderResult2_ShippingAddressSchema.nullable().optional(),\n fraudlabspro_rules: z.array(z.string()).describe(\"List of rules triggered in screening\").nullable().optional(),\n fraudlabspro_score: z.number().int().describe(\"Risk score (1-100; higher is riskier)\").nullable().optional(),\n fraudlabspro_status: z.string().describe(\"Final action; APPROVE, REJECT, or REVIEW\").nullable().optional(),\n}).describe(\"Retrieve the fraud analysis result for a screened order from FraudLabs Pro v2 API.\");\n\nexport const fraudlabsProGetOrderResult2 = action(\"FRAUDLABS_PRO_GET_ORDER_RESULT2\", {\n slug: \"fraudlabs_pro-get-order-result2\",\n name: \"Get FraudLabs Pro Order Result (v2)\",\n description: \"Tool to retrieve an existing transaction from FraudLabs Pro fraud detection system using the v2 API. This API is only available for paid plans.\",\n input: FraudlabsProGetOrderResult2Input,\n output: FraudlabsProGetOrderResult2Output,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAChL,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACxH,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,KAAK,CAAC,oBAAoB,2BAA2B,CAAC,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;AAC7O,CAAC;AACD,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,oBAAoBA,IAAAA,E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C"}
|
|
1
|
+
{"version":3,"file":"get-order-result2.cjs","names":["z","action"],"sources":["../../src/actions/get-order-result2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FraudlabsProGetOrderResult2Input = z.object({\n id: z.string().describe(\"FraudLabs Pro transaction ID (fraudlabspro_id) or your platform's order ID (user_order_id). Required unless retrieving without specific ID.\").optional(),\n key: z.string().describe(\"FraudLabs Pro API key. If not provided, will use key from authentication metadata.\").optional(),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format; json (default) or xml\").optional(),\n id_type: z.enum([\"FraudLabsPro::ID\", \"FraudLabsPro::UserOrderID\"]).describe(\"Type of ID provided in the 'id' parameter. Use FraudLabsPro::ID for FraudLabs Pro transaction IDs or FraudLabsPro::UserOrderID for your order IDs.\").optional(),\n});\nconst FraudlabsProGetOrderResult2_DeviceSchema = z.object({\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Device is in blacklist\").optional()),\n is_malware_exploit: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Device has malware/exploit risk\").optional()),\n});\nconst FraudlabsProGetOrderResult2_UsernameSchema = z.object({\n is_high_risk: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Username is flagged as high risk\").optional()),\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Username is in blacklist\").optional()),\n});\nconst FraudlabsProGetOrderResult2_CreditCardSchema = z.object({\n card_type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Credit card type\").optional()),\n card_brand: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Credit card brand\").optional()),\n is_prepaid: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the card is prepaid\").optional()),\n is_bin_exist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the BIN exists\").optional()),\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Credit card is in blacklist\").optional()),\n card_issuing_bank: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Issuing bank of the card\").optional()),\n card_issuing_country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO-3166 alpha-2 code of issuing country\").optional()),\n is_bin_country_match: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"BIN country matches card country\").optional()),\n});\nconst FraudlabsProGetOrderResult2_PhoneNumberSchema = z.object({\n is_disposable: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Disposable phone number\").optional()),\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Phone number is in blacklist\").optional()),\n});\nconst FraudlabsProGetOrderResult2_EmailAddressSchema = z.object({\n is_free: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Free email provider\").optional()),\n is_disposable: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Disposable email provider\").optional()),\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Email domain is in blacklist\").optional()),\n is_domain_exists: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Email domain exists\").optional()),\n is_new_domain_name: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Newly registered domain\").optional()),\n});\nconst FraudlabsProGetOrderResult2_IPGeolocationSchema = z.object({\n ip: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Transaction IP address\").optional()),\n city: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"City\").optional()),\n domain: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Domain\").optional()),\n region: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Region\").optional()),\n is_proxy: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the IP is a proxy\").optional()),\n isp_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISP name\").optional()),\n latitude: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Latitude\").optional()),\n netspeed: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Network speed\").optional()),\n timezone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timezone\").optional()),\n zip_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ZIP/postal code\").optional()),\n continent: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Estimated continent\").optional()),\n elevation: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Elevation\").optional()),\n longitude: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Longitude\").optional()),\n mobile_mcc: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Mobile country code\").optional()),\n mobile_mnc: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Mobile network code\").optional()),\n usage_type: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Usage type\").optional()),\n country_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO-3166 alpha-2 country code\").optional()),\n country_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country name\").optional()),\n mobile_brand: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Mobile brand\").optional()),\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the IP is in blacklist\").optional()),\n});\nconst FraudlabsProGetOrderResult2_BillingAddressSchema = z.object({\n distance_in_km: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"IP-to-billing distance in kilometers\").optional()),\n distance_in_mile: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"IP-to-billing distance in miles\").optional()),\n is_ip_country_match: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"IP country matches billing country\").optional()),\n});\nconst FraudlabsProGetOrderResult2_ShippingAddressSchema = z.object({\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Shipping address is in blacklist\").optional()),\n is_bill_city_match: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Billing city matches shipping city\").optional()),\n is_bill_state_match: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Billing state matches shipping state\").optional()),\n is_bill_country_match: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Billing country matches shipping country\").optional()),\n is_bill_postcode_match: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Billing postcode matches shipping postcode\").optional()),\n is_address_ship_forward: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Known mail drop/forwarding address\").optional()),\n is_export_controlled_country: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Order shipping to embargoed country\").optional()),\n});\nexport const FraudlabsProGetOrderResult2Output = z.object({\n device: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_DeviceSchema.optional()),\n username: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_UsernameSchema.optional()),\n credit_card: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_CreditCardSchema.optional()),\n phone_number: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_PhoneNumberSchema.optional()),\n email_address: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_EmailAddressSchema.optional()),\n user_order_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Your order identifier\").optional()),\n ip_geolocation: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_IPGeolocationSchema.optional()),\n billing_address: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_BillingAddressSchema.optional()),\n fraudlabspro_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"FraudLabs Pro transaction ID\").optional()),\n shipping_address: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_ShippingAddressSchema.optional()),\n fraudlabspro_rules: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of rules triggered in screening\").optional()),\n fraudlabspro_score: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Risk score (1-100; higher is riskier)\").optional()),\n fraudlabspro_status: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Final action; APPROVE, REJECT, or REVIEW\").optional()),\n}).describe(\"Retrieve the fraud analysis result for a screened order from FraudLabs Pro v2 API.\");\n\nexport const fraudlabsProGetOrderResult2 = action(\"FRAUDLABS_PRO_GET_ORDER_RESULT2\", {\n slug: \"fraudlabs_pro-get-order-result2\",\n name: \"Get FraudLabs Pro Order Result (v2)\",\n description: \"Tool to retrieve an existing transaction from FraudLabs Pro fraud detection system using the v2 API. This API is only available for paid plans.\",\n input: FraudlabsProGetOrderResult2Input,\n output: FraudlabsProGetOrderResult2Output,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAChL,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACxH,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5G,SAASA,IAAAA,EAAE,KAAK,CAAC,oBAAoB,2BAA2B,CAAC,CAAC,CAAC,SAAS,oJAAoJ,CAAC,CAAC,SAAS;AAC7O,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,iBAAiBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC;CACxI,oBAAoBA,IAAAA,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS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etOrderResult2Input: z.ZodObject<{
|
|
5
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
key: z.ZodOptional<z.ZodString>;
|
|
7
|
+
format: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
8
|
+
json: "json";
|
|
9
|
+
xml: "xml";
|
|
10
|
+
}>>>;
|
|
11
|
+
id_type: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
"FraudLabsPro::ID": "FraudLabsPro::ID";
|
|
13
|
+
"FraudLabsPro::UserOrderID": "FraudLabsPro::UserOrderID";
|
|
14
|
+
}>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const FraudlabsProGetOrderResult2Output: z.ZodObject<{
|
|
17
|
+
device: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
18
|
+
is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
19
|
+
is_malware_exploit: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
20
|
+
}, z.core.$strip>>>;
|
|
21
|
+
username: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
22
|
+
is_high_risk: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
23
|
+
is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
24
|
+
}, z.core.$strip>>>;
|
|
25
|
+
credit_card: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
26
|
+
card_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
27
|
+
card_brand: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
is_prepaid: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
29
|
+
is_bin_exist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
30
|
+
is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
31
|
+
card_issuing_bank: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
32
|
+
card_issuing_country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
is_bin_country_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
34
|
+
}, z.core.$strip>>>;
|
|
35
|
+
phone_number: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
36
|
+
is_disposable: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
37
|
+
is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
38
|
+
}, z.core.$strip>>>;
|
|
39
|
+
email_address: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
40
|
+
is_free: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
41
|
+
is_disposable: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
42
|
+
is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
43
|
+
is_domain_exists: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
44
|
+
is_new_domain_name: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
45
|
+
}, z.core.$strip>>>;
|
|
46
|
+
user_order_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
47
|
+
ip_geolocation: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
48
|
+
ip: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
49
|
+
city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
50
|
+
domain: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
51
|
+
region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
52
|
+
is_proxy: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
53
|
+
isp_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
54
|
+
latitude: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
55
|
+
netspeed: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
56
|
+
timezone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
57
|
+
zip_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
58
|
+
continent: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
59
|
+
elevation: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
60
|
+
longitude: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
61
|
+
mobile_mcc: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
62
|
+
mobile_mnc: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
63
|
+
usage_type: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
64
|
+
country_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
65
|
+
country_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
66
|
+
mobile_brand: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
67
|
+
is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
68
|
+
}, z.core.$strip>>>;
|
|
69
|
+
billing_address: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
70
|
+
distance_in_km: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
71
|
+
distance_in_mile: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
72
|
+
is_ip_country_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
73
|
+
}, z.core.$strip>>>;
|
|
74
|
+
fraudlabspro_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
75
|
+
shipping_address: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
76
|
+
is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
77
|
+
is_bill_city_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
78
|
+
is_bill_state_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
79
|
+
is_bill_country_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
80
|
+
is_bill_postcode_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
81
|
+
is_address_ship_forward: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
82
|
+
is_export_controlled_country: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
83
|
+
}, z.core.$strip>>>;
|
|
84
|
+
fraudlabspro_rules: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
85
|
+
fraudlabspro_score: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
86
|
+
fraudlabspro_status: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
declare const fraudlabsProGetOrderResult2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
89
|
+
id?: string | undefined;
|
|
90
|
+
key?: string | undefined;
|
|
91
|
+
format?: "json" | "xml" | undefined;
|
|
92
|
+
id_type?: "FraudLabsPro::ID" | "FraudLabsPro::UserOrderID" | undefined;
|
|
93
|
+
}, {
|
|
94
|
+
device?: {
|
|
95
|
+
is_in_blacklist?: boolean | undefined;
|
|
96
|
+
is_malware_exploit?: boolean | undefined;
|
|
97
|
+
} | undefined;
|
|
98
|
+
username?: {
|
|
99
|
+
is_high_risk?: boolean | undefined;
|
|
100
|
+
is_in_blacklist?: boolean | undefined;
|
|
101
|
+
} | undefined;
|
|
102
|
+
credit_card?: {
|
|
103
|
+
card_type?: string | undefined;
|
|
104
|
+
card_brand?: string | undefined;
|
|
105
|
+
is_prepaid?: boolean | undefined;
|
|
106
|
+
is_bin_exist?: boolean | undefined;
|
|
107
|
+
is_in_blacklist?: boolean | undefined;
|
|
108
|
+
card_issuing_bank?: string | undefined;
|
|
109
|
+
card_issuing_country?: string | undefined;
|
|
110
|
+
is_bin_country_match?: boolean | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
phone_number?: {
|
|
113
|
+
is_disposable?: boolean | undefined;
|
|
114
|
+
is_in_blacklist?: boolean | undefined;
|
|
115
|
+
} | undefined;
|
|
116
|
+
email_address?: {
|
|
117
|
+
is_free?: boolean | undefined;
|
|
118
|
+
is_disposable?: boolean | undefined;
|
|
119
|
+
is_in_blacklist?: boolean | undefined;
|
|
120
|
+
is_domain_exists?: boolean | undefined;
|
|
121
|
+
is_new_domain_name?: boolean | undefined;
|
|
122
|
+
} | undefined;
|
|
123
|
+
user_order_id?: string | undefined;
|
|
124
|
+
ip_geolocation?: {
|
|
125
|
+
ip?: string | undefined;
|
|
126
|
+
city?: string | undefined;
|
|
127
|
+
domain?: string | undefined;
|
|
128
|
+
region?: string | undefined;
|
|
129
|
+
is_proxy?: boolean | undefined;
|
|
130
|
+
isp_name?: string | undefined;
|
|
131
|
+
latitude?: number | undefined;
|
|
132
|
+
netspeed?: string | undefined;
|
|
133
|
+
timezone?: string | undefined;
|
|
134
|
+
zip_code?: string | undefined;
|
|
135
|
+
continent?: string | undefined;
|
|
136
|
+
elevation?: number | undefined;
|
|
137
|
+
longitude?: number | undefined;
|
|
138
|
+
mobile_mcc?: string | undefined;
|
|
139
|
+
mobile_mnc?: string | undefined;
|
|
140
|
+
usage_type?: string[] | undefined;
|
|
141
|
+
country_code?: string | undefined;
|
|
142
|
+
country_name?: string | undefined;
|
|
143
|
+
mobile_brand?: string | undefined;
|
|
144
|
+
is_in_blacklist?: boolean | undefined;
|
|
145
|
+
} | undefined;
|
|
146
|
+
billing_address?: {
|
|
147
|
+
distance_in_km?: number | undefined;
|
|
148
|
+
distance_in_mile?: number | undefined;
|
|
149
|
+
is_ip_country_match?: boolean | undefined;
|
|
150
|
+
} | undefined;
|
|
151
|
+
fraudlabspro_id?: string | undefined;
|
|
152
|
+
shipping_address?: {
|
|
153
|
+
is_in_blacklist?: boolean | undefined;
|
|
154
|
+
is_bill_city_match?: boolean | undefined;
|
|
155
|
+
is_bill_state_match?: boolean | undefined;
|
|
156
|
+
is_bill_country_match?: boolean | undefined;
|
|
157
|
+
is_bill_postcode_match?: boolean | undefined;
|
|
158
|
+
is_address_ship_forward?: boolean | undefined;
|
|
159
|
+
is_export_controlled_country?: boolean | undefined;
|
|
160
|
+
} | undefined;
|
|
161
|
+
fraudlabspro_rules?: string[] | undefined;
|
|
162
|
+
fraudlabspro_score?: number | undefined;
|
|
163
|
+
fraudlabspro_status?: string | undefined;
|
|
164
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
165
|
//#endregion
|
|
8
166
|
export { fraudlabsProGetOrderResult2 };
|
|
9
167
|
//# sourceMappingURL=get-order-result2.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order-result2.d.cts","names":[],"sources":["../../src/actions/get-order-result2.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"get-order-result2.d.cts","names":[],"sources":["../../src/actions/get-order-result2.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAuEhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBjC,2BAAA,gCAA2B,wBAAA"}
|
|
@@ -1,9 +1,167 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-order-result2.d.ts
|
|
4
|
-
declare const FraudlabsProGetOrderResult2Input: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const FraudlabsProGetOrderResult2Input: z.ZodObject<{
|
|
5
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
key: z.ZodOptional<z.ZodString>;
|
|
7
|
+
format: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
8
|
+
json: "json";
|
|
9
|
+
xml: "xml";
|
|
10
|
+
}>>>;
|
|
11
|
+
id_type: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
"FraudLabsPro::ID": "FraudLabsPro::ID";
|
|
13
|
+
"FraudLabsPro::UserOrderID": "FraudLabsPro::UserOrderID";
|
|
14
|
+
}>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const FraudlabsProGetOrderResult2Output: z.ZodObject<{
|
|
17
|
+
device: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
18
|
+
is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
19
|
+
is_malware_exploit: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
20
|
+
}, z.core.$strip>>>;
|
|
21
|
+
username: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
22
|
+
is_high_risk: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
23
|
+
is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
24
|
+
}, z.core.$strip>>>;
|
|
25
|
+
credit_card: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
26
|
+
card_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
27
|
+
card_brand: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
is_prepaid: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
29
|
+
is_bin_exist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
30
|
+
is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
31
|
+
card_issuing_bank: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
32
|
+
card_issuing_country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
33
|
+
is_bin_country_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
34
|
+
}, z.core.$strip>>>;
|
|
35
|
+
phone_number: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
36
|
+
is_disposable: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
37
|
+
is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
38
|
+
}, z.core.$strip>>>;
|
|
39
|
+
email_address: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
40
|
+
is_free: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
41
|
+
is_disposable: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
42
|
+
is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
43
|
+
is_domain_exists: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
44
|
+
is_new_domain_name: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
45
|
+
}, z.core.$strip>>>;
|
|
46
|
+
user_order_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
47
|
+
ip_geolocation: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
48
|
+
ip: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
49
|
+
city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
50
|
+
domain: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
51
|
+
region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
52
|
+
is_proxy: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
53
|
+
isp_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
54
|
+
latitude: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
55
|
+
netspeed: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
56
|
+
timezone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
57
|
+
zip_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
58
|
+
continent: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
59
|
+
elevation: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
60
|
+
longitude: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
61
|
+
mobile_mcc: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
62
|
+
mobile_mnc: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
63
|
+
usage_type: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
64
|
+
country_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
65
|
+
country_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
66
|
+
mobile_brand: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
67
|
+
is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
68
|
+
}, z.core.$strip>>>;
|
|
69
|
+
billing_address: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
70
|
+
distance_in_km: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
71
|
+
distance_in_mile: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
72
|
+
is_ip_country_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
73
|
+
}, z.core.$strip>>>;
|
|
74
|
+
fraudlabspro_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
75
|
+
shipping_address: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
|
|
76
|
+
is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
77
|
+
is_bill_city_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
78
|
+
is_bill_state_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
79
|
+
is_bill_country_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
80
|
+
is_bill_postcode_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
81
|
+
is_address_ship_forward: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
82
|
+
is_export_controlled_country: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
|
|
83
|
+
}, z.core.$strip>>>;
|
|
84
|
+
fraudlabspro_rules: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
85
|
+
fraudlabspro_score: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
|
|
86
|
+
fraudlabspro_status: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
|
|
87
|
+
}, z.core.$strip>;
|
|
88
|
+
declare const fraudlabsProGetOrderResult2: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
89
|
+
id?: string | undefined;
|
|
90
|
+
key?: string | undefined;
|
|
91
|
+
format?: "json" | "xml" | undefined;
|
|
92
|
+
id_type?: "FraudLabsPro::ID" | "FraudLabsPro::UserOrderID" | undefined;
|
|
93
|
+
}, {
|
|
94
|
+
device?: {
|
|
95
|
+
is_in_blacklist?: boolean | undefined;
|
|
96
|
+
is_malware_exploit?: boolean | undefined;
|
|
97
|
+
} | undefined;
|
|
98
|
+
username?: {
|
|
99
|
+
is_high_risk?: boolean | undefined;
|
|
100
|
+
is_in_blacklist?: boolean | undefined;
|
|
101
|
+
} | undefined;
|
|
102
|
+
credit_card?: {
|
|
103
|
+
card_type?: string | undefined;
|
|
104
|
+
card_brand?: string | undefined;
|
|
105
|
+
is_prepaid?: boolean | undefined;
|
|
106
|
+
is_bin_exist?: boolean | undefined;
|
|
107
|
+
is_in_blacklist?: boolean | undefined;
|
|
108
|
+
card_issuing_bank?: string | undefined;
|
|
109
|
+
card_issuing_country?: string | undefined;
|
|
110
|
+
is_bin_country_match?: boolean | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
phone_number?: {
|
|
113
|
+
is_disposable?: boolean | undefined;
|
|
114
|
+
is_in_blacklist?: boolean | undefined;
|
|
115
|
+
} | undefined;
|
|
116
|
+
email_address?: {
|
|
117
|
+
is_free?: boolean | undefined;
|
|
118
|
+
is_disposable?: boolean | undefined;
|
|
119
|
+
is_in_blacklist?: boolean | undefined;
|
|
120
|
+
is_domain_exists?: boolean | undefined;
|
|
121
|
+
is_new_domain_name?: boolean | undefined;
|
|
122
|
+
} | undefined;
|
|
123
|
+
user_order_id?: string | undefined;
|
|
124
|
+
ip_geolocation?: {
|
|
125
|
+
ip?: string | undefined;
|
|
126
|
+
city?: string | undefined;
|
|
127
|
+
domain?: string | undefined;
|
|
128
|
+
region?: string | undefined;
|
|
129
|
+
is_proxy?: boolean | undefined;
|
|
130
|
+
isp_name?: string | undefined;
|
|
131
|
+
latitude?: number | undefined;
|
|
132
|
+
netspeed?: string | undefined;
|
|
133
|
+
timezone?: string | undefined;
|
|
134
|
+
zip_code?: string | undefined;
|
|
135
|
+
continent?: string | undefined;
|
|
136
|
+
elevation?: number | undefined;
|
|
137
|
+
longitude?: number | undefined;
|
|
138
|
+
mobile_mcc?: string | undefined;
|
|
139
|
+
mobile_mnc?: string | undefined;
|
|
140
|
+
usage_type?: string[] | undefined;
|
|
141
|
+
country_code?: string | undefined;
|
|
142
|
+
country_name?: string | undefined;
|
|
143
|
+
mobile_brand?: string | undefined;
|
|
144
|
+
is_in_blacklist?: boolean | undefined;
|
|
145
|
+
} | undefined;
|
|
146
|
+
billing_address?: {
|
|
147
|
+
distance_in_km?: number | undefined;
|
|
148
|
+
distance_in_mile?: number | undefined;
|
|
149
|
+
is_ip_country_match?: boolean | undefined;
|
|
150
|
+
} | undefined;
|
|
151
|
+
fraudlabspro_id?: string | undefined;
|
|
152
|
+
shipping_address?: {
|
|
153
|
+
is_in_blacklist?: boolean | undefined;
|
|
154
|
+
is_bill_city_match?: boolean | undefined;
|
|
155
|
+
is_bill_state_match?: boolean | undefined;
|
|
156
|
+
is_bill_country_match?: boolean | undefined;
|
|
157
|
+
is_bill_postcode_match?: boolean | undefined;
|
|
158
|
+
is_address_ship_forward?: boolean | undefined;
|
|
159
|
+
is_export_controlled_country?: boolean | undefined;
|
|
160
|
+
} | undefined;
|
|
161
|
+
fraudlabspro_rules?: string[] | undefined;
|
|
162
|
+
fraudlabspro_score?: number | undefined;
|
|
163
|
+
fraudlabspro_status?: string | undefined;
|
|
164
|
+
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
165
|
//#endregion
|
|
8
166
|
export { fraudlabsProGetOrderResult2 };
|
|
9
167
|
//# sourceMappingURL=get-order-result2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-order-result2.d.mts","names":[],"sources":["../../src/actions/get-order-result2.ts"],"mappings":";;;cAIa,gCAAA,
|
|
1
|
+
{"version":3,"file":"get-order-result2.d.mts","names":[],"sources":["../../src/actions/get-order-result2.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAuEhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBjC,2BAAA,gCAA2B,wBAAA"}
|