@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
@@ -14,154 +14,83 @@ declare const FraudlabsProGetOrderResult2Input: z.ZodObject<{
14
14
  }>>;
15
15
  }, z.core.$strip>;
16
16
  declare const FraudlabsProGetOrderResult2Output: z.ZodObject<{
17
- device: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
18
- is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
19
- is_malware_exploit: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
17
+ device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
18
+ is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
19
+ is_malware_exploit: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
20
  }, z.core.$strip>>>;
21
- username: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
22
- is_high_risk: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
23
- is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
21
+ username: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
+ is_high_risk: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
24
  }, z.core.$strip>>>;
25
- credit_card: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
26
- card_type: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
27
- card_brand: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
28
- is_prepaid: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
29
- is_bin_exist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
30
- is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
31
- card_issuing_bank: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
32
- card_issuing_country: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
33
- is_bin_country_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
25
+ credit_card: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26
+ card_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ card_brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ is_prepaid: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
+ is_bin_exist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
30
+ is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
31
+ card_issuing_bank: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ card_issuing_country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ is_bin_country_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
34
34
  }, z.core.$strip>>>;
35
- phone_number: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
36
- is_disposable: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
37
- is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
35
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodObject<{
36
+ is_disposable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
37
+ is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
38
  }, z.core.$strip>>>;
39
- email_address: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
40
- is_free: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
41
- is_disposable: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
42
- is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
43
- is_domain_exists: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
44
- is_new_domain_name: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
39
+ email_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
+ is_free: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
41
+ is_disposable: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
+ is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
43
+ is_domain_exists: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
44
+ is_new_domain_name: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
45
45
  }, z.core.$strip>>>;
46
- user_order_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
47
- ip_geolocation: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
48
- ip: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
49
- city: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
50
- domain: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
51
- region: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
52
- is_proxy: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
53
- isp_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
54
- latitude: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
55
- netspeed: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
56
- timezone: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
57
- zip_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
58
- continent: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
59
- elevation: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
60
- longitude: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
61
- mobile_mcc: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
62
- mobile_mnc: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
63
- usage_type: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
64
- country_code: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
65
- country_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
66
- mobile_brand: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
67
- is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
46
+ user_order_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ ip_geolocation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
48
+ ip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
+ is_proxy: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
53
+ isp_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
+ latitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
55
+ netspeed: z.ZodOptional<z.ZodNullable<z.ZodString>>;
56
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ zip_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
+ continent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ elevation: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
60
+ longitude: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
61
+ mobile_mcc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ mobile_mnc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ usage_type: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
64
+ country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ country_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
66
+ mobile_brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
+ is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
68
68
  }, z.core.$strip>>>;
69
- billing_address: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
70
- distance_in_km: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
71
- distance_in_mile: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
72
- is_ip_country_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
69
+ billing_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
70
+ distance_in_km: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
71
+ distance_in_mile: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
72
+ is_ip_country_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
73
73
  }, z.core.$strip>>>;
74
- fraudlabspro_id: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
75
- shipping_address: z.ZodPreprocess<z.ZodOptional<z.ZodObject<{
76
- is_in_blacklist: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
77
- is_bill_city_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
78
- is_bill_state_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
79
- is_bill_country_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
80
- is_bill_postcode_match: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
81
- is_address_ship_forward: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
82
- is_export_controlled_country: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>>;
74
+ fraudlabspro_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ shipping_address: z.ZodOptional<z.ZodNullable<z.ZodObject<{
76
+ is_in_blacklist: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
77
+ is_bill_city_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
78
+ is_bill_state_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
79
+ is_bill_country_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
80
+ is_bill_postcode_match: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
81
+ is_address_ship_forward: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
82
+ is_export_controlled_country: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
83
83
  }, z.core.$strip>>>;
84
- fraudlabspro_rules: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodString>>>;
85
- fraudlabspro_score: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
86
- fraudlabspro_status: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
84
+ fraudlabspro_rules: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
85
+ fraudlabspro_score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
86
+ fraudlabspro_status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
87
  }, z.core.$strip>;
