@keystrokehq/_1password 0.0.1
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/create-item.cjs +30 -0
- package/dist/actions/create-item.cjs.map +1 -0
- package/dist/actions/create-item.d.cts +9 -0
- package/dist/actions/create-item.d.cts.map +1 -0
- package/dist/actions/create-item.d.mts +9 -0
- package/dist/actions/create-item.d.mts.map +1 -0
- package/dist/actions/create-item.mjs +27 -0
- package/dist/actions/create-item.mjs.map +1 -0
- package/dist/actions/delete-item.cjs +22 -0
- package/dist/actions/delete-item.cjs.map +1 -0
- package/dist/actions/delete-item.d.cts +9 -0
- package/dist/actions/delete-item.d.cts.map +1 -0
- package/dist/actions/delete-item.d.mts +9 -0
- package/dist/actions/delete-item.d.mts.map +1 -0
- package/dist/actions/delete-item.mjs +19 -0
- package/dist/actions/delete-item.mjs.map +1 -0
- package/dist/actions/get-item.cjs +32 -0
- package/dist/actions/get-item.cjs.map +1 -0
- package/dist/actions/get-item.d.cts +9 -0
- package/dist/actions/get-item.d.cts.map +1 -0
- package/dist/actions/get-item.d.mts +9 -0
- package/dist/actions/get-item.d.mts.map +1 -0
- package/dist/actions/get-item.mjs +31 -0
- package/dist/actions/get-item.mjs.map +1 -0
- package/dist/actions/index.cjs +13 -0
- package/dist/actions/index.d.cts +7 -0
- package/dist/actions/index.d.mts +7 -0
- package/dist/actions/index.mjs +7 -0
- package/dist/actions/list-items.cjs +21 -0
- package/dist/actions/list-items.cjs.map +1 -0
- package/dist/actions/list-items.d.cts +9 -0
- package/dist/actions/list-items.d.cts.map +1 -0
- package/dist/actions/list-items.d.mts +9 -0
- package/dist/actions/list-items.d.mts.map +1 -0
- package/dist/actions/list-items.mjs +20 -0
- package/dist/actions/list-items.mjs.map +1 -0
- package/dist/actions/list-vaults.cjs +21 -0
- package/dist/actions/list-vaults.cjs.map +1 -0
- package/dist/actions/list-vaults.d.cts +9 -0
- package/dist/actions/list-vaults.d.cts.map +1 -0
- package/dist/actions/list-vaults.d.mts +9 -0
- package/dist/actions/list-vaults.d.mts.map +1 -0
- package/dist/actions/list-vaults.mjs +20 -0
- package/dist/actions/list-vaults.mjs.map +1 -0
- package/dist/actions/update-item.cjs +28 -0
- package/dist/actions/update-item.cjs.map +1 -0
- package/dist/actions/update-item.d.cts +9 -0
- package/dist/actions/update-item.d.cts.map +1 -0
- package/dist/actions/update-item.d.mts +9 -0
- package/dist/actions/update-item.d.mts.map +1 -0
- package/dist/actions/update-item.mjs +25 -0
- package/dist/actions/update-item.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +18 -0
- package/dist/index.d.cts +9 -0
- package/dist/index.d.mts +9 -0
- package/dist/index.mjs +10 -0
- package/package.json +49 -0
package/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# @keystrokehq/_1password
|
|
2
|
+
|
|
3
|
+
Keystroke-managed integration.
|
|
4
|
+
|
|
5
|
+
**App:** `_1password`
|
|
6
|
+
**Version:** `20260615_00`
|
|
7
|
+
**Actions:** 6
|
|
8
|
+
|
|
9
|
+
```ts
|
|
10
|
+
import { defineAgent } from "@keystrokehq/keystroke/agent";
|
|
11
|
+
import { _1passwordCreateItem } from "@keystrokehq/_1password/actions";
|
|
12
|
+
|
|
13
|
+
export default defineAgent({
|
|
14
|
+
key: "_1password-agent",
|
|
15
|
+
tools: [_1passwordCreateItem],
|
|
16
|
+
});
|
|
17
|
+
```
|
package/dist/action.cjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_app = require("./app.cjs");
|
|
2
|
+
const require_execute = require("./execute.cjs");
|
|
3
|
+
require("zod");
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return require_app._1password.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await require_execute.execute_1passwordTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.action = action;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["_1password","execute_1passwordTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { _1password } from \"./app\";\nimport { execute_1passwordTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return _1password.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await execute_1passwordTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
|
package/dist/action.mjs
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { _1password } from "./app.mjs";
|
|
2
|
+
import { execute_1passwordTool } from "./execute.mjs";
|
|
3
|
+
import "zod";
|
|
4
|
+
//#region src/action.ts
|
|
5
|
+
/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
|
|
6
|
+
function action(tool, def) {
|
|
7
|
+
return _1password.action({
|
|
8
|
+
slug: def.slug,
|
|
9
|
+
name: def.name,
|
|
10
|
+
description: def.description,
|
|
11
|
+
input: def.input,
|
|
12
|
+
output: def.output,
|
|
13
|
+
async run(input) {
|
|
14
|
+
return def.output.parse(await execute_1passwordTool(tool, input));
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { action };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { _1password } from \"./app\";\nimport { execute_1passwordTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return _1password.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await execute_1passwordTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,WAAW,OAAO;EACvB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,sBAAsB,MAAM,KAAgC,CAAC;EAC7F;CACF,CAAC;AACH"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/create-item.ts
|
|
4
|
+
const _1passwordCreateItemInput = zod.z.object({
|
|
5
|
+
tags: zod.z.array(zod.z.string()).default([]).describe("Optional tags to apply to the item.").optional(),
|
|
6
|
+
title: zod.z.string().describe("Title for the new item."),
|
|
7
|
+
fields: zod.z.array(zod.z.object({
|
|
8
|
+
title: zod.z.string().describe("Label for the field (e.g. 'username', 'password')."),
|
|
9
|
+
value: zod.z.string().describe("Value to store in the field."),
|
|
10
|
+
concealed: zod.z.boolean().default(false).describe("Set to true for sensitive values like passwords (stored as CONCEALED type).").optional()
|
|
11
|
+
})).default([]).describe("Fields to add to the item.").optional(),
|
|
12
|
+
category: zod.z.string().default("LOGIN").describe("Item category. One of: LOGIN, PASSWORD, SECURE_NOTE, API_CREDENTIAL, DATABASE.").optional(),
|
|
13
|
+
vault_id: zod.z.string().describe("ID of the vault to create the item in.")
|
|
14
|
+
});
|
|
15
|
+
const _1passwordCreateItemOutput = zod.z.object({
|
|
16
|
+
id: zod.z.string().describe("ID of the newly created item."),
|
|
17
|
+
title: zod.z.string().describe("Title of the created item."),
|
|
18
|
+
vault_id: zod.z.string().describe("Vault ID the item was created in.")
|
|
19
|
+
});
|
|
20
|
+
const _1passwordCreateItem = require_action.action("_1PASSWORD_CREATE_ITEM", {
|
|
21
|
+
slug: "_1password-create-item",
|
|
22
|
+
name: "Create Item",
|
|
23
|
+
description: "Creates a new item in a 1Password vault.",
|
|
24
|
+
input: _1passwordCreateItemInput,
|
|
25
|
+
output: _1passwordCreateItemOutput
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
exports._1passwordCreateItem = _1passwordCreateItem;
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=create-item.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-item.cjs","names":["z","action"],"sources":["../../src/actions/create-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _1passwordCreateItemInput: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).default([]).describe(\"Optional tags to apply to the item.\").optional(),\n title: z.string().describe(\"Title for the new item.\"),\n fields: z.array(z.object({\n title: z.string().describe(\"Label for the field (e.g. 'username', 'password').\"),\n value: z.string().describe(\"Value to store in the field.\"),\n concealed: z.boolean().default(false).describe(\"Set to true for sensitive values like passwords (stored as CONCEALED type).\").optional(),\n})).default([]).describe(\"Fields to add to the item.\").optional(),\n category: z.string().default(\"LOGIN\").describe(\"Item category. One of: LOGIN, PASSWORD, SECURE_NOTE, API_CREDENTIAL, DATABASE.\").optional(),\n vault_id: z.string().describe(\"ID of the vault to create the item in.\"),\n});\nexport const _1passwordCreateItemOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the newly created item.\"),\n title: z.string().describe(\"Title of the created item.\"),\n vault_id: z.string().describe(\"Vault ID the item was created in.\"),\n});\n\nexport const _1passwordCreateItem = action(\"_1PASSWORD_CREATE_ITEM\", {\n slug: \"_1password-create-item\",\n name: \"Create Item\",\n description: \"Creates a new item in a 1Password vault.\",\n input: _1passwordCreateItemInput,\n output: _1passwordCreateItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACpD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;EAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACzD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACzI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC1I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;AACxE,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACnE,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-item.d.ts
|
|
4
|
+
declare const _1passwordCreateItemInput: z.ZodTypeAny;
|
|
5
|
+
declare const _1passwordCreateItemOutput: z.ZodTypeAny;
|
|
6
|
+
declare const _1passwordCreateItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _1passwordCreateItem };
|
|
9
|
+
//# sourceMappingURL=create-item.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-item.d.cts","names":[],"sources":["../../src/actions/create-item.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAUxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAIzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/create-item.d.ts
|
|
4
|
+
declare const _1passwordCreateItemInput: z.ZodTypeAny;
|
|
5
|
+
declare const _1passwordCreateItemOutput: z.ZodTypeAny;
|
|
6
|
+
declare const _1passwordCreateItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _1passwordCreateItem };
|
|
9
|
+
//# sourceMappingURL=create-item.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-item.d.mts","names":[],"sources":["../../src/actions/create-item.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAUxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAIzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const _1passwordCreateItem = action("_1PASSWORD_CREATE_ITEM", {
|
|
4
|
+
slug: "_1password-create-item",
|
|
5
|
+
name: "Create Item",
|
|
6
|
+
description: "Creates a new item in a 1Password vault.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
tags: z.array(z.string()).default([]).describe("Optional tags to apply to the item.").optional(),
|
|
9
|
+
title: z.string().describe("Title for the new item."),
|
|
10
|
+
fields: z.array(z.object({
|
|
11
|
+
title: z.string().describe("Label for the field (e.g. 'username', 'password')."),
|
|
12
|
+
value: z.string().describe("Value to store in the field."),
|
|
13
|
+
concealed: z.boolean().default(false).describe("Set to true for sensitive values like passwords (stored as CONCEALED type).").optional()
|
|
14
|
+
})).default([]).describe("Fields to add to the item.").optional(),
|
|
15
|
+
category: z.string().default("LOGIN").describe("Item category. One of: LOGIN, PASSWORD, SECURE_NOTE, API_CREDENTIAL, DATABASE.").optional(),
|
|
16
|
+
vault_id: z.string().describe("ID of the vault to create the item in.")
|
|
17
|
+
}),
|
|
18
|
+
output: z.object({
|
|
19
|
+
id: z.string().describe("ID of the newly created item."),
|
|
20
|
+
title: z.string().describe("Title of the created item."),
|
|
21
|
+
vault_id: z.string().describe("Vault ID the item was created in.")
|
|
22
|
+
})
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { _1passwordCreateItem };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=create-item.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-item.mjs","names":[],"sources":["../../src/actions/create-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _1passwordCreateItemInput: z.ZodTypeAny = z.object({\n tags: z.array(z.string()).default([]).describe(\"Optional tags to apply to the item.\").optional(),\n title: z.string().describe(\"Title for the new item.\"),\n fields: z.array(z.object({\n title: z.string().describe(\"Label for the field (e.g. 'username', 'password').\"),\n value: z.string().describe(\"Value to store in the field.\"),\n concealed: z.boolean().default(false).describe(\"Set to true for sensitive values like passwords (stored as CONCEALED type).\").optional(),\n})).default([]).describe(\"Fields to add to the item.\").optional(),\n category: z.string().default(\"LOGIN\").describe(\"Item category. One of: LOGIN, PASSWORD, SECURE_NOTE, API_CREDENTIAL, DATABASE.\").optional(),\n vault_id: z.string().describe(\"ID of the vault to create the item in.\"),\n});\nexport const _1passwordCreateItemOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the newly created item.\"),\n title: z.string().describe(\"Title of the created item.\"),\n vault_id: z.string().describe(\"Vault ID the item was created in.\"),\n});\n\nexport const _1passwordCreateItem = action(\"_1PASSWORD_CREATE_ITEM\", {\n slug: \"_1password-create-item\",\n name: \"Create Item\",\n description: \"Creates a new item in a 1Password vault.\",\n input: _1passwordCreateItemInput,\n output: _1passwordCreateItemOutput,\n});\n"],"mappings":";;AAqBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArBqD,EAAE,OAAO;EAC9D,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACpD,QAAQ,EAAE,MAAM,EAAE,OAAO;GACzB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;GAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;GACzD,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;EACzI,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC1I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACxE,CAWS;CACP,QAXsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACvD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACnE,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/delete-item.ts
|
|
4
|
+
const _1passwordDeleteItemInput = zod.z.object({
|
|
5
|
+
item_id: zod.z.string().describe("ID of the item to delete."),
|
|
6
|
+
vault_id: zod.z.string().describe("ID of the vault containing the item.")
|
|
7
|
+
});
|
|
8
|
+
const _1passwordDeleteItemOutput = zod.z.object({
|
|
9
|
+
item_id: zod.z.string().describe("ID of the deleted item."),
|
|
10
|
+
success: zod.z.boolean().describe("Whether the item was deleted successfully.")
|
|
11
|
+
});
|
|
12
|
+
const _1passwordDeleteItem = require_action.action("_1PASSWORD_DELETE_ITEM", {
|
|
13
|
+
slug: "_1password-delete-item",
|
|
14
|
+
name: "Delete Item",
|
|
15
|
+
description: "Permanently deletes an item from a 1Password vault.",
|
|
16
|
+
input: _1passwordDeleteItemInput,
|
|
17
|
+
output: _1passwordDeleteItemOutput
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
exports._1passwordDeleteItem = _1passwordDeleteItem;
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=delete-item.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-item.cjs","names":["z","action"],"sources":["../../src/actions/delete-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _1passwordDeleteItemInput: z.ZodTypeAny = z.object({\n item_id: z.string().describe(\"ID of the item to delete.\"),\n vault_id: z.string().describe(\"ID of the vault containing the item.\"),\n});\nexport const _1passwordDeleteItemOutput: z.ZodTypeAny = z.object({\n item_id: z.string().describe(\"ID of the deleted item.\"),\n success: z.boolean().describe(\"Whether the item was deleted successfully.\"),\n});\n\nexport const _1passwordDeleteItem = action(\"_1PASSWORD_DELETE_ITEM\", {\n slug: \"_1password-delete-item\",\n name: \"Delete Item\",\n description: \"Permanently deletes an item from a 1Password vault.\",\n input: _1passwordDeleteItemInput,\n output: _1passwordDeleteItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACtE,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACtD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;AAC5E,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-item.d.ts
|
|
4
|
+
declare const _1passwordDeleteItemInput: z.ZodTypeAny;
|
|
5
|
+
declare const _1passwordDeleteItemOutput: z.ZodTypeAny;
|
|
6
|
+
declare const _1passwordDeleteItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _1passwordDeleteItem };
|
|
9
|
+
//# sourceMappingURL=delete-item.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-item.d.cts","names":[],"sources":["../../src/actions/delete-item.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAGzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-item.d.ts
|
|
4
|
+
declare const _1passwordDeleteItemInput: z.ZodTypeAny;
|
|
5
|
+
declare const _1passwordDeleteItemOutput: z.ZodTypeAny;
|
|
6
|
+
declare const _1passwordDeleteItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _1passwordDeleteItem };
|
|
9
|
+
//# sourceMappingURL=delete-item.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-item.d.mts","names":[],"sources":["../../src/actions/delete-item.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAGxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAGzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const _1passwordDeleteItem = action("_1PASSWORD_DELETE_ITEM", {
|
|
4
|
+
slug: "_1password-delete-item",
|
|
5
|
+
name: "Delete Item",
|
|
6
|
+
description: "Permanently deletes an item from a 1Password vault.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
item_id: z.string().describe("ID of the item to delete."),
|
|
9
|
+
vault_id: z.string().describe("ID of the vault containing the item.")
|
|
10
|
+
}),
|
|
11
|
+
output: z.object({
|
|
12
|
+
item_id: z.string().describe("ID of the deleted item."),
|
|
13
|
+
success: z.boolean().describe("Whether the item was deleted successfully.")
|
|
14
|
+
})
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
export { _1passwordDeleteItem };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=delete-item.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-item.mjs","names":[],"sources":["../../src/actions/delete-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _1passwordDeleteItemInput: z.ZodTypeAny = z.object({\n item_id: z.string().describe(\"ID of the item to delete.\"),\n vault_id: z.string().describe(\"ID of the vault containing the item.\"),\n});\nexport const _1passwordDeleteItemOutput: z.ZodTypeAny = z.object({\n item_id: z.string().describe(\"ID of the deleted item.\"),\n success: z.boolean().describe(\"Whether the item was deleted successfully.\"),\n});\n\nexport const _1passwordDeleteItem = action(\"_1PASSWORD_DELETE_ITEM\", {\n slug: \"_1password-delete-item\",\n name: \"Delete Item\",\n description: \"Permanently deletes an item from a 1Password vault.\",\n input: _1passwordDeleteItemInput,\n output: _1passwordDeleteItemOutput,\n});\n"],"mappings":";;AAaA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbqD,EAAE,OAAO;EAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,CAUS;CACP,QAVsD,EAAE,OAAO;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;CAC5E,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-item.ts
|
|
4
|
+
const _1passwordGetItemInput = zod.z.object({
|
|
5
|
+
item_id: zod.z.string().describe("ID of the item to retrieve."),
|
|
6
|
+
vault_id: zod.z.string().describe("ID of the vault containing the item.")
|
|
7
|
+
});
|
|
8
|
+
const _1passwordGetItem_ItemFieldSchema = zod.z.object({
|
|
9
|
+
id: zod.z.string().describe("Field ID."),
|
|
10
|
+
title: zod.z.string().describe("Field label."),
|
|
11
|
+
value: zod.z.string().default("").describe("Field value.").nullable().optional(),
|
|
12
|
+
field_type: zod.z.string().describe("Field type (e.g. TEXT, CONCEALED, URL).")
|
|
13
|
+
});
|
|
14
|
+
const _1passwordGetItemOutput = zod.z.object({
|
|
15
|
+
id: zod.z.string().describe("Item ID."),
|
|
16
|
+
tags: zod.z.array(zod.z.string()).default([]).describe("Tags applied to the item.").nullable().optional(),
|
|
17
|
+
title: zod.z.string().describe("Item title."),
|
|
18
|
+
fields: zod.z.array(_1passwordGetItem_ItemFieldSchema).default([]).describe("Item fields including secrets.").nullable().optional(),
|
|
19
|
+
category: zod.z.string().describe("Item category."),
|
|
20
|
+
vault_id: zod.z.string().describe("Vault ID the item belongs to.")
|
|
21
|
+
});
|
|
22
|
+
const _1passwordGetItem = require_action.action("_1PASSWORD_GET_ITEM", {
|
|
23
|
+
slug: "_1password-get-item",
|
|
24
|
+
name: "Get Item",
|
|
25
|
+
description: "Retrieves a specific item from a vault, including all fields and secrets.",
|
|
26
|
+
input: _1passwordGetItemInput,
|
|
27
|
+
output: _1passwordGetItemOutput
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
exports._1passwordGetItem = _1passwordGetItem;
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=get-item.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-item.cjs","names":["z","action"],"sources":["../../src/actions/get-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _1passwordGetItemInput: z.ZodTypeAny = z.object({\n item_id: z.string().describe(\"ID of the item to retrieve.\"),\n vault_id: z.string().describe(\"ID of the vault containing the item.\"),\n});\nconst _1passwordGetItem_ItemFieldSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Field ID.\"),\n title: z.string().describe(\"Field label.\"),\n value: z.string().default(\"\").describe(\"Field value.\").nullable().optional(),\n field_type: z.string().describe(\"Field type (e.g. TEXT, CONCEALED, URL).\"),\n});\nexport const _1passwordGetItemOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Item ID.\"),\n tags: z.array(z.string()).default([]).describe(\"Tags applied to the item.\").nullable().optional(),\n title: z.string().describe(\"Item title.\"),\n fields: z.array(_1passwordGetItem_ItemFieldSchema).default([]).describe(\"Item fields including secrets.\").nullable().optional(),\n category: z.string().describe(\"Item category.\"),\n vault_id: z.string().describe(\"Vault ID the item belongs to.\"),\n});\n\nexport const _1passwordGetItem = action(\"_1PASSWORD_GET_ITEM\", {\n slug: \"_1password-get-item\",\n name: \"Get Item\",\n description: \"Retrieves a specific item from a vault, including all fields and secrets.\",\n input: _1passwordGetItemInput,\n output: _1passwordGetItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC1D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACtE,CAAC;AACD,MAAM,oCAAkDA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACnC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC3E,CAAC;AACD,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU;CAClC,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACxC,QAAQA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAC/D,CAAC;AAED,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-item.d.ts
|
|
4
|
+
declare const _1passwordGetItemInput: z.ZodTypeAny;
|
|
5
|
+
declare const _1passwordGetItemOutput: z.ZodTypeAny;
|
|
6
|
+
declare const _1passwordGetItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _1passwordGetItem };
|
|
9
|
+
//# sourceMappingURL=get-item.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-item.d.cts","names":[],"sources":["../../src/actions/get-item.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGrC;AAAA,cAOW,uBAAA,EAAyB,CAAA,CAAE,UAOtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-item.d.ts
|
|
4
|
+
declare const _1passwordGetItemInput: z.ZodTypeAny;
|
|
5
|
+
declare const _1passwordGetItemOutput: z.ZodTypeAny;
|
|
6
|
+
declare const _1passwordGetItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _1passwordGetItem };
|
|
9
|
+
//# sourceMappingURL=get-item.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-item.d.mts","names":[],"sources":["../../src/actions/get-item.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAGrC;AAAA,cAOW,uBAAA,EAAyB,CAAA,CAAE,UAOtC;AAAA,cAEW,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-item.ts
|
|
4
|
+
const _1passwordGetItemInput = z.object({
|
|
5
|
+
item_id: z.string().describe("ID of the item to retrieve."),
|
|
6
|
+
vault_id: z.string().describe("ID of the vault containing the item.")
|
|
7
|
+
});
|
|
8
|
+
const _1passwordGetItem_ItemFieldSchema = z.object({
|
|
9
|
+
id: z.string().describe("Field ID."),
|
|
10
|
+
title: z.string().describe("Field label."),
|
|
11
|
+
value: z.string().default("").describe("Field value.").nullable().optional(),
|
|
12
|
+
field_type: z.string().describe("Field type (e.g. TEXT, CONCEALED, URL).")
|
|
13
|
+
});
|
|
14
|
+
const _1passwordGetItem = action("_1PASSWORD_GET_ITEM", {
|
|
15
|
+
slug: "_1password-get-item",
|
|
16
|
+
name: "Get Item",
|
|
17
|
+
description: "Retrieves a specific item from a vault, including all fields and secrets.",
|
|
18
|
+
input: _1passwordGetItemInput,
|
|
19
|
+
output: z.object({
|
|
20
|
+
id: z.string().describe("Item ID."),
|
|
21
|
+
tags: z.array(z.string()).default([]).describe("Tags applied to the item.").nullable().optional(),
|
|
22
|
+
title: z.string().describe("Item title."),
|
|
23
|
+
fields: z.array(_1passwordGetItem_ItemFieldSchema).default([]).describe("Item fields including secrets.").nullable().optional(),
|
|
24
|
+
category: z.string().describe("Item category."),
|
|
25
|
+
vault_id: z.string().describe("Vault ID the item belongs to.")
|
|
26
|
+
})
|
|
27
|
+
});
|
|
28
|
+
//#endregion
|
|
29
|
+
export { _1passwordGetItem };
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=get-item.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-item.mjs","names":[],"sources":["../../src/actions/get-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _1passwordGetItemInput: z.ZodTypeAny = z.object({\n item_id: z.string().describe(\"ID of the item to retrieve.\"),\n vault_id: z.string().describe(\"ID of the vault containing the item.\"),\n});\nconst _1passwordGetItem_ItemFieldSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Field ID.\"),\n title: z.string().describe(\"Field label.\"),\n value: z.string().default(\"\").describe(\"Field value.\").nullable().optional(),\n field_type: z.string().describe(\"Field type (e.g. TEXT, CONCEALED, URL).\"),\n});\nexport const _1passwordGetItemOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Item ID.\"),\n tags: z.array(z.string()).default([]).describe(\"Tags applied to the item.\").nullable().optional(),\n title: z.string().describe(\"Item title.\"),\n fields: z.array(_1passwordGetItem_ItemFieldSchema).default([]).describe(\"Item fields including secrets.\").nullable().optional(),\n category: z.string().describe(\"Item category.\"),\n vault_id: z.string().describe(\"Vault ID the item belongs to.\"),\n});\n\nexport const _1passwordGetItem = action(\"_1PASSWORD_GET_ITEM\", {\n slug: \"_1password-get-item\",\n name: \"Get Item\",\n description: \"Retrieves a specific item from a vault, including all fields and secrets.\",\n input: _1passwordGetItemInput,\n output: _1passwordGetItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO;CAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CAC1D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACtE,CAAC;AACD,MAAM,oCAAkD,EAAE,OAAO;CAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACnC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC3E,CAAC;AAUD,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdmD,EAAE,OAAO;EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU;EAClC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;EACxC,QAAQ,EAAE,MAAM,iCAAiC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC/D,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_create_item = require("./create-item.cjs");
|
|
3
|
+
const require_delete_item = require("./delete-item.cjs");
|
|
4
|
+
const require_get_item = require("./get-item.cjs");
|
|
5
|
+
const require_list_items = require("./list-items.cjs");
|
|
6
|
+
const require_list_vaults = require("./list-vaults.cjs");
|
|
7
|
+
const require_update_item = require("./update-item.cjs");
|
|
8
|
+
exports._1passwordCreateItem = require_create_item._1passwordCreateItem;
|
|
9
|
+
exports._1passwordDeleteItem = require_delete_item._1passwordDeleteItem;
|
|
10
|
+
exports._1passwordGetItem = require_get_item._1passwordGetItem;
|
|
11
|
+
exports._1passwordListItems = require_list_items._1passwordListItems;
|
|
12
|
+
exports._1passwordListVaults = require_list_vaults._1passwordListVaults;
|
|
13
|
+
exports._1passwordUpdateItem = require_update_item._1passwordUpdateItem;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { _1passwordCreateItem } from "./create-item.cjs";
|
|
2
|
+
import { _1passwordDeleteItem } from "./delete-item.cjs";
|
|
3
|
+
import { _1passwordGetItem } from "./get-item.cjs";
|
|
4
|
+
import { _1passwordListItems } from "./list-items.cjs";
|
|
5
|
+
import { _1passwordListVaults } from "./list-vaults.cjs";
|
|
6
|
+
import { _1passwordUpdateItem } from "./update-item.cjs";
|
|
7
|
+
export { _1passwordCreateItem, _1passwordDeleteItem, _1passwordGetItem, _1passwordListItems, _1passwordListVaults, _1passwordUpdateItem };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { _1passwordCreateItem } from "./create-item.mjs";
|
|
2
|
+
import { _1passwordDeleteItem } from "./delete-item.mjs";
|
|
3
|
+
import { _1passwordGetItem } from "./get-item.mjs";
|
|
4
|
+
import { _1passwordListItems } from "./list-items.mjs";
|
|
5
|
+
import { _1passwordListVaults } from "./list-vaults.mjs";
|
|
6
|
+
import { _1passwordUpdateItem } from "./update-item.mjs";
|
|
7
|
+
export { _1passwordCreateItem, _1passwordDeleteItem, _1passwordGetItem, _1passwordListItems, _1passwordListVaults, _1passwordUpdateItem };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { _1passwordCreateItem } from "./create-item.mjs";
|
|
2
|
+
import { _1passwordDeleteItem } from "./delete-item.mjs";
|
|
3
|
+
import { _1passwordGetItem } from "./get-item.mjs";
|
|
4
|
+
import { _1passwordListItems } from "./list-items.mjs";
|
|
5
|
+
import { _1passwordListVaults } from "./list-vaults.mjs";
|
|
6
|
+
import { _1passwordUpdateItem } from "./update-item.mjs";
|
|
7
|
+
export { _1passwordCreateItem, _1passwordDeleteItem, _1passwordGetItem, _1passwordListItems, _1passwordListVaults, _1passwordUpdateItem };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-items.ts
|
|
4
|
+
const _1passwordListItemsInput = zod.z.object({ vault_id: zod.z.string().describe("ID of the vault to list items from.") });
|
|
5
|
+
const _1passwordListItems_ItemSummarySchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique item ID."),
|
|
7
|
+
title: zod.z.string().describe("Item title."),
|
|
8
|
+
category: zod.z.string().describe("Item category (e.g. LOGIN, PASSWORD, SECURE_NOTE).")
|
|
9
|
+
});
|
|
10
|
+
const _1passwordListItemsOutput = zod.z.object({ items: zod.z.array(_1passwordListItems_ItemSummarySchema).default([]).describe("Items in the vault.").nullable().optional() });
|
|
11
|
+
const _1passwordListItems = require_action.action("_1PASSWORD_LIST_ITEMS", {
|
|
12
|
+
slug: "_1password-list-items",
|
|
13
|
+
name: "List Items",
|
|
14
|
+
description: "Lists all items in a given vault.",
|
|
15
|
+
input: _1passwordListItemsInput,
|
|
16
|
+
output: _1passwordListItemsOutput
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
exports._1passwordListItems = _1passwordListItems;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=list-items.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-items.cjs","names":["z","action"],"sources":["../../src/actions/list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _1passwordListItemsInput: z.ZodTypeAny = z.object({\n vault_id: z.string().describe(\"ID of the vault to list items from.\"),\n});\nconst _1passwordListItems_ItemSummarySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique item ID.\"),\n title: z.string().describe(\"Item title.\"),\n category: z.string().describe(\"Item category (e.g. LOGIN, PASSWORD, SECURE_NOTE).\"),\n});\nexport const _1passwordListItemsOutput: z.ZodTypeAny = z.object({\n items: z.array(_1passwordListItems_ItemSummarySchema).default([]).describe(\"Items in the vault.\").nullable().optional(),\n});\n\nexport const _1passwordListItems = action(\"_1PASSWORD_LIST_ITEMS\", {\n slug: \"_1password-list-items\",\n name: \"List Items\",\n description: \"Lists all items in a given vault.\",\n input: _1passwordListItemsInput,\n output: _1passwordListItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACrE,CAAC;AACD,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACxC,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACpF,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,OAAOA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-items.d.ts
|
|
4
|
+
declare const _1passwordListItemsInput: z.ZodTypeAny;
|
|
5
|
+
declare const _1passwordListItemsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const _1passwordListItems: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _1passwordListItems };
|
|
9
|
+
//# sourceMappingURL=list-items.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-items.d.cts","names":[],"sources":["../../src/actions/list-items.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cAMW,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-items.d.ts
|
|
4
|
+
declare const _1passwordListItemsInput: z.ZodTypeAny;
|
|
5
|
+
declare const _1passwordListItemsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const _1passwordListItems: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _1passwordListItems };
|
|
9
|
+
//# sourceMappingURL=list-items.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-items.d.mts","names":[],"sources":["../../src/actions/list-items.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEvC;AAAA,cAMW,yBAAA,EAA2B,CAAA,CAAE,UAExC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-items.ts
|
|
4
|
+
const _1passwordListItemsInput = z.object({ vault_id: z.string().describe("ID of the vault to list items from.") });
|
|
5
|
+
const _1passwordListItems_ItemSummarySchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique item ID."),
|
|
7
|
+
title: z.string().describe("Item title."),
|
|
8
|
+
category: z.string().describe("Item category (e.g. LOGIN, PASSWORD, SECURE_NOTE).")
|
|
9
|
+
});
|
|
10
|
+
const _1passwordListItems = action("_1PASSWORD_LIST_ITEMS", {
|
|
11
|
+
slug: "_1password-list-items",
|
|
12
|
+
name: "List Items",
|
|
13
|
+
description: "Lists all items in a given vault.",
|
|
14
|
+
input: _1passwordListItemsInput,
|
|
15
|
+
output: z.object({ items: z.array(_1passwordListItems_ItemSummarySchema).default([]).describe("Items in the vault.").nullable().optional() })
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { _1passwordListItems };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=list-items.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-items.mjs","names":[],"sources":["../../src/actions/list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _1passwordListItemsInput: z.ZodTypeAny = z.object({\n vault_id: z.string().describe(\"ID of the vault to list items from.\"),\n});\nconst _1passwordListItems_ItemSummarySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique item ID.\"),\n title: z.string().describe(\"Item title.\"),\n category: z.string().describe(\"Item category (e.g. LOGIN, PASSWORD, SECURE_NOTE).\"),\n});\nexport const _1passwordListItemsOutput: z.ZodTypeAny = z.object({\n items: z.array(_1passwordListItems_ItemSummarySchema).default([]).describe(\"Items in the vault.\").nullable().optional(),\n});\n\nexport const _1passwordListItems = action(\"_1PASSWORD_LIST_ITEMS\", {\n slug: \"_1password-list-items\",\n name: \"List Items\",\n description: \"Lists all items in a given vault.\",\n input: _1passwordListItemsInput,\n output: _1passwordListItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,EAC7D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,EACrE,CAAC;AACD,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACxC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AACpF,CAAC;AAKD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqD,EAAE,OAAO,EAC9D,OAAO,EAAE,MAAM,qCAAqC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxH,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-vaults.ts
|
|
4
|
+
const _1passwordListVaultsInput = zod.z.object({});
|
|
5
|
+
const _1passwordListVaults_VaultItemSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("Unique vault ID."),
|
|
7
|
+
name: zod.z.string().describe("Display name of the vault."),
|
|
8
|
+
description: zod.z.string().default("").describe("Optional vault description.").nullable().optional()
|
|
9
|
+
});
|
|
10
|
+
const _1passwordListVaultsOutput = zod.z.object({ vaults: zod.z.array(_1passwordListVaults_VaultItemSchema).default([]).describe("All vaults accessible to the service account.").nullable().optional() });
|
|
11
|
+
const _1passwordListVaults = require_action.action("_1PASSWORD_LIST_VAULTS", {
|
|
12
|
+
slug: "_1password-list-vaults",
|
|
13
|
+
name: "List Vaults",
|
|
14
|
+
description: "Lists all vaults the service account has access to.",
|
|
15
|
+
input: _1passwordListVaultsInput,
|
|
16
|
+
output: _1passwordListVaultsOutput
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
exports._1passwordListVaults = _1passwordListVaults;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=list-vaults.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-vaults.cjs","names":["z","action"],"sources":["../../src/actions/list-vaults.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _1passwordListVaultsInput: z.ZodTypeAny = z.object({});\nconst _1passwordListVaults_VaultItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique vault ID.\"),\n name: z.string().describe(\"Display name of the vault.\"),\n description: z.string().default(\"\").describe(\"Optional vault description.\").nullable().optional(),\n});\nexport const _1passwordListVaultsOutput: z.ZodTypeAny = z.object({\n vaults: z.array(_1passwordListVaults_VaultItemSchema).default([]).describe(\"All vaults accessible to the service account.\").nullable().optional(),\n});\n\nexport const _1passwordListVaults = action(\"_1PASSWORD_LIST_VAULTS\", {\n slug: \"_1password-list-vaults\",\n name: \"List Vaults\",\n description: \"Lists all vaults the service account has access to.\",\n input: _1passwordListVaultsInput,\n output: _1passwordListVaultsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAClE,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,QAAQA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClJ,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-vaults.d.ts
|
|
4
|
+
declare const _1passwordListVaultsInput: z.ZodTypeAny;
|
|
5
|
+
declare const _1passwordListVaultsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const _1passwordListVaults: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _1passwordListVaults };
|
|
9
|
+
//# sourceMappingURL=list-vaults.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-vaults.d.cts","names":[],"sources":["../../src/actions/list-vaults.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAAyB;AAAA,cAMtD,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-vaults.d.ts
|
|
4
|
+
declare const _1passwordListVaultsInput: z.ZodTypeAny;
|
|
5
|
+
declare const _1passwordListVaultsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const _1passwordListVaults: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _1passwordListVaults };
|
|
9
|
+
//# sourceMappingURL=list-vaults.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-vaults.d.mts","names":[],"sources":["../../src/actions/list-vaults.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAAyB;AAAA,cAMtD,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-vaults.ts
|
|
4
|
+
const _1passwordListVaultsInput = z.object({});
|
|
5
|
+
const _1passwordListVaults_VaultItemSchema = z.object({
|
|
6
|
+
id: z.string().describe("Unique vault ID."),
|
|
7
|
+
name: z.string().describe("Display name of the vault."),
|
|
8
|
+
description: z.string().default("").describe("Optional vault description.").nullable().optional()
|
|
9
|
+
});
|
|
10
|
+
const _1passwordListVaults = action("_1PASSWORD_LIST_VAULTS", {
|
|
11
|
+
slug: "_1password-list-vaults",
|
|
12
|
+
name: "List Vaults",
|
|
13
|
+
description: "Lists all vaults the service account has access to.",
|
|
14
|
+
input: _1passwordListVaultsInput,
|
|
15
|
+
output: z.object({ vaults: z.array(_1passwordListVaults_VaultItemSchema).default([]).describe("All vaults accessible to the service account.").nullable().optional() })
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { _1passwordListVaults };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=list-vaults.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-vaults.mjs","names":[],"sources":["../../src/actions/list-vaults.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _1passwordListVaultsInput: z.ZodTypeAny = z.object({});\nconst _1passwordListVaults_VaultItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique vault ID.\"),\n name: z.string().describe(\"Display name of the vault.\"),\n description: z.string().default(\"\").describe(\"Optional vault description.\").nullable().optional(),\n});\nexport const _1passwordListVaultsOutput: z.ZodTypeAny = z.object({\n vaults: z.array(_1passwordListVaults_VaultItemSchema).default([]).describe(\"All vaults accessible to the service account.\").nullable().optional(),\n});\n\nexport const _1passwordListVaults = action(\"_1PASSWORD_LIST_VAULTS\", {\n slug: \"_1password-list-vaults\",\n name: \"List Vaults\",\n description: \"Lists all vaults the service account has access to.\",\n input: _1passwordListVaultsInput,\n output: _1passwordListVaultsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,CAAC,CAAC;AAClE,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,aAAa,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC;AAKD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,QAAQ,EAAE,MAAM,oCAAoC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAClJ,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-item.ts
|
|
4
|
+
const _1passwordUpdateItemInput = zod.z.object({
|
|
5
|
+
title: zod.z.string().describe("New title for the item. Omit to keep existing title.").optional(),
|
|
6
|
+
fields: zod.z.array(zod.z.object({
|
|
7
|
+
title: zod.z.string().describe("Label of the field to update."),
|
|
8
|
+
value: zod.z.string().describe("New value for the field.")
|
|
9
|
+
})).default([]).describe("Fields to update. Matched by title; updates value if found.").optional(),
|
|
10
|
+
item_id: zod.z.string().describe("ID of the item to update."),
|
|
11
|
+
vault_id: zod.z.string().describe("ID of the vault containing the item.")
|
|
12
|
+
});
|
|
13
|
+
const _1passwordUpdateItemOutput = zod.z.object({
|
|
14
|
+
id: zod.z.string().describe("Item ID."),
|
|
15
|
+
title: zod.z.string().describe("Updated item title."),
|
|
16
|
+
vault_id: zod.z.string().describe("Vault ID.")
|
|
17
|
+
});
|
|
18
|
+
const _1passwordUpdateItem = require_action.action("_1PASSWORD_UPDATE_ITEM", {
|
|
19
|
+
slug: "_1password-update-item",
|
|
20
|
+
name: "Update Item",
|
|
21
|
+
description: "Updates an existing item's title or field values.",
|
|
22
|
+
input: _1passwordUpdateItemInput,
|
|
23
|
+
output: _1passwordUpdateItemOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports._1passwordUpdateItem = _1passwordUpdateItem;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=update-item.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-item.cjs","names":["z","action"],"sources":["../../src/actions/update-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _1passwordUpdateItemInput: z.ZodTypeAny = z.object({\n title: z.string().describe(\"New title for the item. Omit to keep existing title.\").optional(),\n fields: z.array(z.object({\n title: z.string().describe(\"Label of the field to update.\"),\n value: z.string().describe(\"New value for the field.\"),\n})).default([]).describe(\"Fields to update. Matched by title; updates value if found.\").optional(),\n item_id: z.string().describe(\"ID of the item to update.\"),\n vault_id: z.string().describe(\"ID of the vault containing the item.\"),\n});\nexport const _1passwordUpdateItemOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Item ID.\"),\n title: z.string().describe(\"Updated item title.\"),\n vault_id: z.string().describe(\"Vault ID.\"),\n});\n\nexport const _1passwordUpdateItem = action(\"_1PASSWORD_UPDATE_ITEM\", {\n slug: \"_1password-update-item\",\n name: \"Update Item\",\n description: \"Updates an existing item's title or field values.\",\n input: _1passwordUpdateItemInput,\n output: _1passwordUpdateItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACvD,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;AACtE,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU;CAClC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CAChD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;AAC3C,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-item.d.ts
|
|
4
|
+
declare const _1passwordUpdateItemInput: z.ZodTypeAny;
|
|
5
|
+
declare const _1passwordUpdateItemOutput: z.ZodTypeAny;
|
|
6
|
+
declare const _1passwordUpdateItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _1passwordUpdateItem };
|
|
9
|
+
//# sourceMappingURL=update-item.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-item.d.cts","names":[],"sources":["../../src/actions/update-item.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAQxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAIzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-item.d.ts
|
|
4
|
+
declare const _1passwordUpdateItemInput: z.ZodTypeAny;
|
|
5
|
+
declare const _1passwordUpdateItemOutput: z.ZodTypeAny;
|
|
6
|
+
declare const _1passwordUpdateItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _1passwordUpdateItem };
|
|
9
|
+
//# sourceMappingURL=update-item.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-item.d.mts","names":[],"sources":["../../src/actions/update-item.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAQxC;AAAA,cACW,0BAAA,EAA4B,CAAA,CAAE,UAIzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const _1passwordUpdateItem = action("_1PASSWORD_UPDATE_ITEM", {
|
|
4
|
+
slug: "_1password-update-item",
|
|
5
|
+
name: "Update Item",
|
|
6
|
+
description: "Updates an existing item's title or field values.",
|
|
7
|
+
input: z.object({
|
|
8
|
+
title: z.string().describe("New title for the item. Omit to keep existing title.").optional(),
|
|
9
|
+
fields: z.array(z.object({
|
|
10
|
+
title: z.string().describe("Label of the field to update."),
|
|
11
|
+
value: z.string().describe("New value for the field.")
|
|
12
|
+
})).default([]).describe("Fields to update. Matched by title; updates value if found.").optional(),
|
|
13
|
+
item_id: z.string().describe("ID of the item to update."),
|
|
14
|
+
vault_id: z.string().describe("ID of the vault containing the item.")
|
|
15
|
+
}),
|
|
16
|
+
output: z.object({
|
|
17
|
+
id: z.string().describe("Item ID."),
|
|
18
|
+
title: z.string().describe("Updated item title."),
|
|
19
|
+
vault_id: z.string().describe("Vault ID.")
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
//#endregion
|
|
23
|
+
export { _1passwordUpdateItem };
|
|
24
|
+
|
|
25
|
+
//# sourceMappingURL=update-item.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-item.mjs","names":[],"sources":["../../src/actions/update-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const _1passwordUpdateItemInput: z.ZodTypeAny = z.object({\n title: z.string().describe(\"New title for the item. Omit to keep existing title.\").optional(),\n fields: z.array(z.object({\n title: z.string().describe(\"Label of the field to update.\"),\n value: z.string().describe(\"New value for the field.\"),\n})).default([]).describe(\"Fields to update. Matched by title; updates value if found.\").optional(),\n item_id: z.string().describe(\"ID of the item to update.\"),\n vault_id: z.string().describe(\"ID of the vault containing the item.\"),\n});\nexport const _1passwordUpdateItemOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Item ID.\"),\n title: z.string().describe(\"Updated item title.\"),\n vault_id: z.string().describe(\"Vault ID.\"),\n});\n\nexport const _1passwordUpdateItem = action(\"_1PASSWORD_UPDATE_ITEM\", {\n slug: \"_1password-update-item\",\n name: \"Update Item\",\n description: \"Updates an existing item's title or field values.\",\n input: _1passwordUpdateItemInput,\n output: _1passwordUpdateItemOutput,\n});\n"],"mappings":";;AAmBA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBqD,EAAE,OAAO;EAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC5F,QAAQ,EAAE,MAAM,EAAE,OAAO;GACzB,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;GAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACvD,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,CAWS;CACP,QAXsD,EAAE,OAAO;EAC/D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,UAAU;EAClC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EAChD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CAC3C,CAOU;AACV,CAAC"}
|
package/dist/app.cjs
ADDED
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const _1password = defineApp({\n slug: \"_1password\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,cAAA,uCAAA,CAAA,CAAA,UAAA,CAAuB;CAClC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,UAAA,6BAAU,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,UAAA,6BAAU,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const _1password = defineApp({\n slug: \"_1password\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,aAAa,UAAU;CAClC,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const _1passwordCatalog = {
|
|
4
|
+
"slug": "_1password",
|
|
5
|
+
"name": "1password",
|
|
6
|
+
"description": "Password manager and digital vault for secure credential storage and team collaboration",
|
|
7
|
+
"category": "Security & Identity Tools",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/1password",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports._1passwordCatalog = _1passwordCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const _1passwordCatalog = {\n \"slug\": \"_1password\",\n \"name\": \"1password\",\n \"description\": \"Password manager and digital vault for secure credential storage and team collaboration\",\n \"category\": \"Security & Identity Tools\",\n \"logo\": \"https://logos.composio.dev/api/1password\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const _1passwordCatalog: {
|
|
4
|
+
readonly slug: "_1password";
|
|
5
|
+
readonly name: "1password";
|
|
6
|
+
readonly description: "Password manager and digital vault for secure credential storage and team collaboration";
|
|
7
|
+
readonly category: "Security & Identity Tools";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/1password";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { _1passwordCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,iBAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const _1passwordCatalog: {
|
|
4
|
+
readonly slug: "_1password";
|
|
5
|
+
readonly name: "1password";
|
|
6
|
+
readonly description: "Password manager and digital vault for secure credential storage and team collaboration";
|
|
7
|
+
readonly category: "Security & Identity Tools";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/1password";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { _1passwordCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,iBAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const _1passwordCatalog = {
|
|
4
|
+
"slug": "_1password",
|
|
5
|
+
"name": "1password",
|
|
6
|
+
"description": "Password manager and digital vault for secure credential storage and team collaboration",
|
|
7
|
+
"category": "Security & Identity Tools",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/1password",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { _1passwordCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const _1passwordCatalog = {\n \"slug\": \"_1password\",\n \"name\": \"1password\",\n \"description\": \"Password manager and digital vault for secure credential storage and team collaboration\",\n \"category\": \"Security & Identity Tools\",\n \"logo\": \"https://logos.composio.dev/api/1password\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,oBAAoB;CAC/B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "_1password";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function execute_1passwordTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.execute_1passwordTool = execute_1passwordTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"_1password\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function execute_1passwordTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,sBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "_1password";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function execute_1passwordTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { execute_1passwordTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"_1password\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function execute_1passwordTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,sBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_app = require("./app.cjs");
|
|
3
|
+
const require_catalog = require("./catalog.cjs");
|
|
4
|
+
const require_create_item = require("./actions/create-item.cjs");
|
|
5
|
+
const require_delete_item = require("./actions/delete-item.cjs");
|
|
6
|
+
const require_get_item = require("./actions/get-item.cjs");
|
|
7
|
+
const require_list_items = require("./actions/list-items.cjs");
|
|
8
|
+
const require_list_vaults = require("./actions/list-vaults.cjs");
|
|
9
|
+
const require_update_item = require("./actions/update-item.cjs");
|
|
10
|
+
require("./actions/index.cjs");
|
|
11
|
+
exports._1password = require_app._1password;
|
|
12
|
+
exports._1passwordCatalog = require_catalog._1passwordCatalog;
|
|
13
|
+
exports._1passwordCreateItem = require_create_item._1passwordCreateItem;
|
|
14
|
+
exports._1passwordDeleteItem = require_delete_item._1passwordDeleteItem;
|
|
15
|
+
exports._1passwordGetItem = require_get_item._1passwordGetItem;
|
|
16
|
+
exports._1passwordListItems = require_list_items._1passwordListItems;
|
|
17
|
+
exports._1passwordListVaults = require_list_vaults._1passwordListVaults;
|
|
18
|
+
exports._1passwordUpdateItem = require_update_item._1passwordUpdateItem;
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { _1passwordCreateItem } from "./actions/create-item.cjs";
|
|
2
|
+
import { _1passwordDeleteItem } from "./actions/delete-item.cjs";
|
|
3
|
+
import { _1passwordGetItem } from "./actions/get-item.cjs";
|
|
4
|
+
import { _1passwordListItems } from "./actions/list-items.cjs";
|
|
5
|
+
import { _1passwordListVaults } from "./actions/list-vaults.cjs";
|
|
6
|
+
import { _1passwordUpdateItem } from "./actions/update-item.cjs";
|
|
7
|
+
import { _1password } from "./app.cjs";
|
|
8
|
+
import { _1passwordCatalog } from "./catalog.cjs";
|
|
9
|
+
export { _1password, _1passwordCatalog, _1passwordCreateItem, _1passwordDeleteItem, _1passwordGetItem, _1passwordListItems, _1passwordListVaults, _1passwordUpdateItem };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { _1passwordCreateItem } from "./actions/create-item.mjs";
|
|
2
|
+
import { _1passwordDeleteItem } from "./actions/delete-item.mjs";
|
|
3
|
+
import { _1passwordGetItem } from "./actions/get-item.mjs";
|
|
4
|
+
import { _1passwordListItems } from "./actions/list-items.mjs";
|
|
5
|
+
import { _1passwordListVaults } from "./actions/list-vaults.mjs";
|
|
6
|
+
import { _1passwordUpdateItem } from "./actions/update-item.mjs";
|
|
7
|
+
import { _1password } from "./app.mjs";
|
|
8
|
+
import { _1passwordCatalog } from "./catalog.mjs";
|
|
9
|
+
export { _1password, _1passwordCatalog, _1passwordCreateItem, _1passwordDeleteItem, _1passwordGetItem, _1passwordListItems, _1passwordListVaults, _1passwordUpdateItem };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { _1password } from "./app.mjs";
|
|
2
|
+
import { _1passwordCatalog } from "./catalog.mjs";
|
|
3
|
+
import { _1passwordCreateItem } from "./actions/create-item.mjs";
|
|
4
|
+
import { _1passwordDeleteItem } from "./actions/delete-item.mjs";
|
|
5
|
+
import { _1passwordGetItem } from "./actions/get-item.mjs";
|
|
6
|
+
import { _1passwordListItems } from "./actions/list-items.mjs";
|
|
7
|
+
import { _1passwordListVaults } from "./actions/list-vaults.mjs";
|
|
8
|
+
import { _1passwordUpdateItem } from "./actions/update-item.mjs";
|
|
9
|
+
import "./actions/index.mjs";
|
|
10
|
+
export { _1password, _1passwordCatalog, _1passwordCreateItem, _1passwordDeleteItem, _1passwordGetItem, _1passwordListItems, _1passwordListVaults, _1passwordUpdateItem };
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@keystrokehq/_1password",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public",
|
|
6
|
+
"registry": "https://registry.npmjs.org"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
11
|
+
"directory": "packages/integrations/_1password"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
16
|
+
"sideEffects": false,
|
|
17
|
+
"type": "module",
|
|
18
|
+
"main": "./dist/index.cjs",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.mts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.cjs"
|
|
26
|
+
},
|
|
27
|
+
"./actions": {
|
|
28
|
+
"types": "./dist/actions/index.d.mts",
|
|
29
|
+
"import": "./dist/actions/index.mjs",
|
|
30
|
+
"require": "./dist/actions/index.cjs"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"peerDependencies": {
|
|
34
|
+
"@keystrokehq/keystroke": "^0.1.4",
|
|
35
|
+
"zod": "^4.4.3"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@keystrokehq/keystroke": "link:../../keystroke",
|
|
39
|
+
"@types/node": "^25.9.1",
|
|
40
|
+
"tsdown": "^0.22.0",
|
|
41
|
+
"typescript": "^6.0.3",
|
|
42
|
+
"zod": "^4.4.3"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsdown",
|
|
46
|
+
"dev": "tsdown --watch --no-clean",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
}
|
|
49
|
+
}
|