@scaleway/sdk-iot 2.9.0 → 2.10.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.
@@ -0,0 +1,27 @@
1
+ import type { DeviceMessageFiltersRulePolicy, DeviceStatus, HubProductPlan, HubStatus, ListDevicesRequestOrderBy, ListHubsRequestOrderBy, ListNetworksRequestOrderBy, ListRoutesRequestOrderBy, NetworkNetworkType, RouteDatabaseConfigEngine, RouteRestConfigHttpVerb, RouteRouteType, RouteS3ConfigS3Strategy } from './types.gen.js';
2
+ /** Lists all values of the enum {@link DeviceMessageFiltersRulePolicy}. */
3
+ export declare const DEVICE_MESSAGE_FILTERS_RULE_POLICIES: DeviceMessageFiltersRulePolicy[];
4
+ /** Lists all values of the enum {@link DeviceStatus}. */
5
+ export declare const DEVICE_STATUSES: DeviceStatus[];
6
+ /** Lists all values of the enum {@link HubProductPlan}. */
7
+ export declare const HUB_PRODUCT_PLANS: HubProductPlan[];
8
+ /** Lists all values of the enum {@link HubStatus}. */
9
+ export declare const HUB_STATUSES: HubStatus[];
10
+ /** Lists all values of the enum {@link ListDevicesRequestOrderBy}. */
11
+ export declare const LIST_DEVICES_REQUEST_ORDER_BIES: ListDevicesRequestOrderBy[];
12
+ /** Lists all values of the enum {@link ListHubsRequestOrderBy}. */
13
+ export declare const LIST_HUBS_REQUEST_ORDER_BIES: ListHubsRequestOrderBy[];
14
+ /** Lists all values of the enum {@link ListNetworksRequestOrderBy}. */
15
+ export declare const LIST_NETWORKS_REQUEST_ORDER_BIES: ListNetworksRequestOrderBy[];
16
+ /** Lists all values of the enum {@link ListRoutesRequestOrderBy}. */
17
+ export declare const LIST_ROUTES_REQUEST_ORDER_BIES: ListRoutesRequestOrderBy[];
18
+ /** Lists all values of the enum {@link NetworkNetworkType}. */
19
+ export declare const NETWORK_NETWORK_TYPES: NetworkNetworkType[];
20
+ /** Lists all values of the enum {@link RouteDatabaseConfigEngine}. */
21
+ export declare const ROUTE_DATABASE_CONFIG_ENGINES: RouteDatabaseConfigEngine[];
22
+ /** Lists all values of the enum {@link RouteRestConfigHttpVerb}. */
23
+ export declare const ROUTE_REST_CONFIG_HTTP_VERBS: RouteRestConfigHttpVerb[];
24
+ /** Lists all values of the enum {@link RouteRouteType}. */
25
+ export declare const ROUTE_ROUTE_TYPES: RouteRouteType[];
26
+ /** Lists all values of the enum {@link RouteS3ConfigS3Strategy}. */
27
+ export declare const ROUTE_S3_CONFIG_S3_STRATEGIES: RouteS3ConfigS3Strategy[];
@@ -0,0 +1,114 @@
1
+ //#region src/v1/constants.gen.ts
2
+ /** Lists all values of the enum {@link DeviceMessageFiltersRulePolicy}. */
3
+ const DEVICE_MESSAGE_FILTERS_RULE_POLICIES = [
4
+ "unknown",
5
+ "accept",
6
+ "reject"
7
+ ];
8
+ /** Lists all values of the enum {@link DeviceStatus}. */
9
+ const DEVICE_STATUSES = [
10
+ "unknown",
11
+ "error",
12
+ "enabled",
13
+ "disabled"
14
+ ];
15
+ /** Lists all values of the enum {@link HubProductPlan}. */
16
+ const HUB_PRODUCT_PLANS = [
17
+ "plan_unknown",
18
+ "plan_shared",
19
+ "plan_dedicated",
20
+ "plan_ha"
21
+ ];
22
+ /** Lists all values of the enum {@link HubStatus}. */
23
+ const HUB_STATUSES = [
24
+ "unknown",
25
+ "error",
26
+ "enabling",
27
+ "ready",
28
+ "disabling",
29
+ "disabled"
30
+ ];
31
+ /** Lists all values of the enum {@link ListDevicesRequestOrderBy}. */
32
+ const LIST_DEVICES_REQUEST_ORDER_BIES = [
33
+ "name_asc",
34
+ "name_desc",
35
+ "status_asc",
36
+ "status_desc",
37
+ "hub_id_asc",
38
+ "hub_id_desc",
39
+ "created_at_asc",
40
+ "created_at_desc",
41
+ "updated_at_asc",
42
+ "updated_at_desc",
43
+ "allow_insecure_asc",
44
+ "allow_insecure_desc"
45
+ ];
46
+ /** Lists all values of the enum {@link ListHubsRequestOrderBy}. */
47
+ const LIST_HUBS_REQUEST_ORDER_BIES = [
48
+ "name_asc",
49
+ "name_desc",
50
+ "status_asc",
51
+ "status_desc",
52
+ "product_plan_asc",
53
+ "product_plan_desc",
54
+ "created_at_asc",
55
+ "created_at_desc",
56
+ "updated_at_asc",
57
+ "updated_at_desc"
58
+ ];
59
+ /** Lists all values of the enum {@link ListNetworksRequestOrderBy}. */
60
+ const LIST_NETWORKS_REQUEST_ORDER_BIES = [
61
+ "name_asc",
62
+ "name_desc",
63
+ "type_asc",
64
+ "type_desc",
65
+ "created_at_asc",
66
+ "created_at_desc"
67
+ ];
68
+ /** Lists all values of the enum {@link ListRoutesRequestOrderBy}. */
69
+ const LIST_ROUTES_REQUEST_ORDER_BIES = [
70
+ "name_asc",
71
+ "name_desc",
72
+ "hub_id_asc",
73
+ "hub_id_desc",
74
+ "type_asc",
75
+ "type_desc",
76
+ "created_at_asc",
77
+ "created_at_desc"
78
+ ];
79
+ /** Lists all values of the enum {@link NetworkNetworkType}. */
80
+ const NETWORK_NETWORK_TYPES = [
81
+ "unknown",
82
+ "sigfox",
83
+ "rest"
84
+ ];
85
+ /** Lists all values of the enum {@link RouteDatabaseConfigEngine}. */
86
+ const ROUTE_DATABASE_CONFIG_ENGINES = [
87
+ "unknown",
88
+ "postgresql",
89
+ "mysql"
90
+ ];
91
+ /** Lists all values of the enum {@link RouteRestConfigHttpVerb}. */
92
+ const ROUTE_REST_CONFIG_HTTP_VERBS = [
93
+ "unknown",
94
+ "get",
95
+ "post",
96
+ "put",
97
+ "patch",
98
+ "delete"
99
+ ];
100
+ /** Lists all values of the enum {@link RouteRouteType}. */
101
+ const ROUTE_ROUTE_TYPES = [
102
+ "unknown",
103
+ "s3",
104
+ "database",
105
+ "rest"
106
+ ];
107
+ /** Lists all values of the enum {@link RouteS3ConfigS3Strategy}. */
108
+ const ROUTE_S3_CONFIG_S3_STRATEGIES = [
109
+ "unknown",
110
+ "per_topic",
111
+ "per_message"
112
+ ];
113
+ //#endregion
114
+ export { DEVICE_MESSAGE_FILTERS_RULE_POLICIES, DEVICE_STATUSES, HUB_PRODUCT_PLANS, HUB_STATUSES, LIST_DEVICES_REQUEST_ORDER_BIES, LIST_HUBS_REQUEST_ORDER_BIES, LIST_NETWORKS_REQUEST_ORDER_BIES, LIST_ROUTES_REQUEST_ORDER_BIES, NETWORK_NETWORK_TYPES, ROUTE_DATABASE_CONFIG_ENGINES, ROUTE_REST_CONFIG_HTTP_VERBS, ROUTE_ROUTE_TYPES, ROUTE_S3_CONFIG_S3_STRATEGIES };
@@ -1,4 +1,5 @@
1
1
  export { API, } from './api.gen.js';
