@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.
Files changed (73) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/create-account.cjs +15 -15
  4. package/dist/actions/create-account.cjs.map +1 -1
  5. package/dist/actions/create-account.d.cts +70 -3
  6. package/dist/actions/create-account.d.cts.map +1 -1
  7. package/dist/actions/create-account.d.mts +70 -3
  8. package/dist/actions/create-account.d.mts.map +1 -1
  9. package/dist/actions/create-account.mjs +15 -15
  10. package/dist/actions/create-account.mjs.map +1 -1
  11. package/dist/actions/flp-feedback-order.cjs +1 -1
  12. package/dist/actions/flp-feedback-order.cjs.map +1 -1
  13. package/dist/actions/flp-feedback-order.d.cts +26 -3
  14. package/dist/actions/flp-feedback-order.d.cts.map +1 -1
  15. package/dist/actions/flp-feedback-order.d.mts +26 -3
  16. package/dist/actions/flp-feedback-order.d.mts.map +1 -1
  17. package/dist/actions/flp-feedback-order.mjs +1 -1
  18. package/dist/actions/flp-feedback-order.mjs.map +1 -1
  19. package/dist/actions/flp-screen-order.cjs +56 -56
  20. package/dist/actions/flp-screen-order.cjs.map +1 -1
  21. package/dist/actions/flp-screen-order.d.cts +233 -3
  22. package/dist/actions/flp-screen-order.d.cts.map +1 -1
  23. package/dist/actions/flp-screen-order.d.mts +233 -3
  24. package/dist/actions/flp-screen-order.d.mts.map +1 -1
  25. package/dist/actions/flp-screen-order.mjs +56 -56
  26. package/dist/actions/flp-screen-order.mjs.map +1 -1
  27. package/dist/actions/get-order-result2.cjs +62 -62
  28. package/dist/actions/get-order-result2.cjs.map +1 -1
  29. package/dist/actions/get-order-result2.d.cts +161 -3
  30. package/dist/actions/get-order-result2.d.cts.map +1 -1
  31. package/dist/actions/get-order-result2.d.mts +161 -3
  32. package/dist/actions/get-order-result2.d.mts.map +1 -1
  33. package/dist/actions/get-order-result2.mjs +62 -62
  34. package/dist/actions/get-order-result2.mjs.map +1 -1
  35. package/dist/actions/get-sms-verification-result.cjs +1 -1
  36. package/dist/actions/get-sms-verification-result.cjs.map +1 -1
  37. package/dist/actions/get-sms-verification-result.d.cts +23 -3
  38. package/dist/actions/get-sms-verification-result.d.cts.map +1 -1
  39. package/dist/actions/get-sms-verification-result.d.mts +23 -3
  40. package/dist/actions/get-sms-verification-result.d.mts.map +1 -1
  41. package/dist/actions/get-sms-verification-result.mjs +1 -1
  42. package/dist/actions/get-sms-verification-result.mjs.map +1 -1
  43. package/dist/actions/send-sms-verification.cjs +2 -2
  44. package/dist/actions/send-sms-verification.cjs.map +1 -1
  45. package/dist/actions/send-sms-verification.d.cts +26 -3
  46. package/dist/actions/send-sms-verification.d.cts.map +1 -1
  47. package/dist/actions/send-sms-verification.d.mts +26 -3
  48. package/dist/actions/send-sms-verification.d.mts.map +1 -1
  49. package/dist/actions/send-sms-verification.mjs +2 -2
  50. package/dist/actions/send-sms-verification.mjs.map +1 -1
  51. package/dist/actions/subscribe-plan.cjs +6 -6
  52. package/dist/actions/subscribe-plan.cjs.map +1 -1
  53. package/dist/actions/subscribe-plan.d.cts +36 -3
  54. package/dist/actions/subscribe-plan.d.cts.map +1 -1
  55. package/dist/actions/subscribe-plan.d.mts +36 -3
  56. package/dist/actions/subscribe-plan.d.mts.map +1 -1
  57. package/dist/actions/subscribe-plan.mjs +6 -6
  58. package/dist/actions/subscribe-plan.mjs.map +1 -1
  59. package/dist/actions/webhook-order-status-changed.cjs +3 -3
  60. package/dist/actions/webhook-order-status-changed.cjs.map +1 -1
  61. package/dist/actions/webhook-order-status-changed.d.cts +29 -3
  62. package/dist/actions/webhook-order-status-changed.d.cts.map +1 -1
  63. package/dist/actions/webhook-order-status-changed.d.mts +29 -3
  64. package/dist/actions/webhook-order-status-changed.d.mts.map +1 -1
  65. package/dist/actions/webhook-order-status-changed.mjs +3 -3
  66. package/dist/actions/webhook-order-status-changed.mjs.map +1 -1
  67. package/dist/catalog.cjs +7 -1
  68. package/dist/catalog.cjs.map +1 -1
  69. package/dist/catalog.d.cts +8 -0
  70. package/dist/catalog.d.mts +8 -0
  71. package/dist/catalog.mjs +7 -1
  72. package/dist/catalog.mjs.map +1 -1
  73. package/package.json +2 -2
