waldur-js-client 7.9.6-dev.9 → 7.9.6

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
  *
@@ -28028,6 +28145,29 @@ export const proposalProposalsDeleteUser = (options) => {
28028
28145
  }
28029
28146
  });
28030
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
+ };
28031
28171
  /**
28032
28172
  * List users and their roles in a scope
28033
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.
@@ -33307,18 +33447,27 @@ export const supportPrioritiesRetrieve = (options) => {
33307
33447
  ...options
33308
33448
  });
33309
33449
  };
33310
- export const supportSmaxWebhook = (options) => {
33311
- return (options.client ?? _heyApiClient).post({
33312
- url: '/api/support-smax-webhook/',
33313
- ...options,
33314
- headers: {
33315
- 'Content-Type': 'application/json',
33316
- ...options.headers
33317
- }
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
33318
33464
  });
33319
33465
  };
33320
- export const supportStatisticsRetrieve = (options) => {
33321
- return (options?.client ?? _heyApiClient).get({
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({
33322
33471
  security: [
33323
33472
  {
33324
33473
  name: 'Authorization',
@@ -33329,11 +33478,11 @@ export const supportStatisticsRetrieve = (options) => {
33329
33478
  type: 'http'
33330
33479
  }
33331
33480
  ],
33332
- url: '/api/support-statistics/',
33481
+ url: '/api/support-request-types/',
33333
33482
  ...options
33334
33483
  });
33335
33484
  };
33336
- export const supportTemplatesList = (options) => {
33485
+ export const supportRequestTypesAdminList = (options) => {
33337
33486
  return (options?.client ?? _heyApiClient).get({
33338
33487
  security: [
33339
33488
  {
@@ -33345,14 +33494,14 @@ export const supportTemplatesList = (options) => {
33345
33494
  type: 'http'
33346
33495
  }
33347
33496
  ],
33348
- url: '/api/support-templates/',
33497
+ url: '/api/support-request-types-admin/',
33349
33498
  ...options
33350
33499
  });
33351
33500
  };
33352
33501
  /**
33353
33502
  * Get number of items in the collection matching the request parameters.
33354
33503
  */
