@keystrokehq/serveravatar 0.1.4 → 0.1.6
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 -0
- package/dist/actions/destroy-backups.cjs.map +1 -1
- package/dist/actions/destroy-backups.d.cts +3 -4
- package/dist/actions/destroy-backups.d.cts.map +1 -1
- package/dist/actions/destroy-backups.d.mts +3 -4
- package/dist/actions/destroy-backups.d.mts.map +1 -1
- package/dist/actions/destroy-backups.mjs +1 -0
- package/dist/actions/destroy-backups.mjs.map +1 -1
- package/dist/actions/get-organization.cjs +1 -0
- package/dist/actions/get-organization.cjs.map +1 -1
- package/dist/actions/get-organization.d.cts +3 -3
- package/dist/actions/get-organization.d.cts.map +1 -1
- package/dist/actions/get-organization.d.mts +3 -3
- package/dist/actions/get-organization.d.mts.map +1 -1
- package/dist/actions/get-organization.mjs +1 -0
- package/dist/actions/get-organization.mjs.map +1 -1
- package/dist/actions/list-applications.cjs +1 -0
- package/dist/actions/list-applications.cjs.map +1 -1
- package/dist/actions/list-applications.d.cts +3 -3
- package/dist/actions/list-applications.d.cts.map +1 -1
- package/dist/actions/list-applications.d.mts +3 -3
- package/dist/actions/list-applications.d.mts.map +1 -1
- package/dist/actions/list-applications.mjs +1 -0
- package/dist/actions/list-applications.mjs.map +1 -1
- package/dist/actions/list-backups-archive.cjs +1 -0
- package/dist/actions/list-backups-archive.cjs.map +1 -1
- package/dist/actions/list-backups-archive.d.cts +3 -5
- package/dist/actions/list-backups-archive.d.cts.map +1 -1
- package/dist/actions/list-backups-archive.d.mts +3 -5
- package/dist/actions/list-backups-archive.d.mts.map +1 -1
- package/dist/actions/list-backups-archive.mjs +1 -0
- package/dist/actions/list-backups-archive.mjs.map +1 -1
- package/dist/actions/list-backups-deleted-server.cjs +1 -0
- package/dist/actions/list-backups-deleted-server.cjs.map +1 -1
- package/dist/actions/list-backups-deleted-server.d.cts +3 -4
- package/dist/actions/list-backups-deleted-server.d.cts.map +1 -1
- package/dist/actions/list-backups-deleted-server.d.mts +3 -4
- package/dist/actions/list-backups-deleted-server.d.mts.map +1 -1
- package/dist/actions/list-backups-deleted-server.mjs +1 -0
- package/dist/actions/list-backups-deleted-server.mjs.map +1 -1
- package/dist/actions/list-backups-presets.cjs +1 -0
- package/dist/actions/list-backups-presets.cjs.map +1 -1
- package/dist/actions/list-backups-presets.d.cts +3 -4
- package/dist/actions/list-backups-presets.d.cts.map +1 -1
- package/dist/actions/list-backups-presets.d.mts +3 -4
- package/dist/actions/list-backups-presets.d.mts.map +1 -1
- package/dist/actions/list-backups-presets.mjs +1 -0
- package/dist/actions/list-backups-presets.mjs.map +1 -1
- package/dist/actions/list-backups.cjs +1 -0
- package/dist/actions/list-backups.cjs.map +1 -1
- package/dist/actions/list-backups.d.cts +3 -4
- package/dist/actions/list-backups.d.cts.map +1 -1
- package/dist/actions/list-backups.d.mts +3 -4
- package/dist/actions/list-backups.d.mts.map +1 -1
- package/dist/actions/list-backups.mjs +1 -0
- package/dist/actions/list-backups.mjs.map +1 -1
- package/dist/actions/list-cloud-server-providers.cjs +1 -0
- package/dist/actions/list-cloud-server-providers.cjs.map +1 -1
- package/dist/actions/list-cloud-server-providers.d.cts +3 -6
- package/dist/actions/list-cloud-server-providers.d.cts.map +1 -1
- package/dist/actions/list-cloud-server-providers.d.mts +3 -6
- package/dist/actions/list-cloud-server-providers.d.mts.map +1 -1
- package/dist/actions/list-cloud-server-providers.mjs +1 -0
- package/dist/actions/list-cloud-server-providers.mjs.map +1 -1
- package/dist/actions/list-cloud-storage-providers.cjs +1 -0
- package/dist/actions/list-cloud-storage-providers.cjs.map +1 -1
- package/dist/actions/list-cloud-storage-providers.d.cts +3 -3
- package/dist/actions/list-cloud-storage-providers.d.cts.map +1 -1
- package/dist/actions/list-cloud-storage-providers.d.mts +3 -3
- package/dist/actions/list-cloud-storage-providers.d.mts.map +1 -1
- package/dist/actions/list-cloud-storage-providers.mjs +1 -0
- package/dist/actions/list-cloud-storage-providers.mjs.map +1 -1
- package/dist/actions/list-cronjobs-presets.cjs +1 -0
- package/dist/actions/list-cronjobs-presets.cjs.map +1 -1
- package/dist/actions/list-cronjobs-presets.d.cts +3 -4
- package/dist/actions/list-cronjobs-presets.d.cts.map +1 -1
- package/dist/actions/list-cronjobs-presets.d.mts +3 -4
- package/dist/actions/list-cronjobs-presets.d.mts.map +1 -1
- package/dist/actions/list-cronjobs-presets.mjs +1 -0
- package/dist/actions/list-cronjobs-presets.mjs.map +1 -1
- package/dist/actions/list-databases.cjs +1 -0
- package/dist/actions/list-databases.cjs.map +1 -1
- package/dist/actions/list-databases.d.cts +3 -5
- package/dist/actions/list-databases.d.cts.map +1 -1
- package/dist/actions/list-databases.d.mts +3 -5
- package/dist/actions/list-databases.d.mts.map +1 -1
- package/dist/actions/list-databases.mjs +1 -0
- package/dist/actions/list-databases.mjs.map +1 -1
- package/dist/actions/list-git-providers.cjs +1 -0
- package/dist/actions/list-git-providers.cjs.map +1 -1
- package/dist/actions/list-git-providers.d.cts +3 -3
- package/dist/actions/list-git-providers.d.cts.map +1 -1
- package/dist/actions/list-git-providers.d.mts +3 -3
- package/dist/actions/list-git-providers.d.mts.map +1 -1
- package/dist/actions/list-git-providers.mjs +1 -0
- package/dist/actions/list-git-providers.mjs.map +1 -1
- package/dist/actions/list-members.cjs +1 -0
- package/dist/actions/list-members.cjs.map +1 -1
- package/dist/actions/list-members.d.cts +3 -5
- package/dist/actions/list-members.d.cts.map +1 -1
- package/dist/actions/list-members.d.mts +3 -5
- package/dist/actions/list-members.d.mts.map +1 -1
- package/dist/actions/list-members.mjs +1 -0
- package/dist/actions/list-members.mjs.map +1 -1
- package/dist/actions/list-organizations.cjs +1 -0
- package/dist/actions/list-organizations.cjs.map +1 -1
- package/dist/actions/list-organizations.d.cts +3 -1
- package/dist/actions/list-organizations.d.cts.map +1 -1
- package/dist/actions/list-organizations.d.mts +3 -1
- package/dist/actions/list-organizations.d.mts.map +1 -1
- package/dist/actions/list-organizations.mjs +1 -0
- package/dist/actions/list-organizations.mjs.map +1 -1
- package/dist/actions/list-servers.cjs +1 -0
- package/dist/actions/list-servers.cjs.map +1 -1
- package/dist/actions/list-servers.d.cts +3 -4
- package/dist/actions/list-servers.d.cts.map +1 -1
- package/dist/actions/list-servers.d.mts +3 -4
- package/dist/actions/list-servers.d.mts.map +1 -1
- package/dist/actions/list-servers.mjs +1 -0
- package/dist/actions/list-servers.mjs.map +1 -1
- package/dist/actions/list-timezones.cjs +1 -0
- package/dist/actions/list-timezones.cjs.map +1 -1
- package/dist/actions/list-timezones.d.cts +3 -1
- package/dist/actions/list-timezones.d.cts.map +1 -1
- package/dist/actions/list-timezones.d.mts +3 -1
- package/dist/actions/list-timezones.d.mts.map +1 -1
- package/dist/actions/list-timezones.mjs +1 -0
- package/dist/actions/list-timezones.mjs.map +1 -1
- package/dist/actions/list-wordpress-languages.cjs +1 -0
- package/dist/actions/list-wordpress-languages.cjs.map +1 -1
- package/dist/actions/list-wordpress-languages.d.cts +3 -1
- package/dist/actions/list-wordpress-languages.d.cts.map +1 -1
- package/dist/actions/list-wordpress-languages.d.mts +3 -1
- package/dist/actions/list-wordpress-languages.d.mts.map +1 -1
- package/dist/actions/list-wordpress-languages.mjs +1 -0
- package/dist/actions/list-wordpress-languages.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- 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
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-cronjobs-presets.d.ts
|
|
@@ -21,10 +23,7 @@ declare const ServeravatarListCronjobsPresetsOutput: z.ZodObject<{
|
|
|
21
23
|
every30Minutes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const serveravatarListCronjobsPresets:
|
|
25
|
-
server: string;
|
|
26
|
-
organization: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const serveravatarListCronjobsPresets: AppAction<typeof ServeravatarListCronjobsPresetsInput, typeof ServeravatarListCronjobsPresetsOutput, typeof serveravatar.credential>;
|
|
28
27
|
//#endregion
|
|
29
28
|
export { serveravatarListCronjobsPresets };
|
|
30
29
|
//# sourceMappingURL=list-cronjobs-presets.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cronjobs-presets.d.mts","names":[],"sources":["../../src/actions/list-cronjobs-presets.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-cronjobs-presets.d.mts","names":[],"sources":["../../src/actions/list-cronjobs-presets.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAkBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cronjobs-presets.mjs","names":[],"sources":["../../src/actions/list-cronjobs-presets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListCronjobsPresetsInput = z.object({\n server: z.string().describe(\"Server identifier to retrieve cronjob presets for.\"),\n organization: z.string().describe(\"Organization identifier for the ServerAvatar account.\"),\n}).describe(\"Request model for listing cronjobs presets.\");\nconst ServeravatarListCronjobsPresets_PresetsDataSchema = z.object({\n everyDay: z.string().describe(\"Cron expression for running every day.\").nullable().optional(),\n everyHour: z.string().describe(\"Cron expression for running every hour.\").nullable().optional(),\n everyWeek: z.string().describe(\"Cron expression for running every week.\").nullable().optional(),\n everyMonth: z.string().describe(\"Cron expression for running every month.\").nullable().optional(),\n every3Hours: z.string().describe(\"Cron expression for running every 3 hours.\").nullable().optional(),\n every6Hours: z.string().describe(\"Cron expression for running every 6 hours.\").nullable().optional(),\n everyMinute: z.string().describe(\"Cron expression for running every minute.\").nullable().optional(),\n every12Hours: z.string().describe(\"Cron expression for running every 12 hours.\").nullable().optional(),\n every5Minutes: z.string().describe(\"Cron expression for running every 5 minutes.\").nullable().optional(),\n every10Minutes: z.string().describe(\"Cron expression for running every 10 minutes.\").nullable().optional(),\n every15Minutes: z.string().describe(\"Cron expression for running every 15 minutes.\").nullable().optional(),\n every30Minutes: z.string().describe(\"Cron expression for running every 30 minutes.\").nullable().optional(),\n}).passthrough().describe(\"Cronjob scheduling presets with various time intervals.\");\nexport const ServeravatarListCronjobsPresetsOutput = z.object({\n presets: ServeravatarListCronjobsPresets_PresetsDataSchema.nullable(),\n}).passthrough().describe(\"Response model for listing cronjobs presets.\");\n\nexport const serveravatarListCronjobsPresets = action(\"SERVERAVATAR_LIST_CRONJOBS_PRESETS\", {\n slug: \"serveravatar-list-cronjobs-presets\",\n name: \"List Cronjobs Presets\",\n description: \"Tool to retrieve available cronjob presets for a server. Use when you need to get standard cron expressions for scheduling tasks at various intervals.\",\n input: ServeravatarListCronjobsPresetsInput,\n output: ServeravatarListCronjobsPresetsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-cronjobs-presets.mjs","names":[],"sources":["../../src/actions/list-cronjobs-presets.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\n\nexport const ServeravatarListCronjobsPresetsInput = z.object({\n server: z.string().describe(\"Server identifier to retrieve cronjob presets for.\"),\n organization: z.string().describe(\"Organization identifier for the ServerAvatar account.\"),\n}).describe(\"Request model for listing cronjobs presets.\");\nconst ServeravatarListCronjobsPresets_PresetsDataSchema = z.object({\n everyDay: z.string().describe(\"Cron expression for running every day.\").nullable().optional(),\n everyHour: z.string().describe(\"Cron expression for running every hour.\").nullable().optional(),\n everyWeek: z.string().describe(\"Cron expression for running every week.\").nullable().optional(),\n everyMonth: z.string().describe(\"Cron expression for running every month.\").nullable().optional(),\n every3Hours: z.string().describe(\"Cron expression for running every 3 hours.\").nullable().optional(),\n every6Hours: z.string().describe(\"Cron expression for running every 6 hours.\").nullable().optional(),\n everyMinute: z.string().describe(\"Cron expression for running every minute.\").nullable().optional(),\n every12Hours: z.string().describe(\"Cron expression for running every 12 hours.\").nullable().optional(),\n every5Minutes: z.string().describe(\"Cron expression for running every 5 minutes.\").nullable().optional(),\n every10Minutes: z.string().describe(\"Cron expression for running every 10 minutes.\").nullable().optional(),\n every15Minutes: z.string().describe(\"Cron expression for running every 15 minutes.\").nullable().optional(),\n every30Minutes: z.string().describe(\"Cron expression for running every 30 minutes.\").nullable().optional(),\n}).passthrough().describe(\"Cronjob scheduling presets with various time intervals.\");\nexport const ServeravatarListCronjobsPresetsOutput = z.object({\n presets: ServeravatarListCronjobsPresets_PresetsDataSchema.nullable(),\n}).passthrough().describe(\"Response model for listing cronjobs presets.\");\n\nexport const serveravatarListCronjobsPresets: AppAction<\n typeof ServeravatarListCronjobsPresetsInput,\n typeof ServeravatarListCronjobsPresetsOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_CRONJOBS_PRESETS\", {\n slug: \"serveravatar-list-cronjobs-presets\",\n name: \"List Cronjobs Presets\",\n description: \"Tool to retrieve available cronjob presets for a server. Use when you need to get standard cron expressions for scheduling tasks at various intervals.\",\n input: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C,SAAS;CACzG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAKnF,MAAa,kCAIT,OAAO,sCAAsC;CAC/C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmD,EAAE,OAAO,EAC5D,SAAS,kDAAkD,SAAS,EACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-databases.cjs","names":["z","action"],"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":"
|
|
1
|
+
{"version":3,"file":"list-databases.cjs","names":["z","action"],"sources":["../../src/actions/list-databases.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\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: AppAction<\n typeof ServeravatarListDatabasesInput,\n typeof ServeravatarListDatabasesOutput,\n typeof serveravatar.credential\n> = 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":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AACjE,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAA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AS,qBAAqB,CAAC,CAAC,SAAS;CACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACrE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,WAAW,oDAAoD,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,4BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-databases.d.ts
|
|
@@ -43,11 +45,7 @@ declare const ServeravatarListDatabasesOutput: z.ZodObject<{
|
|
|
43
45
|
first_page_url: z.ZodNullable<z.ZodString>;
|
|
44
46
|
}, z.core.$loose>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const serveravatarListDatabases:
|
|
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]>;
|
|
48
|
+
declare const serveravatarListDatabases: AppAction<typeof ServeravatarListDatabasesInput, typeof ServeravatarListDatabasesOutput, typeof serveravatar.credential>;
|
|
51
49
|
//#endregion
|
|
52
50
|
export { serveravatarListDatabases };
|
|
53
51
|
//# sourceMappingURL=list-databases.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-databases.d.cts","names":[],"sources":["../../src/actions/list-databases.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-databases.d.cts","names":[],"sources":["../../src/actions/list-databases.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cA0C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-databases.d.ts
|
|
@@ -43,11 +45,7 @@ declare const ServeravatarListDatabasesOutput: z.ZodObject<{
|
|
|
43
45
|
first_page_url: z.ZodNullable<z.ZodString>;
|
|
44
46
|
}, z.core.$loose>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const serveravatarListDatabases:
|
|
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]>;
|
|
48
|
+
declare const serveravatarListDatabases: AppAction<typeof ServeravatarListDatabasesInput, typeof ServeravatarListDatabasesOutput, typeof serveravatar.credential>;
|
|
51
49
|
//#endregion
|
|
52
50
|
export { serveravatarListDatabases };
|
|
53
51
|
//# sourceMappingURL=list-databases.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-databases.d.mts","names":[],"sources":["../../src/actions/list-databases.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-databases.d.mts","names":[],"sources":["../../src/actions/list-databases.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cA0C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-databases.mjs","names":[],"sources":["../../src/actions/list-databases.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\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: AppAction<\n typeof ServeravatarListDatabasesInput,\n typeof ServeravatarListDatabasesOutput,\n typeof serveravatar.credential\n> = 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":";;;;AAMA,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,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AAS,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,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,WAAW,oDAAoD,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-git-providers.cjs","names":["z","action"],"sources":["../../src/actions/list-git-providers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\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: AppAction<\n typeof ServeravatarListGitProvidersInput,\n typeof ServeravatarListGitProvidersOutput,\n typeof serveravatar.credential\n> = 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":";;;;AAMA,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,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,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,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAA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,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,eAAe,oDAAoD,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,+BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-git-providers.d.ts
|
|
@@ -32,9 +34,7 @@ declare const ServeravatarListGitProvidersOutput: z.ZodObject<{
|
|
|
32
34
|
first_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
35
|
}, z.core.$loose>>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const serveravatarListGitProviders:
|
|
36
|
-
organization: number;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const serveravatarListGitProviders: AppAction<typeof ServeravatarListGitProvidersInput, typeof ServeravatarListGitProvidersOutput, typeof serveravatar.credential>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { serveravatarListGitProviders };
|
|
40
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":"
|
|
1
|
+
{"version":3,"file":"list-git-providers.d.cts","names":[],"sources":["../../src/actions/list-git-providers.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cA+BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-git-providers.d.ts
|
|
@@ -32,9 +34,7 @@ declare const ServeravatarListGitProvidersOutput: z.ZodObject<{
|
|
|
32
34
|
first_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
35
|
}, z.core.$loose>>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const serveravatarListGitProviders:
|
|
36
|
-
organization: number;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
37
|
+
declare const serveravatarListGitProviders: AppAction<typeof ServeravatarListGitProvidersInput, typeof ServeravatarListGitProvidersOutput, typeof serveravatar.credential>;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { serveravatarListGitProviders };
|
|
40
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":"
|
|
1
|
+
{"version":3,"file":"list-git-providers.d.mts","names":[],"sources":["../../src/actions/list-git-providers.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cA+BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-git-providers.mjs","names":[],"sources":["../../src/actions/list-git-providers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\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: AppAction<\n typeof ServeravatarListGitProvidersInput,\n typeof ServeravatarListGitProvidersOutput,\n typeof serveravatar.credential\n> = 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":";;;;AAMA,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,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,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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,+BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbgD,EAAE,OAAO,EACzD,eAAe,oDAAoD,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-members.cjs","names":["z","action"],"sources":["../../src/actions/list-members.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\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: AppAction<\n typeof ServeravatarListMembersInput,\n typeof ServeravatarListMembersOutput,\n typeof serveravatar.credential\n> = 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.\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AS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAAS,0CAA0C,SAAS,CAAC,CAAC,SAAS,EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-members.d.ts
|
|
@@ -43,11 +45,7 @@ declare const ServeravatarListMembersOutput: z.ZodObject<{
|
|
|
43
45
|
first_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
}, z.core.$loose>>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const serveravatarListMembers:
|
|
47
|
-
organization: string;
|
|
48
|
-
page?: number | undefined;
|
|
49
|
-
query?: string | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
declare const serveravatarListMembers: AppAction<typeof ServeravatarListMembersInput, typeof ServeravatarListMembersOutput, typeof serveravatar.credential>;
|
|
51
49
|
//#endregion
|
|
52
50
|
export { serveravatarListMembers };
|
|
53
51
|
//# sourceMappingURL=list-members.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-members.d.cts","names":[],"sources":["../../src/actions/list-members.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-members.d.cts","names":[],"sources":["../../src/actions/list-members.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cA4C5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-members.d.ts
|
|
@@ -43,11 +45,7 @@ declare const ServeravatarListMembersOutput: z.ZodObject<{
|
|
|
43
45
|
first_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
46
|
}, z.core.$loose>>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const serveravatarListMembers:
|
|
47
|
-
organization: string;
|
|
48
|
-
page?: number | undefined;
|
|
49
|
-
query?: string | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
48
|
+
declare const serveravatarListMembers: AppAction<typeof ServeravatarListMembersInput, typeof ServeravatarListMembersOutput, typeof serveravatar.credential>;
|
|
51
49
|
//#endregion
|
|
52
50
|
export { serveravatarListMembers };
|
|
53
51
|
//# sourceMappingURL=list-members.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-members.d.mts","names":[],"sources":["../../src/actions/list-members.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-members.d.mts","names":[],"sources":["../../src/actions/list-members.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cA4C5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-members.mjs","names":[],"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":"
|
|
1
|
+
{"version":3,"file":"list-members.mjs","names":[],"sources":["../../src/actions/list-members.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\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: AppAction<\n typeof ServeravatarListMembersInput,\n typeof ServeravatarListMembersOutput,\n typeof serveravatar.credential\n> = 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":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC7E,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D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CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,SAAS,0CAA0C,SAAS,CAAC,CAAC,SAAS,EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-organizations.cjs","names":["z","action"],"sources":["../../src/actions/list-organizations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListOrganizationsInput = z.object({}).describe(\"Request model for listing organizations. No parameters required.\");\nconst ServeravatarListOrganizations_RoleSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the role.\").nullable(),\n role: z.string().describe(\"Name of the role (e.g., 'owner', 'member').\").nullable(),\n}).passthrough().describe(\"Model representing a role within an organization.\");\nconst ServeravatarListOrganizations_MemberSchema = z.object({\n name: z.string().describe(\"Name of the member.\").nullable(),\n email: z.string().describe(\"Email address of the member.\").nullable(),\n roles: z.array(ServeravatarListOrganizations_RoleSchema).describe(\"List of roles assigned to the member.\"),\n avatar: z.string().describe(\"Avatar URL for the member.\").nullable(),\n}).passthrough().describe(\"Model representing a member of an organization.\");\nconst ServeravatarListOrganizations_OrganizationSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the organization.\").nullable(),\n name: z.string().describe(\"Name of the organization.\").nullable(),\n members: z.array(ServeravatarListOrganizations_MemberSchema).describe(\"Array of member objects belonging to the organization.\"),\n created_at: z.string().describe(\"Timestamp indicating when the organization was created.\").nullable(),\n}).passthrough().describe(\"Model representing a ServerAvatar organization.\");\nexport const ServeravatarListOrganizationsOutput = z.object({\n organizations: z.array(ServeravatarListOrganizations_OrganizationSchema).describe(\"Array of organization objects associated with the authenticated user.\"),\n}).passthrough().describe(\"Response model containing the list of organizations.\");\n\nexport const serveravatarListOrganizations = action(\"SERVERAVATAR_LIST_ORGANIZATIONS\", {\n slug: \"serveravatar-list-organizations\",\n name: \"List Organizations\",\n description: \"Tool to list all organizations associated with the authenticated user account. Use when you need to retrieve all organizations the user has access to.\",\n input: ServeravatarListOrganizationsInput,\n output: ServeravatarListOrganizationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-organizations.cjs","names":["z","action"],"sources":["../../src/actions/list-organizations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\n\nexport const ServeravatarListOrganizationsInput = z.object({}).describe(\"Request model for listing organizations. No parameters required.\");\nconst ServeravatarListOrganizations_RoleSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the role.\").nullable(),\n role: z.string().describe(\"Name of the role (e.g., 'owner', 'member').\").nullable(),\n}).passthrough().describe(\"Model representing a role within an organization.\");\nconst ServeravatarListOrganizations_MemberSchema = z.object({\n name: z.string().describe(\"Name of the member.\").nullable(),\n email: z.string().describe(\"Email address of the member.\").nullable(),\n roles: z.array(ServeravatarListOrganizations_RoleSchema).describe(\"List of roles assigned to the member.\"),\n avatar: z.string().describe(\"Avatar URL for the member.\").nullable(),\n}).passthrough().describe(\"Model representing a member of an organization.\");\nconst ServeravatarListOrganizations_OrganizationSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the organization.\").nullable(),\n name: z.string().describe(\"Name of the organization.\").nullable(),\n members: z.array(ServeravatarListOrganizations_MemberSchema).describe(\"Array of member objects belonging to the organization.\"),\n created_at: z.string().describe(\"Timestamp indicating when the organization was created.\").nullable(),\n}).passthrough().describe(\"Model representing a ServerAvatar organization.\");\nexport const ServeravatarListOrganizationsOutput = z.object({\n organizations: z.array(ServeravatarListOrganizations_OrganizationSchema).describe(\"Array of organization objects associated with the authenticated user.\"),\n}).passthrough().describe(\"Response model containing the list of organizations.\");\n\nexport const serveravatarListOrganizations: AppAction<\n typeof ServeravatarListOrganizationsInput,\n typeof ServeravatarListOrganizationsOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_ORGANIZATIONS\", {\n slug: \"serveravatar-list-organizations\",\n name: \"List Organizations\",\n description: \"Tool to list all organizations associated with the authenticated user account. Use when you need to retrieve all organizations the user has access to.\",\n input: ServeravatarListOrganizationsInput,\n output: ServeravatarListOrganizationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC1I,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,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zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-organizations.d.ts
|
|
@@ -18,7 +20,7 @@ declare const ServeravatarListOrganizationsOutput: z.ZodObject<{
|
|
|
18
20
|
created_at: z.ZodNullable<z.ZodString>;
|
|
19
21
|
}, z.core.$loose>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const serveravatarListOrganizations:
|
|
23
|
+
declare const serveravatarListOrganizations: AppAction<typeof ServeravatarListOrganizationsInput, typeof ServeravatarListOrganizationsOutput, typeof serveravatar.credential>;
|
|
22
24
|
//#endregion
|
|
23
25
|
export { serveravatarListOrganizations };
|
|
24
26
|
//# sourceMappingURL=list-organizations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-organizations.d.cts","names":[],"sources":["../../src/actions/list-organizations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-organizations.d.cts","names":[],"sources":["../../src/actions/list-organizations.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-organizations.d.ts
|
|
@@ -18,7 +20,7 @@ declare const ServeravatarListOrganizationsOutput: z.ZodObject<{
|
|
|
18
20
|
created_at: z.ZodNullable<z.ZodString>;
|
|
19
21
|
}, z.core.$loose>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const serveravatarListOrganizations:
|
|
23
|
+
declare const serveravatarListOrganizations: AppAction<typeof ServeravatarListOrganizationsInput, typeof ServeravatarListOrganizationsOutput, typeof serveravatar.credential>;
|
|
22
24
|
//#endregion
|
|
23
25
|
export { serveravatarListOrganizations };
|
|
24
26
|
//# sourceMappingURL=list-organizations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-organizations.d.mts","names":[],"sources":["../../src/actions/list-organizations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-organizations.d.mts","names":[],"sources":["../../src/actions/list-organizations.ts"],"mappings":";;;;;cAMa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAiBlC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAInC,6BAAA,EAA+B,SAAA,QACnC,kCAAA,SACA,mCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-organizations.mjs","names":[],"sources":["../../src/actions/list-organizations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListOrganizationsInput = z.object({}).describe(\"Request model for listing organizations. No parameters required.\");\nconst ServeravatarListOrganizations_RoleSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the role.\").nullable(),\n role: z.string().describe(\"Name of the role (e.g., 'owner', 'member').\").nullable(),\n}).passthrough().describe(\"Model representing a role within an organization.\");\nconst ServeravatarListOrganizations_MemberSchema = z.object({\n name: z.string().describe(\"Name of the member.\").nullable(),\n email: z.string().describe(\"Email address of the member.\").nullable(),\n roles: z.array(ServeravatarListOrganizations_RoleSchema).describe(\"List of roles assigned to the member.\"),\n avatar: z.string().describe(\"Avatar URL for the member.\").nullable(),\n}).passthrough().describe(\"Model representing a member of an organization.\");\nconst ServeravatarListOrganizations_OrganizationSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the organization.\").nullable(),\n name: z.string().describe(\"Name of the organization.\").nullable(),\n members: z.array(ServeravatarListOrganizations_MemberSchema).describe(\"Array of member objects belonging to the organization.\"),\n created_at: z.string().describe(\"Timestamp indicating when the organization was created.\").nullable(),\n}).passthrough().describe(\"Model representing a ServerAvatar organization.\");\nexport const ServeravatarListOrganizationsOutput = z.object({\n organizations: z.array(ServeravatarListOrganizations_OrganizationSchema).describe(\"Array of organization objects associated with the authenticated user.\"),\n}).passthrough().describe(\"Response model containing the list of organizations.\");\n\nexport const serveravatarListOrganizations = action(\"SERVERAVATAR_LIST_ORGANIZATIONS\", {\n slug: \"serveravatar-list-organizations\",\n name: \"List Organizations\",\n description: \"Tool to list all organizations associated with the authenticated user account. Use when you need to retrieve all organizations the user has access to.\",\n input: ServeravatarListOrganizationsInput,\n output: ServeravatarListOrganizationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-organizations.mjs","names":[],"sources":["../../src/actions/list-organizations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\n\nexport const ServeravatarListOrganizationsInput = z.object({}).describe(\"Request model for listing organizations. No parameters required.\");\nconst ServeravatarListOrganizations_RoleSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the role.\").nullable(),\n role: z.string().describe(\"Name of the role (e.g., 'owner', 'member').\").nullable(),\n}).passthrough().describe(\"Model representing a role within an organization.\");\nconst ServeravatarListOrganizations_MemberSchema = z.object({\n name: z.string().describe(\"Name of the member.\").nullable(),\n email: z.string().describe(\"Email address of the member.\").nullable(),\n roles: z.array(ServeravatarListOrganizations_RoleSchema).describe(\"List of roles assigned to the member.\"),\n avatar: z.string().describe(\"Avatar URL for the member.\").nullable(),\n}).passthrough().describe(\"Model representing a member of an organization.\");\nconst ServeravatarListOrganizations_OrganizationSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the organization.\").nullable(),\n name: z.string().describe(\"Name of the organization.\").nullable(),\n members: z.array(ServeravatarListOrganizations_MemberSchema).describe(\"Array of member objects belonging to the organization.\"),\n created_at: z.string().describe(\"Timestamp indicating when the organization was created.\").nullable(),\n}).passthrough().describe(\"Model representing a ServerAvatar organization.\");\nexport const ServeravatarListOrganizationsOutput = z.object({\n organizations: z.array(ServeravatarListOrganizations_OrganizationSchema).describe(\"Array of organization objects associated with the authenticated user.\"),\n}).passthrough().describe(\"Response model containing the list of organizations.\");\n\nexport const serveravatarListOrganizations: AppAction<\n typeof ServeravatarListOrganizationsInput,\n typeof ServeravatarListOrganizationsOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_ORGANIZATIONS\", {\n slug: \"serveravatar-list-organizations\",\n name: \"List Organizations\",\n description: \"Tool to list all organizations associated with the authenticated user account. Use when you need to retrieve all organizations the user has access to.\",\n input: ServeravatarListOrganizationsInput,\n output: ServeravatarListOrganizationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qCAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC1I,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,uCAAuC;CACzG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACrE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3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