@keystrokehq/pointagram 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-score.cjs +1 -0
  4. package/dist/actions/add-score.cjs.map +1 -1
  5. package/dist/actions/add-score.d.cts +3 -32
  6. package/dist/actions/add-score.d.cts.map +1 -1
  7. package/dist/actions/add-score.d.mts +3 -32
  8. package/dist/actions/add-score.d.mts.map +1 -1
  9. package/dist/actions/add-score.mjs +1 -0
  10. package/dist/actions/add-score.mjs.map +1 -1
  11. package/dist/actions/list-competition-players.cjs +1 -0
  12. package/dist/actions/list-competition-players.cjs.map +1 -1
  13. package/dist/actions/list-competition-players.d.cts +3 -19
  14. package/dist/actions/list-competition-players.d.cts.map +1 -1
  15. package/dist/actions/list-competition-players.d.mts +3 -19
  16. package/dist/actions/list-competition-players.d.mts.map +1 -1
  17. package/dist/actions/list-competition-players.mjs +1 -0
  18. package/dist/actions/list-competition-players.mjs.map +1 -1
  19. package/dist/actions/list-competitions.cjs +1 -0
  20. package/dist/actions/list-competitions.cjs.map +1 -1
  21. package/dist/actions/list-competitions.d.cts +3 -20
  22. package/dist/actions/list-competitions.d.cts.map +1 -1
  23. package/dist/actions/list-competitions.d.mts +3 -20
  24. package/dist/actions/list-competitions.d.mts.map +1 -1
  25. package/dist/actions/list-competitions.mjs +1 -0
  26. package/dist/actions/list-competitions.mjs.map +1 -1
  27. package/dist/actions/list-players.cjs +1 -0
  28. package/dist/actions/list-players.cjs.map +1 -1
  29. package/dist/actions/list-players.d.cts +3 -18
  30. package/dist/actions/list-players.d.cts.map +1 -1
  31. package/dist/actions/list-players.d.mts +3 -18
  32. package/dist/actions/list-players.d.mts.map +1 -1
  33. package/dist/actions/list-players.mjs +1 -0
  34. package/dist/actions/list-players.mjs.map +1 -1
  35. package/dist/actions/list-score-series-history.cjs +1 -0
  36. package/dist/actions/list-score-series-history.cjs.map +1 -1
  37. package/dist/actions/list-score-series-history.d.cts +3 -27
  38. package/dist/actions/list-score-series-history.d.cts.map +1 -1
  39. package/dist/actions/list-score-series-history.d.mts +3 -27
  40. package/dist/actions/list-score-series-history.d.mts.map +1 -1
  41. package/dist/actions/list-score-series-history.mjs +1 -0
  42. package/dist/actions/list-score-series-history.mjs.map +1 -1
  43. package/dist/actions/list-score-series-point-types.cjs +1 -0
  44. package/dist/actions/list-score-series-point-types.cjs.map +1 -1
  45. package/dist/actions/list-score-series-point-types.d.cts +3 -17
  46. package/dist/actions/list-score-series-point-types.d.cts.map +1 -1
  47. package/dist/actions/list-score-series-point-types.d.mts +3 -17
  48. package/dist/actions/list-score-series-point-types.d.mts.map +1 -1
  49. package/dist/actions/list-score-series-point-types.mjs +1 -0
  50. package/dist/actions/list-score-series-point-types.mjs.map +1 -1
  51. package/dist/actions/list-score-series.cjs +1 -0
  52. package/dist/actions/list-score-series.cjs.map +1 -1
  53. package/dist/actions/list-score-series.d.cts +3 -15
  54. package/dist/actions/list-score-series.d.cts.map +1 -1
  55. package/dist/actions/list-score-series.d.mts +3 -15
  56. package/dist/actions/list-score-series.d.mts.map +1 -1
  57. package/dist/actions/list-score-series.mjs +1 -0
  58. package/dist/actions/list-score-series.mjs.map +1 -1
  59. package/dist/actions/list-teams.cjs +1 -0
  60. package/dist/actions/list-teams.cjs.map +1 -1
  61. package/dist/actions/list-teams.d.cts +3 -15
  62. package/dist/actions/list-teams.d.cts.map +1 -1
  63. package/dist/actions/list-teams.d.mts +3 -15
  64. package/dist/actions/list-teams.d.mts.map +1 -1
  65. package/dist/actions/list-teams.mjs +1 -0
  66. package/dist/actions/list-teams.mjs.map +1 -1
  67. package/dist/app.cjs +5 -4
  68. package/dist/app.cjs.map +1 -1
  69. package/dist/app.d.cts +4 -6
  70. package/dist/app.d.cts.map +1 -1
  71. package/dist/app.d.mts +4 -6
  72. package/dist/app.d.mts.map +1 -1
  73. package/dist/app.mjs +0 -1
  74. package/dist/app.mjs.map +1 -1
  75. package/dist/index.d.cts +1 -1
  76. package/dist/index.d.mts +1 -1
  77. package/package.json +2 -2
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-score-series-history.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-score-series-history.cjs","names":["z","action"],"sources":["../../src/actions/list-score-series-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PointagramListScoreSeriesHistoryInput = z.object({\n limit: z.number().int().describe(\"Maximum rows per request (default: 50, maximum: 1000).\").optional(),\n time_to: z.string().describe(\"End time in UTC format \\\"YYYY-MM-DD HH:MM:SS\\\".\").optional(),\n offset_id: z.string().describe(\"For pagination - use previous response's last row ID. Must be used together with offset_timestamp.\").optional(),\n time_from: z.string().describe(\"Start time in UTC format \\\"YYYY-MM-DD HH:MM:SS\\\".\").optional(),\n tags_filter: z.string().describe(\"Filter by specific tags in JSON format: [{\\\"id\\\":\\\"13\\\",\\\"type\\\":1},{\\\"id\\\":\\\"14\\\",\\\"type\\\":1}] where type 1=tags, type 2=point type.\").optional(),\n show_revoked: z.number().int().describe(\"Set to 1 to include revoked points; default is 0.\").optional(),\n teams_filter: z.string().describe(\"Filter by team IDs in JSON format: [\\\"20\\\"].\").optional(),\n player_filter: z.string().describe(\"Filter by player profile IDs in JSON format: [\\\"19145\\\"].\").optional(),\n scoreseriesid: z.number().int().describe(\"The ID of the score series to fetch history for. This is a required parameter.\"),\n tags_or_filter: z.string().describe(\"Alternative tag filtering with OR logic. Same format as tags_filter: [{\\\"id\\\":\\\"13\\\",\\\"type\\\":1}].\").optional(),\n offset_timestamp: z.string().describe(\"For pagination - use previous response's last row timestamp. Must be used together with offset_id.\").optional(),\n}).describe(\"Request model for listing score series history with filtering and pagination.\");\nconst PointagramListScoreSeriesHistory_HistoryItemSchema = z.object({\n id: z.string().describe(\"Transaction ID.\").nullable().optional(),\n points: z.union([z.number().int(), z.number()]).nullable().optional(),\n revoked: z.union([z.number().int(), z.boolean()]).nullable().optional(),\n player_id: z.string().describe(\"Player profile ID.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the points were awarded.\").nullable().optional(),\n description: z.string().describe(\"Description of the transaction.\").nullable().optional(),\n player_name: z.string().describe(\"Player name.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single historical transaction in the score series.\");\nexport const PointagramListScoreSeriesHistoryOutput = z.object({\n history: z.array(PointagramListScoreSeriesHistory_HistoryItemSchema).describe(\"List of historical transactions for the score series.\"),\n}).passthrough().describe(\"Response model for listing score series history. Returns an array of historical transactions.\");\n\nexport const pointagramListScoreSeriesHistory = action(\"POINTAGRAM_LIST_SCORE_SERIES_HISTORY\", {\n slug: \"pointagram-list-score-series-history\",\n name: \"List Score Series History\",\n description: \"Tool to fetch historical point data for a score series. Returns time-series data of points awarded over time with optional filtering by tags, teams, players, and time range. Use when you need to retrieve historical transaction data for a specific score series.\",\n input: PointagramListScoreSeriesHistoryInput,\n output: PointagramListScoreSeriesHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACnL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACzG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CACzH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACnJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AACnG,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,uDAAuD,EACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+FAA+F;AAEzH,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-score-series-history.cjs","names":["z","action"],"sources":["../../src/actions/list-score-series-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pointagram } from \"../app\";\n\nexport const PointagramListScoreSeriesHistoryInput = z.object({\n limit: z.number().int().describe(\"Maximum rows per request (default: 50, maximum: 1000).\").optional(),\n time_to: z.string().describe(\"End time in UTC format \\\"YYYY-MM-DD HH:MM:SS\\\".\").optional(),\n offset_id: z.string().describe(\"For pagination - use previous response's last row ID. Must be used together with offset_timestamp.\").optional(),\n time_from: z.string().describe(\"Start time in UTC format \\\"YYYY-MM-DD HH:MM:SS\\\".\").optional(),\n tags_filter: z.string().describe(\"Filter by specific tags in JSON format: [{\\\"id\\\":\\\"13\\\",\\\"type\\\":1},{\\\"id\\\":\\\"14\\\",\\\"type\\\":1}] where type 1=tags, type 2=point type.\").optional(),\n show_revoked: z.number().int().describe(\"Set to 1 to include revoked points; default is 0.\").optional(),\n teams_filter: z.string().describe(\"Filter by team IDs in JSON format: [\\\"20\\\"].\").optional(),\n player_filter: z.string().describe(\"Filter by player profile IDs in JSON format: [\\\"19145\\\"].\").optional(),\n scoreseriesid: z.number().int().describe(\"The ID of the score series to fetch history for. This is a required parameter.\"),\n tags_or_filter: z.string().describe(\"Alternative tag filtering with OR logic. Same format as tags_filter: [{\\\"id\\\":\\\"13\\\",\\\"type\\\":1}].\").optional(),\n offset_timestamp: z.string().describe(\"For pagination - use previous response's last row timestamp. Must be used together with offset_id.\").optional(),\n}).describe(\"Request model for listing score series history with filtering and pagination.\");\nconst PointagramListScoreSeriesHistory_HistoryItemSchema = z.object({\n id: z.string().describe(\"Transaction ID.\").nullable().optional(),\n points: z.union([z.number().int(), z.number()]).nullable().optional(),\n revoked: z.union([z.number().int(), z.boolean()]).nullable().optional(),\n player_id: z.string().describe(\"Player profile ID.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the points were awarded.\").nullable().optional(),\n description: z.string().describe(\"Description of the transaction.\").nullable().optional(),\n player_name: z.string().describe(\"Player name.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single historical transaction in the score series.\");\nexport const PointagramListScoreSeriesHistoryOutput = z.object({\n history: z.array(PointagramListScoreSeriesHistory_HistoryItemSchema).describe(\"List of historical transactions for the score series.\"),\n}).passthrough().describe(\"Response model for listing score series history. Returns an array of historical transactions.\");\n\nexport const pointagramListScoreSeriesHistory: AppAction<\n typeof PointagramListScoreSeriesHistoryInput,\n typeof PointagramListScoreSeriesHistoryOutput,\n typeof pointagram.credential\n> = action(\"POINTAGRAM_LIST_SCORE_SERIES_HISTORY\", {\n slug: \"pointagram-list-score-series-history\",\n name: \"List Score Series History\",\n description: \"Tool to fetch historical point data for a score series. Returns time-series data of points awarded over time with optional filtering by tags, teams, players, and time range. Use when you need to retrieve historical transaction data for a specific score series.\",\n input: PointagramListScoreSeriesHistoryInput,\n output: PointagramListScoreSeriesHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC9I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACnL,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACzG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CACzH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACnJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AACnG,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,uDAAuD,EACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+FAA+F;AAEzH,MAAa,mCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pointagram } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-score-series-history.d.ts
@@ -25,33 +27,7 @@ declare const PointagramListScoreSeriesHistoryOutput: z.ZodObject<{
25
27
  player_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  }, z.core.$loose>>;
27
29
  }, z.core.$loose>;
28
- declare const pointagramListScoreSeriesHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- scoreseriesid: number;
30
- limit?: number | undefined;
31
- time_to?: string | undefined;
32
- offset_id?: string | undefined;
33
- time_from?: string | undefined;
34
- tags_filter?: string | undefined;
35
- show_revoked?: number | undefined;
36
- teams_filter?: string | undefined;
37
- player_filter?: string | undefined;
38
- tags_or_filter?: string | undefined;
39
- offset_timestamp?: string | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
41
- connectionId: z.ZodString;
42
- entityId: z.ZodString;
43
- instanceId: z.ZodString;
44
- }, z.core.$strip>, z.ZodObject<{
45
- generic_api_key: z.ZodString;
46
- generic_id: z.ZodString;
47
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
48
- connectionId: z.ZodString;
49
- entityId: z.ZodString;
50
- instanceId: z.ZodString;
51
- }, z.core.$strip>, z.ZodObject<{
52
- generic_api_key: z.ZodString;
53
- generic_id: z.ZodString;
54
- }, z.core.$strip>>]>;
30
+ declare const pointagramListScoreSeriesHistory: AppAction<typeof PointagramListScoreSeriesHistoryInput, typeof PointagramListScoreSeriesHistoryOutput, typeof pointagram.credential>;
55
31
  //#endregion
56
32
  export { pointagramListScoreSeriesHistory };
57
33
  //# sourceMappingURL=list-score-series-history.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-score-series-history.d.cts","names":[],"sources":["../../src/actions/list-score-series-history.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAsBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"list-score-series-history.d.cts","names":[],"sources":["../../src/actions/list-score-series-history.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAsBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pointagram } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-score-series-history.d.ts
@@ -25,33 +27,7 @@ declare const PointagramListScoreSeriesHistoryOutput: z.ZodObject<{
25
27
  player_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
28
  }, z.core.$loose>>;
27
29
  }, z.core.$loose>;