33355
- export const supportTemplatesCount = (options) => {
33504
+ export const supportRequestTypesAdminCount = (options) => {
33356
33505
  return (options?.client ?? _heyApiClient).head({
33357
33506
  security: [
33358
33507
  {
@@ -33364,11 +33513,11 @@ export const supportTemplatesCount = (options) => {
33364
33513
  type: 'http'
33365
33514
  }
33366
33515
  ],
33367
- url: '/api/support-templates/',
33516
+ url: '/api/support-request-types-admin/',
33368
33517
  ...options
33369
33518
  });
33370
33519
  };
33371
- export const supportTemplatesCreate = (options) => {
33520
+ export const supportRequestTypesAdminCreate = (options) => {
33372
33521
  return (options.client ?? _heyApiClient).post({
33373
33522
  security: [
33374
33523
  {
@@ -33380,7 +33529,7 @@ export const supportTemplatesCreate = (options) => {
33380
33529
  type: 'http'
33381
33530
  }
33382
33531
  ],
33383
- url: '/api/support-templates/',
33532
+ url: '/api/support-request-types-admin/',
33384
33533
  ...options,
33385
33534
  headers: {
33386
33535
  'Content-Type': 'application/json',
@@ -33388,7 +33537,7 @@ export const supportTemplatesCreate = (options) => {
33388
33537
  }
33389
33538
  });
33390
33539
  };
33391
- export const supportTemplatesDestroy = (options) => {
33540
+ export const supportRequestTypesAdminDestroy = (options) => {
33392
33541
  return (options.client ?? _heyApiClient).delete({
33393
33542
  security: [
33394
33543
  {
@@ -33400,11 +33549,11 @@ export const supportTemplatesDestroy = (options) => {
33400
33549
  type: 'http'
33401
33550
  }
33402
33551
  ],
33403
- url: '/api/support-templates/{uuid}/',
33552
+ url: '/api/support-request-types-admin/{uuid}/',
33404
33553
  ...options
33405
33554
  });
33406
33555
  };
33407
- export const supportTemplatesRetrieve = (options) => {
33556
+ export const supportRequestTypesAdminRetrieve = (options) => {
33408
33557
  return (options.client ?? _heyApiClient).get({
33409
33558
  security: [
33410
33559
  {
@@ -33416,11 +33565,11 @@ export const supportTemplatesRetrieve = (options) => {
33416
33565
  type: 'http'
33417
33566
  }
33418
33567
  ],
33419
- url: '/api/support-templates/{uuid}/',
33568
+ url: '/api/support-request-types-admin/{uuid}/',
33420
33569
  ...options
33421
33570
  });
33422
33571
  };
33423
- export const supportTemplatesPartialUpdate = (options) => {
33572
+ export const supportRequestTypesAdminPartialUpdate = (options) => {
33424
33573
  return (options.client ?? _heyApiClient).patch({
33425
33574
  security: [
33426
33575
  {
@@ -33432,7 +33581,7 @@ export const supportTemplatesPartialUpdate = (options) => {
33432
33581
  type: 'http'
33433
33582
  }
33434
33583
  ],
33435
- url: '/api/support-templates/{uuid}/',
33584
+ url: '/api/support-request-types-admin/{uuid}/',
33436
33585
  ...options,
33437
33586
  headers: {
33438
33587
  'Content-Type': 'application/json',
@@ -33440,7 +33589,7 @@ export const supportTemplatesPartialUpdate = (options) => {
33440
33589
  }
33441
33590
  });
33442
33591
  };
33443
- export const supportTemplatesUpdate = (options) => {
33592
+ export const supportRequestTypesAdminUpdate = (options) => {
33444
33593
  return (options.client ?? _heyApiClient).put({
33445
33594
  security: [
33446
33595
  {
@@ -33452,7 +33601,7 @@ export const supportTemplatesUpdate = (options) => {
33452
33601
  type: 'http'
33453
33602
  }
33454
33603
  ],
33455
- url: '/api/support-templates/{uuid}/',
33604
+ url: '/api/support-request-types-admin/{uuid}/',
33456
33605
  ...options,
33457
33606
  headers: {
33458
33607
  'Content-Type': 'application/json',
@@ -33461,9 +33610,9 @@ export const supportTemplatesUpdate = (options) => {
33461
33610
  });
33462
33611
  };
33463
33612
  /**
33464
- * This view attaches documents to template.
33613
+ * Activate a request type so it appears in issue creation.
33465
33614
  */
33466
- export const supportTemplatesCreateAttachments = (options) => {
33615
+ export const supportRequestTypesAdminActivate = (options) => {
33467
33616
  return (options.client ?? _heyApiClient).post({
33468
33617
  security: [
33469
33618
  {
@@ -33475,7 +33624,7 @@ export const supportTemplatesCreateAttachments = (options) => {
33475
33624
  type: 'http'
33476
33625
  }
33477
33626
  ],
33478
- url: '/api/support-templates/{uuid}/create_attachments/',
33627
+ url: '/api/support-request-types-admin/{uuid}/activate/',
33479
33628
  ...options,
33480
33629
  headers: {
33481
33630
  'Content-Type': 'application/json',
@@ -33483,7 +33632,10 @@ export const supportTemplatesCreateAttachments = (options) => {
33483
33632
  }
33484
33633
  });
33485
33634
  };
33486
- export const supportTemplatesDeleteAttachments = (options) => {
33635
+ /**
33636
+ * Deactivate a request type so it no longer appears in issue creation.
33637
+ */
33638
+ export const supportRequestTypesAdminDeactivate = (options) => {
33487
33639
  return (options.client ?? _heyApiClient).post({
33488
33640
  security: [
33489
33641
  {
@@ -33495,7 +33647,7 @@ export const supportTemplatesDeleteAttachments = (options) => {
33495
33647
  type: 'http'
33496
33648
  }
33497
33649
  ],
33498
- url: '/api/support-templates/{uuid}/delete_attachments/',
33650
+ url: '/api/support-request-types-admin/{uuid}/deactivate/',
33499
33651
  ...options,
33500
33652
  headers: {
33501
33653
  'Content-Type': 'application/json',
@@ -33503,8 +33655,11 @@ export const supportTemplatesDeleteAttachments = (options) => {
33503
33655
  }
33504
33656
  });
33505
33657
  };
33506
- export const supportUsersList = (options) => {
33507
- return (options?.client ?? _heyApiClient).get({
33658
+ /**
33659
+ * Bulk update order for multiple request types.
33660
+ */
33661
+ export const supportRequestTypesAdminReorder = (options) => {
33662
+ return (options.client ?? _heyApiClient).post({
33508
33663
  security: [
33509
33664
  {
33510
33665
  name: 'Authorization',
@@ -33515,15 +33670,16 @@ export const supportUsersList = (options) => {
33515
33670
  type: 'http'
33516
33671
  }
33517
33672
  ],
33518
- url: '/api/support-users/',
33519
- ...options
33673
+ url: '/api/support-request-types-admin/reorder/',
33674
+ ...options,
33675
+ headers: {
33676
+ 'Content-Type': 'application/json',
33677
+ ...options.headers
33678
+ }
33520
33679
  });
33521
33680
  };
33522
- /**
33523
- * Get number of items in the collection matching the request parameters.
33524
- */
33525
- export const supportUsersCount = (options) => {
33526
- return (options?.client ?? _heyApiClient).head({
33681
+ export const supportRequestTypesRetrieve = (options) => {
33682
+ return (options.client ?? _heyApiClient).get({
33527
33683
  security: [
33528
33684
  {
33529
33685
  name: 'Authorization',
@@ -33534,12 +33690,22 @@ export const supportUsersCount = (options) => {
33534
33690
  type: 'http'
33535
33691
  }
33536
33692
  ],
33537
- url: '/api/support-users/',
33693
+ url: '/api/support-request-types/{uuid}/',
33538
33694
  ...options
33539
33695
  });
33540
33696
  };
33541
- export const supportUsersRetrieve = (options) => {
33542
- return (options.client ?? _heyApiClient).get({
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
+ });
33706
+ };
33707
+ export const supportStatisticsRetrieve = (options) => {
33708
+ return (options?.client ?? _heyApiClient).get({
33543
33709
  security: [
33544
33710
  {
33545
33711
  name: 'Authorization',
@@ -33550,20 +33716,11 @@ export const supportUsersRetrieve = (options) => {
33550
33716
  type: 'http'
33551
33717
  }
33552
33718
  ],
33553
- url: '/api/support-users/{uuid}/',
33554
- ...options
33555
- });
33556
- };
33557
- export const supportZammadWebhook = (options) => {
33558
- return (options?.client ?? _heyApiClient).post({
33559
- url: '/api/support-zammad-webhook/',
33719
+ url: '/api/support-statistics/',
33560
33720
  ...options
33561
33721
  });
33562
33722
  };
33563
- /**
33564
- * This view triggers synchronization of issues from backend.
33565
- */
33566
- export const syncIssuesRetrieve = (options) => {
33723
+ export const supportTemplatesList = (options) => {
33567
33724
  return (options?.client ?? _heyApiClient).get({
33568
33725
  security: [
33569
33726
  {
@@ -33575,15 +33732,15 @@ export const syncIssuesRetrieve = (options) => {
33575
33732
  type: 'http'
33576
33733
  }
33577
33734
  ],
33578
- url: '/api/sync-issues/',
33735
+ url: '/api/support-templates/',
33579
33736
  ...options
33580
33737
  });
33581
33738
  };
33582
33739
  /**
33583
- * This view triggers synchronization of issues from backend.
33740
+ * Get number of items in the collection matching the request parameters.
33584
33741
  */
33585
- export const syncIssues = (options) => {
33586
- return (options?.client ?? _heyApiClient).post({
33742
+ export const supportTemplatesCount = (options) => {
33743
+ return (options?.client ?? _heyApiClient).head({
33587
33744
  security: [
33588
33745
  {
33589
33746
  name: 'Authorization',
@@ -33594,12 +33751,12 @@ export const syncIssues = (options) => {
33594
33751
  type: 'http'
33595
33752
  }
33596
33753
  ],
33597
- url: '/api/sync-issues/',
33754
+ url: '/api/support-templates/',
33598
33755
  ...options
33599
33756
  });
33600
33757
  };
33601
- export const userActionExecutionsList = (options) => {
33602
- return (options?.client ?? _heyApiClient).get({
33758
+ export const supportTemplatesCreate = (options) => {
33759
+ return (options.client ?? _heyApiClient).post({
33603
33760
  security: [
33604
33761
  {
33605
33762
  name: 'Authorization',
@@ -33610,15 +33767,16 @@ export const userActionExecutionsList = (options) => {
33610
33767
  type: 'http'
33611
33768
  }
33612
33769
  ],
33613
- url: '/api/user-action-executions/',
33614
- ...options
33770
+ url: '/api/support-templates/',
33771
+ ...options,
33772
+ headers: {
33773
+ 'Content-Type': 'application/json',
33774
+ ...options.headers
33775
+ }
33615
33776
  });
33616
33777
  };
33617
- /**
33618
- * Get number of items in the collection matching the request parameters.
33619
- */
33620
- export const userActionExecutionsCount = (options) => {
33621
- return (options?.client ?? _heyApiClient).head({
33778
+ export const supportTemplatesDestroy = (options) => {
33779
+ return (options.client ?? _heyApiClient).delete({
33622
33780
  security: [
33623
33781
  {
33624
33782
  name: 'Authorization',
@@ -33629,11 +33787,11 @@ export const userActionExecutionsCount = (options) => {
33629
33787
  type: 'http'
33630
33788
  }
33631
33789
  ],
33632
- url: '/api/user-action-executions/',
33790
+ url: '/api/support-templates/{uuid}/',
33633
33791
  ...options
33634
33792
  });
33635
33793
  };
33636
- export const userActionExecutionsRetrieve = (options) => {
33794
+ export const supportTemplatesRetrieve = (options) => {
33637
33795
  return (options.client ?? _heyApiClient).get({
33638
33796
  security: [
33639
33797
  {
@@ -33645,12 +33803,12 @@ export const userActionExecutionsRetrieve = (options) => {
33645
33803
  type: 'http'
33646
33804
  }
33647
33805
  ],
33648
- url: '/api/user-action-executions/{id}/',
33806
+ url: '/api/support-templates/{uuid}/',
33649
33807
  ...options
33650
33808
  });
33651
33809
  };
33652
- export const userActionProvidersList = (options) => {
33653
- return (options?.client ?? _heyApiClient).get({
33810
+ export const supportTemplatesPartialUpdate = (options) => {
33811
+ return (options.client ?? _heyApiClient).patch({
33654
33812
  security: [
33655
33813
  {
33656
33814
  name: 'Authorization',
@@ -33661,16 +33819,521 @@ export const userActionProvidersList = (options) => {
33661
33819
  type: 'http'
33662
33820
  }
33663
33821
  ],
33664
- url: '/api/user-action-providers/',
33665
- ...options
33822
+ url: '/api/support-templates/{uuid}/',
33823
+ ...options,
33824
+ headers: {
33825
+ 'Content-Type': 'application/json',
33826
+ ...options.headers
33827
+ }
33666
33828
  });
33667
33829
  };
33668
- /**
33669
- * Get number of items in the collection matching the request parameters.
33670
- */
33671
- export const userActionProvidersCount = (options) => {
33672
- return (options?.client ?? _heyApiClient).head({
33673
- security: [
33830
+ export const supportTemplatesUpdate = (options) => {
33831
+ return (options.client ?? _heyApiClient).put({
33832
+ security: [
33833
+ {
33834
+ name: 'Authorization',
33835
+ type: 'apiKey'
33836
+ },
33837
+ {
33838
+ scheme: 'bearer',
33839
+ type: 'http'
33840
+ }
33841
+ ],
33842
+ url: '/api/support-templates/{uuid}/',
33843
+ ...options,
33844
+ headers: {
33845
+ 'Content-Type': 'application/json',
33846
+ ...options.headers
33847
+ }
33848
+ });
33849
+ };
33850
+ /**
33851
+ * This view attaches documents to template.
33852
+ */
33853
+ export const supportTemplatesCreateAttachments = (options) => {
33854
+ return (options.client ?? _heyApiClient).post({
33855
+ security: [
33856
+ {
33857
+ name: 'Authorization',
33858
+ type: 'apiKey'
33859
+ },
33860
+ {
33861
+ scheme: 'bearer',
33862
+ type: 'http'
33863
+ }
33864
+ ],
33865
+ url: '/api/support-templates/{uuid}/create_attachments/',
33866
+ ...options,
33867
+ headers: {
33868
+ 'Content-Type': 'application/json',
33869
+ ...options.headers
33870
+ }
33871
+ });
33872
+ };
33873
+ export const supportTemplatesDeleteAttachments = (options) => {
33874
+ return (options.client ?? _heyApiClient).post({
33875
+ security: [
33876
+ {
33877
+ name: 'Authorization',
33878
+ type: 'apiKey'
33879
+ },
33880
+ {
33881
+ scheme: 'bearer',
33882
+ type: 'http'
33883
+ }
33884
+ ],
33885
+ url: '/api/support-templates/{uuid}/delete_attachments/',
33886
+ ...options,
33887
+ headers: {
33888
+ 'Content-Type': 'application/json',
33889
+ ...options.headers
33890
+ }
33891
+ });
33892
+ };
33893
+ export const supportUsersList = (options) => {
33894
+ return (options?.client ?? _heyApiClient).get({
33895
+ security: [
33896
+ {
33897
+ name: 'Authorization',
33898
+ type: 'apiKey'
33899
+ },
33900
+ {
33901
+ scheme: 'bearer',
33902
+ type: 'http'
33903
+ }
33904
+ ],
33905
+ url: '/api/support-users/',
33906
+ ...options
33907
+ });
33908
+ };
33909
+ /**
33910
+ * Get number of items in the collection matching the request parameters.
33911
+ */
33912
+ export const supportUsersCount = (options) => {
33913
+ return (options?.client ?? _heyApiClient).head({
33914
+ security: [
33915
+ {
33916
+ name: 'Authorization',
33917
+ type: 'apiKey'
33918
+ },
33919
+ {
33920
+ scheme: 'bearer',
33921
+ type: 'http'
33922
+ }
33923
+ ],
33924
+ url: '/api/support-users/',
33925
+ ...options
33926
+ });
33927
+ };
33928
+ export const supportUsersRetrieve = (options) => {
33929
+ return (options.client ?? _heyApiClient).get({
33930
+ security: [
33931
+ {
33932
+ name: 'Authorization',
33933
+ type: 'apiKey'
33934
+ },
33935
+ {
33936
+ scheme: 'bearer',
33937
+ type: 'http'
33938
+ }
33939
+ ],
33940
+ url: '/api/support-users/{uuid}/',
33941
+ ...options
33942
+ });
33943
+ };
33944
+ export const supportZammadWebhook = (options) => {
33945
+ return (options?.client ?? _heyApiClient).post({
33946
+ url: '/api/support-zammad-webhook/',
33947
+ ...options
33948
+ });
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
+ };
34226
+ /**
34227
+ * This view triggers synchronization of issues from backend.
34228
+ */
34229
+ export const syncIssuesRetrieve = (options) => {
34230
+ return (options?.client ?? _heyApiClient).get({
34231
+ security: [
34232
+ {
34233
+ name: 'Authorization',
34234
+ type: 'apiKey'
34235
+ },
34236
+ {
34237
+ scheme: 'bearer',
34238
+ type: 'http'
34239
+ }
34240
+ ],
34241
+ url: '/api/sync-issues/',
34242
+ ...options
34243
+ });
34244
+ };
34245
+ /**
34246
+ * This view triggers synchronization of issues from backend.
34247
+ */
34248
+ export const syncIssues = (options) => {
34249
+ return (options?.client ?? _heyApiClient).post({
34250
+ security: [
34251
+ {
34252
+ name: 'Authorization',
34253
+ type: 'apiKey'
34254
+ },
34255
+ {
34256
+ scheme: 'bearer',
34257
+ type: 'http'
34258
+ }
34259
+ ],
34260
+ url: '/api/sync-issues/',
34261
+ ...options
34262
+ });
34263
+ };
34264
+ export const userActionExecutionsList = (options) => {
34265
+ return (options?.client ?? _heyApiClient).get({
34266
+ security: [
34267
+ {
34268
+ name: 'Authorization',
34269
+ type: 'apiKey'
34270
+ },
34271
+ {
34272
+ scheme: 'bearer',
34273
+ type: 'http'
34274
+ }
34275
+ ],
34276
+ url: '/api/user-action-executions/',
34277
+ ...options
34278
+ });
34279
+ };
34280
+ /**
34281
+ * Get number of items in the collection matching the request parameters.
34282
+ */
34283
+ export const userActionExecutionsCount = (options) => {
34284
+ return (options?.client ?? _heyApiClient).head({
34285
+ security: [
34286
+ {
34287
+ name: 'Authorization',
34288
+ type: 'apiKey'
34289
+ },
34290
+ {
34291
+ scheme: 'bearer',
34292
+ type: 'http'
34293
+ }
34294
+ ],
34295
+ url: '/api/user-action-executions/',
34296
+ ...options
34297
+ });
34298
+ };
34299
+ export const userActionExecutionsRetrieve = (options) => {
34300
+ return (options.client ?? _heyApiClient).get({
34301
+ security: [
34302
+ {
34303
+ name: 'Authorization',
34304
+ type: 'apiKey'
34305
+ },
34306
+ {
34307
+ scheme: 'bearer',
34308
+ type: 'http'
34309
+ }
34310
+ ],
34311
+ url: '/api/user-action-executions/{id}/',
34312
+ ...options
34313
+ });
34314
+ };
34315
+ export const userActionProvidersList = (options) => {
34316
+ return (options?.client ?? _heyApiClient).get({
34317
+ security: [
34318
+ {
34319
+ name: 'Authorization',
34320
+ type: 'apiKey'
34321
+ },
34322
+ {
34323
+ scheme: 'bearer',
34324
+ type: 'http'
34325
+ }
34326
+ ],
34327
+ url: '/api/user-action-providers/',
34328
+ ...options
34329
+ });
34330
+ };
34331
+ /**
34332
+ * Get number of items in the collection matching the request parameters.
34333
+ */
34334
+ export const userActionProvidersCount = (options) => {
34335
+ return (options?.client ?? _heyApiClient).head({
34336
+ security: [
33674
34337
  {
33675
34338
  name: 'Authorization',
33676
34339
  type: 'apiKey'
@@ -33900,6 +34563,10 @@ export const userActionsUpdateActions = (options) => {
33900
34563
  }
33901
34564
  });
33902
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
+ */
33903
34570
  export const userAgreementsList = (options) => {
33904
34571
  return (options?.client ?? _heyApiClient).get({
33905
34572
  security: [
@@ -33917,6 +34584,7 @@ export const userAgreementsList = (options) => {
33917
34584
  });
33918
34585
  };
33919
34586
  /**
34587
+ * List user agreements
33920
34588
  * Get number of items in the collection matching the request parameters.
33921
34589
  */
33922
34590
  export const userAgreementsCount = (options) => {
@@ -33971,6 +34639,10 @@ export const userAgreementsDestroy = (options) => {
33971
34639
  ...options
33972
34640
  });
33973
34641
  };
34642
+ /**
34643
+ * Retrieve user agreement
34644
+ * Fetch the details of a specific user agreement by its UUID.
34645
+ */
33974
34646
  export const userAgreementsRetrieve = (options) => {
33975
34647
  return (options.client ?? _heyApiClient).get({
33976
34648
  security: [
@@ -34091,6 +34763,26 @@ export const userGroupInvitationsCreate = (options) => {
34091
34763
  }
34092
34764
  });
34093
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
+ };
34094
34786
  /**
34095
34787
  * Retrieve group invitation
34096
34788
  * Retrieve details of a specific group invitation. Unauthenticated users can only see public invitations.