waldur-js-client 7.9.6-dev.1 → 7.9.6-dev.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/sdk.gen.js CHANGED
@@ -10144,6 +10144,110 @@ export const marketplaceCustomerServiceAccountsRotateApiKey = (options) => {
10144
10144
  ...options
10145
10145
  });
10146
10146
  };
10147
+ /**
10148
+ * Get demo preset details
10149
+ * Returns detailed information about a specific demo preset. Staff access only.
10150
+ */
10151
+ export const marketplaceDemoPresetsInfoRetrieve = (options) => {
10152
+ return (options.client ?? _heyApiClient).get({
10153
+ security: [
10154
+ {
10155
+ name: 'Authorization',
10156
+ type: 'apiKey'
10157
+ },
10158
+ {
10159
+ scheme: 'bearer',
10160
+ type: 'http'
10161
+ }
10162
+ ],
10163
+ url: '/api/marketplace-demo-presets/info/{name}/',
10164
+ ...options
10165
+ });
10166
+ };
10167
+ /**
10168
+ * Get demo preset details
10169
+ * Get number of items in the collection matching the request parameters.
10170
+ */
10171
+ export const marketplaceDemoPresetsInfoCount = (options) => {
10172
+ return (options.client ?? _heyApiClient).head({
10173
+ security: [
10174
+ {
10175
+ name: 'Authorization',
10176
+ type: 'apiKey'
10177
+ },
10178
+ {
10179
+ scheme: 'bearer',
10180
+ type: 'http'
10181
+ }
10182
+ ],
10183
+ url: '/api/marketplace-demo-presets/info/{name}/',
10184
+ ...options
10185
+ });
10186
+ };
10187
+ /**
10188
+ * List demo presets
10189
+ * Returns a list of available demo data presets. Staff access only.
10190
+ */
10191
+ export const marketplaceDemoPresetsListList = (options) => {
10192
+ return (options?.client ?? _heyApiClient).get({
10193
+ security: [
10194
+ {
10195
+ name: 'Authorization',
10196
+ type: 'apiKey'
10197
+ },
10198
+ {
10199
+ scheme: 'bearer',
10200
+ type: 'http'
10201
+ }
10202
+ ],
10203
+ url: '/api/marketplace-demo-presets/list/',
10204
+ ...options
10205
+ });
10206
+ };
10207
+ /**
10208
+ * List demo presets
10209
+ * Get number of items in the collection matching the request parameters.
10210
+ */
10211
+ export const marketplaceDemoPresetsListCount = (options) => {
10212
+ return (options?.client ?? _heyApiClient).head({
10213
+ security: [
10214
+ {
10215
+ name: 'Authorization',
10216
+ type: 'apiKey'
10217
+ },
10218
+ {
10219
+ scheme: 'bearer',
10220
+ type: 'http'
10221
+ }
10222
+ ],
10223
+ url: '/api/marketplace-demo-presets/list/',
10224
+ ...options
10225
+ });
10226
+ };
10227
+ /**
10228
+ * Load demo preset
10229
+ * Load a demo preset into the database. This operation will optionally clean up existing data before loading. Staff access only.
10230
+ */
10231
+ export const marketplaceDemoPresetsLoad = (options) => {
10232
+ return (options.client ?? _heyApiClient).post({
10233
+ security: [
10234
+ {
10235
+ name: 'Authorization',
10236
+ type: 'apiKey'
10237
+ },
10238
+ {
10239
+ scheme: 'bearer',
10240
+ type: 'http'
10241
+ }
10242
+ ],
10243
+ url: '/api/marketplace-demo-presets/load/{name}/',
10244
+ ...options,
10245
+ headers: {
10246
+ 'Content-Type': 'application/json',
10247
+ ...options.headers
10248
+ }
10249
+ });
10250
+ };
10147
10251
  /**
10148
10252
  * Get resource counts by category
10149
10253
  *
@@ -11907,7 +12011,11 @@ export const marketplaceOrdersRejectByConsumer = (options) => {
11907
12011
  }
11908
12012
  ],
11909
12013
  url: '/api/marketplace-orders/{uuid}/reject_by_consumer/',
11910
- ...options
12014
+ ...options,
12015
+ headers: {
12016
+ 'Content-Type': 'application/json',
12017
+ ...options.headers
12018
+ }
11911
12019
  });
11912
12020
  };
11913
12021
  /**
@@ -19254,6 +19362,44 @@ export const marketplaceStatsProjectsUsagesGroupedByOecdCount = (options) => {
19254
19362
  ...options
19255
19363
  });
19256
19364
  };
19365
+ /**
19366
+ * Get resource provisioning statistics.
19367
+ */
19368
+ export const marketplaceStatsResourceProvisioningStatsList = (options) => {
19369
+ return (options?.client ?? _heyApiClient).get({
19370
+ security: [
19371
+ {
19372
+ name: 'Authorization',
19373
+ type: 'apiKey'
19374
+ },
19375
+ {
19376
+ scheme: 'bearer',
19377
+ type: 'http'
19378
+ }
19379
+ ],
19380
+ url: '/api/marketplace-stats/resource_provisioning_stats/',
19381
+ ...options
19382
+ });
19383
+ };
19384
+ /**
19385
+ * Get number of items in the collection matching the request parameters.
19386
+ */
19387
+ export const marketplaceStatsResourceProvisioningStatsCount = (options) => {
19388
+ return (options?.client ?? _heyApiClient).head({
19389
+ security: [
19390
+ {
19391
+ name: 'Authorization',
19392
+ type: 'apiKey'
19393
+ },
19394
+ {
19395
+ scheme: 'bearer',
19396
+ type: 'http'
19397
+ }
19398
+ ],
19399
+ url: '/api/marketplace-stats/resource_provisioning_stats/',
19400
+ ...options
19401
+ });
19402
+ };
19257
19403
  /**
19258
19404
  * Return resources limits per offering.
19259
19405
  */
