types-salon-management 1.0.54 → 1.0.55
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.
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
import type { PhoneNumberModel } from '../../models/phone-number-model';
|
|
2
|
+
import type { ServiceDurationSegmentType } from '../services/service.enums';
|
|
3
|
+
export interface BookAppointmentItemDurationSegmentInput {
|
|
4
|
+
segmentType: ServiceDurationSegmentType;
|
|
5
|
+
durationMinutes: number;
|
|
6
|
+
sortOrder: number;
|
|
7
|
+
}
|
|
2
8
|
export interface BookAppointmentItemRequest {
|
|
3
9
|
serviceVariantId: string;
|
|
4
10
|
staffId: string;
|
|
5
11
|
staffId2?: string;
|
|
6
12
|
resourceId?: string;
|
|
7
13
|
startAt: string;
|
|
14
|
+
/**
|
|
15
|
+
* When set, these segments define the booked duration and calendar shading instead of
|
|
16
|
+
* copying the service variant template (e.g. after adding processing or block time).
|
|
17
|
+
*/
|
|
18
|
+
durationSegments?: BookAppointmentItemDurationSegmentInput[];
|
|
8
19
|
}
|
|
9
20
|
export interface BookAppointmentRequest {
|
|
10
21
|
locationId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"book-appointment.request.d.ts","sourceRoot":"","sources":["../../../src/api/appointments/book-appointment.request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"book-appointment.request.d.ts","sourceRoot":"","sources":["../../../src/api/appointments/book-appointment.request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AACxE,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,2BAA2B,CAAC;AAE5E,MAAM,WAAW,uCAAuC;IACtD,WAAW,EAAE,0BAA0B,CAAC;IACxC,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,0BAA0B;IACzC,gBAAgB,EAAE,MAAM,CAAC;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,uCAAuC,EAAE,CAAC;CAC9D;AAED,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IACtC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,KAAK,EAAE,0BAA0B,EAAE,CAAC;IACpC;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB"}
|
package/package.json
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import type { PhoneNumberModel } from '../../models/phone-number-model';
|
|
2
|
+
import type { ServiceDurationSegmentType } from '../services/service.enums';
|
|
3
|
+
|
|
4
|
+
export interface BookAppointmentItemDurationSegmentInput {
|
|
5
|
+
segmentType: ServiceDurationSegmentType;
|
|
6
|
+
durationMinutes: number;
|
|
7
|
+
sortOrder: number;
|
|
8
|
+
}
|
|
2
9
|
|
|
3
10
|
export interface BookAppointmentItemRequest {
|
|
4
11
|
serviceVariantId: string;
|
|
@@ -6,6 +13,11 @@ export interface BookAppointmentItemRequest {
|
|
|
6
13
|
staffId2?: string;
|
|
7
14
|
resourceId?: string;
|
|
8
15
|
startAt: string;
|
|
16
|
+
/**
|
|
17
|
+
* When set, these segments define the booked duration and calendar shading instead of
|
|
18
|
+
* copying the service variant template (e.g. after adding processing or block time).
|
|
19
|
+
*/
|
|
20
|
+
durationSegments?: BookAppointmentItemDurationSegmentInput[];
|
|
9
21
|
}
|
|
10
22
|
|
|
11
23
|
export interface BookAppointmentRequest {
|