@scaleway/sdk 2.72.0 → 2.73.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.
- package/dist/api/account/v3/api.gen.cjs +13 -32
- package/dist/api/account/v3/api.gen.d.ts +17 -36
- package/dist/api/account/v3/api.gen.js +13 -32
- package/dist/api/account/v3/types.gen.d.ts +187 -85
- package/dist/api/applesilicon/v1alpha1/api.gen.cjs +19 -46
- package/dist/api/applesilicon/v1alpha1/api.gen.d.ts +24 -49
- package/dist/api/applesilicon/v1alpha1/api.gen.js +19 -46
- package/dist/api/applesilicon/v1alpha1/types.gen.d.ts +310 -135
- package/dist/api/audit_trail/v1alpha1/api.gen.cjs +2 -5
- package/dist/api/audit_trail/v1alpha1/api.gen.d.ts +4 -8
- package/dist/api/audit_trail/v1alpha1/api.gen.js +2 -5
- package/dist/api/audit_trail/v1alpha1/types.gen.d.ts +110 -82
- package/dist/api/baremetal/v1/api.gen.cjs +28 -61
- package/dist/api/baremetal/v1/api.gen.d.ts +29 -60
- package/dist/api/baremetal/v1/api.gen.js +28 -61
- package/dist/api/baremetal/v1/types.gen.d.ts +802 -315
- package/dist/api/baremetal/v3/api.gen.cjs +7 -14
- package/dist/api/baremetal/v3/api.gen.d.ts +10 -15
- package/dist/api/baremetal/v3/api.gen.js +7 -14
- package/dist/api/baremetal/v3/types.gen.d.ts +82 -32
- package/dist/api/billing/v2beta1/api.gen.cjs +11 -20
- package/dist/api/billing/v2beta1/api.gen.d.ts +9 -19
- package/dist/api/billing/v2beta1/api.gen.js +11 -20
- package/dist/api/billing/v2beta1/types.gen.d.ts +231 -102
- package/dist/api/block/v1/api.gen.cjs +37 -55
- package/dist/api/block/v1/api.gen.d.ts +19 -37
- package/dist/api/block/v1/api.gen.js +37 -55
- package/dist/api/block/v1/types.gen.d.ts +306 -125
- package/dist/api/block/v1alpha1/api.gen.cjs +45 -64
- package/dist/api/block/v1alpha1/api.gen.d.ts +22 -41
- package/dist/api/block/v1alpha1/api.gen.js +45 -64
- package/dist/api/block/v1alpha1/types.gen.d.ts +327 -132
- package/dist/api/cockpit/v1/api.gen.cjs +100 -156
- package/dist/api/cockpit/v1/api.gen.d.ts +53 -112
- package/dist/api/cockpit/v1/api.gen.js +100 -156
- package/dist/api/cockpit/v1/types.gen.d.ts +567 -246
- package/dist/api/container/v1beta1/api.gen.cjs +7 -14
- package/dist/api/container/v1beta1/api.gen.d.ts +9 -16
- package/dist/api/container/v1beta1/api.gen.js +7 -14
- package/dist/api/container/v1beta1/types.gen.d.ts +648 -322
- package/dist/api/dedibox/v1/api.gen.cjs +45 -69
- package/dist/api/dedibox/v1/api.gen.d.ts +52 -62
- package/dist/api/dedibox/v1/api.gen.js +45 -69
- package/dist/api/dedibox/v1/types.gen.d.ts +1765 -645
- package/dist/api/domain/v2beta1/api.gen.cjs +119 -178
- package/dist/api/domain/v2beta1/api.gen.d.ts +71 -130
- package/dist/api/domain/v2beta1/api.gen.js +119 -178
- package/dist/api/domain/v2beta1/content.gen.d.ts +1 -4
- package/dist/api/domain/v2beta1/types.gen.d.ts +411 -199
- package/dist/api/flexibleip/v1alpha1/api.gen.cjs +10 -25
- package/dist/api/flexibleip/v1alpha1/api.gen.d.ts +12 -28
- package/dist/api/flexibleip/v1alpha1/api.gen.js +10 -25
- package/dist/api/flexibleip/v1alpha1/types.gen.d.ts +186 -78
- package/dist/api/inference/v1/api.gen.cjs +8 -11
- package/dist/api/inference/v1/api.gen.d.ts +6 -9
- package/dist/api/inference/v1/api.gen.js +8 -11
- package/dist/api/inference/v1/types.gen.d.ts +330 -150
- package/dist/api/inference/v1beta1/api.gen.cjs +8 -11
- package/dist/api/inference/v1beta1/api.gen.d.ts +6 -9
- package/dist/api/inference/v1beta1/api.gen.js +8 -11
- package/dist/api/inference/v1beta1/types.gen.d.ts +341 -154
- package/dist/api/instance/v1/api.gen.cjs +64 -113
- package/dist/api/instance/v1/api.gen.d.ts +54 -103
- package/dist/api/instance/v1/api.gen.js +64 -113
- package/dist/api/instance/v1/types.gen.d.ts +1351 -598
- package/dist/api/instance/v1/types.private.gen.d.ts +131 -59
- package/dist/api/interlink/v1beta1/api.gen.cjs +21 -67
- package/dist/api/interlink/v1beta1/api.gen.d.ts +23 -70
- package/dist/api/interlink/v1beta1/api.gen.js +21 -67
- package/dist/api/interlink/v1beta1/marshalling.gen.cjs +2 -0
- package/dist/api/interlink/v1beta1/marshalling.gen.js +2 -0
- package/dist/api/interlink/v1beta1/types.gen.d.ts +464 -216
- package/dist/api/interlink/v1beta1/validation-rules.gen.cjs +8 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.d.ts +8 -0
- package/dist/api/interlink/v1beta1/validation-rules.gen.js +8 -0
- package/dist/api/iot/v1/api.gen.cjs +37 -70
- package/dist/api/iot/v1/api.gen.d.ts +34 -67
- package/dist/api/iot/v1/api.gen.js +37 -70
- package/dist/api/iot/v1/types.gen.d.ts +566 -321
- package/dist/api/ipam/v1/api.gen.cjs +6 -26
- package/dist/api/ipam/v1/api.gen.d.ts +8 -29
- package/dist/api/ipam/v1/api.gen.js +6 -26
- package/dist/api/ipam/v1/types.gen.d.ts +146 -105
- package/dist/api/jobs/v1alpha1/api.gen.cjs +2 -4
- package/dist/api/jobs/v1alpha1/api.gen.d.ts +4 -6
- package/dist/api/jobs/v1alpha1/api.gen.js +2 -4
- package/dist/api/jobs/v1alpha1/types.gen.d.ts +165 -91
- package/dist/api/k8s/v1/api.gen.cjs +33 -78
- package/dist/api/k8s/v1/api.gen.d.ts +27 -72
- package/dist/api/k8s/v1/api.gen.js +33 -78
- package/dist/api/k8s/v1/types.gen.d.ts +743 -506
- package/dist/api/key_manager/v1alpha1/api.gen.cjs +21 -57
- package/dist/api/key_manager/v1alpha1/api.gen.d.ts +19 -56
- package/dist/api/key_manager/v1alpha1/api.gen.js +21 -57
- package/dist/api/key_manager/v1alpha1/types.gen.d.ts +196 -114
- package/dist/api/marketplace/v2/api.gen.cjs +8 -21
- package/dist/api/marketplace/v2/api.gen.d.ts +10 -24
- package/dist/api/marketplace/v2/api.gen.js +8 -21
- package/dist/api/marketplace/v2/types.gen.d.ts +94 -41
- package/dist/api/mnq/v1beta1/api.gen.cjs +24 -76
- package/dist/api/mnq/v1beta1/api.gen.d.ts +30 -82
- package/dist/api/mnq/v1beta1/api.gen.js +24 -76
- package/dist/api/mnq/v1beta1/types.gen.d.ts +342 -169
- package/dist/api/mongodb/v1alpha1/api.gen.cjs +19 -62
- package/dist/api/mongodb/v1alpha1/api.gen.d.ts +21 -64
- package/dist/api/mongodb/v1alpha1/api.gen.js +19 -62
- package/dist/api/mongodb/v1alpha1/types.gen.d.ts +443 -189
- package/dist/api/qaas/v1alpha1/api.gen.cjs +17 -34
- package/dist/api/qaas/v1alpha1/api.gen.d.ts +19 -36
- package/dist/api/qaas/v1alpha1/api.gen.js +17 -34
- package/dist/api/qaas/v1alpha1/types.gen.d.ts +502 -174
- package/dist/api/rdb/v1/api.gen.cjs +62 -202
- package/dist/api/rdb/v1/api.gen.d.ts +60 -201
- package/dist/api/rdb/v1/api.gen.js +62 -202
- package/dist/api/rdb/v1/types.gen.d.ts +1005 -524
- package/dist/api/redis/v1/api.gen.cjs +23 -83
- package/dist/api/redis/v1/api.gen.d.ts +25 -85
- package/dist/api/redis/v1/api.gen.js +23 -83
- package/dist/api/redis/v1/types.gen.d.ts +447 -170
- package/dist/api/registry/v1/api.gen.cjs +12 -40
- package/dist/api/registry/v1/api.gen.d.ts +14 -42
- package/dist/api/registry/v1/api.gen.js +12 -40
- package/dist/api/registry/v1/types.gen.d.ts +200 -116
- package/dist/api/secret/v1beta1/api.gen.cjs +19 -47
- package/dist/api/secret/v1beta1/api.gen.d.ts +21 -51
- package/dist/api/secret/v1beta1/api.gen.js +19 -47
- package/dist/api/secret/v1beta1/types.gen.d.ts +359 -224
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.cjs +9 -27
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.d.ts +11 -29
- package/dist/api/serverless_sqldb/v1alpha1/api.gen.js +9 -27
- package/dist/api/serverless_sqldb/v1alpha1/types.gen.d.ts +168 -76
- package/dist/api/tem/v1alpha1/api.gen.cjs +22 -58
- package/dist/api/tem/v1alpha1/api.gen.d.ts +24 -60
- package/dist/api/tem/v1alpha1/api.gen.js +22 -58
- package/dist/api/tem/v1alpha1/types.gen.d.ts +761 -338
- package/dist/api/test/v1/api.gen.cjs +8 -11
- package/dist/api/test/v1/api.gen.d.ts +6 -9
- package/dist/api/test/v1/api.gen.js +8 -11
- package/dist/api/test/v1/types.gen.d.ts +21 -10
- package/dist/client/dist/package.json.cjs +1 -1
- package/dist/client/dist/package.json.js +1 -1
- package/node_modules/@scaleway/sdk-client/dist/package.json.cjs +1 -1
- package/node_modules/@scaleway/sdk-client/dist/package.json.js +1 -1
- package/node_modules/@scaleway/sdk-client/package.json +1 -2
- package/package.json +2 -2
- package/node_modules/@scaleway/sdk-client/LICENSE +0 -191
|
@@ -31,17 +31,14 @@ class API extends API$1 {
|
|
|
31
31
|
unmarshalListHubsResponse
|
|
32
32
|
);
|
|
33
33
|
/**
|
|
34
|
-
* List hubs. List all Hubs in the specified zone. By default, returned Hubs
|
|
35
|
-
* are ordered by creation date in ascending order, though this can be
|
|
36
|
-
* modified via the `order_by` field.
|
|
34
|
+
* List hubs. List all Hubs in the specified zone. By default, returned Hubs are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
|
|
37
35
|
*
|
|
38
36
|
* @param request - The request {@link ListHubsRequest}
|
|
39
37
|
* @returns A Promise of ListHubsResponse
|
|
40
38
|
*/
|
|
41
39
|
listHubs = (request = {}) => enrichForPagination("hubs", this.pageOfListHubs, request);
|
|
42
40
|
/**
|
|
43
|
-
* Create a hub. Create a new Hub in the targeted region, specifying its
|
|
44
|
-
* configuration including name and product plan.
|
|
41
|
+
* Create a hub. Create a new Hub in the targeted region, specifying its configuration including name and product plan.
|
|
45
42
|
*
|
|
46
43
|
* @param request - The request {@link CreateHubRequest}
|
|
47
44
|
* @returns A Promise of Hub
|
|
@@ -58,9 +55,7 @@ class API extends API$1 {
|
|
|
58
55
|
unmarshalHub
|
|
59
56
|
);
|
|
60
57
|
/**
|
|
61
|
-
* Get a hub. Retrieve information about an existing IoT Hub, specified by its
|
|
62
|
-
* Hub ID. Its full details, including name, status and endpoint, are returned
|
|
63
|
-
* in the response object.
|
|
58
|
+
* Get a hub. Retrieve information about an existing IoT Hub, specified by its Hub ID. Its full details, including name, status and endpoint, are returned in the response object.
|
|
64
59
|
*
|
|
65
60
|
* @param request - The request {@link GetHubRequest}
|
|
66
61
|
* @returns A Promise of Hub
|
|
@@ -86,8 +81,7 @@ class API extends API$1 {
|
|
|
86
81
|
options
|
|
87
82
|
);
|
|
88
83
|
/**
|
|
89
|
-
* Update a hub. Update the parameters of an existing IoT Hub, specified by
|
|
90
|
-
* its Hub ID.
|
|
84
|
+
* Update a hub. Update the parameters of an existing IoT Hub, specified by its Hub ID.
|
|
91
85
|
*
|
|
92
86
|
* @param request - The request {@link UpdateHubRequest}
|
|
93
87
|
* @returns A Promise of Hub
|
|
@@ -134,8 +128,7 @@ class API extends API$1 {
|
|
|
134
128
|
unmarshalHub
|
|
135
129
|
);
|
|
136
130
|
/**
|
|
137
|
-
* Delete a hub. Delete an existing IoT Hub, specified by its Hub ID. Deleting
|
|
138
|
-
* a Hub is permanent, and cannot be undone.
|
|
131
|
+
* Delete a hub. Delete an existing IoT Hub, specified by its Hub ID. Deleting a Hub is permanent, and cannot be undone.
|
|
139
132
|
*
|
|
140
133
|
* @param request - The request {@link DeleteHubRequest}
|
|
141
134
|
*/
|
|
@@ -145,8 +138,7 @@ class API extends API$1 {
|
|
|
145
138
|
urlParams: urlParams(["delete_devices", request.deleteDevices])
|
|
146
139
|
});
|
|
147
140
|
/**
|
|
148
|
-
* Get a hub's metrics. Get the metrics of an existing IoT Hub, specified by
|
|
149
|
-
* its Hub ID.
|
|
141
|
+
* Get a hub's metrics. Get the metrics of an existing IoT Hub, specified by its Hub ID.
|
|
150
142
|
*
|
|
151
143
|
* @deprecated
|
|
152
144
|
* @param request - The request {@link GetHubMetricsRequest}
|
|
@@ -161,8 +153,7 @@ class API extends API$1 {
|
|
|
161
153
|
unmarshalGetHubMetricsResponse
|
|
162
154
|
);
|
|
163
155
|
/**
|
|
164
|
-
* Set the certificate authority of a hub. Set a particular PEM-encoded
|
|
165
|
-
* certificate, specified by the Hub ID.
|
|
156
|
+
* Set the certificate authority of a hub. Set a particular PEM-encoded certificate, specified by the Hub ID.
|
|
166
157
|
*
|
|
167
158
|
* @param request - The request {@link SetHubCARequest}
|
|
168
159
|
* @returns A Promise of Hub
|
|
@@ -179,8 +170,7 @@ class API extends API$1 {
|
|
|
179
170
|
unmarshalHub
|
|
180
171
|
);
|
|
181
172
|
/**
|
|
182
|
-
* Get the certificate authority of a hub. Get information for a particular
|
|
183
|
-
* PEM-encoded certificate, specified by the Hub ID.
|
|
173
|
+
* Get the certificate authority of a hub. Get information for a particular PEM-encoded certificate, specified by the Hub ID.
|
|
184
174
|
*
|
|
185
175
|
* @param request - The request {@link GetHubCARequest}
|
|
186
176
|
* @returns A Promise of GetHubCAResponse
|
|
@@ -212,9 +202,7 @@ class API extends API$1 {
|
|
|
212
202
|
unmarshalListDevicesResponse
|
|
213
203
|
);
|
|
214
204
|
/**
|
|
215
|
-
* List devices. List all devices in the specified region. By default,
|
|
216
|
-
* returned devices are ordered by creation date in ascending order, though
|
|
217
|
-
* this can be modified via the `order_by` field.
|
|
205
|
+
* List devices. List all devices in the specified region. By default, returned devices are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
|
|
218
206
|
*
|
|
219
207
|
* @param request - The request {@link ListDevicesRequest}
|
|
220
208
|
* @returns A Promise of ListDevicesResponse
|
|
@@ -238,9 +226,7 @@ class API extends API$1 {
|
|
|
238
226
|
unmarshalCreateDeviceResponse
|
|
239
227
|
);
|
|
240
228
|
/**
|
|
241
|
-
* Get a device. Retrieve information about an existing device, specified by
|
|
242
|
-
* its device ID. Its full details, including name, status and ID, are
|
|
243
|
-
* returned in the response object.
|
|
229
|
+
* Get a device. Retrieve information about an existing device, specified by its device ID. Its full details, including name, status and ID, are returned in the response object.
|
|
244
230
|
*
|
|
245
231
|
* @param request - The request {@link GetDeviceRequest}
|
|
246
232
|
* @returns A Promise of Device
|
|
@@ -253,8 +239,7 @@ class API extends API$1 {
|
|
|
253
239
|
unmarshalDevice
|
|
254
240
|
);
|
|
255
241
|
/**
|
|
256
|
-
* Update a device. Update the parameters of an existing device, specified by
|
|
257
|
-
* its device ID.
|
|
242
|
+
* Update a device. Update the parameters of an existing device, specified by its device ID.
|
|
258
243
|
*
|
|
259
244
|
* @param request - The request {@link UpdateDeviceRequest}
|
|
260
245
|
* @returns A Promise of Device
|
|
@@ -301,8 +286,7 @@ class API extends API$1 {
|
|
|
301
286
|
unmarshalDevice
|
|
302
287
|
);
|
|
303
288
|
/**
|
|
304
|
-
* Renew a device certificate. Renew the certificate of an existing device,
|
|
305
|
-
* specified by its device ID.
|
|
289
|
+
* Renew a device certificate. Renew the certificate of an existing device, specified by its device ID.
|
|
306
290
|
*
|
|
307
291
|
* @param request - The request {@link RenewDeviceCertificateRequest}
|
|
308
292
|
* @returns A Promise of RenewDeviceCertificateResponse
|
|
@@ -317,8 +301,7 @@ class API extends API$1 {
|
|
|
317
301
|
unmarshalRenewDeviceCertificateResponse
|
|
318
302
|
);
|
|
319
303
|
/**
|
|
320
|
-
* Set a custom certificate on a device. Switch the existing certificate of a
|
|
321
|
-
* given device with an EM-encoded custom certificate.
|
|
304
|
+
* Set a custom certificate on a device. Switch the existing certificate of a given device with an EM-encoded custom certificate.
|
|
322
305
|
*
|
|
323
306
|
* @param request - The request {@link SetDeviceCertificateRequest}
|
|
324
307
|
* @returns A Promise of SetDeviceCertificateResponse
|
|
@@ -335,9 +318,7 @@ class API extends API$1 {
|
|
|
335
318
|
unmarshalSetDeviceCertificateResponse
|
|
336
319
|
);
|
|
337
320
|
/**
|
|
338
|
-
* Get a device's certificate. Get information for a particular PEM-encoded
|
|
339
|
-
* certificate, specified by the device ID. The response returns full details
|
|
340
|
-
* of the device, including its type of certificate.
|
|
321
|
+
* Get a device's certificate. Get information for a particular PEM-encoded certificate, specified by the device ID. The response returns full details of the device, including its type of certificate.
|
|
341
322
|
*
|
|
342
323
|
* @param request - The request {@link GetDeviceCertificateRequest}
|
|
343
324
|
* @returns A Promise of GetDeviceCertificateResponse
|
|
@@ -350,8 +331,7 @@ class API extends API$1 {
|
|
|
350
331
|
unmarshalGetDeviceCertificateResponse
|
|
351
332
|
);
|
|
352
333
|
/**
|
|
353
|
-
* Remove a device. Remove a specific device from the specific Hub it is
|
|
354
|
-
* attached to.
|
|
334
|
+
* Remove a device. Remove a specific device from the specific Hub it is attached to.
|
|
355
335
|
*
|
|
356
336
|
* @param request - The request {@link DeleteDeviceRequest}
|
|
357
337
|
*/
|
|
@@ -360,8 +340,7 @@ class API extends API$1 {
|
|
|
360
340
|
path: `/iot/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/devices/${validatePathParam("deviceId", request.deviceId)}`
|
|
361
341
|
});
|
|
362
342
|
/**
|
|
363
|
-
* Get a device's metrics. Get the metrics of an existing device, specified by
|
|
364
|
-
* its device ID.
|
|
343
|
+
* Get a device's metrics. Get the metrics of an existing device, specified by its device ID.
|
|
365
344
|
*
|
|
366
345
|
* @deprecated
|
|
367
346
|
* @param request - The request {@link GetDeviceMetricsRequest}
|
|
@@ -393,30 +372,27 @@ class API extends API$1 {
|
|
|
393
372
|
unmarshalListRoutesResponse
|
|
394
373
|
);
|
|
395
374
|
/**
|
|
396
|
-
* List routes. List all routes in the specified region. By default, returned
|
|
397
|
-
* routes are ordered by creation date in ascending order, though this can be
|
|
398
|
-
* modified via the `order_by` field.
|
|
375
|
+
* List routes. List all routes in the specified region. By default, returned routes are ordered by creation date in ascending order, though this can be modified via the `order_by` field.
|
|
399
376
|
*
|
|
400
377
|
* @param request - The request {@link ListRoutesRequest}
|
|
401
378
|
* @returns A Promise of ListRoutesResponse
|
|
402
379
|
*/
|
|
403
380
|
listRoutes = (request = {}) => enrichForPagination("routes", this.pageOfListRoutes, request);
|
|
404
381
|
/**
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
*/
|
|
382
|
+
* Create a route. Multiple kinds of routes can be created, such as:
|
|
383
|
+
- Database Route
|
|
384
|
+
Create a route that will record subscribed MQTT messages into your database.
|
|
385
|
+
<b>You need to manage the database by yourself</b>.
|
|
386
|
+
- REST Route.
|
|
387
|
+
Create a route that will call a REST API on received subscribed MQTT messages.
|
|
388
|
+
- Amazon S3 Routes.
|
|
389
|
+
Create a route that will put subscribed MQTT messages into an Object Storage bucket.
|
|
390
|
+
You need to create the bucket yourself and grant write access.
|
|
391
|
+
Granting can be done with s3cmd (`s3cmd setacl s3://<my-bucket> --acl-grant=write:555c69c3-87d0-4bf8-80f1-99a2f757d031:555c69c3-87d0-4bf8-80f1-99a2f757d031`).
|
|
392
|
+
*
|
|
393
|
+
* @param request - The request {@link CreateRouteRequest}
|
|
394
|
+
* @returns A Promise of Route
|
|
395
|
+
*/
|
|
420
396
|
createRoute = (request) => this.client.fetch(
|
|
421
397
|
{
|
|
422
398
|
body: JSON.stringify(
|
|
@@ -429,8 +405,7 @@ class API extends API$1 {
|
|
|
429
405
|
unmarshalRoute
|
|
430
406
|
);
|
|
431
407
|
/**
|
|
432
|
-
* Update a route. Update the parameters of an existing route, specified by
|
|
433
|
-
* its route ID.
|
|
408
|
+
* Update a route. Update the parameters of an existing route, specified by its route ID.
|
|
434
409
|
*
|
|
435
410
|
* @param request - The request {@link UpdateRouteRequest}
|
|
436
411
|
* @returns A Promise of Route
|
|
@@ -447,9 +422,7 @@ class API extends API$1 {
|
|
|
447
422
|
unmarshalRoute
|
|
448
423
|
);
|
|
449
424
|
/**
|
|
450
|
-
* Get a route. Get information for a particular route, specified by the route
|
|
451
|
-
* ID. The response returns full details of the route, including its type, the
|
|
452
|
-
* topic it subscribes to and its configuration.
|
|
425
|
+
* Get a route. Get information for a particular route, specified by the route ID. The response returns full details of the route, including its type, the topic it subscribes to and its configuration.
|
|
453
426
|
*
|
|
454
427
|
* @param request - The request {@link GetRouteRequest}
|
|
455
428
|
* @returns A Promise of Route
|
|
@@ -462,8 +435,7 @@ class API extends API$1 {
|
|
|
462
435
|
unmarshalRoute
|
|
463
436
|
);
|
|
464
437
|
/**
|
|
465
|
-
* Delete a route. Delete an existing route, specified by its route ID.
|
|
466
|
-
* Deleting a route is permanent, and cannot be undone.
|
|
438
|
+
* Delete a route. Delete an existing route, specified by its route ID. Deleting a route is permanent, and cannot be undone.
|
|
467
439
|
*
|
|
468
440
|
* @param request - The request {@link DeleteRouteRequest}
|
|
469
441
|
*/
|
|
@@ -497,9 +469,7 @@ class API extends API$1 {
|
|
|
497
469
|
*/
|
|
498
470
|
listNetworks = (request = {}) => enrichForPagination("networks", this.pageOfListNetworks, request);
|
|
499
471
|
/**
|
|
500
|
-
* Create a new network. Create a new network for an existing hub.
|
|
501
|
-
* default network, you can add networks for different data providers.
|
|
502
|
-
* Possible network types are Sigfox and REST.
|
|
472
|
+
* Create a new network. Create a new network for an existing hub. Beside the default network, you can add networks for different data providers. Possible network types are Sigfox and REST.
|
|
503
473
|
*
|
|
504
474
|
* @param request - The request {@link CreateNetworkRequest}
|
|
505
475
|
* @returns A Promise of CreateNetworkResponse
|
|
@@ -516,9 +486,7 @@ class API extends API$1 {
|
|
|
516
486
|
unmarshalCreateNetworkResponse
|
|
517
487
|
);
|
|
518
488
|
/**
|
|
519
|
-
* Retrieve a specific network. Retrieve an existing network, specified by its
|
|
520
|
-
* network ID. The response returns full details of the network, including its
|
|
521
|
-
* type, the topic prefix and its endpoint.
|
|
489
|
+
* Retrieve a specific network. Retrieve an existing network, specified by its network ID. The response returns full details of the network, including its type, the topic prefix and its endpoint.
|
|
522
490
|
*
|
|
523
491
|
* @param request - The request {@link GetNetworkRequest}
|
|
524
492
|
* @returns A Promise of Network
|
|
@@ -531,8 +499,7 @@ class API extends API$1 {
|
|
|
531
499
|
unmarshalNetwork
|
|
532
500
|
);
|
|
533
501
|
/**
|
|
534
|
-
* Delete a Network. Delete an existing network, specified by its network ID.
|
|
535
|
-
* Deleting a network is permanent, and cannot be undone.
|
|
502
|
+
* Delete a Network. Delete an existing network, specified by its network ID. Deleting a network is permanent, and cannot be undone.
|
|
536
503
|
*
|
|
537
504
|
* @param request - The request {@link DeleteNetworkRequest}
|
|
538
505
|
*/
|