@frogbotai/piece-http 0.21.0 → 0.23.0
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/README.md +18 -0
- package/dist/actions/parseUrl.d.ts +31 -0
- package/dist/actions/parseUrl.d.ts.map +1 -0
- package/dist/actions/parseUrl.js +38 -0
- package/dist/actions/parseUrl.js.map +1 -0
- package/dist/actions/sendRequest.d.ts +87 -0
- package/dist/actions/sendRequest.d.ts.map +1 -0
- package/dist/actions/sendRequest.js +96 -0
- package/dist/actions/sendRequest.js.map +1 -0
- package/dist/client.d.ts +5 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +4 -0
- package/dist/client.js.map +1 -0
- package/dist/index.d.ts +116 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -20
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# `@frogbotai/piece-http`
|
|
2
|
+
|
|
3
|
+
Send HTTP requests and parse absolute URLs without a configured credential.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```ts
|
|
8
|
+
import { createHttp } from '@frogbotai/piece-http';
|
|
9
|
+
|
|
10
|
+
export const http = createHttp();
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Actions
|
|
14
|
+
|
|
15
|
+
| Upstream action slug | Previous wrapper export | Native action | Notes |
|
|
16
|
+
| -------------------- | ----------------------- | ------------- | ---------------------------------------------------------------- |
|
|
17
|
+
| `send_request` | `sendRequest` | `sendRequest` | Uses raw `fetch`; proxy and workflow retry controls are omitted. |
|
|
18
|
+
| `parse_url` | `parseUrl` | `parseUrl` | Output keys use native camelCase. |
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type PieceRunArgs } from 'frogbot/pieces';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
declare const inputSchema: z.ZodObject<{
|
|
4
|
+
url: z.ZodString;
|
|
5
|
+
returnArrays: z.ZodDefault<z.ZodBoolean>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export declare const parseUrl: {
|
|
8
|
+
slug: string;
|
|
9
|
+
label: string;
|
|
10
|
+
description: string;
|
|
11
|
+
input: z.ZodObject<{
|
|
12
|
+
url: z.ZodString;
|
|
13
|
+
returnArrays: z.ZodDefault<z.ZodBoolean>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
output: z.ZodObject<{
|
|
16
|
+
baseUrl: z.ZodString;
|
|
17
|
+
domain: z.ZodString;
|
|
18
|
+
path: z.ZodString;
|
|
19
|
+
queryParameters: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>, z.ZodNull]>>;
|
|
20
|
+
hash: z.ZodString;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
run({ input }: PieceRunArgs<z.output<typeof inputSchema>, object, undefined>): Promise<{
|
|
23
|
+
baseUrl: string;
|
|
24
|
+
domain: string;
|
|
25
|
+
path: string;
|
|
26
|
+
queryParameters: Record<string, string | string[] | null>;
|
|
27
|
+
hash: string;
|
|
28
|
+
}>;
|
|
29
|
+
};
|
|
30
|
+
export {};
|
|
31
|
+
//# sourceMappingURL=parseUrl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseUrl.d.ts","sourceRoot":"","sources":["../../src/actions/parseUrl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,QAAA,MAAM,WAAW;;;iBAA0E,CAAC;AAS5F,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;mBAME,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,WAAW,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC;;;;;;;CAsBnF,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
const inputSchema = z.object({ url: z.string(), returnArrays: z.boolean().default(false) });
|
|
3
|
+
const output = z.object({
|
|
4
|
+
baseUrl: z.string(),
|
|
5
|
+
domain: z.string(),
|
|
6
|
+
path: z.string(),
|
|
7
|
+
queryParameters: z.record(z.string(), z.union([z.string(), z.array(z.string()), z.null()])),
|
|
8
|
+
hash: z.string(),
|
|
9
|
+
});
|
|
10
|
+
export const parseUrl = {
|
|
11
|
+
slug: 'parseUrl',
|
|
12
|
+
label: 'Parse URL',
|
|
13
|
+
description: 'Extract the domain, path, and query parameters from a URL.',
|
|
14
|
+
input: inputSchema,
|
|
15
|
+
output,
|
|
16
|
+
async run({ input }) {
|
|
17
|
+
try {
|
|
18
|
+
const url = new URL(input.url);
|
|
19
|
+
const queryParameters = {};
|
|
20
|
+
for (const key of new Set(url.searchParams.keys())) {
|
|
21
|
+
queryParameters[key] = input.returnArrays
|
|
22
|
+
? url.searchParams.getAll(key)
|
|
23
|
+
: url.searchParams.get(key);
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
baseUrl: `${url.protocol}//${url.host}`,
|
|
27
|
+
domain: url.hostname,
|
|
28
|
+
path: url.pathname,
|
|
29
|
+
queryParameters,
|
|
30
|
+
hash: url.hash.slice(1),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
catch (error) {
|
|
34
|
+
throw new Error(`Failed to parse URL. Please ensure it is a valid, absolute URL. Details: ${error instanceof Error ? error.message : String(error)}`);
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=parseUrl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseUrl.js","sourceRoot":"","sources":["../../src/actions/parseUrl.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM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C;YAChC,CAAC;YACD,OAAO;gBACL,OAAO,EAAE,GAAG,GAAG,CAAC,QAAQ,KAAK,GAAG,CAAC,IAAI,EAAE;gBACvC,MAAM,EAAE,GAAG,CAAC,QAAQ;gBACpB,IAAI,EAAE,GAAG,CAAC,QAAQ;gBAClB,eAAe;gBACf,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;aACxB,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,MAAM,IAAI,KAAK,CACb,4EAA4E,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CACrI,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { type PieceRunArgs } from 'frogbot/pieces';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
declare const inputSchema: z.ZodObject<{
|
|
4
|
+
method: z.ZodEnum<{
|
|
5
|
+
GET: "GET";
|
|
6
|
+
POST: "POST";
|
|
7
|
+
PATCH: "PATCH";
|
|
8
|
+
PUT: "PUT";
|
|
9
|
+
DELETE: "DELETE";
|
|
10
|
+
HEAD: "HEAD";
|
|
11
|
+
}>;
|
|
12
|
+
url: z.ZodURL;
|
|
13
|
+
headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
14
|
+
queryParams: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
15
|
+
authType: z.ZodDefault<z.ZodEnum<{
|
|
16
|
+
NONE: "NONE";
|
|
17
|
+
BASIC: "BASIC";
|
|
18
|
+
BEARER_TOKEN: "BEARER_TOKEN";
|
|
19
|
+
}>>;
|
|
20
|
+
authFields: z.ZodOptional<z.ZodObject<{
|
|
21
|
+
username: z.ZodOptional<z.ZodString>;
|
|
22
|
+
password: z.ZodOptional<z.ZodString>;
|
|
23
|
+
token: z.ZodOptional<z.ZodString>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
25
|
+
bodyType: z.ZodDefault<z.ZodEnum<{
|
|
26
|
+
none: "none";
|
|
27
|
+
form_data: "form_data";
|
|
28
|
+
json: "json";
|
|
29
|
+
raw: "raw";
|
|
30
|
+
}>>;
|
|
31
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
32
|
+
responseIsBinary: z.ZodDefault<z.ZodBoolean>;
|
|
33
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
34
|
+
followRedirects: z.ZodDefault<z.ZodBoolean>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
export declare const sendRequest: {
|
|
37
|
+
slug: string;
|
|
38
|
+
label: string;
|
|
39
|
+
description: string;
|
|
40
|
+
input: z.ZodObject<{
|
|
41
|
+
method: z.ZodEnum<{
|
|
42
|
+
GET: "GET";
|
|
43
|
+
POST: "POST";
|
|
44
|
+
PATCH: "PATCH";
|
|
45
|
+
PUT: "PUT";
|
|
46
|
+
DELETE: "DELETE";
|
|
47
|
+
HEAD: "HEAD";
|
|
48
|
+
}>;
|
|
49
|
+
url: z.ZodURL;
|
|
50
|
+
headers: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
51
|
+
queryParams: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>>>;
|
|
52
|
+
authType: z.ZodDefault<z.ZodEnum<{
|
|
53
|
+
NONE: "NONE";
|
|
54
|
+
BASIC: "BASIC";
|
|
55
|
+
BEARER_TOKEN: "BEARER_TOKEN";
|
|
56
|
+
}>>;
|
|
57
|
+
authFields: z.ZodOptional<z.ZodObject<{
|
|
58
|
+
username: z.ZodOptional<z.ZodString>;
|
|
59
|
+
password: z.ZodOptional<z.ZodString>;
|
|
60
|
+
token: z.ZodOptional<z.ZodString>;
|
|
61
|
+
}, z.core.$strip>>;
|
|
62
|
+
bodyType: z.ZodDefault<z.ZodEnum<{
|
|
63
|
+
none: "none";
|
|
64
|
+
form_data: "form_data";
|
|
65
|
+
json: "json";
|
|
66
|
+
raw: "raw";
|
|
67
|
+
}>>;
|
|
68
|
+
body: z.ZodOptional<z.ZodUnknown>;
|
|
69
|
+
responseIsBinary: z.ZodDefault<z.ZodBoolean>;
|
|
70
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
followRedirects: z.ZodDefault<z.ZodBoolean>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
output: z.ZodObject<{
|
|
74
|
+
status: z.ZodNumber;
|
|
75
|
+
headers: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
76
|
+
body: z.ZodUnknown;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
run({ input }: PieceRunArgs<z.output<typeof inputSchema>, object, undefined>): Promise<{
|
|
79
|
+
status: number;
|
|
80
|
+
headers: {
|
|
81
|
+
[k: string]: string;
|
|
82
|
+
};
|
|
83
|
+
body: unknown;
|
|
84
|
+
}>;
|
|
85
|
+
};
|
|
86
|
+
export {};
|
|
87
|
+
//# sourceMappingURL=sendRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendRequest.d.ts","sourceRoot":"","sources":["../../src/actions/sendRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkBf,CAAC;AAeH,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAMD,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,WAAW,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC;;;;;;;CAmDnF,CAAC"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { sendHttpRequest } from '../client.js';
|
|
3
|
+
const scalar = z.union([z.string(), z.number(), z.boolean()]);
|
|
4
|
+
const queryValue = z.union([scalar, z.array(scalar)]);
|
|
5
|
+
const headers = z.record(z.string(), z.string());
|
|
6
|
+
const inputSchema = z.object({
|
|
7
|
+
method: z.enum(['GET', 'POST', 'PATCH', 'PUT', 'DELETE', 'HEAD']),
|
|
8
|
+
url: z.url(),
|
|
9
|
+
headers: headers.default({}),
|
|
10
|
+
queryParams: z.record(z.string(), queryValue).default({}),
|
|
11
|
+
authType: z.enum(['NONE', 'BASIC', 'BEARER_TOKEN']).default('NONE'),
|
|
12
|
+
authFields: z
|
|
13
|
+
.object({
|
|
14
|
+
username: z.string().optional(),
|
|
15
|
+
password: z.string().optional(),
|
|
16
|
+
token: z.string().optional(),
|
|
17
|
+
})
|
|
18
|
+
.optional(),
|
|
19
|
+
bodyType: z.enum(['none', 'form_data', 'json', 'raw']).default('none'),
|
|
20
|
+
body: z.unknown().optional(),
|
|
21
|
+
responseIsBinary: z.boolean().default(false),
|
|
22
|
+
timeout: z.number().positive().optional(),
|
|
23
|
+
followRedirects: z.boolean().default(true),
|
|
24
|
+
});
|
|
25
|
+
const output = z.object({ status: z.number().int(), headers, body: z.unknown() });
|
|
26
|
+
function createBody(bodyType, body) {
|
|
27
|
+
if (bodyType === 'none' || body === undefined)
|
|
28
|
+
return undefined;
|
|
29
|
+
if (bodyType === 'json')
|
|
30
|
+
return JSON.stringify(body);
|
|
31
|
+
if (bodyType === 'raw')
|
|
32
|
+
return String(body);
|
|
33
|
+
const form = new FormData();
|
|
34
|
+
const fields = z
|
|
35
|
+
.array(z.object({ fieldName: z.string(), value: z.union([z.string(), z.instanceof(Blob)]) }))
|
|
36
|
+
.parse(body);
|
|
37
|
+
for (const field of fields)
|
|
38
|
+
form.append(field.fieldName, field.value);
|
|
39
|
+
return form;
|
|
40
|
+
}
|
|
41
|
+
export const sendRequest = {
|
|
42
|
+
slug: 'sendRequest',
|
|
43
|
+
label: 'Send HTTP request',
|
|
44
|
+
description: 'Send an HTTP request and return its status, headers, and body.',
|
|
45
|
+
input: inputSchema,
|
|
46
|
+
output,
|
|
47
|
+
async run({ input }) {
|
|
48
|
+
const url = new URL(input.url);
|
|
49
|
+
for (const [key, value] of Object.entries(input.queryParams)) {
|
|
50
|
+
for (const entry of Array.isArray(value) ? value : [value]) {
|
|
51
|
+
url.searchParams.append(key, String(entry));
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
const requestHeaders = new Headers(input.headers);
|
|
55
|
+
if (input.authType === 'BASIC') {
|
|
56
|
+
const auth = z.object({ username: z.string(), password: z.string() }).parse(input.authFields);
|
|
57
|
+
requestHeaders.set('authorization', `Basic ${btoa(`${auth.username}:${auth.password}`)}`);
|
|
58
|
+
}
|
|
59
|
+
else if (input.authType === 'BEARER_TOKEN') {
|
|
60
|
+
const auth = z.object({ token: z.string() }).parse(input.authFields);
|
|
61
|
+
requestHeaders.set('authorization', `Bearer ${auth.token}`);
|
|
62
|
+
}
|
|
63
|
+
const body = createBody(input.bodyType, input.body);
|
|
64
|
+
if (input.bodyType === 'json' && !requestHeaders.has('content-type')) {
|
|
65
|
+
requestHeaders.set('content-type', 'application/json');
|
|
66
|
+
}
|
|
67
|
+
const response = await sendHttpRequest({
|
|
68
|
+
url,
|
|
69
|
+
init: {
|
|
70
|
+
method: input.method,
|
|
71
|
+
headers: requestHeaders,
|
|
72
|
+
body,
|
|
73
|
+
redirect: input.followRedirects ? 'follow' : 'manual',
|
|
74
|
+
signal: input.timeout ? AbortSignal.timeout(input.timeout * 1000) : undefined,
|
|
75
|
+
},
|
|
76
|
+
});
|
|
77
|
+
const responseHeaders = Object.fromEntries(response.headers.entries());
|
|
78
|
+
const responseBody = input.responseIsBinary
|
|
79
|
+
? Buffer.from(await response.arrayBuffer()).toString('base64')
|
|
80
|
+
: await response.text().then((text) => {
|
|
81
|
+
if (!text)
|
|
82
|
+
return undefined;
|
|
83
|
+
try {
|
|
84
|
+
return JSON.parse(text);
|
|
85
|
+
}
|
|
86
|
+
catch {
|
|
87
|
+
return text;
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
if (!response.ok) {
|
|
91
|
+
throw new Error(`HTTP request failed with ${response.status} ${response.statusText}`.trim());
|
|
92
|
+
}
|
|
93
|
+
return { status: response.status, headers: responseHeaders, body: responseBody };
|
|
94
|
+
},
|
|
95
|
+
};
|
|
96
|
+
//# sourceMappingURL=sendRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendRequest.js","sourceRoot":"","sources":["../../src/actions/sendRequest.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;AAC9D,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACtD,MAAM,OAAO,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC;AACjD,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE,MAAM,EAA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CAAC,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC;IACnF,CAAC;CACF,CAAC"}
|
package/dist/client.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,wBAAsB,eAAe,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,EAAE;IAAE,GAAG,EAAE,GAAG,CAAC;IAAC,IAAI,EAAE,WAAW,CAAA;CAAE,qBAEnF"}
|
package/dist/client.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,KAAK,UAAU,eAAe,CAAC,EAAE,GAAG,EAAE,IAAI,EAAmC;IAClF,OAAO,KAAK,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAC1B,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,118 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const httpActions: readonly ["send_request", "parse_url"];
|
|
1
|
+
export declare const httpActions: readonly ["sendRequest", "parseUrl"];
|
|
3
2
|
export declare const httpScopes: readonly [];
|
|
4
|
-
export declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
export declare const createHttp: import("frogbot/pieces").PieceFactory<{
|
|
4
|
+
readonly slug: "http";
|
|
5
|
+
readonly label: "HTTP";
|
|
6
|
+
readonly admin: {
|
|
7
|
+
readonly description: "Send HTTP requests and parse URLs";
|
|
8
|
+
readonly group: "Core";
|
|
9
|
+
};
|
|
10
|
+
readonly actions: readonly [{
|
|
11
|
+
slug: string;
|
|
12
|
+
label: string;
|
|
13
|
+
description: string;
|
|
14
|
+
input: import("zod").ZodObject<{
|
|
15
|
+
method: import("zod").ZodEnum<{
|
|
16
|
+
GET: "GET";
|
|
17
|
+
POST: "POST";
|
|
18
|
+
PATCH: "PATCH";
|
|
19
|
+
PUT: "PUT";
|
|
20
|
+
DELETE: "DELETE";
|
|
21
|
+
HEAD: "HEAD";
|
|
22
|
+
}>;
|
|
23
|
+
url: import("zod").ZodURL;
|
|
24
|
+
headers: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
25
|
+
queryParams: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>]>>>;
|
|
26
|
+
authType: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
27
|
+
NONE: "NONE";
|
|
28
|
+
BASIC: "BASIC";
|
|
29
|
+
BEARER_TOKEN: "BEARER_TOKEN";
|
|
30
|
+
}>>;
|
|
31
|
+
authFields: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
32
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
33
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
34
|
+
token: import("zod").ZodOptional<import("zod").ZodString>;
|
|
35
|
+
}, import("zod/v4/core").$strip>>;
|
|
36
|
+
bodyType: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
37
|
+
none: "none";
|
|
38
|
+
form_data: "form_data";
|
|
39
|
+
json: "json";
|
|
40
|
+
raw: "raw";
|
|
41
|
+
}>>;
|
|
42
|
+
body: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
43
|
+
responseIsBinary: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
44
|
+
timeout: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
45
|
+
followRedirects: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
46
|
+
}, import("zod/v4/core").$strip>;
|
|
47
|
+
output: import("zod").ZodObject<{
|
|
48
|
+
status: import("zod").ZodNumber;
|
|
49
|
+
headers: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>;
|
|
50
|
+
body: import("zod").ZodUnknown;
|
|
51
|
+
}, import("zod/v4/core").$strip>;
|
|
52
|
+
run({ input }: import("frogbot/pieces").PieceRunArgs<import("zod").infer<import("zod").ZodObject<{
|
|
53
|
+
method: import("zod").ZodEnum<{
|
|
54
|
+
GET: "GET";
|
|
55
|
+
POST: "POST";
|
|
56
|
+
PATCH: "PATCH";
|
|
57
|
+
PUT: "PUT";
|
|
58
|
+
DELETE: "DELETE";
|
|
59
|
+
HEAD: "HEAD";
|
|
60
|
+
}>;
|
|
61
|
+
url: import("zod").ZodURL;
|
|
62
|
+
headers: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
63
|
+
queryParams: import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>, import("zod").ZodArray<import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean]>>]>>>;
|
|
64
|
+
authType: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
65
|
+
NONE: "NONE";
|
|
66
|
+
BASIC: "BASIC";
|
|
67
|
+
BEARER_TOKEN: "BEARER_TOKEN";
|
|
68
|
+
}>>;
|
|
69
|
+
authFields: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
70
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
71
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
72
|
+
token: import("zod").ZodOptional<import("zod").ZodString>;
|
|
73
|
+
}, import("zod/v4/core").$strip>>;
|
|
74
|
+
bodyType: import("zod").ZodDefault<import("zod").ZodEnum<{
|
|
75
|
+
none: "none";
|
|
76
|
+
form_data: "form_data";
|
|
77
|
+
json: "json";
|
|
78
|
+
raw: "raw";
|
|
79
|
+
}>>;
|
|
80
|
+
body: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
81
|
+
responseIsBinary: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
82
|
+
timeout: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
83
|
+
followRedirects: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
84
|
+
}, import("zod/v4/core").$strip>>, object, undefined>): Promise<{
|
|
85
|
+
status: number;
|
|
86
|
+
headers: {
|
|
87
|
+
[k: string]: string;
|
|
88
|
+
};
|
|
89
|
+
body: unknown;
|
|
90
|
+
}>;
|
|
91
|
+
}, {
|
|
92
|
+
slug: string;
|
|
93
|
+
label: string;
|
|
94
|
+
description: string;
|
|
95
|
+
input: import("zod").ZodObject<{
|
|
96
|
+
url: import("zod").ZodString;
|
|
97
|
+
returnArrays: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
98
|
+
}, import("zod/v4/core").$strip>;
|
|
99
|
+
output: import("zod").ZodObject<{
|
|
100
|
+
baseUrl: import("zod").ZodString;
|
|
101
|
+
domain: import("zod").ZodString;
|
|
102
|
+
path: import("zod").ZodString;
|
|
103
|
+
queryParameters: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>, import("zod").ZodNull]>>;
|
|
104
|
+
hash: import("zod").ZodString;
|
|
105
|
+
}, import("zod/v4/core").$strip>;
|
|
106
|
+
run({ input }: import("frogbot/pieces").PieceRunArgs<import("zod").infer<import("zod").ZodObject<{
|
|
107
|
+
url: import("zod").ZodString;
|
|
108
|
+
returnArrays: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
109
|
+
}, import("zod/v4/core").$strip>>, object, undefined>): Promise<{
|
|
110
|
+
baseUrl: string;
|
|
111
|
+
domain: string;
|
|
112
|
+
path: string;
|
|
113
|
+
queryParameters: Record<string, string | string[] | null>;
|
|
114
|
+
hash: string;
|
|
115
|
+
}>;
|
|
116
|
+
}];
|
|
117
|
+
}>;
|
|
10
118
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,WAAW,sCAAuC,CAAC;AAChE,eAAO,MAAM,UAAU,aAAc,CAAC;AAEtC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKrB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,22 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { definePiece } from 'frogbot/pieces';
|
|
2
|
+
import { parseUrl } from './actions/parseUrl.js';
|
|
3
|
+
import { sendRequest } from './actions/sendRequest.js';
|
|
4
|
+
export const httpActions = ['sendRequest', 'parseUrl'];
|
|
4
5
|
export const httpScopes = [];
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
scopes: httpScopes,
|
|
12
|
-
config,
|
|
13
|
-
errorsAsResults: true,
|
|
14
|
-
});
|
|
15
|
-
return Object.assign(piece, {
|
|
16
|
-
/** Send HTTP request: Send HTTP request */
|
|
17
|
-
sendRequest: piece.tool('send_request'),
|
|
18
|
-
/** Parse URL: Extract the domain, path, and query parameters from a URL. */
|
|
19
|
-
parseUrl: piece.tool('parse_url'),
|
|
20
|
-
});
|
|
21
|
-
}
|
|
6
|
+
export const createHttp = definePiece({
|
|
7
|
+
slug: 'http',
|
|
8
|
+
label: 'HTTP',
|
|
9
|
+
admin: { description: 'Send HTTP requests and parse URLs', group: 'Core' },
|
|
10
|
+
actions: [sendRequest, parseUrl],
|
|
11
|
+
});
|
|
22
12
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,aAAa,EAAE,UAAU,CAAU,CAAC;AAChE,MAAM,CAAC,MAAM,UAAU,GAAG,EAAW,CAAC;AAEtC,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CAAC;IACpC,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,EAAE,WAAW,EAAE,mCAAmC,EAAE,KAAK,EAAE,MAAM,EAAE;IAC1E,OAAO,EAAE,CAAC,WAAW,EAAE,QAAQ,CAAC;CACjC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frogbotai/piece-http",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "HTTP tools for FrogBot.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Colby Gilbert",
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
],
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"
|
|
22
|
+
"zod": "^4.3.6"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"frogbot": "0.
|
|
25
|
+
"frogbot": "0.23.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"typescript": "5.6.2",
|
|
29
|
-
"frogbot": "0.
|
|
29
|
+
"frogbot": "0.23.0"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|