waldur-js-client 7.9.6-dev.0 → 7.9.6-dev.10

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
@@ -11907,7 +11907,11 @@ export const marketplaceOrdersRejectByConsumer = (options) => {
11907
11907
  }
11908
11908
  ],
11909
11909
  url: '/api/marketplace-orders/{uuid}/reject_by_consumer/',
11910
- ...options
11910
+ ...options,
11911
+ headers: {
11912
+ 'Content-Type': 'application/json',
11913
+ ...options.headers
11914
+ }
11911
11915
  });
11912
11916
  };
11913
11917
  /**
@@ -19254,6 +19258,44 @@ export const marketplaceStatsProjectsUsagesGroupedByOecdCount = (options) => {
19254
19258
  ...options
19255
19259
  });
19256
19260
  };
19261
+ /**
19262
+ * Get resource provisioning statistics.
19263
+ */
19264
+ export const marketplaceStatsResourceProvisioningStatsList = (options) => {
19265
+ return (options?.client ?? _heyApiClient).get({
19266
+ security: [
19267
+ {
19268
+ name: 'Authorization',
19269
+ type: 'apiKey'
19270
+ },
19271
+ {
19272
+ scheme: 'bearer',
19273
+ type: 'http'
19274
+ }
19275
+ ],
19276
+ url: '/api/marketplace-stats/resource_provisioning_stats/',
19277
+ ...options
19278
+ });
19279
+ };
19280
+ /**
19281
+ * Get number of items in the collection matching the request parameters.
19282
+ */
19283
+ export const marketplaceStatsResourceProvisioningStatsCount = (options) => {
19284
+ return (options?.client ?? _heyApiClient).head({
19285
+ security: [
19286
+ {
19287
+ name: 'Authorization',
19288
+ type: 'apiKey'
19289
+ },
19290
+ {
19291
+ scheme: 'bearer',
19292
+ type: 'http'
19293
+ }
19294
+ ],
19295
+ url: '/api/marketplace-stats/resource_provisioning_stats/',
19296
+ ...options
19297
+ });
19298
+ };
19257
19299
  /**
19258
19300
  * Return resources limits per offering.
19259
19301
  */
@@ -19330,6 +19372,158 @@ export const marketplaceStatsTotalCostOfActiveResourcesPerOfferingCount = (optio
19330
19372
  ...options
19331
19373
  });
19332
19374
  };