88
88
  declare const fraudlabsProGetOrderResult2: import("@keystrokehq/action").WorkflowActionDefinition<{
89
89
  id?: string | undefined;
90
90
  key?: string | undefined;
91
91
  format?: "json" | "xml" | undefined;
92
92
  id_type?: "FraudLabsPro::ID" | "FraudLabsPro::UserOrderID" | undefined;
93
- }, {
94
- device?: {
95
- is_in_blacklist?: boolean | undefined;
96
- is_malware_exploit?: boolean | undefined;
97
- } | undefined;
98
- username?: {
99
- is_high_risk?: boolean | undefined;
100
- is_in_blacklist?: boolean | undefined;
101
- } | undefined;
102
- credit_card?: {
103
- card_type?: string | undefined;
104
- card_brand?: string | undefined;
105
- is_prepaid?: boolean | undefined;
106
- is_bin_exist?: boolean | undefined;
107
- is_in_blacklist?: boolean | undefined;
108
- card_issuing_bank?: string | undefined;
109
- card_issuing_country?: string | undefined;
110
- is_bin_country_match?: boolean | undefined;
111
- } | undefined;
112
- phone_number?: {
113
- is_disposable?: boolean | undefined;
114
- is_in_blacklist?: boolean | undefined;
115
- } | undefined;
116
- email_address?: {
117
- is_free?: boolean | undefined;
118
- is_disposable?: boolean | undefined;
119
- is_in_blacklist?: boolean | undefined;
120
- is_domain_exists?: boolean | undefined;
121
- is_new_domain_name?: boolean | undefined;
122
- } | undefined;
123
- user_order_id?: string | undefined;
124
- ip_geolocation?: {
125
- ip?: string | undefined;
126
- city?: string | undefined;
127
- domain?: string | undefined;
128
- region?: string | undefined;
129
- is_proxy?: boolean | undefined;
130
- isp_name?: string | undefined;
131
- latitude?: number | undefined;
132
- netspeed?: string | undefined;
133
- timezone?: string | undefined;
134
- zip_code?: string | undefined;
135
- continent?: string | undefined;
136
- elevation?: number | undefined;
137
- longitude?: number | undefined;
138
- mobile_mcc?: string | undefined;
139
- mobile_mnc?: string | undefined;
140
- usage_type?: string[] | undefined;
141
- country_code?: string | undefined;
142
- country_name?: string | undefined;
143
- mobile_brand?: string | undefined;
144
- is_in_blacklist?: boolean | undefined;
145
- } | undefined;
146
- billing_address?: {
147
- distance_in_km?: number | undefined;
148
- distance_in_mile?: number | undefined;
149
- is_ip_country_match?: boolean | undefined;
150
- } | undefined;
151
- fraudlabspro_id?: string | undefined;
152
- shipping_address?: {
153
- is_in_blacklist?: boolean | undefined;
154
- is_bill_city_match?: boolean | undefined;
155
- is_bill_state_match?: boolean | undefined;
156
- is_bill_country_match?: boolean | undefined;
157
- is_bill_postcode_match?: boolean | undefined;
158
- is_address_ship_forward?: boolean | undefined;
159
- is_export_controlled_country?: boolean | undefined;
160
- } | undefined;
161
- fraudlabspro_rules?: string[] | undefined;
162
- fraudlabspro_score?: number | undefined;
163
- fraudlabspro_status?: string | undefined;
164
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
93
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
165
94
  //#endregion
166
95
  export { fraudlabsProGetOrderResult2 };
167
96
  //# sourceMappingURL=get-order-result2.d.mts.map
@@ -8,69 +8,69 @@ const FraudlabsProGetOrderResult2Input = z.object({
8
8
  id_type: z.enum(["FraudLabsPro::ID", "FraudLabsPro::UserOrderID"]).describe("Type of ID provided in the 'id' parameter. Use FraudLabsPro::ID for FraudLabs Pro transaction IDs or FraudLabsPro::UserOrderID for your order IDs.").optional()
9
9
  });
10
10
  const FraudlabsProGetOrderResult2_DeviceSchema = z.object({
11
- is_in_blacklist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Device is in blacklist").optional()),
12
- is_malware_exploit: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Device has malware/exploit risk").optional())
11
+ is_in_blacklist: z.boolean().describe("Device is in blacklist").nullable().optional(),
12
+ is_malware_exploit: z.boolean().describe("Device has malware/exploit risk").nullable().optional()
13
13
  });
14
14
  const FraudlabsProGetOrderResult2_UsernameSchema = z.object({
15
- is_high_risk: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Username is flagged as high risk").optional()),
16
- is_in_blacklist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Username is in blacklist").optional())
15
+ is_high_risk: z.boolean().describe("Username is flagged as high risk").nullable().optional(),
16
+ is_in_blacklist: z.boolean().describe("Username is in blacklist").nullable().optional()
17
17
  });
18
18
  const FraudlabsProGetOrderResult2_CreditCardSchema = z.object({
19
- card_type: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Credit card type").optional()),
20
- card_brand: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Credit card brand").optional()),
21
- is_prepaid: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the card is prepaid").optional()),
22
- is_bin_exist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the BIN exists").optional()),
23
- is_in_blacklist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Credit card is in blacklist").optional()),
24
- card_issuing_bank: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Issuing bank of the card").optional()),
25
- card_issuing_country: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO-3166 alpha-2 code of issuing country").optional()),
26
- is_bin_country_match: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("BIN country matches card country").optional())
19
+ card_type: z.string().describe("Credit card type").nullable().optional(),
20
+ card_brand: z.string().describe("Credit card brand").nullable().optional(),
21
+ is_prepaid: z.boolean().describe("Whether the card is prepaid").nullable().optional(),
22
+ is_bin_exist: z.boolean().describe("Whether the BIN exists").nullable().optional(),
23
+ is_in_blacklist: z.boolean().describe("Credit card is in blacklist").nullable().optional(),
24
+ card_issuing_bank: z.string().describe("Issuing bank of the card").nullable().optional(),
25
+ card_issuing_country: z.string().describe("ISO-3166 alpha-2 code of issuing country").nullable().optional(),
26
+ is_bin_country_match: z.boolean().describe("BIN country matches card country").nullable().optional()
27
27
  });
28
28
  const FraudlabsProGetOrderResult2_PhoneNumberSchema = z.object({
29
- is_disposable: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Disposable phone number").optional()),
30
- is_in_blacklist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Phone number is in blacklist").optional())
29
+ is_disposable: z.boolean().describe("Disposable phone number").nullable().optional(),
30
+ is_in_blacklist: z.boolean().describe("Phone number is in blacklist").nullable().optional()
31
31
  });
