waldur-js-client 7.9.6-dev.2 → 7.9.6-dev.21

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
@@ -3472,7 +3472,20 @@ export const callRoundsReviewersList = (options) => {
3472
3472
  };
3473
3473
  /**
3474
3474
  * Get Celery worker statistics
3475
- * Provides a snapshot of the Celery workers' status, including active, scheduled, reserved, and revoked tasks, as well as worker-specific statistics. Requires support user permissions.
3475
+ * Provides a comprehensive snapshot of all Celery workers' status.
3476
+ *
3477
+ * This endpoint returns detailed information about:
3478
+ * - **active**: Tasks currently being executed by workers
3479
+ * - **scheduled**: Tasks scheduled for future execution (with ETA)
3480
+ * - **reserved**: Tasks received by workers but not yet started
3481
+ * - **revoked**: Task IDs that have been cancelled/revoked
3482
+ * - **query_task**: Results of task queries (if any)
3483
+ * - **stats**: Detailed worker statistics including uptime, pool info, and broker connection
3484
+ *
3485
+ * Each field is a dictionary where keys are worker names (e.g., 'celery@hostname').
3486
+ * If no workers are available, fields will be `null`.
3487
+ *
3488
+ * Requires support user permissions.
3476
3489
  */
3477
3490
  export const celeryStatsRetrieve = (options) => {
3478
3491
  return (options?.client ?? _heyApiClient).get({
@@ -10144,6 +10157,110 @@ export const marketplaceCustomerServiceAccountsRotateApiKey = (options) => {
10144
10157
  ...options
10145
10158
  });
10146
10159
  };
10160
+ /**
10161
+ * Get demo preset details
10162
+ * Returns detailed information about a specific demo preset. Staff access only.
10163
+ */
10164
+ export const marketplaceDemoPresetsInfoRetrieve = (options) => {
10165
+ return (options.client ?? _heyApiClient).get({
10166
+ security: [
10167
+ {
10168
+ name: 'Authorization',
10169
+ type: 'apiKey'
10170
+ },
10171
+ {
10172
+ scheme: 'bearer',
10173
+ type: 'http'
10174
+ }
10175
+ ],
10176
+ url: '/api/marketplace-demo-presets/info/{name}/',
10177
+ ...options
10178
+ });
10179
+ };
10180
+ /**
10181
+ * Get demo preset details
10182
+ * Get number of items in the collection matching the request parameters.
10183
+ */
10184
+ export const marketplaceDemoPresetsInfoCount = (options) => {
10185
+ return (options.client ?? _heyApiClient).head({
10186
+ security: [
10187
+ {
10188
+ name: 'Authorization',
10189
+ type: 'apiKey'
10190
+ },
10191
+ {
10192
+ scheme: 'bearer',
10193
+ type: 'http'
10194
+ }
10195
+ ],
10196
+ url: '/api/marketplace-demo-presets/info/{name}/',
10197
+ ...options
10198
+ });
10199
+ };
10200
+ /**
10201
+ * List demo presets
10202
+ * Returns a list of available demo data presets. Staff access only.
10203
+ */
10204
+ export const marketplaceDemoPresetsListList = (options) => {
10205
+ return (options?.client ?? _heyApiClient).get({
10206
+ security: [
10207
+ {
10208
+ name: 'Authorization',
10209
+ type: 'apiKey'
10210
+ },
10211
+ {
10212
+ scheme: 'bearer',
10213
+ type: 'http'
10214
+ }
10215
+ ],
10216
+ url: '/api/marketplace-demo-presets/list/',
10217
+ ...options
10218
+ });
10219
+ };
10220
+ /**
10221
+ * List demo presets
10222
+ * Get number of items in the collection matching the request parameters.
10223
+ */
10224
+ export const marketplaceDemoPresetsListCount = (options) => {
10225
+ return (options?.client ?? _heyApiClient).head({
10226
+ security: [
10227
+ {
10228
+ name: 'Authorization',
10229
+ type: 'apiKey'
10230
+ },
10231
+ {
10232
+ scheme: 'bearer',
10233
+ type: 'http'
10234
+ }
10235
+ ],
10236
+ url: '/api/marketplace-demo-presets/list/',
10237
+ ...options
10238
+ });
10239
+ };
10240
+ /**
10241
+ * Load demo preset
10242
+ * Load a demo preset into the database. This operation will optionally clean up existing data before loading. Staff access only.
10243
+ */
10244
+ export const marketplaceDemoPresetsLoad = (options) => {
10245
+ return (options.client ?? _heyApiClient).post({
10246
+ security: [
10247
+ {
10248
+ name: 'Authorization',
10249
+ type: 'apiKey'
10250
+ },
10251
+ {
10252
+ scheme: 'bearer',
10253
+ type: 'http'
10254
+ }
10255
+ ],
10256
+ url: '/api/marketplace-demo-presets/load/{name}/',
10257
+ ...options,
10258
+ headers: {
10259
+ 'Content-Type': 'application/json',
10260
+ ...options.headers
10261
+ }
10262
+ });
10263
+ };
10147
10264
  /**
10148
10265
  * Get resource counts by category
10149
10266
  *
@@ -11907,7 +12024,11 @@ export const marketplaceOrdersRejectByConsumer = (options) => {
11907
12024
  }
11908
12025
  ],
11909
12026
  url: '/api/marketplace-orders/{uuid}/reject_by_consumer/',
11910
- ...options
12027
+ ...options,
12028
+ headers: {
12029
+ 'Content-Type': 'application/json',
12030
+ ...options.headers
12031
+ }
11911
12032
  });
11912
12033
  };
11913
12034
  /**
@@ -19368,6 +19489,158 @@ export const marketplaceStatsTotalCostOfActiveResourcesPerOfferingCount = (optio
19368
19489
  ...options
19369
19490
  });
19370
19491
  };
19492
+ /**
19493
+ * Return user count grouped by affiliation.
19494
+ */
19495
+ export const marketplaceStatsUserAffiliationCountList = (options) => {
19496
+ return (options?.client ?? _heyApiClient).get({
19497
+ security: [
19498
+ {
19499
+ name: 'Authorization',
19500
+ type: 'apiKey'
19501
+ },
19502
+ {
19503
+ scheme: 'bearer',
19504
+ type: 'http'
19505
+ }
19506
+ ],
19507
+ url: '/api/marketplace-stats/user_affiliation_count/',
19508
+ ...options
19509
+ });
19510
+ };
19511
+ /**
19512
+ * Get number of items in the collection matching the request parameters.
19513
+ */
19514
+ export const marketplaceStatsUserAffiliationCountCount = (options) => {
19515
+ return (options?.client ?? _heyApiClient).head({
19516
+ security: [
19517
+ {
19518
+ name: 'Authorization',
19519
+ type: 'apiKey'
19520
+ },
19521
+ {
19522
+ scheme: 'bearer',
19523
+ type: 'http'
19524
+ }
19525
+ ],
19526
+ url: '/api/marketplace-stats/user_affiliation_count/',
19527
+ ...options
19528
+ });
19529
+ };
19530
+ /**
19531
+ * Return user count grouped by authentication method.
19532
+ */
19533
+ export const marketplaceStatsUserAuthMethodCountList = (options) => {
19534
+ return (options?.client ?? _heyApiClient).get({
19535
+ security: [
19536
+ {
19537
+ name: 'Authorization',
19538
+ type: 'apiKey'
19539
+ },
19540
+ {
19541
+ scheme: 'bearer',
19542
+ type: 'http'
19543
+ }
19544
+ ],
19545
+ url: '/api/marketplace-stats/user_auth_method_count/',
19546
+ ...options
19547
+ });
19548
+ };
19549
+ /**
19550
+ * Get number of items in the collection matching the request parameters.
19551
+ */
19552
+ export const marketplaceStatsUserAuthMethodCountCount = (options) => {
19553
+ return (options?.client ?? _heyApiClient).head({
19554
+ security: [
19555
+ {
19556
+ name: 'Authorization',
19557
+ type: 'apiKey'
19558
+ },
19559
+ {
19560
+ scheme: 'bearer',
19561
+ type: 'http'
19562
+ }
19563
+ ],
19564
+ url: '/api/marketplace-stats/user_auth_method_count/',
19565
+ ...options
19566
+ });
19567
+ };
19568
+ /**
19569
+ * Return user count grouped by identity source.
19570
+ */
19571
+ export const marketplaceStatsUserIdentitySourceCountList = (options) => {
19572
+ return (options?.client ?? _heyApiClient).get({
19573
+ security: [
19574
+ {
19575
+ name: 'Authorization',
19576
+ type: 'apiKey'
19577
+ },
19578
+ {
19579
+ scheme: 'bearer',
19580
+ type: 'http'
19581
+ }
19582
+ ],
19583
+ url: '/api/marketplace-stats/user_identity_source_count/',
19584
+ ...options
19585
+ });
19586
+ };
19587
+ /**
19588
+ * Get number of items in the collection matching the request parameters.
19589
+ */
19590
+ export const marketplaceStatsUserIdentitySourceCountCount = (options) => {
19591
+ return (options?.client ?? _heyApiClient).head({
19592
+ security: [
19593
+ {
19594
+ name: 'Authorization',
19595
+ type: 'apiKey'
19596
+ },
19597
+ {
19598
+ scheme: 'bearer',
19599
+ type: 'http'
19600
+ }
19601
+ ],
19602
+ url: '/api/marketplace-stats/user_identity_source_count/',
19603
+ ...options
19604
+ });
19605
+ };
19606
+ /**
19607
+ * Return user count grouped by organization.
19608
+ */
19609
+ export const marketplaceStatsUserOrganizationCountList = (options) => {
19610
+ return (options?.client ?? _heyApiClient).get({
19611
+ security: [
19612
+ {
19613
+ name: 'Authorization',
19614
+ type: 'apiKey'
19615
+ },
19616
+ {
19617
+ scheme: 'bearer',
19618
+ type: 'http'
19619
+ }
19620
+ ],
19621
+ url: '/api/marketplace-stats/user_organization_count/',
19622
+ ...options
19623
+ });
19624
+ };
19625
+ /**
19626
+ * Get number of items in the collection matching the request parameters.
19627
+ */
19628
+ export const marketplaceStatsUserOrganizationCountCount = (options) => {
19629
+ return (options?.client ?? _heyApiClient).head({
19630
+ security: [
19631
+ {
19632
+ name: 'Authorization',
19633
+ type: 'apiKey'
19634
+ },
19635
+ {
19636
+ scheme: 'bearer',
19637
+ type: 'http'
19638
+ }
19639
+ ],
19640
+ url: '/api/marketplace-stats/user_organization_count/',
19641
+ ...options
19642
+ });
19643
+ };
19371
19644
  /**
19372
19645
  * List user offering consents
19373
19646
  * Returns a paginated list of Terms of Service consents for the current user. Staff and support users can see all consents.
@@ -27872,6 +28145,29 @@ export const proposalProposalsDeleteUser = (options) => {
27872
28145
  }
27873
28146
  });
27874
28147
  };
28148
+ /**
28149
+ * Detach documents from proposal.
28150
+ */
28151
+ export const proposalProposalsDetachDocuments = (options) => {
28152
+ return (options.client ?? _heyApiClient).post({
28153
+ security: [
28154
+ {
28155
+ name: 'Authorization',
28156
+ type: 'apiKey'
28157
+ },
28158
+ {
28159
+ scheme: 'bearer',
28160
+ type: 'http'
28161
+ }
28162
+ ],
28163
+ url: '/api/proposal-proposals/{uuid}/detach_documents/',
28164
+ ...options,
28165
+ headers: {
28166
+ 'Content-Type': 'application/json',
28167
+ ...options.headers
28168
+ }
28169
+ });
28170
+ };
27875
28171
  /**
27876
28172
  * List users and their roles in a scope
27877
28173
  * Retrieves a list of users who have a role within a specific scope (e.g., a project or an organization). The list can be filtered by user details or role.
@@ -33151,15 +33447,262 @@ export const supportPrioritiesRetrieve = (options) => {
33151
33447
  ...options
33152
33448
  });
33153
33449
  };
33154
- export const supportSmaxWebhook = (options) => {
33155
- return (options.client ?? _heyApiClient).post({
33156
- url: '/api/support-smax-webhook/',
33157
- ...options,
33158
- headers: {
33159
- 'Content-Type': 'application/json',
33160
- ...options.headers
33161
- }
33162
- });
33450
+ export const supportRequestTypesList = (options) => {
33451
+ return (options?.client ?? _heyApiClient).get({
33452
+ security: [
33453
+ {
33454
+ name: 'Authorization',
33455
+ type: 'apiKey'
33456
+ },
33457
+ {
33458
+ scheme: 'bearer',
33459
+ type: 'http'
33460
+ }
33461
+ ],
33462
+ url: '/api/support-request-types/',
33463
+ ...options
33464
+ });
33465
+ };
33466
+ /**
33467
+ * Get number of items in the collection matching the request parameters.
33468
+ */
33469
+ export const supportRequestTypesCount = (options) => {
33470
+ return (options?.client ?? _heyApiClient).head({
33471
+ security: [
33472
+ {
33473
+ name: 'Authorization',
33474
+ type: 'apiKey'
33475
+ },
33476
+ {
33477
+ scheme: 'bearer',
33478
+ type: 'http'
33479
+ }
33480
+ ],
33481
+ url: '/api/support-request-types/',
33482
+ ...options
33483
+ });
33484
+ };
33485
+ export const supportRequestTypesAdminList = (options) => {
33486
+ return (options?.client ?? _heyApiClient).get({
33487
+ security: [
33488
+ {
33489
+ name: 'Authorization',
33490
+ type: 'apiKey'
33491
+ },
33492
+ {
33493
+ scheme: 'bearer',
33494
+ type: 'http'
33495
+ }
33496
+ ],
33497
+ url: '/api/support-request-types-admin/',
33498
+ ...options
33499
+ });
33500
+ };
33501
+ /**
33502
+ * Get number of items in the collection matching the request parameters.
33503
+ */
33504
+ export const supportRequestTypesAdminCount = (options) => {
33505
+ return (options?.client ?? _heyApiClient).head({
33506
+ security: [
33507
+ {
33508
+ name: 'Authorization',
33509
+ type: 'apiKey'
33510
+ },
33511
+ {
33512
+ scheme: 'bearer',
33513
+ type: 'http'
33514
+ }
33515
+ ],
33516
+ url: '/api/support-request-types-admin/',
33517
+ ...options
33518
+ });
33519
+ };
33520
+ export const supportRequestTypesAdminCreate = (options) => {
33521
+ return (options.client ?? _heyApiClient).post({
33522
+ security: [
33523
+ {
33524
+ name: 'Authorization',
33525
+ type: 'apiKey'
33526
+ },
33527
+ {
33528
+ scheme: 'bearer',
33529
+ type: 'http'
33530
+ }
33531
+ ],
33532
+ url: '/api/support-request-types-admin/',
33533
+ ...options,
33534
+ headers: {
33535
+ 'Content-Type': 'application/json',
33536
+ ...options.headers
33537
+ }
33538
+ });
33539
+ };
33540
+ export const supportRequestTypesAdminDestroy = (options) => {
33541
+ return (options.client ?? _heyApiClient).delete({
33542
+ security: [
33543
+ {
33544
+ name: 'Authorization',
33545
+ type: 'apiKey'
33546
+ },
33547
+ {
33548
+ scheme: 'bearer',
33549
+ type: 'http'
33550
+ }
33551
+ ],
33552
+ url: '/api/support-request-types-admin/{uuid}/',
33553
+ ...options
33554
+ });
33555
+ };
33556
+ export const supportRequestTypesAdminRetrieve = (options) => {
33557
+ return (options.client ?? _heyApiClient).get({
33558
+ security: [
33559
+ {
33560
+ name: 'Authorization',
33561
+ type: 'apiKey'
33562
+ },
33563
+ {
33564
+ scheme: 'bearer',
33565
+ type: 'http'
33566
+ }
33567
+ ],
33568
+ url: '/api/support-request-types-admin/{uuid}/',
33569
+ ...options
33570
+ });
33571
+ };
33572
+ export const supportRequestTypesAdminPartialUpdate = (options) => {
33573
+ return (options.client ?? _heyApiClient).patch({
33574
+ security: [
33575
+ {
33576
+ name: 'Authorization',
33577
+ type: 'apiKey'
33578
+ },
33579
+ {
33580
+ scheme: 'bearer',
33581
+ type: 'http'
33582
+ }
33583
+ ],
33584
+ url: '/api/support-request-types-admin/{uuid}/',
33585
+ ...options,
33586
+ headers: {
33587
+ 'Content-Type': 'application/json',
33588
+ ...options.headers
33589
+ }
33590
+ });
33591
+ };
33592
+ export const supportRequestTypesAdminUpdate = (options) => {
33593
+ return (options.client ?? _heyApiClient).put({
33594
+ security: [
33595
+ {
33596
+ name: 'Authorization',
33597
+ type: 'apiKey'
33598
+ },
33599
+ {
33600
+ scheme: 'bearer',
33601
+ type: 'http'
33602
+ }
33603
+ ],
33604
+ url: '/api/support-request-types-admin/{uuid}/',
33605
+ ...options,
33606
+ headers: {
33607
+ 'Content-Type': 'application/json',
33608
+ ...options.headers
33609
+ }
33610
+ });
33611
+ };
33612
+ /**
33613
+ * Activate a request type so it appears in issue creation.
33614
+ */
33615
+ export const supportRequestTypesAdminActivate = (options) => {
33616
+ return (options.client ?? _heyApiClient).post({
33617
+ security: [
33618
+ {
33619
+ name: 'Authorization',
33620
+ type: 'apiKey'
33621
+ },
33622
+ {
33623
+ scheme: 'bearer',
33624
+ type: 'http'
33625
+ }
33626
+ ],
33627
+ url: '/api/support-request-types-admin/{uuid}/activate/',
33628
+ ...options,
33629
+ headers: {
33630
+ 'Content-Type': 'application/json',
33631
+ ...options.headers
33632
+ }
33633
+ });
33634
+ };
33635
+ /**
33636
+ * Deactivate a request type so it no longer appears in issue creation.
33637
+ */
33638
+ export const supportRequestTypesAdminDeactivate = (options) => {
33639
+ return (options.client ?? _heyApiClient).post({
33640
+ security: [
33641
+ {
33642
+ name: 'Authorization',
33643
+ type: 'apiKey'
33644
+ },
33645
+ {
33646
+ scheme: 'bearer',
33647
+ type: 'http'
33648
+ }
33649
+ ],
33650
+ url: '/api/support-request-types-admin/{uuid}/deactivate/',
33651
+ ...options,
33652
+ headers: {
33653
+ 'Content-Type': 'application/json',
33654
+ ...options.headers
33655
+ }
33656
+ });
33657
+ };
33658
+ /**
33659
+ * Bulk update order for multiple request types.
33660
+ */
33661
+ export const supportRequestTypesAdminReorder = (options) => {
33662
+ return (options.client ?? _heyApiClient).post({
33663
+ security: [
33664
+ {
33665
+ name: 'Authorization',
33666
+ type: 'apiKey'
33667
+ },
33668
+ {
33669
+ scheme: 'bearer',
33670
+ type: 'http'
33671
+ }
33672
+ ],
33673
+ url: '/api/support-request-types-admin/reorder/',
33674
+ ...options,
33675
+ headers: {
33676
+ 'Content-Type': 'application/json',
33677
+ ...options.headers
33678
+ }
33679
+ });
33680
+ };
33681
+ export const supportRequestTypesRetrieve = (options) => {
33682
+ return (options.client ?? _heyApiClient).get({
33683
+ security: [
33684
+ {
33685
+ name: 'Authorization',
33686
+ type: 'apiKey'
33687
+ },
33688
+ {
33689
+ scheme: 'bearer',
33690
+ type: 'http'
33691
+ }
33692
+ ],
33693
+ url: '/api/support-request-types/{uuid}/',
33694
+ ...options
33695
+ });
33696
+ };
33697
+ export const supportSmaxWebhook = (options) => {
33698
+ return (options.client ?? _heyApiClient).post({
33699
+ url: '/api/support-smax-webhook/',
33700
+ ...options,
33701
+ headers: {
33702
+ 'Content-Type': 'application/json',
33703
+ ...options.headers
33704
+ }
33705
+ });
33163
33706
  };
33164
33707
  export const supportStatisticsRetrieve = (options) => {
33165
33708
  return (options?.client ?? _heyApiClient).get({
@@ -33404,6 +33947,282 @@ export const supportZammadWebhook = (options) => {
33404
33947
  ...options
33405
33948
  });
33406
33949
  };
33950
+ export const supportSettingsAtlassianList = (options) => {
33951
+ return (options?.client ?? _heyApiClient).get({
33952
+ security: [
33953
+ {
33954
+ name: 'Authorization',
33955
+ type: 'apiKey'
33956
+ },
33957
+ {
33958
+ scheme: 'bearer',
33959
+ type: 'http'
33960
+ }
33961
+ ],
33962
+ url: '/api/support/settings/atlassian/',
33963
+ ...options
33964
+ });
33965
+ };
33966
+ export const supportSettingsAtlassianCreate = (options) => {
33967
+ return (options?.client ?? _heyApiClient).post({
33968
+ security: [
33969
+ {
33970
+ name: 'Authorization',
33971
+ type: 'apiKey'
33972
+ },
33973
+ {
33974
+ scheme: 'bearer',
33975
+ type: 'http'
33976
+ }
33977
+ ],
33978
+ url: '/api/support/settings/atlassian/',
33979
+ ...options
33980
+ });
33981
+ };
33982
+ export const supportSettingsAtlassianDestroy = (options) => {
33983
+ return (options.client ?? _heyApiClient).delete({
33984
+ security: [
33985
+ {
33986
+ name: 'Authorization',
33987
+ type: 'apiKey'
33988
+ },
33989
+ {
33990
+ scheme: 'bearer',
33991
+ type: 'http'
33992
+ }
33993
+ ],
33994
+ url: '/api/support/settings/atlassian/{id}/',
33995
+ ...options
33996
+ });
33997
+ };
33998
+ export const supportSettingsAtlassianRetrieve = (options) => {
33999
+ return (options.client ?? _heyApiClient).get({
34000
+ security: [
34001
+ {
34002
+ name: 'Authorization',
34003
+ type: 'apiKey'
34004
+ },
34005
+ {
34006
+ scheme: 'bearer',
34007
+ type: 'http'
34008
+ }
34009
+ ],
34010
+ url: '/api/support/settings/atlassian/{id}/',
34011
+ ...options
34012
+ });
34013
+ };
34014
+ export const supportSettingsAtlassianPartialUpdate = (options) => {
34015
+ return (options.client ?? _heyApiClient).patch({
34016
+ security: [
34017
+ {
34018
+ name: 'Authorization',
34019
+ type: 'apiKey'
34020
+ },
34021
+ {
34022
+ scheme: 'bearer',
34023
+ type: 'http'
34024
+ }
34025
+ ],
34026
+ url: '/api/support/settings/atlassian/{id}/',
34027
+ ...options
34028
+ });
34029
+ };
34030
+ export const supportSettingsAtlassianUpdate = (options) => {
34031
+ return (options.client ?? _heyApiClient).put({
34032
+ security: [
34033
+ {
34034
+ name: 'Authorization',
34035
+ type: 'apiKey'
34036
+ },
34037
+ {
34038
+ scheme: 'bearer',
34039
+ type: 'http'
34040
+ }
34041
+ ],
34042
+ url: '/api/support/settings/atlassian/{id}/',
34043
+ ...options
34044
+ });
34045
+ };
34046
+ /**
34047
+ * Get current Atlassian settings (masked secrets).
34048
+ */
34049
+ export const supportSettingsAtlassianCurrentSettingsRetrieve = (options) => {
34050
+ return (options?.client ?? _heyApiClient).get({
34051
+ security: [
34052
+ {
34053
+ name: 'Authorization',
34054
+ type: 'apiKey'
34055
+ },
34056
+ {
34057
+ scheme: 'bearer',
34058
+ type: 'http'
34059
+ }
34060
+ ],
34061
+ url: '/api/support/settings/atlassian/current_settings/',
34062
+ ...options
34063
+ });
34064
+ };
34065
+ /**
34066
+ * Discover available custom fields.
34067
+ */
34068
+ export const supportSettingsAtlassianDiscoverCustomFields = (options) => {
34069
+ return (options.client ?? _heyApiClient).post({
34070
+ security: [
34071
+ {
34072
+ name: 'Authorization',
34073
+ type: 'apiKey'
34074
+ },
34075
+ {
34076
+ scheme: 'bearer',
34077
+ type: 'http'
34078
+ }
34079
+ ],
34080
+ url: '/api/support/settings/atlassian/discover_custom_fields/',
34081
+ ...options,
34082
+ headers: {
34083
+ 'Content-Type': 'application/json',
34084
+ ...options.headers
34085
+ }
34086
+ });
34087
+ };
34088
+ /**
34089
+ * Discover available priorities.
34090
+ */
34091
+ export const supportSettingsAtlassianDiscoverPriorities = (options) => {
34092
+ return (options.client ?? _heyApiClient).post({
34093
+ security: [
34094
+ {
34095
+ name: 'Authorization',
34096
+ type: 'apiKey'
34097
+ },
34098
+ {
34099
+ scheme: 'bearer',
34100
+ type: 'http'
34101
+ }
34102
+ ],
34103
+ url: '/api/support/settings/atlassian/discover_priorities/',
34104
+ ...options,
34105
+ headers: {
34106
+ 'Content-Type': 'application/json',
34107
+ ...options.headers
34108
+ }
34109
+ });
34110
+ };
34111
+ /**
34112
+ * Discover available Service Desk projects.
34113
+ */
34114
+ export const supportSettingsAtlassianDiscoverProjects = (options) => {
34115
+ return (options.client ?? _heyApiClient).post({
34116
+ security: [
34117
+ {
34118
+ name: 'Authorization',
34119
+ type: 'apiKey'
34120
+ },
34121
+ {
34122
+ scheme: 'bearer',
34123
+ type: 'http'
34124
+ }
34125
+ ],
34126
+ url: '/api/support/settings/atlassian/discover_projects/',
34127
+ ...options,
34128
+ headers: {
34129
+ 'Content-Type': 'application/json',
34130
+ ...options.headers
34131
+ }
34132
+ });
34133
+ };
34134
+ /**
34135
+ * Discover request types for a selected project.
34136
+ */
34137
+ export const supportSettingsAtlassianDiscoverRequestTypes = (options) => {
34138
+ return (options.client ?? _heyApiClient).post({
34139
+ security: [
34140
+ {
34141
+ name: 'Authorization',
34142
+ type: 'apiKey'
34143
+ },
34144
+ {
34145
+ scheme: 'bearer',
34146
+ type: 'http'
34147
+ }
34148
+ ],
34149
+ url: '/api/support/settings/atlassian/discover_request_types/',
34150
+ ...options,
34151
+ headers: {
34152
+ 'Content-Type': 'application/json',
34153
+ ...options.headers
34154
+ }
34155
+ });
34156
+ };
34157
+ /**
34158
+ * Generate preview of settings to be saved.
34159
+ */
34160
+ export const supportSettingsAtlassianPreviewSettings = (options) => {
34161
+ return (options.client ?? _heyApiClient).post({
34162
+ security: [
34163
+ {
34164
+ name: 'Authorization',
34165
+ type: 'apiKey'
34166
+ },
34167
+ {
34168
+ scheme: 'bearer',
34169
+ type: 'http'
34170
+ }
34171
+ ],
34172
+ url: '/api/support/settings/atlassian/preview_settings/',
34173
+ ...options,
34174
+ headers: {
34175
+ 'Content-Type': 'application/json',
34176
+ ...options.headers
34177
+ }
34178
+ });
34179
+ };
34180
+ /**
34181
+ * Save selected settings to constance.
34182
+ */
34183
+ export const supportSettingsAtlassianSaveSettings = (options) => {
34184
+ return (options.client ?? _heyApiClient).post({
34185
+ security: [
34186
+ {
34187
+ name: 'Authorization',
34188
+ type: 'apiKey'
34189
+ },
34190
+ {
34191
+ scheme: 'bearer',
34192
+ type: 'http'
34193
+ }
34194
+ ],
34195
+ url: '/api/support/settings/atlassian/save_settings/',
34196
+ ...options,
34197
+ headers: {
34198
+ 'Content-Type': 'application/json',
34199
+ ...options.headers
34200
+ }
34201
+ });
34202
+ };
34203
+ /**
34204
+ * Validate Atlassian credentials without saving them.
34205
+ */
34206
+ export const supportSettingsAtlassianValidateCredentials = (options) => {
34207
+ return (options.client ?? _heyApiClient).post({
34208
+ security: [
34209
+ {
34210
+ name: 'Authorization',
34211
+ type: 'apiKey'
34212
+ },
34213
+ {
34214
+ scheme: 'bearer',
34215
+ type: 'http'
34216
+ }
34217
+ ],
34218
+ url: '/api/support/settings/atlassian/validate_credentials/',
34219
+ ...options,
34220
+ headers: {
34221
+ 'Content-Type': 'application/json',
34222
+ ...options.headers
34223
+ }
34224
+ });
34225
+ };
33407
34226
  /**
33408
34227
  * This view triggers synchronization of issues from backend.
33409
34228
  */
@@ -33744,6 +34563,10 @@ export const userActionsUpdateActions = (options) => {
33744
34563
  }
33745
34564
  });
