@scaleway/sdk-cockpit 2.1.1 → 2.2.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.
@@ -15,9 +15,10 @@ class GlobalAPI extends API {
15
15
  {
16
16
  method: "GET",
17
17
  path: `/cockpit/v1/grafana`,
18
- urlParams: urlParams(
19
- ["project_id", request.projectId ?? this.client.settings.defaultProjectId]
20
- )
18
+ urlParams: urlParams([
19
+ "project_id",
20
+ request.projectId ?? this.client.settings.defaultProjectId
21
+ ])
21
22
  },
22
23
  unmarshalGrafana
23
24
  );
@@ -26,16 +27,17 @@ class GlobalAPI extends API {
26
27
  *
27
28
  * @param request - The request {@link GlobalApiSyncGrafanaDataSourcesRequest}
28
29
  */
29
- syncGrafanaDataSources = (request = {}) => this.client.fetch(
30
- {
31
- body: JSON.stringify(
32
- marshalGlobalApiSyncGrafanaDataSourcesRequest(request, this.client.settings)
33
- ),
34
- headers: jsonContentHeaders,
35
- method: "POST",
36
- path: `/cockpit/v1/grafana/sync-data-sources`
37
- }
38
- );
30
+ syncGrafanaDataSources = (request = {}) => this.client.fetch({
31
+ body: JSON.stringify(
32
+ marshalGlobalApiSyncGrafanaDataSourcesRequest(
33
+ request,
34
+ this.client.settings
35
+ )
36
+ ),
37
+ headers: jsonContentHeaders,
38
+ method: "POST",
39
+ path: `/cockpit/v1/grafana/sync-data-sources`
40
+ });
39
41
  /**
40
42
  * (Deprecated) EOL 2026-01-20. Create a Grafana user
41
43
  Create a Grafana user to connect to your Cockpit's Grafana. Upon creation, your user password displays only once, so make sure that you save it.
@@ -48,7 +50,10 @@ class GlobalAPI extends API {
48
50
  createGrafanaUser = (request) => this.client.fetch(
49
51
  {
50
52
  body: JSON.stringify(
51
- marshalGlobalApiCreateGrafanaUserRequest(request, this.client.settings)
53
+ marshalGlobalApiCreateGrafanaUserRequest(
54
+ request,
55
+ this.client.settings
56
+ )
52
57
  ),
53
58
  headers: jsonContentHeaders,
54
59
  method: "POST",
@@ -63,8 +68,14 @@ class GlobalAPI extends API {
63
68
  urlParams: urlParams(
64
69
  ["order_by", request.orderBy],
65
70
  ["page", request.page],
66
- ["page_size", request.pageSize ?? this.client.settings.defaultPageSize],
67
- ["project_id", request.projectId ?? this.client.settings.defaultProjectId]
71
+ [
72
+ "page_size",
73
+ request.pageSize ?? this.client.settings.defaultPageSize
74
+ ],
75
+ [
76
+ "project_id",
77
+ request.projectId ?? this.client.settings.defaultProjectId
78
+ ]
68
79
  )
69
80
  },
70
81
  unmarshalListGrafanaUsersResponse
@@ -85,15 +96,14 @@ class GlobalAPI extends API {
85
96
  * @deprecated
86
97
  * @param request - The request {@link GlobalApiDeleteGrafanaUserRequest}
87
98
  */
88
- deleteGrafanaUser = (request) => this.client.fetch(
89
- {
90
- method: "DELETE",
91
- path: `/cockpit/v1/grafana/users/${validatePathParam("grafanaUserId", request.grafanaUserId)}`,
92
- urlParams: urlParams(
93
- ["project_id", request.projectId ?? this.client.settings.defaultProjectId]
94
- )
95
- }
96
- );
99
+ deleteGrafanaUser = (request) => this.client.fetch({
100
+ method: "DELETE",
101
+ path: `/cockpit/v1/grafana/users/${validatePathParam("grafanaUserId", request.grafanaUserId)}`,
102
+ urlParams: urlParams([
103
+ "project_id",
104
+ request.projectId ?? this.client.settings.defaultProjectId
105
+ ])
106
+ });
97
107
  /**
98
108
  * (Deprecated) EOL 2026-01-20. Reset a Grafana user password
99
109
  Reset the password of a Grafana user, specified by the ID of the Project the Cockpit belongs to, and the ID of the Grafana user.
@@ -106,7 +116,10 @@ class GlobalAPI extends API {
106
116
  resetGrafanaUserPassword = (request) => this.client.fetch(
107
117
  {
108
118
  body: JSON.stringify(
109
- marshalGlobalApiResetGrafanaUserPasswordRequest(request, this.client.settings)
119
+ marshalGlobalApiResetGrafanaUserPasswordRequest(
120
+ request,
121
+ this.client.settings
122
+ )
110
123
  ),
111
124
  headers: jsonContentHeaders,
112
125
  method: "POST",
@@ -120,8 +133,14 @@ class GlobalAPI extends API {
120
133
  path: `/cockpit/v1/grafana/product-dashboards`,
121
134
  urlParams: urlParams(
122
135
  ["page", request.page],
123
- ["page_size", request.pageSize ?? this.client.settings.defaultPageSize],
124
- ["project_id", request.projectId ?? this.client.settings.defaultProjectId],
136
+ [
137
+ "page_size",
138
+ request.pageSize ?? this.client.settings.defaultPageSize
139
+ ],
140
+ [
141
+ "project_id",
142
+ request.projectId ?? this.client.settings.defaultProjectId
143
+ ],
125
144
  ["tags", request.tags]
126
145
  )
127
146
  },
@@ -133,7 +152,11 @@ class GlobalAPI extends API {
133
152
  * @param request - The request {@link GlobalApiListGrafanaProductDashboardsRequest}
134
153
  * @returns A Promise of ListGrafanaProductDashboardsResponse
135
154
  */
136
- listGrafanaProductDashboards = (request = {}) => enrichForPagination("dashboards", this.pageOfListGrafanaProductDashboards, request);
155
+ listGrafanaProductDashboards = (request = {}) => enrichForPagination(
156
+ "dashboards",
157
+ this.pageOfListGrafanaProductDashboards,
158
+ request
159
+ );
137
160
  /**
138
161
  * Get Scaleway resource dashboard. Retrieve information about the dashboard of a Scaleway resource in Grafana, specified by the ID of the Project the Cockpit belongs to, and the name of the dashboard.
139
162
  *
@@ -144,9 +167,10 @@ class GlobalAPI extends API {
144
167
  {
145
168
  method: "GET",
146
169
  path: `/cockpit/v1/grafana/product-dashboards/${validatePathParam("dashboardName", request.dashboardName)}`,
147
- urlParams: urlParams(
148
- ["project_id", request.projectId ?? this.client.settings.defaultProjectId]
149
- )
170
+ urlParams: urlParams([
171
+ "project_id",
172
+ request.projectId ?? this.client.settings.defaultProjectId
173
+ ])
150
174
  },
151
175
  unmarshalGrafanaProductDashboard
152
176
  );
@@ -157,7 +181,10 @@ class GlobalAPI extends API {
157
181
  urlParams: urlParams(
158
182
  ["order_by", request.orderBy],
159
183
  ["page", request.page],
160
- ["page_size", request.pageSize ?? this.client.settings.defaultPageSize]
184
+ [
185
+ "page_size",
186
+ request.pageSize ?? this.client.settings.defaultPageSize
187
+ ]
161
188
  )
162
189
  },
163
190
  unmarshalListPlansResponse
@@ -202,9 +229,10 @@ class GlobalAPI extends API {
202
229
  {
203
230
  method: "GET",
204
231
  path: `/cockpit/v1/current-plan`,
205
- urlParams: urlParams(
206
- ["project_id", request.projectId ?? this.client.settings.defaultProjectId]
207
- )
232
+ urlParams: urlParams([
233
+ "project_id",
234
+ request.projectId ?? this.client.settings.defaultProjectId
235
+ ])
208
236
  },
209
237
  unmarshalPlan
210
238
  );
@@ -215,11 +243,7 @@ class RegionalAPI extends API {
215
243
  * type ∈ {'zone','region','global','unspecified'}
216
244
  */
217
245
  static LOCALITY = toApiLocality({
218
- regions: [
219
- "fr-par",
220
- "nl-ams",
221
- "pl-waw"
222
- ]
246
+ regions: ["fr-par", "nl-ams", "pl-waw"]
223
247
  });
224
248
  /**
225
249
  * Get the Cockpit configuration.
@@ -244,7 +268,10 @@ class RegionalAPI extends API {
244
268
  createDataSource = (request) => this.client.fetch(
245
269
  {
246
270
  body: JSON.stringify(
247
- marshalRegionalApiCreateDataSourceRequest(request, this.client.settings)
271
+ marshalRegionalApiCreateDataSourceRequest(
272
+ request,
273
+ this.client.settings
274
+ )
248
275
  ),
249
276
  headers: jsonContentHeaders,
250
277
  method: "POST",
@@ -270,12 +297,10 @@ class RegionalAPI extends API {
270
297
  *
271
298
  * @param request - The request {@link RegionalApiDeleteDataSourceRequest}
272
299
  */
273
- deleteDataSource = (request) => this.client.fetch(
274
- {
275
- method: "DELETE",
276
- path: `/cockpit/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/data-sources/${validatePathParam("dataSourceId", request.dataSourceId)}`
277
- }
278
- );
300
+ deleteDataSource = (request) => this.client.fetch({
301
+ method: "DELETE",
302
+ path: `/cockpit/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/data-sources/${validatePathParam("dataSourceId", request.dataSourceId)}`
303
+ });
279
304
  pageOfListDataSources = (request = {}) => this.client.fetch(
280
305
  {
281
306
  method: "GET",
@@ -284,8 +309,14 @@ class RegionalAPI extends API {
284
309
  ["order_by", request.orderBy],
285
310
  ["origin", request.origin],
286
311
  ["page", request.page],
287
- ["page_size", request.pageSize ?? this.client.settings.defaultPageSize],
288
- ["project_id", request.projectId ?? this.client.settings.defaultProjectId],
312
+ [
313
+ "page_size",
314
+ request.pageSize ?? this.client.settings.defaultPageSize
315
+ ],
316
+ [
317
+ "project_id",
318
+ request.projectId ?? this.client.settings.defaultProjectId
319
+ ],
289
320
  ["types", request.types]
290
321
  )
291
322
  },
@@ -307,7 +338,10 @@ class RegionalAPI extends API {
307
338
  updateDataSource = (request) => this.client.fetch(
308
339
  {
309
340
  body: JSON.stringify(
310
- marshalRegionalApiUpdateDataSourceRequest(request, this.client.settings)
341
+ marshalRegionalApiUpdateDataSourceRequest(
342
+ request,
343
+ this.client.settings
344
+ )
311
345
  ),
312
346
  headers: jsonContentHeaders,
313
347
  method: "PATCH",
@@ -327,7 +361,10 @@ class RegionalAPI extends API {
327
361
  path: `/cockpit/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/usage-overview`,
328
362
  urlParams: urlParams(
329
363
  ["interval", request.interval],
330
- ["project_id", request.projectId ?? this.client.settings.defaultProjectId]
364
+ [
365
+ "project_id",
366
+ request.projectId ?? this.client.settings.defaultProjectId
367
+ ]
331
368
  )
332
369
  },
333
370
  unmarshalUsageOverview
@@ -357,8 +394,14 @@ class RegionalAPI extends API {
357
394
  urlParams: urlParams(
358
395
  ["order_by", request.orderBy],
359
396
  ["page", request.page],
360
- ["page_size", request.pageSize ?? this.client.settings.defaultPageSize],
361
- ["project_id", request.projectId ?? this.client.settings.defaultProjectId],
397
+ [
398
+ "page_size",
399
+ request.pageSize ?? this.client.settings.defaultPageSize
400
+ ],
401
+ [
402
+ "project_id",
403
+ request.projectId ?? this.client.settings.defaultProjectId
404
+ ],
362
405
  ["token_scopes", request.tokenScopes]
363
406
  )
364
407
  },
@@ -390,12 +433,10 @@ class RegionalAPI extends API {
390
433
  *
391
434
  * @param request - The request {@link RegionalApiDeleteTokenRequest}
392
435
  */
393
- deleteToken = (request) => this.client.fetch(
394
- {
395
- method: "DELETE",
396
- path: `/cockpit/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/tokens/${validatePathParam("tokenId", request.tokenId)}`
397
- }
398
- );
436
+ deleteToken = (request) => this.client.fetch({
437
+ method: "DELETE",
438
+ path: `/cockpit/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/tokens/${validatePathParam("tokenId", request.tokenId)}`
439
+ });
399
440
  pageOfListProducts = (request = {}) => this.client.fetch(
400
441
  {
401
442
  method: "GET",
@@ -403,7 +444,10 @@ class RegionalAPI extends API {
403
444
  urlParams: urlParams(
404
445
  ["order_by", request.orderBy],
405
446
  ["page", request.page],
406
- ["page_size", request.pageSize ?? this.client.settings.defaultPageSize]
447
+ [
448
+ "page_size",
449
+ request.pageSize ?? this.client.settings.defaultPageSize
450
+ ]
407
451
  )
408
452
  },
409
453
  unmarshalListProductsResponse
@@ -426,9 +470,10 @@ class RegionalAPI extends API {
426
470
  {
427
471
  method: "GET",
428
472
  path: `/cockpit/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/alert-manager`,
429
- urlParams: urlParams(
430
- ["project_id", request.projectId ?? this.client.settings.defaultProjectId]
431
- )
473
+ urlParams: urlParams([
474
+ "project_id",
475
+ request.projectId ?? this.client.settings.defaultProjectId
476
+ ])
432
477
  },
433
478
  unmarshalAlertManager
434
479
  );
@@ -441,7 +486,10 @@ class RegionalAPI extends API {
441
486
  enableAlertManager = (request = {}) => this.client.fetch(
442
487
  {
443
488
  body: JSON.stringify(
444
- marshalRegionalApiEnableAlertManagerRequest(request, this.client.settings)
489
+ marshalRegionalApiEnableAlertManagerRequest(
490
+ request,
491
+ this.client.settings
492
+ )
445
493
  ),
446
494
  headers: jsonContentHeaders,
447
495
  method: "POST",
@@ -458,7 +506,10 @@ class RegionalAPI extends API {
458
506
  disableAlertManager = (request = {}) => this.client.fetch(
459
507
  {
460
508
  body: JSON.stringify(
461
- marshalRegionalApiDisableAlertManagerRequest(request, this.client.settings)
509
+ marshalRegionalApiDisableAlertManagerRequest(
510
+ request,
511
+ this.client.settings
512
+ )
462
513
  ),
463
514
  headers: jsonContentHeaders,
464
515
  method: "POST",
@@ -476,9 +527,10 @@ class RegionalAPI extends API {
476
527
  {
477
528
  method: "GET",
478
529
  path: `/cockpit/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/rules/count`,
479
- urlParams: urlParams(
480
- ["project_id", request.projectId ?? this.client.settings.defaultProjectId]
481
- )
530
+ urlParams: urlParams([
531
+ "project_id",
532
+ request.projectId ?? this.client.settings.defaultProjectId
533
+ ])
482
534
  },
483
535
  unmarshalGetRulesCountResponse
484
536
  );
@@ -493,7 +545,10 @@ class RegionalAPI extends API {
493
545
  createContactPoint = (request = {}) => this.client.fetch(
494
546
  {
495
547
  body: JSON.stringify(
496
- marshalRegionalApiCreateContactPointRequest(request, this.client.settings)
548
+ marshalRegionalApiCreateContactPointRequest(
549
+ request,
550
+ this.client.settings
551
+ )
497
552
  ),
498
553
  headers: jsonContentHeaders,
499
554
  method: "POST",
@@ -507,8 +562,14 @@ class RegionalAPI extends API {
507
562
  path: `/cockpit/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/alert-manager/contact-points`,
508
563
  urlParams: urlParams(
509
564
  ["page", request.page],
510
- ["page_size", request.pageSize ?? this.client.settings.defaultPageSize],
511
- ["project_id", request.projectId ?? this.client.settings.defaultProjectId]
565
+ [
566
+ "page_size",
567
+ request.pageSize ?? this.client.settings.defaultPageSize
568
+ ],
569
+ [
570
+ "project_id",
571
+ request.projectId ?? this.client.settings.defaultProjectId
572
+ ]
512
573
  )
513
574
  },
514
575
  unmarshalListContactPointsResponse
@@ -523,7 +584,10 @@ class RegionalAPI extends API {
523
584
  updateContactPoint = (request = {}) => this.client.fetch(
524
585
  {
525
586
  body: JSON.stringify(
526
- marshalRegionalApiUpdateContactPointRequest(request, this.client.settings)
587
+ marshalRegionalApiUpdateContactPointRequest(
588
+ request,
589
+ this.client.settings
590
+ )
527
591
  ),
528
592
  headers: jsonContentHeaders,
529
593
  method: "PATCH",
@@ -536,16 +600,17 @@ class RegionalAPI extends API {
536
600
  *
537
601
  * @param request - The request {@link RegionalApiDeleteContactPointRequest}
538
602
  */
539
- deleteContactPoint = (request = {}) => this.client.fetch(
540
- {
541
- body: JSON.stringify(
542
- marshalRegionalApiDeleteContactPointRequest(request, this.client.settings)
543
- ),
544
- headers: jsonContentHeaders,
545
- method: "POST",
546
- path: `/cockpit/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/alert-manager/contact-points/delete`
547
- }
548
- );
603
+ deleteContactPoint = (request = {}) => this.client.fetch({
604
+ body: JSON.stringify(
605
+ marshalRegionalApiDeleteContactPointRequest(
606
+ request,
607
+ this.client.settings
608
+ )
609
+ ),
610
+ headers: jsonContentHeaders,
611
+ method: "POST",
612
+ path: `/cockpit/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/alert-manager/contact-points/delete`
613
+ });
549
614
  /**
550
615
  * List alerts. List preconfigured and/or custom alerts for the specified Project and data source.
551
616
  *
@@ -559,7 +624,10 @@ class RegionalAPI extends API {
559
624
  urlParams: urlParams(
560
625
  ["data_source_id", request.dataSourceId],
561
626
  ["is_preconfigured", request.isPreconfigured],
562
- ["project_id", request.projectId ?? this.client.settings.defaultProjectId],
627
+ [
628
+ "project_id",
629
+ request.projectId ?? this.client.settings.defaultProjectId
630
+ ],
563
631
  ["rule_status", request.ruleStatus],
564
632
  ["state", request.state]
565
633
  )
@@ -576,7 +644,10 @@ class RegionalAPI extends API {
576
644
  enableManagedAlerts = (request = {}) => this.client.fetch(
577
645
  {
578
646
  body: JSON.stringify(
579
- marshalRegionalApiEnableManagedAlertsRequest(request, this.client.settings)
647
+ marshalRegionalApiEnableManagedAlertsRequest(
648
+ request,
649
+ this.client.settings
650
+ )
580
651
  ),
581
652
  headers: jsonContentHeaders,
582
653
  method: "POST",
@@ -594,7 +665,10 @@ class RegionalAPI extends API {
594
665
  disableManagedAlerts = (request = {}) => this.client.fetch(
595
666
  {
596
667
  body: JSON.stringify(
597
- marshalRegionalApiDisableManagedAlertsRequest(request, this.client.settings)
668
+ marshalRegionalApiDisableManagedAlertsRequest(
669
+ request,
670
+ this.client.settings
671
+ )
598
672
  ),
599
673
  headers: jsonContentHeaders,
600
674
  method: "POST",
@@ -611,7 +685,10 @@ class RegionalAPI extends API {
611
685
  enableAlertRules = (request = {}) => this.client.fetch(
612
686
  {
613
687
  body: JSON.stringify(
614
- marshalRegionalApiEnableAlertRulesRequest(request, this.client.settings)
688
+ marshalRegionalApiEnableAlertRulesRequest(
689
+ request,
690
+ this.client.settings
691
+ )
615
692
  ),
616
693
  headers: jsonContentHeaders,
617
694
  method: "POST",
@@ -628,7 +705,10 @@ class RegionalAPI extends API {
628
705
  disableAlertRules = (request = {}) => this.client.fetch(
629
706
  {
630
707
  body: JSON.stringify(
631
- marshalRegionalApiDisableAlertRulesRequest(request, this.client.settings)
708
+ marshalRegionalApiDisableAlertRulesRequest(
709
+ request,
710
+ this.client.settings
711
+ )
632
712
  ),
633
713
  headers: jsonContentHeaders,
634
714
  method: "POST",
@@ -641,16 +721,17 @@ class RegionalAPI extends API {
641
721
  *
642
722
  * @param request - The request {@link RegionalApiTriggerTestAlertRequest}
643
723
  */
644
- triggerTestAlert = (request = {}) => this.client.fetch(
645
- {
646
- body: JSON.stringify(
647
- marshalRegionalApiTriggerTestAlertRequest(request, this.client.settings)
648
- ),
649
- headers: jsonContentHeaders,
650
- method: "POST",
651
- path: `/cockpit/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/alert-manager/trigger-test-alert`
652
- }
653
- );
724
+ triggerTestAlert = (request = {}) => this.client.fetch({
725
+ body: JSON.stringify(
726
+ marshalRegionalApiTriggerTestAlertRequest(
727
+ request,
728
+ this.client.settings
729
+ )
730
+ ),
731
+ headers: jsonContentHeaders,
732
+ method: "POST",
733
+ path: `/cockpit/v1/regions/${validatePathParam("region", request.region ?? this.client.settings.defaultRegion)}/alert-manager/trigger-test-alert`
734
+ });
654
735
  }
655
736
  export {
656
737
  GlobalAPI,
@@ -183,7 +183,10 @@ const unmarshalGetRulesCountResponse = (data) => {
183
183
  return {
184
184
  customRulesCount: data.custom_rules_count,
185
185
  preconfiguredRulesCount: data.preconfigured_rules_count,
186
- rulesCountByDatasource: unmarshalArrayOfObject(data.rules_count_by_datasource, unmarshalRulesCount)
186
+ rulesCountByDatasource: unmarshalArrayOfObject(
187
+ data.rules_count_by_datasource,
188
+ unmarshalRulesCount
189
+ )
187
190
  };
188
191
  };
189
192
  const unmarshalGrafana = (data) => {
@@ -247,7 +250,10 @@ const unmarshalListContactPointsResponse = (data) => {
247
250
  );
248
251
  }
249
252
  return {
250
- contactPoints: unmarshalArrayOfObject(data.contact_points, unmarshalContactPoint),
253
+ contactPoints: unmarshalArrayOfObject(
254
+ data.contact_points,
255
+ unmarshalContactPoint
256
+ ),
251
257
  hasAdditionalContactPoints: data.has_additional_contact_points,
252
258
  hasAdditionalReceivers: data.has_additional_receivers,
253
259
  totalCount: data.total_count
@@ -271,7 +277,10 @@ const unmarshalListGrafanaProductDashboardsResponse = (data) => {
271
277
  );
272
278
  }
273
279
  return {
274
- dashboards: unmarshalArrayOfObject(data.dashboards, unmarshalGrafanaProductDashboard),
280
+ dashboards: unmarshalArrayOfObject(
281
+ data.dashboards,
282
+ unmarshalGrafanaProductDashboard
283
+ ),
275
284
  totalCount: data.total_count
276
285
  };
277
286
  };
@@ -282,7 +291,10 @@ const unmarshalListGrafanaUsersResponse = (data) => {
282
291
  );
283
292
  }
284
293
  return {
285
- grafanaUsers: unmarshalArrayOfObject(data.grafana_users, unmarshalGrafanaUser),
294
+ grafanaUsers: unmarshalArrayOfObject(
295
+ data.grafana_users,
296
+ unmarshalGrafanaUser
297
+ ),
286
298
  totalCount: data.total_count
287
299
  };
288
300
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-cockpit",
3
- "version": "2.1.1",
3
+ "version": "2.2.0",
4
4
  "description": "Scaleway SDK cockpit",
5
5
  "license": "Apache-2.0",
6
6
  "files": [