32
32
  const FraudlabsProGetOrderResult2_EmailAddressSchema = z.object({
33
- is_free: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Free email provider").optional()),
34
- is_disposable: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Disposable email provider").optional()),
35
- is_in_blacklist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Email domain is in blacklist").optional()),
36
- is_domain_exists: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Email domain exists").optional()),
37
- is_new_domain_name: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Newly registered domain").optional())
33
+ is_free: z.boolean().describe("Free email provider").nullable().optional(),
34
+ is_disposable: z.boolean().describe("Disposable email provider").nullable().optional(),
35
+ is_in_blacklist: z.boolean().describe("Email domain is in blacklist").nullable().optional(),
36
+ is_domain_exists: z.boolean().describe("Email domain exists").nullable().optional(),
37
+ is_new_domain_name: z.boolean().describe("Newly registered domain").nullable().optional()
38
38
  });
39
39
  const FraudlabsProGetOrderResult2_IPGeolocationSchema = z.object({
40
- ip: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Transaction IP address").optional()),
41
- city: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("City").optional()),
42
- domain: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Domain").optional()),
43
- region: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Region").optional()),
44
- is_proxy: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the IP is a proxy").optional()),
45
- isp_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISP name").optional()),
46
- latitude: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("Latitude").optional()),
47
- netspeed: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Network speed").optional()),
48
- timezone: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Timezone").optional()),
49
- zip_code: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ZIP/postal code").optional()),
50
- continent: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Estimated continent").optional()),
51
- elevation: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Elevation").optional()),
52
- longitude: z.preprocess((value) => value === null ? void 0 : value, z.number().describe("Longitude").optional()),
53
- mobile_mcc: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Mobile country code").optional()),
54
- mobile_mnc: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Mobile network code").optional()),
55
- usage_type: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("Usage type").optional()),
56
- country_code: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("ISO-3166 alpha-2 country code").optional()),
57
- country_name: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Country name").optional()),
58
- mobile_brand: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Mobile brand").optional()),
59
- is_in_blacklist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Whether the IP is in blacklist").optional())
40
+ ip: z.string().describe("Transaction IP address").nullable().optional(),
41
+ city: z.string().describe("City").nullable().optional(),
42
+ domain: z.string().describe("Domain").nullable().optional(),
43
+ region: z.string().describe("Region").nullable().optional(),
44
+ is_proxy: z.boolean().describe("Whether the IP is a proxy").nullable().optional(),
45
+ isp_name: z.string().describe("ISP name").nullable().optional(),
46
+ latitude: z.number().describe("Latitude").nullable().optional(),
47
+ netspeed: z.string().describe("Network speed").nullable().optional(),
48
+ timezone: z.string().describe("Timezone").nullable().optional(),
49
+ zip_code: z.string().describe("ZIP/postal code").nullable().optional(),
50
+ continent: z.string().describe("Estimated continent").nullable().optional(),
51
+ elevation: z.number().int().describe("Elevation").nullable().optional(),
52
+ longitude: z.number().describe("Longitude").nullable().optional(),
53
+ mobile_mcc: z.string().describe("Mobile country code").nullable().optional(),
54
+ mobile_mnc: z.string().describe("Mobile network code").nullable().optional(),
55
+ usage_type: z.array(z.string()).describe("Usage type").nullable().optional(),
56
+ country_code: z.string().describe("ISO-3166 alpha-2 country code").nullable().optional(),
57
+ country_name: z.string().describe("Country name").nullable().optional(),
58
+ mobile_brand: z.string().describe("Mobile brand").nullable().optional(),
59
+ is_in_blacklist: z.boolean().describe("Whether the IP is in blacklist").nullable().optional()
60
60
  });
61
61
  const FraudlabsProGetOrderResult2_BillingAddressSchema = z.object({
62
- distance_in_km: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("IP-to-billing distance in kilometers").optional()),
63
- distance_in_mile: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("IP-to-billing distance in miles").optional()),
64
- is_ip_country_match: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("IP country matches billing country").optional())
62
+ distance_in_km: z.number().int().describe("IP-to-billing distance in kilometers").nullable().optional(),
63
+ distance_in_mile: z.number().int().describe("IP-to-billing distance in miles").nullable().optional(),
64
+ is_ip_country_match: z.boolean().describe("IP country matches billing country").nullable().optional()
65
65
  });
66
66
  const FraudlabsProGetOrderResult2_ShippingAddressSchema = z.object({
67
- is_in_blacklist: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Shipping address is in blacklist").optional()),
68
- is_bill_city_match: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Billing city matches shipping city").optional()),
69
- is_bill_state_match: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Billing state matches shipping state").optional()),
70
- is_bill_country_match: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Billing country matches shipping country").optional()),
71
- is_bill_postcode_match: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Billing postcode matches shipping postcode").optional()),
72
- is_address_ship_forward: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Known mail drop/forwarding address").optional()),
73
- is_export_controlled_country: z.preprocess((value) => value === null ? void 0 : value, z.boolean().describe("Order shipping to embargoed country").optional())
67
+ is_in_blacklist: z.boolean().describe("Shipping address is in blacklist").nullable().optional(),
68
+ is_bill_city_match: z.boolean().describe("Billing city matches shipping city").nullable().optional(),
69
+ is_bill_state_match: z.boolean().describe("Billing state matches shipping state").nullable().optional(),
70
+ is_bill_country_match: z.boolean().describe("Billing country matches shipping country").nullable().optional(),
71
+ is_bill_postcode_match: z.boolean().describe("Billing postcode matches shipping postcode").nullable().optional(),
72
+ is_address_ship_forward: z.boolean().describe("Known mail drop/forwarding address").nullable().optional(),
73
+ is_export_controlled_country: z.boolean().describe("Order shipping to embargoed country").nullable().optional()
74
74
  });
