@captureid/datatypes 1.0.60 → 1.0.61
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/lib/enums.d.ts
CHANGED
|
@@ -385,6 +385,15 @@ export declare namespace FileType {
|
|
|
385
385
|
function valueOf(str: string): number;
|
|
386
386
|
function values(): any[];
|
|
387
387
|
}
|
|
388
|
+
export declare enum TaskType {
|
|
389
|
+
UNKNOWN = 0,
|
|
390
|
+
ENDOFDAY = 1,
|
|
391
|
+
RESTART = 2
|
|
392
|
+
}
|
|
393
|
+
export declare namespace TaskType {
|
|
394
|
+
function valueOf(str: string): number;
|
|
395
|
+
function values(): any[];
|
|
396
|
+
}
|
|
388
397
|
export declare enum CouponType {
|
|
389
398
|
UNKNOWN = 0,
|
|
390
399
|
COUPON = 1,
|
|
@@ -1,9 +1,21 @@
|
|
|
1
|
+
import { TaskType } from "../../enums";
|
|
1
2
|
import { DataObject } from "../data-object";
|
|
2
3
|
import { PaymentTerminal } from "../payment/payment-terminal-object";
|
|
3
4
|
import { Address } from "./address-object";
|
|
4
5
|
import { Image } from "./image-object";
|
|
5
6
|
import { Room } from "./location-object";
|
|
6
7
|
import { PosTerminal } from "./pos-terminal-object";
|
|
8
|
+
export interface StoreTask {
|
|
9
|
+
id: string;
|
|
10
|
+
type: TaskType;
|
|
11
|
+
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
active: boolean;
|
|
14
|
+
duedate: Date;
|
|
15
|
+
}
|
|
16
|
+
export declare class StoreTask implements StoreTask {
|
|
17
|
+
constructor(id?: string, type?: TaskType, name?: string, description?: string, active?: boolean, duedate?: Date);
|
|
18
|
+
}
|
|
7
19
|
export interface Store {
|
|
8
20
|
id: string;
|
|
9
21
|
name: string;
|
|
@@ -15,9 +27,10 @@ export interface Store {
|
|
|
15
27
|
posterminals: PosTerminal[];
|
|
16
28
|
images: Image[];
|
|
17
29
|
url: string;
|
|
30
|
+
tasks?: StoreTask[];
|
|
18
31
|
}
|
|
19
32
|
export declare class Store implements Store {
|
|
20
|
-
constructor(id?: string, name?: string, description?: string, ownerid?: string, companyid?: string, rooms?: Room[], terminals?: PaymentTerminal[], posterminals?: PosTerminal[], images?: Image[], url?: string);
|
|
33
|
+
constructor(id?: string, name?: string, description?: string, ownerid?: string, companyid?: string, rooms?: Room[], terminals?: PaymentTerminal[], posterminals?: PosTerminal[], images?: Image[], url?: string, tasks?: StoreTask[]);
|
|
21
34
|
}
|
|
22
35
|
export interface StoreObject {
|
|
23
36
|
data: Store[];
|