@wildix/wda-history-client 1.0.16 → 1.0.18
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/WdaHistoryClient.js +7 -2
- package/dist-cjs/models/models_0.js +24 -24
- package/dist-es/WdaHistoryClient.js +7 -2
- package/dist-es/models/models_0.js +21 -21
- package/dist-types/WdaHistoryClient.d.ts +3 -2
- package/dist-types/commands/GetCallCommand.d.ts +3 -2
- package/dist-types/commands/GetCallTranscriptionCommand.d.ts +2 -1
- package/dist-types/commands/GetCallTranscriptionTextCommand.d.ts +2 -1
- package/dist-types/commands/GetConferenceCommand.d.ts +2 -1
- package/dist-types/commands/GetConferenceTranscriptionCommand.d.ts +2 -1
- package/dist-types/commands/GetConferenceTranscriptionTextCommand.d.ts +2 -1
- package/dist-types/index.d.ts +2 -2
- package/dist-types/models/WdaHistoryServiceException.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +35 -35
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/package.json +31 -31
|
@@ -4,6 +4,8 @@ exports.WdaHistoryClient = exports.__Client = void 0;
|
|
|
4
4
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
5
5
|
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
6
6
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
7
|
+
const middleware_content_length_1 = require("@smithy/middleware-content-length");
|
|
8
|
+
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
7
9
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
10
|
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
9
11
|
const smithy_utils_1 = require("@wildix/smithy-utils");
|
|
@@ -11,7 +13,8 @@ class WdaHistoryClient extends smithy_client_1.Client {
|
|
|
11
13
|
constructor(...[configuration]) {
|
|
12
14
|
let _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
13
15
|
let _config_1 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_0);
|
|
14
|
-
let _config_2 = (0,
|
|
16
|
+
let _config_2 = (0, middleware_retry_1.resolveRetryConfig)(_config_1);
|
|
17
|
+
let _config_3 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_2, configuration?.extensions || []);
|
|
15
18
|
const hostname = ['stable', 'stage'].includes(configuration.env || '') ? `wda-${configuration.env}.wildix.com` : 'wda.wildix.com';
|
|
16
19
|
const endpoint = () => {
|
|
17
20
|
return {
|
|
@@ -22,13 +25,15 @@ class WdaHistoryClient extends smithy_client_1.Client {
|
|
|
22
25
|
};
|
|
23
26
|
};
|
|
24
27
|
const config = {
|
|
25
|
-
...
|
|
28
|
+
..._config_3,
|
|
26
29
|
endpoint,
|
|
27
30
|
};
|
|
28
31
|
super(config);
|
|
29
32
|
this.config = config;
|
|
30
33
|
this.middlewareStack.add(smithy_utils_1.authorizationMiddleware.bind(this, configuration.token), { step: "build" });
|
|
31
34
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
35
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
36
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
32
37
|
}
|
|
33
38
|
destroy() {
|
|
34
39
|
super.destroy();
|
|
@@ -1,33 +1,43 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConferenceTranscriptionNotFoundException = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ConferenceNotFoundException = exports.CallTranscriptionSpeaker = exports.CallTranscriptionNotFoundException = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.CallRecordPauseReason = exports.CallRecordOwner = exports.License = exports.
|
|
3
|
+
exports.ConferenceTranscriptionNotFoundException = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.ConferenceNotFoundException = exports.CallTranscriptionSpeaker = exports.CallTranscriptionNotFoundException = exports.RecordType = exports.CallFlowTranscriptionStatus = exports.CallRecordPauseReason = exports.CallRecordOwner = exports.License = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.CallNotFoundException = exports.ForbiddenException = exports.ConversationStatus = exports.CallDirection = exports.ValidationException = void 0;
|
|
4
4
|
const WdaHistoryServiceException_1 = require("./WdaHistoryServiceException");
|
|
5
|
-
class
|
|
5
|
+
class ValidationException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
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
|
-
|
|
17
|
+
exports.ValidationException = ValidationException;
|
|
18
|
+
exports.CallDirection = {
|
|
19
|
+
INBOUND: "INBOUND",
|
|
20
|
+
INTERNAL: "INTERNAL",
|
|
21
|
+
OUTBOUND: "OUTBOUND",
|
|
22
|
+
UNDEFINED: "UNDEFINED",
|
|
23
|
+
};
|
|
24
|
+
exports.ConversationStatus = {
|
|
25
|
+
COMPLETED: "COMPLETED",
|
|
26
|
+
MISSED: "MISSED",
|
|
27
|
+
};
|
|
28
|
+
class ForbiddenException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
19
29
|
constructor(opts) {
|
|
20
30
|
super({
|
|
21
|
-
name: "
|
|
31
|
+
name: "ForbiddenException",
|
|
22
32
|
$fault: "client",
|
|
23
33
|
...opts
|
|
24
34
|
});
|
|
25
|
-
this.name = "
|
|
35
|
+
this.name = "ForbiddenException";
|
|
26
36
|
this.$fault = "client";
|
|
27
|
-
Object.setPrototypeOf(this,
|
|
37
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
28
38
|
}
|
|
29
39
|
}
|
|
30
|
-
exports.
|
|
40
|
+
exports.ForbiddenException = ForbiddenException;
|
|
31
41
|
class CallNotFoundException extends WdaHistoryServiceException_1.WdaHistoryServiceException {
|
|
32
42
|
constructor(opts) {
|
|
33
43
|
super({
|
|
@@ -64,23 +74,13 @@ exports.CallDevice = {
|
|
|
64
74
|
XBEES_IOS: "XBEES_IOS",
|
|
65
75
|
XBEES_WEB: "XBEES_WEB",
|
|
66
76
|
};
|
|
67
|
-
exports.ConversationStatus = {
|
|
68
|
-
COMPLETED: "COMPLETED",
|
|
69
|
-
MISSED: "MISSED",
|
|
70
|
-
};
|
|
71
|
-
exports.CallDirection = {
|
|
72
|
-
INBOUND: "INBOUND",
|
|
73
|
-
INTERNAL: "INTERNAL",
|
|
74
|
-
OUTBOUND: "OUTBOUND",
|
|
75
|
-
UNDEFINED: "UNDEFINED",
|
|
76
|
-
};
|
|
77
77
|
exports.License = {
|
|
78
78
|
XBEES: "x-bees",
|
|
79
79
|
};
|
|
80
80
|
exports.CallRecordOwner = {
|
|
81
|
-
CALLEE: "
|
|
82
|
-
CALLER: "
|
|
83
|
-
SYSTEM: "
|
|
81
|
+
CALLEE: "CALLEE",
|
|
82
|
+
CALLER: "CALLER",
|
|
83
|
+
SYSTEM: "SYSTEM",
|
|
84
84
|
};
|
|
85
85
|
exports.CallRecordPauseReason = {
|
|
86
86
|
HOLD: "hold",
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
2
2
|
import { resolveRuntimeExtensions, } from "./runtimeExtensions";
|
|
3
3
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
4
|
+
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
5
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
4
6
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
5
7
|
import { authorizationMiddleware } from "@wildix/smithy-utils";
|
|
6
8
|
export { __Client };
|
|
@@ -8,7 +10,8 @@ export class WdaHistoryClient extends __Client {
|
|
|
8
10
|
constructor(...[configuration]) {
|
|
9
11
|
let _config_0 = __getRuntimeConfig(configuration || {});
|
|
10
12
|
let _config_1 = resolveUserAgentConfig(_config_0);
|
|
11
|
-
let _config_2 =
|
|
13
|
+
let _config_2 = resolveRetryConfig(_config_1);
|
|
14
|
+
let _config_3 = resolveRuntimeExtensions(_config_2, configuration?.extensions || []);
|
|
12
15
|
const hostname = ['stable', 'stage'].includes(configuration.env || '') ? `wda-${configuration.env}.wildix.com` : 'wda.wildix.com';
|
|
13
16
|
const endpoint = () => {
|
|
14
17
|
return {
|
|
@@ -19,13 +22,15 @@ export class WdaHistoryClient extends __Client {
|
|
|
19
22
|
};
|
|
20
23
|
};
|
|
21
24
|
const config = {
|
|
22
|
-
...
|
|
25
|
+
..._config_3,
|
|
23
26
|
endpoint,
|
|
24
27
|
};
|
|
25
28
|
super(config);
|
|
26
29
|
this.config = config;
|
|
27
30
|
this.middlewareStack.add(authorizationMiddleware.bind(this, configuration.token), { step: "build" });
|
|
28
31
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
29
34
|
}
|
|
30
35
|
destroy() {
|
|
31
36
|
super.destroy();
|
|
@@ -1,26 +1,36 @@
|
|
|
1
1
|
import { WdaHistoryServiceException as __BaseException } from "./WdaHistoryServiceException";
|
|
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
|
|
14
|
+
export const CallDirection = {
|
|
15
|
+
INBOUND: "INBOUND",
|
|
16
|
+
INTERNAL: "INTERNAL",
|
|
17
|
+
OUTBOUND: "OUTBOUND",
|
|
18
|
+
UNDEFINED: "UNDEFINED",
|
|
19
|
+
};
|
|
20
|
+
export const ConversationStatus = {
|
|
21
|
+
COMPLETED: "COMPLETED",
|
|
22
|
+
MISSED: "MISSED",
|
|
23
|
+
};
|
|
24
|
+
export class ForbiddenException extends __BaseException {
|
|
15
25
|
constructor(opts) {
|
|
16
26
|
super({
|
|
17
|
-
name: "
|
|
27
|
+
name: "ForbiddenException",
|
|
18
28
|
$fault: "client",
|
|
19
29
|
...opts
|
|
20
30
|
});
|
|
21
|
-
this.name = "
|
|
31
|
+
this.name = "ForbiddenException";
|
|
22
32
|
this.$fault = "client";
|
|
23
|
-
Object.setPrototypeOf(this,
|
|
33
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
24
34
|
}
|
|
25
35
|
}
|
|
26
36
|
export class CallNotFoundException extends __BaseException {
|
|
@@ -58,23 +68,13 @@ export const CallDevice = {
|
|
|
58
68
|
XBEES_IOS: "XBEES_IOS",
|
|
59
69
|
XBEES_WEB: "XBEES_WEB",
|
|
60
70
|
};
|
|
61
|
-
export const ConversationStatus = {
|
|
62
|
-
COMPLETED: "COMPLETED",
|
|
63
|
-
MISSED: "MISSED",
|
|
64
|
-
};
|
|
65
|
-
export const CallDirection = {
|
|
66
|
-
INBOUND: "INBOUND",
|
|
67
|
-
INTERNAL: "INTERNAL",
|
|
68
|
-
OUTBOUND: "OUTBOUND",
|
|
69
|
-
UNDEFINED: "UNDEFINED",
|
|
70
|
-
};
|
|
71
71
|
export const License = {
|
|
72
72
|
XBEES: "x-bees",
|
|
73
73
|
};
|
|
74
74
|
export const CallRecordOwner = {
|
|
75
|
-
CALLEE: "
|
|
76
|
-
CALLER: "
|
|
77
|
-
SYSTEM: "
|
|
75
|
+
CALLEE: "CALLEE",
|
|
76
|
+
CALLER: "CALLER",
|
|
77
|
+
SYSTEM: "SYSTEM",
|
|
78
78
|
};
|
|
79
79
|
export const CallRecordPauseReason = {
|
|
80
80
|
HOLD: "hold",
|
|
@@ -6,6 +6,7 @@ import { GetConferenceTranscriptionCommandInput, GetConferenceTranscriptionComma
|
|
|
6
6
|
import { GetConferenceTranscriptionTextCommandInput, GetConferenceTranscriptionTextCommandOutput } from "./commands/GetConferenceTranscriptionTextCommand";
|
|
7
7
|
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
8
8
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
9
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
9
10
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
10
11
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
11
12
|
import { Provider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
@@ -109,7 +110,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
109
110
|
/**
|
|
110
111
|
* @public
|
|
111
112
|
*/
|
|
112
|
-
export type WdaHistoryClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig;
|
|
113
|
+
export type WdaHistoryClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig;
|
|
113
114
|
/**
|
|
114
115
|
* @public
|
|
115
116
|
*
|
|
@@ -122,7 +123,7 @@ export interface WdaHistoryClientConfig extends WdaHistoryClientConfigType {
|
|
|
122
123
|
/**
|
|
123
124
|
* @public
|
|
124
125
|
*/
|
|
125
|
-
export type WdaHistoryClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig;
|
|
126
|
+
export type WdaHistoryClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig;
|
|
126
127
|
/**
|
|
127
128
|
* @public
|
|
128
129
|
*
|
|
@@ -5,7 +5,8 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
9
10
|
/**
|
|
10
11
|
* @public
|
|
11
12
|
*
|
|
@@ -107,7 +108,7 @@ declare const GetCallCommand_base: {
|
|
|
107
108
|
* // fileName: "STRING_VALUE", // required
|
|
108
109
|
* // start: Number("long"), // required
|
|
109
110
|
* // end: Number("long"), // required
|
|
110
|
-
* // owner: "
|
|
111
|
+
* // owner: "CALLEE" || "CALLER" || "SYSTEM", // required
|
|
111
112
|
* // url: "STRING_VALUE", // required
|
|
112
113
|
* // pauses: [ // CallRecordPausesList // required
|
|
113
114
|
* // { // CallRecordPause
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from "./WdaHistoryClient";
|
|
2
2
|
export * from "./WdaHistory";
|
|
3
|
-
export { RuntimeExtension } from "./runtimeExtensions";
|
|
4
|
-
export { WdaHistoryExtensionConfiguration } from "./extensionConfiguration";
|
|
3
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
4
|
+
export type { WdaHistoryExtensionConfiguration } from "./extensionConfiguration";
|
|
5
5
|
export * from "./commands";
|
|
6
6
|
export * from "./models";
|
|
7
7
|
export { WdaHistoryServiceException } from "./models/WdaHistoryServiceException";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
-
export {
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*
|
|
@@ -3,24 +3,50 @@ 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
|
+
* @enum
|
|
16
17
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
readonly
|
|
18
|
+
export declare const CallDirection: {
|
|
19
|
+
readonly INBOUND: "INBOUND";
|
|
20
|
+
readonly INTERNAL: "INTERNAL";
|
|
21
|
+
readonly OUTBOUND: "OUTBOUND";
|
|
22
|
+
readonly UNDEFINED: "UNDEFINED";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export type CallDirection = typeof CallDirection[keyof typeof CallDirection];
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
* @enum
|
|
31
|
+
*/
|
|
32
|
+
export declare const ConversationStatus: {
|
|
33
|
+
readonly COMPLETED: "COMPLETED";
|
|
34
|
+
readonly MISSED: "MISSED";
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationStatus];
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
export declare class ForbiddenException extends __BaseException {
|
|
44
|
+
readonly name: "ForbiddenException";
|
|
19
45
|
readonly $fault: "client";
|
|
20
46
|
/**
|
|
21
47
|
* @internal
|
|
22
48
|
*/
|
|
23
|
-
constructor(opts: __ExceptionOptionType<
|
|
49
|
+
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
24
50
|
}
|
|
25
51
|
/**
|
|
26
52
|
* @public
|
|
@@ -120,32 +146,6 @@ export interface CallParticipant {
|
|
|
120
146
|
role: CallParticipantRole;
|
|
121
147
|
license?: string;
|
|
122
148
|
}
|
|
123
|
-
/**
|
|
124
|
-
* @public
|
|
125
|
-
* @enum
|
|
126
|
-
*/
|
|
127
|
-
export declare const ConversationStatus: {
|
|
128
|
-
readonly COMPLETED: "COMPLETED";
|
|
129
|
-
readonly MISSED: "MISSED";
|
|
130
|
-
};
|
|
131
|
-
/**
|
|
132
|
-
* @public
|
|
133
|
-
*/
|
|
134
|
-
export type ConversationStatus = typeof ConversationStatus[keyof typeof ConversationStatus];
|
|
135
|
-
/**
|
|
136
|
-
* @public
|
|
137
|
-
* @enum
|
|
138
|
-
*/
|
|
139
|
-
export declare const CallDirection: {
|
|
140
|
-
readonly INBOUND: "INBOUND";
|
|
141
|
-
readonly INTERNAL: "INTERNAL";
|
|
142
|
-
readonly OUTBOUND: "OUTBOUND";
|
|
143
|
-
readonly UNDEFINED: "UNDEFINED";
|
|
144
|
-
};
|
|
145
|
-
/**
|
|
146
|
-
* @public
|
|
147
|
-
*/
|
|
148
|
-
export type CallDirection = typeof CallDirection[keyof typeof CallDirection];
|
|
149
149
|
/**
|
|
150
150
|
* @public
|
|
151
151
|
* @enum
|
|
@@ -162,9 +162,9 @@ export type License = typeof License[keyof typeof License];
|
|
|
162
162
|
* @enum
|
|
163
163
|
*/
|
|
164
164
|
export declare const CallRecordOwner: {
|
|
165
|
-
readonly CALLEE: "
|
|
166
|
-
readonly CALLER: "
|
|
167
|
-
readonly SYSTEM: "
|
|
165
|
+
readonly CALLEE: "CALLEE";
|
|
166
|
+
readonly CALLER: "CALLER";
|
|
167
|
+
readonly SYSTEM: "SYSTEM";
|
|
168
168
|
};
|
|
169
169
|
/**
|
|
170
170
|
* @public
|
|
@@ -25,4 +25,5 @@ export declare const getRuntimeConfig: (config: WdaHistoryClientConfig) => {
|
|
|
25
25
|
logger: import("@smithy/types").Logger;
|
|
26
26
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
27
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
28
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
28
29
|
};
|
|
@@ -25,4 +25,5 @@ export declare const getRuntimeConfig: (config: WdaHistoryClientConfig) => {
|
|
|
25
25
|
logger: import("@smithy/types").Logger;
|
|
26
26
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
27
27
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
28
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
28
29
|
};
|
|
@@ -24,4 +24,5 @@ export declare const getRuntimeConfig: (config: WdaHistoryClientConfig) => {
|
|
|
24
24
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
25
25
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
26
26
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
27
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
27
28
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wildix/wda-history-client",
|
|
3
3
|
"description": "@wildix/wda-history-client client",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.18",
|
|
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",
|
|
@@ -19,45 +20,44 @@
|
|
|
19
20
|
"tslib": "^2.6.2",
|
|
20
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
21
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
22
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
23
|
+
"@aws-sdk/middleware-user-agent": "3.587.0",
|
|
23
24
|
"@aws-sdk/types": "latest",
|
|
24
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
25
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
26
|
-
"@smithy/config-resolver": "^
|
|
27
|
-
"@smithy/core": "^
|
|
28
|
-
"@smithy/fetch-http-handler": "^
|
|
29
|
-
"@smithy/hash-node": "^
|
|
30
|
-
"@smithy/invalid-dependency": "^
|
|
31
|
-
"@smithy/middleware-content-length": "^
|
|
32
|
-
"@smithy/middleware-retry": "^
|
|
33
|
-
"@smithy/middleware-serde": "^
|
|
34
|
-
"@smithy/middleware-stack": "^
|
|
35
|
-
"@smithy/node-config-provider": "^
|
|
36
|
-
"@smithy/node-http-handler": "^
|
|
37
|
-
"@smithy/protocol-http": "^
|
|
38
|
-
"@smithy/smithy-client": "^
|
|
39
|
-
"@smithy/types": "^
|
|
40
|
-
"@smithy/url-parser": "^
|
|
41
|
-
"@smithy/util-base64": "^
|
|
42
|
-
"@smithy/util-body-length-browser": "^
|
|
43
|
-
"@smithy/util-body-length-node": "^
|
|
44
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
45
|
-
"@smithy/util-defaults-mode-node": "^
|
|
46
|
-
"@smithy/util-retry": "^
|
|
47
|
-
"@smithy/util-utf8": "^
|
|
25
|
+
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
26
|
+
"@aws-sdk/util-user-agent-node": "3.587.0",
|
|
27
|
+
"@smithy/config-resolver": "^3.0.1",
|
|
28
|
+
"@smithy/core": "^2.2.0",
|
|
29
|
+
"@smithy/fetch-http-handler": "^3.0.1",
|
|
30
|
+
"@smithy/hash-node": "^3.0.0",
|
|
31
|
+
"@smithy/invalid-dependency": "^3.0.0",
|
|
32
|
+
"@smithy/middleware-content-length": "^3.0.0",
|
|
33
|
+
"@smithy/middleware-retry": "^3.0.3",
|
|
34
|
+
"@smithy/middleware-serde": "^3.0.0",
|
|
35
|
+
"@smithy/middleware-stack": "^3.0.0",
|
|
36
|
+
"@smithy/node-config-provider": "^3.1.0",
|
|
37
|
+
"@smithy/node-http-handler": "^3.0.0",
|
|
38
|
+
"@smithy/protocol-http": "^4.0.0",
|
|
39
|
+
"@smithy/smithy-client": "^3.1.1",
|
|
40
|
+
"@smithy/types": "^3.0.0",
|
|
41
|
+
"@smithy/url-parser": "^3.0.0",
|
|
42
|
+
"@smithy/util-base64": "^3.0.0",
|
|
43
|
+
"@smithy/util-body-length-browser": "^3.0.0",
|
|
44
|
+
"@smithy/util-body-length-node": "^3.0.0",
|
|
45
|
+
"@smithy/util-defaults-mode-browser": "^3.0.3",
|
|
46
|
+
"@smithy/util-defaults-mode-node": "^3.0.3",
|
|
47
|
+
"@smithy/util-retry": "^3.0.0",
|
|
48
|
+
"@smithy/util-utf8": "^3.0.0",
|
|
48
49
|
"@wildix/smithy-utils": "^1.0.2"
|
|
49
50
|
},
|
|
50
51
|
"devDependencies": {
|
|
51
|
-
"@tsconfig/
|
|
52
|
+
"@tsconfig/node16": "16.1.3",
|
|
52
53
|
"concurrently": "7.0.0",
|
|
53
54
|
"downlevel-dts": "0.10.1",
|
|
54
55
|
"rimraf": "^3.0.0",
|
|
55
56
|
"typescript": "~4.9.5",
|
|
56
|
-
"@
|
|
57
|
-
"@types/node": "^14.14.31"
|
|
57
|
+
"@types/node": "^16.18.96"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
|
-
"node": ">=
|
|
60
|
+
"node": ">=16.0.0"
|
|
61
61
|
},
|
|
62
62
|
"typesVersions": {
|
|
63
63
|
"<4.0": {
|