@wildix/wda-history-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.
@@ -38,6 +38,10 @@ class WdaHistoryClient extends client_2.Client {
38
38
  httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultWdaHistoryHttpAuthSchemeParametersProvider,
39
39
  identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
40
40
  "smithy.api#httpBearerAuth": config.token,
41
+ "wildix.auth#apiKeys": config.token,
42
+ "wildix.auth#pbx": config.token,
43
+ "wildix.auth#s2s": config.token,
44
+ "wildix.auth#xbs": config.token,
41
45
  }),
42
46
  }));
43
47
  this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
@@ -24,6 +24,26 @@ const getRuntimeConfig = (config) => {
24
24
  identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth"),
25
25
  signer: new core_1.HttpBearerAuthSigner(),
26
26
  },
27
+ {
28
+ schemeId: "wildix.auth#apiKeys",
29
+ identityProvider: (ipc) => ipc.getIdentityProvider("wildix.auth#apiKeys"),
30
+ signer: new core_1.HttpBearerAuthSigner(),
31
+ },
32
+ {
33
+ schemeId: "wildix.auth#pbx",
34
+ identityProvider: (ipc) => ipc.getIdentityProvider("wildix.auth#pbx"),
35
+ signer: new core_1.HttpBearerAuthSigner(),
36
+ },
37
+ {
38
+ schemeId: "wildix.auth#s2s",
39
+ identityProvider: (ipc) => ipc.getIdentityProvider("wildix.auth#s2s"),
40
+ signer: new core_1.HttpBearerAuthSigner(),
41
+ },
42
+ {
43
+ schemeId: "wildix.auth#xbs",
44
+ identityProvider: (ipc) => ipc.getIdentityProvider("wildix.auth#xbs"),
45
+ signer: new core_1.HttpBearerAuthSigner(),
46
+ },
27
47
  ],
28
48
  logger: config?.logger ?? new client_1.NoOpLogger(),
29
49
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
@@ -35,6 +35,10 @@ export class WdaHistoryClient extends __Client {
35
35
  httpAuthSchemeParametersProvider: defaultWdaHistoryHttpAuthSchemeParametersProvider,
36
36
  identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
37
37
  "smithy.api#httpBearerAuth": config.token,
38
+ "wildix.auth#apiKeys": config.token,
39
+ "wildix.auth#pbx": config.token,
40
+ "wildix.auth#s2s": config.token,
41
+ "wildix.auth#xbs": config.token,
38
42
  }),
39
43
  }));
40
44
  this.middlewareStack.use(getHttpSigningPlugin(this.config));
@@ -21,6 +21,26 @@ export const getRuntimeConfig = (config) => {
21
21
  identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#httpBearerAuth"),
22
22
  signer: new HttpBearerAuthSigner(),
23
23
  },
24
+ {
25
+ schemeId: "wildix.auth#apiKeys",
26
+ identityProvider: (ipc) => ipc.getIdentityProvider("wildix.auth#apiKeys"),
27
+ signer: new HttpBearerAuthSigner(),
28
+ },
29
+ {
30
+ schemeId: "wildix.auth#pbx",
31
+ identityProvider: (ipc) => ipc.getIdentityProvider("wildix.auth#pbx"),
32
+ signer: new HttpBearerAuthSigner(),
33
+ },
34
+ {
35
+ schemeId: "wildix.auth#s2s",
36
+ identityProvider: (ipc) => ipc.getIdentityProvider("wildix.auth#s2s"),
37
+ signer: new HttpBearerAuthSigner(),
38
+ },
39
+ {
40
+ schemeId: "wildix.auth#xbs",
41
+ identityProvider: (ipc) => ipc.getIdentityProvider("wildix.auth#xbs"),
42
+ signer: new HttpBearerAuthSigner(),
43
+ },
24
44
  ],
25
45
  logger: config?.logger ?? new NoOpLogger(),
26
46
  protocol: config?.protocol ?? AwsRestJsonProtocol,
