waldur-js-client 8.0.4-dev.4 → 8.0.4-dev.5
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 +73 -1
- package/dist/sdk.gen.js +422 -0
- package/dist/types.gen.d.ts +644 -6
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -18826,6 +18826,30 @@ export const marketplaceProviderResourcesSetEndDateByStaff = (options) => {
|
|
|
18826
18826
|
}
|
|
18827
18827
|
});
|
|
18828
18828
|
};
|
|
18829
|
+
/**
|
|
18830
|
+
* Set Keycloak scope options for a resource
|
|
18831
|
+
* Allows a service provider to configure available scope options for Keycloak memberships on a resource. Requires Keycloak integration to be enabled on the offering.
|
|
18832
|
+
*/
|
|
18833
|
+
export const marketplaceProviderResourcesSetKeycloakScopes = (options) => {
|
|
18834
|
+
return (options.client ?? _heyApiClient).post({
|
|
18835
|
+
security: [
|
|
18836
|
+
{
|
|
18837
|
+
name: 'Authorization',
|
|
18838
|
+
type: 'apiKey'
|
|
18839
|
+
},
|
|
18840
|
+
{
|
|
18841
|
+
scheme: 'bearer',
|
|
18842
|
+
type: 'http'
|
|
18843
|
+
}
|
|
18844
|
+
],
|
|
18845
|
+
url: '/api/marketplace-provider-resources/{uuid}/set_keycloak_scopes/',
|
|
18846
|
+
...options,
|
|
18847
|
+
headers: {
|
|
18848
|
+
'Content-Type': 'application/json',
|
|
18849
|
+
...options.headers
|
|
18850
|
+
}
|
|
18851
|
+
});
|
|
18852
|
+
};
|
|
18829
18853
|
/**
|
|
18830
18854
|
* Set resource limits
|
|
18831
18855
|
* Allows a service provider to directly set the limits for a resource. This is typically used for administrative changes or backend synchronization, bypassing the normal order process.
|
|
@@ -25276,6 +25300,404 @@ export const notificationMessagesEnable = (options) => {
|
|
|
25276
25300
|
...options
|
|
25277
25301
|
});
|
|
25278
25302
|
};
|
|
25303
|
+
export const offeringKeycloakGroupsList = (options) => {
|
|
25304
|
+
return (options?.client ?? _heyApiClient).get({
|
|
25305
|
+
security: [
|
|
25306
|
+
{
|
|
25307
|
+
name: 'Authorization',
|
|
25308
|
+
type: 'apiKey'
|
|
25309
|
+
},
|
|
25310
|
+
{
|
|
25311
|
+
scheme: 'bearer',
|
|
25312
|
+
type: 'http'
|
|
25313
|
+
}
|
|
25314
|
+
],
|
|
25315
|
+
url: '/api/offering-keycloak-groups/',
|
|
25316
|
+
...options
|
|
25317
|
+
});
|
|
25318
|
+
};
|
|
25319
|
+
/**
|
|
25320
|
+
* Get number of items in the collection matching the request parameters.
|
|
25321
|
+
*/
|
|
25322
|
+
export const offeringKeycloakGroupsCount = (options) => {
|
|
25323
|
+
return (options?.client ?? _heyApiClient).head({
|
|
25324
|
+
security: [
|
|
25325
|
+
{
|
|
25326
|
+
name: 'Authorization',
|
|
25327
|
+
type: 'apiKey'
|
|
25328
|
+
},
|
|
25329
|
+
{
|
|
25330
|
+
scheme: 'bearer',
|
|
25331
|
+
type: 'http'
|
|
25332
|
+
}
|
|
25333
|
+
],
|
|
25334
|
+
url: '/api/offering-keycloak-groups/',
|
|
25335
|
+
...options
|
|
25336
|
+
});
|
|
25337
|
+
};
|
|
25338
|
+
export const offeringKeycloakGroupsDestroy = (options) => {
|
|
25339
|
+
return (options.client ?? _heyApiClient).delete({
|
|
25340
|
+
security: [
|
|
25341
|
+
{
|
|
25342
|
+
name: 'Authorization',
|
|
25343
|
+
type: 'apiKey'
|
|
25344
|
+
},
|
|
25345
|
+
{
|
|
25346
|
+
scheme: 'bearer',
|
|
25347
|
+
type: 'http'
|
|
25348
|
+
}
|
|
25349
|
+
],
|
|
25350
|
+
url: '/api/offering-keycloak-groups/{uuid}/',
|
|
25351
|
+
...options
|
|
25352
|
+
});
|
|
25353
|
+
};
|
|
25354
|
+
export const offeringKeycloakGroupsRetrieve = (options) => {
|
|
25355
|
+
return (options.client ?? _heyApiClient).get({
|
|
25356
|
+
security: [
|
|
25357
|
+
{
|
|
25358
|
+
name: 'Authorization',
|
|
25359
|
+
type: 'apiKey'
|
|
25360
|
+
},
|
|
25361
|
+
{
|
|
25362
|
+
scheme: 'bearer',
|
|
25363
|
+
type: 'http'
|
|
25364
|
+
}
|
|
25365
|
+
],
|
|
25366
|
+
url: '/api/offering-keycloak-groups/{uuid}/',
|
|
25367
|
+
...options
|
|
25368
|
+
});
|
|
25369
|
+
};
|
|
25370
|
+
/**
|
|
25371
|
+
* Pull members from Keycloak for a group
|
|
25372
|
+
*/
|
|
25373
|
+
export const offeringKeycloakGroupsPullMembers = (options) => {
|
|
25374
|
+
return (options.client ?? _heyApiClient).post({
|
|
25375
|
+
security: [
|
|
25376
|
+
{
|
|
25377
|
+
name: 'Authorization',
|
|
25378
|
+
type: 'apiKey'
|
|
25379
|
+
},
|
|
25380
|
+
{
|
|
25381
|
+
scheme: 'bearer',
|
|
25382
|
+
type: 'http'
|
|
25383
|
+
}
|
|
25384
|
+
],
|
|
25385
|
+
url: '/api/offering-keycloak-groups/{uuid}/pull_members/',
|
|
25386
|
+
...options
|
|
25387
|
+
});
|
|
25388
|
+
};
|
|
25389
|
+
/**
|
|
25390
|
+
* Set or unlink the backend_id (remote Keycloak group ID) for a local group
|
|
25391
|
+
*/
|
|
25392
|
+
export const offeringKeycloakGroupsSetBackendId = (options) => {
|
|
25393
|
+
return (options.client ?? _heyApiClient).post({
|
|
25394
|
+
security: [
|
|
25395
|
+
{
|
|
25396
|
+
name: 'Authorization',
|
|
25397
|
+
type: 'apiKey'
|
|
25398
|
+
},
|
|
25399
|
+
{
|
|
25400
|
+
scheme: 'bearer',
|
|
25401
|
+
type: 'http'
|
|
25402
|
+
}
|
|
25403
|
+
],
|
|
25404
|
+
url: '/api/offering-keycloak-groups/{uuid}/set_backend_id/',
|
|
25405
|
+
...options,
|
|
25406
|
+
headers: {
|
|
25407
|
+
'Content-Type': 'application/json',
|
|
25408
|
+
...options.headers
|
|
25409
|
+
}
|
|
25410
|
+
});
|
|
25411
|
+
};
|
|
25412
|
+
/**
|
|
25413
|
+
* Import a remote Keycloak group as a local OfferingKeycloakGroup
|
|
25414
|
+
*/
|
|
25415
|
+
export const offeringKeycloakGroupsImportRemote = (options) => {
|
|
25416
|
+
return (options.client ?? _heyApiClient).post({
|
|
25417
|
+
security: [
|
|
25418
|
+
{
|
|
25419
|
+
name: 'Authorization',
|
|
25420
|
+
type: 'apiKey'
|
|
25421
|
+
},
|
|
25422
|
+
{
|
|
25423
|
+
scheme: 'bearer',
|
|
25424
|
+
type: 'http'
|
|
25425
|
+
}
|
|
25426
|
+
],
|
|
25427
|
+
url: '/api/offering-keycloak-groups/import_remote/',
|
|
25428
|
+
...options,
|
|
25429
|
+
headers: {
|
|
25430
|
+
'Content-Type': 'application/json',
|
|
25431
|
+
...options.headers
|
|
25432
|
+
}
|
|
25433
|
+
});
|
|
25434
|
+
};
|
|
25435
|
+
/**
|
|
25436
|
+
* List members of a remote Keycloak group
|
|
25437
|
+
*/
|
|
25438
|
+
export const offeringKeycloakGroupsRemoteGroupMembersList = (options) => {
|
|
25439
|
+
return (options.client ?? _heyApiClient).get({
|
|
25440
|
+
security: [
|
|
25441
|
+
{
|
|
25442
|
+
name: 'Authorization',
|
|
25443
|
+
type: 'apiKey'
|
|
25444
|
+
},
|
|
25445
|
+
{
|
|
25446
|
+
scheme: 'bearer',
|
|
25447
|
+
type: 'http'
|
|
25448
|
+
}
|
|
25449
|
+
],
|
|
25450
|
+
url: '/api/offering-keycloak-groups/remote_group_members/',
|
|
25451
|
+
...options
|
|
25452
|
+
});
|
|
25453
|
+
};
|
|
25454
|
+
/**
|
|
25455
|
+
* List members of a remote Keycloak group
|
|
25456
|
+
* Get number of items in the collection matching the request parameters.
|
|
25457
|
+
*/
|
|
25458
|
+
export const offeringKeycloakGroupsRemoteGroupMembersCount = (options) => {
|
|
25459
|
+
return (options.client ?? _heyApiClient).head({
|
|
25460
|
+
security: [
|
|
25461
|
+
{
|
|
25462
|
+
name: 'Authorization',
|
|
25463
|
+
type: 'apiKey'
|
|
25464
|
+
},
|
|
25465
|
+
{
|
|
25466
|
+
scheme: 'bearer',
|
|
25467
|
+
type: 'http'
|
|
25468
|
+
}
|
|
25469
|
+
],
|
|
25470
|
+
url: '/api/offering-keycloak-groups/remote_group_members/',
|
|
25471
|
+
...options
|
|
25472
|
+
});
|
|
25473
|
+
};
|
|
25474
|
+
/**
|
|
25475
|
+
* List remote Keycloak groups for an offering
|
|
25476
|
+
*/
|
|
25477
|
+
export const offeringKeycloakGroupsRemoteGroupsList = (options) => {
|
|
25478
|
+
return (options.client ?? _heyApiClient).get({
|
|
25479
|
+
security: [
|
|
25480
|
+
{
|
|
25481
|
+
name: 'Authorization',
|
|
25482
|
+
type: 'apiKey'
|
|
25483
|
+
},
|
|
25484
|
+
{
|
|
25485
|
+
scheme: 'bearer',
|
|
25486
|
+
type: 'http'
|
|
25487
|
+
}
|
|
25488
|
+
],
|
|
25489
|
+
url: '/api/offering-keycloak-groups/remote_groups/',
|
|
25490
|
+
...options
|
|
25491
|
+
});
|
|
25492
|
+
};
|
|
25493
|
+
/**
|
|
25494
|
+
* List remote Keycloak groups for an offering
|
|
25495
|
+
* Get number of items in the collection matching the request parameters.
|
|
25496
|
+
*/
|
|
25497
|
+
export const offeringKeycloakGroupsRemoteGroupsCount = (options) => {
|
|
25498
|
+
return (options.client ?? _heyApiClient).head({
|
|
25499
|
+
security: [
|
|
25500
|
+
{
|
|
25501
|
+
name: 'Authorization',
|
|
25502
|
+
type: 'apiKey'
|
|
25503
|
+
},
|
|
25504
|
+
{
|
|
25505
|
+
scheme: 'bearer',
|
|
25506
|
+
type: 'http'
|
|
25507
|
+
}
|
|
25508
|
+
],
|
|
25509
|
+
url: '/api/offering-keycloak-groups/remote_groups/',
|
|
25510
|
+
...options
|
|
25511
|
+
});
|
|
25512
|
+
};
|
|
25513
|
+
/**
|
|
25514
|
+
* Search for users in remote Keycloak instance
|
|
25515
|
+
*/
|
|
25516
|
+
export const offeringKeycloakGroupsSearchRemoteUsersList = (options) => {
|
|
25517
|
+
return (options.client ?? _heyApiClient).get({
|
|
25518
|
+
security: [
|
|
25519
|
+
{
|
|
25520
|
+
name: 'Authorization',
|
|
25521
|
+
type: 'apiKey'
|
|
25522
|
+
},
|
|
25523
|
+
{
|
|
25524
|
+
scheme: 'bearer',
|
|
25525
|
+
type: 'http'
|
|
25526
|
+
}
|
|
25527
|
+
],
|
|
25528
|
+
url: '/api/offering-keycloak-groups/search_remote_users/',
|
|
25529
|
+
...options
|
|
25530
|
+
});
|
|
25531
|
+
};
|
|
25532
|
+
/**
|
|
25533
|
+
* Search for users in remote Keycloak instance
|
|
25534
|
+
* Get number of items in the collection matching the request parameters.
|
|
25535
|
+
*/
|
|
25536
|
+
export const offeringKeycloakGroupsSearchRemoteUsersCount = (options) => {
|
|
25537
|
+
return (options.client ?? _heyApiClient).head({
|
|
25538
|
+
security: [
|
|
25539
|
+
{
|
|
25540
|
+
name: 'Authorization',
|
|
25541
|
+
type: 'apiKey'
|
|
25542
|
+
},
|
|
25543
|
+
{
|
|
25544
|
+
scheme: 'bearer',
|
|
25545
|
+
type: 'http'
|
|
25546
|
+
}
|
|
25547
|
+
],
|
|
25548
|
+
url: '/api/offering-keycloak-groups/search_remote_users/',
|
|
25549
|
+
...options
|
|
25550
|
+
});
|
|
25551
|
+
};
|
|
25552
|
+
/**
|
|
25553
|
+
* Compare local and remote Keycloak group state
|
|
25554
|
+
*/
|
|
25555
|
+
export const offeringKeycloakGroupsSyncStatusRetrieve = (options) => {
|
|
25556
|
+
return (options.client ?? _heyApiClient).get({
|
|
25557
|
+
security: [
|
|
25558
|
+
{
|
|
25559
|
+
name: 'Authorization',
|
|
25560
|
+
type: 'apiKey'
|
|
25561
|
+
},
|
|
25562
|
+
{
|
|
25563
|
+
scheme: 'bearer',
|
|
25564
|
+
type: 'http'
|
|
25565
|
+
}
|
|
25566
|
+
],
|
|
25567
|
+
url: '/api/offering-keycloak-groups/sync_status/',
|
|
25568
|
+
...options
|
|
25569
|
+
});
|
|
25570
|
+
};
|
|
25571
|
+
/**
|
|
25572
|
+
* Compare local and remote Keycloak group state
|
|
25573
|
+
* Get number of items in the collection matching the request parameters.
|
|
25574
|
+
*/
|
|
25575
|
+
export const offeringKeycloakGroupsSyncStatusCount = (options) => {
|
|
25576
|
+
return (options.client ?? _heyApiClient).head({
|
|
25577
|
+
security: [
|
|
25578
|
+
{
|
|
25579
|
+
name: 'Authorization',
|
|
25580
|
+
type: 'apiKey'
|
|
25581
|
+
},
|
|
25582
|
+
{
|
|
25583
|
+
scheme: 'bearer',
|
|
25584
|
+
type: 'http'
|
|
25585
|
+
}
|
|
25586
|
+
],
|
|
25587
|
+
url: '/api/offering-keycloak-groups/sync_status/',
|
|
25588
|
+
...options
|
|
25589
|
+
});
|
|
25590
|
+
};
|
|
25591
|
+
/**
|
|
25592
|
+
* Test Keycloak connection for an offering
|
|
25593
|
+
*/
|
|
25594
|
+
export const offeringKeycloakGroupsTestConnection = (options) => {
|
|
25595
|
+
return (options.client ?? _heyApiClient).post({
|
|
25596
|
+
security: [
|
|
25597
|
+
{
|
|
25598
|
+
name: 'Authorization',
|
|
25599
|
+
type: 'apiKey'
|
|
25600
|
+
},
|
|
25601
|
+
{
|
|
25602
|
+
scheme: 'bearer',
|
|
25603
|
+
type: 'http'
|
|
25604
|
+
}
|
|
25605
|
+
],
|
|
25606
|
+
url: '/api/offering-keycloak-groups/test_connection/',
|
|
25607
|
+
...options,
|
|
25608
|
+
headers: {
|
|
25609
|
+
'Content-Type': 'application/json',
|
|
25610
|
+
...options.headers
|
|
25611
|
+
}
|
|
25612
|
+
});
|
|
25613
|
+
};
|
|
25614
|
+
export const offeringKeycloakMembershipsList = (options) => {
|
|
25615
|
+
return (options?.client ?? _heyApiClient).get({
|
|
25616
|
+
security: [
|
|
25617
|
+
{
|
|
25618
|
+
name: 'Authorization',
|
|
25619
|
+
type: 'apiKey'
|
|
25620
|
+
},
|
|
25621
|
+
{
|
|
25622
|
+
scheme: 'bearer',
|
|
25623
|
+
type: 'http'
|
|
25624
|
+
}
|
|
25625
|
+
],
|
|
25626
|
+
url: '/api/offering-keycloak-memberships/',
|
|
25627
|
+
...options
|
|
25628
|
+
});
|
|
25629
|
+
};
|
|
25630
|
+
/**
|
|
25631
|
+
* Get number of items in the collection matching the request parameters.
|
|
25632
|
+
*/
|
|
25633
|
+
export const offeringKeycloakMembershipsCount = (options) => {
|
|
25634
|
+
return (options?.client ?? _heyApiClient).head({
|
|
25635
|
+
security: [
|
|
25636
|
+
{
|
|
25637
|
+
name: 'Authorization',
|
|
25638
|
+
type: 'apiKey'
|
|
25639
|
+
},
|
|
25640
|
+
{
|
|
25641
|
+
scheme: 'bearer',
|
|
25642
|
+
type: 'http'
|
|
25643
|
+
}
|
|
25644
|
+
],
|
|
25645
|
+
url: '/api/offering-keycloak-memberships/',
|
|
25646
|
+
...options
|
|
25647
|
+
});
|
|
25648
|
+
};
|
|
25649
|
+
export const offeringKeycloakMembershipsCreate = (options) => {
|
|
25650
|
+
return (options.client ?? _heyApiClient).post({
|
|
25651
|
+
security: [
|
|
25652
|
+
{
|
|
25653
|
+
name: 'Authorization',
|
|
25654
|
+
type: 'apiKey'
|
|
25655
|
+
},
|
|
25656
|
+
{
|
|
25657
|
+
scheme: 'bearer',
|
|
25658
|
+
type: 'http'
|
|
25659
|
+
}
|
|
25660
|
+
],
|
|
25661
|
+
url: '/api/offering-keycloak-memberships/',
|
|
25662
|
+
...options,
|
|
25663
|
+
headers: {
|
|
25664
|
+
'Content-Type': 'application/json',
|
|
25665
|
+
...options.headers
|
|
25666
|
+
}
|
|
25667
|
+
});
|
|
25668
|
+
};
|
|
25669
|
+
export const offeringKeycloakMembershipsDestroy = (options) => {
|
|
25670
|
+
return (options.client ?? _heyApiClient).delete({
|
|
25671
|
+
security: [
|
|
25672
|
+
{
|
|
25673
|
+
name: 'Authorization',
|
|
25674
|
+
type: 'apiKey'
|
|
25675
|
+
},
|
|
25676
|
+
{
|
|
25677
|
+
scheme: 'bearer',
|
|
25678
|
+
type: 'http'
|
|
25679
|
+
}
|
|
25680
|
+
],
|
|
25681
|
+
url: '/api/offering-keycloak-memberships/{uuid}/',
|
|
25682
|
+
...options
|
|
25683
|
+
});
|
|
25684
|
+
};
|
|
25685
|
+
export const offeringKeycloakMembershipsRetrieve = (options) => {
|
|
25686
|
+
return (options.client ?? _heyApiClient).get({
|
|
25687
|
+
security: [
|
|
25688
|
+
{
|
|
25689
|
+
name: 'Authorization',
|
|
25690
|
+
type: 'apiKey'
|
|
25691
|
+
},
|
|
25692
|
+
{
|
|
25693
|
+
scheme: 'bearer',
|
|
25694
|
+
type: 'http'
|
|
25695
|
+
}
|
|
25696
|
+
],
|
|
25697
|
+
url: '/api/offering-keycloak-memberships/{uuid}/',
|
|
25698
|
+
...options
|
|
25699
|
+
});
|
|
25700
|
+
};
|
|
25279
25701
|
export const onboardingJustificationsList = (options) => {
|
|
25280
25702
|
return (options?.client ?? _heyApiClient).get({
|
|
25281
25703
|
security: [
|