@wildix/wda-stream-client 4.0.1 → 4.0.2

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.
@@ -24,9 +24,7 @@ export interface GetConferenceIdCommandOutput extends GetConferenceIdOutput, __M
24
24
  declare const GetConferenceIdCommand_base: {
25
25
  new (input: GetConferenceIdCommandInput): import("@smithy/core/client").CommandImpl<GetConferenceIdCommandInput, GetConferenceIdCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetConferenceIdCommandInput): import("@smithy/core/client").CommandImpl<GetConferenceIdCommandInput, GetConferenceIdCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Retrieves ID for ongoing conference using a room token.
@@ -24,9 +24,7 @@ export interface GetOngoingCallAnnotationsCommandOutput extends GetOngoingCallAn
24
24
  declare const GetOngoingCallAnnotationsCommand_base: {
25
25
  new (input: GetOngoingCallAnnotationsCommandInput): import("@smithy/core/client").CommandImpl<GetOngoingCallAnnotationsCommandInput, GetOngoingCallAnnotationsCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetOngoingCallAnnotationsCommandInput): import("@smithy/core/client").CommandImpl<GetOngoingCallAnnotationsCommandInput, GetOngoingCallAnnotationsCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Retrieves information and annotations for ongoing call.
@@ -24,9 +24,7 @@ export interface GetOngoingCallCommandOutput extends GetOngoingCallOutput, __Met
24
24
  declare const GetOngoingCallCommand_base: {
25
25
  new (input: GetOngoingCallCommandInput): import("@smithy/core/client").CommandImpl<GetOngoingCallCommandInput, GetOngoingCallCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetOngoingCallCommandInput): import("@smithy/core/client").CommandImpl<GetOngoingCallCommandInput, GetOngoingCallCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Retrieves information for ongoing call.