28
- declare const pointagramListScoreSeriesHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
29
- scoreseriesid: number;
30
- limit?: number | undefined;
31
- time_to?: string | undefined;
32
- offset_id?: string | undefined;
33
- time_from?: string | undefined;
34
- tags_filter?: string | undefined;
35
- show_revoked?: number | undefined;
36
- teams_filter?: string | undefined;
37
- player_filter?: string | undefined;
38
- tags_or_filter?: string | undefined;
39
- offset_timestamp?: string | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
41
- connectionId: z.ZodString;
42
- entityId: z.ZodString;
43
- instanceId: z.ZodString;
44
- }, z.core.$strip>, z.ZodObject<{
45
- generic_api_key: z.ZodString;
46
- generic_id: z.ZodString;
47
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
48
- connectionId: z.ZodString;
49
- entityId: z.ZodString;
50
- instanceId: z.ZodString;
51
- }, z.core.$strip>, z.ZodObject<{
52
- generic_api_key: z.ZodString;
53
- generic_id: z.ZodString;
54
- }, z.core.$strip>>]>;
30
+ declare const pointagramListScoreSeriesHistory: AppAction<typeof PointagramListScoreSeriesHistoryInput, typeof PointagramListScoreSeriesHistoryOutput, typeof pointagram.credential>;
55
31
  //#endregion
