@keystrokehq/planly 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/complete-ai-prompt.cjs +4 -4
  4. package/dist/actions/complete-ai-prompt.cjs.map +1 -1
  5. package/dist/actions/complete-ai-prompt.d.cts +18 -3
  6. package/dist/actions/complete-ai-prompt.d.cts.map +1 -1
  7. package/dist/actions/complete-ai-prompt.d.mts +18 -3
  8. package/dist/actions/complete-ai-prompt.d.mts.map +1 -1
  9. package/dist/actions/complete-ai-prompt.mjs +4 -4
  10. package/dist/actions/complete-ai-prompt.mjs.map +1 -1
  11. package/dist/actions/create-team.cjs +2 -2
  12. package/dist/actions/create-team.cjs.map +1 -1
  13. package/dist/actions/create-team.d.cts +12 -3
  14. package/dist/actions/create-team.d.cts.map +1 -1
  15. package/dist/actions/create-team.d.mts +12 -3
  16. package/dist/actions/create-team.d.mts.map +1 -1
  17. package/dist/actions/create-team.mjs +2 -2
  18. package/dist/actions/create-team.mjs.map +1 -1
  19. package/dist/actions/delete-media.cjs +2 -2
  20. package/dist/actions/delete-media.cjs.map +1 -1
  21. package/dist/actions/delete-media.d.cts +10 -3
  22. package/dist/actions/delete-media.d.cts.map +1 -1
  23. package/dist/actions/delete-media.d.mts +10 -3
  24. package/dist/actions/delete-media.d.mts.map +1 -1
  25. package/dist/actions/delete-media.mjs +2 -2
  26. package/dist/actions/delete-media.mjs.map +1 -1
  27. package/dist/actions/delete-team.cjs +1 -1
  28. package/dist/actions/delete-team.cjs.map +1 -1
  29. package/dist/actions/delete-team.d.cts +9 -3
  30. package/dist/actions/delete-team.d.cts.map +1 -1
  31. package/dist/actions/delete-team.d.mts +9 -3
  32. package/dist/actions/delete-team.d.mts.map +1 -1
  33. package/dist/actions/delete-team.mjs +1 -1
  34. package/dist/actions/delete-team.mjs.map +1 -1
  35. package/dist/actions/edit-team.cjs +7 -7
  36. package/dist/actions/edit-team.cjs.map +1 -1
  37. package/dist/actions/edit-team.d.cts +31 -3
  38. package/dist/actions/edit-team.d.cts.map +1 -1
  39. package/dist/actions/edit-team.d.mts +31 -3
  40. package/dist/actions/edit-team.d.mts.map +1 -1
  41. package/dist/actions/edit-team.mjs +7 -7
  42. package/dist/actions/edit-team.mjs.map +1 -1
  43. package/dist/actions/get-ai-credits.cjs +1 -1
  44. package/dist/actions/get-ai-credits.cjs.map +1 -1
  45. package/dist/actions/get-ai-credits.d.cts +9 -3
  46. package/dist/actions/get-ai-credits.d.cts.map +1 -1
  47. package/dist/actions/get-ai-credits.d.mts +9 -3
  48. package/dist/actions/get-ai-credits.d.mts.map +1 -1
  49. package/dist/actions/get-ai-credits.mjs +1 -1
  50. package/dist/actions/get-ai-credits.mjs.map +1 -1
  51. package/dist/actions/get-team.cjs +1 -1
  52. package/dist/actions/get-team.cjs.map +1 -1
  53. package/dist/actions/get-team.d.cts +18 -3
  54. package/dist/actions/get-team.d.cts.map +1 -1
  55. package/dist/actions/get-team.d.mts +18 -3
  56. package/dist/actions/get-team.d.mts.map +1 -1
  57. package/dist/actions/get-team.mjs +1 -1
  58. package/dist/actions/get-team.mjs.map +1 -1
  59. package/dist/actions/import-media-from-url.cjs +3 -3
  60. package/dist/actions/import-media-from-url.cjs.map +1 -1
  61. package/dist/actions/import-media-from-url.d.cts +21 -3
  62. package/dist/actions/import-media-from-url.d.cts.map +1 -1
  63. package/dist/actions/import-media-from-url.d.mts +21 -3
  64. package/dist/actions/import-media-from-url.d.mts.map +1 -1
  65. package/dist/actions/import-media-from-url.mjs +3 -3
  66. package/dist/actions/import-media-from-url.mjs.map +1 -1
  67. package/dist/actions/list-channels.cjs +2 -2
  68. package/dist/actions/list-channels.cjs.map +1 -1
  69. package/dist/actions/list-channels.d.cts +23 -3
  70. package/dist/actions/list-channels.d.cts.map +1 -1
  71. package/dist/actions/list-channels.d.mts +23 -3
  72. package/dist/actions/list-channels.d.mts.map +1 -1
  73. package/dist/actions/list-channels.mjs +2 -2
  74. package/dist/actions/list-channels.mjs.map +1 -1
  75. package/dist/actions/list-media.cjs +3 -3
  76. package/dist/actions/list-media.cjs.map +1 -1
  77. package/dist/actions/list-media.d.cts +33 -3
  78. package/dist/actions/list-media.d.cts.map +1 -1
  79. package/dist/actions/list-media.d.mts +33 -3
  80. package/dist/actions/list-media.d.mts.map +1 -1
  81. package/dist/actions/list-media.mjs +3 -3
  82. package/dist/actions/list-media.mjs.map +1 -1
  83. package/dist/actions/list-schedule-groups.cjs +21 -21
  84. package/dist/actions/list-schedule-groups.cjs.map +1 -1
  85. package/dist/actions/list-schedule-groups.d.cts +93 -3
  86. package/dist/actions/list-schedule-groups.d.cts.map +1 -1
  87. package/dist/actions/list-schedule-groups.d.mts +93 -3
  88. package/dist/actions/list-schedule-groups.d.mts.map +1 -1
  89. package/dist/actions/list-schedule-groups.mjs +21 -21
  90. package/dist/actions/list-schedule-groups.mjs.map +1 -1
  91. package/dist/actions/list-schedules.cjs +5 -5
  92. package/dist/actions/list-schedules.cjs.map +1 -1
  93. package/dist/actions/list-schedules.d.cts +42 -3
  94. package/dist/actions/list-schedules.d.cts.map +1 -1
  95. package/dist/actions/list-schedules.d.mts +42 -3
  96. package/dist/actions/list-schedules.d.mts.map +1 -1
  97. package/dist/actions/list-schedules.mjs +5 -5
  98. package/dist/actions/list-schedules.mjs.map +1 -1
  99. package/dist/actions/list-team-users.cjs +6 -6
  100. package/dist/actions/list-team-users.cjs.map +1 -1
  101. package/dist/actions/list-team-users.d.cts +15 -3
  102. package/dist/actions/list-team-users.d.cts.map +1 -1
  103. package/dist/actions/list-team-users.d.mts +15 -3
  104. package/dist/actions/list-team-users.d.mts.map +1 -1
  105. package/dist/actions/list-team-users.mjs +6 -6
  106. package/dist/actions/list-team-users.mjs.map +1 -1
  107. package/dist/actions/list-teams.cjs +2 -2
  108. package/dist/actions/list-teams.cjs.map +1 -1
  109. package/dist/actions/list-teams.d.cts +12 -3
  110. package/dist/actions/list-teams.d.cts.map +1 -1
  111. package/dist/actions/list-teams.d.mts +12 -3
  112. package/dist/actions/list-teams.d.mts.map +1 -1
  113. package/dist/actions/list-teams.mjs +2 -2
  114. package/dist/actions/list-teams.mjs.map +1 -1
  115. package/dist/actions/start-media-upload.cjs +5 -5
  116. package/dist/actions/start-media-upload.cjs.map +1 -1
  117. package/dist/actions/start-media-upload.d.cts +18 -3
  118. package/dist/actions/start-media-upload.d.cts.map +1 -1
  119. package/dist/actions/start-media-upload.d.mts +18 -3
  120. package/dist/actions/start-media-upload.d.mts.map +1 -1
  121. package/dist/actions/start-media-upload.mjs +5 -5
  122. package/dist/actions/start-media-upload.mjs.map +1 -1
  123. package/dist/catalog.cjs +7 -1
  124. package/dist/catalog.cjs.map +1 -1
  125. package/dist/catalog.d.cts +8 -0
  126. package/dist/catalog.d.mts +8 -0
  127. package/dist/catalog.mjs +7 -1
  128. package/dist/catalog.mjs.map +1 -1
  129. package/package.json +2 -2
