waldur-js-client 8.0.9-dev.3 → 8.0.9-dev.30

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
@@ -165,6 +165,34 @@ export const apiAuthTaraInitRetrieve = (options) => {
165
165
  ...options
166
166
  });
167
167
  };
168
+ /**
169
+ * Exchange code for token
170
+ * Exchanges a short-lived one-time code for an authentication token.
171
+ */
172
+ export const apiAuthTokenExchange = (options) => {
173
+ return (options.client ?? _heyApiClient).post({
174
+ security: [
175
+ {
176
+ name: 'Authorization',
177
+ type: 'apiKey'
178
+ },
179
+ {
180
+ scheme: 'bearer',
181
+ type: 'http'
182
+ },
183
+ {
184
+ scheme: 'bearer',
185
+ type: 'http'
186
+ }
187
+ ],
188
+ url: '/api-auth/token-exchange/',
189
+ ...options,
190
+ headers: {
191
+ 'Content-Type': 'application/json',
192
+ ...options.headers
193
+ }
194
+ });
195
+ };
168
196
  /**
169
197
  * List access subnets
170
198
  * Retrieve a list of access subnets. Staff and support users can see all subnets, while other users can only see subnets associated with customers they have a role in.
@@ -3224,6 +3252,34 @@ export const autoprovisioningRulesUpdate = (options) => {
3224
3252
  }
3225
3253
  });
3226
3254
  };
3255
+ /**
3256
+ * Dry-run rule evaluation against a target user.
3257
+ * Evaluate this rule against the given user without provisioning. Returns per-filter outcomes, the customer-lookup verdict (when the rule uses use_user_organization_as_customer_name) and a top-line would_provision flag together with a human-readable block_reason.
3258
+ */
3259
+ export const autoprovisioningRulesTestMatch = (options) => {
3260
+ return (options.client ?? _heyApiClient).post({
3261
+ security: [
3262
+ {
3263
+ name: 'Authorization',
3264
+ type: 'apiKey'
3265
+ },
3266
+ {
3267
+ scheme: 'bearer',
3268
+ type: 'http'
3269
+ },
3270
+ {
3271
+ scheme: 'bearer',
3272
+ type: 'http'
3273
+ }
3274
+ ],
3275
+ url: '/api/autoprovisioning-rules/{uuid}/test-match/',
3276
+ ...options,
3277
+ headers: {
3278
+ 'Content-Type': 'application/json',
3279
+ ...options.headers
3280
+ }
3281
+ });
3282
+ };
3227
3283
  export const awsImagesList = (options) => {
3228
3284
  return (options?.client ?? _heyApiClient).get({
3229
3285
  security: [
@@ -18452,6 +18508,161 @@ export const marketplaceOfferingFilesRetrieve = (options) => {
18452
18508
  ...options
18453
18509
  });
18454
18510
  };
18511
+ export const marketplaceOfferingGroupsList = (options) => {
18512
+ return (options?.client ?? _heyApiClient).get({
18513
+ security: [
18514
+ {
18515
+ name: 'Authorization',
18516
+ type: 'apiKey'
18517
+ },
18518
+ {
18519
+ scheme: 'bearer',
18520
+ type: 'http'
18521
+ },
18522
+ {
18523
+ scheme: 'bearer',
18524
+ type: 'http'
18525
+ }
18526
+ ],
18527
+ url: '/api/marketplace-offering-groups/',
18528
+ ...options
18529
+ });
18530
+ };
18531
+ /**
18532
+ * Get number of items in the collection matching the request parameters.
18533
+ */
18534
+ export const marketplaceOfferingGroupsCount = (options) => {
18535
+ return (options?.client ?? _heyApiClient).head({
18536
+ security: [
18537
+ {
18538
+ name: 'Authorization',
18539
+ type: 'apiKey'
18540
+ },
18541
+ {
18542
+ scheme: 'bearer',
18543
+ type: 'http'
18544
+ },
18545
+ {
18546
+ scheme: 'bearer',
18547
+ type: 'http'
18548
+ }
18549
+ ],
18550
+ url: '/api/marketplace-offering-groups/',
18551
+ ...options
18552
+ });
18553
+ };
18554
+ export const marketplaceOfferingGroupsCreate = (options) => {
18555
+ return (options.client ?? _heyApiClient).post({
18556
+ security: [
18557
+ {
18558
+ name: 'Authorization',
18559
+ type: 'apiKey'
18560
+ },
18561
+ {
18562
+ scheme: 'bearer',
18563
+ type: 'http'
18564
+ },
18565
+ {
18566
+ scheme: 'bearer',
18567
+ type: 'http'
18568
+ }
18569
+ ],
18570
+ url: '/api/marketplace-offering-groups/',
18571
+ ...options,
18572
+ headers: {
18573
+ 'Content-Type': 'application/json',
18574
+ ...options.headers
18575
+ }
18576
+ });
18577
+ };
18578
+ export const marketplaceOfferingGroupsDestroy = (options) => {
18579
+ return (options.client ?? _heyApiClient).delete({
18580
+ security: [
18581
+ {
18582
+ name: 'Authorization',
18583
+ type: 'apiKey'
18584
+ },
18585
+ {
18586
+ scheme: 'bearer',
18587
+ type: 'http'
18588
+ },
18589
+ {
18590
+ scheme: 'bearer',
18591
+ type: 'http'
18592
+ }
18593
+ ],
18594
+ url: '/api/marketplace-offering-groups/{uuid}/',
18595
+ ...options
18596
+ });
18597
+ };
18598
+ export const marketplaceOfferingGroupsRetrieve = (options) => {
18599
+ return (options.client ?? _heyApiClient).get({
18600
+ security: [
18601
+ {
18602
+ name: 'Authorization',
18603
+ type: 'apiKey'
18604
+ },
18605
+ {
18606
+ scheme: 'bearer',
18607
+ type: 'http'
18608
+ },
18609
+ {
18610
+ scheme: 'bearer',
18611
+ type: 'http'
18612
+ }
18613
+ ],
18614
+ url: '/api/marketplace-offering-groups/{uuid}/',
18615
+ ...options
18616
+ });
18617
+ };
18618
+ export const marketplaceOfferingGroupsPartialUpdate = (options) => {
18619
+ return (options.client ?? _heyApiClient).patch({
18620
+ security: [
18621
+ {
18622
+ name: 'Authorization',
18623
+ type: 'apiKey'
18624
+ },
18625
+ {
18626
+ scheme: 'bearer',
18627
+ type: 'http'
18628
+ },
18629
+ {
18630
+ scheme: 'bearer',
18631
+ type: 'http'
18632
+ }
18633
+ ],
18634
+ url: '/api/marketplace-offering-groups/{uuid}/',
18635
+ ...options,
18636
+ headers: {
18637
+ 'Content-Type': 'application/json',
18638
+ ...options.headers
18639
+ }
18640
+ });
18641
+ };
18642
+ export const marketplaceOfferingGroupsUpdate = (options) => {
18643
+ return (options.client ?? _heyApiClient).put({
18644
+ security: [
18645
+ {
18646
+ name: 'Authorization',
18647
+ type: 'apiKey'
18648
+ },
18649
+ {
18650
+ scheme: 'bearer',
18651
+ type: 'http'
18652
+ },
18653
+ {
18654
+ scheme: 'bearer',
18655
+ type: 'http'
18656
+ }
18657
+ ],
18658
+ url: '/api/marketplace-offering-groups/{uuid}/',
18659
+ ...options,
18660
+ headers: {
18661
+ 'Content-Type': 'application/json',
18662
+ ...options.headers
18663
+ }
18664
+ });
18665
+ };
18455
18666
  export const marketplaceOfferingPermissionsList = (options) => {
18456
18667
  return (options?.client ?? _heyApiClient).get({
18457
18668
  security: [
@@ -21497,6 +21708,161 @@ export const marketplaceProjectEstimatedCostPoliciesActionsCount = (options) =>
21497
21708
  ...options
21498
21709
  });
21499
21710
  };
21711
+ export const marketplaceProjectOrderAutoApprovalsList = (options) => {
21712
+ return (options?.client ?? _heyApiClient).get({
21713
+ security: [
21714
+ {
21715
+ name: 'Authorization',
21716
+ type: 'apiKey'
21717
+ },
21718
+ {
21719
+ scheme: 'bearer',
21720
+ type: 'http'
21721
+ },
21722
+ {
21723
+ scheme: 'bearer',
21724
+ type: 'http'
21725
+ }
21726
+ ],
21727
+ url: '/api/marketplace-project-order-auto-approvals/',
21728
+ ...options
21729
+ });
21730
+ };
21731
+ /**
21732
+ * Get number of items in the collection matching the request parameters.
21733
+ */
21734
+ export const marketplaceProjectOrderAutoApprovalsCount = (options) => {
21735
+ return (options?.client ?? _heyApiClient).head({
21736
+ security: [
21737
+ {
21738
+ name: 'Authorization',
21739
+ type: 'apiKey'
21740
+ },
21741
+ {
21742
+ scheme: 'bearer',
21743
+ type: 'http'
21744
+ },
21745
+ {
21746
+ scheme: 'bearer',
21747
+ type: 'http'
21748
+ }
21749
+ ],
21750
+ url: '/api/marketplace-project-order-auto-approvals/',
21751
+ ...options
21752
+ });
21753
+ };
21754
+ export const marketplaceProjectOrderAutoApprovalsCreate = (options) => {
21755
+ return (options.client ?? _heyApiClient).post({
21756
+ security: [
21757
+ {
21758
+ name: 'Authorization',
21759
+ type: 'apiKey'
21760
+ },
21761
+ {
21762
+ scheme: 'bearer',
21763
+ type: 'http'
21764
+ },
21765
+ {
21766
+ scheme: 'bearer',
21767
+ type: 'http'
21768
+ }
21769
+ ],
21770
+ url: '/api/marketplace-project-order-auto-approvals/',
21771
+ ...options,
21772
+ headers: {
21773
+ 'Content-Type': 'application/json',
21774
+ ...options.headers
21775
+ }
21776
+ });
21777
+ };
21778
+ export const marketplaceProjectOrderAutoApprovalsDestroy = (options) => {
21779
+ return (options.client ?? _heyApiClient).delete({
21780
+ security: [
21781
+ {
21782
+ name: 'Authorization',
21783
+ type: 'apiKey'
21784
+ },
21785
+ {
21786
+ scheme: 'bearer',
21787
+ type: 'http'
21788
+ },
21789
+ {
21790
+ scheme: 'bearer',
21791
+ type: 'http'
21792
+ }
21793
+ ],
21794
+ url: '/api/marketplace-project-order-auto-approvals/{uuid}/',
21795
+ ...options
21796
+ });
21797
+ };
21798
+ export const marketplaceProjectOrderAutoApprovalsRetrieve = (options) => {
21799
+ return (options.client ?? _heyApiClient).get({
21800
+ security: [
21801
+ {
21802
+ name: 'Authorization',
21803
+ type: 'apiKey'
21804
+ },
21805
+ {
21806
+ scheme: 'bearer',
21807
+ type: 'http'
21808
+ },
21809
+ {
21810
+ scheme: 'bearer',
21811
+ type: 'http'
21812
+ }
21813
+ ],
21814
+ url: '/api/marketplace-project-order-auto-approvals/{uuid}/',
21815
+ ...options
21816
+ });
21817
+ };
21818
+ export const marketplaceProjectOrderAutoApprovalsPartialUpdate = (options) => {
21819
+ return (options.client ?? _heyApiClient).patch({
21820
+ security: [
21821
+ {
21822
+ name: 'Authorization',
21823
+ type: 'apiKey'
21824
+ },
21825
+ {
21826
+ scheme: 'bearer',
21827
+ type: 'http'
21828
+ },
21829
+ {
21830
+ scheme: 'bearer',
21831
+ type: 'http'
21832
+ }
21833
+ ],
21834
+ url: '/api/marketplace-project-order-auto-approvals/{uuid}/',
21835
+ ...options,
21836
+ headers: {
21837
+ 'Content-Type': 'application/json',
21838
+ ...options.headers
21839
+ }
21840
+ });
21841
+ };
21842
+ export const marketplaceProjectOrderAutoApprovalsUpdate = (options) => {
21843
+ return (options.client ?? _heyApiClient).put({
21844
+ security: [
21845
+ {
21846
+ name: 'Authorization',
21847
+ type: 'apiKey'
21848
+ },
21849
+ {
21850
+ scheme: 'bearer',
21851
+ type: 'http'
21852
+ },
21853
+ {
21854
+ scheme: 'bearer',
21855
+ type: 'http'
21856
+ }
21857
+ ],
21858
+ url: '/api/marketplace-project-order-auto-approvals/{uuid}/',
21859
+ ...options,
21860
+ headers: {
21861
+ 'Content-Type': 'application/json',
21862
+ ...options.headers
21863
+ }
21864
+ });
21865
+ };
21500
21866
  /**
21501
21867
  * List service accounts
21502
21868
  */
@@ -23074,6 +23440,34 @@ export const marketplaceProviderOfferingsSetBackendMetadata = (options) => {
23074
23440
  }
23075
23441
  });
23076
23442
  };
