@effect-aws/client-iot-wireless 1.10.9 → 2.0.0-beta.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.
Files changed (38) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +3 -3
  3. package/dist/dts/IoTWirelessClientInstance.d.ts +4 -2
  4. package/dist/dts/IoTWirelessClientInstance.d.ts.map +1 -1
  5. package/dist/dts/IoTWirelessService.d.ts +117 -117
  6. package/dist/dts/IoTWirelessService.d.ts.map +1 -1
  7. package/dist/dts/IoTWirelessServiceConfig.d.ts +2 -1
  8. package/dist/dts/IoTWirelessServiceConfig.d.ts.map +1 -1
  9. package/dist/esm/IoTWirelessClientInstance.js +5 -3
  10. package/dist/esm/IoTWirelessClientInstance.js.map +1 -1
  11. package/dist/esm/IoTWirelessService.js +4 -2
  12. package/dist/esm/IoTWirelessService.js.map +1 -1
  13. package/dist/esm/IoTWirelessServiceConfig.js +7 -6
  14. package/dist/esm/IoTWirelessServiceConfig.js.map +1 -1
  15. package/package.json +8 -14
  16. package/src/IoTWirelessClientInstance.ts +6 -4
  17. package/src/IoTWirelessService.ts +118 -116
  18. package/src/IoTWirelessServiceConfig.ts +8 -7
  19. package/dist/cjs/Errors.d.ts +0 -14
  20. package/dist/cjs/Errors.d.ts.map +0 -1
  21. package/dist/cjs/Errors.js +0 -13
  22. package/dist/cjs/Errors.js.map +0 -1
  23. package/dist/cjs/IoTWirelessClientInstance.d.ts +0 -24
  24. package/dist/cjs/IoTWirelessClientInstance.d.ts.map +0 -1
  25. package/dist/cjs/IoTWirelessClientInstance.js +0 -50
  26. package/dist/cjs/IoTWirelessClientInstance.js.map +0 -1
  27. package/dist/cjs/IoTWirelessService.d.ts +0 -494
  28. package/dist/cjs/IoTWirelessService.d.ts.map +0 -1
  29. package/dist/cjs/IoTWirelessService.js +0 -171
  30. package/dist/cjs/IoTWirelessService.js.map +0 -1
  31. package/dist/cjs/IoTWirelessServiceConfig.d.ts +0 -25
  32. package/dist/cjs/IoTWirelessServiceConfig.d.ts.map +0 -1
  33. package/dist/cjs/IoTWirelessServiceConfig.js +0 -35
  34. package/dist/cjs/IoTWirelessServiceConfig.js.map +0 -1
  35. package/dist/cjs/index.d.ts +0 -44
  36. package/dist/cjs/index.d.ts.map +0 -1
  37. package/dist/cjs/index.js +0 -56
  38. package/dist/cjs/index.js.map +0 -1
