@keystrokehq/fraudlabs_pro 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-account.cjs +1 -0
- package/dist/actions/create-account.cjs.map +1 -1
- package/dist/actions/create-account.d.cts +3 -29
- package/dist/actions/create-account.d.cts.map +1 -1
- package/dist/actions/create-account.d.mts +3 -29
- package/dist/actions/create-account.d.mts.map +1 -1
- package/dist/actions/create-account.mjs +1 -0
- package/dist/actions/create-account.mjs.map +1 -1
- package/dist/actions/flp-feedback-order.cjs +1 -0
- package/dist/actions/flp-feedback-order.cjs.map +1 -1
- package/dist/actions/flp-feedback-order.d.cts +3 -19
- package/dist/actions/flp-feedback-order.d.cts.map +1 -1
- package/dist/actions/flp-feedback-order.d.mts +3 -19
- package/dist/actions/flp-feedback-order.d.mts.map +1 -1
- package/dist/actions/flp-feedback-order.mjs +1 -0
- package/dist/actions/flp-feedback-order.mjs.map +1 -1
- package/dist/actions/flp-screen-order.cjs +1 -0
- package/dist/actions/flp-screen-order.cjs.map +1 -1
- package/dist/actions/flp-screen-order.d.cts +3 -47
- package/dist/actions/flp-screen-order.d.cts.map +1 -1
- package/dist/actions/flp-screen-order.d.mts +3 -47
- package/dist/actions/flp-screen-order.d.mts.map +1 -1
- package/dist/actions/flp-screen-order.mjs +1 -0
- package/dist/actions/flp-screen-order.mjs.map +1 -1
- package/dist/actions/get-order-result2.cjs +1 -0
- package/dist/actions/get-order-result2.cjs.map +1 -1
- package/dist/actions/get-order-result2.d.cts +3 -18
- package/dist/actions/get-order-result2.d.cts.map +1 -1
- package/dist/actions/get-order-result2.d.mts +3 -18
- package/dist/actions/get-order-result2.d.mts.map +1 -1
- package/dist/actions/get-order-result2.mjs +1 -0
- package/dist/actions/get-order-result2.mjs.map +1 -1
- package/dist/actions/get-sms-verification-result.cjs +1 -0
- package/dist/actions/get-sms-verification-result.cjs.map +1 -1
- package/dist/actions/get-sms-verification-result.d.cts +3 -18
- package/dist/actions/get-sms-verification-result.d.cts.map +1 -1
- package/dist/actions/get-sms-verification-result.d.mts +3 -18
- package/dist/actions/get-sms-verification-result.d.mts.map +1 -1
- package/dist/actions/get-sms-verification-result.mjs +1 -0
- package/dist/actions/get-sms-verification-result.mjs.map +1 -1
- package/dist/actions/send-sms-verification.cjs +1 -0
- package/dist/actions/send-sms-verification.cjs.map +1 -1
- package/dist/actions/send-sms-verification.d.cts +3 -20
- package/dist/actions/send-sms-verification.d.cts.map +1 -1
- package/dist/actions/send-sms-verification.d.mts +3 -20
- package/dist/actions/send-sms-verification.d.mts.map +1 -1
- package/dist/actions/send-sms-verification.mjs +1 -0
- package/dist/actions/send-sms-verification.mjs.map +1 -1
- package/dist/actions/subscribe-plan.cjs +1 -0
- package/dist/actions/subscribe-plan.cjs.map +1 -1
- package/dist/actions/subscribe-plan.d.cts +3 -18
- package/dist/actions/subscribe-plan.d.cts.map +1 -1
- package/dist/actions/subscribe-plan.d.mts +3 -18
- package/dist/actions/subscribe-plan.d.mts.map +1 -1
- package/dist/actions/subscribe-plan.mjs +1 -0
- package/dist/actions/subscribe-plan.mjs.map +1 -1
- package/dist/actions/webhook-order-status-changed.cjs +1 -0
- package/dist/actions/webhook-order-status-changed.cjs.map +1 -1
- package/dist/actions/webhook-order-status-changed.d.cts +4 -20
- package/dist/actions/webhook-order-status-changed.d.cts.map +1 -1
- package/dist/actions/webhook-order-status-changed.d.mts +4 -20
- package/dist/actions/webhook-order-status-changed.d.mts.map +1 -1
- package/dist/actions/webhook-order-status-changed.mjs +1 -0
- package/dist/actions/webhook-order-status-changed.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["fraudlabsPro","executeFraudlabsProTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { fraudlabsPro } from \"./app\";\nimport { executeFraudlabsProTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["fraudlabsPro","executeFraudlabsProTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { fraudlabsPro } from \"./app\";\nimport { executeFraudlabsProTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof fraudlabsPro.credential> {\n return fraudlabsPro.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeFraudlabsProTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO4D;CAC5D,OAAOA,YAAAA,aAAa,OAAO;EACzB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,wBAAwB,MAAM,KAAgC,CAAC;EAC/F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { fraudlabsPro } from \"./app\";\nimport { executeFraudlabsProTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { fraudlabsPro } from \"./app\";\nimport { executeFraudlabsProTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof fraudlabsPro.credential> {\n return fraudlabsPro.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeFraudlabsProTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAO4D;CAC5D,OAAO,aAAa,OAAO;EACzB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,wBAAwB,MAAM,KAAgC,CAAC;EAC/F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-account.cjs","names":["z","action"],"sources":["../../src/actions/create-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FraudlabsProCreateAccountInput = z.object({\n fax: z.string().describe(\"Fax number (digits only, no special characters). Optional.\").optional(),\n key: z.string().describe(\"FraudLabs Pro Reseller API key (different from regular API key). Required for account creation. Apply at https://www.fraudlabspro.com/reseller/program\"),\n city: z.string().describe(\"City name for the billing address\"),\n name: z.string().describe(\"Full name of the account holder (first and last name)\"),\n email: z.string().describe(\"Email address for the new account. Used for login and communications.\"),\n phone: z.string().describe(\"Contact phone number (digits only, no special characters or spaces)\"),\n state: z.string().describe(\"State or province name/code for the billing address\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format (json or xml). Defaults to json for structured data.\").optional(),\n company: z.string().describe(\"Company or organization name for the account\"),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code (2-letter code). See https://www.fraudlabspro.com/developer/reference/country-codes\"),\n address1: z.string().describe(\"Primary street address (building number and street name)\"),\n address2: z.string().describe(\"Secondary address line (apartment, suite, unit, floor, etc.). Optional.\").optional(),\n industry: z.string().describe(\"Industry classification ID (1-14). Options: 1=Retail(e-Commerce), 2=Retail(Brick&Mortar), 3=Hospitality, 4=Ticketing, 5=Clubs, 6=Memberships, 7=Digital Content, 8=Online Games, 9=Software, 10=Telecom, 11=Travel, 12=Non-Profit, 13=Services, 14=High Risk\"),\n username: z.string().describe(\"Desired username for the new FraudLabs Pro account. Must be unique across all accounts.\"),\n zip_code: z.string().describe(\"Postal code or ZIP code for the billing address\"),\n});\nexport const FraudlabsProCreateAccountOutput = z.object({\n fax: z.string().describe(\"Fax number if provided. Present only on successful account creation.\").nullable().optional(),\n city: z.string().describe(\"City name. Present only on successful account creation.\").nullable().optional(),\n name: z.string().describe(\"Full name of the account holder. Present only on successful account creation.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the new account. Present only on successful account creation.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number. Present only on successful account creation.\").nullable().optional(),\n state: z.string().describe(\"State or province. Present only on successful account creation.\").nullable().optional(),\n company: z.string().describe(\"Company name. Present only on successful account creation.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code. Present only on successful account creation.\").nullable().optional(),\n address1: z.string().describe(\"Primary street address. Present only on successful account creation.\").nullable().optional(),\n address2: z.string().describe(\"Secondary address line (suite, apt, etc.). Present only on successful account creation if provided.\").nullable().optional(),\n password: z.string().describe(\"Auto-generated password for the newly created account. Store securely and provide to the user. Present only on successful account creation.\").nullable().optional(),\n username: z.string().describe(\"Username for the newly created account. Present only on successful account creation.\").nullable().optional(),\n zip_code: z.string().describe(\"Postal/ZIP code. Present only on successful account creation.\").nullable().optional(),\n fraudlabspro_message: z.string().describe(\"Human-readable status message describing the result or error from the API\").nullable(),\n fraudlabspro_error_code: z.string().describe(\"API error code: '0' indicates success, other codes indicate errors (e.g., '101' for invalid API key, '410' for invalid phone number). See https://www.fraudlabspro.com/developer/reference/error-codes\").nullable(),\n}).passthrough();\n\nexport const fraudlabsProCreateAccount = action(\"FRAUDLABS_PRO_CREATE_ACCOUNT\", {\n slug: \"fraudlabs_pro-create-account\",\n name: \"Create FraudLabs Pro Reseller Sub-Account\",\n description: \"Creates a new FraudLabs Pro user account under a reseller account. Requires a Reseller API key (not a regular API key). Use this action to provision new sub-accounts for customers when operating as a FraudLabs Pro reseller. Returns account credentials (username and password) upon successful creation. Prerequisites: - Must have a FraudLabs Pro Reseller account (apply at https://www.fraudlabspro.com/reseller/program) - Requires valid Reseller API key (different from standard FraudLabs Pro API key) - All required fields must contain valid data matching FraudLabs Pro validation rules Important: - Phone numbers should contain only digits (no +, -, spaces, or parentheses) - Country must be valid ISO 3166-1 alpha-2 code (e.g., US, GB, CA) - Industry must be a valid ID from 1-14\",\n input: FraudlabsProCreateAccountInput,\n output: FraudlabsProCreateAccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-account.cjs","names":["z","action"],"sources":["../../src/actions/create-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { fraudlabsPro } from \"../app\";\n\nexport const FraudlabsProCreateAccountInput = z.object({\n fax: z.string().describe(\"Fax number (digits only, no special characters). Optional.\").optional(),\n key: z.string().describe(\"FraudLabs Pro Reseller API key (different from regular API key). Required for account creation. Apply at https://www.fraudlabspro.com/reseller/program\"),\n city: z.string().describe(\"City name for the billing address\"),\n name: z.string().describe(\"Full name of the account holder (first and last name)\"),\n email: z.string().describe(\"Email address for the new account. Used for login and communications.\"),\n phone: z.string().describe(\"Contact phone number (digits only, no special characters or spaces)\"),\n state: z.string().describe(\"State or province name/code for the billing address\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format (json or xml). Defaults to json for structured data.\").optional(),\n company: z.string().describe(\"Company or organization name for the account\"),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code (2-letter code). See https://www.fraudlabspro.com/developer/reference/country-codes\"),\n address1: z.string().describe(\"Primary street address (building number and street name)\"),\n address2: z.string().describe(\"Secondary address line (apartment, suite, unit, floor, etc.). Optional.\").optional(),\n industry: z.string().describe(\"Industry classification ID (1-14). Options: 1=Retail(e-Commerce), 2=Retail(Brick&Mortar), 3=Hospitality, 4=Ticketing, 5=Clubs, 6=Memberships, 7=Digital Content, 8=Online Games, 9=Software, 10=Telecom, 11=Travel, 12=Non-Profit, 13=Services, 14=High Risk\"),\n username: z.string().describe(\"Desired username for the new FraudLabs Pro account. Must be unique across all accounts.\"),\n zip_code: z.string().describe(\"Postal code or ZIP code for the billing address\"),\n});\nexport const FraudlabsProCreateAccountOutput = z.object({\n fax: z.string().describe(\"Fax number if provided. Present only on successful account creation.\").nullable().optional(),\n city: z.string().describe(\"City name. Present only on successful account creation.\").nullable().optional(),\n name: z.string().describe(\"Full name of the account holder. Present only on successful account creation.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the new account. Present only on successful account creation.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number. Present only on successful account creation.\").nullable().optional(),\n state: z.string().describe(\"State or province. Present only on successful account creation.\").nullable().optional(),\n company: z.string().describe(\"Company name. Present only on successful account creation.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code. Present only on successful account creation.\").nullable().optional(),\n address1: z.string().describe(\"Primary street address. Present only on successful account creation.\").nullable().optional(),\n address2: z.string().describe(\"Secondary address line (suite, apt, etc.). Present only on successful account creation if provided.\").nullable().optional(),\n password: z.string().describe(\"Auto-generated password for the newly created account. Store securely and provide to the user. Present only on successful account creation.\").nullable().optional(),\n username: z.string().describe(\"Username for the newly created account. Present only on successful account creation.\").nullable().optional(),\n zip_code: z.string().describe(\"Postal/ZIP code. Present only on successful account creation.\").nullable().optional(),\n fraudlabspro_message: z.string().describe(\"Human-readable status message describing the result or error from the API\").nullable(),\n fraudlabspro_error_code: z.string().describe(\"API error code: '0' indicates success, other codes indicate errors (e.g., '101' for invalid API key, '410' for invalid phone number). See https://www.fraudlabspro.com/developer/reference/error-codes\").nullable(),\n}).passthrough();\n\nexport const fraudlabsProCreateAccount: AppAction<\n typeof FraudlabsProCreateAccountInput,\n typeof FraudlabsProCreateAccountOutput,\n typeof fraudlabsPro.credential\n> = action(\"FRAUDLABS_PRO_CREATE_ACCOUNT\", {\n slug: \"fraudlabs_pro-create-account\",\n name: \"Create FraudLabs Pro Reseller Sub-Account\",\n description: \"Creates a new FraudLabs Pro user account under a reseller account. Requires a Reseller API key (not a regular API key). Use this action to provision new sub-accounts for customers when operating as a FraudLabs Pro reseller. Returns account credentials (username and password) upon successful creation. Prerequisites: - Must have a FraudLabs Pro Reseller account (apply at https://www.fraudlabspro.com/reseller/program) - Requires valid Reseller API key (different from standard FraudLabs Pro API key) - All required fields must contain valid data matching FraudLabs Pro validation rules Important: - Phone numbers should contain only digits (no +, -, spaces, or parentheses) - Country must be valid ISO 3166-1 alpha-2 code (e.g., US, GB, CA) - Industry must be a valid ID from 1-14\",\n input: FraudlabsProCreateAccountInput,\n output: FraudlabsProCreateAccountOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAK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;AAEf,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { fraudlabsPro } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-account.d.ts
|
|
@@ -38,35 +40,7 @@ declare const FraudlabsProCreateAccountOutput: z.ZodObject<{
|
|
|
38
40
|
fraudlabspro_message: z.ZodNullable<z.ZodString>;
|
|
39
41
|
fraudlabspro_error_code: z.ZodNullable<z.ZodString>;
|
|
40
42
|
}, z.core.$loose>;
|
|
41
|
-
declare const fraudlabsProCreateAccount:
|
|
42
|
-
key: string;
|
|
43
|
-
city: string;
|
|
44
|
-
name: string;
|
|
45
|
-
email: string;
|
|
46
|
-
phone: string;
|
|
47
|
-
state: string;
|
|
48
|
-
company: string;
|
|
49
|
-
country: string;
|
|
50
|
-
address1: string;
|
|
51
|
-
industry: string;
|
|
52
|
-
username: string;
|
|
53
|
-
zip_code: string;
|
|
54
|
-
fax?: string | undefined;
|
|
55
|
-
format?: "json" | "xml" | undefined;
|
|
56
|
-
address2?: string | undefined;
|
|
57
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"fraudlabs_pro", z.ZodObject<{
|
|
58
|
-
connectionId: z.ZodString;
|
|
59
|
-
entityId: z.ZodString;
|
|
60
|
-
instanceId: z.ZodString;
|
|
61
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
-
generic_key: z.ZodString;
|
|
63
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"fraudlabs_pro", z.ZodObject<{
|
|
64
|
-
connectionId: z.ZodString;
|
|
65
|
-
entityId: z.ZodString;
|
|
66
|
-
instanceId: z.ZodString;
|
|
67
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
-
generic_key: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>]>;
|
|
43
|
+
declare const fraudlabsProCreateAccount: AppAction<typeof FraudlabsProCreateAccountInput, typeof FraudlabsProCreateAccountOutput, typeof fraudlabsPro.credential>;
|
|
70
44
|
//#endregion
|
|
71
45
|
export { fraudlabsProCreateAccount };
|
|
72
46
|
//# sourceMappingURL=create-account.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-account.d.cts","names":[],"sources":["../../src/actions/create-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-account.d.cts","names":[],"sources":["../../src/actions/create-account.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkB/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { fraudlabsPro } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-account.d.ts
|
|
@@ -38,35 +40,7 @@ declare const FraudlabsProCreateAccountOutput: z.ZodObject<{
|
|
|
38
40
|
fraudlabspro_message: z.ZodNullable<z.ZodString>;
|
|
39
41
|
fraudlabspro_error_code: z.ZodNullable<z.ZodString>;
|
|
40
42
|
}, z.core.$loose>;
|
|
41
|
-
declare const fraudlabsProCreateAccount:
|
|
42
|
-
key: string;
|
|
43
|
-
city: string;
|
|
44
|
-
name: string;
|
|
45
|
-
email: string;
|
|
46
|
-
phone: string;
|
|
47
|
-
state: string;
|
|
48
|
-
company: string;
|
|
49
|
-
country: string;
|
|
50
|
-
address1: string;
|
|
51
|
-
industry: string;
|
|
52
|
-
username: string;
|
|
53
|
-
zip_code: string;
|
|
54
|
-
fax?: string | undefined;
|
|
55
|
-
format?: "json" | "xml" | undefined;
|
|
56
|
-
address2?: string | undefined;
|
|
57
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"fraudlabs_pro", z.ZodObject<{
|
|
58
|
-
connectionId: z.ZodString;
|
|
59
|
-
entityId: z.ZodString;
|
|
60
|
-
instanceId: z.ZodString;
|
|
61
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
62
|
-
generic_key: z.ZodString;
|
|
63
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"fraudlabs_pro", z.ZodObject<{
|
|
64
|
-
connectionId: z.ZodString;
|
|
65
|
-
entityId: z.ZodString;
|
|
66
|
-
instanceId: z.ZodString;
|
|
67
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
68
|
-
generic_key: z.ZodString;
|
|
69
|
-
}, z.core.$strip>>]>;
|
|
43
|
+
declare const fraudlabsProCreateAccount: AppAction<typeof FraudlabsProCreateAccountInput, typeof FraudlabsProCreateAccountOutput, typeof fraudlabsPro.credential>;
|
|
70
44
|
//#endregion
|
|
71
45
|
export { fraudlabsProCreateAccount };
|
|
72
46
|
//# sourceMappingURL=create-account.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-account.d.mts","names":[],"sources":["../../src/actions/create-account.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-account.d.mts","names":[],"sources":["../../src/actions/create-account.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAkB/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-account.mjs","names":[],"sources":["../../src/actions/create-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FraudlabsProCreateAccountInput = z.object({\n fax: z.string().describe(\"Fax number (digits only, no special characters). Optional.\").optional(),\n key: z.string().describe(\"FraudLabs Pro Reseller API key (different from regular API key). Required for account creation. Apply at https://www.fraudlabspro.com/reseller/program\"),\n city: z.string().describe(\"City name for the billing address\"),\n name: z.string().describe(\"Full name of the account holder (first and last name)\"),\n email: z.string().describe(\"Email address for the new account. Used for login and communications.\"),\n phone: z.string().describe(\"Contact phone number (digits only, no special characters or spaces)\"),\n state: z.string().describe(\"State or province name/code for the billing address\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format (json or xml). Defaults to json for structured data.\").optional(),\n company: z.string().describe(\"Company or organization name for the account\"),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code (2-letter code). See https://www.fraudlabspro.com/developer/reference/country-codes\"),\n address1: z.string().describe(\"Primary street address (building number and street name)\"),\n address2: z.string().describe(\"Secondary address line (apartment, suite, unit, floor, etc.). Optional.\").optional(),\n industry: z.string().describe(\"Industry classification ID (1-14). Options: 1=Retail(e-Commerce), 2=Retail(Brick&Mortar), 3=Hospitality, 4=Ticketing, 5=Clubs, 6=Memberships, 7=Digital Content, 8=Online Games, 9=Software, 10=Telecom, 11=Travel, 12=Non-Profit, 13=Services, 14=High Risk\"),\n username: z.string().describe(\"Desired username for the new FraudLabs Pro account. Must be unique across all accounts.\"),\n zip_code: z.string().describe(\"Postal code or ZIP code for the billing address\"),\n});\nexport const FraudlabsProCreateAccountOutput = z.object({\n fax: z.string().describe(\"Fax number if provided. Present only on successful account creation.\").nullable().optional(),\n city: z.string().describe(\"City name. Present only on successful account creation.\").nullable().optional(),\n name: z.string().describe(\"Full name of the account holder. Present only on successful account creation.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the new account. Present only on successful account creation.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number. Present only on successful account creation.\").nullable().optional(),\n state: z.string().describe(\"State or province. Present only on successful account creation.\").nullable().optional(),\n company: z.string().describe(\"Company name. Present only on successful account creation.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code. Present only on successful account creation.\").nullable().optional(),\n address1: z.string().describe(\"Primary street address. Present only on successful account creation.\").nullable().optional(),\n address2: z.string().describe(\"Secondary address line (suite, apt, etc.). Present only on successful account creation if provided.\").nullable().optional(),\n password: z.string().describe(\"Auto-generated password for the newly created account. Store securely and provide to the user. Present only on successful account creation.\").nullable().optional(),\n username: z.string().describe(\"Username for the newly created account. Present only on successful account creation.\").nullable().optional(),\n zip_code: z.string().describe(\"Postal/ZIP code. Present only on successful account creation.\").nullable().optional(),\n fraudlabspro_message: z.string().describe(\"Human-readable status message describing the result or error from the API\").nullable(),\n fraudlabspro_error_code: z.string().describe(\"API error code: '0' indicates success, other codes indicate errors (e.g., '101' for invalid API key, '410' for invalid phone number). See https://www.fraudlabspro.com/developer/reference/error-codes\").nullable(),\n}).passthrough();\n\nexport const fraudlabsProCreateAccount = action(\"FRAUDLABS_PRO_CREATE_ACCOUNT\", {\n slug: \"fraudlabs_pro-create-account\",\n name: \"Create FraudLabs Pro Reseller Sub-Account\",\n description: \"Creates a new FraudLabs Pro user account under a reseller account. Requires a Reseller API key (not a regular API key). Use this action to provision new sub-accounts for customers when operating as a FraudLabs Pro reseller. Returns account credentials (username and password) upon successful creation. Prerequisites: - Must have a FraudLabs Pro Reseller account (apply at https://www.fraudlabspro.com/reseller/program) - Requires valid Reseller API key (different from standard FraudLabs Pro API key) - All required fields must contain valid data matching FraudLabs Pro validation rules Important: - Phone numbers should contain only digits (no +, -, spaces, or parentheses) - Country must be valid ISO 3166-1 alpha-2 code (e.g., US, GB, CA) - Industry must be a valid ID from 1-14\",\n input: FraudlabsProCreateAccountInput,\n output: FraudlabsProCreateAccountOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-account.mjs","names":[],"sources":["../../src/actions/create-account.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { fraudlabsPro } from \"../app\";\n\nexport const FraudlabsProCreateAccountInput = z.object({\n fax: z.string().describe(\"Fax number (digits only, no special characters). Optional.\").optional(),\n key: z.string().describe(\"FraudLabs Pro Reseller API key (different from regular API key). Required for account creation. Apply at https://www.fraudlabspro.com/reseller/program\"),\n city: z.string().describe(\"City name for the billing address\"),\n name: z.string().describe(\"Full name of the account holder (first and last name)\"),\n email: z.string().describe(\"Email address for the new account. Used for login and communications.\"),\n phone: z.string().describe(\"Contact phone number (digits only, no special characters or spaces)\"),\n state: z.string().describe(\"State or province name/code for the billing address\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format (json or xml). Defaults to json for structured data.\").optional(),\n company: z.string().describe(\"Company or organization name for the account\"),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code (2-letter code). See https://www.fraudlabspro.com/developer/reference/country-codes\"),\n address1: z.string().describe(\"Primary street address (building number and street name)\"),\n address2: z.string().describe(\"Secondary address line (apartment, suite, unit, floor, etc.). Optional.\").optional(),\n industry: z.string().describe(\"Industry classification ID (1-14). Options: 1=Retail(e-Commerce), 2=Retail(Brick&Mortar), 3=Hospitality, 4=Ticketing, 5=Clubs, 6=Memberships, 7=Digital Content, 8=Online Games, 9=Software, 10=Telecom, 11=Travel, 12=Non-Profit, 13=Services, 14=High Risk\"),\n username: z.string().describe(\"Desired username for the new FraudLabs Pro account. Must be unique across all accounts.\"),\n zip_code: z.string().describe(\"Postal code or ZIP code for the billing address\"),\n});\nexport const FraudlabsProCreateAccountOutput = z.object({\n fax: z.string().describe(\"Fax number if provided. Present only on successful account creation.\").nullable().optional(),\n city: z.string().describe(\"City name. Present only on successful account creation.\").nullable().optional(),\n name: z.string().describe(\"Full name of the account holder. Present only on successful account creation.\").nullable().optional(),\n email: z.string().describe(\"Email address associated with the new account. Present only on successful account creation.\").nullable().optional(),\n phone: z.string().describe(\"Contact phone number. Present only on successful account creation.\").nullable().optional(),\n state: z.string().describe(\"State or province. Present only on successful account creation.\").nullable().optional(),\n company: z.string().describe(\"Company name. Present only on successful account creation.\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code. Present only on successful account creation.\").nullable().optional(),\n address1: z.string().describe(\"Primary street address. Present only on successful account creation.\").nullable().optional(),\n address2: z.string().describe(\"Secondary address line (suite, apt, etc.). Present only on successful account creation if provided.\").nullable().optional(),\n password: z.string().describe(\"Auto-generated password for the newly created account. Store securely and provide to the user. Present only on successful account creation.\").nullable().optional(),\n username: z.string().describe(\"Username for the newly created account. Present only on successful account creation.\").nullable().optional(),\n zip_code: z.string().describe(\"Postal/ZIP code. Present only on successful account creation.\").nullable().optional(),\n fraudlabspro_message: z.string().describe(\"Human-readable status message describing the result or error from the API\").nullable(),\n fraudlabspro_error_code: z.string().describe(\"API error code: '0' indicates success, other codes indicate errors (e.g., '101' for invalid API key, '410' for invalid phone number). See https://www.fraudlabspro.com/developer/reference/error-codes\").nullable(),\n}).passthrough();\n\nexport const fraudlabsProCreateAccount: AppAction<\n typeof FraudlabsProCreateAccountInput,\n typeof FraudlabsProCreateAccountOutput,\n typeof fraudlabsPro.credential\n> = action(\"FRAUDLABS_PRO_CREATE_ACCOUNT\", {\n slug: \"fraudlabs_pro-create-account\",\n name: \"Create FraudLabs Pro Reseller Sub-Account\",\n description: \"Creates a new FraudLabs Pro user account under a reseller account. Requires a Reseller API key (not a regular API key). Use this action to provision new sub-accounts for customers when operating as a FraudLabs Pro reseller. Returns account credentials (username and password) upon successful creation. Prerequisites: - Must have a FraudLabs Pro Reseller account (apply at https://www.fraudlabspro.com/reseller/program) - Requires valid Reseller API key (different from standard FraudLabs Pro API key) - All required fields must contain valid data matching FraudLabs Pro validation rules Important: - Phone numbers should contain only digits (no +, -, spaces, or parentheses) - Country must be valid ISO 3166-1 alpha-2 code (e.g., US, GB, CA) -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-order.cjs","names":["z","action"],"sources":["../../src/actions/flp-feedback-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FraudlabsProFlpFeedbackOrderInput = z.object({\n id: z.string().describe(\"The fraudlabspro_id returned from a Screen Order API call. This identifies which transaction to provide feedback for.\"),\n key: z.string().describe(\"Your FraudLabs Pro API license key.\"),\n note: z.string().describe(\"Optional internal note explaining the reason for this feedback decision (e.g., 'Customer verified by phone', 'Known fraudster pattern').\").optional(),\n action: z.enum([\"APPROVE\", \"REJECT\", \"REJECT_BLACKLIST\"]).describe(\"Feedback action: APPROVE (legitimate transaction), REJECT (fraudulent), or REJECT_BLACKLIST (fraudulent and add to permanent blacklist for enhanced future detection).\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Defaults to 'json'.\").optional(),\n}).describe(\"Request parameters for sending feedback on a screened order in FraudLabs Pro.\");\nexport const FraudlabsProFlpFeedbackOrderOutput = z.object({\n fraudlabspro_id: z.string().describe(\"The FraudLabs Pro transaction ID that was updated.\").nullable(),\n}).passthrough().describe(\"Response model returned after submitting order feedback.\");\n\nexport const fraudlabsProFlpFeedbackOrder = action(\"FRAUDLABS_PRO_FLP_FEEDBACK_ORDER\", {\n slug: \"fraudlabs_pro-flp-feedback-order\",\n name: \"FLP Feedback Order\",\n description: \"Submit fraud screening feedback to improve FraudLabs Pro's machine learning model. Use this after reviewing a screened order to mark it as approved, rejected, or blacklisted. This feedback trains the algorithm to better detect fraud patterns in future transactions.\",\n input: FraudlabsProFlpFeedbackOrderInput,\n output: FraudlabsProFlpFeedbackOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"flp-feedback-order.cjs","names":["z","action"],"sources":["../../src/actions/flp-feedback-order.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { fraudlabsPro } from \"../app\";\n\nexport const FraudlabsProFlpFeedbackOrderInput = z.object({\n id: z.string().describe(\"The fraudlabspro_id returned from a Screen Order API call. This identifies which transaction to provide feedback for.\"),\n key: z.string().describe(\"Your FraudLabs Pro API license key.\"),\n note: z.string().describe(\"Optional internal note explaining the reason for this feedback decision (e.g., 'Customer verified by phone', 'Known fraudster pattern').\").optional(),\n action: z.enum([\"APPROVE\", \"REJECT\", \"REJECT_BLACKLIST\"]).describe(\"Feedback action: APPROVE (legitimate transaction), REJECT (fraudulent), or REJECT_BLACKLIST (fraudulent and add to permanent blacklist for enhanced future detection).\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Defaults to 'json'.\").optional(),\n}).describe(\"Request parameters for sending feedback on a screened order in FraudLabs Pro.\");\nexport const FraudlabsProFlpFeedbackOrderOutput = z.object({\n fraudlabspro_id: z.string().describe(\"The FraudLabs Pro transaction ID that was updated.\").nullable(),\n}).passthrough().describe(\"Response model returned after submitting order feedback.\");\n\nexport const fraudlabsProFlpFeedbackOrder: AppAction<\n typeof FraudlabsProFlpFeedbackOrderInput,\n typeof FraudlabsProFlpFeedbackOrderOutput,\n typeof fraudlabsPro.credential\n> = action(\"FRAUDLABS_PRO_FLP_FEEDBACK_ORDER\", {\n slug: \"fraudlabs_pro-flp-feedback-order\",\n name: \"FLP Feedback Order\",\n description: \"Submit fraud screening feedback to improve FraudLabs Pro's machine learning model. Use this after reviewing a screened order to mark it as approved, rejected, or blacklisted. This feedback trains the algorithm to better detect fraud patterns in future transactions.\",\n input: FraudlabsProFlpFeedbackOrderInput,\n output: FraudlabsProFlpFeedbackOrderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CAC/I,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;CAC/K,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAkB,CAAC,CAAC,CAAC,SAAS,wKAAwK;CAC3O,QAAQA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { fraudlabsPro } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/flp-feedback-order.d.ts
|
|
@@ -18,25 +20,7 @@ declare const FraudlabsProFlpFeedbackOrderInput: z.ZodObject<{
|
|
|
18
20
|
declare const FraudlabsProFlpFeedbackOrderOutput: z.ZodObject<{
|
|
19
21
|
fraudlabspro_id: z.ZodNullable<z.ZodString>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const fraudlabsProFlpFeedbackOrder:
|
|
22
|
-
id: string;
|
|
23
|
-
key: string;
|
|
24
|
-
action: "APPROVE" | "REJECT" | "REJECT_BLACKLIST";
|
|
25
|
-
note?: string | undefined;
|
|
26
|
-
format?: "json" | "xml" | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"fraudlabs_pro", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"fraudlabs_pro", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const fraudlabsProFlpFeedbackOrder: AppAction<typeof FraudlabsProFlpFeedbackOrderInput, typeof FraudlabsProFlpFeedbackOrderOutput, typeof fraudlabsPro.credential>;
|
|
40
24
|
//#endregion
|
|
41
25
|
export { fraudlabsProFlpFeedbackOrder };
|
|
42
26
|
//# sourceMappingURL=flp-feedback-order.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flp-feedback-order.d.cts","names":[],"sources":["../../src/actions/flp-feedback-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"flp-feedback-order.d.cts","names":[],"sources":["../../src/actions/flp-feedback-order.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { fraudlabsPro } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/flp-feedback-order.d.ts
|
|
@@ -18,25 +20,7 @@ declare const FraudlabsProFlpFeedbackOrderInput: z.ZodObject<{
|
|
|
18
20
|
declare const FraudlabsProFlpFeedbackOrderOutput: z.ZodObject<{
|
|
19
21
|
fraudlabspro_id: z.ZodNullable<z.ZodString>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const fraudlabsProFlpFeedbackOrder:
|
|
22
|
-
id: string;
|
|
23
|
-
key: string;
|
|
24
|
-
action: "APPROVE" | "REJECT" | "REJECT_BLACKLIST";
|
|
25
|
-
note?: string | undefined;
|
|
26
|
-
format?: "json" | "xml" | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"fraudlabs_pro", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"fraudlabs_pro", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const fraudlabsProFlpFeedbackOrder: AppAction<typeof FraudlabsProFlpFeedbackOrderInput, typeof FraudlabsProFlpFeedbackOrderOutput, typeof fraudlabsPro.credential>;
|
|
40
24
|
//#endregion
|
|
41
25
|
export { fraudlabsProFlpFeedbackOrder };
|
|
42
26
|
//# sourceMappingURL=flp-feedback-order.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flp-feedback-order.d.mts","names":[],"sources":["../../src/actions/flp-feedback-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"flp-feedback-order.d.mts","names":[],"sources":["../../src/actions/flp-feedback-order.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAOjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flp-feedback-order.mjs","names":[],"sources":["../../src/actions/flp-feedback-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FraudlabsProFlpFeedbackOrderInput = z.object({\n id: z.string().describe(\"The fraudlabspro_id returned from a Screen Order API call. This identifies which transaction to provide feedback for.\"),\n key: z.string().describe(\"Your FraudLabs Pro API license key.\"),\n note: z.string().describe(\"Optional internal note explaining the reason for this feedback decision (e.g., 'Customer verified by phone', 'Known fraudster pattern').\").optional(),\n action: z.enum([\"APPROVE\", \"REJECT\", \"REJECT_BLACKLIST\"]).describe(\"Feedback action: APPROVE (legitimate transaction), REJECT (fraudulent), or REJECT_BLACKLIST (fraudulent and add to permanent blacklist for enhanced future detection).\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Defaults to 'json'.\").optional(),\n}).describe(\"Request parameters for sending feedback on a screened order in FraudLabs Pro.\");\nexport const FraudlabsProFlpFeedbackOrderOutput = z.object({\n fraudlabspro_id: z.string().describe(\"The FraudLabs Pro transaction ID that was updated.\").nullable(),\n}).passthrough().describe(\"Response model returned after submitting order feedback.\");\n\nexport const fraudlabsProFlpFeedbackOrder = action(\"FRAUDLABS_PRO_FLP_FEEDBACK_ORDER\", {\n slug: \"fraudlabs_pro-flp-feedback-order\",\n name: \"FLP Feedback Order\",\n description: \"Submit fraud screening feedback to improve FraudLabs Pro's machine learning model. Use this after reviewing a screened order to mark it as approved, rejected, or blacklisted. This feedback trains the algorithm to better detect fraud patterns in future transactions.\",\n input: FraudlabsProFlpFeedbackOrderInput,\n output: FraudlabsProFlpFeedbackOrderOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"flp-feedback-order.mjs","names":[],"sources":["../../src/actions/flp-feedback-order.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { fraudlabsPro } from \"../app\";\n\nexport const FraudlabsProFlpFeedbackOrderInput = z.object({\n id: z.string().describe(\"The fraudlabspro_id returned from a Screen Order API call. This identifies which transaction to provide feedback for.\"),\n key: z.string().describe(\"Your FraudLabs Pro API license key.\"),\n note: z.string().describe(\"Optional internal note explaining the reason for this feedback decision (e.g., 'Customer verified by phone', 'Known fraudster pattern').\").optional(),\n action: z.enum([\"APPROVE\", \"REJECT\", \"REJECT_BLACKLIST\"]).describe(\"Feedback action: APPROVE (legitimate transaction), REJECT (fraudulent), or REJECT_BLACKLIST (fraudulent and add to permanent blacklist for enhanced future detection).\"),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format. Defaults to 'json'.\").optional(),\n}).describe(\"Request parameters for sending feedback on a screened order in FraudLabs Pro.\");\nexport const FraudlabsProFlpFeedbackOrderOutput = z.object({\n fraudlabspro_id: z.string().describe(\"The FraudLabs Pro transaction ID that was updated.\").nullable(),\n}).passthrough().describe(\"Response model returned after submitting order feedback.\");\n\nexport const fraudlabsProFlpFeedbackOrder: AppAction<\n typeof FraudlabsProFlpFeedbackOrderInput,\n typeof FraudlabsProFlpFeedbackOrderOutput,\n typeof fraudlabsPro.credential\n> = action(\"FRAUDLABS_PRO_FLP_FEEDBACK_ORDER\", {\n slug: \"fraudlabs_pro-flp-feedback-order\",\n name: \"FLP Feedback Order\",\n description: \"Submit fraud screening feedback to improve FraudLabs Pro's machine learning model. Use this after reviewing a screened order to mark it as approved, rejected, or blacklisted. This feedback trains the algorithm to better detect fraud patterns in future transactions.\",\n input: FraudlabsProFlpFeedbackOrderInput,\n output: FraudlabsProFlpFeedbackOrderOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,+BAIT,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;EAC/I,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;EAC/K,QAAQ,EAAE,KAAK;GAAC;GAAW;GAAU;EAAkB,CAAC,CAAC,CAAC,SAAS,wKAAwK;EAC3O,QAAQ,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,SAAS,+EAaH;CACP,QAbgD,EAAE,OAAO,EACzD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flp-screen-order.cjs","names":["z","action"],"sources":["../../src/actions/flp-screen-order.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const FraudlabsProFlpScreenOrderInput = z.object({\n ip: z.string().describe(\"Transaction IP address (IPv4 or IPv6)\"),\n email: z.string().describe(\"User's email address\").optional(),\n amount: z.union([z.number(), z.string()]).optional(),\n bin_no: z.string().describe(\"First 6 or 8 digits of card for bank identification\").optional(),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format\").optional(),\n currency: z.string().describe(\"Transaction currency (ISO-4217 code, e.g., USD)\").optional(),\n quantity: z.number().int().describe(\"Total quantity of items\").optional(),\n username: z.string().describe(\"Username used for signup\").optional(),\n bill_addr: z.string().describe(\"Billing street address\").optional(),\n bill_city: z.string().describe(\"Billing city\").optional(),\n card_hash: z.string().describe(\"SHA2 hash of card number\").optional(),\n last_name: z.string().describe(\"User's last name\").optional(),\n ship_addr: z.string().describe(\"Shipping street address\").optional(),\n ship_city: z.string().describe(\"Shipping city\").optional(),\n avs_result: z.string().describe(\"Single-character AVS result from processor\").optional(),\n bill_state: z.string().describe(\"Billing state or province (US/CA code, e.g., NY)\").optional(),\n cvv_result: z.string().describe(\"Single-character CVV2 result (processor response)\").optional(),\n department: z.string().describe(\"Merchant product/service department ID\").optional(),\n email_hash: z.string().describe(\"SHA2 hash of email if email not provided\").optional(),\n first_name: z.string().describe(\"User's first name\").optional(),\n ship_state: z.string().describe(\"Shipping state or province (US/CA code, e.g., NY)\").optional(),\n user_phone: z.string().describe(\"User's phone number\").optional(),\n bill_country: z.string().describe(\"Billing country ISO-3166 alpha-2 code (e.g., US)\").optional(),\n email_domain: z.string().describe(\"Email domain; auto-extracted if email provided\").optional(),\n flp_checksum: z.string().describe(\"Device validation checksum from FraudLabs Pro JavaScript\").optional(),\n payment_mode: z.enum([\"creditcard\", \"paypal\", \"cod\", \"bankdeposit\", \"giftcard\", \"crypto\", \"wired\", \"others\"]).describe(\"Payment mode for transaction\").optional(),\n ship_country: z.string().describe(\"Shipping country ISO-3166 alpha-2 code (e.g., US)\").optional(),\n bill_zip_code: z.string().describe(\"Billing postal or ZIP code\").optional(),\n ship_zip_code: z.string().describe(\"Shipping postal or ZIP code\").optional(),\n user_order_id: z.string().describe(\"Merchant's order ID (max 15 chars)\").optional(),\n ship_last_name: z.string().describe(\"Shipping recipient last name\").optional(),\n payment_gateway: z.string().describe(\"Payment gateway name\").optional(),\n ship_first_name: z.string().describe(\"Shipping recipient first name\").optional(),\n});\nconst FraudlabsProFlpScreenOrder_DeviceCheckSchema = z.object({\n is_in_blacklist: z.boolean().describe(\"Device ID in blacklist\").nullable().optional(),\n is_malware_exploit: z.boolean().describe(\"Device appears infected by malware\").nullable().optional(),\n}).passthrough();\nconst FraudlabsProFlpScreenOrder_UsernameCheckSchema = z.object({\n is_high_risk: z.boolean().describe(\"Username found in high-risk database\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Username in blacklist\").nullable().optional(),\n}).passthrough();\nconst FraudlabsProFlpScreenOrder_CreditCardCheckSchema = z.object({\n card_type: z.string().describe(\"Credit or debit card type\").nullable().optional(),\n card_brand: z.string().describe(\"Credit card brand\").nullable().optional(),\n is_prepaid: z.boolean().describe(\"Whether card is prepaid\").nullable().optional(),\n is_bin_exist: z.boolean().describe(\"Whether BIN exists in list\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Card in blacklist\").nullable().optional(),\n card_issuing_bank: z.string().describe(\"Issuing bank name\").nullable().optional(),\n card_issuing_country: z.string().describe(\"Issuing country ISO code\").nullable().optional(),\n is_bin_country_match: z.boolean().describe(\"BIN country matches issuing country\").nullable().optional(),\n}).passthrough();\nconst FraudlabsProFlpScreenOrder_PhoneNumberCheckSchema = z.object({\n is_disposable: z.boolean().describe(\"Disposable phone number\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Phone number in blacklist\").nullable().optional(),\n}).passthrough();\nconst FraudlabsProFlpScreenOrder_EmailAddressCheckSchema = z.object({\n is_free: z.boolean().describe(\"Email from free provider\").nullable().optional(),\n is_disposable: z.boolean().describe(\"Disposable email address\").nullable().optional(),\n is_domain_exist: z.boolean().describe(\"Email domain exists and is valid\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Email address in blacklist\").nullable().optional(),\n is_new_domain_name: z.boolean().describe(\"Newly registered domain name\").nullable().optional(),\n}).passthrough();\nconst FraudlabsProFlpScreenOrder_IPGeolocationSchema = z.object({\n ip: z.string().describe(\"Transaction IP address\").nullable(),\n city: z.string().describe(\"City\").nullable().optional(),\n domain: z.string().describe(\"ISP domain name\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n is_proxy: z.boolean().describe(\"Whether IP is known anonymous proxy\").nullable(),\n isp_name: z.string().describe(\"Internet service provider name\").nullable().optional(),\n latitude: z.union([z.number(), z.string()]).nullable().optional(),\n netspeed: z.string().describe(\"Network speed type\").nullable().optional(),\n timezone: z.string().describe(\"Timezone\").nullable().optional(),\n zip_code: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n continent: z.string().describe(\"Estimated continent\").nullable().optional(),\n elevation: z.number().int().describe(\"Elevation in meters\").nullable().optional(),\n longitude: z.union([z.number(), z.string()]).nullable().optional(),\n mobile_mcc: z.string().describe(\"Mobile network MCC code\").nullable().optional(),\n mobile_mnc: z.string().describe(\"Mobile network MNC code\").nullable().optional(),\n usage_type: z.array(z.string()).describe(\"Usage type list (e.g., ['Commercial'])\").nullable().optional(),\n country_code: z.string().describe(\"ISO-3166 country code\").nullable().optional(),\n country_name: z.string().describe(\"Country name\").nullable().optional(),\n mobile_brand: z.string().describe(\"Mobile brand name\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Whether IP is in blacklist\").nullable(),\n}).passthrough();\nconst FraudlabsProFlpScreenOrder_BillingAddressCheckSchema = z.object({\n ip_distance_in_km: z.number().describe(\"Distance between IP and billing in km\").nullable().optional(),\n ip_distance_in_mile: z.number().describe(\"Distance between IP and billing in miles\").nullable().optional(),\n is_ip_country_match: z.boolean().describe(\"IP country matches billing country\").nullable().optional(),\n}).passthrough();\nconst FraudlabsProFlpScreenOrder_ShippingAddressCheckSchema = z.object({\n is_in_blacklist: z.boolean().describe(\"Shipping address in blacklist\").nullable().optional(),\n is_bill_city_match: z.boolean().describe(\"Billing city matches shipping city\").nullable().optional(),\n is_bill_state_match: z.boolean().describe(\"Billing state matches shipping state\").nullable().optional(),\n is_bill_country_match: z.boolean().describe(\"Billing country matches shipping country\").nullable().optional(),\n is_bill_postcode_match: z.boolean().describe(\"Billing postal code matches shipping postal code\").nullable().optional(),\n is_address_ship_forward: z.boolean().describe(\"Shipping address is known mail drop\").nullable().optional(),\n is_export_controlled_country: z.boolean().describe(\"Country is embargoed\").nullable().optional(),\n}).passthrough();\nexport const FraudlabsProFlpScreenOrderOutput = z.object({\n device: FraudlabsProFlpScreenOrder_DeviceCheckSchema.nullable(),\n username: FraudlabsProFlpScreenOrder_UsernameCheckSchema.nullable(),\n api_version: z.string().describe(\"API engine version used\").nullable(),\n credit_card: FraudlabsProFlpScreenOrder_CreditCardCheckSchema.nullable(),\n phone_number: FraudlabsProFlpScreenOrder_PhoneNumberCheckSchema.nullable(),\n email_address: FraudlabsProFlpScreenOrder_EmailAddressCheckSchema.nullable(),\n user_order_id: z.string().describe(\"Echoed merchant order ID\").nullable().optional(),\n ip_geolocation: FraudlabsProFlpScreenOrder_IPGeolocationSchema.nullable(),\n billing_address: FraudlabsProFlpScreenOrder_BillingAddressCheckSchema.nullable(),\n fraudlabspro_id: z.string().describe(\"Unique API transaction ID\").nullable(),\n shipping_address: FraudlabsProFlpScreenOrder_ShippingAddressCheckSchema.nullable(),\n remaining_credits: z.number().int().describe(\"Remaining query credits\").nullable(),\n fraudlabspro_rules: z.array(z.string()).describe(\"Rules triggered during screening\").nullable().optional(),\n fraudlabspro_score: z.number().int().describe(\"Fraud score (1–100, higher is riskier)\").nullable(),\n fraudlabspro_status: z.enum([\"APPROVE\", \"REJECT\", \"REVIEW\"]).describe(\"Final decision status\").nullable(),\n}).passthrough();\n\nexport const fraudlabsProFlpScreenOrder = action(\"FRAUDLABS_PRO_FLP_SCREEN_ORDER\", {\n slug: \"fraudlabs_pro-flp-screen-order\",\n name: \"FraudLabs Pro Screen Order\",\n description: \"Tool to screen orders for fraud. Use when you need to assess transaction risk before fulfillment.\",\n input: FraudlabsProFlpScreenOrderInput,\n output: FraudlabsProFlpScreenOrderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAG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,CAAC,SAAS;CACzG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjG,qBAAqBA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;CAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"flp-screen-order.cjs","names":["z","action"],"sources":["../../src/actions/flp-screen-order.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { fraudlabsPro } from \"../app\";\n\nexport const FraudlabsProFlpScreenOrderInput = z.object({\n ip: z.string().describe(\"Transaction IP address (IPv4 or IPv6)\"),\n email: z.string().describe(\"User's email address\").optional(),\n amount: z.union([z.number(), z.string()]).optional(),\n bin_no: z.string().describe(\"First 6 or 8 digits of card for bank identification\").optional(),\n format: z.enum([\"json\", \"xml\"]).default(\"json\").describe(\"Response format\").optional(),\n currency: z.string().describe(\"Transaction currency (ISO-4217 code, e.g., USD)\").optional(),\n quantity: z.number().int().describe(\"Total quantity of items\").optional(),\n username: z.string().describe(\"Username used for signup\").optional(),\n bill_addr: z.string().describe(\"Billing street address\").optional(),\n bill_city: z.string().describe(\"Billing city\").optional(),\n card_hash: z.string().describe(\"SHA2 hash of card number\").optional(),\n last_name: z.string().describe(\"User's last name\").optional(),\n ship_addr: z.string().describe(\"Shipping street address\").optional(),\n ship_city: z.string().describe(\"Shipping city\").optional(),\n avs_result: z.string().describe(\"Single-character AVS result from processor\").optional(),\n bill_state: z.string().describe(\"Billing state or province (US/CA code, e.g., NY)\").optional(),\n cvv_result: z.string().describe(\"Single-character CVV2 result (processor response)\").optional(),\n department: z.string().describe(\"Merchant product/service department ID\").optional(),\n email_hash: z.string().describe(\"SHA2 hash of email if email not provided\").optional(),\n first_name: z.string().describe(\"User's first name\").optional(),\n ship_state: z.string().describe(\"Shipping state or province (US/CA code, e.g., NY)\").optional(),\n user_phone: z.string().describe(\"User's phone number\").optional(),\n bill_country: z.string().describe(\"Billing country ISO-3166 alpha-2 code (e.g., US)\").optional(),\n email_domain: z.string().describe(\"Email domain; auto-extracted if email provided\").optional(),\n flp_checksum: z.string().describe(\"Device validation checksum from FraudLabs Pro JavaScript\").optional(),\n payment_mode: z.enum([\"creditcard\", \"paypal\", \"cod\", \"bankdeposit\", \"giftcard\", \"crypto\", \"wired\", \"others\"]).describe(\"Payment mode for transaction\").optional(),\n ship_country: z.string().describe(\"Shipping country ISO-3166 alpha-2 code (e.g., US)\").optional(),\n bill_zip_code: z.string().describe(\"Billing postal or ZIP code\").optional(),\n ship_zip_code: z.string().describe(\"Shipping postal or ZIP code\").optional(),\n user_order_id: z.string().describe(\"Merchant's order ID (max 15 chars)\").optional(),\n ship_last_name: z.string().describe(\"Shipping recipient last name\").optional(),\n payment_gateway: z.string().describe(\"Payment gateway name\").optional(),\n ship_first_name: z.string().describe(\"Shipping recipient first name\").optional(),\n});\nconst FraudlabsProFlpScreenOrder_DeviceCheckSchema = z.object({\n is_in_blacklist: z.boolean().describe(\"Device ID in blacklist\").nullable().optional(),\n is_malware_exploit: z.boolean().describe(\"Device appears infected by malware\").nullable().optional(),\n}).passthrough();\nconst FraudlabsProFlpScreenOrder_UsernameCheckSchema = z.object({\n is_high_risk: z.boolean().describe(\"Username found in high-risk database\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Username in blacklist\").nullable().optional(),\n}).passthrough();\nconst FraudlabsProFlpScreenOrder_CreditCardCheckSchema = z.object({\n card_type: z.string().describe(\"Credit or debit card type\").nullable().optional(),\n card_brand: z.string().describe(\"Credit card brand\").nullable().optional(),\n is_prepaid: z.boolean().describe(\"Whether card is prepaid\").nullable().optional(),\n is_bin_exist: z.boolean().describe(\"Whether BIN exists in list\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Card in blacklist\").nullable().optional(),\n card_issuing_bank: z.string().describe(\"Issuing bank name\").nullable().optional(),\n card_issuing_country: z.string().describe(\"Issuing country ISO code\").nullable().optional(),\n is_bin_country_match: z.boolean().describe(\"BIN country matches issuing country\").nullable().optional(),\n}).passthrough();\nconst FraudlabsProFlpScreenOrder_PhoneNumberCheckSchema = z.object({\n is_disposable: z.boolean().describe(\"Disposable phone number\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Phone number in blacklist\").nullable().optional(),\n}).passthrough();\nconst FraudlabsProFlpScreenOrder_EmailAddressCheckSchema = z.object({\n is_free: z.boolean().describe(\"Email from free provider\").nullable().optional(),\n is_disposable: z.boolean().describe(\"Disposable email address\").nullable().optional(),\n is_domain_exist: z.boolean().describe(\"Email domain exists and is valid\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Email address in blacklist\").nullable().optional(),\n is_new_domain_name: z.boolean().describe(\"Newly registered domain name\").nullable().optional(),\n}).passthrough();\nconst FraudlabsProFlpScreenOrder_IPGeolocationSchema = z.object({\n ip: z.string().describe(\"Transaction IP address\").nullable(),\n city: z.string().describe(\"City\").nullable().optional(),\n domain: z.string().describe(\"ISP domain name\").nullable().optional(),\n region: z.string().describe(\"Region or state\").nullable().optional(),\n is_proxy: z.boolean().describe(\"Whether IP is known anonymous proxy\").nullable(),\n isp_name: z.string().describe(\"Internet service provider name\").nullable().optional(),\n latitude: z.union([z.number(), z.string()]).nullable().optional(),\n netspeed: z.string().describe(\"Network speed type\").nullable().optional(),\n timezone: z.string().describe(\"Timezone\").nullable().optional(),\n zip_code: z.string().describe(\"ZIP or postal code\").nullable().optional(),\n continent: z.string().describe(\"Estimated continent\").nullable().optional(),\n elevation: z.number().int().describe(\"Elevation in meters\").nullable().optional(),\n longitude: z.union([z.number(), z.string()]).nullable().optional(),\n mobile_mcc: z.string().describe(\"Mobile network MCC code\").nullable().optional(),\n mobile_mnc: z.string().describe(\"Mobile network MNC code\").nullable().optional(),\n usage_type: z.array(z.string()).describe(\"Usage type list (e.g., ['Commercial'])\").nullable().optional(),\n country_code: z.string().describe(\"ISO-3166 country code\").nullable().optional(),\n country_name: z.string().describe(\"Country name\").nullable().optional(),\n mobile_brand: z.string().describe(\"Mobile brand name\").nullable().optional(),\n is_in_blacklist: z.boolean().describe(\"Whether IP is in blacklist\").nullable(),\n}).passthrough();\nconst FraudlabsProFlpScreenOrder_BillingAddressCheckSchema = z.object({\n ip_distance_in_km: z.number().describe(\"Distance between IP and billing in km\").nullable().optional(),\n ip_distance_in_mile: z.number().describe(\"Distance between IP and billing in miles\").nullable().optional(),\n is_ip_country_match: z.boolean().describe(\"IP country matches billing country\").nullable().optional(),\n}).passthrough();\nconst FraudlabsProFlpScreenOrder_ShippingAddressCheckSchema = z.object({\n is_in_blacklist: z.boolean().describe(\"Shipping address in blacklist\").nullable().optional(),\n is_bill_city_match: z.boolean().describe(\"Billing city matches shipping city\").nullable().optional(),\n is_bill_state_match: z.boolean().describe(\"Billing state matches shipping state\").nullable().optional(),\n is_bill_country_match: z.boolean().describe(\"Billing country matches shipping country\").nullable().optional(),\n is_bill_postcode_match: z.boolean().describe(\"Billing postal code matches shipping postal code\").nullable().optional(),\n is_address_ship_forward: z.boolean().describe(\"Shipping address is known mail drop\").nullable().optional(),\n is_export_controlled_country: z.boolean().describe(\"Country is embargoed\").nullable().optional(),\n}).passthrough();\nexport const FraudlabsProFlpScreenOrderOutput = z.object({\n device: FraudlabsProFlpScreenOrder_DeviceCheckSchema.nullable(),\n username: FraudlabsProFlpScreenOrder_UsernameCheckSchema.nullable(),\n api_version: z.string().describe(\"API engine version used\").nullable(),\n credit_card: FraudlabsProFlpScreenOrder_CreditCardCheckSchema.nullable(),\n phone_number: FraudlabsProFlpScreenOrder_PhoneNumberCheckSchema.nullable(),\n email_address: FraudlabsProFlpScreenOrder_EmailAddressCheckSchema.nullable(),\n user_order_id: z.string().describe(\"Echoed merchant order ID\").nullable().optional(),\n ip_geolocation: FraudlabsProFlpScreenOrder_IPGeolocationSchema.nullable(),\n billing_address: FraudlabsProFlpScreenOrder_BillingAddressCheckSchema.nullable(),\n fraudlabspro_id: z.string().describe(\"Unique API transaction ID\").nullable(),\n shipping_address: FraudlabsProFlpScreenOrder_ShippingAddressCheckSchema.nullable(),\n remaining_credits: z.number().int().describe(\"Remaining query credits\").nullable(),\n fraudlabspro_rules: z.array(z.string()).describe(\"Rules triggered during screening\").nullable().optional(),\n fraudlabspro_score: z.number().int().describe(\"Fraud score (1–100, higher is riskier)\").nullable(),\n fraudlabspro_status: z.enum([\"APPROVE\", \"REJECT\", \"REVIEW\"]).describe(\"Final decision status\").nullable(),\n}).passthrough();\n\nexport const fraudlabsProFlpScreenOrder: AppAction<\n typeof FraudlabsProFlpScreenOrderInput,\n typeof FraudlabsProFlpScreenOrderOutput,\n typeof fraudlabsPro.credential\n> = action(\"FRAUDLABS_PRO_FLP_SCREEN_ORDER\", {\n slug: \"fraudlabs_pro-flp-screen-order\",\n name: \"FraudLabs Pro Screen Order\",\n description: \"Tool to screen orders for fraud. Use when you need to assess transaction risk before fulfillment.\",\n input: FraudlabsProFlpScreenOrderInput,\n output: FraudlabsProFlpScreenOrderOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CACnD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,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;EAAW;EAAU;CAAQ,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { fraudlabsPro } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/flp-screen-order.d.ts
|
|
@@ -126,53 +128,7 @@ declare const FraudlabsProFlpScreenOrderOutput: z.ZodObject<{
|
|
|
126
128
|
REVIEW: "REVIEW";
|
|
127
129
|
}>>;
|
|
128
130
|
}, z.core.$loose>;
|
|
129
|
-
declare const fraudlabsProFlpScreenOrder:
|
|
130
|
-
ip: string;
|
|
131
|
-
email?: string | undefined;
|
|
132
|
-
amount?: string | number | undefined;
|
|
133
|
-
bin_no?: string | undefined;
|
|
134
|
-
format?: "json" | "xml" | undefined;
|
|
135
|
-
currency?: string | undefined;
|
|
136
|
-
quantity?: number | undefined;
|
|
137
|
-
username?: string | undefined;
|
|
138
|
-
bill_addr?: string | undefined;
|
|
139
|
-
bill_city?: string | undefined;
|
|
140
|
-
card_hash?: string | undefined;
|
|
141
|
-
last_name?: string | undefined;
|
|
142
|
-
ship_addr?: string | undefined;
|
|
143
|
-
ship_city?: string | undefined;
|
|
144
|
-
avs_result?: string | undefined;
|
|
145
|
-
bill_state?: string | undefined;
|
|
146
|
-
cvv_result?: string | undefined;
|
|
147
|
-
department?: string | undefined;
|
|
148
|
-
email_hash?: string | undefined;
|
|
149
|
-
first_name?: string | undefined;
|
|
150
|
-
ship_state?: string | undefined;
|
|
151
|
-
user_phone?: string | undefined;
|
|
152
|
-
bill_country?: string | undefined;
|
|
153
|
-
email_domain?: string | undefined;
|
|
154
|
-
flp_checksum?: string | undefined;
|
|
155
|
-
payment_mode?: "creditcard" | "paypal" | "cod" | "bankdeposit" | "giftcard" | "crypto" | "wired" | "others" | undefined;
|
|
156
|
-
ship_country?: string | undefined;
|
|
157
|
-
bill_zip_code?: string | undefined;
|
|
158
|
-
ship_zip_code?: string | undefined;
|
|
159
|
-
user_order_id?: string | undefined;
|
|
160
|
-
ship_last_name?: string | undefined;
|
|
161
|
-
payment_gateway?: string | undefined;
|
|
162
|
-
ship_first_name?: string | undefined;
|
|
163
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"fraudlabs_pro", z.ZodObject<{
|
|
164
|
-
connectionId: z.ZodString;
|
|
165
|
-
entityId: z.ZodString;
|
|
166
|
-
instanceId: z.ZodString;
|
|
167
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
168
|
-
generic_key: z.ZodString;
|
|
169
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"fraudlabs_pro", z.ZodObject<{
|
|
170
|
-
connectionId: z.ZodString;
|
|
171
|
-
entityId: z.ZodString;
|
|
172
|
-
instanceId: z.ZodString;
|
|
173
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
174
|
-
generic_key: z.ZodString;
|
|
175
|
-
}, z.core.$strip>>]>;
|
|
131
|
+
declare const fraudlabsProFlpScreenOrder: AppAction<typeof FraudlabsProFlpScreenOrderInput, typeof FraudlabsProFlpScreenOrderOutput, typeof fraudlabsPro.credential>;
|
|
176
132
|
//#endregion
|
|
177
133
|
export { fraudlabsProFlpScreenOrder };
|
|
178
134
|
//# sourceMappingURL=flp-screen-order.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flp-screen-order.d.cts","names":[],"sources":["../../src/actions/flp-screen-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"flp-screen-order.d.cts","names":[],"sources":["../../src/actions/flp-screen-order.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { fraudlabsPro } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/flp-screen-order.d.ts
|
|
@@ -126,53 +128,7 @@ declare const FraudlabsProFlpScreenOrderOutput: z.ZodObject<{
|
|
|
126
128
|
REVIEW: "REVIEW";
|
|
127
129
|
}>>;
|
|
128
130
|
}, z.core.$loose>;
|
|
129
|
-
declare const fraudlabsProFlpScreenOrder:
|
|
130
|
-
ip: string;
|
|
131
|
-
email?: string | undefined;
|
|
132
|
-
amount?: string | number | undefined;
|
|
133
|
-
bin_no?: string | undefined;
|
|
134
|
-
format?: "json" | "xml" | undefined;
|
|
135
|
-
currency?: string | undefined;
|
|
136
|
-
quantity?: number | undefined;
|
|
137
|
-
username?: string | undefined;
|
|
138
|
-
bill_addr?: string | undefined;
|
|
139
|
-
bill_city?: string | undefined;
|
|
140
|
-
card_hash?: string | undefined;
|
|
141
|
-
last_name?: string | undefined;
|
|
142
|
-
ship_addr?: string | undefined;
|
|
143
|
-
ship_city?: string | undefined;
|
|
144
|
-
avs_result?: string | undefined;
|
|
145
|
-
bill_state?: string | undefined;
|
|
146
|
-
cvv_result?: string | undefined;
|
|
147
|
-
department?: string | undefined;
|
|
148
|
-
email_hash?: string | undefined;
|
|
149
|
-
first_name?: string | undefined;
|
|
150
|
-
ship_state?: string | undefined;
|
|
151
|
-
user_phone?: string | undefined;
|
|
152
|
-
bill_country?: string | undefined;
|
|
153
|
-
email_domain?: string | undefined;
|
|
154
|
-
flp_checksum?: string | undefined;
|
|
155
|
-
payment_mode?: "creditcard" | "paypal" | "cod" | "bankdeposit" | "giftcard" | "crypto" | "wired" | "others" | undefined;
|
|
156
|
-
ship_country?: string | undefined;
|
|
157
|
-
bill_zip_code?: string | undefined;
|
|
158
|
-
ship_zip_code?: string | undefined;
|
|
159
|
-
user_order_id?: string | undefined;
|
|
160
|
-
ship_last_name?: string | undefined;
|
|
161
|
-
payment_gateway?: string | undefined;
|
|
162
|
-
ship_first_name?: string | undefined;
|
|
163
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"fraudlabs_pro", z.ZodObject<{
|
|
164
|
-
connectionId: z.ZodString;
|
|
165
|
-
entityId: z.ZodString;
|
|
166
|
-
instanceId: z.ZodString;
|
|
167
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
168
|
-
generic_key: z.ZodString;
|
|
169
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"fraudlabs_pro", z.ZodObject<{
|
|
170
|
-
connectionId: z.ZodString;
|
|
171
|
-
entityId: z.ZodString;
|
|
172
|
-
instanceId: z.ZodString;
|
|
173
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
174
|
-
generic_key: z.ZodString;
|
|
175
|
-
}, z.core.$strip>>]>;
|
|
131
|
+
declare const fraudlabsProFlpScreenOrder: AppAction<typeof FraudlabsProFlpScreenOrderInput, typeof FraudlabsProFlpScreenOrderOutput, typeof fraudlabsPro.credential>;
|
|
176
132
|
//#endregion
|
|
177
133
|
export { fraudlabsProFlpScreenOrder };
|
|
178
134
|
//# sourceMappingURL=flp-screen-order.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flp-screen-order.d.mts","names":[],"sources":["../../src/actions/flp-screen-order.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"flp-screen-order.d.mts","names":[],"sources":["../../src/actions/flp-screen-order.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAoG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,YAAA,CAAa,UAAA"}
|