waldur-js-client 8.0.3-dev.12 → 8.0.3-dev.13
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.d.ts +1 -28
- package/dist/sdk.gen.js +5 -194
- package/dist/types.gen.d.ts +39 -177
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -5648,61 +5648,6 @@ export const chatMessagesList = (options) => {
|
|
|
5648
5648
|
...options
|
|
5649
5649
|
});
|
|
5650
5650
|
};
|
|
5651
|
-
/**
|
|
5652
|
-
* Get number of items in the collection matching the request parameters.
|
|
5653
|
-
*/
|
|
5654
|
-
export const chatMessagesCount = (options) => {
|
|
5655
|
-
return (options?.client ?? _heyApiClient).head({
|
|
5656
|
-
security: [
|
|
5657
|
-
{
|
|
5658
|
-
name: 'Authorization',
|
|
5659
|
-
type: 'apiKey'
|
|
5660
|
-
},
|
|
5661
|
-
{
|
|
5662
|
-
scheme: 'bearer',
|
|
5663
|
-
type: 'http'
|
|
5664
|
-
}
|
|
5665
|
-
],
|
|
5666
|
-
url: '/api/chat-messages/',
|
|
5667
|
-
...options
|
|
5668
|
-
});
|
|
5669
|
-
};
|
|
5670
|
-
export const chatMessagesCreate = (options) => {
|
|
5671
|
-
return (options.client ?? _heyApiClient).post({
|
|
5672
|
-
security: [
|
|
5673
|
-
{
|
|
5674
|
-
name: 'Authorization',
|
|
5675
|
-
type: 'apiKey'
|
|
5676
|
-
},
|
|
5677
|
-
{
|
|
5678
|
-
scheme: 'bearer',
|
|
5679
|
-
type: 'http'
|
|
5680
|
-
}
|
|
5681
|
-
],
|
|
5682
|
-
url: '/api/chat-messages/',
|
|
5683
|
-
...options,
|
|
5684
|
-
headers: {
|
|
5685
|
-
'Content-Type': 'application/json',
|
|
5686
|
-
...options.headers
|
|
5687
|
-
}
|
|
5688
|
-
});
|
|
5689
|
-
};
|
|
5690
|
-
export const chatMessagesRetrieve = (options) => {
|
|
5691
|
-
return (options.client ?? _heyApiClient).get({
|
|
5692
|
-
security: [
|
|
5693
|
-
{
|
|
5694
|
-
name: 'Authorization',
|
|
5695
|
-
type: 'apiKey'
|
|
5696
|
-
},
|
|
5697
|
-
{
|
|
5698
|
-
scheme: 'bearer',
|
|
5699
|
-
type: 'http'
|
|
5700
|
-
}
|
|
5701
|
-
],
|
|
5702
|
-
url: '/api/chat-messages/{uuid}/',
|
|
5703
|
-
...options
|
|
5704
|
-
});
|
|
5705
|
-
};
|
|
5706
5651
|
/**
|
|
5707
5652
|
* Edit message
|
|
5708
5653
|
* Edit a message (creates a new message with replaces reference). Only allows editing the last user message in a thread.
|
|
@@ -5727,26 +5672,6 @@ export const chatMessagesEdit = (options) => {
|
|
|
5727
5672
|
}
|
|
5728
5673
|
});
|
|
5729
5674
|
};
|
|
5730
|
-
/**
|
|
5731
|
-
* Get message edit history
|
|
5732
|
-
* Get all versions of a message (edit history).
|
|
5733
|
-
*/
|
|
5734
|
-
export const chatMessagesHistoryList = (options) => {
|
|
5735
|
-
return (options.client ?? _heyApiClient).get({
|
|
5736
|
-
security: [
|
|
5737
|
-
{
|
|
5738
|
-
name: 'Authorization',
|
|
5739
|
-
type: 'apiKey'
|
|
5740
|
-
},
|
|
5741
|
-
{
|
|
5742
|
-
scheme: 'bearer',
|
|
5743
|
-
type: 'http'
|
|
5744
|
-
}
|
|
5745
|
-
],
|
|
5746
|
-
url: '/api/chat-messages/{uuid}/history/',
|
|
5747
|
-
...options
|
|
5748
|
-
});
|
|
5749
|
-
};
|
|
5750
5675
|
/**
|
|
5751
5676
|
* Set token quota for user
|
|
5752
5677
|
* Allows staff/support to set token quota limits for a specific user. Configure daily, weekly, and monthly limits:
|
|
@@ -5818,25 +5743,6 @@ export const chatSessionsList = (options) => {
|
|
|
5818
5743
|
...options
|
|
5819
5744
|
});
|
|
5820
5745
|
};
|
|
5821
|
-
/**
|
|
5822
|
-
* Get number of items in the collection matching the request parameters.
|
|
5823
|
-
*/
|
|
5824
|
-
export const chatSessionsCount = (options) => {
|
|
5825
|
-
return (options?.client ?? _heyApiClient).head({
|
|
5826
|
-
security: [
|
|
5827
|
-
{
|
|
5828
|
-
name: 'Authorization',
|
|
5829
|
-
type: 'apiKey'
|
|
5830
|
-
},
|
|
5831
|
-
{
|
|
5832
|
-
scheme: 'bearer',
|
|
5833
|
-
type: 'http'
|
|
5834
|
-
}
|
|
5835
|
-
],
|
|
5836
|
-
url: '/api/chat-sessions/',
|
|
5837
|
-
...options
|
|
5838
|
-
});
|
|
5839
|
-
};
|
|
5840
5746
|
export const chatSessionsRetrieve = (options) => {
|
|
5841
5747
|
return (options.client ?? _heyApiClient).get({
|
|
5842
5748
|
security: [
|
|
@@ -5873,26 +5779,6 @@ export const chatSessionsCurrentRetrieve = (options) => {
|
|
|
5873
5779
|
...options
|
|
5874
5780
|
});
|
|
5875
5781
|
};
|
|
5876
|
-
/**
|
|
5877
|
-
* Get or create current user's chat session
|
|
5878
|
-
* Get number of items in the collection matching the request parameters.
|
|
5879
|
-
*/
|
|
5880
|
-
export const chatSessionsCurrentCount = (options) => {
|
|
5881
|
-
return (options?.client ?? _heyApiClient).head({
|
|
5882
|
-
security: [
|
|
5883
|
-
{
|
|
5884
|
-
name: 'Authorization',
|
|
5885
|
-
type: 'apiKey'
|
|
5886
|
-
},
|
|
5887
|
-
{
|
|
5888
|
-
scheme: 'bearer',
|
|
5889
|
-
type: 'http'
|
|
5890
|
-
}
|
|
5891
|
-
],
|
|
5892
|
-
url: '/api/chat-sessions/current/',
|
|
5893
|
-
...options
|
|
5894
|
-
});
|
|
5895
|
-
};
|
|
5896
5782
|
export const chatThreadsList = (options) => {
|
|
5897
5783
|
return (options?.client ?? _heyApiClient).get({
|
|
5898
5784
|
security: [
|
|
@@ -5909,45 +5795,6 @@ export const chatThreadsList = (options) => {
|
|
|
5909
5795
|
...options
|
|
5910
5796
|
});
|
|
5911
5797
|
};
|
|
5912
|
-
/**
|
|
5913
|
-
* Get number of items in the collection matching the request parameters.
|
|
5914
|
-
*/
|
|
5915
|
-
export const chatThreadsCount = (options) => {
|
|
5916
|
-
return (options?.client ?? _heyApiClient).head({
|
|
5917
|
-
security: [
|
|
5918
|
-
{
|
|
5919
|
-
name: 'Authorization',
|
|
5920
|
-
type: 'apiKey'
|
|
5921
|
-
},
|
|
5922
|
-
{
|
|
5923
|
-
scheme: 'bearer',
|
|
5924
|
-
type: 'http'
|
|
5925
|
-
}
|
|
5926
|
-
],
|
|
5927
|
-
url: '/api/chat-threads/',
|
|
5928
|
-
...options
|
|
5929
|
-
});
|
|
5930
|
-
};
|
|
5931
|
-
export const chatThreadsCreate = (options) => {
|
|
5932
|
-
return (options?.client ?? _heyApiClient).post({
|
|
5933
|
-
security: [
|
|
5934
|
-
{
|
|
5935
|
-
name: 'Authorization',
|
|
5936
|
-
type: 'apiKey'
|
|
5937
|
-
},
|
|
5938
|
-
{
|
|
5939
|
-
scheme: 'bearer',
|
|
5940
|
-
type: 'http'
|
|
5941
|
-
}
|
|
5942
|
-
],
|
|
5943
|
-
url: '/api/chat-threads/',
|
|
5944
|
-
...options,
|
|
5945
|
-
headers: {
|
|
5946
|
-
'Content-Type': 'application/json',
|
|
5947
|
-
...options?.headers
|
|
5948
|
-
}
|
|
5949
|
-
});
|
|
5950
|
-
};
|
|
5951
5798
|
export const chatThreadsRetrieve = (options) => {
|
|
5952
5799
|
return (options.client ?? _heyApiClient).get({
|
|
5953
5800
|
security: [
|
|
@@ -5964,46 +5811,6 @@ export const chatThreadsRetrieve = (options) => {
|
|
|
5964
5811
|
...options
|
|
5965
5812
|
});
|
|
5966
5813
|
};
|
|
5967
|
-
export const chatThreadsPartialUpdate = (options) => {
|
|
5968
|
-
return (options.client ?? _heyApiClient).patch({
|
|
5969
|
-
security: [
|
|
5970
|
-
{
|
|
5971
|
-
name: 'Authorization',
|
|
5972
|
-
type: 'apiKey'
|
|
5973
|
-
},
|
|
5974
|
-
{
|
|
5975
|
-
scheme: 'bearer',
|
|
5976
|
-
type: 'http'
|
|
5977
|
-
}
|
|
5978
|
-
],
|
|
5979
|
-
url: '/api/chat-threads/{uuid}/',
|
|
5980
|
-
...options,
|
|
5981
|
-
headers: {
|
|
5982
|
-
'Content-Type': 'application/json',
|
|
5983
|
-
...options.headers
|
|
5984
|
-
}
|
|
5985
|
-
});
|
|
5986
|
-
};
|
|
5987
|
-
export const chatThreadsUpdate = (options) => {
|
|
5988
|
-
return (options.client ?? _heyApiClient).put({
|
|
5989
|
-
security: [
|
|
5990
|
-
{
|
|
5991
|
-
name: 'Authorization',
|
|
5992
|
-
type: 'apiKey'
|
|
5993
|
-
},
|
|
5994
|
-
{
|
|
5995
|
-
scheme: 'bearer',
|
|
5996
|
-
type: 'http'
|
|
5997
|
-
}
|
|
5998
|
-
],
|
|
5999
|
-
url: '/api/chat-threads/{uuid}/',
|
|
6000
|
-
...options,
|
|
6001
|
-
headers: {
|
|
6002
|
-
'Content-Type': 'application/json',
|
|
6003
|
-
...options.headers
|
|
6004
|
-
}
|
|
6005
|
-
});
|
|
6006
|
-
};
|
|
6007
5814
|
/**
|
|
6008
5815
|
* Archive thread
|
|
6009
5816
|
* Archive a thread (soft delete).
|
|
@@ -15722,7 +15529,11 @@ export const marketplaceOrdersRejectByProvider = (options) => {
|
|
|
15722
15529
|
}
|
|
15723
15530
|
],
|
|
15724
15531
|
url: '/api/marketplace-orders/{uuid}/reject_by_provider/',
|
|
15725
|
-
...options
|
|
15532
|
+
...options,
|
|
15533
|
+
headers: {
|
|
15534
|
+
'Content-Type': 'application/json',
|
|
15535
|
+
...options.headers
|
|
15536
|
+
}
|
|
15726
15537
|
});
|
|
15727
15538
|
};
|
|
15728
15539
|
/**
|