@wildix/xbees-conversations-client 1.0.25 → 1.0.27
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 +12 -11
- package/dist-es/models/models_0.js +9 -8
- package/dist-types/commands/CreateChannelCommand.d.ts +2 -0
- package/dist-types/commands/GetChannelCommand.d.ts +1 -0
- package/dist-types/commands/JoinChannelCommand.d.ts +1 -0
- package/dist-types/commands/PartialUpdateChannelCommand.d.ts +3 -1
- package/dist-types/commands/UpdateChannelCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +10 -6
- package/dist-types/runtimeConfig.browser.d.ts +3 -3
- package/dist-types/runtimeConfig.d.ts +3 -3
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConversationsServiceException = exports.MemberNotFoundException = exports.MessageType = exports.MessageSmsStatus = exports.ChannelUnsetFields = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.ChannelType = exports.
|
|
3
|
+
exports.ConversationsServiceException = exports.MemberNotFoundException = exports.MessageType = exports.MessageSmsStatus = exports.ChannelUnsetFields = exports.ChannelNotFoundException = exports.ChannelMemberRole = exports.ChannelContextSource = exports.ChannelContextEventAttendeeStatus = exports.ChannelAccess = exports.ChannelType = exports.ForbiddenException = exports.ValidationException = void 0;
|
|
4
4
|
const ConversationsServiceException_1 = require("./ConversationsServiceException");
|
|
5
|
-
class
|
|
5
|
+
class ValidationException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
6
6
|
constructor(opts) {
|
|
7
7
|
super({
|
|
8
|
-
name: "
|
|
8
|
+
name: "ValidationException",
|
|
9
9
|
$fault: "client",
|
|
10
10
|
...opts
|
|
11
11
|
});
|
|
12
|
-
this.name = "
|
|
12
|
+
this.name = "ValidationException";
|
|
13
13
|
this.$fault = "client";
|
|
14
|
-
Object.setPrototypeOf(this,
|
|
14
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
exports.
|
|
18
|
-
class
|
|
17
|
+
exports.ValidationException = ValidationException;
|
|
18
|
+
class ForbiddenException extends ConversationsServiceException_1.ConversationsServiceException {
|
|
19
19
|
constructor(opts) {
|
|
20
20
|
super({
|
|
21
|
-
name: "
|
|
21
|
+
name: "ForbiddenException",
|
|
22
22
|
$fault: "client",
|
|
23
23
|
...opts
|
|
24
24
|
});
|
|
25
|
-
this.name = "
|
|
25
|
+
this.name = "ForbiddenException";
|
|
26
26
|
this.$fault = "client";
|
|
27
|
-
Object.setPrototypeOf(this,
|
|
27
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
exports.
|
|
30
|
+
exports.ForbiddenException = ForbiddenException;
|
|
31
31
|
exports.ChannelType = {
|
|
32
32
|
DIRECT: "direct",
|
|
33
33
|
GROUP: "group",
|
|
@@ -76,6 +76,7 @@ exports.ChannelUnsetFields = {
|
|
|
76
76
|
KITE_SERVICE_NAME: "kiteServiceName",
|
|
77
77
|
KITE_TARGET: "kiteTarget",
|
|
78
78
|
KITE_VARIANT: "kiteVariant",
|
|
79
|
+
MMS: "mms",
|
|
79
80
|
PICTURE: "picture",
|
|
80
81
|
PICTURE_COLOR: "pictureColor",
|
|
81
82
|
SERVICE: "service",
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { ConversationsServiceException as __BaseException } from "./ConversationsServiceException";
|
|
2
|
-
export class
|
|
2
|
+
export class ValidationException extends __BaseException {
|
|
3
3
|
constructor(opts) {
|
|
4
4
|
super({
|
|
5
|
-
name: "
|
|
5
|
+
name: "ValidationException",
|
|
6
6
|
$fault: "client",
|
|
7
7
|
...opts
|
|
8
8
|
});
|
|
9
|
-
this.name = "
|
|
9
|
+
this.name = "ValidationException";
|
|
10
10
|
this.$fault = "client";
|
|
11
|
-
Object.setPrototypeOf(this,
|
|
11
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
-
export class
|
|
14
|
+
export class ForbiddenException extends __BaseException {
|
|
15
15
|
constructor(opts) {
|
|
16
16
|
super({
|
|
17
|
-
name: "
|
|
17
|
+
name: "ForbiddenException",
|
|
18
18
|
$fault: "client",
|
|
19
19
|
...opts
|
|
20
20
|
});
|
|
21
|
-
this.name = "
|
|
21
|
+
this.name = "ForbiddenException";
|
|
22
22
|
this.$fault = "client";
|
|
23
|
-
Object.setPrototypeOf(this,
|
|
23
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
export const ChannelType = {
|
|
@@ -70,6 +70,7 @@ export const ChannelUnsetFields = {
|
|
|
70
70
|
KITE_SERVICE_NAME: "kiteServiceName",
|
|
71
71
|
KITE_TARGET: "kiteTarget",
|
|
72
72
|
KITE_VARIANT: "kiteVariant",
|
|
73
|
+
MMS: "mms",
|
|
73
74
|
PICTURE: "picture",
|
|
74
75
|
PICTURE_COLOR: "pictureColor",
|
|
75
76
|
SERVICE: "service",
|
|
@@ -83,6 +83,7 @@ export interface CreateChannelCommandOutput extends CreateChannelOutput, __Metad
|
|
|
83
83
|
* },
|
|
84
84
|
* telephony: true || false,
|
|
85
85
|
* sms: true || false,
|
|
86
|
+
* mms: true || false,
|
|
86
87
|
* broadcast: true || false,
|
|
87
88
|
* external: true || false,
|
|
88
89
|
* channelId: "STRING_VALUE",
|
|
@@ -148,6 +149,7 @@ export interface CreateChannelCommandOutput extends CreateChannelOutput, __Metad
|
|
|
148
149
|
* // },
|
|
149
150
|
* // telephony: true || false,
|
|
150
151
|
* // sms: true || false,
|
|
152
|
+
* // mms: true || false,
|
|
151
153
|
* // broadcast: true || false,
|
|
152
154
|
* // external: true || false,
|
|
153
155
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -88,6 +88,7 @@ export interface GetChannelCommandOutput extends GetChannelOutput, __MetadataBea
|
|
|
88
88
|
* // },
|
|
89
89
|
* // telephony: true || false,
|
|
90
90
|
* // sms: true || false,
|
|
91
|
+
* // mms: true || false,
|
|
91
92
|
* // broadcast: true || false,
|
|
92
93
|
* // external: true || false,
|
|
93
94
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -88,6 +88,7 @@ export interface JoinChannelCommandOutput extends JoinChannelOutput, __MetadataB
|
|
|
88
88
|
* // },
|
|
89
89
|
* // telephony: true || false,
|
|
90
90
|
* // sms: true || false,
|
|
91
|
+
* // mms: true || false,
|
|
91
92
|
* // broadcast: true || false,
|
|
92
93
|
* // external: true || false,
|
|
93
94
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -84,11 +84,12 @@ export interface PartialUpdateChannelCommandOutput extends PartialUpdateChannelO
|
|
|
84
84
|
* },
|
|
85
85
|
* telephony: true || false,
|
|
86
86
|
* sms: true || false,
|
|
87
|
+
* mms: true || false,
|
|
87
88
|
* broadcast: true || false,
|
|
88
89
|
* external: true || false,
|
|
89
90
|
* },
|
|
90
91
|
* unset: [ // ChannelUnsetFieldsList
|
|
91
|
-
* "subject" || "description" || "picture" || "pictureColor" || "access" || "company" || "context" || "kite" || "kiteTarget" || "kiteVariant" || "kiteAssign" || "kiteServiceName" || "kiteDefaultSubject" || "service" || "serviceTitle" || "serviceRecipient" || "assignee" || "telephony" || "sms" || "broadcast" || "external",
|
|
92
|
+
* "subject" || "description" || "picture" || "pictureColor" || "access" || "company" || "context" || "kite" || "kiteTarget" || "kiteVariant" || "kiteAssign" || "kiteServiceName" || "kiteDefaultSubject" || "service" || "serviceTitle" || "serviceRecipient" || "assignee" || "telephony" || "sms" || "mms" || "broadcast" || "external",
|
|
92
93
|
* ],
|
|
93
94
|
* };
|
|
94
95
|
* const command = new PartialUpdateChannelCommand(input);
|
|
@@ -147,6 +148,7 @@ export interface PartialUpdateChannelCommandOutput extends PartialUpdateChannelO
|
|
|
147
148
|
* // },
|
|
148
149
|
* // telephony: true || false,
|
|
149
150
|
* // sms: true || false,
|
|
151
|
+
* // mms: true || false,
|
|
150
152
|
* // broadcast: true || false,
|
|
151
153
|
* // external: true || false,
|
|
152
154
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -84,6 +84,7 @@ export interface UpdateChannelCommandOutput extends UpdateChannelOutput, __Metad
|
|
|
84
84
|
* },
|
|
85
85
|
* telephony: true || false,
|
|
86
86
|
* sms: true || false,
|
|
87
|
+
* mms: true || false,
|
|
87
88
|
* broadcast: true || false,
|
|
88
89
|
* external: true || false,
|
|
89
90
|
* },
|
|
@@ -144,6 +145,7 @@ export interface UpdateChannelCommandOutput extends UpdateChannelOutput, __Metad
|
|
|
144
145
|
* // },
|
|
145
146
|
* // telephony: true || false,
|
|
146
147
|
* // sms: true || false,
|
|
148
|
+
* // mms: true || false,
|
|
147
149
|
* // broadcast: true || false,
|
|
148
150
|
* // external: true || false,
|
|
149
151
|
* // channelId: "STRING_VALUE", // required
|
|
@@ -3,24 +3,24 @@ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-cli
|
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
|
-
export declare class
|
|
7
|
-
readonly name: "
|
|
6
|
+
export declare class ValidationException extends __BaseException {
|
|
7
|
+
readonly name: "ValidationException";
|
|
8
8
|
readonly $fault: "client";
|
|
9
9
|
/**
|
|
10
10
|
* @internal
|
|
11
11
|
*/
|
|
12
|
-
constructor(opts: __ExceptionOptionType<
|
|
12
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
export declare class
|
|
18
|
-
readonly name: "
|
|
17
|
+
export declare class ForbiddenException extends __BaseException {
|
|
18
|
+
readonly name: "ForbiddenException";
|
|
19
19
|
readonly $fault: "client";
|
|
20
20
|
/**
|
|
21
21
|
* @internal
|
|
22
22
|
*/
|
|
23
|
-
constructor(opts: __ExceptionOptionType<
|
|
23
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* @public
|
|
@@ -147,6 +147,7 @@ export interface Channel {
|
|
|
147
147
|
assignee?: User;
|
|
148
148
|
telephony?: boolean;
|
|
149
149
|
sms?: boolean;
|
|
150
|
+
mms?: boolean;
|
|
150
151
|
broadcast?: boolean;
|
|
151
152
|
external?: boolean;
|
|
152
153
|
channelId: string;
|
|
@@ -187,6 +188,7 @@ export interface ChannelCreateFields {
|
|
|
187
188
|
assignee?: User;
|
|
188
189
|
telephony?: boolean;
|
|
189
190
|
sms?: boolean;
|
|
191
|
+
mms?: boolean;
|
|
190
192
|
broadcast?: boolean;
|
|
191
193
|
external?: boolean;
|
|
192
194
|
channelId?: string;
|
|
@@ -242,6 +244,7 @@ export declare const ChannelUnsetFields: {
|
|
|
242
244
|
readonly KITE_SERVICE_NAME: "kiteServiceName";
|
|
243
245
|
readonly KITE_TARGET: "kiteTarget";
|
|
244
246
|
readonly KITE_VARIANT: "kiteVariant";
|
|
247
|
+
readonly MMS: "mms";
|
|
245
248
|
readonly PICTURE: "picture";
|
|
246
249
|
readonly PICTURE_COLOR: "pictureColor";
|
|
247
250
|
readonly SERVICE: "service";
|
|
@@ -286,6 +289,7 @@ export interface ChannelUpdateFields {
|
|
|
286
289
|
assignee?: User;
|
|
287
290
|
telephony?: boolean;
|
|
288
291
|
sms?: boolean;
|
|
292
|
+
mms?: boolean;
|
|
289
293
|
broadcast?: boolean;
|
|
290
294
|
external?: boolean;
|
|
291
295
|
}
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
11
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
11
|
+
requestHandler: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/fetch-http-handler").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
12
12
|
updateHttpClientConfig(key: never, value: never): void;
|
|
13
13
|
httpHandlerConfigs(): {};
|
|
14
14
|
}) | RequestHandler;
|
|
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
-
base64Encoder:
|
|
23
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
utf8Encoder:
|
|
25
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@smithy/types").Logger;
|
|
28
28
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
11
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
11
|
+
requestHandler: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/node-http-handler").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
12
12
|
updateHttpClientConfig(key: never, value: never): void;
|
|
13
13
|
httpHandlerConfigs(): {};
|
|
14
14
|
}) | RequestHandler;
|
|
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
20
20
|
apiVersion: string;
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
base64Decoder: import("@smithy/types").Decoder;
|
|
23
|
-
base64Encoder:
|
|
23
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
24
24
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
25
|
-
utf8Encoder:
|
|
25
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@smithy/types").Logger;
|
|
28
28
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
env: "stage" | "stable" | "prod";
|
|
9
9
|
token: import("@wildix/smithy-utils").TokenProvider;
|
|
10
|
-
requestHandler: (import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
10
|
+
requestHandler: ((import("@smithy/types").RequestHandler<any, any, import("@smithy/types").HttpHandlerOptions> | Record<string, unknown> | import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions) & import("@smithy/types").RequestHandler<import("@smithy/protocol-http").HttpRequest, import("@smithy/protocol-http").HttpResponse, import("@smithy/types").HttpHandlerOptions> & {
|
|
11
11
|
updateHttpClientConfig(key: never, value: never): void;
|
|
12
12
|
httpHandlerConfigs(): {};
|
|
13
13
|
}) | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
@@ -16,9 +16,9 @@ export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
|
16
16
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
17
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
18
18
|
base64Decoder: import("@smithy/types").Decoder;
|
|
19
|
-
base64Encoder:
|
|
19
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
20
20
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
21
|
-
utf8Encoder:
|
|
21
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
22
22
|
disableHostPrefix: boolean;
|
|
23
23
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
24
24
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -5,11 +5,11 @@ import { ConversationsClientConfig } from "./ConversationsClient";
|
|
|
5
5
|
export declare const getRuntimeConfig: (config: ConversationsClientConfig) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
-
base64Encoder:
|
|
8
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
9
|
disableHostPrefix: boolean;
|
|
10
10
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
11
11
|
logger: import("@smithy/types").Logger;
|
|
12
12
|
urlParser: import("@smithy/types").UrlParser;
|
|
13
13
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
14
|
-
utf8Encoder:
|
|
14
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
15
15
|
};
|
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.27",
|
|
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",
|
|
@@ -74,4 +74,4 @@
|
|
|
74
74
|
"react-native": {
|
|
75
75
|
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
76
76
|
}
|
|
77
|
-
}
|
|
77
|
+
}
|