@keystrokehq/planyo_online_booking 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 (69) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-reservation.cjs +1 -0
  4. package/dist/actions/add-reservation.cjs.map +1 -1
  5. package/dist/actions/add-reservation.d.cts +3 -28
  6. package/dist/actions/add-reservation.d.cts.map +1 -1
  7. package/dist/actions/add-reservation.d.mts +3 -28
  8. package/dist/actions/add-reservation.d.mts.map +1 -1
  9. package/dist/actions/add-reservation.mjs +1 -0
  10. package/dist/actions/add-reservation.mjs.map +1 -1
  11. package/dist/actions/add-user.cjs +1 -0
  12. package/dist/actions/add-user.cjs.map +1 -1
  13. package/dist/actions/add-user.d.cts +3 -28
  14. package/dist/actions/add-user.d.cts.map +1 -1
  15. package/dist/actions/add-user.d.mts +3 -28
  16. package/dist/actions/add-user.d.mts.map +1 -1
  17. package/dist/actions/add-user.mjs +1 -0
  18. package/dist/actions/add-user.mjs.map +1 -1
  19. package/dist/actions/get-addon-list.cjs +1 -0
  20. package/dist/actions/get-addon-list.cjs.map +1 -1
  21. package/dist/actions/get-addon-list.d.cts +3 -21
  22. package/dist/actions/get-addon-list.d.cts.map +1 -1
  23. package/dist/actions/get-addon-list.d.mts +3 -21
  24. package/dist/actions/get-addon-list.d.mts.map +1 -1
  25. package/dist/actions/get-addon-list.mjs +1 -0
  26. package/dist/actions/get-addon-list.mjs.map +1 -1
  27. package/dist/actions/get-coupon-list.cjs +1 -0
  28. package/dist/actions/get-coupon-list.cjs.map +1 -1
  29. package/dist/actions/get-coupon-list.d.cts +3 -19
  30. package/dist/actions/get-coupon-list.d.cts.map +1 -1
  31. package/dist/actions/get-coupon-list.d.mts +3 -19
  32. package/dist/actions/get-coupon-list.d.mts.map +1 -1
  33. package/dist/actions/get-coupon-list.mjs +1 -0
  34. package/dist/actions/get-coupon-list.mjs.map +1 -1
  35. package/dist/actions/get-resource-availability.cjs +1 -0
  36. package/dist/actions/get-resource-availability.cjs.map +1 -1
  37. package/dist/actions/get-resource-availability.d.cts +3 -25
  38. package/dist/actions/get-resource-availability.d.cts.map +1 -1
  39. package/dist/actions/get-resource-availability.d.mts +3 -25
  40. package/dist/actions/get-resource-availability.d.mts.map +1 -1
  41. package/dist/actions/get-resource-availability.mjs +1 -0
  42. package/dist/actions/get-resource-availability.mjs.map +1 -1
  43. package/dist/actions/get-resource-blackouts.cjs +1 -0
  44. package/dist/actions/get-resource-blackouts.cjs.map +1 -1
  45. package/dist/actions/get-resource-blackouts.d.cts +3 -19
  46. package/dist/actions/get-resource-blackouts.d.cts.map +1 -1
  47. package/dist/actions/get-resource-blackouts.d.mts +3 -19
  48. package/dist/actions/get-resource-blackouts.d.mts.map +1 -1
  49. package/dist/actions/get-resource-blackouts.mjs +1 -0
  50. package/dist/actions/get-resource-blackouts.mjs.map +1 -1
  51. package/dist/actions/get-resource-reviews.cjs +1 -0
  52. package/dist/actions/get-resource-reviews.cjs.map +1 -1
  53. package/dist/actions/get-resource-reviews.d.cts +3 -16
  54. package/dist/actions/get-resource-reviews.d.cts.map +1 -1
  55. package/dist/actions/get-resource-reviews.d.mts +3 -16
  56. package/dist/actions/get-resource-reviews.d.mts.map +1 -1
  57. package/dist/actions/get-resource-reviews.mjs +1 -0
  58. package/dist/actions/get-resource-reviews.mjs.map +1 -1
  59. package/dist/app.cjs +2 -2
  60. package/dist/app.cjs.map +1 -1
  61. package/dist/app.d.cts +4 -6
  62. package/dist/app.d.cts.map +1 -1
  63. package/dist/app.d.mts +4 -6
  64. package/dist/app.d.mts.map +1 -1
  65. package/dist/app.mjs +0 -1
  66. package/dist/app.mjs.map +1 -1
  67. package/dist/index.d.cts +1 -1
  68. package/dist/index.d.mts +1 -1
  69. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["planyoOnlineBooking","executePlanyoOnlineBookingTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { planyoOnlineBooking } from \"./app\";\nimport { executePlanyoOnlineBookingTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return planyoOnlineBooking.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePlanyoOnlineBookingTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,oBAAoB,OAAO;EAChC,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,+BAA+B,MAAM,KAAgC,CAAC;EACtG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["planyoOnlineBooking","executePlanyoOnlineBookingTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { planyoOnlineBooking } from \"./app\";\nimport { executePlanyoOnlineBookingTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof planyoOnlineBooking.credential> {\n return planyoOnlineBooking.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePlanyoOnlineBookingTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOmE;CACnE,OAAOA,YAAAA,oBAAoB,OAAO;EAChC,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,+BAA+B,MAAM,KAAgC,CAAC;EACtG;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { planyoOnlineBooking } from \"./app\";\nimport { executePlanyoOnlineBookingTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return planyoOnlineBooking.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePlanyoOnlineBookingTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,oBAAoB,OAAO;EAChC,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,+BAA+B,MAAM,KAAgC,CAAC;EACtG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { planyoOnlineBooking } from \"./app\";\nimport { executePlanyoOnlineBookingTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof planyoOnlineBooking.credential> {\n return planyoOnlineBooking.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executePlanyoOnlineBookingTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOmE;CACnE,OAAO,oBAAoB,OAAO;EAChC,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,+BAA+B,MAAM,KAAgC,CAAC;EACtG;CACF,CAAC;AACH"}
