waldur-js-client 8.0.10-dev.2 → 8.0.10-dev.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/sdk.gen.js CHANGED
@@ -3429,6 +3429,19 @@ export const callManagingOrganisationsListUsersList = (options) => (options.clie
3429
3429
  url: '/api/call-managing-organisations/{uuid}/list_users/',
3430
3430
  ...options
3431
3431
  });
3432
+ /**
3433
+ * List users and their roles in a scope
3434
+ *
3435
+ * Get number of items in the collection matching the request parameters.
3436
+ */
3437
+ export const callManagingOrganisationsListUsersCount = (options) => (options.client ?? client).head({
3438
+ security: [
3439
+ { name: 'Authorization', type: 'apiKey' },
3440
+ { scheme: 'bearer', type: 'http' }
3441
+ ],
3442
+ url: '/api/call-managing-organisations/{uuid}/list_users/',
3443
+ ...options
3444
+ });
3432
3445
  /**
3433
3446
  * Return statistics for call managing organisation.
3434
3447
  */
@@ -4598,6 +4611,126 @@ export const conflictsOfInterestWaive = (options) => (options.client ?? client).
4598
4611
  ...options.headers
4599
4612
  }
4600
4613
  });
4614
+ export const creditTransactionsList = (options) => (options?.client ?? client).get({
4615
+ security: [
4616
+ { name: 'Authorization', type: 'apiKey' },
4617
+ { scheme: 'bearer', type: 'http' }
4618
+ ],
4619
+ url: '/api/credit-transactions/',
4620
+ ...options
4621
+ });
4622
+ /**
4623
+ * Get number of items in the collection matching the request parameters.
4624
+ */
4625
+ export const creditTransactionsCount = (options) => (options?.client ?? client).head({
4626
+ security: [
4627
+ { name: 'Authorization', type: 'apiKey' },
4628
+ { scheme: 'bearer', type: 'http' }
4629
+ ],
4630
+ url: '/api/credit-transactions/',
4631
+ ...options
4632
+ });
4633
+ export const creditTransactionsRetrieve = (options) => (options.client ?? client).get({
4634
+ security: [
4635
+ { name: 'Authorization', type: 'apiKey' },
4636
+ { scheme: 'bearer', type: 'http' }
4637
+ ],
4638
+ url: '/api/credit-transactions/{uuid}/',
4639
+ ...options
4640
+ });
4641
+ export const customerAffiliatesList = (options) => (options?.client ?? client).get({
4642
+ security: [
4643
+ { name: 'Authorization', type: 'apiKey' },
4644
+ { scheme: 'bearer', type: 'http' }
4645
+ ],
4646
+ url: '/api/customer-affiliates/',
4647
+ ...options
4648
+ });
4649
+ /**
4650
+ * Get number of items in the collection matching the request parameters.
4651
+ */
4652
+ export const customerAffiliatesCount = (options) => (options?.client ?? client).head({
4653
+ security: [
4654
+ { name: 'Authorization', type: 'apiKey' },
4655
+ { scheme: 'bearer', type: 'http' }
4656
+ ],
4657
+ url: '/api/customer-affiliates/',
4658
+ ...options
4659
+ });
4660
+ export const customerAffiliatesCreate = (options) => (options.client ?? client).post({
4661
+ security: [
4662
+ { name: 'Authorization', type: 'apiKey' },
4663
+ { scheme: 'bearer', type: 'http' }
4664
+ ],
4665
+ url: '/api/customer-affiliates/',
4666
+ ...options,
4667
+ headers: {
4668
+ 'Content-Type': 'application/json',
4669
+ ...options.headers
4670
+ }
4671
+ });
4672
+ export const customerAffiliatesDestroy = (options) => (options.client ?? client).delete({
4673
+ security: [
4674
+ { name: 'Authorization', type: 'apiKey' },
4675
+ { scheme: 'bearer', type: 'http' }
4676
+ ],
4677
+ url: '/api/customer-affiliates/{uuid}/',
4678
+ ...options
4679
+ });
4680
+ export const customerAffiliatesRetrieve = (options) => (options.client ?? client).get({
4681
+ security: [
4682
+ { name: 'Authorization', type: 'apiKey' },
4683
+ { scheme: 'bearer', type: 'http' }
4684
+ ],
4685
+ url: '/api/customer-affiliates/{uuid}/',
4686
+ ...options
4687
+ });
4688
+ export const customerAffiliatesPartialUpdate = (options) => (options.client ?? client).patch({
4689
+ security: [
4690
+ { name: 'Authorization', type: 'apiKey' },
4691
+ { scheme: 'bearer', type: 'http' }
4692
+ ],
4693
+ url: '/api/customer-affiliates/{uuid}/',
4694
+ ...options,
4695
+ headers: {
4696
+ 'Content-Type': 'application/json',
4697
+ ...options.headers
4698
+ }
4699
+ });
4700
+ export const customerAffiliatesUpdate = (options) => (options.client ?? client).put({
4701
+ security: [
4702
+ { name: 'Authorization', type: 'apiKey' },
4703
+ { scheme: 'bearer', type: 'http' }
4704
+ ],
4705
+ url: '/api/customer-affiliates/{uuid}/',
4706
+ ...options,
4707
+ headers: {
4708
+ 'Content-Type': 'application/json',
4709
+ ...options.headers
4710
+ }
4711
+ });
4712
+ /**
4713
+ * List fees accrued from this affiliate link. Exposes the fee amount and invoice period only — never the referred customer's invoice contents.
4714
+ */
4715
+ export const customerAffiliatesAccrualsList = (options) => (options.client ?? client).get({
4716
+ security: [
4717
+ { name: 'Authorization', type: 'apiKey' },
4718
+ { scheme: 'bearer', type: 'http' }
4719
+ ],
4720
+ url: '/api/customer-affiliates/{uuid}/accruals/',
4721
+ ...options
4722
+ });
4723
+ /**
4724
+ * Earnings summary of this affiliate link: lifetime total, per-month series and the affiliate organization's withdrawable credit balance.
4725
+ */
4726
+ export const customerAffiliatesEarningsRetrieve = (options) => (options.client ?? client).get({
4727
+ security: [
4728
+ { name: 'Authorization', type: 'apiKey' },
4729
+ { scheme: 'bearer', type: 'http' }
4730
+ ],
4731
+ url: '/api/customer-affiliates/{uuid}/earnings/',
4732
+ ...options
4733
+ });
4601
4734
  export const customerCreditsList = (options) => (options?.client ?? client).get({
4602
4735
  security: [
4603
4736
  { name: 'Authorization', type: 'apiKey' },
@@ -4669,6 +4802,21 @@ export const customerCreditsUpdate = (options) => (options.client ?? client).put
4669
4802
  ...options.headers
4670
4803
  }
4671
4804
  });
