waldur-js-client 8.0.8-dev.34 → 8.0.8-dev.36

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.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-referrals/',
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 marketplaceOfferingReferralsCount = (options) => {
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-referrals/',
18261
+ url: '/api/marketplace-offering-profiles/',
18267
18262
  ...options
18268
18263
  });
18269
18264
  };
18270
- /**
18271
- * Retrieve a specific Datacite referral
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-referrals/{uuid}/',
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
- * List Terms of Service configurations
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-terms-of-service/',
18305
+ url: '/api/marketplace-offering-profiles/{uuid}/',
18315
18306
  ...options
18316
18307
  });
18317
18308
  };
18318
- /**
18319
- * List Terms of Service configurations
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-terms-of-service/',
18325
+ url: '/api/marketplace-offering-profiles/{uuid}/',
18339
18326
  ...options
18340
18327
  });
18341
18328
  };
18342
- /**
18343
- * Create a Terms of Service configuration
18344
- * Creates a new Terms of Service configuration for an offering. Only one active ToS configuration is allowed per offering.
18345
- */
18346
- export const marketplaceOfferingTermsOfServiceCreate = (options) => {
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-terms-of-service/',
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
- * Delete a Terms of Service configuration
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-terms-of-service/{uuid}/',
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
- * Retrieve a Terms of Service configuration
18396
- * Returns the details of a specific Terms of Service configuration.
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 marketplaceOfferingTermsOfServiceRetrieve = (options) => {
18399
- return (options.client ?? _heyApiClient).get({
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-terms-of-service/{uuid}/',
18445
+ url: '/api/marketplace-offering-referrals/',
18415
18446
  ...options
18416
18447
  });
18417
18448
  };
18418
18449
  /**
18419
- * Partially update a Terms of Service configuration
18420
- * Partially updates an existing Terms of Service configuration.
18450
+ * List Datacite referrals for offerings
18451
+ * Get number of items in the collection matching the request parameters.
18421
18452
  */
18422
- export const marketplaceOfferingTermsOfServicePartialUpdate = (options) => {
18423
- return (options.client ?? _heyApiClient).patch({
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-terms-of-service/{uuid}/',
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
- * Update a Terms of Service configuration
18448
- * Updates an existing Terms of Service configuration. Note that some fields like `version` and `requires_reconsent` are protected and cannot be changed after creation.
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 marketplaceOfferingTermsOfServiceUpdate = (options) => {
18451
- return (options.client ?? _heyApiClient).put({
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-terms-of-service/{uuid}/',
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 marketplaceOfferingUsagePoliciesList = (options) => {
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-usage-policies/',
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 marketplaceOfferingUsagePoliciesCount = (options) => {
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-usage-policies/',
18536
+ url: '/api/marketplace-offering-roles/',
18514
18537
  ...options
18515
18538
  });
18516
18539
  };
18517
- export const marketplaceOfferingUsagePoliciesCreate = (options) => {
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-usage-policies/',
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 marketplaceOfferingUsagePoliciesDestroy = (options) => {
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-usage-policies/{uuid}/',
18580
+ url: '/api/marketplace-offering-roles/{uuid}/',
18558
18581
  ...options
18559
18582
  });
18560
18583
  };
18561
- export const marketplaceOfferingUsagePoliciesRetrieve = (options) => {
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-usage-policies/{uuid}/',
18600
+ url: '/api/marketplace-offering-roles/{uuid}/',
18578
18601
  ...options
18579
18602
  });
18580
18603
  };
18581
- export const marketplaceOfferingUsagePoliciesPartialUpdate = (options) => {
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-usage-policies/{uuid}/',
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 marketplaceOfferingUsagePoliciesUpdate = (options) => {
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-usage-policies/{uuid}/',
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
- export const marketplaceOfferingUsagePoliciesActionsRetrieve = (options) => {
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-usage-policies/actions/',
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 marketplaceOfferingUsagePoliciesActionsCount = (options) => {
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-usage-policies/actions/',
18696
+ url: '/api/marketplace-offering-terms-of-service/',
18669
18697
  ...options
18670
18698
  });
18671
18699
  };
18672
18700
  /**
18673
- * List checklist completions for offering users
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 marketplaceOfferingUserChecklistCompletionsList = (options) => {
18681
- return (options?.client ?? _heyApiClient).get({
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-user-checklist-completions/',
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
- * List checklist completions for offering users
18702
- * Get number of items in the collection matching the request parameters.
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 marketplaceOfferingUserChecklistCompletionsCount = (options) => {
18705
- return (options?.client ?? _heyApiClient).head({
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-user-checklist-completions/',
18748
+ url: '/api/marketplace-offering-terms-of-service/{uuid}/',
18721
18749
  ...options
18722
18750
  });
18723
18751
  };
18724
18752
  /**
18725
- * Retrieve a checklist completion
18726
- * Returns the details of a specific checklist completion for an offering user.
18753
+ * Retrieve a Terms of Service configuration
18754
+ * Returns the details of a specific Terms of Service configuration.
18727
18755
  */
18728
- export const marketplaceOfferingUserChecklistCompletionsRetrieve = (options) => {
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-user-checklist-completions/{id}/',
18772
+ url: '/api/marketplace-offering-terms-of-service/{uuid}/',
18745
18773
  ...options
18746
18774
  });
18747
18775
  };
18748
- export const marketplaceOfferingUserRolesList = (options) => {
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-user-roles/',
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 marketplaceOfferingUserRolesCount = (options) => {
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-user-roles/',
18871
+ url: '/api/marketplace-offering-usage-policies/',
18788
18872
  ...options
18789
18873
  });
18790
18874
  };
18791
- export const marketplaceOfferingUserRolesCreate = (options) => {
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-user-roles/',
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 marketplaceOfferingUserRolesDestroy = (options) => {
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-user-roles/{uuid}/',
18915
+ url: '/api/marketplace-offering-usage-policies/{uuid}/',
18832
18916
  ...options
18833
18917
  });
18834
18918
  };
