@tolinax/ayoune-interfaces 2026.2.15 → 2026.3.0

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.
@@ -588,5 +588,8 @@ export declare enum aMN {
588
588
  WorkCenters = "WorkCenters",
589
589
  WorkLogs = "WorkLogs",
590
590
  XingContacts = "XingContacts",
591
- CostBucketResults = "CostBucketResults"
591
+ CostBucketResults = "CostBucketResults",
592
+ SyncFolders = "SyncFolders",
593
+ SyncDevices = "SyncDevices",
594
+ SyncEvents = "SyncEvents"
592
595
  }
@@ -593,4 +593,7 @@ var aMN;
593
593
  aMN["WorkLogs"] = "WorkLogs";
594
594
  aMN["XingContacts"] = "XingContacts";
595
595
  aMN["CostBucketResults"] = "CostBucketResults";
596
+ aMN["SyncFolders"] = "SyncFolders";
597
+ aMN["SyncDevices"] = "SyncDevices";
598
+ aMN["SyncEvents"] = "SyncEvents";
596
599
  })(aMN || (exports.aMN = aMN = {}));
@@ -5921,6 +5921,36 @@ const modelsAndRights = [
5921
5921
  allowDuplicate: false,
5922
5922
  updateBy: "_id",
5923
5923
  },
5924
+ {
5925
+ plural: "SyncFolders",
5926
+ singular: "SyncFolder",
5927
+ module: "sync",
5928
+ right: "sync.folders",
5929
+ readOnly: false,
5930
+ importable: false,
5931
+ allowDuplicate: false,
5932
+ updateBy: "_id",
5933
+ },
5934
+ {
5935
+ plural: "SyncDevices",
5936
+ singular: "SyncDevice",
5937
+ module: "sync",
5938
+ right: "sync.devices",
5939
+ readOnly: false,
5940
+ importable: false,
5941
+ allowDuplicate: false,
5942
+ updateBy: "_id",
5943
+ },
5944
+ {
5945
+ plural: "SyncEvents",
5946
+ singular: "SyncEvent",
5947
+ module: "sync",
5948
+ right: "sync.events",
5949
+ readOnly: true,
5950
+ importable: false,
5951
+ allowDuplicate: false,
5952
+ updateBy: "_id",
5953
+ },
5924
5954
  ];
5925
5955
  exports.modelsAndRights = modelsAndRights;
5926
5956
  exports.default = modelsAndRights;
@@ -0,0 +1,9 @@
1
+ import { IDefaultFields } from "./IDefaultFields";
2
+ export interface ISyncDevice extends IDefaultFields {
3
+ _customerID: ObjectId;
4
+ deviceName: string;
5
+ lastSeenAt?: Date;
6
+ syncRootPath?: string;
7
+ registeredAt?: Date;
8
+ status?: "active" | "inactive";
9
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ import { IDefaultFields } from "./IDefaultFields";
2
+ export interface ISyncEvent extends IDefaultFields {
3
+ _customerID: ObjectId;
4
+ documentId?: ObjectId;
5
+ folderId?: ObjectId;
6
+ action: "created" | "updated" | "deleted" | "moved" | "renamed";
7
+ entityType: "file" | "folder";
8
+ name?: string;
9
+ parentId?: ObjectId;
10
+ etag?: string;
11
+ size?: number;
12
+ changedBy: string;
13
+ changedByUserId?: ObjectId;
14
+ timestamp?: Date;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import { IDefaultFields } from "./IDefaultFields";
2
+ export interface ISyncFolder extends IDefaultFields {
3
+ _customerID: ObjectId;
4
+ parentId?: ObjectId;
5
+ name: string;
6
+ relativePath: string;
7
+ createdBy?: ObjectId;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -429,7 +429,10 @@ interface IPrintOptions {
429
429
  }
430
430
  interface ISync {
431
431
  desktopClient?: string;
432
- folders: IFolders;
432
+ folders?: IFolders;
433
+ syncRootPath?: string;
434
+ driveLetter?: string;
435
+ enabled?: boolean;
433
436
  }
434
437
  interface IFolders {
435
438
  documents?: string;
@@ -656,3 +656,6 @@ export * from "./IaYOUneAdvertisementDisplayLocation";
656
656
  export * from "./IaYOUneAdvertisementDisplayGroup";
657
657
  export * from "./IAddress";
658
658
  export * from "./IPreRenderMeta";
659
+ export * from "./ISyncFolder";
660
+ export * from "./ISyncDevice";
661
+ export * from "./ISyncEvent";
@@ -672,3 +672,6 @@ __exportStar(require("./IaYOUneAdvertisementDisplayLocation"), exports);
672
672
  __exportStar(require("./IaYOUneAdvertisementDisplayGroup"), exports);
673
673
  __exportStar(require("./IAddress"), exports);
674
674
  __exportStar(require("./IPreRenderMeta"), exports);
675
+ __exportStar(require("./ISyncFolder"), exports);
676
+ __exportStar(require("./ISyncDevice"), exports);
677
+ __exportStar(require("./ISyncEvent"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2026.2.15",
3
+ "version": "2026.3.0",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",