4805
+ /**
4806
+ * Staff adjustment of the withdrawable part of the credit. Records a signed ledger entry with a comment and changes the credit value by the same amount.
4807
+ */
4808
+ export const customerCreditsAdjustWithdrawable = (options) => (options.client ?? client).post({
4809
+ security: [
4810
+ { name: 'Authorization', type: 'apiKey' },
4811
+ { scheme: 'bearer', type: 'http' }
4812
+ ],
4813
+ url: '/api/customer-credits/{uuid}/adjust_withdrawable/',
4814
+ ...options,
4815
+ headers: {
4816
+ 'Content-Type': 'application/json',
4817
+ ...options.headers
4818
+ }
4819
+ });
4672
4820
  export const customerCreditsApplyCompensations = (options) => (options.client ?? client).post({
4673
4821
  security: [
4674
4822
  { name: 'Authorization', type: 'apiKey' },
@@ -4812,6 +4960,19 @@ export const customersProjectMetadataComplianceDetailsList = (options) => (optio
4812
4960
  url: '/api/customers/{customer_uuid}/project-metadata-compliance-details/',
4813
4961
  ...options
4814
4962
  });
4963
+ /**
4964
+ * Get detailed project metadata compliance
4965
+ *
4966
+ * Get number of items in the collection matching the request parameters.
4967
+ */
4968
+ export const customersProjectMetadataComplianceDetailsCount = (options) => (options.client ?? client).head({
4969
+ security: [
4970
+ { name: 'Authorization', type: 'apiKey' },
4971
+ { scheme: 'bearer', type: 'http' }
4972
+ ],
4973
+ url: '/api/customers/{customer_uuid}/project-metadata-compliance-details/',
4974
+ ...options
4975
+ });
4815
4976
  /**
4816
4977
  * Get project metadata compliance overview
4817
4978
  *
@@ -4825,6 +4986,19 @@ export const customersProjectMetadataComplianceOverviewList = (options) => (opti
4825
4986
  url: '/api/customers/{customer_uuid}/project-metadata-compliance-overview/',
4826
4987
  ...options
4827
4988
  });
4989
+ /**
4990
+ * Get project metadata compliance overview
4991
+ *
4992
+ * Get number of items in the collection matching the request parameters.
4993
+ */
4994
+ export const customersProjectMetadataComplianceOverviewCount = (options) => (options.client ?? client).head({
4995
+ security: [
4996
+ { name: 'Authorization', type: 'apiKey' },
4997
+ { scheme: 'bearer', type: 'http' }
4998
+ ],
4999
+ url: '/api/customers/{customer_uuid}/project-metadata-compliance-overview/',
5000
+ ...options
5001
+ });
4828
5002
  /**
4829
5003
  * List projects with compliance data
4830
5004
  *
@@ -4838,6 +5012,19 @@ export const customersProjectMetadataComplianceProjectsList = (options) => (opti
4838
5012
  url: '/api/customers/{customer_uuid}/project-metadata-compliance-projects/',
4839
5013
  ...options
4840
5014
  });
5015
+ /**
5016
+ * List projects with compliance data
5017
+ *
5018
+ * Get number of items in the collection matching the request parameters.
5019
+ */
5020
+ export const customersProjectMetadataComplianceProjectsCount = (options) => (options.client ?? client).head({
5021
+ security: [
5022
+ { name: 'Authorization', type: 'apiKey' },
5023
+ { scheme: 'bearer', type: 'http' }
5024
+ ],
5025
+ url: '/api/customers/{customer_uuid}/project-metadata-compliance-projects/',
5026
+ ...options
5027
+ });
4841
5028
  /**
4842
5029
  * List questions with project answers
4843
5030
  *
@@ -4851,6 +5038,19 @@ export const customersProjectMetadataQuestionAnswersList = (options) => (options
4851
5038
  url: '/api/customers/{customer_uuid}/project-metadata-question-answers/',
4852
5039
  ...options
4853
5040
  });
5041
+ /**
5042
+ * List questions with project answers
5043
+ *
5044
+ * Get number of items in the collection matching the request parameters.
5045
+ */
5046
+ export const customersProjectMetadataQuestionAnswersCount = (options) => (options.client ?? client).head({
5047
+ security: [
5048
+ { name: 'Authorization', type: 'apiKey' },
5049
+ { scheme: 'bearer', type: 'http' }
5050
+ ],
5051
+ url: '/api/customers/{customer_uuid}/project-metadata-question-answers/',
5052
+ ...options
5053
+ });
4854
5054
  /**
4855
5055
  * List users of a customer
4856
5056
  *
@@ -4864,6 +5064,19 @@ export const customersUsersList = (options) => (options.client ?? client).get({
4864
5064
  url: '/api/customers/{customer_uuid}/users/',
4865
5065
  ...options
4866
5066
  });
5067
+ /**
5068
+ * List users of a customer
5069
+ *
5070
+ * Get number of items in the collection matching the request parameters.
5071
+ */
5072
+ export const customersUsersCount = (options) => (options.client ?? client).head({
5073
+ security: [
5074
+ { name: 'Authorization', type: 'apiKey' },
5075
+ { scheme: 'bearer', type: 'http' }
5076
+ ],
5077
+ url: '/api/customers/{customer_uuid}/users/',
5078
+ ...options
5079
+ });
4867
5080
  /**
4868
5081
  * Delete a customer
4869
5082
  *
@@ -5014,6 +5227,19 @@ export const customersListUsersList = (options) => (options.client ?? client).ge
5014
5227
  url: '/api/customers/{uuid}/list_users/',
5015
5228
  ...options
5016
5229
  });
5230
+ /**
5231
+ * List users and their roles in a scope
5232
+ *
5233
+ * Get number of items in the collection matching the request parameters.
5234
+ */
5235
+ export const customersListUsersCount = (options) => (options.client ?? client).head({
5236
+ security: [
5237
+ { name: 'Authorization', type: 'apiKey' },
5238
+ { scheme: 'bearer', type: 'http' }
5239
+ ],
5240
+ url: '/api/customers/{uuid}/list_users/',
5241
+ ...options
5242
+ });
5017
5243
  /**
5018
5244
  * Get project digest configuration
5019
5245
  *
@@ -10153,6 +10379,32 @@ export const marketplaceOfferingUsersCompletionStatusRetrieve = (options) => (op
10153
10379
  url: '/api/marketplace-offering-users/{uuid}/completion_status/',
10154
10380
  ...options
10155
10381
  });
10382
+ /**
10383
+ * List POSIX UID/GID allocations of an offering user
10384
+ *
10385
+ * Returns the user's POSIX identifiers (UID, primary GID) and, for each, the POSIX ID pool that tracks it. The pool fields are null when the value is not tracked by a pool.
10386
+ */
10387
+ export const marketplaceOfferingUsersPosixAllocationsList = (options) => (options.client ?? client).get({
10388
+ security: [
10389
+ { name: 'Authorization', type: 'apiKey' },
10390
+ { scheme: 'bearer', type: 'http' }
10391
+ ],
10392
+ url: '/api/marketplace-offering-users/{uuid}/posix_allocations/',
10393
+ ...options
10394
+ });
10395
+ /**
10396
+ * List project group GIDs an offering user belongs to
10397
+ *
10398
+ * Returns the project group GIDs (shared GIDs that appear in the user's GLAuth otherGroups) for this offering user.
10399
+ */
10400
+ export const marketplaceOfferingUsersPosixGroupsList = (options) => (options.client ?? client).get({
10401
+ security: [
10402
+ { name: 'Authorization', type: 'apiKey' },
10403
+ { scheme: 'bearer', type: 'http' }
10404
+ ],
10405
+ url: '/api/marketplace-offering-users/{uuid}/posix_groups/',
10406
+ ...options
10407
+ });
10156
10408
  /**
10157
10409
  * Request deletion of an offering user
10158
10410
  *
@@ -10265,6 +10517,23 @@ export const marketplaceOfferingUsersSetPendingAdditionalValidation = (options)
10265
10517
  ...options.headers
10266
10518
  }
10267
10519
  });
10520
+ /**
10521
+ * Set POSIX attributes for an offering user
10522
+ *
10523
+ * Override the login shell, home directory, UID and/or primary GID for a single offering user, taking precedence over the offering-level defaults / the range allocator. UID and primary GID re-point the allocation ledger; values outside every active range are accepted but reported in the response 'warnings'.
10524
+ */
10525
+ export const marketplaceOfferingUsersSetPosixAttributes = (options) => (options.client ?? client).post({
10526
+ security: [
10527
+ { name: 'Authorization', type: 'apiKey' },
10528
+ { scheme: 'bearer', type: 'http' }
10529
+ ],
10530
+ url: '/api/marketplace-offering-users/{uuid}/set_posix_attributes/',
10531
+ ...options,
10532
+ headers: {
10533
+ 'Content-Type': 'application/json',
10534
+ ...options.headers
10535
+ }
10536
+ });
10268
10537
  /**
10269
10538
  * Set state to Validation Complete
10270
10539
  *
@@ -10366,6 +10635,32 @@ export const marketplaceOfferingUsersChecklistTemplateCount = (options) => (opti
10366
10635
  url: '/api/marketplace-offering-users/checklist-template/',
10367
10636
  ...options
10368
10637
  });
10638
+ /**
10639
+ * List a user's POSIX identities across all their offerings
10640
+ *
10641
+ * Consolidated view of one user's POSIX identifiers (UID, primary GID and project group GIDs) across every offering they have an account on, each with the range it was allocated from. Scoped to the offering users the requester is allowed to see.
10642
+ */
10643
+ export const marketplaceOfferingUsersPosixIdentitiesList = (options) => (options.client ?? client).get({
10644
+ security: [
10645
+ { name: 'Authorization', type: 'apiKey' },
10646
+ { scheme: 'bearer', type: 'http' }
10647
+ ],
10648
+ url: '/api/marketplace-offering-users/posix_identities/',
10649
+ ...options
10650
+ });
10651
+ /**
10652
+ * List a user's POSIX identities across all their offerings
10653
+ *
10654
+ * Get number of items in the collection matching the request parameters.
10655
+ */
10656
+ export const marketplaceOfferingUsersPosixIdentitiesCount = (options) => (options.client ?? client).head({
10657
+ security: [
10658
+ { name: 'Authorization', type: 'apiKey' },
10659
+ { scheme: 'bearer', type: 'http' }
10660
+ ],
10661
+ url: '/api/marketplace-offering-users/posix_identities/',
10662
+ ...options
10663
+ });
10369
10664
  /**
10370
10665
  * Get profile field warnings
10371
10666
  *
@@ -10392,6 +10687,25 @@ export const marketplaceOfferingUsersProfileFieldWarningsCount = (options) => (o
10392
10687
  url: '/api/marketplace-offering-users/profile_field_warnings/',
10393
10688
  ...options
10394
10689
  });
10690
+ export const marketplaceOpenstackDuplicateOfferingsList = (options) => (options?.client ?? client).get({
10691
+ security: [
10692
+ { name: 'Authorization', type: 'apiKey' },
10693
+ { scheme: 'bearer', type: 'http' }
10694
+ ],
10695
+ url: '/api/marketplace-openstack-duplicate-offerings/',
10696
+ ...options
10697
+ });
10698
+ /**
10699
+ * Get number of items in the collection matching the request parameters.
10700
+ */
10701
+ export const marketplaceOpenstackDuplicateOfferingsCount = (options) => (options?.client ?? client).head({
10702
+ security: [
10703
+ { name: 'Authorization', type: 'apiKey' },
10704
+ { scheme: 'bearer', type: 'http' }
10705
+ ],
10706
+ url: '/api/marketplace-openstack-duplicate-offerings/',
10707
+ ...options
10708
+ });
10395
10709
  /**
10396
10710
  * List orders
10397
10711
  *
@@ -11050,7 +11364,116 @@ export const marketplacePlansUsageStatsCount = (options) => (options?.client ??
11050
11364
  *
11051
11365
  */
11052
11366
  export const marketplacePluginsList = (options) => (options?.client ?? client).get({ url: '/api/marketplace-plugins/', ...options });
11053
- export const marketplaceProjectEstimatedCostPoliciesList = (options) => (options?.client ?? client).get({
11367
+ export const marketplacePosixIdPoolsList = (options) => (options?.client ?? client).get({
11368
+ security: [
11369
+ { name: 'Authorization', type: 'apiKey' },
11370
+ { scheme: 'bearer', type: 'http' }
11371
+ ],
11372
+ url: '/api/marketplace-posix-id-pools/',
11373
+ ...options
11374
+ });
11375
+ /**
11376
+ * Get number of items in the collection matching the request parameters.
11377
+ */
11378
+ export const marketplacePosixIdPoolsCount = (options) => (options?.client ?? client).head({
11379
+ security: [
11380
+ { name: 'Authorization', type: 'apiKey' },
11381
+ { scheme: 'bearer', type: 'http' }
11382
+ ],
11383
+ url: '/api/marketplace-posix-id-pools/',
11384
+ ...options
11385
+ });
11386
+ export const marketplacePosixIdPoolsCreate = (options) => (options?.client ?? client).post({
11387
+ security: [
11388
+ { name: 'Authorization', type: 'apiKey' },
11389
+ { scheme: 'bearer', type: 'http' }
11390
+ ],
11391
+ url: '/api/marketplace-posix-id-pools/',
11392
+ ...options,
11393
+ headers: {
11394
+ 'Content-Type': 'application/json',
11395
+ ...options?.headers
11396
+ }
11397
+ });
11398
+ export const marketplacePosixIdPoolsDestroy = (options) => (options.client ?? client).delete({
11399
+ security: [
11400
+ { name: 'Authorization', type: 'apiKey' },
11401
+ { scheme: 'bearer', type: 'http' }
11402
+ ],
11403
+ url: '/api/marketplace-posix-id-pools/{uuid}/',
11404
+ ...options
11405
+ });
11406
+ export const marketplacePosixIdPoolsRetrieve = (options) => (options.client ?? client).get({
11407
+ security: [
11408
+ { name: 'Authorization', type: 'apiKey' },
11409
+ { scheme: 'bearer', type: 'http' }
11410
+ ],
11411
+ url: '/api/marketplace-posix-id-pools/{uuid}/',
11412
+ ...options
11413
+ });
11414
+ export const marketplacePosixIdPoolsPartialUpdate = (options) => (options.client ?? client).patch({
11415
+ security: [
11416
+ { name: 'Authorization', type: 'apiKey' },
11417
+ { scheme: 'bearer', type: 'http' }
11418
+ ],
11419
+ url: '/api/marketplace-posix-id-pools/{uuid}/',
11420
+ ...options,
11421
+ headers: {
11422
+ 'Content-Type': 'application/json',
11423
+ ...options.headers
11424
+ }
11425
+ });
11426
+ export const marketplacePosixIdPoolsUpdate = (options) => (options.client ?? client).put({
11427
+ security: [
11428
+ { name: 'Authorization', type: 'apiKey' },
11429
+ { scheme: 'bearer', type: 'http' }
11430
+ ],
11431
+ url: '/api/marketplace-posix-id-pools/{uuid}/',
11432
+ ...options,
11433
+ headers: {
11434
+ 'Content-Type': 'application/json',
11435
+ ...options.headers
11436
+ }
11437
+ });
11438
+ /**
11439
+ * Pool utilization statistics
11440
+ */
11441
+ export const marketplacePosixIdPoolsStatsRetrieve = (options) => (options.client ?? client).get({
11442
+ security: [
11443
+ { name: 'Authorization', type: 'apiKey' },
11444
+ { scheme: 'bearer', type: 'http' }
11445
+ ],
11446
+ url: '/api/marketplace-posix-id-pools/{uuid}/stats/',
11447
+ ...options
11448
+ });
11449
+ export const marketplacePosixIdentitiesList = (options) => (options?.client ?? client).get({
11450
+ security: [
11451
+ { name: 'Authorization', type: 'apiKey' },
11452
+ { scheme: 'bearer', type: 'http' }
11453
+ ],
11454
+ url: '/api/marketplace-posix-identities/',
11455
+ ...options
11456
+ });
11457
+ /**
11458
+ * Get number of items in the collection matching the request parameters.
11459
+ */
11460
+ export const marketplacePosixIdentitiesCount = (options) => (options?.client ?? client).head({
11461
+ security: [
11462
+ { name: 'Authorization', type: 'apiKey' },
11463
+ { scheme: 'bearer', type: 'http' }
11464
+ ],
11465
+ url: '/api/marketplace-posix-identities/',
11466
+ ...options
11467
+ });
11468
+ export const marketplacePosixIdentitiesRetrieve = (options) => (options.client ?? client).get({
11469
+ security: [
11470
+ { name: 'Authorization', type: 'apiKey' },
11471
+ { scheme: 'bearer', type: 'http' }
11472
+ ],
11473
+ url: '/api/marketplace-posix-identities/{uuid}/',
11474
+ ...options
11475
+ });
11476
+ export const marketplaceProjectEstimatedCostPoliciesList = (options) => (options?.client ?? client).get({
11054
11477
  security: [
11055
11478
  { name: 'Authorization', type: 'apiKey' },
11056
11479
  { scheme: 'bearer', type: 'http' }
@@ -11211,6 +11634,32 @@ export const marketplaceProjectOrderAutoApprovalsUpdate = (options) => (options.
11211
11634
  ...options.headers
11212
11635
  }
11213
11636
  });
11637
+ /**
11638
+ * List POSIX group GIDs assigned to a project
11639
+ *
11640
+ * Returns every POSIX group GID a project has been assigned, across all offerings: project-mapped groups (project_group_gid) and resource / resource-project role groups (role_group_gid). The project_uuid query parameter is required.
11641
+ */
11642
+ export const marketplaceProjectPosixGroupsList = (options) => (options.client ?? client).get({
11643
+ security: [
11644
+ { name: 'Authorization', type: 'apiKey' },
11645
+ { scheme: 'bearer', type: 'http' }
11646
+ ],
11647
+ url: '/api/marketplace-project-posix-groups/',
11648
+ ...options
11649
+ });
11650
+ /**
11651
+ * List POSIX group GIDs assigned to a project
11652
+ *
11653
+ * Get number of items in the collection matching the request parameters.
11654
+ */
11655
+ export const marketplaceProjectPosixGroupsCount = (options) => (options.client ?? client).head({
11656
+ security: [
11657
+ { name: 'Authorization', type: 'apiKey' },
11658
+ { scheme: 'bearer', type: 'http' }
11659
+ ],
11660
+ url: '/api/marketplace-project-posix-groups/',
11661
+ ...options
11662
+ });
11214
11663
  /**
11215
11664
  * List service accounts
11216
11665
  */
@@ -11750,6 +12199,19 @@ export const marketplaceProviderOfferingsDraft = (options) => (options.client ??
11750
12199
  url: '/api/marketplace-provider-offerings/{uuid}/draft/',
11751
12200
  ...options
11752
12201
  });
12202
+ /**
12203
+ * Effective POSIX ID pool
12204
+ *
12205
+ * The POSIX ID pool that governs this offering: its own override pool if present, otherwise the service provider's default pool. Returns null when no pool is configured.
12206
+ */
12207
+ export const marketplaceProviderOfferingsEffectivePosixIdPoolRetrieve = (options) => (options.client ?? client).get({
12208
+ security: [
12209
+ { name: 'Authorization', type: 'apiKey' },
12210
+ { scheme: 'bearer', type: 'http' }
12211
+ ],
12212
+ url: '/api/marketplace-provider-offerings/{uuid}/effective_posix_id_pool/',
12213
+ ...options
12214
+ });
11753
12215
  /**
11754
12216
  * Export offering data
11755
12217
  *
@@ -11943,6 +12405,19 @@ export const marketplaceProviderOfferingsListUsersList = (options) => (options.c
11943
12405
  url: '/api/marketplace-provider-offerings/{uuid}/list_users/',
11944
12406
  ...options
11945
12407
  });
12408
+ /**
12409
+ * List users and their roles in a scope
12410
+ *
12411
+ * Get number of items in the collection matching the request parameters.
12412
+ */
12413
+ export const marketplaceProviderOfferingsListUsersCount = (options) => (options.client ?? client).head({
12414
+ security: [
12415
+ { name: 'Authorization', type: 'apiKey' },
12416
+ { scheme: 'bearer', type: 'http' }
12417
+ ],
12418
+ url: '/api/marketplace-provider-offerings/{uuid}/list_users/',
12419
+ ...options
12420
+ });
11946
12421
  /**
11947
12422
  * Mark an offering as available
11948
12423
  *
@@ -12780,6 +13255,19 @@ export const marketplaceProviderResourceProjectsListUsersList = (options) => (op
12780
13255
  url: '/api/marketplace-provider-resource-projects/{uuid}/list_users/',
12781
13256
  ...options
12782
13257
  });
13258
+ /**
13259
+ * List users and their roles in a scope
13260
+ *
13261
+ * Get number of items in the collection matching the request parameters.
13262
+ */
13263
+ export const marketplaceProviderResourceProjectsListUsersCount = (options) => (options.client ?? client).head({
13264
+ security: [
13265
+ { name: 'Authorization', type: 'apiKey' },
13266
+ { scheme: 'bearer', type: 'http' }
13267
+ ],
13268
+ url: '/api/marketplace-provider-resource-projects/{uuid}/list_users/',
13269
+ ...options
13270
+ });
12783
13271
  export const marketplaceProviderResourceProjectsSetBackendId = (options) => (options.client ?? client).post({
12784
13272
  security: [
12785
13273
  { name: 'Authorization', type: 'apiKey' },
@@ -13034,6 +13522,19 @@ export const marketplaceProviderResourcesListUsersList = (options) => (options.c
13034
13522
  url: '/api/marketplace-provider-resources/{uuid}/list_users/',
13035
13523
  ...options
13036
13524
  });
13525
+ /**
13526
+ * List users and their roles in a scope
13527
+ *
13528
+ * Get number of items in the collection matching the request parameters.
13529
+ */
13530
+ export const marketplaceProviderResourcesListUsersCount = (options) => (options.client ?? client).head({
13531
+ security: [
13532
+ { name: 'Authorization', type: 'apiKey' },
13533
+ { scheme: 'bearer', type: 'http' }
13534
+ ],
13535
+ url: '/api/marketplace-provider-resources/{uuid}/list_users/',
13536
+ ...options
13537
+ });
13037
13538
  /**
13038
13539
  * Move a resource to another project
13039
13540
  *
@@ -13898,6 +14399,19 @@ export const marketplaceResourceProjectsListUsersList = (options) => (options.cl
13898
14399
  url: '/api/marketplace-resource-projects/{uuid}/list_users/',
13899
14400
  ...options
13900
14401
  });
14402
+ /**
14403
+ * List users and their roles in a scope
14404
+ *
14405
+ * Get number of items in the collection matching the request parameters.
14406
+ */
14407
+ export const marketplaceResourceProjectsListUsersCount = (options) => (options.client ?? client).head({
14408
+ security: [
14409
+ { name: 'Authorization', type: 'apiKey' },
14410
+ { scheme: 'bearer', type: 'http' }
14411
+ ],
14412
+ url: '/api/marketplace-resource-projects/{uuid}/list_users/',
14413
+ ...options
14414
+ });
13901
14415
  /**
13902
14416
  * Recover a soft-deleted resource project
13903
14417
  *
@@ -14152,6 +14666,19 @@ export const marketplaceResourcesListUsersList = (options) => (options.client ??
14152
14666
  url: '/api/marketplace-resources/{uuid}/list_users/',
14153
14667
  ...options
14154
14668
  });
14669
+ /**
14670
+ * List users and their roles in a scope
14671
+ *
14672
+ * Get number of items in the collection matching the request parameters.
14673
+ */
14674
+ export const marketplaceResourcesListUsersCount = (options) => (options.client ?? client).head({
14675
+ security: [
14676
+ { name: 'Authorization', type: 'apiKey' },
14677
+ { scheme: 'bearer', type: 'http' }
14678
+ ],
14679
+ url: '/api/marketplace-resources/{uuid}/list_users/',
14680
+ ...options
14681
+ });
14155
14682
  /**
14156
14683
  * Move a resource to another project
14157
14684
  *
@@ -14994,103 +15521,201 @@ export const marketplaceServiceProvidersCreate = (options) => (options.client ??
14994
15521
  *
14995
15522
  * Returns a summary of all compliance checklists used by this service provider with usage counts.
14996
15523
  */
14997
- export const serviceProviderChecklistsSummary = (options) => (options.client ?? client).get({
15524
+ export const serviceProviderChecklistsSummary = (options) => (options.client ?? client).get({
15525
+ security: [
15526
+ { name: 'Authorization', type: 'apiKey' },
15527
+ { scheme: 'bearer', type: 'http' }
15528
+ ],
15529
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/compliance/checklists_summary/',
15530
+ ...options
15531
+ });
15532
+ /**
15533
+ * Get number of items in the collection matching the request parameters.
15534
+ */
15535
+ export const marketplaceServiceProvidersComplianceChecklistsSummaryCount = (options) => (options.client ?? client).head({
15536
+ security: [
15537
+ { name: 'Authorization', type: 'apiKey' },
15538
+ { scheme: 'bearer', type: 'http' }
15539
+ ],
15540
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/compliance/checklists_summary/',
15541
+ ...options
15542
+ });
15543
+ /**
15544
+ * Get compliance overview for a service provider
15545
+ *
15546
+ * Returns compliance overview statistics for all offerings managed by this service provider.
15547
+ */
15548
+ export const serviceProviderComplianceOverview = (options) => (options.client ?? client).get({
15549
+ security: [
15550
+ { name: 'Authorization', type: 'apiKey' },
15551
+ { scheme: 'bearer', type: 'http' }
15552
+ ],
15553
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/compliance/compliance_overview/',
15554
+ ...options
15555
+ });
15556
+ /**
15557
+ * Get number of items in the collection matching the request parameters.
15558
+ */
15559
+ export const marketplaceServiceProvidersComplianceComplianceOverviewCount = (options) => (options.client ?? client).head({
15560
+ security: [
15561
+ { name: 'Authorization', type: 'apiKey' },
15562
+ { scheme: 'bearer', type: 'http' }
15563
+ ],
15564
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/compliance/compliance_overview/',
15565
+ ...options
15566
+ });
15567
+ /**
15568
+ * List offering users' compliance status
15569
+ *
15570
+ * Returns a list of offering users with their compliance status for this service provider. Can be filtered by offering and compliance status.
15571
+ */
15572
+ export const serviceProviderOfferingUsersCompliance = (options) => (options.client ?? client).get({
15573
+ security: [
15574
+ { name: 'Authorization', type: 'apiKey' },
15575
+ { scheme: 'bearer', type: 'http' }
15576
+ ],
15577
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/compliance/offering_users/',
15578
+ ...options
15579
+ });
15580
+ /**
15581
+ * Get number of items in the collection matching the request parameters.
15582
+ */
15583
+ export const marketplaceServiceProvidersComplianceOfferingUsersCount = (options) => (options.client ?? client).head({
15584
+ security: [
15585
+ { name: 'Authorization', type: 'apiKey' },
15586
+ { scheme: 'bearer', type: 'http' }
15587
+ ],
15588
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/compliance/offering_users/',
15589
+ ...options
15590
+ });
15591
+ /**
15592
+ * List course project accounts for a service provider
15593
+ *
15594
+ * Returns a paginated list of course project accounts that have access to resources managed by the provider.
15595
+ *
15596
+ * This includes:
15597
+ * - Projects with active resources of the service provider.
15598
+ * - Course accounts with non-blank users.
15599
+ *
15600
+ */
15601
+ export const marketplaceServiceProvidersCourseAccountsList = (options) => (options.client ?? client).get({
15602
+ security: [
15603
+ { name: 'Authorization', type: 'apiKey' },
15604
+ { scheme: 'bearer', type: 'http' }
15605
+ ],
15606
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/course_accounts/',
15607
+ ...options
15608
+ });
15609
+ /**
15610
+ * List course project accounts for a service provider
15611
+ *
15612
+ * Get number of items in the collection matching the request parameters.
15613
+ */
15614
+ export const marketplaceServiceProvidersCourseAccountsCount = (options) => (options.client ?? client).head({
15615
+ security: [
15616
+ { name: 'Authorization', type: 'apiKey' },
15617
+ { scheme: 'bearer', type: 'http' }
15618
+ ],
15619
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/course_accounts/',
15620
+ ...options
15621
+ });
15622
+ /**
15623
+ * List customer projects of a service provider
15624
+ *
15625
+ * Returns a paginated list of projects belonging to a specific customer that have consumed resources from the specified service provider.
15626
+ */
15627
+ export const marketplaceServiceProvidersCustomerProjectsList = (options) => (options.client ?? client).get({
14998
15628
  security: [
14999
15629
  { name: 'Authorization', type: 'apiKey' },
15000
15630
  { scheme: 'bearer', type: 'http' }
15001
15631
  ],
15002
- url: '/api/marketplace-service-providers/{service_provider_uuid}/compliance/checklists_summary/',
15632
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/customer_projects/',
15003
15633
  ...options
15004
15634
  });
15005
15635
  /**
15006
- * Get compliance overview for a service provider
15636
+ * List customer projects of a service provider
15007
15637
  *
15008
- * Returns compliance overview statistics for all offerings managed by this service provider.
15638
+ * Get number of items in the collection matching the request parameters.
15009
15639
  */
15010
- export const serviceProviderComplianceOverview = (options) => (options.client ?? client).get({
15640
+ export const marketplaceServiceProvidersCustomerProjectsCount = (options) => (options.client ?? client).head({
15011
15641
  security: [
15012
15642
  { name: 'Authorization', type: 'apiKey' },
15013
15643
  { scheme: 'bearer', type: 'http' }
15014
15644
  ],
15015
- url: '/api/marketplace-service-providers/{service_provider_uuid}/compliance/compliance_overview/',
15645
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/customer_projects/',
15016
15646
  ...options
15017
15647
  });
15018
15648
  /**
15019
- * List offering users' compliance status
15649
+ * List customers of a service provider
15020
15650
  *
15021
- * Returns a list of offering users with their compliance status for this service provider. Can be filtered by offering and compliance status.
15651
+ * Returns a paginated list of customers who have consumed resources from the specified service provider.
15022
15652
  */
15023
- export const serviceProviderOfferingUsersCompliance = (options) => (options.client ?? client).get({
15653
+ export const marketplaceServiceProvidersCustomersList = (options) => (options.client ?? client).get({
15024
15654
  security: [
15025
15655
  { name: 'Authorization', type: 'apiKey' },
15026
15656
  { scheme: 'bearer', type: 'http' }
15027
15657
  ],
15028
- url: '/api/marketplace-service-providers/{service_provider_uuid}/compliance/offering_users/',
15658
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/customers/',
15029
15659
  ...options
15030
15660
  });
15031
15661
  /**
15032
- * List course project accounts for a service provider
15033
- *
15034
- * Returns a paginated list of course project accounts that have access to resources managed by the provider.
15035
- *
15036
- * This includes:
15037
- * - Projects with active resources of the service provider.
15038
- * - Course accounts with non-blank users.
15662
+ * List customers of a service provider
15039
15663
  *
15664
+ * Get number of items in the collection matching the request parameters.
15040
15665
  */
15041
- export const marketplaceServiceProvidersCourseAccountsList = (options) => (options.client ?? client).get({
15666
+ export const marketplaceServiceProvidersCustomersCount = (options) => (options.client ?? client).head({
15042
15667
  security: [
15043
15668
  { name: 'Authorization', type: 'apiKey' },
15044
15669
  { scheme: 'bearer', type: 'http' }
15045
15670
  ],
15046
- url: '/api/marketplace-service-providers/{service_provider_uuid}/course_accounts/',
15671
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/customers/',
15047
15672
  ...options
15048
15673
  });
15049
15674
  /**
15050
- * List customer projects of a service provider
15675
+ * List SSH keys of a service provider
15051
15676
  *
15052
- * Returns a paginated list of projects belonging to a specific customer that have consumed resources from the specified service provider.
15677
+ * Returns a paginated list of SSH public keys for all users who have consumed resources from the specified service provider.
15053
15678
  */
15054
- export const marketplaceServiceProvidersCustomerProjectsList = (options) => (options.client ?? client).get({
15679
+ export const marketplaceServiceProvidersKeysList = (options) => (options.client ?? client).get({
15055
15680
  security: [
15056
15681
  { name: 'Authorization', type: 'apiKey' },
15057
15682
  { scheme: 'bearer', type: 'http' }
15058
15683
  ],
15059
- url: '/api/marketplace-service-providers/{service_provider_uuid}/customer_projects/',
15684
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/keys/',
15060
15685
  ...options
15061
15686
  });
15062
15687
  /**
15063
- * List customers of a service provider
15688
+ * List SSH keys of a service provider
15064
15689
  *
15065
- * Returns a paginated list of customers who have consumed resources from the specified service provider.
15690
+ * Get number of items in the collection matching the request parameters.
15066
15691
  */
15067
- export const marketplaceServiceProvidersCustomersList = (options) => (options.client ?? client).get({
15692
+ export const marketplaceServiceProvidersKeysCount = (options) => (options.client ?? client).head({
15068
15693
  security: [
15069
15694
  { name: 'Authorization', type: 'apiKey' },
15070
15695
  { scheme: 'bearer', type: 'http' }
15071
15696
  ],
15072
- url: '/api/marketplace-service-providers/{service_provider_uuid}/customers/',
15697
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/keys/',
15073
15698
  ...options
15074
15699
  });
15075
15700
  /**
15076
- * List SSH keys of a service provider
15701
+ * List offerings of a service provider
15077
15702
  *
15078
- * Returns a paginated list of SSH public keys for all users who have consumed resources from the specified service provider.
15703
+ * Returns a paginated list of all billable, shared offerings provided by the specified service provider.
15079
15704
  */
15080
- export const marketplaceServiceProvidersKeysList = (options) => (options.client ?? client).get({
15705
+ export const marketplaceServiceProvidersOfferingsList = (options) => (options.client ?? client).get({
15081
15706
  security: [
15082
15707
  { name: 'Authorization', type: 'apiKey' },
15083
15708
  { scheme: 'bearer', type: 'http' }
15084
15709
  ],
15085
- url: '/api/marketplace-service-providers/{service_provider_uuid}/keys/',
15710
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/offerings/',
15086
15711
  ...options
15087
15712
  });
15088
15713
  /**
15089
15714
  * List offerings of a service provider
15090
15715
  *
15091
- * Returns a paginated list of all billable, shared offerings provided by the specified service provider.
15716
+ * Get number of items in the collection matching the request parameters.
15092
15717
  */
15093
- export const marketplaceServiceProvidersOfferingsList = (options) => (options.client ?? client).get({
15718
+ export const marketplaceServiceProvidersOfferingsCount = (options) => (options.client ?? client).head({
15094
15719
  security: [
15095
15720
  { name: 'Authorization', type: 'apiKey' },
15096
15721
  { scheme: 'bearer', type: 'http' }
@@ -15109,6 +15734,19 @@ export const marketplaceServiceProvidersOfferingsTypesList = (options) => (optio
15109
15734
  url: '/api/marketplace-service-providers/{service_provider_uuid}/offerings/types/',
15110
15735
  ...options
15111
15736
  });
15737
+ /**
15738
+ * List distinct offering types for a service provider
15739
+ *
15740
+ * Get number of items in the collection matching the request parameters.
15741
+ */
15742
+ export const marketplaceServiceProvidersOfferingsTypesCount = (options) => (options.client ?? client).head({
15743
+ security: [
15744
+ { name: 'Authorization', type: 'apiKey' },
15745
+ { scheme: 'bearer', type: 'http' }
15746
+ ],
15747
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/offerings/types/',
15748
+ ...options
15749
+ });
15112
15750
  /**
15113
15751
  * List project permissions of a service provider
15114
15752
  *
@@ -15122,6 +15760,19 @@ export const marketplaceServiceProvidersProjectPermissionsList = (options) => (o
15122
15760
  url: '/api/marketplace-service-providers/{service_provider_uuid}/project_permissions/',
15123
15761
  ...options
15124
15762
  });
15763
+ /**
15764
+ * List project permissions of a service provider
15765
+ *
15766
+ * Get number of items in the collection matching the request parameters.
15767
+ */
15768
+ export const marketplaceServiceProvidersProjectPermissionsCount = (options) => (options.client ?? client).head({
15769
+ security: [
15770
+ { name: 'Authorization', type: 'apiKey' },
15771
+ { scheme: 'bearer', type: 'http' }
15772
+ ],
15773
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/project_permissions/',
15774
+ ...options
15775
+ });
15125
15776
  /**
15126
15777
  * List project service accounts for a service provider
15127
15778
  *
@@ -15140,6 +15791,19 @@ export const marketplaceServiceProvidersProjectServiceAccountsList = (options) =
15140
15791
  url: '/api/marketplace-service-providers/{service_provider_uuid}/project_service_accounts/',
15141
15792
  ...options
15142
15793
  });
15794
+ /**
15795
+ * List project service accounts for a service provider
15796
+ *
15797
+ * Get number of items in the collection matching the request parameters.
15798
+ */
15799
+ export const marketplaceServiceProvidersProjectServiceAccountsCount = (options) => (options.client ?? client).head({
15800
+ security: [
15801
+ { name: 'Authorization', type: 'apiKey' },
15802
+ { scheme: 'bearer', type: 'http' }
15803
+ ],
15804
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/project_service_accounts/',
15805
+ ...options
15806
+ });
15143
15807
  /**
15144
15808
  * List projects of a service provider
15145
15809
  *
@@ -15153,6 +15817,19 @@ export const marketplaceServiceProvidersProjectsList = (options) => (options.cli
15153
15817
  url: '/api/marketplace-service-providers/{service_provider_uuid}/projects/',
15154
15818
  ...options
15155
15819
  });
15820
+ /**
15821
+ * List projects of a service provider
15822
+ *
15823
+ * Get number of items in the collection matching the request parameters.
15824
+ */
15825
+ export const marketplaceServiceProvidersProjectsCount = (options) => (options.client ?? client).head({
15826
+ security: [
15827
+ { name: 'Authorization', type: 'apiKey' },
15828
+ { scheme: 'bearer', type: 'http' }
15829
+ ],
15830
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/projects/',
15831
+ ...options
15832
+ });
15156
15833
  /**
15157
15834
  * List customers of a specific user within a service provider's scope
15158
15835
  *
@@ -15172,6 +15849,19 @@ export const marketplaceServiceProvidersUserCustomersList = (options) => (option
15172
15849
  url: '/api/marketplace-service-providers/{service_provider_uuid}/user_customers/',
15173
15850
  ...options
15174
15851
  });
15852
+ /**
15853
+ * List customers of a specific user within a service provider's scope
15854
+ *
15855
+ * Get number of items in the collection matching the request parameters.
15856
+ */
15857
+ export const marketplaceServiceProvidersUserCustomersCount = (options) => (options.client ?? client).head({
15858
+ security: [
15859
+ { name: 'Authorization', type: 'apiKey' },
15860
+ { scheme: 'bearer', type: 'http' }
15861
+ ],
15862
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/user_customers/',
15863
+ ...options
15864
+ });
15175
15865
  /**
15176
15866
  * List users of a service provider
15177
15867
  *
@@ -15185,6 +15875,19 @@ export const marketplaceServiceProvidersUsersList = (options) => (options.client
15185
15875
  url: '/api/marketplace-service-providers/{service_provider_uuid}/users/',
15186
15876
  ...options
15187
15877
  });
15878
+ /**
15879
+ * List users of a service provider
15880
+ *
15881
+ * Get number of items in the collection matching the request parameters.
15882
+ */
15883
+ export const marketplaceServiceProvidersUsersCount = (options) => (options.client ?? client).head({
15884
+ security: [
15885
+ { name: 'Authorization', type: 'apiKey' },
15886
+ { scheme: 'bearer', type: 'http' }
15887
+ ],
15888
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/users/',
15889
+ ...options
15890
+ });
15188
15891
  /**
15189
15892
  * Delete a service provider
15190
15893
  *
@@ -15335,6 +16038,19 @@ export const marketplaceServiceProvidersListUsersList = (options) => (options.cl
15335
16038
  url: '/api/marketplace-service-providers/{uuid}/list_users/',
15336
16039
  ...options
15337
16040
  });
16041
+ /**
16042
+ * List users and their roles in a scope
16043
+ *
16044
+ * Get number of items in the collection matching the request parameters.
16045
+ */
16046
+ export const marketplaceServiceProvidersListUsersCount = (options) => (options.client ?? client).head({
16047
+ security: [
16048
+ { name: 'Authorization', type: 'apiKey' },
16049
+ { scheme: 'bearer', type: 'http' }
16050
+ ],
16051
+ url: '/api/marketplace-service-providers/{uuid}/list_users/',
16052
+ ...options
16053
+ });
15338
16054
  /**
15339
16055
  * Get service provider revenue
15340
16056
  *
@@ -19435,6 +20151,19 @@ export const openportalUnmanagedProjectsListUsersList = (options) => (options.cl
19435
20151
  url: '/api/openportal-unmanaged-projects/{uuid}/list_users/',
19436
20152
  ...options
19437
20153
  });
20154
+ /**
20155
+ * List users and their roles in a scope
20156
+ *
20157
+ * Get number of items in the collection matching the request parameters.
20158
+ */
20159
+ export const openportalUnmanagedProjectsListUsersCount = (options) => (options.client ?? client).head({
20160
+ security: [
20161
+ { name: 'Authorization', type: 'apiKey' },
20162
+ { scheme: 'bearer', type: 'http' }
20163
+ ],
20164
+ url: '/api/openportal-unmanaged-projects/{uuid}/list_users/',
20165
+ ...options
20166
+ });
19438
20167
  /**
19439
20168
  * Move project to another customer
19440
20169
  *
@@ -24432,6 +25161,17 @@ export const projectsOtherUsersList = (options) => (options.client ?? client).ge
24432
25161
  url: '/api/projects/{project_uuid}/other_users/',
24433
25162
  ...options
24434
25163
  });
25164
+ /**
25165
+ * Get number of items in the collection matching the request parameters.
25166
+ */
25167
+ export const projectsOtherUsersCount = (options) => (options.client ?? client).head({
25168
+ security: [
25169
+ { name: 'Authorization', type: 'apiKey' },
25170
+ { scheme: 'bearer', type: 'http' }
25171
+ ],
25172
+ url: '/api/projects/{project_uuid}/other_users/',
25173
+ ...options
25174
+ });
24435
25175
  /**
24436
25176
  * Delete a project
24437
25177
  *
@@ -24561,6 +25301,19 @@ export const projectsListUsersList = (options) => (options.client ?? client).get
24561
25301
  url: '/api/projects/{uuid}/list_users/',
24562
25302
  ...options
24563
25303
  });
25304
+ /**
25305
+ * List users and their roles in a scope
25306
+ *
25307
+ * Get number of items in the collection matching the request parameters.
25308
+ */
25309
+ export const projectsListUsersCount = (options) => (options.client ?? client).head({
25310
+ security: [
25311
+ { name: 'Authorization', type: 'apiKey' },
25312
+ { scheme: 'bearer', type: 'http' }
25313
+ ],
25314
+ url: '/api/projects/{uuid}/list_users/',
25315
+ ...options
25316
+ });
24564
25317
  /**
24565
25318
  * Move project to another customer
24566
25319
  *
@@ -25002,6 +25755,19 @@ export const proposalProposalsListUsersList = (options) => (options.client ?? cl
25002
25755
  url: '/api/proposal-proposals/{uuid}/list_users/',
25003
25756
  ...options
25004
25757
  });
25758
+ /**
25759
+ * List users and their roles in a scope
25760
+ *
25761
+ * Get number of items in the collection matching the request parameters.
25762
+ */
25763
+ export const proposalProposalsListUsersCount = (options) => (options.client ?? client).head({
25764
+ security: [
25765
+ { name: 'Authorization', type: 'apiKey' },
25766
+ { scheme: 'bearer', type: 'http' }
25767
+ ],
25768
+ url: '/api/proposal-proposals/{uuid}/list_users/',
25769
+ ...options
25770
+ });
25005
25771
  /**
25006
25772
  * Reject a proposal.
25007
25773
  */
@@ -25530,6 +26296,19 @@ export const proposalProtectedCallsListUsersList = (options) => (options.client
25530
26296
  url: '/api/proposal-protected-calls/{uuid}/list_users/',
25531
26297
  ...options
25532
26298
  });
26299
+ /**
26300
+ * List users and their roles in a scope
26301
+ *
26302
+ * Get number of items in the collection matching the request parameters.
26303
+ */
26304
+ export const proposalProtectedCallsListUsersCount = (options) => (options.client ?? client).head({
26305
+ security: [
26306
+ { name: 'Authorization', type: 'apiKey' },
26307
+ { scheme: 'bearer', type: 'http' }
26308
+ ],
26309
+ url: '/api/proposal-protected-calls/{uuid}/list_users/',
26310
+ ...options
26311
+ });
25533
26312
  /**
25534
26313
  * Get or update matching configuration for this call.
25535
26314
  */
@@ -28066,6 +28845,17 @@ export const nestedReviewerProfileAffiliationsList = (options) => (options.clien
28066
28845
  url: '/api/reviewer-profiles/{reviewer_profile_uuid}/affiliations/',
28067
28846
  ...options
28068
28847
  });
28848
+ /**
28849
+ * Get number of items in the collection matching the request parameters.
28850
+ */
28851
+ export const nestedReviewerProfileAffiliationsCount = (options) => (options.client ?? client).head({
28852
+ security: [
28853
+ { name: 'Authorization', type: 'apiKey' },
28854
+ { scheme: 'bearer', type: 'http' }
28855
+ ],
28856
+ url: '/api/reviewer-profiles/{reviewer_profile_uuid}/affiliations/',
28857
+ ...options
28858
+ });
28069
28859
  export const nestedReviewerProfileAffiliationsCreate = (options) => (options.client ?? client).post({
28070
28860
  security: [
28071
28861
  { name: 'Authorization', type: 'apiKey' },
@@ -28126,6 +28916,17 @@ export const nestedReviewerProfileExpertiseList = (options) => (options.client ?
28126
28916
  url: '/api/reviewer-profiles/{reviewer_profile_uuid}/expertise/',
28127
28917
  ...options
28128
28918
  });
28919
+ /**
28920
+ * Get number of items in the collection matching the request parameters.
28921
+ */
28922
+ export const nestedReviewerProfileExpertiseCount = (options) => (options.client ?? client).head({
28923
+ security: [
28924
+ { name: 'Authorization', type: 'apiKey' },
28925
+ { scheme: 'bearer', type: 'http' }
28926
+ ],
28927
+ url: '/api/reviewer-profiles/{reviewer_profile_uuid}/expertise/',
28928
+ ...options
28929
+ });
28129
28930
  export const nestedReviewerProfileExpertiseCreate = (options) => (options.client ?? client).post({
28130
28931
  security: [
28131
28932
  { name: 'Authorization', type: 'apiKey' },
@@ -28186,6 +28987,17 @@ export const nestedReviewerProfilePublicationsList = (options) => (options.clien
28186
28987
  url: '/api/reviewer-profiles/{reviewer_profile_uuid}/publications/',
28187
28988
  ...options
28188
28989
  });
28990
+ /**
28991
+ * Get number of items in the collection matching the request parameters.
28992
+ */
28993
+ export const nestedReviewerProfilePublicationsCount = (options) => (options.client ?? client).head({
28994
+ security: [
28995
+ { name: 'Authorization', type: 'apiKey' },
28996
+ { scheme: 'bearer', type: 'http' }
28997
+ ],
28998
+ url: '/api/reviewer-profiles/{reviewer_profile_uuid}/publications/',
28999
+ ...options
29000
+ });
28189
29001
  export const nestedReviewerProfilePublicationsCreate = (options) => (options.client ?? client).post({
28190
29002
  security: [
28191
29003
  { name: 'Authorization', type: 'apiKey' },
@@ -30966,7 +31778,7 @@ export const userPermissionRequestsReject = (options) => (options.client ?? clie
30966
31778
  /**
30967
31779
  * List user permissions
30968
31780
  *
30969
- * Get a list of all permissions for the current user. Staff and support users can view all user permissions. The list can be filtered by user, scope, role, etc.
31781
+ * Get a list of all permissions for the current user. Staff and support users can view all user permissions. The list can be filtered by user, scope, role, etc. By default only active grants are returned; staff and support can pass show_inactive=true to include revoked grants (the full history).
30970
31782
  */
30971
31783
  export const userPermissionsList = (options) => (options?.client ?? client).get({
30972
31784
  security: [
@@ -31002,6 +31814,40 @@ export const userPermissionsRetrieve = (options) => (options.client ?? client).g
31002
31814
  url: '/api/user-permissions/{uuid}/',
31003
31815
  ...options
31004
31816
  });
31817
+ /**
31818
+ * Restore a revoked user role
31819
+ *
31820
+ * Restores a previously revoked user role grant, reinstating the associated permissions immediately. Restoring a role whose scope (e.g. a project) has been soft-deleted is not allowed.
31821
+ */
31822
+ export const userPermissionsRestore = (options) => (options.client ?? client).post({
31823
+ security: [
31824
+ { name: 'Authorization', type: 'apiKey' },
31825
+ { scheme: 'bearer', type: 'http' }
31826
+ ],
31827
+ url: '/api/user-permissions/{uuid}/restore/',
31828
+ ...options,
31829
+ headers: {
31830
+ 'Content-Type': 'application/json',
31831
+ ...options.headers
31832
+ }
31833
+ });
31834
+ /**
31835
+ * Revoke a user role
31836
+ *
31837
+ * Revokes a specific user role grant, deactivating the associated permissions immediately.
31838
+ */
31839
+ export const userPermissionsRevoke = (options) => (options.client ?? client).post({
31840
+ security: [
31841
+ { name: 'Authorization', type: 'apiKey' },
31842
+ { scheme: 'bearer', type: 'http' }
31843
+ ],
31844
+ url: '/api/user-permissions/{uuid}/revoke/',
31845
+ ...options,
31846
+ headers: {
31847
+ 'Content-Type': 'application/json',
31848
+ ...options.headers
31849
+ }
31850
+ });
31005
31851
  export const usersList = (options) => (options?.client ?? client).get({
31006
31852
  security: [
31007
31853
  { name: 'Authorization', type: 'apiKey' },