waldur-js-client 8.0.3-dev.8 → 8.0.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.d.ts +37 -30
- package/dist/sdk.gen.js +180 -234
- package/dist/types.gen.d.ts +414 -223
- 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
|
/**
|
|
@@ -17988,6 +17799,30 @@ export const marketplaceProviderOfferingsUpdateAttributes = (options) => {
|
|
|
17988
17799
|
}
|
|
17989
17800
|
});
|
|
17990
17801
|
};
|
|
17802
|
+
/**
|
|
17803
|
+
* Update offering backend_id rules
|
|
17804
|
+
* Configure validation rules for resource backend_id: format regex and uniqueness scope.
|
|
17805
|
+
*/
|
|
17806
|
+
export const marketplaceProviderOfferingsUpdateBackendIdRules = (options) => {
|
|
17807
|
+
return (options.client ?? _heyApiClient).post({
|
|
17808
|
+
security: [
|
|
17809
|
+
{
|
|
17810
|
+
name: 'Authorization',
|
|
17811
|
+
type: 'apiKey'
|
|
17812
|
+
},
|
|
17813
|
+
{
|
|
17814
|
+
scheme: 'bearer',
|
|
17815
|
+
type: 'http'
|
|
17816
|
+
}
|
|
17817
|
+
],
|
|
17818
|
+
url: '/api/marketplace-provider-offerings/{uuid}/update_backend_id_rules/',
|
|
17819
|
+
...options,
|
|
17820
|
+
headers: {
|
|
17821
|
+
'Content-Type': 'application/json',
|
|
17822
|
+
...options.headers
|
|
17823
|
+
}
|
|
17824
|
+
});
|
|
17825
|
+
};
|
|
17991
17826
|
/**
|
|
17992
17827
|
* Update offering compliance checklist
|
|
17993
17828
|
* Associates a compliance checklist with an offering.
|
|
@@ -19047,6 +18882,26 @@ export const marketplaceProviderResourcesSetSlug = (options) => {
|
|
|
19047
18882
|
}
|
|
19048
18883
|
});
|
|
19049
18884
|
};
|
|
18885
|
+
/**
|
|
18886
|
+
* Set resource state to OK
|
|
18887
|
+
* Allows a service provider to manually set the resource state to OK. This is useful for recovering from Erred state.
|
|
18888
|
+
*/
|
|
18889
|
+
export const marketplaceProviderResourcesSetStateOk = (options) => {
|
|
18890
|
+
return (options.client ?? _heyApiClient).post({
|
|
18891
|
+
security: [
|
|
18892
|
+
{
|
|
18893
|
+
name: 'Authorization',
|
|
18894
|
+
type: 'apiKey'
|
|
18895
|
+
},
|
|
18896
|
+
{
|
|
18897
|
+
scheme: 'bearer',
|
|
18898
|
+
type: 'http'
|
|
18899
|
+
}
|
|
18900
|
+
],
|
|
18901
|
+
url: '/api/marketplace-provider-resources/{uuid}/set_state_ok/',
|
|
18902
|
+
...options
|
|
18903
|
+
});
|
|
18904
|
+
};
|
|
19050
18905
|
/**
|
|
19051
18906
|
* Submit a report for a resource
|
|
19052
18907
|
* Allows a service provider to submit a report (e.g., usage or status report) for a resource.
|
|
@@ -30671,46 +30526,6 @@ export const openstackServerGroupsRetrieve = (options) => {
|
|
|
30671
30526
|
...options
|
|
30672
30527
|
});
|
|
30673
30528
|
};
|
|
30674
|
-
export const openstackServerGroupsPartialUpdate = (options) => {
|
|
30675
|
-
return (options.client ?? _heyApiClient).patch({
|
|
30676
|
-
security: [
|
|
30677
|
-
{
|
|
30678
|
-
name: 'Authorization',
|
|
30679
|
-
type: 'apiKey'
|
|
30680
|
-
},
|
|
30681
|
-
{
|
|
30682
|
-
scheme: 'bearer',
|
|
30683
|
-
type: 'http'
|
|
30684
|
-
}
|
|
30685
|
-
],
|
|
30686
|
-
url: '/api/openstack-server-groups/{uuid}/',
|
|
30687
|
-
...options,
|
|
30688
|
-
headers: {
|
|
30689
|
-
'Content-Type': 'application/json',
|
|
30690
|
-
...options.headers
|
|
30691
|
-
}
|
|
30692
|
-
});
|
|
30693
|
-
};
|
|
30694
|
-
export const openstackServerGroupsUpdate = (options) => {
|
|
30695
|
-
return (options.client ?? _heyApiClient).put({
|
|
30696
|
-
security: [
|
|
30697
|
-
{
|
|
30698
|
-
name: 'Authorization',
|
|
30699
|
-
type: 'apiKey'
|
|
30700
|
-
},
|
|
30701
|
-
{
|
|
30702
|
-
scheme: 'bearer',
|
|
30703
|
-
type: 'http'
|
|
30704
|
-
}
|
|
30705
|
-
],
|
|
30706
|
-
url: '/api/openstack-server-groups/{uuid}/',
|
|
30707
|
-
...options,
|
|
30708
|
-
headers: {
|
|
30709
|
-
'Content-Type': 'application/json',
|
|
30710
|
-
...options.headers
|
|
30711
|
-
}
|
|
30712
|
-
});
|
|
30713
|
-
};
|
|
30714
30529
|
/**
|
|
30715
30530
|
* Synchronize resource state
|
|
30716
30531
|
* Schedule an asynchronous pull operation to synchronize resource state from the backend. Returns 202 if the pull was scheduled successfully, or 409 if the pull operation is not implemented for this resource type.
|
|
@@ -42617,6 +42432,137 @@ export const syncIssues = (options) => {
|
|
|
42617
42432
|
...options
|
|
42618
42433
|
});
|
|
42619
42434
|
};
|
|
42435
|
+
export const systemLogsList = (options) => {
|
|
42436
|
+
return (options?.client ?? _heyApiClient).get({
|
|
42437
|
+
security: [
|
|
42438
|
+
{
|
|
42439
|
+
name: 'Authorization',
|
|
42440
|
+
type: 'apiKey'
|
|
42441
|
+
},
|
|
42442
|
+
{
|
|
42443
|
+
scheme: 'bearer',
|
|
42444
|
+
type: 'http'
|
|
42445
|
+
}
|
|
42446
|
+
],
|
|
42447
|
+
url: '/api/system-logs/',
|
|
42448
|
+
...options
|
|
42449
|
+
});
|
|
42450
|
+
};
|
|
42451
|
+
/**
|
|
42452
|
+
* Get number of items in the collection matching the request parameters.
|
|
42453
|
+
*/
|
|
42454
|
+
export const systemLogsCount = (options) => {
|
|
42455
|
+
return (options?.client ?? _heyApiClient).head({
|
|
42456
|
+
security: [
|
|
42457
|
+
{
|
|
42458
|
+
name: 'Authorization',
|
|
42459
|
+
type: 'apiKey'
|
|
42460
|
+
},
|
|
42461
|
+
{
|
|
42462
|
+
scheme: 'bearer',
|
|
42463
|
+
type: 'http'
|
|
42464
|
+
}
|
|
42465
|
+
],
|
|
42466
|
+
url: '/api/system-logs/',
|
|
42467
|
+
...options
|
|
42468
|
+
});
|
|
42469
|
+
};
|
|
42470
|
+
export const systemLogsRetrieve = (options) => {
|
|
42471
|
+
return (options.client ?? _heyApiClient).get({
|
|
42472
|
+
security: [
|
|
42473
|
+
{
|
|
42474
|
+
name: 'Authorization',
|
|
42475
|
+
type: 'apiKey'
|
|
42476
|
+
},
|
|
42477
|
+
{
|
|
42478
|
+
scheme: 'bearer',
|
|
42479
|
+
type: 'http'
|
|
42480
|
+
}
|
|
42481
|
+
],
|
|
42482
|
+
url: '/api/system-logs/{id}/',
|
|
42483
|
+
...options
|
|
42484
|
+
});
|
|
42485
|
+
};
|
|
42486
|
+
/**
|
|
42487
|
+
* List system log instances
|
|
42488
|
+
* List all known instances (pods/containers) with their last activity.
|
|
42489
|
+
*/
|
|
42490
|
+
export const systemLogsInstancesList = (options) => {
|
|
42491
|
+
return (options?.client ?? _heyApiClient).get({
|
|
42492
|
+
security: [
|
|
42493
|
+
{
|
|
42494
|
+
name: 'Authorization',
|
|
42495
|
+
type: 'apiKey'
|
|
42496
|
+
},
|
|
42497
|
+
{
|
|
42498
|
+
scheme: 'bearer',
|
|
42499
|
+
type: 'http'
|
|
42500
|
+
}
|
|
42501
|
+
],
|
|
42502
|
+
url: '/api/system-logs/instances/',
|
|
42503
|
+
...options
|
|
42504
|
+
});
|
|
42505
|
+
};
|
|
42506
|
+
/**
|
|
42507
|
+
* List system log instances
|
|
42508
|
+
* Get number of items in the collection matching the request parameters.
|
|
42509
|
+
*/
|
|
42510
|
+
export const systemLogsInstancesCount = (options) => {
|
|
42511
|
+
return (options?.client ?? _heyApiClient).head({
|
|
42512
|
+
security: [
|
|
42513
|
+
{
|
|
42514
|
+
name: 'Authorization',
|
|
42515
|
+
type: 'apiKey'
|
|
42516
|
+
},
|
|
42517
|
+
{
|
|
42518
|
+
scheme: 'bearer',
|
|
42519
|
+
type: 'http'
|
|
42520
|
+
}
|
|
42521
|
+
],
|
|
42522
|
+
url: '/api/system-logs/instances/',
|
|
42523
|
+
...options
|
|
42524
|
+
});
|
|
42525
|
+
};
|
|
42526
|
+
/**
|
|
42527
|
+
* Get system log statistics
|
|
42528
|
+
* Return log count statistics per source and instance, plus total table size.
|
|
42529
|
+
*/
|
|
42530
|
+
export const systemLogsStatsRetrieve = (options) => {
|
|
42531
|
+
return (options?.client ?? _heyApiClient).get({
|
|
42532
|
+
security: [
|
|
42533
|
+
{
|
|
42534
|
+
name: 'Authorization',
|
|
42535
|
+
type: 'apiKey'
|
|
42536
|
+
},
|
|
42537
|
+
{
|
|
42538
|
+
scheme: 'bearer',
|
|
42539
|
+
type: 'http'
|
|
42540
|
+
}
|
|
42541
|
+
],
|
|
42542
|
+
url: '/api/system-logs/stats/',
|
|
42543
|
+
...options
|
|
42544
|
+
});
|
|
42545
|
+
};
|
|
42546
|
+
/**
|
|
42547
|
+
* Get system log statistics
|
|
42548
|
+
* Get number of items in the collection matching the request parameters.
|
|
42549
|
+
*/
|
|
42550
|
+
export const systemLogsStatsCount = (options) => {
|
|
42551
|
+
return (options?.client ?? _heyApiClient).head({
|
|
42552
|
+
security: [
|
|
42553
|
+
{
|
|
42554
|
+
name: 'Authorization',
|
|
42555
|
+
type: 'apiKey'
|
|
42556
|
+
},
|
|
42557
|
+
{
|
|
42558
|
+
scheme: 'bearer',
|
|
42559
|
+
type: 'http'
|
|
42560
|
+
}
|
|
42561
|
+
],
|
|
42562
|
+
url: '/api/system-logs/stats/',
|
|
42563
|
+
...options
|
|
42564
|
+
});
|
|
42565
|
+
};
|
|
42620
42566
|
export const userActionExecutionsList = (options) => {
|
|
42621
42567
|
return (options?.client ?? _heyApiClient).get({
|
|
42622
42568
|
security: [
|