@tolinax/ayoune-interfaces 2024.92.0 → 2024.94.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.
@@ -16,7 +16,7 @@ export interface IVersion {
16
16
  size?: number;
17
17
  releaseDate?: Date;
18
18
  }
19
- interface IDownloadKey {
19
+ export interface IDownloadKey {
20
20
  key: string;
21
21
  note: string;
22
22
  validTill: Date;
@@ -32,6 +32,12 @@ export interface IDownloadOptions {
32
32
  coverSize?: number;
33
33
  shareUrl?: string;
34
34
  }
35
+ export interface IDetailsOptions {
36
+ askForDetails?: boolean;
37
+ detailsOptional?: boolean;
38
+ newsletterRegistration?: boolean;
39
+ approveDataMerge?: boolean;
40
+ }
35
41
  export interface IDownload extends IDefaultFields {
36
42
  _customerID: ObjectId;
37
43
  _clientID?: ObjectId[];
@@ -46,6 +52,7 @@ export interface IDownload extends IDefaultFields {
46
52
  forSale?: boolean;
47
53
  autoUpdate?: boolean;
48
54
  protected?: boolean;
55
+ detailOptions: IDetailsOptions;
49
56
  maxDownloads?: number;
50
57
  downloadCount?: number;
51
58
  checkDeviceType?: string;
@@ -55,4 +62,3 @@ export interface IDownload extends IDefaultFields {
55
62
  keys: IDownloadKey[];
56
63
  options: IDownloadOptions;
57
64
  }
58
- export {};
@@ -1,16 +1,11 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
- import { IDownloadOptions } from "./IDownload";
2
+ import { IDetailsOptions, IDownloadKey, IDownloadOptions } from "./IDownload";
3
3
  export interface IDownloadFile {
4
4
  downloadCount?: number;
5
5
  status?: "published" | "unpublished";
6
6
  downloadName?: string;
7
7
  downloadId?: string;
8
8
  }
9
- interface IDownloadKey {
10
- key: string;
11
- note: string;
12
- validTill: Date;
13
- }
14
9
  export interface IDownloadList extends IDefaultFields {
15
10
  _customerID: ObjectId;
16
11
  _clientID?: ObjectId[];
@@ -22,6 +17,7 @@ export interface IDownloadList extends IDefaultFields {
22
17
  slug?: string;
23
18
  downloadFileName?: string;
24
19
  protected?: boolean;
20
+ detailOptions: IDetailsOptions;
25
21
  coverFileId?: string;
26
22
  forSale?: boolean;
27
23
  coverFileName?: string;
@@ -32,4 +28,3 @@ export interface IDownloadList extends IDefaultFields {
32
28
  keys: IDownloadKey[];
33
29
  options: IDownloadOptions;
34
30
  }
35
- export {};
@@ -0,0 +1,8 @@
1
+ import { IDefaultFields } from "./IDefaultFields";
2
+ export interface IMeetingGroup extends IDefaultFields {
3
+ _customerID: ObjectId;
4
+ _clientID?: ObjectId[];
5
+ _subID?: ObjectId[];
6
+ name?: string;
7
+ note?: string;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,5 @@
1
1
  import { IDefaultFields } from "./IDefaultFields";
2
+ import { IDetailsOptions, IDownloadKey } from "./IDownload";
2
3
  interface IStreamPart {
3
4
  _file?: ObjectId;
4
5
  fileId?: string;
@@ -58,6 +59,7 @@ interface IStreamOptions {
58
59
  showMarkers?: boolean;
59
60
  showChapters?: boolean;
60
61
  coverSize?: number;
62
+ waveSize?: number;
61
63
  shareUrl?: string;
62
64
  }
63
65
  export interface IStream extends IDefaultFields {
@@ -69,12 +71,15 @@ export interface IStream extends IDefaultFields {
69
71
  productName?: string;
70
72
  name?: string;
71
73
  slug?: string;
74
+ protected?: boolean;
75
+ detailOptions: IDetailsOptions;
72
76
  fileUrl?: string;
73
77
  totalPlays?: number;
74
78
  totalPlayTime?: number;
75
79
  options: IStreamOptions;
76
80
  parts: IStreamPart[];
77
81
  meta: IStreamMeta;
82
+ keys: IDownloadKey[];
78
83
  musicMeta: IStreamMusicMeta;
79
84
  }
80
85
  export {};
@@ -376,6 +376,7 @@ export * from "./IIndustryKPI";
376
376
  export * from "./IMarketResearch";
377
377
  export * from "./IMaterial";
378
378
  export * from "./IMeeting";
379
+ export * from "./IMeetingGroup";
379
380
  export * from "./IEventRegisterView";
380
381
  export * from "./IMeetingLocation";
381
382
  export * from "./IMeetingMinute";
@@ -392,6 +392,7 @@ __exportStar(require("./IIndustryKPI"), exports);
392
392
  __exportStar(require("./IMarketResearch"), exports);
393
393
  __exportStar(require("./IMaterial"), exports);
394
394
  __exportStar(require("./IMeeting"), exports);
395
+ __exportStar(require("./IMeetingGroup"), exports);
395
396
  __exportStar(require("./IEventRegisterView"), exports);
396
397
  __exportStar(require("./IMeetingLocation"), exports);
397
398
  __exportStar(require("./IMeetingMinute"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2024.92.0",
3
+ "version": "2024.94.0",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",