@wildix/xbees-kite-client 1.0.9 → 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.
Files changed (32) hide show
  1. package/dist-cjs/Kite.js +8 -2
  2. package/dist-cjs/commands/CancelCalendarEventCommand.js +21 -0
  3. package/dist-cjs/commands/{ListCalendarSlotsCommand.js → GetCalendarSlotsCommand.js} +7 -7
  4. package/dist-cjs/commands/RescheduleCalendarEventCommand.js +21 -0
  5. package/dist-cjs/commands/ScheduleCalendarEventCommand.js +21 -0
  6. package/dist-cjs/commands/index.js +4 -1
  7. package/dist-cjs/models/models_0.js +22 -2
  8. package/dist-cjs/protocols/Aws_restJson1.js +155 -24
  9. package/dist-es/Kite.js +8 -2
  10. package/dist-es/commands/CancelCalendarEventCommand.js +17 -0
  11. package/dist-es/commands/GetCalendarSlotsCommand.js +17 -0
  12. package/dist-es/commands/RescheduleCalendarEventCommand.js +17 -0
  13. package/dist-es/commands/ScheduleCalendarEventCommand.js +17 -0
  14. package/dist-es/commands/index.js +4 -1
  15. package/dist-es/models/models_0.js +21 -1
  16. package/dist-es/protocols/Aws_restJson1.js +144 -19
  17. package/dist-types/Kite.d.ts +28 -7
  18. package/dist-types/KiteClient.d.ts +6 -3
  19. package/dist-types/commands/CancelCalendarEventCommand.d.ts +146 -0
  20. package/dist-types/commands/CreateWidgetCommand.d.ts +2 -2
  21. package/dist-types/commands/GetCalendarSlotsCommand.d.ts +89 -0
  22. package/dist-types/commands/GetWidgetCommand.d.ts +1 -1
  23. package/dist-types/commands/ListWidgetsCommand.d.ts +1 -1
  24. package/dist-types/commands/RescheduleCalendarEventCommand.d.ts +155 -0
  25. package/dist-types/commands/ScheduleCalendarEventCommand.d.ts +152 -0
  26. package/dist-types/commands/UpdateWidgetCommand.d.ts +2 -2
  27. package/dist-types/commands/index.d.ts +4 -1
  28. package/dist-types/models/models_0.d.ts +272 -16
  29. package/dist-types/protocols/Aws_restJson1.d.ts +36 -9
  30. package/package.json +1 -1
  31. package/dist-es/commands/ListCalendarSlotsCommand.js +0 -17
  32. package/dist-types/commands/ListCalendarSlotsCommand.d.ts +0 -64
@@ -1,14 +1,21 @@
1
+ import { CancelCalendarEventCommandInput, CancelCalendarEventCommandOutput } from "../commands/CancelCalendarEventCommand";
1
2
  import { CreateWidgetCommandInput, CreateWidgetCommandOutput } from "../commands/CreateWidgetCommand";
2
3
  import { DeleteWidgetCommandInput, DeleteWidgetCommandOutput } from "../commands/DeleteWidgetCommand";
4
+ import { GetCalendarSlotsCommandInput, GetCalendarSlotsCommandOutput } from "../commands/GetCalendarSlotsCommand";
3
5
  import { GetConfigCommandInput, GetConfigCommandOutput } from "../commands/GetConfigCommand";
4
6
  import { GetWidgetCommandInput, GetWidgetCommandOutput } from "../commands/GetWidgetCommand";
5
7
  import { ListAgentsCommandInput, ListAgentsCommandOutput } from "../commands/ListAgentsCommand";
6
- import { ListCalendarSlotsCommandInput, ListCalendarSlotsCommandOutput } from "../commands/ListCalendarSlotsCommand";
7
8
  import { ListServicesCommandInput, ListServicesCommandOutput } from "../commands/ListServicesCommand";
8
9
  import { ListWidgetsCommandInput, ListWidgetsCommandOutput } from "../commands/ListWidgetsCommand";