@@ -1,9 +1,239 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/flp-screen-order.d.ts
4
- declare const FraudlabsProFlpScreenOrderInput: z.ZodTypeAny;
5
- declare const FraudlabsProFlpScreenOrderOutput: z.ZodTypeAny;
6
- declare const fraudlabsProFlpScreenOrder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const FraudlabsProFlpScreenOrderInput: z.ZodObject<{
5
+ ip: z.ZodString;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ amount: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
8
+ bin_no: z.ZodOptional<z.ZodString>;
9
+ format: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
10
+ json: "json";
11
+ xml: "xml";
12
+ }>>>;
13
+ currency: z.ZodOptional<z.ZodString>;
14
+ quantity: z.ZodOptional<z.ZodNumber>;
15
+ username: z.ZodOptional<z.ZodString>;
16
+ bill_addr: z.ZodOptional<z.ZodString>;
17
+ bill_city: z.ZodOptional<z.ZodString>;
18
+ card_hash: z.ZodOptional<z.ZodString>;
19
+ last_name: z.ZodOptional<z.ZodString>;
20
+ ship_addr: z.ZodOptional<z.ZodString>;
21
+ ship_city: z.ZodOptional<z.ZodString>;
22
+ avs_result: z.ZodOptional<z.ZodString>;
23
+ bill_state: z.ZodOptional<z.ZodString>;
24
+ cvv_result: z.ZodOptional<z.ZodString>;
25
+ department: z.ZodOptional<z.ZodString>;
26
+ email_hash: z.ZodOptional<z.ZodString>;
27
+ first_name: z.ZodOptional<z.ZodString>;
28
+ ship_state: z.ZodOptional<z.ZodString>;
29
+ user_phone: z.ZodOptional<z.ZodString>;
30
+ bill_country: z.ZodOptional<z.ZodString>;
31
+ email_domain: z.ZodOptional<z.ZodString>;
32
+ flp_checksum: z.ZodOptional<z.ZodString>;
33
+ payment_mode: z.ZodOptional<z.ZodEnum<{
34
+ creditcard: "creditcard";
35
+ paypal: "paypal";
36
+ cod: "cod";
37
+ bankdeposit: "bankdeposit";
38
+ giftcard: "giftcard";
39
+ crypto: "crypto";
40
+ wired: "wired";
41
+ others: "others";
42
+ }>>;
43
+ ship_country: z.ZodOptional<z.ZodString>;
44
+ bill_zip_code: z.ZodOptional<z.ZodString>;
45
+ ship_zip_code: z.ZodOptional<z.ZodString>;
46
+ user_order_id: z.ZodOptional<z.ZodString>;
47
+ ship_last_name: z.ZodOptional<z.ZodString>;
48
+ payment_gateway: z.ZodOptional<z.ZodString>;
49
+ ship_first_name: z.ZodOptional<z.ZodString>;
50
+ }, z.core.$strip>;
51
+ declare const FraudlabsProFlpScreenOrderOutput: z.ZodObject<{
52
+ device: z.ZodNullable<z.ZodObject<{
53
+ is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
54
+ is_malware_exploit: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
55
+ }, z.core.$strip>>;
56
+ username: z.ZodNullable<z.ZodObject<{
57
+ is_high_risk: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
58
+ is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
59
+ }, z.core.$strip>>;
60
+ api_version: z.ZodNullable<z.ZodString>;
61
+ credit_card: z.ZodNullable<z.ZodObject<{
62
+ card_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
63
+ card_brand: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
64
+ is_prepaid: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
65
+ is_bin_exist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
66
+ is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
67
+ card_issuing_bank: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
68
+ card_issuing_country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
69
+ is_bin_country_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
70
+ }, z.core.$strip>>;
71
+ phone_number: z.ZodNullable<z.ZodObject<{
72
+ is_disposable: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
73
+ is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
74
+ }, z.core.$strip>>;
75
+ email_address: z.ZodNullable<z.ZodObject<{
76
+ is_free: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
77
+ is_disposable: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
78
+ is_domain_exist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
79
+ is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
80
+ is_new_domain_name: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
81
+ }, z.core.$strip>>;
82
+ user_order_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
83
+ ip_geolocation: z.ZodNullable<z.ZodObject<{
84
+ ip: z.ZodNullable<z.ZodString>;
85
+ city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
86
+ domain: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
87
+ region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
88
+ is_proxy: z.ZodNullable<z.ZodBoolean>;
89
+ isp_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
90
+ latitude: z.ZodPreprocess<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
91
+ netspeed: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
92
+ timezone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
93
+ zip_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
94
+ continent: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
95
+ elevation: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
96
+ longitude: z.ZodPreprocess<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
97
+ mobile_mcc: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
98
+ mobile_mnc: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
99
+ usage_type: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
100
+ country_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
101
+ country_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
102
+ mobile_brand: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
103
+ is_in_blacklist: z.ZodNullable<z.ZodBoolean>;
104
+ }, z.core.$strip>>;
105
+ billing_address: z.ZodNullable<z.ZodObject<{
106
+ ip_distance_in_km: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
107
+ ip_distance_in_mile: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
108
+ is_ip_country_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
109
+ }, z.core.$strip>>;
110
+ fraudlabspro_id: z.ZodNullable<z.ZodString>;
111
+ shipping_address: z.ZodNullable<z.ZodObject<{
112
+ is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
113
+ is_bill_city_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
114
+ is_bill_state_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
115
+ is_bill_country_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
116
+ is_bill_postcode_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
117
+ is_address_ship_forward: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
118
+ is_export_controlled_country: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
119
+ }, z.core.$strip>>;
120
+ remaining_credits: z.ZodNullable<z.ZodNumber>;
121
+ fraudlabspro_rules: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
122
+ fraudlabspro_score: z.ZodNullable<z.ZodNumber>;
123
+ fraudlabspro_status: z.ZodNullable<z.ZodEnum<{
124
+ APPROVE: "APPROVE";
125
+ REJECT: "REJECT";
126
+ REVIEW: "REVIEW";
127
+ }>>;
128
+ }, z.core.$strip>;
129
+ declare const fraudlabsProFlpScreenOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
130
+ ip: string;
131
+ email?: string | undefined;
132
+ amount?: string | number | undefined;
133
+ bin_no?: string | undefined;
134
+ format?: "json" | "xml" | undefined;
135
+ currency?: string | undefined;
136
+ quantity?: number | undefined;
137
+ username?: string | undefined;
138
+ bill_addr?: string | undefined;
139
+ bill_city?: string | undefined;
140
+ card_hash?: string | undefined;
141
+ last_name?: string | undefined;
142
+ ship_addr?: string | undefined;
143
+ ship_city?: string | undefined;
144
+ avs_result?: string | undefined;
145
+ bill_state?: string | undefined;
146
+ cvv_result?: string | undefined;
147
+ department?: string | undefined;
148
+ email_hash?: string | undefined;
149
+ first_name?: string | undefined;
150
+ ship_state?: string | undefined;
151
+ user_phone?: string | undefined;
152
+ bill_country?: string | undefined;
153
+ email_domain?: string | undefined;
154
+ flp_checksum?: string | undefined;
155
+ payment_mode?: "creditcard" | "paypal" | "cod" | "bankdeposit" | "giftcard" | "crypto" | "wired" | "others" | undefined;
156
+ ship_country?: string | undefined;
157
+ bill_zip_code?: string | undefined;
158
+ ship_zip_code?: string | undefined;
159
+ user_order_id?: string | undefined;
160
+ ship_last_name?: string | undefined;
161
+ payment_gateway?: string | undefined;
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]>;
7
237
  //#endregion