33746
34565
  };
34566
+ /**
34567
+ * List user agreements
34568
+ * Retrieve a list of user agreements (Terms of Service and Privacy Policy). Supports filtering by agreement type and language with fallback behavior.
34569
+ */
33747
34570
  export const userAgreementsList = (options) => {
33748
34571
  return (options?.client ?? _heyApiClient).get({
33749
34572
  security: [
@@ -33761,6 +34584,7 @@ export const userAgreementsList = (options) => {
33761
34584
  });
33762
34585
  };
33763
34586
  /**
34587
+ * List user agreements
33764
34588
  * Get number of items in the collection matching the request parameters.
33765
34589
  */
33766
34590
  export const userAgreementsCount = (options) => {
@@ -33815,6 +34639,10 @@ export const userAgreementsDestroy = (options) => {
33815
34639
  ...options
33816
34640
  });
33817
34641
  };
34642
+ /**
34643
+ * Retrieve user agreement
34644
+ * Fetch the details of a specific user agreement by its UUID.
34645
+ */
33818
34646
  export const userAgreementsRetrieve = (options) => {
33819
34647
  return (options.client ?? _heyApiClient).get({
33820
34648
  security: [
@@ -33935,6 +34763,26 @@ export const userGroupInvitationsCreate = (options) => {
33935
34763
  }
33936
34764
  });
33937
34765
  };
34766
+ /**
34767
+ * Delete a group invitation
34768
+ * Deletes an inactive group invitation. Only invitations that have been canceled (is_active=False) can be deleted.
34769
+ */
34770
+ export const userGroupInvitationsDestroy = (options) => {
34771
+ return (options.client ?? _heyApiClient).delete({
34772
+ security: [
34773
+ {
34774
+ name: 'Authorization',
34775
+ type: 'apiKey'
34776
+ },
34777
+ {
34778
+ scheme: 'bearer',
34779
+ type: 'http'
34780
+ }
34781
+ ],
34782
+ url: '/api/user-group-invitations/{uuid}/',
34783
+ ...options
34784
+ });
34785
+ };
33938
34786
  /**
33939
34787
  * Retrieve group invitation
33940
34788
  * Retrieve details of a specific group invitation. Unauthenticated users can only see public invitations.
@@ -33997,7 +34845,7 @@ export const userGroupInvitationsProjectsList = (options) => {
33997
34845
  };
33998
34846
  /**
33999
34847
  * Submit a permission request
34000
- * Creates a permission request based on a group invitation for the currently authenticated user.
34848
+ * 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.
34001
34849
  */
34002
34850
  export const userGroupInvitationsSubmitRequest = (options) => {
34003
34851
  return (options.client ?? _heyApiClient).post({