@@ -24,9 +24,7 @@ export interface GetCallAnnotationsCommandOutput extends GetCallAnnotationsOutpu
24
24
  declare const GetCallAnnotationsCommand_base: {
25
25
  new (input: GetCallAnnotationsCommandInput): import("@smithy/core/client").CommandImpl<GetCallAnnotationsCommandInput, GetCallAnnotationsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetCallAnnotationsCommandInput): import("@smithy/core/client").CommandImpl<GetCallAnnotationsCommandInput, GetCallAnnotationsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets annotations for a call by callId and flowIndex.
@@ -24,9 +24,7 @@ export interface GetCallCommandOutput extends GetCallOutput, __MetadataBearer {
24
24
  declare const GetCallCommand_base: {
25
25
  new (input: GetCallCommandInput): import("@smithy/core/client").CommandImpl<GetCallCommandInput, GetCallCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetCallCommandInput): import("@smithy/core/client").CommandImpl<GetCallCommandInput, GetCallCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets a call by callId and flowIndex.
@@ -24,9 +24,7 @@ export interface GetCallTranscriptionCommandOutput extends GetCallTranscriptionO
24
24
  declare const GetCallTranscriptionCommand_base: {
25
25
  new (input: GetCallTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<GetCallTranscriptionCommandInput, GetCallTranscriptionCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetCallTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<GetCallTranscriptionCommandInput, GetCallTranscriptionCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets the transcription for a call by callId and flowIndex.
@@ -24,9 +24,7 @@ export interface GetCallTranscriptionTextCommandOutput extends GetCallTranscript
24
24
  declare const GetCallTranscriptionTextCommand_base: {
25
25
  new (input: GetCallTranscriptionTextCommandInput): import("@smithy/core/client").CommandImpl<GetCallTranscriptionTextCommandInput, GetCallTranscriptionTextCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetCallTranscriptionTextCommandInput): import("@smithy/core/client").CommandImpl<GetCallTranscriptionTextCommandInput, GetCallTranscriptionTextCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets the transcription text and chunks for a call by callId and flowIndex.
@@ -24,9 +24,7 @@ export interface GetChatAnnotationsCommandOutput extends GetChatAnnotationsOutpu
24
24
  declare const GetChatAnnotationsCommand_base: {
25
25
  new (input: GetChatAnnotationsCommandInput): import("@smithy/core/client").CommandImpl<GetChatAnnotationsCommandInput, GetChatAnnotationsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetChatAnnotationsCommandInput): import("@smithy/core/client").CommandImpl<GetChatAnnotationsCommandInput, GetChatAnnotationsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets annotations for a chat by chatId.
@@ -24,9 +24,7 @@ export interface GetChatCommandOutput extends GetChatOutput, __MetadataBearer {
24
24
  declare const GetChatCommand_base: {
25
25
  new (input: GetChatCommandInput): import("@smithy/core/client").CommandImpl<GetChatCommandInput, GetChatCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetChatCommandInput): import("@smithy/core/client").CommandImpl<GetChatCommandInput, GetChatCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets a chat by chatId.
@@ -24,9 +24,7 @@ export interface GetChatTranscriptionCommandOutput extends GetChatTranscriptionO
24
24
  declare const GetChatTranscriptionCommand_base: {
25
25
  new (input: GetChatTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<GetChatTranscriptionCommandInput, GetChatTranscriptionCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetChatTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<GetChatTranscriptionCommandInput, GetChatTranscriptionCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets the transcription for a chat by chatId.
@@ -24,9 +24,7 @@ export interface GetChatTranscriptionTextCommandOutput extends GetChatTranscript
24
24
  declare const GetChatTranscriptionTextCommand_base: {
25
25
  new (input: GetChatTranscriptionTextCommandInput): import("@smithy/core/client").CommandImpl<GetChatTranscriptionTextCommandInput, GetChatTranscriptionTextCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetChatTranscriptionTextCommandInput): import("@smithy/core/client").CommandImpl<GetChatTranscriptionTextCommandInput, GetChatTranscriptionTextCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets the transcription text and chunks for a chat by chatId.
@@ -24,9 +24,7 @@ export interface GetConferenceAnnotationsCommandOutput extends GetConferenceAnno
24
24
  declare const GetConferenceAnnotationsCommand_base: {
25
25
  new (input: GetConferenceAnnotationsCommandInput): import("@smithy/core/client").CommandImpl<GetConferenceAnnotationsCommandInput, GetConferenceAnnotationsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetConferenceAnnotationsCommandInput): import("@smithy/core/client").CommandImpl<GetConferenceAnnotationsCommandInput, GetConferenceAnnotationsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets annotations for a conference by conferenceId.
@@ -24,9 +24,7 @@ export interface GetConferenceCommandOutput extends GetConferenceOutput, __Metad
24
24
  declare const GetConferenceCommand_base: {
25
25
  new (input: GetConferenceCommandInput): import("@smithy/core/client").CommandImpl<GetConferenceCommandInput, GetConferenceCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetConferenceCommandInput): import("@smithy/core/client").CommandImpl<GetConferenceCommandInput, GetConferenceCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets a conference by conferenceId.
@@ -24,9 +24,7 @@ export interface GetConferenceTranscriptionCommandOutput extends GetConferenceTr
24
24
  declare const GetConferenceTranscriptionCommand_base: {
25
25
  new (input: GetConferenceTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<GetConferenceTranscriptionCommandInput, GetConferenceTranscriptionCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetConferenceTranscriptionCommandInput): import("@smithy/core/client").CommandImpl<GetConferenceTranscriptionCommandInput, GetConferenceTranscriptionCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets the transcription for a conference by conferenceId.
@@ -24,9 +24,7 @@ export interface GetConferenceTranscriptionTextCommandOutput extends GetConferen
24
24
  declare const GetConferenceTranscriptionTextCommand_base: {
25
25
  new (input: GetConferenceTranscriptionTextCommandInput): import("@smithy/core/client").CommandImpl<GetConferenceTranscriptionTextCommandInput, GetConferenceTranscriptionTextCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: GetConferenceTranscriptionTextCommandInput): import("@smithy/core/client").CommandImpl<GetConferenceTranscriptionTextCommandInput, GetConferenceTranscriptionTextCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Gets the transcription text and chunks for a conference by conferenceId.
@@ -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, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (...[input]: [] | [QueryConversationsCommandInput]): import("@smithy/core/client").CommandImpl<QueryConversationsCommandInput, QueryConversationsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Retrieves list of conversations using filters.
@@ -24,9 +24,7 @@ export interface QueryUserCallsCommandOutput extends QueryUserCallsOutput, __Met
24
24
  declare const QueryUserCallsCommand_base: {
25
25
  new (input: QueryUserCallsCommandInput): import("@smithy/core/client").CommandImpl<QueryUserCallsCommandInput, QueryUserCallsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (...[input]: [] | [QueryUserCallsCommandInput]): import("@smithy/core/client").CommandImpl<QueryUserCallsCommandInput, QueryUserCallsCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Retrieves list of user calls using filters.
@@ -24,9 +24,7 @@ export interface UpdateCallCommandOutput extends UpdateCallOutput, __MetadataBea
24
24
  declare const UpdateCallCommand_base: {
25
25
  new (input: UpdateCallCommandInput): import("@smithy/core/client").CommandImpl<UpdateCallCommandInput, UpdateCallCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
26
  new (input: UpdateCallCommandInput): import("@smithy/core/client").CommandImpl<UpdateCallCommandInput, UpdateCallCommandOutput, WdaHistoryClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
28
  };
31
29
  /**
32
30
  * Updates a call by callId and flowIndex. Allows modifying call metadata such as tags.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wda-history-client",
3
3
  "description": "@wildix/wda-history-client client",
4
- "version": "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",
@@ -54,4 +54,4 @@
54
54
  "react-native": {
55
55
  "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
56
56
  }
57
- }
57
+ }