75
75
  const fraudlabsProGetOrderResult2 = action("FRAUDLABS_PRO_GET_ORDER_RESULT2", {
76
76
  slug: "fraudlabs_pro-get-order-result2",
@@ -78,19 +78,19 @@ const fraudlabsProGetOrderResult2 = action("FRAUDLABS_PRO_GET_ORDER_RESULT2", {
78
78
  description: "Tool to retrieve an existing transaction from FraudLabs Pro fraud detection system using the v2 API. This API is only available for paid plans.",
79
79
  input: FraudlabsProGetOrderResult2Input,
80
80
  output: z.object({
81
- device: z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_DeviceSchema.optional()),
82
- username: z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_UsernameSchema.optional()),
83
- credit_card: z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_CreditCardSchema.optional()),
84
- phone_number: z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_PhoneNumberSchema.optional()),
85
- email_address: z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_EmailAddressSchema.optional()),
86
- user_order_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Your order identifier").optional()),
87
- ip_geolocation: z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_IPGeolocationSchema.optional()),
88
- billing_address: z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_BillingAddressSchema.optional()),
89
- fraudlabspro_id: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("FraudLabs Pro transaction ID").optional()),
90
- shipping_address: z.preprocess((value) => value === null ? void 0 : value, FraudlabsProGetOrderResult2_ShippingAddressSchema.optional()),
91
- fraudlabspro_rules: z.preprocess((value) => value === null ? void 0 : value, z.array(z.string()).describe("List of rules triggered in screening").optional()),
92
- fraudlabspro_score: z.preprocess((value) => value === null ? void 0 : value, z.number().int().describe("Risk score (1-100; higher is riskier)").optional()),
93
- fraudlabspro_status: z.preprocess((value) => value === null ? void 0 : value, z.string().describe("Final action; APPROVE, REJECT, or REVIEW").optional())
81
+ device: FraudlabsProGetOrderResult2_DeviceSchema.nullable().optional(),
82
+ username: FraudlabsProGetOrderResult2_UsernameSchema.nullable().optional(),
83
+ credit_card: FraudlabsProGetOrderResult2_CreditCardSchema.nullable().optional(),
84
+ phone_number: FraudlabsProGetOrderResult2_PhoneNumberSchema.nullable().optional(),
85
+ email_address: FraudlabsProGetOrderResult2_EmailAddressSchema.nullable().optional(),
86
+ user_order_id: z.string().describe("Your order identifier").nullable().optional(),
87
+ ip_geolocation: FraudlabsProGetOrderResult2_IPGeolocationSchema.nullable().optional(),
88
+ billing_address: FraudlabsProGetOrderResult2_BillingAddressSchema.nullable().optional(),
89
+ fraudlabspro_id: z.string().describe("FraudLabs Pro transaction ID").nullable().optional(),
90
+ shipping_address: FraudlabsProGetOrderResult2_ShippingAddressSchema.nullable().optional(),
91
+ fraudlabspro_rules: z.array(z.string()).describe("List of rules triggered in screening").nullable().optional(),
92
+ fraudlabspro_score: z.number().int().describe("Risk score (1-100; higher is riskier)").nullable().optional(),
93
+ fraudlabspro_status: z.string().describe("Final action; APPROVE, REJECT, or REVIEW").nullable().optional()
94
94
  }).describe("Retrieve the fraud analysis result for a screened order from FraudLabs Pro v2 API.")
95
95
  });
