waldur-js-client 7.9.6-dev.20 → 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
@@ -33447,6 +33447,253 @@ export const supportPrioritiesRetrieve = (options) => {
33447
33447
  ...options
33448
33448
  });
33449
33449
  };
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
+ };
33450
33697
  export const supportSmaxWebhook = (options) => {
33451
33698
  return (options.client ?? _heyApiClient).post({
33452
33699
  url: '/api/support-smax-webhook/',
@@ -33700,6 +33947,282 @@ export const supportZammadWebhook = (options) => {
33700
33947
  ...options
33701
33948
  });
33702
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
+ };
33703
34226
  /**
33704
34227
  * This view triggers synchronization of issues from backend.
33705
34228
  */