@keystrokehq/serveravatar 0.1.2 → 0.1.4
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/actions/destroy-backups.cjs +1 -1
- package/dist/actions/destroy-backups.cjs.map +1 -1
- package/dist/actions/destroy-backups.d.cts +1 -1
- package/dist/actions/destroy-backups.d.mts +1 -1
- package/dist/actions/destroy-backups.mjs +1 -1
- package/dist/actions/destroy-backups.mjs.map +1 -1
- package/dist/actions/get-organization.cjs +2 -2
- package/dist/actions/get-organization.cjs.map +1 -1
- package/dist/actions/get-organization.d.cts +2 -2
- package/dist/actions/get-organization.d.mts +2 -2
- package/dist/actions/get-organization.mjs +2 -2
- package/dist/actions/get-organization.mjs.map +1 -1
- package/dist/actions/list-applications.cjs +4 -4
- package/dist/actions/list-applications.cjs.map +1 -1
- package/dist/actions/list-applications.d.cts +4 -4
- package/dist/actions/list-applications.d.mts +4 -4
- package/dist/actions/list-applications.mjs +4 -4
- package/dist/actions/list-applications.mjs.map +1 -1
- package/dist/actions/list-backups-archive.cjs +3 -3
- package/dist/actions/list-backups-archive.cjs.map +1 -1
- package/dist/actions/list-backups-archive.d.cts +5 -5
- package/dist/actions/list-backups-archive.d.mts +5 -5
- package/dist/actions/list-backups-archive.mjs +3 -3
- package/dist/actions/list-backups-archive.mjs.map +1 -1
- package/dist/actions/list-backups-deleted-server.cjs +2 -2
- package/dist/actions/list-backups-deleted-server.cjs.map +1 -1
- package/dist/actions/list-backups-deleted-server.d.cts +2 -2
- package/dist/actions/list-backups-deleted-server.d.mts +2 -2
- package/dist/actions/list-backups-deleted-server.mjs +2 -2
- package/dist/actions/list-backups-deleted-server.mjs.map +1 -1
- package/dist/actions/list-backups-presets.cjs +1 -1
- package/dist/actions/list-backups-presets.cjs.map +1 -1
- package/dist/actions/list-backups-presets.d.cts +1 -1
- package/dist/actions/list-backups-presets.d.mts +1 -1
- package/dist/actions/list-backups-presets.mjs +1 -1
- package/dist/actions/list-backups-presets.mjs.map +1 -1
- package/dist/actions/list-backups.cjs +1 -1
- package/dist/actions/list-backups.cjs.map +1 -1
- package/dist/actions/list-backups.d.cts +1 -1
- package/dist/actions/list-backups.d.mts +1 -1
- package/dist/actions/list-backups.mjs +1 -1
- package/dist/actions/list-backups.mjs.map +1 -1
- package/dist/actions/list-cloud-server-providers.cjs +4 -4
- package/dist/actions/list-cloud-server-providers.cjs.map +1 -1
- package/dist/actions/list-cloud-server-providers.d.cts +5 -5
- package/dist/actions/list-cloud-server-providers.d.mts +5 -5
- package/dist/actions/list-cloud-server-providers.mjs +4 -4
- package/dist/actions/list-cloud-server-providers.mjs.map +1 -1
- package/dist/actions/list-cloud-storage-providers.cjs +2 -2
- package/dist/actions/list-cloud-storage-providers.cjs.map +1 -1
- package/dist/actions/list-cloud-storage-providers.d.cts +2 -2
- package/dist/actions/list-cloud-storage-providers.d.mts +2 -2
- package/dist/actions/list-cloud-storage-providers.mjs +2 -2
- package/dist/actions/list-cloud-storage-providers.mjs.map +1 -1
- package/dist/actions/list-cronjobs-presets.cjs +2 -2
- package/dist/actions/list-cronjobs-presets.cjs.map +1 -1
- package/dist/actions/list-cronjobs-presets.d.cts +2 -2
- package/dist/actions/list-cronjobs-presets.d.mts +2 -2
- package/dist/actions/list-cronjobs-presets.mjs +2 -2
- package/dist/actions/list-cronjobs-presets.mjs.map +1 -1
- package/dist/actions/list-databases.cjs +4 -4
- package/dist/actions/list-databases.cjs.map +1 -1
- package/dist/actions/list-databases.d.cts +4 -4
- package/dist/actions/list-databases.d.mts +4 -4
- package/dist/actions/list-databases.mjs +4 -4
- package/dist/actions/list-databases.mjs.map +1 -1
- package/dist/actions/list-git-providers.cjs +4 -4
- package/dist/actions/list-git-providers.cjs.map +1 -1
- package/dist/actions/list-git-providers.d.cts +4 -4
- package/dist/actions/list-git-providers.d.mts +4 -4
- package/dist/actions/list-git-providers.mjs +4 -4
- package/dist/actions/list-git-providers.mjs.map +1 -1
- package/dist/actions/list-members.cjs +6 -6
- package/dist/actions/list-members.cjs.map +1 -1
- package/dist/actions/list-members.d.cts +6 -6
- package/dist/actions/list-members.d.mts +6 -6
- package/dist/actions/list-members.mjs +6 -6
- package/dist/actions/list-members.mjs.map +1 -1
- package/dist/actions/list-organizations.cjs +4 -4
- package/dist/actions/list-organizations.cjs.map +1 -1
- package/dist/actions/list-organizations.d.cts +4 -4
- package/dist/actions/list-organizations.d.mts +4 -4
- package/dist/actions/list-organizations.mjs +4 -4
- package/dist/actions/list-organizations.mjs.map +1 -1
- package/dist/actions/list-servers.cjs +4 -4
- package/dist/actions/list-servers.cjs.map +1 -1
- package/dist/actions/list-servers.d.cts +4 -4
- package/dist/actions/list-servers.d.mts +4 -4
- package/dist/actions/list-servers.mjs +4 -4
- package/dist/actions/list-servers.mjs.map +1 -1
- package/dist/actions/list-timezones.cjs +1 -1
- package/dist/actions/list-timezones.cjs.map +1 -1
- package/dist/actions/list-timezones.d.cts +2 -2
- package/dist/actions/list-timezones.d.mts +2 -2
- package/dist/actions/list-timezones.mjs +1 -1
- package/dist/actions/list-timezones.mjs.map +1 -1
- package/dist/actions/list-wordpress-languages.cjs +2 -2
- package/dist/actions/list-wordpress-languages.cjs.map +1 -1
- package/dist/actions/list-wordpress-languages.d.cts +2 -2
- package/dist/actions/list-wordpress-languages.d.mts +2 -2
- package/dist/actions/list-wordpress-languages.mjs +2 -2
- package/dist/actions/list-wordpress-languages.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -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}).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}).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":";;;AAIA,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,SAAS,gDAAgD;
|
|
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":";;;AAIA,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,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ declare const ServeravatarListBackupsDeletedServerOutput: z.ZodObject<{
|
|
|
11
11
|
ip: z.ZodNullable<z.ZodString>;
|
|
12
12
|
name: z.ZodNullable<z.ZodString>;
|
|
13
13
|
deleted_at: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const serveravatarListBackupsDeletedServer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
organization: string;
|
|
18
18
|
page?: number | undefined;
|
|
@@ -11,8 +11,8 @@ declare const ServeravatarListBackupsDeletedServerOutput: z.ZodObject<{
|
|
|
11
11
|
ip: z.ZodNullable<z.ZodString>;
|
|
12
12
|
name: z.ZodNullable<z.ZodString>;
|
|
13
13
|
deleted_at: z.ZodNullable<z.ZodString>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const serveravatarListBackupsDeletedServer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
organization: string;
|
|
18
18
|
page?: number | undefined;
|
|
@@ -10,13 +10,13 @@ const ServeravatarListBackupsDeletedServer_DeletedServerSchema = z.object({
|
|
|
10
10
|
ip: z.string().describe("Server IP address").nullable(),
|
|
11
11
|
name: z.string().describe("Server name").nullable(),
|
|
12
12
|
deleted_at: z.string().describe("Timestamp when the server was deleted (ISO 8601 format)").nullable()
|
|
13
|
-
}).describe("Deleted server object with backup information.");
|
|
13
|
+
}).passthrough().describe("Deleted server object with backup information.");
|
|
14
14
|
const serveravatarListBackupsDeletedServer = action("SERVERAVATAR_LIST_BACKUPS_DELETED_SERVER", {
|
|
15
15
|
slug: "serveravatar-list-backups-deleted-server",
|
|
16
16
|
name: "List Backups for Deleted Servers",
|
|
17
17
|
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.",
|
|
18
18
|
input: ServeravatarListBackupsDeletedServerInput,
|
|
19
|
-
output: z.object({ servers: z.array(ServeravatarListBackupsDeletedServer_DeletedServerSchema).describe("List of deleted servers with backup information").nullable().optional() }).describe("Response model for listing backups from deleted servers.")
|
|
19
|
+
output: z.object({ servers: z.array(ServeravatarListBackupsDeletedServer_DeletedServerSchema).describe("List of deleted servers with backup information").nullable().optional() }).passthrough().describe("Response model for listing backups from deleted servers.")
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { serveravatarListBackupsDeletedServer };
|
|
@@ -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}).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}).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":";;;AAIA,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,SAAS,gDAAgD;
|
|
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":";;;AAIA,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,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,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,0DAOhB;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ const ServeravatarListBackupsPresetsOutput = zod.z.object({
|
|
|
10
10
|
schedules: zod.z.array(zod.z.string()).describe("Array of preset backup frequency options like 'Every Hour', 'Every Day', 'Every Week', etc.").nullable().optional(),
|
|
11
11
|
retentionPeriod: zod.z.array(zod.z.string()).describe("Array of data retention duration options like '1 week', '1 Month', '12 Months', etc.").nullable().optional(),
|
|
12
12
|
selectedDatabase: zod.z.unknown().describe("Selected database (may be null or contain selected database information).").nullable().optional()
|
|
13
|
-
}).describe("Response model for listing backup presets.");
|
|
13
|
+
}).passthrough().describe("Response model for listing backup presets.");
|
|
14
14
|
const serveravatarListBackupsPresets = require_action.action("SERVERAVATAR_LIST_BACKUPS_PRESETS", {
|
|
15
15
|
slug: "serveravatar-list-backups-presets",
|
|
16
16
|
name: "List Backup Presets",
|
|
@@ -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}).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":";;;AAIA,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,SAAS,4CAA4C;
|
|
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":";;;AAIA,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,iCAAiCC,eAAAA,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,7 +10,7 @@ declare const ServeravatarListBackupsPresetsOutput: z.ZodObject<{
|
|
|
10
10
|
schedules: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
11
|
retentionPeriod: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
12
|
selectedDatabase: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const serveravatarListBackupsPresets: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
server: string;
|
|
16
16
|
organization: string;
|
|
@@ -10,7 +10,7 @@ declare const ServeravatarListBackupsPresetsOutput: z.ZodObject<{
|
|
|
10
10
|
schedules: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11
11
|
retentionPeriod: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12
12
|
selectedDatabase: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>;
|
|
14
14
|
declare const serveravatarListBackupsPresets: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
15
|
server: string;
|
|
16
16
|
organization: string;
|
|
@@ -13,7 +13,7 @@ const serveravatarListBackupsPresets = action("SERVERAVATAR_LIST_BACKUPS_PRESETS
|
|
|
13
13
|
schedules: z.array(z.string()).describe("Array of preset backup frequency options like 'Every Hour', 'Every Day', 'Every Week', etc.").nullable().optional(),
|
|
14
14
|
retentionPeriod: z.array(z.string()).describe("Array of data retention duration options like '1 week', '1 Month', '12 Months', etc.").nullable().optional(),
|
|
15
15
|
selectedDatabase: z.unknown().describe("Selected database (may be null or contain selected database information).").nullable().optional()
|
|
16
|
-
}).describe("Response model for listing backup presets.")
|
|
16
|
+
}).passthrough().describe("Response model for listing backup presets.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { serveravatarListBackupsPresets };
|
|
@@ -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}).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":";;AAeA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfiD,EAAE,OAAO;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACvE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACrF,CAAC,CAAC,CAAC,SAAS,2CAYH;CACP,QAZkD,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,SAAS,
|
|
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":";;AAeA,MAAa,iCAAiC,OAAO,qCAAqC;CACxF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfiD,EAAE,OAAO;EAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACvE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACrF,CAAC,CAAC,CAAC,SAAS,2CAYH;CACP,QAZkD,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,4CAOhB;AACV,CAAC"}
|
|
@@ -52,7 +52,7 @@ const ServeravatarListBackups_PaginationLinkSchema = zod.z.object({
|
|
|
52
52
|
url: zod.z.string().describe("URL for the pagination link").nullable().optional(),
|
|
53
53
|
label: zod.z.string().describe("Label for the pagination link").nullable(),
|
|
54
54
|
active: zod.z.boolean().describe("Whether this link is the active page").nullable()
|
|
55
|
-
}).describe("Pagination link object for navigating through pages.");
|
|
55
|
+
}).passthrough().describe("Pagination link object for navigating through pages.");
|
|
56
56
|
const ServeravatarListBackupsOutput = zod.z.object({
|
|
57
57
|
to: zod.z.number().int().describe("Ending record number").nullable().optional(),
|
|
58
58
|
data: zod.z.array(ServeravatarListBackups_BackupSchema).describe("List of backups"),
|
|
@@ -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}).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"],"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AAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACvE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,eAAeA,IAAAA,EAAE,OAAO,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,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,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 { 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,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,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}
|
|
@@ -53,7 +53,7 @@ declare const ServeravatarListBackupsOutput: z.ZodObject<{
|
|
|
53
53
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
label: z.ZodNullable<z.ZodString>;
|
|
55
55
|
active: z.ZodNullable<z.ZodBoolean>;
|
|
56
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>>>>;
|
|
57
57
|
total: z.ZodNullable<z.ZodNumber>;
|
|
58
58
|
per_page: z.ZodNullable<z.ZodNumber>;
|
|
59
59
|
last_page: z.ZodNullable<z.ZodNumber>;
|
|
@@ -53,7 +53,7 @@ declare const ServeravatarListBackupsOutput: z.ZodObject<{
|
|
|
53
53
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
label: z.ZodNullable<z.ZodString>;
|
|
55
55
|
active: z.ZodNullable<z.ZodBoolean>;
|
|
56
|
-
}, z.core.$
|
|
56
|
+
}, z.core.$loose>>>>;
|
|
57
57
|
total: z.ZodNullable<z.ZodNumber>;
|
|
58
58
|
per_page: z.ZodNullable<z.ZodNumber>;
|
|
59
59
|
last_page: z.ZodNullable<z.ZodNumber>;
|
|
@@ -52,7 +52,7 @@ const ServeravatarListBackups_PaginationLinkSchema = z.object({
|
|
|
52
52
|
url: z.string().describe("URL for the pagination link").nullable().optional(),
|
|
53
53
|
label: z.string().describe("Label for the pagination link").nullable(),
|
|
54
54
|
active: z.boolean().describe("Whether this link is the active page").nullable()
|
|
55
|
-
}).describe("Pagination link object for navigating through pages.");
|
|
55
|
+
}).passthrough().describe("Pagination link object for navigating through pages.");
|
|
56
56
|
const serveravatarListBackups = action("SERVERAVATAR_LIST_BACKUPS", {
|
|
57
57
|
slug: "serveravatar-list-backups",
|
|
58
58
|
name: "List Backups",
|
|
@@ -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}).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,CAA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AC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,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 { 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,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAA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,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"}
|
|
@@ -11,12 +11,12 @@ const ServeravatarListCloudServerProviders_CloudServerProviderItemSchema = zod.z
|
|
|
11
11
|
id: zod.z.number().int().describe("Provider account ID").nullable().optional(),
|
|
12
12
|
name: zod.z.string().describe("Display name of the provider account").nullable().optional(),
|
|
13
13
|
provider: zod.z.string().describe("Provider type identifier (e.g., lightsail, digitalocean, vultr, linode, hetzner)").nullable().optional()
|
|
14
|
-
}).describe("Individual cloud server provider account details.");
|
|
14
|
+
}).passthrough().describe("Individual cloud server provider account details.");
|
|
15
15
|
const ServeravatarListCloudServerProviders_PaginationLinkSchema = zod.z.object({
|
|
16
16
|
url: zod.z.string().describe("URL for the pagination link").nullable().optional(),
|
|
17
17
|
label: zod.z.string().describe("Label for the pagination link").nullable().optional(),
|
|
18
18
|
active: zod.z.boolean().describe("Whether this link is the active page").nullable().optional()
|
|
19
|
-
}).describe("Pagination link object.");
|
|
19
|
+
}).passthrough().describe("Pagination link object.");
|
|
20
20
|
const ServeravatarListCloudServerProviders_PaginatedResponseSchema = zod.z.object({
|
|
21
21
|
to: zod.z.number().int().describe("Ending index of items on current page").nullable().optional(),
|
|
22
22
|
data: zod.z.array(ServeravatarListCloudServerProviders_CloudServerProviderItemSchema).describe("List of cloud server provider accounts").nullable().optional(),
|
|
@@ -31,11 +31,11 @@ const ServeravatarListCloudServerProviders_PaginatedResponseSchema = zod.z.objec
|
|
|
31
31
|
next_page_url: zod.z.string().describe("URL for the next page").nullable().optional(),
|
|
32
32
|
prev_page_url: zod.z.string().describe("URL for the previous page").nullable().optional(),
|
|
33
33
|
first_page_url: zod.z.string().describe("URL for the first page").nullable().optional()
|
|
34
|
-
}).describe("Paginated response structure returned when pagination=1 is used.");
|
|
34
|
+
}).passthrough().describe("Paginated response structure returned when pagination=1 is used.");
|
|
35
35
|
const ServeravatarListCloudServerProvidersOutput = zod.z.object({
|
|
36
36
|
providers: zod.z.array(ServeravatarListCloudServerProviders_CloudServerProviderItemSchema).describe("List of cloud server provider accounts (returned when pagination is not enabled)").nullable().optional(),
|
|
37
37
|
paginated_data: ServeravatarListCloudServerProviders_PaginatedResponseSchema.nullable().optional()
|
|
38
|
-
}).describe("Response model for listing cloud server providers.\nReturns either a simple array of providers or a paginated response based on pagination parameter.");
|
|
38
|
+
}).passthrough().describe("Response model for listing cloud server providers.\nReturns either a simple array of providers or a paginated response based on pagination parameter.");
|
|
39
39
|
const serveravatarListCloudServerProviders = require_action.action("SERVERAVATAR_LIST_CLOUD_SERVER_PROVIDERS", {
|
|
40
40
|
slug: "serveravatar-list-cloud-server-providers",
|
|
41
41
|
name: "List Cloud Server Providers",
|
|
@@ -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}).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}).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}).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}).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":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACjL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC9F,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,qEAAqEA,IAAAA,EAAE,OAAO;CAClF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,mDAAmD;
|
|
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":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC1H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACjL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;AAC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AAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAAuJ;AAEjL,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,21 +12,21 @@ declare const ServeravatarListCloudServerProvidersOutput: z.ZodObject<{
|
|
|
12
12
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
16
|
paginated_data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
17
|
to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
18
|
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
19
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
23
|
from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
26
26
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
30
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
31
|
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
last_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -35,8 +35,8 @@ declare const ServeravatarListCloudServerProvidersOutput: z.ZodObject<{
|
|
|
35
35
|
next_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
prev_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
first_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
}, z.core.$
|
|
39
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
|
+
}, z.core.$loose>;
|
|
40
40
|
declare const serveravatarListCloudServerProviders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
41
|
organization: string;
|
|
42
42
|
search?: string | undefined;
|
|
@@ -12,21 +12,21 @@ declare const ServeravatarListCloudServerProvidersOutput: z.ZodObject<{
|
|
|
12
12
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
13
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
14
|
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>>>;
|
|
16
16
|
paginated_data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
17
17
|
to: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
18
|
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
19
19
|
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
20
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
23
|
from: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
24
|
path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
26
26
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>>;
|
|
30
30
|
total: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
31
31
|
per_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
last_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -35,8 +35,8 @@ declare const ServeravatarListCloudServerProvidersOutput: z.ZodObject<{
|
|
|
35
35
|
next_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
prev_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
37
|
first_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
-
}, z.core.$
|
|
39
|
-
}, z.core.$
|
|
38
|
+
}, z.core.$loose>>>;
|
|
39
|
+
}, z.core.$loose>;
|
|
40
40
|
declare const serveravatarListCloudServerProviders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
41
41
|
organization: string;
|
|
42
42
|
search?: string | undefined;
|
|
@@ -11,12 +11,12 @@ const ServeravatarListCloudServerProviders_CloudServerProviderItemSchema = z.obj
|
|
|
11
11
|
id: z.number().int().describe("Provider account ID").nullable().optional(),
|
|
12
12
|
name: z.string().describe("Display name of the provider account").nullable().optional(),
|
|
13
13
|
provider: z.string().describe("Provider type identifier (e.g., lightsail, digitalocean, vultr, linode, hetzner)").nullable().optional()
|
|
14
|
-
}).describe("Individual cloud server provider account details.");
|
|
14
|
+
}).passthrough().describe("Individual cloud server provider account details.");
|
|
15
15
|
const ServeravatarListCloudServerProviders_PaginationLinkSchema = z.object({
|
|
16
16
|
url: z.string().describe("URL for the pagination link").nullable().optional(),
|
|
17
17
|
label: z.string().describe("Label for the pagination link").nullable().optional(),
|
|
18
18
|
active: z.boolean().describe("Whether this link is the active page").nullable().optional()
|
|
19
|
-
}).describe("Pagination link object.");
|
|
19
|
+
}).passthrough().describe("Pagination link object.");
|
|
20
20
|
const ServeravatarListCloudServerProviders_PaginatedResponseSchema = z.object({
|
|
21
21
|
to: z.number().int().describe("Ending index of items on current page").nullable().optional(),
|
|
22
22
|
data: z.array(ServeravatarListCloudServerProviders_CloudServerProviderItemSchema).describe("List of cloud server provider accounts").nullable().optional(),
|
|
@@ -31,7 +31,7 @@ const ServeravatarListCloudServerProviders_PaginatedResponseSchema = z.object({
|
|
|
31
31
|
next_page_url: z.string().describe("URL for the next page").nullable().optional(),
|
|
32
32
|
prev_page_url: z.string().describe("URL for the previous page").nullable().optional(),
|
|
33
33
|
first_page_url: z.string().describe("URL for the first page").nullable().optional()
|
|
34
|
-
}).describe("Paginated response structure returned when pagination=1 is used.");
|
|
34
|
+
}).passthrough().describe("Paginated response structure returned when pagination=1 is used.");
|
|
35
35
|
const serveravatarListCloudServerProviders = action("SERVERAVATAR_LIST_CLOUD_SERVER_PROVIDERS", {
|
|
36
36
|
slug: "serveravatar-list-cloud-server-providers",
|
|
37
37
|
name: "List Cloud Server Providers",
|
|
@@ -40,7 +40,7 @@ const serveravatarListCloudServerProviders = action("SERVERAVATAR_LIST_CLOUD_SER
|
|
|
40
40
|
output: z.object({
|
|
41
41
|
providers: z.array(ServeravatarListCloudServerProviders_CloudServerProviderItemSchema).describe("List of cloud server provider accounts (returned when pagination is not enabled)").nullable().optional(),
|
|
42
42
|
paginated_data: ServeravatarListCloudServerProviders_PaginatedResponseSchema.nullable().optional()
|
|
43
|
-
}).describe("Response model for listing cloud server providers.\nReturns either a simple array of providers or a paginated response based on pagination parameter.")
|
|
43
|
+
}).passthrough().describe("Response model for listing cloud server providers.\nReturns either a simple array of providers or a paginated response based on pagination parameter.")
|
|
44
44
|
});
|
|
45
45
|
//#endregion
|
|
46
46
|
export { serveravatarListCloudServerProviders };
|
|
@@ -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}).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}).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}).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}).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":";;;AAIA,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,SAAS,mDAAmD;
|
|
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":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8D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AE,MAAM,kEAAkE,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxM,gBAAgB,6DAA6D,SAAS,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uJAOhB;AACV,CAAC"}
|
|
@@ -8,8 +8,8 @@ const ServeravatarListCloudStorageProviders_CloudStorageProviderSchema = zod.z.o
|
|
|
8
8
|
provider: zod.z.string().describe("Type of cloud storage provider (e.g., gdrive, amazon_s3, dropbox, serveravatar, wasabi, custom_s3)").nullable().optional(),
|
|
9
9
|
created_at: zod.z.string().describe("Timestamp when the provider was created").nullable().optional(),
|
|
10
10
|
updated_at: zod.z.string().describe("Timestamp when the provider was last updated").nullable().optional()
|
|
11
|
-
}).describe("Model representing a cloud storage provider configuration.");
|
|
12
|
-
const ServeravatarListCloudStorageProvidersOutput = zod.z.object({ providers: zod.z.array(ServeravatarListCloudStorageProviders_CloudStorageProviderSchema).describe("List of cloud storage provider configurations for the organization") }).describe("Response model containing the list of cloud storage providers.");
|
|
11
|
+
}).passthrough().describe("Model representing a cloud storage provider configuration.");
|
|
12
|
+
const ServeravatarListCloudStorageProvidersOutput = zod.z.object({ providers: zod.z.array(ServeravatarListCloudStorageProviders_CloudStorageProviderSchema).describe("List of cloud storage provider configurations for the organization") }).passthrough().describe("Response model containing the list of cloud storage providers.");
|
|
13
13
|
const serveravatarListCloudStorageProviders = require_action.action("SERVERAVATAR_LIST_CLOUD_STORAGE_PROVIDERS", {
|
|
14
14
|
slug: "serveravatar-list-cloud-storage-providers",
|
|
15
15
|
name: "List Cloud Storage Providers",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cloud-storage-providers.cjs","names":["z","action"],"sources":["../../src/actions/list-cloud-storage-providers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListCloudStorageProvidersInput = z.object({\n organization: z.string().describe(\"The organization ID to list cloud storage providers for\"),\n}).describe(\"Request model for listing cloud storage providers for an organization.\");\nconst ServeravatarListCloudStorageProviders_CloudStorageProviderSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the cloud storage provider configuration\").nullable(),\n name: z.string().describe(\"User-defined name for this storage provider configuration\").nullable().optional(),\n provider: z.string().describe(\"Type of cloud storage provider (e.g., gdrive, amazon_s3, dropbox, serveravatar, wasabi, custom_s3)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the provider was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the provider was last updated\").nullable().optional(),\n}).describe(\"Model representing a cloud storage provider configuration.\");\nexport const ServeravatarListCloudStorageProvidersOutput = z.object({\n providers: z.array(ServeravatarListCloudStorageProviders_CloudStorageProviderSchema).describe(\"List of cloud storage provider configurations for the organization\"),\n}).describe(\"Response model containing the list of cloud storage providers.\");\n\nexport const serveravatarListCloudStorageProviders = action(\"SERVERAVATAR_LIST_CLOUD_STORAGE_PROVIDERS\", {\n slug: \"serveravatar-list-cloud-storage-providers\",\n name: \"List Cloud Storage Providers\",\n description: \"Tool to list all configured cloud storage providers for an organization. Use when you need to retrieve available storage provider configurations for backups or file storage.\",\n input: ServeravatarListCloudStorageProvidersInput,\n output: ServeravatarListCloudStorageProvidersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC7F,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,mEAAmEA,IAAAA,EAAE,OAAO;CAChF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,4DAA4D;
|
|
1
|
+
{"version":3,"file":"list-cloud-storage-providers.cjs","names":["z","action"],"sources":["../../src/actions/list-cloud-storage-providers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListCloudStorageProvidersInput = z.object({\n organization: z.string().describe(\"The organization ID to list cloud storage providers for\"),\n}).describe(\"Request model for listing cloud storage providers for an organization.\");\nconst ServeravatarListCloudStorageProviders_CloudStorageProviderSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the cloud storage provider configuration\").nullable(),\n name: z.string().describe(\"User-defined name for this storage provider configuration\").nullable().optional(),\n provider: z.string().describe(\"Type of cloud storage provider (e.g., gdrive, amazon_s3, dropbox, serveravatar, wasabi, custom_s3)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the provider was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the provider was last updated\").nullable().optional(),\n}).passthrough().describe(\"Model representing a cloud storage provider configuration.\");\nexport const ServeravatarListCloudStorageProvidersOutput = z.object({\n providers: z.array(ServeravatarListCloudStorageProviders_CloudStorageProviderSchema).describe(\"List of cloud storage provider configurations for the organization\"),\n}).passthrough().describe(\"Response model containing the list of cloud storage providers.\");\n\nexport const serveravatarListCloudStorageProviders = action(\"SERVERAVATAR_LIST_CLOUD_STORAGE_PROVIDERS\", {\n slug: \"serveravatar-list-cloud-storage-providers\",\n name: \"List Cloud Storage Providers\",\n description: \"Tool to list all configured cloud storage providers for an organization. Use when you need to retrieve available storage provider configurations for backups or file storage.\",\n input: ServeravatarListCloudStorageProvidersInput,\n output: ServeravatarListCloudStorageProvidersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC7F,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,mEAAmEA,IAAAA,EAAE,OAAO;CAChF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAa,8CAA8CA,IAAAA,EAAE,OAAO,EAClE,WAAWA,IAAAA,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,oEAAoE,EACpK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,wCAAwCC,eAAAA,OAAO,6CAA6C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -11,8 +11,8 @@ declare const ServeravatarListCloudStorageProvidersOutput: z.ZodObject<{
|
|
|
11
11
|
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const serveravatarListCloudStorageProviders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
organization: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -11,8 +11,8 @@ declare const ServeravatarListCloudStorageProvidersOutput: z.ZodObject<{
|
|
|
11
11
|
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
-
}, z.core.$
|
|
15
|
-
}, z.core.$
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
16
|
declare const serveravatarListCloudStorageProviders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
17
|
organization: string;
|
|
18
18
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,13 +8,13 @@ const ServeravatarListCloudStorageProviders_CloudStorageProviderSchema = z.objec
|
|
|
8
8
|
provider: z.string().describe("Type of cloud storage provider (e.g., gdrive, amazon_s3, dropbox, serveravatar, wasabi, custom_s3)").nullable().optional(),
|
|
9
9
|
created_at: z.string().describe("Timestamp when the provider was created").nullable().optional(),
|
|
10
10
|
updated_at: z.string().describe("Timestamp when the provider was last updated").nullable().optional()
|
|
11
|
-
}).describe("Model representing a cloud storage provider configuration.");
|
|
11
|
+
}).passthrough().describe("Model representing a cloud storage provider configuration.");
|
|
12
12
|
const serveravatarListCloudStorageProviders = action("SERVERAVATAR_LIST_CLOUD_STORAGE_PROVIDERS", {
|
|
13
13
|
slug: "serveravatar-list-cloud-storage-providers",
|
|
14
14
|
name: "List Cloud Storage Providers",
|
|
15
15
|
description: "Tool to list all configured cloud storage providers for an organization. Use when you need to retrieve available storage provider configurations for backups or file storage.",
|
|
16
16
|
input: ServeravatarListCloudStorageProvidersInput,
|
|
17
|
-
output: z.object({ providers: z.array(ServeravatarListCloudStorageProviders_CloudStorageProviderSchema).describe("List of cloud storage provider configurations for the organization") }).describe("Response model containing the list of cloud storage providers.")
|
|
17
|
+
output: z.object({ providers: z.array(ServeravatarListCloudStorageProviders_CloudStorageProviderSchema).describe("List of cloud storage provider configurations for the organization") }).passthrough().describe("Response model containing the list of cloud storage providers.")
|
|
18
18
|
});
|
|
19
19
|
//#endregion
|
|
20
20
|
export { serveravatarListCloudStorageProviders };
|