@keystrokehq/fraudlabs_pro 0.1.1 → 0.1.2
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 +13 -13
- package/dist/actions/create-account.cjs.map +1 -1
- package/dist/actions/create-account.d.cts +14 -30
- package/dist/actions/create-account.d.mts +14 -30
- package/dist/actions/create-account.mjs +13 -13
- package/dist/actions/create-account.mjs.map +1 -1
- package/dist/actions/flp-feedback-order.d.cts +1 -3
- package/dist/actions/flp-feedback-order.d.mts +1 -3
- package/dist/actions/flp-screen-order.cjs +48 -48
- package/dist/actions/flp-screen-order.cjs.map +1 -1
- package/dist/actions/flp-screen-order.d.cts +49 -122
- package/dist/actions/flp-screen-order.d.mts +49 -122
- package/dist/actions/flp-screen-order.mjs +48 -48
- 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 +63 -134
- package/dist/actions/get-order-result2.d.mts +63 -134
- 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.d.cts +1 -3
- package/dist/actions/get-sms-verification-result.d.mts +1 -3
- package/dist/actions/send-sms-verification.d.cts +1 -4
- package/dist/actions/send-sms-verification.d.mts +1 -4
- package/dist/actions/subscribe-plan.cjs +4 -4
- package/dist/actions/subscribe-plan.cjs.map +1 -1
- package/dist/actions/subscribe-plan.d.cts +5 -12
- package/dist/actions/subscribe-plan.d.mts +5 -12
- package/dist/actions/subscribe-plan.mjs +4 -4
- package/dist/actions/subscribe-plan.mjs.map +1 -1
- package/dist/actions/webhook-order-status-changed.cjs +1 -1
- package/dist/actions/webhook-order-status-changed.cjs.map +1 -1
- package/dist/actions/webhook-order-status-changed.d.cts +2 -6
- package/dist/actions/webhook-order-status-changed.d.cts.map +1 -1
- package/dist/actions/webhook-order-status-changed.d.mts +2 -6
- package/dist/actions/webhook-order-status-changed.d.mts.map +1 -1
- package/dist/actions/webhook-order-status-changed.mjs +1 -1
- package/dist/actions/webhook-order-status-changed.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -50,75 +50,75 @@ declare const FraudlabsProFlpScreenOrderInput: z.ZodObject<{
|
|
|
50
50
|
}, z.core.$strip>;
|
|
51
51
|
declare const FraudlabsProFlpScreenOrderOutput: z.ZodObject<{
|
|
52
52
|
device: z.ZodNullable<z.ZodObject<{
|
|
53
|
-
is_in_blacklist: z.
|
|
54
|
-
is_malware_exploit: z.
|
|
53
|
+
is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
54
|
+
is_malware_exploit: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
55
55
|
}, z.core.$strip>>;
|
|
56
56
|
username: z.ZodNullable<z.ZodObject<{
|
|
57
|
-
is_high_risk: z.
|
|
58
|
-
is_in_blacklist: z.
|
|
57
|
+
is_high_risk: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
58
|
+
is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
59
59
|
}, z.core.$strip>>;
|
|
60
60
|
api_version: z.ZodNullable<z.ZodString>;
|
|
61
61
|
credit_card: z.ZodNullable<z.ZodObject<{
|
|
62
|
-
card_type: z.
|
|
63
|
-
card_brand: z.
|
|
64
|
-
is_prepaid: z.
|
|
65
|
-
is_bin_exist: z.
|
|
66
|
-
is_in_blacklist: z.
|
|
67
|
-
card_issuing_bank: z.
|
|
68
|
-
card_issuing_country: z.
|
|
69
|
-
is_bin_country_match: z.
|
|
62
|
+
card_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
card_brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
+
is_prepaid: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
65
|
+
is_bin_exist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
66
|
+
is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
67
|
+
card_issuing_bank: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
card_issuing_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
is_bin_country_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
70
70
|
}, z.core.$strip>>;
|
|
71
71
|
phone_number: z.ZodNullable<z.ZodObject<{
|
|
72
|
-
is_disposable: z.
|
|
73
|
-
is_in_blacklist: z.
|
|
72
|
+
is_disposable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
73
|
+
is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
74
74
|
}, z.core.$strip>>;
|
|
75
75
|
email_address: z.ZodNullable<z.ZodObject<{
|
|
76
|
-
is_free: z.
|
|
77
|
-
is_disposable: z.
|
|
78
|
-
is_domain_exist: z.
|
|
79
|
-
is_in_blacklist: z.
|
|
80
|
-
is_new_domain_name: z.
|
|
76
|
+
is_free: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
77
|
+
is_disposable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
78
|
+
is_domain_exist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
79
|
+
is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
80
|
+
is_new_domain_name: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
81
81
|
}, z.core.$strip>>;
|
|
82
|
-
user_order_id: z.
|
|
82
|
+
user_order_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
83
|
ip_geolocation: z.ZodNullable<z.ZodObject<{
|
|
84
84
|
ip: z.ZodNullable<z.ZodString>;
|
|
85
|
-
city: z.
|
|
86
|
-
domain: z.
|
|
87
|
-
region: z.
|
|
85
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86
|
+
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
88
|
is_proxy: z.ZodNullable<z.ZodBoolean>;
|
|
89
|
-
isp_name: z.
|
|
90
|
-
latitude: z.
|
|
91
|
-
netspeed: z.
|
|
92
|
-
timezone: z.
|
|
93
|
-
zip_code: z.
|
|
94
|
-
continent: z.
|
|
95
|
-
elevation: z.
|
|
96
|
-
longitude: z.
|
|
97
|
-
mobile_mcc: z.
|
|
98
|
-
mobile_mnc: z.
|
|
99
|
-
usage_type: z.
|
|
100
|
-
country_code: z.
|
|
101
|
-
country_name: z.
|
|
102
|
-
mobile_brand: z.
|
|
89
|
+
isp_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
latitude: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
91
|
+
netspeed: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
|
+
zip_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
+
elevation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
96
|
+
longitude: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
97
|
+
mobile_mcc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
|
+
mobile_mnc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
|
+
usage_type: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
100
|
+
country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
|
+
country_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
|
+
mobile_brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
103
103
|
is_in_blacklist: z.ZodNullable<z.ZodBoolean>;
|
|
104
104
|
}, z.core.$strip>>;
|
|
105
105
|
billing_address: z.ZodNullable<z.ZodObject<{
|
|
106
|
-
ip_distance_in_km: z.
|
|
107
|
-
ip_distance_in_mile: z.
|
|
108
|
-
is_ip_country_match: z.
|
|
106
|
+
ip_distance_in_km: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
107
|
+
ip_distance_in_mile: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
108
|
+
is_ip_country_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
109
109
|
}, z.core.$strip>>;
|
|
110
110
|
fraudlabspro_id: z.ZodNullable<z.ZodString>;
|
|
111
111
|
shipping_address: z.ZodNullable<z.ZodObject<{
|
|
112
|
-
is_in_blacklist: z.
|
|
113
|
-
is_bill_city_match: z.
|
|
114
|
-
is_bill_state_match: z.
|
|
115
|
-
is_bill_country_match: z.
|
|
116
|
-
is_bill_postcode_match: z.
|
|
117
|
-
is_address_ship_forward: z.
|
|
118
|
-
is_export_controlled_country: z.
|
|
112
|
+
is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
113
|
+
is_bill_city_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
114
|
+
is_bill_state_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
115
|
+
is_bill_country_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
116
|
+
is_bill_postcode_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
117
|
+
is_address_ship_forward: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
118
|
+
is_export_controlled_country: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
119
119
|
}, z.core.$strip>>;
|
|
120
120
|
remaining_credits: z.ZodNullable<z.ZodNumber>;
|
|
121
|
-
fraudlabspro_rules: z.
|
|
121
|
+
fraudlabspro_rules: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
122
122
|
fraudlabspro_score: z.ZodNullable<z.ZodNumber>;
|
|
123
123
|
fraudlabspro_status: z.ZodNullable<z.ZodEnum<{
|
|
124
124
|
APPROVE: "APPROVE";
|
|
@@ -160,80 +160,7 @@ declare const fraudlabsProFlpScreenOrder: import("@keystrokehq/action").Workflow
|
|
|
160
160
|
ship_last_name?: string | undefined;
|
|
161
161
|
payment_gateway?: string | undefined;
|
|
162
162
|
ship_first_name?: string | undefined;
|
|
163
|
-
},
|
|
164
|
-
device: {
|
|
165
|
-
is_in_blacklist?: boolean | undefined;
|
|
166
|
-
is_malware_exploit?: boolean | undefined;
|
|
167
|
-
} | null;
|
|
168
|
-
username: {
|
|
169
|
-
is_high_risk?: boolean | undefined;
|
|
170
|
-
is_in_blacklist?: boolean | undefined;
|
|
171
|
-
} | null;
|
|
172
|
-
api_version: string | null;
|
|
173
|
-
credit_card: {
|
|
174
|
-
card_type?: string | undefined;
|
|
175
|
-
card_brand?: string | undefined;
|
|
176
|
-
is_prepaid?: boolean | undefined;
|
|
177
|
-
is_bin_exist?: boolean | undefined;
|
|
178
|
-
is_in_blacklist?: boolean | undefined;
|
|
179
|
-
card_issuing_bank?: string | undefined;
|
|
180
|
-
card_issuing_country?: string | undefined;
|
|
181
|
-
is_bin_country_match?: boolean | undefined;
|
|
182
|
-
} | null;
|
|
183
|
-
phone_number: {
|
|
184
|
-
is_disposable?: boolean | undefined;
|
|
185
|
-
is_in_blacklist?: boolean | undefined;
|
|
186
|
-
} | null;
|
|
187
|
-
email_address: {
|
|
188
|
-
is_free?: boolean | undefined;
|
|
189
|
-
is_disposable?: boolean | undefined;
|
|
190
|
-
is_domain_exist?: boolean | undefined;
|
|
191
|
-
is_in_blacklist?: boolean | undefined;
|
|
192
|
-
is_new_domain_name?: boolean | undefined;
|
|
193
|
-
} | null;
|
|
194
|
-
ip_geolocation: {
|
|
195
|
-
ip: string | null;
|
|
196
|
-
is_proxy: boolean | null;
|
|
197
|
-
is_in_blacklist: boolean | null;
|
|
198
|
-
city?: string | undefined;
|
|
199
|
-
domain?: string | undefined;
|
|
200
|
-
region?: string | undefined;
|
|
201
|
-
isp_name?: string | undefined;
|
|
202
|
-
latitude?: string | number | undefined;
|
|
203
|
-
netspeed?: string | undefined;
|
|
204
|
-
timezone?: string | undefined;
|
|
205
|
-
zip_code?: string | undefined;
|
|
206
|
-
continent?: string | undefined;
|
|
207
|
-
elevation?: number | undefined;
|
|
208
|
-
longitude?: string | number | undefined;
|
|
209
|
-
mobile_mcc?: string | undefined;
|
|
210
|
-
mobile_mnc?: string | undefined;
|
|
211
|
-
usage_type?: string[] | undefined;
|
|
212
|
-
country_code?: string | undefined;
|
|
213
|
-
country_name?: string | undefined;
|
|
214
|
-
mobile_brand?: string | undefined;
|
|
215
|
-
} | null;
|
|
216
|
-
billing_address: {
|
|
217
|
-
ip_distance_in_km?: number | undefined;
|
|
218
|
-
ip_distance_in_mile?: number | undefined;
|
|
219
|
-
is_ip_country_match?: boolean | undefined;
|
|
220
|
-
} | null;
|
|
221
|
-
fraudlabspro_id: string | null;
|
|
222
|
-
shipping_address: {
|
|
223
|
-
is_in_blacklist?: boolean | undefined;
|
|
224
|
-
is_bill_city_match?: boolean | undefined;
|
|
225
|
-
is_bill_state_match?: boolean | undefined;
|
|
226
|
-
is_bill_country_match?: boolean | undefined;
|
|
227
|
-
is_bill_postcode_match?: boolean | undefined;
|
|
228
|
-
is_address_ship_forward?: boolean | undefined;
|
|
229
|
-
is_export_controlled_country?: boolean | undefined;
|
|
230
|
-
} | null;
|
|
231
|
-
remaining_credits: number | null;
|
|
232
|
-
fraudlabspro_score: number | null;
|
|
233
|
-
fraudlabspro_status: "APPROVE" | "REJECT" | "REVIEW" | null;
|
|
234
|
-
user_order_id?: string | undefined;
|
|
235
|
-
fraudlabspro_rules?: string[] | undefined;
|
|
236
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
163
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
237
164
|
//#endregion
|
|
238
165
|
export { fraudlabsProFlpScreenOrder };
|
|
239
166
|
//# sourceMappingURL=flp-screen-order.d.cts.map
|
|
@@ -50,75 +50,75 @@ declare const FraudlabsProFlpScreenOrderInput: z.ZodObject<{
|
|
|
50
50
|
}, z.core.$strip>;
|
|
51
51
|
declare const FraudlabsProFlpScreenOrderOutput: z.ZodObject<{
|
|
52
52
|
device: z.ZodNullable<z.ZodObject<{
|
|
53
|
-
is_in_blacklist: z.
|
|
54
|
-
is_malware_exploit: z.
|
|
53
|
+
is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
54
|
+
is_malware_exploit: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
55
55
|
}, z.core.$strip>>;
|
|
56
56
|
username: z.ZodNullable<z.ZodObject<{
|
|
57
|
-
is_high_risk: z.
|
|
58
|
-
is_in_blacklist: z.
|
|
57
|
+
is_high_risk: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
58
|
+
is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
59
59
|
}, z.core.$strip>>;
|
|
60
60
|
api_version: z.ZodNullable<z.ZodString>;
|
|
61
61
|
credit_card: z.ZodNullable<z.ZodObject<{
|
|
62
|
-
card_type: z.
|
|
63
|
-
card_brand: z.
|
|
64
|
-
is_prepaid: z.
|
|
65
|
-
is_bin_exist: z.
|
|
66
|
-
is_in_blacklist: z.
|
|
67
|
-
card_issuing_bank: z.
|
|
68
|
-
card_issuing_country: z.
|
|
69
|
-
is_bin_country_match: z.
|
|
62
|
+
card_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
63
|
+
card_brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
|
+
is_prepaid: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
65
|
+
is_bin_exist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
66
|
+
is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
67
|
+
card_issuing_bank: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
68
|
+
card_issuing_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
69
|
+
is_bin_country_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
70
70
|
}, z.core.$strip>>;
|
|
71
71
|
phone_number: z.ZodNullable<z.ZodObject<{
|
|
72
|
-
is_disposable: z.
|
|
73
|
-
is_in_blacklist: z.
|
|
72
|
+
is_disposable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
73
|
+
is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
74
74
|
}, z.core.$strip>>;
|
|
75
75
|
email_address: z.ZodNullable<z.ZodObject<{
|
|
76
|
-
is_free: z.
|
|
77
|
-
is_disposable: z.
|
|
78
|
-
is_domain_exist: z.
|
|
79
|
-
is_in_blacklist: z.
|
|
80
|
-
is_new_domain_name: z.
|
|
76
|
+
is_free: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
77
|
+
is_disposable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
78
|
+
is_domain_exist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
79
|
+
is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
80
|
+
is_new_domain_name: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
81
81
|
}, z.core.$strip>>;
|
|
82
|
-
user_order_id: z.
|
|
82
|
+
user_order_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
83
|
ip_geolocation: z.ZodNullable<z.ZodObject<{
|
|
84
84
|
ip: z.ZodNullable<z.ZodString>;
|
|
85
|
-
city: z.
|
|
86
|
-
domain: z.
|
|
87
|
-
region: z.
|
|
85
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
86
|
+
domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
87
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
88
88
|
is_proxy: z.ZodNullable<z.ZodBoolean>;
|
|
89
|
-
isp_name: z.
|
|
90
|
-
latitude: z.
|
|
91
|
-
netspeed: z.
|
|
92
|
-
timezone: z.
|
|
93
|
-
zip_code: z.
|
|
94
|
-
continent: z.
|
|
95
|
-
elevation: z.
|
|
96
|
-
longitude: z.
|
|
97
|
-
mobile_mcc: z.
|
|
98
|
-
mobile_mnc: z.
|
|
99
|
-
usage_type: z.
|
|
100
|
-
country_code: z.
|
|
101
|
-
country_name: z.
|
|
102
|
-
mobile_brand: z.
|
|
89
|
+
isp_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
latitude: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
91
|
+
netspeed: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
93
|
+
zip_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
95
|
+
elevation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
96
|
+
longitude: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
97
|
+
mobile_mcc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
|
+
mobile_mnc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
99
|
+
usage_type: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
100
|
+
country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
|
+
country_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
|
+
mobile_brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
103
103
|
is_in_blacklist: z.ZodNullable<z.ZodBoolean>;
|
|
104
104
|
}, z.core.$strip>>;
|
|
105
105
|
billing_address: z.ZodNullable<z.ZodObject<{
|
|
106
|
-
ip_distance_in_km: z.
|
|
107
|
-
ip_distance_in_mile: z.
|
|
108
|
-
is_ip_country_match: z.
|
|
106
|
+
ip_distance_in_km: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
107
|
+
ip_distance_in_mile: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
108
|
+
is_ip_country_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
109
109
|
}, z.core.$strip>>;
|
|
110
110
|
fraudlabspro_id: z.ZodNullable<z.ZodString>;
|
|
111
111
|
shipping_address: z.ZodNullable<z.ZodObject<{
|
|
112
|
-
is_in_blacklist: z.
|
|
113
|
-
is_bill_city_match: z.
|
|
114
|
-
is_bill_state_match: z.
|
|
115
|
-
is_bill_country_match: z.
|
|
116
|
-
is_bill_postcode_match: z.
|
|
117
|
-
is_address_ship_forward: z.
|
|
118
|
-
is_export_controlled_country: z.
|
|
112
|
+
is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
113
|
+
is_bill_city_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
114
|
+
is_bill_state_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
115
|
+
is_bill_country_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
116
|
+
is_bill_postcode_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
117
|
+
is_address_ship_forward: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
118
|
+
is_export_controlled_country: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
119
119
|
}, z.core.$strip>>;
|
|
120
120
|
remaining_credits: z.ZodNullable<z.ZodNumber>;
|
|
121
|
-
fraudlabspro_rules: z.
|
|
121
|
+
fraudlabspro_rules: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
122
122
|
fraudlabspro_score: z.ZodNullable<z.ZodNumber>;
|
|
123
123
|
fraudlabspro_status: z.ZodNullable<z.ZodEnum<{
|
|
124
124
|
APPROVE: "APPROVE";
|
|
@@ -160,80 +160,7 @@ declare const fraudlabsProFlpScreenOrder: import("@keystrokehq/action").Workflow
|
|
|
160
160
|
ship_last_name?: string | undefined;
|
|
161
161
|
payment_gateway?: string | undefined;
|
|
162
162
|
ship_first_name?: string | undefined;
|
|
163
|
-
},
|
|
164
|
-
device: {
|
|
165
|
-
is_in_blacklist?: boolean | undefined;
|
|
166
|
-
is_malware_exploit?: boolean | undefined;
|
|
167
|
-
} | null;
|
|
168
|
-
username: {
|
|
169
|
-
is_high_risk?: boolean | undefined;
|
|
170
|
-
is_in_blacklist?: boolean | undefined;
|
|
171
|
-
} | null;
|
|
172
|
-
api_version: string | null;
|
|
173
|
-
credit_card: {
|
|
174
|
-
card_type?: string | undefined;
|
|
175
|
-
card_brand?: string | undefined;
|
|
176
|
-
is_prepaid?: boolean | undefined;
|
|
177
|
-
is_bin_exist?: boolean | undefined;
|
|
178
|
-
is_in_blacklist?: boolean | undefined;
|
|
179
|
-
card_issuing_bank?: string | undefined;
|
|
180
|
-
card_issuing_country?: string | undefined;
|
|
181
|
-
is_bin_country_match?: boolean | undefined;
|
|
182
|
-
} | null;
|
|
183
|
-
phone_number: {
|
|
184
|
-
is_disposable?: boolean | undefined;
|
|
185
|
-
is_in_blacklist?: boolean | undefined;
|
|
186
|
-
} | null;
|
|
187
|
-
email_address: {
|
|
188
|
-
is_free?: boolean | undefined;
|
|
189
|
-
is_disposable?: boolean | undefined;
|
|
190
|
-
is_domain_exist?: boolean | undefined;
|
|
191
|
-
is_in_blacklist?: boolean | undefined;
|
|
192
|
-
is_new_domain_name?: boolean | undefined;
|
|
193
|
-
} | null;
|
|
194
|
-
ip_geolocation: {
|
|
195
|
-
ip: string | null;
|
|
196
|
-
is_proxy: boolean | null;
|
|
197
|
-
is_in_blacklist: boolean | null;
|
|
198
|
-
city?: string | undefined;
|
|
199
|
-
domain?: string | undefined;
|
|
200
|
-
region?: string | undefined;
|
|
201
|
-
isp_name?: string | undefined;
|
|
202
|
-
latitude?: string | number | undefined;
|
|
203
|
-
netspeed?: string | undefined;
|
|
204
|
-
timezone?: string | undefined;
|
|
205
|
-
zip_code?: string | undefined;
|
|
206
|
-
continent?: string | undefined;
|
|
207
|
-
elevation?: number | undefined;
|
|
208
|
-
longitude?: string | number | undefined;
|
|
209
|
-
mobile_mcc?: string | undefined;
|
|
210
|
-
mobile_mnc?: string | undefined;
|
|
211
|
-
usage_type?: string[] | undefined;
|
|
212
|
-
country_code?: string | undefined;
|
|
213
|
-
country_name?: string | undefined;
|
|
214
|
-
mobile_brand?: string | undefined;
|
|
215
|
-
} | null;
|
|
216
|
-
billing_address: {
|
|
217
|
-
ip_distance_in_km?: number | undefined;
|
|
218
|
-
ip_distance_in_mile?: number | undefined;
|
|
219
|
-
is_ip_country_match?: boolean | undefined;
|
|
220
|
-
} | null;
|
|
221
|
-
fraudlabspro_id: string | null;
|
|
222
|
-
shipping_address: {
|
|
223
|
-
is_in_blacklist?: boolean | undefined;
|
|
224
|
-
is_bill_city_match?: boolean | undefined;
|
|
225
|
-
is_bill_state_match?: boolean | undefined;
|
|
226
|
-
is_bill_country_match?: boolean | undefined;
|
|
227
|
-
is_bill_postcode_match?: boolean | undefined;
|
|
228
|
-
is_address_ship_forward?: boolean | undefined;
|
|
229
|
-
is_export_controlled_country?: boolean | undefined;
|
|
230
|
-
} | null;
|
|
231
|
-
remaining_credits: number | null;
|
|
232
|
-
fraudlabspro_score: number | null;
|
|
233
|
-
fraudlabspro_status: "APPROVE" | "REJECT" | "REVIEW" | null;
|
|
234
|
-
user_order_id?: string | undefined;
|
|
235
|
-
fraudlabspro_rules?: string[] | undefined;
|
|
236
|
-
}, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
163
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
237
164
|
//#endregion
|
|
238
165
|
export { fraudlabsProFlpScreenOrder };
|
|
239
166
|
//# sourceMappingURL=flp-screen-order.d.mts.map
|
|
@@ -46,69 +46,69 @@ const FraudlabsProFlpScreenOrderInput = z.object({
|
|
|
46
46
|
ship_first_name: z.string().describe("Shipping recipient first name").optional()
|
|
47
47
|
});
|
|
48
48
|
const FraudlabsProFlpScreenOrder_DeviceCheckSchema = z.object({
|
|
49
|
-
is_in_blacklist: z.
|
|
50
|
-
is_malware_exploit: z.
|
|
49
|
+
is_in_blacklist: z.boolean().describe("Device ID in blacklist").nullable().optional(),
|
|
50
|
+
is_malware_exploit: z.boolean().describe("Device appears infected by malware").nullable().optional()
|
|
51
51
|
});
|
|
52
52
|
const FraudlabsProFlpScreenOrder_UsernameCheckSchema = z.object({
|
|
53
|
-
is_high_risk: z.
|
|
54
|
-
is_in_blacklist: z.
|
|
53
|
+
is_high_risk: z.boolean().describe("Username found in high-risk database").nullable().optional(),
|
|
54
|
+
is_in_blacklist: z.boolean().describe("Username in blacklist").nullable().optional()
|
|
55
55
|
});
|
|
56
56
|
const FraudlabsProFlpScreenOrder_CreditCardCheckSchema = z.object({
|
|
57
|
-
card_type: z.
|
|
58
|
-
card_brand: z.
|
|
59
|
-
is_prepaid: z.
|
|
60
|
-
is_bin_exist: z.
|
|
61
|
-
is_in_blacklist: z.
|
|
62
|
-
card_issuing_bank: z.
|
|
63
|
-
card_issuing_country: z.
|
|
64
|
-
is_bin_country_match: z.
|
|
57
|
+
card_type: z.string().describe("Credit or debit card type").nullable().optional(),
|
|
58
|
+
card_brand: z.string().describe("Credit card brand").nullable().optional(),
|
|
59
|
+
is_prepaid: z.boolean().describe("Whether card is prepaid").nullable().optional(),
|
|
60
|
+
is_bin_exist: z.boolean().describe("Whether BIN exists in list").nullable().optional(),
|
|
61
|
+
is_in_blacklist: z.boolean().describe("Card in blacklist").nullable().optional(),
|
|
62
|
+
card_issuing_bank: z.string().describe("Issuing bank name").nullable().optional(),
|
|
63
|
+
card_issuing_country: z.string().describe("Issuing country ISO code").nullable().optional(),
|
|
64
|
+
is_bin_country_match: z.boolean().describe("BIN country matches issuing country").nullable().optional()
|
|
65
65
|
});
|
|
66
66
|
const FraudlabsProFlpScreenOrder_PhoneNumberCheckSchema = z.object({
|
|
67
|
-
is_disposable: z.
|
|
68
|
-
is_in_blacklist: z.
|
|
67
|
+
is_disposable: z.boolean().describe("Disposable phone number").nullable().optional(),
|
|
68
|
+
is_in_blacklist: z.boolean().describe("Phone number in blacklist").nullable().optional()
|
|
69
69
|
});
|
|
70
70
|
const FraudlabsProFlpScreenOrder_EmailAddressCheckSchema = z.object({
|
|
71
|
-
is_free: z.
|
|
72
|
-
is_disposable: z.
|
|
73
|
-
is_domain_exist: z.
|
|
74
|
-
is_in_blacklist: z.
|
|
75
|
-
is_new_domain_name: z.
|
|
71
|
+
is_free: z.boolean().describe("Email from free provider").nullable().optional(),
|
|
72
|
+
is_disposable: z.boolean().describe("Disposable email address").nullable().optional(),
|
|
73
|
+
is_domain_exist: z.boolean().describe("Email domain exists and is valid").nullable().optional(),
|
|
74
|
+
is_in_blacklist: z.boolean().describe("Email address in blacklist").nullable().optional(),
|
|
75
|
+
is_new_domain_name: z.boolean().describe("Newly registered domain name").nullable().optional()
|
|
76
76
|
});
|
|
77
77
|
const FraudlabsProFlpScreenOrder_IPGeolocationSchema = z.object({
|
|
78
78
|
ip: z.string().describe("Transaction IP address").nullable(),
|
|
79
|
-
city: z.
|
|
80
|
-
domain: z.
|
|
81
|
-
region: z.
|
|
79
|
+
city: z.string().describe("City").nullable().optional(),
|
|
80
|
+
domain: z.string().describe("ISP domain name").nullable().optional(),
|
|
81
|
+
region: z.string().describe("Region or state").nullable().optional(),
|
|
82
82
|
is_proxy: z.boolean().describe("Whether IP is known anonymous proxy").nullable(),
|
|
83
|
-
isp_name: z.
|
|
84
|
-
latitude: z.
|
|
85
|
-
netspeed: z.
|
|
86
|
-
timezone: z.
|
|
87
|
-
zip_code: z.
|
|
88
|
-
continent: z.
|
|
89
|
-
elevation: z.
|
|
90
|
-
longitude: z.
|
|
91
|
-
mobile_mcc: z.
|
|
92
|
-
mobile_mnc: z.
|
|
93
|
-
usage_type: z.
|
|
94
|
-
country_code: z.
|
|
95
|
-
country_name: z.
|
|
96
|
-
mobile_brand: z.
|
|
83
|
+
isp_name: z.string().describe("Internet service provider name").nullable().optional(),
|
|
84
|
+
latitude: z.union([z.number(), z.string()]).nullable().optional(),
|
|
85
|
+
netspeed: z.string().describe("Network speed type").nullable().optional(),
|
|
86
|
+
timezone: z.string().describe("Timezone").nullable().optional(),
|
|
87
|
+
zip_code: z.string().describe("ZIP or postal code").nullable().optional(),
|
|
88
|
+
continent: z.string().describe("Estimated continent").nullable().optional(),
|
|
89
|
+
elevation: z.number().int().describe("Elevation in meters").nullable().optional(),
|
|
90
|
+
longitude: z.union([z.number(), z.string()]).nullable().optional(),
|
|
91
|
+
mobile_mcc: z.string().describe("Mobile network MCC code").nullable().optional(),
|
|
92
|
+
mobile_mnc: z.string().describe("Mobile network MNC code").nullable().optional(),
|
|
93
|
+
usage_type: z.array(z.string()).describe("Usage type list (e.g., ['Commercial'])").nullable().optional(),
|
|
94
|
+
country_code: z.string().describe("ISO-3166 country code").nullable().optional(),
|
|
95
|
+
country_name: z.string().describe("Country name").nullable().optional(),
|
|
96
|
+
mobile_brand: z.string().describe("Mobile brand name").nullable().optional(),
|
|
97
97
|
is_in_blacklist: z.boolean().describe("Whether IP is in blacklist").nullable()
|
|
98
98
|
});
|
|
99
99
|
const FraudlabsProFlpScreenOrder_BillingAddressCheckSchema = z.object({
|
|
100
|
-
ip_distance_in_km: z.
|
|
101
|
-
ip_distance_in_mile: z.
|
|
102
|
-
is_ip_country_match: z.
|
|
100
|
+
ip_distance_in_km: z.number().describe("Distance between IP and billing in km").nullable().optional(),
|
|
101
|
+
ip_distance_in_mile: z.number().describe("Distance between IP and billing in miles").nullable().optional(),
|
|
102
|
+
is_ip_country_match: z.boolean().describe("IP country matches billing country").nullable().optional()
|
|
103
103
|
});
|
|
104
104
|
const FraudlabsProFlpScreenOrder_ShippingAddressCheckSchema = z.object({
|
|
105
|
-
is_in_blacklist: z.
|
|
106
|
-
is_bill_city_match: z.
|
|
107
|
-
is_bill_state_match: z.
|
|
108
|
-
is_bill_country_match: z.
|
|
109
|
-
is_bill_postcode_match: z.
|
|
110
|
-
is_address_ship_forward: z.
|
|
111
|
-
is_export_controlled_country: z.
|
|
105
|
+
is_in_blacklist: z.boolean().describe("Shipping address in blacklist").nullable().optional(),
|
|
106
|
+
is_bill_city_match: z.boolean().describe("Billing city matches shipping city").nullable().optional(),
|
|
107
|
+
is_bill_state_match: z.boolean().describe("Billing state matches shipping state").nullable().optional(),
|
|
108
|
+
is_bill_country_match: z.boolean().describe("Billing country matches shipping country").nullable().optional(),
|
|
109
|
+
is_bill_postcode_match: z.boolean().describe("Billing postal code matches shipping postal code").nullable().optional(),
|
|
110
|
+
is_address_ship_forward: z.boolean().describe("Shipping address is known mail drop").nullable().optional(),
|
|
111
|
+
is_export_controlled_country: z.boolean().describe("Country is embargoed").nullable().optional()
|
|
112
112
|
});
|
|
113
113
|
const fraudlabsProFlpScreenOrder = action("FRAUDLABS_PRO_FLP_SCREEN_ORDER", {
|
|
114
114
|
slug: "fraudlabs_pro-flp-screen-order",
|
|
@@ -122,13 +122,13 @@ const fraudlabsProFlpScreenOrder = action("FRAUDLABS_PRO_FLP_SCREEN_ORDER", {
|
|
|
122
122
|
credit_card: FraudlabsProFlpScreenOrder_CreditCardCheckSchema.nullable(),
|
|
123
123
|
phone_number: FraudlabsProFlpScreenOrder_PhoneNumberCheckSchema.nullable(),
|
|
124
124
|
email_address: FraudlabsProFlpScreenOrder_EmailAddressCheckSchema.nullable(),
|
|
125
|
-
user_order_id: z.
|
|
125
|
+
user_order_id: z.string().describe("Echoed merchant order ID").nullable().optional(),
|
|
126
126
|
ip_geolocation: FraudlabsProFlpScreenOrder_IPGeolocationSchema.nullable(),
|
|
127
127
|
billing_address: FraudlabsProFlpScreenOrder_BillingAddressCheckSchema.nullable(),
|
|
128
128
|
fraudlabspro_id: z.string().describe("Unique API transaction ID").nullable(),
|
|
129
129
|
shipping_address: FraudlabsProFlpScreenOrder_ShippingAddressCheckSchema.nullable(),
|
|
130
130
|
remaining_credits: z.number().int().describe("Remaining query credits").nullable(),
|
|
131
|
-
fraudlabspro_rules: z.
|
|
131
|
+
fraudlabspro_rules: z.array(z.string()).describe("Rules triggered during screening").nullable().optional(),
|
|
132
132
|
fraudlabspro_score: z.number().int().describe("Fraud score (1–100, higher is riskier)").nullable(),
|
|
133
133
|
fraudlabspro_status: z.enum([
|
|
134
134
|
"APPROVE",
|