@wildix/xbees-conversations-client 1.0.57 → 1.0.59
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/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -0
- package/dist-types/commands/GetFilePresignedDownloadUrlCommand.d.ts +2 -1
- package/dist-types/commands/GetUploadedFileInfoCommand.d.ts +1 -1
- package/dist-types/commands/UploadFileCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +6 -0
- package/package.json +3 -2
|
@@ -111,6 +111,7 @@ exports.ChannelAlreadyExistException = ChannelAlreadyExistException;
|
|
|
111
111
|
exports.ConversationFileCategory = {
|
|
112
112
|
GENERAL: "channels",
|
|
113
113
|
RECORDING: "recordings",
|
|
114
|
+
WIZY_RECORDING: "wizyconfRecordings",
|
|
114
115
|
};
|
|
115
116
|
class TagsLimitReachedException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
116
117
|
constructor(opts) {
|
|
@@ -251,6 +251,7 @@ const se_GetFilePresignedDownloadUrlCommand = async (input, context) => {
|
|
|
251
251
|
b.p('fileId', () => input.fileId, '{fileId}', false);
|
|
252
252
|
const query = (0, smithy_client_1.map)({
|
|
253
253
|
[_c]: [, input[_c]],
|
|
254
|
+
[_d]: [() => input.download !== void 0, () => (input[_d].toString())],
|
|
254
255
|
});
|
|
255
256
|
let body;
|
|
256
257
|
b.m("GET")
|
|
@@ -1809,6 +1810,7 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1809
1810
|
value.length != 0) &&
|
|
1810
1811
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1811
1812
|
const _c = "category";
|
|
1813
|
+
const _d = "download";
|
|
1812
1814
|
const _f = "force";
|
|
1813
1815
|
const _l = "limit";
|
|
1814
1816
|
const _o = "offset";
|
|
@@ -102,6 +102,7 @@ export class ChannelAlreadyExistException extends __BaseException {
|
|
|
102
102
|
export const ConversationFileCategory = {
|
|
103
103
|
GENERAL: "channels",
|
|
104
104
|
RECORDING: "recordings",
|
|
105
|
+
WIZY_RECORDING: "wizyconfRecordings",
|
|
105
106
|
};
|
|
106
107
|
export class TagsLimitReachedException extends __BaseException {
|
|
107
108
|
constructor(opts) {
|
|
@@ -234,6 +234,7 @@ export const se_GetFilePresignedDownloadUrlCommand = async (input, context) => {
|
|
|
234
234
|
b.p('fileId', () => input.fileId, '{fileId}', false);
|
|
235
235
|
const query = map({
|
|
236
236
|
[_c]: [, input[_c]],
|
|
237
|
+
[_d]: [() => input.download !== void 0, () => (input[_d].toString())],
|
|
237
238
|
});
|
|
238
239
|
let body;
|
|
239
240
|
b.m("GET")
|
|
@@ -1711,6 +1712,7 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
1711
1712
|
value.length != 0) &&
|
|
1712
1713
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
1713
1714
|
const _c = "category";
|
|
1715
|
+
const _d = "download";
|
|
1714
1716
|
const _f = "force";
|
|
1715
1717
|
const _l = "limit";
|
|
1716
1718
|
const _o = "offset";
|
|
@@ -38,7 +38,8 @@ declare const GetFilePresignedDownloadUrlCommand_base: {
|
|
|
38
38
|
* channelId: "STRING_VALUE", // required
|
|
39
39
|
* messageId: "STRING_VALUE", // required
|
|
40
40
|
* fileId: "STRING_VALUE", // required
|
|
41
|
-
* category: "channels" || "recordings",
|
|
41
|
+
* category: "channels" || "recordings" || "wizyconfRecordings",
|
|
42
|
+
* download: Number("int"),
|
|
42
43
|
* };
|
|
43
44
|
* const command = new GetFilePresignedDownloadUrlCommand(input);
|
|
44
45
|
* const response = await client.send(command);
|
|
@@ -37,7 +37,7 @@ declare const GetUploadedFileInfoCommand_base: {
|
|
|
37
37
|
* const input = { // GetUploadedFileInfoInput
|
|
38
38
|
* channelId: "STRING_VALUE", // required
|
|
39
39
|
* fileId: "STRING_VALUE", // required
|
|
40
|
-
* category: "channels" || "recordings",
|
|
40
|
+
* category: "channels" || "recordings" || "wizyconfRecordings",
|
|
41
41
|
* };
|
|
42
42
|
* const command = new GetUploadedFileInfoCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
@@ -39,7 +39,7 @@ declare const UploadFileCommand_base: {
|
|
|
39
39
|
* name: "STRING_VALUE", // required
|
|
40
40
|
* userId: "STRING_VALUE",
|
|
41
41
|
* options: { // UploadFileOptions
|
|
42
|
-
* category: "channels" || "recordings",
|
|
42
|
+
* category: "channels" || "recordings" || "wizyconfRecordings",
|
|
43
43
|
* region: "STRING_VALUE",
|
|
44
44
|
* },
|
|
45
45
|
* };
|
|
@@ -363,6 +363,7 @@ export declare class ChannelAlreadyExistException extends __BaseException {
|
|
|
363
363
|
export declare const ConversationFileCategory: {
|
|
364
364
|
readonly GENERAL: "channels";
|
|
365
365
|
readonly RECORDING: "recordings";
|
|
366
|
+
readonly WIZY_RECORDING: "wizyconfRecordings";
|
|
366
367
|
};
|
|
367
368
|
/**
|
|
368
369
|
* @public
|
|
@@ -1053,6 +1054,11 @@ export interface GetFilePresignedDownloadUrlInput {
|
|
|
1053
1054
|
* @public
|
|
1054
1055
|
*/
|
|
1055
1056
|
category?: ConversationFileCategory;
|
|
1057
|
+
/**
|
|
1058
|
+
* Set to 1 to download media (video/music). By default, media files will be played in the browser.
|
|
1059
|
+
* @public
|
|
1060
|
+
*/
|
|
1061
|
+
download?: number;
|
|
1056
1062
|
}
|
|
1057
1063
|
/**
|
|
1058
1064
|
* @public
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/xbees-conversations-client",
|
|
3
3
|
"description": "@wildix/xbees-conversations-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.59",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"build:types": "tsc -p tsconfig.types.json",
|
|
10
10
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
11
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
|
-
"prepack": "yarn run clean && yarn run build"
|
|
12
|
+
"prepack": "yarn run clean && yarn run build",
|
|
13
|
+
"postpublish": "node ../../scripts/postpublish.js"
|
|
13
14
|
},
|
|
14
15
|
"main": "./dist-cjs/index.js",
|
|
15
16
|
"types": "./dist-types/index.d.ts",
|