18835
- export const marketplaceOfferingUserRolesRetrieve = (options) => {
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-user-roles/{uuid}/',
18935
+ url: '/api/marketplace-offering-usage-policies/{uuid}/',
18852
18936
  ...options
18853
18937
  });
18854
18938
  };
18855
- export const marketplaceOfferingUserRolesPartialUpdate = (options) => {
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-user-roles/{uuid}/',
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 marketplaceOfferingUserRolesUpdate = (options) => {
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-user-roles/{uuid}/',
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.
@@ -23945,34 +24467,6 @@ export const marketplaceProviderResourcesSetEndDateByStaff = (options) => {
23945
24467
  }
23946
24468
  });
23947
24469
  };
23948
- /**
23949
- * Set Keycloak scope options for a resource
23950
- * Allows a service provider to configure available scope options for Keycloak memberships on a resource. Requires Keycloak integration to be enabled on the offering.
23951
- */
23952
- export const marketplaceProviderResourcesSetKeycloakScopes = (options) => {
23953
- return (options.client ?? _heyApiClient).post({
23954
- security: [
23955
- {
23956
- name: 'Authorization',
23957
- type: 'apiKey'
23958
- },
23959
- {
23960
- scheme: 'bearer',
23961
- type: 'http'
23962
- },
23963
- {
23964
- scheme: 'bearer',
23965
- type: 'http'
23966
- }
23967
- ],
23968
- url: '/api/marketplace-provider-resources/{uuid}/set_keycloak_scopes/',
23969
- ...options,
23970
- headers: {
23971
- 'Content-Type': 'application/json',
23972
- ...options.headers
23973
- }
23974
- });
23975
- };
23976
24470
  /**
23977
24471
  * Set resource limits
23978
24472
  * 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.
@@ -24672,11 +25166,7 @@ export const marketplaceResourceOfferingsList = (options) => {
24672
25166
  ...options
24673
25167
  });
24674
25168
  };
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) => {
25169
+ export const marketplaceResourceProjectsList = (options) => {
24680
25170
  return (options?.client ?? _heyApiClient).get({
24681
25171
  security: [
24682
25172
  {
@@ -24692,15 +25182,14 @@ export const marketplaceResourceUsersList = (options) => {
24692
25182
  type: 'http'
24693
25183
  }
24694
25184
  ],
24695
- url: '/api/marketplace-resource-users/',
25185
+ url: '/api/marketplace-resource-projects/',
24696
25186
  ...options
24697
25187
  });
24698
25188
  };
24699
25189
  /**
24700
- * List resource users
24701
25190
  * Get number of items in the collection matching the request parameters.
24702
25191
  */