56
32
  export { pointagramListScoreSeriesHistory };
57
33
  //# sourceMappingURL=list-score-series-history.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-score-series-history.d.mts","names":[],"sources":["../../src/actions/list-score-series-history.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAsBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"list-score-series-history.d.mts","names":[],"sources":["../../src/actions/list-score-series-history.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAsBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-score-series-history.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-score-series-history.mjs","names":[],"sources":["../../src/actions/list-score-series-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PointagramListScoreSeriesHistoryInput = z.object({\n limit: z.number().int().describe(\"Maximum rows per request (default: 50, maximum: 1000).\").optional(),\n time_to: z.string().describe(\"End time in UTC format \\\"YYYY-MM-DD HH:MM:SS\\\".\").optional(),\n offset_id: z.string().describe(\"For pagination - use previous response's last row ID. Must be used together with offset_timestamp.\").optional(),\n time_from: z.string().describe(\"Start time in UTC format \\\"YYYY-MM-DD HH:MM:SS\\\".\").optional(),\n tags_filter: z.string().describe(\"Filter by specific tags in JSON format: [{\\\"id\\\":\\\"13\\\",\\\"type\\\":1},{\\\"id\\\":\\\"14\\\",\\\"type\\\":1}] where type 1=tags, type 2=point type.\").optional(),\n show_revoked: z.number().int().describe(\"Set to 1 to include revoked points; default is 0.\").optional(),\n teams_filter: z.string().describe(\"Filter by team IDs in JSON format: [\\\"20\\\"].\").optional(),\n player_filter: z.string().describe(\"Filter by player profile IDs in JSON format: [\\\"19145\\\"].\").optional(),\n scoreseriesid: z.number().int().describe(\"The ID of the score series to fetch history for. This is a required parameter.\"),\n tags_or_filter: z.string().describe(\"Alternative tag filtering with OR logic. Same format as tags_filter: [{\\\"id\\\":\\\"13\\\",\\\"type\\\":1}].\").optional(),\n offset_timestamp: z.string().describe(\"For pagination - use previous response's last row timestamp. Must be used together with offset_id.\").optional(),\n}).describe(\"Request model for listing score series history with filtering and pagination.\");\nconst PointagramListScoreSeriesHistory_HistoryItemSchema = z.object({\n id: z.string().describe(\"Transaction ID.\").nullable().optional(),\n points: z.union([z.number().int(), z.number()]).nullable().optional(),\n revoked: z.union([z.number().int(), z.boolean()]).nullable().optional(),\n player_id: z.string().describe(\"Player profile ID.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the points were awarded.\").nullable().optional(),\n description: z.string().describe(\"Description of the transaction.\").nullable().optional(),\n player_name: z.string().describe(\"Player name.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single historical transaction in the score series.\");\nexport const PointagramListScoreSeriesHistoryOutput = z.object({\n history: z.array(PointagramListScoreSeriesHistory_HistoryItemSchema).describe(\"List of historical transactions for the score series.\"),\n}).passthrough().describe(\"Response model for listing score series history. Returns an array of historical transactions.\");\n\nexport const pointagramListScoreSeriesHistory = action(\"POINTAGRAM_LIST_SCORE_SERIES_HISTORY\", {\n slug: \"pointagram-list-score-series-history\",\n name: \"List Score Series History\",\n description: \"Tool to fetch historical point data for a score series. Returns time-series data of points awarded over time with optional filtering by tags, teams, players, and time range. Use when you need to retrieve historical transaction data for a specific score series.\",\n input: PointagramListScoreSeriesHistoryInput,\n output: PointagramListScoreSeriesHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACnL,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACzG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CACzH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACnJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAAS,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAKnG,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,SAAS,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,uDAAuD,EACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+FAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-score-series-history.mjs","names":[],"sources":["../../src/actions/list-score-series-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pointagram } from \"../app\";\n\nexport const PointagramListScoreSeriesHistoryInput = z.object({\n limit: z.number().int().describe(\"Maximum rows per request (default: 50, maximum: 1000).\").optional(),\n time_to: z.string().describe(\"End time in UTC format \\\"YYYY-MM-DD HH:MM:SS\\\".\").optional(),\n offset_id: z.string().describe(\"For pagination - use previous response's last row ID. Must be used together with offset_timestamp.\").optional(),\n time_from: z.string().describe(\"Start time in UTC format \\\"YYYY-MM-DD HH:MM:SS\\\".\").optional(),\n tags_filter: z.string().describe(\"Filter by specific tags in JSON format: [{\\\"id\\\":\\\"13\\\",\\\"type\\\":1},{\\\"id\\\":\\\"14\\\",\\\"type\\\":1}] where type 1=tags, type 2=point type.\").optional(),\n show_revoked: z.number().int().describe(\"Set to 1 to include revoked points; default is 0.\").optional(),\n teams_filter: z.string().describe(\"Filter by team IDs in JSON format: [\\\"20\\\"].\").optional(),\n player_filter: z.string().describe(\"Filter by player profile IDs in JSON format: [\\\"19145\\\"].\").optional(),\n scoreseriesid: z.number().int().describe(\"The ID of the score series to fetch history for. This is a required parameter.\"),\n tags_or_filter: z.string().describe(\"Alternative tag filtering with OR logic. Same format as tags_filter: [{\\\"id\\\":\\\"13\\\",\\\"type\\\":1}].\").optional(),\n offset_timestamp: z.string().describe(\"For pagination - use previous response's last row timestamp. Must be used together with offset_id.\").optional(),\n}).describe(\"Request model for listing score series history with filtering and pagination.\");\nconst PointagramListScoreSeriesHistory_HistoryItemSchema = z.object({\n id: z.string().describe(\"Transaction ID.\").nullable().optional(),\n points: z.union([z.number().int(), z.number()]).nullable().optional(),\n revoked: z.union([z.number().int(), z.boolean()]).nullable().optional(),\n player_id: z.string().describe(\"Player profile ID.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp when the points were awarded.\").nullable().optional(),\n description: z.string().describe(\"Description of the transaction.\").nullable().optional(),\n player_name: z.string().describe(\"Player name.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single historical transaction in the score series.\");\nexport const PointagramListScoreSeriesHistoryOutput = z.object({\n history: z.array(PointagramListScoreSeriesHistory_HistoryItemSchema).describe(\"List of historical transactions for the score series.\"),\n}).passthrough().describe(\"Response model for listing score series history. Returns an array of historical transactions.\");\n\nexport const pointagramListScoreSeriesHistory: AppAction<\n typeof PointagramListScoreSeriesHistoryInput,\n typeof PointagramListScoreSeriesHistoryOutput,\n typeof pointagram.credential\n> = action(\"POINTAGRAM_LIST_SCORE_SERIES_HISTORY\", {\n slug: \"pointagram-list-score-series-history\",\n name: \"List Score Series History\",\n description: \"Tool to fetch historical point data for a score series. Returns time-series data of points awarded over time with optional filtering by tags, teams, players, and time range. Use when you need to retrieve historical transaction data for a specific score series.\",\n input: PointagramListScoreSeriesHistoryInput,\n output: PointagramListScoreSeriesHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACpG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC9I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CACnL,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC3F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACzG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF;CACzH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CACnJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,SAAS,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yEAAyE;AAKnG,MAAa,mCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboD,EAAE,OAAO,EAC7D,SAAS,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,uDAAuD,EACvI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+FAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-score-series-point-types.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-score-series-point-types.cjs","names":["z","action"],"sources":["../../src/actions/list-score-series-point-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PointagramListScoreSeriesPointTypesInput = z.object({\n scoreseries: z.number().int().describe(\"Id of the score series to fetch Point Types for.\"),\n}).describe(\"Request parameters for fetching point types for a specific score series.\");\nexport const PointagramListScoreSeriesPointTypesOutput = z.object({\n message: z.string().describe(\"Additional message from the API.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable().optional(),\n point_types: z.array(z.record(z.string(), z.unknown())).describe(\"List of point types available in the score series.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing point types in a score series.\");\n\nexport const pointagramListScoreSeriesPointTypes = action(\"POINTAGRAM_LIST_SCORE_SERIES_POINT_TYPES\", {\n slug: \"pointagram-list-score-series-point-types\",\n name: \"List Score Series Point Types\",\n description: \"Tool to fetch point types for a specific score series in Pointagram. Use when you need to retrieve the different types of points that can be awarded within a score series.\",\n input: PointagramListScoreSeriesPointTypesInput,\n output: PointagramListScoreSeriesPointTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC3F,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,sCAAsCC,eAAAA,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-score-series-point-types.cjs","names":["z","action"],"sources":["../../src/actions/list-score-series-point-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pointagram } from \"../app\";\n\nexport const PointagramListScoreSeriesPointTypesInput = z.object({\n scoreseries: z.number().int().describe(\"Id of the score series to fetch Point Types for.\"),\n}).describe(\"Request parameters for fetching point types for a specific score series.\");\nexport const PointagramListScoreSeriesPointTypesOutput = z.object({\n message: z.string().describe(\"Additional message from the API.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable().optional(),\n point_types: z.array(z.record(z.string(), z.unknown())).describe(\"List of point types available in the score series.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing point types in a score series.\");\n\nexport const pointagramListScoreSeriesPointTypes: AppAction<\n typeof PointagramListScoreSeriesPointTypesInput,\n typeof PointagramListScoreSeriesPointTypesOutput,\n typeof pointagram.credential\n> = action(\"POINTAGRAM_LIST_SCORE_SERIES_POINT_TYPES\", {\n slug: \"pointagram-list-score-series-point-types\",\n name: \"List Score Series Point Types\",\n description: \"Tool to fetch point types for a specific score series in Pointagram. Use when you need to retrieve the different types of points that can be awarded within a score series.\",\n input: PointagramListScoreSeriesPointTypesInput,\n output: PointagramListScoreSeriesPointTypesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2CAA2CA,IAAAA,EAAE,OAAO,EAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC3F,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,4CAA4CA,IAAAA,EAAE,OAAO;CAChE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,sCAITC,eAAAA,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pointagram } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-score-series-point-types.d.ts
