@keystrokehq/plain 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-customer-to-group.cjs +7 -7
- package/dist/actions/add-customer-to-group.cjs.map +1 -1
- package/dist/actions/add-customer-to-group.d.cts +8 -7
- package/dist/actions/add-customer-to-group.d.mts +8 -7
- package/dist/actions/add-customer-to-group.mjs +7 -7
- package/dist/actions/add-customer-to-group.mjs.map +1 -1
- package/dist/actions/create-customer-group.cjs +5 -5
- package/dist/actions/create-customer-group.cjs.map +1 -1
- package/dist/actions/create-customer-group.d.cts +6 -6
- package/dist/actions/create-customer-group.d.mts +6 -6
- package/dist/actions/create-customer-group.mjs +5 -5
- package/dist/actions/create-customer-group.mjs.map +1 -1
- package/dist/actions/create-thread.cjs +10 -10
- package/dist/actions/create-thread.cjs.map +1 -1
- package/dist/actions/create-thread.d.cts +11 -10
- package/dist/actions/create-thread.d.mts +11 -10
- package/dist/actions/create-thread.mjs +10 -10
- package/dist/actions/create-thread.mjs.map +1 -1
- package/dist/actions/delete-customer.cjs +3 -3
- package/dist/actions/delete-customer.cjs.map +1 -1
- package/dist/actions/delete-customer.d.cts +3 -3
- package/dist/actions/delete-customer.d.mts +3 -3
- package/dist/actions/delete-customer.mjs +3 -3
- package/dist/actions/delete-customer.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +3 -3
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -3
- package/dist/actions/delete-user.d.mts +3 -3
- package/dist/actions/delete-user.mjs +3 -3
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/fetch-company.cjs +3 -3
- package/dist/actions/fetch-company.cjs.map +1 -1
- package/dist/actions/fetch-company.d.cts +4 -4
- package/dist/actions/fetch-company.d.mts +4 -4
- package/dist/actions/fetch-company.mjs +3 -3
- package/dist/actions/fetch-company.mjs.map +1 -1
- package/dist/actions/fetch-issues.cjs +2 -2
- package/dist/actions/fetch-issues.cjs.map +1 -1
- package/dist/actions/fetch-issues.d.cts +2 -2
- package/dist/actions/fetch-issues.d.mts +2 -2
- package/dist/actions/fetch-issues.mjs +2 -2
- package/dist/actions/fetch-issues.mjs.map +1 -1
- package/dist/actions/fetch-tier.cjs +3 -3
- package/dist/actions/fetch-tier.cjs.map +1 -1
- package/dist/actions/fetch-tier.d.cts +4 -4
- package/dist/actions/fetch-tier.d.mts +4 -4
- package/dist/actions/fetch-tier.mjs +3 -3
- package/dist/actions/fetch-tier.mjs.map +1 -1
- package/dist/actions/get-customer-by-email.cjs +5 -5
- package/dist/actions/get-customer-by-email.cjs.map +1 -1
- package/dist/actions/get-customer-by-email.d.cts +6 -6
- package/dist/actions/get-customer-by-email.d.mts +6 -6
- package/dist/actions/get-customer-by-email.mjs +5 -5
- package/dist/actions/get-customer-by-email.mjs.map +1 -1
- package/dist/actions/get-customer-by-id.cjs +1 -1
- package/dist/actions/get-customer-by-id.cjs.map +1 -1
- package/dist/actions/get-customer-by-id.d.cts +1 -1
- package/dist/actions/get-customer-by-id.d.mts +1 -1
- package/dist/actions/get-customer-by-id.mjs +1 -1
- package/dist/actions/get-customer-by-id.mjs.map +1 -1
- package/dist/actions/get-customers.cjs +7 -7
- package/dist/actions/get-customers.cjs.map +1 -1
- package/dist/actions/get-customers.d.cts +7 -7
- package/dist/actions/get-customers.d.mts +7 -7
- package/dist/actions/get-customers.mjs +7 -7
- package/dist/actions/get-customers.mjs.map +1 -1
- package/dist/actions/get-thread-by-id.cjs +9 -9
- package/dist/actions/get-thread-by-id.cjs.map +1 -1
- package/dist/actions/get-thread-by-id.d.cts +15 -15
- package/dist/actions/get-thread-by-id.d.mts +15 -15
- package/dist/actions/get-thread-by-id.mjs +9 -9
- package/dist/actions/get-thread-by-id.mjs.map +1 -1
- package/dist/actions/get-user-by-id.cjs +4 -4
- package/dist/actions/get-user-by-id.cjs.map +1 -1
- package/dist/actions/get-user-by-id.d.cts +4 -4
- package/dist/actions/get-user-by-id.d.mts +4 -4
- package/dist/actions/get-user-by-id.mjs +4 -4
- package/dist/actions/get-user-by-id.mjs.map +1 -1
- package/dist/actions/list-customer-groups.cjs +5 -5
- package/dist/actions/list-customer-groups.cjs.map +1 -1
- package/dist/actions/list-customer-groups.d.cts +5 -5
- package/dist/actions/list-customer-groups.d.mts +5 -5
- package/dist/actions/list-customer-groups.mjs +5 -5
- package/dist/actions/list-customer-groups.mjs.map +1 -1
- package/dist/actions/list-tiers.cjs +5 -5
- package/dist/actions/list-tiers.cjs.map +1 -1
- package/dist/actions/list-tiers.d.cts +5 -5
- package/dist/actions/list-tiers.d.mts +5 -5
- package/dist/actions/list-tiers.mjs +5 -5
- package/dist/actions/list-tiers.mjs.map +1 -1
- package/dist/actions/query-threads.cjs +7 -7
- package/dist/actions/query-threads.cjs.map +1 -1
- package/dist/actions/query-threads.d.cts +7 -7
- package/dist/actions/query-threads.d.mts +7 -7
- package/dist/actions/query-threads.mjs +7 -7
- package/dist/actions/query-threads.mjs.map +1 -1
- package/dist/actions/remove-customer-from-group.cjs +4 -4
- package/dist/actions/remove-customer-from-group.cjs.map +1 -1
- package/dist/actions/remove-customer-from-group.d.cts +5 -4
- package/dist/actions/remove-customer-from-group.d.mts +5 -4
- package/dist/actions/remove-customer-from-group.mjs +4 -4
- package/dist/actions/remove-customer-from-group.mjs.map +1 -1
- package/dist/actions/run-graphql-query.cjs +4 -4
- package/dist/actions/run-graphql-query.cjs.map +1 -1
- package/dist/actions/run-graphql-query.d.cts +4 -4
- package/dist/actions/run-graphql-query.d.mts +4 -4
- package/dist/actions/run-graphql-query.mjs +4 -4
- package/dist/actions/run-graphql-query.mjs.map +1 -1
- package/dist/actions/send-message.cjs +5 -5
- package/dist/actions/send-message.cjs.map +1 -1
- package/dist/actions/send-message.d.cts +7 -5
- package/dist/actions/send-message.d.mts +7 -5
- package/dist/actions/send-message.mjs +5 -5
- package/dist/actions/send-message.mjs.map +1 -1
- package/dist/actions/update-company.cjs +5 -5
- package/dist/actions/update-company.cjs.map +1 -1
- package/dist/actions/update-company.d.cts +5 -5
- package/dist/actions/update-company.d.mts +5 -5
- package/dist/actions/update-company.mjs +5 -5
- package/dist/actions/update-company.mjs.map +1 -1
- package/dist/actions/update-thread.cjs +5 -5
- package/dist/actions/update-thread.cjs.map +1 -1
- package/dist/actions/update-thread.d.cts +5 -5
- package/dist/actions/update-thread.d.mts +5 -5
- package/dist/actions/update-thread.mjs +5 -5
- package/dist/actions/update-thread.mjs.map +1 -1
- package/dist/actions/upsert-customer.cjs +7 -7
- package/dist/actions/upsert-customer.cjs.map +1 -1
- package/dist/actions/upsert-customer.d.cts +9 -7
- package/dist/actions/upsert-customer.d.mts +9 -7
- package/dist/actions/upsert-customer.mjs +7 -7
- package/dist/actions/upsert-customer.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
const PlainCreateThreadInput = z.object({
|
|
5
5
|
title: z.string().describe("Title of the new thread"),
|
|
6
6
|
assignedTo: z.object({ userId: z.string().describe("Plain user ID to assign the thread to") }).describe("Optional user assignment for the thread").optional(),
|
|
7
|
-
components: z.array(z.object({ componentText: z.object({ text: z.string().describe("Text content of the component") }).describe("A text component to include in the thread").optional() })).describe("Optional list of content components for the thread").optional(),
|
|
7
|
+
components: z.array(z.object({ componentText: z.object({ text: z.string().describe("Text content of the component") }).describe("A text component to include in the thread").optional() }).passthrough()).describe("Optional list of content components for the thread").optional(),
|
|
8
8
|
labelTypeIds: z.array(z.string()).describe("Optional list of label type IDs to assign").optional(),
|
|
9
9
|
customerIdentifier: z.object({
|
|
10
10
|
customerId: z.string().describe("Plain customer ID to identify the customer").optional(),
|
|
@@ -15,18 +15,18 @@ const PlainCreateThreadInput = z.object({
|
|
|
15
15
|
const PlainCreateThread_ThreadLabelTypeSchema = z.object({
|
|
16
16
|
id: z.string().describe("LabelType unique identifier").nullable(),
|
|
17
17
|
name: z.string().describe("LabelType name").nullable()
|
|
18
|
-
});
|
|
18
|
+
}).passthrough();
|
|
19
19
|
const PlainCreateThread_ThreadLabelSchema = z.object({
|
|
20
20
|
id: z.string().describe("Label unique identifier").nullable(),
|
|
21
21
|
labelType: PlainCreateThread_ThreadLabelTypeSchema.nullable()
|
|
22
|
-
});
|
|
23
|
-
const PlainCreateThread_CustomerEmailSchema = z.object({ email: z.string().describe("Email address of the customer").nullable() });
|
|
22
|
+
}).passthrough();
|
|
23
|
+
const PlainCreateThread_CustomerEmailSchema = z.object({ email: z.string().describe("Email address of the customer").nullable() }).passthrough();
|
|
24
24
|
const PlainCreateThread_CustomerSchema = z.object({
|
|
25
25
|
id: z.string().describe("Customer unique identifier").nullable(),
|
|
26
26
|
email: PlainCreateThread_CustomerEmailSchema.nullable(),
|
|
27
27
|
fullName: z.string().describe("Full name of the customer").nullable()
|
|
28
|
-
});
|
|
29
|
-
const PlainCreateThread_StatusChangedAtSchema = z.object({ iso8601: z.string().describe("Timestamp of last status change in ISO8601 format").nullable() });
|
|
28
|
+
}).passthrough();
|
|
29
|
+
const PlainCreateThread_StatusChangedAtSchema = z.object({ iso8601: z.string().describe("Timestamp of last status change in ISO8601 format").nullable() }).passthrough();
|
|
30
30
|
const PlainCreateThread_ThreadSchema = z.object({
|
|
31
31
|
id: z.string().describe("Thread unique identifier").nullable(),
|
|
32
32
|
title: z.string().describe("Title of the thread").nullable(),
|
|
@@ -35,15 +35,15 @@ const PlainCreateThread_ThreadSchema = z.object({
|
|
|
35
35
|
customer: PlainCreateThread_CustomerSchema.nullable(),
|
|
36
36
|
priority: z.number().int().describe("Priority level of the thread").nullable(),
|
|
37
37
|
statusChangedAt: PlainCreateThread_StatusChangedAtSchema.nullable()
|
|
38
|
-
});
|
|
39
|
-
const PlainCreateThread_CreateThreadDataSchema = z.object({ thread: PlainCreateThread_ThreadSchema.nullable().optional() });
|
|
40
|
-
const PlainCreateThread_CreateThreadPayloadSchema = z.object({ createThread: PlainCreateThread_CreateThreadDataSchema.nullable() });
|
|
38
|
+
}).passthrough();
|
|
39
|
+
const PlainCreateThread_CreateThreadDataSchema = z.object({ thread: PlainCreateThread_ThreadSchema.nullable().optional() }).passthrough();
|
|
40
|
+
const PlainCreateThread_CreateThreadPayloadSchema = z.object({ createThread: PlainCreateThread_CreateThreadDataSchema.nullable() }).passthrough();
|
|
41
41
|
const plainCreateThread = action("PLAIN_CREATE_THREAD", {
|
|
42
42
|
slug: "plain-create-thread",
|
|
43
43
|
name: "Create Thread",
|
|
44
44
|
description: "Tool to create a new thread. Use after obtaining valid customer identifier.",
|
|
45
45
|
input: PlainCreateThreadInput,
|
|
46
|
-
output: z.object({ data: PlainCreateThread_CreateThreadPayloadSchema.nullable() })
|
|
46
|
+
output: z.object({ data: PlainCreateThread_CreateThreadPayloadSchema.nullable() }).passthrough()
|
|
47
47
|
});
|
|
48
48
|
//#endregion
|
|
49
49
|
export { plainCreateThread };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-thread.mjs","names":[],"sources":["../../src/actions/create-thread.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainCreateThreadInput = z.object({\n title: z.string().describe(\"Title of the new thread\"),\n assignedTo: z.object({\n userId: z.string().describe(\"Plain user ID to assign the thread to\"),\n}).describe(\"Optional user assignment for the thread\").optional(),\n components: z.array(z.object({\n componentText: z.object({\n text: z.string().describe(\"Text content of the component\"),\n}).describe(\"A text component to include in the thread\").optional(),\n})).describe(\"Optional list of content components for the thread\").optional(),\n labelTypeIds: z.array(z.string()).describe(\"Optional list of label type IDs to assign\").optional(),\n customerIdentifier: z.object({\n customerId: z.string().describe(\"Plain customer ID to identify the customer\").optional(),\n externalId: z.string().describe(\"External ID for the customer\").optional(),\n emailAddress: z.string().describe(\"Email address of the customer\").optional(),\n}).describe(\"Identifier object for the customer\"),\n});\nconst PlainCreateThread_ThreadLabelTypeSchema = z.object({\n id: z.string().describe(\"LabelType unique identifier\").nullable(),\n name: z.string().describe(\"LabelType name\").nullable(),\n});\nconst PlainCreateThread_ThreadLabelSchema = z.object({\n id: z.string().describe(\"Label unique identifier\").nullable(),\n labelType: PlainCreateThread_ThreadLabelTypeSchema.nullable(),\n});\nconst PlainCreateThread_CustomerEmailSchema = z.object({\n email: z.string().describe(\"Email address of the customer\").nullable(),\n});\nconst PlainCreateThread_CustomerSchema = z.object({\n id: z.string().describe(\"Customer unique identifier\").nullable(),\n email: PlainCreateThread_CustomerEmailSchema.nullable(),\n fullName: z.string().describe(\"Full name of the customer\").nullable(),\n});\nconst PlainCreateThread_StatusChangedAtSchema = z.object({\n iso8601: z.string().describe(\"Timestamp of last status change in ISO8601 format\").nullable(),\n});\nconst PlainCreateThread_ThreadSchema = z.object({\n id: z.string().describe(\"Thread unique identifier\").nullable(),\n title: z.string().describe(\"Title of the thread\").nullable(),\n labels: z.array(PlainCreateThread_ThreadLabelSchema).describe(\"Labels assigned to the thread\"),\n status: z.string().describe(\"Current status of the thread\").nullable(),\n customer: PlainCreateThread_CustomerSchema.nullable(),\n priority: z.number().int().describe(\"Priority level of the thread\").nullable(),\n statusChangedAt: PlainCreateThread_StatusChangedAtSchema.nullable(),\n});\nconst PlainCreateThread_CreateThreadDataSchema = z.object({\n thread: PlainCreateThread_ThreadSchema.nullable().optional(),\n});\nconst PlainCreateThread_CreateThreadPayloadSchema = z.object({\n createThread: PlainCreateThread_CreateThreadDataSchema.nullable(),\n});\nexport const PlainCreateThreadOutput = z.object({\n data: PlainCreateThread_CreateThreadPayloadSchema.nullable(),\n});\n\nexport const plainCreateThread = action(\"PLAIN_CREATE_THREAD\", {\n slug: \"plain-create-thread\",\n name: \"Create Thread\",\n description: \"Tool to create a new thread. Use after obtaining valid customer identifier.\",\n input: PlainCreateThreadInput,\n output: PlainCreateThreadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACpD,YAAY,EAAE,OAAO,EACrB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACrE,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9D,YAAY,EAAE,MAAM,EAAE,OAAO,EAC7B,eAAe,EAAE,OAAO,EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,EAC3D,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;
|
|
1
|
+
{"version":3,"file":"create-thread.mjs","names":[],"sources":["../../src/actions/create-thread.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainCreateThreadInput = z.object({\n title: z.string().describe(\"Title of the new thread\"),\n assignedTo: z.object({\n userId: z.string().describe(\"Plain user ID to assign the thread to\"),\n}).describe(\"Optional user assignment for the thread\").optional(),\n components: z.array(z.object({\n componentText: z.object({\n text: z.string().describe(\"Text content of the component\"),\n}).describe(\"A text component to include in the thread\").optional(),\n}).passthrough()).describe(\"Optional list of content components for the thread\").optional(),\n labelTypeIds: z.array(z.string()).describe(\"Optional list of label type IDs to assign\").optional(),\n customerIdentifier: z.object({\n customerId: z.string().describe(\"Plain customer ID to identify the customer\").optional(),\n externalId: z.string().describe(\"External ID for the customer\").optional(),\n emailAddress: z.string().describe(\"Email address of the customer\").optional(),\n}).describe(\"Identifier object for the customer\"),\n});\nconst PlainCreateThread_ThreadLabelTypeSchema = z.object({\n id: z.string().describe(\"LabelType unique identifier\").nullable(),\n name: z.string().describe(\"LabelType name\").nullable(),\n}).passthrough();\nconst PlainCreateThread_ThreadLabelSchema = z.object({\n id: z.string().describe(\"Label unique identifier\").nullable(),\n labelType: PlainCreateThread_ThreadLabelTypeSchema.nullable(),\n}).passthrough();\nconst PlainCreateThread_CustomerEmailSchema = z.object({\n email: z.string().describe(\"Email address of the customer\").nullable(),\n}).passthrough();\nconst PlainCreateThread_CustomerSchema = z.object({\n id: z.string().describe(\"Customer unique identifier\").nullable(),\n email: PlainCreateThread_CustomerEmailSchema.nullable(),\n fullName: z.string().describe(\"Full name of the customer\").nullable(),\n}).passthrough();\nconst PlainCreateThread_StatusChangedAtSchema = z.object({\n iso8601: z.string().describe(\"Timestamp of last status change in ISO8601 format\").nullable(),\n}).passthrough();\nconst PlainCreateThread_ThreadSchema = z.object({\n id: z.string().describe(\"Thread unique identifier\").nullable(),\n title: z.string().describe(\"Title of the thread\").nullable(),\n labels: z.array(PlainCreateThread_ThreadLabelSchema).describe(\"Labels assigned to the thread\"),\n status: z.string().describe(\"Current status of the thread\").nullable(),\n customer: PlainCreateThread_CustomerSchema.nullable(),\n priority: z.number().int().describe(\"Priority level of the thread\").nullable(),\n statusChangedAt: PlainCreateThread_StatusChangedAtSchema.nullable(),\n}).passthrough();\nconst PlainCreateThread_CreateThreadDataSchema = z.object({\n thread: PlainCreateThread_ThreadSchema.nullable().optional(),\n}).passthrough();\nconst PlainCreateThread_CreateThreadPayloadSchema = z.object({\n createThread: PlainCreateThread_CreateThreadDataSchema.nullable(),\n}).passthrough();\nexport const PlainCreateThreadOutput = z.object({\n data: PlainCreateThread_CreateThreadPayloadSchema.nullable(),\n}).passthrough();\n\nexport const plainCreateThread = action(\"PLAIN_CREATE_THREAD\", {\n slug: \"plain-create-thread\",\n name: \"Create Thread\",\n description: \"Tool to create a new thread. Use after obtaining valid customer identifier.\",\n input: PlainCreateThreadInput,\n output: PlainCreateThreadOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;CACpD,YAAY,EAAE,OAAO,EACrB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACrE,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9D,YAAY,EAAE,MAAM,EAAE,OAAO,EAC7B,eAAe,EAAE,OAAO,EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,EAC3D,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACxF,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjG,oBAAoB,EAAE,OAAO;EAC7B,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,CAAC;AACD,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AACvD,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC5D,WAAW,wCAAwC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wCAAwC,EAAE,OAAO,EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAO,sCAAsC,SAAS;CACtD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0CAA0C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC3D,QAAQ,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,+BAA+B;CAC7F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,UAAU,iCAAiC,SAAS;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC7E,iBAAiB,wCAAwC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,2CAA2C,EAAE,OAAO,EACxD,QAAQ,+BAA+B,SAAS,CAAC,CAAC,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,8CAA8C,EAAE,OAAO,EAC3D,cAAc,yCAAyC,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqC,EAAE,OAAO,EAC9C,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -6,14 +6,14 @@ const PlainDeleteCustomer_DeleteCustomerErrorFieldSchema = zod.z.object({
|
|
|
6
6
|
type: zod.z.string().describe("Type of the error for the field.").nullable(),
|
|
7
7
|
field: zod.z.string().describe("Name of the field with the error.").nullable(),
|
|
8
8
|
message: zod.z.string().describe("Validation message for the field.").nullable()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const PlainDeleteCustomer_DeleteCustomerErrorSchema = zod.z.object({
|
|
11
11
|
code: zod.z.string().describe("Error code.").nullable(),
|
|
12
12
|
type: zod.z.string().describe("Error type.").nullable(),
|
|
13
13
|
fields: zod.z.array(PlainDeleteCustomer_DeleteCustomerErrorFieldSchema).describe("List of field-specific errors."),
|
|
14
14
|
message: zod.z.string().describe("Error message.").nullable()
|
|
15
|
-
});
|
|
16
|
-
const PlainDeleteCustomerOutput = zod.z.object({ error: PlainDeleteCustomer_DeleteCustomerErrorSchema.nullable().optional() });
|
|
15
|
+
}).passthrough();
|
|
16
|
+
const PlainDeleteCustomerOutput = zod.z.object({ error: PlainDeleteCustomer_DeleteCustomerErrorSchema.nullable().optional() }).passthrough();
|
|
17
17
|
const plainDeleteCustomer = require_action.action("PLAIN_DELETE_CUSTOMER", {
|
|
18
18
|
slug: "plain-delete-customer",
|
|
19
19
|
name: "Delete Customer",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-customer.cjs","names":["z","action"],"sources":["../../src/actions/delete-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteCustomerInput = z.object({\n customer_id: z.string().describe(\"Unique identifier of the customer to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteCustomer_DeleteCustomerErrorFieldSchema = z.object({\n type: z.string().describe(\"Type of the error for the field.\").nullable(),\n field: z.string().describe(\"Name of the field with the error.\").nullable(),\n message: z.string().describe(\"Validation message for the field.\").nullable(),\n});\nconst PlainDeleteCustomer_DeleteCustomerErrorSchema = z.object({\n code: z.string().describe(\"Error code.\").nullable(),\n type: z.string().describe(\"Error type.\").nullable(),\n fields: z.array(PlainDeleteCustomer_DeleteCustomerErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\").nullable(),\n});\nexport const PlainDeleteCustomerOutput = z.object({\n error: PlainDeleteCustomer_DeleteCustomerErrorSchema.nullable().optional(),\n});\n\nexport const plainDeleteCustomer = action(\"PLAIN_DELETE_CUSTOMER\", {\n slug: \"plain-delete-customer\",\n name: \"Delete Customer\",\n description: \"Tool to delete a customer from the system. Use when you need to remove a customer by their ID.\",\n input: PlainDeleteCustomerInput,\n output: PlainDeleteCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC;AACD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7E,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-customer.cjs","names":["z","action"],"sources":["../../src/actions/delete-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteCustomerInput = z.object({\n customer_id: z.string().describe(\"Unique identifier of the customer to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteCustomer_DeleteCustomerErrorFieldSchema = z.object({\n type: z.string().describe(\"Type of the error for the field.\").nullable(),\n field: z.string().describe(\"Name of the field with the error.\").nullable(),\n message: z.string().describe(\"Validation message for the field.\").nullable(),\n}).passthrough();\nconst PlainDeleteCustomer_DeleteCustomerErrorSchema = z.object({\n code: z.string().describe(\"Error code.\").nullable(),\n type: z.string().describe(\"Error type.\").nullable(),\n fields: z.array(PlainDeleteCustomer_DeleteCustomerErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\").nullable(),\n}).passthrough();\nexport const PlainDeleteCustomerOutput = z.object({\n error: PlainDeleteCustomer_DeleteCustomerErrorSchema.nullable().optional(),\n}).passthrough();\n\nexport const plainDeleteCustomer = action(\"PLAIN_DELETE_CUSTOMER\", {\n slug: \"plain-delete-customer\",\n name: \"Delete Customer\",\n description: \"Tool to delete a customer from the system. Use when you need to remove a customer by their ID.\",\n input: PlainDeleteCustomerInput,\n output: PlainDeleteCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC;AACD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,QAAQA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,gCAAgC;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AAC1D,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAO,8CAA8C,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,10 +12,10 @@ declare const PlainDeleteCustomerOutput: z.ZodObject<{
|
|
|
12
12
|
type: z.ZodNullable<z.ZodString>;
|
|
13
13
|
field: z.ZodNullable<z.ZodString>;
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
message: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const plainDeleteCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
customer_id: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -12,10 +12,10 @@ declare const PlainDeleteCustomerOutput: z.ZodObject<{
|
|
|
12
12
|
type: z.ZodNullable<z.ZodString>;
|
|
13
13
|
field: z.ZodNullable<z.ZodString>;
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
message: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const plainDeleteCustomer: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
customer_id: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,19 +6,19 @@ const PlainDeleteCustomer_DeleteCustomerErrorFieldSchema = z.object({
|
|
|
6
6
|
type: z.string().describe("Type of the error for the field.").nullable(),
|
|
7
7
|
field: z.string().describe("Name of the field with the error.").nullable(),
|
|
8
8
|
message: z.string().describe("Validation message for the field.").nullable()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const PlainDeleteCustomer_DeleteCustomerErrorSchema = z.object({
|
|
11
11
|
code: z.string().describe("Error code.").nullable(),
|
|
12
12
|
type: z.string().describe("Error type.").nullable(),
|
|
13
13
|
fields: z.array(PlainDeleteCustomer_DeleteCustomerErrorFieldSchema).describe("List of field-specific errors."),
|
|
14
14
|
message: z.string().describe("Error message.").nullable()
|
|
15
|
-
});
|
|
15
|
+
}).passthrough();
|
|
16
16
|
const plainDeleteCustomer = action("PLAIN_DELETE_CUSTOMER", {
|
|
17
17
|
slug: "plain-delete-customer",
|
|
18
18
|
name: "Delete Customer",
|
|
19
19
|
description: "Tool to delete a customer from the system. Use when you need to remove a customer by their ID.",
|
|
20
20
|
input: PlainDeleteCustomerInput,
|
|
21
|
-
output: z.object({ error: PlainDeleteCustomer_DeleteCustomerErrorSchema.nullable().optional() })
|
|
21
|
+
output: z.object({ error: PlainDeleteCustomer_DeleteCustomerErrorSchema.nullable().optional() }).passthrough()
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { plainDeleteCustomer };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-customer.mjs","names":[],"sources":["../../src/actions/delete-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteCustomerInput = z.object({\n customer_id: z.string().describe(\"Unique identifier of the customer to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteCustomer_DeleteCustomerErrorFieldSchema = z.object({\n type: z.string().describe(\"Type of the error for the field.\").nullable(),\n field: z.string().describe(\"Name of the field with the error.\").nullable(),\n message: z.string().describe(\"Validation message for the field.\").nullable(),\n});\nconst PlainDeleteCustomer_DeleteCustomerErrorSchema = z.object({\n code: z.string().describe(\"Error code.\").nullable(),\n type: z.string().describe(\"Error type.\").nullable(),\n fields: z.array(PlainDeleteCustomer_DeleteCustomerErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\").nullable(),\n});\nexport const PlainDeleteCustomerOutput = z.object({\n error: PlainDeleteCustomer_DeleteCustomerErrorSchema.nullable().optional(),\n});\n\nexport const plainDeleteCustomer = action(\"PLAIN_DELETE_CUSTOMER\", {\n slug: \"plain-delete-customer\",\n name: \"Delete Customer\",\n description: \"Tool to delete a customer from the system. Use when you need to remove a customer by their ID.\",\n input: PlainDeleteCustomerInput,\n output: PlainDeleteCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC;AACD,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7E,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-customer.mjs","names":[],"sources":["../../src/actions/delete-customer.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteCustomerInput = z.object({\n customer_id: z.string().describe(\"Unique identifier of the customer to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteCustomer_DeleteCustomerErrorFieldSchema = z.object({\n type: z.string().describe(\"Type of the error for the field.\").nullable(),\n field: z.string().describe(\"Name of the field with the error.\").nullable(),\n message: z.string().describe(\"Validation message for the field.\").nullable(),\n}).passthrough();\nconst PlainDeleteCustomer_DeleteCustomerErrorSchema = z.object({\n code: z.string().describe(\"Error code.\").nullable(),\n type: z.string().describe(\"Error type.\").nullable(),\n fields: z.array(PlainDeleteCustomer_DeleteCustomerErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\").nullable(),\n}).passthrough();\nexport const PlainDeleteCustomerOutput = z.object({\n error: PlainDeleteCustomer_DeleteCustomerErrorSchema.nullable().optional(),\n}).passthrough();\n\nexport const plainDeleteCustomer = action(\"PLAIN_DELETE_CUSTOMER\", {\n slug: \"plain-delete-customer\",\n name: \"Delete Customer\",\n description: \"Tool to delete a customer from the system. Use when you need to remove a customer by their ID.\",\n input: PlainDeleteCustomerInput,\n output: PlainDeleteCustomerOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,EAC/G,CAAC;AACD,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,QAAQ,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,gCAAgC;CAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AAC1D,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,OAAO,8CAA8C,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -6,14 +6,14 @@ const PlainDeleteUser_DeleteUserErrorFieldSchema = zod.z.object({
|
|
|
6
6
|
type: zod.z.string().describe("Type of the error for the field.").nullable(),
|
|
7
7
|
field: zod.z.string().describe("Name of the field with the error.").nullable(),
|
|
8
8
|
message: zod.z.string().describe("Validation message for the field.").nullable()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const PlainDeleteUser_DeleteUserErrorSchema = zod.z.object({
|
|
11
11
|
code: zod.z.string().describe("Error code.").nullable(),
|
|
12
12
|
type: zod.z.string().describe("Error type.").nullable(),
|
|
13
13
|
fields: zod.z.array(PlainDeleteUser_DeleteUserErrorFieldSchema).describe("List of field-specific errors."),
|
|
14
14
|
message: zod.z.string().describe("Error message.").nullable()
|
|
15
|
-
});
|
|
16
|
-
const PlainDeleteUserOutput = zod.z.object({ error: PlainDeleteUser_DeleteUserErrorSchema.nullable().optional() });
|
|
15
|
+
}).passthrough();
|
|
16
|
+
const PlainDeleteUserOutput = zod.z.object({ error: PlainDeleteUser_DeleteUserErrorSchema.nullable().optional() }).passthrough();
|
|
17
17
|
const plainDeleteUser = require_action.action("PLAIN_DELETE_USER", {
|
|
18
18
|
slug: "plain-delete-user",
|
|
19
19
|
name: "Delete User",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteUserInput = z.object({\n user_id: z.string().describe(\"Unique identifier of the user to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteUser_DeleteUserErrorFieldSchema = z.object({\n type: z.string().describe(\"Type of the error for the field.\").nullable(),\n field: z.string().describe(\"Name of the field with the error.\").nullable(),\n message: z.string().describe(\"Validation message for the field.\").nullable(),\n});\nconst PlainDeleteUser_DeleteUserErrorSchema = z.object({\n code: z.string().describe(\"Error code.\").nullable(),\n type: z.string().describe(\"Error type.\").nullable(),\n fields: z.array(PlainDeleteUser_DeleteUserErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\").nullable(),\n});\nexport const PlainDeleteUserOutput = z.object({\n error: PlainDeleteUser_DeleteUserErrorSchema.nullable().optional(),\n});\n\nexport const plainDeleteUser = action(\"PLAIN_DELETE_USER\", {\n slug: \"plain-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user from the system. Use when you need to remove a user by their ID after confirming existence.\",\n input: PlainDeleteUserInput,\n output: PlainDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EACvG,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7E,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteUserInput = z.object({\n user_id: z.string().describe(\"Unique identifier of the user to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteUser_DeleteUserErrorFieldSchema = z.object({\n type: z.string().describe(\"Type of the error for the field.\").nullable(),\n field: z.string().describe(\"Name of the field with the error.\").nullable(),\n message: z.string().describe(\"Validation message for the field.\").nullable(),\n}).passthrough();\nconst PlainDeleteUser_DeleteUserErrorSchema = z.object({\n code: z.string().describe(\"Error code.\").nullable(),\n type: z.string().describe(\"Error type.\").nullable(),\n fields: z.array(PlainDeleteUser_DeleteUserErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\").nullable(),\n}).passthrough();\nexport const PlainDeleteUserOutput = z.object({\n error: PlainDeleteUser_DeleteUserErrorSchema.nullable().optional(),\n}).passthrough();\n\nexport const plainDeleteUser = action(\"PLAIN_DELETE_USER\", {\n slug: \"plain-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user from the system. Use when you need to remove a user by their ID after confirming existence.\",\n input: PlainDeleteUserInput,\n output: PlainDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EACvG,CAAC;AACD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,QAAQA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gCAAgC;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AAC1D,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,OAAO,sCAAsC,SAAS,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,10 +12,10 @@ declare const PlainDeleteUserOutput: z.ZodObject<{
|
|
|
12
12
|
type: z.ZodNullable<z.ZodString>;
|
|
13
13
|
field: z.ZodNullable<z.ZodString>;
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
message: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const plainDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
user_id: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -12,10 +12,10 @@ declare const PlainDeleteUserOutput: z.ZodObject<{
|
|
|
12
12
|
type: z.ZodNullable<z.ZodString>;
|
|
13
13
|
field: z.ZodNullable<z.ZodString>;
|
|
14
14
|
message: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
message: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
18
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>;
|
|
18
|
+
}, z.core.$loose>;
|
|
19
19
|
declare const plainDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
20
|
user_id: string;
|
|
21
21
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,19 +6,19 @@ const PlainDeleteUser_DeleteUserErrorFieldSchema = z.object({
|
|
|
6
6
|
type: z.string().describe("Type of the error for the field.").nullable(),
|
|
7
7
|
field: z.string().describe("Name of the field with the error.").nullable(),
|
|
8
8
|
message: z.string().describe("Validation message for the field.").nullable()
|
|
9
|
-
});
|
|
9
|
+
}).passthrough();
|
|
10
10
|
const PlainDeleteUser_DeleteUserErrorSchema = z.object({
|
|
11
11
|
code: z.string().describe("Error code.").nullable(),
|
|
12
12
|
type: z.string().describe("Error type.").nullable(),
|
|
13
13
|
fields: z.array(PlainDeleteUser_DeleteUserErrorFieldSchema).describe("List of field-specific errors."),
|
|
14
14
|
message: z.string().describe("Error message.").nullable()
|
|
15
|
-
});
|
|
15
|
+
}).passthrough();
|
|
16
16
|
const plainDeleteUser = action("PLAIN_DELETE_USER", {
|
|
17
17
|
slug: "plain-delete-user",
|
|
18
18
|
name: "Delete User",
|
|
19
19
|
description: "Tool to delete a user from the system. Use when you need to remove a user by their ID after confirming existence.",
|
|
20
20
|
input: PlainDeleteUserInput,
|
|
21
|
-
output: z.object({ error: PlainDeleteUser_DeleteUserErrorSchema.nullable().optional() })
|
|
21
|
+
output: z.object({ error: PlainDeleteUser_DeleteUserErrorSchema.nullable().optional() }).passthrough()
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { plainDeleteUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteUserInput = z.object({\n user_id: z.string().describe(\"Unique identifier of the user to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteUser_DeleteUserErrorFieldSchema = z.object({\n type: z.string().describe(\"Type of the error for the field.\").nullable(),\n field: z.string().describe(\"Name of the field with the error.\").nullable(),\n message: z.string().describe(\"Validation message for the field.\").nullable(),\n});\nconst PlainDeleteUser_DeleteUserErrorSchema = z.object({\n code: z.string().describe(\"Error code.\").nullable(),\n type: z.string().describe(\"Error type.\").nullable(),\n fields: z.array(PlainDeleteUser_DeleteUserErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\").nullable(),\n});\nexport const PlainDeleteUserOutput = z.object({\n error: PlainDeleteUser_DeleteUserErrorSchema.nullable().optional(),\n});\n\nexport const plainDeleteUser = action(\"PLAIN_DELETE_USER\", {\n slug: \"plain-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user from the system. Use when you need to remove a user by their ID after confirming existence.\",\n input: PlainDeleteUserInput,\n output: PlainDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EACvG,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7E,CAAC;
|
|
1
|
+
{"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainDeleteUserInput = z.object({\n user_id: z.string().describe(\"Unique identifier of the user to delete, as returned by the Plain API.\"),\n});\nconst PlainDeleteUser_DeleteUserErrorFieldSchema = z.object({\n type: z.string().describe(\"Type of the error for the field.\").nullable(),\n field: z.string().describe(\"Name of the field with the error.\").nullable(),\n message: z.string().describe(\"Validation message for the field.\").nullable(),\n}).passthrough();\nconst PlainDeleteUser_DeleteUserErrorSchema = z.object({\n code: z.string().describe(\"Error code.\").nullable(),\n type: z.string().describe(\"Error type.\").nullable(),\n fields: z.array(PlainDeleteUser_DeleteUserErrorFieldSchema).describe(\"List of field-specific errors.\"),\n message: z.string().describe(\"Error message.\").nullable(),\n}).passthrough();\nexport const PlainDeleteUserOutput = z.object({\n error: PlainDeleteUser_DeleteUserErrorSchema.nullable().optional(),\n}).passthrough();\n\nexport const plainDeleteUser = action(\"PLAIN_DELETE_USER\", {\n slug: \"plain-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user from the system. Use when you need to remove a user by their ID after confirming existence.\",\n input: PlainDeleteUserInput,\n output: PlainDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,EACvG,CAAC;AACD,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,wCAAwC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,QAAQ,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,gCAAgC;CACrG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS;AAC1D,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,OAAO,sCAAsC,SAAS,CAAC,CAAC,SAAS,EACnE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -2,13 +2,13 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/fetch-company.ts
|
|
4
4
|
const PlainFetchCompanyInput = zod.z.object({ company_id: zod.z.string().describe("Plain's internal ID of the company to fetch, e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED'.") }).describe("Input parameters for fetching a company by ID\n\ncompany_id: Plain's internal identifier for the company (e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED').");
|
|
5
|
-
const PlainFetchCompany_Iso8601DateTimeSchema = zod.z.object({ iso8601: zod.z.string().describe("Timestamp in ISO 8601 format").nullable() }).describe("Represents a DateTime with ISO8601 format.");
|
|
5
|
+
const PlainFetchCompany_Iso8601DateTimeSchema = zod.z.object({ iso8601: zod.z.string().describe("Timestamp in ISO 8601 format").nullable() }).passthrough().describe("Represents a DateTime with ISO8601 format.");
|
|
6
6
|
const PlainFetchCompany_CompanyAccountOwnerSchema = zod.z.object({
|
|
7
7
|
id: zod.z.string().describe("Unique ID of the account owner user").nullable(),
|
|
8
8
|
email: zod.z.string().describe("Email address of the account owner user").nullable(),
|
|
9
9
|
fullName: zod.z.string().describe("Full name of the account owner user").nullable(),
|
|
10
10
|
publicName: zod.z.string().describe("Public display name of the account owner user").nullable()
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const PlainFetchCompanyOutput = zod.z.object({
|
|
13
13
|
id: zod.z.string().describe("Unique ID of the company").nullable(),
|
|
14
14
|
name: zod.z.string().describe("Name of the company").nullable(),
|
|
@@ -19,7 +19,7 @@ const PlainFetchCompanyOutput = zod.z.object({
|
|
|
19
19
|
domainName: zod.z.string().describe("Domain name of the company").nullable(),
|
|
20
20
|
accountOwner: PlainFetchCompany_CompanyAccountOwnerSchema.nullable().optional(),
|
|
21
21
|
contractValue: zod.z.number().int().describe("Contract value for the company, if any").nullable().optional()
|
|
22
|
-
}).describe("Response model for company details");
|
|
22
|
+
}).passthrough().describe("Response model for company details");
|
|
23
23
|
const plainFetchCompany = require_action.action("PLAIN_FETCH_COMPANY", {
|
|
24
24
|
slug: "plain-fetch-company",
|
|
25
25
|
name: "Fetch Company",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-company.cjs","names":["z","action"],"sources":["../../src/actions/fetch-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainFetchCompanyInput = z.object({\n company_id: z.string().describe(\"Plain's internal ID of the company to fetch, e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED'.\"),\n}).describe(\"Input parameters for fetching a company by ID\\n\\ncompany_id: Plain's internal identifier for the company (e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED').\");\nconst PlainFetchCompany_Iso8601DateTimeSchema = z.object({\n iso8601: z.string().describe(\"Timestamp in ISO 8601 format\").nullable(),\n}).describe(\"Represents a DateTime with ISO8601 format.\");\nconst PlainFetchCompany_CompanyAccountOwnerSchema = z.object({\n id: z.string().describe(\"Unique ID of the account owner user\").nullable(),\n email: z.string().describe(\"Email address of the account owner user\").nullable(),\n fullName: z.string().describe(\"Full name of the account owner user\").nullable(),\n publicName: z.string().describe(\"Public display name of the account owner user\").nullable(),\n});\nexport const PlainFetchCompanyOutput = z.object({\n id: z.string().describe(\"Unique ID of the company\").nullable(),\n name: z.string().describe(\"Name of the company\").nullable(),\n logoUrl: z.string().describe(\"URL of the company's logo, if available\").nullable().optional(),\n createdAt: PlainFetchCompany_Iso8601DateTimeSchema.nullable(),\n isDeleted: z.boolean().describe(\"Flag indicating if the company is deleted\").nullable(),\n updatedAt: PlainFetchCompany_Iso8601DateTimeSchema.nullable(),\n domainName: z.string().describe(\"Domain name of the company\").nullable(),\n accountOwner: PlainFetchCompany_CompanyAccountOwnerSchema.nullable().optional(),\n contractValue: z.number().int().describe(\"Contract value for the company, if any\").nullable().optional(),\n}).describe(\"Response model for company details\");\n\nexport const plainFetchCompany = action(\"PLAIN_FETCH_COMPANY\", {\n slug: \"plain-fetch-company\",\n name: \"Fetch Company\",\n description: \"Tool to fetch company details by ID. Use when you need the full profile of a company, including name, domain, contract value, owner info, and timestamps.\",\n input: PlainFetchCompanyInput,\n output: PlainFetchCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACxH,CAAC,CAAC,CAAC,SAAS,oJAAoJ;AAChK,MAAM,0CAA0CA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"fetch-company.cjs","names":["z","action"],"sources":["../../src/actions/fetch-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainFetchCompanyInput = z.object({\n company_id: z.string().describe(\"Plain's internal ID of the company to fetch, e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED'.\"),\n}).describe(\"Input parameters for fetching a company by ID\\n\\ncompany_id: Plain's internal identifier for the company (e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED').\");\nconst PlainFetchCompany_Iso8601DateTimeSchema = z.object({\n iso8601: z.string().describe(\"Timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Represents a DateTime with ISO8601 format.\");\nconst PlainFetchCompany_CompanyAccountOwnerSchema = z.object({\n id: z.string().describe(\"Unique ID of the account owner user\").nullable(),\n email: z.string().describe(\"Email address of the account owner user\").nullable(),\n fullName: z.string().describe(\"Full name of the account owner user\").nullable(),\n publicName: z.string().describe(\"Public display name of the account owner user\").nullable(),\n}).passthrough();\nexport const PlainFetchCompanyOutput = z.object({\n id: z.string().describe(\"Unique ID of the company\").nullable(),\n name: z.string().describe(\"Name of the company\").nullable(),\n logoUrl: z.string().describe(\"URL of the company's logo, if available\").nullable().optional(),\n createdAt: PlainFetchCompany_Iso8601DateTimeSchema.nullable(),\n isDeleted: z.boolean().describe(\"Flag indicating if the company is deleted\").nullable(),\n updatedAt: PlainFetchCompany_Iso8601DateTimeSchema.nullable(),\n domainName: z.string().describe(\"Domain name of the company\").nullable(),\n accountOwner: PlainFetchCompany_CompanyAccountOwnerSchema.nullable().optional(),\n contractValue: z.number().int().describe(\"Contract value for the company, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for company details\");\n\nexport const plainFetchCompany = action(\"PLAIN_FETCH_COMPANY\", {\n slug: \"plain-fetch-company\",\n name: \"Fetch Company\",\n description: \"Tool to fetch company details by ID. Use when you need the full profile of a company, including name, domain, contract value, owner info, and timestamps.\",\n input: PlainFetchCompanyInput,\n output: PlainFetchCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACxH,CAAC,CAAC,CAAC,SAAS,oJAAoJ;AAChK,MAAM,0CAA0CA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,WAAW,wCAAwC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,WAAW,wCAAwC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,cAAc,4CAA4C,SAAS,CAAC,CAAC,SAAS;CAC9E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAE9D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,20 +10,20 @@ declare const PlainFetchCompanyOutput: z.ZodObject<{
|
|
|
10
10
|
logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
createdAt: z.ZodNullable<z.ZodObject<{
|
|
12
12
|
iso8601: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
14
|
isDeleted: z.ZodNullable<z.ZodBoolean>;
|
|
15
15
|
updatedAt: z.ZodNullable<z.ZodObject<{
|
|
16
16
|
iso8601: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
18
|
domainName: z.ZodNullable<z.ZodString>;
|
|
19
19
|
accountOwner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
id: z.ZodNullable<z.ZodString>;
|
|
21
21
|
email: z.ZodNullable<z.ZodString>;
|
|
22
22
|
fullName: z.ZodNullable<z.ZodString>;
|
|
23
23
|
publicName: z.ZodNullable<z.ZodString>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
25
|
contractValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const plainFetchCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
company_id: string;
|
|
29
29
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,20 +10,20 @@ declare const PlainFetchCompanyOutput: z.ZodObject<{
|
|
|
10
10
|
logoUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
createdAt: z.ZodNullable<z.ZodObject<{
|
|
12
12
|
iso8601: z.ZodNullable<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
14
|
isDeleted: z.ZodNullable<z.ZodBoolean>;
|
|
15
15
|
updatedAt: z.ZodNullable<z.ZodObject<{
|
|
16
16
|
iso8601: z.ZodNullable<z.ZodString>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
18
|
domainName: z.ZodNullable<z.ZodString>;
|
|
19
19
|
accountOwner: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
20
20
|
id: z.ZodNullable<z.ZodString>;
|
|
21
21
|
email: z.ZodNullable<z.ZodString>;
|
|
22
22
|
fullName: z.ZodNullable<z.ZodString>;
|
|
23
23
|
publicName: z.ZodNullable<z.ZodString>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
25
|
contractValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>;
|
|
27
27
|
declare const plainFetchCompany: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
28
|
company_id: string;
|
|
29
29
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,13 +2,13 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/fetch-company.ts
|
|
4
4
|
const PlainFetchCompanyInput = z.object({ company_id: z.string().describe("Plain's internal ID of the company to fetch, e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED'.") }).describe("Input parameters for fetching a company by ID\n\ncompany_id: Plain's internal identifier for the company (e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED').");
|
|
5
|
-
const PlainFetchCompany_Iso8601DateTimeSchema = z.object({ iso8601: z.string().describe("Timestamp in ISO 8601 format").nullable() }).describe("Represents a DateTime with ISO8601 format.");
|
|
5
|
+
const PlainFetchCompany_Iso8601DateTimeSchema = z.object({ iso8601: z.string().describe("Timestamp in ISO 8601 format").nullable() }).passthrough().describe("Represents a DateTime with ISO8601 format.");
|
|
6
6
|
const PlainFetchCompany_CompanyAccountOwnerSchema = z.object({
|
|
7
7
|
id: z.string().describe("Unique ID of the account owner user").nullable(),
|
|
8
8
|
email: z.string().describe("Email address of the account owner user").nullable(),
|
|
9
9
|
fullName: z.string().describe("Full name of the account owner user").nullable(),
|
|
10
10
|
publicName: z.string().describe("Public display name of the account owner user").nullable()
|
|
11
|
-
});
|
|
11
|
+
}).passthrough();
|
|
12
12
|
const plainFetchCompany = action("PLAIN_FETCH_COMPANY", {
|
|
13
13
|
slug: "plain-fetch-company",
|
|
14
14
|
name: "Fetch Company",
|
|
@@ -24,7 +24,7 @@ const plainFetchCompany = action("PLAIN_FETCH_COMPANY", {
|
|
|
24
24
|
domainName: z.string().describe("Domain name of the company").nullable(),
|
|
25
25
|
accountOwner: PlainFetchCompany_CompanyAccountOwnerSchema.nullable().optional(),
|
|
26
26
|
contractValue: z.number().int().describe("Contract value for the company, if any").nullable().optional()
|
|
27
|
-
}).describe("Response model for company details")
|
|
27
|
+
}).passthrough().describe("Response model for company details")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { plainFetchCompany };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-company.mjs","names":[],"sources":["../../src/actions/fetch-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainFetchCompanyInput = z.object({\n company_id: z.string().describe(\"Plain's internal ID of the company to fetch, e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED'.\"),\n}).describe(\"Input parameters for fetching a company by ID\\n\\ncompany_id: Plain's internal identifier for the company (e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED').\");\nconst PlainFetchCompany_Iso8601DateTimeSchema = z.object({\n iso8601: z.string().describe(\"Timestamp in ISO 8601 format\").nullable(),\n}).describe(\"Represents a DateTime with ISO8601 format.\");\nconst PlainFetchCompany_CompanyAccountOwnerSchema = z.object({\n id: z.string().describe(\"Unique ID of the account owner user\").nullable(),\n email: z.string().describe(\"Email address of the account owner user\").nullable(),\n fullName: z.string().describe(\"Full name of the account owner user\").nullable(),\n publicName: z.string().describe(\"Public display name of the account owner user\").nullable(),\n});\nexport const PlainFetchCompanyOutput = z.object({\n id: z.string().describe(\"Unique ID of the company\").nullable(),\n name: z.string().describe(\"Name of the company\").nullable(),\n logoUrl: z.string().describe(\"URL of the company's logo, if available\").nullable().optional(),\n createdAt: PlainFetchCompany_Iso8601DateTimeSchema.nullable(),\n isDeleted: z.boolean().describe(\"Flag indicating if the company is deleted\").nullable(),\n updatedAt: PlainFetchCompany_Iso8601DateTimeSchema.nullable(),\n domainName: z.string().describe(\"Domain name of the company\").nullable(),\n accountOwner: PlainFetchCompany_CompanyAccountOwnerSchema.nullable().optional(),\n contractValue: z.number().int().describe(\"Contract value for the company, if any\").nullable().optional(),\n}).describe(\"Response model for company details\");\n\nexport const plainFetchCompany = action(\"PLAIN_FETCH_COMPANY\", {\n slug: \"plain-fetch-company\",\n name: \"Fetch Company\",\n description: \"Tool to fetch company details by ID. Use when you need the full profile of a company, including name, domain, contract value, owner info, and timestamps.\",\n input: PlainFetchCompanyInput,\n output: PlainFetchCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACxH,CAAC,CAAC,CAAC,SAAS,oJAAoJ;AAChK,MAAM,0CAA0C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"fetch-company.mjs","names":[],"sources":["../../src/actions/fetch-company.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainFetchCompanyInput = z.object({\n company_id: z.string().describe(\"Plain's internal ID of the company to fetch, e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED'.\"),\n}).describe(\"Input parameters for fetching a company by ID\\n\\ncompany_id: Plain's internal identifier for the company (e.g., 'cmp_01H1P4TE62AS5KZ4CZFC0578ED').\");\nconst PlainFetchCompany_Iso8601DateTimeSchema = z.object({\n iso8601: z.string().describe(\"Timestamp in ISO 8601 format\").nullable(),\n}).passthrough().describe(\"Represents a DateTime with ISO8601 format.\");\nconst PlainFetchCompany_CompanyAccountOwnerSchema = z.object({\n id: z.string().describe(\"Unique ID of the account owner user\").nullable(),\n email: z.string().describe(\"Email address of the account owner user\").nullable(),\n fullName: z.string().describe(\"Full name of the account owner user\").nullable(),\n publicName: z.string().describe(\"Public display name of the account owner user\").nullable(),\n}).passthrough();\nexport const PlainFetchCompanyOutput = z.object({\n id: z.string().describe(\"Unique ID of the company\").nullable(),\n name: z.string().describe(\"Name of the company\").nullable(),\n logoUrl: z.string().describe(\"URL of the company's logo, if available\").nullable().optional(),\n createdAt: PlainFetchCompany_Iso8601DateTimeSchema.nullable(),\n isDeleted: z.boolean().describe(\"Flag indicating if the company is deleted\").nullable(),\n updatedAt: PlainFetchCompany_Iso8601DateTimeSchema.nullable(),\n domainName: z.string().describe(\"Domain name of the company\").nullable(),\n accountOwner: PlainFetchCompany_CompanyAccountOwnerSchema.nullable().optional(),\n contractValue: z.number().int().describe(\"Contract value for the company, if any\").nullable().optional(),\n}).passthrough().describe(\"Response model for company details\");\n\nexport const plainFetchCompany = action(\"PLAIN_FETCH_COMPANY\", {\n slug: \"plain-fetch-company\",\n name: \"Fetch Company\",\n description: \"Tool to fetch company details by ID. Use when you need the full profile of a company, including name, domain, contract value, owner info, and timestamps.\",\n input: PlainFetchCompanyInput,\n output: PlainFetchCompanyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,EACxH,CAAC,CAAC,CAAC,SAAS,oJAAoJ;AAChK,MAAM,0CAA0C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,EACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AAaf,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,WAAW,wCAAwC,SAAS;EAC5D,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EACtF,WAAW,wCAAwC,SAAS;EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACvE,cAAc,4CAA4C,SAAS,CAAC,CAAC,SAAS;EAC9E,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAOhB;AACV,CAAC"}
|
|
@@ -16,11 +16,11 @@ const PlainFetchIssues_IssueSchema = zod.z.object({
|
|
|
16
16
|
sourceType: zod.z.string().describe("The type of external issue tracker system (e.g., 'jira', 'linear', 'github').").nullable(),
|
|
17
17
|
description: zod.z.string().describe("The detailed description of the external issue.").nullable().optional(),
|
|
18
18
|
threadTitle: zod.z.string().describe("The title of the Plain thread.").nullable().optional()
|
|
19
|
-
}).describe("Represents an external issue tracker link associated with a thread.");
|
|
19
|
+
}).passthrough().describe("Represents an external issue tracker link associated with a thread.");
|
|
20
20
|
const PlainFetchIssuesOutput = zod.z.object({
|
|
21
21
|
issues: zod.z.array(PlainFetchIssues_IssueSchema).describe("Flattened list of all external issue tracker links across the customer's threads. Empty list if no issues are linked."),
|
|
22
22
|
totalCount: zod.z.number().int().describe("Total number of issue links found for this customer.").nullable()
|
|
23
|
-
}).describe("Response model containing external issue tracker links for a customer.");
|
|
23
|
+
}).passthrough().describe("Response model containing external issue tracker links for a customer.");
|
|
24
24
|
const plainFetchIssues = require_action.action("PLAIN_FETCH_ISSUES", {
|
|
25
25
|
slug: "plain-fetch-issues",
|
|
26
26
|
name: "Fetch Issues",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-issues.cjs","names":["z","action"],"sources":["../../src/actions/fetch-issues.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainFetchIssuesInput = z.object({\n linkFirst: z.number().int().default(50).describe(\"Maximum number of issue links to fetch per thread. Must be between 1-100. Defaults to 50.\").optional(),\n customerId: z.string().describe(\"The unique identifier of the customer whose external issue tracker links (Jira, Linear, etc.) are to be retrieved.\"),\n threadFirst: z.number().int().default(50).describe(\"Maximum number of customer threads to fetch. Must be between 1-100. Defaults to 50.\").optional(),\n}).describe(\"Request parameters for fetching issue links associated with a customer.\");\nconst PlainFetchIssues_IssueSchema = z.object({\n id: z.string().describe(\"The internal Plain ID of the link resource.\").nullable(),\n url: z.string().describe(\"Direct URL to view the external issue in its source system.\").nullable(),\n title: z.string().describe(\"The title/summary of the external issue.\").nullable().optional(),\n status: z.string().describe(\"Current status of the external issue (e.g., 'TODO', 'IN_PROGRESS', 'DONE', 'UNKNOWN').\").nullable(),\n sourceId: z.string().describe(\"The external issue ID from the source system (e.g., JIRA-123, LIN-456).\").nullable(),\n threadId: z.string().describe(\"The Plain thread ID this issue is linked to.\").nullable(),\n sourceType: z.string().describe(\"The type of external issue tracker system (e.g., 'jira', 'linear', 'github').\").nullable(),\n description: z.string().describe(\"The detailed description of the external issue.\").nullable().optional(),\n threadTitle: z.string().describe(\"The title of the Plain thread.\").nullable().optional(),\n}).describe(\"Represents an external issue tracker link associated with a thread.\");\nexport const PlainFetchIssuesOutput = z.object({\n issues: z.array(PlainFetchIssues_IssueSchema).describe(\"Flattened list of all external issue tracker links across the customer's threads. Empty list if no issues are linked.\"),\n totalCount: z.number().int().describe(\"Total number of issue links found for this customer.\").nullable(),\n}).describe(\"Response model containing external issue tracker links for a customer.\");\n\nexport const plainFetchIssues = action(\"PLAIN_FETCH_ISSUES\", {\n slug: \"plain-fetch-issues\",\n name: \"Fetch Issues\",\n description: \"Fetches external issue tracker links (Jira, Linear, GitHub, etc.) associated with a customer's threads. Returns a flattened list of all issue links across the customer's threads, including the thread context for each issue. Useful for getting a complete view of all external issues related to a customer. With defaults, returns up to threadFirst×linkFirst (2,500) total issue links; results are truncated if limits are exceeded, so reduce threadFirst or linkFirst for large datasets.\",\n input: PlainFetchIssuesInput,\n output: PlainFetchIssuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACvJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CACpJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,qEAAqE;
|
|
1
|
+
{"version":3,"file":"fetch-issues.cjs","names":["z","action"],"sources":["../../src/actions/fetch-issues.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainFetchIssuesInput = z.object({\n linkFirst: z.number().int().default(50).describe(\"Maximum number of issue links to fetch per thread. Must be between 1-100. Defaults to 50.\").optional(),\n customerId: z.string().describe(\"The unique identifier of the customer whose external issue tracker links (Jira, Linear, etc.) are to be retrieved.\"),\n threadFirst: z.number().int().default(50).describe(\"Maximum number of customer threads to fetch. Must be between 1-100. Defaults to 50.\").optional(),\n}).describe(\"Request parameters for fetching issue links associated with a customer.\");\nconst PlainFetchIssues_IssueSchema = z.object({\n id: z.string().describe(\"The internal Plain ID of the link resource.\").nullable(),\n url: z.string().describe(\"Direct URL to view the external issue in its source system.\").nullable(),\n title: z.string().describe(\"The title/summary of the external issue.\").nullable().optional(),\n status: z.string().describe(\"Current status of the external issue (e.g., 'TODO', 'IN_PROGRESS', 'DONE', 'UNKNOWN').\").nullable(),\n sourceId: z.string().describe(\"The external issue ID from the source system (e.g., JIRA-123, LIN-456).\").nullable(),\n threadId: z.string().describe(\"The Plain thread ID this issue is linked to.\").nullable(),\n sourceType: z.string().describe(\"The type of external issue tracker system (e.g., 'jira', 'linear', 'github').\").nullable(),\n description: z.string().describe(\"The detailed description of the external issue.\").nullable().optional(),\n threadTitle: z.string().describe(\"The title of the Plain thread.\").nullable().optional(),\n}).passthrough().describe(\"Represents an external issue tracker link associated with a thread.\");\nexport const PlainFetchIssuesOutput = z.object({\n issues: z.array(PlainFetchIssues_IssueSchema).describe(\"Flattened list of all external issue tracker links across the customer's threads. Empty list if no issues are linked.\"),\n totalCount: z.number().int().describe(\"Total number of issue links found for this customer.\").nullable(),\n}).passthrough().describe(\"Response model containing external issue tracker links for a customer.\");\n\nexport const plainFetchIssues = action(\"PLAIN_FETCH_ISSUES\", {\n slug: \"plain-fetch-issues\",\n name: \"Fetch Issues\",\n description: \"Fetches external issue tracker links (Jira, Linear, GitHub, etc.) associated with a customer's threads. Returns a flattened list of all issue links across the customer's threads, including the thread context for each issue. Useful for getting a complete view of all external issues related to a customer. With defaults, returns up to threadFirst×linkFirst (2,500) total issue links; results are truncated if limits are exceeded, so reduce threadFirst or linkFirst for large datasets.\",\n input: PlainFetchIssuesInput,\n output: PlainFetchIssuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACvJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CACpJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,QAAQA,IAAAA,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uHAAuH;CAC9K,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAAwE;AAElG,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,9 +17,9 @@ declare const PlainFetchIssuesOutput: z.ZodObject<{
|
|
|
17
17
|
sourceType: z.ZodNullable<z.ZodString>;
|
|
18
18
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
threadTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
totalCount: z.ZodNullable<z.ZodNumber>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const plainFetchIssues: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
customerId: string;
|
|
25
25
|
linkFirst?: number | undefined;
|
|
@@ -17,9 +17,9 @@ declare const PlainFetchIssuesOutput: z.ZodObject<{
|
|
|
17
17
|
sourceType: z.ZodNullable<z.ZodString>;
|
|
18
18
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
threadTitle: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
21
|
totalCount: z.ZodNullable<z.ZodNumber>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const plainFetchIssues: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
customerId: string;
|
|
25
25
|
linkFirst?: number | undefined;
|
|
@@ -16,7 +16,7 @@ const PlainFetchIssues_IssueSchema = z.object({
|
|
|
16
16
|
sourceType: z.string().describe("The type of external issue tracker system (e.g., 'jira', 'linear', 'github').").nullable(),
|
|
17
17
|
description: z.string().describe("The detailed description of the external issue.").nullable().optional(),
|
|
18
18
|
threadTitle: z.string().describe("The title of the Plain thread.").nullable().optional()
|
|
19
|
-
}).describe("Represents an external issue tracker link associated with a thread.");
|
|
19
|
+
}).passthrough().describe("Represents an external issue tracker link associated with a thread.");
|
|
20
20
|
const plainFetchIssues = action("PLAIN_FETCH_ISSUES", {
|
|
21
21
|
slug: "plain-fetch-issues",
|
|
22
22
|
name: "Fetch Issues",
|
|
@@ -25,7 +25,7 @@ const plainFetchIssues = action("PLAIN_FETCH_ISSUES", {
|
|
|
25
25
|
output: z.object({
|
|
26
26
|
issues: z.array(PlainFetchIssues_IssueSchema).describe("Flattened list of all external issue tracker links across the customer's threads. Empty list if no issues are linked."),
|
|
27
27
|
totalCount: z.number().int().describe("Total number of issue links found for this customer.").nullable()
|
|
28
|
-
}).describe("Response model containing external issue tracker links for a customer.")
|
|
28
|
+
}).passthrough().describe("Response model containing external issue tracker links for a customer.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { plainFetchIssues };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-issues.mjs","names":[],"sources":["../../src/actions/fetch-issues.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainFetchIssuesInput = z.object({\n linkFirst: z.number().int().default(50).describe(\"Maximum number of issue links to fetch per thread. Must be between 1-100. Defaults to 50.\").optional(),\n customerId: z.string().describe(\"The unique identifier of the customer whose external issue tracker links (Jira, Linear, etc.) are to be retrieved.\"),\n threadFirst: z.number().int().default(50).describe(\"Maximum number of customer threads to fetch. Must be between 1-100. Defaults to 50.\").optional(),\n}).describe(\"Request parameters for fetching issue links associated with a customer.\");\nconst PlainFetchIssues_IssueSchema = z.object({\n id: z.string().describe(\"The internal Plain ID of the link resource.\").nullable(),\n url: z.string().describe(\"Direct URL to view the external issue in its source system.\").nullable(),\n title: z.string().describe(\"The title/summary of the external issue.\").nullable().optional(),\n status: z.string().describe(\"Current status of the external issue (e.g., 'TODO', 'IN_PROGRESS', 'DONE', 'UNKNOWN').\").nullable(),\n sourceId: z.string().describe(\"The external issue ID from the source system (e.g., JIRA-123, LIN-456).\").nullable(),\n threadId: z.string().describe(\"The Plain thread ID this issue is linked to.\").nullable(),\n sourceType: z.string().describe(\"The type of external issue tracker system (e.g., 'jira', 'linear', 'github').\").nullable(),\n description: z.string().describe(\"The detailed description of the external issue.\").nullable().optional(),\n threadTitle: z.string().describe(\"The title of the Plain thread.\").nullable().optional(),\n}).describe(\"Represents an external issue tracker link associated with a thread.\");\nexport const PlainFetchIssuesOutput = z.object({\n issues: z.array(PlainFetchIssues_IssueSchema).describe(\"Flattened list of all external issue tracker links across the customer's threads. Empty list if no issues are linked.\"),\n totalCount: z.number().int().describe(\"Total number of issue links found for this customer.\").nullable(),\n}).describe(\"Response model containing external issue tracker links for a customer.\");\n\nexport const plainFetchIssues = action(\"PLAIN_FETCH_ISSUES\", {\n slug: \"plain-fetch-issues\",\n name: \"Fetch Issues\",\n description: \"Fetches external issue tracker links (Jira, Linear, GitHub, etc.) associated with a customer's threads. Returns a flattened list of all issue links across the customer's threads, including the thread context for each issue. Useful for getting a complete view of all external issues related to a customer. With defaults, returns up to threadFirst×linkFirst (2,500) total issue links; results are truncated if limits are exceeded, so reduce threadFirst or linkFirst for large datasets.\",\n input: PlainFetchIssuesInput,\n output: PlainFetchIssuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACvJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CACpJ,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,qEAAqE;
|
|
1
|
+
{"version":3,"file":"fetch-issues.mjs","names":[],"sources":["../../src/actions/fetch-issues.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainFetchIssuesInput = z.object({\n linkFirst: z.number().int().default(50).describe(\"Maximum number of issue links to fetch per thread. Must be between 1-100. Defaults to 50.\").optional(),\n customerId: z.string().describe(\"The unique identifier of the customer whose external issue tracker links (Jira, Linear, etc.) are to be retrieved.\"),\n threadFirst: z.number().int().default(50).describe(\"Maximum number of customer threads to fetch. Must be between 1-100. Defaults to 50.\").optional(),\n}).describe(\"Request parameters for fetching issue links associated with a customer.\");\nconst PlainFetchIssues_IssueSchema = z.object({\n id: z.string().describe(\"The internal Plain ID of the link resource.\").nullable(),\n url: z.string().describe(\"Direct URL to view the external issue in its source system.\").nullable(),\n title: z.string().describe(\"The title/summary of the external issue.\").nullable().optional(),\n status: z.string().describe(\"Current status of the external issue (e.g., 'TODO', 'IN_PROGRESS', 'DONE', 'UNKNOWN').\").nullable(),\n sourceId: z.string().describe(\"The external issue ID from the source system (e.g., JIRA-123, LIN-456).\").nullable(),\n threadId: z.string().describe(\"The Plain thread ID this issue is linked to.\").nullable(),\n sourceType: z.string().describe(\"The type of external issue tracker system (e.g., 'jira', 'linear', 'github').\").nullable(),\n description: z.string().describe(\"The detailed description of the external issue.\").nullable().optional(),\n threadTitle: z.string().describe(\"The title of the Plain thread.\").nullable().optional(),\n}).passthrough().describe(\"Represents an external issue tracker link associated with a thread.\");\nexport const PlainFetchIssuesOutput = z.object({\n issues: z.array(PlainFetchIssues_IssueSchema).describe(\"Flattened list of all external issue tracker links across the customer's threads. Empty list if no issues are linked.\"),\n totalCount: z.number().int().describe(\"Total number of issue links found for this customer.\").nullable(),\n}).passthrough().describe(\"Response model containing external issue tracker links for a customer.\");\n\nexport const plainFetchIssues = action(\"PLAIN_FETCH_ISSUES\", {\n slug: \"plain-fetch-issues\",\n name: \"Fetch Issues\",\n description: \"Fetches external issue tracker links (Jira, Linear, GitHub, etc.) associated with a customer's threads. Returns a flattened list of all issue links across the customer's threads, including the thread context for each issue. Useful for getting a complete view of all external issues related to a customer. With defaults, returns up to threadFirst×linkFirst (2,500) total issue links; results are truncated if limits are exceeded, so reduce threadFirst or linkFirst for large datasets.\",\n input: PlainFetchIssuesInput,\n output: PlainFetchIssuesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;CACvJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH;CACpJ,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AACrJ,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAM,+BAA+B,EAAE,OAAO;CAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAChF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC/H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAM/F,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoC,EAAE,OAAO;EAC7C,QAAQ,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,uHAAuH;EAC9K,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wEAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const PlainFetchTierInput = zod.z.object({ tier_id: zod.z.string().describe("The
|
|
|
5
5
|
const PlainFetchTier_DateTimeSchema = zod.z.object({
|
|
6
6
|
iso8601: zod.z.string().describe("ISO 8601 datetime string.").nullable(),
|
|
7
7
|
unixTimestamp: zod.z.string().describe("Unix timestamp representation.").nullable()
|
|
8
|
-
}).describe("DateTime object with Unix timestamp and ISO 8601 format.");
|
|
8
|
+
}).passthrough().describe("DateTime object with Unix timestamp and ISO 8601 format.");
|
|
9
9
|
const PlainFetchTier_TierSchema = zod.z.object({
|
|
10
10
|
id: zod.z.string().describe("The unique identifier of the tier.").nullable(),
|
|
11
11
|
name: zod.z.string().describe("The display name of the tier.").nullable(),
|
|
@@ -16,8 +16,8 @@ const PlainFetchTier_TierSchema = zod.z.object({
|
|
|
16
16
|
externalId: zod.z.string().describe("Custom identifier from your system (unique per workspace).").nullable().optional(),
|
|
17
17
|
isMachineTier: zod.z.boolean().describe("Whether the tier was auto-generated from tenant fields.").nullable(),
|
|
18
18
|
defaultThreadPriority: zod.z.number().int().describe("Default priority for threads created in this tier.").nullable()
|
|
19
|
-
}).describe("Tier object returned by the API.");
|
|
20
|
-
const PlainFetchTierOutput = zod.z.object({ tier: PlainFetchTier_TierSchema.nullable().optional() }).describe("Response schema for fetching a single tier.");
|
|
19
|
+
}).passthrough().describe("Tier object returned by the API.");
|
|
20
|
+
const PlainFetchTierOutput = zod.z.object({ tier: PlainFetchTier_TierSchema.nullable().optional() }).passthrough().describe("Response schema for fetching a single tier.");
|
|
21
21
|
const plainFetchTier = require_action.action("PLAIN_FETCH_TIER", {
|
|
22
22
|
slug: "plain-fetch-tier",
|
|
23
23
|
name: "Fetch Tier",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-tier.cjs","names":["z","action"],"sources":["../../src/actions/fetch-tier.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainFetchTierInput = z.object({\n tier_id: z.string().describe(\"The unique identifier of the tier to fetch (e.g., 'tier_123')\"),\n}).describe(\"Request parameters for fetching a tier by its ID.\");\nconst PlainFetchTier_DateTimeSchema = z.object({\n iso8601: z.string().describe(\"ISO 8601 datetime string.\").nullable(),\n unixTimestamp: z.string().describe(\"Unix timestamp representation.\").nullable(),\n}).describe(\"DateTime object with Unix timestamp and ISO 8601 format.\");\nconst PlainFetchTier_TierSchema = z.object({\n id: z.string().describe(\"The unique identifier of the tier.\").nullable(),\n name: z.string().describe(\"The display name of the tier.\").nullable(),\n color: z.string().describe(\"Hex color code for UI representation.\").nullable(),\n createdAt: PlainFetchTier_DateTimeSchema.nullable(),\n isDefault: z.boolean().describe(\"Whether this tier applies to unmatched threads.\").nullable(),\n updatedAt: PlainFetchTier_DateTimeSchema.nullable(),\n externalId: z.string().describe(\"Custom identifier from your system (unique per workspace).\").nullable().optional(),\n isMachineTier: z.boolean().describe(\"Whether the tier was auto-generated from tenant fields.\").nullable(),\n defaultThreadPriority: z.number().int().describe(\"Default priority for threads created in this tier.\").nullable(),\n}).describe(\"Tier object returned by the API.\");\nexport const PlainFetchTierOutput = z.object({\n tier: PlainFetchTier_TierSchema.nullable().optional(),\n}).describe(\"Response schema for fetching a single tier.\");\n\nexport const plainFetchTier = action(\"PLAIN_FETCH_TIER\", {\n slug: \"plain-fetch-tier\",\n name: \"Fetch Tier\",\n description: \"Tool to fetch a tier by its ID. Use when you have a tier ID and need its metadata before proceeding. Example: \\\"Fetch tier with ID tier_123\\\".\",\n input: PlainFetchTierInput,\n output: PlainFetchTierOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EAC9F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACnE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,0DAA0D;
|
|
1
|
+
{"version":3,"file":"fetch-tier.cjs","names":["z","action"],"sources":["../../src/actions/fetch-tier.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlainFetchTierInput = z.object({\n tier_id: z.string().describe(\"The unique identifier of the tier to fetch (e.g., 'tier_123')\"),\n}).describe(\"Request parameters for fetching a tier by its ID.\");\nconst PlainFetchTier_DateTimeSchema = z.object({\n iso8601: z.string().describe(\"ISO 8601 datetime string.\").nullable(),\n unixTimestamp: z.string().describe(\"Unix timestamp representation.\").nullable(),\n}).passthrough().describe(\"DateTime object with Unix timestamp and ISO 8601 format.\");\nconst PlainFetchTier_TierSchema = z.object({\n id: z.string().describe(\"The unique identifier of the tier.\").nullable(),\n name: z.string().describe(\"The display name of the tier.\").nullable(),\n color: z.string().describe(\"Hex color code for UI representation.\").nullable(),\n createdAt: PlainFetchTier_DateTimeSchema.nullable(),\n isDefault: z.boolean().describe(\"Whether this tier applies to unmatched threads.\").nullable(),\n updatedAt: PlainFetchTier_DateTimeSchema.nullable(),\n externalId: z.string().describe(\"Custom identifier from your system (unique per workspace).\").nullable().optional(),\n isMachineTier: z.boolean().describe(\"Whether the tier was auto-generated from tenant fields.\").nullable(),\n defaultThreadPriority: z.number().int().describe(\"Default priority for threads created in this tier.\").nullable(),\n}).passthrough().describe(\"Tier object returned by the API.\");\nexport const PlainFetchTierOutput = z.object({\n tier: PlainFetchTier_TierSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for fetching a single tier.\");\n\nexport const plainFetchTier = action(\"PLAIN_FETCH_TIER\", {\n slug: \"plain-fetch-tier\",\n name: \"Fetch Tier\",\n description: \"Tool to fetch a tier by its ID. Use when you have a tier ID and need its metadata before proceeding. Example: \\\"Fetch tier with ID tier_123\\\".\",\n input: PlainFetchTierInput,\n output: PlainFetchTierOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EAC9F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACnE,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,4BAA4BA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,WAAW,8BAA8B,SAAS;CAClD,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC5F,WAAW,8BAA8B,SAAS;CAClD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,eAAeA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACxG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAM,0BAA0B,SAAS,CAAC,CAAC,SAAS,EACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|