@@ -19330,6 +19476,158 @@ export const marketplaceStatsTotalCostOfActiveResourcesPerOfferingCount = (optio
19330
19476
  ...options
19331
19477
  });
19332
19478
  };
19479
+ /**
19480
+ * Return user count grouped by affiliation.
19481
+ */
19482
+ export const marketplaceStatsUserAffiliationCountList = (options) => {
19483
+ return (options?.client ?? _heyApiClient).get({
19484
+ security: [
19485
+ {
19486
+ name: 'Authorization',
19487
+ type: 'apiKey'
19488
+ },
19489
+ {
19490
+ scheme: 'bearer',
19491
+ type: 'http'
19492
+ }
19493
+ ],
19494
+ url: '/api/marketplace-stats/user_affiliation_count/',
19495
+ ...options
19496
+ });
19497
+ };
19498
+ /**
19499
+ * Get number of items in the collection matching the request parameters.
19500
+ */
19501
+ export const marketplaceStatsUserAffiliationCountCount = (options) => {
19502
+ return (options?.client ?? _heyApiClient).head({
19503
+ security: [
19504
+ {
19505
+ name: 'Authorization',
19506
+ type: 'apiKey'
19507
+ },
19508
+ {
19509
+ scheme: 'bearer',
19510
+ type: 'http'
19511
+ }
19512
+ ],
19513
+ url: '/api/marketplace-stats/user_affiliation_count/',
19514
+ ...options
19515
+ });
19516
+ };
19517
+ /**
19518
+ * Return user count grouped by authentication method.
19519
+ */
19520
+ export const marketplaceStatsUserAuthMethodCountList = (options) => {
19521
+ return (options?.client ?? _heyApiClient).get({
19522
+ security: [
19523
+ {
19524
+ name: 'Authorization',
19525
+ type: 'apiKey'
19526
+ },
19527
+ {
19528
+ scheme: 'bearer',
19529
+ type: 'http'
19530
+ }
19531
+ ],
19532
+ url: '/api/marketplace-stats/user_auth_method_count/',
19533
+ ...options
19534
+ });
19535
+ };
19536
+ /**
19537
+ * Get number of items in the collection matching the request parameters.
19538
+ */
19539
+ export const marketplaceStatsUserAuthMethodCountCount = (options) => {
19540
+ return (options?.client ?? _heyApiClient).head({
19541
+ security: [
19542
+ {
19543
+ name: 'Authorization',
19544
+ type: 'apiKey'
19545
+ },
19546
+ {
19547
+ scheme: 'bearer',
19548
+ type: 'http'
19549
+ }
19550
+ ],
19551
+ url: '/api/marketplace-stats/user_auth_method_count/',
19552
+ ...options
19553
+ });
19554
+ };
19555
+ /**
19556
+ * Return user count grouped by identity source.
19557
+ */
19558
+ export const marketplaceStatsUserIdentitySourceCountList = (options) => {
19559
+ return (options?.client ?? _heyApiClient).get({
19560
+ security: [
19561
+ {
19562
+ name: 'Authorization',
19563
+ type: 'apiKey'
19564
+ },
19565
+ {
19566
+ scheme: 'bearer',
19567
+ type: 'http'
19568
+ }
19569
+ ],
19570
+ url: '/api/marketplace-stats/user_identity_source_count/',
19571
+ ...options
19572
+ });
19573
+ };
19574
+ /**
19575
+ * Get number of items in the collection matching the request parameters.
19576
+ */
19577
+ export const marketplaceStatsUserIdentitySourceCountCount = (options) => {
19578
+ return (options?.client ?? _heyApiClient).head({
19579
+ security: [
19580
+ {
19581
+ name: 'Authorization',
19582
+ type: 'apiKey'
19583
+ },
19584
+ {
19585
+ scheme: 'bearer',
19586
+ type: 'http'
19587
+ }
19588
+ ],
19589
+ url: '/api/marketplace-stats/user_identity_source_count/',
19590
+ ...options
19591
+ });
19592
+ };
19593
+ /**
19594
+ * Return user count grouped by organization.
19595
+ */
19596
+ export const marketplaceStatsUserOrganizationCountList = (options) => {
19597
+ return (options?.client ?? _heyApiClient).get({
19598
+ security: [
19599
+ {
19600
+ name: 'Authorization',
19601
+ type: 'apiKey'
19602
+ },
19603
+ {
19604
+ scheme: 'bearer',
19605
+ type: 'http'
19606
+ }
19607
+ ],
19608
+ url: '/api/marketplace-stats/user_organization_count/',
19609
+ ...options
19610
+ });
19611
+ };
19612
+ /**
19613
+ * Get number of items in the collection matching the request parameters.
19614
+ */
19615
+ export const marketplaceStatsUserOrganizationCountCount = (options) => {
19616
+ return (options?.client ?? _heyApiClient).head({
19617
+ security: [
19618
+ {
19619
+ name: 'Authorization',
19620
+ type: 'apiKey'
19621
+ },
19622
+ {
19623
+ scheme: 'bearer',
19624
+ type: 'http'
19625
+ }
19626
+ ],
19627
+ url: '/api/marketplace-stats/user_organization_count/',
19628
+ ...options
19629
+ });
19630
+ };
19333
19631
  /**
19334
19632
  * List user offering consents
19335
19633
  * Returns a paginated list of Terms of Service consents for the current user. Staff and support users can see all consents.
@@ -33897,6 +34195,26 @@ export const userGroupInvitationsCreate = (options) => {
33897
34195
  }
33898
34196
  });
33899
34197
  };
34198
+ /**
34199
+ * Delete a group invitation
34200
+ * Deletes an inactive group invitation. Only invitations that have been canceled (is_active=False) can be deleted.
34201
+ */
34202
+ export const userGroupInvitationsDestroy = (options) => {
34203
+ return (options.client ?? _heyApiClient).delete({
34204
+ security: [
34205
+ {
34206
+ name: 'Authorization',
34207
+ type: 'apiKey'
34208
+ },
34209
+ {
34210
+ scheme: 'bearer',
34211
+ type: 'http'
34212
+ }
34213
+ ],
34214
+ url: '/api/user-group-invitations/{uuid}/',
34215
+ ...options
34216
+ });
34217
+ };
33900
34218
  /**
33901
34219
  * Retrieve group invitation
33902
34220
  * Retrieve details of a specific group invitation. Unauthenticated users can only see public invitations.
@@ -33959,7 +34277,7 @@ export const userGroupInvitationsProjectsList = (options) => {
33959
34277
  };
33960
34278
  /**
33961
34279
  * Submit a permission request
33962
- * Creates a permission request based on a group invitation for the currently authenticated user.
34280
+ * Creates a permission request based on a group invitation for the currently authenticated user. If the invitation has auto_approve enabled and the user matches the required patterns, the request is automatically approved.
33963
34281
  */
33964
34282
  export const userGroupInvitationsSubmitRequest = (options) => {
33965
34283
  return (options.client ?? _heyApiClient).post({