@@ -9,23 +11,7 @@ declare const PointagramListScoreSeriesPointTypesOutput: z.ZodObject<{
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
12
  point_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
11
13
  }, z.core.$loose>;
12
- declare const pointagramListScoreSeriesPointTypes: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- scoreseries: number;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- generic_id: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- generic_id: z.ZodString;
28
- }, z.core.$strip>>]>;
14
+ declare const pointagramListScoreSeriesPointTypes: AppAction<typeof PointagramListScoreSeriesPointTypesInput, typeof PointagramListScoreSeriesPointTypesOutput, typeof pointagram.credential>;
29
15
  //#endregion
30
16
  export { pointagramListScoreSeriesPointTypes };
31
17
  //# sourceMappingURL=list-score-series-point-types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-score-series-point-types.d.cts","names":[],"sources":["../../src/actions/list-score-series-point-types.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAGxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,gCAAmC,wBAAA"}
1
+ {"version":3,"file":"list-score-series-point-types.d.cts","names":[],"sources":["../../src/actions/list-score-series-point-types.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAGxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pointagram } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-score-series-point-types.d.ts
@@ -9,23 +11,7 @@ declare const PointagramListScoreSeriesPointTypesOutput: z.ZodObject<{
9
11
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
10
12
  point_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
11
13
  }, z.core.$loose>;
12
- declare const pointagramListScoreSeriesPointTypes: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- scoreseries: number;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- generic_api_key: z.ZodString;
20
- generic_id: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- generic_id: z.ZodString;
28
- }, z.core.$strip>>]>;
14
+ declare const pointagramListScoreSeriesPointTypes: AppAction<typeof PointagramListScoreSeriesPointTypesInput, typeof PointagramListScoreSeriesPointTypesOutput, typeof pointagram.credential>;
29
15
  //#endregion