2
2
  export * from './content.gen.js';
3
+ export * from './constants.gen.js';
3
4
  export * from './marshalling.gen.js';
4
5
  export type { Certificate, CreateDeviceRequest, CreateDeviceResponse, CreateHubRequest, CreateNetworkRequest, CreateNetworkResponse, CreateRouteRequest, CreateRouteRequestDatabaseConfig, CreateRouteRequestRestConfig, CreateRouteRequestS3Config, DeleteDeviceRequest, DeleteHubRequest, DeleteNetworkRequest, DeleteRouteRequest, DeleteTwinDocumentRequest, DeleteTwinDocumentsRequest, Device, DeviceMessageFilters, DeviceMessageFiltersRule, DeviceMessageFiltersRulePolicy, DeviceStatus, DisableDeviceRequest, DisableHubRequest, EnableDeviceRequest, EnableHubRequest, GetDeviceCertificateRequest, GetDeviceCertificateResponse, GetDeviceMetricsRequest, GetDeviceMetricsResponse, GetDeviceRequest, GetHubCARequest, GetHubCAResponse, GetHubMetricsRequest, GetHubMetricsResponse, GetHubRequest, GetNetworkRequest, GetRouteRequest, GetTwinDocumentRequest, Hub, HubProductPlan, HubStatus, HubTwinsGraphiteConfig, ListDevicesRequest, ListDevicesRequestOrderBy, ListDevicesResponse, ListHubsRequest, ListHubsRequestOrderBy, ListHubsResponse, ListNetworksRequest, ListNetworksRequestOrderBy, ListNetworksResponse, ListRoutesRequest, ListRoutesRequestOrderBy, ListRoutesResponse, ListTwinDocumentsRequest, ListTwinDocumentsResponse, ListTwinDocumentsResponseDocumentSummary, Network, NetworkNetworkType, PatchTwinDocumentRequest, PutTwinDocumentRequest, RenewDeviceCertificateRequest, RenewDeviceCertificateResponse, Route, RouteDatabaseConfig, RouteDatabaseConfigEngine, RouteRestConfig, RouteRestConfigHttpVerb, RouteRouteType, RouteS3Config, RouteS3ConfigS3Strategy, RouteSummary, SetDeviceCertificateRequest, SetDeviceCertificateResponse, SetHubCARequest, TwinDocument, UpdateDeviceRequest, UpdateHubRequest, UpdateRouteRequest, UpdateRouteRequestDatabaseConfig, UpdateRouteRequestRestConfig, UpdateRouteRequestS3Config, } from './types.gen.js';
