waldur-js-client 8.1.0-rc.19.dev.74 → 8.1.0-rc.20.dev.86
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/index.d.ts +44 -2
- package/dist/index.js +43 -1
- package/dist/sdk.gen.d.ts +120 -2
- package/dist/sdk.gen.js +302 -1
- package/dist/types.gen.d.ts +922 -77
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -1280,6 +1280,19 @@ export const anonymousChatInteractionsByUserList = (options) => (options.client
|
|
|
1280
1280
|
url: '/api/anonymous-chat-interactions/by-user/{user_slug}/',
|
|
1281
1281
|
...options
|
|
1282
1282
|
});
|
|
1283
|
+
/**
|
|
1284
|
+
* Conversations grouped by session
|
|
1285
|
+
*
|
|
1286
|
+
* One row per anonymous conversation (``session_id``) with aggregate counters, mirroring the authenticated threads table. Honours the same filters as the list endpoint. Read a conversation's transcript via ``by-session/{session_id}``.
|
|
1287
|
+
*/
|
|
1288
|
+
export const anonymousChatInteractionsConversationsList = (options) => (options?.client ?? client).get({
|
|
1289
|
+
security: [
|
|
1290
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
1291
|
+
{ scheme: 'bearer', type: 'http' }
|
|
1292
|
+
],
|
|
1293
|
+
url: '/api/anonymous-chat-interactions/conversations/',
|
|
1294
|
+
...options
|
|
1295
|
+
});
|
|
1283
1296
|
/**
|
|
1284
1297
|
* Aggregate KPI roll-up
|
|
1285
1298
|
*
|
|
@@ -4011,6 +4024,24 @@ export const chatThreadsUnarchive = (options) => (options.client ?? client).post
|
|
|
4011
4024
|
url: '/api/chat-threads/{uuid}/unarchive/',
|
|
4012
4025
|
...options
|
|
4013
4026
|
});
|
|
4027
|
+
/**
|
|
4028
|
+
* Get statistics for visible chat threads
|
|
4029
|
+
*
|
|
4030
|
+
* Summary statistics for the visible chat threads.
|
|
4031
|
+
*
|
|
4032
|
+
* Aggregates over a clean base queryset rather than ``get_queryset`` —
|
|
4033
|
+
* the per-row token/count annotations there would collide with these
|
|
4034
|
+
* aggregates. Visibility mirrors the list: staff/support see all, other
|
|
4035
|
+
* users only their own.
|
|
4036
|
+
*/
|
|
4037
|
+
export const chatThreadsStatsRetrieve = (options) => (options?.client ?? client).get({
|
|
4038
|
+
security: [
|
|
4039
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
4040
|
+
{ scheme: 'bearer', type: 'http' }
|
|
4041
|
+
],
|
|
4042
|
+
url: '/api/chat-threads/stats/',
|
|
4043
|
+
...options
|
|
4044
|
+
});
|
|
4014
4045
|
/**
|
|
4015
4046
|
* Execute a tool and return the result.
|
|
4016
4047
|
*/
|
|
@@ -12222,6 +12253,23 @@ export const marketplaceProviderOfferingsAddPartition = (options) => (options.cl
|
|
|
12222
12253
|
...options.headers
|
|
12223
12254
|
}
|
|
12224
12255
|
});
|
|
12256
|
+
/**
|
|
12257
|
+
* Add a QoS profile to an offering
|
|
12258
|
+
*
|
|
12259
|
+
* Adds a new Quality of Service profile to an offering.
|
|
12260
|
+
*/
|
|
12261
|
+
export const marketplaceProviderOfferingsAddQos = (options) => (options.client ?? client).post({
|
|
12262
|
+
security: [
|
|
12263
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
12264
|
+
{ scheme: 'bearer', type: 'http' }
|
|
12265
|
+
],
|
|
12266
|
+
url: '/api/marketplace-provider-offerings/{uuid}/add_qos/',
|
|
12267
|
+
...options,
|
|
12268
|
+
headers: {
|
|
12269
|
+
'Content-Type': 'application/json',
|
|
12270
|
+
...options.headers
|
|
12271
|
+
}
|
|
12272
|
+
});
|
|
12225
12273
|
/**
|
|
12226
12274
|
* Add a software catalog to an offering
|
|
12227
12275
|
*
|
|
@@ -12806,6 +12854,23 @@ export const marketplaceProviderOfferingsRemovePartition = (options) => (options
|
|
|
12806
12854
|
...options.headers
|
|
12807
12855
|
}
|
|
12808
12856
|
});
|
|
12857
|
+
/**
|
|
12858
|
+
* Remove a QoS profile from an offering
|
|
12859
|
+
*
|
|
12860
|
+
* Removes a Quality of Service profile from an offering.
|
|
12861
|
+
*/
|
|
12862
|
+
export const marketplaceProviderOfferingsRemoveQos = (options) => (options.client ?? client).post({
|
|
12863
|
+
security: [
|
|
12864
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
12865
|
+
{ scheme: 'bearer', type: 'http' }
|
|
12866
|
+
],
|
|
12867
|
+
url: '/api/marketplace-provider-offerings/{uuid}/remove_qos/',
|
|
12868
|
+
...options,
|
|
12869
|
+
headers: {
|
|
12870
|
+
'Content-Type': 'application/json',
|
|
12871
|
+
...options.headers
|
|
12872
|
+
}
|
|
12873
|
+
});
|
|
12809
12874
|
/**
|
|
12810
12875
|
* Remove a software catalog from an offering
|
|
12811
12876
|
*
|
|
@@ -12857,6 +12922,23 @@ export const marketplaceProviderOfferingsSetOfferingGroup = (options) => (option
|
|
|
12857
12922
|
...options.headers
|
|
12858
12923
|
}
|
|
12859
12924
|
});
|
|
12925
|
+
/**
|
|
12926
|
+
* Set the QoS allow-list of a partition
|
|
12927
|
+
*
|
|
12928
|
+
* Replaces the QoS allow-list (SLURM AllowQos gate) of a partition. An empty list permits all of the offering's QoS.
|
|
12929
|
+
*/
|
|
12930
|
+
export const marketplaceProviderOfferingsSetPartitionQos = (options) => (options.client ?? client).post({
|
|
12931
|
+
security: [
|
|
12932
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
12933
|
+
{ scheme: 'bearer', type: 'http' }
|
|
12934
|
+
],
|
|
12935
|
+
url: '/api/marketplace-provider-offerings/{uuid}/set_partition_qos/',
|
|
12936
|
+
...options,
|
|
12937
|
+
headers: {
|
|
12938
|
+
'Content-Type': 'application/json',
|
|
12939
|
+
...options.headers
|
|
12940
|
+
}
|
|
12941
|
+
});
|
|
12860
12942
|
/**
|
|
12861
12943
|
* Bind / unbind offering to a service profile
|
|
12862
12944
|
*
|
|
@@ -13224,6 +13306,23 @@ export const marketplaceProviderOfferingsUpdatePartitionPartialUpdate = (options
|
|
|
13224
13306
|
...options.headers
|
|
13225
13307
|
}
|
|
13226
13308
|
});
|
|
13309
|
+
/**
|
|
13310
|
+
* Update a QoS profile of an offering
|
|
13311
|
+
*
|
|
13312
|
+
* Updates an existing Quality of Service profile of an offering.
|
|
13313
|
+
*/
|
|
13314
|
+
export const marketplaceProviderOfferingsUpdateQosPartialUpdate = (options) => (options.client ?? client).patch({
|
|
13315
|
+
security: [
|
|
13316
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
13317
|
+
{ scheme: 'bearer', type: 'http' }
|
|
13318
|
+
],
|
|
13319
|
+
url: '/api/marketplace-provider-offerings/{uuid}/update_qos/',
|
|
13320
|
+
...options,
|
|
13321
|
+
headers: {
|
|
13322
|
+
'Content-Type': 'application/json',
|
|
13323
|
+
...options.headers
|
|
13324
|
+
}
|
|
13325
|
+
});
|
|
13227
13326
|
/**
|
|
13228
13327
|
* Update offering resource options
|
|
13229
13328
|
*
|
|
@@ -13369,6 +13468,32 @@ export const marketplaceProviderOfferingsUserHasResourceAccessRetrieve = (option
|
|
|
13369
13468
|
url: '/api/marketplace-provider-offerings/{uuid}/user_has_resource_access/',
|
|
13370
13469
|
...options
|
|
13371
13470
|
});
|
|
13471
|
+
/**
|
|
13472
|
+
* Aggregate access subnets across offerings
|
|
13473
|
+
*
|
|
13474
|
+
* Returns the combined access-subnet allow-list of the given offerings: 'expanded' — every resource subnet with its resource, project, customer and offering context; 'defaults' — the provider-default subnets of each offering; 'organization_subnets' — organization-level access subnets of customers owning non-terminated resources of the offerings (populated only when include_organization_subnets is true); and 'packed' — all of the above collapsed into the minimal set of CIDRs. Intended for service providers building an external firewall allow-list spanning several offerings. The caller must be staff, support, a service manager of every requested offering or an owner of its customer.
|
|
13475
|
+
*/
|
|
13476
|
+
export const marketplaceProviderOfferingsAggregatedAccessSubnetsRetrieve = (options) => (options.client ?? client).get({
|
|
13477
|
+
security: [
|
|
13478
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
13479
|
+
{ scheme: 'bearer', type: 'http' }
|
|
13480
|
+
],
|
|
13481
|
+
url: '/api/marketplace-provider-offerings/aggregated_access_subnets/',
|
|
13482
|
+
...options
|
|
13483
|
+
});
|
|
13484
|
+
/**
|
|
13485
|
+
* Aggregate access subnets across offerings
|
|
13486
|
+
*
|
|
13487
|
+
* Get number of items in the collection matching the request parameters.
|
|
13488
|
+
*/
|
|
13489
|
+
export const marketplaceProviderOfferingsAggregatedAccessSubnetsCount = (options) => (options.client ?? client).head({
|
|
13490
|
+
security: [
|
|
13491
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
13492
|
+
{ scheme: 'bearer', type: 'http' }
|
|
13493
|
+
],
|
|
13494
|
+
url: '/api/marketplace-provider-offerings/aggregated_access_subnets/',
|
|
13495
|
+
...options
|
|
13496
|
+
});
|
|
13372
13497
|
/**
|
|
13373
13498
|
* List offerings grouped by provider
|
|
13374
13499
|
*
|
|
@@ -14071,6 +14196,23 @@ export const marketplaceProviderResourcesSetLimits = (options) => (options.clien
|
|
|
14071
14196
|
...options.headers
|
|
14072
14197
|
}
|
|
14073
14198
|
});
|
|
14199
|
+
/**
|
|
14200
|
+
* Report per-member sync statuses for a resource
|
|
14201
|
+
*
|
|
14202
|
+
* Full-replace report from the site agent: replaces every previously stored member sync status of this resource with the submitted set. Requires the offering to opt in via the enable_membership_sync_status plugin option. Entries whose user cannot be resolved are skipped and echoed back in the response instead of failing the whole report.
|
|
14203
|
+
*/
|
|
14204
|
+
export const marketplaceProviderResourcesSetMembershipSyncStatuses = (options) => (options.client ?? client).post({
|
|
14205
|
+
security: [
|
|
14206
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
14207
|
+
{ scheme: 'bearer', type: 'http' }
|
|
14208
|
+
],
|
|
14209
|
+
url: '/api/marketplace-provider-resources/{uuid}/set_membership_sync_statuses/',
|
|
14210
|
+
...options,
|
|
14211
|
+
headers: {
|
|
14212
|
+
'Content-Type': 'application/json',
|
|
14213
|
+
...options.headers
|
|
14214
|
+
}
|
|
14215
|
+
});
|
|
14074
14216
|
/**
|
|
14075
14217
|
* Set paused flag for resource
|
|
14076
14218
|
*
|
|
@@ -14152,6 +14294,17 @@ export const marketplaceProviderResourcesSubmitReport = (options) => (options.cl
|
|
|
14152
14294
|
...options.headers
|
|
14153
14295
|
}
|
|
14154
14296
|
});
|
|
14297
|
+
/**
|
|
14298
|
+
* Trigger user role sync for this resource. Sends a notification to RabbitMQ that this resource needs user role synchronization; agents without event subscriptions apply the change on their next polling cycle.
|
|
14299
|
+
*/
|
|
14300
|
+
export const marketplaceProviderResourcesSyncUserRoles = (options) => (options.client ?? client).post({
|
|
14301
|
+
security: [
|
|
14302
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
14303
|
+
{ scheme: 'bearer', type: 'http' }
|
|
14304
|
+
],
|
|
14305
|
+
url: '/api/marketplace-provider-resources/{uuid}/sync_user_roles/',
|
|
14306
|
+
...options
|
|
14307
|
+
});
|
|
14155
14308
|
/**
|
|
14156
14309
|
* Get resource team
|
|
14157
14310
|
*
|
|
@@ -14515,6 +14668,131 @@ export const marketplaceResourceAccessSubnetsUpdate = (options) => (options.clie
|
|
|
14515
14668
|
...options.headers
|
|
14516
14669
|
}
|
|
14517
14670
|
});
|
|
14671
|
+
export const marketplaceResourceApiKeysList = (options) => (options?.client ?? client).get({
|
|
14672
|
+
security: [
|
|
14673
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
14674
|
+
{ scheme: 'bearer', type: 'http' }
|
|
14675
|
+
],
|
|
14676
|
+
url: '/api/marketplace-resource-api-keys/',
|
|
14677
|
+
...options
|
|
14678
|
+
});
|
|
14679
|
+
/**
|
|
14680
|
+
* Get number of items in the collection matching the request parameters.
|
|
14681
|
+
*/
|
|
14682
|
+
export const marketplaceResourceApiKeysCount = (options) => (options?.client ?? client).head({
|
|
14683
|
+
security: [
|
|
14684
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
14685
|
+
{ scheme: 'bearer', type: 'http' }
|
|
14686
|
+
],
|
|
14687
|
+
url: '/api/marketplace-resource-api-keys/',
|
|
14688
|
+
...options
|
|
14689
|
+
});
|
|
14690
|
+
export const marketplaceResourceApiKeysDestroy = (options) => (options.client ?? client).delete({
|
|
14691
|
+
security: [
|
|
14692
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
14693
|
+
{ scheme: 'bearer', type: 'http' }
|
|
14694
|
+
],
|
|
14695
|
+
url: '/api/marketplace-resource-api-keys/{uuid}/',
|
|
14696
|
+
...options
|
|
14697
|
+
});
|
|
14698
|
+
export const marketplaceResourceApiKeysRetrieve = (options) => (options.client ?? client).get({
|
|
14699
|
+
security: [
|
|
14700
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
14701
|
+
{ scheme: 'bearer', type: 'http' }
|
|
14702
|
+
],
|
|
14703
|
+
url: '/api/marketplace-resource-api-keys/{uuid}/',
|
|
14704
|
+
...options
|
|
14705
|
+
});
|
|
14706
|
+
/**
|
|
14707
|
+
* Reveal an API key
|
|
14708
|
+
*
|
|
14709
|
+
* Returns the decrypted key value. Available to users with resource access (except minimal-visibility viewers). Audit-logged.
|
|
14710
|
+
*/
|
|
14711
|
+
export const marketplaceResourceApiKeysRevealRetrieve = (options) => (options.client ?? client).get({
|
|
14712
|
+
security: [
|
|
14713
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
14714
|
+
{ scheme: 'bearer', type: 'http' }
|
|
14715
|
+
],
|
|
14716
|
+
url: '/api/marketplace-resource-api-keys/{uuid}/reveal/',
|
|
14717
|
+
...options
|
|
14718
|
+
});
|
|
14719
|
+
/**
|
|
14720
|
+
* Revoke an API key
|
|
14721
|
+
*
|
|
14722
|
+
* Asks the site agent to remove this key from the backend. The other keys keep working.
|
|
14723
|
+
*/
|
|
14724
|
+
export const marketplaceResourceApiKeysRevoke = (options) => (options.client ?? client).post({
|
|
14725
|
+
security: [
|
|
14726
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
14727
|
+
{ scheme: 'bearer', type: 'http' }
|
|
14728
|
+
],
|
|
14729
|
+
url: '/api/marketplace-resource-api-keys/{uuid}/revoke/',
|
|
14730
|
+
...options
|
|
14731
|
+
});
|
|
14732
|
+
/**
|
|
14733
|
+
* Rotate an API key
|
|
14734
|
+
*
|
|
14735
|
+
* Asks the site agent to replace this key's value at the backend. The other keys are untouched (zero downtime).
|
|
14736
|
+
*/
|
|
14737
|
+
export const marketplaceResourceApiKeysRotate = (options) => (options.client ?? client).post({
|
|
14738
|
+
security: [
|
|
14739
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
14740
|
+
{ scheme: 'bearer', type: 'http' }
|
|
14741
|
+
],
|
|
14742
|
+
url: '/api/marketplace-resource-api-keys/{uuid}/rotate/',
|
|
14743
|
+
...options
|
|
14744
|
+
});
|
|
14745
|
+
/**
|
|
14746
|
+
* Mark an API key as erred
|
|
14747
|
+
*
|
|
14748
|
+
* Used by the site agent to report that applying the key failed. Stores the error message for the UI.
|
|
14749
|
+
*/
|
|
14750
|
+
export const marketplaceResourceApiKeysSetErred = (options) => (options.client ?? client).post({
|
|
14751
|
+
security: [
|
|
14752
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
14753
|
+
{ scheme: 'bearer', type: 'http' }
|
|
14754
|
+
],
|
|
14755
|
+
url: '/api/marketplace-resource-api-keys/{uuid}/set_erred/',
|
|
14756
|
+
...options,
|
|
14757
|
+
headers: {
|
|
14758
|
+
'Content-Type': 'application/json',
|
|
14759
|
+
...options.headers
|
|
14760
|
+
}
|
|
14761
|
+
});
|
|
14762
|
+
/**
|
|
14763
|
+
* Report a rotated API key value
|
|
14764
|
+
*
|
|
14765
|
+
* Used by the site agent after it applied a rotated key. Replaces the stored value and marks the key OK.
|
|
14766
|
+
*/
|
|
14767
|
+
export const marketplaceResourceApiKeysSetKey = (options) => (options.client ?? client).post({
|
|
14768
|
+
security: [
|
|
14769
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
14770
|
+
{ scheme: 'bearer', type: 'http' }
|
|
14771
|
+
],
|
|
14772
|
+
url: '/api/marketplace-resource-api-keys/{uuid}/set_key/',
|
|
14773
|
+
...options,
|
|
14774
|
+
headers: {
|
|
14775
|
+
'Content-Type': 'application/json',
|
|
14776
|
+
...options.headers
|
|
14777
|
+
}
|
|
14778
|
+
});
|
|
14779
|
+
/**
|
|
14780
|
+
* Report a freshly-applied API key
|
|
14781
|
+
*
|
|
14782
|
+
* Used by the site agent after it generated and applied a key to the backend. Stores the value encrypted and marks the key OK.
|
|
14783
|
+
*/
|
|
14784
|
+
export const marketplaceResourceApiKeysReportCreated = (options) => (options.client ?? client).post({
|
|
14785
|
+
security: [
|
|
14786
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
14787
|
+
{ scheme: 'bearer', type: 'http' }
|
|
14788
|
+
],
|
|
14789
|
+
url: '/api/marketplace-resource-api-keys/report_created/',
|
|
14790
|
+
...options,
|
|
14791
|
+
headers: {
|
|
14792
|
+
'Content-Type': 'application/json',
|
|
14793
|
+
...options.headers
|
|
14794
|
+
}
|
|
14795
|
+
});
|
|
14518
14796
|
export const marketplaceResourceLimitChangeRequestsList = (options) => (options?.client ?? client).get({
|
|
14519
14797
|
security: [
|
|
14520
14798
|
{ name: 'Authorization', type: 'apiKey' },
|
|
@@ -25135,6 +25413,26 @@ export const personalAccessTokensRotate = (options) => (options.client ?? client
|
|
|
25135
25413
|
url: '/api/personal-access-tokens/{uuid}/rotate/',
|
|
25136
25414
|
...options
|
|
25137
25415
|
});
|
|
25416
|
+
/**
|
|
25417
|
+
* Replace the network ACL of a personal access token
|
|
25418
|
+
*
|
|
25419
|
+
* Replace the token's source-network allowlist.
|
|
25420
|
+
*
|
|
25421
|
+
* A dedicated action rather than PATCH: update/partial_update stay
|
|
25422
|
+
* disabled on this viewset, and the change gets its own audit event.
|
|
25423
|
+
*/
|
|
25424
|
+
export const personalAccessTokensSetNetworkAcl = (options) => (options.client ?? client).post({
|
|
25425
|
+
security: [
|
|
25426
|
+
{ name: 'Authorization', type: 'apiKey' },
|
|
25427
|
+
{ scheme: 'bearer', type: 'http' }
|
|
25428
|
+
],
|
|
25429
|
+
url: '/api/personal-access-tokens/{uuid}/set_network_acl/',
|
|
25430
|
+
...options,
|
|
25431
|
+
headers: {
|
|
25432
|
+
'Content-Type': 'application/json',
|
|
25433
|
+
...options.headers
|
|
25434
|
+
}
|
|
25435
|
+
});
|
|
25138
25436
|
/**
|
|
25139
25437
|
* List entity types the caller can bind each permission to
|
|
25140
25438
|
*
|
|
@@ -27419,6 +27717,9 @@ export const providerCannedResponsesUpdate = (options) => (options.client ?? cli
|
|
|
27419
27717
|
...options.headers
|
|
27420
27718
|
}
|
|
27421
27719
|
});
|
|
27720
|
+
/**
|
|
27721
|
+
* Render a canned response with context variables
|
|
27722
|
+
*/
|
|
27422
27723
|
export const providerCannedResponsesRender = (options) => (options.client ?? client).post({
|
|
27423
27724
|
security: [
|
|
27424
27725
|
{ name: 'Authorization', type: 'apiKey' },
|
|
@@ -33508,7 +33809,7 @@ export const usersUserRegistrationTrendCount = (options) => (options?.client ??
|
|
|
33508
33809
|
/**
|
|
33509
33810
|
* Get application version
|
|
33510
33811
|
*
|
|
33511
|
-
* Retrieves the current installed version of the application and the latest available version from GitHub
|
|
33812
|
+
* Retrieves the current installed version of the application. Staff and support users additionally receive the latest available version from GitHub when update checks are enabled.
|
|
33512
33813
|
*/
|
|
33513
33814
|
export const versionRetrieve = (options) => (options?.client ?? client).get({
|
|
33514
33815
|
security: [
|