30
16
  export { pointagramListScoreSeriesPointTypes };
31
17
  //# sourceMappingURL=list-score-series-point-types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-score-series-point-types.d.mts","names":[],"sources":["../../src/actions/list-score-series-point-types.ts"],"mappings":";;;cAIa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAGxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,gCAAmC,wBAAA"}
1
+ {"version":3,"file":"list-score-series-point-types.d.mts","names":[],"sources":["../../src/actions/list-score-series-point-types.ts"],"mappings":";;;;;cAMa,wCAAA,EAAwC,CAAA,CAAA,SAAA;;;cAGxC,yCAAA,EAAyC,CAAA,CAAA,SAAA;;;;;cAMzC,mCAAA,EAAqC,SAAA,QACzC,wCAAA,SACA,yCAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const pointagramListScoreSeriesPointTypes = action("POINTAGRAM_LIST_SCORE_SERIES_POINT_TYPES", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-score-series-point-types.mjs","names":[],"sources":["../../src/actions/list-score-series-point-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PointagramListScoreSeriesPointTypesInput = z.object({\n scoreseries: z.number().int().describe(\"Id of the score series to fetch Point Types for.\"),\n}).describe(\"Request parameters for fetching point types for a specific score series.\");\nexport const PointagramListScoreSeriesPointTypesOutput = z.object({\n message: z.string().describe(\"Additional message from the API.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable().optional(),\n point_types: z.array(z.record(z.string(), z.unknown())).describe(\"List of point types available in the score series.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing point types in a score series.\");\n\nexport const pointagramListScoreSeriesPointTypes = action(\"POINTAGRAM_LIST_SCORE_SERIES_POINT_TYPES\", {\n slug: \"pointagram-list-score-series-point-types\",\n name: \"List Score Series Point Types\",\n description: \"Tool to fetch point types for a specific score series in Pointagram. Use when you need to retrieve the different types of points that can be awarded within a score series.\",\n input: PointagramListScoreSeriesPointTypesInput,\n output: PointagramListScoreSeriesPointTypesOutput,\n});\n"],"mappings":";;AAaA,MAAa,sCAAsC,OAAO,4CAA4C;CACpG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbsD,EAAE,OAAO,EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC3F,CAAC,CAAC,CAAC,SAAS,0EAWH;CACP,QAXuD,EAAE,OAAO;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-score-series-point-types.mjs","names":[],"sources":["../../src/actions/list-score-series-point-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pointagram } from \"../app\";\n\nexport const PointagramListScoreSeriesPointTypesInput = z.object({\n scoreseries: z.number().int().describe(\"Id of the score series to fetch Point Types for.\"),\n}).describe(\"Request parameters for fetching point types for a specific score series.\");\nexport const PointagramListScoreSeriesPointTypesOutput = z.object({\n message: z.string().describe(\"Additional message from the API.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates if the request was successful.\").nullable().optional(),\n point_types: z.array(z.record(z.string(), z.unknown())).describe(\"List of point types available in the score series.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for listing point types in a score series.\");\n\nexport const pointagramListScoreSeriesPointTypes: AppAction<\n typeof PointagramListScoreSeriesPointTypesInput,\n typeof PointagramListScoreSeriesPointTypesOutput,\n typeof pointagram.credential\n> = action(\"POINTAGRAM_LIST_SCORE_SERIES_POINT_TYPES\", {\n slug: \"pointagram-list-score-series-point-types\",\n name: \"List Score Series Point Types\",\n description: \"Tool to fetch point types for a specific score series in Pointagram. Use when you need to retrieve the different types of points that can be awarded within a score series.\",\n input: PointagramListScoreSeriesPointTypesInput,\n output: PointagramListScoreSeriesPointTypesOutput,\n});\n"],"mappings":";;;AAeA,MAAa,sCAIT,OAAO,4CAA4C;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBsD,EAAE,OAAO,EAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,EAC3F,CAAC,CAAC,CAAC,SAAS,0EAeH;CACP,QAfuD,EAAE,OAAO;EAChE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-score-series.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-score-series.cjs","names":["z","action"],"sources":["../../src/actions/list-score-series.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PointagramListScoreSeriesInput = z.object({}).describe(\"Request model for listing score series. No parameters are required.\");\nconst PointagramListScoreSeries_ScoreSeriesSchema = z.object({\n id: z.union([z.number().int(), z.string()]).nullable().optional(),\n name: z.string().describe(\"Score series name.\").nullable().optional(),\n description: z.string().describe(\"Description of the score series.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a score series object.\");\nexport const PointagramListScoreSeriesOutput = z.object({\n score_series: z.array(PointagramListScoreSeries_ScoreSeriesSchema).describe(\"List of score series in Pointagram. Returns all configured score series collections.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing score series. Returns a list of score series objects.\");\n\nexport const pointagramListScoreSeries = action(\"POINTAGRAM_LIST_SCORE_SERIES\", {\n slug: \"pointagram-list-score-series\",\n name: \"List Score Series\",\n description: \"Tool to list all score series in Pointagram. Use when you need to retrieve all configured score series collections that track and measure different point types.\",\n input: PointagramListScoreSeriesInput,\n output: PointagramListScoreSeriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACzI,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,cAAcA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAAkF;AAE5G,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-score-series.cjs","names":["z","action"],"sources":["../../src/actions/list-score-series.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pointagram } from \"../app\";\n\nexport const PointagramListScoreSeriesInput = z.object({}).describe(\"Request model for listing score series. No parameters are required.\");\nconst PointagramListScoreSeries_ScoreSeriesSchema = z.object({\n id: z.union([z.number().int(), z.string()]).nullable().optional(),\n name: z.string().describe(\"Score series name.\").nullable().optional(),\n description: z.string().describe(\"Description of the score series.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a score series object.\");\nexport const PointagramListScoreSeriesOutput = z.object({\n score_series: z.array(PointagramListScoreSeries_ScoreSeriesSchema).describe(\"List of score series in Pointagram. Returns all configured score series collections.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing score series. Returns a list of score series objects.\");\n\nexport const pointagramListScoreSeries: AppAction<\n typeof PointagramListScoreSeriesInput,\n typeof PointagramListScoreSeriesOutput,\n typeof pointagram.credential\n> = action(\"POINTAGRAM_LIST_SCORE_SERIES\", {\n slug: \"pointagram-list-score-series\",\n name: \"List Score Series\",\n description: \"Tool to list all score series in Pointagram. Use when you need to retrieve all configured score series collections that track and measure different point types.\",\n input: PointagramListScoreSeriesInput,\n output: PointagramListScoreSeriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACzI,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,cAAcA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAAkF;AAE5G,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pointagram } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-score-series.d.ts
@@ -9,21 +11,7 @@ declare const PointagramListScoreSeriesOutput: z.ZodObject<{
9
11
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  }, z.core.$loose>>>>;
11
13
  }, z.core.$loose>;
12
- declare const pointagramListScoreSeries: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- generic_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const pointagramListScoreSeries: AppAction<typeof PointagramListScoreSeriesInput, typeof PointagramListScoreSeriesOutput, typeof pointagram.credential>;
27
15
  //#endregion
28
16
  export { pointagramListScoreSeries };
29
17
  //# sourceMappingURL=list-score-series.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-score-series.d.cts","names":[],"sources":["../../src/actions/list-score-series.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-score-series.d.cts","names":[],"sources":["../../src/actions/list-score-series.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pointagram } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-score-series.d.ts
@@ -9,21 +11,7 @@ declare const PointagramListScoreSeriesOutput: z.ZodObject<{
9
11
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
12
  }, z.core.$loose>>>>;
11
13
  }, z.core.$loose>;
12
- declare const pointagramListScoreSeries: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- generic_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const pointagramListScoreSeries: AppAction<typeof PointagramListScoreSeriesInput, typeof PointagramListScoreSeriesOutput, typeof pointagram.credential>;
27
15
  //#endregion
28
16
  export { pointagramListScoreSeries };
29
17
  //# sourceMappingURL=list-score-series.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-score-series.d.mts","names":[],"sources":["../../src/actions/list-score-series.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-score-series.d.mts","names":[],"sources":["../../src/actions/list-score-series.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAM9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;cAI/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-score-series.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-score-series.mjs","names":[],"sources":["../../src/actions/list-score-series.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PointagramListScoreSeriesInput = z.object({}).describe(\"Request model for listing score series. No parameters are required.\");\nconst PointagramListScoreSeries_ScoreSeriesSchema = z.object({\n id: z.union([z.number().int(), z.string()]).nullable().optional(),\n name: z.string().describe(\"Score series name.\").nullable().optional(),\n description: z.string().describe(\"Description of the score series.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a score series object.\");\nexport const PointagramListScoreSeriesOutput = z.object({\n score_series: z.array(PointagramListScoreSeries_ScoreSeriesSchema).describe(\"List of score series in Pointagram. Returns all configured score series collections.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing score series. Returns a list of score series objects.\");\n\nexport const pointagramListScoreSeries = action(\"POINTAGRAM_LIST_SCORE_SERIES\", {\n slug: \"pointagram-list-score-series\",\n name: \"List Score Series\",\n description: \"Tool to list all score series in Pointagram. Use when you need to retrieve all configured score series collections that track and measure different point types.\",\n input: PointagramListScoreSeriesInput,\n output: PointagramListScoreSeriesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACzI,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,cAAc,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-score-series.mjs","names":[],"sources":["../../src/actions/list-score-series.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pointagram } from \"../app\";\n\nexport const PointagramListScoreSeriesInput = z.object({}).describe(\"Request model for listing score series. No parameters are required.\");\nconst PointagramListScoreSeries_ScoreSeriesSchema = z.object({\n id: z.union([z.number().int(), z.string()]).nullable().optional(),\n name: z.string().describe(\"Score series name.\").nullable().optional(),\n description: z.string().describe(\"Description of the score series.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a score series object.\");\nexport const PointagramListScoreSeriesOutput = z.object({\n score_series: z.array(PointagramListScoreSeries_ScoreSeriesSchema).describe(\"List of score series in Pointagram. Returns all configured score series collections.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing score series. Returns a list of score series objects.\");\n\nexport const pointagramListScoreSeries: AppAction<\n typeof PointagramListScoreSeriesInput,\n typeof PointagramListScoreSeriesOutput,\n typeof pointagram.credential\n> = action(\"POINTAGRAM_LIST_SCORE_SERIES\", {\n slug: \"pointagram-list-score-series\",\n name: \"List Score Series\",\n description: \"Tool to list all score series in Pointagram. Use when you need to retrieve all configured score series collections that track and measure different point types.\",\n input: PointagramListScoreSeriesInput,\n output: PointagramListScoreSeriesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACzI,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,MAAM,CAAC,EAAE,OAAO,CAAC,CAAC,IAAI,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAKrE,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb6C,EAAE,OAAO,EACtD,cAAc,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-teams.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PointagramListTeamsInput = z.object({}).describe(\"Request model for listing teams. No parameters are required.\");\nconst PointagramListTeams_TeamItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the team.\").nullable(),\n icon: z.string().describe(\"Filename of the team's icon image.\").nullable(),\n name: z.string().describe(\"Name of the team in Pointagram.\").nullable(),\n}).passthrough().describe(\"Model representing a single team in Pointagram.\");\nexport const PointagramListTeamsOutput = z.object({\n teams: z.array(PointagramListTeams_TeamItemSchema).describe(\"List of teams in Pointagram.\"),\n}).passthrough().describe(\"Response model for listing teams.\");\n\nexport const pointagramListTeams = action(\"POINTAGRAM_LIST_TEAMS\", {\n slug: \"pointagram-list-teams\",\n name: \"List Teams\",\n description: \"Tool to fetch and list all teams in Pointagram. Returns team information including ID, name, and icon. Use when you need to retrieve all available teams.\",\n input: PointagramListTeamsInput,\n output: PointagramListTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC5H,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8BAA8B,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-teams.cjs","names":["z","action"],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pointagram } from \"../app\";\n\nexport const PointagramListTeamsInput = z.object({}).describe(\"Request model for listing teams. No parameters are required.\");\nconst PointagramListTeams_TeamItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the team.\").nullable(),\n icon: z.string().describe(\"Filename of the team's icon image.\").nullable(),\n name: z.string().describe(\"Name of the team in Pointagram.\").nullable(),\n}).passthrough().describe(\"Model representing a single team in Pointagram.\");\nexport const PointagramListTeamsOutput = z.object({\n teams: z.array(PointagramListTeams_TeamItemSchema).describe(\"List of teams in Pointagram.\"),\n}).passthrough().describe(\"Response model for listing teams.\");\n\nexport const pointagramListTeams: AppAction<\n typeof PointagramListTeamsInput,\n typeof PointagramListTeamsOutput,\n typeof pointagram.credential\n> = action(\"POINTAGRAM_LIST_TEAMS\", {\n slug: \"pointagram-list-teams\",\n name: \"List Teams\",\n description: \"Tool to fetch and list all teams in Pointagram. Returns team information including ID, name, and icon. Use when you need to retrieve all available teams.\",\n input: PointagramListTeamsInput,\n output: PointagramListTeamsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC5H,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8BAA8B,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { pointagram } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-teams.d.ts
@@ -9,21 +11,7 @@ declare const PointagramListTeamsOutput: z.ZodObject<{
9
11
  name: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>>;
11
13
  }, z.core.$loose>;
12
- declare const pointagramListTeams: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- generic_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const pointagramListTeams: AppAction<typeof PointagramListTeamsInput, typeof PointagramListTeamsOutput, typeof pointagram.credential>;
27
15
  //#endregion
28
16
  export { pointagramListTeams };
29
17
  //# sourceMappingURL=list-teams.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-teams.d.cts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-teams.d.cts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { pointagram } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-teams.d.ts
@@ -9,21 +11,7 @@ declare const PointagramListTeamsOutput: z.ZodObject<{
9
11
  name: z.ZodNullable<z.ZodString>;
10
12
  }, z.core.$loose>>;
11
13
  }, z.core.$loose>;
