@keystrokehq/rudderstack_transformation 0.1.4 → 0.1.5
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 +1 -0
- package/dist/actions/create-library.cjs.map +1 -1
- package/dist/actions/create-library.d.cts +3 -23
- package/dist/actions/create-library.d.cts.map +1 -1
- package/dist/actions/create-library.d.mts +3 -23
- package/dist/actions/create-library.d.mts.map +1 -1
- package/dist/actions/create-library.mjs +1 -0
- package/dist/actions/create-library.mjs.map +1 -1
- package/dist/actions/create-transformation.cjs +1 -0
- package/dist/actions/create-transformation.cjs.map +1 -1
- package/dist/actions/create-transformation.d.cts +3 -25
- package/dist/actions/create-transformation.d.cts.map +1 -1
- package/dist/actions/create-transformation.d.mts +3 -25
- package/dist/actions/create-transformation.d.mts.map +1 -1
- package/dist/actions/create-transformation.mjs +1 -0
- package/dist/actions/create-transformation.mjs.map +1 -1
- package/dist/actions/delete-transformation.cjs +1 -0
- package/dist/actions/delete-transformation.cjs.map +1 -1
- package/dist/actions/delete-transformation.d.cts +3 -19
- package/dist/actions/delete-transformation.d.cts.map +1 -1
- package/dist/actions/delete-transformation.d.mts +3 -19
- package/dist/actions/delete-transformation.d.mts.map +1 -1
- package/dist/actions/delete-transformation.mjs +1 -0
- package/dist/actions/delete-transformation.mjs.map +1 -1
- package/dist/actions/get-library-version.cjs +1 -0
- package/dist/actions/get-library-version.cjs.map +1 -1
- package/dist/actions/get-library-version.d.cts +3 -20
- package/dist/actions/get-library-version.d.cts.map +1 -1
- package/dist/actions/get-library-version.d.mts +3 -20
- package/dist/actions/get-library-version.d.mts.map +1 -1
- package/dist/actions/get-library-version.mjs +1 -0
- package/dist/actions/get-library-version.mjs.map +1 -1
- package/dist/actions/get-library.cjs +1 -0
- package/dist/actions/get-library.cjs.map +1 -1
- package/dist/actions/get-library.d.cts +3 -19
- package/dist/actions/get-library.d.cts.map +1 -1
- package/dist/actions/get-library.d.mts +3 -19
- package/dist/actions/get-library.d.mts.map +1 -1
- package/dist/actions/get-library.mjs +1 -0
- package/dist/actions/get-library.mjs.map +1 -1
- package/dist/actions/get-transformation-version.cjs +1 -0
- package/dist/actions/get-transformation-version.cjs.map +1 -1
- package/dist/actions/get-transformation-version.d.cts +3 -20
- package/dist/actions/get-transformation-version.d.cts.map +1 -1
- package/dist/actions/get-transformation-version.d.mts +3 -20
- package/dist/actions/get-transformation-version.d.mts.map +1 -1
- package/dist/actions/get-transformation-version.mjs +1 -0
- package/dist/actions/get-transformation-version.mjs.map +1 -1
- package/dist/actions/get-transformation.cjs +1 -0
- package/dist/actions/get-transformation.cjs.map +1 -1
- package/dist/actions/get-transformation.d.cts +3 -19
- package/dist/actions/get-transformation.d.cts.map +1 -1
- package/dist/actions/get-transformation.d.mts +3 -19
- package/dist/actions/get-transformation.d.mts.map +1 -1
- package/dist/actions/get-transformation.mjs +1 -0
- package/dist/actions/get-transformation.mjs.map +1 -1
- package/dist/actions/list-libraries.cjs +1 -0
- package/dist/actions/list-libraries.cjs.map +1 -1
- package/dist/actions/list-libraries.d.cts +3 -17
- package/dist/actions/list-libraries.d.cts.map +1 -1
- package/dist/actions/list-libraries.d.mts +3 -17
- package/dist/actions/list-libraries.d.mts.map +1 -1
- package/dist/actions/list-libraries.mjs +1 -0
- package/dist/actions/list-libraries.mjs.map +1 -1
- package/dist/actions/list-library-versions.cjs +1 -0
- package/dist/actions/list-library-versions.cjs.map +1 -1
- package/dist/actions/list-library-versions.d.cts +3 -21
- package/dist/actions/list-library-versions.d.cts.map +1 -1
- package/dist/actions/list-library-versions.d.mts +3 -21
- package/dist/actions/list-library-versions.d.mts.map +1 -1
- package/dist/actions/list-library-versions.mjs +1 -0
- package/dist/actions/list-library-versions.mjs.map +1 -1
- package/dist/actions/list-transformation-versions.cjs +1 -0
- package/dist/actions/list-transformation-versions.cjs.map +1 -1
- package/dist/actions/list-transformation-versions.d.cts +3 -21
- package/dist/actions/list-transformation-versions.d.cts.map +1 -1
- package/dist/actions/list-transformation-versions.d.mts +3 -21
- package/dist/actions/list-transformation-versions.d.mts.map +1 -1
- package/dist/actions/list-transformation-versions.mjs +1 -0
- package/dist/actions/list-transformation-versions.mjs.map +1 -1
- package/dist/actions/list-transformations.cjs +1 -0
- package/dist/actions/list-transformations.cjs.map +1 -1
- package/dist/actions/list-transformations.d.cts +3 -17
- package/dist/actions/list-transformations.d.cts.map +1 -1
- package/dist/actions/list-transformations.d.mts +3 -17
- package/dist/actions/list-transformations.d.mts.map +1 -1
- package/dist/actions/list-transformations.mjs +1 -0
- package/dist/actions/list-transformations.mjs.map +1 -1
- package/dist/actions/update-transformation.cjs +1 -0
- package/dist/actions/update-transformation.cjs.map +1 -1
- package/dist/actions/update-transformation.d.cts +3 -23
- package/dist/actions/update-transformation.d.cts.map +1 -1
- package/dist/actions/update-transformation.d.mts +3 -23
- package/dist/actions/update-transformation.d.mts.map +1 -1
- package/dist/actions/update-transformation.mjs +1 -0
- package/dist/actions/update-transformation.mjs.map +1 -1
- package/dist/app.cjs +6 -5
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-library-versions.mjs","names":[],"sources":["../../src/actions/list-library-versions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationListLibraryVersionsInput = z.object({\n id: z.string().describe(\"The library ID to retrieve versions for\"),\n count: z.number().int().describe(\"Gets the number of objects in your array. By default always returns the first 5 objects.\").optional(),\n orderBy: z.string().describe(\"Pass either 'asc' for ascending or 'desc' for descending. By default, it sets the order as ascending on createdAt.\").optional(),\n}).describe(\"Request model for listing all library versions.\");\nconst RudderstackTransformationListLibraryVersions_LibraryVersionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the library version\").nullable().optional(),\n code: z.string().describe(\"Code content of the library version\").nullable().optional(),\n name: z.string().describe(\"Name of the library version\").nullable().optional(),\n language: z.string().describe(\"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(\"Version identifier of the library\").nullable().optional(),\n description: z.string().describe(\"Description of the library version\").nullable().optional(),\n isPublished: z.boolean().describe(\"Whether the library version is published\").nullable().optional(),\n}).passthrough().describe(\"A single library version object.\");\nexport const RudderstackTransformationListLibraryVersionsOutput = z.object({\n libraries: z.array(RudderstackTransformationListLibraryVersions_LibraryVersionSchema).describe(\"List of library versions for the specified library ID\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all library versions.\");\n\nexport const rudderstackTransformationListLibraryVersions = action(\"RUDDERSTACK_TRANSFORMATION_LIST_LIBRARY_VERSIONS\", {\n slug: \"rudderstack_transformation-list-library-versions\",\n name: \"List Library Versions\",\n description: \"Tool to get all library revisions for a library ID. Use when you need to retrieve all versions of a specific library in RudderStack Transformation.\",\n input: RudderstackTransformationListLibraryVersionsInput,\n output: RudderstackTransformationListLibraryVersionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-library-versions.mjs","names":[],"sources":["../../src/actions/list-library-versions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rudderstackTransformation } from \"../app\";\n\nexport const RudderstackTransformationListLibraryVersionsInput = z.object({\n id: z.string().describe(\"The library ID to retrieve versions for\"),\n count: z.number().int().describe(\"Gets the number of objects in your array. By default always returns the first 5 objects.\").optional(),\n orderBy: z.string().describe(\"Pass either 'asc' for ascending or 'desc' for descending. By default, it sets the order as ascending on createdAt.\").optional(),\n}).describe(\"Request model for listing all library versions.\");\nconst RudderstackTransformationListLibraryVersions_LibraryVersionSchema = z.object({\n id: z.string().describe(\"Unique identifier for the library version\").nullable().optional(),\n code: z.string().describe(\"Code content of the library version\").nullable().optional(),\n name: z.string().describe(\"Name of the library version\").nullable().optional(),\n language: z.string().describe(\"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(\"Version identifier of the library\").nullable().optional(),\n description: z.string().describe(\"Description of the library version\").nullable().optional(),\n isPublished: z.boolean().describe(\"Whether the library version is published\").nullable().optional(),\n}).passthrough().describe(\"A single library version object.\");\nexport const RudderstackTransformationListLibraryVersionsOutput = z.object({\n libraries: z.array(RudderstackTransformationListLibraryVersions_LibraryVersionSchema).describe(\"List of library versions for the specified library ID\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing all library versions.\");\n\nexport const rudderstackTransformationListLibraryVersions: AppAction<\n typeof RudderstackTransformationListLibraryVersionsInput,\n typeof RudderstackTransformationListLibraryVersionsOutput,\n typeof rudderstackTransformation.credential\n> = action(\"RUDDERSTACK_TRANSFORMATION_LIST_LIBRARY_VERSIONS\", {\n slug: \"rudderstack_transformation-list-library-versions\",\n name: \"List Library Versions\",\n description: \"Tool to get all library revisions for a library ID. Use when you need to retrieve all versions of a specific library in RudderStack Transformation.\",\n input: RudderstackTransformationListLibraryVersionsInput,\n output: RudderstackTransformationListLibraryVersionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oDAAoD,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACtI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,oEAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAK5D,MAAa,+CAIT,OAAO,oDAAoD;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbgE,EAAE,OAAO,EACzE,WAAW,EAAE,MAAM,iEAAiE,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9K,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-transformation-versions.cjs","names":["z","action"],"sources":["../../src/actions/list-transformation-versions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationListTransformationVersionsInput = z.object({\n id: z.string().describe(\"The transformation ID for which to retrieve all versions\"),\n count: z.number().int().describe(\"Gets the number of objects in your array. By default always returns the first 5 objects.\").optional(),\n orderBy: z.string().describe(\"Pass either 'asc' for ascending or 'desc' for descending. By default, it sets the order as ascending on createdAt.\").optional(),\n}).describe(\"Request model for listing transformation versions.\");\nconst RudderstackTransformationListTransformationVersions_TransformationVersionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the transformation\").nullable().optional(),\n code: z.string().describe(\"The transformation code\").nullable().optional(),\n name: z.string().describe(\"The name of the transformation\").nullable().optional(),\n language: z.string().describe(\"The programming language of the transformation (e.g., javascript, python)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when this version was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when this version was last updated\").nullable().optional(),\n versionId: z.string().describe(\"The unique identifier of this specific version\").nullable().optional(),\n codeVersion: z.string().describe(\"The version of the transformation code\").nullable().optional(),\n description: z.string().describe(\"Description of the transformation\").nullable().optional(),\n}).passthrough().describe(\"Individual transformation version details.\");\nexport const RudderstackTransformationListTransformationVersionsOutput = z.object({\n TransformationVersions: z.array(RudderstackTransformationListTransformationVersions_TransformationVersionSchema).describe(\"List of all transformation versions for the given transformation ID\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing transformation versions.\");\n\nexport const rudderstackTransformationListTransformationVersions = action(\"RUDDERSTACK_TRANSFORMATION_LIST_TRANSFORMATION_VERSIONS\", {\n slug: \"rudderstack_transformation-list-transformation-versions\",\n name: \"List Transformation Versions\",\n description: \"Tool to list all transformation versions (revisions) for a given transformation ID. Use when you need to retrieve the version history of a specific transformation.\",\n input: RudderstackTransformationListTransformationVersionsInput,\n output: RudderstackTransformationListTransformationVersionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-transformation-versions.cjs","names":["z","action"],"sources":["../../src/actions/list-transformation-versions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rudderstackTransformation } from \"../app\";\n\nexport const RudderstackTransformationListTransformationVersionsInput = z.object({\n id: z.string().describe(\"The transformation ID for which to retrieve all versions\"),\n count: z.number().int().describe(\"Gets the number of objects in your array. By default always returns the first 5 objects.\").optional(),\n orderBy: z.string().describe(\"Pass either 'asc' for ascending or 'desc' for descending. By default, it sets the order as ascending on createdAt.\").optional(),\n}).describe(\"Request model for listing transformation versions.\");\nconst RudderstackTransformationListTransformationVersions_TransformationVersionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the transformation\").nullable().optional(),\n code: z.string().describe(\"The transformation code\").nullable().optional(),\n name: z.string().describe(\"The name of the transformation\").nullable().optional(),\n language: z.string().describe(\"The programming language of the transformation (e.g., javascript, python)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when this version was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when this version was last updated\").nullable().optional(),\n versionId: z.string().describe(\"The unique identifier of this specific version\").nullable().optional(),\n codeVersion: z.string().describe(\"The version of the transformation code\").nullable().optional(),\n description: z.string().describe(\"Description of the transformation\").nullable().optional(),\n}).passthrough().describe(\"Individual transformation version details.\");\nexport const RudderstackTransformationListTransformationVersionsOutput = z.object({\n TransformationVersions: z.array(RudderstackTransformationListTransformationVersions_TransformationVersionSchema).describe(\"List of all transformation versions for the given transformation ID\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing transformation versions.\");\n\nexport const rudderstackTransformationListTransformationVersions: AppAction<\n typeof RudderstackTransformationListTransformationVersionsInput,\n typeof RudderstackTransformationListTransformationVersionsOutput,\n typeof rudderstackTransformation.credential\n> = action(\"RUDDERSTACK_TRANSFORMATION_LIST_TRANSFORMATION_VERSIONS\", {\n slug: \"rudderstack_transformation-list-transformation-versions\",\n name: \"List Transformation Versions\",\n description: \"Tool to list all transformation versions (revisions) for a given transformation ID. Use when you need to retrieve the version history of a specific transformation.\",\n input: RudderstackTransformationListTransformationVersionsInput,\n output: RudderstackTransformationListTransformationVersionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2DAA2DA,IAAAA,EAAE,OAAO;CAC/E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACtI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,kFAAkFA,IAAAA,EAAE,OAAO;CAC/F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,4DAA4DA,IAAAA,EAAE,OAAO,EAChF,wBAAwBA,IAAAA,EAAE,MAAM,+EAA+E,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,sDAITC,eAAAA,OAAO,2DAA2D;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rudderstackTransformation } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-transformation-versions.d.ts
|
|
@@ -19,27 +21,7 @@ declare const RudderstackTransformationListTransformationVersionsOutput: z.ZodOb
|
|
|
19
21
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>>>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const rudderstackTransformationListTransformationVersions:
|
|
23
|
-
id: string;
|
|
24
|
-
count?: number | undefined;
|
|
25
|
-
orderBy?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rudderstack_transformation", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
region: z.ZodString;
|
|
32
|
-
username: z.ZodString;
|
|
33
|
-
password: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rudderstack_transformation", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
region: z.ZodString;
|
|
40
|
-
username: z.ZodString;
|
|
41
|
-
password: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const rudderstackTransformationListTransformationVersions: AppAction<typeof RudderstackTransformationListTransformationVersionsInput, typeof RudderstackTransformationListTransformationVersionsOutput, typeof rudderstackTransformation.credential>;
|
|
43
25
|
//#endregion
|
|
44
26
|
export { rudderstackTransformationListTransformationVersions };
|
|
45
27
|
//# sourceMappingURL=list-transformation-versions.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-transformation-versions.d.cts","names":[],"sources":["../../src/actions/list-transformation-versions.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-transformation-versions.d.cts","names":[],"sources":["../../src/actions/list-transformation-versions.ts"],"mappings":";;;;;cAMa,wDAAA,EAAwD,CAAA,CAAA,SAAA;;;;;cAgBxD,yDAAA,EAAyD,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIzD,mDAAA,EAAqD,SAAA,QACzD,wDAAA,SACA,yDAAA,SACA,yBAAA,CAA0B,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rudderstackTransformation } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-transformation-versions.d.ts
|
|
@@ -19,27 +21,7 @@ declare const RudderstackTransformationListTransformationVersionsOutput: z.ZodOb
|
|
|
19
21
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>>>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const rudderstackTransformationListTransformationVersions:
|
|
23
|
-
id: string;
|
|
24
|
-
count?: number | undefined;
|
|
25
|
-
orderBy?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rudderstack_transformation", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
region: z.ZodString;
|
|
32
|
-
username: z.ZodString;
|
|
33
|
-
password: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rudderstack_transformation", z.ZodObject<{
|
|
35
|
-
connectionId: z.ZodString;
|
|
36
|
-
entityId: z.ZodString;
|
|
37
|
-
instanceId: z.ZodString;
|
|
38
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
-
region: z.ZodString;
|
|
40
|
-
username: z.ZodString;
|
|
41
|
-
password: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const rudderstackTransformationListTransformationVersions: AppAction<typeof RudderstackTransformationListTransformationVersionsInput, typeof RudderstackTransformationListTransformationVersionsOutput, typeof rudderstackTransformation.credential>;
|
|
43
25
|
//#endregion
|
|
44
26
|
export { rudderstackTransformationListTransformationVersions };
|
|
45
27
|
//# sourceMappingURL=list-transformation-versions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-transformation-versions.d.mts","names":[],"sources":["../../src/actions/list-transformation-versions.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-transformation-versions.d.mts","names":[],"sources":["../../src/actions/list-transformation-versions.ts"],"mappings":";;;;;cAMa,wDAAA,EAAwD,CAAA,CAAA,SAAA;;;;;cAgBxD,yDAAA,EAAyD,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAIzD,mDAAA,EAAqD,SAAA,QACzD,wDAAA,SACA,yDAAA,SACA,yBAAA,CAA0B,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-transformation-versions.mjs","names":[],"sources":["../../src/actions/list-transformation-versions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationListTransformationVersionsInput = z.object({\n id: z.string().describe(\"The transformation ID for which to retrieve all versions\"),\n count: z.number().int().describe(\"Gets the number of objects in your array. By default always returns the first 5 objects.\").optional(),\n orderBy: z.string().describe(\"Pass either 'asc' for ascending or 'desc' for descending. By default, it sets the order as ascending on createdAt.\").optional(),\n}).describe(\"Request model for listing transformation versions.\");\nconst RudderstackTransformationListTransformationVersions_TransformationVersionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the transformation\").nullable().optional(),\n code: z.string().describe(\"The transformation code\").nullable().optional(),\n name: z.string().describe(\"The name of the transformation\").nullable().optional(),\n language: z.string().describe(\"The programming language of the transformation (e.g., javascript, python)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when this version was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when this version was last updated\").nullable().optional(),\n versionId: z.string().describe(\"The unique identifier of this specific version\").nullable().optional(),\n codeVersion: z.string().describe(\"The version of the transformation code\").nullable().optional(),\n description: z.string().describe(\"Description of the transformation\").nullable().optional(),\n}).passthrough().describe(\"Individual transformation version details.\");\nexport const RudderstackTransformationListTransformationVersionsOutput = z.object({\n TransformationVersions: z.array(RudderstackTransformationListTransformationVersions_TransformationVersionSchema).describe(\"List of all transformation versions for the given transformation ID\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing transformation versions.\");\n\nexport const rudderstackTransformationListTransformationVersions = action(\"RUDDERSTACK_TRANSFORMATION_LIST_TRANSFORMATION_VERSIONS\", {\n slug: \"rudderstack_transformation-list-transformation-versions\",\n name: \"List Transformation Versions\",\n description: \"Tool to list all transformation versions (revisions) for a given transformation ID. Use when you need to retrieve the version history of a specific transformation.\",\n input: RudderstackTransformationListTransformationVersionsInput,\n output: RudderstackTransformationListTransformationVersionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-transformation-versions.mjs","names":[],"sources":["../../src/actions/list-transformation-versions.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rudderstackTransformation } from \"../app\";\n\nexport const RudderstackTransformationListTransformationVersionsInput = z.object({\n id: z.string().describe(\"The transformation ID for which to retrieve all versions\"),\n count: z.number().int().describe(\"Gets the number of objects in your array. By default always returns the first 5 objects.\").optional(),\n orderBy: z.string().describe(\"Pass either 'asc' for ascending or 'desc' for descending. By default, it sets the order as ascending on createdAt.\").optional(),\n}).describe(\"Request model for listing transformation versions.\");\nconst RudderstackTransformationListTransformationVersions_TransformationVersionSchema = z.object({\n id: z.string().describe(\"The unique identifier of the transformation\").nullable().optional(),\n code: z.string().describe(\"The transformation code\").nullable().optional(),\n name: z.string().describe(\"The name of the transformation\").nullable().optional(),\n language: z.string().describe(\"The programming language of the transformation (e.g., javascript, python)\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when this version was created\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when this version was last updated\").nullable().optional(),\n versionId: z.string().describe(\"The unique identifier of this specific version\").nullable().optional(),\n codeVersion: z.string().describe(\"The version of the transformation code\").nullable().optional(),\n description: z.string().describe(\"Description of the transformation\").nullable().optional(),\n}).passthrough().describe(\"Individual transformation version details.\");\nexport const RudderstackTransformationListTransformationVersionsOutput = z.object({\n TransformationVersions: z.array(RudderstackTransformationListTransformationVersions_TransformationVersionSchema).describe(\"List of all transformation versions for the given transformation ID\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing transformation versions.\");\n\nexport const rudderstackTransformationListTransformationVersions: AppAction<\n typeof RudderstackTransformationListTransformationVersionsInput,\n typeof RudderstackTransformationListTransformationVersionsOutput,\n typeof rudderstackTransformation.credential\n> = action(\"RUDDERSTACK_TRANSFORMATION_LIST_TRANSFORMATION_VERSIONS\", {\n slug: \"rudderstack_transformation-list-transformation-versions\",\n name: \"List Transformation Versions\",\n description: \"Tool to list all transformation versions (revisions) for a given transformation ID. Use when you need to retrieve the version history of a specific transformation.\",\n input: RudderstackTransformationListTransformationVersionsInput,\n output: RudderstackTransformationListTransformationVersionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2DAA2D,EAAE,OAAO;CAC/E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACtI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;AAC9J,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,kFAAkF,EAAE,OAAO;CAC/F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,sDAIT,OAAO,2DAA2D;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuE,EAAE,OAAO,EAChF,wBAAwB,EAAE,MAAM,+EAA+E,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvN,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-transformations.cjs","names":["z","action"],"sources":["../../src/actions/list-transformations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationListTransformationsInput = z.object({}).describe(\"Request model for listing all published transformations.\\n\\nThis endpoint requires no parameters - authentication is handled\\nvia the Authorization header.\");\nconst RudderstackTransformationListTransformations_TransformationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the transformation.\").nullable().optional(),\n code: z.string().describe(\"The transformation code/script.\").nullable().optional(),\n name: z.string().describe(\"Name of the transformation.\").nullable().optional(),\n language: z.string().describe(\"Programming language of the transformation code (e.g., 'javascript').\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the transformation was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the transformation was last updated.\").nullable().optional(),\n versionId: z.string().describe(\"Version identifier for the transformation.\").nullable().optional(),\n codeVersion: z.string().describe(\"Version of the transformation code.\").nullable().optional(),\n description: z.string().describe(\"Description of what the transformation does.\").nullable().optional(),\n destinations: z.array(z.string()).describe(\"List of destination IDs or configurations associated with this transformation.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single transformation in RudderStack.\");\nexport const RudderstackTransformationListTransformationsOutput = z.object({\n transformations: z.array(RudderstackTransformationListTransformations_TransformationSchema).describe(\"Array of published transformation objects for the workspace.\"),\n}).passthrough().describe(\"Response model containing all published transformations for the workspace.\");\n\nexport const rudderstackTransformationListTransformations = action(\"RUDDERSTACK_TRANSFORMATION_LIST_TRANSFORMATIONS\", {\n slug: \"rudderstack_transformation-list-transformations\",\n name: \"List All Transformations\",\n description: \"Tool to retrieve all published transformations for a workspace. Use when you need to list available transformations or find a specific transformation by name.\",\n input: RudderstackTransformationListTransformationsInput,\n output: RudderstackTransformationListTransformationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-transformations.cjs","names":["z","action"],"sources":["../../src/actions/list-transformations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rudderstackTransformation } from \"../app\";\n\nexport const RudderstackTransformationListTransformationsInput = z.object({}).describe(\"Request model for listing all published transformations.\\n\\nThis endpoint requires no parameters - authentication is handled\\nvia the Authorization header.\");\nconst RudderstackTransformationListTransformations_TransformationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the transformation.\").nullable().optional(),\n code: z.string().describe(\"The transformation code/script.\").nullable().optional(),\n name: z.string().describe(\"Name of the transformation.\").nullable().optional(),\n language: z.string().describe(\"Programming language of the transformation code (e.g., 'javascript').\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the transformation was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the transformation was last updated.\").nullable().optional(),\n versionId: z.string().describe(\"Version identifier for the transformation.\").nullable().optional(),\n codeVersion: z.string().describe(\"Version of the transformation code.\").nullable().optional(),\n description: z.string().describe(\"Description of what the transformation does.\").nullable().optional(),\n destinations: z.array(z.string()).describe(\"List of destination IDs or configurations associated with this transformation.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single transformation in RudderStack.\");\nexport const RudderstackTransformationListTransformationsOutput = z.object({\n transformations: z.array(RudderstackTransformationListTransformations_TransformationSchema).describe(\"Array of published transformation objects for the workspace.\"),\n}).passthrough().describe(\"Response model containing all published transformations for the workspace.\");\n\nexport const rudderstackTransformationListTransformations: AppAction<\n typeof RudderstackTransformationListTransformationsInput,\n typeof RudderstackTransformationListTransformationsOutput,\n typeof rudderstackTransformation.credential\n> = action(\"RUDDERSTACK_TRANSFORMATION_LIST_TRANSFORMATIONS\", {\n slug: \"rudderstack_transformation-list-transformations\",\n name: \"List All Transformations\",\n description: \"Tool to retrieve all published transformations for a workspace. Use when you need to list available transformations or find a specific transformation by name.\",\n input: RudderstackTransformationListTransformationsInput,\n output: RudderstackTransformationListTransformationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oDAAoDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6JAA6J;AACpP,MAAM,oEAAoEA,IAAAA,EAAE,OAAO;CACjF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,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,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAa,qDAAqDA,IAAAA,EAAE,OAAO,EACzE,iBAAiBA,IAAAA,EAAE,MAAM,iEAAiE,CAAC,CAAC,SAAS,8DAA8D,EACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAA4E;AAEtG,MAAa,+CAITC,eAAAA,OAAO,mDAAmD;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rudderstackTransformation } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-transformations.d.ts
|
|
@@ -16,23 +18,7 @@ declare const RudderstackTransformationListTransformationsOutput: z.ZodObject<{
|
|
|
16
18
|
destinations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const rudderstackTransformationListTransformations:
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
region: z.ZodString;
|
|
25
|
-
username: z.ZodString;
|
|
26
|
-
password: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rudderstack_transformation", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
region: z.ZodString;
|
|
33
|
-
username: z.ZodString;
|
|
34
|
-
password: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const rudderstackTransformationListTransformations: AppAction<typeof RudderstackTransformationListTransformationsInput, typeof RudderstackTransformationListTransformationsOutput, typeof rudderstackTransformation.credential>;
|
|
36
22
|
//#endregion
|
|
37
23
|
export { rudderstackTransformationListTransformations };
|
|
38
24
|
//# sourceMappingURL=list-transformations.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-transformations.d.cts","names":[],"sources":["../../src/actions/list-transformations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-transformations.d.cts","names":[],"sources":["../../src/actions/list-transformations.ts"],"mappings":";;;;;cAMa,iDAAA,EAAiD,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAajD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIlD,4CAAA,EAA8C,SAAA,QAClD,iDAAA,SACA,kDAAA,SACA,yBAAA,CAA0B,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rudderstackTransformation } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-transformations.d.ts
|
|
@@ -16,23 +18,7 @@ declare const RudderstackTransformationListTransformationsOutput: z.ZodObject<{
|
|
|
16
18
|
destinations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const rudderstackTransformationListTransformations:
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
region: z.ZodString;
|
|
25
|
-
username: z.ZodString;
|
|
26
|
-
password: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rudderstack_transformation", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
region: z.ZodString;
|
|
33
|
-
username: z.ZodString;
|
|
34
|
-
password: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>;
|
|
21
|
+
declare const rudderstackTransformationListTransformations: AppAction<typeof RudderstackTransformationListTransformationsInput, typeof RudderstackTransformationListTransformationsOutput, typeof rudderstackTransformation.credential>;
|
|
36
22
|
//#endregion
|
|
37
23
|
export { rudderstackTransformationListTransformations };
|
|
38
24
|
//# sourceMappingURL=list-transformations.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-transformations.d.mts","names":[],"sources":["../../src/actions/list-transformations.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-transformations.d.mts","names":[],"sources":["../../src/actions/list-transformations.ts"],"mappings":";;;;;cAMa,iDAAA,EAAiD,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAajD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAIlD,4CAAA,EAA8C,SAAA,QAClD,iDAAA,SACA,kDAAA,SACA,yBAAA,CAA0B,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-transformations.mjs","names":[],"sources":["../../src/actions/list-transformations.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationListTransformationsInput = z.object({}).describe(\"Request model for listing all published transformations.\\n\\nThis endpoint requires no parameters - authentication is handled\\nvia the Authorization header.\");\nconst RudderstackTransformationListTransformations_TransformationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the transformation.\").nullable().optional(),\n code: z.string().describe(\"The transformation code/script.\").nullable().optional(),\n name: z.string().describe(\"Name of the transformation.\").nullable().optional(),\n language: z.string().describe(\"Programming language of the transformation code (e.g., 'javascript').\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the transformation was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the transformation was last updated.\").nullable().optional(),\n versionId: z.string().describe(\"Version identifier for the transformation.\").nullable().optional(),\n codeVersion: z.string().describe(\"Version of the transformation code.\").nullable().optional(),\n description: z.string().describe(\"Description of what the transformation does.\").nullable().optional(),\n destinations: z.array(z.string()).describe(\"List of destination IDs or configurations associated with this transformation.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single transformation in RudderStack.\");\nexport const RudderstackTransformationListTransformationsOutput = z.object({\n transformations: z.array(RudderstackTransformationListTransformations_TransformationSchema).describe(\"Array of published transformation objects for the workspace.\"),\n}).passthrough().describe(\"Response model containing all published transformations for the workspace.\");\n\nexport const rudderstackTransformationListTransformations = action(\"RUDDERSTACK_TRANSFORMATION_LIST_TRANSFORMATIONS\", {\n slug: \"rudderstack_transformation-list-transformations\",\n name: \"List All Transformations\",\n description: \"Tool to retrieve all published transformations for a workspace. Use when you need to list available transformations or find a specific transformation by name.\",\n input: RudderstackTransformationListTransformationsInput,\n output: RudderstackTransformationListTransformationsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-transformations.mjs","names":[],"sources":["../../src/actions/list-transformations.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rudderstackTransformation } from \"../app\";\n\nexport const RudderstackTransformationListTransformationsInput = z.object({}).describe(\"Request model for listing all published transformations.\\n\\nThis endpoint requires no parameters - authentication is handled\\nvia the Authorization header.\");\nconst RudderstackTransformationListTransformations_TransformationSchema = z.object({\n id: z.string().describe(\"Unique identifier for the transformation.\").nullable().optional(),\n code: z.string().describe(\"The transformation code/script.\").nullable().optional(),\n name: z.string().describe(\"Name of the transformation.\").nullable().optional(),\n language: z.string().describe(\"Programming language of the transformation code (e.g., 'javascript').\").nullable().optional(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when the transformation was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when the transformation was last updated.\").nullable().optional(),\n versionId: z.string().describe(\"Version identifier for the transformation.\").nullable().optional(),\n codeVersion: z.string().describe(\"Version of the transformation code.\").nullable().optional(),\n description: z.string().describe(\"Description of what the transformation does.\").nullable().optional(),\n destinations: z.array(z.string()).describe(\"List of destination IDs or configurations associated with this transformation.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single transformation in RudderStack.\");\nexport const RudderstackTransformationListTransformationsOutput = z.object({\n transformations: z.array(RudderstackTransformationListTransformations_TransformationSchema).describe(\"Array of published transformation objects for the workspace.\"),\n}).passthrough().describe(\"Response model containing all published transformations for the workspace.\");\n\nexport const rudderstackTransformationListTransformations: AppAction<\n typeof RudderstackTransformationListTransformationsInput,\n typeof RudderstackTransformationListTransformationsOutput,\n typeof rudderstackTransformation.credential\n> = action(\"RUDDERSTACK_TRANSFORMATION_LIST_TRANSFORMATIONS\", {\n slug: \"rudderstack_transformation-list-transformations\",\n name: \"List All Transformations\",\n description: \"Tool to retrieve all published transformations for a workspace. Use when you need to list available transformations or find a specific transformation by name.\",\n input: RudderstackTransformationListTransformationsInput,\n output: RudderstackTransformationListTransformationsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oDAAoD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6JAA6J;AACpP,MAAM,oEAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAKtF,MAAa,+CAIT,OAAO,mDAAmD;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbgE,EAAE,OAAO,EACzE,iBAAiB,EAAE,MAAM,iEAAiE,CAAC,CAAC,SAAS,8DAA8D,EACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4EAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-transformation.cjs","names":["z","action"],"sources":["../../src/actions/update-transformation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationUpdateTransformationInput = z.object({\n id: z.string().describe(\"The transformation ID to update.\"),\n code: z.string().describe(\"Updated transformation code. Cannot change the language of the transformation code.\").optional(),\n name: z.string().describe(\"Updated transformation name.\").optional(),\n publish: z.boolean().describe(\"If true, publishes the transformation to the latest version. If false or omitted, only creates a new revision without publishing.\").optional(),\n description: z.string().describe(\"Updated transformation description.\").optional(),\n}).describe(\"Request parameters for updating and optionally publishing a RudderStack transformation.\");\nexport const RudderstackTransformationUpdateTransformationOutput = z.object({\n id: z.string().describe(\"The transformation ID.\").nullable().optional(),\n code: z.string().describe(\"The transformation code.\").nullable().optional(),\n name: z.string().describe(\"The transformation name.\").nullable().optional(),\n language: z.string().describe(\"The programming language of the transformation code.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the transformation was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the transformation was last updated.\").nullable().optional(),\n versionId: z.string().describe(\"The version ID of the transformation.\").nullable().optional(),\n codeVersion: z.string().describe(\"The version of the transformation code.\").nullable().optional(),\n description: z.string().describe(\"The transformation description.\").nullable().optional(),\n}).passthrough().describe(\"Response from RudderStack after updating a transformation.\");\n\nexport const rudderstackTransformationUpdateTransformation = action(\"RUDDERSTACK_TRANSFORMATION_UPDATE_TRANSFORMATION\", {\n slug: \"rudderstack_transformation-update-transformation\",\n name: \"Update Transformation\",\n description: \"Tool to update and optionally publish a RudderStack transformation. Use when you need to modify a transformation's name, description, or code. Updating creates a new revision and sets it as published if the publish flag is true.\",\n input: RudderstackTransformationUpdateTransformationInput,\n output: RudderstackTransformationUpdateTransformationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-transformation.cjs","names":["z","action"],"sources":["../../src/actions/update-transformation.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rudderstackTransformation } from \"../app\";\n\nexport const RudderstackTransformationUpdateTransformationInput = z.object({\n id: z.string().describe(\"The transformation ID to update.\"),\n code: z.string().describe(\"Updated transformation code. Cannot change the language of the transformation code.\").optional(),\n name: z.string().describe(\"Updated transformation name.\").optional(),\n publish: z.boolean().describe(\"If true, publishes the transformation to the latest version. If false or omitted, only creates a new revision without publishing.\").optional(),\n description: z.string().describe(\"Updated transformation description.\").optional(),\n}).describe(\"Request parameters for updating and optionally publishing a RudderStack transformation.\");\nexport const RudderstackTransformationUpdateTransformationOutput = z.object({\n id: z.string().describe(\"The transformation ID.\").nullable().optional(),\n code: z.string().describe(\"The transformation code.\").nullable().optional(),\n name: z.string().describe(\"The transformation name.\").nullable().optional(),\n language: z.string().describe(\"The programming language of the transformation code.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the transformation was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the transformation was last updated.\").nullable().optional(),\n versionId: z.string().describe(\"The version ID of the transformation.\").nullable().optional(),\n codeVersion: z.string().describe(\"The version of the transformation code.\").nullable().optional(),\n description: z.string().describe(\"The transformation description.\").nullable().optional(),\n}).passthrough().describe(\"Response from RudderStack after updating a transformation.\");\n\nexport const rudderstackTransformationUpdateTransformation: AppAction<\n typeof RudderstackTransformationUpdateTransformationInput,\n typeof RudderstackTransformationUpdateTransformationOutput,\n typeof rudderstackTransformation.credential\n> = action(\"RUDDERSTACK_TRANSFORMATION_UPDATE_TRANSFORMATION\", {\n slug: \"rudderstack_transformation-update-transformation\",\n name: \"Update Transformation\",\n description: \"Tool to update and optionally publish a RudderStack transformation. Use when you need to modify a transformation's name, description, or code. Updating creates a new revision and sets it as published if the publish flag is true.\",\n input: RudderstackTransformationUpdateTransformationInput,\n output: RudderstackTransformationUpdateTransformationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qDAAqDA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC1H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;CAC5K,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,yFAAyF;AACrG,MAAa,sDAAsDA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,gDAITC,eAAAA,OAAO,oDAAoD;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rudderstackTransformation } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-transformation.d.ts
|
|
@@ -19,29 +21,7 @@ declare const RudderstackTransformationUpdateTransformationOutput: z.ZodObject<{
|
|
|
19
21
|
codeVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const rudderstackTransformationUpdateTransformation:
|
|
23
|
-
id: string;
|
|
24
|
-
code?: string | undefined;
|
|
25
|
-
name?: string | undefined;
|
|
26
|
-
publish?: boolean | undefined;
|
|
27
|
-
description?: string | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rudderstack_transformation", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
region: z.ZodString;
|
|
34
|
-
username: z.ZodString;
|
|
35
|
-
password: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rudderstack_transformation", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
region: z.ZodString;
|
|
42
|
-
username: z.ZodString;
|
|
43
|
-
password: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const rudderstackTransformationUpdateTransformation: AppAction<typeof RudderstackTransformationUpdateTransformationInput, typeof RudderstackTransformationUpdateTransformationOutput, typeof rudderstackTransformation.credential>;
|
|
45
25
|
//#endregion
|
|
46
26
|
export { rudderstackTransformationUpdateTransformation };
|
|
47
27
|
//# sourceMappingURL=update-transformation.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-transformation.d.cts","names":[],"sources":["../../src/actions/update-transformation.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-transformation.d.cts","names":[],"sources":["../../src/actions/update-transformation.ts"],"mappings":";;;;;cAMa,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;;cAOlD,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;;;;;cAYnD,6CAAA,EAA+C,SAAA,QACnD,kDAAA,SACA,mDAAA,SACA,yBAAA,CAA0B,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { rudderstackTransformation } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-transformation.d.ts
|
|
@@ -19,29 +21,7 @@ declare const RudderstackTransformationUpdateTransformationOutput: z.ZodObject<{
|
|
|
19
21
|
codeVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const rudderstackTransformationUpdateTransformation:
|
|
23
|
-
id: string;
|
|
24
|
-
code?: string | undefined;
|
|
25
|
-
name?: string | undefined;
|
|
26
|
-
publish?: boolean | undefined;
|
|
27
|
-
description?: string | undefined;
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"rudderstack_transformation", z.ZodObject<{
|
|
29
|
-
connectionId: z.ZodString;
|
|
30
|
-
entityId: z.ZodString;
|
|
31
|
-
instanceId: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
-
region: z.ZodString;
|
|
34
|
-
username: z.ZodString;
|
|
35
|
-
password: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"rudderstack_transformation", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
region: z.ZodString;
|
|
42
|
-
username: z.ZodString;
|
|
43
|
-
password: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const rudderstackTransformationUpdateTransformation: AppAction<typeof RudderstackTransformationUpdateTransformationInput, typeof RudderstackTransformationUpdateTransformationOutput, typeof rudderstackTransformation.credential>;
|
|
45
25
|
//#endregion
|
|
46
26
|
export { rudderstackTransformationUpdateTransformation };
|
|
47
27
|
//# sourceMappingURL=update-transformation.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-transformation.d.mts","names":[],"sources":["../../src/actions/update-transformation.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-transformation.d.mts","names":[],"sources":["../../src/actions/update-transformation.ts"],"mappings":";;;;;cAMa,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;;cAOlD,mDAAA,EAAmD,CAAA,CAAA,SAAA;;;;;;;;;;;cAYnD,6CAAA,EAA+C,SAAA,QACnD,kDAAA,SACA,mDAAA,SACA,yBAAA,CAA0B,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-transformation.mjs","names":[],"sources":["../../src/actions/update-transformation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RudderstackTransformationUpdateTransformationInput = z.object({\n id: z.string().describe(\"The transformation ID to update.\"),\n code: z.string().describe(\"Updated transformation code. Cannot change the language of the transformation code.\").optional(),\n name: z.string().describe(\"Updated transformation name.\").optional(),\n publish: z.boolean().describe(\"If true, publishes the transformation to the latest version. If false or omitted, only creates a new revision without publishing.\").optional(),\n description: z.string().describe(\"Updated transformation description.\").optional(),\n}).describe(\"Request parameters for updating and optionally publishing a RudderStack transformation.\");\nexport const RudderstackTransformationUpdateTransformationOutput = z.object({\n id: z.string().describe(\"The transformation ID.\").nullable().optional(),\n code: z.string().describe(\"The transformation code.\").nullable().optional(),\n name: z.string().describe(\"The transformation name.\").nullable().optional(),\n language: z.string().describe(\"The programming language of the transformation code.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the transformation was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the transformation was last updated.\").nullable().optional(),\n versionId: z.string().describe(\"The version ID of the transformation.\").nullable().optional(),\n codeVersion: z.string().describe(\"The version of the transformation code.\").nullable().optional(),\n description: z.string().describe(\"The transformation description.\").nullable().optional(),\n}).passthrough().describe(\"Response from RudderStack after updating a transformation.\");\n\nexport const rudderstackTransformationUpdateTransformation = action(\"RUDDERSTACK_TRANSFORMATION_UPDATE_TRANSFORMATION\", {\n slug: \"rudderstack_transformation-update-transformation\",\n name: \"Update Transformation\",\n description: \"Tool to update and optionally publish a RudderStack transformation. Use when you need to modify a transformation's name, description, or code. Updating creates a new revision and sets it as published if the publish flag is true.\",\n input: RudderstackTransformationUpdateTransformationInput,\n output: RudderstackTransformationUpdateTransformationOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-transformation.mjs","names":[],"sources":["../../src/actions/update-transformation.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { rudderstackTransformation } from \"../app\";\n\nexport const RudderstackTransformationUpdateTransformationInput = z.object({\n id: z.string().describe(\"The transformation ID to update.\"),\n code: z.string().describe(\"Updated transformation code. Cannot change the language of the transformation code.\").optional(),\n name: z.string().describe(\"Updated transformation name.\").optional(),\n publish: z.boolean().describe(\"If true, publishes the transformation to the latest version. If false or omitted, only creates a new revision without publishing.\").optional(),\n description: z.string().describe(\"Updated transformation description.\").optional(),\n}).describe(\"Request parameters for updating and optionally publishing a RudderStack transformation.\");\nexport const RudderstackTransformationUpdateTransformationOutput = z.object({\n id: z.string().describe(\"The transformation ID.\").nullable().optional(),\n code: z.string().describe(\"The transformation code.\").nullable().optional(),\n name: z.string().describe(\"The transformation name.\").nullable().optional(),\n language: z.string().describe(\"The programming language of the transformation code.\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the transformation was created.\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the transformation was last updated.\").nullable().optional(),\n versionId: z.string().describe(\"The version ID of the transformation.\").nullable().optional(),\n codeVersion: z.string().describe(\"The version of the transformation code.\").nullable().optional(),\n description: z.string().describe(\"The transformation description.\").nullable().optional(),\n}).passthrough().describe(\"Response from RudderStack after updating a transformation.\");\n\nexport const rudderstackTransformationUpdateTransformation: AppAction<\n typeof RudderstackTransformationUpdateTransformationInput,\n typeof RudderstackTransformationUpdateTransformationOutput,\n typeof rudderstackTransformation.credential\n> = action(\"RUDDERSTACK_TRANSFORMATION_UPDATE_TRANSFORMATION\", {\n slug: \"rudderstack_transformation-update-transformation\",\n name: \"Update Transformation\",\n description: \"Tool to update and optionally publish a RudderStack transformation. Use when you need to modify a transformation's name, description, or code. Updating creates a new revision and sets it as published if the publish flag is true.\",\n input: RudderstackTransformationUpdateTransformationInput,\n output: RudderstackTransformationUpdateTransformationOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,gDAIT,OAAO,oDAAoD;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3BgE,EAAE,OAAO;EACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;EAC1H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EACnE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS;EAC5K,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,yFAqBH;CACP,QArBiE,EAAE,OAAO;EAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/app.ts
|
|
4
|
+
const credential = {
|
|
5
|
+
region: zod.z.string(),
|
|
6
|
+
username: zod.z.string(),
|
|
7
|
+
password: zod.z.string()
|
|
8
|
+
};
|
|
4
9
|
const rudderstackTransformation = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
10
|
slug: "rudderstack_transformation",
|
|
6
11
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
8
|
-
region: zod.z.string(),
|
|
9
|
-
username: zod.z.string(),
|
|
10
|
-
password: zod.z.string()
|
|
11
|
-
}
|
|
12
|
+
credential
|
|
12
13
|
});
|
|
13
14
|
//#endregion
|
|
14
15
|
exports.rudderstackTransformation = rudderstackTransformation;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n region: z.string(),\n username: z.string(),\n password: z.string(),\n};\n\nexport const rudderstackTransformation: KeystrokeApp<\"rudderstack_transformation\", typeof credential> = defineApp({\n slug: \"rudderstack_transformation\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,QAAQA,IAAAA,EAAE,OAAO;CACjB,UAAUA,IAAAA,EAAE,OAAO;CACnB,UAAUA,IAAAA,EAAE,OAAO;AACrB;AAEA,MAAa,6BAAA,GAAA,2BAAA,UAAA,CAAqG;CAChH,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
region: z.ZodString;
|
|
10
7
|
username: z.ZodString;
|
|
11
8
|
password: z.ZodString;
|
|
12
|
-
}
|
|
9
|
+
};
|
|
10
|
+
declare const rudderstackTransformation: KeystrokeApp<"rudderstack_transformation", typeof credential>;
|
|
13
11
|
//#endregion
|
|
14
12
|
export { rudderstackTransformation };
|
|
15
13
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;;;;;cAMO,yBAAA,EAA2B,YAAY,sCAAsC,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
region: z.ZodString;
|
|
10
7
|
username: z.ZodString;
|
|
11
8
|
password: z.ZodString;
|
|
12
|
-
}
|
|
9
|
+
};
|
|
10
|
+
declare const rudderstackTransformation: KeystrokeApp<"rudderstack_transformation", typeof credential>;
|
|
13
11
|
//#endregion
|
|
14
12
|
export { rudderstackTransformation };
|
|
15
13
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;;;;;cAMO,yBAAA,EAA2B,YAAY,sCAAsC,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n region: z.string(),\n username: z.string(),\n password: z.string(),\n};\n\nexport const rudderstackTransformation: KeystrokeApp<\"rudderstack_transformation\", typeof credential> = defineApp({\n slug: \"rudderstack_transformation\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AASA,MAAa,4BAA2F,UAAU;CAChH,MAAM;CACN,MAAM;CACN;EARA,QAAQ,EAAE,OAAO;EACjB,UAAU,EAAE,OAAO;EACnB,UAAU,EAAE,OAAO;CAMnB;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { rudderstackTransformation } from "./app.cjs";
|
|
1
2
|
import { rudderstackTransformationCreateLibrary } from "./actions/create-library.cjs";
|
|
2
3
|
import { rudderstackTransformationCreateTransformation } from "./actions/create-transformation.cjs";
|
|
3
4
|
import { rudderstackTransformationDeleteTransformation } from "./actions/delete-transformation.cjs";
|
|
@@ -10,6 +11,5 @@ import { rudderstackTransformationListLibraryVersions } from "./actions/list-lib
|
|
|
10
11
|
import { rudderstackTransformationListTransformationVersions } from "./actions/list-transformation-versions.cjs";
|
|
11
12
|
import { rudderstackTransformationListTransformations } from "./actions/list-transformations.cjs";
|
|
12
13
|
import { rudderstackTransformationUpdateTransformation } from "./actions/update-transformation.cjs";
|
|
13
|
-
import { rudderstackTransformation } from "./app.cjs";
|
|
14
14
|
import { rudderstackTransformationCatalog } from "./catalog.cjs";
|
|
15
15
|
export { rudderstackTransformation, rudderstackTransformationCatalog, rudderstackTransformationCreateLibrary, rudderstackTransformationCreateTransformation, rudderstackTransformationDeleteTransformation, rudderstackTransformationGetLibrary, rudderstackTransformationGetLibraryVersion, rudderstackTransformationGetTransformation, rudderstackTransformationGetTransformationVersion, rudderstackTransformationListLibraries, rudderstackTransformationListLibraryVersions, rudderstackTransformationListTransformationVersions, rudderstackTransformationListTransformations, rudderstackTransformationUpdateTransformation };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { rudderstackTransformation } from "./app.mjs";
|
|
1
2
|
import { rudderstackTransformationCreateLibrary } from "./actions/create-library.mjs";
|
|
2
3
|
import { rudderstackTransformationCreateTransformation } from "./actions/create-transformation.mjs";
|
|
3
4
|
import { rudderstackTransformationDeleteTransformation } from "./actions/delete-transformation.mjs";
|
|
@@ -10,6 +11,5 @@ import { rudderstackTransformationListLibraryVersions } from "./actions/list-lib
|
|
|
10
11
|
import { rudderstackTransformationListTransformationVersions } from "./actions/list-transformation-versions.mjs";
|
|
11
12
|
import { rudderstackTransformationListTransformations } from "./actions/list-transformations.mjs";
|
|
12
13
|
import { rudderstackTransformationUpdateTransformation } from "./actions/update-transformation.mjs";
|
|
13
|
-
import { rudderstackTransformation } from "./app.mjs";
|
|
14
14
|
import { rudderstackTransformationCatalog } from "./catalog.mjs";
|
|
15
15
|
export { rudderstackTransformation, rudderstackTransformationCatalog, rudderstackTransformationCreateLibrary, rudderstackTransformationCreateTransformation, rudderstackTransformationDeleteTransformation, rudderstackTransformationGetLibrary, rudderstackTransformationGetLibraryVersion, rudderstackTransformationGetTransformation, rudderstackTransformationGetTransformationVersion, rudderstackTransformationListLibraries, rudderstackTransformationListLibraryVersions, rudderstackTransformationListTransformationVersions, rudderstackTransformationListTransformations, rudderstackTransformationUpdateTransformation };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/rudderstack_transformation",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|