waldur-js-client 8.0.3-dev.1 → 8.0.3-dev.11
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 +51 -3
- package/dist/sdk.gen.js +233 -41
- package/dist/types.gen.d.ts +655 -58
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -10003,6 +10003,74 @@ export const hooksWebUpdate = (options) => {
|
|
|
10003
10003
|
}
|
|
10004
10004
|
});
|
|
10005
10005
|
};
|
|
10006
|
+
/**
|
|
10007
|
+
* Push user attributes from an ISD
|
|
10008
|
+
* Allows Identity Service Domains (ISDs) to push user attributes to Waldur. Creates or updates a user based on username (CUID). Requires FEDERATED_IDENTITY_SYNC_ENABLED to be True. Caller must be staff or an identity manager with the declared source in managed_isds.
|
|
10009
|
+
*/
|
|
10010
|
+
export const identityBridge = (options) => {
|
|
10011
|
+
return (options.client ?? _heyApiClient).post({
|
|
10012
|
+
security: [
|
|
10013
|
+
{
|
|
10014
|
+
name: 'Authorization',
|
|
10015
|
+
type: 'apiKey'
|
|
10016
|
+
},
|
|
10017
|
+
{
|
|
10018
|
+
scheme: 'bearer',
|
|
10019
|
+
type: 'http'
|
|
10020
|
+
}
|
|
10021
|
+
],
|
|
10022
|
+
url: '/api/identity-bridge/',
|
|
10023
|
+
...options,
|
|
10024
|
+
headers: {
|
|
10025
|
+
'Content-Type': 'application/json',
|
|
10026
|
+
...options.headers
|
|
10027
|
+
}
|
|
10028
|
+
});
|
|
10029
|
+
};
|
|
10030
|
+
/**
|
|
10031
|
+
* Remove a user from an ISD
|
|
10032
|
+
* Signals that a user has been removed from an ISD. Removes the source from active_isds, clears attributes owned by that source, and deactivates the user if no ISDs remain (configurable via FEDERATED_IDENTITY_DEACTIVATION_POLICY). Requires FEDERATED_IDENTITY_SYNC_ENABLED to be True. Caller must be staff or an identity manager with the declared source in managed_isds.
|
|
10033
|
+
*/
|
|
10034
|
+
export const identityBridgeRemove = (options) => {
|
|
10035
|
+
return (options.client ?? _heyApiClient).post({
|
|
10036
|
+
security: [
|
|
10037
|
+
{
|
|
10038
|
+
name: 'Authorization',
|
|
10039
|
+
type: 'apiKey'
|
|
10040
|
+
},
|
|
10041
|
+
{
|
|
10042
|
+
scheme: 'bearer',
|
|
10043
|
+
type: 'http'
|
|
10044
|
+
}
|
|
10045
|
+
],
|
|
10046
|
+
url: '/api/identity-bridge/remove/',
|
|
10047
|
+
...options,
|
|
10048
|
+
headers: {
|
|
10049
|
+
'Content-Type': 'application/json',
|
|
10050
|
+
...options.headers
|
|
10051
|
+
}
|
|
10052
|
+
});
|
|
10053
|
+
};
|
|
10054
|
+
/**
|
|
10055
|
+
* Get Identity Bridge statistics
|
|
10056
|
+
* Returns system-wide statistics about the Identity Bridge: feature configuration, per-ISD user counts, stale attribute detection, and total federated user counts. Staff only.
|
|
10057
|
+
*/
|
|
10058
|
+
export const identityBridgeStatsRetrieve = (options) => {
|
|
10059
|
+
return (options?.client ?? _heyApiClient).get({
|
|
10060
|
+
security: [
|
|
10061
|
+
{
|
|
10062
|
+
name: 'Authorization',
|
|
10063
|
+
type: 'apiKey'
|
|
10064
|
+
},
|
|
10065
|
+
{
|
|
10066
|
+
scheme: 'bearer',
|
|
10067
|
+
type: 'http'
|
|
10068
|
+
}
|
|
10069
|
+
],
|
|
10070
|
+
url: '/api/identity-bridge/stats/',
|
|
10071
|
+
...options
|
|
10072
|
+
});
|
|
10073
|
+
};
|
|
10006
10074
|
export const identityProvidersList = (options) => {
|
|
10007
10075
|
return (options?.client ?? _heyApiClient).get({
|
|
10008
10076
|
security: [
|
|
@@ -15546,7 +15614,11 @@ export const marketplaceOrdersApproveByProvider = (options) => {
|
|
|
15546
15614
|
}
|
|
15547
15615
|
],
|
|
15548
15616
|
url: '/api/marketplace-orders/{uuid}/approve_by_provider/',
|
|
15549
|
-
...options
|
|
15617
|
+
...options,
|
|
15618
|
+
headers: {
|
|
15619
|
+
'Content-Type': 'application/json',
|
|
15620
|
+
...options.headers
|
|
15621
|
+
}
|
|
15550
15622
|
});
|
|
15551
15623
|
};
|
|
15552
15624
|
/**
|
|
@@ -15677,6 +15749,54 @@ export const marketplaceOrdersSetBackendId = (options) => {
|
|
|
15677
15749
|
}
|
|
15678
15750
|
});
|
|
15679
15751
|
};
|
|
15752
|
+
/**
|
|
15753
|
+
* Set consumer info on order
|
|
15754
|
+
* Allows a consumer to respond to a provider's message with an optional message and file attachment on a pending order.
|
|
15755
|
+
*/
|
|
15756
|
+
export const marketplaceOrdersSetConsumerInfo = (options) => {
|
|
15757
|
+
return (options.client ?? _heyApiClient).post({
|
|
15758
|
+
security: [
|
|
15759
|
+
{
|
|
15760
|
+
name: 'Authorization',
|
|
15761
|
+
type: 'apiKey'
|
|
15762
|
+
},
|
|
15763
|
+
{
|
|
15764
|
+
scheme: 'bearer',
|
|
15765
|
+
type: 'http'
|
|
15766
|
+
}
|
|
15767
|
+
],
|
|
15768
|
+
url: '/api/marketplace-orders/{uuid}/set_consumer_info/',
|
|
15769
|
+
...options,
|
|
15770
|
+
headers: {
|
|
15771
|
+
'Content-Type': 'application/json',
|
|
15772
|
+
...options.headers
|
|
15773
|
+
}
|
|
15774
|
+
});
|
|
15775
|
+
};
|
|
15776
|
+
/**
|
|
15777
|
+
* Set provider info on order
|
|
15778
|
+
* Allows a service provider to send a message with an optional URL and file attachment to the consumer on a pending order.
|
|
15779
|
+
*/
|
|
15780
|
+
export const marketplaceOrdersSetProviderInfo = (options) => {
|
|
15781
|
+
return (options.client ?? _heyApiClient).post({
|
|
15782
|
+
security: [
|
|
15783
|
+
{
|
|
15784
|
+
name: 'Authorization',
|
|
15785
|
+
type: 'apiKey'
|
|
15786
|
+
},
|
|
15787
|
+
{
|
|
15788
|
+
scheme: 'bearer',
|
|
15789
|
+
type: 'http'
|
|
15790
|
+
}
|
|
15791
|
+
],
|
|
15792
|
+
url: '/api/marketplace-orders/{uuid}/set_provider_info/',
|
|
15793
|
+
...options,
|
|
15794
|
+
headers: {
|
|
15795
|
+
'Content-Type': 'application/json',
|
|
15796
|
+
...options.headers
|
|
15797
|
+
}
|
|
15798
|
+
});
|
|
15799
|
+
};
|
|
15680
15800
|
/**
|
|
15681
15801
|
* Set order state to done (agent)
|
|
15682
15802
|
* Used by external agents (e.g., site agent) to manually transition the order state to 'done'. This is only applicable for specific offering types.
|
|
@@ -17868,6 +17988,30 @@ export const marketplaceProviderOfferingsUpdateAttributes = (options) => {
|
|
|
17868
17988
|
}
|
|
17869
17989
|
});
|
|
17870
17990
|
};
|
|
17991
|
+
/**
|
|
17992
|
+
* Update offering backend_id rules
|
|
17993
|
+
* Configure validation rules for resource backend_id: format regex and uniqueness scope.
|
|
17994
|
+
*/
|
|
17995
|
+
export const marketplaceProviderOfferingsUpdateBackendIdRules = (options) => {
|
|
17996
|
+
return (options.client ?? _heyApiClient).post({
|
|
17997
|
+
security: [
|
|
17998
|
+
{
|
|
17999
|
+
name: 'Authorization',
|
|
18000
|
+
type: 'apiKey'
|
|
18001
|
+
},
|
|
18002
|
+
{
|
|
18003
|
+
scheme: 'bearer',
|
|
18004
|
+
type: 'http'
|
|
18005
|
+
}
|
|
18006
|
+
],
|
|
18007
|
+
url: '/api/marketplace-provider-offerings/{uuid}/update_backend_id_rules/',
|
|
18008
|
+
...options,
|
|
18009
|
+
headers: {
|
|
18010
|
+
'Content-Type': 'application/json',
|
|
18011
|
+
...options.headers
|
|
18012
|
+
}
|
|
18013
|
+
});
|
|
18014
|
+
};
|
|
17871
18015
|
/**
|
|
17872
18016
|
* Update offering compliance checklist
|
|
17873
18017
|
* Associates a compliance checklist with an offering.
|
|
@@ -18927,6 +19071,26 @@ export const marketplaceProviderResourcesSetSlug = (options) => {
|
|
|
18927
19071
|
}
|
|
18928
19072
|
});
|
|
18929
19073
|
};
|
|
19074
|
+
/**
|
|
19075
|
+
* Set resource state to OK
|
|
19076
|
+
* Allows a service provider to manually set the resource state to OK. This is useful for recovering from Erred state.
|
|
19077
|
+
*/
|
|
19078
|
+
export const marketplaceProviderResourcesSetStateOk = (options) => {
|
|
19079
|
+
return (options.client ?? _heyApiClient).post({
|
|
19080
|
+
security: [
|
|
19081
|
+
{
|
|
19082
|
+
name: 'Authorization',
|
|
19083
|
+
type: 'apiKey'
|
|
19084
|
+
},
|
|
19085
|
+
{
|
|
19086
|
+
scheme: 'bearer',
|
|
19087
|
+
type: 'http'
|
|
19088
|
+
}
|
|
19089
|
+
],
|
|
19090
|
+
url: '/api/marketplace-provider-resources/{uuid}/set_state_ok/',
|
|
19091
|
+
...options
|
|
19092
|
+
});
|
|
19093
|
+
};
|
|
18930
19094
|
/**
|
|
18931
19095
|
* Submit a report for a resource
|
|
18932
19096
|
* Allows a service provider to submit a report (e.g., usage or status report) for a resource.
|
|
@@ -30551,46 +30715,6 @@ export const openstackServerGroupsRetrieve = (options) => {
|
|
|
30551
30715
|
...options
|
|
30552
30716
|
});
|
|
30553
30717
|
};
|
|
30554
|
-
export const openstackServerGroupsPartialUpdate = (options) => {
|
|
30555
|
-
return (options.client ?? _heyApiClient).patch({
|
|
30556
|
-
security: [
|
|
30557
|
-
{
|
|
30558
|
-
name: 'Authorization',
|
|
30559
|
-
type: 'apiKey'
|
|
30560
|
-
},
|
|
30561
|
-
{
|
|
30562
|
-
scheme: 'bearer',
|
|
30563
|
-
type: 'http'
|
|
30564
|
-
}
|
|
30565
|
-
],
|
|
30566
|
-
url: '/api/openstack-server-groups/{uuid}/',
|
|
30567
|
-
...options,
|
|
30568
|
-
headers: {
|
|
30569
|
-
'Content-Type': 'application/json',
|
|
30570
|
-
...options.headers
|
|
30571
|
-
}
|
|
30572
|
-
});
|
|
30573
|
-
};
|
|
30574
|
-
export const openstackServerGroupsUpdate = (options) => {
|
|
30575
|
-
return (options.client ?? _heyApiClient).put({
|
|
30576
|
-
security: [
|
|
30577
|
-
{
|
|
30578
|
-
name: 'Authorization',
|
|
30579
|
-
type: 'apiKey'
|
|
30580
|
-
},
|
|
30581
|
-
{
|
|
30582
|
-
scheme: 'bearer',
|
|
30583
|
-
type: 'http'
|
|
30584
|
-
}
|
|
30585
|
-
],
|
|
30586
|
-
url: '/api/openstack-server-groups/{uuid}/',
|
|
30587
|
-
...options,
|
|
30588
|
-
headers: {
|
|
30589
|
-
'Content-Type': 'application/json',
|
|
30590
|
-
...options.headers
|
|
30591
|
-
}
|
|
30592
|
-
});
|
|
30593
|
-
};
|
|
30594
30718
|
/**
|
|
30595
30719
|
* Synchronize resource state
|
|
30596
30720
|
* 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.
|
|
@@ -43039,6 +43163,54 @@ export const userGroupInvitationsRetrieve = (options) => {
|
|
|
43039
43163
|
...options
|
|
43040
43164
|
});
|
|
43041
43165
|
};
|
|
43166
|
+
/**
|
|
43167
|
+
* Partially update a group invitation
|
|
43168
|
+
* Partially update an active group invitation. Only active invitations can be edited.
|
|
43169
|
+
*/
|
|
43170
|
+
export const userGroupInvitationsPartialUpdate = (options) => {
|
|
43171
|
+
return (options.client ?? _heyApiClient).patch({
|
|
43172
|
+
security: [
|
|
43173
|
+
{
|
|
43174
|
+
name: 'Authorization',
|
|
43175
|
+
type: 'apiKey'
|
|
43176
|
+
},
|
|
43177
|
+
{
|
|
43178
|
+
scheme: 'bearer',
|
|
43179
|
+
type: 'http'
|
|
43180
|
+
}
|
|
43181
|
+
],
|
|
43182
|
+
url: '/api/user-group-invitations/{uuid}/',
|
|
43183
|
+
...options,
|
|
43184
|
+
headers: {
|
|
43185
|
+
'Content-Type': 'application/json',
|
|
43186
|
+
...options.headers
|
|
43187
|
+
}
|
|
43188
|
+
});
|
|
43189
|
+
};
|
|
43190
|
+
/**
|
|
43191
|
+
* Update a group invitation
|
|
43192
|
+
* Update an active group invitation. Only active invitations can be edited.
|
|
43193
|
+
*/
|
|
43194
|
+
export const userGroupInvitationsUpdate = (options) => {
|
|
43195
|
+
return (options.client ?? _heyApiClient).put({
|
|
43196
|
+
security: [
|
|
43197
|
+
{
|
|
43198
|
+
name: 'Authorization',
|
|
43199
|
+
type: 'apiKey'
|
|
43200
|
+
},
|
|
43201
|
+
{
|
|
43202
|
+
scheme: 'bearer',
|
|
43203
|
+
type: 'http'
|
|
43204
|
+
}
|
|
43205
|
+
],
|
|
43206
|
+
url: '/api/user-group-invitations/{uuid}/',
|
|
43207
|
+
...options,
|
|
43208
|
+
headers: {
|
|
43209
|
+
'Content-Type': 'application/json',
|
|
43210
|
+
...options.headers
|
|
43211
|
+
}
|
|
43212
|
+
});
|
|
43213
|
+
};
|
|
43042
43214
|
/**
|
|
43043
43215
|
* Cancel a group invitation
|
|
43044
43216
|
* Cancels an active group invitation, preventing new permission requests from being created.
|
|
@@ -43912,6 +44084,26 @@ export const usersHistoryAtRetrieve = (options) => {
|
|
|
43912
44084
|
...options
|
|
43913
44085
|
});
|
|
43914
44086
|
};
|
|
44087
|
+
/**
|
|
44088
|
+
* Get identity bridge status for a user
|
|
44089
|
+
* Returns diagnostic information about a user's identity bridge state: active ISDs, per-attribute source tracking with staleness detection, and effective bridge-writable fields. Staff only.
|
|
44090
|
+
*/
|
|
44091
|
+
export const usersIdentityBridgeStatusRetrieve = (options) => {
|
|
44092
|
+
return (options.client ?? _heyApiClient).get({
|
|
44093
|
+
security: [
|
|
44094
|
+
{
|
|
44095
|
+
name: 'Authorization',
|
|
44096
|
+
type: 'apiKey'
|
|
44097
|
+
},
|
|
44098
|
+
{
|
|
44099
|
+
scheme: 'bearer',
|
|
44100
|
+
type: 'http'
|
|
44101
|
+
}
|
|
44102
|
+
],
|
|
44103
|
+
url: '/api/users/{uuid}/identity_bridge_status/',
|
|
44104
|
+
...options
|
|
44105
|
+
});
|
|
44106
|
+
};
|
|
43915
44107
|
/**
|
|
43916
44108
|
* Synchronize user details from eduTEAMS
|
|
43917
44109
|
*/
|