waldur-js-client 8.0.8-dev.34 → 8.0.8-dev.35
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 +111 -26
- package/dist/sdk.gen.js +1020 -144
- package/dist/types.gen.d.ts +1224 -258
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -18219,11 +18219,7 @@ export const marketplaceOfferingPermissionsRetrieve = (options) => {
|
|
|
18219
18219
|
...options
|
|
18220
18220
|
});
|
|
18221
18221
|
};
|
|
18222
|
-
|
|
18223
|
-
* List Datacite referrals for offerings
|
|
18224
|
-
* Returns a paginated list of Datacite referrals associated with marketplace offerings. Referrals represent relationships between an offering (identified by a DOI) and other research outputs, such as publications or datasets. The list must be filtered by the offering's scope.
|
|
18225
|
-
*/
|
|
18226
|
-
export const marketplaceOfferingReferralsList = (options) => {
|
|
18222
|
+
export const marketplaceOfferingProfilesList = (options) => {
|
|
18227
18223
|
return (options?.client ?? _heyApiClient).get({
|
|
18228
18224
|
security: [
|
|
18229
18225
|
{
|
|
@@ -18239,15 +18235,14 @@ export const marketplaceOfferingReferralsList = (options) => {
|
|
|
18239
18235
|
type: 'http'
|
|
18240
18236
|
}
|
|
18241
18237
|
],
|
|
18242
|
-
url: '/api/marketplace-offering-
|
|
18238
|
+
url: '/api/marketplace-offering-profiles/',
|
|
18243
18239
|
...options
|
|
18244
18240
|
});
|
|
18245
18241
|
};
|
|
18246
18242
|
/**
|
|
18247
|
-
* List Datacite referrals for offerings
|
|
18248
18243
|
* Get number of items in the collection matching the request parameters.
|
|
18249
18244
|
*/
|
|
18250
|
-
export const
|
|
18245
|
+
export const marketplaceOfferingProfilesCount = (options) => {
|
|
18251
18246
|
return (options?.client ?? _heyApiClient).head({
|
|
18252
18247
|
security: [
|
|
18253
18248
|
{
|
|
@@ -18263,16 +18258,12 @@ export const marketplaceOfferingReferralsCount = (options) => {
|
|
|
18263
18258
|
type: 'http'
|
|
18264
18259
|
}
|
|
18265
18260
|
],
|
|
18266
|
-
url: '/api/marketplace-offering-
|
|
18261
|
+
url: '/api/marketplace-offering-profiles/',
|
|
18267
18262
|
...options
|
|
18268
18263
|
});
|
|
18269
18264
|
};
|
|
18270
|
-
|
|
18271
|
-
|
|
18272
|
-
* Returns the details of a single Datacite referral record, identified by its UUID. Details include the related identifier (PID), the type of relationship, and metadata about the related work.
|
|
18273
|
-
*/
|
|
18274
|
-
export const marketplaceOfferingReferralsRetrieve = (options) => {
|
|
18275
|
-
return (options.client ?? _heyApiClient).get({
|
|
18265
|
+
export const marketplaceOfferingProfilesCreate = (options) => {
|
|
18266
|
+
return (options.client ?? _heyApiClient).post({
|
|
18276
18267
|
security: [
|
|
18277
18268
|
{
|
|
18278
18269
|
name: 'Authorization',
|
|
@@ -18287,16 +18278,16 @@ export const marketplaceOfferingReferralsRetrieve = (options) => {
|
|
|
18287
18278
|
type: 'http'
|
|
18288
18279
|
}
|
|
18289
18280
|
],
|
|
18290
|
-
url: '/api/marketplace-offering-
|
|
18291
|
-
...options
|
|
18281
|
+
url: '/api/marketplace-offering-profiles/',
|
|
18282
|
+
...options,
|
|
18283
|
+
headers: {
|
|
18284
|
+
'Content-Type': 'application/json',
|
|
18285
|
+
...options.headers
|
|
18286
|
+
}
|
|
18292
18287
|
});
|
|
18293
18288
|
};
|
|
18294
|
-
|
|
18295
|
-
|
|
18296
|
-
* Returns a paginated list of Terms of Service configurations for offerings. Visibility depends on user permissions: staff/support see all; service providers see their own; regular users see ToS for offerings they have consented to or shared offerings.
|
|
18297
|
-
*/
|
|
18298
|
-
export const marketplaceOfferingTermsOfServiceList = (options) => {
|
|
18299
|
-
return (options?.client ?? _heyApiClient).get({
|
|
18289
|
+
export const marketplaceOfferingProfilesDestroy = (options) => {
|
|
18290
|
+
return (options.client ?? _heyApiClient).delete({
|
|
18300
18291
|
security: [
|
|
18301
18292
|
{
|
|
18302
18293
|
name: 'Authorization',
|
|
@@ -18311,16 +18302,12 @@ export const marketplaceOfferingTermsOfServiceList = (options) => {
|
|
|
18311
18302
|
type: 'http'
|
|
18312
18303
|
}
|
|
18313
18304
|
],
|
|
18314
|
-
url: '/api/marketplace-offering-
|
|
18305
|
+
url: '/api/marketplace-offering-profiles/{uuid}/',
|
|
18315
18306
|
...options
|
|
18316
18307
|
});
|
|
18317
18308
|
};
|
|
18318
|
-
|
|
18319
|
-
|
|
18320
|
-
* Get number of items in the collection matching the request parameters.
|
|
18321
|
-
*/
|
|
18322
|
-
export const marketplaceOfferingTermsOfServiceCount = (options) => {
|
|
18323
|
-
return (options?.client ?? _heyApiClient).head({
|
|
18309
|
+
export const marketplaceOfferingProfilesRetrieve = (options) => {
|
|
18310
|
+
return (options.client ?? _heyApiClient).get({
|
|
18324
18311
|
security: [
|
|
18325
18312
|
{
|
|
18326
18313
|
name: 'Authorization',
|
|
@@ -18335,15 +18322,59 @@ export const marketplaceOfferingTermsOfServiceCount = (options) => {
|
|
|
18335
18322
|
type: 'http'
|
|
18336
18323
|
}
|
|
18337
18324
|
],
|
|
18338
|
-
url: '/api/marketplace-offering-
|
|
18325
|
+
url: '/api/marketplace-offering-profiles/{uuid}/',
|
|
18339
18326
|
...options
|
|
18340
18327
|
});
|
|
18341
18328
|
};
|
|
18342
|
-
|
|
18343
|
-
|
|
18344
|
-
|
|
18345
|
-
|
|
18346
|
-
|
|
18329
|
+
export const marketplaceOfferingProfilesPartialUpdate = (options) => {
|
|
18330
|
+
return (options.client ?? _heyApiClient).patch({
|
|
18331
|
+
security: [
|
|
18332
|
+
{
|
|
18333
|
+
name: 'Authorization',
|
|
18334
|
+
type: 'apiKey'
|
|
18335
|
+
},
|
|
18336
|
+
{
|
|
18337
|
+
scheme: 'bearer',
|
|
18338
|
+
type: 'http'
|
|
18339
|
+
},
|
|
18340
|
+
{
|
|
18341
|
+
scheme: 'bearer',
|
|
18342
|
+
type: 'http'
|
|
18343
|
+
}
|
|
18344
|
+
],
|
|
18345
|
+
url: '/api/marketplace-offering-profiles/{uuid}/',
|
|
18346
|
+
...options,
|
|
18347
|
+
headers: {
|
|
18348
|
+
'Content-Type': 'application/json',
|
|
18349
|
+
...options.headers
|
|
18350
|
+
}
|
|
18351
|
+
});
|
|
18352
|
+
};
|
|
18353
|
+
export const marketplaceOfferingProfilesUpdate = (options) => {
|
|
18354
|
+
return (options.client ?? _heyApiClient).put({
|
|
18355
|
+
security: [
|
|
18356
|
+
{
|
|
18357
|
+
name: 'Authorization',
|
|
18358
|
+
type: 'apiKey'
|
|
18359
|
+
},
|
|
18360
|
+
{
|
|
18361
|
+
scheme: 'bearer',
|
|
18362
|
+
type: 'http'
|
|
18363
|
+
},
|
|
18364
|
+
{
|
|
18365
|
+
scheme: 'bearer',
|
|
18366
|
+
type: 'http'
|
|
18367
|
+
}
|
|
18368
|
+
],
|
|
18369
|
+
url: '/api/marketplace-offering-profiles/{uuid}/',
|
|
18370
|
+
...options,
|
|
18371
|
+
headers: {
|
|
18372
|
+
'Content-Type': 'application/json',
|
|
18373
|
+
...options.headers
|
|
18374
|
+
}
|
|
18375
|
+
});
|
|
18376
|
+
};
|
|
18377
|
+
export const marketplaceOfferingProfilesAddRole = (options) => {
|
|
18347
18378
|
return (options.client ?? _heyApiClient).post({
|
|
18348
18379
|
security: [
|
|
18349
18380
|
{
|
|
@@ -18359,7 +18390,7 @@ export const marketplaceOfferingTermsOfServiceCreate = (options) => {
|
|
|
18359
18390
|
type: 'http'
|
|
18360
18391
|
}
|
|
18361
18392
|
],
|
|
18362
|
-
url: '/api/marketplace-offering-
|
|
18393
|
+
url: '/api/marketplace-offering-profiles/{uuid}/add_role/',
|
|
18363
18394
|
...options,
|
|
18364
18395
|
headers: {
|
|
18365
18396
|
'Content-Type': 'application/json',
|
|
@@ -18367,12 +18398,8 @@ export const marketplaceOfferingTermsOfServiceCreate = (options) => {
|
|
|
18367
18398
|
}
|
|
18368
18399
|
});
|
|
18369
18400
|
};
|
|
18370
|
-
|
|
18371
|
-
|
|
18372
|
-
* Deletes a Terms of Service configuration. This is a hard delete and should be used with caution.
|
|
18373
|
-
*/
|
|
18374
|
-
export const marketplaceOfferingTermsOfServiceDestroy = (options) => {
|
|
18375
|
-
return (options.client ?? _heyApiClient).delete({
|
|
18401
|
+
export const marketplaceOfferingProfilesRemoveRole = (options) => {
|
|
18402
|
+
return (options.client ?? _heyApiClient).post({
|
|
18376
18403
|
security: [
|
|
18377
18404
|
{
|
|
18378
18405
|
name: 'Authorization',
|
|
@@ -18387,16 +18414,20 @@ export const marketplaceOfferingTermsOfServiceDestroy = (options) => {
|
|
|
18387
18414
|
type: 'http'
|
|
18388
18415
|
}
|
|
18389
18416
|
],
|
|
18390
|
-
url: '/api/marketplace-offering-
|
|
18391
|
-
...options
|
|
18417
|
+
url: '/api/marketplace-offering-profiles/{uuid}/remove_role/',
|
|
18418
|
+
...options,
|
|
18419
|
+
headers: {
|
|
18420
|
+
'Content-Type': 'application/json',
|
|
18421
|
+
...options.headers
|
|
18422
|
+
}
|
|
18392
18423
|
});
|
|
18393
18424
|
};
|
|
18394
18425
|
/**
|
|
18395
|
-
*
|
|
18396
|
-
* Returns
|
|
18426
|
+
* List Datacite referrals for offerings
|
|
18427
|
+
* Returns a paginated list of Datacite referrals associated with marketplace offerings. Referrals represent relationships between an offering (identified by a DOI) and other research outputs, such as publications or datasets. The list must be filtered by the offering's scope.
|
|
18397
18428
|
*/
|
|
18398
|
-
export const
|
|
18399
|
-
return (options
|
|
18429
|
+
export const marketplaceOfferingReferralsList = (options) => {
|
|
18430
|
+
return (options?.client ?? _heyApiClient).get({
|
|
18400
18431
|
security: [
|
|
18401
18432
|
{
|
|
18402
18433
|
name: 'Authorization',
|
|
@@ -18411,16 +18442,16 @@ export const marketplaceOfferingTermsOfServiceRetrieve = (options) => {
|
|
|
18411
18442
|
type: 'http'
|
|
18412
18443
|
}
|
|
18413
18444
|
],
|
|
18414
|
-
url: '/api/marketplace-offering-
|
|
18445
|
+
url: '/api/marketplace-offering-referrals/',
|
|
18415
18446
|
...options
|
|
18416
18447
|
});
|
|
18417
18448
|
};
|
|
18418
18449
|
/**
|
|
18419
|
-
*
|
|
18420
|
-
*
|
|
18450
|
+
* List Datacite referrals for offerings
|
|
18451
|
+
* Get number of items in the collection matching the request parameters.
|
|
18421
18452
|
*/
|
|
18422
|
-
export const
|
|
18423
|
-
return (options
|
|
18453
|
+
export const marketplaceOfferingReferralsCount = (options) => {
|
|
18454
|
+
return (options?.client ?? _heyApiClient).head({
|
|
18424
18455
|
security: [
|
|
18425
18456
|
{
|
|
18426
18457
|
name: 'Authorization',
|
|
@@ -18435,20 +18466,16 @@ export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
|
|
|
18435
18466
|
type: 'http'
|
|
18436
18467
|
}
|
|
18437
18468
|
],
|
|
18438
|
-
url: '/api/marketplace-offering-
|
|
18439
|
-
...options
|
|
18440
|
-
headers: {
|
|
18441
|
-
'Content-Type': 'application/json',
|
|
18442
|
-
...options.headers
|
|
18443
|
-
}
|
|
18469
|
+
url: '/api/marketplace-offering-referrals/',
|
|
18470
|
+
...options
|
|
18444
18471
|
});
|
|
18445
18472
|
};
|
|
18446
18473
|
/**
|
|
18447
|
-
*
|
|
18448
|
-
*
|
|
18474
|
+
* Retrieve a specific Datacite referral
|
|
18475
|
+
* Returns the details of a single Datacite referral record, identified by its UUID. Details include the related identifier (PID), the type of relationship, and metadata about the related work.
|
|
18449
18476
|
*/
|
|
18450
|
-
export const
|
|
18451
|
-
return (options.client ?? _heyApiClient).
|
|
18477
|
+
export const marketplaceOfferingReferralsRetrieve = (options) => {
|
|
18478
|
+
return (options.client ?? _heyApiClient).get({
|
|
18452
18479
|
security: [
|
|
18453
18480
|
{
|
|
18454
18481
|
name: 'Authorization',
|
|
@@ -18463,15 +18490,11 @@ export const marketplaceOfferingTermsOfServiceUpdate = (options) => {
|
|
|
18463
18490
|
type: 'http'
|
|
18464
18491
|
}
|
|
18465
18492
|
],
|
|
18466
|
-
url: '/api/marketplace-offering-
|
|
18467
|
-
...options
|
|
18468
|
-
headers: {
|
|
18469
|
-
'Content-Type': 'application/json',
|
|
18470
|
-
...options.headers
|
|
18471
|
-
}
|
|
18493
|
+
url: '/api/marketplace-offering-referrals/{uuid}/',
|
|
18494
|
+
...options
|
|
18472
18495
|
});
|
|
18473
18496
|
};
|
|
18474
|
-
export const
|
|
18497
|
+
export const marketplaceOfferingRolesList = (options) => {
|
|
18475
18498
|
return (options?.client ?? _heyApiClient).get({
|
|
18476
18499
|
security: [
|
|
18477
18500
|
{
|
|
@@ -18487,14 +18510,14 @@ export const marketplaceOfferingUsagePoliciesList = (options) => {
|
|
|
18487
18510
|
type: 'http'
|
|
18488
18511
|
}
|
|
18489
18512
|
],
|
|
18490
|
-
url: '/api/marketplace-offering-
|
|
18513
|
+
url: '/api/marketplace-offering-roles/',
|
|
18491
18514
|
...options
|
|
18492
18515
|
});
|
|
18493
18516
|
};
|
|
18494
18517
|
/**
|
|
18495
18518
|
* Get number of items in the collection matching the request parameters.
|
|
18496
18519
|
*/
|
|
18497
|
-
export const
|
|
18520
|
+
export const marketplaceOfferingRolesCount = (options) => {
|
|
18498
18521
|
return (options?.client ?? _heyApiClient).head({
|
|
18499
18522
|
security: [
|
|
18500
18523
|
{
|
|
@@ -18510,11 +18533,11 @@ export const marketplaceOfferingUsagePoliciesCount = (options) => {
|
|
|
18510
18533
|
type: 'http'
|
|
18511
18534
|
}
|
|
18512
18535
|
],
|
|
18513
|
-
url: '/api/marketplace-offering-
|
|
18536
|
+
url: '/api/marketplace-offering-roles/',
|
|
18514
18537
|
...options
|
|
18515
18538
|
});
|
|
18516
18539
|
};
|
|
18517
|
-
export const
|
|
18540
|
+
export const marketplaceOfferingRolesCreate = (options) => {
|
|
18518
18541
|
return (options.client ?? _heyApiClient).post({
|
|
18519
18542
|
security: [
|
|
18520
18543
|
{
|
|
@@ -18530,7 +18553,7 @@ export const marketplaceOfferingUsagePoliciesCreate = (options) => {
|
|
|
18530
18553
|
type: 'http'
|
|
18531
18554
|
}
|
|
18532
18555
|
],
|
|
18533
|
-
url: '/api/marketplace-offering-
|
|
18556
|
+
url: '/api/marketplace-offering-roles/',
|
|
18534
18557
|
...options,
|
|
18535
18558
|
headers: {
|
|
18536
18559
|
'Content-Type': 'application/json',
|
|
@@ -18538,7 +18561,7 @@ export const marketplaceOfferingUsagePoliciesCreate = (options) => {
|
|
|
18538
18561
|
}
|
|
18539
18562
|
});
|
|
18540
18563
|
};
|
|
18541
|
-
export const
|
|
18564
|
+
export const marketplaceOfferingRolesDestroy = (options) => {
|
|
18542
18565
|
return (options.client ?? _heyApiClient).delete({
|
|
18543
18566
|
security: [
|
|
18544
18567
|
{
|
|
@@ -18554,11 +18577,11 @@ export const marketplaceOfferingUsagePoliciesDestroy = (options) => {
|
|
|
18554
18577
|
type: 'http'
|
|
18555
18578
|
}
|
|
18556
18579
|
],
|
|
18557
|
-
url: '/api/marketplace-offering-
|
|
18580
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18558
18581
|
...options
|
|
18559
18582
|
});
|
|
18560
18583
|
};
|
|
18561
|
-
export const
|
|
18584
|
+
export const marketplaceOfferingRolesRetrieve = (options) => {
|
|
18562
18585
|
return (options.client ?? _heyApiClient).get({
|
|
18563
18586
|
security: [
|
|
18564
18587
|
{
|
|
@@ -18574,11 +18597,11 @@ export const marketplaceOfferingUsagePoliciesRetrieve = (options) => {
|
|
|
18574
18597
|
type: 'http'
|
|
18575
18598
|
}
|
|
18576
18599
|
],
|
|
18577
|
-
url: '/api/marketplace-offering-
|
|
18600
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18578
18601
|
...options
|
|
18579
18602
|
});
|
|
18580
18603
|
};
|
|
18581
|
-
export const
|
|
18604
|
+
export const marketplaceOfferingRolesPartialUpdate = (options) => {
|
|
18582
18605
|
return (options.client ?? _heyApiClient).patch({
|
|
18583
18606
|
security: [
|
|
18584
18607
|
{
|
|
@@ -18594,7 +18617,7 @@ export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
|
|
|
18594
18617
|
type: 'http'
|
|
18595
18618
|
}
|
|
18596
18619
|
],
|
|
18597
|
-
url: '/api/marketplace-offering-
|
|
18620
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18598
18621
|
...options,
|
|
18599
18622
|
headers: {
|
|
18600
18623
|
'Content-Type': 'application/json',
|
|
@@ -18602,7 +18625,7 @@ export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
|
|
|
18602
18625
|
}
|
|
18603
18626
|
});
|
|
18604
18627
|
};
|
|
18605
|
-
export const
|
|
18628
|
+
export const marketplaceOfferingRolesUpdate = (options) => {
|
|
18606
18629
|
return (options.client ?? _heyApiClient).put({
|
|
18607
18630
|
security: [
|
|
18608
18631
|
{
|
|
@@ -18618,7 +18641,7 @@ export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
|
|
|
18618
18641
|
type: 'http'
|
|
18619
18642
|
}
|
|
18620
18643
|
],
|
|
18621
|
-
url: '/api/marketplace-offering-
|
|
18644
|
+
url: '/api/marketplace-offering-roles/{uuid}/',
|
|
18622
18645
|
...options,
|
|
18623
18646
|
headers: {
|
|
18624
18647
|
'Content-Type': 'application/json',
|
|
@@ -18626,7 +18649,11 @@ export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
|
|
|
18626
18649
|
}
|
|
18627
18650
|
});
|
|
18628
18651
|
};
|
|
18629
|
-
|
|
18652
|
+
/**
|
|
18653
|
+
* List Terms of Service configurations
|
|
18654
|
+
* Returns a paginated list of Terms of Service configurations for offerings. Visibility depends on user permissions: staff/support see all; service providers see their own; regular users see ToS for offerings they have consented to or shared offerings.
|
|
18655
|
+
*/
|
|
18656
|
+
export const marketplaceOfferingTermsOfServiceList = (options) => {
|
|
18630
18657
|
return (options?.client ?? _heyApiClient).get({
|
|
18631
18658
|
security: [
|
|
18632
18659
|
{
|
|
@@ -18642,14 +18669,15 @@ export const marketplaceOfferingUsagePoliciesActionsRetrieve = (options) => {
|
|
|
18642
18669
|
type: 'http'
|
|
18643
18670
|
}
|
|
18644
18671
|
],
|
|
18645
|
-
url: '/api/marketplace-offering-
|
|
18672
|
+
url: '/api/marketplace-offering-terms-of-service/',
|
|
18646
18673
|
...options
|
|
18647
18674
|
});
|
|
18648
18675
|
};
|
|
18649
18676
|
/**
|
|
18677
|
+
* List Terms of Service configurations
|
|
18650
18678
|
* Get number of items in the collection matching the request parameters.
|
|
18651
18679
|
*/
|
|
18652
|
-
export const
|
|
18680
|
+
export const marketplaceOfferingTermsOfServiceCount = (options) => {
|
|
18653
18681
|
return (options?.client ?? _heyApiClient).head({
|
|
18654
18682
|
security: [
|
|
18655
18683
|
{
|
|
@@ -18665,20 +18693,16 @@ export const marketplaceOfferingUsagePoliciesActionsCount = (options) => {
|
|
|
18665
18693
|
type: 'http'
|
|
18666
18694
|
}
|
|
18667
18695
|
],
|
|
18668
|
-
url: '/api/marketplace-offering-
|
|
18696
|
+
url: '/api/marketplace-offering-terms-of-service/',
|
|
18669
18697
|
...options
|
|
18670
18698
|
});
|
|
18671
18699
|
};
|
|
18672
18700
|
/**
|
|
18673
|
-
*
|
|
18674
|
-
*
|
|
18675
|
-
* Returns a paginated list of all checklist completions for offering users that the current user is allowed to see.
|
|
18676
|
-
* This endpoint is used by service providers to monitor compliance status and by users to see their own required checklists.
|
|
18677
|
-
* Visibility follows the same rules as the `OfferingUsers` endpoint.
|
|
18678
|
-
*
|
|
18701
|
+
* Create a Terms of Service configuration
|
|
18702
|
+
* Creates a new Terms of Service configuration for an offering. Only one active ToS configuration is allowed per offering.
|
|
18679
18703
|
*/
|
|
18680
|
-
export const
|
|
18681
|
-
return (options
|
|
18704
|
+
export const marketplaceOfferingTermsOfServiceCreate = (options) => {
|
|
18705
|
+
return (options.client ?? _heyApiClient).post({
|
|
18682
18706
|
security: [
|
|
18683
18707
|
{
|
|
18684
18708
|
name: 'Authorization',
|
|
@@ -18693,16 +18717,20 @@ export const marketplaceOfferingUserChecklistCompletionsList = (options) => {
|
|
|
18693
18717
|
type: 'http'
|
|
18694
18718
|
}
|
|
18695
18719
|
],
|
|
18696
|
-
url: '/api/marketplace-offering-
|
|
18697
|
-
...options
|
|
18720
|
+
url: '/api/marketplace-offering-terms-of-service/',
|
|
18721
|
+
...options,
|
|
18722
|
+
headers: {
|
|
18723
|
+
'Content-Type': 'application/json',
|
|
18724
|
+
...options.headers
|
|
18725
|
+
}
|
|
18698
18726
|
});
|
|
18699
18727
|
};
|
|
18700
18728
|
/**
|
|
18701
|
-
*
|
|
18702
|
-
*
|
|
18729
|
+
* Delete a Terms of Service configuration
|
|
18730
|
+
* Deletes a Terms of Service configuration. This is a hard delete and should be used with caution.
|
|
18703
18731
|
*/
|
|
18704
|
-
export const
|
|
18705
|
-
return (options
|
|
18732
|
+
export const marketplaceOfferingTermsOfServiceDestroy = (options) => {
|
|
18733
|
+
return (options.client ?? _heyApiClient).delete({
|
|
18706
18734
|
security: [
|
|
18707
18735
|
{
|
|
18708
18736
|
name: 'Authorization',
|
|
@@ -18717,15 +18745,15 @@ export const marketplaceOfferingUserChecklistCompletionsCount = (options) => {
|
|
|
18717
18745
|
type: 'http'
|
|
18718
18746
|
}
|
|
18719
18747
|
],
|
|
18720
|
-
url: '/api/marketplace-offering-
|
|
18748
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
18721
18749
|
...options
|
|
18722
18750
|
});
|
|
18723
18751
|
};
|
|
18724
18752
|
/**
|
|
18725
|
-
* Retrieve a
|
|
18726
|
-
* Returns the details of a specific
|
|
18753
|
+
* Retrieve a Terms of Service configuration
|
|
18754
|
+
* Returns the details of a specific Terms of Service configuration.
|
|
18727
18755
|
*/
|
|
18728
|
-
export const
|
|
18756
|
+
export const marketplaceOfferingTermsOfServiceRetrieve = (options) => {
|
|
18729
18757
|
return (options.client ?? _heyApiClient).get({
|
|
18730
18758
|
security: [
|
|
18731
18759
|
{
|
|
@@ -18741,11 +18769,67 @@ export const marketplaceOfferingUserChecklistCompletionsRetrieve = (options) =>
|
|
|
18741
18769
|
type: 'http'
|
|
18742
18770
|
}
|
|
18743
18771
|
],
|
|
18744
|
-
url: '/api/marketplace-offering-
|
|
18772
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
18745
18773
|
...options
|
|
18746
18774
|
});
|
|
18747
18775
|
};
|
|
18748
|
-
|
|
18776
|
+
/**
|
|
18777
|
+
* Partially update a Terms of Service configuration
|
|
18778
|
+
* Partially updates an existing Terms of Service configuration.
|
|
18779
|
+
*/
|
|
18780
|
+
export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
|
|
18781
|
+
return (options.client ?? _heyApiClient).patch({
|
|
18782
|
+
security: [
|
|
18783
|
+
{
|
|
18784
|
+
name: 'Authorization',
|
|
18785
|
+
type: 'apiKey'
|
|
18786
|
+
},
|
|
18787
|
+
{
|
|
18788
|
+
scheme: 'bearer',
|
|
18789
|
+
type: 'http'
|
|
18790
|
+
},
|
|
18791
|
+
{
|
|
18792
|
+
scheme: 'bearer',
|
|
18793
|
+
type: 'http'
|
|
18794
|
+
}
|
|
18795
|
+
],
|
|
18796
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
18797
|
+
...options,
|
|
18798
|
+
headers: {
|
|
18799
|
+
'Content-Type': 'application/json',
|
|
18800
|
+
...options.headers
|
|
18801
|
+
}
|
|
18802
|
+
});
|
|
18803
|
+
};
|
|
18804
|
+
/**
|
|
18805
|
+
* Update a Terms of Service configuration
|
|
18806
|
+
* Updates an existing Terms of Service configuration. Note that some fields like `version` and `requires_reconsent` are protected and cannot be changed after creation.
|
|
18807
|
+
*/
|
|
18808
|
+
export const marketplaceOfferingTermsOfServiceUpdate = (options) => {
|
|
18809
|
+
return (options.client ?? _heyApiClient).put({
|
|
18810
|
+
security: [
|
|
18811
|
+
{
|
|
18812
|
+
name: 'Authorization',
|
|
18813
|
+
type: 'apiKey'
|
|
18814
|
+
},
|
|
18815
|
+
{
|
|
18816
|
+
scheme: 'bearer',
|
|
18817
|
+
type: 'http'
|
|
18818
|
+
},
|
|
18819
|
+
{
|
|
18820
|
+
scheme: 'bearer',
|
|
18821
|
+
type: 'http'
|
|
18822
|
+
}
|
|
18823
|
+
],
|
|
18824
|
+
url: '/api/marketplace-offering-terms-of-service/{uuid}/',
|
|
18825
|
+
...options,
|
|
18826
|
+
headers: {
|
|
18827
|
+
'Content-Type': 'application/json',
|
|
18828
|
+
...options.headers
|
|
18829
|
+
}
|
|
18830
|
+
});
|
|
18831
|
+
};
|
|
18832
|
+
export const marketplaceOfferingUsagePoliciesList = (options) => {
|
|
18749
18833
|
return (options?.client ?? _heyApiClient).get({
|
|
18750
18834
|
security: [
|
|
18751
18835
|
{
|
|
@@ -18761,14 +18845,14 @@ export const marketplaceOfferingUserRolesList = (options) => {
|
|
|
18761
18845
|
type: 'http'
|
|
18762
18846
|
}
|
|
18763
18847
|
],
|
|
18764
|
-
url: '/api/marketplace-offering-
|
|
18848
|
+
url: '/api/marketplace-offering-usage-policies/',
|
|
18765
18849
|
...options
|
|
18766
18850
|
});
|
|
18767
18851
|
};
|
|
18768
18852
|
/**
|
|
18769
18853
|
* Get number of items in the collection matching the request parameters.
|
|
18770
18854
|
*/
|
|
18771
|
-
export const
|
|
18855
|
+
export const marketplaceOfferingUsagePoliciesCount = (options) => {
|
|
18772
18856
|
return (options?.client ?? _heyApiClient).head({
|
|
18773
18857
|
security: [
|
|
18774
18858
|
{
|
|
@@ -18784,11 +18868,11 @@ export const marketplaceOfferingUserRolesCount = (options) => {
|
|
|
18784
18868
|
type: 'http'
|
|
18785
18869
|
}
|
|
18786
18870
|
],
|
|
18787
|
-
url: '/api/marketplace-offering-
|
|
18871
|
+
url: '/api/marketplace-offering-usage-policies/',
|
|
18788
18872
|
...options
|
|
18789
18873
|
});
|
|
18790
18874
|
};
|
|
18791
|
-
export const
|
|
18875
|
+
export const marketplaceOfferingUsagePoliciesCreate = (options) => {
|
|
18792
18876
|
return (options.client ?? _heyApiClient).post({
|
|
18793
18877
|
security: [
|
|
18794
18878
|
{
|
|
@@ -18804,7 +18888,7 @@ export const marketplaceOfferingUserRolesCreate = (options) => {
|
|
|
18804
18888
|
type: 'http'
|
|
18805
18889
|
}
|
|
18806
18890
|
],
|
|
18807
|
-
url: '/api/marketplace-offering-
|
|
18891
|
+
url: '/api/marketplace-offering-usage-policies/',
|
|
18808
18892
|
...options,
|
|
18809
18893
|
headers: {
|
|
18810
18894
|
'Content-Type': 'application/json',
|
|
@@ -18812,7 +18896,7 @@ export const marketplaceOfferingUserRolesCreate = (options) => {
|
|
|
18812
18896
|
}
|
|
18813
18897
|
});
|
|
18814
18898
|
};
|
|
18815
|
-
export const
|
|
18899
|
+
export const marketplaceOfferingUsagePoliciesDestroy = (options) => {
|
|
18816
18900
|
return (options.client ?? _heyApiClient).delete({
|
|
18817
18901
|
security: [
|
|
18818
18902
|
{
|
|
@@ -18828,11 +18912,11 @@ export const marketplaceOfferingUserRolesDestroy = (options) => {
|
|
|
18828
18912
|
type: 'http'
|
|
18829
18913
|
}
|
|
18830
18914
|
],
|
|
18831
|
-
url: '/api/marketplace-offering-
|
|
18915
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
18832
18916
|
...options
|
|
18833
18917
|
});
|
|
18834
18918
|
};
|
|
18835
|
-
export const
|
|
18919
|
+
export const marketplaceOfferingUsagePoliciesRetrieve = (options) => {
|
|
18836
18920
|
return (options.client ?? _heyApiClient).get({
|
|
18837
18921
|
security: [
|
|
18838
18922
|
{
|
|
@@ -18848,11 +18932,11 @@ export const marketplaceOfferingUserRolesRetrieve = (options) => {
|
|
|
18848
18932
|
type: 'http'
|
|
18849
18933
|
}
|
|
18850
18934
|
],
|
|
18851
|
-
url: '/api/marketplace-offering-
|
|
18935
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
18852
18936
|
...options
|
|
18853
18937
|
});
|
|
18854
18938
|
};
|
|
18855
|
-
export const
|
|
18939
|
+
export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
|
|
18856
18940
|
return (options.client ?? _heyApiClient).patch({
|
|
18857
18941
|
security: [
|
|
18858
18942
|
{
|
|
@@ -18868,7 +18952,7 @@ export const marketplaceOfferingUserRolesPartialUpdate = (options) => {
|
|
|
18868
18952
|
type: 'http'
|
|
18869
18953
|
}
|
|
18870
18954
|
],
|
|
18871
|
-
url: '/api/marketplace-offering-
|
|
18955
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
18872
18956
|
...options,
|
|
18873
18957
|
headers: {
|
|
18874
18958
|
'Content-Type': 'application/json',
|
|
@@ -18876,7 +18960,7 @@ export const marketplaceOfferingUserRolesPartialUpdate = (options) => {
|
|
|
18876
18960
|
}
|
|
18877
18961
|
});
|
|
18878
18962
|
};
|
|
18879
|
-
export const
|
|
18963
|
+
export const marketplaceOfferingUsagePoliciesUpdate = (options) => {
|
|
18880
18964
|
return (options.client ?? _heyApiClient).put({
|
|
18881
18965
|
security: [
|
|
18882
18966
|
{
|
|
@@ -18892,7 +18976,7 @@ export const marketplaceOfferingUserRolesUpdate = (options) => {
|
|
|
18892
18976
|
type: 'http'
|
|
18893
18977
|
}
|
|
18894
18978
|
],
|
|
18895
|
-
url: '/api/marketplace-offering-
|
|
18979
|
+
url: '/api/marketplace-offering-usage-policies/{uuid}/',
|
|
18896
18980
|
...options,
|
|
18897
18981
|
headers: {
|
|
18898
18982
|
'Content-Type': 'application/json',
|
|
@@ -18900,6 +18984,125 @@ export const marketplaceOfferingUserRolesUpdate = (options) => {
|
|
|
18900
18984
|
}
|
|
18901
18985
|
});
|
|
18902
18986
|
};
|
|
18987
|
+
export const marketplaceOfferingUsagePoliciesActionsRetrieve = (options) => {
|
|
18988
|
+
return (options?.client ?? _heyApiClient).get({
|
|
18989
|
+
security: [
|
|
18990
|
+
{
|
|
18991
|
+
name: 'Authorization',
|
|
18992
|
+
type: 'apiKey'
|
|
18993
|
+
},
|
|
18994
|
+
{
|
|
18995
|
+
scheme: 'bearer',
|
|
18996
|
+
type: 'http'
|
|
18997
|
+
},
|
|
18998
|
+
{
|
|
18999
|
+
scheme: 'bearer',
|
|
19000
|
+
type: 'http'
|
|
19001
|
+
}
|
|
19002
|
+
],
|
|
19003
|
+
url: '/api/marketplace-offering-usage-policies/actions/',
|
|
19004
|
+
...options
|
|
19005
|
+
});
|
|
19006
|
+
};
|
|
19007
|
+
/**
|
|
19008
|
+
* Get number of items in the collection matching the request parameters.
|
|
19009
|
+
*/
|
|
19010
|
+
export const marketplaceOfferingUsagePoliciesActionsCount = (options) => {
|
|
19011
|
+
return (options?.client ?? _heyApiClient).head({
|
|
19012
|
+
security: [
|
|
19013
|
+
{
|
|
19014
|
+
name: 'Authorization',
|
|
19015
|
+
type: 'apiKey'
|
|
19016
|
+
},
|
|
19017
|
+
{
|
|
19018
|
+
scheme: 'bearer',
|
|
19019
|
+
type: 'http'
|
|
19020
|
+
},
|
|
19021
|
+
{
|
|
19022
|
+
scheme: 'bearer',
|
|
19023
|
+
type: 'http'
|
|
19024
|
+
}
|
|
19025
|
+
],
|
|
19026
|
+
url: '/api/marketplace-offering-usage-policies/actions/',
|
|
19027
|
+
...options
|
|
19028
|
+
});
|
|
19029
|
+
};
|
|
19030
|
+
/**
|
|
19031
|
+
* List checklist completions for offering users
|
|
19032
|
+
*
|
|
19033
|
+
* Returns a paginated list of all checklist completions for offering users that the current user is allowed to see.
|
|
19034
|
+
* This endpoint is used by service providers to monitor compliance status and by users to see their own required checklists.
|
|
19035
|
+
* Visibility follows the same rules as the `OfferingUsers` endpoint.
|
|
19036
|
+
*
|
|
19037
|
+
*/
|
|
19038
|
+
export const marketplaceOfferingUserChecklistCompletionsList = (options) => {
|
|
19039
|
+
return (options?.client ?? _heyApiClient).get({
|
|
19040
|
+
security: [
|
|
19041
|
+
{
|
|
19042
|
+
name: 'Authorization',
|
|
19043
|
+
type: 'apiKey'
|
|
19044
|
+
},
|
|
19045
|
+
{
|
|
19046
|
+
scheme: 'bearer',
|
|
19047
|
+
type: 'http'
|
|
19048
|
+
},
|
|
19049
|
+
{
|
|
19050
|
+
scheme: 'bearer',
|
|
19051
|
+
type: 'http'
|
|
19052
|
+
}
|
|
19053
|
+
],
|
|
19054
|
+
url: '/api/marketplace-offering-user-checklist-completions/',
|
|
19055
|
+
...options
|
|
19056
|
+
});
|
|
19057
|
+
};
|
|
19058
|
+
/**
|
|
19059
|
+
* List checklist completions for offering users
|
|
19060
|
+
* Get number of items in the collection matching the request parameters.
|
|
19061
|
+
*/
|
|
19062
|
+
export const marketplaceOfferingUserChecklistCompletionsCount = (options) => {
|
|
19063
|
+
return (options?.client ?? _heyApiClient).head({
|
|
19064
|
+
security: [
|
|
19065
|
+
{
|
|
19066
|
+
name: 'Authorization',
|
|
19067
|
+
type: 'apiKey'
|
|
19068
|
+
},
|
|
19069
|
+
{
|
|
19070
|
+
scheme: 'bearer',
|
|
19071
|
+
type: 'http'
|
|
19072
|
+
},
|
|
19073
|
+
{
|
|
19074
|
+
scheme: 'bearer',
|
|
19075
|
+
type: 'http'
|
|
19076
|
+
}
|
|
19077
|
+
],
|
|
19078
|
+
url: '/api/marketplace-offering-user-checklist-completions/',
|
|
19079
|
+
...options
|
|
19080
|
+
});
|
|
19081
|
+
};
|
|
19082
|
+
/**
|
|
19083
|
+
* Retrieve a checklist completion
|
|
19084
|
+
* Returns the details of a specific checklist completion for an offering user.
|
|
19085
|
+
*/
|
|
19086
|
+
export const marketplaceOfferingUserChecklistCompletionsRetrieve = (options) => {
|
|
19087
|
+
return (options.client ?? _heyApiClient).get({
|
|
19088
|
+
security: [
|
|
19089
|
+
{
|
|
19090
|
+
name: 'Authorization',
|
|
19091
|
+
type: 'apiKey'
|
|
19092
|
+
},
|
|
19093
|
+
{
|
|
19094
|
+
scheme: 'bearer',
|
|
19095
|
+
type: 'http'
|
|
19096
|
+
},
|
|
19097
|
+
{
|
|
19098
|
+
scheme: 'bearer',
|
|
19099
|
+
type: 'http'
|
|
19100
|
+
}
|
|
19101
|
+
],
|
|
19102
|
+
url: '/api/marketplace-offering-user-checklist-completions/{id}/',
|
|
19103
|
+
...options
|
|
19104
|
+
});
|
|
19105
|
+
};
|
|
18903
19106
|
/**
|
|
18904
19107
|
* List offering users
|
|
18905
19108
|
* Returns a paginated list of users associated with offerings. The visibility of users depends on the role of the authenticated user. Staff and support can see all users. Service providers can see users of their offerings if the user has consented. Regular users can only see their own offering-user records.
|
|
@@ -22464,6 +22667,34 @@ export const marketplaceProviderOfferingsSetBackendMetadata = (options) => {
|
|
|
22464
22667
|
}
|
|
22465
22668
|
});
|
|
22466
22669
|
};
|
|
22670
|
+
/**
|
|
22671
|
+
* Bind / unbind offering to a service profile
|
|
22672
|
+
* Sets the offering's `profile` FK. Pass `profile: <uuid>` to bind, or `profile: null` to unbind. Requires UPDATE_OFFERING permission on the offering's customer (service-provider owners and staff). Triggers async reconciliation of RoleAvailability rows on this offering against the profile's role catalog (or wipes them on unbind).
|
|
22673
|
+
*/
|
|
22674
|
+
export const marketplaceProviderOfferingsSetProfile = (options) => {
|
|
22675
|
+
return (options.client ?? _heyApiClient).post({
|
|
22676
|
+
security: [
|
|
22677
|
+
{
|
|
22678
|
+
name: 'Authorization',
|
|
22679
|
+
type: 'apiKey'
|
|
22680
|
+
},
|
|
22681
|
+
{
|
|
22682
|
+
scheme: 'bearer',
|
|
22683
|
+
type: 'http'
|
|
22684
|
+
},
|
|
22685
|
+
{
|
|
22686
|
+
scheme: 'bearer',
|
|
22687
|
+
type: 'http'
|
|
22688
|
+
}
|
|
22689
|
+
],
|
|
22690
|
+
url: '/api/marketplace-provider-offerings/{uuid}/set_profile/',
|
|
22691
|
+
...options,
|
|
22692
|
+
headers: {
|
|
22693
|
+
'Content-Type': 'application/json',
|
|
22694
|
+
...options.headers
|
|
22695
|
+
}
|
|
22696
|
+
});
|
|
22697
|
+
};
|
|
22467
22698
|
/**
|
|
22468
22699
|
* Get offering resource and user state counters
|
|
22469
22700
|
* Returns resource and offering-user counts grouped by state for the given offering.
|
|
@@ -23296,6 +23527,297 @@ export const marketplaceProviderOfferingsImportOffering = (options) => {
|
|
|
23296
23527
|
}
|
|
23297
23528
|
});
|
|
23298
23529
|
};
|
|
23530
|
+
export const marketplaceProviderResourceProjectsList = (options) => {
|
|
23531
|
+
return (options?.client ?? _heyApiClient).get({
|
|
23532
|
+
security: [
|
|
23533
|
+
{
|
|
23534
|
+
name: 'Authorization',
|
|
23535
|
+
type: 'apiKey'
|
|
23536
|
+
},
|
|
23537
|
+
{
|
|
23538
|
+
scheme: 'bearer',
|
|
23539
|
+
type: 'http'
|
|
23540
|
+
},
|
|
23541
|
+
{
|
|
23542
|
+
scheme: 'bearer',
|
|
23543
|
+
type: 'http'
|
|
23544
|
+
}
|
|
23545
|
+
],
|
|
23546
|
+
url: '/api/marketplace-provider-resource-projects/',
|
|
23547
|
+
...options
|
|
23548
|
+
});
|
|
23549
|
+
};
|
|
23550
|
+
/**
|
|
23551
|
+
* Get number of items in the collection matching the request parameters.
|
|
23552
|
+
*/
|
|
23553
|
+
export const marketplaceProviderResourceProjectsCount = (options) => {
|
|
23554
|
+
return (options?.client ?? _heyApiClient).head({
|
|
23555
|
+
security: [
|
|
23556
|
+
{
|
|
23557
|
+
name: 'Authorization',
|
|
23558
|
+
type: 'apiKey'
|
|
23559
|
+
},
|
|
23560
|
+
{
|
|
23561
|
+
scheme: 'bearer',
|
|
23562
|
+
type: 'http'
|
|
23563
|
+
},
|
|
23564
|
+
{
|
|
23565
|
+
scheme: 'bearer',
|
|
23566
|
+
type: 'http'
|
|
23567
|
+
}
|
|
23568
|
+
],
|
|
23569
|
+
url: '/api/marketplace-provider-resource-projects/',
|
|
23570
|
+
...options
|
|
23571
|
+
});
|
|
23572
|
+
};
|
|
23573
|
+
export const marketplaceProviderResourceProjectsRetrieve = (options) => {
|
|
23574
|
+
return (options.client ?? _heyApiClient).get({
|
|
23575
|
+
security: [
|
|
23576
|
+
{
|
|
23577
|
+
name: 'Authorization',
|
|
23578
|
+
type: 'apiKey'
|
|
23579
|
+
},
|
|
23580
|
+
{
|
|
23581
|
+
scheme: 'bearer',
|
|
23582
|
+
type: 'http'
|
|
23583
|
+
},
|
|
23584
|
+
{
|
|
23585
|
+
scheme: 'bearer',
|
|
23586
|
+
type: 'http'
|
|
23587
|
+
}
|
|
23588
|
+
],
|
|
23589
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/',
|
|
23590
|
+
...options
|
|
23591
|
+
});
|
|
23592
|
+
};
|
|
23593
|
+
export const marketplaceProviderResourceProjectsPartialUpdate = (options) => {
|
|
23594
|
+
return (options.client ?? _heyApiClient).patch({
|
|
23595
|
+
security: [
|
|
23596
|
+
{
|
|
23597
|
+
name: 'Authorization',
|
|
23598
|
+
type: 'apiKey'
|
|
23599
|
+
},
|
|
23600
|
+
{
|
|
23601
|
+
scheme: 'bearer',
|
|
23602
|
+
type: 'http'
|
|
23603
|
+
},
|
|
23604
|
+
{
|
|
23605
|
+
scheme: 'bearer',
|
|
23606
|
+
type: 'http'
|
|
23607
|
+
}
|
|
23608
|
+
],
|
|
23609
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/',
|
|
23610
|
+
...options,
|
|
23611
|
+
headers: {
|
|
23612
|
+
'Content-Type': 'application/json',
|
|
23613
|
+
...options.headers
|
|
23614
|
+
}
|
|
23615
|
+
});
|
|
23616
|
+
};
|
|
23617
|
+
export const marketplaceProviderResourceProjectsUpdate = (options) => {
|
|
23618
|
+
return (options.client ?? _heyApiClient).put({
|
|
23619
|
+
security: [
|
|
23620
|
+
{
|
|
23621
|
+
name: 'Authorization',
|
|
23622
|
+
type: 'apiKey'
|
|
23623
|
+
},
|
|
23624
|
+
{
|
|
23625
|
+
scheme: 'bearer',
|
|
23626
|
+
type: 'http'
|
|
23627
|
+
},
|
|
23628
|
+
{
|
|
23629
|
+
scheme: 'bearer',
|
|
23630
|
+
type: 'http'
|
|
23631
|
+
}
|
|
23632
|
+
],
|
|
23633
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/',
|
|
23634
|
+
...options,
|
|
23635
|
+
headers: {
|
|
23636
|
+
'Content-Type': 'application/json',
|
|
23637
|
+
...options.headers
|
|
23638
|
+
}
|
|
23639
|
+
});
|
|
23640
|
+
};
|
|
23641
|
+
/**
|
|
23642
|
+
* Grant a role to a user
|
|
23643
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
23644
|
+
*/
|
|
23645
|
+
export const marketplaceProviderResourceProjectsAddUser = (options) => {
|
|
23646
|
+
return (options.client ?? _heyApiClient).post({
|
|
23647
|
+
security: [
|
|
23648
|
+
{
|
|
23649
|
+
name: 'Authorization',
|
|
23650
|
+
type: 'apiKey'
|
|
23651
|
+
},
|
|
23652
|
+
{
|
|
23653
|
+
scheme: 'bearer',
|
|
23654
|
+
type: 'http'
|
|
23655
|
+
},
|
|
23656
|
+
{
|
|
23657
|
+
scheme: 'bearer',
|
|
23658
|
+
type: 'http'
|
|
23659
|
+
}
|
|
23660
|
+
],
|
|
23661
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/add_user/',
|
|
23662
|
+
...options,
|
|
23663
|
+
headers: {
|
|
23664
|
+
'Content-Type': 'application/json',
|
|
23665
|
+
...options.headers
|
|
23666
|
+
}
|
|
23667
|
+
});
|
|
23668
|
+
};
|
|
23669
|
+
/**
|
|
23670
|
+
* Revoke a role from a user
|
|
23671
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
23672
|
+
*/
|
|
23673
|
+
export const marketplaceProviderResourceProjectsDeleteUser = (options) => {
|
|
23674
|
+
return (options.client ?? _heyApiClient).post({
|
|
23675
|
+
security: [
|
|
23676
|
+
{
|
|
23677
|
+
name: 'Authorization',
|
|
23678
|
+
type: 'apiKey'
|
|
23679
|
+
},
|
|
23680
|
+
{
|
|
23681
|
+
scheme: 'bearer',
|
|
23682
|
+
type: 'http'
|
|
23683
|
+
},
|
|
23684
|
+
{
|
|
23685
|
+
scheme: 'bearer',
|
|
23686
|
+
type: 'http'
|
|
23687
|
+
}
|
|
23688
|
+
],
|
|
23689
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/delete_user/',
|
|
23690
|
+
...options,
|
|
23691
|
+
headers: {
|
|
23692
|
+
'Content-Type': 'application/json',
|
|
23693
|
+
...options.headers
|
|
23694
|
+
}
|
|
23695
|
+
});
|
|
23696
|
+
};
|
|
23697
|
+
/**
|
|
23698
|
+
* List users and their roles in a scope
|
|
23699
|
+
* 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.
|
|
23700
|
+
*/
|
|
23701
|
+
export const marketplaceProviderResourceProjectsListUsersList = (options) => {
|
|
23702
|
+
return (options.client ?? _heyApiClient).get({
|
|
23703
|
+
security: [
|
|
23704
|
+
{
|
|
23705
|
+
name: 'Authorization',
|
|
23706
|
+
type: 'apiKey'
|
|
23707
|
+
},
|
|
23708
|
+
{
|
|
23709
|
+
scheme: 'bearer',
|
|
23710
|
+
type: 'http'
|
|
23711
|
+
},
|
|
23712
|
+
{
|
|
23713
|
+
scheme: 'bearer',
|
|
23714
|
+
type: 'http'
|
|
23715
|
+
}
|
|
23716
|
+
],
|
|
23717
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/list_users/',
|
|
23718
|
+
...options
|
|
23719
|
+
});
|
|
23720
|
+
};
|
|
23721
|
+
export const marketplaceProviderResourceProjectsSetBackendId = (options) => {
|
|
23722
|
+
return (options.client ?? _heyApiClient).post({
|
|
23723
|
+
security: [
|
|
23724
|
+
{
|
|
23725
|
+
name: 'Authorization',
|
|
23726
|
+
type: 'apiKey'
|
|
23727
|
+
},
|
|
23728
|
+
{
|
|
23729
|
+
scheme: 'bearer',
|
|
23730
|
+
type: 'http'
|
|
23731
|
+
},
|
|
23732
|
+
{
|
|
23733
|
+
scheme: 'bearer',
|
|
23734
|
+
type: 'http'
|
|
23735
|
+
}
|
|
23736
|
+
],
|
|
23737
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/set_backend_id/',
|
|
23738
|
+
...options,
|
|
23739
|
+
headers: {
|
|
23740
|
+
'Content-Type': 'application/json',
|
|
23741
|
+
...options.headers
|
|
23742
|
+
}
|
|
23743
|
+
});
|
|
23744
|
+
};
|
|
23745
|
+
export const marketplaceProviderResourceProjectsSetStateErred = (options) => {
|
|
23746
|
+
return (options.client ?? _heyApiClient).post({
|
|
23747
|
+
security: [
|
|
23748
|
+
{
|
|
23749
|
+
name: 'Authorization',
|
|
23750
|
+
type: 'apiKey'
|
|
23751
|
+
},
|
|
23752
|
+
{
|
|
23753
|
+
scheme: 'bearer',
|
|
23754
|
+
type: 'http'
|
|
23755
|
+
},
|
|
23756
|
+
{
|
|
23757
|
+
scheme: 'bearer',
|
|
23758
|
+
type: 'http'
|
|
23759
|
+
}
|
|
23760
|
+
],
|
|
23761
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/set_state_erred/',
|
|
23762
|
+
...options,
|
|
23763
|
+
headers: {
|
|
23764
|
+
'Content-Type': 'application/json',
|
|
23765
|
+
...options.headers
|
|
23766
|
+
}
|
|
23767
|
+
});
|
|
23768
|
+
};
|
|
23769
|
+
export const marketplaceProviderResourceProjectsSetStateOk = (options) => {
|
|
23770
|
+
return (options.client ?? _heyApiClient).post({
|
|
23771
|
+
security: [
|
|
23772
|
+
{
|
|
23773
|
+
name: 'Authorization',
|
|
23774
|
+
type: 'apiKey'
|
|
23775
|
+
},
|
|
23776
|
+
{
|
|
23777
|
+
scheme: 'bearer',
|
|
23778
|
+
type: 'http'
|
|
23779
|
+
},
|
|
23780
|
+
{
|
|
23781
|
+
scheme: 'bearer',
|
|
23782
|
+
type: 'http'
|
|
23783
|
+
}
|
|
23784
|
+
],
|
|
23785
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/set_state_ok/',
|
|
23786
|
+
...options,
|
|
23787
|
+
headers: {
|
|
23788
|
+
'Content-Type': 'application/json',
|
|
23789
|
+
...options.headers
|
|
23790
|
+
}
|
|
23791
|
+
});
|
|
23792
|
+
};
|
|
23793
|
+
/**
|
|
23794
|
+
* Update a user's role expiration
|
|
23795
|
+
* Updates the expiration time for a user's existing role in the current scope. This is useful for extending or shortening the duration of a permission. To make a role permanent, set expiration_time to null.
|
|
23796
|
+
*/
|
|
23797
|
+
export const marketplaceProviderResourceProjectsUpdateUser = (options) => {
|
|
23798
|
+
return (options.client ?? _heyApiClient).post({
|
|
23799
|
+
security: [
|
|
23800
|
+
{
|
|
23801
|
+
name: 'Authorization',
|
|
23802
|
+
type: 'apiKey'
|
|
23803
|
+
},
|
|
23804
|
+
{
|
|
23805
|
+
scheme: 'bearer',
|
|
23806
|
+
type: 'http'
|
|
23807
|
+
},
|
|
23808
|
+
{
|
|
23809
|
+
scheme: 'bearer',
|
|
23810
|
+
type: 'http'
|
|
23811
|
+
}
|
|
23812
|
+
],
|
|
23813
|
+
url: '/api/marketplace-provider-resource-projects/{uuid}/update_user/',
|
|
23814
|
+
...options,
|
|
23815
|
+
headers: {
|
|
23816
|
+
'Content-Type': 'application/json',
|
|
23817
|
+
...options.headers
|
|
23818
|
+
}
|
|
23819
|
+
});
|
|
23820
|
+
};
|
|
23299
23821
|
/**
|
|
23300
23822
|
* List provider resources
|
|
23301
23823
|
* Returns a paginated list of resources for offerings managed by the current user as a service provider.
|
|
@@ -24672,11 +25194,7 @@ export const marketplaceResourceOfferingsList = (options) => {
|
|
|
24672
25194
|
...options
|
|
24673
25195
|
});
|
|
24674
25196
|
};
|
|
24675
|
-
|
|
24676
|
-
* List resource users
|
|
24677
|
-
* Returns a paginated list of users associated with resources, including their roles. The list is filtered based on the permissions of the current user. Staff and support users can see all resource-user links. Other users can only see links for resources they have access to.
|
|
24678
|
-
*/
|
|
24679
|
-
export const marketplaceResourceUsersList = (options) => {
|
|
25197
|
+
export const marketplaceResourceProjectsList = (options) => {
|
|
24680
25198
|
return (options?.client ?? _heyApiClient).get({
|
|
24681
25199
|
security: [
|
|
24682
25200
|
{
|
|
@@ -24692,15 +25210,14 @@ export const marketplaceResourceUsersList = (options) => {
|
|
|
24692
25210
|
type: 'http'
|
|
24693
25211
|
}
|
|
24694
25212
|
],
|
|
24695
|
-
url: '/api/marketplace-resource-
|
|
25213
|
+
url: '/api/marketplace-resource-projects/',
|
|
24696
25214
|
...options
|
|
24697
25215
|
});
|
|
24698
25216
|
};
|
|
24699
25217
|
/**
|
|
24700
|
-
* List resource users
|
|
24701
25218
|
* Get number of items in the collection matching the request parameters.
|
|
24702
25219
|
*/
|
|
24703
|
-
export const
|
|
25220
|
+
export const marketplaceResourceProjectsCount = (options) => {
|
|
24704
25221
|
return (options?.client ?? _heyApiClient).head({
|
|
24705
25222
|
security: [
|
|
24706
25223
|
{
|
|
@@ -24716,15 +25233,127 @@ export const marketplaceResourceUsersCount = (options) => {
|
|
|
24716
25233
|
type: 'http'
|
|
24717
25234
|
}
|
|
24718
25235
|
],
|
|
24719
|
-
url: '/api/marketplace-resource-
|
|
25236
|
+
url: '/api/marketplace-resource-projects/',
|
|
24720
25237
|
...options
|
|
24721
25238
|
});
|
|
24722
25239
|
};
|
|
25240
|
+
export const marketplaceResourceProjectsCreate = (options) => {
|
|
25241
|
+
return (options.client ?? _heyApiClient).post({
|
|
25242
|
+
security: [
|
|
25243
|
+
{
|
|
25244
|
+
name: 'Authorization',
|
|
25245
|
+
type: 'apiKey'
|
|
25246
|
+
},
|
|
25247
|
+
{
|
|
25248
|
+
scheme: 'bearer',
|
|
25249
|
+
type: 'http'
|
|
25250
|
+
},
|
|
25251
|
+
{
|
|
25252
|
+
scheme: 'bearer',
|
|
25253
|
+
type: 'http'
|
|
25254
|
+
}
|
|
25255
|
+
],
|
|
25256
|
+
url: '/api/marketplace-resource-projects/',
|
|
25257
|
+
...options,
|
|
25258
|
+
headers: {
|
|
25259
|
+
'Content-Type': 'application/json',
|
|
25260
|
+
...options.headers
|
|
25261
|
+
}
|
|
25262
|
+
});
|
|
25263
|
+
};
|
|
25264
|
+
export const marketplaceResourceProjectsDestroy = (options) => {
|
|
25265
|
+
return (options.client ?? _heyApiClient).delete({
|
|
25266
|
+
security: [
|
|
25267
|
+
{
|
|
25268
|
+
name: 'Authorization',
|
|
25269
|
+
type: 'apiKey'
|
|
25270
|
+
},
|
|
25271
|
+
{
|
|
25272
|
+
scheme: 'bearer',
|
|
25273
|
+
type: 'http'
|
|
25274
|
+
},
|
|
25275
|
+
{
|
|
25276
|
+
scheme: 'bearer',
|
|
25277
|
+
type: 'http'
|
|
25278
|
+
}
|
|
25279
|
+
],
|
|
25280
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
25281
|
+
...options
|
|
25282
|
+
});
|
|
25283
|
+
};
|
|
25284
|
+
export const marketplaceResourceProjectsRetrieve = (options) => {
|
|
25285
|
+
return (options.client ?? _heyApiClient).get({
|
|
25286
|
+
security: [
|
|
25287
|
+
{
|
|
25288
|
+
name: 'Authorization',
|
|
25289
|
+
type: 'apiKey'
|
|
25290
|
+
},
|
|
25291
|
+
{
|
|
25292
|
+
scheme: 'bearer',
|
|
25293
|
+
type: 'http'
|
|
25294
|
+
},
|
|
25295
|
+
{
|
|
25296
|
+
scheme: 'bearer',
|
|
25297
|
+
type: 'http'
|
|
25298
|
+
}
|
|
25299
|
+
],
|
|
25300
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
25301
|
+
...options
|
|
25302
|
+
});
|
|
25303
|
+
};
|
|
25304
|
+
export const marketplaceResourceProjectsPartialUpdate = (options) => {
|
|
25305
|
+
return (options.client ?? _heyApiClient).patch({
|
|
25306
|
+
security: [
|
|
25307
|
+
{
|
|
25308
|
+
name: 'Authorization',
|
|
25309
|
+
type: 'apiKey'
|
|
25310
|
+
},
|
|
25311
|
+
{
|
|
25312
|
+
scheme: 'bearer',
|
|
25313
|
+
type: 'http'
|
|
25314
|
+
},
|
|
25315
|
+
{
|
|
25316
|
+
scheme: 'bearer',
|
|
25317
|
+
type: 'http'
|
|
25318
|
+
}
|
|
25319
|
+
],
|
|
25320
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
25321
|
+
...options,
|
|
25322
|
+
headers: {
|
|
25323
|
+
'Content-Type': 'application/json',
|
|
25324
|
+
...options.headers
|
|
25325
|
+
}
|
|
25326
|
+
});
|
|
25327
|
+
};
|
|
25328
|
+
export const marketplaceResourceProjectsUpdate = (options) => {
|
|
25329
|
+
return (options.client ?? _heyApiClient).put({
|
|
25330
|
+
security: [
|
|
25331
|
+
{
|
|
25332
|
+
name: 'Authorization',
|
|
25333
|
+
type: 'apiKey'
|
|
25334
|
+
},
|
|
25335
|
+
{
|
|
25336
|
+
scheme: 'bearer',
|
|
25337
|
+
type: 'http'
|
|
25338
|
+
},
|
|
25339
|
+
{
|
|
25340
|
+
scheme: 'bearer',
|
|
25341
|
+
type: 'http'
|
|
25342
|
+
}
|
|
25343
|
+
],
|
|
25344
|
+
url: '/api/marketplace-resource-projects/{uuid}/',
|
|
25345
|
+
...options,
|
|
25346
|
+
headers: {
|
|
25347
|
+
'Content-Type': 'application/json',
|
|
25348
|
+
...options.headers
|
|
25349
|
+
}
|
|
25350
|
+
});
|
|
25351
|
+
};
|
|
24723
25352
|
/**
|
|
24724
|
-
*
|
|
24725
|
-
*
|
|
25353
|
+
* Grant a role to a user
|
|
25354
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
24726
25355
|
*/
|
|
24727
|
-
export const
|
|
25356
|
+
export const marketplaceResourceProjectsAddUser = (options) => {
|
|
24728
25357
|
return (options.client ?? _heyApiClient).post({
|
|
24729
25358
|
security: [
|
|
24730
25359
|
{
|
|
@@ -24740,7 +25369,7 @@ export const marketplaceResourceUsersCreate = (options) => {
|
|
|
24740
25369
|
type: 'http'
|
|
24741
25370
|
}
|
|
24742
25371
|
],
|
|
24743
|
-
url: '/api/marketplace-resource-
|
|
25372
|
+
url: '/api/marketplace-resource-projects/{uuid}/add_user/',
|
|
24744
25373
|
...options,
|
|
24745
25374
|
headers: {
|
|
24746
25375
|
'Content-Type': 'application/json',
|
|
@@ -24749,11 +25378,11 @@ export const marketplaceResourceUsersCreate = (options) => {
|
|
|
24749
25378
|
});
|
|
24750
25379
|
};
|
|
24751
25380
|
/**
|
|
24752
|
-
*
|
|
24753
|
-
* Removes
|
|
25381
|
+
* Revoke a role from a user
|
|
25382
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
24754
25383
|
*/
|
|
24755
|
-
export const
|
|
24756
|
-
return (options.client ?? _heyApiClient).
|
|
25384
|
+
export const marketplaceResourceProjectsDeleteUser = (options) => {
|
|
25385
|
+
return (options.client ?? _heyApiClient).post({
|
|
24757
25386
|
security: [
|
|
24758
25387
|
{
|
|
24759
25388
|
name: 'Authorization',
|
|
@@ -24768,15 +25397,19 @@ export const marketplaceResourceUsersDestroy = (options) => {
|
|
|
24768
25397
|
type: 'http'
|
|
24769
25398
|
}
|
|
24770
25399
|
],
|
|
24771
|
-
url: '/api/marketplace-resource-
|
|
24772
|
-
...options
|
|
25400
|
+
url: '/api/marketplace-resource-projects/{uuid}/delete_user/',
|
|
25401
|
+
...options,
|
|
25402
|
+
headers: {
|
|
25403
|
+
'Content-Type': 'application/json',
|
|
25404
|
+
...options.headers
|
|
25405
|
+
}
|
|
24773
25406
|
});
|
|
24774
25407
|
};
|
|
24775
25408
|
/**
|
|
24776
|
-
*
|
|
24777
|
-
*
|
|
25409
|
+
* List users and their roles in a scope
|
|
25410
|
+
* 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.
|
|
24778
25411
|
*/
|
|
24779
|
-
export const
|
|
25412
|
+
export const marketplaceResourceProjectsListUsersList = (options) => {
|
|
24780
25413
|
return (options.client ?? _heyApiClient).get({
|
|
24781
25414
|
security: [
|
|
24782
25415
|
{
|
|
@@ -24792,10 +25425,38 @@ export const marketplaceResourceUsersRetrieve = (options) => {
|
|
|
24792
25425
|
type: 'http'
|
|
24793
25426
|
}
|
|
24794
25427
|
],
|
|
24795
|
-
url: '/api/marketplace-resource-
|
|
25428
|
+
url: '/api/marketplace-resource-projects/{uuid}/list_users/',
|
|
24796
25429
|
...options
|
|
24797
25430
|
});
|
|
24798
25431
|
};
|
|
25432
|
+
/**
|
|
25433
|
+
* Update a user's role expiration
|
|
25434
|
+
* Updates the expiration time for a user's existing role in the current scope. This is useful for extending or shortening the duration of a permission. To make a role permanent, set expiration_time to null.
|
|
25435
|
+
*/
|
|
25436
|
+
export const marketplaceResourceProjectsUpdateUser = (options) => {
|
|
25437
|
+
return (options.client ?? _heyApiClient).post({
|
|
25438
|
+
security: [
|
|
25439
|
+
{
|
|
25440
|
+
name: 'Authorization',
|
|
25441
|
+
type: 'apiKey'
|
|
25442
|
+
},
|
|
25443
|
+
{
|
|
25444
|
+
scheme: 'bearer',
|
|
25445
|
+
type: 'http'
|
|
25446
|
+
},
|
|
25447
|
+
{
|
|
25448
|
+
scheme: 'bearer',
|
|
25449
|
+
type: 'http'
|
|
25450
|
+
}
|
|
25451
|
+
],
|
|
25452
|
+
url: '/api/marketplace-resource-projects/{uuid}/update_user/',
|
|
25453
|
+
...options,
|
|
25454
|
+
headers: {
|
|
25455
|
+
'Content-Type': 'application/json',
|
|
25456
|
+
...options.headers
|
|
25457
|
+
}
|
|
25458
|
+
});
|
|
25459
|
+
};
|
|
24799
25460
|
/**
|
|
24800
25461
|
* List consumer resources
|
|
24801
25462
|
* Returns a paginated list of resources accessible to the current user as a service consumer.
|
|
@@ -24924,6 +25585,62 @@ export const marketplaceResourcesUpdate = (options) => {
|
|
|
24924
25585
|
}
|
|
24925
25586
|
});
|
|
24926
25587
|
};
|
|
25588
|
+
/**
|
|
25589
|
+
* Grant a role to a user
|
|
25590
|
+
* Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
|
|
25591
|
+
*/
|
|
25592
|
+
export const marketplaceResourcesAddUser = (options) => {
|
|
25593
|
+
return (options.client ?? _heyApiClient).post({
|
|
25594
|
+
security: [
|
|
25595
|
+
{
|
|
25596
|
+
name: 'Authorization',
|
|
25597
|
+
type: 'apiKey'
|
|
25598
|
+
},
|
|
25599
|
+
{
|
|
25600
|
+
scheme: 'bearer',
|
|
25601
|
+
type: 'http'
|
|
25602
|
+
},
|
|
25603
|
+
{
|
|
25604
|
+
scheme: 'bearer',
|
|
25605
|
+
type: 'http'
|
|
25606
|
+
}
|
|
25607
|
+
],
|
|
25608
|
+
url: '/api/marketplace-resources/{uuid}/add_user/',
|
|
25609
|
+
...options,
|
|
25610
|
+
headers: {
|
|
25611
|
+
'Content-Type': 'application/json',
|
|
25612
|
+
...options.headers
|
|
25613
|
+
}
|
|
25614
|
+
});
|
|
25615
|
+
};
|
|
25616
|
+
/**
|
|
25617
|
+
* Revoke a role from a user
|
|
25618
|
+
* Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
|
|
25619
|
+
*/
|
|
25620
|
+
export const marketplaceResourcesDeleteUser = (options) => {
|
|
25621
|
+
return (options.client ?? _heyApiClient).post({
|
|
25622
|
+
security: [
|
|
25623
|
+
{
|
|
25624
|
+
name: 'Authorization',
|
|
25625
|
+
type: 'apiKey'
|
|
25626
|
+
},
|
|
25627
|
+
{
|
|
25628
|
+
scheme: 'bearer',
|
|
25629
|
+
type: 'http'
|
|
25630
|
+
},
|
|
25631
|
+
{
|
|
25632
|
+
scheme: 'bearer',
|
|
25633
|
+
type: 'http'
|
|
25634
|
+
}
|
|
25635
|
+
],
|
|
25636
|
+
url: '/api/marketplace-resources/{uuid}/delete_user/',
|
|
25637
|
+
...options,
|
|
25638
|
+
headers: {
|
|
25639
|
+
'Content-Type': 'application/json',
|
|
25640
|
+
...options.headers
|
|
25641
|
+
}
|
|
25642
|
+
});
|
|
25643
|
+
};
|
|
24927
25644
|
/**
|
|
24928
25645
|
* Get resource details
|
|
24929
25646
|
* Returns the detailed representation of the backend resource associated with the marketplace resource. The format of the response depends on the resource type.
|
|
@@ -25050,6 +25767,30 @@ export const marketplaceResourcesHistoryAtRetrieve = (options) => {
|
|
|
25050
25767
|
...options
|
|
25051
25768
|
});
|
|
25052
25769
|
};
|
|
25770
|
+
/**
|
|
25771
|
+
* List users and their roles in a scope
|
|
25772
|
+
* 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.
|
|
25773
|
+
*/
|
|
25774
|
+
export const marketplaceResourcesListUsersList = (options) => {
|
|
25775
|
+
return (options.client ?? _heyApiClient).get({
|
|
25776
|
+
security: [
|
|
25777
|
+
{
|
|
25778
|
+
name: 'Authorization',
|
|
25779
|
+
type: 'apiKey'
|
|
25780
|
+
},
|
|
25781
|
+
{
|
|
25782
|
+
scheme: 'bearer',
|
|
25783
|
+
type: 'http'
|
|
25784
|
+
},
|
|
25785
|
+
{
|
|
25786
|
+
scheme: 'bearer',
|
|
25787
|
+
type: 'http'
|
|
25788
|
+
}
|
|
25789
|
+
],
|
|
25790
|
+
url: '/api/marketplace-resources/{uuid}/list_users/',
|
|
25791
|
+
...options
|
|
25792
|
+
});
|
|
25793
|
+
};
|
|
25053
25794
|
/**
|
|
25054
25795
|
* Move a resource to another project
|
|
25055
25796
|
* Moves a resource and its associated data to a different project. Requires staff permissions.
|
|
@@ -25475,6 +26216,30 @@ export const marketplaceResourcesTeamList = (options) => {
|
|
|
25475
26216
|
...options
|
|
25476
26217
|
});
|
|
25477
26218
|
};
|
|
26219
|
+
/**
|
|
26220
|
+
* List team members of a resource
|
|
26221
|
+
* One row per user (deduplicated) with their direct Resource role and a nested `resource_projects[]` array of their per-ResourceProject grants under this resource. Mirrors the org-level `customers/{uuid}/users/` shape so the frontend can render an expandable per-user view.
|
|
26222
|
+
*/
|
|
26223
|
+
export const marketplaceResourcesTeamMembersList = (options) => {
|
|
26224
|
+
return (options.client ?? _heyApiClient).get({
|
|
26225
|
+
security: [
|
|
26226
|
+
{
|
|
26227
|
+
name: 'Authorization',
|
|
26228
|
+
type: 'apiKey'
|
|
26229
|
+
},
|
|
26230
|
+
{
|
|
26231
|
+
scheme: 'bearer',
|
|
26232
|
+
type: 'http'
|
|
26233
|
+
},
|
|
26234
|
+
{
|
|
26235
|
+
scheme: 'bearer',
|
|
26236
|
+
type: 'http'
|
|
26237
|
+
}
|
|
26238
|
+
],
|
|
26239
|
+
url: '/api/marketplace-resources/{uuid}/team_members/',
|
|
26240
|
+
...options
|
|
26241
|
+
});
|
|
26242
|
+
};
|
|
25478
26243
|
/**
|
|
25479
26244
|
* Terminate a resource
|
|
25480
26245
|
* Creates a marketplace order to terminate the resource. This action is asynchronous and may require approval.
|
|
@@ -25583,6 +26348,34 @@ export const marketplaceResourcesUpdateOptions = (options) => {
|
|
|
25583
26348
|
}
|
|
25584
26349
|
});
|
|
25585
26350
|
};
|
|
26351
|
+
/**
|
|
26352
|
+
* Update a user's role expiration
|
|
26353
|
+
* Updates the expiration time for a user's existing role in the current scope. This is useful for extending or shortening the duration of a permission. To make a role permanent, set expiration_time to null.
|
|
26354
|
+
*/
|
|
26355
|
+
export const marketplaceResourcesUpdateUser = (options) => {
|
|
26356
|
+
return (options.client ?? _heyApiClient).post({
|
|
26357
|
+
security: [
|
|
26358
|
+
{
|
|
26359
|
+
name: 'Authorization',
|
|
26360
|
+
type: 'apiKey'
|
|
26361
|
+
},
|
|
26362
|
+
{
|
|
26363
|
+
scheme: 'bearer',
|
|
26364
|
+
type: 'http'
|
|
26365
|
+
},
|
|
26366
|
+
{
|
|
26367
|
+
scheme: 'bearer',
|
|
26368
|
+
type: 'http'
|
|
26369
|
+
}
|
|
26370
|
+
],
|
|
26371
|
+
url: '/api/marketplace-resources/{uuid}/update_user/',
|
|
26372
|
+
...options,
|
|
26373
|
+
headers: {
|
|
26374
|
+
'Content-Type': 'application/json',
|
|
26375
|
+
...options.headers
|
|
26376
|
+
}
|
|
26377
|
+
});
|
|
26378
|
+
};
|
|
25586
26379
|
/**
|
|
25587
26380
|
* Suggest a resource name
|
|
25588
26381
|
* Generates a suggested name for a new resource based on the project and offering. If the offering has a `resource_name_pattern` in `plugin_options`, it is used as a Python format string with variables: `{customer_name}`, `{customer_slug}`, `{project_name}`, `{project_slug}`, `{offering_name}`, `{offering_slug}`, `{plan_name}`, `{counter}`, and `{attributes[KEY]}` for any order form value.
|
|
@@ -52039,6 +52832,89 @@ export const reviewerSuggestionsReject = (options) => {
|
|
|
52039
52832
|
}
|
|
52040
52833
|
});
|
|
52041
52834
|
};
|
|
52835
|
+
export const roleAvailabilitiesList = (options) => {
|
|
52836
|
+
return (options?.client ?? _heyApiClient).get({
|
|
52837
|
+
security: [
|
|
52838
|
+
{
|
|
52839
|
+
name: 'Authorization',
|
|
52840
|
+
type: 'apiKey'
|
|
52841
|
+
},
|
|
52842
|
+
{
|
|
52843
|
+
scheme: 'bearer',
|
|
52844
|
+
type: 'http'
|
|
52845
|
+
},
|
|
52846
|
+
{
|
|
52847
|
+
scheme: 'bearer',
|
|
52848
|
+
type: 'http'
|
|
52849
|
+
}
|
|
52850
|
+
],
|
|
52851
|
+
url: '/api/role-availabilities/',
|
|
52852
|
+
...options
|
|
52853
|
+
});
|
|
52854
|
+
};
|
|
52855
|
+
/**
|
|
52856
|
+
* Get number of items in the collection matching the request parameters.
|
|
52857
|
+
*/
|
|
52858
|
+
export const roleAvailabilitiesCount = (options) => {
|
|
52859
|
+
return (options?.client ?? _heyApiClient).head({
|
|
52860
|
+
security: [
|
|
52861
|
+
{
|
|
52862
|
+
name: 'Authorization',
|
|
52863
|
+
type: 'apiKey'
|
|
52864
|
+
},
|
|
52865
|
+
{
|
|
52866
|
+
scheme: 'bearer',
|
|
52867
|
+
type: 'http'
|
|
52868
|
+
},
|
|
52869
|
+
{
|
|
52870
|
+
scheme: 'bearer',
|
|
52871
|
+
type: 'http'
|
|
52872
|
+
}
|
|
52873
|
+
],
|
|
52874
|
+
url: '/api/role-availabilities/',
|
|
52875
|
+
...options
|
|
52876
|
+
});
|
|
52877
|
+
};
|
|
52878
|
+
export const roleAvailabilitiesDestroy = (options) => {
|
|
52879
|
+
return (options.client ?? _heyApiClient).delete({
|
|
52880
|
+
security: [
|
|
52881
|
+
{
|
|
52882
|
+
name: 'Authorization',
|
|
52883
|
+
type: 'apiKey'
|
|
52884
|
+
},
|
|
52885
|
+
{
|
|
52886
|
+
scheme: 'bearer',
|
|
52887
|
+
type: 'http'
|
|
52888
|
+
},
|
|
52889
|
+
{
|
|
52890
|
+
scheme: 'bearer',
|
|
52891
|
+
type: 'http'
|
|
52892
|
+
}
|
|
52893
|
+
],
|
|
52894
|
+
url: '/api/role-availabilities/{uuid}/',
|
|
52895
|
+
...options
|
|
52896
|
+
});
|
|
52897
|
+
};
|
|
52898
|
+
export const roleAvailabilitiesRetrieve = (options) => {
|
|
52899
|
+
return (options.client ?? _heyApiClient).get({
|
|
52900
|
+
security: [
|
|
52901
|
+
{
|
|
52902
|
+
name: 'Authorization',
|
|
52903
|
+
type: 'apiKey'
|
|
52904
|
+
},
|
|
52905
|
+
{
|
|
52906
|
+
scheme: 'bearer',
|
|
52907
|
+
type: 'http'
|
|
52908
|
+
},
|
|
52909
|
+
{
|
|
52910
|
+
scheme: 'bearer',
|
|
52911
|
+
type: 'http'
|
|
52912
|
+
}
|
|
52913
|
+
],
|
|
52914
|
+
url: '/api/role-availabilities/{uuid}/',
|
|
52915
|
+
...options
|
|
52916
|
+
});
|
|
52917
|
+
};
|
|
52042
52918
|
/**
|
|
52043
52919
|
* List roles
|
|
52044
52920
|
* Get a list of all available roles.
|