waldur-js-client 8.0.8-dev.40 → 8.0.8-dev.42

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/sdk.gen.js CHANGED
@@ -7857,11 +7857,7 @@ export const chatThreadsArchive = (options) => {
7857
7857
  }
7858
7858
  ],
7859
7859
  url: '/api/chat-threads/{uuid}/archive/',
7860
- ...options,
7861
- headers: {
7862
- 'Content-Type': 'application/json',
7863
- ...options.headers
7864
- }
7860
+ ...options
7865
7861
  });
7866
7862
  };
7867
7863
  /**
@@ -7913,11 +7909,7 @@ export const chatThreadsUnarchive = (options) => {
7913
7909
  }
7914
7910
  ],
7915
7911
  url: '/api/chat-threads/{uuid}/unarchive/',
7916
- ...options,
7917
- headers: {
7918
- 'Content-Type': 'application/json',
7919
- ...options.headers
7920
- }
7912
+ ...options
7921
7913
  });
7922
7914
  };
7923
7915
  /**
@@ -9332,11 +9324,7 @@ export const customerCreditsApplyCompensations = (options) => {
9332
9324
  }
9333
9325
  ],
9334
9326
  url: '/api/customer-credits/{uuid}/apply_compensations/',
9335
- ...options,
9336
- headers: {
9337
- 'Content-Type': 'application/json',
9338
- ...options.headers
9339
- }
9327
+ ...options
9340
9328
  });
9341
9329
  };
9342
9330
  export const customerCreditsClearCompensations = (options) => {
@@ -9356,11 +9344,7 @@ export const customerCreditsClearCompensations = (options) => {
9356
9344
  }
9357
9345
  ],
9358
9346
  url: '/api/customer-credits/{uuid}/clear_compensations/',
9359
- ...options,
9360
- headers: {
9361
- 'Content-Type': 'application/json',
9362
- ...options.headers
9363
- }
9347
+ ...options
9364
9348
  });
9365
9349
  };
9366
9350
  /**
@@ -9846,6 +9830,30 @@ export const customersAddUser = (options) => {
9846
9830
  }
9847
9831
  });
9848
9832
  };
9833
+ /**
9834
+ * Get customer resource usage statistics broken down per offering
9835
+ * Returns one row per (offering, component type, billing type) for all non-terminated resources within the customer. Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`, so quarterly offerings report quarter-to-date, yearly report year-to-date, total report lifetime, and monthly report current month. Each row also includes the resolved current period bounds (`current_period_label`, `current_period_start`, `current_period_end`).
9836
+ */
9837
+ export const customersComponentsUsageRetrieve = (options) => {
9838
+ return (options.client ?? _heyApiClient).get({
9839
+ security: [
9840
+ {
9841
+ name: 'Authorization',
9842
+ type: 'apiKey'
9843
+ },
9844
+ {
9845
+ scheme: 'bearer',
9846
+ type: 'http'
9847
+ },
9848
+ {
9849
+ scheme: 'bearer',
9850
+ type: 'http'
9851
+ }
9852
+ ],
9853
+ url: '/api/customers/{uuid}/components-usage/',
9854
+ ...options
9855
+ });
9856
+ };
9849
9857
  /**
9850
9858
  * Update customer contact details
9851
9859
  * Update organization contact information. Requires CUSTOMER_CONTACT_UPDATE or CUSTOMER.UPDATE permission.
@@ -29502,11 +29510,7 @@ export const marketplaceSoftwareCatalogsUpdateCatalog = (options) => {
29502
29510
  }
29503
29511
  ],
29504
29512
  url: '/api/marketplace-software-catalogs/{uuid}/update_catalog/',
29505
- ...options,
29506
- headers: {
29507
- 'Content-Type': 'application/json',
29508
- ...options.headers
29509
- }
29513
+ ...options
29510
29514
  });
29511
29515
  };
29512
29516
  /**
@@ -35885,6 +35889,30 @@ export const openportalUnmanagedProjectsCompletionStatusRetrieve = (options) =>
35885
35889
  ...options
35886
35890
  });
35887
35891
  };
35892
+ /**
35893
+ * Get project resource usage statistics broken down per offering
35894
+ * Returns one row per (offering, component type, billing type) for all non-terminated resources within the project. Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`, so quarterly offerings report quarter-to-date, yearly report year-to-date, total report lifetime, and monthly report current month. Each row also includes the resolved current period bounds (`current_period_label`, `current_period_start`, `current_period_end`).
35895
+ */
35896
+ export const openportalUnmanagedProjectsComponentsUsageRetrieve = (options) => {
35897
+ return (options.client ?? _heyApiClient).get({
35898
+ security: [
35899
+ {
35900
+ name: 'Authorization',
35901
+ type: 'apiKey'
35902
+ },
35903
+ {
35904
+ scheme: 'bearer',
35905
+ type: 'http'
35906
+ },
35907
+ {
35908
+ scheme: 'bearer',
35909
+ type: 'http'
35910
+ }
35911
+ ],
35912
+ url: '/api/openportal-unmanaged-projects/{uuid}/components-usage/',
35913
+ ...options
35914
+ });
35915
+ };
35888
35916
  /**
35889
35917
  * Revoke a role from a user
35890
35918
  * Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
@@ -45111,6 +45139,30 @@ export const projectsCompletionStatusRetrieve = (options) => {
45111
45139
  ...options
45112
45140
  });
45113
45141
  };
45142
+ /**
45143
+ * Get project resource usage statistics broken down per offering
45144
+ * Returns one row per (offering, component type, billing type) for all non-terminated resources within the project. Each row's `usage` and `limit_usage` are aggregated using the offering's own `limit_period`, so quarterly offerings report quarter-to-date, yearly report year-to-date, total report lifetime, and monthly report current month. Each row also includes the resolved current period bounds (`current_period_label`, `current_period_start`, `current_period_end`).
45145
+ */
45146
+ export const projectsComponentsUsageRetrieve = (options) => {
45147
+ return (options.client ?? _heyApiClient).get({
45148
+ security: [
45149
+ {
45150
+ name: 'Authorization',
45151
+ type: 'apiKey'
45152
+ },
45153
+ {
45154
+ scheme: 'bearer',
45155
+ type: 'http'
45156
+ },
45157
+ {
45158
+ scheme: 'bearer',
45159
+ type: 'http'
45160
+ }
45161
+ ],
45162
+ url: '/api/projects/{uuid}/components-usage/',
45163
+ ...options
45164
+ });
45165
+ };
45114
45166
  /**
45115
45167
  * Revoke a role from a user
45116
45168
  * Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
@@ -46666,11 +46718,7 @@ export const proposalProtectedCallsComputeAffinities = (options) => {
46666
46718
  }
46667
46719
  ],
46668
46720
  url: '/api/proposal-protected-calls/{uuid}/compute-affinities/',
46669
- ...options,
46670
- headers: {
46671
- 'Content-Type': 'application/json',
46672
- ...options.headers
46673
- }
46721
+ ...options
46674
46722
  });
46675
46723
  };
46676
46724
  /**
@@ -48903,11 +48951,7 @@ export const rancherCatalogsRefresh = (options) => {
48903
48951
  }
48904
48952
  ],
48905
48953
  url: '/api/rancher-catalogs/{uuid}/refresh/',
48906
- ...options,
48907
- headers: {
48908
- 'Content-Type': 'application/json',
48909
- ...options.headers
48910
- }
48954
+ ...options
48911
48955
  });
48912
48956
  };
48913
48957
  export const rancherClusterSecurityGroupsList = (options) => {
@@ -55221,11 +55265,7 @@ export const supportIssuesSync = (options) => {
55221
55265
  }
55222
55266
  ],
55223
55267
  url: '/api/support-issues/{uuid}/sync/',
55224
- ...options,
55225
- headers: {
55226
- 'Content-Type': 'application/json',
55227
- ...options.headers
55228
- }
55268
+ ...options
55229
55269
  });
55230
55270
  };
55231
55271
  export const supportJiraWebhook = (options) => {