@l7mp/tivadar-ai-api-sdk 0.1.8 → 0.1.9

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.
@@ -22,17 +22,17 @@ export interface CalendarMetadataBookingConstraints {
22
22
  */
23
23
  allowed_days?: Array<number>;
24
24
  /**
25
- * Earliest booking hour (0-23)
26
- * @type {number}
25
+ * Earliest booking time (HH:mm format, e.g. "09:00")
26
+ * @type {string}
27
27
  * @memberof CalendarMetadataBookingConstraints
28
28
  */
29
- start_hour?: number;
29
+ start_time?: string;
30
30
  /**
31
- * Latest booking hour (0-23)
32
- * @type {number}
31
+ * Latest booking time (HH:mm format, e.g. "17:00")
32
+ * @type {string}
33
33
  * @memberof CalendarMetadataBookingConstraints
34
34
  */
35
- end_hour?: number;
35
+ end_time?: string;
36
36
  }
37
37
  /**
38
38
  * Check if a given object implements the CalendarMetadataBookingConstraints interface.
@@ -26,8 +26,8 @@ export function CalendarMetadataBookingConstraintsFromJSONTyped(json, ignoreDisc
26
26
  }
27
27
  return {
28
28
  'allowed_days': json['allowed_days'] == null ? undefined : json['allowed_days'],
29
- 'start_hour': json['start_hour'] == null ? undefined : json['start_hour'],
30
- 'end_hour': json['end_hour'] == null ? undefined : json['end_hour'],
29
+ 'start_time': json['start_time'] == null ? undefined : json['start_time'],
30
+ 'end_time': json['end_time'] == null ? undefined : json['end_time'],
31
31
  };
32
32
  }
33
33
  export function CalendarMetadataBookingConstraintsToJSON(json) {
@@ -39,7 +39,7 @@ export function CalendarMetadataBookingConstraintsToJSONTyped(value, ignoreDiscr
39
39
  }
40
40
  return {
41
41
  'allowed_days': value['allowed_days'],
42
- 'start_hour': value['start_hour'],
43
- 'end_hour': value['end_hour'],
42
+ 'start_time': value['start_time'],
43
+ 'end_time': value['end_time'],
44
44
  };
45
45
  }
@@ -22,17 +22,17 @@ export interface CalendarMetadataBookingConstraints {
22
22
  */
23
23
  allowed_days?: Array<number>;
24
24
  /**
25
- * Earliest booking hour (0-23)
26
- * @type {number}
25
+ * Earliest booking time (HH:mm format, e.g. "09:00")
26
+ * @type {string}
27
27
  * @memberof CalendarMetadataBookingConstraints
28
28
  */
29
- start_hour?: number;
29
+ start_time?: string;
30
30
  /**
31
- * Latest booking hour (0-23)
32
- * @type {number}
31
+ * Latest booking time (HH:mm format, e.g. "17:00")
32
+ * @type {string}
33
33
  * @memberof CalendarMetadataBookingConstraints
34
34
  */
35
- end_hour?: number;
35
+ end_time?: string;
36
36
  }
37
37
  /**
38
38
  * Check if a given object implements the CalendarMetadataBookingConstraints interface.
@@ -33,8 +33,8 @@ function CalendarMetadataBookingConstraintsFromJSONTyped(json, ignoreDiscriminat
33
33
  }
34
34
  return {
35
35
  'allowed_days': json['allowed_days'] == null ? undefined : json['allowed_days'],
36
- 'start_hour': json['start_hour'] == null ? undefined : json['start_hour'],
37
- 'end_hour': json['end_hour'] == null ? undefined : json['end_hour'],
36
+ 'start_time': json['start_time'] == null ? undefined : json['start_time'],
37
+ 'end_time': json['end_time'] == null ? undefined : json['end_time'],
38
38
  };
39
39
  }
40
40
  function CalendarMetadataBookingConstraintsToJSON(json) {
@@ -46,7 +46,7 @@ function CalendarMetadataBookingConstraintsToJSONTyped(value, ignoreDiscriminato
46
46
  }
47
47
  return {
48
48
  'allowed_days': value['allowed_days'],
49
- 'start_hour': value['start_hour'],
50
- 'end_hour': value['end_hour'],
49
+ 'start_time': value['start_time'],
50
+ 'end_time': value['end_time'],
51
51
  };
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@l7mp/tivadar-ai-api-sdk",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "TypeScript/JavaScript SDK for Tivadar AI Backend API",
5
5
  "author": "L7mp Technologies",
6
6
  "repository": {
@@ -26,17 +26,17 @@ export interface CalendarMetadataBookingConstraints {
26
26
  */
27
27
  allowed_days?: Array<number>;
28
28
  /**
29
- * Earliest booking hour (0-23)
30
- * @type {number}
29
+ * Earliest booking time (HH:mm format, e.g. "09:00")
30
+ * @type {string}
31
31
  * @memberof CalendarMetadataBookingConstraints
32
32
  */
33
- start_hour?: number;
33
+ start_time?: string;
34
34
  /**
35
- * Latest booking hour (0-23)
36
- * @type {number}
35
+ * Latest booking time (HH:mm format, e.g. "17:00")
36
+ * @type {string}
37
37
  * @memberof CalendarMetadataBookingConstraints
38
38
  */
39
- end_hour?: number;
39
+ end_time?: string;
40
40
  }
41
41
 
42
42
  /**
@@ -57,8 +57,8 @@ export function CalendarMetadataBookingConstraintsFromJSONTyped(json: any, ignor
57
57
  return {
58
58
 
59
59
  'allowed_days': json['allowed_days'] == null ? undefined : json['allowed_days'],
60
- 'start_hour': json['start_hour'] == null ? undefined : json['start_hour'],
61
- 'end_hour': json['end_hour'] == null ? undefined : json['end_hour'],
60
+ 'start_time': json['start_time'] == null ? undefined : json['start_time'],
61
+ 'end_time': json['end_time'] == null ? undefined : json['end_time'],
62
62
  };
63
63
  }
64
64
 
@@ -74,8 +74,8 @@ export function CalendarMetadataBookingConstraintsToJSONTyped(value?: CalendarMe
74
74
  return {
75
75
 
76
76
  'allowed_days': value['allowed_days'],
77
- 'start_hour': value['start_hour'],
78
- 'end_hour': value['end_hour'],
77
+ 'start_time': value['start_time'],
78
+ 'end_time': value['end_time'],
79
79
  };
80
80
  }
81
81