12
- declare const pointagramListTeams: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
13
- connectionId: z.ZodString;
14
- entityId: z.ZodString;
15
- instanceId: z.ZodString;
16
- }, z.core.$strip>, z.ZodObject<{
17
- generic_api_key: z.ZodString;
18
- generic_id: z.ZodString;
19
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
20
- connectionId: z.ZodString;
21
- entityId: z.ZodString;
22
- instanceId: z.ZodString;
23
- }, z.core.$strip>, z.ZodObject<{
24
- generic_api_key: z.ZodString;
25
- generic_id: z.ZodString;
26
- }, z.core.$strip>>]>;
14
+ declare const pointagramListTeams: AppAction<typeof PointagramListTeamsInput, typeof PointagramListTeamsOutput, typeof pointagram.credential>;
27
15
  //#endregion
28
16
  export { pointagramListTeams };
29
17
  //# sourceMappingURL=list-teams.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-teams.d.mts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-teams.d.mts","names":[],"sources":["../../src/actions/list-teams.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,UAAA,CAAW,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-teams.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-teams.mjs","names":[],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PointagramListTeamsInput = z.object({}).describe(\"Request model for listing teams. No parameters are required.\");\nconst PointagramListTeams_TeamItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the team.\").nullable(),\n icon: z.string().describe(\"Filename of the team's icon image.\").nullable(),\n name: z.string().describe(\"Name of the team in Pointagram.\").nullable(),\n}).passthrough().describe(\"Model representing a single team in Pointagram.\");\nexport const PointagramListTeamsOutput = z.object({\n teams: z.array(PointagramListTeams_TeamItemSchema).describe(\"List of teams in Pointagram.\"),\n}).passthrough().describe(\"Response model for listing teams.\");\n\nexport const pointagramListTeams = action(\"POINTAGRAM_LIST_TEAMS\", {\n slug: \"pointagram-list-teams\",\n name: \"List Teams\",\n description: \"Tool to fetch and list all teams in Pointagram. Returns team information including ID, name, and icon. Use when you need to retrieve all available teams.\",\n input: PointagramListTeamsInput,\n output: PointagramListTeamsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC5H,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuC,EAAE,OAAO,EAChD,OAAO,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8BAA8B,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-teams.mjs","names":[],"sources":["../../src/actions/list-teams.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { pointagram } from \"../app\";\n\nexport const PointagramListTeamsInput = z.object({}).describe(\"Request model for listing teams. No parameters are required.\");\nconst PointagramListTeams_TeamItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the team.\").nullable(),\n icon: z.string().describe(\"Filename of the team's icon image.\").nullable(),\n name: z.string().describe(\"Name of the team in Pointagram.\").nullable(),\n}).passthrough().describe(\"Model representing a single team in Pointagram.\");\nexport const PointagramListTeamsOutput = z.object({\n teams: z.array(PointagramListTeams_TeamItemSchema).describe(\"List of teams in Pointagram.\"),\n}).passthrough().describe(\"Response model for listing teams.\");\n\nexport const pointagramListTeams: AppAction<\n typeof PointagramListTeamsInput,\n typeof PointagramListTeamsOutput,\n typeof pointagram.credential\n> = action(\"POINTAGRAM_LIST_TEAMS\", {\n slug: \"pointagram-list-teams\",\n name: \"List Teams\",\n description: \"Tool to fetch and list all teams in Pointagram. Returns team information including ID, name, and icon. Use when you need to retrieve all available teams.\",\n input: PointagramListTeamsInput,\n output: PointagramListTeamsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC5H,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAK3E,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO,EAChD,OAAO,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,8BAA8B,EAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,13 +1,14 @@
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
+ generic_api_key: zod.z.string(),
6
+ generic_id: zod.z.string()
7
+ };
4
8
  const pointagram = (0, _keystrokehq_keystroke_app.defineApp)({
5
9
  slug: "pointagram",
6
10
  auth: "keystroke",
7
- credential: {
8
- generic_api_key: zod.z.string(),
9
- generic_id: zod.z.string()
10
- }
11
+ credential
11
12
  });