@@ -24,9 +24,7 @@ export interface GetOngoingCallTranscriptionCommandOutput extends GetOngoingCall
24
24
  declare const GetOngoingCallTranscriptionCommand_base: {
25
25
  new (input: GetOngoingCallTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<GetOngoingCallTranscriptionCommandInput, GetOngoingCallTranscriptionCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetOngoingCallTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<GetOngoingCallTranscriptionCommandInput, GetOngoingCallTranscriptionCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Retrieves information and transcription for ongoing call.
@@ -24,9 +24,7 @@ export interface GetOngoingChatAnnotationsCommandOutput extends GetOngoingChatAn
24
24
  declare const GetOngoingChatAnnotationsCommand_base: {
25
25
  new (input: GetOngoingChatAnnotationsCommandInput): import("@smithy/core/client").CommandImpl<GetOngoingChatAnnotationsCommandInput, GetOngoingChatAnnotationsCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetOngoingChatAnnotationsCommandInput): import("@smithy/core/client").CommandImpl<GetOngoingChatAnnotationsCommandInput, GetOngoingChatAnnotationsCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Retrieves information and annotations for ongoing chat.
@@ -24,9 +24,7 @@ export interface GetOngoingConferenceAnnotationsCommandOutput extends GetOngoing
24
24
  declare const GetOngoingConferenceAnnotationsCommand_base: {
25
25
  new (input: GetOngoingConferenceAnnotationsCommandInput): import("@smithy/core/client").CommandImpl<GetOngoingConferenceAnnotationsCommandInput, GetOngoingConferenceAnnotationsCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetOngoingConferenceAnnotationsCommandInput): import("@smithy/core/client").CommandImpl<GetOngoingConferenceAnnotationsCommandInput, GetOngoingConferenceAnnotationsCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Retrieves information and annotations for ongoing conference.
@@ -24,9 +24,7 @@ export interface GetOngoingConferenceCommandOutput extends GetOngoingConferenceO
24
24
  declare const GetOngoingConferenceCommand_base: {
25
25
  new (input: GetOngoingConferenceCommandInput): import("@smithy/core/client").CommandImpl<GetOngoingConferenceCommandInput, GetOngoingConferenceCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetOngoingConferenceCommandInput): import("@smithy/core/client").CommandImpl<GetOngoingConferenceCommandInput, GetOngoingConferenceCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Retrieves information for ongoing conference.
@@ -24,9 +24,7 @@ export interface GetOngoingConferenceTranscriptionCommandOutput extends GetOngoi
24
24
  declare const GetOngoingConferenceTranscriptionCommand_base: {
25
25
  new (input: GetOngoingConferenceTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<GetOngoingConferenceTranscriptionCommandInput, GetOngoingConferenceTranscriptionCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetOngoingConferenceTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<GetOngoingConferenceTranscriptionCommandInput, GetOngoingConferenceTranscriptionCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Retrieves information and transcription for ongoing conference.
@@ -24,9 +24,7 @@ export interface ListServicesCommandOutput extends ListServicesOutput, __Metadat
24
24
  declare const ListServicesCommand_base: {
25
25
  new (input: ListServicesCommandInput): import("@smithy/core/client").CommandImpl<ListServicesCommandInput, ListServicesCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (...[input]: [] | [ListServicesCommandInput]): import("@smithy/core/client").CommandImpl<ListServicesCommandInput, ListServicesCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Retrieves a list of active services of the company.
@@ -24,9 +24,7 @@ export interface QueryConversationsCommandOutput extends QueryConversationsOutpu
24
24
  declare const QueryConversationsCommand_base: {
25
25
  new (input: QueryConversationsCommandInput): import("@smithy/core/client").CommandImpl<QueryConversationsCommandInput, QueryConversationsCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (...[input]: [] | [QueryConversationsCommandInput]): import("@smithy/core/client").CommandImpl<QueryConversationsCommandInput, QueryConversationsCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Retrieves ongoing conversations. Once the conversation ends the item would be dissapeared from the list.
@@ -1,7 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/core/client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { QueryPresenceInput } from "../models/models_0";
4
- import type { QueryPresenceOutput } from "../models/models_1";
3
+ import type { QueryPresenceInput, QueryPresenceOutput } from "../models/models_1";
5
4
  import type { ServiceInputTypes, ServiceOutputTypes, WdaStreamClientResolvedConfig } from "../WdaStreamClient";
6
5
  /**
7
6
  * @public
@@ -25,9 +24,7 @@ export interface QueryPresenceCommandOutput extends QueryPresenceOutput, __Metad
25
24
  declare const QueryPresenceCommand_base: {
26
25
  new (input: QueryPresenceCommandInput): import("@smithy/core/client").CommandImpl<QueryPresenceCommandInput, QueryPresenceCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
26
  new (input: QueryPresenceCommandInput): import("@smithy/core/client").CommandImpl<QueryPresenceCommandInput, QueryPresenceCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
28
- getEndpointParameterInstructions(): {
29
- [x: string]: unknown;
30
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
31
28
  };
32
29
  /**
33
30
  * Retrieves the presence of a single user using specified query. If no presence information found for the query a PresenceNotAvailableException will be thrown.
@@ -24,9 +24,7 @@ export interface QueryPresencesCommandOutput extends QueryPresencesOutput, __Met
24
24
  declare const QueryPresencesCommand_base: {
25
25
  new (input: QueryPresencesCommandInput): import("@smithy/core/client").CommandImpl<QueryPresencesCommandInput, QueryPresencesCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: QueryPresencesCommandInput): import("@smithy/core/client").CommandImpl<QueryPresencesCommandInput, QueryPresencesCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Retrieves users presences
@@ -24,9 +24,7 @@ export interface UpdatePresenceLastSeenCommandOutput extends UpdatePresenceLastS
24
24
  declare const UpdatePresenceLastSeenCommand_base: {
25
25
  new (input: UpdatePresenceLastSeenCommandInput): import("@smithy/core/client").CommandImpl<UpdatePresenceLastSeenCommandInput, UpdatePresenceLastSeenCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (...[input]: [] | [UpdatePresenceLastSeenCommandInput]): import("@smithy/core/client").CommandImpl<UpdatePresenceLastSeenCommandInput, UpdatePresenceLastSeenCommandOutput, WdaStreamClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Updates the user's last seen presence information.
@@ -1037,6 +1037,7 @@ export declare const WebhookEventType: {
1037
1037
  readonly SERVICE_CALL_LIVE_COMPLETED: "service:call:live:completed";
1038
1038
  readonly SERVICE_CALL_LIVE_PROGRESS: "service:call:live:progress";
1039
1039
  readonly SMS_STATUS: "sms:status";
1040
+ readonly WHATSAPP_STATUS: "whatsapp:status";
1040
1041
  };
1041
1042
  /**
1042
1043
  * @public
@@ -40,6 +40,11 @@ export interface WhatsAppStatusEventData {
40
40
  reason: string;
41
41
  channel?: string | undefined;
42
42
  parts?: number | undefined;
43
+ /**
44
+ * Broadcast batch id from the a2s send response; correlates the status back to the originating API call. Absent for non-broadcast messages.
45
+ * @public
46
+ */
47
+ batchId?: string | undefined;
43
48
  }
44
49
  /**
45
50
  * Tool result captured for an annotation. Runtime services enforce serialized payload size limits.
@@ -6533,6 +6538,18 @@ export interface WebhookSmsStatusEvent {
6533
6538
  integrationId: string;
6534
6539
  data: SmsStatusConsumeEventData;
6535
6540
  }
6541
+ /**
6542
+ * @public
6543
+ */
6544
+ export interface WebhookWhatsAppStatusEvent {
6545
+ id: string;
6546
+ pbx?: string | undefined;
6547
+ company?: string | undefined;
6548
+ type: WebhookEventType;
6549
+ time: number;
6550
+ integrationId: string;
6551
+ data: WhatsAppStatusEventData;
6552
+ }
6536
6553
  /**
6537
6554
  * @public
6538
6555
  */
@@ -6734,6 +6751,7 @@ export interface DescribeEventOutput {
6734
6751
  WebhookOutdatedCallUpdateEvent?: WebhookOutdatedCallUpdateEvent | undefined;
6735
6752
  WebhookOutdatedCallEndEvent?: WebhookOutdatedCallEndEvent | undefined;
6736
6753
  WebhookSmsStatusEvent?: WebhookSmsStatusEvent | undefined;
6754
+ WebhookWhatsAppStatusEvent?: WebhookWhatsAppStatusEvent | undefined;
6737
6755
  ServiceAnalyticsLiveProgressEvent?: ServiceAnalyticsLiveProgressEvent | undefined;
6738
6756
  ServiceAnalyticsLiveCompleteEvent?: ServiceAnalyticsLiveCompleteEvent | undefined;
6739
6757
  /**
@@ -7027,13 +7045,3 @@ export interface QueryConversationsOutput {
7027
7045
  conferences: ConferenceAnalyticsLiveProgressEvent[];
7028
7046
  chats: ChatAnalyticsLiveProgressEvent[];
7029
7047
  }
7030
- /**
7031
- * @public
7032
- */
7033
- export interface QueryPresenceInput {
7034
- /**
7035
- * The filter, to match a presence of certain user
7036
- * @public
7037
- */
7038
- filter: PresenceQueryFilter;
7039
- }
@@ -1,4 +1,14 @@
1
1
  import type { Presence, PresenceQueryFilter } from "./models_0";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface QueryPresenceInput {
6
+ /**
7
+ * The filter, to match a presence of certain user
8
+ * @public
9
+ */
10
+ filter: PresenceQueryFilter;
11
+ }
2
12
  /**
3
13
  * @public
4
14
  */
@@ -275,6 +275,7 @@ export declare var WebhookPresenceUserEventLocationData$: StaticStructureSchema;
275
275
  export declare var WebhookServiceCallLiveCompletedEvent$: StaticStructureSchema;
276
276
  export declare var WebhookServiceCallLiveProgressEvent$: StaticStructureSchema;
277
277
  export declare var WebhookSmsStatusEvent$: StaticStructureSchema;
278
+ export declare var WebhookWhatsAppStatusEvent$: StaticStructureSchema;
278
279
  export declare var WebsocketAuthorizeAction$: StaticStructureSchema;
279
280
  export declare var WebsocketAuthorizeBadRequestException$: StaticStructureSchema;
280
281
  export declare var WebsocketAuthorizedEvent$: StaticStructureSchema;
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": "4.0.1",
4
+ "version": "4.0.2",
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",