waldur-js-client 8.0.5-dev.1 → 8.0.5-dev.3

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
@@ -5648,30 +5648,6 @@ export const chatMessagesList = (options) => {
5648
5648
  ...options
5649
5649
  });
5650
5650
  };
5651
- /**
5652
- * Edit message
5653
- * Edit a message (creates a new message with replaces reference). Only allows editing the last user message in a thread.
5654
- */
5655
- export const chatMessagesEdit = (options) => {
5656
- return (options.client ?? _heyApiClient).post({
5657
- security: [
5658
- {
5659
- name: 'Authorization',
5660
- type: 'apiKey'
5661
- },
5662
- {
5663
- scheme: 'bearer',
5664
- type: 'http'
5665
- }
5666
- ],
5667
- url: '/api/chat-messages/{uuid}/edit/',
5668
- ...options,
5669
- headers: {
5670
- 'Content-Type': 'application/json',
5671
- ...options.headers
5672
- }
5673
- });
5674
- };
5675
5651
  /**
5676
5652
  * Set token quota for user
5677
5653
  * Allows staff/support to set token quota limits for a specific user. Configure daily, weekly, and monthly limits:
@@ -12879,6 +12855,37 @@ export const marketplaceComponentUsagesSetUserUsage = (options) => {
12879
12855
  }
12880
12856
  });
12881
12857
  };
12858
+ /**
12859
+ * Bulk set user-specific component usages
12860
+ *
12861
+ * Allows a service provider to report usage for multiple users associated with a resource's component
12862
+ * in a single request. This avoids the need for one API call per user.
12863
+ *
12864
+ * - All usages are processed atomically: if any item fails validation, none are persisted.
12865
+ * - If a user-specific usage record already exists for the given component usage, it will be updated.
12866
+ * - Otherwise, a new record is created.
12867
+ *
12868
+ */
12869
+ export const marketplaceComponentUsagesSetUserUsages = (options) => {
12870
+ return (options.client ?? _heyApiClient).post({
12871
+ security: [
12872
+ {
12873
+ name: 'Authorization',
12874
+ type: 'apiKey'
12875
+ },
12876
+ {
12877
+ scheme: 'bearer',
12878
+ type: 'http'
12879
+ }
12880
+ ],
12881
+ url: '/api/marketplace-component-usages/{uuid}/set_user_usages/',
12882
+ ...options,
12883
+ headers: {
12884
+ 'Content-Type': 'application/json',
12885
+ ...options.headers
12886
+ }
12887
+ });
12888
+ };
12882
12889
  /**
12883
12890
  * Set component usage for a resource
12884
12891
  *