types-salon-management 1.0.46 → 1.0.47
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/dist/api/index.d.ts +1 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +1 -0
- package/dist/api/index.js.map +1 -1
- package/dist/api/location-closures/index.d.ts +2 -0
- package/dist/api/location-closures/index.d.ts.map +1 -0
- package/dist/api/location-closures/index.js +18 -0
- package/dist/api/location-closures/index.js.map +1 -0
- package/dist/api/location-closures/location-closure.dto.d.ts +36 -0
- package/dist/api/location-closures/location-closure.dto.d.ts.map +1 -0
- package/dist/api/location-closures/location-closure.dto.js +3 -0
- package/dist/api/location-closures/location-closure.dto.js.map +1 -0
- package/package.json +1 -1
- package/src/api/index.ts +1 -0
- package/src/api/location-closures/index.ts +1 -0
- package/src/api/location-closures/location-closure.dto.ts +40 -0
package/dist/api/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './pagination';
|
|
|
8
8
|
export * from './tax/index';
|
|
9
9
|
export * from './gst-number/index';
|
|
10
10
|
export * from './cancellation-reason';
|
|
11
|
+
export * from './location-closures/index';
|
|
11
12
|
export * from './location';
|
|
12
13
|
export * from './platform-terms';
|
|
13
14
|
export * from './user/index';
|
package/dist/api/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,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AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,oBAAoB,CAAC;AACnC,cAAc,4BAA4B,CAAC"}
|
package/dist/api/index.js
CHANGED
|
@@ -24,6 +24,7 @@ __exportStar(require("./pagination"), exports);
|
|
|
24
24
|
__exportStar(require("./tax/index"), exports);
|
|
25
25
|
__exportStar(require("./gst-number/index"), exports);
|
|
26
26
|
__exportStar(require("./cancellation-reason"), exports);
|
|
27
|
+
__exportStar(require("./location-closures/index"), exports);
|
|
27
28
|
__exportStar(require("./location"), exports);
|
|
28
29
|
__exportStar(require("./platform-terms"), exports);
|
|
29
30
|
__exportStar(require("./user/index"), exports);
|
package/dist/api/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,0CAAwB;AACxB,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,8CAA4B;AAC5B,qDAAmC;AACnC,wDAAsC;AACtC,6CAA2B;AAC3B,mDAAiC;AACjC,+CAA6B;AAC7B,2DAAyC;AACzC,oDAAkC;AAClC,gDAA8B;AAC9B,uDAAqC;AACrC,oDAAkC;AAClC,4DAA0C;AAC1C,6DAA2C;AAC3C,mDAAiC;AACjC,yDAAuC;AACvC,qDAAmC;AACnC,sDAAoC;AACpC,0DAAwC;AACxC,kDAAgC;AAChC,mDAAiC;AACjC,+DAA6C;AAC7C,qDAAmC;AACnC,6DAA2C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAqE;AACrE,0CAAwB;AACxB,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,8CAA4B;AAC5B,qDAAmC;AACnC,wDAAsC;AACtC,4DAA0C;AAC1C,6CAA2B;AAC3B,mDAAiC;AACjC,+CAA6B;AAC7B,2DAAyC;AACzC,oDAAkC;AAClC,gDAA8B;AAC9B,uDAAqC;AACrC,oDAAkC;AAClC,4DAA0C;AAC1C,6DAA2C;AAC3C,mDAAiC;AACjC,yDAAuC;AACvC,qDAAmC;AACnC,sDAAoC;AACpC,0DAAwC;AACxC,kDAAgC;AAChC,mDAAiC;AACjC,+DAA6C;AAC7C,qDAAmC;AACnC,6DAA2C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/location-closures/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./location-closure.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api/location-closures/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { AuditActor } from '../audit';
|
|
2
|
+
export type LocationClosureKind = 'full_day';
|
|
3
|
+
export interface LocationClosureLocationSummaryDto {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
}
|
|
7
|
+
export interface LocationClosureDto {
|
|
8
|
+
id: string;
|
|
9
|
+
startsOn: string;
|
|
10
|
+
endsOn: string;
|
|
11
|
+
title: string | null;
|
|
12
|
+
reason: string;
|
|
13
|
+
closureKind: LocationClosureKind;
|
|
14
|
+
locationIds: string[];
|
|
15
|
+
locations: LocationClosureLocationSummaryDto[];
|
|
16
|
+
createdAt: string;
|
|
17
|
+
updatedAt: string | null;
|
|
18
|
+
createdBy: AuditActor | null;
|
|
19
|
+
updatedBy: AuditActor | null;
|
|
20
|
+
deletedBy: AuditActor | null;
|
|
21
|
+
}
|
|
22
|
+
export interface CreateLocationClosureRequest {
|
|
23
|
+
startsOn: string;
|
|
24
|
+
endsOn: string;
|
|
25
|
+
locationIds: string[];
|
|
26
|
+
reason: string;
|
|
27
|
+
title?: string | null;
|
|
28
|
+
}
|
|
29
|
+
export interface UpdateLocationClosureRequest {
|
|
30
|
+
startsOn?: string;
|
|
31
|
+
endsOn?: string;
|
|
32
|
+
locationIds?: string[];
|
|
33
|
+
reason?: string;
|
|
34
|
+
title?: string | null;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=location-closure.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"location-closure.dto.d.ts","sourceRoot":"","sources":["../../../src/api/location-closures/location-closure.dto.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC;AAE7C,MAAM,WAAW,iCAAiC;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,mBAAmB,CAAC;IACjC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,SAAS,EAAE,iCAAiC,EAAE,CAAC;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;IAC7B,SAAS,EAAE,UAAU,GAAG,IAAI,CAAC;CAC9B;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"location-closure.dto.js","sourceRoot":"","sources":["../../../src/api/location-closures/location-closure.dto.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
package/src/api/index.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './pagination';
|
|
|
8
8
|
export * from './tax/index';
|
|
9
9
|
export * from './gst-number/index';
|
|
10
10
|
export * from './cancellation-reason';
|
|
11
|
+
export * from './location-closures/index';
|
|
11
12
|
export * from './location';
|
|
12
13
|
export * from './platform-terms';
|
|
13
14
|
export * from './user/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './location-closure.dto';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { AuditActor } from '../audit';
|
|
2
|
+
|
|
3
|
+
export type LocationClosureKind = 'full_day';
|
|
4
|
+
|
|
5
|
+
export interface LocationClosureLocationSummaryDto {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface LocationClosureDto {
|
|
11
|
+
id: string;
|
|
12
|
+
startsOn: string;
|
|
13
|
+
endsOn: string;
|
|
14
|
+
title: string | null;
|
|
15
|
+
reason: string;
|
|
16
|
+
closureKind: LocationClosureKind;
|
|
17
|
+
locationIds: string[];
|
|
18
|
+
locations: LocationClosureLocationSummaryDto[];
|
|
19
|
+
createdAt: string;
|
|
20
|
+
updatedAt: string | null;
|
|
21
|
+
createdBy: AuditActor | null;
|
|
22
|
+
updatedBy: AuditActor | null;
|
|
23
|
+
deletedBy: AuditActor | null;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface CreateLocationClosureRequest {
|
|
27
|
+
startsOn: string;
|
|
28
|
+
endsOn: string;
|
|
29
|
+
locationIds: string[];
|
|
30
|
+
reason: string;
|
|
31
|
+
title?: string | null;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface UpdateLocationClosureRequest {
|
|
35
|
+
startsOn?: string;
|
|
36
|
+
endsOn?: string;
|
|
37
|
+
locationIds?: string[];
|
|
38
|
+
reason?: string;
|
|
39
|
+
title?: string | null;
|
|
40
|
+
}
|