waldur-js-client 7.9.6-dev.2 → 7.9.6-dev.20
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 +91 -3
- package/dist/sdk.gen.js +328 -3
- package/dist/types.gen.d.ts +857 -40
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -3472,7 +3472,20 @@ export const callRoundsReviewersList = (options) => {
|
|
|
3472
3472
|
};
|
|
3473
3473
|
/**
|
|
3474
3474
|
* Get Celery worker statistics
|
|
3475
|
-
* Provides a snapshot of
|
|
3475
|
+
* Provides a comprehensive snapshot of all Celery workers' status.
|
|
3476
|
+
*
|
|
3477
|
+
* This endpoint returns detailed information about:
|
|
3478
|
+
* - **active**: Tasks currently being executed by workers
|
|
3479
|
+
* - **scheduled**: Tasks scheduled for future execution (with ETA)
|
|
3480
|
+
* - **reserved**: Tasks received by workers but not yet started
|
|
3481
|
+
* - **revoked**: Task IDs that have been cancelled/revoked
|
|
3482
|
+
* - **query_task**: Results of task queries (if any)
|
|
3483
|
+
* - **stats**: Detailed worker statistics including uptime, pool info, and broker connection
|
|
3484
|
+
*
|
|
3485
|
+
* Each field is a dictionary where keys are worker names (e.g., 'celery@hostname').
|
|
3486
|
+
* If no workers are available, fields will be `null`.
|
|
3487
|
+
*
|
|
3488
|
+
* Requires support user permissions.
|
|
3476
3489
|
*/
|
|
3477
3490
|
export const celeryStatsRetrieve = (options) => {
|
|
3478
3491
|
return (options?.client ?? _heyApiClient).get({
|
|
@@ -10144,6 +10157,110 @@ export const marketplaceCustomerServiceAccountsRotateApiKey = (options) => {
|
|
|
10144
10157
|
...options
|
|
10145
10158
|
});
|
|
10146
10159
|
};
|
|
10160
|
+
/**
|
|
10161
|
+
* Get demo preset details
|
|
10162
|
+
* Returns detailed information about a specific demo preset. Staff access only.
|
|
10163
|
+
*/
|
|
10164
|
+
export const marketplaceDemoPresetsInfoRetrieve = (options) => {
|
|
10165
|
+
return (options.client ?? _heyApiClient).get({
|
|
10166
|
+
security: [
|
|
10167
|
+
{
|
|
10168
|
+
name: 'Authorization',
|
|
10169
|
+
type: 'apiKey'
|
|
10170
|
+
},
|
|
10171
|
+
{
|
|
10172
|
+
scheme: 'bearer',
|
|
10173
|
+
type: 'http'
|
|
10174
|
+
}
|
|
10175
|
+
],
|
|
10176
|
+
url: '/api/marketplace-demo-presets/info/{name}/',
|
|
10177
|
+
...options
|
|
10178
|
+
});
|
|
10179
|
+
};
|
|
10180
|
+
/**
|
|
10181
|
+
* Get demo preset details
|
|
10182
|
+
* Get number of items in the collection matching the request parameters.
|
|
10183
|
+
*/
|
|
10184
|
+
export const marketplaceDemoPresetsInfoCount = (options) => {
|
|
10185
|
+
return (options.client ?? _heyApiClient).head({
|
|
10186
|
+
security: [
|
|
10187
|
+
{
|
|
10188
|
+
name: 'Authorization',
|
|
10189
|
+
type: 'apiKey'
|
|
10190
|
+
},
|
|
10191
|
+
{
|
|
10192
|
+
scheme: 'bearer',
|
|
10193
|
+
type: 'http'
|
|
10194
|
+
}
|
|
10195
|
+
],
|
|
10196
|
+
url: '/api/marketplace-demo-presets/info/{name}/',
|
|
10197
|
+
...options
|
|
10198
|
+
});
|
|
10199
|
+
};
|
|
10200
|
+
/**
|
|
10201
|
+
* List demo presets
|
|
10202
|
+
* Returns a list of available demo data presets. Staff access only.
|
|
10203
|
+
*/
|
|
10204
|
+
export const marketplaceDemoPresetsListList = (options) => {
|
|
10205
|
+
return (options?.client ?? _heyApiClient).get({
|
|
10206
|
+
security: [
|
|
10207
|
+
{
|
|
10208
|
+
name: 'Authorization',
|
|
10209
|
+
type: 'apiKey'
|
|
10210
|
+
},
|
|
10211
|
+
{
|
|
10212
|
+
scheme: 'bearer',
|
|
10213
|
+
type: 'http'
|
|
10214
|
+
}
|
|
10215
|
+
],
|
|
10216
|
+
url: '/api/marketplace-demo-presets/list/',
|
|
10217
|
+
...options
|
|
10218
|
+
});
|
|
10219
|
+
};
|
|
10220
|
+
/**
|
|
10221
|
+
* List demo presets
|
|
10222
|
+
* Get number of items in the collection matching the request parameters.
|
|
10223
|
+
*/
|
|
10224
|
+
export const marketplaceDemoPresetsListCount = (options) => {
|
|
10225
|
+
return (options?.client ?? _heyApiClient).head({
|
|
10226
|
+
security: [
|
|
10227
|
+
{
|
|
10228
|
+
name: 'Authorization',
|
|
10229
|
+
type: 'apiKey'
|
|
10230
|
+
},
|
|
10231
|
+
{
|
|
10232
|
+
scheme: 'bearer',
|
|
10233
|
+
type: 'http'
|
|
10234
|
+
}
|
|
10235
|
+
],
|
|
10236
|
+
url: '/api/marketplace-demo-presets/list/',
|
|
10237
|
+
...options
|
|
10238
|
+
});
|
|
10239
|
+
};
|
|
10240
|
+
/**
|
|
10241
|
+
* Load demo preset
|
|
10242
|
+
* Load a demo preset into the database. This operation will optionally clean up existing data before loading. Staff access only.
|
|
10243
|
+
*/
|
|
10244
|
+
export const marketplaceDemoPresetsLoad = (options) => {
|
|
10245
|
+
return (options.client ?? _heyApiClient).post({
|
|
10246
|
+
security: [
|
|
10247
|
+
{
|
|
10248
|
+
name: 'Authorization',
|
|
10249
|
+
type: 'apiKey'
|
|
10250
|
+
},
|
|
10251
|
+
{
|
|
10252
|
+
scheme: 'bearer',
|
|
10253
|
+
type: 'http'
|
|
10254
|
+
}
|
|
10255
|
+
],
|
|
10256
|
+
url: '/api/marketplace-demo-presets/load/{name}/',
|
|
10257
|
+
...options,
|
|
10258
|
+
headers: {
|
|
10259
|
+
'Content-Type': 'application/json',
|
|
10260
|
+
...options.headers
|
|
10261
|
+
}
|
|
10262
|
+
});
|
|
10263
|
+
};
|
|
10147
10264
|
/**
|
|
10148
10265
|
* Get resource counts by category
|
|
10149
10266
|
*
|
|
@@ -11907,7 +12024,11 @@ export const marketplaceOrdersRejectByConsumer = (options) => {
|
|
|
11907
12024
|
}
|
|
11908
12025
|
],
|
|
11909
12026
|
url: '/api/marketplace-orders/{uuid}/reject_by_consumer/',
|
|
11910
|
-
...options
|
|
12027
|
+
...options,
|
|
12028
|
+
headers: {
|
|
12029
|
+
'Content-Type': 'application/json',
|
|
12030
|
+
...options.headers
|
|
12031
|
+
}
|
|
11911
12032
|
});
|
|
11912
12033
|
};
|
|
11913
12034
|
/**
|
|
@@ -19368,6 +19489,158 @@ export const marketplaceStatsTotalCostOfActiveResourcesPerOfferingCount = (optio
|
|
|
19368
19489
|
...options
|
|
19369
19490
|
});
|
|
19370
19491
|
};
|
|
19492
|
+
/**
|
|
19493
|
+
* Return user count grouped by affiliation.
|
|
19494
|
+
*/
|
|
19495
|
+
export const marketplaceStatsUserAffiliationCountList = (options) => {
|
|
19496
|
+
return (options?.client ?? _heyApiClient).get({
|
|
19497
|
+
security: [
|
|
19498
|
+
{
|
|
19499
|
+
name: 'Authorization',
|
|
19500
|
+
type: 'apiKey'
|
|
19501
|
+
},
|
|
19502
|
+
{
|
|
19503
|
+
scheme: 'bearer',
|
|
19504
|
+
type: 'http'
|
|
19505
|
+
}
|
|
19506
|
+
],
|
|
19507
|
+
url: '/api/marketplace-stats/user_affiliation_count/',
|
|
19508
|
+
...options
|
|
19509
|
+
});
|
|
19510
|
+
};
|
|
19511
|
+
/**
|
|
19512
|
+
* Get number of items in the collection matching the request parameters.
|
|
19513
|
+
*/
|
|
19514
|
+
export const marketplaceStatsUserAffiliationCountCount = (options) => {
|
|
19515
|
+
return (options?.client ?? _heyApiClient).head({
|
|
19516
|
+
security: [
|
|
19517
|
+
{
|
|
19518
|
+
name: 'Authorization',
|
|
19519
|
+
type: 'apiKey'
|
|
19520
|
+
},
|
|
19521
|
+
{
|
|
19522
|
+
scheme: 'bearer',
|
|
19523
|
+
type: 'http'
|
|
19524
|
+
}
|
|
19525
|
+
],
|
|
19526
|
+
url: '/api/marketplace-stats/user_affiliation_count/',
|
|
19527
|
+
...options
|
|
19528
|
+
});
|
|
19529
|
+
};
|
|
19530
|
+
/**
|
|
19531
|
+
* Return user count grouped by authentication method.
|
|
19532
|
+
*/
|
|
19533
|
+
export const marketplaceStatsUserAuthMethodCountList = (options) => {
|
|
19534
|
+
return (options?.client ?? _heyApiClient).get({
|
|
19535
|
+
security: [
|
|
19536
|
+
{
|
|
19537
|
+
name: 'Authorization',
|
|
19538
|
+
type: 'apiKey'
|
|
19539
|
+
},
|
|
19540
|
+
{
|
|
19541
|
+
scheme: 'bearer',
|
|
19542
|
+
type: 'http'
|
|
19543
|
+
}
|
|
19544
|
+
],
|
|
19545
|
+
url: '/api/marketplace-stats/user_auth_method_count/',
|
|
19546
|
+
...options
|
|
19547
|
+
});
|
|
19548
|
+
};
|
|
19549
|
+
/**
|
|
19550
|
+
* Get number of items in the collection matching the request parameters.
|
|
19551
|
+
*/
|
|
19552
|
+
export const marketplaceStatsUserAuthMethodCountCount = (options) => {
|
|
19553
|
+
return (options?.client ?? _heyApiClient).head({
|
|
19554
|
+
security: [
|
|
19555
|
+
{
|
|
19556
|
+
name: 'Authorization',
|
|
19557
|
+
type: 'apiKey'
|
|
19558
|
+
},
|
|
19559
|
+
{
|
|
19560
|
+
scheme: 'bearer',
|
|
19561
|
+
type: 'http'
|
|
19562
|
+
}
|
|
19563
|
+
],
|
|
19564
|
+
url: '/api/marketplace-stats/user_auth_method_count/',
|
|
19565
|
+
...options
|
|
19566
|
+
});
|
|
19567
|
+
};
|
|
19568
|
+
/**
|
|
19569
|
+
* Return user count grouped by identity source.
|
|
19570
|
+
*/
|
|
19571
|
+
export const marketplaceStatsUserIdentitySourceCountList = (options) => {
|
|
19572
|
+
return (options?.client ?? _heyApiClient).get({
|
|
19573
|
+
security: [
|
|
19574
|
+
{
|
|
19575
|
+
name: 'Authorization',
|
|
19576
|
+
type: 'apiKey'
|
|
19577
|
+
},
|
|
19578
|
+
{
|
|
19579
|
+
scheme: 'bearer',
|
|
19580
|
+
type: 'http'
|
|
19581
|
+
}
|
|
19582
|
+
],
|
|
19583
|
+
url: '/api/marketplace-stats/user_identity_source_count/',
|
|
19584
|
+
...options
|
|
19585
|
+
});
|
|
19586
|
+
};
|
|
19587
|
+
/**
|
|
19588
|
+
* Get number of items in the collection matching the request parameters.
|
|
19589
|
+
*/
|
|
19590
|
+
export const marketplaceStatsUserIdentitySourceCountCount = (options) => {
|
|
19591
|
+
return (options?.client ?? _heyApiClient).head({
|
|
19592
|
+
security: [
|
|
19593
|
+
{
|
|
19594
|
+
name: 'Authorization',
|
|
19595
|
+
type: 'apiKey'
|
|
19596
|
+
},
|
|
19597
|
+
{
|
|
19598
|
+
scheme: 'bearer',
|
|
19599
|
+
type: 'http'
|
|
19600
|
+
}
|
|
19601
|
+
],
|
|
19602
|
+
url: '/api/marketplace-stats/user_identity_source_count/',
|
|
19603
|
+
...options
|
|
19604
|
+
});
|
|
19605
|
+
};
|
|
19606
|
+
/**
|
|
19607
|
+
* Return user count grouped by organization.
|
|
19608
|
+
*/
|
|
19609
|
+
export const marketplaceStatsUserOrganizationCountList = (options) => {
|
|
19610
|
+
return (options?.client ?? _heyApiClient).get({
|
|
19611
|
+
security: [
|
|
19612
|
+
{
|
|
19613
|
+
name: 'Authorization',
|
|
19614
|
+
type: 'apiKey'
|
|
19615
|
+
},
|
|
19616
|
+
{
|
|
19617
|
+
scheme: 'bearer',
|
|
19618
|
+
type: 'http'
|
|
19619
|
+
}
|
|
19620
|
+
],
|
|
19621
|
+
url: '/api/marketplace-stats/user_organization_count/',
|
|
19622
|
+
...options
|
|
19623
|
+
});
|
|
19624
|
+
};
|
|
19625
|
+
/**
|
|
19626
|
+
* Get number of items in the collection matching the request parameters.
|
|
19627
|
+
*/
|
|
19628
|
+
export const marketplaceStatsUserOrganizationCountCount = (options) => {
|
|
19629
|
+
return (options?.client ?? _heyApiClient).head({
|
|
19630
|
+
security: [
|
|
19631
|
+
{
|
|
19632
|
+
name: 'Authorization',
|
|
19633
|
+
type: 'apiKey'
|
|
19634
|
+
},
|
|
19635
|
+
{
|
|
19636
|
+
scheme: 'bearer',
|
|
19637
|
+
type: 'http'
|
|
19638
|
+
}
|
|
19639
|
+
],
|
|
19640
|
+
url: '/api/marketplace-stats/user_organization_count/',
|
|
19641
|
+
...options
|
|
19642
|
+
});
|
|
19643
|
+
};
|
|
19371
19644
|
/**
|
|
19372
19645
|
* List user offering consents
|
|
19373
19646
|
* Returns a paginated list of Terms of Service consents for the current user. Staff and support users can see all consents.
|
|
@@ -27872,6 +28145,29 @@ export const proposalProposalsDeleteUser = (options) => {
|
|
|
27872
28145
|
}
|
|
27873
28146
|
});
|
|
27874
28147
|
};
|
|
28148
|
+
/**
|
|
28149
|
+
* Detach documents from proposal.
|
|
28150
|
+
*/
|
|
28151
|
+
export const proposalProposalsDetachDocuments = (options) => {
|
|
28152
|
+
return (options.client ?? _heyApiClient).post({
|
|
28153
|
+
security: [
|
|
28154
|
+
{
|
|
28155
|
+
name: 'Authorization',
|
|
28156
|
+
type: 'apiKey'
|
|
28157
|
+
},
|
|
28158
|
+
{
|
|
28159
|
+
scheme: 'bearer',
|
|
28160
|
+
type: 'http'
|
|
28161
|
+
}
|
|
28162
|
+
],
|
|
28163
|
+
url: '/api/proposal-proposals/{uuid}/detach_documents/',
|
|
28164
|
+
...options,
|
|
28165
|
+
headers: {
|
|
28166
|
+
'Content-Type': 'application/json',
|
|
28167
|
+
...options.headers
|
|
28168
|
+
}
|
|
28169
|
+
});
|
|
28170
|
+
};
|
|
27875
28171
|
/**
|
|
27876
28172
|
* List users and their roles in a scope
|
|
27877
28173
|
* Retrieves a list of users who have a role within a specific scope (e.g., a project or an organization). The list can be filtered by user details or role.
|
|
@@ -33744,6 +34040,10 @@ export const userActionsUpdateActions = (options) => {
|
|
|
33744
34040
|
}
|
|
33745
34041
|
});
|
|
33746
34042
|
};
|
|
34043
|
+
/**
|
|
34044
|
+
* List user agreements
|
|
34045
|
+
* Retrieve a list of user agreements (Terms of Service and Privacy Policy). Supports filtering by agreement type and language with fallback behavior.
|
|
34046
|
+
*/
|
|
33747
34047
|
export const userAgreementsList = (options) => {
|
|
33748
34048
|
return (options?.client ?? _heyApiClient).get({
|
|
33749
34049
|
security: [
|
|
@@ -33761,6 +34061,7 @@ export const userAgreementsList = (options) => {
|
|
|
33761
34061
|
});
|
|
33762
34062
|
};
|
|
33763
34063
|
/**
|
|
34064
|
+
* List user agreements
|
|
33764
34065
|
* Get number of items in the collection matching the request parameters.
|
|
33765
34066
|
*/
|
|
33766
34067
|
export const userAgreementsCount = (options) => {
|
|
@@ -33815,6 +34116,10 @@ export const userAgreementsDestroy = (options) => {
|
|
|
33815
34116
|
...options
|
|
33816
34117
|
});
|
|
33817
34118
|
};
|
|
34119
|
+
/**
|
|
34120
|
+
* Retrieve user agreement
|
|
34121
|
+
* Fetch the details of a specific user agreement by its UUID.
|
|
34122
|
+
*/
|
|
33818
34123
|
export const userAgreementsRetrieve = (options) => {
|
|
33819
34124
|
return (options.client ?? _heyApiClient).get({
|
|
33820
34125
|
security: [
|
|
@@ -33935,6 +34240,26 @@ export const userGroupInvitationsCreate = (options) => {
|
|
|
33935
34240
|
}
|
|
33936
34241
|
});
|
|
33937
34242
|
};
|
|
34243
|
+
/**
|
|
34244
|
+
* Delete a group invitation
|
|
34245
|
+
* Deletes an inactive group invitation. Only invitations that have been canceled (is_active=False) can be deleted.
|
|
34246
|
+
*/
|
|
34247
|
+
export const userGroupInvitationsDestroy = (options) => {
|
|
34248
|
+
return (options.client ?? _heyApiClient).delete({
|
|
34249
|
+
security: [
|
|
34250
|
+
{
|
|
34251
|
+
name: 'Authorization',
|
|
34252
|
+
type: 'apiKey'
|
|
34253
|
+
},
|
|
34254
|
+
{
|
|
34255
|
+
scheme: 'bearer',
|
|
34256
|
+
type: 'http'
|
|
34257
|
+
}
|
|
34258
|
+
],
|
|
34259
|
+
url: '/api/user-group-invitations/{uuid}/',
|
|
34260
|
+
...options
|
|
34261
|
+
});
|
|
34262
|
+
};
|
|
33938
34263
|
/**
|
|
33939
34264
|
* Retrieve group invitation
|
|
33940
34265
|
* Retrieve details of a specific group invitation. Unauthenticated users can only see public invitations.
|
|
@@ -33997,7 +34322,7 @@ export const userGroupInvitationsProjectsList = (options) => {
|
|
|
33997
34322
|
};
|
|
33998
34323
|
/**
|
|
33999
34324
|
* Submit a permission request
|
|
34000
|
-
* Creates a permission request based on a group invitation for the currently authenticated user.
|
|
34325
|
+
* Creates a permission request based on a group invitation for the currently authenticated user. If the invitation has auto_approve enabled and the user matches the required patterns, the request is automatically approved.
|
|
34001
34326
|
*/
|
|
34002
34327
|
export const userGroupInvitationsSubmitRequest = (options) => {
|
|
34003
34328
|
return (options.client ?? _heyApiClient).post({
|