@keystrokehq/planyo_online_booking 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-reservation.cjs +42 -0
- package/dist/actions/add-reservation.cjs.map +1 -0
- package/dist/actions/add-reservation.d.cts +9 -0
- package/dist/actions/add-reservation.d.cts.map +1 -0
- package/dist/actions/add-reservation.d.mts +9 -0
- package/dist/actions/add-reservation.d.mts.map +1 -0
- package/dist/actions/add-reservation.mjs +39 -0
- package/dist/actions/add-reservation.mjs.map +1 -0
- package/dist/actions/add-user.cjs +35 -0
- package/dist/actions/add-user.cjs.map +1 -0
- package/dist/actions/add-user.d.cts +9 -0
- package/dist/actions/add-user.d.cts.map +1 -0
- package/dist/actions/add-user.d.mts +9 -0
- package/dist/actions/add-user.d.mts.map +1 -0
- package/dist/actions/add-user.mjs +32 -0
- package/dist/actions/add-user.mjs.map +1 -0
- package/dist/actions/get-addon-list.cjs +34 -0
- package/dist/actions/get-addon-list.cjs.map +1 -0
- package/dist/actions/get-addon-list.d.cts +9 -0
- package/dist/actions/get-addon-list.d.cts.map +1 -0
- package/dist/actions/get-addon-list.d.mts +9 -0
- package/dist/actions/get-addon-list.d.mts.map +1 -0
- package/dist/actions/get-addon-list.mjs +33 -0
- package/dist/actions/get-addon-list.mjs.map +1 -0
- package/dist/actions/get-coupon-list.cjs +35 -0
- package/dist/actions/get-coupon-list.cjs.map +1 -0
- package/dist/actions/get-coupon-list.d.cts +9 -0
- package/dist/actions/get-coupon-list.d.cts.map +1 -0
- package/dist/actions/get-coupon-list.d.mts +9 -0
- package/dist/actions/get-coupon-list.d.mts.map +1 -0
- package/dist/actions/get-coupon-list.mjs +34 -0
- package/dist/actions/get-coupon-list.mjs.map +1 -0
- package/dist/actions/get-resource-availability.cjs +40 -0
- package/dist/actions/get-resource-availability.cjs.map +1 -0
- package/dist/actions/get-resource-availability.d.cts +9 -0
- package/dist/actions/get-resource-availability.d.cts.map +1 -0
- package/dist/actions/get-resource-availability.d.mts +9 -0
- package/dist/actions/get-resource-availability.d.mts.map +1 -0
- package/dist/actions/get-resource-availability.mjs +39 -0
- package/dist/actions/get-resource-availability.mjs.map +1 -0
- package/dist/actions/get-resource-blackouts.cjs +30 -0
- package/dist/actions/get-resource-blackouts.cjs.map +1 -0
- package/dist/actions/get-resource-blackouts.d.cts +9 -0
- package/dist/actions/get-resource-blackouts.d.cts.map +1 -0
- package/dist/actions/get-resource-blackouts.d.mts +9 -0
- package/dist/actions/get-resource-blackouts.d.mts.map +1 -0
- package/dist/actions/get-resource-blackouts.mjs +29 -0
- package/dist/actions/get-resource-blackouts.mjs.map +1 -0
- package/dist/actions/get-resource-reviews.cjs +28 -0
- package/dist/actions/get-resource-reviews.cjs.map +1 -0
- package/dist/actions/get-resource-reviews.d.cts +9 -0
- package/dist/actions/get-resource-reviews.d.cts.map +1 -0
- package/dist/actions/get-resource-reviews.d.mts +9 -0
- package/dist/actions/get-resource-reviews.d.mts.map +1 -0
- package/dist/actions/get-resource-reviews.mjs +27 -0
- package/dist/actions/get-resource-reviews.mjs.map +1 -0
- package/dist/actions/index.cjs +15 -0
- package/dist/actions/index.d.cts +8 -0
- package/dist/actions/index.d.mts +8 -0
- package/dist/actions/index.mjs +8 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +20 -0
- package/dist/index.d.cts +10 -0
- package/dist/index.d.mts +10 -0
- package/dist/index.mjs +11 -0
- package/package.json +49 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-resource-availability.ts
|
|
4
|
+
const PlanyoOnlineBookingGetResourceAvailabilityInput = zod.z.object({
|
|
5
|
+
end_time: zod.z.string().describe("End of the interval; will be converted to UNIX timestamp").optional(),
|
|
6
|
+
quantity: zod.z.number().int().describe("Number of units requested").optional(),
|
|
7
|
+
test_mode: zod.z.union([zod.z.literal(0), zod.z.literal(1)]).describe("If set to 1, simulate without creating a reservation").optional(),
|
|
8
|
+
start_time: zod.z.string().describe("Start of the interval; will be converted to UNIX timestamp").optional(),
|
|
9
|
+
end_user_id: zod.z.number().int().describe("End user ID for checking membership or restrictions").optional(),
|
|
10
|
+
ignore_cart: zod.z.boolean().default(false).describe("If true, ignore items in the shopping cart").optional(),
|
|
11
|
+
resource_id: zod.z.number().int().describe("ID of the resource to check availability for"),
|
|
12
|
+
min_duration: zod.z.number().int().describe("Minimum required availability in minutes").optional(),
|
|
13
|
+
ignore_reservations: zod.z.boolean().default(false).describe("If true, ignore existing reservations").optional(),
|
|
14
|
+
check_specific_slots: zod.z.union([zod.z.literal(0), zod.z.literal(1)]).describe("If set to 1, return specific time slots within interval").optional(),
|
|
15
|
+
preliminary_filtering: zod.z.union([zod.z.literal(0), zod.z.literal(1)]).describe("If set to 1, only check restrictions, skip conflict checks").optional()
|
|
16
|
+
});
|
|
17
|
+
const PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema = zod.z.object({
|
|
18
|
+
end_time: zod.z.number().int().describe("End of period as UNIX timestamp"),
|
|
19
|
+
start_time: zod.z.number().int().describe("Start of period as UNIX timestamp")
|
|
20
|
+
});
|
|
21
|
+
const PlanyoOnlineBookingGetResourceAvailabilityOutput = zod.z.object({
|
|
22
|
+
count: zod.z.number().int().describe("Number of periods returned"),
|
|
23
|
+
periods: zod.z.array(PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema).describe("List of available periods within the requested range"),
|
|
24
|
+
available: zod.z.boolean().describe("Whether the resource is available under the given criteria"),
|
|
25
|
+
conflicts: zod.z.array(PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema).describe("List of conflicting periods preventing reservation"),
|
|
26
|
+
unavailable_periods: zod.z.array(PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema).describe("List of unavailable periods within the requested range"),
|
|
27
|
+
max_advance_notice_not_kept: zod.z.boolean().describe("True if maximum advance notice is not satisfied"),
|
|
28
|
+
min_advance_notice_not_kept: zod.z.boolean().describe("True if minimum advance notice is not satisfied")
|
|
29
|
+
});
|
|
30
|
+
const planyoOnlineBookingGetResourceAvailability = require_action.action("PLANYO_ONLINE_BOOKING_GET_RESOURCE_AVAILABILITY", {
|
|
31
|
+
slug: "planyo_online_booking-get-resource-availability",
|
|
32
|
+
name: "Get Resource Availability",
|
|
33
|
+
description: "Tool to check resource availability within a specified date/time range. Use when validating if a resource can be reserved before creating a reservation.",
|
|
34
|
+
input: PlanyoOnlineBookingGetResourceAvailabilityInput,
|
|
35
|
+
output: PlanyoOnlineBookingGetResourceAvailabilityOutput
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
exports.planyoOnlineBookingGetResourceAvailability = planyoOnlineBookingGetResourceAvailability;
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=get-resource-availability.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-resource-availability.cjs","names":["z","action"],"sources":["../../src/actions/get-resource-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanyoOnlineBookingGetResourceAvailabilityInput: z.ZodTypeAny = z.object({\n end_time: z.string().describe(\"End of the interval; will be converted to UNIX timestamp\").optional(),\n quantity: z.number().int().describe(\"Number of units requested\").optional(),\n test_mode: z.union([z.literal(0), z.literal(1)]).describe(\"If set to 1, simulate without creating a reservation\").optional(),\n start_time: z.string().describe(\"Start of the interval; will be converted to UNIX timestamp\").optional(),\n end_user_id: z.number().int().describe(\"End user ID for checking membership or restrictions\").optional(),\n ignore_cart: z.boolean().default(false).describe(\"If true, ignore items in the shopping cart\").optional(),\n resource_id: z.number().int().describe(\"ID of the resource to check availability for\"),\n min_duration: z.number().int().describe(\"Minimum required availability in minutes\").optional(),\n ignore_reservations: z.boolean().default(false).describe(\"If true, ignore existing reservations\").optional(),\n check_specific_slots: z.union([z.literal(0), z.literal(1)]).describe(\"If set to 1, return specific time slots within interval\").optional(),\n preliminary_filtering: z.union([z.literal(0), z.literal(1)]).describe(\"If set to 1, only check restrictions, skip conflict checks\").optional(),\n});\nconst PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema: z.ZodTypeAny = z.object({\n end_time: z.number().int().describe(\"End of period as UNIX timestamp\"),\n start_time: z.number().int().describe(\"Start of period as UNIX timestamp\"),\n});\nexport const PlanyoOnlineBookingGetResourceAvailabilityOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of periods returned\"),\n periods: z.array(PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema).describe(\"List of available periods within the requested range\"),\n available: z.boolean().describe(\"Whether the resource is available under the given criteria\"),\n conflicts: z.array(PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema).describe(\"List of conflicting periods preventing reservation\"),\n unavailable_periods: z.array(PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema).describe(\"List of unavailable periods within the requested range\"),\n max_advance_notice_not_kept: z.boolean().describe(\"True if maximum advance notice is not satisfied\"),\n min_advance_notice_not_kept: z.boolean().describe(\"True if minimum advance notice is not satisfied\"),\n});\n\nexport const planyoOnlineBookingGetResourceAvailability = action(\"PLANYO_ONLINE_BOOKING_GET_RESOURCE_AVAILABILITY\", {\n slug: \"planyo_online_booking-get-resource-availability\",\n name: \"Get Resource Availability\",\n description: \"Tool to check resource availability within a specified date/time range. Use when validating if a resource can be reserved before creating a reservation.\",\n input: PlanyoOnlineBookingGetResourceAvailabilityInput,\n output: PlanyoOnlineBookingGetResourceAvailabilityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAgEA,IAAAA,EAAE,OAAO;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACvG,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7F,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3G,sBAAsBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACzI,uBAAuBA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,QAAQ,CAAC,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC/I,CAAC;AACD,MAAM,8DAA4EA,IAAAA,EAAE,OAAO;CACzF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACrE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;AAC3E,CAAC;AACD,MAAa,mDAAiEA,IAAAA,EAAE,OAAO;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC7D,SAASA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,sDAAsD;CAC7I,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;CAC5F,WAAWA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,oDAAoD;CAC7I,qBAAqBA,IAAAA,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,wDAAwD;CAC3J,6BAA6BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD;CACnG,6BAA6BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD;AACrG,CAAC;AAED,MAAa,6CAA6CC,eAAAA,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-resource-availability.d.ts
|
|
4
|
+
declare const PlanyoOnlineBookingGetResourceAvailabilityInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlanyoOnlineBookingGetResourceAvailabilityOutput: z.ZodTypeAny;
|
|
6
|
+
declare const planyoOnlineBookingGetResourceAvailability: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { planyoOnlineBookingGetResourceAvailability };
|
|
9
|
+
//# sourceMappingURL=get-resource-availability.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-resource-availability.d.cts","names":[],"sources":["../../src/actions/get-resource-availability.ts"],"mappings":";;;cAIa,+CAAA,EAAiD,CAAA,CAAE,UAY9D;AAAA,cAKW,gDAAA,EAAkD,CAAA,CAAE,UAQ/D;AAAA,cAEW,0CAAA,gCAA0C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-resource-availability.d.ts
|
|
4
|
+
declare const PlanyoOnlineBookingGetResourceAvailabilityInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlanyoOnlineBookingGetResourceAvailabilityOutput: z.ZodTypeAny;
|
|
6
|
+
declare const planyoOnlineBookingGetResourceAvailability: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { planyoOnlineBookingGetResourceAvailability };
|
|
9
|
+
//# sourceMappingURL=get-resource-availability.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-resource-availability.d.mts","names":[],"sources":["../../src/actions/get-resource-availability.ts"],"mappings":";;;cAIa,+CAAA,EAAiD,CAAA,CAAE,UAY9D;AAAA,cAKW,gDAAA,EAAkD,CAAA,CAAE,UAQ/D;AAAA,cAEW,0CAAA,gCAA0C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-resource-availability.ts
|
|
4
|
+
const PlanyoOnlineBookingGetResourceAvailabilityInput = z.object({
|
|
5
|
+
end_time: z.string().describe("End of the interval; will be converted to UNIX timestamp").optional(),
|
|
6
|
+
quantity: z.number().int().describe("Number of units requested").optional(),
|
|
7
|
+
test_mode: z.union([z.literal(0), z.literal(1)]).describe("If set to 1, simulate without creating a reservation").optional(),
|
|
8
|
+
start_time: z.string().describe("Start of the interval; will be converted to UNIX timestamp").optional(),
|
|
9
|
+
end_user_id: z.number().int().describe("End user ID for checking membership or restrictions").optional(),
|
|
10
|
+
ignore_cart: z.boolean().default(false).describe("If true, ignore items in the shopping cart").optional(),
|
|
11
|
+
resource_id: z.number().int().describe("ID of the resource to check availability for"),
|
|
12
|
+
min_duration: z.number().int().describe("Minimum required availability in minutes").optional(),
|
|
13
|
+
ignore_reservations: z.boolean().default(false).describe("If true, ignore existing reservations").optional(),
|
|
14
|
+
check_specific_slots: z.union([z.literal(0), z.literal(1)]).describe("If set to 1, return specific time slots within interval").optional(),
|
|
15
|
+
preliminary_filtering: z.union([z.literal(0), z.literal(1)]).describe("If set to 1, only check restrictions, skip conflict checks").optional()
|
|
16
|
+
});
|
|
17
|
+
const PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema = z.object({
|
|
18
|
+
end_time: z.number().int().describe("End of period as UNIX timestamp"),
|
|
19
|
+
start_time: z.number().int().describe("Start of period as UNIX timestamp")
|
|
20
|
+
});
|
|
21
|
+
const planyoOnlineBookingGetResourceAvailability = action("PLANYO_ONLINE_BOOKING_GET_RESOURCE_AVAILABILITY", {
|
|
22
|
+
slug: "planyo_online_booking-get-resource-availability",
|
|
23
|
+
name: "Get Resource Availability",
|
|
24
|
+
description: "Tool to check resource availability within a specified date/time range. Use when validating if a resource can be reserved before creating a reservation.",
|
|
25
|
+
input: PlanyoOnlineBookingGetResourceAvailabilityInput,
|
|
26
|
+
output: z.object({
|
|
27
|
+
count: z.number().int().describe("Number of periods returned"),
|
|
28
|
+
periods: z.array(PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema).describe("List of available periods within the requested range"),
|
|
29
|
+
available: z.boolean().describe("Whether the resource is available under the given criteria"),
|
|
30
|
+
conflicts: z.array(PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema).describe("List of conflicting periods preventing reservation"),
|
|
31
|
+
unavailable_periods: z.array(PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema).describe("List of unavailable periods within the requested range"),
|
|
32
|
+
max_advance_notice_not_kept: z.boolean().describe("True if maximum advance notice is not satisfied"),
|
|
33
|
+
min_advance_notice_not_kept: z.boolean().describe("True if minimum advance notice is not satisfied")
|
|
34
|
+
})
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
export { planyoOnlineBookingGetResourceAvailability };
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=get-resource-availability.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-resource-availability.mjs","names":[],"sources":["../../src/actions/get-resource-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanyoOnlineBookingGetResourceAvailabilityInput: z.ZodTypeAny = z.object({\n end_time: z.string().describe(\"End of the interval; will be converted to UNIX timestamp\").optional(),\n quantity: z.number().int().describe(\"Number of units requested\").optional(),\n test_mode: z.union([z.literal(0), z.literal(1)]).describe(\"If set to 1, simulate without creating a reservation\").optional(),\n start_time: z.string().describe(\"Start of the interval; will be converted to UNIX timestamp\").optional(),\n end_user_id: z.number().int().describe(\"End user ID for checking membership or restrictions\").optional(),\n ignore_cart: z.boolean().default(false).describe(\"If true, ignore items in the shopping cart\").optional(),\n resource_id: z.number().int().describe(\"ID of the resource to check availability for\"),\n min_duration: z.number().int().describe(\"Minimum required availability in minutes\").optional(),\n ignore_reservations: z.boolean().default(false).describe(\"If true, ignore existing reservations\").optional(),\n check_specific_slots: z.union([z.literal(0), z.literal(1)]).describe(\"If set to 1, return specific time slots within interval\").optional(),\n preliminary_filtering: z.union([z.literal(0), z.literal(1)]).describe(\"If set to 1, only check restrictions, skip conflict checks\").optional(),\n});\nconst PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema: z.ZodTypeAny = z.object({\n end_time: z.number().int().describe(\"End of period as UNIX timestamp\"),\n start_time: z.number().int().describe(\"Start of period as UNIX timestamp\"),\n});\nexport const PlanyoOnlineBookingGetResourceAvailabilityOutput: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Number of periods returned\"),\n periods: z.array(PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema).describe(\"List of available periods within the requested range\"),\n available: z.boolean().describe(\"Whether the resource is available under the given criteria\"),\n conflicts: z.array(PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema).describe(\"List of conflicting periods preventing reservation\"),\n unavailable_periods: z.array(PlanyoOnlineBookingGetResourceAvailability_TimePeriodSchema).describe(\"List of unavailable periods within the requested range\"),\n max_advance_notice_not_kept: z.boolean().describe(\"True if maximum advance notice is not satisfied\"),\n min_advance_notice_not_kept: z.boolean().describe(\"True if minimum advance notice is not satisfied\"),\n});\n\nexport const planyoOnlineBookingGetResourceAvailability = action(\"PLANYO_ONLINE_BOOKING_GET_RESOURCE_AVAILABILITY\", {\n slug: \"planyo_online_booking-get-resource-availability\",\n name: \"Get Resource Availability\",\n description: \"Tool to check resource availability within a specified date/time range. Use when validating if a resource can be reserved before creating a reservation.\",\n input: PlanyoOnlineBookingGetResourceAvailabilityInput,\n output: PlanyoOnlineBookingGetResourceAvailabilityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kDAAgE,EAAE,OAAO;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACnG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC1E,WAAW,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC3H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACvG,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7F,qBAAqB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3G,sBAAsB,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACzI,uBAAuB,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC/I,CAAC;AACD,MAAM,8DAA4E,EAAE,OAAO;CACzF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC;CACrE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;AAC3E,CAAC;AAWD,MAAa,6CAA6C,OAAO,mDAAmD;CAClH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf4E,EAAE,OAAO;EACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;EAC7D,SAAS,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,sDAAsD;EAC7I,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;EAC5F,WAAW,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,oDAAoD;EAC7I,qBAAqB,EAAE,MAAM,2DAA2D,CAAC,CAAC,SAAS,wDAAwD;EAC3J,6BAA6B,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD;EACnG,6BAA6B,EAAE,QAAQ,CAAC,CAAC,SAAS,iDAAiD;CACrG,CAOU;AACV,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-resource-blackouts.ts
|
|
4
|
+
const PlanyoOnlineBookingGetResourceBlackoutsInput = zod.z.object({
|
|
5
|
+
end_time: zod.z.number().int().describe("UNIX timestamp to return blackouts up to this time (inclusive).").optional(),
|
|
6
|
+
start_time: zod.z.number().int().describe("UNIX timestamp to return blackouts starting from this time (inclusive).").optional(),
|
|
7
|
+
admin_email: zod.z.string().describe("Admin email for authentication, if required.").optional(),
|
|
8
|
+
resource_id: zod.z.number().int().describe("ID of the resource to retrieve blackouts for."),
|
|
9
|
+
admin_password: zod.z.string().describe("Password for the admin email, if required.").optional()
|
|
10
|
+
}).describe("Request model for GET_RESOURCE_BLACKOUTS action.");
|
|
11
|
+
const PlanyoOnlineBookingGetResourceBlackouts_BlackoutSchema = zod.z.object({
|
|
12
|
+
end_time: zod.z.number().int().describe("UNIX timestamp when blackout ends."),
|
|
13
|
+
start_time: zod.z.number().int().describe("UNIX timestamp when blackout starts."),
|
|
14
|
+
blackout_id: zod.z.number().int().describe("Unique identifier of the blackout."),
|
|
15
|
+
description: zod.z.string().describe("Description of the blackout."),
|
|
16
|
+
resource_id: zod.z.number().int().describe("ID of the resource associated with the blackout."),
|
|
17
|
+
creation_time: zod.z.number().int().describe("UNIX timestamp when the blackout was created.")
|
|
18
|
+
}).describe("Represents a blackout period where the resource is unavailable.");
|
|
19
|
+
const PlanyoOnlineBookingGetResourceBlackoutsOutput = zod.z.object({ blackouts: zod.z.array(PlanyoOnlineBookingGetResourceBlackouts_BlackoutSchema).describe("List of blackout periods for the requested resource.") }).describe("Response model for GET_RESOURCE_BLACKOUTS action.");
|
|
20
|
+
const planyoOnlineBookingGetResourceBlackouts = require_action.action("PLANYO_ONLINE_BOOKING_GET_RESOURCE_BLACKOUTS", {
|
|
21
|
+
slug: "planyo_online_booking-get-resource-blackouts",
|
|
22
|
+
name: "Get Resource Blackouts",
|
|
23
|
+
description: "Tool to fetch blackout periods for a resource. Use when determining unavailable timeslots before booking.",
|
|
24
|
+
input: PlanyoOnlineBookingGetResourceBlackoutsInput,
|
|
25
|
+
output: PlanyoOnlineBookingGetResourceBlackoutsOutput
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
exports.planyoOnlineBookingGetResourceBlackouts = planyoOnlineBookingGetResourceBlackouts;
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=get-resource-blackouts.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-resource-blackouts.cjs","names":["z","action"],"sources":["../../src/actions/get-resource-blackouts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanyoOnlineBookingGetResourceBlackoutsInput: z.ZodTypeAny = z.object({\n end_time: z.number().int().describe(\"UNIX timestamp to return blackouts up to this time (inclusive).\").optional(),\n start_time: z.number().int().describe(\"UNIX timestamp to return blackouts starting from this time (inclusive).\").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 retrieve blackouts for.\"),\n admin_password: z.string().describe(\"Password for the admin email, if required.\").optional(),\n}).describe(\"Request model for GET_RESOURCE_BLACKOUTS action.\");\nconst PlanyoOnlineBookingGetResourceBlackouts_BlackoutSchema: z.ZodTypeAny = z.object({\n end_time: z.number().int().describe(\"UNIX timestamp when blackout ends.\"),\n start_time: z.number().int().describe(\"UNIX timestamp when blackout starts.\"),\n blackout_id: z.number().int().describe(\"Unique identifier of the blackout.\"),\n description: z.string().describe(\"Description of the blackout.\"),\n resource_id: z.number().int().describe(\"ID of the resource associated with the blackout.\"),\n creation_time: z.number().int().describe(\"UNIX timestamp when the blackout was created.\"),\n}).describe(\"Represents a blackout period where the resource is unavailable.\");\nexport const PlanyoOnlineBookingGetResourceBlackoutsOutput: z.ZodTypeAny = z.object({\n blackouts: z.array(PlanyoOnlineBookingGetResourceBlackouts_BlackoutSchema).describe(\"List of blackout periods for the requested resource.\"),\n}).describe(\"Response model for GET_RESOURCE_BLACKOUTS action.\");\n\nexport const planyoOnlineBookingGetResourceBlackouts = action(\"PLANYO_ONLINE_BOOKING_GET_RESOURCE_BLACKOUTS\", {\n slug: \"planyo_online_booking-get-resource-blackouts\",\n name: \"Get Resource Blackouts\",\n description: \"Tool to fetch blackout periods for a resource. Use when determining unavailable timeslots before booking.\",\n input: PlanyoOnlineBookingGetResourceBlackoutsInput,\n output: PlanyoOnlineBookingGetResourceBlackoutsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA6DA,IAAAA,EAAE,OAAO;CACjF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC1H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CACtF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,yDAAuEA,IAAAA,EAAE,OAAO;CACpF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACxE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC/D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACzF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;AAC1F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,gDAA8DA,IAAAA,EAAE,OAAO,EAClF,WAAWA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,sDAAsD,EAC5I,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,0CAA0CC,eAAAA,OAAO,gDAAgD;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-resource-blackouts.d.ts
|
|
4
|
+
declare const PlanyoOnlineBookingGetResourceBlackoutsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlanyoOnlineBookingGetResourceBlackoutsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const planyoOnlineBookingGetResourceBlackouts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { planyoOnlineBookingGetResourceBlackouts };
|
|
9
|
+
//# sourceMappingURL=get-resource-blackouts.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-resource-blackouts.d.cts","names":[],"sources":["../../src/actions/get-resource-blackouts.ts"],"mappings":";;;cAIa,4CAAA,EAA8C,CAAA,CAAE,UAME;AAAA,cASlD,6CAAA,EAA+C,CAAA,CAAE,UAEE;AAAA,cAEnD,uCAAA,gCAAuC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-resource-blackouts.d.ts
|
|
4
|
+
declare const PlanyoOnlineBookingGetResourceBlackoutsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlanyoOnlineBookingGetResourceBlackoutsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const planyoOnlineBookingGetResourceBlackouts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { planyoOnlineBookingGetResourceBlackouts };
|
|
9
|
+
//# sourceMappingURL=get-resource-blackouts.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-resource-blackouts.d.mts","names":[],"sources":["../../src/actions/get-resource-blackouts.ts"],"mappings":";;;cAIa,4CAAA,EAA8C,CAAA,CAAE,UAME;AAAA,cASlD,6CAAA,EAA+C,CAAA,CAAE,UAEE;AAAA,cAEnD,uCAAA,gCAAuC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-resource-blackouts.ts
|
|
4
|
+
const PlanyoOnlineBookingGetResourceBlackoutsInput = z.object({
|
|
5
|
+
end_time: z.number().int().describe("UNIX timestamp to return blackouts up to this time (inclusive).").optional(),
|
|
6
|
+
start_time: z.number().int().describe("UNIX timestamp to return blackouts starting from this time (inclusive).").optional(),
|
|
7
|
+
admin_email: z.string().describe("Admin email for authentication, if required.").optional(),
|
|
8
|
+
resource_id: z.number().int().describe("ID of the resource to retrieve blackouts for."),
|
|
9
|
+
admin_password: z.string().describe("Password for the admin email, if required.").optional()
|
|
10
|
+
}).describe("Request model for GET_RESOURCE_BLACKOUTS action.");
|
|
11
|
+
const PlanyoOnlineBookingGetResourceBlackouts_BlackoutSchema = z.object({
|
|
12
|
+
end_time: z.number().int().describe("UNIX timestamp when blackout ends."),
|
|
13
|
+
start_time: z.number().int().describe("UNIX timestamp when blackout starts."),
|
|
14
|
+
blackout_id: z.number().int().describe("Unique identifier of the blackout."),
|
|
15
|
+
description: z.string().describe("Description of the blackout."),
|
|
16
|
+
resource_id: z.number().int().describe("ID of the resource associated with the blackout."),
|
|
17
|
+
creation_time: z.number().int().describe("UNIX timestamp when the blackout was created.")
|
|
18
|
+
}).describe("Represents a blackout period where the resource is unavailable.");
|
|
19
|
+
const planyoOnlineBookingGetResourceBlackouts = action("PLANYO_ONLINE_BOOKING_GET_RESOURCE_BLACKOUTS", {
|
|
20
|
+
slug: "planyo_online_booking-get-resource-blackouts",
|
|
21
|
+
name: "Get Resource Blackouts",
|
|
22
|
+
description: "Tool to fetch blackout periods for a resource. Use when determining unavailable timeslots before booking.",
|
|
23
|
+
input: PlanyoOnlineBookingGetResourceBlackoutsInput,
|
|
24
|
+
output: z.object({ blackouts: z.array(PlanyoOnlineBookingGetResourceBlackouts_BlackoutSchema).describe("List of blackout periods for the requested resource.") }).describe("Response model for GET_RESOURCE_BLACKOUTS action.")
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { planyoOnlineBookingGetResourceBlackouts };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=get-resource-blackouts.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-resource-blackouts.mjs","names":[],"sources":["../../src/actions/get-resource-blackouts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanyoOnlineBookingGetResourceBlackoutsInput: z.ZodTypeAny = z.object({\n end_time: z.number().int().describe(\"UNIX timestamp to return blackouts up to this time (inclusive).\").optional(),\n start_time: z.number().int().describe(\"UNIX timestamp to return blackouts starting from this time (inclusive).\").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 retrieve blackouts for.\"),\n admin_password: z.string().describe(\"Password for the admin email, if required.\").optional(),\n}).describe(\"Request model for GET_RESOURCE_BLACKOUTS action.\");\nconst PlanyoOnlineBookingGetResourceBlackouts_BlackoutSchema: z.ZodTypeAny = z.object({\n end_time: z.number().int().describe(\"UNIX timestamp when blackout ends.\"),\n start_time: z.number().int().describe(\"UNIX timestamp when blackout starts.\"),\n blackout_id: z.number().int().describe(\"Unique identifier of the blackout.\"),\n description: z.string().describe(\"Description of the blackout.\"),\n resource_id: z.number().int().describe(\"ID of the resource associated with the blackout.\"),\n creation_time: z.number().int().describe(\"UNIX timestamp when the blackout was created.\"),\n}).describe(\"Represents a blackout period where the resource is unavailable.\");\nexport const PlanyoOnlineBookingGetResourceBlackoutsOutput: z.ZodTypeAny = z.object({\n blackouts: z.array(PlanyoOnlineBookingGetResourceBlackouts_BlackoutSchema).describe(\"List of blackout periods for the requested resource.\"),\n}).describe(\"Response model for GET_RESOURCE_BLACKOUTS action.\");\n\nexport const planyoOnlineBookingGetResourceBlackouts = action(\"PLANYO_ONLINE_BOOKING_GET_RESOURCE_BLACKOUTS\", {\n slug: \"planyo_online_booking-get-resource-blackouts\",\n name: \"Get Resource Blackouts\",\n description: \"Tool to fetch blackout periods for a resource. Use when determining unavailable timeslots before booking.\",\n input: PlanyoOnlineBookingGetResourceBlackoutsInput,\n output: PlanyoOnlineBookingGetResourceBlackoutsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+CAA6D,EAAE,OAAO;CACjF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CAChH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC1H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;CACtF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,yDAAuE,EAAE,OAAO;CACpF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACxE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CACzF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C;AAC1F,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAK7E,MAAa,0CAA0C,OAAO,gDAAgD;CAC5G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATyE,EAAE,OAAO,EAClF,WAAW,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,sDAAsD,EAC5I,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-resource-reviews.ts
|
|
4
|
+
const PlanyoOnlineBookingGetResourceReviewsInput = zod.z.object({
|
|
5
|
+
limit: zod.z.number().int().describe("Maximum number of reviews to return (1-500)").optional(),
|
|
6
|
+
resource_id: zod.z.number().int().describe("ID of the resource to fetch reviews for")
|
|
7
|
+
}).describe("Request model for GET_RESOURCE_REVIEWS action.");
|
|
8
|
+
const PlanyoOnlineBookingGetResourceReviews_ReviewSchema = zod.z.object({
|
|
9
|
+
date: zod.z.string().describe("Date and time when the review was added (YYYY-MM-DD HH:MM:SS)"),
|
|
10
|
+
text: zod.z.string().describe("Comment text of the review"),
|
|
11
|
+
reply: zod.z.string().describe("Admin reply to the review, if any").nullable().optional(),
|
|
12
|
+
rating: zod.z.number().describe("Rating given by the client (1 to 5)"),
|
|
13
|
+
user_id: zod.z.number().int().describe("ID of the user who left the review"),
|
|
14
|
+
first_name: zod.z.string().describe("First name of the user who left the review"),
|
|
15
|
+
resource_id: zod.z.number().int().describe("ID of the resource related to the review")
|
|
16
|
+
}).describe("Schema for a single review returned by the API.");
|
|
17
|
+
const PlanyoOnlineBookingGetResourceReviewsOutput = zod.z.object({ results: zod.z.array(PlanyoOnlineBookingGetResourceReviews_ReviewSchema).describe("List of reviews for the given resource") }).describe("Response model for GET_RESOURCE_REVIEWS action.");
|
|
18
|
+
const planyoOnlineBookingGetResourceReviews = require_action.action("PLANYO_ONLINE_BOOKING_GET_RESOURCE_REVIEWS", {
|
|
19
|
+
slug: "planyo_online_booking-get-resource-reviews",
|
|
20
|
+
name: "Get Resource Reviews",
|
|
21
|
+
description: "Tool to fetch reviews and ratings for a specific resource. Use when you have a resource_id and need to display customer feedback.",
|
|
22
|
+
input: PlanyoOnlineBookingGetResourceReviewsInput,
|
|
23
|
+
output: PlanyoOnlineBookingGetResourceReviewsOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.planyoOnlineBookingGetResourceReviews = planyoOnlineBookingGetResourceReviews;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-resource-reviews.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-resource-reviews.cjs","names":["z","action"],"sources":["../../src/actions/get-resource-reviews.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanyoOnlineBookingGetResourceReviewsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of reviews to return (1-500)\").optional(),\n resource_id: z.number().int().describe(\"ID of the resource to fetch reviews for\"),\n}).describe(\"Request model for GET_RESOURCE_REVIEWS action.\");\nconst PlanyoOnlineBookingGetResourceReviews_ReviewSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date and time when the review was added (YYYY-MM-DD HH:MM:SS)\"),\n text: z.string().describe(\"Comment text of the review\"),\n reply: z.string().describe(\"Admin reply to the review, if any\").nullable().optional(),\n rating: z.number().describe(\"Rating given by the client (1 to 5)\"),\n user_id: z.number().int().describe(\"ID of the user who left the review\"),\n first_name: z.string().describe(\"First name of the user who left the review\"),\n resource_id: z.number().int().describe(\"ID of the resource related to the review\"),\n}).describe(\"Schema for a single review returned by the API.\");\nexport const PlanyoOnlineBookingGetResourceReviewsOutput: z.ZodTypeAny = z.object({\n results: z.array(PlanyoOnlineBookingGetResourceReviews_ReviewSchema).describe(\"List of reviews for the given resource\"),\n}).describe(\"Response model for GET_RESOURCE_REVIEWS action.\");\n\nexport const planyoOnlineBookingGetResourceReviews = action(\"PLANYO_ONLINE_BOOKING_GET_RESOURCE_REVIEWS\", {\n slug: \"planyo_online_booking-get-resource-reviews\",\n name: \"Get Resource Reviews\",\n description: \"Tool to fetch reviews and ratings for a specific resource. Use when you have a resource_id and need to display customer feedback.\",\n input: PlanyoOnlineBookingGetResourceReviewsInput,\n output: PlanyoOnlineBookingGetResourceReviewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;AAClF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;AACnF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,8CAA4DA,IAAAA,EAAE,OAAO,EAChF,SAASA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,wCAAwC,EACxH,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAE7D,MAAa,wCAAwCC,eAAAA,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-resource-reviews.d.ts
|
|
4
|
+
declare const PlanyoOnlineBookingGetResourceReviewsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlanyoOnlineBookingGetResourceReviewsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const planyoOnlineBookingGetResourceReviews: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { planyoOnlineBookingGetResourceReviews };
|
|
9
|
+
//# sourceMappingURL=get-resource-reviews.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-resource-reviews.d.cts","names":[],"sources":["../../src/actions/get-resource-reviews.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAGE;AAAA,cAUhD,2CAAA,EAA6C,CAAA,CAAE,UAEE;AAAA,cAEjD,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-resource-reviews.d.ts
|
|
4
|
+
declare const PlanyoOnlineBookingGetResourceReviewsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PlanyoOnlineBookingGetResourceReviewsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const planyoOnlineBookingGetResourceReviews: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { planyoOnlineBookingGetResourceReviews };
|
|
9
|
+
//# sourceMappingURL=get-resource-reviews.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-resource-reviews.d.mts","names":[],"sources":["../../src/actions/get-resource-reviews.ts"],"mappings":";;;cAIa,0CAAA,EAA4C,CAAA,CAAE,UAGE;AAAA,cAUhD,2CAAA,EAA6C,CAAA,CAAE,UAEE;AAAA,cAEjD,qCAAA,gCAAqC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-resource-reviews.ts
|
|
4
|
+
const PlanyoOnlineBookingGetResourceReviewsInput = z.object({
|
|
5
|
+
limit: z.number().int().describe("Maximum number of reviews to return (1-500)").optional(),
|
|
6
|
+
resource_id: z.number().int().describe("ID of the resource to fetch reviews for")
|
|
7
|
+
}).describe("Request model for GET_RESOURCE_REVIEWS action.");
|
|
8
|
+
const PlanyoOnlineBookingGetResourceReviews_ReviewSchema = z.object({
|
|
9
|
+
date: z.string().describe("Date and time when the review was added (YYYY-MM-DD HH:MM:SS)"),
|
|
10
|
+
text: z.string().describe("Comment text of the review"),
|
|
11
|
+
reply: z.string().describe("Admin reply to the review, if any").nullable().optional(),
|
|
12
|
+
rating: z.number().describe("Rating given by the client (1 to 5)"),
|
|
13
|
+
user_id: z.number().int().describe("ID of the user who left the review"),
|
|
14
|
+
first_name: z.string().describe("First name of the user who left the review"),
|
|
15
|
+
resource_id: z.number().int().describe("ID of the resource related to the review")
|
|
16
|
+
}).describe("Schema for a single review returned by the API.");
|
|
17
|
+
const planyoOnlineBookingGetResourceReviews = action("PLANYO_ONLINE_BOOKING_GET_RESOURCE_REVIEWS", {
|
|
18
|
+
slug: "planyo_online_booking-get-resource-reviews",
|
|
19
|
+
name: "Get Resource Reviews",
|
|
20
|
+
description: "Tool to fetch reviews and ratings for a specific resource. Use when you have a resource_id and need to display customer feedback.",
|
|
21
|
+
input: PlanyoOnlineBookingGetResourceReviewsInput,
|
|
22
|
+
output: z.object({ results: z.array(PlanyoOnlineBookingGetResourceReviews_ReviewSchema).describe("List of reviews for the given resource") }).describe("Response model for GET_RESOURCE_REVIEWS action.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { planyoOnlineBookingGetResourceReviews };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-resource-reviews.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-resource-reviews.mjs","names":[],"sources":["../../src/actions/get-resource-reviews.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PlanyoOnlineBookingGetResourceReviewsInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Maximum number of reviews to return (1-500)\").optional(),\n resource_id: z.number().int().describe(\"ID of the resource to fetch reviews for\"),\n}).describe(\"Request model for GET_RESOURCE_REVIEWS action.\");\nconst PlanyoOnlineBookingGetResourceReviews_ReviewSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date and time when the review was added (YYYY-MM-DD HH:MM:SS)\"),\n text: z.string().describe(\"Comment text of the review\"),\n reply: z.string().describe(\"Admin reply to the review, if any\").nullable().optional(),\n rating: z.number().describe(\"Rating given by the client (1 to 5)\"),\n user_id: z.number().int().describe(\"ID of the user who left the review\"),\n first_name: z.string().describe(\"First name of the user who left the review\"),\n resource_id: z.number().int().describe(\"ID of the resource related to the review\"),\n}).describe(\"Schema for a single review returned by the API.\");\nexport const PlanyoOnlineBookingGetResourceReviewsOutput: z.ZodTypeAny = z.object({\n results: z.array(PlanyoOnlineBookingGetResourceReviews_ReviewSchema).describe(\"List of reviews for the given resource\"),\n}).describe(\"Response model for GET_RESOURCE_REVIEWS action.\");\n\nexport const planyoOnlineBookingGetResourceReviews = action(\"PLANYO_ONLINE_BOOKING_GET_RESOURCE_REVIEWS\", {\n slug: \"planyo_online_booking-get-resource-reviews\",\n name: \"Get Resource Reviews\",\n description: \"Tool to fetch reviews and ratings for a specific resource. Use when you have a resource_id and need to display customer feedback.\",\n input: PlanyoOnlineBookingGetResourceReviewsInput,\n output: PlanyoOnlineBookingGetResourceReviewsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6CAA2D,EAAE,OAAO;CAC/E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACzF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC;AAClF,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,qDAAmE,EAAE,OAAO;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACjE,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oCAAoC;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;AACnF,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,MAAa,wCAAwC,OAAO,8CAA8C;CACxG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATuE,EAAE,OAAO,EAChF,SAAS,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,wCAAwC,EACxH,CAAC,CAAC,CAAC,SAAS,iDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_add_reservation = require("./add-reservation.cjs");
|
|
3
|
+
const require_add_user = require("./add-user.cjs");
|
|
4
|
+
const require_get_addon_list = require("./get-addon-list.cjs");
|
|
5
|
+
const require_get_coupon_list = require("./get-coupon-list.cjs");
|
|
6
|
+
const require_get_resource_availability = require("./get-resource-availability.cjs");
|
|
7
|
+
const require_get_resource_blackouts = require("./get-resource-blackouts.cjs");
|
|
8
|
+
const require_get_resource_reviews = require("./get-resource-reviews.cjs");
|
|
9
|
+
exports.planyoOnlineBookingAddReservation = require_add_reservation.planyoOnlineBookingAddReservation;
|
|
10
|
+
exports.planyoOnlineBookingAddUser = require_add_user.planyoOnlineBookingAddUser;
|
|
11
|
+
exports.planyoOnlineBookingGetAddonList = require_get_addon_list.planyoOnlineBookingGetAddonList;
|
|
12
|
+
exports.planyoOnlineBookingGetCouponList = require_get_coupon_list.planyoOnlineBookingGetCouponList;
|
|
13
|
+
exports.planyoOnlineBookingGetResourceAvailability = require_get_resource_availability.planyoOnlineBookingGetResourceAvailability;
|
|
14
|
+
exports.planyoOnlineBookingGetResourceBlackouts = require_get_resource_blackouts.planyoOnlineBookingGetResourceBlackouts;
|
|
15
|
+
exports.planyoOnlineBookingGetResourceReviews = require_get_resource_reviews.planyoOnlineBookingGetResourceReviews;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { planyoOnlineBookingAddReservation } from "./add-reservation.cjs";
|
|
2
|
+
import { planyoOnlineBookingAddUser } from "./add-user.cjs";
|
|
3
|
+
import { planyoOnlineBookingGetAddonList } from "./get-addon-list.cjs";
|
|
4
|
+
import { planyoOnlineBookingGetCouponList } from "./get-coupon-list.cjs";
|
|
5
|
+
import { planyoOnlineBookingGetResourceAvailability } from "./get-resource-availability.cjs";
|
|
6
|
+
import { planyoOnlineBookingGetResourceBlackouts } from "./get-resource-blackouts.cjs";
|
|
7
|
+
import { planyoOnlineBookingGetResourceReviews } from "./get-resource-reviews.cjs";
|
|
8
|
+
export { planyoOnlineBookingAddReservation, planyoOnlineBookingAddUser, planyoOnlineBookingGetAddonList, planyoOnlineBookingGetCouponList, planyoOnlineBookingGetResourceAvailability, planyoOnlineBookingGetResourceBlackouts, planyoOnlineBookingGetResourceReviews };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { planyoOnlineBookingAddReservation } from "./add-reservation.mjs";
|
|
2
|
+
import { planyoOnlineBookingAddUser } from "./add-user.mjs";
|
|
3
|
+
import { planyoOnlineBookingGetAddonList } from "./get-addon-list.mjs";
|
|
4
|
+
import { planyoOnlineBookingGetCouponList } from "./get-coupon-list.mjs";
|
|
5
|
+
import { planyoOnlineBookingGetResourceAvailability } from "./get-resource-availability.mjs";
|
|
6
|
+
import { planyoOnlineBookingGetResourceBlackouts } from "./get-resource-blackouts.mjs";
|
|
7
|
+
import { planyoOnlineBookingGetResourceReviews } from "./get-resource-reviews.mjs";
|
|
8
|
+
export { planyoOnlineBookingAddReservation, planyoOnlineBookingAddUser, planyoOnlineBookingGetAddonList, planyoOnlineBookingGetCouponList, planyoOnlineBookingGetResourceAvailability, planyoOnlineBookingGetResourceBlackouts, planyoOnlineBookingGetResourceReviews };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { planyoOnlineBookingAddReservation } from "./add-reservation.mjs";
|
|
2
|
+
import { planyoOnlineBookingAddUser } from "./add-user.mjs";
|
|
3
|
+
import { planyoOnlineBookingGetAddonList } from "./get-addon-list.mjs";
|
|
4
|
+
import { planyoOnlineBookingGetCouponList } from "./get-coupon-list.mjs";
|
|
5
|
+
import { planyoOnlineBookingGetResourceAvailability } from "./get-resource-availability.mjs";
|
|
6
|
+
import { planyoOnlineBookingGetResourceBlackouts } from "./get-resource-blackouts.mjs";
|
|
7
|
+
import { planyoOnlineBookingGetResourceReviews } from "./get-resource-reviews.mjs";
|
|
8
|
+
export { planyoOnlineBookingAddReservation, planyoOnlineBookingAddUser, planyoOnlineBookingGetAddonList, planyoOnlineBookingGetCouponList, planyoOnlineBookingGetResourceAvailability, planyoOnlineBookingGetResourceBlackouts, planyoOnlineBookingGetResourceReviews };
|
package/dist/app.cjs
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region src/app.ts
|
|
2
|
+
const planyoOnlineBooking = (0, require("@keystrokehq/keystroke/app").defineApp)({
|
|
3
|
+
slug: "planyo_online_booking",
|
|
4
|
+
auth: "keystroke"
|
|
5
|
+
});
|
|
6
|
+
//#endregion
|
|
7
|
+
exports.planyoOnlineBooking = planyoOnlineBooking;
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=app.cjs.map
|
package/dist/app.cjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const planyoOnlineBooking = defineApp({\n slug: \"planyo_online_booking\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,uBAAA,uCAAA,CAAA,CAAA,UAAA,CAAgC;CAC3C,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/app.d.cts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,mBAAA,6BAAmB,GAAA,+BAAA,UAAA"}
|
package/dist/app.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,mBAAA,6BAAmB,GAAA,+BAAA,UAAA"}
|
package/dist/app.mjs
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
//#region src/app.ts
|
|
3
|
+
const planyoOnlineBooking = defineApp({
|
|
4
|
+
slug: "planyo_online_booking",
|
|
5
|
+
auth: "keystroke"
|
|
6
|
+
});
|
|
7
|
+
//#endregion
|
|
8
|
+
export { planyoOnlineBooking };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=app.mjs.map
|
package/dist/app.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const planyoOnlineBooking = defineApp({\n slug: \"planyo_online_booking\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,sBAAsB,UAAU;CAC3C,MAAM;CACN,MAAM;AACR,CAAC"}
|
package/dist/catalog.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const planyoOnlineBookingCatalog = {
|
|
4
|
+
"slug": "planyo_online_booking",
|
|
5
|
+
"name": "Planyo Online Booking",
|
|
6
|
+
"description": "Planyo is an online reservation system which can be used by any business taking bookings: for days, nights, hours or minutes, or scheduled events.",
|
|
7
|
+
"category": "Scheduling & Booking",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/planyo_online_booking",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
exports.planyoOnlineBookingCatalog = planyoOnlineBookingCatalog;
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const planyoOnlineBookingCatalog = {\n \"slug\": \"planyo_online_booking\",\n \"name\": \"Planyo Online Booking\",\n \"description\": \"Planyo is an online reservation system which can be used by any business taking bookings: for days, nights, hours or minutes, or scheduled events.\",\n \"category\": \"Scheduling & Booking\",\n \"logo\": \"https://logos.composio.dev/api/planyo_online_booking\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,6BAA6B;CACxC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const planyoOnlineBookingCatalog: {
|
|
4
|
+
readonly slug: "planyo_online_booking";
|
|
5
|
+
readonly name: "Planyo Online Booking";
|
|
6
|
+
readonly description: "Planyo is an online reservation system which can be used by any business taking bookings: for days, nights, hours or minutes, or scheduled events.";
|
|
7
|
+
readonly category: "Scheduling & Booking";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/planyo_online_booking";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { planyoOnlineBookingCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,0BAAA;EAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/catalog.d.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
declare const planyoOnlineBookingCatalog: {
|
|
4
|
+
readonly slug: "planyo_online_booking";
|
|
5
|
+
readonly name: "Planyo Online Booking";
|
|
6
|
+
readonly description: "Planyo is an online reservation system which can be used by any business taking bookings: for days, nights, hours or minutes, or scheduled events.";
|
|
7
|
+
readonly category: "Scheduling & Booking";
|
|
8
|
+
readonly logo: "https://logos.composio.dev/api/planyo_online_booking";
|
|
9
|
+
readonly authKind: "keystroke";
|
|
10
|
+
readonly oauthScopes: readonly [];
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { planyoOnlineBookingCatalog };
|
|
14
|
+
//# sourceMappingURL=catalog.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,0BAAA;EAAA"}
|
package/dist/catalog.mjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/catalog.ts
|
|
2
|
+
/** Generated — kept in sync with src/app.ts. */
|
|
3
|
+
const planyoOnlineBookingCatalog = {
|
|
4
|
+
"slug": "planyo_online_booking",
|
|
5
|
+
"name": "Planyo Online Booking",
|
|
6
|
+
"description": "Planyo is an online reservation system which can be used by any business taking bookings: for days, nights, hours or minutes, or scheduled events.",
|
|
7
|
+
"category": "Scheduling & Booking",
|
|
8
|
+
"logo": "https://logos.composio.dev/api/planyo_online_booking",
|
|
9
|
+
"authKind": "keystroke",
|
|
10
|
+
"oauthScopes": []
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { planyoOnlineBookingCatalog };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=catalog.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const planyoOnlineBookingCatalog = {\n \"slug\": \"planyo_online_booking\",\n \"name\": \"Planyo Online Booking\",\n \"description\": \"Planyo is an online reservation system which can be used by any business taking bookings: for days, nights, hours or minutes, or scheduled events.\",\n \"category\": \"Scheduling & Booking\",\n \"logo\": \"https://logos.composio.dev/api/planyo_online_booking\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,6BAA6B;CACxC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
|
package/dist/execute.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "planyo_online_booking";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executePlanyoOnlineBookingTool(tool, args) {
|
|
7
|
+
const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
exports.executePlanyoOnlineBookingTool = executePlanyoOnlineBookingTool;
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"planyo_online_booking\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePlanyoOnlineBookingTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,+BACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|
package/dist/execute.mjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
|
|
2
|
+
//#region src/execute.ts
|
|
3
|
+
const APP_SLUG = "planyo_online_booking";
|
|
4
|
+
/** Pinned app version — updated on regeneration. */
|
|
5
|
+
const APP_VERSION = "20260615_00";
|
|
6
|
+
async function executePlanyoOnlineBookingTool(tool, args) {
|
|
7
|
+
const { result } = await createKeystrokeClient().tools.execute({
|
|
8
|
+
app: APP_SLUG,
|
|
9
|
+
tool,
|
|
10
|
+
arguments: args,
|
|
11
|
+
version: APP_VERSION
|
|
12
|
+
});
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { executePlanyoOnlineBookingTool };
|
|
17
|
+
|
|
18
|
+
//# sourceMappingURL=execute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"planyo_online_booking\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executePlanyoOnlineBookingTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,+BACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
|