@vita-mojo/types 0.0.2
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/README.md +11 -0
- package/package.json +10 -0
- package/src/index.d.ts +7 -0
- package/src/index.js +2 -0
- package/src/index.js.map +1 -0
- package/src/order/accessory.d.ts +6 -0
- package/src/order/accessory.js +2 -0
- package/src/order/accessory.js.map +1 -0
- package/src/order/auth-user.d.ts +15 -0
- package/src/order/auth-user.js +2 -0
- package/src/order/auth-user.js.map +1 -0
- package/src/order/brand.d.ts +4 -0
- package/src/order/brand.js +2 -0
- package/src/order/brand.js.map +1 -0
- package/src/order/bundle.d.ts +85 -0
- package/src/order/bundle.js +2 -0
- package/src/order/bundle.js.map +1 -0
- package/src/order/device.d.ts +7 -0
- package/src/order/device.js +2 -0
- package/src/order/device.js.map +1 -0
- package/src/order/index.d.ts +6 -0
- package/src/order/index.js +5 -0
- package/src/order/index.js.map +1 -0
- package/src/order/item-type.d.ts +11 -0
- package/src/order/item-type.js +2 -0
- package/src/order/item-type.js.map +1 -0
- package/src/order/item.d.ts +78 -0
- package/src/order/item.js +2 -0
- package/src/order/item.js.map +1 -0
- package/src/order/order-store-settings.d.ts +4 -0
- package/src/order/order-store-settings.js +2 -0
- package/src/order/order-store-settings.js.map +1 -0
- package/src/order/order.d.ts +49 -0
- package/src/order/order.js +2 -0
- package/src/order/order.js.map +1 -0
- package/src/order/payment.d.ts +33 -0
- package/src/order/payment.js +2 -0
- package/src/order/payment.js.map +1 -0
- package/src/order/promotion.d.ts +25 -0
- package/src/order/promotion.js +2 -0
- package/src/order/promotion.js.map +1 -0
- package/src/order/timeslot.d.ts +5 -0
- package/src/order/timeslot.js +2 -0
- package/src/order/timeslot.js.map +1 -0
- package/src/order/user.d.ts +20 -0
- package/src/order/user.js +2 -0
- package/src/order/user.js.map +1 -0
- package/src/permission.interface.d.ts +5 -0
- package/src/permission.interface.js +2 -0
- package/src/permission.interface.js.map +1 -0
- package/src/profile.interface.d.ts +3 -0
- package/src/profile.interface.js +2 -0
- package/src/profile.interface.js.map +1 -0
- package/src/role.interface.d.ts +8 -0
- package/src/role.interface.js +2 -0
- package/src/role.interface.js.map +1 -0
- package/src/tenant.interface.d.ts +6 -0
- package/src/tenant.interface.js +2 -0
- package/src/tenant.interface.js.map +1 -0
- package/src/token-decrypted.interface.d.ts +24 -0
- package/src/token-decrypted.interface.js +2 -0
- package/src/token-decrypted.interface.js.map +1 -0
- package/src/user.interface.d.ts +18 -0
- package/src/user.interface.js +2 -0
- package/src/user.interface.js.map +1 -0
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# types
|
|
2
|
+
|
|
3
|
+
This library was generated with [Nx](https://nx.dev).
|
|
4
|
+
|
|
5
|
+
## Running unit tests
|
|
6
|
+
|
|
7
|
+
Run `nx test types` to execute the unit tests via [Jest](https://jestjs.io).
|
|
8
|
+
|
|
9
|
+
## Running lint
|
|
10
|
+
|
|
11
|
+
Run `nx lint types` to execute the lint via [ESLint](https://eslint.org/).
|
package/package.json
ADDED
package/src/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * as Order from './order';
|
|
2
|
+
export { Permission } from './permission.interface';
|
|
3
|
+
export { Profile } from './profile.interface';
|
|
4
|
+
export { Role } from './role.interface';
|
|
5
|
+
export { Tenant } from './tenant.interface';
|
|
6
|
+
export { TokenDecrypted } from './token-decrypted.interface';
|
|
7
|
+
export { User } from './user.interface';
|
package/src/index.js
ADDED
package/src/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/types/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accessory.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/accessory.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface AuthUser {
|
|
2
|
+
uuid: string;
|
|
3
|
+
email: string;
|
|
4
|
+
tenantUUID: string;
|
|
5
|
+
storeUUID: string;
|
|
6
|
+
allowedStores: string[];
|
|
7
|
+
role: AuthUserRole;
|
|
8
|
+
roles?: AuthUserRole[];
|
|
9
|
+
}
|
|
10
|
+
export interface AuthUserRole {
|
|
11
|
+
uuid: string;
|
|
12
|
+
slug: string;
|
|
13
|
+
displayName: string;
|
|
14
|
+
description: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth-user.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/auth-user.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/brand.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { ItemType } from './item-type';
|
|
2
|
+
import { Promotion } from './promotion';
|
|
3
|
+
export interface AppStraightToPickup {
|
|
4
|
+
kiosk: boolean;
|
|
5
|
+
online: boolean;
|
|
6
|
+
pos: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface KitchenStation {
|
|
9
|
+
uuid: string;
|
|
10
|
+
extTenantUUID: string;
|
|
11
|
+
name: string;
|
|
12
|
+
}
|
|
13
|
+
export interface DefaultItemCustomization {
|
|
14
|
+
type: string;
|
|
15
|
+
uuid: string;
|
|
16
|
+
current: number | number[];
|
|
17
|
+
}
|
|
18
|
+
export interface DefaultItem {
|
|
19
|
+
itemUUID: string;
|
|
20
|
+
name: string;
|
|
21
|
+
customizations: DefaultItemCustomization[];
|
|
22
|
+
}
|
|
23
|
+
export interface Deal {
|
|
24
|
+
uuid: string;
|
|
25
|
+
dealCategoryUUID: string;
|
|
26
|
+
name: string;
|
|
27
|
+
basketUUID: string;
|
|
28
|
+
promotion: Promotion;
|
|
29
|
+
}
|
|
30
|
+
export interface Bundle {
|
|
31
|
+
uuid: string;
|
|
32
|
+
menuUUID: string;
|
|
33
|
+
isReorder: boolean;
|
|
34
|
+
basketUUID: string;
|
|
35
|
+
hasModifiers: string;
|
|
36
|
+
extMediaUUID: string;
|
|
37
|
+
name: string;
|
|
38
|
+
kitchenTicketName: string;
|
|
39
|
+
slug: string;
|
|
40
|
+
description: string;
|
|
41
|
+
dealCategoryOrder: number;
|
|
42
|
+
isGrouped: boolean;
|
|
43
|
+
isPrintable: boolean;
|
|
44
|
+
isAccessory: boolean;
|
|
45
|
+
straightToPickup: boolean;
|
|
46
|
+
appStraightToPickup: AppStraightToPickup;
|
|
47
|
+
type: number;
|
|
48
|
+
itemTypes: ItemType[];
|
|
49
|
+
price: number;
|
|
50
|
+
priceEatIn: number;
|
|
51
|
+
hasEatInPrice: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* total price for bundle, calculated on frontend
|
|
54
|
+
* @example:
|
|
55
|
+
* price 3
|
|
56
|
+
* discount 0.5
|
|
57
|
+
* finalPrice 2.5
|
|
58
|
+
* */
|
|
59
|
+
finalPrice: number;
|
|
60
|
+
subtotalAmountIncludingTax: number;
|
|
61
|
+
/**
|
|
62
|
+
* is Amount of bundle with discount and with applied VAT
|
|
63
|
+
*/
|
|
64
|
+
totalAmount: number;
|
|
65
|
+
subtotalAmount: number;
|
|
66
|
+
vatAmount: number;
|
|
67
|
+
discount: number;
|
|
68
|
+
taxExempt: number;
|
|
69
|
+
vatRateEatIn: number;
|
|
70
|
+
vatRateTakeaway: number;
|
|
71
|
+
rootCategory: object;
|
|
72
|
+
category: object;
|
|
73
|
+
note: string;
|
|
74
|
+
defaultItems: DefaultItem[];
|
|
75
|
+
promotion: Promotion;
|
|
76
|
+
meta: object;
|
|
77
|
+
baseTotalAmount: number;
|
|
78
|
+
baseVatAmount: number;
|
|
79
|
+
deal: Deal;
|
|
80
|
+
kitchenStation: KitchenStation;
|
|
81
|
+
status?: string;
|
|
82
|
+
allergens: string[];
|
|
83
|
+
isRecommendation: boolean;
|
|
84
|
+
parentID?: string;
|
|
85
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/bundle.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/device.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC;AAG/B,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item-type.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/item-type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Promotion } from './promotion';
|
|
2
|
+
export interface AppStraightToPickup {
|
|
3
|
+
kiosk: boolean;
|
|
4
|
+
online: boolean;
|
|
5
|
+
pos: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface Unit {
|
|
8
|
+
slug: string;
|
|
9
|
+
name: any;
|
|
10
|
+
value: any;
|
|
11
|
+
}
|
|
12
|
+
export interface Variation {
|
|
13
|
+
name: string;
|
|
14
|
+
unit: Unit;
|
|
15
|
+
price: number;
|
|
16
|
+
priceEatIn: number;
|
|
17
|
+
hasEatInPrice: boolean;
|
|
18
|
+
step: number;
|
|
19
|
+
type: string;
|
|
20
|
+
uuid: string;
|
|
21
|
+
parentUUID: string;
|
|
22
|
+
value: any;
|
|
23
|
+
printText: string;
|
|
24
|
+
standalonePrice: string;
|
|
25
|
+
unitsNumber: number;
|
|
26
|
+
}
|
|
27
|
+
export interface Customization {
|
|
28
|
+
uuid: string;
|
|
29
|
+
current: number | number[];
|
|
30
|
+
text: string;
|
|
31
|
+
type: string;
|
|
32
|
+
variations: Variation[];
|
|
33
|
+
meta: any;
|
|
34
|
+
}
|
|
35
|
+
export interface KitchenZone {
|
|
36
|
+
uuid: string;
|
|
37
|
+
name: string;
|
|
38
|
+
slug: string;
|
|
39
|
+
sortOrderOnPrint: number;
|
|
40
|
+
capacity: number;
|
|
41
|
+
}
|
|
42
|
+
export interface Item {
|
|
43
|
+
name: string;
|
|
44
|
+
uuid: string;
|
|
45
|
+
kitchenTicketName: string;
|
|
46
|
+
kitchenZone: KitchenZone;
|
|
47
|
+
itemUUID: string;
|
|
48
|
+
straightToPickup: boolean;
|
|
49
|
+
price: number;
|
|
50
|
+
priceEatIn: number;
|
|
51
|
+
hasEatInPrice: boolean;
|
|
52
|
+
appStraightToPickup: AppStraightToPickup;
|
|
53
|
+
/**
|
|
54
|
+
* total price for item, calculated on frontend
|
|
55
|
+
* @example:
|
|
56
|
+
* price 3
|
|
57
|
+
* discount 0.5
|
|
58
|
+
* finalPrice 2.5
|
|
59
|
+
* */
|
|
60
|
+
finalPrice: number;
|
|
61
|
+
/**
|
|
62
|
+
* is Amount of item with discount and with applied VAT
|
|
63
|
+
*/
|
|
64
|
+
totalAmount: number;
|
|
65
|
+
subtotalAmount: number;
|
|
66
|
+
customizations: Customization[];
|
|
67
|
+
vatAmount: number;
|
|
68
|
+
discount: number;
|
|
69
|
+
taxExempt: number;
|
|
70
|
+
vatRateEatIn: number;
|
|
71
|
+
vatRateTakeaway: number;
|
|
72
|
+
promotion: Promotion;
|
|
73
|
+
type: string;
|
|
74
|
+
dealPriceOverrideDiff?: {
|
|
75
|
+
priceEatIn: number;
|
|
76
|
+
price: number;
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"item.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/item.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order-store-settings.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/order-store-settings.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Accessory } from './accessory';
|
|
2
|
+
import { AuthUser } from './auth-user';
|
|
3
|
+
import { Brand } from './brand';
|
|
4
|
+
import { Bundle } from './bundle';
|
|
5
|
+
import { Device } from './device';
|
|
6
|
+
import { OrderStoreSettings } from './order-store-settings';
|
|
7
|
+
import { Payment } from './payment';
|
|
8
|
+
import { Promotion } from './promotion';
|
|
9
|
+
import { Timeslot } from './timeslot';
|
|
10
|
+
import { User } from './user';
|
|
11
|
+
export interface Order {
|
|
12
|
+
uuid: string;
|
|
13
|
+
timezone: string;
|
|
14
|
+
requestedFrom: string;
|
|
15
|
+
pickupTime?: number;
|
|
16
|
+
user: User;
|
|
17
|
+
serialNumber: string;
|
|
18
|
+
isAsap: boolean;
|
|
19
|
+
sortOrder: number;
|
|
20
|
+
createdAt: number | string;
|
|
21
|
+
updatedAt: number | string;
|
|
22
|
+
bundles: Bundle[];
|
|
23
|
+
status: string;
|
|
24
|
+
statusChanged?: {
|
|
25
|
+
[status: string]: number;
|
|
26
|
+
};
|
|
27
|
+
table?: string | number;
|
|
28
|
+
extTenantUUID: string;
|
|
29
|
+
extStoreUUID?: string;
|
|
30
|
+
storeUUID: string;
|
|
31
|
+
extUserUUID?: string;
|
|
32
|
+
timeSlot?: Timeslot;
|
|
33
|
+
payment: Payment;
|
|
34
|
+
isPaidOrderStraightToProduction?: boolean;
|
|
35
|
+
storeSettings?: OrderStoreSettings;
|
|
36
|
+
takeaway?: boolean;
|
|
37
|
+
transitionAlias?: string;
|
|
38
|
+
basketUUIDs?: string[];
|
|
39
|
+
source?: string;
|
|
40
|
+
isOpat: boolean;
|
|
41
|
+
isDelivery: boolean;
|
|
42
|
+
canceledBy?: AuthUser;
|
|
43
|
+
accessories?: Accessory[];
|
|
44
|
+
bundlesBatchEvents?: string[];
|
|
45
|
+
promotions?: Promotion;
|
|
46
|
+
note?: string;
|
|
47
|
+
brand?: Brand;
|
|
48
|
+
device: Device;
|
|
49
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"order.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/order.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface Payment {
|
|
2
|
+
totalAmount: number;
|
|
3
|
+
subtotalAmount: number;
|
|
4
|
+
vatAmount?: number;
|
|
5
|
+
price: number;
|
|
6
|
+
discount?: number;
|
|
7
|
+
provider?: string;
|
|
8
|
+
currency?: string;
|
|
9
|
+
status?: string;
|
|
10
|
+
meta?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
refundSumUp?: number;
|
|
14
|
+
salesTaxRate?: number;
|
|
15
|
+
serviceCharge?: number;
|
|
16
|
+
serviceChargePercentage?: number;
|
|
17
|
+
deliveryFee: number;
|
|
18
|
+
transactions?: Transaction[];
|
|
19
|
+
}
|
|
20
|
+
export interface Transaction {
|
|
21
|
+
uuid: string;
|
|
22
|
+
status: string;
|
|
23
|
+
type: string;
|
|
24
|
+
amount: number;
|
|
25
|
+
provider: {
|
|
26
|
+
slug: string;
|
|
27
|
+
name: string;
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
isGiftCard: boolean;
|
|
31
|
+
createdAt?: string;
|
|
32
|
+
updatedAt?: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payment.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/payment.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface PromoCodeDto {
|
|
2
|
+
code: string;
|
|
3
|
+
phoneNumber?: string;
|
|
4
|
+
secureCode?: string;
|
|
5
|
+
bindAccount?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface Promotion {
|
|
8
|
+
uuid: string;
|
|
9
|
+
type: string;
|
|
10
|
+
value: number;
|
|
11
|
+
name: string;
|
|
12
|
+
appliesTo: string;
|
|
13
|
+
promoCode: PromoCodeDto;
|
|
14
|
+
loyaltyPoints: number;
|
|
15
|
+
maxAmount: number;
|
|
16
|
+
minBasket: number;
|
|
17
|
+
providerPromotion: PromotionProviderDetails;
|
|
18
|
+
provider: string;
|
|
19
|
+
freeDelivery: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface PromotionProviderDetails {
|
|
22
|
+
type: string;
|
|
23
|
+
expirationDate: string;
|
|
24
|
+
count: number;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"promotion.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/promotion.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeslot.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/timeslot.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface UserAddress {
|
|
2
|
+
address1: string;
|
|
3
|
+
address2: null;
|
|
4
|
+
county: null;
|
|
5
|
+
distance: number;
|
|
6
|
+
instructions: string;
|
|
7
|
+
phoneNumber: string;
|
|
8
|
+
postCode: string;
|
|
9
|
+
town: string;
|
|
10
|
+
}
|
|
11
|
+
export interface User {
|
|
12
|
+
extUserUUID: string;
|
|
13
|
+
email: string;
|
|
14
|
+
isGuest: boolean;
|
|
15
|
+
name: string;
|
|
16
|
+
originalName: string;
|
|
17
|
+
address?: UserAddress;
|
|
18
|
+
acteolMemberNumber?: number;
|
|
19
|
+
acteolCtcId?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.js","sourceRoot":"","sources":["../../../../../packages/types/src/order/user.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"permission.interface.js","sourceRoot":"","sources":["../../../../packages/types/src/permission.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"profile.interface.js","sourceRoot":"","sources":["../../../../packages/types/src/profile.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"role.interface.js","sourceRoot":"","sources":["../../../../packages/types/src/role.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tenant.interface.js","sourceRoot":"","sources":["../../../../packages/types/src/tenant.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Profile } from './profile.interface';
|
|
2
|
+
import { Role } from './role.interface';
|
|
3
|
+
export interface TokenDecrypted {
|
|
4
|
+
user: {
|
|
5
|
+
uuid: string;
|
|
6
|
+
tenantUUID: string;
|
|
7
|
+
storeUUID: string;
|
|
8
|
+
email: string;
|
|
9
|
+
active: boolean;
|
|
10
|
+
hasLinkedComoAccount: boolean;
|
|
11
|
+
forgottenToken: string;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
updatedAt: string;
|
|
14
|
+
role: Role;
|
|
15
|
+
profile: Profile;
|
|
16
|
+
allowedStores?: string[];
|
|
17
|
+
integrations?: {
|
|
18
|
+
comoID: string;
|
|
19
|
+
};
|
|
20
|
+
locale: string;
|
|
21
|
+
};
|
|
22
|
+
iat: number;
|
|
23
|
+
exp: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"token-decrypted.interface.js","sourceRoot":"","sources":["../../../../packages/types/src/token-decrypted.interface.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Profile } from './profile.interface';
|
|
2
|
+
import { Role } from './role.interface';
|
|
3
|
+
export interface User {
|
|
4
|
+
uuid: string;
|
|
5
|
+
tenantUUID: string;
|
|
6
|
+
storeUUID: string;
|
|
7
|
+
email: string;
|
|
8
|
+
active: boolean;
|
|
9
|
+
forgottenToken: string;
|
|
10
|
+
createdAt: string;
|
|
11
|
+
updatedAt: string;
|
|
12
|
+
role: Role;
|
|
13
|
+
profile: Profile;
|
|
14
|
+
allowedStores?: string[];
|
|
15
|
+
integrations?: {
|
|
16
|
+
comoID: string;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.interface.js","sourceRoot":"","sources":["../../../../packages/types/src/user.interface.ts"],"names":[],"mappings":""}
|