@cometchat/calls-sdk-javascript 4.0.4 → 4.0.5-beta1

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.
@@ -0,0 +1,86 @@
1
+ /**
2
+ * Represents a recording object.
3
+ */
4
+ export declare class Recording {
5
+ /**
6
+ * The recording ID.
7
+ */
8
+ private rid;
9
+ /**
10
+ * The URL of the recording.
11
+ */
12
+ private recordingURL;
13
+ /**
14
+ * The start time of the recording.
15
+ */
16
+ private startTime;
17
+ /**
18
+ * The end time of the recording.
19
+ */
20
+ private endTime;
21
+ /**
22
+ * The duration of the recording.
23
+ */
24
+ private duration;
25
+ /**
26
+ * Creates a new instance of the Recording class.
27
+ * @param data - The data to initialize the recording object.
28
+ */
29
+ constructor(data: any);
30
+ /**
31
+ * Gets the recording ID.
32
+ * @returns The recording ID.
33
+ */
34
+ getRid(): string;
35
+ /**
36
+ * Sets the recording ID.
37
+ * @param value - The recording ID to set.
38
+ */
39
+ setRid(value: string): void;
40
+ /**
41
+ * Gets the recording URL.
42
+ * @returns The recording URL.
43
+ */
44
+ getRecordingURL(): string;
45
+ /**
46
+ * Sets the recording URL.
47
+ * @param value - The recording URL to set.
48
+ */
49
+ setRecordingURL(value: string): void;
50
+ /**
51
+ * Gets the start time of the recording.
52
+ * @returns The start time of the recording.
53
+ */
54
+ getStartTime(): number;
55
+ /**
56
+ * Sets the start time of the recording.
57
+ * @param value - The start time of the recording to set.
58
+ */
59
+ setStartTime(value: number): void;
60
+ /**
61
+ * Gets the end time of the recording.
62
+ * @returns The end time of the recording.
63
+ */
64
+ getEndTime(): number;
65
+ /**
66
+ * Sets the end time of the recording.
67
+ * @param value - The end time of the recording to set.
68
+ */
69
+ setEndTime(value: number): void;
70
+ /**
71
+ * Gets the duration of the recording.
72
+ * @returns The duration of the recording.
73
+ */
74
+ getDuration(): number;
75
+ /**
76
+ * Sets the duration of the recording.
77
+ * @param value - The duration of the recording to set.
78
+ */
79
+ setDuration(value: number): void;
80
+ /**
81
+ * Creates a new Recording object from the given JSON data.
82
+ * @param data - The JSON data to create the Recording object from.
83
+ * @returns A new Recording object.
84
+ */
85
+ static getRecordingFromJson(data: any): Recording;
86
+ }
@@ -7,3 +7,4 @@ export * from "./CometChatCalls";
7
7
  export * from "./ErrorModel";
8
8
  export * from "./RTCUser";
9
9
  export * from "./CometChatCallsException";
10
+ export * from "./CometChatCallLogs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cometchat/calls-sdk-javascript",
3
- "version": "4.0.4",
3
+ "version": "4.0.5-beta1",
4
4
  "description": "Cometchat's Javascript SDK for In-app Calling.",
5
5
  "main": "pack/index.js",
6
6
  "module": "pack/index.js",