@wildix/wms-api-client 1.1.7 → 1.1.8

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.
@@ -9,6 +9,7 @@ const GetPbxCallGroupsCommand_1 = require("./commands/GetPbxCallGroupsCommand");
9
9
  const GetPbxColleaguesCommand_1 = require("./commands/GetPbxColleaguesCommand");
10
10
  const GetPbxOAuth2ClientsCommand_1 = require("./commands/GetPbxOAuth2ClientsCommand");
11
11
  const GetPbxesCommand_1 = require("./commands/GetPbxesCommand");
12
+ const OriginateCallCommand_1 = require("./commands/OriginateCallCommand");
12
13
  const UpdatePbxOAuth2ClientCommand_1 = require("./commands/UpdatePbxOAuth2ClientCommand");
13
14
  const smithy_client_1 = require("@smithy/smithy-client");
14
15
  const commands = {
@@ -19,6 +20,7 @@ const commands = {
19
20
  GetPbxColleaguesCommand: GetPbxColleaguesCommand_1.GetPbxColleaguesCommand,
20
21
  GetPbxesCommand: GetPbxesCommand_1.GetPbxesCommand,
21
22
  GetPbxOAuth2ClientsCommand: GetPbxOAuth2ClientsCommand_1.GetPbxOAuth2ClientsCommand,
23
+ OriginateCallCommand: OriginateCallCommand_1.OriginateCallCommand,
22
24
  UpdatePbxOAuth2ClientCommand: UpdatePbxOAuth2ClientCommand_1.UpdatePbxOAuth2ClientCommand,
23
25
  };
24
26
  class WmsApi extends WmsApiClient_1.WmsApiClient {
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OriginateCallCommand = 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 OriginateCallCommand 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("WmsApi", "OriginateCall", {})
15
+ .n("WmsApiClient", "OriginateCallCommand")
16
+ .f(void 0, void 0)
17
+ .ser(Aws_restJson1_1.se_OriginateCallCommand)
18
+ .de(Aws_restJson1_1.de_OriginateCallCommand)
19
+ .build() {
20
+ }
21
+ exports.OriginateCallCommand = OriginateCallCommand;
@@ -8,4 +8,5 @@ tslib_1.__exportStar(require("./GetPbxCallGroupsCommand"), exports);
8
8
  tslib_1.__exportStar(require("./GetPbxColleaguesCommand"), exports);
9
9
  tslib_1.__exportStar(require("./GetPbxesCommand"), exports);
10
10
  tslib_1.__exportStar(require("./GetPbxOAuth2ClientsCommand"), exports);
11
+ tslib_1.__exportStar(require("./OriginateCallCommand"), exports);
11
12
  tslib_1.__exportStar(require("./UpdatePbxOAuth2ClientCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PbxColleagueRole = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.WmsNotFoundException = exports.WmsValidationException = exports.WmsUnauthorizedException = exports.ResponseType = exports.AclGroupPermissionAbility = exports.PbxLicenseType = void 0;
3
+ exports.ResponseResult = exports.PbxColleagueRole = exports.PbxColleaguesSearchStrategy = exports.PbxColleaguesQueryField = exports.GetPbxColleaguesDir = exports.WmsNotFoundException = exports.WmsValidationException = exports.WmsUnauthorizedException = exports.ResponseType = exports.AclGroupPermissionAbility = exports.PbxLicenseType = void 0;
4
4
  const WmsApiServiceException_1 = require("./WmsApiServiceException");
5
5
  exports.PbxLicenseType = {
6
6
  BASIC: "basic",
@@ -99,3 +99,6 @@ exports.PbxColleagueRole = {
99
99
  ROOM: "room",
100
100
  USER: "user",
101
101
  };
102
+ exports.ResponseResult = {
103
+ SUCCESS: "Success",
104
+ };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_UpdatePbxOAuth2ClientCommand = exports.de_GetPbxOAuth2ClientsCommand = exports.de_GetPbxesCommand = exports.de_GetPbxColleaguesCommand = exports.de_GetPbxCallGroupsCommand = exports.de_GetPbxAclGroupsPermissionsCommand = exports.de_DeletePbxOAuth2ClientCommand = exports.de_CreatePbxOAuth2ClientCommand = exports.se_UpdatePbxOAuth2ClientCommand = exports.se_GetPbxOAuth2ClientsCommand = exports.se_GetPbxesCommand = exports.se_GetPbxColleaguesCommand = exports.se_GetPbxCallGroupsCommand = exports.se_GetPbxAclGroupsPermissionsCommand = exports.se_DeletePbxOAuth2ClientCommand = exports.se_CreatePbxOAuth2ClientCommand = void 0;
3
+ exports.de_UpdatePbxOAuth2ClientCommand = exports.de_OriginateCallCommand = exports.de_GetPbxOAuth2ClientsCommand = exports.de_GetPbxesCommand = exports.de_GetPbxColleaguesCommand = exports.de_GetPbxCallGroupsCommand = exports.de_GetPbxAclGroupsPermissionsCommand = exports.de_DeletePbxOAuth2ClientCommand = exports.de_CreatePbxOAuth2ClientCommand = exports.se_UpdatePbxOAuth2ClientCommand = exports.se_OriginateCallCommand = exports.se_GetPbxOAuth2ClientsCommand = exports.se_GetPbxesCommand = exports.se_GetPbxColleaguesCommand = exports.se_GetPbxCallGroupsCommand = exports.se_GetPbxAclGroupsPermissionsCommand = exports.se_DeletePbxOAuth2ClientCommand = exports.se_CreatePbxOAuth2ClientCommand = void 0;
4
4
  const WmsApiServiceException_1 = require("../models/WmsApiServiceException");
5
5
  const models_0_1 = require("../models/models_0");
6
6
  const core_1 = require("@smithy/core");
@@ -128,6 +128,24 @@ const se_GetPbxOAuth2ClientsCommand = async (input, context) => {
128
128
  return b.build();
129
129
  };
130
130
  exports.se_GetPbxOAuth2ClientsCommand = se_GetPbxOAuth2ClientsCommand;
131
+ const se_OriginateCallCommand = async (input, context) => {
132
+ const b = (0, core_1.requestBuilder)(input, context);
133
+ const headers = {
134
+ 'content-type': 'application/json',
135
+ };
136
+ b.bp("/api/v1/originate/call");
137
+ let body;
138
+ body = JSON.stringify((0, smithy_client_1.take)(input, {
139
+ 'name': [],
140
+ 'number': [],
141
+ 'postpone': [],
142
+ }));
143
+ b.m("POST")
144
+ .h(headers)
145
+ .b(body);
146
+ return b.build();
147
+ };
148
+ exports.se_OriginateCallCommand = se_OriginateCallCommand;
131
149
  const se_UpdatePbxOAuth2ClientCommand = async (input, context) => {
132
150
  const b = (0, core_1.requestBuilder)(input, context);
133
151
  const headers = {
@@ -258,6 +276,22 @@ const de_GetPbxOAuth2ClientsCommand = async (output, context) => {
258
276
  return contents;
259
277
  };
260
278
  exports.de_GetPbxOAuth2ClientsCommand = de_GetPbxOAuth2ClientsCommand;
279
+ const de_OriginateCallCommand = async (output, context) => {
280
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
281
+ return de_CommandError(output, context);
282
+ }
283
+ const contents = (0, smithy_client_1.map)({
284
+ $metadata: deserializeMetadata(output),
285
+ });
286
+ const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
287
+ const doc = (0, smithy_client_1.take)(data, {
288
+ 'result': smithy_client_1.expectString,
289
+ 'type': smithy_client_1.expectString,
290
+ });
291
+ Object.assign(contents, doc);
292
+ return contents;
293
+ };
294
+ exports.de_OriginateCallCommand = de_OriginateCallCommand;
261
295
  const de_UpdatePbxOAuth2ClientCommand = async (output, context) => {
262
296
  if (output.statusCode !== 200 && output.statusCode >= 300) {
263
297
  return de_CommandError(output, context);
package/dist-es/WmsApi.js CHANGED
@@ -6,6 +6,7 @@ import { GetPbxCallGroupsCommand, } from "./commands/GetPbxCallGroupsCommand";
6
6
  import { GetPbxColleaguesCommand, } from "./commands/GetPbxColleaguesCommand";
7
7
  import { GetPbxOAuth2ClientsCommand, } from "./commands/GetPbxOAuth2ClientsCommand";
8
8
  import { GetPbxesCommand, } from "./commands/GetPbxesCommand";
9
+ import { OriginateCallCommand, } from "./commands/OriginateCallCommand";
9
10
  import { UpdatePbxOAuth2ClientCommand, } from "./commands/UpdatePbxOAuth2ClientCommand";
10
11
  import { createAggregatedClient } from "@smithy/smithy-client";
11
12
  const commands = {
@@ -16,6 +17,7 @@ const commands = {
16
17
  GetPbxColleaguesCommand,
17
18
  GetPbxesCommand,
18
19
  GetPbxOAuth2ClientsCommand,
20
+ OriginateCallCommand,
19
21
  UpdatePbxOAuth2ClientCommand,
20
22
  };
21
23
  export class WmsApi extends WmsApiClient {
@@ -0,0 +1,17 @@
1
+ import { de_OriginateCallCommand, se_OriginateCallCommand, } 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 OriginateCallCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("WmsApi", "OriginateCall", {})
12
+ .n("WmsApiClient", "OriginateCallCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_OriginateCallCommand)
15
+ .de(de_OriginateCallCommand)
16
+ .build() {
17
+ }
@@ -5,4 +5,5 @@ export * from "./GetPbxCallGroupsCommand";
5
5
  export * from "./GetPbxColleaguesCommand";
6
6
  export * from "./GetPbxesCommand";
7
7
  export * from "./GetPbxOAuth2ClientsCommand";
8
+ export * from "./OriginateCallCommand";
8
9
  export * from "./UpdatePbxOAuth2ClientCommand";
@@ -93,3 +93,6 @@ export const PbxColleagueRole = {
93
93
  ROOM: "room",
94
94
  USER: "user",
95
95
  };
96
+ export const ResponseResult = {
97
+ SUCCESS: "Success",
98
+ };
@@ -118,6 +118,23 @@ export const se_GetPbxOAuth2ClientsCommand = async (input, context) => {
118
118
  .b(body);
119
119
  return b.build();
120
120
  };
121
+ export const se_OriginateCallCommand = async (input, context) => {
122
+ const b = rb(input, context);
123
+ const headers = {
124
+ 'content-type': 'application/json',
125
+ };
126
+ b.bp("/api/v1/originate/call");
127
+ let body;
128
+ body = JSON.stringify(take(input, {
129
+ 'name': [],
130
+ 'number': [],
131
+ 'postpone': [],
132
+ }));
133
+ b.m("POST")
134
+ .h(headers)
135
+ .b(body);
136
+ return b.build();
137
+ };
121
138
  export const se_UpdatePbxOAuth2ClientCommand = async (input, context) => {
122
139
  const b = rb(input, context);
123
140
  const headers = {
@@ -240,6 +257,21 @@ export const de_GetPbxOAuth2ClientsCommand = async (output, context) => {
240
257
  Object.assign(contents, doc);
241
258
  return contents;
242
259
  };
260
+ export const de_OriginateCallCommand = async (output, context) => {
261
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
262
+ return de_CommandError(output, context);
263
+ }
264
+ const contents = map({
265
+ $metadata: deserializeMetadata(output),
266
+ });
267
+ const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
268
+ const doc = take(data, {
269
+ 'result': __expectString,
270
+ 'type': __expectString,
271
+ });
272
+ Object.assign(contents, doc);
273
+ return contents;
274
+ };
243
275
  export const de_UpdatePbxOAuth2ClientCommand = async (output, context) => {
244
276
  if (output.statusCode !== 200 && output.statusCode >= 300) {
245
277
  return de_CommandError(output, context);
@@ -6,6 +6,7 @@ import { GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput } from "./c
6
6
  import { GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput } from "./commands/GetPbxColleaguesCommand";
7
7
  import { GetPbxOAuth2ClientsCommandInput, GetPbxOAuth2ClientsCommandOutput } from "./commands/GetPbxOAuth2ClientsCommand";
8
8
  import { GetPbxesCommandInput, GetPbxesCommandOutput } from "./commands/GetPbxesCommand";
9
+ import { OriginateCallCommandInput, OriginateCallCommandOutput } from "./commands/OriginateCallCommand";
9
10
  import { UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput } from "./commands/UpdatePbxOAuth2ClientCommand";
10
11
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
11
12
  export interface WmsApi {
@@ -56,6 +57,12 @@ export interface WmsApi {
56
57
  getPbxOAuth2Clients(args: GetPbxOAuth2ClientsCommandInput, options?: __HttpHandlerOptions): Promise<GetPbxOAuth2ClientsCommandOutput>;
57
58
  getPbxOAuth2Clients(args: GetPbxOAuth2ClientsCommandInput, cb: (err: any, data?: GetPbxOAuth2ClientsCommandOutput) => void): void;
58
59
  getPbxOAuth2Clients(args: GetPbxOAuth2ClientsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPbxOAuth2ClientsCommandOutput) => void): void;
60
+ /**
61
+ * @see {@link OriginateCallCommand}
62
+ */
63
+ originateCall(args: OriginateCallCommandInput, options?: __HttpHandlerOptions): Promise<OriginateCallCommandOutput>;
64
+ originateCall(args: OriginateCallCommandInput, cb: (err: any, data?: OriginateCallCommandOutput) => void): void;
65
+ originateCall(args: OriginateCallCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: OriginateCallCommandOutput) => void): void;
59
66
  /**
60
67
  * @see {@link UpdatePbxOAuth2ClientCommand}
61
68
  */
@@ -5,6 +5,7 @@ import { GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput } from "./c
5
5
  import { GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput } from "./commands/GetPbxColleaguesCommand";
6
6
  import { GetPbxOAuth2ClientsCommandInput, GetPbxOAuth2ClientsCommandOutput } from "./commands/GetPbxOAuth2ClientsCommand";
7
7
  import { GetPbxesCommandInput, GetPbxesCommandOutput } from "./commands/GetPbxesCommand";
8
+ import { OriginateCallCommandInput, OriginateCallCommandOutput } from "./commands/OriginateCallCommand";
8
9
  import { UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput } from "./commands/UpdatePbxOAuth2ClientCommand";
9
10
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
10
11
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
@@ -17,11 +18,11 @@ export { __Client };
17
18
  /**
18
19
  * @public
19
20
  */
20
- export type ServiceInputTypes = CreatePbxOAuth2ClientCommandInput | DeletePbxOAuth2ClientCommandInput | GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput | GetPbxOAuth2ClientsCommandInput | GetPbxesCommandInput | UpdatePbxOAuth2ClientCommandInput;
21
+ export type ServiceInputTypes = CreatePbxOAuth2ClientCommandInput | DeletePbxOAuth2ClientCommandInput | GetPbxAclGroupsPermissionsCommandInput | GetPbxCallGroupsCommandInput | GetPbxColleaguesCommandInput | GetPbxOAuth2ClientsCommandInput | GetPbxesCommandInput | OriginateCallCommandInput | UpdatePbxOAuth2ClientCommandInput;
21
22
  /**
22
23
  * @public
23
24
  */
24
- export type ServiceOutputTypes = CreatePbxOAuth2ClientCommandOutput | DeletePbxOAuth2ClientCommandOutput | GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput | GetPbxOAuth2ClientsCommandOutput | GetPbxesCommandOutput | UpdatePbxOAuth2ClientCommandOutput;
25
+ export type ServiceOutputTypes = CreatePbxOAuth2ClientCommandOutput | DeletePbxOAuth2ClientCommandOutput | GetPbxAclGroupsPermissionsCommandOutput | GetPbxCallGroupsCommandOutput | GetPbxColleaguesCommandOutput | GetPbxOAuth2ClientsCommandOutput | GetPbxesCommandOutput | OriginateCallCommandOutput | UpdatePbxOAuth2ClientCommandOutput;
25
26
  /**
26
27
  * @public
27
28
  */
@@ -0,0 +1,65 @@
1
+ import { ServiceInputTypes, ServiceOutputTypes, WmsApiClientResolvedConfig } from "../WmsApiClient";
2
+ import { OriginateCallInput, OriginateCallOutput } 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 OriginateCallCommand}.
14
+ */
15
+ export interface OriginateCallCommandInput extends OriginateCallInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link OriginateCallCommand}.
21
+ */
22
+ export interface OriginateCallCommandOutput extends OriginateCallOutput, __MetadataBearer {
23
+ }
24
+ declare const OriginateCallCommand_base: {
25
+ new (input: OriginateCallCommandInput): import("@smithy/smithy-client").CommandImpl<OriginateCallCommandInput, OriginateCallCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: OriginateCallCommandInput): import("@smithy/smithy-client").CommandImpl<OriginateCallCommandInput, OriginateCallCommandOutput, WmsApiClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Originate call
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { WmsApiClient, OriginateCallCommand } from "@wildix/wms-api-client"; // ES Modules import
35
+ * // const { WmsApiClient, OriginateCallCommand } = require("@wildix/wms-api-client"); // CommonJS import
36
+ * const client = new WmsApiClient(config);
37
+ * const input = { // OriginateCallInput
38
+ * number: "STRING_VALUE", // required
39
+ * name: "STRING_VALUE",
40
+ * postpone: "STRING_VALUE",
41
+ * };
42
+ * const command = new OriginateCallCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // OriginateCallOutput
45
+ * // type: "result" || "error", // required
46
+ * // result: "Success", // required
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param OriginateCallCommandInput - {@link OriginateCallCommandInput}
52
+ * @returns {@link OriginateCallCommandOutput}
53
+ * @see {@link OriginateCallCommandInput} for command's `input` shape.
54
+ * @see {@link OriginateCallCommandOutput} for command's `response` shape.
55
+ * @see {@link WmsApiClientResolvedConfig | config} for WmsApiClient's `config` shape.
56
+ *
57
+ * @throws {@link WmsUnauthorizedException} (client fault)
58
+ *
59
+ * @throws {@link WmsApiServiceException}
60
+ * <p>Base exception class for all service exceptions from WmsApi service.</p>
61
+ *
62
+ * @public
63
+ */
64
+ export declare class OriginateCallCommand extends OriginateCallCommand_base {
65
+ }
@@ -5,4 +5,5 @@ export * from "./GetPbxCallGroupsCommand";
5
5
  export * from "./GetPbxColleaguesCommand";
6
6
  export * from "./GetPbxesCommand";
7
7
  export * from "./GetPbxOAuth2ClientsCommand";
8
+ export * from "./OriginateCallCommand";
8
9
  export * from "./UpdatePbxOAuth2ClientCommand";
@@ -434,6 +434,44 @@ export interface GetPbxOAuth2ClientsOutput {
434
434
  type: ResponseType;
435
435
  result: GetPbxOAuth2ClientsResult;
436
436
  }
437
+ /**
438
+ * @public
439
+ * @enum
440
+ */
441
+ export declare const ResponseResult: {
442
+ readonly SUCCESS: "Success";
443
+ };
444
+ /**
445
+ * @public
446
+ */
447
+ export type ResponseResult = typeof ResponseResult[keyof typeof ResponseResult];
448
+ /**
449
+ * @public
450
+ */
451
+ export interface OriginateCallInput {
452
+ /**
453
+ * The phone number.
454
+ * @public
455
+ */
456
+ number: string;
457
+ /**
458
+ * The name
459
+ * @public
460
+ */
461
+ name?: string;
462
+ /**
463
+ * Date of sending the delayed message. (14/07/2015 15:35)
464
+ * @public
465
+ */
466
+ postpone?: string;
467
+ }
468
+ /**
469
+ * @public
470
+ */
471
+ export interface OriginateCallOutput {
472
+ type: ResponseType;
473
+ result: ResponseResult;
474
+ }
437
475
  /**
438
476
  * @public
439
477
  */
@@ -5,6 +5,7 @@ import { GetPbxCallGroupsCommandInput, GetPbxCallGroupsCommandOutput } from "../
5
5
  import { GetPbxColleaguesCommandInput, GetPbxColleaguesCommandOutput } from "../commands/GetPbxColleaguesCommand";
6
6
  import { GetPbxOAuth2ClientsCommandInput, GetPbxOAuth2ClientsCommandOutput } from "../commands/GetPbxOAuth2ClientsCommand";
7
7
  import { GetPbxesCommandInput, GetPbxesCommandOutput } from "../commands/GetPbxesCommand";
8
+ import { OriginateCallCommandInput, OriginateCallCommandOutput } from "../commands/OriginateCallCommand";
8
9
  import { UpdatePbxOAuth2ClientCommandInput, UpdatePbxOAuth2ClientCommandOutput } from "../commands/UpdatePbxOAuth2ClientCommand";
9
10
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
10
11
  import { SerdeContext as __SerdeContext } from "@smithy/types";
@@ -36,6 +37,10 @@ export declare const se_GetPbxesCommand: (input: GetPbxesCommandInput, context:
36
37
  * serializeAws_restJson1GetPbxOAuth2ClientsCommand
37
38
  */
38
39
  export declare const se_GetPbxOAuth2ClientsCommand: (input: GetPbxOAuth2ClientsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
40
+ /**
41
+ * serializeAws_restJson1OriginateCallCommand
42
+ */
43
+ export declare const se_OriginateCallCommand: (input: OriginateCallCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
39
44
  /**
40
45
  * serializeAws_restJson1UpdatePbxOAuth2ClientCommand
41
46
  */
@@ -68,6 +73,10 @@ export declare const de_GetPbxesCommand: (output: __HttpResponse, context: __Ser
68
73
  * deserializeAws_restJson1GetPbxOAuth2ClientsCommand
69
74
  */
70
75
  export declare const de_GetPbxOAuth2ClientsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPbxOAuth2ClientsCommandOutput>;
76
+ /**
77
+ * deserializeAws_restJson1OriginateCallCommand
78
+ */
79
+ export declare const de_OriginateCallCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<OriginateCallCommandOutput>;
71
80
  /**
72
81
  * deserializeAws_restJson1UpdatePbxOAuth2ClientCommand
73
82
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/wms-api-client",
3
3
  "description": "@wildix/wms-api-client client",
4
- "version": "1.1.7",
4
+ "version": "1.1.8",
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",