@wildix/wda-stream-client 1.0.29 → 1.0.30

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.
@@ -6,16 +6,12 @@ const ConsumeEventCommand_1 = require("./commands/ConsumeEventCommand");
6
6
  const DescribeEventCommand_1 = require("./commands/DescribeEventCommand");
7
7
  const GetConferenceIdCommand_1 = require("./commands/GetConferenceIdCommand");
8
8
  const GetConversationsCommand_1 = require("./commands/GetConversationsCommand");
9
- const QueryPresencesCommand_1 = require("./commands/QueryPresencesCommand");
10
- const UpdatePresenceCommand_1 = require("./commands/UpdatePresenceCommand");
11
9
  const smithy_client_1 = require("@smithy/smithy-client");
12
10
  const commands = {
13
11
  ConsumeEventCommand: ConsumeEventCommand_1.ConsumeEventCommand,
14
12
  DescribeEventCommand: DescribeEventCommand_1.DescribeEventCommand,
15
13
  GetConferenceIdCommand: GetConferenceIdCommand_1.GetConferenceIdCommand,
16
14
  GetConversationsCommand: GetConversationsCommand_1.GetConversationsCommand,
17
- QueryPresencesCommand: QueryPresencesCommand_1.QueryPresencesCommand,
18
- UpdatePresenceCommand: UpdatePresenceCommand_1.UpdatePresenceCommand,
19
15
  };
20
16
  class WdaStream extends WdaStreamClient_1.WdaStreamClient {
21
17
  }
@@ -5,5 +5,3 @@ tslib_1.__exportStar(require("./ConsumeEventCommand"), exports);
5
5
  tslib_1.__exportStar(require("./DescribeEventCommand"), exports);
6
6
  tslib_1.__exportStar(require("./GetConferenceIdCommand"), exports);
7
7
  tslib_1.__exportStar(require("./GetConversationsCommand"), exports);
8
- tslib_1.__exportStar(require("./QueryPresencesCommand"), exports);
9
- tslib_1.__exportStar(require("./UpdatePresenceCommand"), exports);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WebsocketEvent = exports.WebhookEventType = exports.PresenceEventType = exports.PresenceAnalyticsEventType = exports.ConsumeEventInputEvent = exports.SmsStatus = exports.SmsChannelType = exports.SmsConsumeEventType = exports.PresenceConsumeEventType = exports.ConferenceTranscriptionSentiment = exports.ConferenceEventType = exports.ConferenceConsumeEventType = exports.ConferenceConsumeDirection = exports.ChatEventType = exports.ChatConsumeEventType = exports.ChatTag = exports.ChatStatus = exports.ChatParticipantType = exports.ChatParticipantRole = exports.ChatDirection = exports.ChannelType = exports.CallFlowConsumeStatus = exports.CallEventType = exports.CallEndConsume = exports.CallFlowAttachmentConsumeType = exports.CallEndBy = exports.CallFlowStatus = exports.CallAnalyticsLiveProgressEventTrigger = exports.LiveEventType = exports.CallConsumeEventType = exports.ConferenceTranscriptionStatus = exports.ConferenceParticipantType = exports.ConferenceParticipantRole = exports.PbxLicenseType = exports.ConferenceDirection = exports.CallTranscriptionSpeaker = exports.CallFlowTranscriptionStatus = exports.CallRecordPauseReason = exports.CallRecordOwner = exports.License = exports.CallDirection = exports.ConversationStatus = exports.CallDevice = exports.CallParticipantType = exports.CallParticipantRole = exports.CallFlowAttachmentType = exports.WhatsAppStatus = exports.WhatsAppEventType = exports.ForbiddenException = exports.ValidationException = void 0;
4
- exports.UpdatePresenceOutputType = exports.TelephonyStatuses = exports.PresenceStatus = exports.MatchNotFoundException = exports.WebsocketTopic = void 0;
4
+ exports.MatchNotFoundException = exports.WebsocketTopic = void 0;
5
5
  const WdaStreamServiceException_1 = require("./WdaStreamServiceException");