96
96
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"get-order-result2.mjs","names":[],"sources":["../../src/actions/get-order-result2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FraudlabsProGetOrderResult2Input = z.object({\n id: z.string().describe(\"FraudLabs Pro transaction ID (fraudlabspro_id) or your platform's order ID (user_order_id). Required unless retrieving without specific ID.\").optional(),\n key: z.string().describe(\"FraudLabs Pro API key. If not provided, will use key from authentication metadata.\").optional(),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format; json (default) or xml\").optional(),\n id_type: z.enum([\"FraudLabsPro::ID\", \"FraudLabsPro::UserOrderID\"]).describe(\"Type of ID provided in the 'id' parameter. Use FraudLabsPro::ID for FraudLabs Pro transaction IDs or FraudLabsPro::UserOrderID for your order IDs.\").optional(),\n});\nconst FraudlabsProGetOrderResult2_DeviceSchema = z.object({\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Device is in blacklist\").optional()),\n is_malware_exploit: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Device has malware/exploit risk\").optional()),\n});\nconst FraudlabsProGetOrderResult2_UsernameSchema = z.object({\n is_high_risk: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Username is flagged as high risk\").optional()),\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Username is in blacklist\").optional()),\n});\nconst FraudlabsProGetOrderResult2_CreditCardSchema = z.object({\n card_type: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Credit card type\").optional()),\n card_brand: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Credit card brand\").optional()),\n is_prepaid: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the card is prepaid\").optional()),\n is_bin_exist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the BIN exists\").optional()),\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Credit card is in blacklist\").optional()),\n card_issuing_bank: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Issuing bank of the card\").optional()),\n card_issuing_country: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO-3166 alpha-2 code of issuing country\").optional()),\n is_bin_country_match: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"BIN country matches card country\").optional()),\n});\nconst FraudlabsProGetOrderResult2_PhoneNumberSchema = z.object({\n is_disposable: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Disposable phone number\").optional()),\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Phone number is in blacklist\").optional()),\n});\nconst FraudlabsProGetOrderResult2_EmailAddressSchema = z.object({\n is_free: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Free email provider\").optional()),\n is_disposable: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Disposable email provider\").optional()),\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Email domain is in blacklist\").optional()),\n is_domain_exists: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Email domain exists\").optional()),\n is_new_domain_name: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Newly registered domain\").optional()),\n});\nconst FraudlabsProGetOrderResult2_IPGeolocationSchema = z.object({\n ip: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Transaction IP address\").optional()),\n city: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"City\").optional()),\n domain: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Domain\").optional()),\n region: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Region\").optional()),\n is_proxy: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the IP is a proxy\").optional()),\n isp_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISP name\").optional()),\n latitude: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Latitude\").optional()),\n netspeed: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Network speed\").optional()),\n timezone: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Timezone\").optional()),\n zip_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ZIP/postal code\").optional()),\n continent: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Estimated continent\").optional()),\n elevation: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Elevation\").optional()),\n longitude: z.preprocess((value) => (value === null ? undefined : value), z.number().describe(\"Longitude\").optional()),\n mobile_mcc: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Mobile country code\").optional()),\n mobile_mnc: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Mobile network code\").optional()),\n usage_type: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"Usage type\").optional()),\n country_code: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"ISO-3166 alpha-2 country code\").optional()),\n country_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Country name\").optional()),\n mobile_brand: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Mobile brand\").optional()),\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Whether the IP is in blacklist\").optional()),\n});\nconst FraudlabsProGetOrderResult2_BillingAddressSchema = z.object({\n distance_in_km: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"IP-to-billing distance in kilometers\").optional()),\n distance_in_mile: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"IP-to-billing distance in miles\").optional()),\n is_ip_country_match: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"IP country matches billing country\").optional()),\n});\nconst FraudlabsProGetOrderResult2_ShippingAddressSchema = z.object({\n is_in_blacklist: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Shipping address is in blacklist\").optional()),\n is_bill_city_match: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Billing city matches shipping city\").optional()),\n is_bill_state_match: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Billing state matches shipping state\").optional()),\n is_bill_country_match: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Billing country matches shipping country\").optional()),\n is_bill_postcode_match: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Billing postcode matches shipping postcode\").optional()),\n is_address_ship_forward: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Known mail drop/forwarding address\").optional()),\n is_export_controlled_country: z.preprocess((value) => (value === null ? undefined : value), z.boolean().describe(\"Order shipping to embargoed country\").optional()),\n});\nexport const FraudlabsProGetOrderResult2Output = z.object({\n device: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_DeviceSchema.optional()),\n username: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_UsernameSchema.optional()),\n credit_card: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_CreditCardSchema.optional()),\n phone_number: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_PhoneNumberSchema.optional()),\n email_address: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_EmailAddressSchema.optional()),\n user_order_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Your order identifier\").optional()),\n ip_geolocation: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_IPGeolocationSchema.optional()),\n billing_address: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_BillingAddressSchema.optional()),\n fraudlabspro_id: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"FraudLabs Pro transaction ID\").optional()),\n shipping_address: z.preprocess((value) => (value === null ? undefined : value), FraudlabsProGetOrderResult2_ShippingAddressSchema.optional()),\n fraudlabspro_rules: z.preprocess((value) => (value === null ? undefined : value), z.array(z.string()).describe(\"List of rules triggered in screening\").optional()),\n fraudlabspro_score: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Risk score (1-100; higher is riskier)\").optional()),\n fraudlabspro_status: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Final action; APPROVE, REJECT, or REVIEW\").optional()),\n}).describe(\"Retrieve the fraud analysis result for a screened order from FraudLabs Pro v2 API.\");\n\nexport const fraudlabsProGetOrderResult2 = action(\"FRAUDLABS_PRO_GET_ORDER_RESULT2\", {\n slug: \"fraudlabs_pro-get-order-result2\",\n name: \"Get FraudLabs Pro Order Result (v2)\",\n description: \"Tool to retrieve an existing transaction from FraudLabs Pro fraud detection system using the v2 API. This API is only available for paid plans.\",\n input: FraudlabsProGetOrderResult2Input,\n output: FraudlabsProGetOrderResult2Output,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAChL,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACxH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,CAAC,SAAS,CAAC;EAC7I,kBAAkB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,kDAAkD,SAAS,CAAC;EAC5I,oBAAoB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC;EACjK,oBAAoB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC;EAC/J,qBAAqB,EAAE,YAAY,UAAW,UAAU,OAAO,SAAY,OAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC;CAC/J,CAAC,CAAC,CAAC,SAAS,oFAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-order-result2.mjs","names":[],"sources":["../../src/actions/get-order-result2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FraudlabsProGetOrderResult2Input = z.object({\n id: z.string().describe(\"FraudLabs Pro transaction ID (fraudlabspro_id) or your platform's order ID (user_order_id). Required unless retrieving without specific ID.\").optional(),\n key: z.string().describe(\"FraudLabs Pro API key. If not provided, will use key from authentication metadata.\").optional(),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format; json (default) or xml\").optional(),\n id_type: z.enum([\"FraudLabsPro::ID\", \"FraudLabsPro::UserOrderID\"]).describe(\"Type of ID provided in the 'id' parameter. Use FraudLabsPro::ID for FraudLabs Pro transaction IDs or FraudLabsPro::UserOrderID for your order IDs.\").optional(),\n});\nconst FraudlabsProGetOrderResult2_DeviceSchema = z.object({\n is_in_blacklist: z.boolean().describe(\"Device is in blacklist\").nullable().optional(),\n is_malware_exploit: z.boolean().describe(\"Device has malware/exploit risk\").nullable().optional(),\n});\nconst FraudlabsProGetOrderResult2_UsernameSchema = z.object({\n is_high_risk: z.boolean().describe(\"Username is flagged as high risk\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Username is in blacklist\").nullable().optional(),\n});\nconst FraudlabsProGetOrderResult2_CreditCardSchema = z.object({\n card_type: z.string().describe(\"Credit card type\").nullable().optional(),\n card_brand: z.string().describe(\"Credit card brand\").nullable().optional(),\n is_prepaid: z.boolean().describe(\"Whether the card is prepaid\").nullable().optional(),\n is_bin_exist: z.boolean().describe(\"Whether the BIN exists\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Credit card is in blacklist\").nullable().optional(),\n card_issuing_bank: z.string().describe(\"Issuing bank of the card\").nullable().optional(),\n card_issuing_country: z.string().describe(\"ISO-3166 alpha-2 code of issuing country\").nullable().optional(),\n is_bin_country_match: z.boolean().describe(\"BIN country matches card country\").nullable().optional(),\n});\nconst FraudlabsProGetOrderResult2_PhoneNumberSchema = z.object({\n is_disposable: z.boolean().describe(\"Disposable phone number\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Phone number is in blacklist\").nullable().optional(),\n});\nconst FraudlabsProGetOrderResult2_EmailAddressSchema = z.object({\n is_free: z.boolean().describe(\"Free email provider\").nullable().optional(),\n is_disposable: z.boolean().describe(\"Disposable email provider\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Email domain is in blacklist\").nullable().optional(),\n is_domain_exists: z.boolean().describe(\"Email domain exists\").nullable().optional(),\n is_new_domain_name: z.boolean().describe(\"Newly registered domain\").nullable().optional(),\n});\nconst FraudlabsProGetOrderResult2_IPGeolocationSchema = z.object({\n ip: z.string().describe(\"Transaction IP address\").nullable().optional(),\n city: z.string().describe(\"City\").nullable().optional(),\n domain: z.string().describe(\"Domain\").nullable().optional(),\n region: z.string().describe(\"Region\").nullable().optional(),\n is_proxy: z.boolean().describe(\"Whether the IP is a proxy\").nullable().optional(),\n isp_name: z.string().describe(\"ISP name\").nullable().optional(),\n latitude: z.number().describe(\"Latitude\").nullable().optional(),\n netspeed: z.string().describe(\"Network speed\").nullable().optional(),\n timezone: z.string().describe(\"Timezone\").nullable().optional(),\n zip_code: z.string().describe(\"ZIP/postal code\").nullable().optional(),\n continent: z.string().describe(\"Estimated continent\").nullable().optional(),\n elevation: z.number().int().describe(\"Elevation\").nullable().optional(),\n longitude: z.number().describe(\"Longitude\").nullable().optional(),\n mobile_mcc: z.string().describe(\"Mobile country code\").nullable().optional(),\n mobile_mnc: z.string().describe(\"Mobile network code\").nullable().optional(),\n usage_type: z.array(z.string()).describe(\"Usage type\").nullable().optional(),\n country_code: z.string().describe(\"ISO-3166 alpha-2 country code\").nullable().optional(),\n country_name: z.string().describe(\"Country name\").nullable().optional(),\n mobile_brand: z.string().describe(\"Mobile brand\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Whether the IP is in blacklist\").nullable().optional(),\n});\nconst FraudlabsProGetOrderResult2_BillingAddressSchema = z.object({\n distance_in_km: z.number().int().describe(\"IP-to-billing distance in kilometers\").nullable().optional(),\n distance_in_mile: z.number().int().describe(\"IP-to-billing distance in miles\").nullable().optional(),\n is_ip_country_match: z.boolean().describe(\"IP country matches billing country\").nullable().optional(),\n});\nconst FraudlabsProGetOrderResult2_ShippingAddressSchema = z.object({\n is_in_blacklist: z.boolean().describe(\"Shipping address is in blacklist\").nullable().optional(),\n is_bill_city_match: z.boolean().describe(\"Billing city matches shipping city\").nullable().optional(),\n is_bill_state_match: z.boolean().describe(\"Billing state matches shipping state\").nullable().optional(),\n is_bill_country_match: z.boolean().describe(\"Billing country matches shipping country\").nullable().optional(),\n is_bill_postcode_match: z.boolean().describe(\"Billing postcode matches shipping postcode\").nullable().optional(),\n is_address_ship_forward: z.boolean().describe(\"Known mail drop/forwarding address\").nullable().optional(),\n is_export_controlled_country: z.boolean().describe(\"Order shipping to embargoed country\").nullable().optional(),\n});\nexport const FraudlabsProGetOrderResult2Output = z.object({\n device: FraudlabsProGetOrderResult2_DeviceSchema.nullable().optional(),\n username: FraudlabsProGetOrderResult2_UsernameSchema.nullable().optional(),\n credit_card: FraudlabsProGetOrderResult2_CreditCardSchema.nullable().optional(),\n phone_number: FraudlabsProGetOrderResult2_PhoneNumberSchema.nullable().optional(),\n email_address: FraudlabsProGetOrderResult2_EmailAddressSchema.nullable().optional(),\n user_order_id: z.string().describe(\"Your order identifier\").nullable().optional(),\n ip_geolocation: FraudlabsProGetOrderResult2_IPGeolocationSchema.nullable().optional(),\n billing_address: FraudlabsProGetOrderResult2_BillingAddressSchema.nullable().optional(),\n fraudlabspro_id: z.string().describe(\"FraudLabs Pro transaction ID\").nullable().optional(),\n shipping_address: FraudlabsProGetOrderResult2_ShippingAddressSchema.nullable().optional(),\n fraudlabspro_rules: z.array(z.string()).describe(\"List of rules triggered in screening\").nullable().optional(),\n fraudlabspro_score: z.number().int().describe(\"Risk score (1-100; higher is riskier)\").nullable().optional(),\n fraudlabspro_status: z.string().describe(\"Final action; APPROVE, REJECT, or REVIEW\").nullable().optional(),\n}).describe(\"Retrieve the fraud analysis result for a screened order from FraudLabs Pro v2 API.\");\n\nexport const fraudlabsProGetOrderResult2 = action(\"FRAUDLABS_PRO_GET_ORDER_RESULT2\", {\n slug: \"fraudlabs_pro-get-order-result2\",\n name: \"Get FraudLabs Pro Order Result (v2)\",\n description: \"Tool to retrieve an existing transaction from FraudLabs Pro fraud detection system using the v2 API. This API is only available for paid plans.\",\n input: FraudlabsProGetOrderResult2Input,\n output: FraudlabsProGetOrderResult2Output,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CAChL,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACxH,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC5G,SAAS,EAAE,KAAK,CAAC,oBAAo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O;EACxD,QAAQ,yCAAyC,SAAS,CAAC,CAAC,SAAS;EACrE,UAAU,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACzE,aAAa,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC9E,cAAc,8CAA8C,SAAS,CAAC,CAAC,SAAS;EAChF,eAAe,+CAA+C,SAAS,CAAC,CAAC,SAAS;EAClF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,gBAAgB,gDAAgD,SAAS,CAAC,CAAC,SAAS;EACpF,iBAAiB,iDAAiD,SAAS,CAAC,CAAC,SAAS;EACtF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,kBAAkB,kDAAkD,SAAS,CAAC,CAAC,SAAS;EACxF,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,oBAAoB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,oFAOF;AACV,CAAC"}
@@ -21,9 +21,7 @@ declare const fraudlabsProGetSmsVerificationResult: import("@keystrokehq/action"
21
21
  otp: string;
22
22
  tran_id: string;
23
23
  format?: "json" | "xml" | undefined;
24
- }, {
25
- result: "Y" | "N" | null;
26
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
25
  //#endregion
28
26
  export { fraudlabsProGetSmsVerificationResult };
29
27
  //# sourceMappingURL=get-sms-verification-result.d.cts.map
@@ -21,9 +21,7 @@ declare const fraudlabsProGetSmsVerificationResult: import("@keystrokehq/action"
21
21
  otp: string;
22
22
  tran_id: string;
23
23
  format?: "json" | "xml" | undefined;
24
- }, {
25
- result: "Y" | "N" | null;
26
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
25
  //#endregion
28
26
  export { fraudlabsProGetSmsVerificationResult };
29
27
  //# sourceMappingURL=get-sms-verification-result.d.mts.map
@@ -23,10 +23,7 @@ declare const fraudlabsProSendSmsVerification: import("@keystrokehq/action").Wor
23
23
  format?: "json" | "xml" | undefined;
24
24
  otp_timeout?: number | undefined;
25
25
  country_code?: string | undefined;
26
- }, {
27
- tran_id: string | null;
28
- credits_remaining: number | null;
29
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
27
  //#endregion
31
28
  export { fraudlabsProSendSmsVerification };
32
29
  //# sourceMappingURL=send-sms-verification.d.cts.map
@@ -23,10 +23,7 @@ declare const fraudlabsProSendSmsVerification: import("@keystrokehq/action").Wor
23
23
  format?: "json" | "xml" | undefined;
24
24
  otp_timeout?: number | undefined;
25
25
  country_code?: string | undefined;
26
- }, {
27
- tran_id: string | null;
28
- credits_remaining: number | null;
29
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
27
  //#endregion
31
28
  export { fraudlabsProSendSmsVerification };
32
29
  //# sourceMappingURL=send-sms-verification.d.mts.map
@@ -14,10 +14,10 @@ const FraudlabsProSubscribePlanInput = zod.z.object({
14
14
  username: zod.z.string().describe("Username of the account to subscribe.")
15
15
  }).describe("Request parameters for subscribing a reseller account to a plan.");
16
16
  const FraudlabsProSubscribePlanOutput = zod.z.object({
17
- api_key: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("API key issued for the subscribed plan.").optional()),
18
- plan_name: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.string().describe("Name of the subscribed plan.").optional()),
19
- rule_limit: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Maximum number of rules allowed for the plan.").optional()),
20
- query_limit: zod.z.preprocess((value) => value === null ? void 0 : value, zod.z.number().int().describe("Total queries available for the subscribed plan.").optional()),
17
+ api_key: zod.z.string().describe("API key issued for the subscribed plan.").nullable().optional(),
18
+ plan_name: zod.z.string().describe("Name of the subscribed plan.").nullable().optional(),
19
+ rule_limit: zod.z.number().int().describe("Maximum number of rules allowed for the plan.").nullable().optional(),
20
+ query_limit: zod.z.number().int().describe("Total queries available for the subscribed plan.").nullable().optional(),
21
21
  fraudlabspro_error: zod.z.number().int().describe("Error code for this transaction.").nullable(),
22
22
  fraudlabspro_message: zod.z.string().describe("More information about the status of this transaction.").nullable()
23
23
  }).describe("Response schema for subscribing a reseller account to a plan.\n\nNote: On API error responses, only fraudlabspro_error and fraudlabspro_message\nmay be present. Therefore, other fields are optional to allow clients to\ninspect error payloads without the action failing validation.");
@@ -1 +1 @@
1
- {"version":3,"file":"subscribe-plan.cjs","names":["z","action"],"sources":["../../src/actions/subscribe-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FraudlabsProSubscribePlanInput = z.object({\n key: z.string().describe(\"Your Reseller API key.\"),\n plan: z.enum([\"MICRO\", \"SMALL\", \"MEDIUM\", \"LARGE\", \"ENTERPRISE\"]).describe(\"Plan code. Only MICRO plan is currently accepted.\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Valid values: json, xml. Default is json.\").optional(),\n username: z.string().describe(\"Username of the account to subscribe.\"),\n}).describe(\"Request parameters for subscribing a reseller account to a plan.\");\nexport const FraudlabsProSubscribePlanOutput = z.object({\n api_key: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"API key issued for the subscribed plan.\").optional()),\n plan_name: z.preprocess((value) => (value === null ? undefined : value), z.string().describe(\"Name of the subscribed plan.\").optional()),\n rule_limit: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Maximum number of rules allowed for the plan.\").optional()),\n query_limit: z.preprocess((value) => (value === null ? undefined : value), z.number().int().describe(\"Total queries available for the subscribed plan.\").optional()),\n fraudlabspro_error: z.number().int().describe(\"Error code for this transaction.\").nullable(),\n fraudlabspro_message: z.string().describe(\"More information about the status of this transaction.\").nullable(),\n}).describe(\"Response schema for subscribing a reseller account to a plan.\\n\\nNote: On API error responses, only fraudlabspro_error and fraudlabspro_message\\nmay be present. Therefore, other fields are optional to allow clients to\\ninspect error payloads without the action failing validation.\");\n\nexport const fraudlabsProSubscribePlan = action(\"FRAUDLABS_PRO_SUBSCRIBE_PLAN\", {\n slug: \"fraudlabs_pro-subscribe-plan\",\n name: \"Subscribe Reseller Plan\",\n description: \"Tool to subscribe a reseller account to a specific plan. Use after obtaining a reseller API key and selecting a plan. Example: Subscribe user \\\"john_doe\\\" to the MICRO plan.\",\n input: FraudlabsProSubscribePlanInput,\n output: FraudlabsProSubscribePlanOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACjD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;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+ {"version":3,"file":"subscribe-plan.cjs","names":["z","action"],"sources":["../../src/actions/subscribe-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FraudlabsProSubscribePlanInput = z.object({\n key: z.string().describe(\"Your Reseller API key.\"),\n plan: z.enum([\"MICRO\", \"SMALL\", \"MEDIUM\", \"LARGE\", \"ENTERPRISE\"]).describe(\"Plan code. Only MICRO plan is currently accepted.\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Valid values: json, xml. Default is json.\").optional(),\n username: z.string().describe(\"Username of the account to subscribe.\"),\n}).describe(\"Request parameters for subscribing a reseller account to a plan.\");\nexport const FraudlabsProSubscribePlanOutput = z.object({\n api_key: z.string().describe(\"API key issued for the subscribed plan.\").nullable().optional(),\n plan_name: z.string().describe(\"Name of the subscribed plan.\").nullable().optional(),\n rule_limit: z.number().int().describe(\"Maximum number of rules allowed for the plan.\").nullable().optional(),\n query_limit: z.number().int().describe(\"Total queries available for the subscribed plan.\").nullable().optional(),\n fraudlabspro_error: z.number().int().describe(\"Error code for this transaction.\").nullable(),\n fraudlabspro_message: z.string().describe(\"More information about the status of this transaction.\").nullable(),\n}).describe(\"Response schema for subscribing a reseller account to a plan.\\n\\nNote: On API error responses, only fraudlabspro_error and fraudlabspro_message\\nmay be present. Therefore, other fields are optional to allow clients to\\ninspect error payloads without the action failing validation.\");\n\nexport const fraudlabsProSubscribePlan = action(\"FRAUDLABS_PRO_SUBSCRIBE_PLAN\", {\n slug: \"fraudlabs_pro-subscribe-plan\",\n name: \"Subscribe Reseller Plan\",\n description: \"Tool to subscribe a reseller account to a specific plan. Use after obtaining a reseller API key and selecting a plan. Example: Subscribe user \\\"john_doe\\\" to the MICRO plan.\",\n input: FraudlabsProSubscribePlanInput,\n output: FraudlabsProSubscribePlanOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,C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.$strip>;
19
19
  declare const FraudlabsProSubscribePlanOutput: z.ZodObject<{
20
- api_key: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
21
- plan_name: z.ZodPreprocess<z.ZodOptional<z.ZodString>>;
22
- rule_limit: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
23
- query_limit: z.ZodPreprocess<z.ZodOptional<z.ZodNumber>>;
20
+ api_key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ plan_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ rule_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ query_limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  fraudlabspro_error: z.ZodNullable<z.ZodNumber>;
25
25
  fraudlabspro_message: z.ZodNullable<z.ZodString>;
26
26
  }, z.core.$strip>;
@@ -29,14 +29,7 @@ declare const fraudlabsProSubscribePlan: import("@keystrokehq/action").WorkflowA
29
29
  plan: "MICRO" | "SMALL" | "MEDIUM" | "LARGE" | "ENTERPRISE";
30
30
  username: string;
31
31
  format?: "json" | "xml" | undefined;
32
- }, {
33
- fraudlabspro_error: number | null;
34
- fraudlabspro_message: string | null;
35
- api_key?: string | undefined;
36
- plan_name?: string | undefined;
37
- rule_limit?: number | undefined;
38
- query_limit?: number | undefined;
39
- }, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
40
33
  //#endregion
41
34
  export { fraudlabsProSubscribePlan };
42
35
  //# sourceMappingURL=subscribe-plan.d.cts.map