You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/cliento/actions/get-ref-data/get-ref-data.mjs
+5-38Lines changed: 5 additions & 38 deletions
Original file line number
Diff line number
Diff line change
@@ -3,50 +3,17 @@ import cliento from "../../cliento.app.mjs";
3
3
exportdefault{
4
4
key: "cliento-get-ref-data",
5
5
name: "Get Reference Data",
6
-
description: "Fetch services, resources and mappings for the booking widget",
7
-
version: "0.0.{{ts}}",
6
+
description: "Fetch services, resources and mappings for the booking widget. [See the documentation](https://developers.cliento.com/docs/rest-api#fetch-ref-data)",
Copy file name to clipboardExpand all lines: components/cliento/actions/get-settings/get-settings.mjs
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,16 @@ import cliento from "../../cliento.app.mjs";
3
3
exportdefault{
4
4
key: "cliento-get-settings",
5
5
name: "Fetch Settings",
6
-
description: "Fetch settings and features for the booking widget",
7
-
version: "0.0.{{ts}}",
6
+
description: "Fetch settings and features for the booking widget. [See the documentation](https://developers.cliento.com/docs/rest-api#fetch-settings)",
Copy file name to clipboardExpand all lines: components/cliento/actions/get-slots/get-slots.mjs
+32-17Lines changed: 32 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -3,36 +3,51 @@ import cliento from "../../cliento.app.mjs";
3
3
exportdefault{
4
4
key: "cliento-get-slots",
5
5
name: "Get Slots",
6
-
description: "Fetch available slots for the given service, resource and dates",
7
-
version: "0.0.{{ts}}",
6
+
description: "Fetch available slots for the given service, resource and dates. [See the documentation](https://developers.cliento.com/docs/rest-api#fetch-slots)",
7
+
version: "0.0.1",
8
8
type: "action",
9
9
props: {
10
10
cliento,
11
11
fromDate: {
12
-
...cliento.propDefinitions.fromDate,
13
-
description: "The start date for the booking period (format: YYYY-MM-DD)",
12
+
propDefinition: [
13
+
cliento,
14
+
"fromDate",
15
+
],
14
16
},
15
17
toDate: {
16
-
...cliento.propDefinitions.toDate,
17
-
description: "The end date for the booking period (format: YYYY-MM-DD)",
18
+
propDefinition: [
19
+
cliento,
20
+
"toDate",
21
+
],
18
22
},
19
23
resourceIds: {
20
-
...cliento.propDefinitions.resourceIds,
21
-
description: "The IDs of the resources for the booking",
24
+
propDefinition: [
25
+
cliento,
26
+
"resourceIds",
27
+
],
22
28
},
23
29
serviceIds: {
24
-
...cliento.propDefinitions.serviceIds,
25
-
description: "The IDs of the services for the booking",
0 commit comments