8
238
  export { fraudlabsProFlpScreenOrder };
9
239
  //# sourceMappingURL=flp-screen-order.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flp-screen-order.d.mts","names":[],"sources":["../../src/actions/flp-screen-order.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAkC9C;AAAA,cAkEW,gCAAA,EAAkC,CAAA,CAAE,UAgB/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"flp-screen-order.d.mts","names":[],"sources":["../../src/actions/flp-screen-order.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBhC,0BAAA,gCAA0B,wBAAA"}
@@ -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.boolean().describe("Device ID in blacklist").nullable().optional(),
50
- is_malware_exploit: z.boolean().describe("Device appears infected by malware").nullable().optional()
49
+ is_in_blacklist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Device ID in blacklist").optional()),
50
+ is_malware_exploit: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Device appears infected by malware").optional())
51
51
  });
52
52
  const FraudlabsProFlpScreenOrder_UsernameCheckSchema = z.object({
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()
53
+ is_high_risk: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Username found in high-risk database").optional()),
54
+ is_in_blacklist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Username in blacklist").optional())
55
55
  });
56
56
  const FraudlabsProFlpScreenOrder_CreditCardCheckSchema = z.object({
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()
57
+ card_type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Credit or debit card type").optional()),
58
+ card_brand: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Credit card brand").optional()),
59
+ is_prepaid: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether card is prepaid").optional()),
60
+ is_bin_exist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether BIN exists in list").optional()),
61
+ is_in_blacklist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Card in blacklist").optional()),
62
+ card_issuing_bank: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Issuing bank name").optional()),
63
+ card_issuing_country: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Issuing country ISO code").optional()),
64
+ is_bin_country_match: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("BIN country matches issuing country").optional())
65
65
  });