@@ -1,9 +1,37 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/edit-team.d.ts
4
- declare const PlanlyEditTeamInput: z.ZodTypeAny;
5
- declare const PlanlyEditTeamOutput: z.ZodTypeAny;
6
- declare const planlyEditTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyEditTeamInput: z.ZodObject<{
5
+ name: z.ZodString;
6
+ teamId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const PlanlyEditTeamOutput: z.ZodObject<{
9
+ data: z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodString>;
11
+ name: z.ZodNullable<z.ZodString>;
12
+ role: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13
+ limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
14
+ members: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ storage: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ channels: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ }, z.core.$loose>>>;
18
+ picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ permissions: z.ZodOptional<z.ZodNullable<z.ZodObject<{
20
+ analytics: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ ai_credits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ file_limits: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ posting_rights: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
+ }, z.core.$loose>>>;
25
+ integrations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
26
+ members_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
27
+ channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28
+ disconnected_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
29
+ }, z.core.$loose>>;
30
+ }, z.core.$loose>;
31
+ declare const planlyEditTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
32
+ name: string;
33
+ teamId: string;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
35
  //#endregion
8
36
  export { planlyEditTeam };
9
37
  //# sourceMappingURL=edit-team.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"edit-team.d.mts","names":[],"sources":["../../src/actions/edit-team.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAGlC;AAAA,cAwBW,oBAAA,EAAsB,CAAA,CAAE,UAEnC;AAAA,cAEW,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"edit-team.d.mts","names":[],"sources":["../../src/actions/edit-team.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;cA2BnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
@@ -9,31 +9,31 @@ const PlanlyEditTeam_TeamLimitsSchema = z.object({
9
9
  members: z.number().int().describe("Maximum number of members").nullable().optional(),
10
10
  storage: z.number().int().describe("Storage limit in bytes").nullable().optional(),
11
11
  channels: z.number().int().describe("Maximum number of channels").nullable().optional()
12
- }).describe("Team usage constraints");
12
+ }).passthrough().describe("Team usage constraints");
13
13
  const PlanlyEditTeam_TeamPermissionsSchema = z.object({
14
14
  analytics: z.boolean().describe("Analytics access enabled").nullable().optional(),
15
15
  ai_credits: z.number().int().describe("Available AI credits").nullable().optional(),
16
16
  file_limits: z.number().int().describe("File storage limits").nullable().optional(),
17
17
  posting_rights: z.boolean().describe("Posting rights enabled").nullable().optional()
18
- }).describe("Team feature access permissions");
18
+ }).passthrough().describe("Team feature access permissions");
19
19
  const PlanlyEditTeam_TeamDataSchema = z.object({
20
- id: z.string().describe("Team ID"),
21
- name: z.string().describe("Team name"),
20
+ id: z.string().describe("Team ID").nullable(),
21
+ name: z.string().describe("Team name").nullable(),
22
22
  role: z.number().int().describe("User's role (1 = owner/admin, 0 = member)").nullable().optional(),
23
23
  limits: PlanlyEditTeam_TeamLimitsSchema.nullable().optional(),
24
24
  picture: z.string().describe("Team avatar URL").nullable().optional(),
25
25
  permissions: PlanlyEditTeam_TeamPermissionsSchema.nullable().optional(),
26
- integrations: z.object({}).describe("Third-party connection data").nullable().optional(),
26
+ integrations: z.record(z.string(), z.unknown()).describe("Third-party connection data").nullable().optional(),
27
27
  members_count: z.number().int().describe("Number of team members").nullable().optional(),
28
28
  channels_count: z.number().int().describe("Number of connected channels").nullable().optional(),
29
29
  disconnected_channels_count: z.number().int().describe("Number of disconnected channels").nullable().optional()
30
- }).describe("Team details returned from Planly API");
30
+ }).passthrough().describe("Team details returned from Planly API");
31
31
  const planlyEditTeam = action("PLANLY_EDIT_TEAM", {
32
32
  slug: "planly-edit-team",
33
33
  name: "Edit Team",
34
34
  description: "Tool to edit team details such as name in Planly. Use when you need to update an existing team's information.",
35
35
  input: PlanlyEditTeamInput,
36
- output: z.object({ data: PlanlyEditTeam_TeamDataSchema.nullable() })
36
+ output: z.object({ data: PlanlyEditTeam_TeamDataSchema.nullable() }).passthrough()
37
37
  });
38
38
  //#endregion
39
39
  export { planlyEditTeam };
