@scaleway/sdk-iot 2.8.0 → 2.10.0

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 };
@@ -9,10 +9,12 @@ export declare const queriesMetadata: {
9
9
  readonly protoName: 'ListHubs';
10
10
  readonly paramsType: 'ListHubsRequest';
11
11
  readonly returnType: 'ListHubsResponse';
12
+ readonly returnTypeNamespace: '@scaleway-internal/sdk-iot/v1';
12
13
  readonly isList: true;
13
14
  readonly paginationType: 'offset';
14
15
  readonly pageParamKey: 'page';
15
16
  readonly listItemType: 'Hub';
17
+ readonly listItemTypeNamespace: '@scaleway-internal/sdk-iot/v1';
16
18
  readonly isPrivate: false;
17
19
  readonly description: '"';
18
20
  }, {
@@ -20,6 +22,7 @@ export declare const queriesMetadata: {
20
22
  readonly protoName: 'GetHub';
21
23
  readonly paramsType: 'GetHubRequest';
22
24
  readonly returnType: 'Hub';
25
+ readonly returnTypeNamespace: '@scaleway-internal/sdk-iot/v1';
23
26
  readonly isList: false;
24
27
  readonly paginationType: 'none';
25
28
  readonly isPrivate: false;
@@ -30,6 +33,7 @@ export declare const queriesMetadata: {
30
33
  readonly protoName: 'GetHubMetrics';
31
34
  readonly paramsType: 'GetHubMetricsRequest';
32
35
  readonly returnType: 'GetHubMetricsResponse';
36
+ readonly returnTypeNamespace: '@scaleway-internal/sdk-iot/v1';
33
37
  readonly isList: false;
34
38
  readonly paginationType: 'none';
35
39
  readonly isPrivate: false;
@@ -39,6 +43,7 @@ export declare const queriesMetadata: {
39
43
  readonly protoName: 'GetHubCA';
40
44
  readonly paramsType: 'GetHubCARequest';
41
45
  readonly returnType: 'GetHubCAResponse';
46
+ readonly returnTypeNamespace: '@scaleway-internal/sdk-iot/v1';
42
47
  readonly isList: false;
43
48
  readonly paginationType: 'none';
44
49
  readonly isPrivate: false;
@@ -48,10 +53,12 @@ export declare const queriesMetadata: {
48
53
  readonly protoName: 'ListDevices';
49
54
  readonly paramsType: 'ListDevicesRequest';
50
55
  readonly returnType: 'ListDevicesResponse';
56
+ readonly returnTypeNamespace: '@scaleway-internal/sdk-iot/v1';
51
57
  readonly isList: true;
52
58
  readonly paginationType: 'offset';
53
59
  readonly pageParamKey: 'page';
54
60
  readonly listItemType: 'Device';
61
+ readonly listItemTypeNamespace: '@scaleway-internal/sdk-iot/v1';
55
62
  readonly isPrivate: false;
56
63
  readonly description: '"';
57
64
  }, {
@@ -59,6 +66,7 @@ export declare const queriesMetadata: {
59
66
  readonly protoName: 'GetDevice';
60
67
  readonly paramsType: 'GetDeviceRequest';
61
68
  readonly returnType: 'Device';
69
+ readonly returnTypeNamespace: '@scaleway-internal/sdk-iot/v1';
62
70
  readonly isList: false;
63
71
  readonly paginationType: 'none';
64
72
  readonly isPrivate: false;
@@ -68,6 +76,7 @@ export declare const queriesMetadata: {
68
76
  readonly protoName: 'GetDeviceCertificate';
69
77
  readonly paramsType: 'GetDeviceCertificateRequest';
70
78
  readonly returnType: 'GetDeviceCertificateResponse';
79
+ readonly returnTypeNamespace: '@scaleway-internal/sdk-iot/v1';
71
80
  readonly isList: false;
72
81
  readonly paginationType: 'none';
73
82
  readonly isPrivate: false;
@@ -77,6 +86,7 @@ export declare const queriesMetadata: {
77
86
  readonly protoName: 'GetDeviceMetrics';
78
87
  readonly paramsType: 'GetDeviceMetricsRequest';
79
88
  readonly returnType: 'GetDeviceMetricsResponse';
89
+ readonly returnTypeNamespace: '@scaleway-internal/sdk-iot/v1';
80
90
  readonly isList: false;
81
91
  readonly paginationType: 'none';
82
92
  readonly isPrivate: false;
@@ -86,10 +96,12 @@ export declare const queriesMetadata: {
86
96
  readonly protoName: 'ListRoutes';
87
97
  readonly paramsType: 'ListRoutesRequest';
88
98
  readonly returnType: 'ListRoutesResponse';
99
+ readonly returnTypeNamespace: '@scaleway-internal/sdk-iot/v1';
89
100
  readonly isList: true;
90
101
  readonly paginationType: 'offset';
91
102
  readonly pageParamKey: 'page';
92
103
  readonly listItemType: 'RouteSummary';
104
+ readonly listItemTypeNamespace: '@scaleway-internal/sdk-iot/v1';
93
105
  readonly isPrivate: false;
94
106
  readonly description: '"';
95
107
  }, {
@@ -97,6 +109,7 @@ export declare const queriesMetadata: {
97
109
  readonly protoName: 'GetRoute';
98
110
  readonly paramsType: 'GetRouteRequest';
99
111
  readonly returnType: 'Route';
112
+ readonly returnTypeNamespace: '@scaleway-internal/sdk-iot/v1';
100
113
  readonly isList: false;
101
114
  readonly paginationType: 'none';
102
115
  readonly isPrivate: false;
@@ -106,10 +119,12 @@ export declare const queriesMetadata: {
106
119
  readonly protoName: 'ListNetworks';
107
120
  readonly paramsType: 'ListNetworksRequest';
108
121
  readonly returnType: 'ListNetworksResponse';
122
+ readonly returnTypeNamespace: '@scaleway-internal/sdk-iot/v1';
109
123
  readonly isList: true;
110
124
  readonly paginationType: 'offset';
111
125
  readonly pageParamKey: 'page';
112
126
  readonly listItemType: 'Network';
127
+ readonly listItemTypeNamespace: '@scaleway-internal/sdk-iot/v1';
113
128
  readonly isPrivate: false;
114
129
  readonly description: '"';
115
130
  }, {
@@ -117,6 +132,7 @@ export declare const queriesMetadata: {
117
132
  readonly protoName: 'GetNetwork';
118
133
  readonly paramsType: 'GetNetworkRequest';
119
134
  readonly returnType: 'Network';
135
+ readonly returnTypeNamespace: '@scaleway-internal/sdk-iot/v1';
120
136
  readonly isList: false;
121
137
  readonly paginationType: 'none';
122
138
  readonly isPrivate: false;
@@ -126,6 +142,7 @@ export declare const queriesMetadata: {
126
142
  readonly protoName: 'GetTwinDocument';
127
143
  readonly paramsType: 'GetTwinDocumentRequest';
128
144
  readonly returnType: 'TwinDocument';
145
+ readonly returnTypeNamespace: '@scaleway-internal/sdk-iot/v1';
129
146
  readonly isList: false;
130
147
  readonly paginationType: 'none';
131
148
  readonly isPrivate: false;
@@ -135,6 +152,7 @@ export declare const queriesMetadata: {
135
152
  readonly protoName: 'ListTwinDocuments';
136
153
  readonly paramsType: 'ListTwinDocumentsRequest';
137
154
  readonly returnType: 'ListTwinDocumentsResponse';
155
+ readonly returnTypeNamespace: '@scaleway-internal/sdk-iot/v1';
138
156
  readonly isList: false;
139
157
  readonly paginationType: 'none';
140
158
  readonly isPrivate: false;
@@ -11,10 +11,12 @@ const queriesMetadata = {
11
11
  protoName: "ListHubs",
12
12
  paramsType: "ListHubsRequest",
13
13
  returnType: "ListHubsResponse",
14
+ returnTypeNamespace: "@scaleway-internal/sdk-iot/v1",
14
15
  isList: true,
15
16
  paginationType: "offset",
16
17
  pageParamKey: "page",
17
18
  listItemType: "Hub",
19
+ listItemTypeNamespace: "@scaleway-internal/sdk-iot/v1",
18
20
  isPrivate: false,
19
21
  description: "\""
20
22
  },
@@ -23,6 +25,7 @@ const queriesMetadata = {
23
25
  protoName: "GetHub",
24
26
  paramsType: "GetHubRequest",
25
27
  returnType: "Hub",
28
+ returnTypeNamespace: "@scaleway-internal/sdk-iot/v1",
26
29
  isList: false,
27
30
  paginationType: "none",
28
31
  isPrivate: false,
@@ -34,6 +37,7 @@ const queriesMetadata = {
34
37
  protoName: "GetHubMetrics",
35
38
  paramsType: "GetHubMetricsRequest",
36
39
  returnType: "GetHubMetricsResponse",
40
+ returnTypeNamespace: "@scaleway-internal/sdk-iot/v1",
37
41
  isList: false,
38
42
  paginationType: "none",
39
43
  isPrivate: false,
@@ -44,6 +48,7 @@ const queriesMetadata = {
44
48
  protoName: "GetHubCA",
45
49
  paramsType: "GetHubCARequest",
46
50
  returnType: "GetHubCAResponse",
51
+ returnTypeNamespace: "@scaleway-internal/sdk-iot/v1",
47
52
  isList: false,
48
53
  paginationType: "none",
49
54
  isPrivate: false,
@@ -54,10 +59,12 @@ const queriesMetadata = {
54
59
  protoName: "ListDevices",
55
60
  paramsType: "ListDevicesRequest",
56
61
  returnType: "ListDevicesResponse",
62
+ returnTypeNamespace: "@scaleway-internal/sdk-iot/v1",
57
63
  isList: true,
58
64
  paginationType: "offset",
59
65
  pageParamKey: "page",
60
66
  listItemType: "Device",
67
+ listItemTypeNamespace: "@scaleway-internal/sdk-iot/v1",
61
68
  isPrivate: false,
62
69
  description: "\""
63
70
  },
@@ -66,6 +73,7 @@ const queriesMetadata = {
66
73
  protoName: "GetDevice",
67
74
  paramsType: "GetDeviceRequest",
68
75
  returnType: "Device",
76
+ returnTypeNamespace: "@scaleway-internal/sdk-iot/v1",
69
77
  isList: false,
70
78
  paginationType: "none",
71
79
  isPrivate: false,
@@ -76,6 +84,7 @@ const queriesMetadata = {
76
84
  protoName: "GetDeviceCertificate",
77
85
  paramsType: "GetDeviceCertificateRequest",
78
86
  returnType: "GetDeviceCertificateResponse",
87
+ returnTypeNamespace: "@scaleway-internal/sdk-iot/v1",
79
88
  isList: false,
80
89
  paginationType: "none",
81
90
  isPrivate: false,
@@ -86,6 +95,7 @@ const queriesMetadata = {
86
95
  protoName: "GetDeviceMetrics",
87
96
  paramsType: "GetDeviceMetricsRequest",
88
97
  returnType: "GetDeviceMetricsResponse",
98
+ returnTypeNamespace: "@scaleway-internal/sdk-iot/v1",
89
99
  isList: false,
90
100
  paginationType: "none",
91
101
  isPrivate: false,
@@ -96,10 +106,12 @@ const queriesMetadata = {
96
106
  protoName: "ListRoutes",
97
107
  paramsType: "ListRoutesRequest",
98
108
  returnType: "ListRoutesResponse",
109
+ returnTypeNamespace: "@scaleway-internal/sdk-iot/v1",
99
110
  isList: true,
100
111
  paginationType: "offset",
101
112
  pageParamKey: "page",
102
113
  listItemType: "RouteSummary",
114
+ listItemTypeNamespace: "@scaleway-internal/sdk-iot/v1",
103
115
  isPrivate: false,
104
116
  description: "\""
105
117
  },
@@ -108,6 +120,7 @@ const queriesMetadata = {
108
120
  protoName: "GetRoute",
109
121
  paramsType: "GetRouteRequest",
110
122
  returnType: "Route",
123
+ returnTypeNamespace: "@scaleway-internal/sdk-iot/v1",
111
124
  isList: false,
112
125
  paginationType: "none",
113
126
  isPrivate: false,
@@ -118,10 +131,12 @@ const queriesMetadata = {
118
131
  protoName: "ListNetworks",
119
132
  paramsType: "ListNetworksRequest",
120
133
  returnType: "ListNetworksResponse",
134
+ returnTypeNamespace: "@scaleway-internal/sdk-iot/v1",
121
135
  isList: true,
122
136
  paginationType: "offset",
123
137
  pageParamKey: "page",
124
138
  listItemType: "Network",
139
+ listItemTypeNamespace: "@scaleway-internal/sdk-iot/v1",
125
140
  isPrivate: false,
126
141
  description: "\""
127
142
  },
@@ -130,6 +145,7 @@ const queriesMetadata = {
130
145
  protoName: "GetNetwork",
131
146
  paramsType: "GetNetworkRequest",
132
147
  returnType: "Network",
148
+ returnTypeNamespace: "@scaleway-internal/sdk-iot/v1",
133
149
  isList: false,
134
150
  paginationType: "none",
135
151
  isPrivate: false,
@@ -140,6 +156,7 @@ const queriesMetadata = {
140
156
  protoName: "GetTwinDocument",
141
157
  paramsType: "GetTwinDocumentRequest",
142
158
  returnType: "TwinDocument",
159
+ returnTypeNamespace: "@scaleway-internal/sdk-iot/v1",
143
160
  isList: false,
144
161
  paginationType: "none",
145
162
  isPrivate: false,
@@ -150,6 +167,7 @@ const queriesMetadata = {
150
167
  protoName: "ListTwinDocuments",
151
168
  paramsType: "ListTwinDocumentsRequest",
152
169
  returnType: "ListTwinDocumentsResponse",
170
+ returnTypeNamespace: "@scaleway-internal/sdk-iot/v1",
153
171
  isList: false,
154
172
  paginationType: "none",
155
173
  isPrivate: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-iot",
3
- "version": "2.8.0",
3
+ "version": "2.10.0",
4
4
  "description": "Scaleway SDK iot",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -33,7 +33,7 @@
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.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@repo/configs": "^0.1.1",