66
66
  const FraudlabsProFlpScreenOrder_PhoneNumberCheckSchema = z.object({
67
- is_disposable: z.boolean().describe("Disposable phone number").nullable().optional(),
68
- is_in_blacklist: z.boolean().describe("Phone number in blacklist").nullable().optional()
67
+ is_disposable: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Disposable phone number").optional()),
68
+ is_in_blacklist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Phone number in blacklist").optional())
69
69
  });
70
70
  const FraudlabsProFlpScreenOrder_EmailAddressCheckSchema = z.object({
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()
71
+ is_free: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Email from free provider").optional()),
72
+ is_disposable: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Disposable email address").optional()),
73
+ is_domain_exist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Email domain exists and is valid").optional()),
74
+ is_in_blacklist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Email address in blacklist").optional()),
75
+ is_new_domain_name: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Newly registered domain name").optional())
76
76
  });
77
77
  const FraudlabsProFlpScreenOrder_IPGeolocationSchema = z.object({
78
- ip: z.string().describe("Transaction IP address"),
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
- is_proxy: z.boolean().describe("Whether IP is known anonymous proxy"),
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
- is_in_blacklist: z.boolean().describe("Whether IP is in blacklist")
78
+ ip: z.string().describe("Transaction IP address").nullable(),
79
+ city: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("City").optional()),
80
+ domain: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISP domain name").optional()),
81
+ region: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Region or state").optional()),
82
+ is_proxy: z.boolean().describe("Whether IP is known anonymous proxy").nullable(),
83
+ isp_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Internet service provider name").optional()),
84
+ latitude: z.preprocess((value) => value === null ? void 0 : value, z.union([z.number(), z.string()]).optional()),
85
+ netspeed: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Network speed type").optional()),
86
+ timezone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timezone").optional()),
87
+ zip_code: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ZIP or postal code").optional()),
88
+ continent: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Estimated continent").optional()),
89
+ elevation: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Elevation in meters").optional()),
90
+ longitude: z.preprocess((value) => value === null ? void 0 : value, z.union([z.number(), z.string()]).optional()),
91
+ mobile_mcc: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Mobile network MCC code").optional()),
92
+ mobile_mnc: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Mobile network MNC code").optional()),
93
+ usage_type: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Usage type list (e.g., ['Commercial'])").optional()),
94
+ country_code: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO-3166 country code").optional()),
95
+ country_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Country name").optional()),
96
+ mobile_brand: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Mobile brand name").optional()),
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.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()
100
+ ip_distance_in_km: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("Distance between IP and billing in km").optional()),
101
+ ip_distance_in_mile: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("Distance between IP and billing in miles").optional()),
102
+ is_ip_country_match: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("IP country matches billing country").optional())
103
103
  });
104
104
  const FraudlabsProFlpScreenOrder_ShippingAddressCheckSchema = z.object({
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()
105
+ is_in_blacklist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Shipping address in blacklist").optional()),
106
+ is_bill_city_match: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Billing city matches shipping city").optional()),
107
+ is_bill_state_match: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Billing state matches shipping state").optional()),
108
+ is_bill_country_match: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Billing country matches shipping country").optional()),
109
+ is_bill_postcode_match: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Billing postal code matches shipping postal code").optional()),
110
+ is_address_ship_forward: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Shipping address is known mail drop").optional()),
111
+ is_export_controlled_country: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Country is embargoed").optional())
112
112
  });
113
113
  const fraudlabsProFlpScreenOrder = action("FRAUDLABS_PRO_FLP_SCREEN_ORDER", {
114
114
  slug: "fraudlabs_pro-flp-screen-order",
@@ -118,23 +118,23 @@ const fraudlabsProFlpScreenOrder = action("FRAUDLABS_PRO_FLP_SCREEN_ORDER", {
118
118
  output: z.object({
119
119
  device: FraudlabsProFlpScreenOrder_DeviceCheckSchema.nullable(),
120
120
  username: FraudlabsProFlpScreenOrder_UsernameCheckSchema.nullable(),
121
- api_version: z.string().describe("API engine version used"),
121
+ api_version: z.string().describe("API engine version used").nullable(),
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.string().describe("Echoed merchant order ID").nullable().optional(),
125
+ user_order_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Echoed merchant order ID").optional()),
126
126
  ip_geolocation: FraudlabsProFlpScreenOrder_IPGeolocationSchema.nullable(),
127
127
  billing_address: FraudlabsProFlpScreenOrder_BillingAddressCheckSchema.nullable(),
128
- fraudlabspro_id: z.string().describe("Unique API transaction ID"),
128
+ fraudlabspro_id: z.string().describe("Unique API transaction ID").nullable(),
129
129
  shipping_address: FraudlabsProFlpScreenOrder_ShippingAddressCheckSchema.nullable(),
130
- remaining_credits: z.number().int().describe("Remaining query credits"),
131
- fraudlabspro_rules: z.array(z.string()).describe("Rules triggered during screening").nullable().optional(),
132
- fraudlabspro_score: z.number().int().describe("Fraud score (1–100, higher is riskier)"),
130
+ remaining_credits: z.number().int().describe("Remaining query credits").nullable(),
131
+ fraudlabspro_rules: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Rules triggered during screening").optional()),
132
+ fraudlabspro_score: z.number().int().describe("Fraud score (1–100, higher is riskier)").nullable(),
133
133
  fraudlabspro_status: z.enum([
134
134
  "APPROVE",
135
135
  "REJECT",
136
136
  "REVIEW"
137
- ]).describe("Final decision status")
137
+ ]).describe("Final decision status").nullable()
138
138
  })
139
139
  });