6
6
  class ValidationException extends WdaStreamServiceException_1.WdaStreamServiceException {
7
7
  constructor(opts) {
@@ -229,7 +229,6 @@ exports.ChatConsumeEventType = {
229
229
  exports.ChatEventType = {
230
230
  LIVE_COMPLETE_EVENT: "ChatAnalyticsLiveCompleteEvent",
231
231
  LIVE_INTERRUPTED_EVENT: "ChatAnalyticsLiveInterruptedEvent",
232
- LIVE_MISSED_EVENT: "ChatAnalyticsLiveMissedEvent",
233
232
  LIVE_PROGRESS_EVENT: "ChatAnalyticsLiveProgressEvent",
234
233
  MANAGER_MISSED_EVENT: "ChatAnalyticsManagerMissedEvent",
235
234
  RECORD_EVENT: "ChatAnalyticsRecordEvent",
@@ -364,6 +363,7 @@ exports.WebhookEventType = {
364
363
  CHAT_COMPLETED: "chat:completed",
365
364
  CHAT_LIVE_COMPLETED: "chat:live:completed",
366
365
  CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
366
+ CHAT_LIVE_MISSED: "chat:live:missed",
367
367
  CHAT_LIVE_PROGRESS: "chat:live:progress",
368
368
  CHAT_MANAGER_MISSED: "chat:manager:missed",
369
369
  CONFERENCE_COMPLETED: "conference:completed",
@@ -403,21 +403,3 @@ class MatchNotFoundException extends WdaStreamServiceException_1.WdaStreamServic
403
403
  }
404
404
  }
405
405
  exports.MatchNotFoundException = MatchNotFoundException;
406
- exports.PresenceStatus = {
407
- AWAY: "AWAY",
408
- DND: "DND",
409
- OFFLINE: "OFFLINE",
410
- ONLINE: "ONLINE",
411
- ONLY_SIP: "ONLY_SIP",
412
- };
413
- exports.TelephonyStatuses = {
414
- REGISTERED: "REGISTERED",
415
- RINGING: "RINGING",
416
- RT: "RT",
417
- TALKING: "TALKING",
418
- UNREGISTERED: "UNREGISTERED",
419
- };
420
- exports.UpdatePresenceOutputType = {
421
- ERROR: "error",
422
- RESULT: "result",
423
- };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_UpdatePresenceCommand = exports.de_QueryPresencesCommand = exports.de_GetConversationsCommand = exports.de_GetConferenceIdCommand = exports.de_DescribeEventCommand = exports.de_ConsumeEventCommand = exports.se_UpdatePresenceCommand = exports.se_QueryPresencesCommand = exports.se_GetConversationsCommand = exports.se_GetConferenceIdCommand = exports.se_DescribeEventCommand = exports.se_ConsumeEventCommand = void 0;
3
+ exports.de_GetConversationsCommand = exports.de_GetConferenceIdCommand = exports.de_DescribeEventCommand = exports.de_ConsumeEventCommand = exports.se_GetConversationsCommand = exports.se_GetConferenceIdCommand = exports.se_DescribeEventCommand = exports.se_ConsumeEventCommand = void 0;
4
4
  const WdaStreamServiceException_1 = require("../models/WdaStreamServiceException");
5
5
  const models_0_1 = require("../models/models_0");
6
6
  const core_1 = require("@smithy/core");
@@ -71,39 +71,6 @@ const se_GetConversationsCommand = async (input, context) => {
71
71
  return b.build();
72
72
  };
73
73
  exports.se_GetConversationsCommand = se_GetConversationsCommand;
74
- const se_QueryPresencesCommand = async (input, context) => {
75
- const b = (0, core_1.requestBuilder)(input, context);
76
- const headers = {
77
- 'content-type': 'application/json',
78
- };
79
- b.bp("/v2/stream/query_presences");
80
- let body;
81
- body = JSON.stringify((0, smithy_client_1.take)(input, {
82
- 'filter': _ => (0, smithy_client_1._json)(_),
83
- }));
84
- b.m("POST")
85
- .h(headers)
86
- .b(body);
87
- return b.build();
88
- };
89
- exports.se_QueryPresencesCommand = se_QueryPresencesCommand;
90
- const se_UpdatePresenceCommand = async (input, context) => {
91
- const b = (0, core_1.requestBuilder)(input, context);
92
- const headers = {
93
- 'content-type': 'application/json',
94
- };
95
- b.bp("/v2/stream/update_presence");
96
- let body;
97
- body = JSON.stringify((0, smithy_client_1.take)(input, {
98
- 'presence': _ => (0, smithy_client_1._json)(_),
99
- 'set': _ => (0, smithy_client_1._json)(_),
100
- }));
101
- b.m("POST")
102
- .h(headers)
103
- .b(body);
104
- return b.build();
105
- };
106
- exports.se_UpdatePresenceCommand = se_UpdatePresenceCommand;
107
74
  const de_ConsumeEventCommand = async (output, context) => {
108
75
  if (output.statusCode !== 200 && output.statusCode >= 300) {
109
76
  return de_CommandError(output, context);
@@ -134,7 +101,6 @@ const de_DescribeEventCommand = async (output, context) => {
134
101
  'CallEventType': smithy_client_1.expectString,
135
102
  'ChatAnalyticsLiveCompleteEvent': smithy_client_1._json,
136
103
  'ChatAnalyticsLiveInterruptedEvent': smithy_client_1._json,
137
- 'ChatAnalyticsLiveMissedEvent': smithy_client_1._json,
138
104
  'ChatAnalyticsLiveProgressEvent': smithy_client_1._json,
139
105
  'ChatAnalyticsManagerMissedEvent': smithy_client_1._json,
140
106
  'ChatAnalyticsRecordEvent': smithy_client_1._json,
@@ -215,39 +181,6 @@ const de_GetConversationsCommand = async (output, context) => {
215
181
  return contents;
216
182
  };
217
183
  exports.de_GetConversationsCommand = de_GetConversationsCommand;
218
- const de_QueryPresencesCommand = async (output, context) => {
219
- if (output.statusCode !== 200 && output.statusCode >= 300) {
220
- return de_CommandError(output, context);
221
- }
222
- const contents = (0, smithy_client_1.map)({
223
- $metadata: deserializeMetadata(output),
224
- });
225
- const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
226
- const doc = (0, smithy_client_1.take)(data, {
227
- 'result': smithy_client_1._json,
228
- 'success': smithy_client_1.expectBoolean,
229
- });
230
- Object.assign(contents, doc);
231
- return contents;
232
- };
233
- exports.de_QueryPresencesCommand = de_QueryPresencesCommand;
234
- const de_UpdatePresenceCommand = async (output, context) => {
235
- if (output.statusCode !== 200 && output.statusCode >= 300) {
236
- return de_CommandError(output, context);
237
- }
238
- const contents = (0, smithy_client_1.map)({
239
- $metadata: deserializeMetadata(output),
240
- });
241
- const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
242
- const doc = (0, smithy_client_1.take)(data, {
243
- 'duration': smithy_client_1.expectInt32,
244
- 'result': smithy_client_1._json,
245
- 'type': smithy_client_1.expectString,
246
- });
247
- Object.assign(contents, doc);
248
- return contents;
249
- };
250
- exports.de_UpdatePresenceCommand = de_UpdatePresenceCommand;
251
184
  const de_CommandError = async (output, context) => {
252
185
  const parsedOutput = {
253
186
  ...output,
@@ -3,16 +3,12 @@ import { ConsumeEventCommand, } from "./commands/ConsumeEventCommand";
3
3
  import { DescribeEventCommand, } from "./commands/DescribeEventCommand";
4
4
  import { GetConferenceIdCommand, } from "./commands/GetConferenceIdCommand";
5
5
  import { GetConversationsCommand, } from "./commands/GetConversationsCommand";
6
- import { QueryPresencesCommand, } from "./commands/QueryPresencesCommand";
7
- import { UpdatePresenceCommand, } from "./commands/UpdatePresenceCommand";
8
6
  import { createAggregatedClient } from "@smithy/smithy-client";
9
7
  const commands = {
10
8
  ConsumeEventCommand,
11
9
  DescribeEventCommand,
12
10
  GetConferenceIdCommand,
13
11
  GetConversationsCommand,
14
- QueryPresencesCommand,
15
- UpdatePresenceCommand,
16
12
  };
17
13
  export class WdaStream extends WdaStreamClient {
18
14
  }
@@ -2,5 +2,3 @@ export * from "./ConsumeEventCommand";
2
2
  export * from "./DescribeEventCommand";
3
3
  export * from "./GetConferenceIdCommand";
4
4
  export * from "./GetConversationsCommand";
5
- export * from "./QueryPresencesCommand";
6
- export * from "./UpdatePresenceCommand";
@@ -223,7 +223,6 @@ export const ChatConsumeEventType = {
223
223
  export const ChatEventType = {
224
224
  LIVE_COMPLETE_EVENT: "ChatAnalyticsLiveCompleteEvent",
225
225
  LIVE_INTERRUPTED_EVENT: "ChatAnalyticsLiveInterruptedEvent",
226
- LIVE_MISSED_EVENT: "ChatAnalyticsLiveMissedEvent",
227
226
  LIVE_PROGRESS_EVENT: "ChatAnalyticsLiveProgressEvent",
228
227
  MANAGER_MISSED_EVENT: "ChatAnalyticsManagerMissedEvent",
229
228
  RECORD_EVENT: "ChatAnalyticsRecordEvent",
@@ -358,6 +357,7 @@ export const WebhookEventType = {
358
357
  CHAT_COMPLETED: "chat:completed",
359
358
  CHAT_LIVE_COMPLETED: "chat:live:completed",
360
359
  CHAT_LIVE_INTERRUPTED: "chat:live:interrupted",
360
+ CHAT_LIVE_MISSED: "chat:live:missed",
361
361
  CHAT_LIVE_PROGRESS: "chat:live:progress",
362
362
  CHAT_MANAGER_MISSED: "chat:manager:missed",
363
363
  CONFERENCE_COMPLETED: "conference:completed",
@@ -396,21 +396,3 @@ export class MatchNotFoundException extends __BaseException {
396
396
  Object.setPrototypeOf(this, MatchNotFoundException.prototype);
397
397
  }
398
398
  }
399
- export const PresenceStatus = {
400
- AWAY: "AWAY",
401
- DND: "DND",
402
- OFFLINE: "OFFLINE",
403
- ONLINE: "ONLINE",
404
- ONLY_SIP: "ONLY_SIP",
405
- };
406
- export const TelephonyStatuses = {
407
- REGISTERED: "REGISTERED",
408
- RINGING: "RINGING",
409
- RT: "RT",
410
- TALKING: "TALKING",
411
- UNREGISTERED: "UNREGISTERED",
412
- };
413
- export const UpdatePresenceOutputType = {
414
- ERROR: "error",
415
- RESULT: "result",
416
- };
@@ -1,7 +1,7 @@
1
1
  import { WdaStreamServiceException as __BaseException } from "../models/WdaStreamServiceException";
2
2
  import { ConsumeEventInputEvent, ForbiddenException, MatchNotFoundException, ValidationException, } from "../models/models_0";
3
3
  import { requestBuilder as rb } from "@smithy/core";
4
- import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
4
+ import { decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, _json, collectBody, map, take, withBaseException, } from "@smithy/smithy-client";
5
5
  export const se_ConsumeEventCommand = async (input, context) => {
6
6
  const b = rb(input, context);
7
7
  const headers = {
@@ -64,37 +64,6 @@ export const se_GetConversationsCommand = async (input, context) => {
64
64
  .b(body);
65
65
  return b.build();
66
66
  };
67
- export const se_QueryPresencesCommand = async (input, context) => {
68
- const b = rb(input, context);
69
- const headers = {
70
- 'content-type': 'application/json',
71
- };
72
- b.bp("/v2/stream/query_presences");
73
- let body;
74
- body = JSON.stringify(take(input, {
75
- 'filter': _ => _json(_),
76
- }));
77
- b.m("POST")
78
- .h(headers)
79
- .b(body);
80
- return b.build();
81
- };
82
- export const se_UpdatePresenceCommand = async (input, context) => {
83
- const b = rb(input, context);
84
- const headers = {
85
- 'content-type': 'application/json',
86
- };
87
- b.bp("/v2/stream/update_presence");
88
- let body;
89
- body = JSON.stringify(take(input, {
90
- 'presence': _ => _json(_),
91
- 'set': _ => _json(_),
92
- }));
93
- b.m("POST")
94
- .h(headers)
95
- .b(body);
96
- return b.build();
97
- };
98
67
  export const de_ConsumeEventCommand = async (output, context) => {
99
68
  if (output.statusCode !== 200 && output.statusCode >= 300) {
100
69
  return de_CommandError(output, context);
@@ -124,7 +93,6 @@ export const de_DescribeEventCommand = async (output, context) => {
124
93
  'CallEventType': __expectString,
125
94
  'ChatAnalyticsLiveCompleteEvent': _json,
126
95
  'ChatAnalyticsLiveInterruptedEvent': _json,
127
- 'ChatAnalyticsLiveMissedEvent': _json,
128
96
  'ChatAnalyticsLiveProgressEvent': _json,
129
97
  'ChatAnalyticsManagerMissedEvent': _json,
130
98
  'ChatAnalyticsRecordEvent': _json,
@@ -202,37 +170,6 @@ export const de_GetConversationsCommand = async (output, context) => {
202
170
  Object.assign(contents, doc);
203
171
  return contents;
204
172
  };
205
- export const de_QueryPresencesCommand = async (output, context) => {
206
- if (output.statusCode !== 200 && output.statusCode >= 300) {
207
- return de_CommandError(output, context);
208
- }
209
- const contents = map({
210
- $metadata: deserializeMetadata(output),
211
- });
212
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
213
- const doc = take(data, {
214
- 'result': _json,
215
- 'success': __expectBoolean,
216
- });
217
- Object.assign(contents, doc);
218
- return contents;
219
- };
220
- export const de_UpdatePresenceCommand = async (output, context) => {
221
- if (output.statusCode !== 200 && output.statusCode >= 300) {
222
- return de_CommandError(output, context);
223
- }
224
- const contents = map({
225
- $metadata: deserializeMetadata(output),
226
- });
227
- const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
228
- const doc = take(data, {
229
- 'duration': __expectInt32,
230
- 'result': _json,
231
- 'type': __expectString,
232
- });
233
- Object.assign(contents, doc);
234
- return contents;
235
- };
236
173
  const de_CommandError = async (output, context) => {
237
174
  const parsedOutput = {
238
175
  ...output,
@@ -3,8 +3,6 @@ import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "./commands/
3
3
  import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
4
4
  import { GetConferenceIdCommandInput, GetConferenceIdCommandOutput } from "./commands/GetConferenceIdCommand";
5
5
  import { GetConversationsCommandInput, GetConversationsCommandOutput } from "./commands/GetConversationsCommand";
6
- import { QueryPresencesCommandInput, QueryPresencesCommandOutput } from "./commands/QueryPresencesCommand";
7
- import { UpdatePresenceCommandInput, UpdatePresenceCommandOutput } from "./commands/UpdatePresenceCommand";
8
6
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
9
7
  export interface WdaStream {
10
8
  /**
@@ -33,20 +31,6 @@ export interface WdaStream {
33
31
  getConversations(args: GetConversationsCommandInput, options?: __HttpHandlerOptions): Promise<GetConversationsCommandOutput>;
34
32
  getConversations(args: GetConversationsCommandInput, cb: (err: any, data?: GetConversationsCommandOutput) => void): void;
35
33
  getConversations(args: GetConversationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConversationsCommandOutput) => void): void;
36
- /**
37
- * @see {@link QueryPresencesCommand}
38
- */
39
- queryPresences(): Promise<QueryPresencesCommandOutput>;
40
- queryPresences(args: QueryPresencesCommandInput, options?: __HttpHandlerOptions): Promise<QueryPresencesCommandOutput>;
41
- queryPresences(args: QueryPresencesCommandInput, cb: (err: any, data?: QueryPresencesCommandOutput) => void): void;
42
- queryPresences(args: QueryPresencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryPresencesCommandOutput) => void): void;
43
- /**
44
- * @see {@link UpdatePresenceCommand}
45
- */
46
- updatePresence(): Promise<UpdatePresenceCommandOutput>;
47
- updatePresence(args: UpdatePresenceCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePresenceCommandOutput>;
48
- updatePresence(args: UpdatePresenceCommandInput, cb: (err: any, data?: UpdatePresenceCommandOutput) => void): void;
49
- updatePresence(args: UpdatePresenceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePresenceCommandOutput) => void): void;
50
34
  }
51
35
  /**
52
36
  * @public
@@ -2,8 +2,6 @@ import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "./commands/
2
2
  import { DescribeEventCommandInput, DescribeEventCommandOutput } from "./commands/DescribeEventCommand";
3
3
  import { GetConferenceIdCommandInput, GetConferenceIdCommandOutput } from "./commands/GetConferenceIdCommand";
4
4
  import { GetConversationsCommandInput, GetConversationsCommandOutput } from "./commands/GetConversationsCommand";
5
- import { QueryPresencesCommandInput, QueryPresencesCommandOutput } from "./commands/QueryPresencesCommand";
6
- import { UpdatePresenceCommandInput, UpdatePresenceCommandOutput } from "./commands/UpdatePresenceCommand";
7
5
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
8
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
9
7
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
@@ -14,11 +12,11 @@ export { __Client };
14
12
  /**
15
13
  * @public
16
14
  */
17
- export type ServiceInputTypes = ConsumeEventCommandInput | DescribeEventCommandInput | GetConferenceIdCommandInput | GetConversationsCommandInput | QueryPresencesCommandInput | UpdatePresenceCommandInput;
15
+ export type ServiceInputTypes = ConsumeEventCommandInput | DescribeEventCommandInput | GetConferenceIdCommandInput | GetConversationsCommandInput;
18
16
  /**
19
17
  * @public
20
18
  */
21
- export type ServiceOutputTypes = ConsumeEventCommandOutput | DescribeEventCommandOutput | GetConferenceIdCommandOutput | GetConversationsCommandOutput | QueryPresencesCommandOutput | UpdatePresenceCommandOutput;
19
+ export type ServiceOutputTypes = ConsumeEventCommandOutput | DescribeEventCommandOutput | GetConferenceIdCommandOutput | GetConversationsCommandOutput;
22
20
  /**
23
21
  * @public
24
22
  */
@@ -466,12 +466,6 @@ declare const DescribeEventCommand_base: {
466
466
  * // company: "STRING_VALUE", // required
467
467
  * // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
468
468
  * // },
469
- * // ChatAnalyticsLiveMissedEvent: { // ChatAnalyticsLiveMissedEvent
470
- * // id: "STRING_VALUE", // required
471
- * // time: Number("long"), // required
472
- * // company: "STRING_VALUE", // required
473
- * // event: "chat" || "chat_complete" || "chat_interrupted" || "chat_missed" || "call_cost" || "call" || "call_complete" || "call_interrupted" || "call_transcription" || "conference" || "conference_complete" || "conference_interrupted" || "conference_transcription" || "conference_join" || "conference_leave", // required
474
- * // },
475
469
  * // ChatAnalyticsLiveProgressEvent: { // ChatAnalyticsLiveProgressEvent
476
470
  * // id: "STRING_VALUE", // required
477
471
  * // time: Number("long"), // required
@@ -869,7 +863,7 @@ declare const DescribeEventCommand_base: {
869
863
  * // id: "STRING_VALUE", // required
870
864
  * // pbx: "STRING_VALUE",
871
865
  * // company: "STRING_VALUE",
872
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
866
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
873
867
  * // time: Number("long"), // required
874
868
  * // integrationId: "STRING_VALUE", // required
875
869
  * // data: { // WebhookPresenceUserEventData
@@ -890,7 +884,7 @@ declare const DescribeEventCommand_base: {
890
884
  * // id: "STRING_VALUE", // required
891
885
  * // pbx: "STRING_VALUE",
892
886
  * // company: "STRING_VALUE",
893
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
887
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
894
888
  * // time: Number("long"), // required
895
889
  * // integrationId: "STRING_VALUE", // required
896
890
  * // data: { // WebhookPresenceTelephonyEventData
@@ -904,7 +898,7 @@ declare const DescribeEventCommand_base: {
904
898
  * // id: "STRING_VALUE", // required
905
899
  * // pbx: "STRING_VALUE",
906
900
  * // company: "STRING_VALUE",
907
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
901
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
908
902
  * // time: Number("long"), // required
909
903
  * // integrationId: "STRING_VALUE", // required
910
904
  * // data: { // WebhookPresenceConferenceEventData
@@ -918,7 +912,7 @@ declare const DescribeEventCommand_base: {
918
912
  * // id: "STRING_VALUE", // required
919
913
  * // pbx: "STRING_VALUE",
920
914
  * // company: "STRING_VALUE",
921
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
915
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
922
916
  * // time: Number("long"), // required
923
917
  * // integrationId: "STRING_VALUE", // required
924
918
  * // data: {
@@ -1011,7 +1005,7 @@ declare const DescribeEventCommand_base: {
1011
1005
  * // id: "STRING_VALUE", // required
1012
1006
  * // pbx: "STRING_VALUE",
1013
1007
  * // company: "STRING_VALUE",
1014
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1008
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1015
1009
  * // time: Number("long"), // required
1016
1010
  * // integrationId: "STRING_VALUE", // required
1017
1011
  * // data: {
@@ -1028,7 +1022,7 @@ declare const DescribeEventCommand_base: {
1028
1022
  * // id: "STRING_VALUE", // required
1029
1023
  * // pbx: "STRING_VALUE",
1030
1024
  * // company: "STRING_VALUE",
1031
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1025
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1032
1026
  * // time: Number("long"), // required
1033
1027
  * // integrationId: "STRING_VALUE", // required
1034
1028
  * // data: {
@@ -1045,7 +1039,7 @@ declare const DescribeEventCommand_base: {
1045
1039
  * // id: "STRING_VALUE", // required
1046
1040
  * // pbx: "STRING_VALUE",
1047
1041
  * // company: "STRING_VALUE",
1048
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1042
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1049
1043
  * // time: Number("long"), // required
1050
1044
  * // integrationId: "STRING_VALUE", // required
1051
1045
  * // data: {
@@ -1066,7 +1060,7 @@ declare const DescribeEventCommand_base: {
1066
1060
  * // id: "STRING_VALUE", // required
1067
1061
  * // pbx: "STRING_VALUE",
1068
1062
  * // company: "STRING_VALUE",
1069
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1063
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1070
1064
  * // time: Number("long"), // required
1071
1065
  * // integrationId: "STRING_VALUE", // required
1072
1066
  * // data: {
@@ -1162,7 +1156,7 @@ declare const DescribeEventCommand_base: {
1162
1156
  * // id: "STRING_VALUE", // required
1163
1157
  * // pbx: "STRING_VALUE",
1164
1158
  * // company: "STRING_VALUE",
1165
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1159
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1166
1160
  * // time: Number("long"), // required
1167
1161
  * // integrationId: "STRING_VALUE", // required
1168
1162
  * // data: {
@@ -1183,7 +1177,7 @@ declare const DescribeEventCommand_base: {
1183
1177
  * // id: "STRING_VALUE", // required
1184
1178
  * // pbx: "STRING_VALUE",
1185
1179
  * // company: "STRING_VALUE",
1186
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1180
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1187
1181
  * // time: Number("long"), // required
1188
1182
  * // integrationId: "STRING_VALUE", // required
1189
1183
  * // data: {
@@ -1197,7 +1191,7 @@ declare const DescribeEventCommand_base: {
1197
1191
  * // id: "STRING_VALUE", // required
1198
1192
  * // pbx: "STRING_VALUE",
1199
1193
  * // company: "STRING_VALUE",
1200
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1194
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1201
1195
  * // time: Number("long"), // required
1202
1196
  * // integrationId: "STRING_VALUE", // required
1203
1197
  * // data: {
@@ -1211,7 +1205,7 @@ declare const DescribeEventCommand_base: {
1211
1205
  * // id: "STRING_VALUE", // required
1212
1206
  * // pbx: "STRING_VALUE",
1213
1207
  * // company: "STRING_VALUE",
1214
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1208
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1215
1209
  * // time: Number("long"), // required
1216
1210
  * // integrationId: "STRING_VALUE", // required
1217
1211
  * // data: {
@@ -1226,7 +1220,7 @@ declare const DescribeEventCommand_base: {
1226
1220
  * // id: "STRING_VALUE", // required
1227
1221
  * // pbx: "STRING_VALUE",
1228
1222
  * // company: "STRING_VALUE",
1229
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1223
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1230
1224
  * // time: Number("long"), // required
1231
1225
  * // integrationId: "STRING_VALUE", // required
1232
1226
  * // data: {
@@ -1241,7 +1235,7 @@ declare const DescribeEventCommand_base: {
1241
1235
  * // id: "STRING_VALUE", // required
1242
1236
  * // pbx: "STRING_VALUE",
1243
1237
  * // company: "STRING_VALUE",
1244
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1238
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1245
1239
  * // time: Number("long"), // required
1246
1240
  * // integrationId: "STRING_VALUE", // required
1247
1241
  * // data: {
@@ -1259,7 +1253,7 @@ declare const DescribeEventCommand_base: {
1259
1253
  * // id: "STRING_VALUE", // required
1260
1254
  * // pbx: "STRING_VALUE",
1261
1255
  * // company: "STRING_VALUE",
1262
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1256
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1263
1257
  * // time: Number("long"), // required
1264
1258
  * // integrationId: "STRING_VALUE", // required
1265
1259
  * // data: {
@@ -1301,7 +1295,7 @@ declare const DescribeEventCommand_base: {
1301
1295
  * // id: "STRING_VALUE", // required
1302
1296
  * // pbx: "STRING_VALUE",
1303
1297
  * // company: "STRING_VALUE",
1304
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1298
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1305
1299
  * // time: Number("long"), // required
1306
1300
  * // integrationId: "STRING_VALUE", // required
1307
1301
  * // data: {
@@ -1390,7 +1384,7 @@ declare const DescribeEventCommand_base: {
1390
1384
  * // id: "STRING_VALUE", // required
1391
1385
  * // pbx: "STRING_VALUE",
1392
1386
  * // company: "STRING_VALUE",
1393
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1387
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1394
1388
  * // time: Number("long"), // required
1395
1389
  * // integrationId: "STRING_VALUE", // required
1396
1390
  * // data: {
@@ -1404,7 +1398,7 @@ declare const DescribeEventCommand_base: {
1404
1398
  * // id: "STRING_VALUE", // required
1405
1399
  * // pbx: "STRING_VALUE",
1406
1400
  * // company: "STRING_VALUE",
1407
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1401
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1408
1402
  * // time: Number("long"), // required
1409
1403
  * // integrationId: "STRING_VALUE", // required
1410
1404
  * // data: {
@@ -1418,7 +1412,7 @@ declare const DescribeEventCommand_base: {
1418
1412
  * // id: "STRING_VALUE", // required
1419
1413
  * // pbx: "STRING_VALUE",
1420
1414
  * // company: "STRING_VALUE",
1421
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1415
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1422
1416
  * // time: Number("long"), // required
1423
1417
  * // integrationId: "STRING_VALUE", // required
1424
1418
  * // data: {
@@ -1432,7 +1426,7 @@ declare const DescribeEventCommand_base: {
1432
1426
  * // id: "STRING_VALUE", // required
1433
1427
  * // pbx: "STRING_VALUE",
1434
1428
  * // company: "STRING_VALUE",
1435
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1429
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1436
1430
  * // time: Number("long"), // required
1437
1431
  * // integrationId: "STRING_VALUE", // required
1438
1432
  * // data: {
@@ -1461,7 +1455,7 @@ declare const DescribeEventCommand_base: {
1461
1455
  * // id: "STRING_VALUE", // required
1462
1456
  * // pbx: "STRING_VALUE",
1463
1457
  * // company: "STRING_VALUE",
1464
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1458
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1465
1459
  * // time: Number("long"), // required
1466
1460
  * // integrationId: "STRING_VALUE", // required
1467
1461
  * // data: { // WebhookOutdatedCallEventData
@@ -1514,7 +1508,7 @@ declare const DescribeEventCommand_base: {
1514
1508
  * // id: "STRING_VALUE", // required
1515
1509
  * // pbx: "STRING_VALUE",
1516
1510
  * // company: "STRING_VALUE",
1517
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1511
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1518
1512
  * // time: Number("long"), // required
1519
1513
  * // integrationId: "STRING_VALUE", // required
1520
1514
  * // data: {
@@ -1567,7 +1561,7 @@ declare const DescribeEventCommand_base: {
1567
1561
  * // id: "STRING_VALUE", // required
1568
1562
  * // pbx: "STRING_VALUE",
1569
1563
  * // company: "STRING_VALUE",
1570
- * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1564
+ * // type: "presence:user" || "presence:telephony" || "presence:conference" || "call:live:progress" || "call:live:completed" || "call:live:interrupted" || "call:live:transcription" || "call:completed" || "conference:live:progress" || "conference:live:join" || "conference:live:leave" || "conference:live:completed" || "conference:live:interrupted" || "conference:live:transcription" || "conference:completed" || "chat:live:progress" || "chat:live:completed" || "chat:live:interrupted" || "chat:live:missed" || "chat:manager:missed" || "chat:completed" || "call:start" || "call:update" || "call:end", // required
1571
1565
  * // time: Number("long"), // required
1572
1566
  * // integrationId: "STRING_VALUE", // required
1573
1567
  * // data: {
@@ -1603,7 +1597,7 @@ declare const DescribeEventCommand_base: {
1603
1597
  * // },
1604
1598
  * // CallEventType: "CallAnalyticsLiveProgressEvent" || "CallAnalyticsLiveCompleteEvent" || "CallAnalyticsLiveInterruptedEvent" || "CallAnalyticsLiveTranscriptionEvent" || "CallAnalyticsRecordEvent" || "CallAnalyticsTranscriptionRecordEvent" || "CallAnalyticsCostRecordEvent",
1605
1599
  * // ConferenceEventType: "ConferenceAnalyticsLiveProgressEvent" || "ConferenceAnalyticsLiveCompleteEvent" || "ConferenceAnalyticsLiveInterruptedEvent" || "ConferenceAnalyticsLiveTranscriptionEvent" || "ConferenceAnalyticsLiveJoinEvent" || "ConferenceAnalyticsLiveLeaveEvent" || "ConferenceAnalyticsRecordEvent" || "ConferenceAnalyticsTranscriptionRecordEvent",
1606
- * // ChatEventType: "ChatAnalyticsLiveCompleteEvent" || "ChatAnalyticsLiveInterruptedEvent" || "ChatAnalyticsLiveMissedEvent" || "ChatAnalyticsLiveProgressEvent" || "ChatAnalyticsManagerMissedEvent" || "ChatAnalyticsRecordEvent",
1600
+ * // ChatEventType: "ChatAnalyticsLiveCompleteEvent" || "ChatAnalyticsLiveInterruptedEvent" || "ChatAnalyticsLiveProgressEvent" || "ChatAnalyticsManagerMissedEvent" || "ChatAnalyticsRecordEvent",
1607
1601
  * // PresenceEventType: "PresenceAnalyticsStatusEvent" || "PresenceAnalyticsConferenceEvent" || "PresenceAnalyticsTelephonyEvent",
1608
1602
  * // };
1609
1603
  *
@@ -2,5 +2,3 @@ export * from "./ConsumeEventCommand";
2
2
  export * from "./DescribeEventCommand";
3
3
  export * from "./GetConferenceIdCommand";
4
4
  export * from "./GetConversationsCommand";
5
- export * from "./QueryPresencesCommand";
6
- export * from "./UpdatePresenceCommand";
@@ -1052,15 +1052,6 @@ export interface ChatAnalyticsLiveInterruptedEvent {
1052
1052
  company: string;
1053
1053
  event: LiveEventType;
1054
1054
  }
1055
- /**
1056
- * @public
1057
- */
1058
- export interface ChatAnalyticsLiveMissedEvent {
1059
- id: string;
1060
- time: number;
1061
- company: string;
1062
- event: LiveEventType;
1063
- }
1064
1055
  /**
1065
1056
  * @public
1066
1057
  */
@@ -1274,7 +1265,6 @@ export type ChatConsumeEventType = typeof ChatConsumeEventType[keyof typeof Chat
1274
1265
  export declare const ChatEventType: {
1275
1266
  readonly LIVE_COMPLETE_EVENT: "ChatAnalyticsLiveCompleteEvent";
1276
1267
  readonly LIVE_INTERRUPTED_EVENT: "ChatAnalyticsLiveInterruptedEvent";
1277
- readonly LIVE_MISSED_EVENT: "ChatAnalyticsLiveMissedEvent";
1278
1268
  readonly LIVE_PROGRESS_EVENT: "ChatAnalyticsLiveProgressEvent";
1279
1269
  readonly MANAGER_MISSED_EVENT: "ChatAnalyticsManagerMissedEvent";
1280
1270
  readonly RECORD_EVENT: "ChatAnalyticsRecordEvent";
@@ -2902,6 +2892,7 @@ export declare const WebhookEventType: {
2902
2892
  readonly CHAT_COMPLETED: "chat:completed";
2903
2893
  readonly CHAT_LIVE_COMPLETED: "chat:live:completed";
2904
2894
  readonly CHAT_LIVE_INTERRUPTED: "chat:live:interrupted";
2895
+ readonly CHAT_LIVE_MISSED: "chat:live:missed";
2905
2896
  readonly CHAT_LIVE_PROGRESS: "chat:live:progress";
2906
2897
  readonly CHAT_MANAGER_MISSED: "chat:manager:missed";
2907
2898
  readonly CONFERENCE_COMPLETED: "conference:completed";
@@ -3363,7 +3354,6 @@ export interface DescribeEventOutput {
3363
3354
  CallAnalyticsCostRecordEvent?: CallAnalyticsCostRecordEvent;
3364
3355
  ChatAnalyticsLiveCompleteEvent?: ChatAnalyticsLiveCompleteEvent;
3365
3356
  ChatAnalyticsLiveInterruptedEvent?: ChatAnalyticsLiveInterruptedEvent;
3366
- ChatAnalyticsLiveMissedEvent?: ChatAnalyticsLiveMissedEvent;
3367
3357
  ChatAnalyticsLiveProgressEvent?: ChatAnalyticsLiveProgressEvent;
3368
3358
  ChatAnalyticsManagerMissedEvent?: ChatAnalyticsManagerMissedEvent;
3369
3359
  ChatAnalyticsRecordEvent?: ChatAnalyticsRecordEvent;
@@ -3447,109 +3437,3 @@ export interface GetConversationsOutput {
3447
3437
  conferences: (ConferenceAnalyticsLiveProgressEvent)[];
3448
3438
  chats: (ChatAnalyticsLiveProgressEvent)[];
3449
3439
  }
3450
- /**
3451
- * @public
3452
- */
3453
- export interface PresenceLastSeen {
3454
- seen: boolean;
3455
- }
3456
- /**
3457
- * @public
3458
- * @enum
3459
- */
3460
- export declare const PresenceStatus: {
3461
- readonly AWAY: "AWAY";
3462
- readonly DND: "DND";
3463
- readonly OFFLINE: "OFFLINE";
3464
- readonly ONLINE: "ONLINE";
3465
- readonly ONLY_SIP: "ONLY_SIP";
3466
- };
3467
- /**
3468
- * @public
3469
- */
3470
- export type PresenceStatus = typeof PresenceStatus[keyof typeof PresenceStatus];
3471
- /**
3472
- * @public
3473
- */
3474
- export interface QueryPresencesInputFilter {
3475
- id?: string;
3476
- company?: string;
3477
- extension?: string;
3478
- }
3479
- /**
3480
- * @public
3481
- */
3482
- export interface QueryPresencesInput {
3483
- filter?: (QueryPresencesInputFilter)[];
3484
- }
3485
- /**
3486
- * @public
3487
- * @enum
3488
- */
3489
- export declare const TelephonyStatuses: {
3490
- readonly REGISTERED: "REGISTERED";
3491
- readonly RINGING: "RINGING";
3492
- readonly RT: "RT";
3493
- readonly TALKING: "TALKING";
3494
- readonly UNREGISTERED: "UNREGISTERED";
3495
- };
3496
- /**
3497
- * @public
3498
- */
3499
- export type TelephonyStatuses = typeof TelephonyStatuses[keyof typeof TelephonyStatuses];
3500
- /**
3501
- * @public
3502
- */
3503
- export interface WdaPresence {
3504
- company?: string;
3505
- address?: string;
3506
- extension?: string;
3507
- id?: string;
3508
- lng?: string;
3509
- lat?: string;
3510
- until?: string;
3511
- status?: PresenceStatus;
3512
- message?: string;
3513
- telephony?: TelephonyStatuses;
3514
- seen?: string;
3515
- }
3516
- /**
3517
- * @public
3518
- */
3519
- export interface QueryPresencesOutput {
3520
- success: boolean;
3521
- result: (WdaPresence)[];
3522
- }
3523
- /**
3524
- * @public
3525
- */
3526
- export interface UpdatePresenceInput {
3527
- presence?: (WdaPresence)[];
3528
- set?: PresenceLastSeen;
3529
- }
3530
- /**
3531
- * @public
3532
- */
3533
- export interface UpdatePresenceOutputResult {
3534
- set?: PresenceLastSeen;
3535
- }
3536
- /**
3537
- * @public
3538
- * @enum
3539
- */
3540
- export declare const UpdatePresenceOutputType: {
3541
- readonly ERROR: "error";
3542
- readonly RESULT: "result";
3543
- };
3544
- /**
3545
- * @public
3546
- */
3547
- export type UpdatePresenceOutputType = typeof UpdatePresenceOutputType[keyof typeof UpdatePresenceOutputType];
3548
- /**
3549
- * @public
3550
- */
3551
- export interface UpdatePresenceOutput {
3552
- type: UpdatePresenceOutputType;
3553
- result?: UpdatePresenceOutputResult;
3554
- duration?: number;
3555
- }
@@ -2,8 +2,6 @@ import { ConsumeEventCommandInput, ConsumeEventCommandOutput } from "../commands
2
2
  import { DescribeEventCommandInput, DescribeEventCommandOutput } from "../commands/DescribeEventCommand";
3
3
  import { GetConferenceIdCommandInput, GetConferenceIdCommandOutput } from "../commands/GetConferenceIdCommand";
4
4
  import { GetConversationsCommandInput, GetConversationsCommandOutput } from "../commands/GetConversationsCommand";
5
- import { QueryPresencesCommandInput, QueryPresencesCommandOutput } from "../commands/QueryPresencesCommand";
6
- import { UpdatePresenceCommandInput, UpdatePresenceCommandOutput } from "../commands/UpdatePresenceCommand";
7
5
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
8
6
  import { SerdeContext as __SerdeContext } from "@smithy/types";
9
7
  /**
@@ -22,14 +20,6 @@ export declare const se_GetConferenceIdCommand: (input: GetConferenceIdCommandIn
22
20
  * serializeAws_restJson1GetConversationsCommand
23
21
  */
24
22
  export declare const se_GetConversationsCommand: (input: GetConversationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
25
- /**
26
- * serializeAws_restJson1QueryPresencesCommand
27
- */
28
- export declare const se_QueryPresencesCommand: (input: QueryPresencesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
29
- /**
30
- * serializeAws_restJson1UpdatePresenceCommand
31
- */
32
- export declare const se_UpdatePresenceCommand: (input: UpdatePresenceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
33
23
  /**
34
24
  * deserializeAws_restJson1ConsumeEventCommand
35
25
  */
@@ -46,11 +36,3 @@ export declare const de_GetConferenceIdCommand: (output: __HttpResponse, context
46
36
  * deserializeAws_restJson1GetConversationsCommand
47
37
  */
48
38
  export declare const de_GetConversationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetConversationsCommandOutput>;
49
- /**
50
- * deserializeAws_restJson1QueryPresencesCommand
51
- */
52
- export declare const de_QueryPresencesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<QueryPresencesCommandOutput>;
53
- /**
54
- * deserializeAws_restJson1UpdatePresenceCommand
55
- */
56
- export declare const de_UpdatePresenceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdatePresenceCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wda-stream-client",
3
3
  "description": "@wildix/wda-stream-client client",
4
- "version": "1.0.29",
4
+ "version": "1.0.30",
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",
@@ -16,6 +16,7 @@
16
16
  "module": "./dist-es/index.js",
17
17
  "sideEffects": false,
18
18
  "dependencies": {
19
+ "tslib": "^2.6.2",
19
20
  "@aws-crypto/sha256-browser": "3.0.0",
20
21
  "@aws-crypto/sha256-js": "3.0.0",
21
22
  "@aws-sdk/middleware-user-agent": "3.587.0",
@@ -44,16 +45,15 @@
44
45
  "@smithy/util-defaults-mode-node": "^3.0.3",
45
46
  "@smithy/util-retry": "^3.0.0",
46
47
  "@smithy/util-utf8": "^3.0.0",
47
- "@wildix/smithy-utils": "^1.0.2",
48
- "tslib": "^2.6.2"
48
+ "@wildix/smithy-utils": "^1.0.2"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@tsconfig/node16": "16.1.3",
52
- "@types/node": "^16.18.96",
53
52
  "concurrently": "7.0.0",
54
53
  "downlevel-dts": "0.10.1",
55
54
  "rimraf": "^3.0.0",
56
- "typescript": "~4.9.5"
55
+ "typescript": "~4.9.5",
56
+ "@types/node": "^16.18.96"
57
57
  },
58
58
  "engines": {
59
59
  "node": ">=16.0.0"
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QueryPresencesCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class QueryPresencesCommand extends smithy_client_1.Command.classBuilder()
9
- .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
- })
14
- .s("WdaStream", "QueryPresences", {})
15
- .n("WdaStreamClient", "QueryPresencesCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_QueryPresencesCommand)
18
- .de(Aws_restJson1_1.de_QueryPresencesCommand)
19
- .build() {
20
- }
21
- exports.QueryPresencesCommand = QueryPresencesCommand;
@@ -1,21 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdatePresenceCommand = exports.$Command = void 0;
4
- const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
- const middleware_serde_1 = require("@smithy/middleware-serde");
6
- const smithy_client_1 = require("@smithy/smithy-client");
7
- Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class UpdatePresenceCommand extends smithy_client_1.Command.classBuilder()
9
- .m(function (Command, cs, config, o) {
10
- return [
11
- (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
- ];
13
- })
14
- .s("WdaStream", "UpdatePresence", {})
15
- .n("WdaStreamClient", "UpdatePresenceCommand")
16
- .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_UpdatePresenceCommand)
18
- .de(Aws_restJson1_1.de_UpdatePresenceCommand)
19
- .build() {
20
- }
21
- exports.UpdatePresenceCommand = UpdatePresenceCommand;
@@ -1,17 +0,0 @@
1
- import { de_QueryPresencesCommand, se_QueryPresencesCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- export { $Command };
5
- export class QueryPresencesCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("WdaStream", "QueryPresences", {})
12
- .n("WdaStreamClient", "QueryPresencesCommand")
13
- .f(void 0, void 0)
14
- .ser(se_QueryPresencesCommand)
15
- .de(de_QueryPresencesCommand)
16
- .build() {
17
- }
@@ -1,17 +0,0 @@
1
- import { de_UpdatePresenceCommand, se_UpdatePresenceCommand, } from "../protocols/Aws_restJson1";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- export { $Command };
5
- export class UpdatePresenceCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("WdaStream", "UpdatePresence", {})
12
- .n("WdaStreamClient", "UpdatePresenceCommand")
13
- .f(void 0, void 0)
14
- .ser(se_UpdatePresenceCommand)
15
- .de(de_UpdatePresenceCommand)
16
- .build() {
17
- }
@@ -1,85 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
2
- import { QueryPresencesInput, QueryPresencesOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link QueryPresencesCommand}.
14
- */
15
- export interface QueryPresencesCommandInput extends QueryPresencesInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link QueryPresencesCommand}.
21
- */
22
- export interface QueryPresencesCommandOutput extends QueryPresencesOutput, __MetadataBearer {
23
- }
24
- declare const QueryPresencesCommand_base: {
25
- new (input: QueryPresencesCommandInput): import("@smithy/smithy-client").CommandImpl<QueryPresencesCommandInput, QueryPresencesCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [QueryPresencesCommandInput]): import("@smithy/smithy-client").CommandImpl<QueryPresencesCommandInput, QueryPresencesCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Retrieves users presences
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { WdaStreamClient, QueryPresencesCommand } from "@wildix/wda-stream-client"; // ES Modules import
35
- * // const { WdaStreamClient, QueryPresencesCommand } = require("@wildix/wda-stream-client"); // CommonJS import
36
- * const client = new WdaStreamClient(config);
37
- * const input = { // QueryPresencesInput
38
- * filter: [ // QueryPresencesInputFilters
39
- * { // QueryPresencesInputFilter
40
- * id: "STRING_VALUE",
41
- * company: "STRING_VALUE",
42
- * extension: "STRING_VALUE",
43
- * },
44
- * ],
45
- * };
46
- * const command = new QueryPresencesCommand(input);
47
- * const response = await client.send(command);
48
- * // { // QueryPresencesOutput
49
- * // success: true || false, // required
50
- * // result: [ // WdaPresences // required
51
- * // { // WdaPresence
52
- * // company: "STRING_VALUE",
53
- * // address: "STRING_VALUE",
54
- * // extension: "STRING_VALUE",
55
- * // id: "STRING_VALUE",
56
- * // lng: "STRING_VALUE",
57
- * // lat: "STRING_VALUE",
58
- * // until: "STRING_VALUE",
59
- * // status: "ONLINE" || "OFFLINE" || "DND" || "AWAY" || "ONLY_SIP",
60
- * // message: "STRING_VALUE",
61
- * // telephony: "REGISTERED" || "UNREGISTERED" || "RINGING" || "TALKING" || "RT",
62
- * // seen: "STRING_VALUE",
63
- * // },
64
- * // ],
65
- * // };
66
- *
67
- * ```
68
- *
69
- * @param QueryPresencesCommandInput - {@link QueryPresencesCommandInput}
70
- * @returns {@link QueryPresencesCommandOutput}
71
- * @see {@link QueryPresencesCommandInput} for command's `input` shape.
72
- * @see {@link QueryPresencesCommandOutput} for command's `response` shape.
73
- * @see {@link WdaStreamClientResolvedConfig | config} for WdaStreamClient's `config` shape.
74
- *
75
- * @throws {@link ForbiddenException} (client fault)
76
- *
77
- * @throws {@link ValidationException} (client fault)
78
- *
79
- * @throws {@link WdaStreamServiceException}
80
- * <p>Base exception class for all service exceptions from WdaStream service.</p>
81
- *
82
- * @public
83
- */
84
- export declare class QueryPresencesCommand extends QueryPresencesCommand_base {
85
- }
@@ -1,87 +0,0 @@
1
- import { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
2
- import { UpdatePresenceInput, UpdatePresenceOutput } from "../models/models_0";
3
- import { Command as $Command } from "@smithy/smithy-client";
4
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
- /**
6
- * @public
7
- */
8
- export type { __MetadataBearer };
9
- export { $Command };
10
- /**
11
- * @public
12
- *
13
- * The input for {@link UpdatePresenceCommand}.
14
- */
15
- export interface UpdatePresenceCommandInput extends UpdatePresenceInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link UpdatePresenceCommand}.
21
- */
22
- export interface UpdatePresenceCommandOutput extends UpdatePresenceOutput, __MetadataBearer {
23
- }
24
- declare const UpdatePresenceCommand_base: {
25
- new (input: UpdatePresenceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePresenceCommandInput, UpdatePresenceCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (...[input]: [] | [UpdatePresenceCommandInput]): import("@smithy/smithy-client").CommandImpl<UpdatePresenceCommandInput, UpdatePresenceCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * Updates user presence
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { WdaStreamClient, UpdatePresenceCommand } from "@wildix/wda-stream-client"; // ES Modules import
35
- * // const { WdaStreamClient, UpdatePresenceCommand } = require("@wildix/wda-stream-client"); // CommonJS import
36
- * const client = new WdaStreamClient(config);
37
- * const input = { // UpdatePresenceInput
38
- * presence: [ // WdaPresences
39
- * { // WdaPresence
40
- * company: "STRING_VALUE",
41
- * address: "STRING_VALUE",
42
- * extension: "STRING_VALUE",
43
- * id: "STRING_VALUE",
44
- * lng: "STRING_VALUE",
45
- * lat: "STRING_VALUE",
46
- * until: "STRING_VALUE",
47
- * status: "ONLINE" || "OFFLINE" || "DND" || "AWAY" || "ONLY_SIP",
48
- * message: "STRING_VALUE",
49
- * telephony: "REGISTERED" || "UNREGISTERED" || "RINGING" || "TALKING" || "RT",
50
- * seen: "STRING_VALUE",
51
- * },
52
- * ],
53
- * set: { // PresenceLastSeen
54
- * seen: true || false, // required
55
- * },
56
- * };
57
- * const command = new UpdatePresenceCommand(input);
58
- * const response = await client.send(command);
59
- * // { // UpdatePresenceOutput
60
- * // type: "result" || "error", // required
61
- * // result: { // UpdatePresenceOutputResult
62
- * // set: { // PresenceLastSeen
63
- * // seen: true || false, // required
64
- * // },
65
- * // },
66
- * // duration: Number("int"),
67
- * // };
68
- *
69
- * ```
70
- *
71
- * @param UpdatePresenceCommandInput - {@link UpdatePresenceCommandInput}
72
- * @returns {@link UpdatePresenceCommandOutput}
73
- * @see {@link UpdatePresenceCommandInput} for command's `input` shape.
74
- * @see {@link UpdatePresenceCommandOutput} for command's `response` shape.
75
- * @see {@link WdaStreamClientResolvedConfig | config} for WdaStreamClient's `config` shape.
76
- *
77
- * @throws {@link ForbiddenException} (client fault)
78
- *
79
- * @throws {@link ValidationException} (client fault)
80
- *
81
- * @throws {@link WdaStreamServiceException}
82
- * <p>Base exception class for all service exceptions from WdaStream service.</p>
83
- *
84
- * @public
85
- */
86
- export declare class UpdatePresenceCommand extends UpdatePresenceCommand_base {
87
- }