videomail-client 10.3.9 → 11.0.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.
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/types/DeliveryRecord.d.ts +6 -0
- package/dist/esm/types/EmailAddress.d.ts +3 -0
- package/dist/esm/types/Videomail.d.ts +16 -14
- package/dist/esm/wrappers/form.d.ts +84 -28
- package/dist/umd/index.js +1 -1
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -10649,7 +10649,7 @@ var __webpack_exports__ = {};
|
|
|
10649
10649
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10650
10650
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10651
10651
|
var package_namespaceObject = {
|
|
10652
|
-
i8: "
|
|
10652
|
+
i8: "11.0.0"
|
|
10653
10653
|
};
|
|
10654
10654
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10655
10655
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|
package/dist/esm/index.js
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
import { PartialDeep } from "type-fest";
|
|
2
|
+
import DeliveryRecord from "./DeliveryRecord";
|
|
3
|
+
import { EmailAddress, EmailAddresses } from "./EmailAddress";
|
|
2
4
|
import RecordingStats from "./RecordingStats";
|
|
3
5
|
import VideoFormat from "./VideoFormat";
|
|
4
6
|
interface Videomail {
|
|
5
|
-
|
|
6
|
-
bcc?: string[] | undefined;
|
|
7
|
+
subject?: string;
|
|
7
8
|
body?: string;
|
|
8
|
-
|
|
9
|
+
from: EmailAddress;
|
|
10
|
+
to?: EmailAddresses | undefined;
|
|
11
|
+
bcc?: EmailAddresses | undefined;
|
|
12
|
+
cc?: EmailAddresses | undefined;
|
|
13
|
+
alias: string;
|
|
9
14
|
connection?: Record<string, number | string>;
|
|
10
15
|
correctUrl: string;
|
|
11
16
|
dateCreated: number;
|
|
@@ -16,33 +21,23 @@ interface Videomail {
|
|
|
16
21
|
expiresAfterIso: string;
|
|
17
22
|
expiresAfterPretty: string;
|
|
18
23
|
format?: VideoFormat;
|
|
19
|
-
from: string;
|
|
20
24
|
height?: number | undefined;
|
|
21
25
|
key: string;
|
|
26
|
+
parentKey?: string;
|
|
22
27
|
mp4?: string;
|
|
23
28
|
vtt?: string;
|
|
24
29
|
captions?: string | undefined;
|
|
25
|
-
parentKey?: string;
|
|
26
30
|
poster: string;
|
|
27
31
|
recordingStats?: RecordingStats | undefined;
|
|
28
|
-
rejectedBcc?: string[];
|
|
29
|
-
rejectedCc?: string[];
|
|
30
|
-
rejectedTo?: string[];
|
|
31
|
-
accepted?: string[];
|
|
32
32
|
replyAllUrl?: string;
|
|
33
33
|
replyUrl: string;
|
|
34
34
|
sending: boolean;
|
|
35
35
|
sent?: boolean;
|
|
36
|
-
sentBcc?: string[];
|
|
37
|
-
sentCc?: string[];
|
|
38
36
|
sentDate?: number;
|
|
39
37
|
sentDateIso?: string;
|
|
40
38
|
sentDatePretty?: string;
|
|
41
|
-
sentTo?: string[];
|
|
42
39
|
siteName: string;
|
|
43
40
|
siteTitle?: string;
|
|
44
|
-
subject?: string;
|
|
45
|
-
to?: string[] | undefined;
|
|
46
41
|
url: string;
|
|
47
42
|
userKey?: string;
|
|
48
43
|
versions: {
|
|
@@ -51,6 +46,13 @@ interface Videomail {
|
|
|
51
46
|
};
|
|
52
47
|
webm?: string;
|
|
53
48
|
width?: number | undefined;
|
|
49
|
+
sentTo?: DeliveryRecord;
|
|
50
|
+
sentCc?: DeliveryRecord;
|
|
51
|
+
sentBcc?: DeliveryRecord;
|
|
52
|
+
rejectedTo?: DeliveryRecord;
|
|
53
|
+
rejectedCc?: DeliveryRecord;
|
|
54
|
+
rejectedBcc?: DeliveryRecord;
|
|
55
|
+
accepted?: DeliveryRecord;
|
|
54
56
|
}
|
|
55
57
|
export type PartialVideomail = PartialDeep<Videomail>;
|
|
56
58
|
export default Videomail;
|
|
@@ -16,10 +16,13 @@ declare class Form extends Despot {
|
|
|
16
16
|
constructor(container: Container, formElement: HTMLFormElement, options: VideomailClientOptions);
|
|
17
17
|
private getData;
|
|
18
18
|
transformFormData(formInputs: FormInputs): {
|
|
19
|
-
|
|
20
|
-
bcc?: string[] | undefined | undefined;
|
|
19
|
+
subject?: string;
|
|
21
20
|
body?: string;
|
|
22
|
-
|
|
21
|
+
from?: import("../types/EmailAddress").EmailAddress;
|
|
22
|
+
to?: import("../types/EmailAddress").EmailAddresses | undefined;
|
|
23
|
+
bcc?: import("../types/EmailAddress").EmailAddresses | undefined;
|
|
24
|
+
cc?: import("../types/EmailAddress").EmailAddresses | undefined;
|
|
25
|
+
alias?: string;
|
|
23
26
|
connection?: {
|
|
24
27
|
[x: string]: string | number | undefined;
|
|
25
28
|
};
|
|
@@ -36,13 +39,12 @@ declare class Form extends Despot {
|
|
|
36
39
|
[x: string]: string | undefined;
|
|
37
40
|
} | undefined;
|
|
38
41
|
};
|
|
39
|
-
from?: string;
|
|
40
42
|
height?: number | undefined | undefined;
|
|
41
43
|
key?: string;
|
|
44
|
+
parentKey?: string;
|
|
42
45
|
mp4?: string;
|
|
43
46
|
vtt?: string;
|
|
44
47
|
captions?: string | undefined | undefined;
|
|
45
|
-
parentKey?: string;
|
|
46
48
|
poster?: string;
|
|
47
49
|
recordingStats?: {
|
|
48
50
|
avgFps?: number | undefined | undefined;
|
|
@@ -56,24 +58,15 @@ declare class Form extends Despot {
|
|
|
56
58
|
wantedFps?: number;
|
|
57
59
|
wantedInterval?: number;
|
|
58
60
|
} | undefined;
|
|
59
|
-
rejectedBcc?: string[];
|
|
60
|
-
rejectedCc?: string[];
|
|
61
|
-
rejectedTo?: string[];
|
|
62
|
-
accepted?: string[];
|
|
63
61
|
replyAllUrl?: string;
|
|
64
62
|
replyUrl?: string;
|
|
65
63
|
sending?: boolean;
|
|
66
64
|
sent?: boolean;
|
|
67
|
-
sentBcc?: string[];
|
|
68
|
-
sentCc?: string[];
|
|
69
65
|
sentDate?: number;
|
|
70
66
|
sentDateIso?: string;
|
|
71
67
|
sentDatePretty?: string;
|
|
72
|
-
sentTo?: string[];
|
|
73
68
|
siteName?: string;
|
|
74
69
|
siteTitle?: string;
|
|
75
|
-
subject?: string;
|
|
76
|
-
to?: string[] | undefined | undefined;
|
|
77
70
|
url?: string;
|
|
78
71
|
userKey?: string;
|
|
79
72
|
versions?: {
|
|
@@ -82,12 +75,50 @@ declare class Form extends Despot {
|
|
|
82
75
|
};
|
|
83
76
|
webm?: string;
|
|
84
77
|
width?: number | undefined | undefined;
|
|
78
|
+
sentTo?: {
|
|
79
|
+
[x: string]: {
|
|
80
|
+
userKey?: string | undefined | undefined;
|
|
81
|
+
} | undefined;
|
|
82
|
+
};
|
|
83
|
+
sentCc?: {
|
|
84
|
+
[x: string]: {
|
|
85
|
+
userKey?: string | undefined | undefined;
|
|
86
|
+
} | undefined;
|
|
87
|
+
};
|
|
88
|
+
sentBcc?: {
|
|
89
|
+
[x: string]: {
|
|
90
|
+
userKey?: string | undefined | undefined;
|
|
91
|
+
} | undefined;
|
|
92
|
+
};
|
|
93
|
+
rejectedTo?: {
|
|
94
|
+
[x: string]: {
|
|
95
|
+
userKey?: string | undefined | undefined;
|
|
96
|
+
} | undefined;
|
|
97
|
+
};
|
|
98
|
+
rejectedCc?: {
|
|
99
|
+
[x: string]: {
|
|
100
|
+
userKey?: string | undefined | undefined;
|
|
101
|
+
} | undefined;
|
|
102
|
+
};
|
|
103
|
+
rejectedBcc?: {
|
|
104
|
+
[x: string]: {
|
|
105
|
+
userKey?: string | undefined | undefined;
|
|
106
|
+
} | undefined;
|
|
107
|
+
};
|
|
108
|
+
accepted?: {
|
|
109
|
+
[x: string]: {
|
|
110
|
+
userKey?: string | undefined | undefined;
|
|
111
|
+
} | undefined;
|
|
112
|
+
};
|
|
85
113
|
};
|
|
86
114
|
getRecipients(): {
|
|
87
|
-
|
|
88
|
-
bcc?: string[] | undefined | undefined;
|
|
115
|
+
subject?: string;
|
|
89
116
|
body?: string;
|
|
90
|
-
|
|
117
|
+
from?: import("../types/EmailAddress").EmailAddress;
|
|
118
|
+
to?: import("../types/EmailAddress").EmailAddresses | undefined;
|
|
119
|
+
bcc?: import("../types/EmailAddress").EmailAddresses | undefined;
|
|
120
|
+
cc?: import("../types/EmailAddress").EmailAddresses | undefined;
|
|
121
|
+
alias?: string;
|
|
91
122
|
connection?: {
|
|
92
123
|
[x: string]: string | number | undefined;
|
|
93
124
|
};
|
|
@@ -104,13 +135,12 @@ declare class Form extends Despot {
|
|
|
104
135
|
[x: string]: string | undefined;
|
|
105
136
|
} | undefined;
|
|
106
137
|
};
|
|
107
|
-
from?: string;
|
|
108
138
|
height?: number | undefined | undefined;
|
|
109
139
|
key?: string;
|
|
140
|
+
parentKey?: string;
|
|
110
141
|
mp4?: string;
|
|
111
142
|
vtt?: string;
|
|
112
143
|
captions?: string | undefined | undefined;
|
|
113
|
-
parentKey?: string;
|
|
114
144
|
poster?: string;
|
|
115
145
|
recordingStats?: {
|
|
116
146
|
avgFps?: number | undefined | undefined;
|
|
@@ -124,24 +154,15 @@ declare class Form extends Despot {
|
|
|
124
154
|
wantedFps?: number;
|
|
125
155
|
wantedInterval?: number;
|
|
126
156
|
} | undefined;
|
|
127
|
-
rejectedBcc?: string[];
|
|
128
|
-
rejectedCc?: string[];
|
|
129
|
-
rejectedTo?: string[];
|
|
130
|
-
accepted?: string[];
|
|
131
157
|
replyAllUrl?: string;
|
|
132
158
|
replyUrl?: string;
|
|
133
159
|
sending?: boolean;
|
|
134
160
|
sent?: boolean;
|
|
135
|
-
sentBcc?: string[];
|
|
136
|
-
sentCc?: string[];
|
|
137
161
|
sentDate?: number;
|
|
138
162
|
sentDateIso?: string;
|
|
139
163
|
sentDatePretty?: string;
|
|
140
|
-
sentTo?: string[];
|
|
141
164
|
siteName?: string;
|
|
142
165
|
siteTitle?: string;
|
|
143
|
-
subject?: string;
|
|
144
|
-
to?: string[] | undefined | undefined;
|
|
145
166
|
url?: string;
|
|
146
167
|
userKey?: string;
|
|
147
168
|
versions?: {
|
|
@@ -150,6 +171,41 @@ declare class Form extends Despot {
|
|
|
150
171
|
};
|
|
151
172
|
webm?: string;
|
|
152
173
|
width?: number | undefined | undefined;
|
|
174
|
+
sentTo?: {
|
|
175
|
+
[x: string]: {
|
|
176
|
+
userKey?: string | undefined | undefined;
|
|
177
|
+
} | undefined;
|
|
178
|
+
};
|
|
179
|
+
sentCc?: {
|
|
180
|
+
[x: string]: {
|
|
181
|
+
userKey?: string | undefined | undefined;
|
|
182
|
+
} | undefined;
|
|
183
|
+
};
|
|
184
|
+
sentBcc?: {
|
|
185
|
+
[x: string]: {
|
|
186
|
+
userKey?: string | undefined | undefined;
|
|
187
|
+
} | undefined;
|
|
188
|
+
};
|
|
189
|
+
rejectedTo?: {
|
|
190
|
+
[x: string]: {
|
|
191
|
+
userKey?: string | undefined | undefined;
|
|
192
|
+
} | undefined;
|
|
193
|
+
};
|
|
194
|
+
rejectedCc?: {
|
|
195
|
+
[x: string]: {
|
|
196
|
+
userKey?: string | undefined | undefined;
|
|
197
|
+
} | undefined;
|
|
198
|
+
};
|
|
199
|
+
rejectedBcc?: {
|
|
200
|
+
[x: string]: {
|
|
201
|
+
userKey?: string | undefined | undefined;
|
|
202
|
+
} | undefined;
|
|
203
|
+
};
|
|
204
|
+
accepted?: {
|
|
205
|
+
[x: string]: {
|
|
206
|
+
userKey?: string | undefined | undefined;
|
|
207
|
+
} | undefined;
|
|
208
|
+
};
|
|
153
209
|
};
|
|
154
210
|
loadVideomail(videomail: Videomail): void;
|
|
155
211
|
private setDisabled;
|
package/dist/umd/index.js
CHANGED
|
@@ -10655,7 +10655,7 @@
|
|
|
10655
10655
|
var client = __webpack_require__("./node_modules/superagent/lib/client.js");
|
|
10656
10656
|
var client_default = /*#__PURE__*/ __webpack_require__.n(client);
|
|
10657
10657
|
var package_namespaceObject = {
|
|
10658
|
-
i8: "
|
|
10658
|
+
i8: "11.0.0"
|
|
10659
10659
|
};
|
|
10660
10660
|
var defined = __webpack_require__("./node_modules/defined/index.js");
|
|
10661
10661
|
var defined_default = /*#__PURE__*/ __webpack_require__.n(defined);
|