@@ -2,10 +2,24 @@ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  import { HUB_TRANSIENT_STATUSES } from "./content.gen.js";
3
3
  import { marshalCreateDeviceRequest, marshalCreateHubRequest, marshalCreateNetworkRequest, marshalCreateRouteRequest, marshalPatchTwinDocumentRequest, marshalPutTwinDocumentRequest, marshalSetDeviceCertificateRequest, marshalSetHubCARequest, marshalUpdateDeviceRequest, marshalUpdateHubRequest, marshalUpdateRouteRequest, unmarshalCreateDeviceResponse, unmarshalCreateNetworkResponse, unmarshalDevice, unmarshalGetDeviceCertificateResponse, unmarshalGetDeviceMetricsResponse, unmarshalGetHubCAResponse, unmarshalGetHubMetricsResponse, unmarshalHub, unmarshalListDevicesResponse, unmarshalListHubsResponse, unmarshalListNetworksResponse, unmarshalListRoutesResponse, unmarshalListTwinDocumentsResponse, unmarshalNetwork, unmarshalRenewDeviceCertificateResponse, unmarshalRoute, unmarshalSetDeviceCertificateResponse, unmarshalTwinDocument } from "./marshalling.gen.js";
4
4
  import { API } from "./api.gen.js";
5
+ import { DEVICE_MESSAGE_FILTERS_RULE_POLICIES, DEVICE_STATUSES, HUB_PRODUCT_PLANS, HUB_STATUSES, LIST_DEVICES_REQUEST_ORDER_BIES, LIST_HUBS_REQUEST_ORDER_BIES, LIST_NETWORKS_REQUEST_ORDER_BIES, LIST_ROUTES_REQUEST_ORDER_BIES, NETWORK_NETWORK_TYPES, ROUTE_DATABASE_CONFIG_ENGINES, ROUTE_REST_CONFIG_HTTP_VERBS, ROUTE_ROUTE_TYPES, ROUTE_S3_CONFIG_S3_STRATEGIES } from "./constants.gen.js";
5
6
  //#region src/v1/index.gen.ts
