@wildix/xbees-kite-client 1.0.10 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/Kite.js CHANGED
@@ -5,7 +5,7 @@ const KiteClient_1 = require("./KiteClient");
5
5
  const CancelCalendarEventCommand_1 = require("./commands/CancelCalendarEventCommand");
6
6
  const CreateWidgetCommand_1 = require("./commands/CreateWidgetCommand");
7
7
  const DeleteWidgetCommand_1 = require("./commands/DeleteWidgetCommand");
8
- const GetCalendarAvailabilityCommand_1 = require("./commands/GetCalendarAvailabilityCommand");
8
+ const GetCalendarSlotsCommand_1 = require("./commands/GetCalendarSlotsCommand");
9
9
  const GetConfigCommand_1 = require("./commands/GetConfigCommand");
10
10
  const GetWidgetCommand_1 = require("./commands/GetWidgetCommand");
11
11
  const ListAgentsCommand_1 = require("./commands/ListAgentsCommand");
@@ -19,7 +19,7 @@ const commands = {
19
19
  CancelCalendarEventCommand: CancelCalendarEventCommand_1.CancelCalendarEventCommand,
20
20
  CreateWidgetCommand: CreateWidgetCommand_1.CreateWidgetCommand,
21
21
  DeleteWidgetCommand: DeleteWidgetCommand_1.DeleteWidgetCommand,
22
- GetCalendarAvailabilityCommand: GetCalendarAvailabilityCommand_1.GetCalendarAvailabilityCommand,
22
+ GetCalendarSlotsCommand: GetCalendarSlotsCommand_1.GetCalendarSlotsCommand,
23
23
  GetConfigCommand: GetConfigCommand_1.GetConfigCommand,
24
24
  GetWidgetCommand: GetWidgetCommand_1.GetWidgetCommand,
25
25
  ListAgentsCommand: ListAgentsCommand_1.ListAgentsCommand,
@@ -1,21 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCalendarAvailabilityCommand = exports.$Command = void 0;
3
+ exports.GetCalendarSlotsCommand = exports.$Command = void 0;
4
4
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- class GetCalendarAvailabilityCommand extends smithy_client_1.Command.classBuilder()
8
+ class GetCalendarSlotsCommand extends smithy_client_1.Command.classBuilder()
9
9
  .m(function (Command, cs, config, o) {
10
10
  return [
11
11
  (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
12
12
  ];
13
13
  })
14
- .s("Kite", "GetCalendarAvailability", {})
15
- .n("KiteClient", "GetCalendarAvailabilityCommand")
14
+ .s("Kite", "GetCalendarSlots", {})
15
+ .n("KiteClient", "GetCalendarSlotsCommand")
16
16
  .f(void 0, void 0)
17
- .ser(Aws_restJson1_1.se_GetCalendarAvailabilityCommand)
18
- .de(Aws_restJson1_1.de_GetCalendarAvailabilityCommand)
17
+ .ser(Aws_restJson1_1.se_GetCalendarSlotsCommand)
18
+ .de(Aws_restJson1_1.de_GetCalendarSlotsCommand)
19
19
  .build() {
20
20
  }
21
- exports.GetCalendarAvailabilityCommand = GetCalendarAvailabilityCommand;
21
+ exports.GetCalendarSlotsCommand = GetCalendarSlotsCommand;
@@ -4,7 +4,7 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./CancelCalendarEventCommand"), exports);
5
5
  tslib_1.__exportStar(require("./CreateWidgetCommand"), exports);
6
6
  tslib_1.__exportStar(require("./DeleteWidgetCommand"), exports);
7
- tslib_1.__exportStar(require("./GetCalendarAvailabilityCommand"), exports);
7
+ tslib_1.__exportStar(require("./GetCalendarSlotsCommand"), exports);
8
8
  tslib_1.__exportStar(require("./GetConfigCommand"), exports);
9
9
  tslib_1.__exportStar(require("./GetWidgetCommand"), exports);
10
10
  tslib_1.__exportStar(require("./ListAgentsCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_UpdateWidgetCommand = exports.de_ScheduleCalendarEventCommand = exports.de_RescheduleCalendarEventCommand = exports.de_ListWidgetsCommand = exports.de_ListServicesCommand = exports.de_ListAgentsCommand = exports.de_GetWidgetCommand = exports.de_GetConfigCommand = exports.de_GetCalendarAvailabilityCommand = exports.de_DeleteWidgetCommand = exports.de_CreateWidgetCommand = exports.de_CancelCalendarEventCommand = exports.se_UpdateWidgetCommand = exports.se_ScheduleCalendarEventCommand = exports.se_RescheduleCalendarEventCommand = exports.se_ListWidgetsCommand = exports.se_ListServicesCommand = exports.se_ListAgentsCommand = exports.se_GetWidgetCommand = exports.se_GetConfigCommand = exports.se_GetCalendarAvailabilityCommand = exports.se_DeleteWidgetCommand = exports.se_CreateWidgetCommand = exports.se_CancelCalendarEventCommand = void 0;
3
+ exports.de_UpdateWidgetCommand = exports.de_ScheduleCalendarEventCommand = exports.de_RescheduleCalendarEventCommand = exports.de_ListWidgetsCommand = exports.de_ListServicesCommand = exports.de_ListAgentsCommand = exports.de_GetWidgetCommand = exports.de_GetConfigCommand = exports.de_GetCalendarSlotsCommand = exports.de_DeleteWidgetCommand = exports.de_CreateWidgetCommand = exports.de_CancelCalendarEventCommand = exports.se_UpdateWidgetCommand = exports.se_ScheduleCalendarEventCommand = exports.se_RescheduleCalendarEventCommand = exports.se_ListWidgetsCommand = exports.se_ListServicesCommand = exports.se_ListAgentsCommand = exports.se_GetWidgetCommand = exports.se_GetConfigCommand = exports.se_GetCalendarSlotsCommand = exports.se_DeleteWidgetCommand = exports.se_CreateWidgetCommand = exports.se_CancelCalendarEventCommand = void 0;
4
4
  const KiteServiceException_1 = require("../models/KiteServiceException");
5
5
  const models_0_1 = require("../models/models_0");
6
6
  const core_1 = require("@smithy/core");
@@ -59,10 +59,10 @@ const se_DeleteWidgetCommand = async (input, context) => {
59
59
  return b.build();
60
60
  };
61
61
  exports.se_DeleteWidgetCommand = se_DeleteWidgetCommand;
62
- const se_GetCalendarAvailabilityCommand = async (input, context) => {
62
+ const se_GetCalendarSlotsCommand = async (input, context) => {
63
63
  const b = (0, core_1.requestBuilder)(input, context);
64
64
  const headers = {};
65
- b.bp("/v2/kite/calendar/widgets/{targetId}/availability");
65
+ b.bp("/v2/kite/calendar/widgets/{targetId}/slots");
66
66
  b.p('targetId', () => input.targetId, '{targetId}', false);
67
67
  const query = (0, smithy_client_1.map)({
68
68
  [_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `from`)],
@@ -78,7 +78,7 @@ const se_GetCalendarAvailabilityCommand = async (input, context) => {
78
78
  .b(body);
79
79
  return b.build();
80
80
  };
81
- exports.se_GetCalendarAvailabilityCommand = se_GetCalendarAvailabilityCommand;
81
+ exports.se_GetCalendarSlotsCommand = se_GetCalendarSlotsCommand;
82
82
  const se_GetConfigCommand = async (input, context) => {
83
83
  const b = (0, core_1.requestBuilder)(input, context);
84
84
  const headers = {};
@@ -271,7 +271,7 @@ const de_DeleteWidgetCommand = async (output, context) => {
271
271
  return contents;
272
272
  };
273
273
  exports.de_DeleteWidgetCommand = de_DeleteWidgetCommand;
274
- const de_GetCalendarAvailabilityCommand = async (output, context) => {
274
+ const de_GetCalendarSlotsCommand = async (output, context) => {
275
275
  if (output.statusCode !== 200 && output.statusCode >= 300) {
276
276
  return de_CommandError(output, context);
277
277
  }
@@ -280,12 +280,12 @@ const de_GetCalendarAvailabilityCommand = async (output, context) => {
280
280
  });
281
281
  const data = (0, smithy_client_1.expectNonNull)(((0, smithy_client_1.expectObject)(await parseBody(output.body, context))), "body");
282
282
  const doc = (0, smithy_client_1.take)(data, {
283
- 'availability': smithy_client_1._json,
283
+ 'calendar': smithy_client_1._json,
284
284
  });
285
285
  Object.assign(contents, doc);
286
286
  return contents;
287
287
  };
288
- exports.de_GetCalendarAvailabilityCommand = de_GetCalendarAvailabilityCommand;
288
+ exports.de_GetCalendarSlotsCommand = de_GetCalendarSlotsCommand;
289
289
  const de_GetConfigCommand = async (output, context) => {
290
290
  if (output.statusCode !== 200 && output.statusCode >= 300) {
291
291
  return de_CommandError(output, context);
package/dist-es/Kite.js CHANGED
@@ -2,7 +2,7 @@ import { KiteClient, } from "./KiteClient";
2
2
  import { CancelCalendarEventCommand, } from "./commands/CancelCalendarEventCommand";
3
3
  import { CreateWidgetCommand, } from "./commands/CreateWidgetCommand";
4
4
  import { DeleteWidgetCommand, } from "./commands/DeleteWidgetCommand";
5
- import { GetCalendarAvailabilityCommand, } from "./commands/GetCalendarAvailabilityCommand";
5
+ import { GetCalendarSlotsCommand, } from "./commands/GetCalendarSlotsCommand";
6
6
  import { GetConfigCommand, } from "./commands/GetConfigCommand";
7
7
  import { GetWidgetCommand, } from "./commands/GetWidgetCommand";
8
8
  import { ListAgentsCommand, } from "./commands/ListAgentsCommand";
@@ -16,7 +16,7 @@ const commands = {
16
16
  CancelCalendarEventCommand,
17
17
  CreateWidgetCommand,
18
18
  DeleteWidgetCommand,
19
- GetCalendarAvailabilityCommand,
19
+ GetCalendarSlotsCommand,
20
20
  GetConfigCommand,
21
21
  GetWidgetCommand,
22
22
  ListAgentsCommand,
@@ -0,0 +1,17 @@
1
+ import { de_GetCalendarSlotsCommand, se_GetCalendarSlotsCommand, } 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 GetCalendarSlotsCommand extends $Command.classBuilder()
6
+ .m(function (Command, cs, config, o) {
7
+ return [
8
+ getSerdePlugin(config, this.serialize, this.deserialize),
9
+ ];
10
+ })
11
+ .s("Kite", "GetCalendarSlots", {})
12
+ .n("KiteClient", "GetCalendarSlotsCommand")
13
+ .f(void 0, void 0)
14
+ .ser(se_GetCalendarSlotsCommand)
15
+ .de(de_GetCalendarSlotsCommand)
16
+ .build() {
17
+ }
@@ -1,7 +1,7 @@
1
1
  export * from "./CancelCalendarEventCommand";
2
2
  export * from "./CreateWidgetCommand";
3
3
  export * from "./DeleteWidgetCommand";
4
- export * from "./GetCalendarAvailabilityCommand";
4
+ export * from "./GetCalendarSlotsCommand";
5
5
  export * from "./GetConfigCommand";
6
6
  export * from "./GetWidgetCommand";
7
7
  export * from "./ListAgentsCommand";
@@ -53,10 +53,10 @@ export const se_DeleteWidgetCommand = async (input, context) => {
53
53
  .b(body);
54
54
  return b.build();
55
55
  };
56
- export const se_GetCalendarAvailabilityCommand = async (input, context) => {
56
+ export const se_GetCalendarSlotsCommand = async (input, context) => {
57
57
  const b = rb(input, context);
58
58
  const headers = {};
59
- b.bp("/v2/kite/calendar/widgets/{targetId}/availability");
59
+ b.bp("/v2/kite/calendar/widgets/{targetId}/slots");
60
60
  b.p('targetId', () => input.targetId, '{targetId}', false);
61
61
  const query = map({
62
62
  [_f]: [, __expectNonNull(input[_f], `from`)],
@@ -253,7 +253,7 @@ export const de_DeleteWidgetCommand = async (output, context) => {
253
253
  await collectBody(output.body, context);
254
254
  return contents;
255
255
  };
256
- export const de_GetCalendarAvailabilityCommand = async (output, context) => {
256
+ export const de_GetCalendarSlotsCommand = async (output, context) => {
257
257
  if (output.statusCode !== 200 && output.statusCode >= 300) {
258
258
  return de_CommandError(output, context);
259
259
  }
@@ -262,7 +262,7 @@ export const de_GetCalendarAvailabilityCommand = async (output, context) => {
262
262
  });
263
263
  const data = __expectNonNull((__expectObject(await parseBody(output.body, context))), "body");
264
264
  const doc = take(data, {
265
- 'availability': _json,
265
+ 'calendar': _json,
266
266
  });
267
267
  Object.assign(contents, doc);
268
268
  return contents;
@@ -2,7 +2,7 @@ import { KiteClient } from "./KiteClient";
2
2
  import { CancelCalendarEventCommandInput, CancelCalendarEventCommandOutput } from "./commands/CancelCalendarEventCommand";
3
3
  import { CreateWidgetCommandInput, CreateWidgetCommandOutput } from "./commands/CreateWidgetCommand";
4
4
  import { DeleteWidgetCommandInput, DeleteWidgetCommandOutput } from "./commands/DeleteWidgetCommand";
5
- import { GetCalendarAvailabilityCommandInput, GetCalendarAvailabilityCommandOutput } from "./commands/GetCalendarAvailabilityCommand";
5
+ import { GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput } from "./commands/GetCalendarSlotsCommand";
6
6
  import { GetConfigCommandInput, GetConfigCommandOutput } from "./commands/GetConfigCommand";
7
7
  import { GetWidgetCommandInput, GetWidgetCommandOutput } from "./commands/GetWidgetCommand";
8
8
  import { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
@@ -32,11 +32,11 @@ export interface Kite {
32
32
  deleteWidget(args: DeleteWidgetCommandInput, cb: (err: any, data?: DeleteWidgetCommandOutput) => void): void;
33
33
  deleteWidget(args: DeleteWidgetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteWidgetCommandOutput) => void): void;
34
34
  /**
35
- * @see {@link GetCalendarAvailabilityCommand}
35
+ * @see {@link GetCalendarSlotsCommand}
36
36
  */
37
- getCalendarAvailability(args: GetCalendarAvailabilityCommandInput, options?: __HttpHandlerOptions): Promise<GetCalendarAvailabilityCommandOutput>;
38
- getCalendarAvailability(args: GetCalendarAvailabilityCommandInput, cb: (err: any, data?: GetCalendarAvailabilityCommandOutput) => void): void;
39
- getCalendarAvailability(args: GetCalendarAvailabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCalendarAvailabilityCommandOutput) => void): void;
37
+ getCalendarSlots(args: GetCalendarSlotsCommandInput, options?: __HttpHandlerOptions): Promise<GetCalendarSlotsCommandOutput>;
38
+ getCalendarSlots(args: GetCalendarSlotsCommandInput, cb: (err: any, data?: GetCalendarSlotsCommandOutput) => void): void;
39
+ getCalendarSlots(args: GetCalendarSlotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCalendarSlotsCommandOutput) => void): void;
40
40
  /**
41
41
  * @see {@link GetConfigCommand}
42
42
  */
@@ -1,7 +1,7 @@
1
1
  import { CancelCalendarEventCommandInput, CancelCalendarEventCommandOutput } from "./commands/CancelCalendarEventCommand";
2
2
  import { CreateWidgetCommandInput, CreateWidgetCommandOutput } from "./commands/CreateWidgetCommand";
3
3
  import { DeleteWidgetCommandInput, DeleteWidgetCommandOutput } from "./commands/DeleteWidgetCommand";
4
- import { GetCalendarAvailabilityCommandInput, GetCalendarAvailabilityCommandOutput } from "./commands/GetCalendarAvailabilityCommand";
4
+ import { GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput } from "./commands/GetCalendarSlotsCommand";
5
5
  import { GetConfigCommandInput, GetConfigCommandOutput } from "./commands/GetConfigCommand";
6
6
  import { GetWidgetCommandInput, GetWidgetCommandOutput } from "./commands/GetWidgetCommand";
7
7
  import { ListAgentsCommandInput, ListAgentsCommandOutput } from "./commands/ListAgentsCommand";
@@ -21,11 +21,11 @@ export { __Client };
21
21
  /**
22
22
  * @public
23
23
  */
24
- export type ServiceInputTypes = CancelCalendarEventCommandInput | CreateWidgetCommandInput | DeleteWidgetCommandInput | GetCalendarAvailabilityCommandInput | GetConfigCommandInput | GetWidgetCommandInput | ListAgentsCommandInput | ListServicesCommandInput | ListWidgetsCommandInput | RescheduleCalendarEventCommandInput | ScheduleCalendarEventCommandInput | UpdateWidgetCommandInput;
24
+ export type ServiceInputTypes = CancelCalendarEventCommandInput | CreateWidgetCommandInput | DeleteWidgetCommandInput | GetCalendarSlotsCommandInput | GetConfigCommandInput | GetWidgetCommandInput | ListAgentsCommandInput | ListServicesCommandInput | ListWidgetsCommandInput | RescheduleCalendarEventCommandInput | ScheduleCalendarEventCommandInput | UpdateWidgetCommandInput;
25
25
  /**
26
26
  * @public
27
27
  */
28
- export type ServiceOutputTypes = CancelCalendarEventCommandOutput | CreateWidgetCommandOutput | DeleteWidgetCommandOutput | GetCalendarAvailabilityCommandOutput | GetConfigCommandOutput | GetWidgetCommandOutput | ListAgentsCommandOutput | ListServicesCommandOutput | ListWidgetsCommandOutput | RescheduleCalendarEventCommandOutput | ScheduleCalendarEventCommandOutput | UpdateWidgetCommandOutput;
28
+ export type ServiceOutputTypes = CancelCalendarEventCommandOutput | CreateWidgetCommandOutput | DeleteWidgetCommandOutput | GetCalendarSlotsCommandOutput | GetConfigCommandOutput | GetWidgetCommandOutput | ListAgentsCommandOutput | ListServicesCommandOutput | ListWidgetsCommandOutput | RescheduleCalendarEventCommandOutput | ScheduleCalendarEventCommandOutput | UpdateWidgetCommandOutput;
29
29
  /**
30
30
  * @public
31
31
  */
@@ -1,5 +1,5 @@
1
1
  import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
- import { GetCalendarAvailabilityInput, GetCalendarAvailabilityOutput } from "../models/models_0";
2
+ import { GetCalendarSlotsInput, GetCalendarSlotsOutput } from "../models/models_0";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
5
5
  /**
@@ -10,20 +10,20 @@ export { $Command };
10
10
  /**
11
11
  * @public
12
12
  *
13
- * The input for {@link GetCalendarAvailabilityCommand}.
13
+ * The input for {@link GetCalendarSlotsCommand}.
14
14
  */
15
- export interface GetCalendarAvailabilityCommandInput extends GetCalendarAvailabilityInput {
15
+ export interface GetCalendarSlotsCommandInput extends GetCalendarSlotsInput {
16
16
  }
17
17
  /**
18
18
  * @public
19
19
  *
20
- * The output of {@link GetCalendarAvailabilityCommand}.
20
+ * The output of {@link GetCalendarSlotsCommand}.
21
21
  */
22
- export interface GetCalendarAvailabilityCommandOutput extends GetCalendarAvailabilityOutput, __MetadataBearer {
22
+ export interface GetCalendarSlotsCommandOutput extends GetCalendarSlotsOutput, __MetadataBearer {
23
23
  }
24
- declare const GetCalendarAvailabilityCommand_base: {
25
- new (input: GetCalendarAvailabilityCommandInput): import("@smithy/smithy-client").CommandImpl<GetCalendarAvailabilityCommandInput, GetCalendarAvailabilityCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: GetCalendarAvailabilityCommandInput): import("@smithy/smithy-client").CommandImpl<GetCalendarAvailabilityCommandInput, GetCalendarAvailabilityCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
24
+ declare const GetCalendarSlotsCommand_base: {
25
+ new (input: GetCalendarSlotsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetCalendarSlotsCommandInput): import("@smithy/smithy-client").CommandImpl<GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
@@ -32,10 +32,10 @@ declare const GetCalendarAvailabilityCommand_base: {
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
34
34
  * ```javascript
35
- * import { KiteClient, GetCalendarAvailabilityCommand } from "@wildix/xbees-kite-client"; // ES Modules import
36
- * // const { KiteClient, GetCalendarAvailabilityCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
35
+ * import { KiteClient, GetCalendarSlotsCommand } from "@wildix/xbees-kite-client"; // ES Modules import
36
+ * // const { KiteClient, GetCalendarSlotsCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
37
37
  * const client = new KiteClient(config);
38
- * const input = { // GetCalendarAvailabilityInput
38
+ * const input = { // GetCalendarSlotsInput
39
39
  * targetId: "STRING_VALUE", // required
40
40
  * from: "STRING_VALUE", // required
41
41
  * till: "STRING_VALUE", // required
@@ -43,10 +43,10 @@ declare const GetCalendarAvailabilityCommand_base: {
43
43
  * timeZone: "STRING_VALUE", // required
44
44
  * excluded: "STRING_VALUE",
45
45
  * };
46
- * const command = new GetCalendarAvailabilityCommand(input);
46
+ * const command = new GetCalendarSlotsCommand(input);
47
47
  * const response = await client.send(command);
48
- * // { // GetCalendarAvailabilityOutput
49
- * // availability: { // CalendarAvailability
48
+ * // { // GetCalendarSlotsOutput
49
+ * // calendar: { // CalendarAvailability
50
50
  * // days: [ // CalendarDaySlotsList
51
51
  * // { // CalendarDaySlots
52
52
  * // date: "STRING_VALUE",
@@ -69,10 +69,10 @@ declare const GetCalendarAvailabilityCommand_base: {
69
69
  *
70
70
  * ```
71
71
  *
72
- * @param GetCalendarAvailabilityCommandInput - {@link GetCalendarAvailabilityCommandInput}
73
- * @returns {@link GetCalendarAvailabilityCommandOutput}
74
- * @see {@link GetCalendarAvailabilityCommandInput} for command's `input` shape.
75
- * @see {@link GetCalendarAvailabilityCommandOutput} for command's `response` shape.
72
+ * @param GetCalendarSlotsCommandInput - {@link GetCalendarSlotsCommandInput}
73
+ * @returns {@link GetCalendarSlotsCommandOutput}
74
+ * @see {@link GetCalendarSlotsCommandInput} for command's `input` shape.
75
+ * @see {@link GetCalendarSlotsCommandOutput} for command's `response` shape.
76
76
  * @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
77
77
  *
78
78
  * @throws {@link ValidationException} (client fault)
@@ -85,5 +85,5 @@ declare const GetCalendarAvailabilityCommand_base: {
85
85
  * <p>Base exception class for all service exceptions from Kite service.</p>
86
86
  *
87
87
  */
88
- export declare class GetCalendarAvailabilityCommand extends GetCalendarAvailabilityCommand_base {
88
+ export declare class GetCalendarSlotsCommand extends GetCalendarSlotsCommand_base {
89
89
  }
@@ -1,7 +1,7 @@
1
1
  export * from "./CancelCalendarEventCommand";
2
2
  export * from "./CreateWidgetCommand";
3
3
  export * from "./DeleteWidgetCommand";
4
- export * from "./GetCalendarAvailabilityCommand";
4
+ export * from "./GetCalendarSlotsCommand";
5
5
  export * from "./GetConfigCommand";
6
6
  export * from "./GetWidgetCommand";
7
7
  export * from "./ListAgentsCommand";
@@ -785,7 +785,7 @@ export interface DeleteWidgetOutput {
785
785
  /**
786
786
  * @public
787
787
  */
788
- export interface GetCalendarAvailabilityInput {
788
+ export interface GetCalendarSlotsInput {
789
789
  /**
790
790
  * The unique identifier of the Kite widget or email of the agent (example: 36cv69ao or john.doe@example.com).
791
791
  * @public
@@ -800,8 +800,8 @@ export interface GetCalendarAvailabilityInput {
800
800
  /**
801
801
  * @public
802
802
  */
803
- export interface GetCalendarAvailabilityOutput {
804
- availability: CalendarAvailability;
803
+ export interface GetCalendarSlotsOutput {
804
+ calendar: CalendarAvailability;
805
805
  }
806
806
  /**
807
807
  * @public
@@ -1,7 +1,7 @@
1
1
  import { CancelCalendarEventCommandInput, CancelCalendarEventCommandOutput } from "../commands/CancelCalendarEventCommand";
2
2
  import { CreateWidgetCommandInput, CreateWidgetCommandOutput } from "../commands/CreateWidgetCommand";
3
3
  import { DeleteWidgetCommandInput, DeleteWidgetCommandOutput } from "../commands/DeleteWidgetCommand";
4
- import { GetCalendarAvailabilityCommandInput, GetCalendarAvailabilityCommandOutput } from "../commands/GetCalendarAvailabilityCommand";
4
+ import { GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput } from "../commands/GetCalendarSlotsCommand";
5
5
  import { GetConfigCommandInput, GetConfigCommandOutput } from "../commands/GetConfigCommand";
6
6
  import { GetWidgetCommandInput, GetWidgetCommandOutput } from "../commands/GetWidgetCommand";
7
7
  import { ListAgentsCommandInput, ListAgentsCommandOutput } from "../commands/ListAgentsCommand";
@@ -25,9 +25,9 @@ export declare const se_CreateWidgetCommand: (input: CreateWidgetCommandInput, c
25
25
  */
26
26
  export declare const se_DeleteWidgetCommand: (input: DeleteWidgetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
27
  /**
28
- * serializeAws_restJson1GetCalendarAvailabilityCommand
28
+ * serializeAws_restJson1GetCalendarSlotsCommand
29
29
  */
30
- export declare const se_GetCalendarAvailabilityCommand: (input: GetCalendarAvailabilityCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
30
+ export declare const se_GetCalendarSlotsCommand: (input: GetCalendarSlotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
31
31
  /**
32
32
  * serializeAws_restJson1GetConfigCommand
33
33
  */
@@ -73,9 +73,9 @@ export declare const de_CreateWidgetCommand: (output: __HttpResponse, context: _
73
73
  */
74
74
  export declare const de_DeleteWidgetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWidgetCommandOutput>;
75
75
  /**
76
- * deserializeAws_restJson1GetCalendarAvailabilityCommand
76
+ * deserializeAws_restJson1GetCalendarSlotsCommand
77
77
  */
78
- export declare const de_GetCalendarAvailabilityCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCalendarAvailabilityCommandOutput>;
78
+ export declare const de_GetCalendarSlotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCalendarSlotsCommandOutput>;
79
79
  /**
80
80
  * deserializeAws_restJson1GetConfigCommand
81
81
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wildix/xbees-kite-client",
3
3
  "description": "@wildix/xbees-kite-client client",
4
- "version": "1.0.10",
4
+ "version": "1.0.11",
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",
@@ -1,17 +0,0 @@
1
- import { de_GetCalendarAvailabilityCommand, se_GetCalendarAvailabilityCommand, } 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 GetCalendarAvailabilityCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("Kite", "GetCalendarAvailability", {})
12
- .n("KiteClient", "GetCalendarAvailabilityCommand")
13
- .f(void 0, void 0)
14
- .ser(se_GetCalendarAvailabilityCommand)
15
- .de(de_GetCalendarAvailabilityCommand)
16
- .build() {
17
- }