23443
+ /**
23444
+ * Assign or clear the offering group
23445
+ * Sets the offering's ``offering_group`` FK. Pass ``offering_group: <uuid>`` to assign a group, or ``offering_group: null`` to clear it. The group must belong to the same customer as the offering.
23446
+ */
23447
+ export const marketplaceProviderOfferingsSetOfferingGroup = (options) => {
23448
+ return (options.client ?? _heyApiClient).post({
23449
+ security: [
23450
+ {
23451
+ name: 'Authorization',
23452
+ type: 'apiKey'
23453
+ },
23454
+ {
23455
+ scheme: 'bearer',
23456
+ type: 'http'
23457
+ },
23458
+ {
23459
+ scheme: 'bearer',
23460
+ type: 'http'
23461
+ }
23462
+ ],
23463
+ url: '/api/marketplace-provider-offerings/{uuid}/set_offering_group/',
23464
+ ...options,
23465
+ headers: {
23466
+ 'Content-Type': 'application/json',
23467
+ ...options.headers
23468
+ }
23469
+ });
23470
+ };
23077
23471
  /**
23078
23472
  * Bind / unbind offering to a service profile
23079
23473
  * 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).
@@ -23782,6 +24176,34 @@ export const marketplaceProviderOfferingsUpdateThumbnail = (options) => {
23782
24176
  }
23783
24177
  });
23784
24178
  };
24179
+ /**
24180
+ * Swap offering type
24181
+ * Changes the offering's `type` between Marketplace.Basic and the site-agent type (Marketplace.Slurm). Both plugins share the same data shape (the site-agent processors inherit from Basic and only delegate the send paths to the external agent), so the swap is safe in either direction. Refused if the offering's current type is not in the swappable set.
24182
+ */
24183
+ export const marketplaceProviderOfferingsUpdateType = (options) => {
24184
+ return (options.client ?? _heyApiClient).post({
24185
+ security: [
24186
+ {
24187
+ name: 'Authorization',
24188
+ type: 'apiKey'
24189
+ },
24190
+ {
24191
+ scheme: 'bearer',
24192
+ type: 'http'
24193
+ },
24194
+ {
24195
+ scheme: 'bearer',
24196
+ type: 'http'
24197
+ }
24198
+ ],
24199
+ url: '/api/marketplace-provider-offerings/{uuid}/update_type/',
24200
+ ...options,
24201
+ headers: {
24202
+ 'Content-Type': 'application/json',
24203
+ ...options.headers
24204
+ }
24205
+ });
24206
+ };
23785
24207
  /**
23786
24208
  * Update a user's role expiration
23787
24209
  * 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.
@@ -23810,6 +24232,34 @@ export const marketplaceProviderOfferingsUpdateUser = (options) => {
23810
24232
  }
23811
24233
  });
23812
24234
  };
24235
+ /**
24236
+ * Upload markdown image
24237
+ * Uploads an image for embedding in offering markdown descriptions. Requires ENABLE_MARKDOWN_IMAGE_UPLOAD Constance setting.
24238
+ */
24239
+ export const marketplaceProviderOfferingsUploadMarkdownImage = (options) => {
24240
+ return (options.client ?? _heyApiClient).post({
24241
+ security: [
24242
+ {
24243
+ name: 'Authorization',
24244
+ type: 'apiKey'
24245
+ },
24246
+ {
24247
+ scheme: 'bearer',
24248
+ type: 'http'
24249
+ },
24250
+ {
24251
+ scheme: 'bearer',
24252
+ type: 'http'
24253
+ }
24254
+ ],
24255
+ url: '/api/marketplace-provider-offerings/{uuid}/upload_markdown_image/',
24256
+ ...options,
24257
+ headers: {
24258
+ 'Content-Type': 'application/json',
24259
+ ...options.headers
24260
+ }
24261
+ });
24262
+ };
23813
24263
  /**
23814
24264
  * Get user attribute config
23815
24265
  * Returns the user attribute configuration for this offering, which determines which user attributes are exposed to the service provider.
@@ -24377,6 +24827,34 @@ export const marketplaceProviderResourcesAddUser = (options) => {
24377
24827
  }
24378
24828
  });
24379
24829
  };
24830
+ /**
24831
+ * Adjust resource start and end dates (staff only)
24832
+ * Updates both the originating order's start_date and the resource's end_date in one atomic operation. Intended for helpdesk-style prepaid offerings where staff need to shift the service window forward. Does not regenerate invoices, issue credits, or send notifications.
24833
+ */
24834
+ export const marketplaceProviderResourcesAdjustDates = (options) => {
24835
+ return (options.client ?? _heyApiClient).post({
24836
+ security: [
24837
+ {
24838
+ name: 'Authorization',
24839
+ type: 'apiKey'
24840
+ },
24841
+ {
24842
+ scheme: 'bearer',
24843
+ type: 'http'
24844
+ },
24845
+ {
24846
+ scheme: 'bearer',
24847
+ type: 'http'
24848
+ }
24849
+ ],
24850
+ url: '/api/marketplace-provider-resources/{uuid}/adjust_dates/',
24851
+ ...options,
24852
+ headers: {
24853
+ 'Content-Type': 'application/json',
24854
+ ...options.headers
24855
+ }
24856
+ });
24857
+ };
24380
24858
  /**
24381
24859
  * Revoke a role from a user
24382
24860
  * Removes a specific role from a user within the current scope. This effectively revokes their permissions associated with that role.
@@ -24950,6 +25428,34 @@ export const marketplaceProviderResourcesSetEndDateByStaff = (options) => {
24950
25428
  }
24951
25429
  });
24952
25430
  };
25431
+ /**
25432
+ * Set resource access endpoints
25433
+ * Allows a service provider to replace the set of access endpoints (name + URL) reported for a resource. Used to surface dynamic per-resource endpoints (e.g. an inference API) in the UI.
25434
+ */
25435
+ export const marketplaceProviderResourcesSetEndpoints = (options) => {
25436
+ return (options.client ?? _heyApiClient).post({
25437
+ security: [
25438
+ {
25439
+ name: 'Authorization',
25440
+ type: 'apiKey'
25441
+ },
25442
+ {
25443
+ scheme: 'bearer',
25444
+ type: 'http'
25445
+ },
25446
+ {
25447
+ scheme: 'bearer',
25448
+ type: 'http'
25449
+ }
25450
+ ],
25451
+ url: '/api/marketplace-provider-resources/{uuid}/set_endpoints/',
25452
+ ...options,
25453
+ headers: {
25454
+ 'Content-Type': 'application/json',
25455
+ ...options.headers
25456
+ }
25457
+ });
25458
+ };
24953
25459
  /**
24954
25460
  * Set resource limits
24955
25461
  * 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.
@@ -25657,6 +26163,174 @@ export const marketplaceRemoteSynchronisationsRunSynchronisation = (options) =>
25657
26163
  ...options
25658
26164
  });
25659
26165
  };
26166
+ export const marketplaceResourceLimitChangeRequestsList = (options) => {
26167
+ return (options?.client ?? _heyApiClient).get({
26168
+ security: [
26169
+ {
26170
+ name: 'Authorization',
26171
+ type: 'apiKey'
26172
+ },
26173
+ {
26174
+ scheme: 'bearer',
26175
+ type: 'http'
26176
+ },
26177
+ {
26178
+ scheme: 'bearer',
26179
+ type: 'http'
26180
+ }
26181
+ ],
26182
+ url: '/api/marketplace-resource-limit-change-requests/',
26183
+ ...options
26184
+ });
26185
+ };
26186
+ /**
26187
+ * Get number of items in the collection matching the request parameters.
26188
+ */
26189
+ export const marketplaceResourceLimitChangeRequestsCount = (options) => {
26190
+ return (options?.client ?? _heyApiClient).head({
26191
+ security: [
26192
+ {
26193
+ name: 'Authorization',
26194
+ type: 'apiKey'
26195
+ },
26196
+ {
26197
+ scheme: 'bearer',
26198
+ type: 'http'
26199
+ },
26200
+ {
26201
+ scheme: 'bearer',
26202
+ type: 'http'
26203
+ }
26204
+ ],
26205
+ url: '/api/marketplace-resource-limit-change-requests/',
26206
+ ...options
26207
+ });
26208
+ };
26209
+ export const marketplaceResourceLimitChangeRequestsCreate = (options) => {
26210
+ return (options.client ?? _heyApiClient).post({
26211
+ security: [
26212
+ {
26213
+ name: 'Authorization',
26214
+ type: 'apiKey'
26215
+ },
26216
+ {
26217
+ scheme: 'bearer',
26218
+ type: 'http'
26219
+ },
26220
+ {
26221
+ scheme: 'bearer',
26222
+ type: 'http'
26223
+ }
26224
+ ],
26225
+ url: '/api/marketplace-resource-limit-change-requests/',
26226
+ ...options,
26227
+ headers: {
26228
+ 'Content-Type': 'application/json',
26229
+ ...options.headers
26230
+ }
26231
+ });
26232
+ };
26233
+ export const marketplaceResourceLimitChangeRequestsRetrieve = (options) => {
26234
+ return (options.client ?? _heyApiClient).get({
26235
+ security: [
26236
+ {
26237
+ name: 'Authorization',
26238
+ type: 'apiKey'
26239
+ },
26240
+ {
26241
+ scheme: 'bearer',
26242
+ type: 'http'
26243
+ },
26244
+ {
26245
+ scheme: 'bearer',
26246
+ type: 'http'
26247
+ }
26248
+ ],
26249
+ url: '/api/marketplace-resource-limit-change-requests/{uuid}/',
26250
+ ...options
26251
+ });
26252
+ };
26253
+ /**
26254
+ * Approve resource limit change request and apply limits via marketplace order.
26255
+ */
26256
+ export const marketplaceResourceLimitChangeRequestsApprove = (options) => {
26257
+ return (options.client ?? _heyApiClient).post({
26258
+ security: [
26259
+ {
26260
+ name: 'Authorization',
26261
+ type: 'apiKey'
26262
+ },
26263
+ {
26264
+ scheme: 'bearer',
26265
+ type: 'http'
26266
+ },
26267
+ {
26268
+ scheme: 'bearer',
26269
+ type: 'http'
26270
+ }
26271
+ ],
26272
+ url: '/api/marketplace-resource-limit-change-requests/{uuid}/approve/',
26273
+ ...options,
26274
+ headers: {
26275
+ 'Content-Type': 'application/json',
26276
+ ...options.headers
26277
+ }
26278
+ });
26279
+ };
26280
+ /**
26281
+ * Cancel resource limit change request. Only the creator can cancel.
26282
+ */
26283
+ export const marketplaceResourceLimitChangeRequestsCancel = (options) => {
26284
+ return (options.client ?? _heyApiClient).post({
26285
+ security: [
26286
+ {
26287
+ name: 'Authorization',
26288
+ type: 'apiKey'
26289
+ },
26290
+ {
26291
+ scheme: 'bearer',
26292
+ type: 'http'
26293
+ },
26294
+ {
26295
+ scheme: 'bearer',
26296
+ type: 'http'
26297
+ }
26298
+ ],
26299
+ url: '/api/marketplace-resource-limit-change-requests/{uuid}/cancel/',
26300
+ ...options,
26301
+ headers: {
26302
+ 'Content-Type': 'application/json',
26303
+ ...options.headers
26304
+ }
26305
+ });
26306
+ };
26307
+ /**
26308
+ * Reject resource limit change request.
26309
+ */
26310
+ export const marketplaceResourceLimitChangeRequestsReject = (options) => {
26311
+ return (options.client ?? _heyApiClient).post({
26312
+ security: [
26313
+ {
26314
+ name: 'Authorization',
26315
+ type: 'apiKey'
26316
+ },
26317
+ {
26318
+ scheme: 'bearer',
26319
+ type: 'http'
26320
+ },
26321
+ {
26322
+ scheme: 'bearer',
26323
+ type: 'http'
26324
+ }
26325
+ ],
26326
+ url: '/api/marketplace-resource-limit-change-requests/{uuid}/reject/',
26327
+ ...options,
26328
+ headers: {
26329
+ 'Content-Type': 'application/json',
26330
+ ...options.headers
26331
+ }
26332
+ });
26333
+ };
25660
26334
  export const marketplaceResourceOfferingsList = (options) => {
25661
26335
  return (options.client ?? _heyApiClient).get({
25662
26336
  security: [
@@ -25912,6 +26586,34 @@ export const marketplaceResourceProjectsListUsersList = (options) => {
25912
26586
  ...options
25913
26587
  });
25914
26588
  };
26589
+ /**
26590
+ * Recover a soft-deleted resource project
26591
+ * Flips is_removed back to False on a previously soft-deleted resource project. Optionally restores the team members captured at soft-delete time, or sends them new invitations. Pass ?include_removed=true on the lookup so the soft-deleted row can be resolved.
26592
+ */
26593
+ export const marketplaceResourceProjectsRecover = (options) => {
26594
+ return (options.client ?? _heyApiClient).post({
26595
+ security: [
26596
+ {
26597
+ name: 'Authorization',
26598
+ type: 'apiKey'
26599
+ },
26600
+ {
26601
+ scheme: 'bearer',
26602
+ type: 'http'
26603
+ },
26604
+ {
26605
+ scheme: 'bearer',
26606
+ type: 'http'
26607
+ }
26608
+ ],
26609
+ url: '/api/marketplace-resource-projects/{uuid}/recover/',
26610
+ ...options,
26611
+ headers: {
26612
+ 'Content-Type': 'application/json',
26613
+ ...options.headers
26614
+ }
26615
+ });
26616
+ };
25915
26617
  /**
25916
26618
  * Update a user's role expiration
25917
26619
  * 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.
@@ -26041,11 +26743,39 @@ export const marketplaceResourcesPartialUpdate = (options) => {
26041
26743
  });
26042
26744
  };
26043
26745
  /**
26044
- * Update a consumer resource
26045
- * Updates the name, description, or end date of a resource.
26746
+ * Update a consumer resource
26747
+ * Updates the name, description, or end date of a resource.
26748
+ */
26749
+ export const marketplaceResourcesUpdate = (options) => {
26750
+ return (options.client ?? _heyApiClient).put({
26751
+ security: [
26752
+ {
26753
+ name: 'Authorization',
26754
+ type: 'apiKey'
26755
+ },
26756
+ {
26757
+ scheme: 'bearer',
26758
+ type: 'http'
26759
+ },
26760
+ {
26761
+ scheme: 'bearer',
26762
+ type: 'http'
26763
+ }
26764
+ ],
26765
+ url: '/api/marketplace-resources/{uuid}/',
26766
+ ...options,
26767
+ headers: {
26768
+ 'Content-Type': 'application/json',
26769
+ ...options.headers
26770
+ }
26771
+ });
26772
+ };
26773
+ /**
26774
+ * Grant a role to a user
26775
+ * Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
26046
26776
  */
26047
- export const marketplaceResourcesUpdate = (options) => {
26048
- return (options.client ?? _heyApiClient).put({
26777
+ export const marketplaceResourcesAddUser = (options) => {
26778
+ return (options.client ?? _heyApiClient).post({
26049
26779
  security: [
26050
26780
  {
26051
26781
  name: 'Authorization',
@@ -26060,7 +26790,7 @@ export const marketplaceResourcesUpdate = (options) => {
26060
26790
  type: 'http'
26061
26791
  }
26062
26792
  ],
26063
- url: '/api/marketplace-resources/{uuid}/',
26793
+ url: '/api/marketplace-resources/{uuid}/add_user/',
26064
26794
  ...options,
26065
26795
  headers: {
26066
26796
  'Content-Type': 'application/json',
@@ -26069,10 +26799,10 @@ export const marketplaceResourcesUpdate = (options) => {
26069
26799
  });
26070
26800
  };
26071
26801
  /**
26072
- * Grant a role to a user
26073
- * Assigns a specific role to a user within the current scope. An optional expiration time for the role can be set.
26802
+ * Adjust resource start and end dates (staff only)
26803
+ * Updates both the originating order's start_date and the resource's end_date in one atomic operation. Intended for helpdesk-style prepaid offerings where staff need to shift the service window forward. Does not regenerate invoices, issue credits, or send notifications.
26074
26804
  */
26075
- export const marketplaceResourcesAddUser = (options) => {
26805
+ export const marketplaceResourcesAdjustDates = (options) => {
26076
26806
  return (options.client ?? _heyApiClient).post({
26077
26807
  security: [
26078
26808
  {
@@ -26088,7 +26818,7 @@ export const marketplaceResourcesAddUser = (options) => {
26088
26818
  type: 'http'
26089
26819
  }
26090
26820
  ],
26091
- url: '/api/marketplace-resources/{uuid}/add_user/',
26821
+ url: '/api/marketplace-resources/{uuid}/adjust_dates/',
26092
26822
  ...options,
26093
26823
  headers: {
26094
26824
  'Content-Type': 'application/json',
@@ -27969,6 +28699,29 @@ export const marketplaceServiceProvidersOfferingsList = (options) => {
27969
28699
  ...options
27970
28700
  });
27971
28701
  };
28702
+ /**
28703
+ * List distinct offering types for a service provider
28704
+ */
28705
+ export const marketplaceServiceProvidersOfferingsTypesList = (options) => {
28706
+ return (options.client ?? _heyApiClient).get({
28707
+ security: [
28708
+ {
28709
+ name: 'Authorization',
28710
+ type: 'apiKey'
28711
+ },
28712
+ {
28713
+ scheme: 'bearer',
28714
+ type: 'http'
28715
+ },
28716
+ {
28717
+ scheme: 'bearer',
28718
+ type: 'http'
28719
+ }
28720
+ ],
28721
+ url: '/api/marketplace-service-providers/{service_provider_uuid}/offerings/types/',
28722
+ ...options
28723
+ });
28724
+ };
27972
28725
  /**
27973
28726
  * List project permissions of a service provider
27974
28727
  * Returns a paginated list of project permissions for all projects that have consumed resources from the specified service provider.
@@ -28761,6 +29514,77 @@ export const marketplaceSiteAgentIdentitiesCleanupOrphaned = (options) => {
28761
29514
  }
28762
29515
  });
28763
29516
  };
29517
+ export const marketplaceSiteAgentLogsList = (options) => {
29518
+ return (options?.client ?? _heyApiClient).get({
29519
+ security: [
29520
+ {
29521
+ name: 'Authorization',
29522
+ type: 'apiKey'
29523
+ },
29524
+ {
29525
+ scheme: 'bearer',
29526
+ type: 'http'
29527
+ },
29528
+ {
29529
+ scheme: 'bearer',
29530
+ type: 'http'
29531
+ }
29532
+ ],
29533
+ url: '/api/marketplace-site-agent-logs/',
29534
+ ...options
29535
+ });
29536
+ };
29537
+ /**
29538
+ * Get number of items in the collection matching the request parameters.
29539
+ */
29540
+ export const marketplaceSiteAgentLogsCount = (options) => {
29541
+ return (options?.client ?? _heyApiClient).head({
29542
+ security: [
29543
+ {
29544
+ name: 'Authorization',
29545
+ type: 'apiKey'
29546
+ },
29547
+ {
29548
+ scheme: 'bearer',
29549
+ type: 'http'
29550
+ },
29551
+ {
29552
+ scheme: 'bearer',
29553
+ type: 'http'
29554
+ }
29555
+ ],
29556
+ url: '/api/marketplace-site-agent-logs/',
29557
+ ...options
29558
+ });
29559
+ };
29560
+ /**
29561
+ * Push site agent logs
29562
+ * Receive a batch of log entries from a site agent. Send a list where each entry includes agent_identity_uuid.
29563
+ */
29564
+ export const marketplaceSiteAgentLogsCreate = (options) => {
29565
+ return (options.client ?? _heyApiClient).post({
29566
+ security: [
29567
+ {
29568
+ name: 'Authorization',
29569
+ type: 'apiKey'
29570
+ },
29571
+ {
29572
+ scheme: 'bearer',
29573
+ type: 'http'
29574
+ },
29575
+ {
29576
+ scheme: 'bearer',
29577
+ type: 'http'
29578
+ }
29579
+ ],
29580
+ url: '/api/marketplace-site-agent-logs/',
29581
+ ...options,
29582
+ headers: {
29583
+ 'Content-Type': 'application/json',
29584
+ ...options.headers
29585
+ }
29586
+ });
29587
+ };
28764
29588
  export const marketplaceSiteAgentProcessorsList = (options) => {
28765
29589
  return (options?.client ?? _heyApiClient).get({
28766
29590
  security: [
@@ -32165,6 +32989,52 @@ export const marketplaceStatsUserAffiliationCountCount = (options) => {
32165
32989
  ...options
32166
32990
  });
32167
32991
  };
32992
+ /**
32993
+ * Paginated affiliation rows with parsed organization, country, category and identifier fields. Drives the affiliation details table; the unparsed aggregate counts remain available via user_affiliation_count.
32994
+ */
32995
+ export const marketplaceStatsUserAffiliationDetailsList = (options) => {
32996
+ return (options?.client ?? _heyApiClient).get({
32997
+ security: [
32998
+ {
32999
+ name: 'Authorization',
33000
+ type: 'apiKey'
33001
+ },
33002
+ {
33003
+ scheme: 'bearer',
33004
+ type: 'http'
33005
+ },
33006
+ {
33007
+ scheme: 'bearer',
33008
+ type: 'http'
33009
+ }
33010
+ ],
33011
+ url: '/api/marketplace-stats/user_affiliation_details/',
33012
+ ...options
33013
+ });
33014
+ };
33015
+ /**
33016
+ * Get number of items in the collection matching the request parameters.
33017
+ */
33018
+ export const marketplaceStatsUserAffiliationDetailsCount = (options) => {
33019
+ return (options?.client ?? _heyApiClient).head({
33020
+ security: [
33021
+ {
33022
+ name: 'Authorization',
33023
+ type: 'apiKey'
33024
+ },
33025
+ {
33026
+ scheme: 'bearer',
33027
+ type: 'http'
33028
+ },
33029
+ {
33030
+ scheme: 'bearer',
33031
+ type: 'http'
33032
+ }
33033
+ ],
33034
+ url: '/api/marketplace-stats/user_affiliation_details/',
33035
+ ...options
33036
+ });
33037
+ };
32168
33038
  /**
32169
33039
  * Return user count grouped by authentication method.
32170
33040
  */
@@ -42735,6 +43605,12 @@ export const openstackTenantsSetOk = (options) => {
42735
43605
  * - security_group_rule_count - maximal number of created security groups rules.
42736
43606
  * - volumes - maximal number of created volumes.
42737
43607
  * - snapshots - maximal number of created snapshots.
43608
+ * - floating_ip_count - maximal number of floating IPs. Use 0 to deny, -1 for unlimited.
43609
+ * - network_count - maximal number of networks. Use 0 to deny, -1 for unlimited.
43610
+ * - subnet_count - maximal number of subnets. Use 0 to deny, -1 for unlimited.
43611
+ * - port_count - maximal number of ports. Use 0 to deny, -1 for unlimited.
43612
+ * - gigabytes_<volume_type_name> - maximal storage for a specific Cinder volume type, in GB.
43613
+ * For example, gigabytes_ssd or gigabytes___DEFAULT__. Use -1 for unlimited.
42738
43614
  *
42739
43615
  * It is possible to update quotas by one or by submitting all the fields in one request.
42740
43616
  * Waldur will attempt to update the provided quotas. Please note, that if provided quotas are
@@ -44368,7 +45244,7 @@ export const personalAccessTokensRetrieve = (options) => {
44368
45244
  };
44369
45245
  /**
44370
45246
  * Rotate a personal access token
44371
- * Atomically revoke the old token and create a new one with the same scopes.
45247
+ * Atomically revoke the old token and create a new one with the same scopes and bindings.
44372
45248
  */
44373
45249
  export const personalAccessTokensRotate = (options) => {
44374
45250
  return (options.client ?? _heyApiClient).post({
@@ -44390,6 +45266,60 @@ export const personalAccessTokensRotate = (options) => {
44390
45266
  ...options
44391
45267
  });
44392
45268
  };
45269
+ /**
45270
+ * List entity types the caller can bind each permission to
45271
+ * For each permission, which TYPE_MAP keys the caller could bind a PAT to.
45272
+ *
45273
+ * Drives the create-PAT frontend's type picker. For staff users every
45274
+ * type is offered for every permission (they bypass UserRole checks).
45275
+ * For other users we return only types where they hold an active role
45276
+ * granting the permission directly (the binding then inherits to
45277
+ * descendants at request time).
45278
+ */
45279
+ export const personalAccessTokensAvailableBindingTargetsList = (options) => {
45280
+ return (options?.client ?? _heyApiClient).get({
45281
+ security: [
45282
+ {
45283
+ name: 'Authorization',
45284
+ type: 'apiKey'
45285
+ },
45286
+ {
45287
+ scheme: 'bearer',
45288
+ type: 'http'
45289
+ },
45290
+ {
45291
+ scheme: 'bearer',
45292
+ type: 'http'
45293
+ }
45294
+ ],
45295
+ url: '/api/personal-access-tokens/available_binding_targets/',
45296
+ ...options
45297
+ });
45298
+ };
45299
+ /**
45300
+ * List entity types the caller can bind each permission to
45301
+ * Get number of items in the collection matching the request parameters.
45302
+ */
45303
+ export const personalAccessTokensAvailableBindingTargetsCount = (options) => {
45304
+ return (options?.client ?? _heyApiClient).head({
45305
+ security: [
45306
+ {
45307
+ name: 'Authorization',
45308
+ type: 'apiKey'
45309
+ },
45310
+ {
45311
+ scheme: 'bearer',
45312
+ type: 'http'
45313
+ },
45314
+ {
45315
+ scheme: 'bearer',
45316
+ type: 'http'
45317
+ }
45318
+ ],
45319
+ url: '/api/personal-access-tokens/available_binding_targets/',
45320
+ ...options
45321
+ });
45322
+ };
44393
45323
  /**
44394
45324
  * List available scopes for PAT creation
44395
45325
  * Return permissions the current user can delegate to a PAT.
@@ -45881,6 +46811,29 @@ export const proposalProposalsAddUser = (options) => {
45881
46811
  }
45882
46812
  });
45883
46813
  };
46814
+ /**
46815
+ * Manually advance a workflow that is awaiting call-manager confirmation.
46816
+ */
46817
+ export const proposalProposalsAdvanceWorkflowStep = (options) => {
46818
+ return (options.client ?? _heyApiClient).post({
46819
+ security: [
46820
+ {
46821
+ name: 'Authorization',
46822
+ type: 'apiKey'
46823
+ },
46824
+ {
46825
+ scheme: 'bearer',
46826
+ type: 'http'
46827
+ },
46828
+ {
46829
+ scheme: 'bearer',
46830
+ type: 'http'
46831
+ }
46832
+ ],
46833
+ url: '/api/proposal-proposals/{uuid}/advance_workflow_step/',
46834
+ ...options
46835
+ });
46836
+ };
45884
46837
  /**
45885
46838
  * Approve a proposal.
45886
46839
  */
@@ -47029,6 +47982,33 @@ export const proposalProtectedCallsDetectConflicts = (options) => {
47029
47982
  }
47030
47983
  });
47031
47984
  };
47985
+ /**
47986
+ * Duplicate a call. The new call inherits the source call's configuration (offerings, rounds, workflow steps, resource templates, role mappings, documents, and COI/matching/assignment/applicant-visibility settings) and starts in draft state. Proposals, reviews, team permissions, and reviewer-pool memberships are not copied.
47987
+ */
47988
+ export const proposalProtectedCallsDuplicate = (options) => {
47989
+ return (options.client ?? _heyApiClient).post({
47990
+ security: [
47991
+ {
47992
+ name: 'Authorization',
47993
+ type: 'apiKey'
47994
+ },
47995
+ {
47996
+ scheme: 'bearer',
47997
+ type: 'http'
47998
+ },
47999
+ {
48000
+ scheme: 'bearer',
48001
+ type: 'http'
48002
+ }
48003
+ ],
48004
+ url: '/api/proposal-protected-calls/{uuid}/duplicate/',
48005
+ ...options,
48006
+ headers: {
48007
+ 'Content-Type': 'application/json',
48008
+ ...options.headers
48009
+ }
48010
+ });
48011
+ };
47032
48012
  /**
47033
48013
  * Generate assignment batches for reviewers. Uses the affinity matrix and COI records to assign reviewers to proposals.
47034
48014
  */
@@ -47633,6 +48613,33 @@ export const proposalProtectedCallsRoundsSet = (options) => {
47633
48613
  }
47634
48614
  });
47635
48615
  };
48616
+ /**
48617
+ * Create multiple rounds on a call at a fixed cadence. Spacing is controlled by ``cadence`` (monthly/quarterly/biannual/yearly/custom). Each round's ``cutoff_time`` is derived as ``start_time + submission_window_days``. Fixed-date allocation is not supported in bulk mode.
48618
+ */
48619
+ export const proposalProtectedCallsRoundsBulkSet = (options) => {
48620
+ return (options.client ?? _heyApiClient).post({
48621
+ security: [
48622
+ {
48623
+ name: 'Authorization',
48624
+ type: 'apiKey'
48625
+ },
48626
+ {
48627
+ scheme: 'bearer',
48628
+ type: 'http'
48629
+ },
48630
+ {
48631
+ scheme: 'bearer',
48632
+ type: 'http'
48633
+ }
48634
+ ],
48635
+ url: '/api/proposal-protected-calls/{uuid}/rounds-bulk-set/',
48636
+ ...options,
48637
+ headers: {
48638
+ 'Content-Type': 'application/json',
48639
+ ...options.headers
48640
+ }
48641
+ });
48642
+ };
47636
48643
  export const proposalProtectedCallsRoundsDestroy = (options) => {
47637
48644
  return (options.client ?? _heyApiClient).delete({
47638
48645
  security: [
@@ -48630,7 +49637,7 @@ export const publicMaintenanceAnnouncementsRetrieve = (options) => {
48630
49637
  };
48631
49638
  /**
48632
49639
  * Execute read-only SQL query
48633
- * Execute a given SQL query against a read-only database replica. This is a powerful tool for diagnostics and reporting, but should be used with caution. Requires support user permissions.
49640
+ * Execute a given SQL query against a read-only database replica. This is a powerful tool for diagnostics and reporting, but should be used with caution. Requires staff user permissions.
48634
49641
  */
48635
49642
  export const query = (options) => {
48636
49643
  return (options.client ?? _heyApiClient).post({
@@ -50716,7 +51723,7 @@ export const rancherProjectsRetrieve = (options) => {
50716
51723
  /**
50717
51724
  * Returns project's secrets.
50718
51725
  */
50719
- export const rancherProjectsSecretsRetrieve = (options) => {
51726
+ export const rancherProjectsSecretsList = (options) => {
50720
51727
  return (options.client ?? _heyApiClient).get({
50721
51728
  security: [
50722
51729
  {
@@ -54745,7 +55752,7 @@ export const statsDatabaseRetrieve = (options) => {
54745
55752
  };
54746
55753
  /**
54747
55754
  * Execute read-only SQL query
54748
- * Execute a given SQL query against a read-only database replica. This is a powerful tool for diagnostics and reporting, but should be used with caution. Requires support user permissions.
55755
+ * Execute a given SQL query against a read-only database replica. This is a powerful tool for diagnostics and reporting, but should be used with caution. Requires staff user permissions.
54749
55756
  */
54750
55757
  export const statsQuery = (options) => {
54751
55758
  return (options.client ?? _heyApiClient).post({
@@ -58591,6 +59598,30 @@ export const usersPullRemoteUser = (options) => {
58591
59598
  ...options
58592
59599
  });
58593
59600
  };
59601
+ /**
59602
+ * Pull SCIM attributes from external IdP for this user
59603
+ * Staff-only action that pulls the user's attributes from the configured external SCIM 2.0 directory (SCIM_PULL_API_URL). Pulled attributes are merged via the same source-aware policy as inbound SCIM and the Identity Bridge.
59604
+ */
59605
+ export const usersPullScimAttributes = (options) => {
59606
+ return (options.client ?? _heyApiClient).post({
59607
+ security: [
59608
+ {
59609
+ name: 'Authorization',
59610
+ type: 'apiKey'
59611
+ },
59612
+ {
59613
+ scheme: 'bearer',
59614
+ type: 'http'
59615
+ },
59616
+ {
59617
+ scheme: 'bearer',
59618
+ type: 'http'
59619
+ }
59620
+ ],
59621
+ url: '/api/users/{uuid}/pull_scim_attributes/',
59622
+ ...options
59623
+ });
59624
+ };
58594
59625
  /**
58595
59626
  * Refresh user auth token
58596
59627
  */