@keystrokehq/serveravatar 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/destroy-backups.cjs +1 -0
- package/dist/actions/destroy-backups.cjs.map +1 -1
- package/dist/actions/destroy-backups.d.cts +3 -16
- package/dist/actions/destroy-backups.d.cts.map +1 -1
- package/dist/actions/destroy-backups.d.mts +3 -16
- package/dist/actions/destroy-backups.d.mts.map +1 -1
- package/dist/actions/destroy-backups.mjs +1 -0
- package/dist/actions/destroy-backups.mjs.map +1 -1
- package/dist/actions/get-organization.cjs +1 -0
- package/dist/actions/get-organization.cjs.map +1 -1
- package/dist/actions/get-organization.d.cts +3 -15
- package/dist/actions/get-organization.d.cts.map +1 -1
- package/dist/actions/get-organization.d.mts +3 -15
- package/dist/actions/get-organization.d.mts.map +1 -1
- package/dist/actions/get-organization.mjs +1 -0
- package/dist/actions/get-organization.mjs.map +1 -1
- package/dist/actions/list-applications.cjs +1 -0
- package/dist/actions/list-applications.cjs.map +1 -1
- package/dist/actions/list-applications.d.cts +3 -15
- package/dist/actions/list-applications.d.cts.map +1 -1
- package/dist/actions/list-applications.d.mts +3 -15
- package/dist/actions/list-applications.d.mts.map +1 -1
- package/dist/actions/list-applications.mjs +1 -0
- package/dist/actions/list-applications.mjs.map +1 -1
- package/dist/actions/list-backups-archive.cjs +1 -0
- package/dist/actions/list-backups-archive.cjs.map +1 -1
- package/dist/actions/list-backups-archive.d.cts +3 -17
- package/dist/actions/list-backups-archive.d.cts.map +1 -1
- package/dist/actions/list-backups-archive.d.mts +3 -17
- package/dist/actions/list-backups-archive.d.mts.map +1 -1
- package/dist/actions/list-backups-archive.mjs +1 -0
- package/dist/actions/list-backups-archive.mjs.map +1 -1
- package/dist/actions/list-backups-deleted-server.cjs +1 -0
- package/dist/actions/list-backups-deleted-server.cjs.map +1 -1
- package/dist/actions/list-backups-deleted-server.d.cts +3 -16
- package/dist/actions/list-backups-deleted-server.d.cts.map +1 -1
- package/dist/actions/list-backups-deleted-server.d.mts +3 -16
- package/dist/actions/list-backups-deleted-server.d.mts.map +1 -1
- package/dist/actions/list-backups-deleted-server.mjs +1 -0
- package/dist/actions/list-backups-deleted-server.mjs.map +1 -1
- package/dist/actions/list-backups-presets.cjs +1 -0
- package/dist/actions/list-backups-presets.cjs.map +1 -1
- package/dist/actions/list-backups-presets.d.cts +3 -16
- package/dist/actions/list-backups-presets.d.cts.map +1 -1
- package/dist/actions/list-backups-presets.d.mts +3 -16
- package/dist/actions/list-backups-presets.d.mts.map +1 -1
- package/dist/actions/list-backups-presets.mjs +1 -0
- package/dist/actions/list-backups-presets.mjs.map +1 -1
- package/dist/actions/list-backups.cjs +1 -0
- package/dist/actions/list-backups.cjs.map +1 -1
- package/dist/actions/list-backups.d.cts +3 -16
- package/dist/actions/list-backups.d.cts.map +1 -1
- package/dist/actions/list-backups.d.mts +3 -16
- package/dist/actions/list-backups.d.mts.map +1 -1
- package/dist/actions/list-backups.mjs +1 -0
- package/dist/actions/list-backups.mjs.map +1 -1
- package/dist/actions/list-cloud-server-providers.cjs +1 -0
- package/dist/actions/list-cloud-server-providers.cjs.map +1 -1
- package/dist/actions/list-cloud-server-providers.d.cts +3 -18
- package/dist/actions/list-cloud-server-providers.d.cts.map +1 -1
- package/dist/actions/list-cloud-server-providers.d.mts +3 -18
- package/dist/actions/list-cloud-server-providers.d.mts.map +1 -1
- package/dist/actions/list-cloud-server-providers.mjs +1 -0
- package/dist/actions/list-cloud-server-providers.mjs.map +1 -1
- package/dist/actions/list-cloud-storage-providers.cjs +1 -0
- package/dist/actions/list-cloud-storage-providers.cjs.map +1 -1
- package/dist/actions/list-cloud-storage-providers.d.cts +3 -15
- package/dist/actions/list-cloud-storage-providers.d.cts.map +1 -1
- package/dist/actions/list-cloud-storage-providers.d.mts +3 -15
- package/dist/actions/list-cloud-storage-providers.d.mts.map +1 -1
- package/dist/actions/list-cloud-storage-providers.mjs +1 -0
- package/dist/actions/list-cloud-storage-providers.mjs.map +1 -1
- package/dist/actions/list-cronjobs-presets.cjs +1 -0
- package/dist/actions/list-cronjobs-presets.cjs.map +1 -1
- package/dist/actions/list-cronjobs-presets.d.cts +3 -16
- package/dist/actions/list-cronjobs-presets.d.cts.map +1 -1
- package/dist/actions/list-cronjobs-presets.d.mts +3 -16
- package/dist/actions/list-cronjobs-presets.d.mts.map +1 -1
- package/dist/actions/list-cronjobs-presets.mjs +1 -0
- package/dist/actions/list-cronjobs-presets.mjs.map +1 -1
- package/dist/actions/list-databases.cjs +1 -0
- package/dist/actions/list-databases.cjs.map +1 -1
- package/dist/actions/list-databases.d.cts +3 -17
- package/dist/actions/list-databases.d.cts.map +1 -1
- package/dist/actions/list-databases.d.mts +3 -17
- package/dist/actions/list-databases.d.mts.map +1 -1
- package/dist/actions/list-databases.mjs +1 -0
- package/dist/actions/list-databases.mjs.map +1 -1
- package/dist/actions/list-git-providers.cjs +1 -0
- package/dist/actions/list-git-providers.cjs.map +1 -1
- package/dist/actions/list-git-providers.d.cts +3 -15
- package/dist/actions/list-git-providers.d.cts.map +1 -1
- package/dist/actions/list-git-providers.d.mts +3 -15
- package/dist/actions/list-git-providers.d.mts.map +1 -1
- package/dist/actions/list-git-providers.mjs +1 -0
- package/dist/actions/list-git-providers.mjs.map +1 -1
- package/dist/actions/list-members.cjs +1 -0
- package/dist/actions/list-members.cjs.map +1 -1
- package/dist/actions/list-members.d.cts +3 -17
- package/dist/actions/list-members.d.cts.map +1 -1
- package/dist/actions/list-members.d.mts +3 -17
- package/dist/actions/list-members.d.mts.map +1 -1
- package/dist/actions/list-members.mjs +1 -0
- package/dist/actions/list-members.mjs.map +1 -1
- package/dist/actions/list-organizations.cjs +1 -0
- package/dist/actions/list-organizations.cjs.map +1 -1
- package/dist/actions/list-organizations.d.cts +3 -13
- package/dist/actions/list-organizations.d.cts.map +1 -1
- package/dist/actions/list-organizations.d.mts +3 -13
- package/dist/actions/list-organizations.d.mts.map +1 -1
- package/dist/actions/list-organizations.mjs +1 -0
- package/dist/actions/list-organizations.mjs.map +1 -1
- package/dist/actions/list-servers.cjs +1 -0
- package/dist/actions/list-servers.cjs.map +1 -1
- package/dist/actions/list-servers.d.cts +3 -16
- package/dist/actions/list-servers.d.cts.map +1 -1
- package/dist/actions/list-servers.d.mts +3 -16
- package/dist/actions/list-servers.d.mts.map +1 -1
- package/dist/actions/list-servers.mjs +1 -0
- package/dist/actions/list-servers.mjs.map +1 -1
- package/dist/actions/list-timezones.cjs +1 -0
- package/dist/actions/list-timezones.cjs.map +1 -1
- package/dist/actions/list-timezones.d.cts +3 -13
- package/dist/actions/list-timezones.d.cts.map +1 -1
- package/dist/actions/list-timezones.d.mts +3 -13
- package/dist/actions/list-timezones.d.mts.map +1 -1
- package/dist/actions/list-timezones.mjs +1 -0
- package/dist/actions/list-timezones.mjs.map +1 -1
- package/dist/actions/list-wordpress-languages.cjs +1 -0
- package/dist/actions/list-wordpress-languages.cjs.map +1 -1
- package/dist/actions/list-wordpress-languages.d.cts +3 -13
- package/dist/actions/list-wordpress-languages.d.cts.map +1 -1
- package/dist/actions/list-wordpress-languages.d.mts +3 -13
- package/dist/actions/list-wordpress-languages.d.mts.map +1 -1
- package/dist/actions/list-wordpress-languages.mjs +1 -0
- package/dist/actions/list-wordpress-languages.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-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":"
|
|
1
|
+
{"version":3,"file":"list-cloud-storage-providers.cjs","names":["z","action"],"sources":["../../src/actions/list-cloud-storage-providers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\n\nexport const 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: AppAction<\n typeof ServeravatarListCloudStorageProvidersInput,\n typeof ServeravatarListCloudStorageProvidersOutput,\n typeof serveravatar.credential\n> = 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":";;;;AAMA,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,wCAITC,eAAAA,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-cloud-storage-providers.d.ts
|
|
@@ -13,21 +15,7 @@ declare const ServeravatarListCloudStorageProvidersOutput: z.ZodObject<{
|
|
|
13
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const serveravatarListCloudStorageProviders:
|
|
17
|
-
organization: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const serveravatarListCloudStorageProviders: AppAction<typeof ServeravatarListCloudStorageProvidersInput, typeof ServeravatarListCloudStorageProvidersOutput, typeof serveravatar.credential>;
|
|
31
19
|
//#endregion
|
|
32
20
|
export { serveravatarListCloudStorageProviders };
|
|
33
21
|
//# sourceMappingURL=list-cloud-storage-providers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cloud-storage-providers.d.cts","names":[],"sources":["../../src/actions/list-cloud-storage-providers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-cloud-storage-providers.d.cts","names":[],"sources":["../../src/actions/list-cloud-storage-providers.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAU1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;cAI3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-cloud-storage-providers.d.ts
|
|
@@ -13,21 +15,7 @@ declare const ServeravatarListCloudStorageProvidersOutput: z.ZodObject<{
|
|
|
13
15
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const serveravatarListCloudStorageProviders:
|
|
17
|
-
organization: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
generic_api_key: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
generic_api_key: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const serveravatarListCloudStorageProviders: AppAction<typeof ServeravatarListCloudStorageProvidersInput, typeof ServeravatarListCloudStorageProvidersOutput, typeof serveravatar.credential>;
|
|
31
19
|
//#endregion
|
|
32
20
|
export { serveravatarListCloudStorageProviders };
|
|
33
21
|
//# sourceMappingURL=list-cloud-storage-providers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cloud-storage-providers.d.mts","names":[],"sources":["../../src/actions/list-cloud-storage-providers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-cloud-storage-providers.d.mts","names":[],"sources":["../../src/actions/list-cloud-storage-providers.ts"],"mappings":";;;;;cAMa,0CAAA,EAA0C,CAAA,CAAA,SAAA;;;cAU1C,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;cAI3C,qCAAA,EAAuC,SAAA,QAC3C,0CAAA,SACA,2CAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cloud-storage-providers.mjs","names":[],"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":"
|
|
1
|
+
{"version":3,"file":"list-cloud-storage-providers.mjs","names":[],"sources":["../../src/actions/list-cloud-storage-providers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\n\nexport const 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: AppAction<\n typeof ServeravatarListCloudStorageProvidersInput,\n typeof ServeravatarListCloudStorageProvidersOutput,\n typeof serveravatar.credential\n> = 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":";;;;AAMA,MAAa,6CAA6C,EAAE,OAAO,EACjE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,EAC7F,CAAC,CAAC,CAAC,SAAS,wEAAwE;AACpF,MAAM,mEAAmE,EAAE,OAAO;CAChF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAKtF,MAAa,wCAIT,OAAO,6CAA6C;CACtD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbyD,EAAE,OAAO,EAClE,WAAW,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,oEAAoE,EACpK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cronjobs-presets.cjs","names":["z","action"],"sources":["../../src/actions/list-cronjobs-presets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListCronjobsPresetsInput = z.object({\n server: z.string().describe(\"Server identifier to retrieve cronjob presets for.\"),\n organization: z.string().describe(\"Organization identifier for the ServerAvatar account.\"),\n}).describe(\"Request model for listing cronjobs presets.\");\nconst ServeravatarListCronjobsPresets_PresetsDataSchema = z.object({\n everyDay: z.string().describe(\"Cron expression for running every day.\").nullable().optional(),\n everyHour: z.string().describe(\"Cron expression for running every hour.\").nullable().optional(),\n everyWeek: z.string().describe(\"Cron expression for running every week.\").nullable().optional(),\n everyMonth: z.string().describe(\"Cron expression for running every month.\").nullable().optional(),\n every3Hours: z.string().describe(\"Cron expression for running every 3 hours.\").nullable().optional(),\n every6Hours: z.string().describe(\"Cron expression for running every 6 hours.\").nullable().optional(),\n everyMinute: z.string().describe(\"Cron expression for running every minute.\").nullable().optional(),\n every12Hours: z.string().describe(\"Cron expression for running every 12 hours.\").nullable().optional(),\n every5Minutes: z.string().describe(\"Cron expression for running every 5 minutes.\").nullable().optional(),\n every10Minutes: z.string().describe(\"Cron expression for running every 10 minutes.\").nullable().optional(),\n every15Minutes: z.string().describe(\"Cron expression for running every 15 minutes.\").nullable().optional(),\n every30Minutes: z.string().describe(\"Cron expression for running every 30 minutes.\").nullable().optional(),\n}).passthrough().describe(\"Cronjob scheduling presets with various time intervals.\");\nexport const ServeravatarListCronjobsPresetsOutput = z.object({\n presets: ServeravatarListCronjobsPresets_PresetsDataSchema.nullable(),\n}).passthrough().describe(\"Response model for listing cronjobs presets.\");\n\nexport const serveravatarListCronjobsPresets = action(\"SERVERAVATAR_LIST_CRONJOBS_PRESETS\", {\n slug: \"serveravatar-list-cronjobs-presets\",\n name: \"List Cronjobs Presets\",\n description: \"Tool to retrieve available cronjob presets for a server. Use when you need to get standard cron expressions for scheduling tasks at various intervals.\",\n input: ServeravatarListCronjobsPresetsInput,\n output: ServeravatarListCronjobsPresetsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-cronjobs-presets.cjs","names":["z","action"],"sources":["../../src/actions/list-cronjobs-presets.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\n\nexport const ServeravatarListCronjobsPresetsInput = z.object({\n server: z.string().describe(\"Server identifier to retrieve cronjob presets for.\"),\n organization: z.string().describe(\"Organization identifier for the ServerAvatar account.\"),\n}).describe(\"Request model for listing cronjobs presets.\");\nconst ServeravatarListCronjobsPresets_PresetsDataSchema = z.object({\n everyDay: z.string().describe(\"Cron expression for running every day.\").nullable().optional(),\n everyHour: z.string().describe(\"Cron expression for running every hour.\").nullable().optional(),\n everyWeek: z.string().describe(\"Cron expression for running every week.\").nullable().optional(),\n everyMonth: z.string().describe(\"Cron expression for running every month.\").nullable().optional(),\n every3Hours: z.string().describe(\"Cron expression for running every 3 hours.\").nullable().optional(),\n every6Hours: z.string().describe(\"Cron expression for running every 6 hours.\").nullable().optional(),\n everyMinute: z.string().describe(\"Cron expression for running every minute.\").nullable().optional(),\n every12Hours: z.string().describe(\"Cron expression for running every 12 hours.\").nullable().optional(),\n every5Minutes: z.string().describe(\"Cron expression for running every 5 minutes.\").nullable().optional(),\n every10Minutes: z.string().describe(\"Cron expression for running every 10 minutes.\").nullable().optional(),\n every15Minutes: z.string().describe(\"Cron expression for running every 15 minutes.\").nullable().optional(),\n every30Minutes: z.string().describe(\"Cron expression for running every 30 minutes.\").nullable().optional(),\n}).passthrough().describe(\"Cronjob scheduling presets with various time intervals.\");\nexport const ServeravatarListCronjobsPresetsOutput = z.object({\n presets: ServeravatarListCronjobsPresets_PresetsDataSchema.nullable(),\n}).passthrough().describe(\"Response model for listing cronjobs presets.\");\n\nexport const serveravatarListCronjobsPresets: AppAction<\n typeof ServeravatarListCronjobsPresetsInput,\n typeof ServeravatarListCronjobsPresetsOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_CRONJOBS_PRESETS\", {\n slug: \"serveravatar-list-cronjobs-presets\",\n name: \"List Cronjobs Presets\",\n description: \"Tool to retrieve available cronjob presets for a server. Use when you need to get standard cron expressions for scheduling tasks at various intervals.\",\n input: ServeravatarListCronjobsPresetsInput,\n output: ServeravatarListCronjobsPresetsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAChF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC3F,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CA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ACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-cronjobs-presets.d.ts
|
|
@@ -21,22 +23,7 @@ declare const ServeravatarListCronjobsPresetsOutput: z.ZodObject<{
|
|
|
21
23
|
every30Minutes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const serveravatarListCronjobsPresets:
|
|
25
|
-
server: string;
|
|
26
|
-
organization: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const serveravatarListCronjobsPresets: AppAction<typeof ServeravatarListCronjobsPresetsInput, typeof ServeravatarListCronjobsPresetsOutput, typeof serveravatar.credential>;
|
|
40
27
|
//#endregion
|
|
41
28
|
export { serveravatarListCronjobsPresets };
|
|
42
29
|
//# sourceMappingURL=list-cronjobs-presets.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cronjobs-presets.d.cts","names":[],"sources":["../../src/actions/list-cronjobs-presets.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-cronjobs-presets.d.cts","names":[],"sources":["../../src/actions/list-cronjobs-presets.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAkBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-cronjobs-presets.d.ts
|
|
@@ -21,22 +23,7 @@ declare const ServeravatarListCronjobsPresetsOutput: z.ZodObject<{
|
|
|
21
23
|
every30Minutes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const serveravatarListCronjobsPresets:
|
|
25
|
-
server: string;
|
|
26
|
-
organization: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
generic_api_key: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
generic_api_key: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const serveravatarListCronjobsPresets: AppAction<typeof ServeravatarListCronjobsPresetsInput, typeof ServeravatarListCronjobsPresetsOutput, typeof serveravatar.credential>;
|
|
40
27
|
//#endregion
|
|
41
28
|
export { serveravatarListCronjobsPresets };
|
|
42
29
|
//# sourceMappingURL=list-cronjobs-presets.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cronjobs-presets.d.mts","names":[],"sources":["../../src/actions/list-cronjobs-presets.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-cronjobs-presets.d.mts","names":[],"sources":["../../src/actions/list-cronjobs-presets.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;cAkBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-cronjobs-presets.mjs","names":[],"sources":["../../src/actions/list-cronjobs-presets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListCronjobsPresetsInput = z.object({\n server: z.string().describe(\"Server identifier to retrieve cronjob presets for.\"),\n organization: z.string().describe(\"Organization identifier for the ServerAvatar account.\"),\n}).describe(\"Request model for listing cronjobs presets.\");\nconst ServeravatarListCronjobsPresets_PresetsDataSchema = z.object({\n everyDay: z.string().describe(\"Cron expression for running every day.\").nullable().optional(),\n everyHour: z.string().describe(\"Cron expression for running every hour.\").nullable().optional(),\n everyWeek: z.string().describe(\"Cron expression for running every week.\").nullable().optional(),\n everyMonth: z.string().describe(\"Cron expression for running every month.\").nullable().optional(),\n every3Hours: z.string().describe(\"Cron expression for running every 3 hours.\").nullable().optional(),\n every6Hours: z.string().describe(\"Cron expression for running every 6 hours.\").nullable().optional(),\n everyMinute: z.string().describe(\"Cron expression for running every minute.\").nullable().optional(),\n every12Hours: z.string().describe(\"Cron expression for running every 12 hours.\").nullable().optional(),\n every5Minutes: z.string().describe(\"Cron expression for running every 5 minutes.\").nullable().optional(),\n every10Minutes: z.string().describe(\"Cron expression for running every 10 minutes.\").nullable().optional(),\n every15Minutes: z.string().describe(\"Cron expression for running every 15 minutes.\").nullable().optional(),\n every30Minutes: z.string().describe(\"Cron expression for running every 30 minutes.\").nullable().optional(),\n}).passthrough().describe(\"Cronjob scheduling presets with various time intervals.\");\nexport const ServeravatarListCronjobsPresetsOutput = z.object({\n presets: ServeravatarListCronjobsPresets_PresetsDataSchema.nullable(),\n}).passthrough().describe(\"Response model for listing cronjobs presets.\");\n\nexport const serveravatarListCronjobsPresets = action(\"SERVERAVATAR_LIST_CRONJOBS_PRESETS\", {\n slug: \"serveravatar-list-cronjobs-presets\",\n name: \"List Cronjobs Presets\",\n description: \"Tool to retrieve available cronjob presets for a server. Use when you need to get standard cron expressions for scheduling tasks at various intervals.\",\n input: ServeravatarListCronjobsPresetsInput,\n output: ServeravatarListCronjobsPresetsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-cronjobs-presets.mjs","names":[],"sources":["../../src/actions/list-cronjobs-presets.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\n\nexport const ServeravatarListCronjobsPresetsInput = z.object({\n server: z.string().describe(\"Server identifier to retrieve cronjob presets for.\"),\n organization: z.string().describe(\"Organization identifier for the ServerAvatar account.\"),\n}).describe(\"Request model for listing cronjobs presets.\");\nconst ServeravatarListCronjobsPresets_PresetsDataSchema = z.object({\n everyDay: z.string().describe(\"Cron expression for running every day.\").nullable().optional(),\n everyHour: z.string().describe(\"Cron expression for running every hour.\").nullable().optional(),\n everyWeek: z.string().describe(\"Cron expression for running every week.\").nullable().optional(),\n everyMonth: z.string().describe(\"Cron expression for running every month.\").nullable().optional(),\n every3Hours: z.string().describe(\"Cron expression for running every 3 hours.\").nullable().optional(),\n every6Hours: z.string().describe(\"Cron expression for running every 6 hours.\").nullable().optional(),\n everyMinute: z.string().describe(\"Cron expression for running every minute.\").nullable().optional(),\n every12Hours: z.string().describe(\"Cron expression for running every 12 hours.\").nullable().optional(),\n every5Minutes: z.string().describe(\"Cron expression for running every 5 minutes.\").nullable().optional(),\n every10Minutes: z.string().describe(\"Cron expression for running every 10 minutes.\").nullable().optional(),\n every15Minutes: z.string().describe(\"Cron expression for running every 15 minutes.\").nullable().optional(),\n every30Minutes: z.string().describe(\"Cron expression for running every 30 minutes.\").nullable().optional(),\n}).passthrough().describe(\"Cronjob scheduling presets with various time intervals.\");\nexport const ServeravatarListCronjobsPresetsOutput = z.object({\n presets: ServeravatarListCronjobsPresets_PresetsDataSchema.nullable(),\n}).passthrough().describe(\"Response model for listing cronjobs presets.\");\n\nexport const serveravatarListCronjobsPresets: AppAction<\n typeof ServeravatarListCronjobsPresetsInput,\n typeof ServeravatarListCronjobsPresetsOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_CRONJOBS_PRESETS\", {\n slug: \"serveravatar-list-cronjobs-presets\",\n name: \"List Cronjobs Presets\",\n description: \"Tool to retrieve available cronjob presets for a server. Use when you need to get standard cron expressions for scheduling tasks at various intervals.\",\n input: ServeravatarListCronjobsPresetsInput,\n output: ServeravatarListCronjobsPresetsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;CAChF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC3F,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,oDAAoD,EAAE,OAAO;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F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 @@
|
|
|
1
|
-
{"version":3,"file":"list-databases.cjs","names":["z","action"],"sources":["../../src/actions/list-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListDatabasesInput = z.object({\n search: z.string().describe(\"Filter results by database name\").optional(),\n pagination: z.number().int().describe(\"Enable pagination (set to 1 to enable)\").optional(),\n organization: z.string().describe(\"The organization identifier\"),\n}).describe(\"Request parameters for listing databases in an organization.\");\nconst ServeravatarListDatabases_DatabaseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the database\").nullable(),\n host: z.string().describe(\"Database host address\").nullable(),\n name: z.string().describe(\"Name of the database\").nullable(),\n size: z.number().int().describe(\"Size of the database in bytes\").nullable(),\n server_id: z.number().int().describe(\"Server identifier where database is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the database was created\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the database was deleted (null if not deleted)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the database was last updated\").nullable(),\n server_name: z.string().describe(\"Name of the server\").nullable(),\n agent_status: z.string().describe(\"Status of the agent\").nullable(),\n country_code: z.string().describe(\"Country code of the server location\").nullable(),\n remoteAccess: z.boolean().describe(\"Whether remote access is enabled\").nullable(),\n database_type: z.string().describe(\"Type of database (e.g., 'mongodb', 'mysql')\").nullable(),\n automatic_backup: z.boolean().describe(\"Whether automatic backup is enabled\").nullable(),\n created_by_humans: z.string().describe(\"Human-readable duration since creation\").nullable(),\n}).passthrough().describe(\"Schema for a single database in ServerAvatar.\");\nconst ServeravatarListDatabases_DatabaseLinkSchema = z.object({\n url: z.string().describe(\"URL for the navigation link\").nullable().optional(),\n label: z.string().describe(\"Label for the link\").nullable(),\n active: z.boolean().describe(\"Whether this link is active\").nullable(),\n}).passthrough().describe(\"Navigation link for pagination.\");\nconst ServeravatarListDatabases_DatabasesPaginationSchema = z.object({\n to: z.number().int().describe(\"Ending result number\").nullable().optional(),\n data: z.array(ServeravatarListDatabases_DatabaseSchema).describe(\"List of databases\"),\n from: z.number().int().describe(\"Starting result number\").nullable().optional(),\n path: z.string().describe(\"API path\").nullable(),\n links: z.array(ServeravatarListDatabases_DatabaseLinkSchema).describe(\"Navigation links\"),\n total: z.number().int().describe(\"Total count of databases\").nullable(),\n per_page: z.number().int().describe(\"Results per page\").nullable(),\n last_page: z.number().int().describe(\"Last page number\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n last_page_url: z.string().describe(\"URL for the last page\").nullable(),\n next_page_url: z.string().describe(\"URL for the next page (null if no next page)\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for the previous page (null if no previous page)\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for the first page\").nullable(),\n}).passthrough().describe(\"Pagination metadata and database list.\");\nexport const ServeravatarListDatabasesOutput = z.object({\n databases: ServeravatarListDatabases_DatabasesPaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing databases with pagination metadata.\");\n\nexport const serveravatarListDatabases = action(\"SERVERAVATAR_LIST_DATABASES\", {\n slug: \"serveravatar-list-databases\",\n name: \"List Databases\",\n description: \"Tool to list databases for a given organization. Use when you need to retrieve all databases or filter by name.\",\n input: ServeravatarListDatabasesInput,\n output: ServeravatarListDatabasesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-databases.cjs","names":["z","action"],"sources":["../../src/actions/list-databases.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\n\nexport const ServeravatarListDatabasesInput = z.object({\n search: z.string().describe(\"Filter results by database name\").optional(),\n pagination: z.number().int().describe(\"Enable pagination (set to 1 to enable)\").optional(),\n organization: z.string().describe(\"The organization identifier\"),\n}).describe(\"Request parameters for listing databases in an organization.\");\nconst ServeravatarListDatabases_DatabaseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the database\").nullable(),\n host: z.string().describe(\"Database host address\").nullable(),\n name: z.string().describe(\"Name of the database\").nullable(),\n size: z.number().int().describe(\"Size of the database in bytes\").nullable(),\n server_id: z.number().int().describe(\"Server identifier where database is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the database was created\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the database was deleted (null if not deleted)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the database was last updated\").nullable(),\n server_name: z.string().describe(\"Name of the server\").nullable(),\n agent_status: z.string().describe(\"Status of the agent\").nullable(),\n country_code: z.string().describe(\"Country code of the server location\").nullable(),\n remoteAccess: z.boolean().describe(\"Whether remote access is enabled\").nullable(),\n database_type: z.string().describe(\"Type of database (e.g., 'mongodb', 'mysql')\").nullable(),\n automatic_backup: z.boolean().describe(\"Whether automatic backup is enabled\").nullable(),\n created_by_humans: z.string().describe(\"Human-readable duration since creation\").nullable(),\n}).passthrough().describe(\"Schema for a single database in ServerAvatar.\");\nconst ServeravatarListDatabases_DatabaseLinkSchema = z.object({\n url: z.string().describe(\"URL for the navigation link\").nullable().optional(),\n label: z.string().describe(\"Label for the link\").nullable(),\n active: z.boolean().describe(\"Whether this link is active\").nullable(),\n}).passthrough().describe(\"Navigation link for pagination.\");\nconst ServeravatarListDatabases_DatabasesPaginationSchema = z.object({\n to: z.number().int().describe(\"Ending result number\").nullable().optional(),\n data: z.array(ServeravatarListDatabases_DatabaseSchema).describe(\"List of databases\"),\n from: z.number().int().describe(\"Starting result number\").nullable().optional(),\n path: z.string().describe(\"API path\").nullable(),\n links: z.array(ServeravatarListDatabases_DatabaseLinkSchema).describe(\"Navigation links\"),\n total: z.number().int().describe(\"Total count of databases\").nullable(),\n per_page: z.number().int().describe(\"Results per page\").nullable(),\n last_page: z.number().int().describe(\"Last page number\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n last_page_url: z.string().describe(\"URL for the last page\").nullable(),\n next_page_url: z.string().describe(\"URL for the next page (null if no next page)\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for the previous page (null if no previous page)\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for the first page\").nullable(),\n}).passthrough().describe(\"Pagination metadata and database list.\");\nexport const ServeravatarListDatabasesOutput = z.object({\n databases: ServeravatarListDatabases_DatabasesPaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing databases with pagination metadata.\");\n\nexport const serveravatarListDatabases: AppAction<\n typeof ServeravatarListDatabasesInput,\n typeof ServeravatarListDatabasesOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_DATABASES\", {\n slug: \"serveravatar-list-databases\",\n name: \"List Databases\",\n description: \"Tool to list databases for a given organization. Use when you need to retrieve all databases or filter by name.\",\n input: ServeravatarListDatabasesInput,\n output: ServeravatarListDatabasesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACzF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AACjE,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CA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SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,WAAW,oDAAoD,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,4BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-databases.d.ts
|
|
@@ -43,23 +45,7 @@ declare const ServeravatarListDatabasesOutput: z.ZodObject<{
|
|
|
43
45
|
first_page_url: z.ZodNullable<z.ZodString>;
|
|
44
46
|
}, z.core.$loose>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const serveravatarListDatabases:
|
|
47
|
-
organization: string;
|
|
48
|
-
search?: string | undefined;
|
|
49
|
-
pagination?: number | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
57
|
-
connectionId: z.ZodString;
|
|
58
|
-
entityId: z.ZodString;
|
|
59
|
-
instanceId: z.ZodString;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
generic_api_key: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
48
|
+
declare const serveravatarListDatabases: AppAction<typeof ServeravatarListDatabasesInput, typeof ServeravatarListDatabasesOutput, typeof serveravatar.credential>;
|
|
63
49
|
//#endregion
|
|
64
50
|
export { serveravatarListDatabases };
|
|
65
51
|
//# sourceMappingURL=list-databases.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-databases.d.cts","names":[],"sources":["../../src/actions/list-databases.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-databases.d.cts","names":[],"sources":["../../src/actions/list-databases.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cA0C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-databases.d.ts
|
|
@@ -43,23 +45,7 @@ declare const ServeravatarListDatabasesOutput: z.ZodObject<{
|
|
|
43
45
|
first_page_url: z.ZodNullable<z.ZodString>;
|
|
44
46
|
}, z.core.$loose>>;
|
|
45
47
|
}, z.core.$loose>;
|
|
46
|
-
declare const serveravatarListDatabases:
|
|
47
|
-
organization: string;
|
|
48
|
-
search?: string | undefined;
|
|
49
|
-
pagination?: number | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
generic_api_key: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
57
|
-
connectionId: z.ZodString;
|
|
58
|
-
entityId: z.ZodString;
|
|
59
|
-
instanceId: z.ZodString;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
generic_api_key: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
48
|
+
declare const serveravatarListDatabases: AppAction<typeof ServeravatarListDatabasesInput, typeof ServeravatarListDatabasesOutput, typeof serveravatar.credential>;
|
|
63
49
|
//#endregion
|
|
64
50
|
export { serveravatarListDatabases };
|
|
65
51
|
//# sourceMappingURL=list-databases.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-databases.d.mts","names":[],"sources":["../../src/actions/list-databases.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-databases.d.mts","names":[],"sources":["../../src/actions/list-databases.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cA0C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-databases.mjs","names":[],"sources":["../../src/actions/list-databases.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListDatabasesInput = z.object({\n search: z.string().describe(\"Filter results by database name\").optional(),\n pagination: z.number().int().describe(\"Enable pagination (set to 1 to enable)\").optional(),\n organization: z.string().describe(\"The organization identifier\"),\n}).describe(\"Request parameters for listing databases in an organization.\");\nconst ServeravatarListDatabases_DatabaseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the database\").nullable(),\n host: z.string().describe(\"Database host address\").nullable(),\n name: z.string().describe(\"Name of the database\").nullable(),\n size: z.number().int().describe(\"Size of the database in bytes\").nullable(),\n server_id: z.number().int().describe(\"Server identifier where database is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the database was created\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the database was deleted (null if not deleted)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the database was last updated\").nullable(),\n server_name: z.string().describe(\"Name of the server\").nullable(),\n agent_status: z.string().describe(\"Status of the agent\").nullable(),\n country_code: z.string().describe(\"Country code of the server location\").nullable(),\n remoteAccess: z.boolean().describe(\"Whether remote access is enabled\").nullable(),\n database_type: z.string().describe(\"Type of database (e.g., 'mongodb', 'mysql')\").nullable(),\n automatic_backup: z.boolean().describe(\"Whether automatic backup is enabled\").nullable(),\n created_by_humans: z.string().describe(\"Human-readable duration since creation\").nullable(),\n}).passthrough().describe(\"Schema for a single database in ServerAvatar.\");\nconst ServeravatarListDatabases_DatabaseLinkSchema = z.object({\n url: z.string().describe(\"URL for the navigation link\").nullable().optional(),\n label: z.string().describe(\"Label for the link\").nullable(),\n active: z.boolean().describe(\"Whether this link is active\").nullable(),\n}).passthrough().describe(\"Navigation link for pagination.\");\nconst ServeravatarListDatabases_DatabasesPaginationSchema = z.object({\n to: z.number().int().describe(\"Ending result number\").nullable().optional(),\n data: z.array(ServeravatarListDatabases_DatabaseSchema).describe(\"List of databases\"),\n from: z.number().int().describe(\"Starting result number\").nullable().optional(),\n path: z.string().describe(\"API path\").nullable(),\n links: z.array(ServeravatarListDatabases_DatabaseLinkSchema).describe(\"Navigation links\"),\n total: z.number().int().describe(\"Total count of databases\").nullable(),\n per_page: z.number().int().describe(\"Results per page\").nullable(),\n last_page: z.number().int().describe(\"Last page number\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n last_page_url: z.string().describe(\"URL for the last page\").nullable(),\n next_page_url: z.string().describe(\"URL for the next page (null if no next page)\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for the previous page (null if no previous page)\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for the first page\").nullable(),\n}).passthrough().describe(\"Pagination metadata and database list.\");\nexport const ServeravatarListDatabasesOutput = z.object({\n databases: ServeravatarListDatabases_DatabasesPaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing databases with pagination metadata.\");\n\nexport const serveravatarListDatabases = action(\"SERVERAVATAR_LIST_DATABASES\", {\n slug: \"serveravatar-list-databases\",\n name: \"List Databases\",\n description: \"Tool to list databases for a given organization. Use when you need to retrieve all databases or filter by name.\",\n input: ServeravatarListDatabasesInput,\n output: ServeravatarListDatabasesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-databases.mjs","names":[],"sources":["../../src/actions/list-databases.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\n\nexport const ServeravatarListDatabasesInput = z.object({\n search: z.string().describe(\"Filter results by database name\").optional(),\n pagination: z.number().int().describe(\"Enable pagination (set to 1 to enable)\").optional(),\n organization: z.string().describe(\"The organization identifier\"),\n}).describe(\"Request parameters for listing databases in an organization.\");\nconst ServeravatarListDatabases_DatabaseSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the database\").nullable(),\n host: z.string().describe(\"Database host address\").nullable(),\n name: z.string().describe(\"Name of the database\").nullable(),\n size: z.number().int().describe(\"Size of the database in bytes\").nullable(),\n server_id: z.number().int().describe(\"Server identifier where database is located\").nullable(),\n created_at: z.string().describe(\"Timestamp when the database was created\").nullable(),\n deleted_at: z.string().describe(\"Timestamp when the database was deleted (null if not deleted)\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the database was last updated\").nullable(),\n server_name: z.string().describe(\"Name of the server\").nullable(),\n agent_status: z.string().describe(\"Status of the agent\").nullable(),\n country_code: z.string().describe(\"Country code of the server location\").nullable(),\n remoteAccess: z.boolean().describe(\"Whether remote access is enabled\").nullable(),\n database_type: z.string().describe(\"Type of database (e.g., 'mongodb', 'mysql')\").nullable(),\n automatic_backup: z.boolean().describe(\"Whether automatic backup is enabled\").nullable(),\n created_by_humans: z.string().describe(\"Human-readable duration since creation\").nullable(),\n}).passthrough().describe(\"Schema for a single database in ServerAvatar.\");\nconst ServeravatarListDatabases_DatabaseLinkSchema = z.object({\n url: z.string().describe(\"URL for the navigation link\").nullable().optional(),\n label: z.string().describe(\"Label for the link\").nullable(),\n active: z.boolean().describe(\"Whether this link is active\").nullable(),\n}).passthrough().describe(\"Navigation link for pagination.\");\nconst ServeravatarListDatabases_DatabasesPaginationSchema = z.object({\n to: z.number().int().describe(\"Ending result number\").nullable().optional(),\n data: z.array(ServeravatarListDatabases_DatabaseSchema).describe(\"List of databases\"),\n from: z.number().int().describe(\"Starting result number\").nullable().optional(),\n path: z.string().describe(\"API path\").nullable(),\n links: z.array(ServeravatarListDatabases_DatabaseLinkSchema).describe(\"Navigation links\"),\n total: z.number().int().describe(\"Total count of databases\").nullable(),\n per_page: z.number().int().describe(\"Results per page\").nullable(),\n last_page: z.number().int().describe(\"Last page number\").nullable(),\n current_page: z.number().int().describe(\"Current page number\").nullable(),\n last_page_url: z.string().describe(\"URL for the last page\").nullable(),\n next_page_url: z.string().describe(\"URL for the next page (null if no next page)\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for the previous page (null if no previous page)\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for the first page\").nullable(),\n}).passthrough().describe(\"Pagination metadata and database list.\");\nexport const ServeravatarListDatabasesOutput = z.object({\n databases: ServeravatarListDatabases_DatabasesPaginationSchema.nullable(),\n}).passthrough().describe(\"Response schema for listing databases with pagination metadata.\");\n\nexport const serveravatarListDatabases: AppAction<\n typeof ServeravatarListDatabasesInput,\n typeof ServeravatarListDatabasesOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_DATABASES\", {\n slug: \"serveravatar-list-databases\",\n name: \"List Databases\",\n description: \"Tool to list databases for a given organization. Use when you need to retrieve all datab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B,CAAC,CAAC,SAAS;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAClE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CACrE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAKlE,MAAa,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,WAAW,oDAAoD,SAAS,EAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-providers.cjs","names":["z","action"],"sources":["../../src/actions/list-git-providers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListGitProvidersInput = z.object({\n organization: z.number().int().describe(\"The organization ID to list git providers for\"),\n}).describe(\"Request model for listing git providers in an organization.\");\nconst ServeravatarListGitProviders_GitProviderDataSchema = z.object({\n id: z.number().int().describe(\"Git provider ID\").nullable().optional(),\n name: z.string().describe(\"Git provider name\").nullable().optional(),\n type: z.string().describe(\"Git provider type (e.g., github, gitlab, bitbucket)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the git provider was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the git provider was last updated\").nullable().optional(),\n organization_id: z.number().int().describe(\"Organization ID this provider belongs to\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single git provider.\");\nconst ServeravatarListGitProviders_LinkDataSchema = z.object({\n url: z.string().describe(\"URL for the pagination link\").nullable().optional(),\n label: z.string().describe(\"Label for the pagination link\").nullable().optional(),\n active: z.boolean().describe(\"Whether this link is active\").nullable().optional(),\n}).passthrough().describe(\"Model representing pagination link.\");\nconst ServeravatarListGitProviders_GitProvidersDataSchema = z.object({\n to: z.number().int().describe(\"Ending record number\").nullable().optional(),\n data: z.array(ServeravatarListGitProviders_GitProviderDataSchema).describe(\"List of git providers\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number\").nullable().optional(),\n path: z.string().describe(\"API path\").nullable().optional(),\n links: z.array(ServeravatarListGitProviders_LinkDataSchema).describe(\"Pagination links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records\").nullable().optional(),\n per_page: z.number().int().describe(\"Records per page\").nullable().optional(),\n last_page: z.number().int().describe(\"Last page number\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number\").nullable().optional(),\n last_page_url: z.string().describe(\"URL for last page\").nullable().optional(),\n next_page_url: z.string().describe(\"URL for next page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for previous page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for first page\").nullable().optional(),\n}).passthrough().describe(\"Git providers list with pagination information.\");\nexport const ServeravatarListGitProvidersOutput = z.object({\n git_providers: ServeravatarListGitProviders_GitProvidersDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing git providers in an organization.\");\n\nexport const serveravatarListGitProviders = action(\"SERVERAVATAR_LIST_GIT_PROVIDERS\", {\n slug: \"serveravatar-list-git-providers\",\n name: \"List Git Providers\",\n description: \"Tool to list git providers for a specific organization. Use when you need to retrieve all git providers configured for an organization.\",\n input: ServeravatarListGitProvidersInput,\n output: ServeravatarListGitProvidersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-git-providers.cjs","names":["z","action"],"sources":["../../src/actions/list-git-providers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\n\nexport const ServeravatarListGitProvidersInput = z.object({\n organization: z.number().int().describe(\"The organization ID to list git providers for\"),\n}).describe(\"Request model for listing git providers in an organization.\");\nconst ServeravatarListGitProviders_GitProviderDataSchema = z.object({\n id: z.number().int().describe(\"Git provider ID\").nullable().optional(),\n name: z.string().describe(\"Git provider name\").nullable().optional(),\n type: z.string().describe(\"Git provider type (e.g., github, gitlab, bitbucket)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the git provider was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the git provider was last updated\").nullable().optional(),\n organization_id: z.number().int().describe(\"Organization ID this provider belongs to\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single git provider.\");\nconst ServeravatarListGitProviders_LinkDataSchema = z.object({\n url: z.string().describe(\"URL for the pagination link\").nullable().optional(),\n label: z.string().describe(\"Label for the pagination link\").nullable().optional(),\n active: z.boolean().describe(\"Whether this link is active\").nullable().optional(),\n}).passthrough().describe(\"Model representing pagination link.\");\nconst ServeravatarListGitProviders_GitProvidersDataSchema = z.object({\n to: z.number().int().describe(\"Ending record number\").nullable().optional(),\n data: z.array(ServeravatarListGitProviders_GitProviderDataSchema).describe(\"List of git providers\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number\").nullable().optional(),\n path: z.string().describe(\"API path\").nullable().optional(),\n links: z.array(ServeravatarListGitProviders_LinkDataSchema).describe(\"Pagination links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records\").nullable().optional(),\n per_page: z.number().int().describe(\"Records per page\").nullable().optional(),\n last_page: z.number().int().describe(\"Last page number\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number\").nullable().optional(),\n last_page_url: z.string().describe(\"URL for last page\").nullable().optional(),\n next_page_url: z.string().describe(\"URL for next page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for previous page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for first page\").nullable().optional(),\n}).passthrough().describe(\"Git providers list with pagination information.\");\nexport const ServeravatarListGitProvidersOutput = z.object({\n git_providers: ServeravatarListGitProviders_GitProvidersDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing git providers in an organization.\");\n\nexport const serveravatarListGitProviders: AppAction<\n typeof ServeravatarListGitProvidersInput,\n typeof ServeravatarListGitProvidersOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_GIT_PROVIDERS\", {\n slug: \"serveravatar-list-git-providers\",\n name: \"List Git Providers\",\n description: \"Tool to list git providers for a specific organization. Use when you need to retrieve all git providers configured for an organization.\",\n input: ServeravatarListGitProvidersInput,\n output: ServeravatarListGitProvidersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACzF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAA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|
//#region src/actions/list-git-providers.d.ts
|
|
@@ -32,21 +34,7 @@ declare const ServeravatarListGitProvidersOutput: z.ZodObject<{
|
|
|
32
34
|
first_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
35
|
}, z.core.$loose>>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const serveravatarListGitProviders:
|
|
36
|
-
organization: number;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
44
|
-
connectionId: z.ZodString;
|
|
45
|
-
entityId: z.ZodString;
|
|
46
|
-
instanceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>;
|
|
37
|
+
declare const serveravatarListGitProviders: AppAction<typeof ServeravatarListGitProvidersInput, typeof ServeravatarListGitProvidersOutput, typeof serveravatar.credential>;
|
|
50
38
|
//#endregion
|
|
51
39
|
export { serveravatarListGitProviders };
|
|
52
40
|
//# sourceMappingURL=list-git-providers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-providers.d.cts","names":[],"sources":["../../src/actions/list-git-providers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-git-providers.d.cts","names":[],"sources":["../../src/actions/list-git-providers.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cA+BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { serveravatar } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-git-providers.d.ts
|
|
@@ -32,21 +34,7 @@ declare const ServeravatarListGitProvidersOutput: z.ZodObject<{
|
|
|
32
34
|
first_page_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
35
|
}, z.core.$loose>>>;
|
|
34
36
|
}, z.core.$loose>;
|
|
35
|
-
declare const serveravatarListGitProviders:
|
|
36
|
-
organization: number;
|
|
37
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
38
|
-
connectionId: z.ZodString;
|
|
39
|
-
entityId: z.ZodString;
|
|
40
|
-
instanceId: z.ZodString;
|
|
41
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
42
|
-
generic_api_key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"serveravatar", z.ZodObject<{
|
|
44
|
-
connectionId: z.ZodString;
|
|
45
|
-
entityId: z.ZodString;
|
|
46
|
-
instanceId: z.ZodString;
|
|
47
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
48
|
-
generic_api_key: z.ZodString;
|
|
49
|
-
}, z.core.$strip>>]>;
|
|
37
|
+
declare const serveravatarListGitProviders: AppAction<typeof ServeravatarListGitProvidersInput, typeof ServeravatarListGitProvidersOutput, typeof serveravatar.credential>;
|
|
50
38
|
//#endregion
|
|
51
39
|
export { serveravatarListGitProviders };
|
|
52
40
|
//# sourceMappingURL=list-git-providers.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-providers.d.mts","names":[],"sources":["../../src/actions/list-git-providers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-git-providers.d.mts","names":[],"sources":["../../src/actions/list-git-providers.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;cA+BjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-git-providers.mjs","names":[],"sources":["../../src/actions/list-git-providers.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ServeravatarListGitProvidersInput = z.object({\n organization: z.number().int().describe(\"The organization ID to list git providers for\"),\n}).describe(\"Request model for listing git providers in an organization.\");\nconst ServeravatarListGitProviders_GitProviderDataSchema = z.object({\n id: z.number().int().describe(\"Git provider ID\").nullable().optional(),\n name: z.string().describe(\"Git provider name\").nullable().optional(),\n type: z.string().describe(\"Git provider type (e.g., github, gitlab, bitbucket)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the git provider was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the git provider was last updated\").nullable().optional(),\n organization_id: z.number().int().describe(\"Organization ID this provider belongs to\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single git provider.\");\nconst ServeravatarListGitProviders_LinkDataSchema = z.object({\n url: z.string().describe(\"URL for the pagination link\").nullable().optional(),\n label: z.string().describe(\"Label for the pagination link\").nullable().optional(),\n active: z.boolean().describe(\"Whether this link is active\").nullable().optional(),\n}).passthrough().describe(\"Model representing pagination link.\");\nconst ServeravatarListGitProviders_GitProvidersDataSchema = z.object({\n to: z.number().int().describe(\"Ending record number\").nullable().optional(),\n data: z.array(ServeravatarListGitProviders_GitProviderDataSchema).describe(\"List of git providers\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number\").nullable().optional(),\n path: z.string().describe(\"API path\").nullable().optional(),\n links: z.array(ServeravatarListGitProviders_LinkDataSchema).describe(\"Pagination links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records\").nullable().optional(),\n per_page: z.number().int().describe(\"Records per page\").nullable().optional(),\n last_page: z.number().int().describe(\"Last page number\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number\").nullable().optional(),\n last_page_url: z.string().describe(\"URL for last page\").nullable().optional(),\n next_page_url: z.string().describe(\"URL for next page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for previous page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for first page\").nullable().optional(),\n}).passthrough().describe(\"Git providers list with pagination information.\");\nexport const ServeravatarListGitProvidersOutput = z.object({\n git_providers: ServeravatarListGitProviders_GitProvidersDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing git providers in an organization.\");\n\nexport const serveravatarListGitProviders = action(\"SERVERAVATAR_LIST_GIT_PROVIDERS\", {\n slug: \"serveravatar-list-git-providers\",\n name: \"List Git Providers\",\n description: \"Tool to list git providers for a specific organization. Use when you need to retrieve all git providers configured for an organization.\",\n input: ServeravatarListGitProvidersInput,\n output: ServeravatarListGitProvidersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-git-providers.mjs","names":[],"sources":["../../src/actions/list-git-providers.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { serveravatar } from \"../app\";\n\nexport const ServeravatarListGitProvidersInput = z.object({\n organization: z.number().int().describe(\"The organization ID to list git providers for\"),\n}).describe(\"Request model for listing git providers in an organization.\");\nconst ServeravatarListGitProviders_GitProviderDataSchema = z.object({\n id: z.number().int().describe(\"Git provider ID\").nullable().optional(),\n name: z.string().describe(\"Git provider name\").nullable().optional(),\n type: z.string().describe(\"Git provider type (e.g., github, gitlab, bitbucket)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the git provider was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the git provider was last updated\").nullable().optional(),\n organization_id: z.number().int().describe(\"Organization ID this provider belongs to\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single git provider.\");\nconst ServeravatarListGitProviders_LinkDataSchema = z.object({\n url: z.string().describe(\"URL for the pagination link\").nullable().optional(),\n label: z.string().describe(\"Label for the pagination link\").nullable().optional(),\n active: z.boolean().describe(\"Whether this link is active\").nullable().optional(),\n}).passthrough().describe(\"Model representing pagination link.\");\nconst ServeravatarListGitProviders_GitProvidersDataSchema = z.object({\n to: z.number().int().describe(\"Ending record number\").nullable().optional(),\n data: z.array(ServeravatarListGitProviders_GitProviderDataSchema).describe(\"List of git providers\").nullable().optional(),\n from: z.number().int().describe(\"Starting record number\").nullable().optional(),\n path: z.string().describe(\"API path\").nullable().optional(),\n links: z.array(ServeravatarListGitProviders_LinkDataSchema).describe(\"Pagination links\").nullable().optional(),\n total: z.number().int().describe(\"Total number of records\").nullable().optional(),\n per_page: z.number().int().describe(\"Records per page\").nullable().optional(),\n last_page: z.number().int().describe(\"Last page number\").nullable().optional(),\n current_page: z.number().int().describe(\"Current page number\").nullable().optional(),\n last_page_url: z.string().describe(\"URL for last page\").nullable().optional(),\n next_page_url: z.string().describe(\"URL for next page\").nullable().optional(),\n prev_page_url: z.string().describe(\"URL for previous page\").nullable().optional(),\n first_page_url: z.string().describe(\"URL for first page\").nullable().optional(),\n}).passthrough().describe(\"Git providers list with pagination information.\");\nexport const ServeravatarListGitProvidersOutput = z.object({\n git_providers: ServeravatarListGitProviders_GitProvidersDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing git providers in an organization.\");\n\nexport const serveravatarListGitProviders: AppAction<\n typeof ServeravatarListGitProvidersInput,\n typeof ServeravatarListGitProvidersOutput,\n typeof serveravatar.credential\n> = action(\"SERVERAVATAR_LIST_GIT_PROVIDERS\", {\n slug: \"serveravatar-list-git-providers\",\n name: \"List Git Providers\",\n description: \"Tool to list git providers for a specific organization. Use when you need to retrieve all git providers configured for an organization.\",\n input: ServeravatarListGitProvidersInput,\n output: ServeravatarListGitProvidersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO,EACxD,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,EACzF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC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