@keystrokehq/serveravatar 0.1.0 → 0.1.3
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/destroy-backups.cjs +1 -1
- package/dist/actions/destroy-backups.cjs.map +1 -1
- package/dist/actions/destroy-backups.d.cts +11 -3
- package/dist/actions/destroy-backups.d.cts.map +1 -1
- package/dist/actions/destroy-backups.d.mts +11 -3
- package/dist/actions/destroy-backups.d.mts.map +1 -1
- package/dist/actions/destroy-backups.mjs +1 -1
- package/dist/actions/destroy-backups.mjs.map +1 -1
- package/dist/actions/get-organization.cjs +10 -10
- package/dist/actions/get-organization.cjs.map +1 -1
- package/dist/actions/get-organization.d.cts +20 -3
- package/dist/actions/get-organization.d.cts.map +1 -1
- package/dist/actions/get-organization.d.mts +20 -3
- package/dist/actions/get-organization.d.mts.map +1 -1
- package/dist/actions/get-organization.mjs +10 -10
- package/dist/actions/get-organization.mjs.map +1 -1
- package/dist/actions/list-applications.cjs +4 -4
- package/dist/actions/list-applications.cjs.map +1 -1
- package/dist/actions/list-applications.d.cts +33 -3
- package/dist/actions/list-applications.d.cts.map +1 -1
- package/dist/actions/list-applications.d.mts +33 -3
- package/dist/actions/list-applications.d.mts.map +1 -1
- package/dist/actions/list-applications.mjs +4 -4
- package/dist/actions/list-applications.mjs.map +1 -1
- package/dist/actions/list-backups-archive.cjs +21 -21
- package/dist/actions/list-backups-archive.cjs.map +1 -1
- package/dist/actions/list-backups-archive.d.cts +63 -3
- package/dist/actions/list-backups-archive.d.cts.map +1 -1
- package/dist/actions/list-backups-archive.d.mts +63 -3
- package/dist/actions/list-backups-archive.d.mts.map +1 -1
- package/dist/actions/list-backups-archive.mjs +21 -21
- package/dist/actions/list-backups-archive.mjs.map +1 -1
- package/dist/actions/list-backups-deleted-server.cjs +6 -6
- package/dist/actions/list-backups-deleted-server.cjs.map +1 -1
- package/dist/actions/list-backups-deleted-server.d.cts +16 -3
- package/dist/actions/list-backups-deleted-server.d.cts.map +1 -1
- package/dist/actions/list-backups-deleted-server.d.mts +16 -3
- package/dist/actions/list-backups-deleted-server.d.mts.map +1 -1
- package/dist/actions/list-backups-deleted-server.mjs +6 -6
- package/dist/actions/list-backups-deleted-server.mjs.map +1 -1
- package/dist/actions/list-backups-presets.cjs +1 -1
- package/dist/actions/list-backups-presets.cjs.map +1 -1
- package/dist/actions/list-backups-presets.d.cts +14 -3
- package/dist/actions/list-backups-presets.d.cts.map +1 -1
- package/dist/actions/list-backups-presets.d.mts +14 -3
- package/dist/actions/list-backups-presets.d.mts.map +1 -1
- package/dist/actions/list-backups-presets.mjs +1 -1
- package/dist/actions/list-backups-presets.mjs.map +1 -1
- package/dist/actions/list-backups.cjs +8 -8
- package/dist/actions/list-backups.cjs.map +1 -1
- package/dist/actions/list-backups.d.cts +66 -3
- package/dist/actions/list-backups.d.cts.map +1 -1
- package/dist/actions/list-backups.d.mts +66 -3
- package/dist/actions/list-backups.d.mts.map +1 -1
- package/dist/actions/list-backups.mjs +8 -8
- package/dist/actions/list-backups.mjs.map +1 -1
- package/dist/actions/list-cloud-server-providers.cjs +4 -4
- package/dist/actions/list-cloud-server-providers.cjs.map +1 -1
- package/dist/actions/list-cloud-server-providers.d.cts +42 -3
- package/dist/actions/list-cloud-server-providers.d.cts.map +1 -1
- package/dist/actions/list-cloud-server-providers.d.mts +42 -3
- package/dist/actions/list-cloud-server-providers.d.mts.map +1 -1
- package/dist/actions/list-cloud-server-providers.mjs +4 -4
- package/dist/actions/list-cloud-server-providers.mjs.map +1 -1
- package/dist/actions/list-cloud-storage-providers.cjs +3 -3
- package/dist/actions/list-cloud-storage-providers.cjs.map +1 -1
- package/dist/actions/list-cloud-storage-providers.d.cts +15 -3
- package/dist/actions/list-cloud-storage-providers.d.cts.map +1 -1
- package/dist/actions/list-cloud-storage-providers.d.mts +15 -3
- package/dist/actions/list-cloud-storage-providers.d.mts.map +1 -1
- package/dist/actions/list-cloud-storage-providers.mjs +3 -3
- package/dist/actions/list-cloud-storage-providers.mjs.map +1 -1
- package/dist/actions/list-cronjobs-presets.cjs +2 -2
- package/dist/actions/list-cronjobs-presets.cjs.map +1 -1
- package/dist/actions/list-cronjobs-presets.d.cts +24 -3
- package/dist/actions/list-cronjobs-presets.d.cts.map +1 -1
- package/dist/actions/list-cronjobs-presets.d.mts +24 -3
- package/dist/actions/list-cronjobs-presets.d.mts.map +1 -1
- package/dist/actions/list-cronjobs-presets.mjs +2 -2
- package/dist/actions/list-cronjobs-presets.mjs.map +1 -1
- package/dist/actions/list-databases.cjs +27 -27
- package/dist/actions/list-databases.cjs.map +1 -1
- package/dist/actions/list-databases.d.cts +47 -3
- package/dist/actions/list-databases.d.cts.map +1 -1
- package/dist/actions/list-databases.d.mts +47 -3
- package/dist/actions/list-databases.d.mts.map +1 -1
- package/dist/actions/list-databases.mjs +27 -27
- package/dist/actions/list-databases.mjs.map +1 -1
- package/dist/actions/list-git-providers.cjs +4 -4
- package/dist/actions/list-git-providers.cjs.map +1 -1
- package/dist/actions/list-git-providers.d.cts +34 -3
- package/dist/actions/list-git-providers.d.cts.map +1 -1
- package/dist/actions/list-git-providers.d.mts +34 -3
- package/dist/actions/list-git-providers.d.mts.map +1 -1
- package/dist/actions/list-git-providers.mjs +4 -4
- package/dist/actions/list-git-providers.mjs.map +1 -1
- package/dist/actions/list-members.cjs +6 -6
- package/dist/actions/list-members.cjs.map +1 -1
- package/dist/actions/list-members.d.cts +47 -3
- package/dist/actions/list-members.d.cts.map +1 -1
- package/dist/actions/list-members.d.mts +47 -3
- package/dist/actions/list-members.d.mts.map +1 -1
- package/dist/actions/list-members.mjs +6 -6
- package/dist/actions/list-members.mjs.map +1 -1
- package/dist/actions/list-organizations.cjs +12 -12
- package/dist/actions/list-organizations.cjs.map +1 -1
- package/dist/actions/list-organizations.d.cts +18 -3
- package/dist/actions/list-organizations.d.cts.map +1 -1
- package/dist/actions/list-organizations.d.mts +18 -3
- package/dist/actions/list-organizations.d.mts.map +1 -1
- package/dist/actions/list-organizations.mjs +12 -12
- package/dist/actions/list-organizations.mjs.map +1 -1
- package/dist/actions/list-servers.cjs +4 -4
- package/dist/actions/list-servers.cjs.map +1 -1
- package/dist/actions/list-servers.d.cts +68 -3
- package/dist/actions/list-servers.d.cts.map +1 -1
- package/dist/actions/list-servers.d.mts +68 -3
- package/dist/actions/list-servers.d.mts.map +1 -1
- package/dist/actions/list-servers.mjs +4 -4
- package/dist/actions/list-servers.mjs.map +1 -1
- package/dist/actions/list-timezones.cjs +1 -1
- package/dist/actions/list-timezones.cjs.map +1 -1
- package/dist/actions/list-timezones.d.cts +5 -3
- package/dist/actions/list-timezones.d.cts.map +1 -1
- package/dist/actions/list-timezones.d.mts +5 -3
- package/dist/actions/list-timezones.d.mts.map +1 -1
- package/dist/actions/list-timezones.mjs +1 -1
- package/dist/actions/list-timezones.mjs.map +1 -1
- package/dist/actions/list-wordpress-languages.cjs +5 -5
- package/dist/actions/list-wordpress-languages.cjs.map +1 -1
- package/dist/actions/list-wordpress-languages.d.cts +9 -3
- package/dist/actions/list-wordpress-languages.d.cts.map +1 -1
- package/dist/actions/list-wordpress-languages.d.mts +9 -3
- package/dist/actions/list-wordpress-languages.d.mts.map +1 -1
- package/dist/actions/list-wordpress-languages.mjs +5 -5
- package/dist/actions/list-wordpress-languages.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,53 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-databases.d.ts
|
|
4
|
-
declare const ServeravatarListDatabasesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ServeravatarListDatabasesInput: z.ZodObject<{
|
|
5
|
+
search: z.ZodOptional<z.ZodString>;
|
|
6
|
+
pagination: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
organization: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ServeravatarListDatabasesOutput: z.ZodObject<{
|
|
10
|
+
databases: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
data: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
host: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
size: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
server_id: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
19
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
21
|
+
server_name: z.ZodNullable<z.ZodString>;
|
|
22
|
+
agent_status: z.ZodNullable<z.ZodString>;
|
|
23
|
+
country_code: z.ZodNullable<z.ZodString>;
|
|
24
|
+
remoteAccess: z.ZodNullable<z.ZodBoolean>;
|
|
25
|
+
database_type: z.ZodNullable<z.ZodString>;
|
|
26
|
+
automatic_backup: z.ZodNullable<z.ZodBoolean>;
|
|
27
|
+
created_by_humans: z.ZodNullable<z.ZodString>;
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
path: z.ZodNullable<z.ZodString>;
|
|
31
|
+
links: z.ZodArray<z.ZodObject<{
|
|
32
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
label: z.ZodNullable<z.ZodString>;
|
|
34
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
last_page: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
current_page: z.ZodNullable<z.ZodNumber>;
|
|
40
|
+
last_page_url: z.ZodNullable<z.ZodString>;
|
|
41
|
+
next_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
prev_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
first_page_url: z.ZodNullable<z.ZodString>;
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
|
+
declare const serveravatarListDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
|
+
organization: string;
|
|
48
|
+
search?: string | undefined;
|
|
49
|
+
pagination?: number | undefined;
|
|
50
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
51
|
//#endregion
|
|
8
52
|
export { serveravatarListDatabases };
|
|
9
53
|
//# sourceMappingURL=list-databases.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-databases.d.cts","names":[],"sources":["../../src/actions/list-databases.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"list-databases.d.cts","names":[],"sources":["../../src/actions/list-databases.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cA0C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -1,9 +1,53 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-databases.d.ts
|
|
4
|
-
declare const ServeravatarListDatabasesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ServeravatarListDatabasesInput: z.ZodObject<{
|
|
5
|
+
search: z.ZodOptional<z.ZodString>;
|
|
6
|
+
pagination: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
organization: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const ServeravatarListDatabasesOutput: z.ZodObject<{
|
|
10
|
+
databases: z.ZodNullable<z.ZodObject<{
|
|
11
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
data: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
14
|
+
host: z.ZodNullable<z.ZodString>;
|
|
15
|
+
name: z.ZodNullable<z.ZodString>;
|
|
16
|
+
size: z.ZodNullable<z.ZodNumber>;
|
|
17
|
+
server_id: z.ZodNullable<z.ZodNumber>;
|
|
18
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
19
|
+
deleted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
21
|
+
server_name: z.ZodNullable<z.ZodString>;
|
|
22
|
+
agent_status: z.ZodNullable<z.ZodString>;
|
|
23
|
+
country_code: z.ZodNullable<z.ZodString>;
|
|
24
|
+
remoteAccess: z.ZodNullable<z.ZodBoolean>;
|
|
25
|
+
database_type: z.ZodNullable<z.ZodString>;
|
|
26
|
+
automatic_backup: z.ZodNullable<z.ZodBoolean>;
|
|
27
|
+
created_by_humans: z.ZodNullable<z.ZodString>;
|
|
28
|
+
}, z.core.$loose>>;
|
|
29
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
30
|
+
path: z.ZodNullable<z.ZodString>;
|
|
31
|
+
links: z.ZodArray<z.ZodObject<{
|
|
32
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
label: z.ZodNullable<z.ZodString>;
|
|
34
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
35
|
+
}, z.core.$loose>>;
|
|
36
|
+
total: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
per_page: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
last_page: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
current_page: z.ZodNullable<z.ZodNumber>;
|
|
40
|
+
last_page_url: z.ZodNullable<z.ZodString>;
|
|
41
|
+
next_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
+
prev_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
|
+
first_page_url: z.ZodNullable<z.ZodString>;
|
|
44
|
+
}, z.core.$loose>>;
|
|
45
|
+
}, z.core.$loose>;
|
|
46
|
+
declare const serveravatarListDatabases: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
47
|
+
organization: string;
|
|
48
|
+
search?: string | undefined;
|
|
49
|
+
pagination?: number | undefined;
|
|
50
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
51
|
//#endregion
|
|
8
52
|
export { serveravatarListDatabases };
|
|
9
53
|
//# sourceMappingURL=list-databases.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-databases.d.mts","names":[],"sources":["../../src/actions/list-databases.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"list-databases.d.mts","names":[],"sources":["../../src/actions/list-databases.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cA0C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
|
|
@@ -7,48 +7,48 @@ const ServeravatarListDatabasesInput = z.object({
|
|
|
7
7
|
organization: z.string().describe("The organization identifier")
|
|
8
8
|
}).describe("Request parameters for listing databases in an organization.");
|
|
9
9
|
const ServeravatarListDatabases_DatabaseSchema = z.object({
|
|
10
|
-
id: z.number().int().describe("Unique identifier of the database"),
|
|
11
|
-
host: z.string().describe("Database host address"),
|
|
12
|
-
name: z.string().describe("Name of the database"),
|
|
13
|
-
size: z.number().int().describe("Size of the database in bytes"),
|
|
14
|
-
server_id: z.number().int().describe("Server identifier where database is located"),
|
|
15
|
-
created_at: z.string().describe("Timestamp when the database was created"),
|
|
10
|
+
id: z.number().int().describe("Unique identifier of the database").nullable(),
|
|
11
|
+
host: z.string().describe("Database host address").nullable(),
|
|
12
|
+
name: z.string().describe("Name of the database").nullable(),
|
|
13
|
+
size: z.number().int().describe("Size of the database in bytes").nullable(),
|
|
14
|
+
server_id: z.number().int().describe("Server identifier where database is located").nullable(),
|
|
15
|
+
created_at: z.string().describe("Timestamp when the database was created").nullable(),
|
|
16
16
|
deleted_at: z.string().describe("Timestamp when the database was deleted (null if not deleted)").nullable().optional(),
|
|
17
|
-
updated_at: z.string().describe("Timestamp when the database was last updated"),
|
|
18
|
-
server_name: z.string().describe("Name of the server"),
|
|
19
|
-
agent_status: z.string().describe("Status of the agent"),
|
|
20
|
-
country_code: z.string().describe("Country code of the server location"),
|
|
21
|
-
remoteAccess: z.boolean().describe("Whether remote access is enabled"),
|
|
22
|
-
database_type: z.string().describe("Type of database (e.g., 'mongodb', 'mysql')"),
|
|
23
|
-
automatic_backup: z.boolean().describe("Whether automatic backup is enabled"),
|
|
24
|
-
created_by_humans: z.string().describe("Human-readable duration since creation")
|
|
25
|
-
}).describe("Schema for a single database in ServerAvatar.");
|
|
17
|
+
updated_at: z.string().describe("Timestamp when the database was last updated").nullable(),
|
|
18
|
+
server_name: z.string().describe("Name of the server").nullable(),
|
|
19
|
+
agent_status: z.string().describe("Status of the agent").nullable(),
|
|
20
|
+
country_code: z.string().describe("Country code of the server location").nullable(),
|
|
21
|
+
remoteAccess: z.boolean().describe("Whether remote access is enabled").nullable(),
|
|
22
|
+
database_type: z.string().describe("Type of database (e.g., 'mongodb', 'mysql')").nullable(),
|
|
23
|
+
automatic_backup: z.boolean().describe("Whether automatic backup is enabled").nullable(),
|
|
24
|
+
created_by_humans: z.string().describe("Human-readable duration since creation").nullable()
|
|
25
|
+
}).passthrough().describe("Schema for a single database in ServerAvatar.");
|
|
26
26
|
const ServeravatarListDatabases_DatabaseLinkSchema = z.object({
|
|
27
27
|
url: z.string().describe("URL for the navigation link").nullable().optional(),
|
|
28
|
-
label: z.string().describe("Label for the link"),
|
|
29
|
-
active: z.boolean().describe("Whether this link is active")
|
|
30
|
-
}).describe("Navigation link for pagination.");
|
|
28
|
+
label: z.string().describe("Label for the link").nullable(),
|
|
29
|
+
active: z.boolean().describe("Whether this link is active").nullable()
|
|
30
|
+
}).passthrough().describe("Navigation link for pagination.");
|
|
31
31
|
const ServeravatarListDatabases_DatabasesPaginationSchema = z.object({
|
|
32
32
|
to: z.number().int().describe("Ending result number").nullable().optional(),
|
|
33
33
|
data: z.array(ServeravatarListDatabases_DatabaseSchema).describe("List of databases"),
|
|
34
34
|
from: z.number().int().describe("Starting result number").nullable().optional(),
|
|
35
|
-
path: z.string().describe("API path"),
|
|
35
|
+
path: z.string().describe("API path").nullable(),
|
|
36
36
|
links: z.array(ServeravatarListDatabases_DatabaseLinkSchema).describe("Navigation links"),
|
|
37
|
-
total: z.number().int().describe("Total count of databases"),
|
|
38
|
-
per_page: z.number().int().describe("Results per page"),
|
|
39
|
-
last_page: z.number().int().describe("Last page number"),
|
|
40
|
-
current_page: z.number().int().describe("Current page number"),
|
|
41
|
-
last_page_url: z.string().describe("URL for the last page"),
|
|
37
|
+
total: z.number().int().describe("Total count of databases").nullable(),
|
|
38
|
+
per_page: z.number().int().describe("Results per page").nullable(),
|
|
39
|
+
last_page: z.number().int().describe("Last page number").nullable(),
|
|
40
|
+
current_page: z.number().int().describe("Current page number").nullable(),
|
|
41
|
+
last_page_url: z.string().describe("URL for the last page").nullable(),
|
|
42
42
|
next_page_url: z.string().describe("URL for the next page (null if no next page)").nullable().optional(),
|
|
43
43
|
prev_page_url: z.string().describe("URL for the previous page (null if no previous page)").nullable().optional(),
|
|
44
|
-
first_page_url: z.string().describe("URL for the first page")
|
|
45
|
-
}).describe("Pagination metadata and database list.");
|
|
44
|
+
first_page_url: z.string().describe("URL for the first page").nullable()
|
|
45
|
+
}).passthrough().describe("Pagination metadata and database list.");
|
|
46
46
|
const serveravatarListDatabases = action("SERVERAVATAR_LIST_DATABASES", {
|
|
47
47
|
slug: "serveravatar-list-databases",
|
|
48
48
|
name: "List Databases",
|
|
49
49
|
description: "Tool to list databases for a given organization. Use when you need to retrieve all databases or filter by name.",
|
|
50
50
|
input: ServeravatarListDatabasesInput,
|
|
51
|
-
output: z.object({ databases: ServeravatarListDatabases_DatabasesPaginationSchema.nullable() }).describe("Response schema for listing databases with pagination metadata.")
|
|
51
|
+
output: z.object({ databases: ServeravatarListDatabases_DatabasesPaginationSchema.nullable() }).passthrough().describe("Response schema for listing databases with pagination metadata.")
|
|
52
52
|
});
|
|
53
53
|
//#endregion
|
|
54
54
|
export { serveravatarListDatabases };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-databases.mjs","names":[],"sources":["../../src/actions/list-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListDatabasesInput
|
|
1
|
+
{"version":3,"file":"list-databases.mjs","names":[],"sources":["../../src/actions/list-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListDatabasesInput = z.object({\n search: z.string().describe(\"Filter results by database name\").optional(),\n pagination: z.number().int().describe(\"Enable pagination (set to 1 to enable)\").optional(),\n organization: z.string().describe(\"The organization identifier\"),\n}).describe(\"Request parameters for listing databases in an organization.\");\nconst ServeravatarListDatabases_DatabaseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the database\").nullable(),\n host: z.string().describe(\"Database host address\").nullable(),\n name: z.string().describe(\"Name of the database\").nullable(),\n size: z.number().int().describe(\"Size of the database in bytes\").nullable(),\n server_id: z.number().int().describe(\"Server identifier where database is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the database was created\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the database was deleted (null if not deleted)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the database was last updated\").nullable(),\n server_name: z.string().describe(\"Name of the server\").nullable(),\n agent_status: z.string().describe(\"Status of the agent\").nullable(),\n country_code: z.string().describe(\"Country code of the server location\").nullable(),\n remoteAccess: z.boolean().describe(\"Whether remote access is enabled\").nullable(),\n database_type: z.string().describe(\"Type of database (e.g., 'mongodb', 'mysql')\").nullable(),\n automatic_backup: z.boolean().describe(\"Whether automatic backup is enabled\").nullable(),\n created_by_humans: z.string().describe(\"Human-readable duration since creation\").nullable(),\n}).passthrough().describe(\"Schema for a single database in ServerAvatar.\");\nconst ServeravatarListDatabases_DatabaseLinkSchema = z.object({\n url: z.string().describe(\"URL for the navigation link\").nullable().optional(),\n label: z.string().describe(\"Label for the link\").nullable(),\n active: z.boolean().describe(\"Whether this link is active\").nullable(),\n}).passthrough().describe(\"Navigation link for pagination.\");\nconst ServeravatarListDatabases_DatabasesPaginationSchema = z.object({\n to: z.number().int().describe(\"Ending result number\").nullable().optional(),\n data: z.array(ServeravatarListDatabases_DatabaseSchema).describe(\"List of databases\"),\n from: z.number().int().describe(\"Starting result number\").nullable().optional(),\n path: z.string().describe(\"API path\").nullable(),\n links: z.array(ServeravatarListDatabases_DatabaseLinkSchema).describe(\"Navigation links\"),\n total: z.number().int().describe(\"Total count of databases\").nullable(),\n per_page: z.number().int().describe(\"Results per page\").nullable(),\n last_page: z.number().int().describe(\"Last page number\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n last_page_url: z.string().describe(\"URL for the last page\").nullable(),\n next_page_url: z.string().describe(\"URL for the next page (null if no next page)\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for the previous page (null if no previous page)\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for the first page\").nullable(),\n}).passthrough().describe(\"Pagination metadata and database list.\");\nexport const ServeravatarListDatabasesOutput = z.object({\n databases: ServeravatarListDatabases_DatabasesPaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing databases with pagination metadata.\");\n\nexport const serveravatarListDatabases = action(\"SERVERAVATAR_LIST_DATABASES\", {\n slug: \"serveravatar-list-databases\",\n name: \"List Databases\",\n description: \"Tool to list databases for a given organization. Use when you need to retrieve all databases or filter by name.\",\n input: ServeravatarListDatabasesInput,\n output: ServeravatarListDatabasesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACzF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AACjE,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YA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9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU,CAAC,CAAC,SAAS;CAC/C,OAAO,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,kBAAkB;CACxF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAClE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACrE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,WAAW,oDAAoD,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
|
|
@@ -9,12 +9,12 @@ const ServeravatarListGitProviders_GitProviderDataSchema = zod.z.object({
|
|
|
9
9
|
created_at: zod.z.string().describe("Timestamp when the git provider was created").nullable().optional(),
|
|
10
10
|
updated_at: zod.z.string().describe("Timestamp when the git provider was last updated").nullable().optional(),
|
|
11
11
|
organization_id: zod.z.number().int().describe("Organization ID this provider belongs to").nullable().optional()
|
|
12
|
-
}).describe("Model representing a single git provider.");
|
|
12
|
+
}).passthrough().describe("Model representing a single git provider.");
|
|
13
13
|
const ServeravatarListGitProviders_LinkDataSchema = zod.z.object({
|
|
14
14
|
url: zod.z.string().describe("URL for the pagination link").nullable().optional(),
|
|
15
15
|
label: zod.z.string().describe("Label for the pagination link").nullable().optional(),
|
|
16
16
|
active: zod.z.boolean().describe("Whether this link is active").nullable().optional()
|
|
17
|
-
}).describe("Model representing pagination link.");
|
|
17
|
+
}).passthrough().describe("Model representing pagination link.");
|
|
18
18
|
const ServeravatarListGitProviders_GitProvidersDataSchema = zod.z.object({
|
|
19
19
|
to: zod.z.number().int().describe("Ending record number").nullable().optional(),
|
|
20
20
|
data: zod.z.array(ServeravatarListGitProviders_GitProviderDataSchema).describe("List of git providers").nullable().optional(),
|
|
@@ -29,8 +29,8 @@ const ServeravatarListGitProviders_GitProvidersDataSchema = zod.z.object({
|
|
|
29
29
|
next_page_url: zod.z.string().describe("URL for next page").nullable().optional(),
|
|
30
30
|
prev_page_url: zod.z.string().describe("URL for previous page").nullable().optional(),
|
|
31
31
|
first_page_url: zod.z.string().describe("URL for first page").nullable().optional()
|
|
32
|
-
}).describe("Git providers list with pagination information.");
|
|
33
|
-
const ServeravatarListGitProvidersOutput = zod.z.object({ git_providers: ServeravatarListGitProviders_GitProvidersDataSchema.nullable().optional() }).describe("Response model for listing git providers in an organization.");
|
|
32
|
+
}).passthrough().describe("Git providers list with pagination information.");
|
|
33
|
+
const ServeravatarListGitProvidersOutput = zod.z.object({ git_providers: ServeravatarListGitProviders_GitProvidersDataSchema.nullable().optional() }).passthrough().describe("Response model for listing git providers in an organization.");
|
|
34
34
|
const serveravatarListGitProviders = require_action.action("SERVERAVATAR_LIST_GIT_PROVIDERS", {
|
|
35
35
|
slug: "serveravatar-list-git-providers",
|
|
36
36
|
name: "List Git Providers",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-providers.cjs","names":["z","action"],"sources":["../../src/actions/list-git-providers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListGitProvidersInput
|
|
1
|
+
{"version":3,"file":"list-git-providers.cjs","names":["z","action"],"sources":["../../src/actions/list-git-providers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListGitProvidersInput = z.object({\n organization: z.number().int().describe(\"The organization ID to list git providers for\"),\n}).describe(\"Request model for listing git providers in an organization.\");\nconst ServeravatarListGitProviders_GitProviderDataSchema = z.object({\n id: z.number().int().describe(\"Git provider ID\").nullable().optional(),\n name: z.string().describe(\"Git provider name\").nullable().optional(),\n type: z.string().describe(\"Git provider type (e.g., github, gitlab, bitbucket)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the git provider was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the git provider was last updated\").nullable().optional(),\n organization_id: z.number().int().describe(\"Organization ID this provider belongs to\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single git provider.\");\nconst ServeravatarListGitProviders_LinkDataSchema = z.object({\n url: z.string().describe(\"URL for the pagination link\").nullable().optional(),\n label: z.string().describe(\"Label for the pagination link\").nullable().optional(),\n active: z.boolean().describe(\"Whether this link is active\").nullable().optional(),\n}).passthrough().describe(\"Model representing pagination link.\");\nconst ServeravatarListGitProviders_GitProvidersDataSchema = z.object({\n to: z.number().int().describe(\"Ending record number\").nullable().optional(),\n data: z.array(ServeravatarListGitProviders_GitProviderDataSchema).describe(\"List of git providers\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number\").nullable().optional(),\n path: z.string().describe(\"API path\").nullable().optional(),\n links: z.array(ServeravatarListGitProviders_LinkDataSchema).describe(\"Pagination links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records\").nullable().optional(),\n per_page: z.number().int().describe(\"Records per page\").nullable().optional(),\n last_page: z.number().int().describe(\"Last page number\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number\").nullable().optional(),\n last_page_url: z.string().describe(\"URL for last page\").nullable().optional(),\n next_page_url: z.string().describe(\"URL for next page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for previous page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for first page\").nullable().optional(),\n}).passthrough().describe(\"Git providers list with pagination information.\");\nexport const ServeravatarListGitProvidersOutput = z.object({\n git_providers: ServeravatarListGitProviders_GitProvidersDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing git providers in an organization.\");\n\nexport const serveravatarListGitProviders = action(\"SERVERAVATAR_LIST_GIT_PROVIDERS\", {\n slug: \"serveravatar-list-git-providers\",\n name: \"List Git Providers\",\n description: \"Tool to list git providers for a specific organization. Use when you need to retrieve all git providers configured for an organization.\",\n input: ServeravatarListGitProvidersInput,\n output: ServeravatarListGitProvidersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACzF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kD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|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ServeravatarListGitProvidersInput: z.ZodObject<{
|
|
5
|
+
organization: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ServeravatarListGitProvidersOutput: z.ZodObject<{
|
|
8
|
+
git_providers: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
organization_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
last_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
last_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
next_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
prev_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
first_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
declare const serveravatarListGitProviders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
|
+
organization: number;
|
|
37
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
38
|
//#endregion
|
|
8
39
|
export { serveravatarListGitProviders };
|
|
9
40
|
//# sourceMappingURL=list-git-providers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-providers.d.cts","names":[],"sources":["../../src/actions/list-git-providers.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"list-git-providers.d.cts","names":[],"sources":["../../src/actions/list-git-providers.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cA+BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -1,9 +1,40 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-git-providers.d.ts
|
|
4
|
-
declare const ServeravatarListGitProvidersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ServeravatarListGitProvidersInput: z.ZodObject<{
|
|
5
|
+
organization: z.ZodNumber;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ServeravatarListGitProvidersOutput: z.ZodObject<{
|
|
8
|
+
git_providers: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
|
+
to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
organization_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
|
+
from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
|
+
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
last_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
current_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
last_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
next_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
prev_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
first_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
declare const serveravatarListGitProviders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
|
+
organization: number;
|
|
37
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
38
|
//#endregion
|
|
8
39
|
export { serveravatarListGitProviders };
|
|
9
40
|
//# sourceMappingURL=list-git-providers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-providers.d.mts","names":[],"sources":["../../src/actions/list-git-providers.ts"],"mappings":";;;cAIa,iCAAA,
|
|
1
|
+
{"version":3,"file":"list-git-providers.d.mts","names":[],"sources":["../../src/actions/list-git-providers.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cA+BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -9,12 +9,12 @@ const ServeravatarListGitProviders_GitProviderDataSchema = z.object({
|
|
|
9
9
|
created_at: z.string().describe("Timestamp when the git provider was created").nullable().optional(),
|
|
10
10
|
updated_at: z.string().describe("Timestamp when the git provider was last updated").nullable().optional(),
|
|
11
11
|
organization_id: z.number().int().describe("Organization ID this provider belongs to").nullable().optional()
|
|
12
|
-
}).describe("Model representing a single git provider.");
|
|
12
|
+
}).passthrough().describe("Model representing a single git provider.");
|
|
13
13
|
const ServeravatarListGitProviders_LinkDataSchema = z.object({
|
|
14
14
|
url: z.string().describe("URL for the pagination link").nullable().optional(),
|
|
15
15
|
label: z.string().describe("Label for the pagination link").nullable().optional(),
|
|
16
16
|
active: z.boolean().describe("Whether this link is active").nullable().optional()
|
|
17
|
-
}).describe("Model representing pagination link.");
|
|
17
|
+
}).passthrough().describe("Model representing pagination link.");
|
|
18
18
|
const ServeravatarListGitProviders_GitProvidersDataSchema = z.object({
|
|
19
19
|
to: z.number().int().describe("Ending record number").nullable().optional(),
|
|
20
20
|
data: z.array(ServeravatarListGitProviders_GitProviderDataSchema).describe("List of git providers").nullable().optional(),
|
|
@@ -29,13 +29,13 @@ const ServeravatarListGitProviders_GitProvidersDataSchema = z.object({
|
|
|
29
29
|
next_page_url: z.string().describe("URL for next page").nullable().optional(),
|
|
30
30
|
prev_page_url: z.string().describe("URL for previous page").nullable().optional(),
|
|
31
31
|
first_page_url: z.string().describe("URL for first page").nullable().optional()
|
|
32
|
-
}).describe("Git providers list with pagination information.");
|
|
32
|
+
}).passthrough().describe("Git providers list with pagination information.");
|
|
33
33
|
const serveravatarListGitProviders = action("SERVERAVATAR_LIST_GIT_PROVIDERS", {
|
|
34
34
|
slug: "serveravatar-list-git-providers",
|
|
35
35
|
name: "List Git Providers",
|
|
36
36
|
description: "Tool to list git providers for a specific organization. Use when you need to retrieve all git providers configured for an organization.",
|
|
37
37
|
input: ServeravatarListGitProvidersInput,
|
|
38
|
-
output: z.object({ git_providers: ServeravatarListGitProviders_GitProvidersDataSchema.nullable().optional() }).describe("Response model for listing git providers in an organization.")
|
|
38
|
+
output: z.object({ git_providers: ServeravatarListGitProviders_GitProvidersDataSchema.nullable().optional() }).passthrough().describe("Response model for listing git providers in an organization.")
|
|
39
39
|
});
|
|
40
40
|
//#endregion
|
|
41
41
|
export { serveravatarListGitProviders };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-providers.mjs","names":[],"sources":["../../src/actions/list-git-providers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListGitProvidersInput
|
|
1
|
+
{"version":3,"file":"list-git-providers.mjs","names":[],"sources":["../../src/actions/list-git-providers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListGitProvidersInput = z.object({\n organization: z.number().int().describe(\"The organization ID to list git providers for\"),\n}).describe(\"Request model for listing git providers in an organization.\");\nconst ServeravatarListGitProviders_GitProviderDataSchema = z.object({\n id: z.number().int().describe(\"Git provider ID\").nullable().optional(),\n name: z.string().describe(\"Git provider name\").nullable().optional(),\n type: z.string().describe(\"Git provider type (e.g., github, gitlab, bitbucket)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the git provider was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the git provider was last updated\").nullable().optional(),\n organization_id: z.number().int().describe(\"Organization ID this provider belongs to\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single git provider.\");\nconst ServeravatarListGitProviders_LinkDataSchema = z.object({\n url: z.string().describe(\"URL for the pagination link\").nullable().optional(),\n label: z.string().describe(\"Label for the pagination link\").nullable().optional(),\n active: z.boolean().describe(\"Whether this link is active\").nullable().optional(),\n}).passthrough().describe(\"Model representing pagination link.\");\nconst ServeravatarListGitProviders_GitProvidersDataSchema = z.object({\n to: z.number().int().describe(\"Ending record number\").nullable().optional(),\n data: z.array(ServeravatarListGitProviders_GitProviderDataSchema).describe(\"List of git providers\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number\").nullable().optional(),\n path: z.string().describe(\"API path\").nullable().optional(),\n links: z.array(ServeravatarListGitProviders_LinkDataSchema).describe(\"Pagination links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records\").nullable().optional(),\n per_page: z.number().int().describe(\"Records per page\").nullable().optional(),\n last_page: z.number().int().describe(\"Last page number\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number\").nullable().optional(),\n last_page_url: z.string().describe(\"URL for last page\").nullable().optional(),\n next_page_url: z.string().describe(\"URL for next page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for previous page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for first page\").nullable().optional(),\n}).passthrough().describe(\"Git providers list with pagination information.\");\nexport const ServeravatarListGitProvidersOutput = z.object({\n git_providers: ServeravatarListGitProviders_GitProvidersDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing git providers in an organization.\");\n\nexport const serveravatarListGitProviders = action(\"SERVERAVATAR_LIST_GIT_PROVIDERS\", {\n slug: \"serveravatar-list-git-providers\",\n name: \"List Git Providers\",\n description: \"Tool to list git providers for a specific organization. Use when you need to retrieve all git providers configured for an organization.\",\n input: ServeravatarListGitProvidersInput,\n output: ServeravatarListGitProvidersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO,EACxD,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACzF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,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CAAC,CAAC,SAAS;CAC5E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,eAAe,oDAAoD,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
|
|
@@ -11,11 +11,11 @@ const ServeravatarListMembers_UserDataSchema = zod.z.object({
|
|
|
11
11
|
name: zod.z.string().describe("Full name of the user").nullable().optional(),
|
|
12
12
|
email: zod.z.string().describe("Email address of the user").nullable().optional(),
|
|
13
13
|
avatar: zod.z.string().describe("URL to the user's avatar image").nullable().optional()
|
|
14
|
-
}).describe("Model representing user information within a member record.");
|
|
14
|
+
}).passthrough().describe("Model representing user information within a member record.");
|
|
15
15
|
const ServeravatarListMembers_RoleDataSchema = zod.z.object({
|
|
16
16
|
id: zod.z.number().int().describe("Unique identifier for the role").nullable().optional(),
|
|
17
17
|
role: zod.z.string().describe("Name of the role").nullable().optional()
|
|
18
|
-
}).describe("Model representing role information for a member.");
|
|
18
|
+
}).passthrough().describe("Model representing role information for a member.");
|
|
19
19
|
const ServeravatarListMembers_MemberDataSchema = zod.z.object({
|
|
20
20
|
id: zod.z.number().int().describe("Unique identifier for the member record").nullable().optional(),
|
|
21
21
|
user: ServeravatarListMembers_UserDataSchema.nullable().optional(),
|
|
@@ -24,12 +24,12 @@ const ServeravatarListMembers_MemberDataSchema = zod.z.object({
|
|
|
24
24
|
created_at: zod.z.string().describe("ISO 8601 timestamp indicating when the member record was created").nullable().optional(),
|
|
25
25
|
updated_at: zod.z.string().describe("ISO 8601 timestamp indicating when the member record was last updated").nullable().optional(),
|
|
26
26
|
designation: zod.z.string().describe("Role title or designation of the member (e.g., Owner, Admin)").nullable().optional()
|
|
27
|
-
}).describe("Model representing an individual organization member.");
|
|
27
|
+
}).passthrough().describe("Model representing an individual organization member.");
|
|
28
28
|
const ServeravatarListMembers_PaginationLinkSchema = zod.z.object({
|
|
29
29
|
url: zod.z.string().describe("URL for the pagination link").nullable().optional(),
|
|
30
30
|
label: zod.z.string().describe("Label for the pagination link").nullable().optional(),
|
|
31
31
|
active: zod.z.boolean().describe("Whether this link represents the active page").nullable().optional()
|
|
32
|
-
}).describe("Model for pagination navigation links.");
|
|
32
|
+
}).passthrough().describe("Model for pagination navigation links.");
|
|
33
33
|
const ServeravatarListMembers_MembersDataSchema = zod.z.object({
|
|
34
34
|
to: zod.z.number().int().describe("Ending index of items on current page").nullable().optional(),
|
|
35
35
|
data: zod.z.array(ServeravatarListMembers_MemberDataSchema).describe("List of member objects for the current page").nullable().optional(),
|
|
@@ -44,8 +44,8 @@ const ServeravatarListMembers_MembersDataSchema = zod.z.object({
|
|
|
44
44
|
next_page_url: zod.z.string().describe("URL for the next page of results, null if on last page").nullable().optional(),
|
|
45
45
|
prev_page_url: zod.z.string().describe("URL for the previous page of results, null if on first page").nullable().optional(),
|
|
46
46
|
first_page_url: zod.z.string().describe("URL for the first page of results").nullable().optional()
|
|
47
|
-
}).describe("Model for paginated members data.");
|
|
48
|
-
const ServeravatarListMembersOutput = zod.z.object({ members: ServeravatarListMembers_MembersDataSchema.nullable().optional() }).describe("Response model for listing organization members.");
|
|
47
|
+
}).passthrough().describe("Model for paginated members data.");
|
|
48
|
+
const ServeravatarListMembersOutput = zod.z.object({ members: ServeravatarListMembers_MembersDataSchema.nullable().optional() }).passthrough().describe("Response model for listing organization members.");
|
|
49
49
|
const serveravatarListMembers = require_action.action("SERVERAVATAR_LIST_MEMBERS", {
|
|
50
50
|
slug: "serveravatar-list-members",
|
|
51
51
|
name: "List Organization Members",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-members.cjs","names":["z","action"],"sources":["../../src/actions/list-members.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListMembersInput
|
|
1
|
+
{"version":3,"file":"list-members.cjs","names":["z","action"],"sources":["../../src/actions/list-members.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListMembersInput = z.object({\n page: z.number().int().describe(\"Pagination page number for fetching specific page of results\").optional(),\n query: z.string().describe(\"Search filter to find specific members by name or email\").optional(),\n organization: z.string().describe(\"The organization ID to list members for\"),\n}).describe(\"Request model for listing organization members.\");\nconst ServeravatarListMembers_UserDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the user\").nullable().optional(),\n name: z.string().describe(\"Full name of the user\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n avatar: z.string().describe(\"URL to the user's avatar image\").nullable().optional(),\n}).passthrough().describe(\"Model representing user information within a member record.\");\nconst ServeravatarListMembers_RoleDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the role\").nullable().optional(),\n role: z.string().describe(\"Name of the role\").nullable().optional(),\n}).passthrough().describe(\"Model representing role information for a member.\");\nconst ServeravatarListMembers_MemberDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the member record\").nullable().optional(),\n user: ServeravatarListMembers_UserDataSchema.nullable().optional(),\n email: z.string().describe(\"Email address of the member, can be null\").nullable().optional(),\n roles: z.array(ServeravatarListMembers_RoleDataSchema).describe(\"Array of role objects assigned to this member\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp indicating when the member record was created\").nullable().optional(),\n updated_at: z.string().describe(\"ISO 8601 timestamp indicating when the member record was last updated\").nullable().optional(),\n designation: z.string().describe(\"Role title or designation of the member (e.g., Owner, Admin)\").nullable().optional(),\n}).passthrough().describe(\"Model representing an individual organization member.\");\nconst ServeravatarListMembers_PaginationLinkSchema = z.object({\n url: z.string().describe(\"URL for the pagination link\").nullable().optional(),\n label: z.string().describe(\"Label for the pagination link\").nullable().optional(),\n active: z.boolean().describe(\"Whether this link represents the active page\").nullable().optional(),\n}).passthrough().describe(\"Model for pagination navigation links.\");\nconst ServeravatarListMembers_MembersDataSchema = z.object({\n to: z.number().int().describe(\"Ending index of items on current page\").nullable().optional(),\n data: z.array(ServeravatarListMembers_MemberDataSchema).describe(\"List of member objects for the current page\").nullable().optional(),\n from: z.number().int().describe(\"Starting index of items on current page\").nullable().optional(),\n path: z.string().describe(\"Base path for the API endpoint\").nullable().optional(),\n links: z.array(ServeravatarListMembers_PaginationLinkSchema).describe(\"Pagination navigation links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of members across all pages\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of items per page in pagination\").nullable().optional(),\n last_page: z.number().int().describe(\"Last page number in pagination\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number in pagination\").nullable().optional(),\n last_page_url: z.string().describe(\"URL for the last page of results\").nullable().optional(),\n next_page_url: z.string().describe(\"URL for the next page of results, null if on last page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for the previous page of results, null if on first page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for the first page of results\").nullable().optional(),\n}).passthrough().describe(\"Model for paginated members data.\");\nexport const ServeravatarListMembersOutput = z.object({\n members: ServeravatarListMembers_MembersDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing organization members.\");\n\nexport const serveravatarListMembers = action(\"SERVERAVATAR_LIST_MEMBERS\", {\n slug: \"serveravatar-list-members\",\n name: \"List Organization Members\",\n description: \"Tool to list members of a specific organization in ServerAvatar. Use when you need to retrieve all members associated with an organization ID, including their roles and user details.\",\n input: ServeravatarListMembersInput,\n output: ServeravatarListMembersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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