@trii/types 2.10.221 → 2.10.223

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,8 +1,7 @@
1
1
  import { AuditLogType } from "./auditLogType";
2
- export declare class AuditLog {
2
+ export interface AuditLog {
3
3
  id: string;
4
4
  type: AuditLogType;
5
5
  datetime: Date;
6
6
  details: string;
7
- constructor(auditLogJson: any);
8
7
  }
@@ -1,9 +1 @@
1
- import { AuditLogType } from "./auditLogType";
2
- export class AuditLog {
3
- constructor(auditLogJson) {
4
- this.id = auditLogJson.id ? auditLogJson.id : '';
5
- this.type = auditLogJson.type ? auditLogJson.type : AuditLogType.INFO;
6
- this.datetime = auditLogJson.datetime ? auditLogJson.datetime : null;
7
- this.details = auditLogJson.details ? auditLogJson.details : '';
8
- }
9
- }
1
+ export {};
@@ -1,6 +1,12 @@
1
1
  import { ISchedule } from "../Schedules/Schedules";
2
2
  export declare class InstagramConfig {
3
3
  token?: string | '';
4
+ fbAccessToken: string;
5
+ fbUserId: string;
6
+ fbUserName: string;
7
+ igAccountId: string;
8
+ igAccountName: string;
9
+ igSubscribedEvents: string[];
4
10
  reassign?: boolean;
5
11
  reassignTime?: number;
6
12
  reassignGroupId?: string;
@@ -4,54 +4,26 @@ export interface IHoliday {
4
4
  datetimeStart: Date | null;
5
5
  datetimeEnd: Date | null;
6
6
  }
7
+ export interface ITimeRange {
8
+ id: string;
9
+ name: string;
10
+ monday: boolean;
11
+ tuesday: boolean;
12
+ wednesday: boolean;
13
+ thursday: boolean;
14
+ friday: boolean;
15
+ saturday: boolean;
16
+ sunday: boolean;
17
+ start: string | null;
18
+ end: string | null;
19
+ }
7
20
  export interface ISchedule {
8
21
  id: string | null;
9
- tenantId: string | null;
22
+ spaceId: string | null;
10
23
  name: string | null;
11
24
  description: string | null;
25
+ timeRanges: ITimeRange[];
12
26
  holidays: IHoliday[] | null;
13
- mondayStart1: string | null;
14
- mondayEnd1: string | null;
15
- mondayStart2: string | null;
16
- mondayEnd2: string | null;
17
- tuesdayStart1: string | null;
18
- tuesdayEnd1: string | null;
19
- tuesdayStart2: string | null;
20
- tuesdayEnd2: string | null;
21
- wednesdayStart1: string | null;
22
- wednesdayEnd1: string | null;
23
- wednesdayStart2: string | null;
24
- wednesdayEnd2: string | null;
25
- thursdayStart1: string | null;
26
- thursdayEnd1: string | null;
27
- thursdayStart2: string | null;
28
- thursdayEnd2: string | null;
29
- fridayStart1: string | null;
30
- fridayEnd1: string | null;
31
- fridayStart2: string | null;
32
- fridayEnd2: string | null;
33
- saturdayStart1: string | null;
34
- saturdayEnd1: string | null;
35
- saturdayStart2: string | null;
36
- saturdayEnd2: string | null;
37
- sundayStart1: string | null;
38
- sundayEnd1: string | null;
39
- sundayStart2: string | null;
40
- sundayEnd2: string | null;
41
- monday1?: boolean;
42
- monday2?: boolean;
43
- tuesday1?: boolean;
44
- tuesday2?: boolean;
45
- wednesday1?: boolean;
46
- wednesday2?: boolean;
47
- thursday1?: boolean;
48
- thursday2?: boolean;
49
- friday1?: boolean;
50
- friday2?: boolean;
51
- saturday1?: boolean;
52
- saturday2?: boolean;
53
- sunday1?: boolean;
54
- sunday2?: boolean;
55
27
  createdAt?: Date | null;
56
28
  updatedAt?: Date | null;
57
29
  deletedAt?: Date | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.221",
3
+ "version": "2.10.223",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",