types-salon-management 1.0.31 → 1.0.32
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/company-profile.d.ts +26 -0
- package/dist/api/company-profile.d.ts.map +1 -0
- package/dist/api/company-profile.js +3 -0
- package/dist/api/company-profile.js.map +1 -0
- 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/package.json +1 -1
- package/src/api/company-profile.ts +28 -0
- package/src/api/index.ts +1 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { LocationAddressDto } from './location/location.dto';
|
|
2
|
+
import type { TimeFrameDto } from './master';
|
|
3
|
+
export interface CompanySocialMediaLinksDto {
|
|
4
|
+
instagram: string | null;
|
|
5
|
+
facebook: string | null;
|
|
6
|
+
youtube: string | null;
|
|
7
|
+
}
|
|
8
|
+
export interface CompanyProfileDto {
|
|
9
|
+
name: string;
|
|
10
|
+
description: string | null;
|
|
11
|
+
logoUrl: string | null;
|
|
12
|
+
address: LocationAddressDto | null;
|
|
13
|
+
socialMediaLinks: CompanySocialMediaLinksDto;
|
|
14
|
+
giftCardExpiry: TimeFrameDto;
|
|
15
|
+
taxCalculationMethod: 'inclusive' | 'exclusive';
|
|
16
|
+
}
|
|
17
|
+
export interface UpdateCompanyProfileRequest {
|
|
18
|
+
name?: string;
|
|
19
|
+
description?: string | null;
|
|
20
|
+
logoUrl?: string | null;
|
|
21
|
+
address?: LocationAddressDto | null;
|
|
22
|
+
socialMediaLinks?: Partial<CompanySocialMediaLinksDto>;
|
|
23
|
+
giftCardExpiry?: TimeFrameDto;
|
|
24
|
+
taxCalculationMethod?: 'inclusive' | 'exclusive';
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=company-profile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"company-profile.d.ts","sourceRoot":"","sources":["../../src/api/company-profile.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAE7C,MAAM,WAAW,0BAA0B;IACzC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACnC,gBAAgB,EAAE,0BAA0B,CAAC;IAC7C,cAAc,EAAE,YAAY,CAAC;IAC7B,oBAAoB,EAAE,WAAW,GAAG,WAAW,CAAC;CACjD;AAED,MAAM,WAAW,2BAA2B;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IACpC,gBAAgB,CAAC,EAAE,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACvD,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B,oBAAoB,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC;CAClD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"company-profile.js","sourceRoot":"","sources":["../../src/api/company-profile.ts"],"names":[],"mappings":""}
|
package/dist/api/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from './location';
|
|
|
12
12
|
export * from './platform-terms';
|
|
13
13
|
export * from './user/index';
|
|
14
14
|
export * from './company-settings/index';
|
|
15
|
+
export * from './company-profile';
|
|
15
16
|
export * from './staff/index';
|
|
16
17
|
export * from './resources/index';
|
|
17
18
|
export * from './contraindications/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,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
|
|
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,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC"}
|
package/dist/api/index.js
CHANGED
|
@@ -28,6 +28,7 @@ __exportStar(require("./location"), exports);
|
|
|
28
28
|
__exportStar(require("./platform-terms"), exports);
|
|
29
29
|
__exportStar(require("./user/index"), exports);
|
|
30
30
|
__exportStar(require("./company-settings/index"), exports);
|
|
31
|
+
__exportStar(require("./company-profile"), exports);
|
|
31
32
|
__exportStar(require("./staff/index"), exports);
|
|
32
33
|
__exportStar(require("./resources/index"), exports);
|
|
33
34
|
__exportStar(require("./contraindications/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,gDAA8B;AAC9B,oDAAkC;AAClC,4DAA0C;AAC1C,6DAA2C;AAC3C,mDAAiC;AACjC,qDAAmC;AACnC,sDAAoC;AACpC,0DAAwC;AACxC,kDAAgC;AAChC,mDAAiC"}
|
|
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,oDAAkC;AAClC,4DAA0C;AAC1C,6DAA2C;AAC3C,mDAAiC;AACjC,qDAAmC;AACnC,sDAAoC;AACpC,0DAAwC;AACxC,kDAAgC;AAChC,mDAAiC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { LocationAddressDto } from './location/location.dto';
|
|
2
|
+
import type { TimeFrameDto } from './master';
|
|
3
|
+
|
|
4
|
+
export interface CompanySocialMediaLinksDto {
|
|
5
|
+
instagram: string | null;
|
|
6
|
+
facebook: string | null;
|
|
7
|
+
youtube: string | null;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface CompanyProfileDto {
|
|
11
|
+
name: string;
|
|
12
|
+
description: string | null;
|
|
13
|
+
logoUrl: string | null;
|
|
14
|
+
address: LocationAddressDto | null;
|
|
15
|
+
socialMediaLinks: CompanySocialMediaLinksDto;
|
|
16
|
+
giftCardExpiry: TimeFrameDto;
|
|
17
|
+
taxCalculationMethod: 'inclusive' | 'exclusive';
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface UpdateCompanyProfileRequest {
|
|
21
|
+
name?: string;
|
|
22
|
+
description?: string | null;
|
|
23
|
+
logoUrl?: string | null;
|
|
24
|
+
address?: LocationAddressDto | null;
|
|
25
|
+
socialMediaLinks?: Partial<CompanySocialMediaLinksDto>;
|
|
26
|
+
giftCardExpiry?: TimeFrameDto;
|
|
27
|
+
taxCalculationMethod?: 'inclusive' | 'exclusive';
|
|
28
|
+
}
|
package/src/api/index.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from './location';
|
|
|
12
12
|
export * from './platform-terms';
|
|
13
13
|
export * from './user/index';
|
|
14
14
|
export * from './company-settings/index';
|
|
15
|
+
export * from './company-profile';
|
|
15
16
|
export * from './staff/index';
|
|
16
17
|
export * from './resources/index';
|
|
17
18
|
export * from './contraindications/index';
|