@keystrokehq/rudderstack_transformation 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/create-library.cjs.map +1 -1
- package/dist/actions/create-library.d.cts +28 -3
- package/dist/actions/create-library.d.cts.map +1 -1
- package/dist/actions/create-library.d.mts +28 -3
- package/dist/actions/create-library.d.mts.map +1 -1
- package/dist/actions/create-library.mjs.map +1 -1
- package/dist/actions/create-transformation.cjs +2 -2
- package/dist/actions/create-transformation.cjs.map +1 -1
- package/dist/actions/create-transformation.d.cts +33 -3
- package/dist/actions/create-transformation.d.cts.map +1 -1
- package/dist/actions/create-transformation.d.mts +33 -3
- package/dist/actions/create-transformation.d.mts.map +1 -1
- package/dist/actions/create-transformation.mjs +2 -2
- package/dist/actions/create-transformation.mjs.map +1 -1
- package/dist/actions/delete-transformation.cjs +1 -1
- package/dist/actions/delete-transformation.cjs.map +1 -1
- package/dist/actions/delete-transformation.d.cts +10 -3
- package/dist/actions/delete-transformation.d.cts.map +1 -1
- package/dist/actions/delete-transformation.d.mts +10 -3
- package/dist/actions/delete-transformation.d.mts.map +1 -1
- package/dist/actions/delete-transformation.mjs +1 -1
- package/dist/actions/delete-transformation.mjs.map +1 -1
- package/dist/actions/get-library-version.cjs.map +1 -1
- package/dist/actions/get-library-version.d.cts +19 -3
- package/dist/actions/get-library-version.d.cts.map +1 -1
- package/dist/actions/get-library-version.d.mts +19 -3
- package/dist/actions/get-library-version.d.mts.map +1 -1
- package/dist/actions/get-library-version.mjs.map +1 -1
- package/dist/actions/get-library.cjs.map +1 -1
- package/dist/actions/get-library.d.cts +17 -3
- package/dist/actions/get-library.d.cts.map +1 -1
- package/dist/actions/get-library.d.mts +17 -3
- package/dist/actions/get-library.d.mts.map +1 -1
- package/dist/actions/get-library.mjs.map +1 -1
- package/dist/actions/get-transformation-version.cjs.map +1 -1
- package/dist/actions/get-transformation-version.d.cts +19 -3
- package/dist/actions/get-transformation-version.d.cts.map +1 -1
- package/dist/actions/get-transformation-version.d.mts +19 -3
- package/dist/actions/get-transformation-version.d.mts.map +1 -1
- package/dist/actions/get-transformation-version.mjs.map +1 -1
- package/dist/actions/get-transformation.cjs.map +1 -1
- package/dist/actions/get-transformation.d.cts +18 -3
- package/dist/actions/get-transformation.d.cts.map +1 -1
- package/dist/actions/get-transformation.d.mts +18 -3
- package/dist/actions/get-transformation.d.mts.map +1 -1
- package/dist/actions/get-transformation.mjs.map +1 -1
- package/dist/actions/list-libraries.cjs.map +1 -1
- package/dist/actions/list-libraries.d.cts +15 -3
- package/dist/actions/list-libraries.d.cts.map +1 -1
- package/dist/actions/list-libraries.d.mts +15 -3
- package/dist/actions/list-libraries.d.mts.map +1 -1
- package/dist/actions/list-libraries.mjs.map +1 -1
- package/dist/actions/list-library-versions.cjs.map +1 -1
- package/dist/actions/list-library-versions.d.cts +23 -3
- package/dist/actions/list-library-versions.d.cts.map +1 -1
- package/dist/actions/list-library-versions.d.mts +23 -3
- package/dist/actions/list-library-versions.d.mts.map +1 -1
- package/dist/actions/list-library-versions.mjs.map +1 -1
- package/dist/actions/list-transformation-versions.cjs.map +1 -1
- package/dist/actions/list-transformation-versions.d.cts +23 -3
- package/dist/actions/list-transformation-versions.d.cts.map +1 -1
- package/dist/actions/list-transformation-versions.d.mts +23 -3
- package/dist/actions/list-transformation-versions.d.mts.map +1 -1
- package/dist/actions/list-transformation-versions.mjs.map +1 -1
- package/dist/actions/list-transformations.cjs.map +1 -1
- package/dist/actions/list-transformations.d.cts +16 -3
- package/dist/actions/list-transformations.d.cts.map +1 -1
- package/dist/actions/list-transformations.d.mts +16 -3
- package/dist/actions/list-transformations.d.mts.map +1 -1
- package/dist/actions/list-transformations.mjs.map +1 -1
- package/dist/actions/update-transformation.cjs.map +1 -1
- package/dist/actions/update-transformation.d.cts +25 -3
- package/dist/actions/update-transformation.d.cts.map +1 -1
- package/dist/actions/update-transformation.d.mts +25 -3
- package/dist/actions/update-transformation.d.mts.map +1 -1
- package/dist/actions/update-transformation.mjs.map +1 -1
- package/dist/catalog.cjs +18 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +17 -0
- package/dist/catalog.d.mts +17 -0
- package/dist/catalog.mjs +18 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["rudderstackTransformation","executeRudderstackTransformationTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rudderstackTransformation } from \"./app\";\nimport { executeRudderstackTransformationTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["rudderstackTransformation","executeRudderstackTransformationTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rudderstackTransformation } from \"./app\";\nimport { executeRudderstackTransformationTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return rudderstackTransformation.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRudderstackTransformationTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,0BAA0B,OAAO;EACtC,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qCAAqC,MAAM,KAAgC,CAAC;EAC5G;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rudderstackTransformation } from \"./app\";\nimport { executeRudderstackTransformationTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { rudderstackTransformation } from \"./app\";\nimport { executeRudderstackTransformationTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return rudderstackTransformation.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRudderstackTransformationTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,0BAA0B,OAAO;EACtC,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qCAAqC,MAAM,KAAgC,CAAC;EAC5G;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-library.cjs","names":["z","action"],"sources":["../../src/actions/create-library.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationCreateLibraryInput
|
|
1
|
+
{"version":3,"file":"create-library.cjs","names":["z","action"],"sources":["../../src/actions/create-library.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationCreateLibraryInput = z.object({\n code: z.string().describe(\"The library code.\"),\n name: z.string().describe(\"Name of the library that you wish to create. This name is used as modules when it is imported in the transformation code.\"),\n publish: z.boolean().default(false).describe(\"If true, publishes your library to the latest version; code is made live for incoming traffic. Default is false.\").optional(),\n language: z.enum([\"javascript\", \"pythonfaas\"]).describe(\"Language of the library code. Acceptable values are 'javascript' and 'pythonfaas'.\"),\n description: z.string().describe(\"Description of the library.\").optional(),\n}).describe(\"Request model for creating a library in RudderStack Transformation.\");\nexport const RudderstackTransformationCreateLibraryOutput = z.object({\n id: z.string().describe(\"Library ID\").nullable().optional(),\n code: z.string().describe(\"Library code\").nullable().optional(),\n name: z.string().describe(\"Library name\").nullable().optional(),\n language: z.string().describe(\"Language of the library code\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable().optional(),\n versionId: z.string().describe(\"Version ID of the library\").nullable().optional(),\n importName: z.string().describe(\"The import name that users can use in their transformation code while importing this library\").nullable().optional(),\n description: z.string().describe(\"Library description\").nullable().optional(),\n}).describe(\"Response model returned after creating a library.\");\n\nexport const rudderstackTransformationCreateLibrary = action(\"RUDDERSTACK_TRANSFORMATION_CREATE_LIBRARY\", {\n slug: \"rudderstack_transformation-create-library\",\n name: \"Create Library\",\n description: \"Tool to create a library in RudderStack Transformation. Use when you need to create reusable JavaScript or Python code that can be imported in transformations. Libraries enable code reusability and version maintenance.\",\n input: RudderstackTransformationCreateLibraryInput,\n output: RudderstackTransformationCreateLibraryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAA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AAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,yCAAyCC,eAAAA,OAAO,6CAA6C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-library.d.ts
|
|
4
|
-
declare const RudderstackTransformationCreateLibraryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RudderstackTransformationCreateLibraryInput: z.ZodObject<{
|
|
5
|
+
code: z.ZodString;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
publish: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
|
+
language: z.ZodEnum<{
|
|
9
|
+
javascript: "javascript";
|
|
10
|
+
pythonfaas: "pythonfaas";
|
|
11
|
+
}>;
|
|
12
|
+
description: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const RudderstackTransformationCreateLibraryOutput: z.ZodObject<{
|
|
15
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
importName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const rudderstackTransformationCreateLibrary: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
code: string;
|
|
27
|
+
name: string;
|
|
28
|
+
language: "javascript" | "pythonfaas";
|
|
29
|
+
publish?: boolean | undefined;
|
|
30
|
+
description?: string | undefined;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { rudderstackTransformationCreateLibrary };
|
|
9
34
|
//# sourceMappingURL=create-library.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-library.d.cts","names":[],"sources":["../../src/actions/create-library.ts"],"mappings":";;;cAIa,2CAAA,
|
|
1
|
+
{"version":3,"file":"create-library.d.cts","names":[],"sources":["../../src/actions/create-library.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;cAO3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;cAY5C,sCAAA,gCAAsC,wBAAA"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-library.d.ts
|
|
4
|
-
declare const RudderstackTransformationCreateLibraryInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RudderstackTransformationCreateLibraryInput: z.ZodObject<{
|
|
5
|
+
code: z.ZodString;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
publish: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
|
+
language: z.ZodEnum<{
|
|
9
|
+
javascript: "javascript";
|
|
10
|
+
pythonfaas: "pythonfaas";
|
|
11
|
+
}>;
|
|
12
|
+
description: z.ZodOptional<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const RudderstackTransformationCreateLibraryOutput: z.ZodObject<{
|
|
15
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
importName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const rudderstackTransformationCreateLibrary: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
code: string;
|
|
27
|
+
name: string;
|
|
28
|
+
language: "javascript" | "pythonfaas";
|
|
29
|
+
publish?: boolean | undefined;
|
|
30
|
+
description?: string | undefined;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { rudderstackTransformationCreateLibrary };
|
|
9
34
|
//# sourceMappingURL=create-library.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-library.d.mts","names":[],"sources":["../../src/actions/create-library.ts"],"mappings":";;;cAIa,2CAAA,
|
|
1
|
+
{"version":3,"file":"create-library.d.mts","names":[],"sources":["../../src/actions/create-library.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;;;;cAO3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;;;;;;;;;cAY5C,sCAAA,gCAAsC,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-library.mjs","names":[],"sources":["../../src/actions/create-library.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationCreateLibraryInput
|
|
1
|
+
{"version":3,"file":"create-library.mjs","names":[],"sources":["../../src/actions/create-library.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationCreateLibraryInput = z.object({\n code: z.string().describe(\"The library code.\"),\n name: z.string().describe(\"Name of the library that you wish to create. This name is used as modules when it is imported in the transformation code.\"),\n publish: z.boolean().default(false).describe(\"If true, publishes your library to the latest version; code is made live for incoming traffic. Default is false.\").optional(),\n language: z.enum([\"javascript\", \"pythonfaas\"]).describe(\"Language of the library code. Acceptable values are 'javascript' and 'pythonfaas'.\"),\n description: z.string().describe(\"Description of the library.\").optional(),\n}).describe(\"Request model for creating a library in RudderStack Transformation.\");\nexport const RudderstackTransformationCreateLibraryOutput = z.object({\n id: z.string().describe(\"Library ID\").nullable().optional(),\n code: z.string().describe(\"Library code\").nullable().optional(),\n name: z.string().describe(\"Library name\").nullable().optional(),\n language: z.string().describe(\"Language of the library code\").nullable().optional(),\n createdAt: z.string().describe(\"Creation timestamp\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable().optional(),\n versionId: z.string().describe(\"Version ID of the library\").nullable().optional(),\n importName: z.string().describe(\"The import name that users can use in their transformation code while importing this library\").nullable().optional(),\n description: z.string().describe(\"Library description\").nullable().optional(),\n}).describe(\"Response model returned after creating a library.\");\n\nexport const rudderstackTransformationCreateLibrary = action(\"RUDDERSTACK_TRANSFORMATION_CREATE_LIBRARY\", {\n slug: \"rudderstack_transformation-create-library\",\n name: \"Create Library\",\n description: \"Tool to create a library in RudderStack Transformation. Use when you need to create reusable JavaScript or Python code that can be imported in transformations. Libraries enable code reusability and version maintenance.\",\n input: RudderstackTransformationCreateLibraryInput,\n output: RudderstackTransformationCreateLibraryOutput,\n});\n"],"mappings":";;AAuBA,MAAa,yCAAyC,OAAO,6CAA6C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvByD,EAAE,OAAO;EAClE,MAAM,EAAE,OAAO,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,13 @@ const RudderstackTransformationCreateTransformationInput = zod.z.object({
|
|
|
11
11
|
destination_ids: zod.z.array(zod.z.string()).describe("Array of destination IDs to connect with this transformation. The transformation will apply to events sent to these destinations.").optional()
|
|
12
12
|
});
|
|
13
13
|
const RudderstackTransformationCreateTransformationOutput = zod.z.object({
|
|
14
|
-
id: zod.z.string().describe("Unique identifier for the transformation. Use this ID for update, retrieve, and delete operations."),
|
|
14
|
+
id: zod.z.string().describe("Unique identifier for the transformation. Use this ID for update, retrieve, and delete operations.").nullable(),
|
|
15
15
|
code: zod.z.string().describe("The transformation code.").nullable().optional(),
|
|
16
16
|
name: zod.z.string().describe("Name of the transformation.").nullable().optional(),
|
|
17
17
|
language: zod.z.string().describe("Programming language used for the transformation (javascript or pythonfaas).").nullable().optional(),
|
|
18
18
|
created_at: zod.z.string().describe("Timestamp when the transformation was created (ISO 8601 format).").nullable().optional(),
|
|
19
19
|
updated_at: zod.z.string().describe("Timestamp when the transformation was last updated (ISO 8601 format).").nullable().optional(),
|
|
20
|
-
version_id: zod.z.string().describe("Unique identifier for this specific version/revision of the transformation."),
|
|
20
|
+
version_id: zod.z.string().describe("Unique identifier for this specific version/revision of the transformation.").nullable(),
|
|
21
21
|
description: zod.z.string().describe("Description of the transformation.").nullable().optional(),
|
|
22
22
|
code_version: zod.z.string().describe("Version number of the transformation code.").nullable().optional(),
|
|
23
23
|
destinations: zod.z.array(zod.z.object({})).describe("List of destinations connected to this transformation.").nullable().optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-transformation.cjs","names":["z","action"],"sources":["../../src/actions/create-transformation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationCreateTransformationInput
|
|
1
|
+
{"version":3,"file":"create-transformation.cjs","names":["z","action"],"sources":["../../src/actions/create-transformation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationCreateTransformationInput = z.object({\n code: z.string().describe(\"The transformation code to execute. For JavaScript, this should export a transformEvent function. For Python, implement the appropriate function signature.\"),\n name: z.string().describe(\"Name of the transformation to create. This is a human-readable identifier for the transformation.\"),\n events: z.array(z.object({})).describe(\"Array of test events (JSON objects) to validate your transformation code. Use this to test your transformation logic before deploying.\").optional(),\n publish: z.boolean().default(false).describe(\"Whether to publish the transformation. When false (default), RudderStack creates revisions but the transformation is not available to incoming event traffic. When true, the transformation can be connected to destinations and its code is made live for incoming traffic.\").optional(),\n language: z.enum([\"javascript\", \"pythonfaas\"]).describe(\"Language of the transformation code. Must be either 'javascript' or 'pythonfaas'.\"),\n description: z.string().describe(\"Description of the transformation. Use this to document what the transformation does.\"),\n destination_ids: z.array(z.string()).describe(\"Array of destination IDs to connect with this transformation. The transformation will apply to events sent to these destinations.\").optional(),\n});\nexport const RudderstackTransformationCreateTransformationOutput = z.object({\n id: z.string().describe(\"Unique identifier for the transformation. Use this ID for update, retrieve, and delete operations.\").nullable(),\n code: z.string().describe(\"The transformation code.\").nullable().optional(),\n name: z.string().describe(\"Name of the transformation.\").nullable().optional(),\n language: z.string().describe(\"Programming language used for the transformation (javascript or pythonfaas).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the transformation was created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the transformation was last updated (ISO 8601 format).\").nullable().optional(),\n version_id: z.string().describe(\"Unique identifier for this specific version/revision of the transformation.\").nullable(),\n description: z.string().describe(\"Description of the transformation.\").nullable().optional(),\n code_version: z.string().describe(\"Version number of the transformation code.\").nullable().optional(),\n destinations: z.array(z.object({})).describe(\"List of destinations connected to this transformation.\").nullable().optional(),\n});\n\nexport const rudderstackTransformationCreateTransformation = action(\"RUDDERSTACK_TRANSFORMATION_CREATE_TRANSFORMATION\", {\n slug: \"rudderstack_transformation-create-transformation\",\n name: \"Create Transformation\",\n description: \"Tool to create a RudderStack transformation. When publish=false (default), creates an unpublished transformation not available to event traffic. When publish=true, publishes the transformation making it live for incoming events and connectable to destinations.\",\n input: RudderstackTransformationCreateTransformationInput,\n output: RudderstackTransformationCreateTransformationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qDAAqDA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;CACvL,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;CAC7H,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC1L,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8QAA8Q,CAAC,CAAC,SAAS;CACtU,UAAUA,IAAAA,EAAE,KAAK,CAAC,cAAc,YAAY,CAAC,CAAC,CAAC,SAAS,mFAAmF;CAC3I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACxH,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;AAC9L,CAAC;AACD,MAAa,sDAAsDA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7H,CAAC;AAED,MAAa,gDAAgDC,eAAAA,OAAO,oDAAoD;CACtH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,39 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-transformation.d.ts
|
|
4
|
-
declare const RudderstackTransformationCreateTransformationInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RudderstackTransformationCreateTransformationInput: z.ZodObject<{
|
|
5
|
+
code: z.ZodString;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
events: z.ZodOptional<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>;
|
|
8
|
+
publish: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
9
|
+
language: z.ZodEnum<{
|
|
10
|
+
javascript: "javascript";
|
|
11
|
+
pythonfaas: "pythonfaas";
|
|
12
|
+
}>;
|
|
13
|
+
description: z.ZodString;
|
|
14
|
+
destination_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const RudderstackTransformationCreateTransformationOutput: z.ZodObject<{
|
|
17
|
+
id: z.ZodNullable<z.ZodString>;
|
|
18
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
version_id: z.ZodNullable<z.ZodString>;
|
|
24
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
code_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
destinations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const rudderstackTransformationCreateTransformation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
code: string;
|
|
30
|
+
name: string;
|
|
31
|
+
language: "javascript" | "pythonfaas";
|
|
32
|
+
description: string;
|
|
33
|
+
events?: Record<string, never>[] | undefined;
|
|
34
|
+
publish?: boolean | undefined;
|
|
35
|
+
destination_ids?: string[] | undefined;
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
37
|
//#endregion
|
|
8
38
|
export { rudderstackTransformationCreateTransformation };
|
|
9
39
|
//# sourceMappingURL=create-transformation.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-transformation.d.cts","names":[],"sources":["../../src/actions/create-transformation.ts"],"mappings":";;;cAIa,kDAAA,
|
|
1
|
+
{"version":3,"file":"create-transformation.d.cts","names":[],"sources":["../../src/actions/create-transformation.ts"],"mappings":";;;cAIa,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;;;;;;;cASlD,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;;;;;;cAanD,6CAAA,gCAA6C,wBAAA;;;;;WAMxD,MAAA"}
|
|
@@ -1,9 +1,39 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/create-transformation.d.ts
|
|
4
|
-
declare const RudderstackTransformationCreateTransformationInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RudderstackTransformationCreateTransformationInput: z.ZodObject<{
|
|
5
|
+
code: z.ZodString;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
events: z.ZodOptional<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>;
|
|
8
|
+
publish: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
9
|
+
language: z.ZodEnum<{
|
|
10
|
+
javascript: "javascript";
|
|
11
|
+
pythonfaas: "pythonfaas";
|
|
12
|
+
}>;
|
|
13
|
+
description: z.ZodString;
|
|
14
|
+
destination_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const RudderstackTransformationCreateTransformationOutput: z.ZodObject<{
|
|
17
|
+
id: z.ZodNullable<z.ZodString>;
|
|
18
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
version_id: z.ZodNullable<z.ZodString>;
|
|
24
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
code_version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
destinations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
|
|
27
|
+
}, z.core.$strip>;
|
|
28
|
+
declare const rudderstackTransformationCreateTransformation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
29
|
+
code: string;
|
|
30
|
+
name: string;
|
|
31
|
+
language: "javascript" | "pythonfaas";
|
|
32
|
+
description: string;
|
|
33
|
+
events?: Record<string, never>[] | undefined;
|
|
34
|
+
publish?: boolean | undefined;
|
|
35
|
+
destination_ids?: string[] | undefined;
|
|
36
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
37
|
//#endregion
|
|
8
38
|
export { rudderstackTransformationCreateTransformation };
|
|
9
39
|
//# sourceMappingURL=create-transformation.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-transformation.d.mts","names":[],"sources":["../../src/actions/create-transformation.ts"],"mappings":";;;cAIa,kDAAA,
|
|
1
|
+
{"version":3,"file":"create-transformation.d.mts","names":[],"sources":["../../src/actions/create-transformation.ts"],"mappings":";;;cAIa,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;;;;;;;cASlD,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;;;;;;cAanD,6CAAA,gCAA6C,wBAAA;;;;;WAMxD,MAAA"}
|
|
@@ -14,13 +14,13 @@ const rudderstackTransformationCreateTransformation = action("RUDDERSTACK_TRANSF
|
|
|
14
14
|
destination_ids: z.array(z.string()).describe("Array of destination IDs to connect with this transformation. The transformation will apply to events sent to these destinations.").optional()
|
|
15
15
|
}),
|
|
16
16
|
output: z.object({
|
|
17
|
-
id: z.string().describe("Unique identifier for the transformation. Use this ID for update, retrieve, and delete operations."),
|
|
17
|
+
id: z.string().describe("Unique identifier for the transformation. Use this ID for update, retrieve, and delete operations.").nullable(),
|
|
18
18
|
code: z.string().describe("The transformation code.").nullable().optional(),
|
|
19
19
|
name: z.string().describe("Name of the transformation.").nullable().optional(),
|
|
20
20
|
language: z.string().describe("Programming language used for the transformation (javascript or pythonfaas).").nullable().optional(),
|
|
21
21
|
created_at: z.string().describe("Timestamp when the transformation was created (ISO 8601 format).").nullable().optional(),
|
|
22
22
|
updated_at: z.string().describe("Timestamp when the transformation was last updated (ISO 8601 format).").nullable().optional(),
|
|
23
|
-
version_id: z.string().describe("Unique identifier for this specific version/revision of the transformation."),
|
|
23
|
+
version_id: z.string().describe("Unique identifier for this specific version/revision of the transformation.").nullable(),
|
|
24
24
|
description: z.string().describe("Description of the transformation.").nullable().optional(),
|
|
25
25
|
code_version: z.string().describe("Version number of the transformation code.").nullable().optional(),
|
|
26
26
|
destinations: z.array(z.object({})).describe("List of destinations connected to this transformation.").nullable().optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-transformation.mjs","names":[],"sources":["../../src/actions/create-transformation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationCreateTransformationInput
|
|
1
|
+
{"version":3,"file":"create-transformation.mjs","names":[],"sources":["../../src/actions/create-transformation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationCreateTransformationInput = z.object({\n code: z.string().describe(\"The transformation code to execute. For JavaScript, this should export a transformEvent function. For Python, implement the appropriate function signature.\"),\n name: z.string().describe(\"Name of the transformation to create. This is a human-readable identifier for the transformation.\"),\n events: z.array(z.object({})).describe(\"Array of test events (JSON objects) to validate your transformation code. Use this to test your transformation logic before deploying.\").optional(),\n publish: z.boolean().default(false).describe(\"Whether to publish the transformation. When false (default), RudderStack creates revisions but the transformation is not available to incoming event traffic. When true, the transformation can be connected to destinations and its code is made live for incoming traffic.\").optional(),\n language: z.enum([\"javascript\", \"pythonfaas\"]).describe(\"Language of the transformation code. Must be either 'javascript' or 'pythonfaas'.\"),\n description: z.string().describe(\"Description of the transformation. Use this to document what the transformation does.\"),\n destination_ids: z.array(z.string()).describe(\"Array of destination IDs to connect with this transformation. The transformation will apply to events sent to these destinations.\").optional(),\n});\nexport const RudderstackTransformationCreateTransformationOutput = z.object({\n id: z.string().describe(\"Unique identifier for the transformation. Use this ID for update, retrieve, and delete operations.\").nullable(),\n code: z.string().describe(\"The transformation code.\").nullable().optional(),\n name: z.string().describe(\"Name of the transformation.\").nullable().optional(),\n language: z.string().describe(\"Programming language used for the transformation (javascript or pythonfaas).\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the transformation was created (ISO 8601 format).\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the transformation was last updated (ISO 8601 format).\").nullable().optional(),\n version_id: z.string().describe(\"Unique identifier for this specific version/revision of the transformation.\").nullable(),\n description: z.string().describe(\"Description of the transformation.\").nullable().optional(),\n code_version: z.string().describe(\"Version number of the transformation code.\").nullable().optional(),\n destinations: z.array(z.object({})).describe(\"List of destinations connected to this transformation.\").nullable().optional(),\n});\n\nexport const rudderstackTransformationCreateTransformation = action(\"RUDDERSTACK_TRANSFORMATION_CREATE_TRANSFORMATION\", {\n slug: \"rudderstack_transformation-create-transformation\",\n name: \"Create Transformation\",\n description: \"Tool to create a RudderStack transformation. When publish=false (default), creates an unpublished transformation not available to event traffic. When publish=true, publishes the transformation making it live for incoming events and connectable to destinations.\",\n input: RudderstackTransformationCreateTransformationInput,\n output: RudderstackTransformationCreateTransformationOutput,\n});\n"],"mappings":";;AA0BA,MAAa,gDAAgD,OAAO,oDAAoD;CACtH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1BgE,EAAE,OAAO;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6JAA6J;EACvL,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG;EAC7H,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;EAC1L,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,S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#region src/actions/delete-transformation.ts
|
|
4
4
|
const RudderstackTransformationDeleteTransformationInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the transformation to delete. This is the transformation ID returned when the transformation was created or listed.") }).describe("Request model for deleting a transformation.");
|
|
5
5
|
const RudderstackTransformationDeleteTransformationOutput = zod.z.object({
|
|
6
|
-
message: zod.z.string().describe("A confirmation message indicating the outcome of the transformation deletion."),
|
|
6
|
+
message: zod.z.string().describe("A confirmation message indicating the outcome of the transformation deletion.").nullable(),
|
|
7
7
|
success: zod.z.boolean().default(true).describe("Indicates whether the transformation was successfully deleted.").nullable().optional()
|
|
8
8
|
}).describe("Response model for transformation deletion.");
|
|
9
9
|
const rudderstackTransformationDeleteTransformation = require_action.action("RUDDERSTACK_TRANSFORMATION_DELETE_TRANSFORMATION", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-transformation.cjs","names":["z","action"],"sources":["../../src/actions/delete-transformation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationDeleteTransformationInput
|
|
1
|
+
{"version":3,"file":"delete-transformation.cjs","names":["z","action"],"sources":["../../src/actions/delete-transformation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationDeleteTransformationInput = z.object({\n id: z.string().describe(\"The unique identifier of the transformation to delete. This is the transformation ID returned when the transformation was created or listed.\"),\n}).describe(\"Request model for deleting a transformation.\");\nexport const RudderstackTransformationDeleteTransformationOutput = z.object({\n message: z.string().describe(\"A confirmation message indicating the outcome of the transformation deletion.\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates whether the transformation was successfully deleted.\").nullable().optional(),\n}).describe(\"Response model for transformation deletion.\");\n\nexport const rudderstackTransformationDeleteTransformation = action(\"RUDDERSTACK_TRANSFORMATION_DELETE_TRANSFORMATION\", {\n slug: \"rudderstack_transformation-delete-transformation\",\n name: \"Delete Transformation\",\n description: \"Delete a published transformation by ID. Note that RudderStack never deletes a transformation revision. Use this when you need to remove a transformation from the system.\",\n input: RudderstackTransformationDeleteTransformationInput,\n output: RudderstackTransformationDeleteTransformationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qDAAqDA,IAAAA,EAAE,OAAO,EACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,EACxK,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,sDAAsDA,IAAAA,EAAE,OAAO;CAC1E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,gDAAgDC,eAAAA,OAAO,oDAAoD;CACtH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-transformation.d.ts
|
|
4
|
-
declare const RudderstackTransformationDeleteTransformationInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RudderstackTransformationDeleteTransformationInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RudderstackTransformationDeleteTransformationOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const rudderstackTransformationDeleteTransformation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
id: string;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { rudderstackTransformationDeleteTransformation };
|
|
9
16
|
//# sourceMappingURL=delete-transformation.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-transformation.d.cts","names":[],"sources":["../../src/actions/delete-transformation.ts"],"mappings":";;;cAIa,kDAAA,
|
|
1
|
+
{"version":3,"file":"delete-transformation.d.cts","names":[],"sources":["../../src/actions/delete-transformation.ts"],"mappings":";;;cAIa,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;cAGlD,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;cAKnD,6CAAA,gCAA6C,wBAAA"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/delete-transformation.d.ts
|
|
4
|
-
declare const RudderstackTransformationDeleteTransformationInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RudderstackTransformationDeleteTransformationInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RudderstackTransformationDeleteTransformationOutput: z.ZodObject<{
|
|
8
|
+
message: z.ZodNullable<z.ZodString>;
|
|
9
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const rudderstackTransformationDeleteTransformation: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
id: string;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { rudderstackTransformationDeleteTransformation };
|
|
9
16
|
//# sourceMappingURL=delete-transformation.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-transformation.d.mts","names":[],"sources":["../../src/actions/delete-transformation.ts"],"mappings":";;;cAIa,kDAAA,
|
|
1
|
+
{"version":3,"file":"delete-transformation.d.mts","names":[],"sources":["../../src/actions/delete-transformation.ts"],"mappings":";;;cAIa,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;cAGlD,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;cAKnD,6CAAA,gCAA6C,wBAAA"}
|
|
@@ -6,7 +6,7 @@ const rudderstackTransformationDeleteTransformation = action("RUDDERSTACK_TRANSF
|
|
|
6
6
|
description: "Delete a published transformation by ID. Note that RudderStack never deletes a transformation revision. Use this when you need to remove a transformation from the system.",
|
|
7
7
|
input: z.object({ id: z.string().describe("The unique identifier of the transformation to delete. This is the transformation ID returned when the transformation was created or listed.") }).describe("Request model for deleting a transformation."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
message: z.string().describe("A confirmation message indicating the outcome of the transformation deletion."),
|
|
9
|
+
message: z.string().describe("A confirmation message indicating the outcome of the transformation deletion.").nullable(),
|
|
10
10
|
success: z.boolean().default(true).describe("Indicates whether the transformation was successfully deleted.").nullable().optional()
|
|
11
11
|
}).describe("Response model for transformation deletion.")
|
|
12
12
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-transformation.mjs","names":[],"sources":["../../src/actions/delete-transformation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationDeleteTransformationInput
|
|
1
|
+
{"version":3,"file":"delete-transformation.mjs","names":[],"sources":["../../src/actions/delete-transformation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationDeleteTransformationInput = z.object({\n id: z.string().describe(\"The unique identifier of the transformation to delete. This is the transformation ID returned when the transformation was created or listed.\"),\n}).describe(\"Request model for deleting a transformation.\");\nexport const RudderstackTransformationDeleteTransformationOutput = z.object({\n message: z.string().describe(\"A confirmation message indicating the outcome of the transformation deletion.\").nullable(),\n success: z.boolean().default(true).describe(\"Indicates whether the transformation was successfully deleted.\").nullable().optional(),\n}).describe(\"Response model for transformation deletion.\");\n\nexport const rudderstackTransformationDeleteTransformation = action(\"RUDDERSTACK_TRANSFORMATION_DELETE_TRANSFORMATION\", {\n slug: \"rudderstack_transformation-delete-transformation\",\n name: \"Delete Transformation\",\n description: \"Delete a published transformation by ID. Note that RudderStack never deletes a transformation revision. Use this when you need to remove a transformation from the system.\",\n input: RudderstackTransformationDeleteTransformationInput,\n output: RudderstackTransformationDeleteTransformationOutput,\n});\n"],"mappings":";;AAYA,MAAa,gDAAgD,OAAO,oDAAoD;CACtH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZgE,EAAE,OAAO,EACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,EACxK,CAAC,CAAC,CAAC,SAAS,8CAUH;CACP,QAViE,EAAE,OAAO;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;EACvH,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-library-version.cjs","names":["z","action"],"sources":["../../src/actions/get-library-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationGetLibraryVersionInput
|
|
1
|
+
{"version":3,"file":"get-library-version.cjs","names":["z","action"],"sources":["../../src/actions/get-library-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationGetLibraryVersionInput = z.object({\n id: z.string().describe(\"The library ID\"),\n versionId: z.string().describe(\"The version ID of the library\"),\n}).describe(\"Request parameters for retrieving a single library version.\");\nexport const RudderstackTransformationGetLibraryVersionOutput = z.object({\n id: z.string().describe(\"The library ID\").nullable().optional(),\n code: z.string().describe(\"The code content of the library\").nullable().optional(),\n name: z.string().describe(\"The name of the library\").nullable().optional(),\n language: z.string().describe(\"The programming language of the library\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the library version was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the library version was last updated\").nullable().optional(),\n versionId: z.string().describe(\"The version ID of the library\").nullable().optional(),\n description: z.string().describe(\"The description of the library\").nullable().optional(),\n isPublished: z.boolean().describe(\"Whether the library version is published\").nullable().optional(),\n}).describe(\"Response containing library version details.\");\n\nexport const rudderstackTransformationGetLibraryVersion = action(\"RUDDERSTACK_TRANSFORMATION_GET_LIBRARY_VERSION\", {\n slug: \"rudderstack_transformation-get-library-version\",\n name: \"Get Library Version\",\n description: \"Tool to retrieve a single library version by library ID and version ID. Use when you need to fetch details of a specific library revision in RudderStack transformations.\",\n input: RudderstackTransformationGetLibraryVersionInput,\n output: RudderstackTransformationGetLibraryVersionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;CACxC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;AAChE,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,mDAAmDA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,6CAA6CC,eAAAA,OAAO,kDAAkD;CACjH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-library-version.d.ts
|
|
4
|
-
declare const RudderstackTransformationGetLibraryVersionInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RudderstackTransformationGetLibraryVersionInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
versionId: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RudderstackTransformationGetLibraryVersionOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
isPublished: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const rudderstackTransformationGetLibraryVersion: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
id: string;
|
|
21
|
+
versionId: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { rudderstackTransformationGetLibraryVersion };
|
|
9
25
|
//# sourceMappingURL=get-library-version.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-library-version.d.cts","names":[],"sources":["../../src/actions/get-library-version.ts"],"mappings":";;;cAIa,+CAAA,
|
|
1
|
+
{"version":3,"file":"get-library-version.d.cts","names":[],"sources":["../../src/actions/get-library-version.ts"],"mappings":";;;cAIa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;cAI/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;;;;cAYhD,0CAAA,gCAA0C,wBAAA"}
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-library-version.d.ts
|
|
4
|
-
declare const RudderstackTransformationGetLibraryVersionInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RudderstackTransformationGetLibraryVersionInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
versionId: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RudderstackTransformationGetLibraryVersionOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
versionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
isPublished: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const rudderstackTransformationGetLibraryVersion: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
id: string;
|
|
21
|
+
versionId: string;
|
|
22
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
23
|
//#endregion
|
|
8
24
|
export { rudderstackTransformationGetLibraryVersion };
|
|
9
25
|
//# sourceMappingURL=get-library-version.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-library-version.d.mts","names":[],"sources":["../../src/actions/get-library-version.ts"],"mappings":";;;cAIa,+CAAA,
|
|
1
|
+
{"version":3,"file":"get-library-version.d.mts","names":[],"sources":["../../src/actions/get-library-version.ts"],"mappings":";;;cAIa,+CAAA,EAA+C,CAAA,CAAA,SAAA;;;;cAI/C,gDAAA,EAAgD,CAAA,CAAA,SAAA;;;;;;;;;;;cAYhD,0CAAA,gCAA0C,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-library-version.mjs","names":[],"sources":["../../src/actions/get-library-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationGetLibraryVersionInput
|
|
1
|
+
{"version":3,"file":"get-library-version.mjs","names":[],"sources":["../../src/actions/get-library-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationGetLibraryVersionInput = z.object({\n id: z.string().describe(\"The library ID\"),\n versionId: z.string().describe(\"The version ID of the library\"),\n}).describe(\"Request parameters for retrieving a single library version.\");\nexport const RudderstackTransformationGetLibraryVersionOutput = z.object({\n id: z.string().describe(\"The library ID\").nullable().optional(),\n code: z.string().describe(\"The code content of the library\").nullable().optional(),\n name: z.string().describe(\"The name of the library\").nullable().optional(),\n language: z.string().describe(\"The programming language of the library\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the library version was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the library version was last updated\").nullable().optional(),\n versionId: z.string().describe(\"The version ID of the library\").nullable().optional(),\n description: z.string().describe(\"The description of the library\").nullable().optional(),\n isPublished: z.boolean().describe(\"Whether the library version is published\").nullable().optional(),\n}).describe(\"Response containing library version details.\");\n\nexport const rudderstackTransformationGetLibraryVersion = action(\"RUDDERSTACK_TRANSFORMATION_GET_LIBRARY_VERSION\", {\n slug: \"rudderstack_transformation-get-library-version\",\n name: \"Get Library Version\",\n description: \"Tool to retrieve a single library version by library ID and version ID. Use when you need to fetch details of a specific library revision in RudderStack transformations.\",\n input: RudderstackTransformationGetLibraryVersionInput,\n output: RudderstackTransformationGetLibraryVersionOutput,\n});\n"],"mappings":";;AAoBA,MAAa,6CAA6C,OAAO,kDAAkD;CACjH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB6D,EAAE,OAAO;EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB;EACxC,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAChE,CAAC,CAAC,CAAC,SAAS,6DAiBH;CACP,QAjB8D,EAAE,OAAO;EACvE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-library.cjs","names":["z","action"],"sources":["../../src/actions/get-library.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationGetLibraryInput
|
|
1
|
+
{"version":3,"file":"get-library.cjs","names":["z","action"],"sources":["../../src/actions/get-library.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationGetLibraryInput = z.object({\n id: z.string().describe(\"The unique identifier of the library to retrieve.\"),\n}).describe(\"Request model for retrieving a single published library by ID.\");\nexport const RudderstackTransformationGetLibraryOutput = z.object({\n id: z.string().describe(\"Unique identifier of the library.\").nullable().optional(),\n code: z.string().describe(\"The library code content.\").nullable().optional(),\n name: z.string().describe(\"Name of the library.\").nullable().optional(),\n language: z.string().describe(\"Programming language of the library (e.g., 'javascript', 'python').\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp of when the library was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp of when the library was last updated.\").nullable().optional(),\n versionId: z.string().describe(\"Version identifier of the library.\").nullable().optional(),\n importName: z.string().describe(\"Import name used to reference the library.\").nullable().optional(),\n description: z.string().describe(\"Description of the library.\").nullable().optional(),\n}).describe(\"Response model containing the library details.\");\n\nexport const rudderstackTransformationGetLibrary = action(\"RUDDERSTACK_TRANSFORMATION_GET_LIBRARY\", {\n slug: \"rudderstack_transformation-get-library\",\n name: \"Get library by ID\",\n description: \"Retrieves a single published library by its unique identifier. Use when you need to fetch details of a specific library.\",\n input: RudderstackTransformationGetLibraryInput,\n output: RudderstackTransformationGetLibraryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,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