6
7
  var index_gen_exports = /* @__PURE__ */ __exportAll({
7
8
  API: () => API,
9
+ DEVICE_MESSAGE_FILTERS_RULE_POLICIES: () => DEVICE_MESSAGE_FILTERS_RULE_POLICIES,
10
+ DEVICE_STATUSES: () => DEVICE_STATUSES,
11
+ HUB_PRODUCT_PLANS: () => HUB_PRODUCT_PLANS,
12
+ HUB_STATUSES: () => HUB_STATUSES,
8
13
  HUB_TRANSIENT_STATUSES: () => HUB_TRANSIENT_STATUSES,
14
+ LIST_DEVICES_REQUEST_ORDER_BIES: () => LIST_DEVICES_REQUEST_ORDER_BIES,
15
+ LIST_HUBS_REQUEST_ORDER_BIES: () => LIST_HUBS_REQUEST_ORDER_BIES,
16
+ LIST_NETWORKS_REQUEST_ORDER_BIES: () => LIST_NETWORKS_REQUEST_ORDER_BIES,
17
+ LIST_ROUTES_REQUEST_ORDER_BIES: () => LIST_ROUTES_REQUEST_ORDER_BIES,
18
+ NETWORK_NETWORK_TYPES: () => NETWORK_NETWORK_TYPES,
19
+ ROUTE_DATABASE_CONFIG_ENGINES: () => ROUTE_DATABASE_CONFIG_ENGINES,
20
+ ROUTE_REST_CONFIG_HTTP_VERBS: () => ROUTE_REST_CONFIG_HTTP_VERBS,
21
+ ROUTE_ROUTE_TYPES: () => ROUTE_ROUTE_TYPES,
22
+ ROUTE_S3_CONFIG_S3_STRATEGIES: () => ROUTE_S3_CONFIG_S3_STRATEGIES,
9
23
  marshalCreateDeviceRequest: () => marshalCreateDeviceRequest,
10
24
  marshalCreateHubRequest: () => marshalCreateHubRequest,
11
25
  marshalCreateNetworkRequest: () => marshalCreateNetworkRequest,
@@ -37,4 +51,4 @@ var index_gen_exports = /* @__PURE__ */ __exportAll({
37
51
  unmarshalTwinDocument: () => unmarshalTwinDocument
38
52
  });
39
53
  //#endregion
40
- export { API, HUB_TRANSIENT_STATUSES, index_gen_exports, marshalCreateDeviceRequest, marshalCreateHubRequest, marshalCreateNetworkRequest, marshalCreateRouteRequest, marshalPatchTwinDocumentRequest, marshalPutTwinDocumentRequest, marshalSetDeviceCertificateRequest, marshalSetHubCARequest, marshalUpdateDeviceRequest, marshalUpdateHubRequest, marshalUpdateRouteRequest, unmarshalCreateDeviceResponse, unmarshalCreateNetworkResponse, unmarshalDevice, unmarshalGetDeviceCertificateResponse, unmarshalGetDeviceMetricsResponse, unmarshalGetHubCAResponse, unmarshalGetHubMetricsResponse, unmarshalHub, unmarshalListDevicesResponse, unmarshalListHubsResponse, unmarshalListNetworksResponse, unmarshalListRoutesResponse, unmarshalListTwinDocumentsResponse, unmarshalNetwork, unmarshalRenewDeviceCertificateResponse, unmarshalRoute, unmarshalSetDeviceCertificateResponse, unmarshalTwinDocument };
54
+ export { API, DEVICE_MESSAGE_FILTERS_RULE_POLICIES, DEVICE_STATUSES, HUB_PRODUCT_PLANS, HUB_STATUSES, HUB_TRANSIENT_STATUSES, LIST_DEVICES_REQUEST_ORDER_BIES, LIST_HUBS_REQUEST_ORDER_BIES, LIST_NETWORKS_REQUEST_ORDER_BIES, LIST_ROUTES_REQUEST_ORDER_BIES, NETWORK_NETWORK_TYPES, ROUTE_DATABASE_CONFIG_ENGINES, ROUTE_REST_CONFIG_HTTP_VERBS, ROUTE_ROUTE_TYPES, ROUTE_S3_CONFIG_S3_STRATEGIES, index_gen_exports, marshalCreateDeviceRequest, marshalCreateHubRequest, marshalCreateNetworkRequest, marshalCreateRouteRequest, marshalPatchTwinDocumentRequest, marshalPutTwinDocumentRequest, marshalSetDeviceCertificateRequest, marshalSetHubCARequest, marshalUpdateDeviceRequest, marshalUpdateHubRequest, marshalUpdateRouteRequest, unmarshalCreateDeviceResponse, unmarshalCreateNetworkResponse, unmarshalDevice, unmarshalGetDeviceCertificateResponse, unmarshalGetDeviceMetricsResponse, unmarshalGetHubCAResponse, unmarshalGetHubMetricsResponse, unmarshalHub, unmarshalListDevicesResponse, unmarshalListHubsResponse, unmarshalListNetworksResponse, unmarshalListRoutesResponse, unmarshalListTwinDocumentsResponse, unmarshalNetwork, unmarshalRenewDeviceCertificateResponse, unmarshalRoute, unmarshalSetDeviceCertificateResponse, unmarshalTwinDocument };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-iot",
3
- "version": "2.9.0",
3
+ "version": "2.10.1",
4
4
  "description": "Scaleway SDK iot",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -33,14 +33,14 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@scaleway/random-name": "6.0.2",
36
- "@scaleway/sdk-std": "2.6.0"
36
+ "@scaleway/sdk-std": "2.7.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@repo/configs": "^0.1.1",
40
- "@scaleway/sdk-client": "^2.6.0"
40
+ "@scaleway/sdk-client": "^2.7.0"
41
41
  },
42
42
  "peerDependencies": {
43
- "@scaleway/sdk-client": "^2.6.0"
43
+ "@scaleway/sdk-client": "^2.7.0"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=20.20.2"