@@ -1 +1 @@
1
- {"version":3,"file":"edit-team.mjs","names":[],"sources":["../../src/actions/edit-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyEditTeamInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"New name for the team\"),\n teamId: z.string().describe(\"Team ID (UUID format)\"),\n});\nconst PlanlyEditTeam_TeamLimitsSchema: z.ZodTypeAny = z.object({\n members: z.number().int().describe(\"Maximum number of members\").nullable().optional(),\n storage: z.number().int().describe(\"Storage limit in bytes\").nullable().optional(),\n channels: z.number().int().describe(\"Maximum number of channels\").nullable().optional(),\n}).describe(\"Team usage constraints\");\nconst PlanlyEditTeam_TeamPermissionsSchema: z.ZodTypeAny = z.object({\n analytics: z.boolean().describe(\"Analytics access enabled\").nullable().optional(),\n ai_credits: z.number().int().describe(\"Available AI credits\").nullable().optional(),\n file_limits: z.number().int().describe(\"File storage limits\").nullable().optional(),\n posting_rights: z.boolean().describe(\"Posting rights enabled\").nullable().optional(),\n}).describe(\"Team feature access permissions\");\nconst PlanlyEditTeam_TeamDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Team ID\"),\n name: z.string().describe(\"Team name\"),\n role: z.number().int().describe(\"User's role (1 = owner/admin, 0 = member)\").nullable().optional(),\n limits: PlanlyEditTeam_TeamLimitsSchema.nullable().optional(),\n picture: z.string().describe(\"Team avatar URL\").nullable().optional(),\n permissions: PlanlyEditTeam_TeamPermissionsSchema.nullable().optional(),\n integrations: z.object({}).describe(\"Third-party connection data\").nullable().optional(),\n members_count: z.number().int().describe(\"Number of team members\").nullable().optional(),\n channels_count: z.number().int().describe(\"Number of connected channels\").nullable().optional(),\n disconnected_channels_count: z.number().int().describe(\"Number of disconnected channels\").nullable().optional(),\n}).describe(\"Team details returned from Planly API\");\nexport const PlanlyEditTeamOutput: z.ZodTypeAny = z.object({\n data: PlanlyEditTeam_TeamDataSchema.nullable(),\n});\n\nexport const planlyEditTeam = action(\"PLANLY_EDIT_TEAM\", {\n slug: \"planly-edit-team\",\n name: \"Edit Team\",\n description: \"Tool to edit team details such as name in Planly. Use when you need to update an existing team's information.\",\n input: PlanlyEditTeamInput,\n output: PlanlyEditTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AACrD,CAAC;AACD,MAAM,kCAAgD,EAAE,OAAO;CAC7D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpC,MAAM,uCAAqD,EAAE,OAAO;CAClE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAM,gCAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS;CACjC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACrC,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,aAAa,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACtE,cAAc,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAKnD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,8BAA8B,SAAS,EAC/C,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"edit-team.mjs","names":[],"sources":["../../src/actions/edit-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyEditTeamInput = z.object({\n name: z.string().describe(\"New name for the team\"),\n teamId: z.string().describe(\"Team ID (UUID format)\"),\n});\nconst PlanlyEditTeam_TeamLimitsSchema = z.object({\n members: z.number().int().describe(\"Maximum number of members\").nullable().optional(),\n storage: z.number().int().describe(\"Storage limit in bytes\").nullable().optional(),\n channels: z.number().int().describe(\"Maximum number of channels\").nullable().optional(),\n}).passthrough().describe(\"Team usage constraints\");\nconst PlanlyEditTeam_TeamPermissionsSchema = z.object({\n analytics: z.boolean().describe(\"Analytics access enabled\").nullable().optional(),\n ai_credits: z.number().int().describe(\"Available AI credits\").nullable().optional(),\n file_limits: z.number().int().describe(\"File storage limits\").nullable().optional(),\n posting_rights: z.boolean().describe(\"Posting rights enabled\").nullable().optional(),\n}).passthrough().describe(\"Team feature access permissions\");\nconst PlanlyEditTeam_TeamDataSchema = z.object({\n id: z.string().describe(\"Team ID\").nullable(),\n name: z.string().describe(\"Team name\").nullable(),\n role: z.number().int().describe(\"User's role (1 = owner/admin, 0 = member)\").nullable().optional(),\n limits: PlanlyEditTeam_TeamLimitsSchema.nullable().optional(),\n picture: z.string().describe(\"Team avatar URL\").nullable().optional(),\n permissions: PlanlyEditTeam_TeamPermissionsSchema.nullable().optional(),\n integrations: z.record(z.string(), z.unknown()).describe(\"Third-party connection data\").nullable().optional(),\n members_count: z.number().int().describe(\"Number of team members\").nullable().optional(),\n channels_count: z.number().int().describe(\"Number of connected channels\").nullable().optional(),\n disconnected_channels_count: z.number().int().describe(\"Number of disconnected channels\").nullable().optional(),\n}).passthrough().describe(\"Team details returned from Planly API\");\nexport const PlanlyEditTeamOutput = z.object({\n data: PlanlyEditTeam_TeamDataSchema.nullable(),\n}).passthrough();\n\nexport const planlyEditTeam = action(\"PLANLY_EDIT_TEAM\", {\n slug: \"planly-edit-team\",\n name: \"Edit Team\",\n description: \"Tool to edit team details such as name in Planly. Use when you need to update an existing team's information.\",\n input: PlanlyEditTeamInput,\n output: PlanlyEditTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;AACrD,CAAC;AACD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wBAAwB;AAClD,MAAM,uCAAuC,EAAE,OAAO;CACpD,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQ,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,aAAa,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACtE,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAKjE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,8BAA8B,SAAS,EAC/C,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-ai-credits.ts
4
4
  const PlanlyGetAiCreditsInput = zod.z.object({ teamId: zod.z.string().describe("Id of team to retrieve AI credits for.") }).describe("Request model for retrieving AI credits for a team.");
5
- const PlanlyGetAiCreditsOutput = zod.z.object({ data: zod.z.number().int().describe("Number of AI credits available for the team.") }).describe("Response model containing available AI credits.");
5
+ const PlanlyGetAiCreditsOutput = zod.z.object({ data: zod.z.number().int().describe("Number of AI credits available for the team.").nullable() }).passthrough().describe("Response model containing available AI credits.");
6
6
  const planlyGetAiCredits = require_action.action("PLANLY_GET_AI_CREDITS", {
7
7
  slug: "planly-get-ai-credits",
8
8
  name: "Get AI Credits",
@@ -1 +1 @@
1
- {"version":3,"file":"get-ai-credits.cjs","names":["z","action"],"sources":["../../src/actions/get-ai-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetAiCreditsInput: z.ZodTypeAny = z.object({\n teamId: z.string().describe(\"Id of team to retrieve AI credits for.\"),\n}).describe(\"Request model for retrieving AI credits for a team.\");\nexport const PlanlyGetAiCreditsOutput: z.ZodTypeAny = z.object({\n data: z.number().int().describe(\"Number of AI credits available for the team.\"),\n}).describe(\"Response model containing available AI credits.\");\n\nexport const planlyGetAiCredits = action(\"PLANLY_GET_AI_CREDITS\", {\n slug: \"planly-get-ai-credits\",\n name: \"Get AI Credits\",\n description: \"Tool to retrieve available AI credits left in a team. Use when you need to check the remaining AI credits for a specific team.\",\n input: PlanlyGetAiCreditsInput,\n output: PlanlyGetAiCreditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-ai-credits.cjs","names":["z","action"],"sources":["../../src/actions/get-ai-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetAiCreditsInput = z.object({\n teamId: z.string().describe(\"Id of team to retrieve AI credits for.\"),\n}).describe(\"Request model for retrieving AI credits for a team.\");\nexport const PlanlyGetAiCreditsOutput = z.object({\n data: z.number().int().describe(\"Number of AI credits available for the team.\").nullable(),\n}).passthrough().describe(\"Response model containing available AI credits.\");\n\nexport const planlyGetAiCredits = action(\"PLANLY_GET_AI_CREDITS\", {\n slug: \"planly-get-ai-credits\",\n name: \"Get AI Credits\",\n description: \"Tool to retrieve available AI credits left in a team. Use when you need to check the remaining AI credits for a specific team.\",\n input: PlanlyGetAiCreditsInput,\n output: PlanlyGetAiCreditsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-ai-credits.d.ts
4
- declare const PlanlyGetAiCreditsInput: z.ZodTypeAny;
5
- declare const PlanlyGetAiCreditsOutput: z.ZodTypeAny;
6
- declare const planlyGetAiCredits: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyGetAiCreditsInput: z.ZodObject<{
5
+ teamId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlanlyGetAiCreditsOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodNumber>;
9
+ }, z.core.$loose>;
10
+ declare const planlyGetAiCredits: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ teamId: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { planlyGetAiCredits };
9
15
  //# sourceMappingURL=get-ai-credits.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-ai-credits.d.cts","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAE0B;AAAA,cACrD,wBAAA,EAA0B,CAAA,CAAE,UAEqB;AAAA,cAEjD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-ai-credits.d.cts","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-ai-credits.d.ts
4
- declare const PlanlyGetAiCreditsInput: z.ZodTypeAny;
5
- declare const PlanlyGetAiCreditsOutput: z.ZodTypeAny;
6
- declare const planlyGetAiCredits: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyGetAiCreditsInput: z.ZodObject<{
5
+ teamId: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlanlyGetAiCreditsOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodNumber>;
9
+ }, z.core.$loose>;
10
+ declare const planlyGetAiCredits: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ teamId: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { planlyGetAiCredits };
9
15
  //# sourceMappingURL=get-ai-credits.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-ai-credits.d.mts","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAE0B;AAAA,cACrD,wBAAA,EAA0B,CAAA,CAAE,UAEqB;AAAA,cAEjD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-ai-credits.d.mts","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAIxB,kBAAA,gCAAkB,wBAAA"}
@@ -5,7 +5,7 @@ const planlyGetAiCredits = action("PLANLY_GET_AI_CREDITS", {
5
5
  name: "Get AI Credits",
6
6
  description: "Tool to retrieve available AI credits left in a team. Use when you need to check the remaining AI credits for a specific team.",
7
7
  input: z.object({ teamId: z.string().describe("Id of team to retrieve AI credits for.") }).describe("Request model for retrieving AI credits for a team."),
8
- output: z.object({ data: z.number().int().describe("Number of AI credits available for the team.") }).describe("Response model containing available AI credits.")
8
+ output: z.object({ data: z.number().int().describe("Number of AI credits available for the team.").nullable() }).passthrough().describe("Response model containing available AI credits.")
9
9
  });
10
10
  //#endregion
11
11
  export { planlyGetAiCredits };
@@ -1 +1 @@
1
- {"version":3,"file":"get-ai-credits.mjs","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetAiCreditsInput: z.ZodTypeAny = z.object({\n teamId: z.string().describe(\"Id of team to retrieve AI credits for.\"),\n}).describe(\"Request model for retrieving AI credits for a team.\");\nexport const PlanlyGetAiCreditsOutput: z.ZodTypeAny = z.object({\n data: z.number().int().describe(\"Number of AI credits available for the team.\"),\n}).describe(\"Response model containing available AI credits.\");\n\nexport const planlyGetAiCredits = action(\"PLANLY_GET_AI_CREDITS\", {\n slug: \"planly-get-ai-credits\",\n name: \"Get AI Credits\",\n description: \"Tool to retrieve available AI credits left in a team. Use when you need to check the remaining AI credits for a specific team.\",\n input: PlanlyGetAiCreditsInput,\n output: PlanlyGetAiCreditsOutput,\n});\n"],"mappings":";;AAWA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXmD,EAAE,OAAO,EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QAToD,EAAE,OAAO,EAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,EAChF,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-ai-credits.mjs","names":[],"sources":["../../src/actions/get-ai-credits.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetAiCreditsInput = z.object({\n teamId: z.string().describe(\"Id of team to retrieve AI credits for.\"),\n}).describe(\"Request model for retrieving AI credits for a team.\");\nexport const PlanlyGetAiCreditsOutput = z.object({\n data: z.number().int().describe(\"Number of AI credits available for the team.\").nullable(),\n}).passthrough().describe(\"Response model containing available AI credits.\");\n\nexport const planlyGetAiCredits = action(\"PLANLY_GET_AI_CREDITS\", {\n slug: \"planly-get-ai-credits\",\n name: \"Get AI Credits\",\n description: \"Tool to retrieve available AI credits left in a team. Use when you need to check the remaining AI credits for a specific team.\",\n input: PlanlyGetAiCreditsInput,\n output: PlanlyGetAiCreditsOutput,\n});\n"],"mappings":";;AAWA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXqC,EAAE,OAAO,EAC9C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,EACtE,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATsC,EAAE,OAAO,EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
@@ -13,7 +13,7 @@ const PlanlyGetTeamOutput = zod.z.object({
13
13
  members_count: zod.z.number().int().describe("Total number of members in the team.").nullable().optional(),
14
14
  channels_count: zod.z.number().int().describe("Total number of connected channels for the team.").nullable().optional(),
15
15
  disconnected_channels_count: zod.z.number().int().describe("Number of disconnected channels for the team.").nullable().optional()
16
- }).describe("Response model containing detailed team information including permissions, limits, and integrations.");
16
+ }).passthrough().describe("Response model containing detailed team information including permissions, limits, and integrations.");
17
17
  const planlyGetTeam = require_action.action("PLANLY_GET_TEAM", {
18
18
  slug: "planly-get-team",
19
19
  name: "Get Team",
@@ -1 +1 @@
1
- {"version":3,"file":"get-team.cjs","names":["z","action"],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetTeamInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Team ID to retrieve information for.\"),\n}).describe(\"Request model for retrieving detailed information about a specific team.\");\nexport const PlanlyGetTeamOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the team.\").nullable().optional(),\n name: z.string().describe(\"Name of the team.\").nullable().optional(),\n role: z.number().int().describe(\"User's role identifier within the team.\").nullable().optional(),\n limits: z.record(z.string(), z.unknown()).describe(\"Team limits object containing usage quotas and restrictions.\").nullable().optional(),\n picture: z.string().describe(\"URL or path to the team's profile picture.\").nullable().optional(),\n permissions: z.record(z.string(), z.unknown()).describe(\"Team permissions object containing access control settings.\").nullable().optional(),\n integrations: z.record(z.string(), z.unknown()).describe(\"Team integrations object containing connected service configurations.\").nullable().optional(),\n members_count: z.number().int().describe(\"Total number of members in the team.\").nullable().optional(),\n channels_count: z.number().int().describe(\"Total number of connected channels for the team.\").nullable().optional(),\n disconnected_channels_count: z.number().int().describe(\"Number of disconnected channels for the team.\").nullable().optional(),\n}).describe(\"Response model containing detailed team information including permissions, limits, and integrations.\");\n\nexport const planlyGetTeam = action(\"PLANLY_GET_TEAM\", {\n slug: \"planly-get-team\",\n name: \"Get Team\",\n description: \"Tool to retrieve detailed information about a specific team including permissions, limits, and integrations. Use when you need to access team configuration, member counts, channel status, or integration details.\",\n input: PlanlyGetTeamInput,\n output: PlanlyGetTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmCA,IAAAA,EAAE,OAAO,EACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,sGAAsG;AAElH,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-team.cjs","names":["z","action"],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetTeamInput = z.object({\n id: z.string().describe(\"Team ID to retrieve information for.\"),\n}).describe(\"Request model for retrieving detailed information about a specific team.\");\nexport const PlanlyGetTeamOutput = z.object({\n id: z.string().describe(\"Unique identifier for the team.\").nullable().optional(),\n name: z.string().describe(\"Name of the team.\").nullable().optional(),\n role: z.number().int().describe(\"User's role identifier within the team.\").nullable().optional(),\n limits: z.record(z.string(), z.unknown()).describe(\"Team limits object containing usage quotas and restrictions.\").nullable().optional(),\n picture: z.string().describe(\"URL or path to the team's profile picture.\").nullable().optional(),\n permissions: z.record(z.string(), z.unknown()).describe(\"Team permissions object containing access control settings.\").nullable().optional(),\n integrations: z.record(z.string(), z.unknown()).describe(\"Team integrations object containing connected service configurations.\").nullable().optional(),\n members_count: z.number().int().describe(\"Total number of members in the team.\").nullable().optional(),\n channels_count: z.number().int().describe(\"Total number of connected channels for the team.\").nullable().optional(),\n disconnected_channels_count: z.number().int().describe(\"Number of disconnected channels for the team.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed team information including permissions, limits, and integrations.\");\n\nexport const planlyGetTeam = action(\"PLANLY_GET_TEAM\", {\n slug: \"planly-get-team\",\n name: \"Get Team\",\n description: \"Tool to retrieve detailed information about a specific team including permissions, limits, and integrations. Use when you need to access team configuration, member counts, channel status, or integration details.\",\n input: PlanlyGetTeamInput,\n output: PlanlyGetTeamOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,cAAcA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,6BAA6BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sGAAsG;AAEhI,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-team.d.ts
4
- declare const PlanlyGetTeamInput: z.ZodTypeAny;
5
- declare const PlanlyGetTeamOutput: z.ZodTypeAny;
6
- declare const planlyGetTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyGetTeamInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlanlyGetTeamOutput: z.ZodObject<{
8
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ role: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ limits: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
+ picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ permissions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
+ integrations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
+ members_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ disconnected_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ }, z.core.$loose>;
19
+ declare const planlyGetTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { planlyGetTeam };
9
24
  //# sourceMappingURL=get-team.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-team.d.cts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAEoD;AAAA,cAC1E,mBAAA,EAAqB,CAAA,CAAE,UAW+E;AAAA,cAEtG,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-team.d.cts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cAGlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAanB,aAAA,gCAAa,wBAAA"}
@@ -1,9 +1,24 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-team.d.ts
4
- declare const PlanlyGetTeamInput: z.ZodTypeAny;
5
- declare const PlanlyGetTeamOutput: z.ZodTypeAny;
6
- declare const planlyGetTeam: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyGetTeamInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlanlyGetTeamOutput: z.ZodObject<{
8
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ role: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11
+ limits: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
12
+ picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ permissions: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
+ integrations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
15
+ members_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
16
+ channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ disconnected_channels_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ }, z.core.$loose>;
19
+ declare const planlyGetTeam: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ id: string;
21
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
22
  //#endregion
8
23
  export { planlyGetTeam };
9
24
  //# sourceMappingURL=get-team.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-team.d.mts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAEoD;AAAA,cAC1E,mBAAA,EAAqB,CAAA,CAAE,UAW+E;AAAA,cAEtG,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-team.d.mts","names":[],"sources":["../../src/actions/get-team.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cAGlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAanB,aAAA,gCAAa,wBAAA"}
@@ -16,7 +16,7 @@ const planlyGetTeam = action("PLANLY_GET_TEAM", {
16
16
  members_count: z.number().int().describe("Total number of members in the team.").nullable().optional(),
17
17
  channels_count: z.number().int().describe("Total number of connected channels for the team.").nullable().optional(),
18
18
  disconnected_channels_count: z.number().int().describe("Number of disconnected channels for the team.").nullable().optional()
19
- }).describe("Response model containing detailed team information including permissions, limits, and integrations.")
19
+ }).passthrough().describe("Response model containing detailed team information including permissions, limits, and integrations.")
20
20
  });
21
21
  //#endregion
22
22
  export { planlyGetTeam };
@@ -1 +1 @@
1
- {"version":3,"file":"get-team.mjs","names":[],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetTeamInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Team ID to retrieve information for.\"),\n}).describe(\"Request model for retrieving detailed information about a specific team.\");\nexport const PlanlyGetTeamOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the team.\").nullable().optional(),\n name: z.string().describe(\"Name of the team.\").nullable().optional(),\n role: z.number().int().describe(\"User's role identifier within the team.\").nullable().optional(),\n limits: z.record(z.string(), z.unknown()).describe(\"Team limits object containing usage quotas and restrictions.\").nullable().optional(),\n picture: z.string().describe(\"URL or path to the team's profile picture.\").nullable().optional(),\n permissions: z.record(z.string(), z.unknown()).describe(\"Team permissions object containing access control settings.\").nullable().optional(),\n integrations: z.record(z.string(), z.unknown()).describe(\"Team integrations object containing connected service configurations.\").nullable().optional(),\n members_count: z.number().int().describe(\"Total number of members in the team.\").nullable().optional(),\n channels_count: z.number().int().describe(\"Total number of connected channels for the team.\").nullable().optional(),\n disconnected_channels_count: z.number().int().describe(\"Number of disconnected channels for the team.\").nullable().optional(),\n}).describe(\"Response model containing detailed team information including permissions, limits, and integrations.\");\n\nexport const planlyGetTeam = action(\"PLANLY_GET_TEAM\", {\n slug: \"planly-get-team\",\n name: \"Get Team\",\n description: \"Tool to retrieve detailed information about a specific team including permissions, limits, and integrations. Use when you need to access team configuration, member counts, channel status, or integration details.\",\n input: PlanlyGetTeamInput,\n output: PlanlyGetTeamOutput,\n});\n"],"mappings":";;AAoBA,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB8C,EAAE,OAAO,EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,0EAkBH;CACP,QAlB+C,EAAE,OAAO;EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,sGAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-team.mjs","names":[],"sources":["../../src/actions/get-team.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyGetTeamInput = z.object({\n id: z.string().describe(\"Team ID to retrieve information for.\"),\n}).describe(\"Request model for retrieving detailed information about a specific team.\");\nexport const PlanlyGetTeamOutput = z.object({\n id: z.string().describe(\"Unique identifier for the team.\").nullable().optional(),\n name: z.string().describe(\"Name of the team.\").nullable().optional(),\n role: z.number().int().describe(\"User's role identifier within the team.\").nullable().optional(),\n limits: z.record(z.string(), z.unknown()).describe(\"Team limits object containing usage quotas and restrictions.\").nullable().optional(),\n picture: z.string().describe(\"URL or path to the team's profile picture.\").nullable().optional(),\n permissions: z.record(z.string(), z.unknown()).describe(\"Team permissions object containing access control settings.\").nullable().optional(),\n integrations: z.record(z.string(), z.unknown()).describe(\"Team integrations object containing connected service configurations.\").nullable().optional(),\n members_count: z.number().int().describe(\"Total number of members in the team.\").nullable().optional(),\n channels_count: z.number().int().describe(\"Total number of connected channels for the team.\").nullable().optional(),\n disconnected_channels_count: z.number().int().describe(\"Number of disconnected channels for the team.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing detailed team information including permissions, limits, and integrations.\");\n\nexport const planlyGetTeam = action(\"PLANLY_GET_TEAM\", {\n slug: \"planly-get-team\",\n name: \"Get Team\",\n description: \"Tool to retrieve detailed information about a specific team including permissions, limits, and integrations. Use when you need to access team configuration, member counts, channel status, or integration details.\",\n input: PlanlyGetTeamInput,\n output: PlanlyGetTeamOutput,\n});\n"],"mappings":";;AAoBA,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBgC,EAAE,OAAO,EACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EAChE,CAAC,CAAC,CAAC,SAAS,0EAkBH;CACP,QAlBiC,EAAE,OAAO;EAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,cAAc,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,6BAA6B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sGAOhB;AACV,CAAC"}
@@ -8,18 +8,18 @@ const PlanlyImportMediaFromUrlInput = zod.z.object({
8
8
  const PlanlyImportMediaFromUrl_ResolutionSchema = zod.z.object({
9
9
  width: zod.z.number().int().describe("Width of the media in pixels").nullable().optional(),
10
10
  height: zod.z.number().int().describe("Height of the media in pixels").nullable().optional()
11
- }).describe("Resolution information for the imported media.");
11
+ }).passthrough().describe("Resolution information for the imported media.");
12
12
  const PlanlyImportMediaFromUrl_MediaDataSchema = zod.z.object({
13
13
  id: zod.z.string().describe("Unique identifier of the imported media").nullable().optional(),
14
14
  contentUri: zod.z.string().describe("URI of the imported media content").nullable().optional(),
15
15
  resolution: PlanlyImportMediaFromUrl_ResolutionSchema.nullable().optional(),
16
16
  contentType: zod.z.number().int().describe("Content type code of the media").nullable().optional(),
17
17
  thumbnailUri: zod.z.string().describe("URI of the media thumbnail").nullable().optional()
18
- }).describe("Media data returned from the import operation.");
18
+ }).passthrough().describe("Media data returned from the import operation.");
19
19
  const PlanlyImportMediaFromUrlOutput = zod.z.object({
20
20
  data: PlanlyImportMediaFromUrl_MediaDataSchema.nullable().optional(),
21
21
  error: zod.z.string().describe("Error message if the operation failed").nullable().optional()
22
- }).describe("Response model returned after importing media from URL.");
22
+ }).passthrough().describe("Response model returned after importing media from URL.");
23
23
  const planlyImportMediaFromUrl = require_action.action("PLANLY_IMPORT_MEDIA_FROM_URL", {
24
24
  slug: "planly-import-media-from-url",
25
25
  name: "Import Media From URL",
@@ -1 +1 @@
1
- {"version":3,"file":"import-media-from-url.cjs","names":["z","action"],"sources":["../../src/actions/import-media-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyImportMediaFromUrlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the media to import. Supported media content types are video/mp4, image/png, image/jpeg, image/webp.\"),\n teamId: z.string().describe(\"ID of the team to import media to\"),\n}).describe(\"Request model for importing media from a URL.\");\nconst PlanlyImportMediaFromUrl_ResolutionSchema: z.ZodTypeAny = z.object({\n width: z.number().int().describe(\"Width of the media in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels\").nullable().optional(),\n}).describe(\"Resolution information for the imported media.\");\nconst PlanlyImportMediaFromUrl_MediaDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the imported media\").nullable().optional(),\n contentUri: z.string().describe(\"URI of the imported media content\").nullable().optional(),\n resolution: PlanlyImportMediaFromUrl_ResolutionSchema.nullable().optional(),\n contentType: z.number().int().describe(\"Content type code of the media\").nullable().optional(),\n thumbnailUri: z.string().describe(\"URI of the media thumbnail\").nullable().optional(),\n}).describe(\"Media data returned from the import operation.\");\nexport const PlanlyImportMediaFromUrlOutput: z.ZodTypeAny = z.object({\n data: PlanlyImportMediaFromUrl_MediaDataSchema.nullable().optional(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n}).describe(\"Response model returned after importing media from URL.\");\n\nexport const planlyImportMediaFromUrl = action(\"PLANLY_IMPORT_MEDIA_FROM_URL\", {\n slug: \"planly-import-media-from-url\",\n name: \"Import Media From URL\",\n description: \"Tool to import media from a URL to your team. Use when you need to add external media (video/mp4, image/png, image/jpeg, image/webp) to a team's media library.\",\n input: PlanlyImportMediaFromUrlInput,\n output: PlanlyImportMediaFromUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACjE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAM,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,yDAAyD;AAErE,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"import-media-from-url.cjs","names":["z","action"],"sources":["../../src/actions/import-media-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyImportMediaFromUrlInput = z.object({\n url: z.string().describe(\"URL of the media to import. Supported media content types are video/mp4, image/png, image/jpeg, image/webp.\"),\n teamId: z.string().describe(\"ID of the team to import media to\"),\n}).describe(\"Request model for importing media from a URL.\");\nconst PlanlyImportMediaFromUrl_ResolutionSchema = z.object({\n width: z.number().int().describe(\"Width of the media in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels\").nullable().optional(),\n}).passthrough().describe(\"Resolution information for the imported media.\");\nconst PlanlyImportMediaFromUrl_MediaDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the imported media\").nullable().optional(),\n contentUri: z.string().describe(\"URI of the imported media content\").nullable().optional(),\n resolution: PlanlyImportMediaFromUrl_ResolutionSchema.nullable().optional(),\n contentType: z.number().int().describe(\"Content type code of the media\").nullable().optional(),\n thumbnailUri: z.string().describe(\"URI of the media thumbnail\").nullable().optional(),\n}).passthrough().describe(\"Media data returned from the import operation.\");\nexport const PlanlyImportMediaFromUrlOutput = z.object({\n data: PlanlyImportMediaFromUrl_MediaDataSchema.nullable().optional(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after importing media from URL.\");\n\nexport const planlyImportMediaFromUrl = action(\"PLANLY_IMPORT_MEDIA_FROM_URL\", {\n slug: \"planly-import-media-from-url\",\n name: \"Import Media From URL\",\n description: \"Tool to import media from a URL to your team. Use when you need to add external media (video/mp4, image/png, image/jpeg, image/webp) to a team's media library.\",\n input: PlanlyImportMediaFromUrlInput,\n output: PlanlyImportMediaFromUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACtI,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACjE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/import-media-from-url.d.ts
4
- declare const PlanlyImportMediaFromUrlInput: z.ZodTypeAny;
5
- declare const PlanlyImportMediaFromUrlOutput: z.ZodTypeAny;
6
- declare const planlyImportMediaFromUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyImportMediaFromUrlInput: z.ZodObject<{
5
+ url: z.ZodString;
6
+ teamId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const PlanlyImportMediaFromUrlOutput: z.ZodObject<{
9
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ contentUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ }, z.core.$loose>>>;
16
+ contentType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ thumbnailUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>>;
19
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>;
21
+ declare const planlyImportMediaFromUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ url: string;
23
+ teamId: string;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { planlyImportMediaFromUrl };
9
27
  //# sourceMappingURL=import-media-from-url.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"import-media-from-url.d.cts","names":[],"sources":["../../src/actions/import-media-from-url.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGc;AAAA,cAY/C,8BAAA,EAAgC,CAAA,CAAE,UAGuB;AAAA,cAEzD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"import-media-from-url.d.cts","names":[],"sources":["../../src/actions/import-media-from-url.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/import-media-from-url.d.ts
4
- declare const PlanlyImportMediaFromUrlInput: z.ZodTypeAny;
5
- declare const PlanlyImportMediaFromUrlOutput: z.ZodTypeAny;
6
- declare const planlyImportMediaFromUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyImportMediaFromUrlInput: z.ZodObject<{
5
+ url: z.ZodString;
6
+ teamId: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const PlanlyImportMediaFromUrlOutput: z.ZodObject<{
9
+ data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
10
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ contentUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ resolution: z.ZodOptional<z.ZodNullable<z.ZodObject<{
13
+ width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ }, z.core.$loose>>>;
16
+ contentType: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ thumbnailUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ }, z.core.$loose>>>;
19
+ error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ }, z.core.$loose>;
21
+ declare const planlyImportMediaFromUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ url: string;
23
+ teamId: string;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { planlyImportMediaFromUrl };
9
27
  //# sourceMappingURL=import-media-from-url.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"import-media-from-url.d.mts","names":[],"sources":["../../src/actions/import-media-from-url.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAGc;AAAA,cAY/C,8BAAA,EAAgC,CAAA,CAAE,UAGuB;AAAA,cAEzD,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"import-media-from-url.d.mts","names":[],"sources":["../../src/actions/import-media-from-url.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;cAe7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
@@ -8,14 +8,14 @@ const PlanlyImportMediaFromUrlInput = z.object({
8
8
  const PlanlyImportMediaFromUrl_ResolutionSchema = z.object({
9
9
  width: z.number().int().describe("Width of the media in pixels").nullable().optional(),
10
10
  height: z.number().int().describe("Height of the media in pixels").nullable().optional()
11
- }).describe("Resolution information for the imported media.");
11
+ }).passthrough().describe("Resolution information for the imported media.");
12
12
  const PlanlyImportMediaFromUrl_MediaDataSchema = z.object({
13
13
  id: z.string().describe("Unique identifier of the imported media").nullable().optional(),
14
14
  contentUri: z.string().describe("URI of the imported media content").nullable().optional(),
15
15
  resolution: PlanlyImportMediaFromUrl_ResolutionSchema.nullable().optional(),
16
16
  contentType: z.number().int().describe("Content type code of the media").nullable().optional(),
17
17
  thumbnailUri: z.string().describe("URI of the media thumbnail").nullable().optional()
18
- }).describe("Media data returned from the import operation.");
18
+ }).passthrough().describe("Media data returned from the import operation.");
19
19
  const planlyImportMediaFromUrl = action("PLANLY_IMPORT_MEDIA_FROM_URL", {
20
20
  slug: "planly-import-media-from-url",
21
21
  name: "Import Media From URL",
@@ -24,7 +24,7 @@ const planlyImportMediaFromUrl = action("PLANLY_IMPORT_MEDIA_FROM_URL", {
24
24
  output: z.object({
25
25
  data: PlanlyImportMediaFromUrl_MediaDataSchema.nullable().optional(),
26
26
  error: z.string().describe("Error message if the operation failed").nullable().optional()
27
- }).describe("Response model returned after importing media from URL.")
27
+ }).passthrough().describe("Response model returned after importing media from URL.")
28
28
  });
29
29
  //#endregion
30
30
  export { planlyImportMediaFromUrl };
@@ -1 +1 @@
1
- {"version":3,"file":"import-media-from-url.mjs","names":[],"sources":["../../src/actions/import-media-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyImportMediaFromUrlInput: z.ZodTypeAny = z.object({\n url: z.string().describe(\"URL of the media to import. Supported media content types are video/mp4, image/png, image/jpeg, image/webp.\"),\n teamId: z.string().describe(\"ID of the team to import media to\"),\n}).describe(\"Request model for importing media from a URL.\");\nconst PlanlyImportMediaFromUrl_ResolutionSchema: z.ZodTypeAny = z.object({\n width: z.number().int().describe(\"Width of the media in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels\").nullable().optional(),\n}).describe(\"Resolution information for the imported media.\");\nconst PlanlyImportMediaFromUrl_MediaDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the imported media\").nullable().optional(),\n contentUri: z.string().describe(\"URI of the imported media content\").nullable().optional(),\n resolution: PlanlyImportMediaFromUrl_ResolutionSchema.nullable().optional(),\n contentType: z.number().int().describe(\"Content type code of the media\").nullable().optional(),\n thumbnailUri: z.string().describe(\"URI of the media thumbnail\").nullable().optional(),\n}).describe(\"Media data returned from the import operation.\");\nexport const PlanlyImportMediaFromUrlOutput: z.ZodTypeAny = z.object({\n data: PlanlyImportMediaFromUrl_MediaDataSchema.nullable().optional(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n}).describe(\"Response model returned after importing media from URL.\");\n\nexport const planlyImportMediaFromUrl = action(\"PLANLY_IMPORT_MEDIA_FROM_URL\", {\n slug: \"planly-import-media-from-url\",\n name: \"Import Media From URL\",\n description: \"Tool to import media from a URL to your team. Use when you need to add external media (video/mp4, image/png, image/jpeg, image/webp) to a team's media library.\",\n input: PlanlyImportMediaFromUrlInput,\n output: PlanlyImportMediaFromUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO;CAClE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACjE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,4CAA0D,EAAE,OAAO;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAM5D,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0D,EAAE,OAAO;EACnE,MAAM,yCAAyC,SAAS,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,SAAS,yDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"import-media-from-url.mjs","names":[],"sources":["../../src/actions/import-media-from-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyImportMediaFromUrlInput = z.object({\n url: z.string().describe(\"URL of the media to import. Supported media content types are video/mp4, image/png, image/jpeg, image/webp.\"),\n teamId: z.string().describe(\"ID of the team to import media to\"),\n}).describe(\"Request model for importing media from a URL.\");\nconst PlanlyImportMediaFromUrl_ResolutionSchema = z.object({\n width: z.number().int().describe(\"Width of the media in pixels\").nullable().optional(),\n height: z.number().int().describe(\"Height of the media in pixels\").nullable().optional(),\n}).passthrough().describe(\"Resolution information for the imported media.\");\nconst PlanlyImportMediaFromUrl_MediaDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the imported media\").nullable().optional(),\n contentUri: z.string().describe(\"URI of the imported media content\").nullable().optional(),\n resolution: PlanlyImportMediaFromUrl_ResolutionSchema.nullable().optional(),\n contentType: z.number().int().describe(\"Content type code of the media\").nullable().optional(),\n thumbnailUri: z.string().describe(\"URI of the media thumbnail\").nullable().optional(),\n}).passthrough().describe(\"Media data returned from the import operation.\");\nexport const PlanlyImportMediaFromUrlOutput = z.object({\n data: PlanlyImportMediaFromUrl_MediaDataSchema.nullable().optional(),\n error: z.string().describe(\"Error message if the operation failed\").nullable().optional(),\n}).passthrough().describe(\"Response model returned after importing media from URL.\");\n\nexport const planlyImportMediaFromUrl = action(\"PLANLY_IMPORT_MEDIA_FROM_URL\", {\n slug: \"planly-import-media-from-url\",\n name: \"Import Media From URL\",\n description: \"Tool to import media from a URL to your team. Use when you need to add external media (video/mp4, image/png, image/jpeg, image/webp) to a team's media library.\",\n input: PlanlyImportMediaFromUrlInput,\n output: PlanlyImportMediaFromUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G;CACtI,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACjE,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAM1E,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,yCAAyC,SAAS,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAOhB;AACV,CAAC"}
@@ -15,11 +15,11 @@ const PlanlyListChannels_ChannelResponseSchema = zod.z.object({
15
15
  granted_scopes: zod.z.array(zod.z.string()).describe("List of granted permission scopes for the channel").nullable().optional(),
16
16
  social_network: zod.z.string().describe("Type of social network (e.g., facebook, twitter, instagram)").nullable().optional(),
17
17
  declined_scopes: zod.z.array(zod.z.string()).describe("List of declined permission scopes for the channel").nullable().optional()
18
- }).describe("Model representing a single social media channel.");
18
+ }).passthrough().describe("Model representing a single social media channel.");
19
19
  const PlanlyListChannelsOutput = zod.z.object({
20
20
  data: zod.z.array(PlanlyListChannels_ChannelResponseSchema).describe("List of social media channels connected to the team"),
21
21
  error: zod.z.unknown().describe("Error information if the request failed").nullable().optional()
22
- }).describe("Response model containing the list of channels.");
22
+ }).passthrough().describe("Response model containing the list of channels.");
23
23
  const planlyListChannels = require_action.action("PLANLY_LIST_CHANNELS", {
24
24
  slug: "planly-list-channels",
25
25
  name: "List Channels",
@@ -1 +1 @@
1
- {"version":3,"file":"list-channels.cjs","names":["z","action"],"sources":["../../src/actions/list-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListChannelsInput: z.ZodTypeAny = z.object({\n team_id: z.string().describe(\"ID of the team to retrieve its channels\"),\n}).describe(\"Request model for listing all social media channels connected to a team.\");\nconst PlanlyListChannels_ChannelResponseSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the channel\").nullable().optional(),\n url: z.string().describe(\"URL of the channel\").nullable().optional(),\n name: z.string().describe(\"Name of the channel\").nullable().optional(),\n method: z.string().describe(\"Connection method used for the channel\").nullable().optional(),\n status: z.number().int().describe(\"Status code of the channel\").nullable().optional(),\n picture: z.string().describe(\"Profile picture URL of the channel\").nullable().optional(),\n is_group: z.boolean().describe(\"Whether the channel is a group\").nullable().optional(),\n schedules: z.number().int().describe(\"Number of schedules associated with the channel\").nullable().optional(),\n external_id: z.string().describe(\"External ID from the social network\").nullable().optional(),\n granted_scopes: z.array(z.string()).describe(\"List of granted permission scopes for the channel\").nullable().optional(),\n social_network: z.string().describe(\"Type of social network (e.g., facebook, twitter, instagram)\").nullable().optional(),\n declined_scopes: z.array(z.string()).describe(\"List of declined permission scopes for the channel\").nullable().optional(),\n}).describe(\"Model representing a single social media channel.\");\nexport const PlanlyListChannelsOutput: z.ZodTypeAny = z.object({\n data: z.array(PlanlyListChannels_ChannelResponseSchema).describe(\"List of social media channels connected to the team\"),\n error: z.unknown().describe(\"Error information if the request failed\").nullable().optional(),\n}).describe(\"Response model containing the list of channels.\");\n\nexport const planlyListChannels = action(\"PLANLY_LIST_CHANNELS\", {\n slug: \"planly-list-channels\",\n name: \"List Channels\",\n description: \"Tool to list all social media channels connected to a team. Use when you need to retrieve channel details including name, picture, social network type, status, and scopes.\",\n input: PlanlyListChannelsInput,\n output: PlanlyListChannelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACxE,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,qDAAqD;CACtH,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-channels.cjs","names":["z","action"],"sources":["../../src/actions/list-channels.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanlyListChannelsInput = z.object({\n team_id: z.string().describe(\"ID of the team to retrieve its channels\"),\n}).describe(\"Request model for listing all social media channels connected to a team.\");\nconst PlanlyListChannels_ChannelResponseSchema = z.object({\n id: z.string().describe(\"Unique identifier of the channel\").nullable().optional(),\n url: z.string().describe(\"URL of the channel\").nullable().optional(),\n name: z.string().describe(\"Name of the channel\").nullable().optional(),\n method: z.string().describe(\"Connection method used for the channel\").nullable().optional(),\n status: z.number().int().describe(\"Status code of the channel\").nullable().optional(),\n picture: z.string().describe(\"Profile picture URL of the channel\").nullable().optional(),\n is_group: z.boolean().describe(\"Whether the channel is a group\").nullable().optional(),\n schedules: z.number().int().describe(\"Number of schedules associated with the channel\").nullable().optional(),\n external_id: z.string().describe(\"External ID from the social network\").nullable().optional(),\n granted_scopes: z.array(z.string()).describe(\"List of granted permission scopes for the channel\").nullable().optional(),\n social_network: z.string().describe(\"Type of social network (e.g., facebook, twitter, instagram)\").nullable().optional(),\n declined_scopes: z.array(z.string()).describe(\"List of declined permission scopes for the channel\").nullable().optional(),\n}).passthrough().describe(\"Model representing a single social media channel.\");\nexport const PlanlyListChannelsOutput = z.object({\n data: z.array(PlanlyListChannels_ChannelResponseSchema).describe(\"List of social media channels connected to the team\"),\n error: z.unknown().describe(\"Error information if the request failed\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the list of channels.\");\n\nexport const planlyListChannels = action(\"PLANLY_LIST_CHANNELS\", {\n slug: \"planly-list-channels\",\n name: \"List Channels\",\n description: \"Tool to list all social media channels connected to a team. Use when you need to retrieve channel details including name, picture, social network type, status, and scopes.\",\n input: PlanlyListChannelsInput,\n output: PlanlyListChannelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,EACxE,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,qDAAqD;CACtH,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-channels.d.ts
4
- declare const PlanlyListChannelsInput: z.ZodTypeAny;
5
- declare const PlanlyListChannelsOutput: z.ZodTypeAny;
6
- declare const planlyListChannels: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const PlanlyListChannelsInput: z.ZodObject<{
5
+ team_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const PlanlyListChannelsOutput: z.ZodObject<{
8
+ data: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ status: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ picture: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ is_group: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ schedules: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ granted_scopes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
19
+ social_network: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ declined_scopes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
21
+ }, z.core.$loose>>;
22
+ error: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
23
+ }, z.core.$loose>;
24
+ declare const planlyListChannels: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ team_id: string;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { planlyListChannels };
9
29
  //# sourceMappingURL=list-channels.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-channels.d.cts","names":[],"sources":["../../src/actions/list-channels.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAE+C;AAAA,cAe1E,wBAAA,EAA0B,CAAA,CAAE,UAGqB;AAAA,cAEjD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-channels.d.cts","names":[],"sources":["../../src/actions/list-channels.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAiBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}