@keystrokehq/serveravatar 0.1.5 → 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 -16
- package/dist/actions/destroy-backups.d.cts.map +1 -1
- package/dist/actions/destroy-backups.d.mts +3 -16
- 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 -15
- package/dist/actions/get-organization.d.cts.map +1 -1
- package/dist/actions/get-organization.d.mts +3 -15
- 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 -15
- package/dist/actions/list-applications.d.cts.map +1 -1
- package/dist/actions/list-applications.d.mts +3 -15
- 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 -17
- package/dist/actions/list-backups-archive.d.cts.map +1 -1
- package/dist/actions/list-backups-archive.d.mts +3 -17
- 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 -16
- package/dist/actions/list-backups-deleted-server.d.cts.map +1 -1
- package/dist/actions/list-backups-deleted-server.d.mts +3 -16
- 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 -16
- package/dist/actions/list-backups-presets.d.cts.map +1 -1
- package/dist/actions/list-backups-presets.d.mts +3 -16
- 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 -16
- package/dist/actions/list-backups.d.cts.map +1 -1
- package/dist/actions/list-backups.d.mts +3 -16
- 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 -18
- package/dist/actions/list-cloud-server-providers.d.cts.map +1 -1
- package/dist/actions/list-cloud-server-providers.d.mts +3 -18
- 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 -15
- package/dist/actions/list-cloud-storage-providers.d.cts.map +1 -1
- package/dist/actions/list-cloud-storage-providers.d.mts +3 -15
- 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 -16
- package/dist/actions/list-cronjobs-presets.d.cts.map +1 -1
- package/dist/actions/list-cronjobs-presets.d.mts +3 -16
- 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 -17
- package/dist/actions/list-databases.d.cts.map +1 -1
- package/dist/actions/list-databases.d.mts +3 -17
- 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 -15
- package/dist/actions/list-git-providers.d.cts.map +1 -1
- package/dist/actions/list-git-providers.d.mts +3 -15
- 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 -17
- package/dist/actions/list-members.d.cts.map +1 -1
- package/dist/actions/list-members.d.mts +3 -17
- 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 -13
- package/dist/actions/list-organizations.d.cts.map +1 -1
- package/dist/actions/list-organizations.d.mts +3 -13
- 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 -16
- package/dist/actions/list-servers.d.cts.map +1 -1
- package/dist/actions/list-servers.d.mts +3 -16
- 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 -13
- package/dist/actions/list-timezones.d.cts.map +1 -1
- package/dist/actions/list-timezones.d.mts +3 -13
- 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 -13
- package/dist/actions/list-wordpress-languages.d.cts.map +1 -1
- package/dist/actions/list-wordpress-languages.d.mts +3 -13
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-backups-deleted-server.cjs","names":["z","action"],"sources":["../../src/actions/list-backups-deleted-server.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListBackupsDeletedServerInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Defaults to 1 if not specified.\").optional(),\n organization: z.string().describe(\"Organization ID to retrieve deleted server backups for\"),\n}).describe(\"Request model for listing backups from deleted servers.\");\nconst ServeravatarListBackupsDeletedServer_DeletedServerSchema = z.object({\n id: z.number().int().describe(\"Server ID\").nullable(),\n ip: z.string().describe(\"Server IP address\").nullable(),\n name: z.string().describe(\"Server name\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the server was deleted (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Deleted server object with backup information.\");\nexport const ServeravatarListBackupsDeletedServerOutput = z.object({\n servers: z.array(ServeravatarListBackupsDeletedServer_DeletedServerSchema).describe(\"List of deleted servers with backup information\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing backups from deleted servers.\");\n\nexport const serveravatarListBackupsDeletedServer = action(\"SERVERAVATAR_LIST_BACKUPS_DELETED_SERVER\", {\n slug: \"serveravatar-list-backups-deleted-server\",\n name: \"List Backups for Deleted Servers\",\n description: \"Tool to get list of deleted servers with available backups. Use when you need to retrieve information about servers that have been deleted but still have backup data in the archive.\",\n input: ServeravatarListBackupsDeletedServerInput,\n output: ServeravatarListBackupsDeletedServerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-backups-deleted-server.cjs","names":["z","action"],"sources":["../../src/actions/list-backups-deleted-server.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 ServeravatarListBackupsDeletedServerInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Defaults to 1 if not specified.\").optional(),\n organization: z.string().describe(\"Organization ID to retrieve deleted server backups for\"),\n}).describe(\"Request model for listing backups from deleted servers.\");\nconst ServeravatarListBackupsDeletedServer_DeletedServerSchema = z.object({\n id: z.number().int().describe(\"Server ID\").nullable(),\n ip: z.string().describe(\"Server IP address\").nullable(),\n name: z.string().describe(\"Server name\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the server was deleted (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Deleted server object with backup information.\");\nexport const ServeravatarListBackupsDeletedServerOutput = z.object({\n servers: z.array(ServeravatarListBackupsDeletedServer_DeletedServerSchema).describe(\"List of deleted servers with backup information\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing backups from deleted servers.\");\n\nexport const serveravatarListBackupsDeletedServer: AppAction<\n typeof ServeravatarListBackupsDeletedServerInput,\n typeof ServeravatarListBackupsDeletedServerOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_BACKUPS_DELETED_SERVER\", {\n slug: \"serveravatar-list-backups-deleted-server\",\n name: \"List Backups for Deleted Servers\",\n description: \"Tool to get list of deleted servers with available backups. Use when you need to retrieve information about servers that have been deleted but still have backup data in the archive.\",\n input: ServeravatarListBackupsDeletedServerInput,\n output: ServeravatarListBackupsDeletedServerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC5F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,2DAA2DA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,SAASA,IAAAA,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,uCAITC,eAAAA,OAAO,4CAA4C;CACrD,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-backups-deleted-server.d.ts
|
|
@@ -13,22 +15,7 @@ declare const ServeravatarListBackupsDeletedServerOutput: z.ZodObject<{
|
|
|
13
15
|
deleted_at: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const serveravatarListBackupsDeletedServer:
|
|
17
|
-
organization: string;
|
|
18
|
-
page?: number | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const serveravatarListBackupsDeletedServer: AppAction<typeof ServeravatarListBackupsDeletedServerInput, typeof ServeravatarListBackupsDeletedServerOutput, typeof serveravatar.credential>;
|
|
32
19
|
//#endregion
|
|
33
20
|
export { serveravatarListBackupsDeletedServer };
|
|
34
21
|
//# sourceMappingURL=list-backups-deleted-server.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-backups-deleted-server.d.cts","names":[],"sources":["../../src/actions/list-backups-deleted-server.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-backups-deleted-server.d.cts","names":[],"sources":["../../src/actions/list-backups-deleted-server.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAUzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;cAI1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,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-backups-deleted-server.d.ts
|
|
@@ -13,22 +15,7 @@ declare const ServeravatarListBackupsDeletedServerOutput: z.ZodObject<{
|
|
|
13
15
|
deleted_at: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const serveravatarListBackupsDeletedServer:
|
|
17
|
-
organization: string;
|
|
18
|
-
page?: number | undefined;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const serveravatarListBackupsDeletedServer: AppAction<typeof ServeravatarListBackupsDeletedServerInput, typeof ServeravatarListBackupsDeletedServerOutput, typeof serveravatar.credential>;
|
|
32
19
|
//#endregion
|
|
33
20
|
export { serveravatarListBackupsDeletedServer };
|
|
34
21
|
//# sourceMappingURL=list-backups-deleted-server.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-backups-deleted-server.d.mts","names":[],"sources":["../../src/actions/list-backups-deleted-server.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-backups-deleted-server.d.mts","names":[],"sources":["../../src/actions/list-backups-deleted-server.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;cAUzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;cAI1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-backups-deleted-server.mjs","names":[],"sources":["../../src/actions/list-backups-deleted-server.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListBackupsDeletedServerInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Defaults to 1 if not specified.\").optional(),\n organization: z.string().describe(\"Organization ID to retrieve deleted server backups for\"),\n}).describe(\"Request model for listing backups from deleted servers.\");\nconst ServeravatarListBackupsDeletedServer_DeletedServerSchema = z.object({\n id: z.number().int().describe(\"Server ID\").nullable(),\n ip: z.string().describe(\"Server IP address\").nullable(),\n name: z.string().describe(\"Server name\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the server was deleted (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Deleted server object with backup information.\");\nexport const ServeravatarListBackupsDeletedServerOutput = z.object({\n servers: z.array(ServeravatarListBackupsDeletedServer_DeletedServerSchema).describe(\"List of deleted servers with backup information\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing backups from deleted servers.\");\n\nexport const serveravatarListBackupsDeletedServer = action(\"SERVERAVATAR_LIST_BACKUPS_DELETED_SERVER\", {\n slug: \"serveravatar-list-backups-deleted-server\",\n name: \"List Backups for Deleted Servers\",\n description: \"Tool to get list of deleted servers with available backups. Use when you need to retrieve information about servers that have been deleted but still have backup data in the archive.\",\n input: ServeravatarListBackupsDeletedServerInput,\n output: ServeravatarListBackupsDeletedServerOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-backups-deleted-server.mjs","names":[],"sources":["../../src/actions/list-backups-deleted-server.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 ServeravatarListBackupsDeletedServerInput = z.object({\n page: z.number().int().describe(\"Page number for pagination. Defaults to 1 if not specified.\").optional(),\n organization: z.string().describe(\"Organization ID to retrieve deleted server backups for\"),\n}).describe(\"Request model for listing backups from deleted servers.\");\nconst ServeravatarListBackupsDeletedServer_DeletedServerSchema = z.object({\n id: z.number().int().describe(\"Server ID\").nullable(),\n ip: z.string().describe(\"Server IP address\").nullable(),\n name: z.string().describe(\"Server name\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the server was deleted (ISO 8601 format)\").nullable(),\n}).passthrough().describe(\"Deleted server object with backup information.\");\nexport const ServeravatarListBackupsDeletedServerOutput = z.object({\n servers: z.array(ServeravatarListBackupsDeletedServer_DeletedServerSchema).describe(\"List of deleted servers with backup information\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing backups from deleted servers.\");\n\nexport const serveravatarListBackupsDeletedServer: AppAction<\n typeof ServeravatarListBackupsDeletedServerInput,\n typeof ServeravatarListBackupsDeletedServerOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_BACKUPS_DELETED_SERVER\", {\n slug: \"serveravatar-list-backups-deleted-server\",\n name: \"List Backups for Deleted Servers\",\n description: \"Tool to get list of deleted servers with available backups. Use when you need to retrieve information about servers that have been deleted but still have backup data in the archive.\",\n input: ServeravatarListBackupsDeletedServerInput,\n output: ServeravatarListBackupsDeletedServerOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC5F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,2DAA2D,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAK1E,MAAa,uCAIT,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwD,EAAE,OAAO,EACjE,SAAS,EAAE,MAAM,wDAAwD,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-backups-presets.cjs","names":["z","action"],"sources":["../../src/actions/list-backups-presets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListBackupsPresetsInput = z.object({\n server: z.string().describe(\"Server ID to retrieve backup presets for.\"),\n organization: z.string().describe(\"Organization ID to retrieve backup presets for.\"),\n}).describe(\"Request model for listing backup presets.\");\nexport const ServeravatarListBackupsPresetsOutput = z.object({\n databases: z.unknown().describe(\"Database options (may be null or contain database information).\").nullable().optional(),\n schedules: z.array(z.string()).describe(\"Array of preset backup frequency options like 'Every Hour', 'Every Day', 'Every Week', etc.\").nullable().optional(),\n retentionPeriod: z.array(z.string()).describe(\"Array of data retention duration options like '1 week', '1 Month', '12 Months', etc.\").nullable().optional(),\n selectedDatabase: z.unknown().describe(\"Selected database (may be null or contain selected database information).\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing backup presets.\");\n\nexport const serveravatarListBackupsPresets = action(\"SERVERAVATAR_LIST_BACKUPS_PRESETS\", {\n slug: \"serveravatar-list-backups-presets\",\n name: \"List Backup Presets\",\n description: \"Tool to retrieve backup preset schedules and retention periods for a server. Use when you need to view available backup scheduling options and retention period configurations.\",\n input: ServeravatarListBackupsPresetsInput,\n output: ServeravatarListBackupsPresetsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-backups-presets.cjs","names":["z","action"],"sources":["../../src/actions/list-backups-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 ServeravatarListBackupsPresetsInput = z.object({\n server: z.string().describe(\"Server ID to retrieve backup presets for.\"),\n organization: z.string().describe(\"Organization ID to retrieve backup presets for.\"),\n}).describe(\"Request model for listing backup presets.\");\nexport const ServeravatarListBackupsPresetsOutput = z.object({\n databases: z.unknown().describe(\"Database options (may be null or contain database information).\").nullable().optional(),\n schedules: z.array(z.string()).describe(\"Array of preset backup frequency options like 'Every Hour', 'Every Day', 'Every Week', etc.\").nullable().optional(),\n retentionPeriod: z.array(z.string()).describe(\"Array of data retention duration options like '1 week', '1 Month', '12 Months', etc.\").nullable().optional(),\n selectedDatabase: z.unknown().describe(\"Selected database (may be null or contain selected database information).\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing backup presets.\");\n\nexport const serveravatarListBackupsPresets: AppAction<\n typeof ServeravatarListBackupsPresetsInput,\n typeof ServeravatarListBackupsPresetsOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_BACKUPS_PRESETS\", {\n slug: \"serveravatar-list-backups-presets\",\n name: \"List Backup Presets\",\n description: \"Tool to retrieve backup preset schedules and retention periods for a server. Use when you need to view available backup scheduling options and retention period configurations.\",\n input: ServeravatarListBackupsPresetsInput,\n output: ServeravatarListBackupsPresetsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;AACrF,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,iCAITC,eAAAA,OAAO,qCAAqC;CAC9C,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-backups-presets.d.ts
|
|
@@ -11,22 +13,7 @@ declare const ServeravatarListBackupsPresetsOutput: z.ZodObject<{
|
|
|
11
13
|
retentionPeriod: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
14
|
selectedDatabase: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const serveravatarListBackupsPresets:
|
|
15
|
-
server: string;
|
|
16
|
-
organization: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const serveravatarListBackupsPresets: AppAction<typeof ServeravatarListBackupsPresetsInput, typeof ServeravatarListBackupsPresetsOutput, typeof serveravatar.credential>;
|
|
30
17
|
//#endregion
|
|
31
18
|
export { serveravatarListBackupsPresets };
|
|
32
19
|
//# sourceMappingURL=list-backups-presets.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-backups-presets.d.cts","names":[],"sources":["../../src/actions/list-backups-presets.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-backups-presets.d.cts","names":[],"sources":["../../src/actions/list-backups-presets.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAOpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,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-backups-presets.d.ts
|
|
@@ -11,22 +13,7 @@ declare const ServeravatarListBackupsPresetsOutput: z.ZodObject<{
|
|
|
11
13
|
retentionPeriod: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
14
|
selectedDatabase: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const serveravatarListBackupsPresets:
|
|
15
|
-
server: string;
|
|
16
|
-
organization: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
18
|
-
connectionId: z.ZodString;
|
|
19
|
-
entityId: z.ZodString;
|
|
20
|
-
instanceId: z.ZodString;
|
|
21
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
22
|
-
generic_api_key: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>;
|
|
16
|
+
declare const serveravatarListBackupsPresets: AppAction<typeof ServeravatarListBackupsPresetsInput, typeof ServeravatarListBackupsPresetsOutput, typeof serveravatar.credential>;
|
|
30
17
|
//#endregion
|
|
31
18
|
export { serveravatarListBackupsPresets };
|
|
32
19
|
//# sourceMappingURL=list-backups-presets.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-backups-presets.d.mts","names":[],"sources":["../../src/actions/list-backups-presets.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-backups-presets.d.mts","names":[],"sources":["../../src/actions/list-backups-presets.ts"],"mappings":";;;;;cAMa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;cAInC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;cAOpC,8BAAA,EAAgC,SAAA,QACpC,mCAAA,SACA,oCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-backups-presets.mjs","names":[],"sources":["../../src/actions/list-backups-presets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListBackupsPresetsInput = z.object({\n server: z.string().describe(\"Server ID to retrieve backup presets for.\"),\n organization: z.string().describe(\"Organization ID to retrieve backup presets for.\"),\n}).describe(\"Request model for listing backup presets.\");\nexport const ServeravatarListBackupsPresetsOutput = z.object({\n databases: z.unknown().describe(\"Database options (may be null or contain database information).\").nullable().optional(),\n schedules: z.array(z.string()).describe(\"Array of preset backup frequency options like 'Every Hour', 'Every Day', 'Every Week', etc.\").nullable().optional(),\n retentionPeriod: z.array(z.string()).describe(\"Array of data retention duration options like '1 week', '1 Month', '12 Months', etc.\").nullable().optional(),\n selectedDatabase: z.unknown().describe(\"Selected database (may be null or contain selected database information).\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing backup presets.\");\n\nexport const serveravatarListBackupsPresets = action(\"SERVERAVATAR_LIST_BACKUPS_PRESETS\", {\n slug: \"serveravatar-list-backups-presets\",\n name: \"List Backup Presets\",\n description: \"Tool to retrieve backup preset schedules and retention periods for a server. Use when you need to view available backup scheduling options and retention period configurations.\",\n input: ServeravatarListBackupsPresetsInput,\n output: ServeravatarListBackupsPresetsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-backups-presets.mjs","names":[],"sources":["../../src/actions/list-backups-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 ServeravatarListBackupsPresetsInput = z.object({\n server: z.string().describe(\"Server ID to retrieve backup presets for.\"),\n organization: z.string().describe(\"Organization ID to retrieve backup presets for.\"),\n}).describe(\"Request model for listing backup presets.\");\nexport const ServeravatarListBackupsPresetsOutput = z.object({\n databases: z.unknown().describe(\"Database options (may be null or contain database information).\").nullable().optional(),\n schedules: z.array(z.string()).describe(\"Array of preset backup frequency options like 'Every Hour', 'Every Day', 'Every Week', etc.\").nullable().optional(),\n retentionPeriod: z.array(z.string()).describe(\"Array of data retention duration options like '1 week', '1 Month', '12 Months', etc.\").nullable().optional(),\n selectedDatabase: z.unknown().describe(\"Selected database (may be null or contain selected database information).\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing backup presets.\");\n\nexport const serveravatarListBackupsPresets: AppAction<\n typeof ServeravatarListBackupsPresetsInput,\n typeof ServeravatarListBackupsPresetsOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_BACKUPS_PRESETS\", {\n slug: \"serveravatar-list-backups-presets\",\n name: \"List Backup Presets\",\n description: \"Tool to retrieve backup preset schedules and retention periods for a server. Use when you need to view available backup scheduling options and retention period configurations.\",\n input: ServeravatarListBackupsPresetsInput,\n output: ServeravatarListBackupsPresetsOutput,\n});\n"],"mappings":";;;AAiBA,MAAa,iCAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBiD,EAAE,OAAO;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACvE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACrF,CAAC,CAAC,CAAC,SAAS,2CAgBH;CACP,QAhBkD,EAAE,OAAO;EAC3D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1J,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-backups.cjs","names":["z","action"],"sources":["../../src/actions/list-backups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListBackupsInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve. Default: 1.\").optional(),\n organization: z.number().int().describe(\"Organization ID to list backups for\"),\n}).describe(\"Request model for listing backups in a ServerAvatar organization.\");\nconst ServeravatarListBackups_DatabaseSchema = z.object({\n id: z.number().int().describe(\"Database ID\").nullable().optional(),\n name: z.string().describe(\"Database name\").nullable().optional(),\n}).passthrough().describe(\"Database details associated with a backup.\");\nconst ServeravatarListBackups_ApplicationSchema = z.object({\n id: z.number().int().describe(\"Application ID\").nullable().optional(),\n name: z.string().describe(\"Application name\").nullable().optional(),\n}).passthrough().describe(\"Application details associated with a backup.\");\nconst ServeravatarListBackups_BackupConfigurationSchema = z.object({\n id: z.number().int().describe(\"Backup configuration ID\").nullable().optional(),\n name: z.string().describe(\"Backup configuration name\").nullable().optional(),\n}).passthrough().describe(\"Backup configuration details.\");\nconst ServeravatarListBackups_BackupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the backup\").nullable(),\n price: z.number().describe(\"Cost of the backup\").nullable().optional(),\n status: z.string().describe(\"Status of the backup (e.g., 'Completed')\").nullable().optional(),\n database: ServeravatarListBackups_DatabaseSchema.nullable().optional(),\n provider: z.string().describe(\"Cloud storage provider name (e.g., 'gdrive')\").nullable().optional(),\n server_id: z.number().int().describe(\"Server ID\").nullable().optional(),\n totalSize: z.number().describe(\"Total size of backup\").nullable().optional(),\n created_at: z.string().describe(\"Creation date of backup\").nullable().optional(),\n deleted_at: z.string().describe(\"Deletion date of backup\").nullable().optional(),\n expires_at: z.string().describe(\"Expiration date of backup\").nullable().optional(),\n updated_at: z.string().describe(\"Last update date of backup\").nullable().optional(),\n application: ServeravatarListBackups_ApplicationSchema.nullable().optional(),\n backup_hash: z.string().describe(\"Unique hash for the backup\").nullable().optional(),\n database_id: z.number().int().describe(\"Database ID\").nullable().optional(),\n database_size: z.number().describe(\"Size of database backup in bytes\").nullable().optional(),\n application_id: z.number().int().describe(\"Application ID\").nullable().optional(),\n organization_id: z.number().int().describe(\"Organization ID\").nullable().optional(),\n application_size: z.number().describe(\"Size of application backup in bytes\").nullable().optional(),\n backup_config_id: z.number().int().describe(\"ID of the backup configuration\").nullable().optional(),\n database_file_id: z.number().int().describe(\"File ID for database backup\").nullable().optional(),\n database_extension: z.string().describe(\"File extension for database backup\").nullable().optional(),\n application_file_id: z.number().int().describe(\"File ID for application backup\").nullable().optional(),\n total_database_size: z.number().describe(\"Total size of database backup including all data\").nullable().optional(),\n backup_configuration: ServeravatarListBackups_BackupConfigurationSchema.nullable().optional(),\n application_extension: z.string().describe(\"File extension for application backup\").nullable().optional(),\n total_application_size: z.number().describe(\"Total size of application backup including all data\").nullable().optional(),\n cloud_storage_provider_id: z.number().int().describe(\"Cloud storage provider ID\").nullable().optional(),\n database_available_in_cloudstorage: z.number().int().describe(\"Whether database backup is available in cloud storage\").nullable().optional(),\n application_available_in_cloudstorage: z.number().int().describe(\"Whether application backup is available in cloud storage\").nullable().optional(),\n}).passthrough().describe(\"Represents a single backup in ServerAvatar.\");\nconst ServeravatarListBackups_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(),\n active: z.boolean().describe(\"Whether this link is the active page\").nullable(),\n}).passthrough().describe(\"Pagination link object for navigating through pages.\");\nexport const ServeravatarListBackupsOutput = z.object({\n to: z.number().int().describe(\"Ending record number\").nullable().optional(),\n data: z.array(ServeravatarListBackups_BackupSchema).describe(\"List of backups\"),\n from: z.number().int().describe(\"Starting record number\").nullable().optional(),\n path: z.string().describe(\"Base API path\").nullable().optional(),\n links: z.array(ServeravatarListBackups_PaginationLinkSchema).describe(\"Pagination links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records\").nullable(),\n per_page: z.number().int().describe(\"Number of records per page\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n last_page_url: z.string().describe(\"URL to last page\").nullable().optional(),\n next_page_url: z.string().describe(\"URL to next page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL to previous page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL to first page\").nullable().optional(),\n}).passthrough().describe(\"Paginated response containing list of backups.\");\n\nexport const serveravatarListBackups = action(\"SERVERAVATAR_LIST_BACKUPS\", {\n slug: \"serveravatar-list-backups\",\n name: \"List Backups\",\n description: \"Tool to list all backups in a ServerAvatar organization. Use when you need to retrieve backup information including status, size, and expiration dates.\",\n input: ServeravatarListBackupsInput,\n output: ServeravatarListBackupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AAC/E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,I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ACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-backups.cjs","names":["z","action"],"sources":["../../src/actions/list-backups.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 ServeravatarListBackupsInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve. Default: 1.\").optional(),\n organization: z.number().int().describe(\"Organization ID to list backups for\"),\n}).describe(\"Request model for listing backups in a ServerAvatar organization.\");\nconst ServeravatarListBackups_DatabaseSchema = z.object({\n id: z.number().int().describe(\"Database ID\").nullable().optional(),\n name: z.string().describe(\"Database name\").nullable().optional(),\n}).passthrough().describe(\"Database details associated with a backup.\");\nconst ServeravatarListBackups_ApplicationSchema = z.object({\n id: z.number().int().describe(\"Application ID\").nullable().optional(),\n name: z.string().describe(\"Application name\").nullable().optional(),\n}).passthrough().describe(\"Application details associated with a backup.\");\nconst ServeravatarListBackups_BackupConfigurationSchema = z.object({\n id: z.number().int().describe(\"Backup configuration ID\").nullable().optional(),\n name: z.string().describe(\"Backup configuration name\").nullable().optional(),\n}).passthrough().describe(\"Backup configuration details.\");\nconst ServeravatarListBackups_BackupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the backup\").nullable(),\n price: z.number().describe(\"Cost of the backup\").nullable().optional(),\n status: z.string().describe(\"Status of the backup (e.g., 'Completed')\").nullable().optional(),\n database: ServeravatarListBackups_DatabaseSchema.nullable().optional(),\n provider: z.string().describe(\"Cloud storage provider name (e.g., 'gdrive')\").nullable().optional(),\n server_id: z.number().int().describe(\"Server ID\").nullable().optional(),\n totalSize: z.number().describe(\"Total size of backup\").nullable().optional(),\n created_at: z.string().describe(\"Creation date of backup\").nullable().optional(),\n deleted_at: z.string().describe(\"Deletion date of backup\").nullable().optional(),\n expires_at: z.string().describe(\"Expiration date of backup\").nullable().optional(),\n updated_at: z.string().describe(\"Last update date of backup\").nullable().optional(),\n application: ServeravatarListBackups_ApplicationSchema.nullable().optional(),\n backup_hash: z.string().describe(\"Unique hash for the backup\").nullable().optional(),\n database_id: z.number().int().describe(\"Database ID\").nullable().optional(),\n database_size: z.number().describe(\"Size of database backup in bytes\").nullable().optional(),\n application_id: z.number().int().describe(\"Application ID\").nullable().optional(),\n organization_id: z.number().int().describe(\"Organization ID\").nullable().optional(),\n application_size: z.number().describe(\"Size of application backup in bytes\").nullable().optional(),\n backup_config_id: z.number().int().describe(\"ID of the backup configuration\").nullable().optional(),\n database_file_id: z.number().int().describe(\"File ID for database backup\").nullable().optional(),\n database_extension: z.string().describe(\"File extension for database backup\").nullable().optional(),\n application_file_id: z.number().int().describe(\"File ID for application backup\").nullable().optional(),\n total_database_size: z.number().describe(\"Total size of database backup including all data\").nullable().optional(),\n backup_configuration: ServeravatarListBackups_BackupConfigurationSchema.nullable().optional(),\n application_extension: z.string().describe(\"File extension for application backup\").nullable().optional(),\n total_application_size: z.number().describe(\"Total size of application backup including all data\").nullable().optional(),\n cloud_storage_provider_id: z.number().int().describe(\"Cloud storage provider ID\").nullable().optional(),\n database_available_in_cloudstorage: z.number().int().describe(\"Whether database backup is available in cloud storage\").nullable().optional(),\n application_available_in_cloudstorage: z.number().int().describe(\"Whether application backup is available in cloud storage\").nullable().optional(),\n}).passthrough().describe(\"Represents a single backup in ServerAvatar.\");\nconst ServeravatarListBackups_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(),\n active: z.boolean().describe(\"Whether this link is the active page\").nullable(),\n}).passthrough().describe(\"Pagination link object for navigating through pages.\");\nexport const ServeravatarListBackupsOutput = z.object({\n to: z.number().int().describe(\"Ending record number\").nullable().optional(),\n data: z.array(ServeravatarListBackups_BackupSchema).describe(\"List of backups\"),\n from: z.number().int().describe(\"Starting record number\").nullable().optional(),\n path: z.string().describe(\"Base API path\").nullable().optional(),\n links: z.array(ServeravatarListBackups_PaginationLinkSchema).describe(\"Pagination links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records\").nullable(),\n per_page: z.number().int().describe(\"Number of records per page\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n last_page_url: z.string().describe(\"URL to last page\").nullable().optional(),\n next_page_url: z.string().describe(\"URL to next page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL to previous page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL to first page\").nullable().optional(),\n}).passthrough().describe(\"Paginated response containing list of backups.\");\n\nexport const serveravatarListBackups: AppAction<\n typeof ServeravatarListBackupsInput,\n typeof ServeravatarListBackupsOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_BACKUPS\", {\n slug: \"serveravatar-list-backups\",\n name: \"List Backups\",\n description: \"Tool to list all backups in a ServerAvatar organization. Use when you need to retrieve backup information including status, size, and expiration dates.\",\n input: ServeravatarListBackupsInput,\n output: ServeravatarListBackupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AAC/E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MA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CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAE1E,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-backups.d.ts
|
|
@@ -63,22 +65,7 @@ declare const ServeravatarListBackupsOutput: z.ZodObject<{
|
|
|
63
65
|
prev_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
66
|
first_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
67
|
}, z.core.$loose>;
|
|
66
|
-
declare const serveravatarListBackups:
|
|
67
|
-
organization: number;
|
|
68
|
-
page?: number | undefined;
|
|
69
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
generic_api_key: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
generic_api_key: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>]>;
|
|
68
|
+
declare const serveravatarListBackups: AppAction<typeof ServeravatarListBackupsInput, typeof ServeravatarListBackupsOutput, typeof serveravatar.credential>;
|
|
82
69
|
//#endregion
|
|
83
70
|
export { serveravatarListBackups };
|
|
84
71
|
//# sourceMappingURL=list-backups.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-backups.d.cts","names":[],"sources":["../../src/actions/list-backups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-backups.d.cts","names":[],"sources":["../../src/actions/list-backups.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAoD5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgB7B,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-backups.d.ts
|
|
@@ -63,22 +65,7 @@ declare const ServeravatarListBackupsOutput: z.ZodObject<{
|
|
|
63
65
|
prev_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
64
66
|
first_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
67
|
}, z.core.$loose>;
|
|
66
|
-
declare const serveravatarListBackups:
|
|
67
|
-
organization: number;
|
|
68
|
-
page?: number | undefined;
|
|
69
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
generic_api_key: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
generic_api_key: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>]>;
|
|
68
|
+
declare const serveravatarListBackups: AppAction<typeof ServeravatarListBackupsInput, typeof ServeravatarListBackupsOutput, typeof serveravatar.credential>;
|
|
82
69
|
//#endregion
|
|
83
70
|
export { serveravatarListBackups };
|
|
84
71
|
//# sourceMappingURL=list-backups.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-backups.d.mts","names":[],"sources":["../../src/actions/list-backups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-backups.d.mts","names":[],"sources":["../../src/actions/list-backups.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAoD5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgB7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-backups.mjs","names":[],"sources":["../../src/actions/list-backups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListBackupsInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve. Default: 1.\").optional(),\n organization: z.number().int().describe(\"Organization ID to list backups for\"),\n}).describe(\"Request model for listing backups in a ServerAvatar organization.\");\nconst ServeravatarListBackups_DatabaseSchema = z.object({\n id: z.number().int().describe(\"Database ID\").nullable().optional(),\n name: z.string().describe(\"Database name\").nullable().optional(),\n}).passthrough().describe(\"Database details associated with a backup.\");\nconst ServeravatarListBackups_ApplicationSchema = z.object({\n id: z.number().int().describe(\"Application ID\").nullable().optional(),\n name: z.string().describe(\"Application name\").nullable().optional(),\n}).passthrough().describe(\"Application details associated with a backup.\");\nconst ServeravatarListBackups_BackupConfigurationSchema = z.object({\n id: z.number().int().describe(\"Backup configuration ID\").nullable().optional(),\n name: z.string().describe(\"Backup configuration name\").nullable().optional(),\n}).passthrough().describe(\"Backup configuration details.\");\nconst ServeravatarListBackups_BackupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the backup\").nullable(),\n price: z.number().describe(\"Cost of the backup\").nullable().optional(),\n status: z.string().describe(\"Status of the backup (e.g., 'Completed')\").nullable().optional(),\n database: ServeravatarListBackups_DatabaseSchema.nullable().optional(),\n provider: z.string().describe(\"Cloud storage provider name (e.g., 'gdrive')\").nullable().optional(),\n server_id: z.number().int().describe(\"Server ID\").nullable().optional(),\n totalSize: z.number().describe(\"Total size of backup\").nullable().optional(),\n created_at: z.string().describe(\"Creation date of backup\").nullable().optional(),\n deleted_at: z.string().describe(\"Deletion date of backup\").nullable().optional(),\n expires_at: z.string().describe(\"Expiration date of backup\").nullable().optional(),\n updated_at: z.string().describe(\"Last update date of backup\").nullable().optional(),\n application: ServeravatarListBackups_ApplicationSchema.nullable().optional(),\n backup_hash: z.string().describe(\"Unique hash for the backup\").nullable().optional(),\n database_id: z.number().int().describe(\"Database ID\").nullable().optional(),\n database_size: z.number().describe(\"Size of database backup in bytes\").nullable().optional(),\n application_id: z.number().int().describe(\"Application ID\").nullable().optional(),\n organization_id: z.number().int().describe(\"Organization ID\").nullable().optional(),\n application_size: z.number().describe(\"Size of application backup in bytes\").nullable().optional(),\n backup_config_id: z.number().int().describe(\"ID of the backup configuration\").nullable().optional(),\n database_file_id: z.number().int().describe(\"File ID for database backup\").nullable().optional(),\n database_extension: z.string().describe(\"File extension for database backup\").nullable().optional(),\n application_file_id: z.number().int().describe(\"File ID for application backup\").nullable().optional(),\n total_database_size: z.number().describe(\"Total size of database backup including all data\").nullable().optional(),\n backup_configuration: ServeravatarListBackups_BackupConfigurationSchema.nullable().optional(),\n application_extension: z.string().describe(\"File extension for application backup\").nullable().optional(),\n total_application_size: z.number().describe(\"Total size of application backup including all data\").nullable().optional(),\n cloud_storage_provider_id: z.number().int().describe(\"Cloud storage provider ID\").nullable().optional(),\n database_available_in_cloudstorage: z.number().int().describe(\"Whether database backup is available in cloud storage\").nullable().optional(),\n application_available_in_cloudstorage: z.number().int().describe(\"Whether application backup is available in cloud storage\").nullable().optional(),\n}).passthrough().describe(\"Represents a single backup in ServerAvatar.\");\nconst ServeravatarListBackups_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(),\n active: z.boolean().describe(\"Whether this link is the active page\").nullable(),\n}).passthrough().describe(\"Pagination link object for navigating through pages.\");\nexport const ServeravatarListBackupsOutput = z.object({\n to: z.number().int().describe(\"Ending record number\").nullable().optional(),\n data: z.array(ServeravatarListBackups_BackupSchema).describe(\"List of backups\"),\n from: z.number().int().describe(\"Starting record number\").nullable().optional(),\n path: z.string().describe(\"Base API path\").nullable().optional(),\n links: z.array(ServeravatarListBackups_PaginationLinkSchema).describe(\"Pagination links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records\").nullable(),\n per_page: z.number().int().describe(\"Number of records per page\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n last_page_url: z.string().describe(\"URL to last page\").nullable().optional(),\n next_page_url: z.string().describe(\"URL to next page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL to previous page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL to first page\").nullable().optional(),\n}).passthrough().describe(\"Paginated response containing list of backups.\");\n\nexport const serveravatarListBackups = action(\"SERVERAVATAR_LIST_BACKUPS\", {\n slug: \"serveravatar-list-backups\",\n name: \"List Backups\",\n description: \"Tool to list all backups in a ServerAvatar organization. Use when you need to retrieve backup information including status, size, and expiration dates.\",\n input: ServeravatarListBackupsInput,\n output: ServeravatarListBackupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AAC/E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,C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OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACvE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-backups.mjs","names":[],"sources":["../../src/actions/list-backups.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 ServeravatarListBackupsInput = z.object({\n page: z.number().int().describe(\"Page number to retrieve. Default: 1.\").optional(),\n organization: z.number().int().describe(\"Organization ID to list backups for\"),\n}).describe(\"Request model for listing backups in a ServerAvatar organization.\");\nconst ServeravatarListBackups_DatabaseSchema = z.object({\n id: z.number().int().describe(\"Database ID\").nullable().optional(),\n name: z.string().describe(\"Database name\").nullable().optional(),\n}).passthrough().describe(\"Database details associated with a backup.\");\nconst ServeravatarListBackups_ApplicationSchema = z.object({\n id: z.number().int().describe(\"Application ID\").nullable().optional(),\n name: z.string().describe(\"Application name\").nullable().optional(),\n}).passthrough().describe(\"Application details associated with a backup.\");\nconst ServeravatarListBackups_BackupConfigurationSchema = z.object({\n id: z.number().int().describe(\"Backup configuration ID\").nullable().optional(),\n name: z.string().describe(\"Backup configuration name\").nullable().optional(),\n}).passthrough().describe(\"Backup configuration details.\");\nconst ServeravatarListBackups_BackupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier for the backup\").nullable(),\n price: z.number().describe(\"Cost of the backup\").nullable().optional(),\n status: z.string().describe(\"Status of the backup (e.g., 'Completed')\").nullable().optional(),\n database: ServeravatarListBackups_DatabaseSchema.nullable().optional(),\n provider: z.string().describe(\"Cloud storage provider name (e.g., 'gdrive')\").nullable().optional(),\n server_id: z.number().int().describe(\"Server ID\").nullable().optional(),\n totalSize: z.number().describe(\"Total size of backup\").nullable().optional(),\n created_at: z.string().describe(\"Creation date of backup\").nullable().optional(),\n deleted_at: z.string().describe(\"Deletion date of backup\").nullable().optional(),\n expires_at: z.string().describe(\"Expiration date of backup\").nullable().optional(),\n updated_at: z.string().describe(\"Last update date of backup\").nullable().optional(),\n application: ServeravatarListBackups_ApplicationSchema.nullable().optional(),\n backup_hash: z.string().describe(\"Unique hash for the backup\").nullable().optional(),\n database_id: z.number().int().describe(\"Database ID\").nullable().optional(),\n database_size: z.number().describe(\"Size of database backup in bytes\").nullable().optional(),\n application_id: z.number().int().describe(\"Application ID\").nullable().optional(),\n organization_id: z.number().int().describe(\"Organization ID\").nullable().optional(),\n application_size: z.number().describe(\"Size of application backup in bytes\").nullable().optional(),\n backup_config_id: z.number().int().describe(\"ID of the backup configuration\").nullable().optional(),\n database_file_id: z.number().int().describe(\"File ID for database backup\").nullable().optional(),\n database_extension: z.string().describe(\"File extension for database backup\").nullable().optional(),\n application_file_id: z.number().int().describe(\"File ID for application backup\").nullable().optional(),\n total_database_size: z.number().describe(\"Total size of database backup including all data\").nullable().optional(),\n backup_configuration: ServeravatarListBackups_BackupConfigurationSchema.nullable().optional(),\n application_extension: z.string().describe(\"File extension for application backup\").nullable().optional(),\n total_application_size: z.number().describe(\"Total size of application backup including all data\").nullable().optional(),\n cloud_storage_provider_id: z.number().int().describe(\"Cloud storage provider ID\").nullable().optional(),\n database_available_in_cloudstorage: z.number().int().describe(\"Whether database backup is available in cloud storage\").nullable().optional(),\n application_available_in_cloudstorage: z.number().int().describe(\"Whether application backup is available in cloud storage\").nullable().optional(),\n}).passthrough().describe(\"Represents a single backup in ServerAvatar.\");\nconst ServeravatarListBackups_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(),\n active: z.boolean().describe(\"Whether this link is the active page\").nullable(),\n}).passthrough().describe(\"Pagination link object for navigating through pages.\");\nexport const ServeravatarListBackupsOutput = z.object({\n to: z.number().int().describe(\"Ending record number\").nullable().optional(),\n data: z.array(ServeravatarListBackups_BackupSchema).describe(\"List of backups\"),\n from: z.number().int().describe(\"Starting record number\").nullable().optional(),\n path: z.string().describe(\"Base API path\").nullable().optional(),\n links: z.array(ServeravatarListBackups_PaginationLinkSchema).describe(\"Pagination links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records\").nullable(),\n per_page: z.number().int().describe(\"Number of records per page\").nullable(),\n last_page: z.number().int().describe(\"Total number of pages\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n last_page_url: z.string().describe(\"URL to last page\").nullable().optional(),\n next_page_url: z.string().describe(\"URL to next page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL to previous page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL to first page\").nullable().optional(),\n}).passthrough().describe(\"Paginated response containing list of backups.\");\n\nexport const serveravatarListBackups: AppAction<\n typeof ServeravatarListBackupsInput,\n typeof ServeravatarListBackupsOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_BACKUPS\", {\n slug: \"serveravatar-list-backups\",\n name: \"List Backups\",\n description: \"Tool to list all backups in a ServerAvatar organization. Use when you need to retrieve backup information including status, size, and expiration dates.\",\n input: ServeravatarListBackupsInput,\n output: ServeravatarListBackupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;AAC/E,CAAC,CAAC,CAAC,SAAS,mEAAmE;AAC/E,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,u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C,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EACvE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cloud-server-providers.cjs","names":["z","action"],"sources":["../../src/actions/list-cloud-server-providers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListCloudServerProvidersInput = z.object({\n search: z.string().describe(\"Search by email address associated with the provider account\").optional(),\n provider: z.string().describe(\"Filter by provider type (e.g., lightsail, digitalocean, vultr, linode, hetzner)\").optional(),\n pagination: z.number().int().describe(\"Enable pagination by setting to 1. When enabled, returns paginated response with metadata. When omitted, returns simple array.\").optional(),\n organization: z.string().describe(\"Organization ID for which to list cloud server providers\"),\n}).describe(\"Request model for listing connected cloud server provider accounts.\");\nconst ServeravatarListCloudServerProviders_CloudServerProviderItemSchema = z.object({\n id: z.number().int().describe(\"Provider account ID\").nullable().optional(),\n name: z.string().describe(\"Display name of the provider account\").nullable().optional(),\n provider: z.string().describe(\"Provider type identifier (e.g., lightsail, digitalocean, vultr, linode, hetzner)\").nullable().optional(),\n}).passthrough().describe(\"Individual cloud server provider account details.\");\nconst ServeravatarListCloudServerProviders_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 is the active page\").nullable().optional(),\n}).passthrough().describe(\"Pagination link object.\");\nconst ServeravatarListCloudServerProviders_PaginatedResponseSchema = z.object({\n to: z.number().int().describe(\"Ending index of items on current page\").nullable().optional(),\n data: z.array(ServeravatarListCloudServerProviders_CloudServerProviderItemSchema).describe(\"List of cloud server provider accounts\").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 pagination URLs\").nullable().optional(),\n links: z.array(ServeravatarListCloudServerProviders_PaginationLinkSchema).describe(\"Pagination links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of items across all pages\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of items 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 the last page\").nullable().optional(),\n next_page_url: z.string().describe(\"URL for the next page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for the previous page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for the first page\").nullable().optional(),\n}).passthrough().describe(\"Paginated response structure returned when pagination=1 is used.\");\nexport const ServeravatarListCloudServerProvidersOutput = z.object({\n providers: z.array(ServeravatarListCloudServerProviders_CloudServerProviderItemSchema).describe(\"List of cloud server provider accounts (returned when pagination is not enabled)\").nullable().optional(),\n paginated_data: ServeravatarListCloudServerProviders_PaginatedResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing cloud server providers.\\nReturns either a simple array of providers or a paginated response based on pagination parameter.\");\n\nexport const serveravatarListCloudServerProviders = action(\"SERVERAVATAR_LIST_CLOUD_SERVER_PROVIDERS\", {\n slug: \"serveravatar-list-cloud-server-providers\",\n name: \"List Cloud Server Providers\",\n description: \"Tool to list connected cloud server provider accounts for an organization. Use when you need to retrieve all connected provider accounts like DigitalOcean, Vultr, Linode, Hetzner, or AWS Lightsail.\",\n input: ServeravatarListCloudServerProvidersInput,\n output: ServeravatarListCloudServerProvidersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-cloud-server-providers.cjs","names":["z","action"],"sources":["../../src/actions/list-cloud-server-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 ServeravatarListCloudServerProvidersInput = z.object({\n search: z.string().describe(\"Search by email address associated with the provider account\").optional(),\n provider: z.string().describe(\"Filter by provider type (e.g., lightsail, digitalocean, vultr, linode, hetzner)\").optional(),\n pagination: z.number().int().describe(\"Enable pagination by setting to 1. When enabled, returns paginated response with metadata. When omitted, returns simple array.\").optional(),\n organization: z.string().describe(\"Organization ID for which to list cloud server providers\"),\n}).describe(\"Request model for listing connected cloud server provider accounts.\");\nconst ServeravatarListCloudServerProviders_CloudServerProviderItemSchema = z.object({\n id: z.number().int().describe(\"Provider account ID\").nullable().optional(),\n name: z.string().describe(\"Display name of the provider account\").nullable().optional(),\n provider: z.string().describe(\"Provider type identifier (e.g., lightsail, digitalocean, vultr, linode, hetzner)\").nullable().optional(),\n}).passthrough().describe(\"Individual cloud server provider account details.\");\nconst ServeravatarListCloudServerProviders_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 is the active page\").nullable().optional(),\n}).passthrough().describe(\"Pagination link object.\");\nconst ServeravatarListCloudServerProviders_PaginatedResponseSchema = z.object({\n to: z.number().int().describe(\"Ending index of items on current page\").nullable().optional(),\n data: z.array(ServeravatarListCloudServerProviders_CloudServerProviderItemSchema).describe(\"List of cloud server provider accounts\").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 pagination URLs\").nullable().optional(),\n links: z.array(ServeravatarListCloudServerProviders_PaginationLinkSchema).describe(\"Pagination links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of items across all pages\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of items 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 the last page\").nullable().optional(),\n next_page_url: z.string().describe(\"URL for the next page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for the previous page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for the first page\").nullable().optional(),\n}).passthrough().describe(\"Paginated response structure returned when pagination=1 is used.\");\nexport const ServeravatarListCloudServerProvidersOutput = z.object({\n providers: z.array(ServeravatarListCloudServerProviders_CloudServerProviderItemSchema).describe(\"List of cloud server provider accounts (returned when pagination is not enabled)\").nullable().optional(),\n paginated_data: ServeravatarListCloudServerProviders_PaginatedResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing cloud server providers.\\nReturns either a simple array of providers or a paginated response based on pagination parameter.\");\n\nexport const serveravatarListCloudServerProviders: AppAction<\n typeof ServeravatarListCloudServerProvidersInput,\n typeof ServeravatarListCloudServerProvidersOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_CLOUD_SERVER_PROVIDERS\", {\n slug: \"serveravatar-list-cloud-server-providers\",\n name: \"List Cloud Server Providers\",\n description: \"Tool to list connected cloud server provider accounts for an organization. Use when you need to retrieve all connected provider accounts like DigitalOcean, Vultr, Linode, Hetzner, or AWS Lightsail.\",\n input: ServeravatarListCloudServerProvidersInput,\n output: ServeravatarListCloudServerProvidersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;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gBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAC5F,MAAa,6CAA6CA,IAAAA,EAAE,OAAO;CACjE,WAAWA,IAAAA,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxM,gBAAgB,6DAA6D,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAAuJ;AAEjL,MAAa,uCAITC,eAAAA,OAAO,4CAA4C;CACrD,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-cloud-server-providers.d.ts
|
|
@@ -37,24 +39,7 @@ declare const ServeravatarListCloudServerProvidersOutput: z.ZodObject<{
|
|
|
37
39
|
first_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
40
|
}, z.core.$loose>>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const serveravatarListCloudServerProviders:
|
|
41
|
-
organization: string;
|
|
42
|
-
search?: string | undefined;
|
|
43
|
-
provider?: string | undefined;
|
|
44
|
-
pagination?: number | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
42
|
+
declare const serveravatarListCloudServerProviders: AppAction<typeof ServeravatarListCloudServerProvidersInput, typeof ServeravatarListCloudServerProvidersOutput, typeof serveravatar.credential>;
|
|
58
43
|
//#endregion
|
|
59
44
|
export { serveravatarListCloudServerProviders };
|
|
60
45
|
//# sourceMappingURL=list-cloud-server-providers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cloud-server-providers.d.cts","names":[],"sources":["../../src/actions/list-cloud-server-providers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-cloud-server-providers.d.cts","names":[],"sources":["../../src/actions/list-cloud-server-providers.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;cA+BzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,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-cloud-server-providers.d.ts
|
|
@@ -37,24 +39,7 @@ declare const ServeravatarListCloudServerProvidersOutput: z.ZodObject<{
|
|
|
37
39
|
first_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
40
|
}, z.core.$loose>>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const serveravatarListCloudServerProviders:
|
|
41
|
-
organization: string;
|
|
42
|
-
search?: string | undefined;
|
|
43
|
-
provider?: string | undefined;
|
|
44
|
-
pagination?: number | undefined;
|
|
45
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
46
|
-
connectionId: z.ZodString;
|
|
47
|
-
entityId: z.ZodString;
|
|
48
|
-
instanceId: z.ZodString;
|
|
49
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
50
|
-
generic_api_key: z.ZodString;
|
|
51
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
52
|
-
connectionId: z.ZodString;
|
|
53
|
-
entityId: z.ZodString;
|
|
54
|
-
instanceId: z.ZodString;
|
|
55
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
56
|
-
generic_api_key: z.ZodString;
|
|
57
|
-
}, z.core.$strip>>]>;
|
|
42
|
+
declare const serveravatarListCloudServerProviders: AppAction<typeof ServeravatarListCloudServerProvidersInput, typeof ServeravatarListCloudServerProvidersOutput, typeof serveravatar.credential>;
|
|
58
43
|
//#endregion
|
|
59
44
|
export { serveravatarListCloudServerProviders };
|
|
60
45
|
//# sourceMappingURL=list-cloud-server-providers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cloud-server-providers.d.mts","names":[],"sources":["../../src/actions/list-cloud-server-providers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-cloud-server-providers.d.mts","names":[],"sources":["../../src/actions/list-cloud-server-providers.ts"],"mappings":";;;;;cAMa,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;;cA+BzC,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK1C,oCAAA,EAAsC,SAAA,QAC1C,yCAAA,SACA,0CAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cloud-server-providers.mjs","names":[],"sources":["../../src/actions/list-cloud-server-providers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListCloudServerProvidersInput = z.object({\n search: z.string().describe(\"Search by email address associated with the provider account\").optional(),\n provider: z.string().describe(\"Filter by provider type (e.g., lightsail, digitalocean, vultr, linode, hetzner)\").optional(),\n pagination: z.number().int().describe(\"Enable pagination by setting to 1. When enabled, returns paginated response with metadata. When omitted, returns simple array.\").optional(),\n organization: z.string().describe(\"Organization ID for which to list cloud server providers\"),\n}).describe(\"Request model for listing connected cloud server provider accounts.\");\nconst ServeravatarListCloudServerProviders_CloudServerProviderItemSchema = z.object({\n id: z.number().int().describe(\"Provider account ID\").nullable().optional(),\n name: z.string().describe(\"Display name of the provider account\").nullable().optional(),\n provider: z.string().describe(\"Provider type identifier (e.g., lightsail, digitalocean, vultr, linode, hetzner)\").nullable().optional(),\n}).passthrough().describe(\"Individual cloud server provider account details.\");\nconst ServeravatarListCloudServerProviders_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 is the active page\").nullable().optional(),\n}).passthrough().describe(\"Pagination link object.\");\nconst ServeravatarListCloudServerProviders_PaginatedResponseSchema = z.object({\n to: z.number().int().describe(\"Ending index of items on current page\").nullable().optional(),\n data: z.array(ServeravatarListCloudServerProviders_CloudServerProviderItemSchema).describe(\"List of cloud server provider accounts\").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 pagination URLs\").nullable().optional(),\n links: z.array(ServeravatarListCloudServerProviders_PaginationLinkSchema).describe(\"Pagination links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of items across all pages\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of items 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 the last page\").nullable().optional(),\n next_page_url: z.string().describe(\"URL for the next page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for the previous page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for the first page\").nullable().optional(),\n}).passthrough().describe(\"Paginated response structure returned when pagination=1 is used.\");\nexport const ServeravatarListCloudServerProvidersOutput = z.object({\n providers: z.array(ServeravatarListCloudServerProviders_CloudServerProviderItemSchema).describe(\"List of cloud server provider accounts (returned when pagination is not enabled)\").nullable().optional(),\n paginated_data: ServeravatarListCloudServerProviders_PaginatedResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing cloud server providers.\\nReturns either a simple array of providers or a paginated response based on pagination parameter.\");\n\nexport const serveravatarListCloudServerProviders = action(\"SERVERAVATAR_LIST_CLOUD_SERVER_PROVIDERS\", {\n slug: \"serveravatar-list-cloud-server-providers\",\n name: \"List Cloud Server Providers\",\n description: \"Tool to list connected cloud server provider accounts for an organization. Use when you need to retrieve all connected provider accounts like DigitalOcean, Vultr, Linode, Hetzner, or AWS Lightsail.\",\n input: ServeravatarListCloudServerProvidersInput,\n output: ServeravatarListCloudServerProvidersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-cloud-server-providers.mjs","names":[],"sources":["../../src/actions/list-cloud-server-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 ServeravatarListCloudServerProvidersInput = z.object({\n search: z.string().describe(\"Search by email address associated with the provider account\").optional(),\n provider: z.string().describe(\"Filter by provider type (e.g., lightsail, digitalocean, vultr, linode, hetzner)\").optional(),\n pagination: z.number().int().describe(\"Enable pagination by setting to 1. When enabled, returns paginated response with metadata. When omitted, returns simple array.\").optional(),\n organization: z.string().describe(\"Organization ID for which to list cloud server providers\"),\n}).describe(\"Request model for listing connected cloud server provider accounts.\");\nconst ServeravatarListCloudServerProviders_CloudServerProviderItemSchema = z.object({\n id: z.number().int().describe(\"Provider account ID\").nullable().optional(),\n name: z.string().describe(\"Display name of the provider account\").nullable().optional(),\n provider: z.string().describe(\"Provider type identifier (e.g., lightsail, digitalocean, vultr, linode, hetzner)\").nullable().optional(),\n}).passthrough().describe(\"Individual cloud server provider account details.\");\nconst ServeravatarListCloudServerProviders_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 is the active page\").nullable().optional(),\n}).passthrough().describe(\"Pagination link object.\");\nconst ServeravatarListCloudServerProviders_PaginatedResponseSchema = z.object({\n to: z.number().int().describe(\"Ending index of items on current page\").nullable().optional(),\n data: z.array(ServeravatarListCloudServerProviders_CloudServerProviderItemSchema).describe(\"List of cloud server provider accounts\").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 pagination URLs\").nullable().optional(),\n links: z.array(ServeravatarListCloudServerProviders_PaginationLinkSchema).describe(\"Pagination links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of items across all pages\").nullable().optional(),\n per_page: z.number().int().describe(\"Number of items 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 the last page\").nullable().optional(),\n next_page_url: z.string().describe(\"URL for the next page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for the previous page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for the first page\").nullable().optional(),\n}).passthrough().describe(\"Paginated response structure returned when pagination=1 is used.\");\nexport const ServeravatarListCloudServerProvidersOutput = z.object({\n providers: z.array(ServeravatarListCloudServerProviders_CloudServerProviderItemSchema).describe(\"List of cloud server provider accounts (returned when pagination is not enabled)\").nullable().optional(),\n paginated_data: ServeravatarListCloudServerProviders_PaginatedResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing cloud server providers.\\nReturns either a simple array of providers or a paginated response based on pagination parameter.\");\n\nexport const serveravatarListCloudServerProviders: AppAction<\n typeof ServeravatarListCloudServerProvidersInput,\n typeof ServeravatarListCloudServerProvidersOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_CLOUD_SERVER_PROVIDERS\", {\n slug: \"serveravatar-list-cloud-server-providers\",\n name: \"List Cloud Server Providers\",\n description: \"Tool to list connected cloud server provider accounts for an organization. Use when you need to retrieve all connected provider accounts like DigitalOcean, Vultr, Linode, Hetzner, or AWS Lightsail.\",\n input: ServeravatarListCloudServerProvidersInput,\n output: ServeravatarListCloudServerProvidersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4CAA4C,EAAE,OAAO;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC1H,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACjL,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC9F,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,qEAAqE,EAAE,OAAO;CAClF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC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