@wildix/xbees-kite-client 1.5.0 → 3.1.1
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 +3 -3
- package/dist-cjs/KiteClient.js +34 -28
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-cjs/commands/CancelCalendarEventCommand.js +10 -11
- package/dist-cjs/commands/CreateOrUpdateWidgetPreviewCommand.js +10 -11
- package/dist-cjs/commands/CreateWidgetCommand.js +10 -11
- package/dist-cjs/commands/DeleteWidgetCommand.js +10 -11
- package/dist-cjs/commands/GetCalendarSlotsCommand.js +10 -11
- package/dist-cjs/commands/GetConfigCommand.js +10 -11
- package/dist-cjs/commands/GetSmsNumberConfigurationCommand.js +10 -11
- package/dist-cjs/commands/GetWhatsAppNumberConfigurationCommand.js +10 -11
- package/dist-cjs/commands/GetWidgetCommand.js +10 -11
- package/dist-cjs/commands/ListAgentsCommand.js +10 -11
- package/dist-cjs/commands/ListServicesCommand.js +10 -11
- package/dist-cjs/commands/ListSmsConfigurationsCommand.js +10 -11
- package/dist-cjs/commands/ListSmsNumbersCommand.js +10 -11
- package/dist-cjs/commands/ListWhatsAppConfigurationsCommand.js +10 -11
- package/dist-cjs/commands/ListWhatsAppNumbersCommand.js +10 -11
- package/dist-cjs/commands/ListWhatsAppTemplatesCommand.js +10 -11
- package/dist-cjs/commands/ListWidgetsCommand.js +10 -11
- package/dist-cjs/commands/PutSmsNumberConfigurationCommand.js +10 -11
- package/dist-cjs/commands/PutWhatsAppNumberConfigurationCommand.js +10 -11
- package/dist-cjs/commands/RescheduleCalendarEventCommand.js +10 -11
- package/dist-cjs/commands/ScheduleCalendarEventCommand.js +10 -11
- package/dist-cjs/commands/UpdateWidgetCommand.js +10 -11
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/bdd.js +28 -0
- package/dist-cjs/endpoint/endpointResolver.js +16 -0
- package/dist-cjs/index.js +7 -4
- package/dist-cjs/models/KiteSyntheticServiceException.js +12 -0
- package/dist-cjs/models/enums.js +80 -0
- package/dist-cjs/models/errors.js +116 -0
- package/dist-cjs/models/models_0.js +0 -303
- package/dist-cjs/runtimeConfig.browser.js +11 -11
- package/dist-cjs/runtimeConfig.js +22 -18
- package/dist-cjs/runtimeConfig.shared.js +30 -10
- package/dist-cjs/runtimeExtensions.js +6 -5
- package/dist-cjs/schemas/schemas_0.js +1160 -0
- package/dist-es/Kite.js +4 -4
- package/dist-es/KiteClient.js +30 -24
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +34 -0
- package/dist-es/commands/CancelCalendarEventCommand.js +9 -10
- package/dist-es/commands/CreateOrUpdateWidgetPreviewCommand.js +9 -10
- package/dist-es/commands/CreateWidgetCommand.js +9 -10
- package/dist-es/commands/DeleteWidgetCommand.js +9 -10
- package/dist-es/commands/GetCalendarSlotsCommand.js +9 -10
- package/dist-es/commands/GetConfigCommand.js +9 -10
- package/dist-es/commands/GetSmsNumberConfigurationCommand.js +9 -10
- package/dist-es/commands/GetWhatsAppNumberConfigurationCommand.js +9 -10
- package/dist-es/commands/GetWidgetCommand.js +9 -10
- package/dist-es/commands/ListAgentsCommand.js +9 -10
- package/dist-es/commands/ListServicesCommand.js +9 -10
- package/dist-es/commands/ListSmsConfigurationsCommand.js +9 -10
- package/dist-es/commands/ListSmsNumbersCommand.js +9 -10
- package/dist-es/commands/ListWhatsAppConfigurationsCommand.js +9 -10
- package/dist-es/commands/ListWhatsAppNumbersCommand.js +9 -10
- package/dist-es/commands/ListWhatsAppTemplatesCommand.js +9 -10
- package/dist-es/commands/ListWidgetsCommand.js +9 -10
- package/dist-es/commands/PutSmsNumberConfigurationCommand.js +9 -10
- package/dist-es/commands/PutWhatsAppNumberConfigurationCommand.js +9 -10
- package/dist-es/commands/RescheduleCalendarEventCommand.js +9 -10
- package/dist-es/commands/ScheduleCalendarEventCommand.js +9 -10
- package/dist-es/commands/UpdateWidgetCommand.js +9 -10
- package/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist-es/endpoint/bdd.js +25 -0
- package/dist-es/endpoint/endpointResolver.js +12 -0
- package/dist-es/index.js +5 -2
- package/dist-es/models/KiteSyntheticServiceException.js +8 -0
- package/dist-es/models/enums.js +77 -0
- package/dist-es/models/errors.js +105 -0
- package/dist-es/models/models_0.js +1 -294
- package/dist-es/runtimeConfig.browser.js +7 -7
- package/dist-es/runtimeConfig.js +17 -13
- package/dist-es/runtimeConfig.shared.js +24 -4
- package/dist-es/runtimeExtensions.js +6 -5
- package/dist-es/schemas/schemas_0.js +1155 -0
- package/dist-types/Kite.d.ts +23 -23
- package/dist-types/KiteClient.d.ts +52 -34
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +81 -0
- package/dist-types/commands/CancelCalendarEventCommand.d.ts +12 -8
- package/dist-types/commands/CreateOrUpdateWidgetPreviewCommand.d.ts +12 -8
- package/dist-types/commands/CreateWidgetCommand.d.ts +12 -8
- package/dist-types/commands/DeleteWidgetCommand.d.ts +12 -8
- package/dist-types/commands/GetCalendarSlotsCommand.d.ts +12 -8
- package/dist-types/commands/GetConfigCommand.d.ts +12 -8
- package/dist-types/commands/GetSmsNumberConfigurationCommand.d.ts +12 -8
- package/dist-types/commands/GetWhatsAppNumberConfigurationCommand.d.ts +12 -8
- package/dist-types/commands/GetWidgetCommand.d.ts +12 -8
- package/dist-types/commands/ListAgentsCommand.d.ts +12 -8
- package/dist-types/commands/ListServicesCommand.d.ts +12 -8
- package/dist-types/commands/ListSmsConfigurationsCommand.d.ts +12 -8
- package/dist-types/commands/ListSmsNumbersCommand.d.ts +12 -8
- package/dist-types/commands/ListWhatsAppConfigurationsCommand.d.ts +12 -8
- package/dist-types/commands/ListWhatsAppNumbersCommand.d.ts +12 -8
- package/dist-types/commands/ListWhatsAppTemplatesCommand.d.ts +12 -8
- package/dist-types/commands/ListWidgetsCommand.d.ts +12 -8
- package/dist-types/commands/PutSmsNumberConfigurationCommand.d.ts +12 -8
- package/dist-types/commands/PutWhatsAppNumberConfigurationCommand.d.ts +12 -8
- package/dist-types/commands/RescheduleCalendarEventCommand.d.ts +12 -8
- package/dist-types/commands/ScheduleCalendarEventCommand.d.ts +12 -8
- package/dist-types/commands/UpdateWidgetCommand.d.ts +12 -8
- package/dist-types/endpoint/EndpointParameters.d.ts +41 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/extensionConfiguration.d.ts +4 -3
- package/dist-types/index.d.ts +6 -2
- package/dist-types/models/{KiteServiceException.d.ts → KiteSyntheticServiceException.d.ts} +2 -2
- package/dist-types/models/enums.d.ts +197 -0
- package/dist-types/models/errors.d.ts +110 -0
- package/dist-types/models/models_0.d.ts +105 -381
- package/dist-types/runtimeConfig.browser.d.ts +35 -16
- package/dist-types/runtimeConfig.d.ts +34 -15
- package/dist-types/runtimeConfig.native.d.ts +36 -17
- package/dist-types/runtimeConfig.shared.d.ts +20 -3
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +153 -0
- package/package.json +14 -40
- package/dist-cjs/models/KiteServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/protocols/Aws_restJson1.js +0 -963
- package/dist-es/models/KiteServiceException.js +0 -8
- package/dist-es/models/index.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -916
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -200
package/dist-cjs/Kite.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Kite = void 0;
|
|
4
|
-
const
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
5
|
const CancelCalendarEventCommand_1 = require("./commands/CancelCalendarEventCommand");
|
|
6
6
|
const CreateOrUpdateWidgetPreviewCommand_1 = require("./commands/CreateOrUpdateWidgetPreviewCommand");
|
|
7
7
|
const CreateWidgetCommand_1 = require("./commands/CreateWidgetCommand");
|
|
@@ -24,7 +24,7 @@ const PutWhatsAppNumberConfigurationCommand_1 = require("./commands/PutWhatsAppN
|
|
|
24
24
|
const RescheduleCalendarEventCommand_1 = require("./commands/RescheduleCalendarEventCommand");
|
|
25
25
|
const ScheduleCalendarEventCommand_1 = require("./commands/ScheduleCalendarEventCommand");
|
|
26
26
|
const UpdateWidgetCommand_1 = require("./commands/UpdateWidgetCommand");
|
|
27
|
-
const
|
|
27
|
+
const KiteClient_1 = require("./KiteClient");
|
|
28
28
|
const commands = {
|
|
29
29
|
CancelCalendarEventCommand: CancelCalendarEventCommand_1.CancelCalendarEventCommand,
|
|
30
30
|
CreateOrUpdateWidgetPreviewCommand: CreateOrUpdateWidgetPreviewCommand_1.CreateOrUpdateWidgetPreviewCommand,
|
|
@@ -52,4 +52,4 @@ const commands = {
|
|
|
52
52
|
class Kite extends KiteClient_1.KiteClient {
|
|
53
53
|
}
|
|
54
54
|
exports.Kite = Kite;
|
|
55
|
-
(0,
|
|
55
|
+
(0, client_1.createAggregatedClient)(commands, Kite);
|
package/dist-cjs/KiteClient.js
CHANGED
|
@@ -1,40 +1,46 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.KiteClient = exports.__Client = void 0;
|
|
4
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
5
|
+
const core_1 = require("@smithy/core");
|
|
6
|
+
const client_2 = require("@smithy/core/client");
|
|
7
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return client_2.Client; } });
|
|
8
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
9
|
+
const protocols_1 = require("@smithy/core/protocols");
|
|
10
|
+
const retry_1 = require("@smithy/core/retry");
|
|
11
|
+
const schema_1 = require("@smithy/core/schema");
|
|
12
|
+
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
13
|
+
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
4
14
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
5
15
|
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
6
|
-
|
|
7
|
-
const middleware_content_length_1 = require("@smithy/middleware-content-length");
|
|
8
|
-
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
9
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
10
|
-
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
11
|
-
const smithy_utils_1 = require("@wildix/smithy-utils");
|
|
12
|
-
class KiteClient extends smithy_client_1.Client {
|
|
16
|
+
class KiteClient extends client_2.Client {
|
|
13
17
|
config;
|
|
14
18
|
constructor(...[configuration]) {
|
|
15
|
-
|
|
19
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
16
20
|
super(_config_0);
|
|
17
21
|
this.initConfig = _config_0;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
this.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
22
|
+
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
23
|
+
const _config_2 = (0, client_1.resolveUserAgentConfig)(_config_1);
|
|
24
|
+
const _config_3 = (0, retry_1.resolveRetryConfig)(_config_2);
|
|
25
|
+
const _config_4 = (0, client_1.resolveHostHeaderConfig)(_config_3);
|
|
26
|
+
const _config_5 = (0, endpoints_1.resolveEndpointConfig)(_config_4);
|
|
27
|
+
const _config_6 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_5);
|
|
28
|
+
const _config_7 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_6, configuration?.extensions || []);
|
|
29
|
+
this.config = _config_7;
|
|
30
|
+
this.middlewareStack.use((0, schema_1.getSchemaSerdePlugin)(this.config));
|
|
31
|
+
this.middlewareStack.use((0, client_1.getUserAgentPlugin)(this.config));
|
|
32
|
+
this.middlewareStack.use((0, retry_1.getRetryPlugin)(this.config));
|
|
33
|
+
this.middlewareStack.use((0, protocols_1.getContentLengthPlugin)(this.config));
|
|
34
|
+
this.middlewareStack.use((0, client_1.getHostHeaderPlugin)(this.config));
|
|
35
|
+
this.middlewareStack.use((0, client_1.getLoggerPlugin)(this.config));
|
|
36
|
+
this.middlewareStack.use((0, client_1.getRecursionDetectionPlugin)(this.config));
|
|
37
|
+
this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
38
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultKiteHttpAuthSchemeParametersProvider,
|
|
39
|
+
identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
|
|
40
|
+
"smithy.api#httpBearerAuth": config.token,
|
|
41
|
+
}),
|
|
42
|
+
}));
|
|
43
|
+
this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
|
|
38
44
|
}
|
|
39
45
|
destroy() {
|
|
40
46
|
super.destroy();
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
|
|
4
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
5
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
6
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
7
|
+
let _token = runtimeConfig.token;
|
|
8
|
+
return {
|
|
9
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
10
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
11
|
+
if (index === -1) {
|
|
12
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
13
|
+
}
|
|
14
|
+
else {
|
|
15
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
httpAuthSchemes() {
|
|
19
|
+
return _httpAuthSchemes;
|
|
20
|
+
},
|
|
21
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
22
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
23
|
+
},
|
|
24
|
+
httpAuthSchemeProvider() {
|
|
25
|
+
return _httpAuthSchemeProvider;
|
|
26
|
+
},
|
|
27
|
+
setToken(token) {
|
|
28
|
+
_token = token;
|
|
29
|
+
},
|
|
30
|
+
token() {
|
|
31
|
+
return _token;
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
|
|
36
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
37
|
+
return {
|
|
38
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
39
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
40
|
+
token: config.token(),
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveHttpAuthSchemeConfig = exports.defaultKiteHttpAuthSchemeProvider = exports.defaultKiteHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
|
+
const defaultKiteHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
|
+
return {
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
exports.defaultKiteHttpAuthSchemeParametersProvider = defaultKiteHttpAuthSchemeParametersProvider;
|
|
12
|
+
function createSmithyApiHttpBearerAuthHttpAuthOption(authParameters) {
|
|
13
|
+
return {
|
|
14
|
+
schemeId: "smithy.api#httpBearerAuth",
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function createWildixAuthApiKeysHttpAuthOption(authParameters) {
|
|
18
|
+
return {
|
|
19
|
+
schemeId: "wildix.auth#apiKeys",
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
const defaultKiteHttpAuthSchemeProvider = (authParameters) => {
|
|
23
|
+
const options = [];
|
|
24
|
+
switch (authParameters.operation) {
|
|
25
|
+
default: {
|
|
26
|
+
options.push(createSmithyApiHttpBearerAuthHttpAuthOption(authParameters));
|
|
27
|
+
options.push(createWildixAuthApiKeysHttpAuthOption(authParameters));
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return options;
|
|
31
|
+
};
|
|
32
|
+
exports.defaultKiteHttpAuthSchemeProvider = defaultKiteHttpAuthSchemeProvider;
|
|
33
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
34
|
+
const token = (0, core_1.memoizeIdentityProvider)(config.token, core_1.isIdentityExpired, core_1.doesIdentityRequireRefresh);
|
|
35
|
+
return Object.assign(config, {
|
|
36
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
37
|
+
token,
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CancelCalendarEventCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class CancelCalendarEventCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Kite", "CancelCalendarEvent", {})
|
|
15
16
|
.n("KiteClient", "CancelCalendarEventCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_CancelCalendarEventCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_CancelCalendarEventCommand)
|
|
17
|
+
.sc(schemas_0_1.CancelCalendarEvent$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.CancelCalendarEventCommand = CancelCalendarEventCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateOrUpdateWidgetPreviewCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class CreateOrUpdateWidgetPreviewCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Kite", "CreateOrUpdateWidgetPreview", {})
|
|
15
16
|
.n("KiteClient", "CreateOrUpdateWidgetPreviewCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_CreateOrUpdateWidgetPreviewCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_CreateOrUpdateWidgetPreviewCommand)
|
|
17
|
+
.sc(schemas_0_1.CreateOrUpdateWidgetPreview$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.CreateOrUpdateWidgetPreviewCommand = CreateOrUpdateWidgetPreviewCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateWidgetCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class CreateWidgetCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Kite", "CreateWidget", {})
|
|
15
16
|
.n("KiteClient", "CreateWidgetCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_CreateWidgetCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_CreateWidgetCommand)
|
|
17
|
+
.sc(schemas_0_1.CreateWidget$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.CreateWidgetCommand = CreateWidgetCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteWidgetCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class DeleteWidgetCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Kite", "DeleteWidget", {})
|
|
15
16
|
.n("KiteClient", "DeleteWidgetCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_DeleteWidgetCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_DeleteWidgetCommand)
|
|
17
|
+
.sc(schemas_0_1.DeleteWidget$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.DeleteWidgetCommand = DeleteWidgetCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetCalendarSlotsCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class GetCalendarSlotsCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Kite", "GetCalendarSlots", {})
|
|
15
16
|
.n("KiteClient", "GetCalendarSlotsCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_GetCalendarSlotsCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_GetCalendarSlotsCommand)
|
|
17
|
+
.sc(schemas_0_1.GetCalendarSlots$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.GetCalendarSlotsCommand = GetCalendarSlotsCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetConfigCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class GetConfigCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Kite", "GetConfig", {})
|
|
15
16
|
.n("KiteClient", "GetConfigCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_GetConfigCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_GetConfigCommand)
|
|
17
|
+
.sc(schemas_0_1.GetConfig$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.GetConfigCommand = GetConfigCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetSmsNumberConfigurationCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class GetSmsNumberConfigurationCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Kite", "GetSmsNumberConfiguration", {})
|
|
15
16
|
.n("KiteClient", "GetSmsNumberConfigurationCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_GetSmsNumberConfigurationCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_GetSmsNumberConfigurationCommand)
|
|
17
|
+
.sc(schemas_0_1.GetSmsNumberConfiguration$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.GetSmsNumberConfigurationCommand = GetSmsNumberConfigurationCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetWhatsAppNumberConfigurationCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class GetWhatsAppNumberConfigurationCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Kite", "GetWhatsAppNumberConfiguration", {})
|
|
15
16
|
.n("KiteClient", "GetWhatsAppNumberConfigurationCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_GetWhatsAppNumberConfigurationCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_GetWhatsAppNumberConfigurationCommand)
|
|
17
|
+
.sc(schemas_0_1.GetWhatsAppNumberConfiguration$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.GetWhatsAppNumberConfigurationCommand = GetWhatsAppNumberConfigurationCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetWidgetCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class GetWidgetCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Kite", "GetWidget", {})
|
|
15
16
|
.n("KiteClient", "GetWidgetCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_GetWidgetCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_GetWidgetCommand)
|
|
17
|
+
.sc(schemas_0_1.GetWidget$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.GetWidgetCommand = GetWidgetCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListAgentsCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class ListAgentsCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Kite", "ListAgents", {})
|
|
15
16
|
.n("KiteClient", "ListAgentsCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_ListAgentsCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_ListAgentsCommand)
|
|
17
|
+
.sc(schemas_0_1.ListAgents$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.ListAgentsCommand = ListAgentsCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListServicesCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class ListServicesCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Kite", "ListServices", {})
|
|
15
16
|
.n("KiteClient", "ListServicesCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_ListServicesCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_ListServicesCommand)
|
|
17
|
+
.sc(schemas_0_1.ListServices$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.ListServicesCommand = ListServicesCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListSmsConfigurationsCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class ListSmsConfigurationsCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Kite", "ListSmsConfigurations", {})
|
|
15
16
|
.n("KiteClient", "ListSmsConfigurationsCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_ListSmsConfigurationsCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_ListSmsConfigurationsCommand)
|
|
17
|
+
.sc(schemas_0_1.ListSmsConfigurations$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.ListSmsConfigurationsCommand = ListSmsConfigurationsCommand;
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListSmsNumbersCommand = exports.$Command = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return client_1.Command; } });
|
|
6
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
7
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
8
|
+
const schemas_0_1 = require("../schemas/schemas_0");
|
|
9
|
+
class ListSmsNumbersCommand extends client_1.Command
|
|
10
|
+
.classBuilder()
|
|
11
|
+
.ep(EndpointParameters_1.commonParams)
|
|
9
12
|
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [
|
|
11
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
12
|
-
];
|
|
13
|
+
return [(0, endpoints_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())];
|
|
13
14
|
})
|
|
14
15
|
.s("Kite", "ListSmsNumbers", {})
|
|
15
16
|
.n("KiteClient", "ListSmsNumbersCommand")
|
|
16
|
-
.
|
|
17
|
-
.ser(Aws_restJson1_1.se_ListSmsNumbersCommand)
|
|
18
|
-
.de(Aws_restJson1_1.de_ListSmsNumbersCommand)
|
|
17
|
+
.sc(schemas_0_1.ListSmsNumbers$)
|
|
19
18
|
.build() {
|
|
20
19
|
}
|
|
21
20
|
exports.ListSmsNumbersCommand = ListSmsNumbersCommand;
|