@@ -1,171 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.IoTWirelessService = exports.makeIoTWirelessService = void 0;
27
- /**
28
- * @since 1.0.0
29
- */
30
- const client_iot_wireless_1 = require("@aws-sdk/client-iot-wireless");
31
- const commons_1 = require("@effect-aws/commons");
32
- const effect_1 = require("effect");
33
- const Errors_js_1 = require("./Errors.js");
34
- const Instance = __importStar(require("./IoTWirelessClientInstance.js"));
35
- const IoTWirelessServiceConfig = __importStar(require("./IoTWirelessServiceConfig.js"));
36
- const commands = {
37
- AssociateAwsAccountWithPartnerAccountCommand: client_iot_wireless_1.AssociateAwsAccountWithPartnerAccountCommand,
38
- AssociateMulticastGroupWithFuotaTaskCommand: client_iot_wireless_1.AssociateMulticastGroupWithFuotaTaskCommand,
39
- AssociateWirelessDeviceWithFuotaTaskCommand: client_iot_wireless_1.AssociateWirelessDeviceWithFuotaTaskCommand,
40
- AssociateWirelessDeviceWithMulticastGroupCommand: client_iot_wireless_1.AssociateWirelessDeviceWithMulticastGroupCommand,
41
- AssociateWirelessDeviceWithThingCommand: client_iot_wireless_1.AssociateWirelessDeviceWithThingCommand,
42
- AssociateWirelessGatewayWithCertificateCommand: client_iot_wireless_1.AssociateWirelessGatewayWithCertificateCommand,
43
- AssociateWirelessGatewayWithThingCommand: client_iot_wireless_1.AssociateWirelessGatewayWithThingCommand,
44
- CancelMulticastGroupSessionCommand: client_iot_wireless_1.CancelMulticastGroupSessionCommand,
45
- CreateDestinationCommand: client_iot_wireless_1.CreateDestinationCommand,
46
- CreateDeviceProfileCommand: client_iot_wireless_1.CreateDeviceProfileCommand,
47
- CreateFuotaTaskCommand: client_iot_wireless_1.CreateFuotaTaskCommand,
48
- CreateMulticastGroupCommand: client_iot_wireless_1.CreateMulticastGroupCommand,
49
- CreateNetworkAnalyzerConfigurationCommand: client_iot_wireless_1.CreateNetworkAnalyzerConfigurationCommand,
50
- CreateServiceProfileCommand: client_iot_wireless_1.CreateServiceProfileCommand,
51
- CreateWirelessDeviceCommand: client_iot_wireless_1.CreateWirelessDeviceCommand,
52
- CreateWirelessGatewayCommand: client_iot_wireless_1.CreateWirelessGatewayCommand,
53
- CreateWirelessGatewayTaskCommand: client_iot_wireless_1.CreateWirelessGatewayTaskCommand,
54
- CreateWirelessGatewayTaskDefinitionCommand: client_iot_wireless_1.CreateWirelessGatewayTaskDefinitionCommand,
55
- DeleteDestinationCommand: client_iot_wireless_1.DeleteDestinationCommand,
56
- DeleteDeviceProfileCommand: client_iot_wireless_1.DeleteDeviceProfileCommand,
57
- DeleteFuotaTaskCommand: client_iot_wireless_1.DeleteFuotaTaskCommand,
58
- DeleteMulticastGroupCommand: client_iot_wireless_1.DeleteMulticastGroupCommand,
59
- DeleteNetworkAnalyzerConfigurationCommand: client_iot_wireless_1.DeleteNetworkAnalyzerConfigurationCommand,
60
- DeleteQueuedMessagesCommand: client_iot_wireless_1.DeleteQueuedMessagesCommand,
61
- DeleteServiceProfileCommand: client_iot_wireless_1.DeleteServiceProfileCommand,
62
- DeleteWirelessDeviceCommand: client_iot_wireless_1.DeleteWirelessDeviceCommand,
63
- DeleteWirelessDeviceImportTaskCommand: client_iot_wireless_1.DeleteWirelessDeviceImportTaskCommand,
64
- DeleteWirelessGatewayCommand: client_iot_wireless_1.DeleteWirelessGatewayCommand,
65
- DeleteWirelessGatewayTaskCommand: client_iot_wireless_1.DeleteWirelessGatewayTaskCommand,
66
- DeleteWirelessGatewayTaskDefinitionCommand: client_iot_wireless_1.DeleteWirelessGatewayTaskDefinitionCommand,
67
- DeregisterWirelessDeviceCommand: client_iot_wireless_1.DeregisterWirelessDeviceCommand,
68
- DisassociateAwsAccountFromPartnerAccountCommand: client_iot_wireless_1.DisassociateAwsAccountFromPartnerAccountCommand,
69
- DisassociateMulticastGroupFromFuotaTaskCommand: client_iot_wireless_1.DisassociateMulticastGroupFromFuotaTaskCommand,
70
- DisassociateWirelessDeviceFromFuotaTaskCommand: client_iot_wireless_1.DisassociateWirelessDeviceFromFuotaTaskCommand,
71
- DisassociateWirelessDeviceFromMulticastGroupCommand: client_iot_wireless_1.DisassociateWirelessDeviceFromMulticastGroupCommand,
72
- DisassociateWirelessDeviceFromThingCommand: client_iot_wireless_1.DisassociateWirelessDeviceFromThingCommand,
73
- DisassociateWirelessGatewayFromCertificateCommand: client_iot_wireless_1.DisassociateWirelessGatewayFromCertificateCommand,
74
- DisassociateWirelessGatewayFromThingCommand: client_iot_wireless_1.DisassociateWirelessGatewayFromThingCommand,
75
- GetDestinationCommand: client_iot_wireless_1.GetDestinationCommand,
76
- GetDeviceProfileCommand: client_iot_wireless_1.GetDeviceProfileCommand,
77
- GetEventConfigurationByResourceTypesCommand: client_iot_wireless_1.GetEventConfigurationByResourceTypesCommand,
78
- GetFuotaTaskCommand: client_iot_wireless_1.GetFuotaTaskCommand,
79
- GetLogLevelsByResourceTypesCommand: client_iot_wireless_1.GetLogLevelsByResourceTypesCommand,
80
- GetMetricConfigurationCommand: client_iot_wireless_1.GetMetricConfigurationCommand,
81
- GetMetricsCommand: client_iot_wireless_1.GetMetricsCommand,
82
- GetMulticastGroupCommand: client_iot_wireless_1.GetMulticastGroupCommand,
83
- GetMulticastGroupSessionCommand: client_iot_wireless_1.GetMulticastGroupSessionCommand,
84
- GetNetworkAnalyzerConfigurationCommand: client_iot_wireless_1.GetNetworkAnalyzerConfigurationCommand,
85
- GetPartnerAccountCommand: client_iot_wireless_1.GetPartnerAccountCommand,
86
- GetPositionCommand: client_iot_wireless_1.GetPositionCommand,
87
- GetPositionConfigurationCommand: client_iot_wireless_1.GetPositionConfigurationCommand,
88
- GetPositionEstimateCommand: client_iot_wireless_1.GetPositionEstimateCommand,
89
- GetResourceEventConfigurationCommand: client_iot_wireless_1.GetResourceEventConfigurationCommand,
90
- GetResourceLogLevelCommand: client_iot_wireless_1.GetResourceLogLevelCommand,
91
- GetResourcePositionCommand: client_iot_wireless_1.GetResourcePositionCommand,
92
- GetServiceEndpointCommand: client_iot_wireless_1.GetServiceEndpointCommand,
93
- GetServiceProfileCommand: client_iot_wireless_1.GetServiceProfileCommand,
94
- GetWirelessDeviceCommand: client_iot_wireless_1.GetWirelessDeviceCommand,
95
- GetWirelessDeviceImportTaskCommand: client_iot_wireless_1.GetWirelessDeviceImportTaskCommand,
96
- GetWirelessDeviceStatisticsCommand: client_iot_wireless_1.GetWirelessDeviceStatisticsCommand,
97
- GetWirelessGatewayCommand: client_iot_wireless_1.GetWirelessGatewayCommand,
98
- GetWirelessGatewayCertificateCommand: client_iot_wireless_1.GetWirelessGatewayCertificateCommand,
99
- GetWirelessGatewayFirmwareInformationCommand: client_iot_wireless_1.GetWirelessGatewayFirmwareInformationCommand,
100
- GetWirelessGatewayStatisticsCommand: client_iot_wireless_1.GetWirelessGatewayStatisticsCommand,
101
- GetWirelessGatewayTaskCommand: client_iot_wireless_1.GetWirelessGatewayTaskCommand,
102
- GetWirelessGatewayTaskDefinitionCommand: client_iot_wireless_1.GetWirelessGatewayTaskDefinitionCommand,
103
- ListDestinationsCommand: client_iot_wireless_1.ListDestinationsCommand,
104
- ListDeviceProfilesCommand: client_iot_wireless_1.ListDeviceProfilesCommand,
105
- ListDevicesForWirelessDeviceImportTaskCommand: client_iot_wireless_1.ListDevicesForWirelessDeviceImportTaskCommand,
106
- ListEventConfigurationsCommand: client_iot_wireless_1.ListEventConfigurationsCommand,
107
- ListFuotaTasksCommand: client_iot_wireless_1.ListFuotaTasksCommand,
108
- ListMulticastGroupsCommand: client_iot_wireless_1.ListMulticastGroupsCommand,
109
- ListMulticastGroupsByFuotaTaskCommand: client_iot_wireless_1.ListMulticastGroupsByFuotaTaskCommand,
110
- ListNetworkAnalyzerConfigurationsCommand: client_iot_wireless_1.ListNetworkAnalyzerConfigurationsCommand,
111
- ListPartnerAccountsCommand: client_iot_wireless_1.ListPartnerAccountsCommand,
112
- ListPositionConfigurationsCommand: client_iot_wireless_1.ListPositionConfigurationsCommand,
113
- ListQueuedMessagesCommand: client_iot_wireless_1.ListQueuedMessagesCommand,
114
- ListServiceProfilesCommand: client_iot_wireless_1.ListServiceProfilesCommand,
115
- ListTagsForResourceCommand: client_iot_wireless_1.ListTagsForResourceCommand,
116
- ListWirelessDeviceImportTasksCommand: client_iot_wireless_1.ListWirelessDeviceImportTasksCommand,
117
- ListWirelessDevicesCommand: client_iot_wireless_1.ListWirelessDevicesCommand,
118
- ListWirelessGatewayTaskDefinitionsCommand: client_iot_wireless_1.ListWirelessGatewayTaskDefinitionsCommand,
119
- ListWirelessGatewaysCommand: client_iot_wireless_1.ListWirelessGatewaysCommand,
120
- PutPositionConfigurationCommand: client_iot_wireless_1.PutPositionConfigurationCommand,
121
- PutResourceLogLevelCommand: client_iot_wireless_1.PutResourceLogLevelCommand,
122
- ResetAllResourceLogLevelsCommand: client_iot_wireless_1.ResetAllResourceLogLevelsCommand,
123
- ResetResourceLogLevelCommand: client_iot_wireless_1.ResetResourceLogLevelCommand,
124
- SendDataToMulticastGroupCommand: client_iot_wireless_1.SendDataToMulticastGroupCommand,
125
- SendDataToWirelessDeviceCommand: client_iot_wireless_1.SendDataToWirelessDeviceCommand,
126
- StartBulkAssociateWirelessDeviceWithMulticastGroupCommand: client_iot_wireless_1.StartBulkAssociateWirelessDeviceWithMulticastGroupCommand,
127
- StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand: client_iot_wireless_1.StartBulkDisassociateWirelessDeviceFromMulticastGroupCommand,
128
- StartFuotaTaskCommand: client_iot_wireless_1.StartFuotaTaskCommand,
129
- StartMulticastGroupSessionCommand: client_iot_wireless_1.StartMulticastGroupSessionCommand,
130
- StartSingleWirelessDeviceImportTaskCommand: client_iot_wireless_1.StartSingleWirelessDeviceImportTaskCommand,
131
- StartWirelessDeviceImportTaskCommand: client_iot_wireless_1.StartWirelessDeviceImportTaskCommand,
132
- TagResourceCommand: client_iot_wireless_1.TagResourceCommand,
133
- TestWirelessDeviceCommand: client_iot_wireless_1.TestWirelessDeviceCommand,
134
- UntagResourceCommand: client_iot_wireless_1.UntagResourceCommand,
135
- UpdateDestinationCommand: client_iot_wireless_1.UpdateDestinationCommand,
136
- UpdateEventConfigurationByResourceTypesCommand: client_iot_wireless_1.UpdateEventConfigurationByResourceTypesCommand,
137
- UpdateFuotaTaskCommand: client_iot_wireless_1.UpdateFuotaTaskCommand,
138
- UpdateLogLevelsByResourceTypesCommand: client_iot_wireless_1.UpdateLogLevelsByResourceTypesCommand,
139
- UpdateMetricConfigurationCommand: client_iot_wireless_1.UpdateMetricConfigurationCommand,
140
- UpdateMulticastGroupCommand: client_iot_wireless_1.UpdateMulticastGroupCommand,
141
- UpdateNetworkAnalyzerConfigurationCommand: client_iot_wireless_1.UpdateNetworkAnalyzerConfigurationCommand,
142
- UpdatePartnerAccountCommand: client_iot_wireless_1.UpdatePartnerAccountCommand,
143
- UpdatePositionCommand: client_iot_wireless_1.UpdatePositionCommand,
144
- UpdateResourceEventConfigurationCommand: client_iot_wireless_1.UpdateResourceEventConfigurationCommand,
145
- UpdateResourcePositionCommand: client_iot_wireless_1.UpdateResourcePositionCommand,
146
- UpdateWirelessDeviceCommand: client_iot_wireless_1.UpdateWirelessDeviceCommand,
147
- UpdateWirelessDeviceImportTaskCommand: client_iot_wireless_1.UpdateWirelessDeviceImportTaskCommand,
148
- UpdateWirelessGatewayCommand: client_iot_wireless_1.UpdateWirelessGatewayCommand,
149
- };
150
- /**
151
- * @since 1.0.0
152
- * @category constructors
153
- */
154
- exports.makeIoTWirelessService = effect_1.Effect.gen(function* () {
155
- const client = yield* Instance.IoTWirelessClientInstance;
156
- return yield* commons_1.Service.fromClientAndCommands(client, commands, {
157
- errorTags: Errors_js_1.AllServiceErrors,
158
- resolveClientConfig: IoTWirelessServiceConfig.toIoTWirelessClientConfig,
159
- });
160
- });
161
- /**
162
- * @since 1.0.0
163
- * @category models
164
- */
165
- class IoTWirelessService extends effect_1.Effect.Tag("@effect-aws/client-iot-wireless/IoTWirelessService")() {
166
- static defaultLayer = effect_1.Layer.effect(this, exports.makeIoTWirelessService).pipe(effect_1.Layer.provide(Instance.layer));
167
- static layer = (config) => effect_1.Layer.effect(this, exports.makeIoTWirelessService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(IoTWirelessServiceConfig.setIoTWirelessServiceConfig(config)));
168
- static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeIoTWirelessService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.IoTWirelessClientInstance, effect_1.Effect.map(IoTWirelessServiceConfig.toIoTWirelessClientConfig, evaluate))));
169
- }
170
- exports.IoTWirelessService = IoTWirelessService;
171
- //# sourceMappingURL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{ IoTWirelessClientConfig } from "@aws-sdk/client-iot-wireless";
5
- import { Effect, Layer } from "effect";
6
- import type { IoTWirelessService } from "./IoTWirelessService.js";
7
- /**
8
- * @since 1.0.0
9
- * @category iot-wireless service config
10
- */
11
- export declare const withIoTWirelessServiceConfig: {
12
- (config: IoTWirelessService.Config): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
13
- <A, E, R>(effect: Effect.Effect<A, E, R>, config: IoTWirelessService.Config): Effect.Effect<A, E, R>;
14
- };
15
- /**
16
- * @since 1.0.0
17
- * @category iot-wireless service config
18
- */
19
- export declare const setIoTWirelessServiceConfig: (config: IoTWirelessService.Config) => Layer.Layer<never, never, never>;
20
- /**
21
- * @since 1.0.0
22
- * @category adapters
23
- */
24
- export declare const toIoTWirelessClientConfig: Effect.Effect<IoTWirelessClientConfig>;
25
- //# sourceMappingURL=IoTWirelessServiceConfig.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IoTWirelessServiceConfig.d.ts","sourceRoot":"","sources":["../../src/IoTWirelessServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAWlE;;;GAGG;AACH,eAAO,MAAM,4BAA4B,EAAE;IACzC,CAAC,MAAM,EAAE,kBAAkB,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACzG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,kBAAkB,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKtG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,2BAA2B,WAAY,mBAAmB,MAAM,qCACf,CAAC;AAE/D;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAQ3E,CAAC"}
@@ -1,35 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toIoTWirelessClientConfig = exports.setIoTWirelessServiceConfig = exports.withIoTWirelessServiceConfig = void 0;
4
- const commons_1 = require("@effect-aws/commons");
5
- const effect_1 = require("effect");
6
- const Function_1 = require("effect/Function");
7
- const GlobalValue_1 = require("effect/GlobalValue");
8
- /**
9
- * @since 1.0.0
10
- * @category iot-wireless service config
11
- */
12
- const currentIoTWirelessServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-iot-wireless/currentIoTWirelessServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
13
- /**
14
- * @since 1.0.0
15
- * @category iot-wireless service config
16
- */
17
- exports.withIoTWirelessServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentIoTWirelessServiceConfig, config));
18
- /**
19
- * @since 1.0.0
20
- * @category iot-wireless service config
21
- */
22
- const setIoTWirelessServiceConfig = (config) => effect_1.Layer.locallyScoped(currentIoTWirelessServiceConfig, config);
23
- exports.setIoTWirelessServiceConfig = setIoTWirelessServiceConfig;
24
- /**
25
- * @since 1.0.0
26
- * @category adapters
27
- */
28
- exports.toIoTWirelessClientConfig = effect_1.Effect.gen(function* () {
29
- const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentIoTWirelessServiceConfig);
30
- const logger = serviceLogger === true
31
- ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.defaultServiceLogger)
32
- : (serviceLogger ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.make(serviceLogger)) : undefined);
33
- return { logger, ...config };
34
- });
35
- //# sourceMappingURL=IoTWirelessServiceConfig.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IoTWirelessServiceConfig.js","sourceRoot":"","sources":["../../src/IoTWirelessServiceConfig.ts"],"names":[],"mappings":";;;AAIA,iDAAoD;AACpD,mCAAiD;AACjD,8CAAuC;AACvC,oDAAiD;AAGjD;;;GAGG;AACH,MAAM,+BAA+B,GAAG,IAAA,yBAAW,EACjD,iEAAiE,EACjE,GAAG,EAAE,CAAC,iBAAQ,CAAC,UAAU,CAA4B,EAAE,CAAC,CACzD,CAAC;AAEF;;;GAGG;AACU,QAAA,4BAA4B,GAGrC,IAAA,eAAI,EACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAAiC,EAA0B,EAAE,CACrG,eAAM,CAAC,OAAO,CAAC,MAAM,EAAE,+BAA+B,EAAE,MAAM,CAAC,CAClE,CAAC;AAEF;;;GAGG;AACI,MAAM,2BAA2B,GAAG,CAAC,MAAiC,EAAE,EAAE,CAC/E,cAAK,CAAC,aAAa,CAAC,+BAA+B,EAAE,MAAM,CAAC,CAAC;AADlD,QAAA,2BAA2B,+BACuB;AAE/D;;;GAGG;AACU,QAAA,yBAAyB,GAA2C,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACnG,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,iBAAQ,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC;IAElG,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzG,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
@@ -1,44 +0,0 @@
1
- /**
2
- * @since 1.0.0
3
- */
4
- import { IoTWirelessService } from "./IoTWirelessService.js";
5
- /**
6
- * @since 1.0.0
7
- */
8
- export * from "./Errors.js";
9
- /**
10
- * @since 1.0.0
11
- */
12
- export * as IoTWirelessClientInstance from "./IoTWirelessClientInstance.js";
13
- /**
14
- * @since 1.0.0
15
- */
16
- export * as IoTWirelessServiceConfig from "./IoTWirelessServiceConfig.js";
17
- /**
18
- * @since 1.0.0
19
- */
20
- export * from "./IoTWirelessService.js";
21
- /**
22
- * @since 1.0.0
23
- * @category exports
24
- * @alias IoTWirelessService
25
- */
26
- export declare namespace IoTWireless {
27
- /**
28
- * @since 1.0.0
29
- * @alias IoTWirelessService.Config
30
- */
31
- type Config = IoTWirelessService.Config;
32
- /**
33
- * @since 1.0.0
34
- * @alias IoTWirelessService.Type
35
- */
36
- type Type = IoTWirelessService.Type;
37
- }
38
- /**
39
- * @since 1.0.0
40
- * @category exports
41
- * @alias IoTWirelessService
42
- */
43
- export declare const IoTWireless: typeof IoTWirelessService;
44
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,yBAAyB,MAAM,gCAAgC,CAAC;AAE5E;;GAEG;AACH,OAAO,KAAK,wBAAwB,MAAM,+BAA+B,CAAC;AAE1E;;GAEG;AACH,cAAc,yBAAyB,CAAC;AAExC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC;;;OAGG;IACH,KAAY,MAAM,GAAG,kBAAkB,CAAC,MAAM,CAAC;IAE/C;;;OAGG;IACH,KAAY,IAAI,GAAG,kBAAkB,CAAC,IAAI,CAAC;CAC5C;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW,2BAAqB,CAAC"}
package/dist/cjs/index.js DELETED
@@ -1,56 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
- };
21
- var __importStar = (this && this.__importStar) || function (mod) {
22
- if (mod && mod.__esModule) return mod;
23
- var result = {};
24
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
- __setModuleDefault(result, mod);
26
- return result;
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.IoTWireless = exports.IoTWirelessServiceConfig = exports.IoTWirelessClientInstance = void 0;
30
- /**
31
- * @since 1.0.0
32
- */
33
- const IoTWirelessService_js_1 = require("./IoTWirelessService.js");
34
- /**
35
- * @since 1.0.0
36
- */
37
- __exportStar(require("./Errors.js"), exports);
38
- /**
39
- * @since 1.0.0
40
- */
41
- exports.IoTWirelessClientInstance = __importStar(require("./IoTWirelessClientInstance.js"));
42
- /**
43
- * @since 1.0.0
44
- */
45
- exports.IoTWirelessServiceConfig = __importStar(require("./IoTWirelessServiceConfig.js"));
46
- /**
47
- * @since 1.0.0
48
- */
49
- __exportStar(require("./IoTWirelessService.js"), exports);
50
- /**
51
- * @since 1.0.0
52
- * @category exports
53
- * @alias IoTWirelessService
54
- */
55
- exports.IoTWireless = IoTWirelessService_js_1.IoTWirelessService;
56
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,mEAA6D;AAE7D;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,4FAA4E;AAE5E;;GAEG;AACH,0FAA0E;AAE1E;;GAEG;AACH,0DAAwC;AAqBxC;;;;GAIG;AACU,QAAA,WAAW,GAAG,0CAAkB,CAAC"}