10
+ import { RescheduleCalendarEventCommandInput, RescheduleCalendarEventCommandOutput } from "../commands/RescheduleCalendarEventCommand";
11
+ import { ScheduleCalendarEventCommandInput, ScheduleCalendarEventCommandOutput } from "../commands/ScheduleCalendarEventCommand";
9
12
  import { UpdateWidgetCommandInput, UpdateWidgetCommandOutput } from "../commands/UpdateWidgetCommand";
10
13
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
11
14
  import { SerdeContext as __SerdeContext } from "@smithy/types";
15
+ /**
16
+ * serializeAws_restJson1CancelCalendarEventCommand
17
+ */
18
+ export declare const se_CancelCalendarEventCommand: (input: CancelCalendarEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
12
19
  /**
13
20
  * serializeAws_restJson1CreateWidgetCommand
14
21
  */
@@ -17,6 +24,10 @@ export declare const se_CreateWidgetCommand: (input: CreateWidgetCommandInput, c
17
24
  * serializeAws_restJson1DeleteWidgetCommand
18
25
  */
19
26
  export declare const se_DeleteWidgetCommand: (input: DeleteWidgetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
+ /**
28
+ * serializeAws_restJson1GetCalendarSlotsCommand
29
+ */
30
+ export declare const se_GetCalendarSlotsCommand: (input: GetCalendarSlotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
31
  /**
21
32
  * serializeAws_restJson1GetConfigCommand
22
33
  */
@@ -29,10 +40,6 @@ export declare const se_GetWidgetCommand: (input: GetWidgetCommandInput, context
29
40
  * serializeAws_restJson1ListAgentsCommand
30
41
  */
31
42
  export declare const se_ListAgentsCommand: (input: ListAgentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
32
- /**
33
- * serializeAws_restJson1ListCalendarSlotsCommand
34
- */
35
- export declare const se_ListCalendarSlotsCommand: (input: ListCalendarSlotsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
36
43
  /**
37
44
  * serializeAws_restJson1ListServicesCommand
38
45
  */
@@ -41,10 +48,22 @@ export declare const se_ListServicesCommand: (input: ListServicesCommandInput, c
41
48
  * serializeAws_restJson1ListWidgetsCommand
42
49
  */
43
50
  export declare const se_ListWidgetsCommand: (input: ListWidgetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
51
+ /**
52
+ * serializeAws_restJson1RescheduleCalendarEventCommand
53
+ */
54
+ export declare const se_RescheduleCalendarEventCommand: (input: RescheduleCalendarEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
+ /**
56
+ * serializeAws_restJson1ScheduleCalendarEventCommand
57
+ */
58
+ export declare const se_ScheduleCalendarEventCommand: (input: ScheduleCalendarEventCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
44
59
  /**
45
60
  * serializeAws_restJson1UpdateWidgetCommand
46
61
  */
47
62
  export declare const se_UpdateWidgetCommand: (input: UpdateWidgetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
+ /**
64
+ * deserializeAws_restJson1CancelCalendarEventCommand
65
+ */
66
+ export declare const de_CancelCalendarEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelCalendarEventCommandOutput>;
48
67
  /**
49
68
  * deserializeAws_restJson1CreateWidgetCommand
50
69
  */
@@ -53,6 +72,10 @@ export declare const de_CreateWidgetCommand: (output: __HttpResponse, context: _
53
72
  * deserializeAws_restJson1DeleteWidgetCommand
54
73
  */
55
74
  export declare const de_DeleteWidgetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteWidgetCommandOutput>;
75
+ /**
76
+ * deserializeAws_restJson1GetCalendarSlotsCommand
77
+ */
78
+ export declare const de_GetCalendarSlotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCalendarSlotsCommandOutput>;
56
79
  /**
57
80
  * deserializeAws_restJson1GetConfigCommand
58
81
  */
@@ -65,10 +88,6 @@ export declare const de_GetWidgetCommand: (output: __HttpResponse, context: __Se
65
88
  * deserializeAws_restJson1ListAgentsCommand
66
89
  */
67
90
  export declare const de_ListAgentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListAgentsCommandOutput>;
68
- /**
69
- * deserializeAws_restJson1ListCalendarSlotsCommand
70
- */
71
- export declare const de_ListCalendarSlotsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCalendarSlotsCommandOutput>;
72
91
  /**
73
92
  * deserializeAws_restJson1ListServicesCommand
74
93
  */
@@ -77,6 +96,14 @@ export declare const de_ListServicesCommand: (output: __HttpResponse, context: _
77
96
  * deserializeAws_restJson1ListWidgetsCommand
78
97
  */
79
98
  export declare const de_ListWidgetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWidgetsCommandOutput>;
99
+ /**
100
+ * deserializeAws_restJson1RescheduleCalendarEventCommand
101
+ */
102
+ export declare const de_RescheduleCalendarEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RescheduleCalendarEventCommandOutput>;
103
+ /**
104
+ * deserializeAws_restJson1ScheduleCalendarEventCommand
105
+ */
106
+ export declare const de_ScheduleCalendarEventCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ScheduleCalendarEventCommandOutput>;
80
107
  /**
81
108
  * deserializeAws_restJson1UpdateWidgetCommand
82
109
  */
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.9",
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_ListCalendarSlotsCommand, se_ListCalendarSlotsCommand, } 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 ListCalendarSlotsCommand extends $Command.classBuilder()
6
- .m(function (Command, cs, config, o) {
7
- return [
8
- getSerdePlugin(config, this.serialize, this.deserialize),
9
- ];
10
- })
11
- .s("Kite", "ListCalendarSlots", {})
12
- .n("KiteClient", "ListCalendarSlotsCommand")
13
- .f(void 0, void 0)
14
- .ser(se_ListCalendarSlotsCommand)
15
- .de(de_ListCalendarSlotsCommand)
16
- .build() {
17
- }
@@ -1,64 +0,0 @@
1
- import { KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KiteClient";
2
- import { ListCalendarSlotsInput, ListCalendarSlotsOutput } 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 ListCalendarSlotsCommand}.
14
- */
15
- export interface ListCalendarSlotsCommandInput extends ListCalendarSlotsInput {
16
- }
17
- /**
18
- * @public
19
- *
20
- * The output of {@link ListCalendarSlotsCommand}.
21
- */
22
- export interface ListCalendarSlotsCommandOutput extends ListCalendarSlotsOutput, __MetadataBearer {
23
- }
24
- declare const ListCalendarSlotsCommand_base: {
25
- new (input: ListCalendarSlotsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCalendarSlotsCommandInput, ListCalendarSlotsCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (__0_0: ListCalendarSlotsCommandInput): import("@smithy/smithy-client").CommandImpl<ListCalendarSlotsCommandInput, ListCalendarSlotsCommandOutput, KiteClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
- };
29
- /**
30
- * @public
31
- *
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { KiteClient, ListCalendarSlotsCommand } from "@wildix/xbees-kite-client"; // ES Modules import
36
- * // const { KiteClient, ListCalendarSlotsCommand } = require("@wildix/xbees-kite-client"); // CommonJS import
37
- * const client = new KiteClient(config);
38
- * const input = { // ListCalendarSlotsInput
39
- * targetId: "STRING_VALUE", // required
40
- * };
41
- * const command = new ListCalendarSlotsCommand(input);
42
- * const response = await client.send(command);
43
- * // {};
44
- *
45
- * ```
46
- *
47
- * @param ListCalendarSlotsCommandInput - {@link ListCalendarSlotsCommandInput}
48
- * @returns {@link ListCalendarSlotsCommandOutput}
49
- * @see {@link ListCalendarSlotsCommandInput} for command's `input` shape.
50
- * @see {@link ListCalendarSlotsCommandOutput} for command's `response` shape.
51
- * @see {@link KiteClientResolvedConfig | config} for KiteClient's `config` shape.
52
- *
53
- * @throws {@link ValidationException} (client fault)
54
- *
55
- * @throws {@link ForbiddenException} (client fault)
56
- *
57
- * @throws {@link RateLimitExceededException} (client fault)
58
- *
59
- * @throws {@link KiteServiceException}
60
- * <p>Base exception class for all service exceptions from Kite service.</p>
61
- *
62
- */
63
- export declare class ListCalendarSlotsCommand extends ListCalendarSlotsCommand_base {
64
- }