@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.
Files changed (41) 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 +13 -13
  4. package/dist/actions/create-account.cjs.map +1 -1
  5. package/dist/actions/create-account.d.cts +14 -30
  6. package/dist/actions/create-account.d.mts +14 -30
  7. package/dist/actions/create-account.mjs +13 -13
  8. package/dist/actions/create-account.mjs.map +1 -1
  9. package/dist/actions/flp-feedback-order.d.cts +1 -3
  10. package/dist/actions/flp-feedback-order.d.mts +1 -3
  11. package/dist/actions/flp-screen-order.cjs +48 -48
  12. package/dist/actions/flp-screen-order.cjs.map +1 -1
  13. package/dist/actions/flp-screen-order.d.cts +49 -122
  14. package/dist/actions/flp-screen-order.d.mts +49 -122
  15. package/dist/actions/flp-screen-order.mjs +48 -48
  16. package/dist/actions/flp-screen-order.mjs.map +1 -1
  17. package/dist/actions/get-order-result2.cjs +62 -62
  18. package/dist/actions/get-order-result2.cjs.map +1 -1
  19. package/dist/actions/get-order-result2.d.cts +63 -134
  20. package/dist/actions/get-order-result2.d.mts +63 -134
  21. package/dist/actions/get-order-result2.mjs +62 -62
  22. package/dist/actions/get-order-result2.mjs.map +1 -1
  23. package/dist/actions/get-sms-verification-result.d.cts +1 -3
  24. package/dist/actions/get-sms-verification-result.d.mts +1 -3
  25. package/dist/actions/send-sms-verification.d.cts +1 -4
  26. package/dist/actions/send-sms-verification.d.mts +1 -4
  27. package/dist/actions/subscribe-plan.cjs +4 -4
  28. package/dist/actions/subscribe-plan.cjs.map +1 -1
  29. package/dist/actions/subscribe-plan.d.cts +5 -12
  30. package/dist/actions/subscribe-plan.d.mts +5 -12
  31. package/dist/actions/subscribe-plan.mjs +4 -4
  32. package/dist/actions/subscribe-plan.mjs.map +1 -1
  33. package/dist/actions/webhook-order-status-changed.cjs +1 -1
  34. package/dist/actions/webhook-order-status-changed.cjs.map +1 -1
  35. package/dist/actions/webhook-order-status-changed.d.cts +2 -6
  36. package/dist/actions/webhook-order-status-changed.d.cts.map +1 -1
  37. package/dist/actions/webhook-order-status-changed.d.mts +2 -6
  38. package/dist/actions/webhook-order-status-changed.d.mts.map +1 -1
  39. package/dist/actions/webhook-order-status-changed.mjs +1 -1
  40. package/dist/actions/webhook-order-status-changed.mjs.map +1 -1
  41. 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.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
54
- is_malware_exploit: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
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.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
58
- is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
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.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>>;
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.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
73
- is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
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.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>>;
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.ZodPreprocess<z.ZodOptional<z.ZodString>>;
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.ZodPreprocess<z.ZodOptional<z.ZodString>>;
86
- domain: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
87
- region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
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.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>>;
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.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>>;
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.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>>;
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.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
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.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
54
- is_malware_exploit: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
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.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
58
- is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
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.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>>;
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.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
73
- is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
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.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>>;
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.ZodPreprocess<z.ZodOptional<z.ZodString>>;
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.ZodPreprocess<z.ZodOptional<z.ZodString>>;
86
- domain: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
87
- region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
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.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>>;
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.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>>;
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.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>>;
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.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
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.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())
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.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())
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.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())
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.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())
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.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())
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.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()),
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.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()),
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.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())
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.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())
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.preprocess((value) => value === null ? void 0 : value, z.string().describe("Echoed merchant order ID").optional()),
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.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Rules triggered during screening").optional()),
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",