stentor-models 1.59.90 → 1.59.96

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.
@@ -3,12 +3,36 @@ import { CrmResponse, ExternalLead } from "../Crm";
3
3
  import { DateTime, DateTimeRange } from "../DateTime";
4
4
  export type DayOfWeek = "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
5
5
  export interface AvailabilityClass {
6
+ /**
7
+ * ID for the availability class, typically the slugged name.
8
+ */
6
9
  id: string;
10
+ /**
11
+ * Human readable name of the availability class
12
+ */
7
13
  name: string;
14
+ /**
15
+ * Summary of the availability class. This is used to describe the availability class so the AI can match it to user input. It contains high level description as well as examples of input that would match to this class.
16
+ */
8
17
  summary: string;
9
- numberOfDaysOut: number;
10
- appointmentsPerDay: number;
11
- leadOnly: boolean;
18
+ /**
19
+ * Minimum number of days out that can be scheduled for this type.
20
+ *
21
+ * This is independent of if the day is available or not.
22
+ *
23
+ * Value of 0 is the default if not provided, meaning same day could be available.
24
+ */
25
+ numberOfDaysOut?: number;
26
+ /**
27
+ * Maximum number of appointments that can be scheduled per day for this type.
28
+ *
29
+ * If not provided, it is assumed to be unlimited.
30
+ */
31
+ appointmentsPerDay?: number;
32
+ /**
33
+ * If true, this availability class is only for leads and not for appointments as they typically require more information and followup.
34
+ */
35
+ leadOnly?: boolean;
12
36
  }
13
37
  /**
14
38
  * Settings for the availability of the CRM service.
@@ -1 +1 @@
1
- {"version":3,"file":"CrmService.js","sourceRoot":"","sources":["../../src/Services/CrmService.ts"],"names":[],"mappings":";AAAA,oCAAoC;;;;;;;;;;;;AA2JpC,MAAa,kBAAkB;IAU3B,YAAmB,KAAsB;QAErC,IAAI,KAAK,CAAC,aAAa,EAAE,CAAC;YACtB,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC;QAC7C,CAAC;QAED,IAAI,KAAK,CAAC,WAAW,EAAE,CAAC;YACpB,IAAI,CAAC,WAAW,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AE,CAAC;YACtD,IAAI,CAAC,yBAAyB,GAAG,KAAK,CAAC,yBAAyB,CAAC;QACrE,CAAC;QAED,IAAI,OAAO,KAAK,CAAC,eAAe,EAAE,CAAC;YAC/B,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,eAAe,CAAC;QACjD,CAAC;IACL,CAAC;IAED,6DAA6D;IAChD,IAAI,CAAC,YAA0B,EAAE,MAAgC;;YAC1E,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC/C,CAAC;KAAA;IAED,6DAA6D;IAChD,eAAe,CAAC,KAAoB,EAAE,OAAuC;;YACtF,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC/C,CAAC;KAAA;IAED,6DAA6D;IAChD,UAAU,CAAC,OAAe,EAAE,YAA2B;;YAChE,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC/C,CAAC;KAAA;IAED,6DAA6D;IAChD,MAAM,CAAE,YAA0B,EAAE,MAAgC;;YAC7E,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;QAC/C,CAAC;KAAA;CACJ;AAhDD,gDAgDC"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.59.90",
7
+ "version": "1.59.96",
8
8
  "description": "Models for 📣 stentor",
9
9
  "types": "lib/index",
10
10
  "typings": "lib/index",
@@ -17,7 +17,7 @@
17
17
  "node": "^12 || ^14 || ^16 || ^18 || ^20.0.0"
18
18
  },
19
19
  "devDependencies": {
20
- "@microsoft/api-extractor": "7.47.4",
20
+ "@microsoft/api-extractor": "7.47.5",
21
21
  "@rollup/plugin-typescript": "11.1.6",
22
22
  "@xapp/config": "0.2.3",
23
23
  "rollup": "3.29.4",
@@ -33,5 +33,5 @@
33
33
  "dependencies": {
34
34
  "@xapp/patterns": "2.0.2"
35
35
  },
36
- "gitHead": "99da2e0f100e31cac246081412430a8ec55dddb3"
36
+ "gitHead": "6c8667aa3f58145ce70442f6088f3b1872457ffd"
37
37
  }