@scaleway/sdk-billing 1.2.0 → 1.3.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.
@@ -79,6 +79,7 @@ const unmarshalListConsumptionsResponseConsumption = (data) => {
79
79
  return {
80
80
  billedQuantity: data.billed_quantity,
81
81
  categoryName: data.category_name,
82
+ consumerId: data.consumer_id,
82
83
  productName: data.product_name,
83
84
  projectId: data.project_id,
84
85
  resourceName: data.resource_name,
@@ -77,6 +77,7 @@ const unmarshalListConsumptionsResponseConsumption = (data) => {
77
77
  return {
78
78
  billedQuantity: data.billed_quantity,
79
79
  categoryName: data.category_name,
80
+ consumerId: data.consumer_id,
80
81
  productName: data.product_name,
81
82
  projectId: data.project_id,
82
83
  resourceName: data.resource_name,
@@ -62,6 +62,10 @@ export interface ListConsumptionsResponseConsumption {
62
62
  * Consumed quantity.
63
63
  */
64
64
  billedQuantity: string;
65
+ /**
66
+ * Organization ID of the consumer for this consumption.
67
+ */
68
+ consumerId: string;
65
69
  }
66
70
  export interface Discount {
67
71
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-billing",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "Scaleway SDK billing",
5
5
  "license": "Apache-2.0",
6
6
  "files": [
@@ -30,13 +30,13 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@scaleway/random-name": "5.1.2",
33
- "@scaleway/sdk-std": "1.1.0"
33
+ "@scaleway/sdk-std": "1.2.0"
34
34
  },
35
35
  "peerDependencies": {
36
- "@scaleway/sdk-client": "^1.3.2"
36
+ "@scaleway/sdk-client": "^1.3.3"
37
37
  },
38
38
  "devDependencies": {
39
- "@scaleway/sdk-client": "^1.3.2"
39
+ "@scaleway/sdk-client": "^1.3.3"
40
40
  },
41
41
  "scripts": {
42
42
  "package:check": "pnpm publint",