24703
- export const marketplaceResourceUsersCount = (options) => {
25192
+ export const marketplaceResourceProjectsCount = (options) => {
24704
25193
  return (options?.client ?? _heyApiClient).head({
24705
25194
  security: [
24706
25195
  {
@@ -24716,15 +25205,127 @@ export const marketplaceResourceUsersCount = (options) => {
24716
25205
  type: 'http'
24717
25206
  }
24718
25207
  ],
24719
- url: '/api/marketplace-resource-users/',
25208
+ url: '/api/marketplace-resource-projects/',
25209
+ ...options
25210
+ });
25211
+ };
25212
+ export const marketplaceResourceProjectsCreate = (options) => {
25213
+ return (options.client ?? _heyApiClient).post({
25214
+ security: [
25215
+ {
25216
+ name: 'Authorization',
25217
+ type: 'apiKey'
25218
+ },
25219
+ {
25220
+ scheme: 'bearer',
25221
+ type: 'http'
25222
+ },
25223
+ {
25224
+ scheme: 'bearer',
25225
+ type: 'http'
25226
+ }
25227
+ ],
25228
+ url: '/api/marketplace-resource-projects/',
25229
+ ...options,
25230
+ headers: {
25231
+ 'Content-Type': 'application/json',
25232
+ ...options.headers
25233
+ }
25234
+ });
25235
+ };
25236
+ export const marketplaceResourceProjectsDestroy = (options) => {
25237
+ return (options.client ?? _heyApiClient).delete({
25238
+ security: [
25239
+ {
25240
+ name: 'Authorization',
25241
+ type: 'apiKey'
25242
+ },
25243
+ {
25244
+ scheme: 'bearer',
25245
+ type: 'http'
25246
+ },
25247
+ {
25248
+ scheme: 'bearer',
25249
+ type: 'http'
25250
+ }
25251
+ ],
25252
+ url: '/api/marketplace-resource-projects/{uuid}/',
24720
25253
  ...options
24721
25254
  });
24722
25255
  };
25256
+ export const marketplaceResourceProjectsRetrieve = (options) => {
25257
+ return (options.client ?? _heyApiClient).get({
25258
+ security: [
25259
+ {
25260
+ name: 'Authorization',
25261
+ type: 'apiKey'
25262
+ },
25263
+ {
25264
+ scheme: 'bearer',
25265
+ type: 'http'
25266
+ },
25267
+ {
25268
+ scheme: 'bearer',
25269
+ type: 'http'
25270
+ }
25271
+ ],
25272
+ url: '/api/marketplace-resource-projects/{uuid}/',
25273
+ ...options
25274
+ });
25275
+ };
25276
+ export const marketplaceResourceProjectsPartialUpdate = (options) => {
25277
+ return (options.client ?? _heyApiClient).patch({
25278
+ security: [
25279
+ {
25280
+ name: 'Authorization',
25281
+ type: 'apiKey'
25282
+ },
25283
+ {
25284
+ scheme: 'bearer',
25285
+ type: 'http'
25286
+ },
25287
+ {
25288
+ scheme: 'bearer',
25289
+ type: 'http'
25290
+ }
25291
+ ],
25292
+ url: '/api/marketplace-resource-projects/{uuid}/',
25293
+ ...options,
25294
+ headers: {
25295
+ 'Content-Type': 'application/json',
25296
+ ...options.headers
25297
+ }
25298
+ });
25299
+ };
25300
+ export const marketplaceResourceProjectsUpdate = (options) => {
25301
+ return (options.client ?? _heyApiClient).put({
25302
+ security: [
25303
+ {
25304
+ name: 'Authorization',
25305
+ type: 'apiKey'
25306
+ },
25307
+ {
25308
+ scheme: 'bearer',
25309
+ type: 'http'
25310
+ },
25311
+ {
25312
+ scheme: 'bearer',
25313
+ type: 'http'
25314
+ }
25315
+ ],
25316
+ url: '/api/marketplace-resource-projects/{uuid}/',
25317
+ ...options,
25318
+ headers: {
25319
+ 'Content-Type': 'application/json',
25320
+ ...options.headers
25321
+ }
25322
+ });
25323
+ };
24723
25324
  /**
24724
- * Link a user to a resource
24725
- * Creates a new association between a user and a resource with a specific role. The user must have permission to manage users for the resource (typically service provider staff or owners).
25325
+ * Grant a role to a user
25326
+ * Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
24726
25327
  */
24727
- export const marketplaceResourceUsersCreate = (options) => {
25328
+ export const marketplaceResourceProjectsAddUser = (options) => {
24728
25329
  return (options.client ?? _heyApiClient).post({
24729
25330
  security: [
24730
25331
  {
@@ -24740,7 +25341,7 @@ export const marketplaceResourceUsersCreate = (options) => {
24740
25341
  type: 'http'
24741
25342
  }
24742
25343
  ],
24743
- url: '/api/marketplace-resource-users/',
25344
+ url: '/api/marketplace-resource-projects/{uuid}/add_user/',
24744
25345
  ...options,
24745
25346
  headers: {
24746
25347
  'Content-Type': 'application/json',
@@ -24749,11 +25350,11 @@ export const marketplaceResourceUsersCreate = (options) => {
24749
25350
  });
24750
25351
  };
24751
25352
  /**
24752
- * Unlink a user from a resource
24753
- * Removes the association between a user and a resource, effectively revoking their role on that resource. The user must have permission to manage users for the resource.
25353
+ * Revoke a role from a user
25354
+ * Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
24754
25355
  */
24755
- export const marketplaceResourceUsersDestroy = (options) => {
24756
- return (options.client ?? _heyApiClient).delete({
25356
+ export const marketplaceResourceProjectsDeleteUser = (options) => {
25357
+ return (options.client ?? _heyApiClient).post({
24757
25358
  security: [
24758
25359
  {
24759
25360
  name: 'Authorization',
@@ -24768,15 +25369,19 @@ export const marketplaceResourceUsersDestroy = (options) => {
24768
25369
  type: 'http'
24769
25370
  }
24770
25371
  ],
24771
- url: '/api/marketplace-resource-users/{uuid}/',
24772
- ...options
25372
+ url: '/api/marketplace-resource-projects/{uuid}/delete_user/',
25373
+ ...options,
25374
+ headers: {
25375
+ 'Content-Type': 'application/json',
25376
+ ...options.headers
25377
+ }
24773
25378
  });
24774
25379
  };
24775
25380
  /**
24776
- * Retrieve a resource-user link
24777
- * Returns details of a specific link between a user and a resource, including their role.
25381
+ * List users and their roles in a scope
25382
+ * 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
25383
  */
24779
- export const marketplaceResourceUsersRetrieve = (options) => {
25384
+ export const marketplaceResourceProjectsListUsersList = (options) => {
24780
25385
  return (options.client ?? _heyApiClient).get({
24781
25386
  security: [
24782
25387
  {
@@ -24792,10 +25397,38 @@ export const marketplaceResourceUsersRetrieve = (options) => {
24792
25397
  type: 'http'
24793
25398
  }
24794
25399
  ],
24795
- url: '/api/marketplace-resource-users/{uuid}/',
25400
+ url: '/api/marketplace-resource-projects/{uuid}/list_users/',
24796
25401
  ...options
24797
25402
  });
24798
25403
  };
25404
+ /**
25405
+ * Update a user's role expiration
25406
+ * 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.
25407
+ */
25408
+ export const marketplaceResourceProjectsUpdateUser = (options) => {
25409
+ return (options.client ?? _heyApiClient).post({
25410
+ security: [
25411
+ {
25412
+ name: 'Authorization',
25413
+ type: 'apiKey'
25414
+ },
25415
+ {
25416
+ scheme: 'bearer',
25417
+ type: 'http'
25418
+ },
25419
+ {
25420
+ scheme: 'bearer',
25421
+ type: 'http'
25422
+ }
25423
+ ],
25424
+ url: '/api/marketplace-resource-projects/{uuid}/update_user/',
25425
+ ...options,
25426
+ headers: {
25427
+ 'Content-Type': 'application/json',
25428
+ ...options.headers
25429
+ }
25430
+ });
25431
+ };
24799
25432
  /**
24800
25433
  * List consumer resources
24801
25434
  * Returns a paginated list of resources accessible to the current user as a service consumer.
@@ -24924,6 +25557,62 @@ export const marketplaceResourcesUpdate = (options) => {
24924
25557
  }
24925
25558
  });
24926
25559
  };
25560
+ /**
25561
+ * Grant a role to a user
25562
+ * Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
25563
+ */
25564
+ export const marketplaceResourcesAddUser = (options) => {
25565
+ return (options.client ?? _heyApiClient).post({
25566
+ security: [
25567
+ {
25568
+ name: 'Authorization',
25569
+ type: 'apiKey'
25570
+ },
25571
+ {
25572
+ scheme: 'bearer',
25573
+ type: 'http'
25574
+ },
25575
+ {
25576
+ scheme: 'bearer',
25577
+ type: 'http'
25578
+ }
25579
+ ],
25580
+ url: '/api/marketplace-resources/{uuid}/add_user/',
25581
+ ...options,
25582
+ headers: {
25583
+ 'Content-Type': 'application/json',
25584
+ ...options.headers
25585
+ }
25586
+ });
25587
+ };
25588
+ /**
25589
+ * Revoke a role from a user
25590
+ * Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
25591
+ */
25592
+ export const marketplaceResourcesDeleteUser = (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}/delete_user/',
25609
+ ...options,
25610
+ headers: {
25611
+ 'Content-Type': 'application/json',
25612
+ ...options.headers
25613
+ }
25614
+ });
25615
+ };
24927
25616
  /**
24928
25617
  * Get resource details
24929
25618
  * 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 +25739,30 @@ export const marketplaceResourcesHistoryAtRetrieve = (options) => {
25050
25739
  ...options
25051
25740
  });
25052
25741
  };
25742
+ /**
25743
+ * List users and their roles in a scope
25744
+ * 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.
25745
+ */
25746
+ export const marketplaceResourcesListUsersList = (options) => {
25747
+ return (options.client ?? _heyApiClient).get({
25748
+ security: [
25749
+ {
25750
+ name: 'Authorization',
25751
+ type: 'apiKey'
25752
+ },
25753
+ {
25754
+ scheme: 'bearer',
25755
+ type: 'http'
25756
+ },
25757
+ {
25758
+ scheme: 'bearer',
25759
+ type: 'http'
25760
+ }
25761
+ ],
25762
+ url: '/api/marketplace-resources/{uuid}/list_users/',
25763
+ ...options
25764
+ });
25765
+ };
25053
25766
  /**
25054
25767
  * Move a resource to another project
25055
25768
  * Moves a resource and its associated data to a different project. Requires staff permissions.
@@ -25475,6 +26188,30 @@ export const marketplaceResourcesTeamList = (options) => {
25475
26188
  ...options
25476
26189
  });
25477
26190
  };
26191
+ /**
26192
+ * List team members of a resource
26193
+ * 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.
26194
+ */
26195
+ export const marketplaceResourcesTeamMembersList = (options) => {
26196
+ return (options.client ?? _heyApiClient).get({
26197
+ security: [
26198
+ {
26199
+ name: 'Authorization',
26200
+ type: 'apiKey'
26201
+ },
26202
+ {
26203
+ scheme: 'bearer',
26204
+ type: 'http'
26205
+ },
26206
+ {
26207
+ scheme: 'bearer',
26208
+ type: 'http'
26209
+ }
26210
+ ],
26211
+ url: '/api/marketplace-resources/{uuid}/team_members/',
26212
+ ...options
26213
+ });
26214
+ };
25478
26215
  /**
25479
26216
  * Terminate a resource
25480
26217
  * Creates a marketplace order to terminate the resource. This action is asynchronous and may require approval.
@@ -25583,6 +26320,34 @@ export const marketplaceResourcesUpdateOptions = (options) => {
25583
26320
  }
25584
26321
  });
25585
26322
  };
26323
+ /**
26324
+ * Update a user's role expiration
26325
+ * 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.
26326
+ */
26327
+ export const marketplaceResourcesUpdateUser = (options) => {
26328
+ return (options.client ?? _heyApiClient).post({
26329
+ security: [
26330
+ {
26331
+ name: 'Authorization',
26332
+ type: 'apiKey'
26333
+ },
26334
+ {
26335
+ scheme: 'bearer',
26336
+ type: 'http'
26337
+ },
26338
+ {
26339
+ scheme: 'bearer',
26340
+ type: 'http'
26341
+ }
26342
+ ],
26343
+ url: '/api/marketplace-resources/{uuid}/update_user/',
26344
+ ...options,
26345
+ headers: {
26346
+ 'Content-Type': 'application/json',
26347
+ ...options.headers
26348
+ }
26349
+ });
26350
+ };
25586
26351
  /**
25587
26352
  * Suggest a resource name
25588
26353
  * 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.
@@ -32077,488 +32842,6 @@ export const notificationMessagesEnable = (options) => {
32077
32842
  ...options
32078
32843
  });
32079
32844
  };
32080
- export const offeringKeycloakGroupsList = (options) => {
32081
- return (options?.client ?? _heyApiClient).get({
32082
- security: [
32083
- {
32084
- name: 'Authorization',
32085
- type: 'apiKey'
32086
- },
32087
- {
32088
- scheme: 'bearer',
32089
- type: 'http'
32090
- },
32091
- {
32092
- scheme: 'bearer',
32093
- type: 'http'
32094
- }
32095
- ],
32096
- url: '/api/offering-keycloak-groups/',
32097
- ...options
32098
- });
32099
- };
32100
- /**
32101
- * Get number of items in the collection matching the request parameters.
32102
- */
32103
- export const offeringKeycloakGroupsCount = (options) => {
32104
- return (options?.client ?? _heyApiClient).head({
32105
- security: [
32106
- {
32107
- name: 'Authorization',
32108
- type: 'apiKey'
32109
- },
32110
- {
32111
- scheme: 'bearer',
32112
- type: 'http'
32113
- },
32114
- {
32115
- scheme: 'bearer',
32116
- type: 'http'
32117
- }
32118
- ],
32119
- url: '/api/offering-keycloak-groups/',
32120
- ...options
32121
- });
32122
- };
32123
- export const offeringKeycloakGroupsDestroy = (options) => {
32124
- return (options.client ?? _heyApiClient).delete({
32125
- security: [
32126
- {
32127
- name: 'Authorization',
32128
- type: 'apiKey'
32129
- },
32130
- {
32131
- scheme: 'bearer',
32132
- type: 'http'
32133
- },
32134
- {
32135
- scheme: 'bearer',
32136
- type: 'http'
32137
- }
32138
- ],
32139
- url: '/api/offering-keycloak-groups/{uuid}/',
32140
- ...options
32141
- });
32142
- };
32143
- export const offeringKeycloakGroupsRetrieve = (options) => {
32144
- return (options.client ?? _heyApiClient).get({
32145
- security: [
32146
- {
32147
- name: 'Authorization',
32148
- type: 'apiKey'
32149
- },
32150
- {
32151
- scheme: 'bearer',
32152
- type: 'http'
32153
- },
32154
- {
32155
- scheme: 'bearer',
32156
- type: 'http'
32157
- }
32158
- ],
32159
- url: '/api/offering-keycloak-groups/{uuid}/',
32160
- ...options
32161
- });
32162
- };
32163
- /**
32164
- * Pull members from Keycloak for a group
32165
- */
32166
- export const offeringKeycloakGroupsPullMembers = (options) => {
32167
- return (options.client ?? _heyApiClient).post({
32168
- security: [
32169
- {
32170
- name: 'Authorization',
32171
- type: 'apiKey'
32172
- },
32173
- {
32174
- scheme: 'bearer',
32175
- type: 'http'
32176
- },
32177
- {
32178
- scheme: 'bearer',
32179
- type: 'http'
32180
- }
32181
- ],
32182
- url: '/api/offering-keycloak-groups/{uuid}/pull_members/',
32183
- ...options
32184
- });
32185
- };
32186
- /**
32187
- * Set or unlink the backend_id (remote Keycloak group ID) for a local group
32188
- */
32189
- export const offeringKeycloakGroupsSetBackendId = (options) => {
32190
- return (options.client ?? _heyApiClient).post({
32191
- security: [
32192
- {
32193
- name: 'Authorization',
32194
- type: 'apiKey'
32195
- },
32196
- {
32197
- scheme: 'bearer',
32198
- type: 'http'
32199
- },
32200
- {
32201
- scheme: 'bearer',
32202
- type: 'http'
32203
- }
32204
- ],
32205
- url: '/api/offering-keycloak-groups/{uuid}/set_backend_id/',
32206
- ...options,
32207
- headers: {
32208
- 'Content-Type': 'application/json',
32209
- ...options.headers
32210
- }
32211
- });
32212
- };
32213
- /**
32214
- * Import a remote Keycloak group as a local OfferingKeycloakGroup
32215
- */
32216
- export const offeringKeycloakGroupsImportRemote = (options) => {
32217
- return (options.client ?? _heyApiClient).post({
32218
- security: [
32219
- {
32220
- name: 'Authorization',
32221
- type: 'apiKey'
32222
- },
32223
- {
32224
- scheme: 'bearer',
32225
- type: 'http'
32226
- },
32227
- {
32228
- scheme: 'bearer',
32229
- type: 'http'
32230
- }
32231
- ],
32232
- url: '/api/offering-keycloak-groups/import_remote/',
32233
- ...options,
32234
- headers: {
32235
- 'Content-Type': 'application/json',
32236
- ...options.headers
32237
- }
32238
- });
32239
- };
32240
- /**
32241
- * List members of a remote Keycloak group
32242
- */
32243
- export const offeringKeycloakGroupsRemoteGroupMembersList = (options) => {
32244
- return (options.client ?? _heyApiClient).get({
32245
- security: [
32246
- {
32247
- name: 'Authorization',
32248
- type: 'apiKey'
32249
- },
32250
- {
32251
- scheme: 'bearer',
32252
- type: 'http'
32253
- },
32254
- {
32255
- scheme: 'bearer',
32256
- type: 'http'
32257
- }
32258
- ],
32259
- url: '/api/offering-keycloak-groups/remote_group_members/',
32260
- ...options
32261
- });
32262
- };
32263
- /**
32264
- * List members of a remote Keycloak group
32265
- * Get number of items in the collection matching the request parameters.
32266
- */
32267
- export const offeringKeycloakGroupsRemoteGroupMembersCount = (options) => {
32268
- return (options.client ?? _heyApiClient).head({
32269
- security: [
32270
- {
32271
- name: 'Authorization',
32272
- type: 'apiKey'
32273
- },
32274
- {
32275
- scheme: 'bearer',
32276
- type: 'http'
32277
- },
32278
- {
32279
- scheme: 'bearer',
32280
- type: 'http'
32281
- }
32282
- ],
32283
- url: '/api/offering-keycloak-groups/remote_group_members/',
32284
- ...options
32285
- });
32286
- };
32287
- /**
32288
- * List remote Keycloak groups for an offering
32289
- */
32290
- export const offeringKeycloakGroupsRemoteGroupsList = (options) => {
32291
- return (options.client ?? _heyApiClient).get({
32292
- security: [
32293
- {
32294
- name: 'Authorization',
32295
- type: 'apiKey'
32296
- },
32297
- {
32298
- scheme: 'bearer',
32299
- type: 'http'
32300
- },
32301
- {
32302
- scheme: 'bearer',
32303
- type: 'http'
32304
- }
32305
- ],
32306
- url: '/api/offering-keycloak-groups/remote_groups/',
32307
- ...options
32308
- });
32309
- };
32310
- /**
32311
- * List remote Keycloak groups for an offering
32312
- * Get number of items in the collection matching the request parameters.
32313
- */
32314
- export const offeringKeycloakGroupsRemoteGroupsCount = (options) => {
32315
- return (options.client ?? _heyApiClient).head({
32316
- security: [
32317
- {
32318
- name: 'Authorization',
32319
- type: 'apiKey'
32320
- },
32321
- {
32322
- scheme: 'bearer',
32323
- type: 'http'
32324
- },
32325
- {
32326
- scheme: 'bearer',
32327
- type: 'http'
32328
- }
32329
- ],
32330
- url: '/api/offering-keycloak-groups/remote_groups/',
32331
- ...options
32332
- });
32333
- };
32334
- /**
32335
- * Search for users in remote Keycloak instance
32336
- */
32337
- export const offeringKeycloakGroupsSearchRemoteUsersList = (options) => {
32338
- return (options.client ?? _heyApiClient).get({
32339
- security: [
32340
- {
32341
- name: 'Authorization',
32342
- type: 'apiKey'
32343
- },
32344
- {
32345
- scheme: 'bearer',
32346
- type: 'http'
32347
- },
32348
- {
32349
- scheme: 'bearer',
32350
- type: 'http'
32351
- }
32352
- ],
32353
- url: '/api/offering-keycloak-groups/search_remote_users/',
32354
- ...options
32355
- });
32356
- };
32357
- /**
32358
- * Search for users in remote Keycloak instance
32359
- * Get number of items in the collection matching the request parameters.
32360
- */
32361
- export const offeringKeycloakGroupsSearchRemoteUsersCount = (options) => {
32362
- return (options.client ?? _heyApiClient).head({
32363
- security: [
32364
- {
32365
- name: 'Authorization',
32366
- type: 'apiKey'
32367
- },
32368
- {
32369
- scheme: 'bearer',
32370
- type: 'http'
32371
- },
32372
- {
32373
- scheme: 'bearer',
32374
- type: 'http'
32375
- }
32376
- ],
32377
- url: '/api/offering-keycloak-groups/search_remote_users/',
32378
- ...options
32379
- });
32380
- };
32381
- /**
32382
- * Compare local and remote Keycloak group state
32383
- */
32384
- export const offeringKeycloakGroupsSyncStatusRetrieve = (options) => {
32385
- return (options.client ?? _heyApiClient).get({
32386
- security: [
32387
- {
32388
- name: 'Authorization',
32389
- type: 'apiKey'
32390
- },
32391
- {
32392
- scheme: 'bearer',
32393
- type: 'http'
32394
- },
32395
- {
32396
- scheme: 'bearer',
32397
- type: 'http'
32398
- }
32399
- ],
32400
- url: '/api/offering-keycloak-groups/sync_status/',
32401
- ...options
32402
- });
32403
- };
32404
- /**
32405
- * Compare local and remote Keycloak group state
32406
- * Get number of items in the collection matching the request parameters.
32407
- */
32408
- export const offeringKeycloakGroupsSyncStatusCount = (options) => {
32409
- return (options.client ?? _heyApiClient).head({
32410
- security: [
32411
- {
32412
- name: 'Authorization',
32413
- type: 'apiKey'
32414
- },
32415
- {
32416
- scheme: 'bearer',
32417
- type: 'http'
32418
- },
32419
- {
32420
- scheme: 'bearer',
32421
- type: 'http'
32422
- }
32423
- ],
32424
- url: '/api/offering-keycloak-groups/sync_status/',
32425
- ...options
32426
- });
32427
- };
32428
- /**
32429
- * Test Keycloak connection for an offering
32430
- */
32431
- export const offeringKeycloakGroupsTestConnection = (options) => {
32432
- return (options.client ?? _heyApiClient).post({
32433
- security: [
32434
- {
32435
- name: 'Authorization',
32436
- type: 'apiKey'
32437
- },
32438
- {
32439
- scheme: 'bearer',
32440
- type: 'http'
32441
- },
32442
- {
32443
- scheme: 'bearer',
32444
- type: 'http'
32445
- }
32446
- ],
32447
- url: '/api/offering-keycloak-groups/test_connection/',
32448
- ...options,
32449
- headers: {
32450
- 'Content-Type': 'application/json',
32451
- ...options.headers
32452
- }
32453
- });
32454
- };
32455
- export const offeringKeycloakMembershipsList = (options) => {
32456
- return (options?.client ?? _heyApiClient).get({
32457
- security: [
32458
- {
32459
- name: 'Authorization',
32460
- type: 'apiKey'
32461
- },
32462
- {
32463
- scheme: 'bearer',
32464
- type: 'http'
32465
- },
32466
- {
32467
- scheme: 'bearer',
32468
- type: 'http'
32469
- }
32470
- ],
32471
- url: '/api/offering-keycloak-memberships/',
32472
- ...options
32473
- });
32474
- };
32475
- /**
32476
- * Get number of items in the collection matching the request parameters.
32477
- */
32478
- export const offeringKeycloakMembershipsCount = (options) => {
32479
- return (options?.client ?? _heyApiClient).head({
32480
- security: [
32481
- {
32482
- name: 'Authorization',
32483
- type: 'apiKey'
32484
- },
32485
- {
32486
- scheme: 'bearer',
32487
- type: 'http'
32488
- },
32489
- {
32490
- scheme: 'bearer',
32491
- type: 'http'
32492
- }
32493
- ],
32494
- url: '/api/offering-keycloak-memberships/',
32495
- ...options
32496
- });
32497
- };
32498
- export const offeringKeycloakMembershipsCreate = (options) => {
32499
- return (options.client ?? _heyApiClient).post({
32500
- security: [
32501
- {
32502
- name: 'Authorization',
32503
- type: 'apiKey'
32504
- },
32505
- {
32506
- scheme: 'bearer',
32507
- type: 'http'
32508
- },
32509
- {
32510
- scheme: 'bearer',
32511
- type: 'http'
32512
- }
32513
- ],
32514
- url: '/api/offering-keycloak-memberships/',
32515
- ...options,
32516
- headers: {
32517
- 'Content-Type': 'application/json',
32518
- ...options.headers
32519
- }
32520
- });
32521
- };
32522
- export const offeringKeycloakMembershipsDestroy = (options) => {
32523
- return (options.client ?? _heyApiClient).delete({
32524
- security: [
32525
- {
32526
- name: 'Authorization',
32527
- type: 'apiKey'
32528
- },
32529
- {
32530
- scheme: 'bearer',
32531
- type: 'http'
32532
- },
32533
- {
32534
- scheme: 'bearer',
32535
- type: 'http'
32536
- }
32537
- ],
32538
- url: '/api/offering-keycloak-memberships/{uuid}/',
32539
- ...options
32540
- });
32541
- };
32542
- export const offeringKeycloakMembershipsRetrieve = (options) => {
32543
- return (options.client ?? _heyApiClient).get({
32544
- security: [
32545
- {
32546
- name: 'Authorization',
32547
- type: 'apiKey'
32548
- },
32549
- {
32550
- scheme: 'bearer',
32551
- type: 'http'
32552
- },
32553
- {
32554
- scheme: 'bearer',
32555
- type: 'http'
32556
- }
32557
- ],
32558
- url: '/api/offering-keycloak-memberships/{uuid}/',
32559
- ...options
32560
- });
32561
- };
32562
32845
  export const onboardingJustificationsList = (options) => {
32563
32846
  return (options?.client ?? _heyApiClient).get({
32564
32847
  security: [
@@ -52039,6 +52322,89 @@ export const reviewerSuggestionsReject = (options) => {
52039
52322
  }
52040
52323
  });
52041
52324
  };
52325
+ export const roleAvailabilitiesList = (options) => {
52326
+ return (options?.client ?? _heyApiClient).get({
52327
+ security: [
52328
+ {
52329
+ name: 'Authorization',
52330
+ type: 'apiKey'
52331
+ },
52332
+ {
52333
+ scheme: 'bearer',
52334
+ type: 'http'
52335
+ },
52336
+ {
52337
+ scheme: 'bearer',
52338
+ type: 'http'
52339
+ }
52340
+ ],
52341
+ url: '/api/role-availabilities/',
52342
+ ...options
52343
+ });
52344
+ };
52345
+ /**
52346
+ * Get number of items in the collection matching the request parameters.
52347
+ */
52348
+ export const roleAvailabilitiesCount = (options) => {
52349
+ return (options?.client ?? _heyApiClient).head({
52350
+ security: [
52351
+ {
52352
+ name: 'Authorization',
52353
+ type: 'apiKey'
52354
+ },
52355
+ {
52356
+ scheme: 'bearer',
52357
+ type: 'http'
52358
+ },
52359
+ {
52360
+ scheme: 'bearer',
52361
+ type: 'http'
52362
+ }
52363
+ ],
52364
+ url: '/api/role-availabilities/',
52365
+ ...options
52366
+ });
52367
+ };
52368
+ export const roleAvailabilitiesDestroy = (options) => {
52369
+ return (options.client ?? _heyApiClient).delete({
52370
+ security: [
52371
+ {
52372
+ name: 'Authorization',
52373
+ type: 'apiKey'
52374
+ },
52375
+ {
52376
+ scheme: 'bearer',
52377
+ type: 'http'
52378
+ },
52379
+ {
52380
+ scheme: 'bearer',
52381
+ type: 'http'
52382
+ }
52383
+ ],
52384
+ url: '/api/role-availabilities/{uuid}/',
52385
+ ...options
52386
+ });
52387
+ };
52388
+ export const roleAvailabilitiesRetrieve = (options) => {
52389
+ return (options.client ?? _heyApiClient).get({
52390
+ security: [
52391
+ {
52392
+ name: 'Authorization',
52393
+ type: 'apiKey'
52394
+ },
52395
+ {
52396
+ scheme: 'bearer',
52397
+ type: 'http'
52398
+ },
52399
+ {
52400
+ scheme: 'bearer',
52401
+ type: 'http'
52402
+ }
52403
+ ],
52404
+ url: '/api/role-availabilities/{uuid}/',
52405
+ ...options
52406
+ });
52407
+ };
52042
52408
  /**
52043
52409
  * List roles
52044
52410
  * Get a list of all available roles.
@@ -54587,11 +54953,7 @@ export const supportRequestTypesAdminActivate = (options) => {
54587
54953
  }
54588
54954
  ],
54589
54955
  url: '/api/support-request-types-admin/{uuid}/activate/',
54590
- ...options,
54591
- headers: {
54592
- 'Content-Type': 'application/json',
54593
- ...options.headers
54594
- }
54956
+ ...options
54595
54957
  });
54596
54958
  };
54597
54959
  /**
@@ -54614,11 +54976,7 @@ export const supportRequestTypesAdminDeactivate = (options) => {
54614
54976
  }
54615
54977
  ],
54616
54978
  url: '/api/support-request-types-admin/{uuid}/deactivate/',
54617
- ...options,
54618
- headers: {
54619
- 'Content-Type': 'application/json',
54620
- ...options.headers
54621
- }
54979
+ ...options
54622
54980
  });
54623
54981
  };
54624
54982
  /**