@@ -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/add-reservation.ts
@@ -1 +1 @@
1
- {"version":3,"file":"add-reservation.cjs","names":["z","action"],"sources":["../../src/actions/add-reservation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanyoOnlineBookingAddReservationInput = z.object({\n force: z.boolean().default(false).describe(\"Set to True to override conflicts and limits\").optional(),\n site_id: z.number().int().describe(\"ID of the Planyo site to reserve on\"),\n user_id: z.number().int().describe(\"Existing Planyo user ID; if not provided, user_email, first_name, and last_name are required\").optional(),\n end_time: z.string().describe(\"Reservation end time; will be converted to UNIX timestamp\").optional(),\n language: z.string().describe(\"Language for reservation notifications (e.g., 'en', 'fr')\").optional(),\n quantity: z.number().int().describe(\"Number of items or seats to reserve\"),\n last_name: z.string().describe(\"Customer last name; required if user_id not provided\").optional(),\n admin_mode: z.boolean().default(false).describe(\"Set to True to run in admin mode\").optional(),\n first_name: z.string().describe(\"Customer first name; required if user_id not provided\").optional(),\n start_time: z.string().describe(\"Reservation start time; will be converted to UNIX timestamp\").optional(),\n user_email: z.string().describe(\"Customer email; required if user_id not provided\").optional(),\n resource_id: z.number().int().describe(\"ID of the resource to reserve\"),\n voucher_code: z.string().describe(\"Voucher code to apply\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Additional custom form fields; keys are field IDs or names; 'req_' prefix will be added automatically\").optional(),\n});\nexport const PlanyoOnlineBookingAddReservationOutput = z.object({\n status: z.number().int().describe(\"Reservation status code\").nullable(),\n currency: z.string().describe(\"Currency code used\").nullable().optional(),\n admin_url: z.string().describe(\"Admin URL to manage this reservation\").nullable().optional(),\n error_msg: z.string().describe(\"Error message if any\").nullable().optional(),\n error_code: z.number().int().describe(\"Error code if request failed\").nullable().optional(),\n total_price: z.number().describe(\"Total price of the reservation\").nullable().optional(),\n customer_url: z.string().describe(\"Customer URL to view or manage the reservation\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Returned values for custom form fields\").nullable().optional(),\n reservation_id: z.number().int().describe(\"ID of the created reservation\").nullable(),\n confirmation_num: z.string().describe(\"Confirmation number if available\").nullable().optional(),\n}).passthrough();\n\nexport const planyoOnlineBookingAddReservation = action(\"PLANYO_ONLINE_BOOKING_ADD_RESERVATION\", {\n slug: \"planyo_online_booking-add-reservation\",\n name: \"Add Reservation\",\n description: \"Tool to create a new reservation. Use after gathering resource, timing, and customer details.\",\n input: PlanyoOnlineBookingAddReservationInput,\n output: PlanyoOnlineBookingAddReservationOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FA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AAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpF,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-reservation.cjs","names":["z","action"],"sources":["../../src/actions/add-reservation.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planyoOnlineBooking } from \"../app\";\n\nexport const PlanyoOnlineBookingAddReservationInput = z.object({\n force: z.boolean().default(false).describe(\"Set to True to override conflicts and limits\").optional(),\n site_id: z.number().int().describe(\"ID of the Planyo site to reserve on\"),\n user_id: z.number().int().describe(\"Existing Planyo user ID; if not provided, user_email, first_name, and last_name are required\").optional(),\n end_time: z.string().describe(\"Reservation end time; will be converted to UNIX timestamp\").optional(),\n language: z.string().describe(\"Language for reservation notifications (e.g., 'en', 'fr')\").optional(),\n quantity: z.number().int().describe(\"Number of items or seats to reserve\"),\n last_name: z.string().describe(\"Customer last name; required if user_id not provided\").optional(),\n admin_mode: z.boolean().default(false).describe(\"Set to True to run in admin mode\").optional(),\n first_name: z.string().describe(\"Customer first name; required if user_id not provided\").optional(),\n start_time: z.string().describe(\"Reservation start time; will be converted to UNIX timestamp\").optional(),\n user_email: z.string().describe(\"Customer email; required if user_id not provided\").optional(),\n resource_id: z.number().int().describe(\"ID of the resource to reserve\"),\n voucher_code: z.string().describe(\"Voucher code to apply\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Additional custom form fields; keys are field IDs or names; 'req_' prefix will be added automatically\").optional(),\n});\nexport const PlanyoOnlineBookingAddReservationOutput = z.object({\n status: z.number().int().describe(\"Reservation status code\").nullable(),\n currency: z.string().describe(\"Currency code used\").nullable().optional(),\n admin_url: z.string().describe(\"Admin URL to manage this reservation\").nullable().optional(),\n error_msg: z.string().describe(\"Error message if any\").nullable().optional(),\n error_code: z.number().int().describe(\"Error code if request failed\").nullable().optional(),\n total_price: z.number().describe(\"Total price of the reservation\").nullable().optional(),\n customer_url: z.string().describe(\"Customer URL to view or manage the reservation\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Returned values for custom form fields\").nullable().optional(),\n reservation_id: z.number().int().describe(\"ID of the created reservation\").nullable(),\n confirmation_num: z.string().describe(\"Confirmation number if available\").nullable().optional(),\n}).passthrough();\n\nexport const planyoOnlineBookingAddReservation: AppAction<\n typeof PlanyoOnlineBookingAddReservationInput,\n typeof PlanyoOnlineBookingAddReservationOutput,\n typeof planyoOnlineBooking.credential\n> = action(\"PLANYO_ONLINE_BOOKING_ADD_RESERVATION\", {\n slug: \"planyo_online_booking-add-reservation\",\n name: \"Add Reservation\",\n description: \"Tool to create a new reservation. Use after gathering resource, timing, and customer details.\",\n input: PlanyoOnlineBookingAddReservationInput,\n output: PlanyoOnlineBookingAddReservationOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;CAC5I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACpG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAChG,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CACtE,cAAcA,IAAAA,EAAE,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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,oCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { planyoOnlineBooking } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/add-reservation.d.ts
@@ -29,34 +31,7 @@ declare const PlanyoOnlineBookingAddReservationOutput: z.ZodObject<{
29
31
  reservation_id: z.ZodNullable<z.ZodNumber>;
30
32
  confirmation_num: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
33
  }, z.core.$loose>;
32
- declare const planyoOnlineBookingAddReservation: import("@keystrokehq/action").WorkflowActionDefinition<{
33
- site_id: number;
34
- quantity: number;
35
- resource_id: number;
36
- force?: boolean | undefined;
37
- user_id?: number | undefined;
38
- end_time?: string | undefined;
39
- language?: string | undefined;
40
- last_name?: string | undefined;
41
- admin_mode?: boolean | undefined;
42
- first_name?: string | undefined;
43
- start_time?: string | undefined;
44
- user_email?: string | undefined;
45
- voucher_code?: string | undefined;
46
- custom_fields?: Record<string, unknown> | undefined;
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", 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
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", z.ZodObject<{
54
- connectionId: z.ZodString;
55
- entityId: z.ZodString;
56
- instanceId: z.ZodString;
57
- }, z.core.$strip>, z.ZodObject<{
58
- generic_api_key: z.ZodString;
59
- }, z.core.$strip>>]>;
34
+ declare const planyoOnlineBookingAddReservation: AppAction<typeof PlanyoOnlineBookingAddReservationInput, typeof PlanyoOnlineBookingAddReservationOutput, typeof planyoOnlineBooking.credential>;
60
35
  //#endregion
61
36
  export { planyoOnlineBookingAddReservation };
62
37
  //# sourceMappingURL=add-reservation.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-reservation.d.cts","names":[],"sources":["../../src/actions/add-reservation.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgBtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAavC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"add-reservation.d.cts","names":[],"sources":["../../src/actions/add-reservation.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgBtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAavC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,mBAAA,CAAoB,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { planyoOnlineBooking } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/add-reservation.d.ts
@@ -29,34 +31,7 @@ declare const PlanyoOnlineBookingAddReservationOutput: z.ZodObject<{
29
31
  reservation_id: z.ZodNullable<z.ZodNumber>;
30
32
  confirmation_num: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
33
  }, z.core.$loose>;
32
- declare const planyoOnlineBookingAddReservation: import("@keystrokehq/action").WorkflowActionDefinition<{
33
- site_id: number;
34
- quantity: number;
35
- resource_id: number;
36
- force?: boolean | undefined;
37
- user_id?: number | undefined;
38
- end_time?: string | undefined;
39
- language?: string | undefined;
40
- last_name?: string | undefined;
41
- admin_mode?: boolean | undefined;
42
- first_name?: string | undefined;
43
- start_time?: string | undefined;
44
- user_email?: string | undefined;
45
- voucher_code?: string | undefined;
46
- custom_fields?: Record<string, unknown> | undefined;
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", 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
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", z.ZodObject<{
54
- connectionId: z.ZodString;
55
- entityId: z.ZodString;
56
- instanceId: z.ZodString;
57
- }, z.core.$strip>, z.ZodObject<{
58
- generic_api_key: z.ZodString;
59
- }, z.core.$strip>>]>;
34
+ declare const planyoOnlineBookingAddReservation: AppAction<typeof PlanyoOnlineBookingAddReservationInput, typeof PlanyoOnlineBookingAddReservationOutput, typeof planyoOnlineBooking.credential>;
60
35
  //#endregion
61
36
  export { planyoOnlineBookingAddReservation };
62
37
  //# sourceMappingURL=add-reservation.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-reservation.d.mts","names":[],"sources":["../../src/actions/add-reservation.ts"],"mappings":";;;cAIa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgBtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAavC,iCAAA,gCAAiC,wBAAA"}
1
+ {"version":3,"file":"add-reservation.d.mts","names":[],"sources":["../../src/actions/add-reservation.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgBtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAavC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,mBAAA,CAAoB,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 planyoOnlineBookingAddReservation = action("PLANYO_ONLINE_BOOKING_ADD_RESERVATION", {
@@ -1 +1 @@
1
- {"version":3,"file":"add-reservation.mjs","names":[],"sources":["../../src/actions/add-reservation.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanyoOnlineBookingAddReservationInput = z.object({\n force: z.boolean().default(false).describe(\"Set to True to override conflicts and limits\").optional(),\n site_id: z.number().int().describe(\"ID of the Planyo site to reserve on\"),\n user_id: z.number().int().describe(\"Existing Planyo user ID; if not provided, user_email, first_name, and last_name are required\").optional(),\n end_time: z.string().describe(\"Reservation end time; will be converted to UNIX timestamp\").optional(),\n language: z.string().describe(\"Language for reservation notifications (e.g., 'en', 'fr')\").optional(),\n quantity: z.number().int().describe(\"Number of items or seats to reserve\"),\n last_name: z.string().describe(\"Customer last name; required if user_id not provided\").optional(),\n admin_mode: z.boolean().default(false).describe(\"Set to True to run in admin mode\").optional(),\n first_name: z.string().describe(\"Customer first name; required if user_id not provided\").optional(),\n start_time: z.string().describe(\"Reservation start time; will be converted to UNIX timestamp\").optional(),\n user_email: z.string().describe(\"Customer email; required if user_id not provided\").optional(),\n resource_id: z.number().int().describe(\"ID of the resource to reserve\"),\n voucher_code: z.string().describe(\"Voucher code to apply\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Additional custom form fields; keys are field IDs or names; 'req_' prefix will be added automatically\").optional(),\n});\nexport const PlanyoOnlineBookingAddReservationOutput = z.object({\n status: z.number().int().describe(\"Reservation status code\").nullable(),\n currency: z.string().describe(\"Currency code used\").nullable().optional(),\n admin_url: z.string().describe(\"Admin URL to manage this reservation\").nullable().optional(),\n error_msg: z.string().describe(\"Error message if any\").nullable().optional(),\n error_code: z.number().int().describe(\"Error code if request failed\").nullable().optional(),\n total_price: z.number().describe(\"Total price of the reservation\").nullable().optional(),\n customer_url: z.string().describe(\"Customer URL to view or manage the reservation\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Returned values for custom form fields\").nullable().optional(),\n reservation_id: z.number().int().describe(\"ID of the created reservation\").nullable(),\n confirmation_num: z.string().describe(\"Confirmation number if available\").nullable().optional(),\n}).passthrough();\n\nexport const planyoOnlineBookingAddReservation = action(\"PLANYO_ONLINE_BOOKING_ADD_RESERVATION\", {\n slug: \"planyo_online_booking-add-reservation\",\n name: \"Add Reservation\",\n description: \"Tool to create a new reservation. Use after gathering resource, timing, and customer details.\",\n input: PlanyoOnlineBookingAddReservationInput,\n output: PlanyoOnlineBookingAddReservationOutput,\n});\n"],"mappings":";;AAiCA,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjCoD,EAAE,OAAO;EAC7D,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC5I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC7F,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,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"add-reservation.mjs","names":[],"sources":["../../src/actions/add-reservation.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planyoOnlineBooking } from \"../app\";\n\nexport const PlanyoOnlineBookingAddReservationInput = z.object({\n force: z.boolean().default(false).describe(\"Set to True to override conflicts and limits\").optional(),\n site_id: z.number().int().describe(\"ID of the Planyo site to reserve on\"),\n user_id: z.number().int().describe(\"Existing Planyo user ID; if not provided, user_email, first_name, and last_name are required\").optional(),\n end_time: z.string().describe(\"Reservation end time; will be converted to UNIX timestamp\").optional(),\n language: z.string().describe(\"Language for reservation notifications (e.g., 'en', 'fr')\").optional(),\n quantity: z.number().int().describe(\"Number of items or seats to reserve\"),\n last_name: z.string().describe(\"Customer last name; required if user_id not provided\").optional(),\n admin_mode: z.boolean().default(false).describe(\"Set to True to run in admin mode\").optional(),\n first_name: z.string().describe(\"Customer first name; required if user_id not provided\").optional(),\n start_time: z.string().describe(\"Reservation start time; will be converted to UNIX timestamp\").optional(),\n user_email: z.string().describe(\"Customer email; required if user_id not provided\").optional(),\n resource_id: z.number().int().describe(\"ID of the resource to reserve\"),\n voucher_code: z.string().describe(\"Voucher code to apply\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Additional custom form fields; keys are field IDs or names; 'req_' prefix will be added automatically\").optional(),\n});\nexport const PlanyoOnlineBookingAddReservationOutput = z.object({\n status: z.number().int().describe(\"Reservation status code\").nullable(),\n currency: z.string().describe(\"Currency code used\").nullable().optional(),\n admin_url: z.string().describe(\"Admin URL to manage this reservation\").nullable().optional(),\n error_msg: z.string().describe(\"Error message if any\").nullable().optional(),\n error_code: z.number().int().describe(\"Error code if request failed\").nullable().optional(),\n total_price: z.number().describe(\"Total price of the reservation\").nullable().optional(),\n customer_url: z.string().describe(\"Customer URL to view or manage the reservation\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Returned values for custom form fields\").nullable().optional(),\n reservation_id: z.number().int().describe(\"ID of the created reservation\").nullable(),\n confirmation_num: z.string().describe(\"Confirmation number if available\").nullable().optional(),\n}).passthrough();\n\nexport const planyoOnlineBookingAddReservation: AppAction<\n typeof PlanyoOnlineBookingAddReservationInput,\n typeof PlanyoOnlineBookingAddReservationOutput,\n typeof planyoOnlineBooking.credential\n> = action(\"PLANYO_ONLINE_BOOKING_ADD_RESERVATION\", {\n slug: \"planyo_online_booking-add-reservation\",\n name: \"Add Reservation\",\n description: \"Tool to create a new reservation. Use after gathering resource, timing, and customer details.\",\n input: PlanyoOnlineBookingAddReservationInput,\n output: PlanyoOnlineBookingAddReservationOutput,\n});\n"],"mappings":";;;AAmCA,MAAa,oCAIT,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArCoD,EAAE,OAAO;EAC7D,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACpG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;EACxE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;EAC5I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACpG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC;EACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAChG,YAAY,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAA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I,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACpF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAWO;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/add-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"add-user.cjs","names":["z","action"],"sources":["../../src/actions/add-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanyoOnlineBookingAddUserInput = z.object({\n fax: z.string().describe(\"User's fax number\").optional(),\n zip: z.string().describe(\"User's postal code\").optional(),\n city: z.string().describe(\"User's city\").optional(),\n email: z.string().describe(\"User's email address\"),\n phone: z.string().describe(\"User's phone number\").optional(),\n state: z.string().describe(\"User's state or province\").optional(),\n mobile: z.string().describe(\"User's mobile phone number\").optional(),\n vat_id: z.string().describe(\"VAT identification number\").optional(),\n address: z.string().describe(\"User's street address\").optional(),\n company: z.string().describe(\"Company name associated with the user\").optional(),\n country: z.string().describe(\"User's country (2-letter ISO code)\").optional(),\n last_name: z.string().describe(\"User's last name\").optional(),\n first_name: z.string().describe(\"User's first name\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields mapping using field IDs, e.g. {'3': 'value'}\").optional(),\n}).describe(\"Request parameters for adding a new user in Planyo.\");\nexport const PlanyoOnlineBookingAddUserOutput = z.object({\n user_id: z.number().int().describe(\"ID of the newly created user\").nullable(),\n result_code: z.number().int().describe(\"Result code returned by the API (0 indicates success)\").nullable(),\n result_message: z.string().describe(\"Message describing the result of the operation\").nullable(),\n}).passthrough().describe(\"Response from Planyo after adding a new user.\");\n\nexport const planyoOnlineBookingAddUser = action(\"PLANYO_ONLINE_BOOKING_ADD_USER\", {\n slug: \"planyo_online_booking-add-user\",\n name: \"Add User\",\n description: \"Tool to add a new user in Planyo. Use when you need to create a user account after gathering user details.\",\n input: PlanyoOnlineBookingAddUserInput,\n output: PlanyoOnlineBookingAddUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-user.cjs","names":["z","action"],"sources":["../../src/actions/add-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planyoOnlineBooking } from \"../app\";\n\nexport const PlanyoOnlineBookingAddUserInput = z.object({\n fax: z.string().describe(\"User's fax number\").optional(),\n zip: z.string().describe(\"User's postal code\").optional(),\n city: z.string().describe(\"User's city\").optional(),\n email: z.string().describe(\"User's email address\"),\n phone: z.string().describe(\"User's phone number\").optional(),\n state: z.string().describe(\"User's state or province\").optional(),\n mobile: z.string().describe(\"User's mobile phone number\").optional(),\n vat_id: z.string().describe(\"VAT identification number\").optional(),\n address: z.string().describe(\"User's street address\").optional(),\n company: z.string().describe(\"Company name associated with the user\").optional(),\n country: z.string().describe(\"User's country (2-letter ISO code)\").optional(),\n last_name: z.string().describe(\"User's last name\").optional(),\n first_name: z.string().describe(\"User's first name\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields mapping using field IDs, e.g. {'3': 'value'}\").optional(),\n}).describe(\"Request parameters for adding a new user in Planyo.\");\nexport const PlanyoOnlineBookingAddUserOutput = z.object({\n user_id: z.number().int().describe(\"ID of the newly created user\").nullable(),\n result_code: z.number().int().describe(\"Result code returned by the API (0 indicates success)\").nullable(),\n result_message: z.string().describe(\"Message describing the result of the operation\").nullable(),\n}).passthrough().describe(\"Response from Planyo after adding a new user.\");\n\nexport const planyoOnlineBookingAddUser: AppAction<\n typeof PlanyoOnlineBookingAddUserInput,\n typeof PlanyoOnlineBookingAddUserOutput,\n typeof planyoOnlineBooking.credential\n> = action(\"PLANYO_ONLINE_BOOKING_ADD_USER\", {\n slug: \"planyo_online_booking-add-user\",\n name: \"Add User\",\n description: \"Tool to add a new user in Planyo. Use when you need to create a user account after gathering user details.\",\n input: PlanyoOnlineBookingAddUserInput,\n output: PlanyoOnlineBookingAddUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAClE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC/D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,eAAeA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACzG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { planyoOnlineBooking } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/add-user.d.ts
@@ -22,34 +24,7 @@ declare const PlanyoOnlineBookingAddUserOutput: z.ZodObject<{
22
24
  result_code: z.ZodNullable<z.ZodNumber>;
23
25
  result_message: z.ZodNullable<z.ZodString>;
24
26
  }, z.core.$loose>;
25
- declare const planyoOnlineBookingAddUser: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- email: string;
27
- fax?: string | undefined;
28
- zip?: string | undefined;
29
- city?: string | undefined;
30
- phone?: string | undefined;
31
- state?: string | undefined;
32
- mobile?: string | undefined;
33
- vat_id?: string | undefined;
34
- address?: string | undefined;
35
- company?: string | undefined;
36
- country?: string | undefined;
37
- last_name?: string | undefined;
38
- first_name?: string | undefined;
39
- custom_fields?: Record<string, unknown> | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", 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
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", z.ZodObject<{
47
- connectionId: z.ZodString;
48
- entityId: z.ZodString;
49
- instanceId: z.ZodString;
50
- }, z.core.$strip>, z.ZodObject<{
51
- generic_api_key: z.ZodString;
52
- }, z.core.$strip>>]>;
27
+ declare const planyoOnlineBookingAddUser: AppAction<typeof PlanyoOnlineBookingAddUserInput, typeof PlanyoOnlineBookingAddUserOutput, typeof planyoOnlineBooking.credential>;
53
28
  //#endregion
54
29
  export { planyoOnlineBookingAddUser };
55
30
  //# sourceMappingURL=add-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-user.d.cts","names":[],"sources":["../../src/actions/add-user.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"add-user.d.cts","names":[],"sources":["../../src/actions/add-user.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,mBAAA,CAAoB,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { planyoOnlineBooking } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/add-user.d.ts
@@ -22,34 +24,7 @@ declare const PlanyoOnlineBookingAddUserOutput: z.ZodObject<{
22
24
  result_code: z.ZodNullable<z.ZodNumber>;
23
25
  result_message: z.ZodNullable<z.ZodString>;
24
26
  }, z.core.$loose>;
25
- declare const planyoOnlineBookingAddUser: import("@keystrokehq/action").WorkflowActionDefinition<{
26
- email: string;
27
- fax?: string | undefined;
28
- zip?: string | undefined;
29
- city?: string | undefined;
30
- phone?: string | undefined;
31
- state?: string | undefined;
32
- mobile?: string | undefined;
33
- vat_id?: string | undefined;
34
- address?: string | undefined;
35
- company?: string | undefined;
36
- country?: string | undefined;
37
- last_name?: string | undefined;
38
- first_name?: string | undefined;
39
- custom_fields?: Record<string, unknown> | undefined;
40
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", 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
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", z.ZodObject<{
47
- connectionId: z.ZodString;
48
- entityId: z.ZodString;
49
- instanceId: z.ZodString;
50
- }, z.core.$strip>, z.ZodObject<{
51
- generic_api_key: z.ZodString;
52
- }, z.core.$strip>>]>;
27
+ declare const planyoOnlineBookingAddUser: AppAction<typeof PlanyoOnlineBookingAddUserInput, typeof PlanyoOnlineBookingAddUserOutput, typeof planyoOnlineBooking.credential>;
53
28
  //#endregion
54
29
  export { planyoOnlineBookingAddUser };
55
30
  //# sourceMappingURL=add-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-user.d.mts","names":[],"sources":["../../src/actions/add-user.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"add-user.d.mts","names":[],"sources":["../../src/actions/add-user.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAgB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAMhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,mBAAA,CAAoB,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 planyoOnlineBookingAddUser = action("PLANYO_ONLINE_BOOKING_ADD_USER", {
@@ -1 +1 @@
1
- {"version":3,"file":"add-user.mjs","names":[],"sources":["../../src/actions/add-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanyoOnlineBookingAddUserInput = z.object({\n fax: z.string().describe(\"User's fax number\").optional(),\n zip: z.string().describe(\"User's postal code\").optional(),\n city: z.string().describe(\"User's city\").optional(),\n email: z.string().describe(\"User's email address\"),\n phone: z.string().describe(\"User's phone number\").optional(),\n state: z.string().describe(\"User's state or province\").optional(),\n mobile: z.string().describe(\"User's mobile phone number\").optional(),\n vat_id: z.string().describe(\"VAT identification number\").optional(),\n address: z.string().describe(\"User's street address\").optional(),\n company: z.string().describe(\"Company name associated with the user\").optional(),\n country: z.string().describe(\"User's country (2-letter ISO code)\").optional(),\n last_name: z.string().describe(\"User's last name\").optional(),\n first_name: z.string().describe(\"User's first name\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields mapping using field IDs, e.g. {'3': 'value'}\").optional(),\n}).describe(\"Request parameters for adding a new user in Planyo.\");\nexport const PlanyoOnlineBookingAddUserOutput = z.object({\n user_id: z.number().int().describe(\"ID of the newly created user\").nullable(),\n result_code: z.number().int().describe(\"Result code returned by the API (0 indicates success)\").nullable(),\n result_message: z.string().describe(\"Message describing the result of the operation\").nullable(),\n}).passthrough().describe(\"Response from Planyo after adding a new user.\");\n\nexport const planyoOnlineBookingAddUser = action(\"PLANYO_ONLINE_BOOKING_ADD_USER\", {\n slug: \"planyo_online_booking-add-user\",\n name: \"Add User\",\n description: \"Tool to add a new user in Planyo. Use when you need to create a user account after gathering user details.\",\n input: PlanyoOnlineBookingAddUserInput,\n output: PlanyoOnlineBookingAddUserOutput,\n});\n"],"mappings":";;AA0BA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1B6C,EAAE,OAAO;EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC9D,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,qDAWH;CACP,QAX8C,EAAE,OAAO;EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACzG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"add-user.mjs","names":[],"sources":["../../src/actions/add-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planyoOnlineBooking } from \"../app\";\n\nexport const PlanyoOnlineBookingAddUserInput = z.object({\n fax: z.string().describe(\"User's fax number\").optional(),\n zip: z.string().describe(\"User's postal code\").optional(),\n city: z.string().describe(\"User's city\").optional(),\n email: z.string().describe(\"User's email address\"),\n phone: z.string().describe(\"User's phone number\").optional(),\n state: z.string().describe(\"User's state or province\").optional(),\n mobile: z.string().describe(\"User's mobile phone number\").optional(),\n vat_id: z.string().describe(\"VAT identification number\").optional(),\n address: z.string().describe(\"User's street address\").optional(),\n company: z.string().describe(\"Company name associated with the user\").optional(),\n country: z.string().describe(\"User's country (2-letter ISO code)\").optional(),\n last_name: z.string().describe(\"User's last name\").optional(),\n first_name: z.string().describe(\"User's first name\").optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Custom fields mapping using field IDs, e.g. {'3': 'value'}\").optional(),\n}).describe(\"Request parameters for adding a new user in Planyo.\");\nexport const PlanyoOnlineBookingAddUserOutput = z.object({\n user_id: z.number().int().describe(\"ID of the newly created user\").nullable(),\n result_code: z.number().int().describe(\"Result code returned by the API (0 indicates success)\").nullable(),\n result_message: z.string().describe(\"Message describing the result of the operation\").nullable(),\n}).passthrough().describe(\"Response from Planyo after adding a new user.\");\n\nexport const planyoOnlineBookingAddUser: AppAction<\n typeof PlanyoOnlineBookingAddUserInput,\n typeof PlanyoOnlineBookingAddUserOutput,\n typeof planyoOnlineBooking.credential\n> = action(\"PLANYO_ONLINE_BOOKING_ADD_USER\", {\n slug: \"planyo_online_booking-add-user\",\n name: \"Add User\",\n description: \"Tool to add a new user in Planyo. Use when you need to create a user account after gathering user details.\",\n input: PlanyoOnlineBookingAddUserInput,\n output: PlanyoOnlineBookingAddUserOutput,\n});\n"],"mappings":";;;AA4BA,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9B6C,EAAE,OAAO;EACtD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAChE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAClE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC/D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;EAC9D,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,qDAeH;CACP,QAf8C,EAAE,OAAO;EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACzG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAWhB;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/get-addon-list.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-addon-list.cjs","names":["z","action"],"sources":["../../src/actions/get-addon-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanyoOnlineBookingGetAddonListInput = z.object({\n site_id: z.number().int().describe(\"Site ID to query; deduced from api_key or resource_id if omitted\").optional(),\n user_id: z.number().int().describe(\"Numeric user ID for authentication; alternative to login_name/password\").optional(),\n password: z.string().describe(\"Password for authentication; required if api_key is not provided\").optional(),\n admin_mode: z.boolean().describe(\"If true, list add-ons in admin mode when no resource_id is given\").optional(),\n login_name: z.string().describe(\"Username for authentication; required if api_key is not provided\").optional(),\n session_id: z.string().describe(\"Session token for authentication; alternative to login_name/password\").optional(),\n resource_id: z.number().int().describe(\"Resource ID for which to retrieve add-ons; omit to fetch all site-wide add-ons\").optional(),\n}).describe(\"Request model for fetching add-on list. Provide authentication parameters if API key is not used.\");\nconst PlanyoOnlineBookingGetAddonList_AddonSchema = z.object({\n name: z.string().describe(\"Name of the add-on\").nullable(),\n addon_id: z.number().int().describe(\"Unique identifier of the add-on\").nullable(),\n price_expr: z.string().describe(\"Pricing expression for the add-on\").nullable(),\n description: z.string().describe(\"Description of the add-on\").nullable().optional(),\n resource_id: z.number().int().describe(\"ID of the resource this add-on belongs to\").nullable(),\n}).passthrough().describe(\"Schema for a single add-on item returned by the API.\");\nexport const PlanyoOnlineBookingGetAddonListOutput = z.object({\n count: z.number().int().describe(\"Total number of add-ons returned\").nullable(),\n addons: z.array(PlanyoOnlineBookingGetAddonList_AddonSchema).describe(\"List of add-ons matching the query\"),\n}).passthrough().describe(\"The response returned when listing add-ons.\");\n\nexport const planyoOnlineBookingGetAddonList = action(\"PLANYO_ONLINE_BOOKING_GET_ADDON_LIST\", {\n slug: \"planyo_online_booking-get-addon-list\",\n name: \"Get Add-on List\",\n description: \"Tool to retrieve a list of add-ons. Use when you need to inspect or manage add-ons for a specific resource or across the entire site after setting up credentials.\",\n input: PlanyoOnlineBookingGetAddonListInput,\n output: PlanyoOnlineBookingGetAddonListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,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AAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,oCAAoC;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,kCAAkCC,eAAAA,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-addon-list.cjs","names":["z","action"],"sources":["../../src/actions/get-addon-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planyoOnlineBooking } from \"../app\";\n\nexport const PlanyoOnlineBookingGetAddonListInput = z.object({\n site_id: z.number().int().describe(\"Site ID to query; deduced from api_key or resource_id if omitted\").optional(),\n user_id: z.number().int().describe(\"Numeric user ID for authentication; alternative to login_name/password\").optional(),\n password: z.string().describe(\"Password for authentication; required if api_key is not provided\").optional(),\n admin_mode: z.boolean().describe(\"If true, list add-ons in admin mode when no resource_id is given\").optional(),\n login_name: z.string().describe(\"Username for authentication; required if api_key is not provided\").optional(),\n session_id: z.string().describe(\"Session token for authentication; alternative to login_name/password\").optional(),\n resource_id: z.number().int().describe(\"Resource ID for which to retrieve add-ons; omit to fetch all site-wide add-ons\").optional(),\n}).describe(\"Request model for fetching add-on list. Provide authentication parameters if API key is not used.\");\nconst PlanyoOnlineBookingGetAddonList_AddonSchema = z.object({\n name: z.string().describe(\"Name of the add-on\").nullable(),\n addon_id: z.number().int().describe(\"Unique identifier of the add-on\").nullable(),\n price_expr: z.string().describe(\"Pricing expression for the add-on\").nullable(),\n description: z.string().describe(\"Description of the add-on\").nullable().optional(),\n resource_id: z.number().int().describe(\"ID of the resource this add-on belongs to\").nullable(),\n}).passthrough().describe(\"Schema for a single add-on item returned by the API.\");\nexport const PlanyoOnlineBookingGetAddonListOutput = z.object({\n count: z.number().int().describe(\"Total number of add-ons returned\").nullable(),\n addons: z.array(PlanyoOnlineBookingGetAddonList_AddonSchema).describe(\"List of add-ons matching the query\"),\n}).passthrough().describe(\"The response returned when listing add-ons.\");\n\nexport const planyoOnlineBookingGetAddonList: AppAction<\n typeof PlanyoOnlineBookingGetAddonListInput,\n typeof PlanyoOnlineBookingGetAddonListOutput,\n typeof planyoOnlineBooking.credential\n> = action(\"PLANYO_ONLINE_BOOKING_GET_ADDON_LIST\", {\n slug: \"planyo_online_booking-get-addon-list\",\n name: \"Get Add-on List\",\n description: \"Tool to retrieve a list of add-ons. Use when you need to inspect or manage add-ons for a specific resource or across the entire site after setting up credentials.\",\n input: PlanyoOnlineBookingGetAddonListInput,\n output: PlanyoOnlineBookingGetAddonListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACtH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACjH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAC/G,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,oCAAoC;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,kCAITC,eAAAA,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { planyoOnlineBooking } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-addon-list.d.ts
@@ -20,27 +22,7 @@ declare const PlanyoOnlineBookingGetAddonListOutput: z.ZodObject<{
20
22
  resource_id: z.ZodNullable<z.ZodNumber>;
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>;
23
- declare const planyoOnlineBookingGetAddonList: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- site_id?: number | undefined;
25
- user_id?: number | undefined;
26
- password?: string | undefined;
27
- admin_mode?: boolean | undefined;
28
- login_name?: string | undefined;
29
- session_id?: string | undefined;
30
- resource_id?: number | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", z.ZodObject<{
38
- connectionId: z.ZodString;
39
- entityId: z.ZodString;
40
- instanceId: z.ZodString;
41
- }, z.core.$strip>, z.ZodObject<{
42
- generic_api_key: z.ZodString;
43
- }, z.core.$strip>>]>;
25
+ declare const planyoOnlineBookingGetAddonList: AppAction<typeof PlanyoOnlineBookingGetAddonListInput, typeof PlanyoOnlineBookingGetAddonListOutput, typeof planyoOnlineBooking.credential>;
44
26
  //#endregion
45
27
  export { planyoOnlineBookingGetAddonList };
46
28
  //# sourceMappingURL=get-addon-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-addon-list.d.cts","names":[],"sources":["../../src/actions/get-addon-list.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;cAgBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-addon-list.d.cts","names":[],"sources":["../../src/actions/get-addon-list.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;cAgBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;cAKrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,mBAAA,CAAoB,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { planyoOnlineBooking } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-addon-list.d.ts
@@ -20,27 +22,7 @@ declare const PlanyoOnlineBookingGetAddonListOutput: z.ZodObject<{
20
22
  resource_id: z.ZodNullable<z.ZodNumber>;
21
23
  }, z.core.$loose>>;
22
24
  }, z.core.$loose>;
23
- declare const planyoOnlineBookingGetAddonList: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- site_id?: number | undefined;
25
- user_id?: number | undefined;
26
- password?: string | undefined;
27
- admin_mode?: boolean | undefined;
28
- login_name?: string | undefined;
29
- session_id?: string | undefined;
30
- resource_id?: number | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", z.ZodObject<{
32
- connectionId: z.ZodString;
33
- entityId: z.ZodString;
34
- instanceId: z.ZodString;
35
- }, z.core.$strip>, z.ZodObject<{
36
- generic_api_key: z.ZodString;
37
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", z.ZodObject<{
38
- connectionId: z.ZodString;
39
- entityId: z.ZodString;
40
- instanceId: z.ZodString;
41
- }, z.core.$strip>, z.ZodObject<{
42
- generic_api_key: z.ZodString;
43
- }, z.core.$strip>>]>;
25
+ declare const planyoOnlineBookingGetAddonList: AppAction<typeof PlanyoOnlineBookingGetAddonListInput, typeof PlanyoOnlineBookingGetAddonListOutput, typeof planyoOnlineBooking.credential>;
44
26
  //#endregion