19375
+ /**
19376
+ * Return user count grouped by affiliation.
19377
+ */
19378
+ export const marketplaceStatsUserAffiliationCountList = (options) => {
19379
+ return (options?.client ?? _heyApiClient).get({
19380
+ security: [
19381
+ {
19382
+ name: 'Authorization',
19383
+ type: 'apiKey'
19384
+ },
19385
+ {
19386
+ scheme: 'bearer',
19387
+ type: 'http'
19388
+ }
19389
+ ],
19390
+ url: '/api/marketplace-stats/user_affiliation_count/',
19391
+ ...options
19392
+ });
19393
+ };
19394
+ /**
19395
+ * Get number of items in the collection matching the request parameters.
19396
+ */
19397
+ export const marketplaceStatsUserAffiliationCountCount = (options) => {
19398
+ return (options?.client ?? _heyApiClient).head({
19399
+ security: [
19400
+ {
19401
+ name: 'Authorization',
19402
+ type: 'apiKey'
19403
+ },
19404
+ {
19405
+ scheme: 'bearer',
19406
+ type: 'http'
19407
+ }
19408
+ ],
19409
+ url: '/api/marketplace-stats/user_affiliation_count/',
19410
+ ...options
19411
+ });
19412
+ };
19413
+ /**
19414
+ * Return user count grouped by authentication method.
19415
+ */
19416
+ export const marketplaceStatsUserAuthMethodCountList = (options) => {
19417
+ return (options?.client ?? _heyApiClient).get({
19418
+ security: [
19419
+ {
19420
+ name: 'Authorization',
19421
+ type: 'apiKey'
19422
+ },
19423
+ {
19424
+ scheme: 'bearer',
19425
+ type: 'http'
19426
+ }
19427
+ ],
19428
+ url: '/api/marketplace-stats/user_auth_method_count/',
19429
+ ...options
19430
+ });
19431
+ };
19432
+ /**
19433
+ * Get number of items in the collection matching the request parameters.
19434
+ */
19435
+ export const marketplaceStatsUserAuthMethodCountCount = (options) => {
19436
+ return (options?.client ?? _heyApiClient).head({
19437
+ security: [
19438
+ {
19439
+ name: 'Authorization',
19440
+ type: 'apiKey'
19441
+ },
19442
+ {
19443
+ scheme: 'bearer',
19444
+ type: 'http'
19445
+ }
19446
+ ],
19447
+ url: '/api/marketplace-stats/user_auth_method_count/',
19448
+ ...options
19449
+ });
19450
+ };
19451
+ /**
19452
+ * Return user count grouped by identity source.
19453
+ */
19454
+ export const marketplaceStatsUserIdentitySourceCountList = (options) => {
19455
+ return (options?.client ?? _heyApiClient).get({
19456
+ security: [
19457
+ {
19458
+ name: 'Authorization',
19459
+ type: 'apiKey'
19460
+ },
19461
+ {
19462
+ scheme: 'bearer',
19463
+ type: 'http'
19464
+ }
19465
+ ],
19466
+ url: '/api/marketplace-stats/user_identity_source_count/',
19467
+ ...options
19468
+ });
19469
+ };
19470
+ /**
19471
+ * Get number of items in the collection matching the request parameters.
19472
+ */
19473
+ export const marketplaceStatsUserIdentitySourceCountCount = (options) => {
19474
+ return (options?.client ?? _heyApiClient).head({
19475
+ security: [
19476
+ {
19477
+ name: 'Authorization',
19478
+ type: 'apiKey'
19479
+ },
19480
+ {
19481
+ scheme: 'bearer',
19482
+ type: 'http'
19483
+ }
19484
+ ],
19485
+ url: '/api/marketplace-stats/user_identity_source_count/',
19486
+ ...options
19487
+ });
19488
+ };
19489
+ /**
19490
+ * Return user count grouped by organization.
19491
+ */
19492
+ export const marketplaceStatsUserOrganizationCountList = (options) => {
19493
+ return (options?.client ?? _heyApiClient).get({
19494
+ security: [
19495
+ {
19496
+ name: 'Authorization',
19497
+ type: 'apiKey'
19498
+ },
19499
+ {
19500
+ scheme: 'bearer',
19501
+ type: 'http'
19502
+ }
19503
+ ],
19504
+ url: '/api/marketplace-stats/user_organization_count/',
19505
+ ...options
19506
+ });
19507
+ };
19508
+ /**
19509
+ * Get number of items in the collection matching the request parameters.
19510
+ */
19511
+ export const marketplaceStatsUserOrganizationCountCount = (options) => {
19512
+ return (options?.client ?? _heyApiClient).head({
19513
+ security: [
19514
+ {
19515
+ name: 'Authorization',
19516
+ type: 'apiKey'
19517
+ },
19518
+ {
19519
+ scheme: 'bearer',
19520
+ type: 'http'
19521
+ }
19522
+ ],
19523
+ url: '/api/marketplace-stats/user_organization_count/',
19524
+ ...options
19525
+ });
19526
+ };
19333
19527
  /**
19334
19528
  * List user offering consents
19335
19529
  * Returns a paginated list of Terms of Service consents for the current user. Staff and support users can see all consents.
@@ -33553,7 +33747,7 @@ export const userActionsRetrieve = (options) => {
33553
33747
  type: 'http'
33554
33748
  }
33555
33749
  ],
33556
- url: '/api/user-actions/{id}/',
33750
+ url: '/api/user-actions/{uuid}/',
33557
33751
  ...options
33558
33752
  });
33559
33753
  };
@@ -33572,7 +33766,7 @@ export const userActionsExecuteAction = (options) => {
33572
33766
  type: 'http'
33573
33767
  }
33574
33768
  ],
33575
- url: '/api/user-actions/{id}/execute_action/',
33769
+ url: '/api/user-actions/{uuid}/execute_action/',
33576
33770
  ...options,
33577
33771
  headers: {
33578
33772
  'Content-Type': 'application/json',
@@ -33595,7 +33789,7 @@ export const userActionsSilence = (options) => {
33595
33789
  type: 'http'
33596
33790
  }
33597
33791
  ],
33598
- url: '/api/user-actions/{id}/silence/',
33792
+ url: '/api/user-actions/{uuid}/silence/',
33599
33793
  ...options,
33600
33794
  headers: {
33601
33795
  'Content-Type': 'application/json',
@@ -33618,7 +33812,7 @@ export const userActionsUnsilence = (options) => {
33618
33812
  type: 'http'
33619
33813
  }
33620
33814
  ],
33621
- url: '/api/user-actions/{id}/unsilence/',
33815
+ url: '/api/user-actions/{uuid}/unsilence/',
33622
33816
  ...options
33623
33817
  });
33624
33818
  };
@@ -33684,7 +33878,7 @@ export const userActionsSummaryCount = (options) => {
33684
33878
  });
33685
33879
  };
33686
33880
  /**
33687
- * Trigger update of user actions (admin only)
33881
+ * Trigger update of user actions
33688
33882
  */
33689
33883
  export const userActionsUpdateActions = (options) => {
33690
33884
  return (options?.client ?? _heyApiClient).post({
@@ -33897,6 +34091,26 @@ export const userGroupInvitationsCreate = (options) => {
33897
34091
  }
33898
34092
  });
33899
34093
  };
34094
+ /**
34095
+ * Delete a group invitation
34096
+ * Deletes an inactive group invitation. Only invitations that have been canceled (is_active=False) can be deleted.
34097
+ */
34098
+ export const userGroupInvitationsDestroy = (options) => {
34099
+ return (options.client ?? _heyApiClient).delete({
34100
+ security: [
34101
+ {
34102
+ name: 'Authorization',
34103
+ type: 'apiKey'
34104
+ },
34105
+ {
34106
+ scheme: 'bearer',
34107
+ type: 'http'
34108
+ }
34109
+ ],
34110
+ url: '/api/user-group-invitations/{uuid}/',
34111
+ ...options
34112
+ });
34113
+ };
33900
34114
  /**
33901
34115
  * Retrieve group invitation
33902
34116
  * Retrieve details of a specific group invitation. Unauthenticated users can only see public invitations.
@@ -33959,7 +34173,7 @@ export const userGroupInvitationsProjectsList = (options) => {
33959
34173
  };
33960
34174
  /**
33961
34175
  * Submit a permission request
33962
- * Creates a permission request based on a group invitation for the currently authenticated user.
34176
+ * 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
34177
  */
33964
34178
  export const userGroupInvitationsSubmitRequest = (options) => {
33965
34179
  return (options.client ?? _heyApiClient).post({