12
13
  //#endregion
13
14
  exports.pointagram = pointagram;
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\nexport const pointagram = defineApp({\n slug: \"pointagram\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_id: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,cAAA,GAAA,2BAAA,UAAA,CAAuB;CAClC,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiBA,IAAAA,EAAE,OAAO;EAC1B,YAAYA,IAAAA,EAAE,OAAO;CACvB;AACF,CAAC"}
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 generic_api_key: z.string(),\n generic_id: z.string(),\n};\n\nexport const pointagram: KeystrokeApp<\"pointagram\", typeof credential> = defineApp({\n slug: \"pointagram\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;;AAGA,MAAM,aAAa;CACjB,iBAAiBA,IAAAA,EAAE,OAAO;CAC1B,YAAYA,IAAAA,EAAE,OAAO;AACvB;AAEA,MAAa,cAAA,GAAA,2BAAA,UAAA,CAAsE;CACjF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,14 +1,12 @@
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 pointagram: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
7
  generic_id: z.ZodString;
11
- }, z.core.$strip>>>;
8
+ };
9
+ declare const pointagram: KeystrokeApp<"pointagram", typeof credential>;
12
10
  //#endregion
13
11
  export { pointagram };
14
12
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,UAAA,6BAAU,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAGL,CAAA,CAAA,SAAA;cAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,UAAA,EAAY,YAAY,sBAAsB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,14 +1,12 @@
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 pointagram: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"pointagram", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  generic_api_key: z.ZodString;
10
7
  generic_id: z.ZodString;
11
- }, z.core.$strip>>>;
8
+ };
9
+ declare const pointagram: KeystrokeApp<"pointagram", typeof credential>;
12
10
  //#endregion
13
11
  export { pointagram };
14
12
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,UAAA,6BAAU,GAAA,+BAAA,UAAA,eAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAGL,CAAA,CAAA,SAAA;cAAA,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,UAAA,EAAY,YAAY,sBAAsB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const pointagram = defineApp({
5
4
  slug: "pointagram",
6
5
  auth: "keystroke",
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\nexport const pointagram = defineApp({\n slug: \"pointagram\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_id: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,aAAa,UAAU;CAClC,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiB,EAAE,OAAO;EAC1B,YAAY,EAAE,OAAO;CACvB;AACF,CAAC"}
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 generic_api_key: z.string(),\n generic_id: z.string(),\n};\n\nexport const pointagram: KeystrokeApp<\"pointagram\", typeof credential> = defineApp({\n slug: \"pointagram\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAQA,MAAa,aAA4D,UAAU;CACjF,MAAM;CACN,MAAM;CACN;EAPA,iBAAiB,EAAE,OAAO;EAC1B,YAAY,EAAE,OAAO;CAMrB;AACF,CAAC"}