45
27
  export { planyoOnlineBookingGetAddonList };
46
28
  //# sourceMappingURL=get-addon-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-addon-list.d.mts","names":[],"sources":["../../src/actions/get-addon-list.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;cAgBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;cAKrC,+BAAA,gCAA+B,wBAAA"}
1
+ {"version":3,"file":"get-addon-list.d.mts","names":[],"sources":["../../src/actions/get-addon-list.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;;cAgBpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;cAKrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,mBAAA,CAAoB,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/get-addon-list.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-addon-list.mjs","names":[],"sources":["../../src/actions/get-addon-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanyoOnlineBookingGetAddonListInput = z.object({\n site_id: z.number().int().describe(\"Site ID to query; deduced from api_key or resource_id if omitted\").optional(),\n user_id: z.number().int().describe(\"Numeric user ID for authentication; alternative to login_name/password\").optional(),\n password: z.string().describe(\"Password for authentication; required if api_key is not provided\").optional(),\n admin_mode: z.boolean().describe(\"If true, list add-ons in admin mode when no resource_id is given\").optional(),\n login_name: z.string().describe(\"Username for authentication; required if api_key is not provided\").optional(),\n session_id: z.string().describe(\"Session token for authentication; alternative to login_name/password\").optional(),\n resource_id: z.number().int().describe(\"Resource ID for which to retrieve add-ons; omit to fetch all site-wide add-ons\").optional(),\n}).describe(\"Request model for fetching add-on list. Provide authentication parameters if API key is not used.\");\nconst PlanyoOnlineBookingGetAddonList_AddonSchema = z.object({\n name: z.string().describe(\"Name of the add-on\").nullable(),\n addon_id: z.number().int().describe(\"Unique identifier of the add-on\").nullable(),\n price_expr: z.string().describe(\"Pricing expression for the add-on\").nullable(),\n description: z.string().describe(\"Description of the add-on\").nullable().optional(),\n resource_id: z.number().int().describe(\"ID of the resource this add-on belongs to\").nullable(),\n}).passthrough().describe(\"Schema for a single add-on item returned by the API.\");\nexport const PlanyoOnlineBookingGetAddonListOutput = z.object({\n count: z.number().int().describe(\"Total number of add-ons returned\").nullable(),\n addons: z.array(PlanyoOnlineBookingGetAddonList_AddonSchema).describe(\"List of add-ons matching the query\"),\n}).passthrough().describe(\"The response returned when listing add-ons.\");\n\nexport const planyoOnlineBookingGetAddonList = action(\"PLANYO_ONLINE_BOOKING_GET_ADDON_LIST\", {\n slug: \"planyo_online_booking-get-addon-list\",\n name: \"Get Add-on List\",\n description: \"Tool to retrieve a list of add-ons. Use when you need to inspect or manage add-ons for a specific resource or across the entire site after setting up credentials.\",\n input: PlanyoOnlineBookingGetAddonListInput,\n output: PlanyoOnlineBookingGetAddonListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACtH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACjH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAC/G,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAMhF,MAAa,kCAAkC,OAAO,wCAAwC;CAC5F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmD,EAAE,OAAO;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,oCAAoC;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-addon-list.mjs","names":[],"sources":["../../src/actions/get-addon-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planyoOnlineBooking } from \"../app\";\n\nexport const PlanyoOnlineBookingGetAddonListInput = z.object({\n site_id: z.number().int().describe(\"Site ID to query; deduced from api_key or resource_id if omitted\").optional(),\n user_id: z.number().int().describe(\"Numeric user ID for authentication; alternative to login_name/password\").optional(),\n password: z.string().describe(\"Password for authentication; required if api_key is not provided\").optional(),\n admin_mode: z.boolean().describe(\"If true, list add-ons in admin mode when no resource_id is given\").optional(),\n login_name: z.string().describe(\"Username for authentication; required if api_key is not provided\").optional(),\n session_id: z.string().describe(\"Session token for authentication; alternative to login_name/password\").optional(),\n resource_id: z.number().int().describe(\"Resource ID for which to retrieve add-ons; omit to fetch all site-wide add-ons\").optional(),\n}).describe(\"Request model for fetching add-on list. Provide authentication parameters if API key is not used.\");\nconst PlanyoOnlineBookingGetAddonList_AddonSchema = z.object({\n name: z.string().describe(\"Name of the add-on\").nullable(),\n addon_id: z.number().int().describe(\"Unique identifier of the add-on\").nullable(),\n price_expr: z.string().describe(\"Pricing expression for the add-on\").nullable(),\n description: z.string().describe(\"Description of the add-on\").nullable().optional(),\n resource_id: z.number().int().describe(\"ID of the resource this add-on belongs to\").nullable(),\n}).passthrough().describe(\"Schema for a single add-on item returned by the API.\");\nexport const PlanyoOnlineBookingGetAddonListOutput = z.object({\n count: z.number().int().describe(\"Total number of add-ons returned\").nullable(),\n addons: z.array(PlanyoOnlineBookingGetAddonList_AddonSchema).describe(\"List of add-ons matching the query\"),\n}).passthrough().describe(\"The response returned when listing add-ons.\");\n\nexport const planyoOnlineBookingGetAddonList: AppAction<\n typeof PlanyoOnlineBookingGetAddonListInput,\n typeof PlanyoOnlineBookingGetAddonListOutput,\n typeof planyoOnlineBooking.credential\n> = action(\"PLANYO_ONLINE_BOOKING_GET_ADDON_LIST\", {\n slug: \"planyo_online_booking-get-addon-list\",\n name: \"Get Add-on List\",\n description: \"Tool to retrieve a list of add-ons. Use when you need to inspect or manage add-ons for a specific resource or across the entire site after setting up credentials.\",\n input: PlanyoOnlineBookingGetAddonListInput,\n output: PlanyoOnlineBookingGetAddonListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuC,EAAE,OAAO;CAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAChH,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CACtH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC3G,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC9G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CACjH,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;AACpI,CAAC,CAAC,CAAC,SAAS,mGAAmG;AAC/G,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAMhF,MAAa,kCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdmD,EAAE,OAAO;EAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,oCAAoC;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;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/get-coupon-list.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-coupon-list.cjs","names":["z","action"],"sources":["../../src/actions/get-coupon-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanyoOnlineBookingGetCouponListInput = z.object({\n page: z.number().int().describe(\"Zero-based page number for pagination. Each page returns up to 5000 coupons. Omit to get the first page.\").optional(),\n site_id: z.number().int().describe(\"ID of the site to fetch coupons for. Required if no resource_id is provided.\").optional(),\n admin_email: z.string().describe(\"Admin email for authentication if required.\").optional(),\n resource_id: z.number().int().describe(\"ID of the resource to filter coupons. If omitted, returns all coupons for the site.\").optional(),\n admin_password: z.string().describe(\"Admin password for authentication if required.\").optional(),\n}).describe(\"Request model for GET_COUPON_LIST action.\");\nconst PlanyoOnlineBookingGetCouponList_CouponSchema = z.object({\n code: z.string().describe(\"The code users must enter to apply this coupon.\").nullable(),\n name: z.string().describe(\"Name of the coupon.\").nullable(),\n used: z.number().int().describe(\"Number of times this coupon has already been used.\").nullable(),\n discount: z.number().describe(\"Discount value (percentage or amount).\").nullable(),\n coupon_id: z.number().int().describe(\"Unique identifier of the coupon.\").nullable(),\n days_valid: z.string().describe(\"Comma-separated weekdays when this coupon can be used (e.g., 'Mon,Wed').\").nullable().optional(),\n max_usages: z.number().int().describe(\"Maximum number of times this coupon may be used.\").nullable(),\n min_amount: z.number().describe(\"Minimum booking total required to apply this coupon.\").nullable().optional(),\n resource_id: z.number().int().describe(\"Resource ID to which this coupon applies.\").nullable(),\n discount_type: z.string().describe(\"Type of discount ('percent' or 'amount').\").nullable(),\n expiration_date: z.string().describe(\"Expiration date in YYYY-MM-DD format, if any.\").nullable().optional(),\n}).passthrough().describe(\"Represents a coupon in the Planyo system.\");\nexport const PlanyoOnlineBookingGetCouponListOutput = z.object({\n coupons: z.array(PlanyoOnlineBookingGetCouponList_CouponSchema).describe(\"Array of coupon objects returned by Planyo.\"),\n}).passthrough().describe(\"Response model for GET_COUPON_LIST action.\");\n\nexport const planyoOnlineBookingGetCouponList = action(\"PLANYO_ONLINE_BOOKING_GET_COUPON_LIST\", {\n slug: \"planyo_online_booking-get-coupon-list\",\n name: \"Get Coupon List\",\n description: \"Tool to retrieve a list of coupons. Use when you need to fetch all coupons for a specific resource or the entire site (if no resource_id provided).\",\n input: PlanyoOnlineBookingGetCouponListInput,\n output: PlanyoOnlineBookingGetCouponListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACrJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CACvI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACjG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CAC/F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,6CAA6C,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-coupon-list.cjs","names":["z","action"],"sources":["../../src/actions/get-coupon-list.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { planyoOnlineBooking } from \"../app\";\n\nexport const PlanyoOnlineBookingGetCouponListInput = z.object({\n page: z.number().int().describe(\"Zero-based page number for pagination. Each page returns up to 5000 coupons. Omit to get the first page.\").optional(),\n site_id: z.number().int().describe(\"ID of the site to fetch coupons for. Required if no resource_id is provided.\").optional(),\n admin_email: z.string().describe(\"Admin email for authentication if required.\").optional(),\n resource_id: z.number().int().describe(\"ID of the resource to filter coupons. If omitted, returns all coupons for the site.\").optional(),\n admin_password: z.string().describe(\"Admin password for authentication if required.\").optional(),\n}).describe(\"Request model for GET_COUPON_LIST action.\");\nconst PlanyoOnlineBookingGetCouponList_CouponSchema = z.object({\n code: z.string().describe(\"The code users must enter to apply this coupon.\").nullable(),\n name: z.string().describe(\"Name of the coupon.\").nullable(),\n used: z.number().int().describe(\"Number of times this coupon has already been used.\").nullable(),\n discount: z.number().describe(\"Discount value (percentage or amount).\").nullable(),\n coupon_id: z.number().int().describe(\"Unique identifier of the coupon.\").nullable(),\n days_valid: z.string().describe(\"Comma-separated weekdays when this coupon can be used (e.g., 'Mon,Wed').\").nullable().optional(),\n max_usages: z.number().int().describe(\"Maximum number of times this coupon may be used.\").nullable(),\n min_amount: z.number().describe(\"Minimum booking total required to apply this coupon.\").nullable().optional(),\n resource_id: z.number().int().describe(\"Resource ID to which this coupon applies.\").nullable(),\n discount_type: z.string().describe(\"Type of discount ('percent' or 'amount').\").nullable(),\n expiration_date: z.string().describe(\"Expiration date in YYYY-MM-DD format, if any.\").nullable().optional(),\n}).passthrough().describe(\"Represents a coupon in the Planyo system.\");\nexport const PlanyoOnlineBookingGetCouponListOutput = z.object({\n coupons: z.array(PlanyoOnlineBookingGetCouponList_CouponSchema).describe(\"Array of coupon objects returned by Planyo.\"),\n}).passthrough().describe(\"Response model for GET_COUPON_LIST action.\");\n\nexport const planyoOnlineBookingGetCouponList: AppAction<\n typeof PlanyoOnlineBookingGetCouponListInput,\n typeof PlanyoOnlineBookingGetCouponListOutput,\n typeof planyoOnlineBooking.credential\n> = action(\"PLANYO_ONLINE_BOOKING_GET_COUPON_LIST\", {\n slug: \"planyo_online_booking-get-coupon-list\",\n name: \"Get Coupon List\",\n description: \"Tool to retrieve a list of coupons. Use when you need to fetch all coupons for a specific resource or the entire site (if no resource_id provided).\",\n input: PlanyoOnlineBookingGetCouponListInput,\n output: PlanyoOnlineBookingGetCouponListOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAA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AE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACzF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,6CAA6C,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,mCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { planyoOnlineBooking } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-coupon-list.d.ts
@@ -23,25 +25,7 @@ declare const PlanyoOnlineBookingGetCouponListOutput: z.ZodObject<{
23
25
  expiration_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  }, z.core.$loose>>;
25
27
  }, z.core.$loose>;
26
- declare const planyoOnlineBookingGetCouponList: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- page?: number | undefined;
28
- site_id?: number | undefined;
29
- admin_email?: string | undefined;
30
- resource_id?: number | undefined;
31
- admin_password?: string | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- }, z.core.$strip>>]>;
28
+ declare const planyoOnlineBookingGetCouponList: AppAction<typeof PlanyoOnlineBookingGetCouponListInput, typeof PlanyoOnlineBookingGetCouponListOutput, typeof planyoOnlineBooking.credential>;
45
29
  //#endregion
46
30
  export { planyoOnlineBookingGetCouponList };
47
31
  //# sourceMappingURL=get-coupon-list.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-coupon-list.d.cts","names":[],"sources":["../../src/actions/get-coupon-list.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAoBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"get-coupon-list.d.cts","names":[],"sources":["../../src/actions/get-coupon-list.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAoBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,mBAAA,CAAoB,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { planyoOnlineBooking } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-coupon-list.d.ts
@@ -23,25 +25,7 @@ declare const PlanyoOnlineBookingGetCouponListOutput: z.ZodObject<{
23
25
  expiration_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
26
  }, z.core.$loose>>;
25
27
  }, z.core.$loose>;
26
- declare const planyoOnlineBookingGetCouponList: import("@keystrokehq/action").WorkflowActionDefinition<{
27
- page?: number | undefined;
28
- site_id?: number | undefined;
29
- admin_email?: string | undefined;
30
- resource_id?: number | undefined;
31
- admin_password?: string | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- generic_api_key: z.ZodString;
38
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"planyo_online_booking", z.ZodObject<{
39
- connectionId: z.ZodString;
40
- entityId: z.ZodString;
41
- instanceId: z.ZodString;
42
- }, z.core.$strip>, z.ZodObject<{
43
- generic_api_key: z.ZodString;
44
- }, z.core.$strip>>]>;
28
+ declare const planyoOnlineBookingGetCouponList: AppAction<typeof PlanyoOnlineBookingGetCouponListInput, typeof PlanyoOnlineBookingGetCouponListOutput, typeof planyoOnlineBooking.credential>;
45
29
  //#endregion
46
30
  export { planyoOnlineBookingGetCouponList };
47
31
  //# sourceMappingURL=get-coupon-list.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-coupon-list.d.mts","names":[],"sources":["../../src/actions/get-coupon-list.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAoBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAItC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"get-coupon-list.d.mts","names":[],"sources":["../../src/actions/get-coupon-list.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;cAoBrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,mBAAA,CAAoB,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/get-coupon-list.ts