140
140
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"flp-screen-order.mjs","names":[],"sources":["../../src/actions/flp-screen-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FraudlabsProFlpScreenOrderInput: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"Transaction IP address (IPv4 or IPv6)\"),\n email: z.string().describe(\"User's email address\").optional(),\n amount: z.union([z.number(), z.string()]).optional(),\n bin_no: z.string().describe(\"First 6 or 8 digits of card for bank identification\").optional(),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format\").optional(),\n currency: z.string().describe(\"Transaction currency (ISO-4217 code, e.g., USD)\").optional(),\n quantity: z.number().int().describe(\"Total quantity of items\").optional(),\n username: z.string().describe(\"Username used for signup\").optional(),\n bill_addr: z.string().describe(\"Billing street address\").optional(),\n bill_city: z.string().describe(\"Billing city\").optional(),\n card_hash: z.string().describe(\"SHA2 hash of card number\").optional(),\n last_name: z.string().describe(\"User's last name\").optional(),\n ship_addr: z.string().describe(\"Shipping street address\").optional(),\n ship_city: z.string().describe(\"Shipping city\").optional(),\n avs_result: z.string().describe(\"Single-character AVS result from processor\").optional(),\n bill_state: z.string().describe(\"Billing state or province (US/CA code, e.g., NY)\").optional(),\n cvv_result: z.string().describe(\"Single-character CVV2 result (processor response)\").optional(),\n department: z.string().describe(\"Merchant product/service department ID\").optional(),\n email_hash: z.string().describe(\"SHA2 hash of email if email not provided\").optional(),\n first_name: z.string().describe(\"User's first name\").optional(),\n ship_state: z.string().describe(\"Shipping state or province (US/CA code, e.g., NY)\").optional(),\n user_phone: z.string().describe(\"User's phone number\").optional(),\n bill_country: z.string().describe(\"Billing country ISO-3166 alpha-2 code (e.g., US)\").optional(),\n email_domain: z.string().describe(\"Email domain; auto-extracted if email provided\").optional(),\n flp_checksum: z.string().describe(\"Device validation checksum from FraudLabs Pro JavaScript\").optional(),\n payment_mode: z.enum([\"creditcard\", \"paypal\", \"cod\", \"bankdeposit\", \"giftcard\", \"crypto\", \"wired\", \"others\"]).describe(\"Payment mode for transaction\").optional(),\n ship_country: z.string().describe(\"Shipping country ISO-3166 alpha-2 code (e.g., US)\").optional(),\n bill_zip_code: z.string().describe(\"Billing postal or ZIP code\").optional(),\n ship_zip_code: z.string().describe(\"Shipping postal or ZIP code\").optional(),\n user_order_id: z.string().describe(\"Merchant's order ID (max 15 chars)\").optional(),\n ship_last_name: z.string().describe(\"Shipping recipient last name\").optional(),\n payment_gateway: z.string().describe(\"Payment gateway name\").optional(),\n ship_first_name: z.string().describe(\"Shipping recipient first name\").optional(),\n});\nconst FraudlabsProFlpScreenOrder_DeviceCheckSchema: z.ZodTypeAny = z.object({\n is_in_blacklist: z.boolean().describe(\"Device ID in blacklist\").nullable().optional(),\n is_malware_exploit: z.boolean().describe(\"Device appears infected by malware\").nullable().optional(),\n});\nconst FraudlabsProFlpScreenOrder_UsernameCheckSchema: z.ZodTypeAny = z.object({\n is_high_risk: z.boolean().describe(\"Username found in high-risk database\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Username in blacklist\").nullable().optional(),\n});\nconst FraudlabsProFlpScreenOrder_CreditCardCheckSchema: z.ZodTypeAny = z.object({\n card_type: z.string().describe(\"Credit or debit card type\").nullable().optional(),\n card_brand: z.string().describe(\"Credit card brand\").nullable().optional(),\n is_prepaid: z.boolean().describe(\"Whether card is prepaid\").nullable().optional(),\n is_bin_exist: z.boolean().describe(\"Whether BIN exists in list\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Card in blacklist\").nullable().optional(),\n card_issuing_bank: z.string().describe(\"Issuing bank name\").nullable().optional(),\n card_issuing_country: z.string().describe(\"Issuing country ISO code\").nullable().optional(),\n is_bin_country_match: z.boolean().describe(\"BIN country matches issuing country\").nullable().optional(),\n});\nconst FraudlabsProFlpScreenOrder_PhoneNumberCheckSchema: z.ZodTypeAny = z.object({\n is_disposable: z.boolean().describe(\"Disposable phone number\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Phone number in blacklist\").nullable().optional(),\n});\nconst FraudlabsProFlpScreenOrder_EmailAddressCheckSchema: z.ZodTypeAny = z.object({\n is_free: z.boolean().describe(\"Email from free provider\").nullable().optional(),\n is_disposable: z.boolean().describe(\"Disposable email address\").nullable().optional(),\n is_domain_exist: z.boolean().describe(\"Email domain exists and is valid\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Email address in blacklist\").nullable().optional(),\n is_new_domain_name: z.boolean().describe(\"Newly registered domain name\").nullable().optional(),\n});\nconst FraudlabsProFlpScreenOrder_IPGeolocationSchema: z.ZodTypeAny = z.object({\n ip: z.string().describe(\"Transaction IP address\"),\n city: z.string().describe(\"City\").nullable().optional(),\n domain: z.string().describe(\"ISP domain name\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n is_proxy: z.boolean().describe(\"Whether IP is known anonymous proxy\"),\n isp_name: z.string().describe(\"Internet service provider name\").nullable().optional(),\n latitude: z.union([z.number(), z.string()]).nullable().optional(),\n netspeed: z.string().describe(\"Network speed type\").nullable().optional(),\n timezone: z.string().describe(\"Timezone\").nullable().optional(),\n zip_code: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n continent: z.string().describe(\"Estimated continent\").nullable().optional(),\n elevation: z.number().int().describe(\"Elevation in meters\").nullable().optional(),\n longitude: z.union([z.number(), z.string()]).nullable().optional(),\n mobile_mcc: z.string().describe(\"Mobile network MCC code\").nullable().optional(),\n mobile_mnc: z.string().describe(\"Mobile network MNC code\").nullable().optional(),\n usage_type: z.array(z.string()).describe(\"Usage type list (e.g., ['Commercial'])\").nullable().optional(),\n country_code: z.string().describe(\"ISO-3166 country code\").nullable().optional(),\n country_name: z.string().describe(\"Country name\").nullable().optional(),\n mobile_brand: z.string().describe(\"Mobile brand name\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Whether IP is in blacklist\"),\n});\nconst FraudlabsProFlpScreenOrder_BillingAddressCheckSchema: z.ZodTypeAny = z.object({\n ip_distance_in_km: z.number().describe(\"Distance between IP and billing in km\").nullable().optional(),\n ip_distance_in_mile: z.number().describe(\"Distance between IP and billing in miles\").nullable().optional(),\n is_ip_country_match: z.boolean().describe(\"IP country matches billing country\").nullable().optional(),\n});\nconst FraudlabsProFlpScreenOrder_ShippingAddressCheckSchema: z.ZodTypeAny = z.object({\n is_in_blacklist: z.boolean().describe(\"Shipping address 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 postal code matches shipping postal code\").nullable().optional(),\n is_address_ship_forward: z.boolean().describe(\"Shipping address is known mail drop\").nullable().optional(),\n is_export_controlled_country: z.boolean().describe(\"Country is embargoed\").nullable().optional(),\n});\nexport const FraudlabsProFlpScreenOrderOutput: z.ZodTypeAny = z.object({\n device: FraudlabsProFlpScreenOrder_DeviceCheckSchema.nullable(),\n username: FraudlabsProFlpScreenOrder_UsernameCheckSchema.nullable(),\n api_version: z.string().describe(\"API engine version used\"),\n credit_card: FraudlabsProFlpScreenOrder_CreditCardCheckSchema.nullable(),\n phone_number: FraudlabsProFlpScreenOrder_PhoneNumberCheckSchema.nullable(),\n email_address: FraudlabsProFlpScreenOrder_EmailAddressCheckSchema.nullable(),\n user_order_id: z.string().describe(\"Echoed merchant order ID\").nullable().optional(),\n ip_geolocation: FraudlabsProFlpScreenOrder_IPGeolocationSchema.nullable(),\n billing_address: FraudlabsProFlpScreenOrder_BillingAddressCheckSchema.nullable(),\n fraudlabspro_id: z.string().describe(\"Unique API transaction ID\"),\n shipping_address: FraudlabsProFlpScreenOrder_ShippingAddressCheckSchema.nullable(),\n remaining_credits: z.number().int().describe(\"Remaining query credits\"),\n fraudlabspro_rules: z.array(z.string()).describe(\"Rules triggered during screening\").nullable().optional(),\n fraudlabspro_score: z.number().int().describe(\"Fraud score (1–100, higher is riskier)\"),\n fraudlabspro_status: z.enum([\"APPROVE\", \"REJECT\", \"REVIEW\"]).describe(\"Final decision status\"),\n});\n\nexport const fraudlabsProFlpScreenOrder = action(\"FRAUDLABS_PRO_FLP_SCREEN_ORDER\", {\n slug: \"fraudlabs_pro-flp-screen-order\",\n name: \"FraudLabs Pro Screen Order\",\n description: \"Tool to screen orders for fraud. Use when you need to assess transaction risk before fulfillment.\",\n input: FraudlabsProFlpScreenOrderInput,\n output: FraudlabsProFlpScreenOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CA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,SAAS;EACxE,iBAAiB,qDAAqD,SAAS;EAC/E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EAChE,kBAAkB,sDAAsD,SAAS;EACjF,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;EACtE,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EACtF,qBAAqB,EAAE,KAAK;GAAC;GAAW;GAAU;EAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB;CAC/F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"flp-screen-order.mjs","names":[],"sources":["../../src/actions/flp-screen-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FraudlabsProFlpScreenOrderInput = z.object({\n ip: z.string().describe(\"Transaction IP address (IPv4 or IPv6)\"),\n email: z.string().describe(\"User's email address\").optional(),\n amount: z.union([z.number(), z.string()]).optional(),\n bin_no: z.string().describe(\"First 6 or 8 digits of card for bank identification\").optional(),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format\").optional(),\n currency: z.string().describe(\"Transaction currency (ISO-4217 code, e.g., USD)\").optional(),\n quantity: z.number().int().describe(\"Total quantity of items\").optional(),\n username: z.string().describe(\"Username used for signup\").optional(),\n bill_addr: z.string().describe(\"Billing street address\").optional(),\n bill_city: z.string().describe(\"Billing city\").optional(),\n card_hash: z.string().describe(\"SHA2 hash of card number\").optional(),\n last_name: z.string().describe(\"User's last name\").optional(),\n ship_addr: z.string().describe(\"Shipping street address\").optional(),\n ship_city: z.string().describe(\"Shipping city\").optional(),\n avs_result: z.string().describe(\"Single-character AVS result from processor\").optional(),\n bill_state: z.string().describe(\"Billing state or province (US/CA code, e.g., NY)\").optional(),\n cvv_result: z.string().describe(\"Single-character CVV2 result (processor response)\").optional(),\n department: z.string().describe(\"Merchant product/service department ID\").optional(),\n email_hash: z.string().describe(\"SHA2 hash of email if email not provided\").optional(),\n first_name: z.string().describe(\"User's first name\").optional(),\n ship_state: z.string().describe(\"Shipping state or province (US/CA code, e.g., NY)\").optional(),\n user_phone: z.string().describe(\"User's phone number\").optional(),\n bill_country: z.string().describe(\"Billing country ISO-3166 alpha-2 code (e.g., US)\").optional(),\n email_domain: z.string().describe(\"Email domain; auto-extracted if email provided\").optional(),\n flp_checksum: z.string().describe(\"Device validation checksum from FraudLabs Pro JavaScript\").optional(),\n payment_mode: z.enum([\"creditcard\", \"paypal\", \"cod\", \"bankdeposit\", \"giftcard\", \"crypto\", \"wired\", \"others\"]).describe(\"Payment mode for transaction\").optional(),\n ship_country: z.string().describe(\"Shipping country ISO-3166 alpha-2 code (e.g., US)\").optional(),\n bill_zip_code: z.string().describe(\"Billing postal or ZIP code\").optional(),\n ship_zip_code: z.string().describe(\"Shipping postal or ZIP code\").optional(),\n user_order_id: z.string().describe(\"Merchant's order ID (max 15 chars)\").optional(),\n ship_last_name: z.string().describe(\"Shipping recipient last name\").optional(),\n payment_gateway: z.string().describe(\"Payment gateway name\").optional(),\n ship_first_name: z.string().describe(\"Shipping recipient first name\").optional(),\n});\nconst FraudlabsProFlpScreenOrder_DeviceCheckSchema = z.object({\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Device ID in blacklist\").optional()),\n is_malware_exploit: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Device appears infected by malware\").optional()),\n});\nconst FraudlabsProFlpScreenOrder_UsernameCheckSchema = z.object({\n is_high_risk: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Username found in high-risk database\").optional()),\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Username in blacklist\").optional()),\n});\nconst FraudlabsProFlpScreenOrder_CreditCardCheckSchema = z.object({\n card_type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Credit or debit 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 card is prepaid\").optional()),\n is_bin_exist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether BIN exists in list\").optional()),\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Card in blacklist\").optional()),\n card_issuing_bank: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Issuing bank name\").optional()),\n card_issuing_country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Issuing country ISO code\").optional()),\n is_bin_country_match: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"BIN country matches issuing country\").optional()),\n});\nconst FraudlabsProFlpScreenOrder_PhoneNumberCheckSchema = 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 in blacklist\").optional()),\n});\nconst FraudlabsProFlpScreenOrder_EmailAddressCheckSchema = z.object({\n is_free: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Email from free provider\").optional()),\n is_disposable: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Disposable email address\").optional()),\n is_domain_exist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Email domain exists and is valid\").optional()),\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Email address in blacklist\").optional()),\n is_new_domain_name: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Newly registered domain name\").optional()),\n});\nconst FraudlabsProFlpScreenOrder_IPGeolocationSchema = z.object({\n ip: z.string().describe(\"Transaction IP address\").nullable(),\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(\"ISP domain name\").optional()),\n region: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Region or state\").optional()),\n is_proxy: z.boolean().describe(\"Whether IP is known anonymous proxy\").nullable(),\n isp_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Internet service provider name\").optional()),\n latitude: z.preprocess((value) => (value === null ? undefined : value), z.union([z.number(), z.string()]).optional()),\n netspeed: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Network speed type\").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 or 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 in meters\").optional()),\n longitude: z.preprocess((value) => (value === null ? undefined : value), z.union([z.number(), z.string()]).optional()),\n mobile_mcc: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Mobile network MCC code\").optional()),\n mobile_mnc: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Mobile network MNC code\").optional()),\n usage_type: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Usage type list (e.g., ['Commercial'])\").optional()),\n country_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO-3166 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 name\").optional()),\n is_in_blacklist: z.boolean().describe(\"Whether IP is in blacklist\").nullable(),\n});\nconst FraudlabsProFlpScreenOrder_BillingAddressCheckSchema = z.object({\n ip_distance_in_km: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Distance between IP and billing in km\").optional()),\n ip_distance_in_mile: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Distance between IP and billing 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 FraudlabsProFlpScreenOrder_ShippingAddressCheckSchema = z.object({\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Shipping address 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 postal code matches shipping postal code\").optional()),\n is_address_ship_forward: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Shipping address is known mail drop\").optional()),\n is_export_controlled_country: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Country is embargoed\").optional()),\n});\nexport const FraudlabsProFlpScreenOrderOutput = z.object({\n device: FraudlabsProFlpScreenOrder_DeviceCheckSchema.nullable(),\n username: FraudlabsProFlpScreenOrder_UsernameCheckSchema.nullable(),\n api_version: z.string().describe(\"API engine version used\").nullable(),\n credit_card: FraudlabsProFlpScreenOrder_CreditCardCheckSchema.nullable(),\n phone_number: FraudlabsProFlpScreenOrder_PhoneNumberCheckSchema.nullable(),\n email_address: FraudlabsProFlpScreenOrder_EmailAddressCheckSchema.nullable(),\n user_order_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Echoed merchant order ID\").optional()),\n ip_geolocation: FraudlabsProFlpScreenOrder_IPGeolocationSchema.nullable(),\n billing_address: FraudlabsProFlpScreenOrder_BillingAddressCheckSchema.nullable(),\n fraudlabspro_id: z.string().describe(\"Unique API transaction ID\").nullable(),\n shipping_address: FraudlabsProFlpScreenOrder_ShippingAddressCheckSchema.nullable(),\n remaining_credits: z.number().int().describe(\"Remaining query credits\").nullable(),\n fraudlabspro_rules: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Rules triggered during screening\").optional()),\n fraudlabspro_score: z.number().int().describe(\"Fraud score (1–100, higher is riskier)\").nullable(),\n fraudlabspro_status: z.enum([\"APPROVE\", \"REJECT\", \"REVIEW\"]).describe(\"Final decision status\").nullable(),\n});\n\nexport const fraudlabsProFlpScreenOrder = action(\"FRAUDLABS_PRO_FLP_SCREEN_ORDER\", {\n slug: \"fraudlabs_pro-flp-screen-order\",\n name: \"FraudLabs Pro Screen Order\",\n description: \"Tool to screen orders for fraud. Use when you need to assess transaction risk before fulfillment.\",\n input: FraudlabsProFlpScreenOrderInput,\n output: FraudlabsProFlpScreenOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CACnD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CACrF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACxE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SA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