@waldur/support 1.0.1-dev.0 → 8.0.8-dev.29

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.
@@ -0,0 +1,2340 @@
1
+ // This file is auto-generated by split-sdk script
2
+ import { client as _heyApiClient } from '@waldur/core';
3
+ export const chatMessagesList = (options) => {
4
+ return (options?.client ?? _heyApiClient).get({
5
+ security: [
6
+ {
7
+ name: 'Authorization',
8
+ type: 'apiKey'
9
+ },
10
+ {
11
+ scheme: 'bearer',
12
+ type: 'http'
13
+ },
14
+ {
15
+ scheme: 'bearer',
16
+ type: 'http'
17
+ }
18
+ ],
19
+ url: '/api/chat-messages/',
20
+ ...options
21
+ });
22
+ };
23
+ /**
24
+ * Submit or update feedback for an assistant message
25
+ */
26
+ export const chatMessagesFeedback = (options) => {
27
+ return (options.client ?? _heyApiClient).post({
28
+ security: [
29
+ {
30
+ name: 'Authorization',
31
+ type: 'apiKey'
32
+ },
33
+ {
34
+ scheme: 'bearer',
35
+ type: 'http'
36
+ },
37
+ {
38
+ scheme: 'bearer',
39
+ type: 'http'
40
+ }
41
+ ],
42
+ url: '/api/chat-messages/{uuid}/feedback/',
43
+ ...options,
44
+ headers: {
45
+ 'Content-Type': 'application/json',
46
+ ...options.headers
47
+ }
48
+ });
49
+ };
50
+ /**
51
+ * Set token quota for user
52
+ * Allows staff/support to set token quota limits for a specific user. Configure daily, weekly, and monthly limits:
53
+ * - Omit field or send `null`: Use system default
54
+ * - `-1`: Unlimited (no quota enforcement)
55
+ * - `0` or positive integer: Specific token limit
56
+ */
57
+ export const chatQuotaSetQuota = (options) => {
58
+ return (options.client ?? _heyApiClient).post({
59
+ security: [
60
+ {
61
+ name: 'Authorization',
62
+ type: 'apiKey'
63
+ },
64
+ {
65
+ scheme: 'bearer',
66
+ type: 'http'
67
+ },
68
+ {
69
+ scheme: 'bearer',
70
+ type: 'http'
71
+ }
72
+ ],
73
+ url: '/api/chat-quota/set_quota/',
74
+ ...options,
75
+ headers: {
76
+ 'Content-Type': 'application/json',
77
+ ...options.headers
78
+ }
79
+ });
80
+ };
81
+ /**
82
+ *
83
+ * Get current token quota and usage for the requesting user.
84
+ *
85
+ * Returns token quota for all periods (daily, weekly, monthly):
86
+ * - limit: User's custom limit (null = use system default, -1 = unlimited, or positive integer)
87
+ * - usage: Tokens used in current period
88
+ * - remaining: Tokens remaining (null if unlimited)
89
+ * - reset_at: When the period resets
90
+ * - system_default: System-wide default limit from configuration (for transparency when limit is null)
91
+ *
92
+ */
93
+ export const chatQuotaUsageRetrieve = (options) => {
94
+ return (options.client ?? _heyApiClient).get({
95
+ security: [
96
+ {
97
+ name: 'Authorization',
98
+ type: 'apiKey'
99
+ },
100
+ {
101
+ scheme: 'bearer',
102
+ type: 'http'
103
+ },
104
+ {
105
+ scheme: 'bearer',
106
+ type: 'http'
107
+ }
108
+ ],
109
+ url: '/api/chat-quota/usage/',
110
+ ...options
111
+ });
112
+ };
113
+ export const chatSessionsList = (options) => {
114
+ return (options?.client ?? _heyApiClient).get({
115
+ security: [
116
+ {
117
+ name: 'Authorization',
118
+ type: 'apiKey'
119
+ },
120
+ {
121
+ scheme: 'bearer',
122
+ type: 'http'
123
+ },
124
+ {
125
+ scheme: 'bearer',
126
+ type: 'http'
127
+ }
128
+ ],
129
+ url: '/api/chat-sessions/',
130
+ ...options
131
+ });
132
+ };
133
+ export const chatSessionsRetrieve = (options) => {
134
+ return (options.client ?? _heyApiClient).get({
135
+ security: [
136
+ {
137
+ name: 'Authorization',
138
+ type: 'apiKey'
139
+ },
140
+ {
141
+ scheme: 'bearer',
142
+ type: 'http'
143
+ },
144
+ {
145
+ scheme: 'bearer',
146
+ type: 'http'
147
+ }
148
+ ],
149
+ url: '/api/chat-sessions/{uuid}/',
150
+ ...options
151
+ });
152
+ };
153
+ /**
154
+ * Get or create current user's chat session
155
+ * Returns the current user's chat session, creating it if it doesn't exist.
156
+ */
157
+ export const chatSessionsCurrentRetrieve = (options) => {
158
+ return (options?.client ?? _heyApiClient).get({
159
+ security: [
160
+ {
161
+ name: 'Authorization',
162
+ type: 'apiKey'
163
+ },
164
+ {
165
+ scheme: 'bearer',
166
+ type: 'http'
167
+ },
168
+ {
169
+ scheme: 'bearer',
170
+ type: 'http'
171
+ }
172
+ ],
173
+ url: '/api/chat-sessions/current/',
174
+ ...options
175
+ });
176
+ };
177
+ export const chatSystemPromptsList = (options) => {
178
+ return (options?.client ?? _heyApiClient).get({
179
+ security: [
180
+ {
181
+ name: 'Authorization',
182
+ type: 'apiKey'
183
+ },
184
+ {
185
+ scheme: 'bearer',
186
+ type: 'http'
187
+ },
188
+ {
189
+ scheme: 'bearer',
190
+ type: 'http'
191
+ }
192
+ ],
193
+ url: '/api/chat-system-prompts/',
194
+ ...options
195
+ });
196
+ };
197
+ /**
198
+ * Get number of items in the collection matching the request parameters.
199
+ */
200
+ export const chatSystemPromptsCount = (options) => {
201
+ return (options?.client ?? _heyApiClient).head({
202
+ security: [
203
+ {
204
+ name: 'Authorization',
205
+ type: 'apiKey'
206
+ },
207
+ {
208
+ scheme: 'bearer',
209
+ type: 'http'
210
+ },
211
+ {
212
+ scheme: 'bearer',
213
+ type: 'http'
214
+ }
215
+ ],
216
+ url: '/api/chat-system-prompts/',
217
+ ...options
218
+ });
219
+ };
220
+ export const chatSystemPromptsCreate = (options) => {
221
+ return (options.client ?? _heyApiClient).post({
222
+ security: [
223
+ {
224
+ name: 'Authorization',
225
+ type: 'apiKey'
226
+ },
227
+ {
228
+ scheme: 'bearer',
229
+ type: 'http'
230
+ },
231
+ {
232
+ scheme: 'bearer',
233
+ type: 'http'
234
+ }
235
+ ],
236
+ url: '/api/chat-system-prompts/',
237
+ ...options,
238
+ headers: {
239
+ 'Content-Type': 'application/json',
240
+ ...options.headers
241
+ }
242
+ });
243
+ };
244
+ export const chatSystemPromptsDestroy = (options) => {
245
+ return (options.client ?? _heyApiClient).delete({
246
+ security: [
247
+ {
248
+ name: 'Authorization',
249
+ type: 'apiKey'
250
+ },
251
+ {
252
+ scheme: 'bearer',
253
+ type: 'http'
254
+ },
255
+ {
256
+ scheme: 'bearer',
257
+ type: 'http'
258
+ }
259
+ ],
260
+ url: '/api/chat-system-prompts/{uuid}/',
261
+ ...options
262
+ });
263
+ };
264
+ export const chatSystemPromptsRetrieve = (options) => {
265
+ return (options.client ?? _heyApiClient).get({
266
+ security: [
267
+ {
268
+ name: 'Authorization',
269
+ type: 'apiKey'
270
+ },
271
+ {
272
+ scheme: 'bearer',
273
+ type: 'http'
274
+ },
275
+ {
276
+ scheme: 'bearer',
277
+ type: 'http'
278
+ }
279
+ ],
280
+ url: '/api/chat-system-prompts/{uuid}/',
281
+ ...options
282
+ });
283
+ };
284
+ export const chatSystemPromptsPartialUpdate = (options) => {
285
+ return (options.client ?? _heyApiClient).patch({
286
+ security: [
287
+ {
288
+ name: 'Authorization',
289
+ type: 'apiKey'
290
+ },
291
+ {
292
+ scheme: 'bearer',
293
+ type: 'http'
294
+ },
295
+ {
296
+ scheme: 'bearer',
297
+ type: 'http'
298
+ }
299
+ ],
300
+ url: '/api/chat-system-prompts/{uuid}/',
301
+ ...options,
302
+ headers: {
303
+ 'Content-Type': 'application/json',
304
+ ...options.headers
305
+ }
306
+ });
307
+ };
308
+ export const chatSystemPromptsUpdate = (options) => {
309
+ return (options.client ?? _heyApiClient).put({
310
+ security: [
311
+ {
312
+ name: 'Authorization',
313
+ type: 'apiKey'
314
+ },
315
+ {
316
+ scheme: 'bearer',
317
+ type: 'http'
318
+ },
319
+ {
320
+ scheme: 'bearer',
321
+ type: 'http'
322
+ }
323
+ ],
324
+ url: '/api/chat-system-prompts/{uuid}/',
325
+ ...options,
326
+ headers: {
327
+ 'Content-Type': 'application/json',
328
+ ...options.headers
329
+ }
330
+ });
331
+ };
332
+ /**
333
+ * Activate a system prompt
334
+ * Set this prompt as the active one. Deactivates any currently active prompt.
335
+ */
336
+ export const chatSystemPromptsActivate = (options) => {
337
+ return (options.client ?? _heyApiClient).post({
338
+ security: [
339
+ {
340
+ name: 'Authorization',
341
+ type: 'apiKey'
342
+ },
343
+ {
344
+ scheme: 'bearer',
345
+ type: 'http'
346
+ },
347
+ {
348
+ scheme: 'bearer',
349
+ type: 'http'
350
+ }
351
+ ],
352
+ url: '/api/chat-system-prompts/{uuid}/activate/',
353
+ ...options,
354
+ headers: {
355
+ 'Content-Type': 'application/json',
356
+ ...options.headers
357
+ }
358
+ });
359
+ };
360
+ /**
361
+ * Deactivate the active system prompt
362
+ * Deactivate this prompt. The system will fall back to Constance overrides or built-in defaults.
363
+ */
364
+ export const chatSystemPromptsDeactivate = (options) => {
365
+ return (options.client ?? _heyApiClient).post({
366
+ security: [
367
+ {
368
+ name: 'Authorization',
369
+ type: 'apiKey'
370
+ },
371
+ {
372
+ scheme: 'bearer',
373
+ type: 'http'
374
+ },
375
+ {
376
+ scheme: 'bearer',
377
+ type: 'http'
378
+ }
379
+ ],
380
+ url: '/api/chat-system-prompts/{uuid}/deactivate/',
381
+ ...options,
382
+ headers: {
383
+ 'Content-Type': 'application/json',
384
+ ...options.headers
385
+ }
386
+ });
387
+ };
388
+ export const chatThreadsList = (options) => {
389
+ return (options?.client ?? _heyApiClient).get({
390
+ security: [
391
+ {
392
+ name: 'Authorization',
393
+ type: 'apiKey'
394
+ },
395
+ {
396
+ scheme: 'bearer',
397
+ type: 'http'
398
+ },
399
+ {
400
+ scheme: 'bearer',
401
+ type: 'http'
402
+ }
403
+ ],
404
+ url: '/api/chat-threads/',
405
+ ...options
406
+ });
407
+ };
408
+ export const chatThreadsRetrieve = (options) => {
409
+ return (options.client ?? _heyApiClient).get({
410
+ security: [
411
+ {
412
+ name: 'Authorization',
413
+ type: 'apiKey'
414
+ },
415
+ {
416
+ scheme: 'bearer',
417
+ type: 'http'
418
+ },
419
+ {
420
+ scheme: 'bearer',
421
+ type: 'http'
422
+ }
423
+ ],
424
+ url: '/api/chat-threads/{uuid}/',
425
+ ...options
426
+ });
427
+ };
428
+ /**
429
+ * Archive thread
430
+ * Archive a thread (soft delete).
431
+ */
432
+ export const chatThreadsArchive = (options) => {
433
+ return (options.client ?? _heyApiClient).post({
434
+ security: [
435
+ {
436
+ name: 'Authorization',
437
+ type: 'apiKey'
438
+ },
439
+ {
440
+ scheme: 'bearer',
441
+ type: 'http'
442
+ },
443
+ {
444
+ scheme: 'bearer',
445
+ type: 'http'
446
+ }
447
+ ],
448
+ url: '/api/chat-threads/{uuid}/archive/',
449
+ ...options,
450
+ headers: {
451
+ 'Content-Type': 'application/json',
452
+ ...options.headers
453
+ }
454
+ });
455
+ };
456
+ /**
457
+ * Cancel active stream
458
+ * Request cancellation of the active LLM stream for this thread.
459
+ */
460
+ export const chatThreadsCancel = (options) => {
461
+ return (options.client ?? _heyApiClient).post({
462
+ security: [
463
+ {
464
+ name: 'Authorization',
465
+ type: 'apiKey'
466
+ },
467
+ {
468
+ scheme: 'bearer',
469
+ type: 'http'
470
+ },
471
+ {
472
+ scheme: 'bearer',
473
+ type: 'http'
474
+ }
475
+ ],
476
+ url: '/api/chat-threads/{uuid}/cancel/',
477
+ ...options,
478
+ headers: {
479
+ 'Content-Type': 'application/json',
480
+ ...options.headers
481
+ }
482
+ });
483
+ };
484
+ /**
485
+ * Unarchive thread
486
+ * Restore an archived thread.
487
+ */
488
+ export const chatThreadsUnarchive = (options) => {
489
+ return (options.client ?? _heyApiClient).post({
490
+ security: [
491
+ {
492
+ name: 'Authorization',
493
+ type: 'apiKey'
494
+ },
495
+ {
496
+ scheme: 'bearer',
497
+ type: 'http'
498
+ },
499
+ {
500
+ scheme: 'bearer',
501
+ type: 'http'
502
+ }
503
+ ],
504
+ url: '/api/chat-threads/{uuid}/unarchive/',
505
+ ...options,
506
+ headers: {
507
+ 'Content-Type': 'application/json',
508
+ ...options.headers
509
+ }
510
+ });
511
+ };
512
+ /**
513
+ * Execute a tool and return the result.
514
+ */
515
+ export const chatToolsExecute = (options) => {
516
+ return (options.client ?? _heyApiClient).post({
517
+ security: [
518
+ {
519
+ name: 'Authorization',
520
+ type: 'apiKey'
521
+ },
522
+ {
523
+ scheme: 'bearer',
524
+ type: 'http'
525
+ },
526
+ {
527
+ scheme: 'bearer',
528
+ type: 'http'
529
+ }
530
+ ],
531
+ url: '/api/chat-tools/execute/',
532
+ ...options,
533
+ headers: {
534
+ 'Content-Type': 'application/json',
535
+ ...options.headers
536
+ }
537
+ });
538
+ };
539
+ export const chatStream = (options) => {
540
+ return (options.client ?? _heyApiClient).post({
541
+ security: [
542
+ {
543
+ name: 'Authorization',
544
+ type: 'apiKey'
545
+ },
546
+ {
547
+ scheme: 'bearer',
548
+ type: 'http'
549
+ },
550
+ {
551
+ scheme: 'bearer',
552
+ type: 'http'
553
+ }
554
+ ],
555
+ url: '/api/chat/stream/',
556
+ ...options,
557
+ headers: {
558
+ 'Content-Type': 'application/json',
559
+ ...options.headers
560
+ }
561
+ });
562
+ };
563
+ export const supportAttachmentsList = (options) => {
564
+ return (options?.client ?? _heyApiClient).get({
565
+ security: [
566
+ {
567
+ name: 'Authorization',
568
+ type: 'apiKey'
569
+ },
570
+ {
571
+ scheme: 'bearer',
572
+ type: 'http'
573
+ },
574
+ {
575
+ scheme: 'bearer',
576
+ type: 'http'
577
+ }
578
+ ],
579
+ url: '/api/support-attachments/',
580
+ ...options
581
+ });
582
+ };
583
+ /**
584
+ * Get number of items in the collection matching the request parameters.
585
+ */
586
+ export const supportAttachmentsCount = (options) => {
587
+ return (options?.client ?? _heyApiClient).head({
588
+ security: [
589
+ {
590
+ name: 'Authorization',
591
+ type: 'apiKey'
592
+ },
593
+ {
594
+ scheme: 'bearer',
595
+ type: 'http'
596
+ },
597
+ {
598
+ scheme: 'bearer',
599
+ type: 'http'
600
+ }
601
+ ],
602
+ url: '/api/support-attachments/',
603
+ ...options
604
+ });
605
+ };
606
+ export const supportAttachmentsCreate = (options) => {
607
+ return (options.client ?? _heyApiClient).post({
608
+ security: [
609
+ {
610
+ name: 'Authorization',
611
+ type: 'apiKey'
612
+ },
613
+ {
614
+ scheme: 'bearer',
615
+ type: 'http'
616
+ },
617
+ {
618
+ scheme: 'bearer',
619
+ type: 'http'
620
+ }
621
+ ],
622
+ url: '/api/support-attachments/',
623
+ ...options,
624
+ headers: {
625
+ 'Content-Type': 'application/json',
626
+ ...options.headers
627
+ }
628
+ });
629
+ };
630
+ export const supportAttachmentsDestroy = (options) => {
631
+ return (options.client ?? _heyApiClient).delete({
632
+ security: [
633
+ {
634
+ name: 'Authorization',
635
+ type: 'apiKey'
636
+ },
637
+ {
638
+ scheme: 'bearer',
639
+ type: 'http'
640
+ },
641
+ {
642
+ scheme: 'bearer',
643
+ type: 'http'
644
+ }
645
+ ],
646
+ url: '/api/support-attachments/{uuid}/',
647
+ ...options
648
+ });
649
+ };
650
+ export const supportAttachmentsRetrieve = (options) => {
651
+ return (options.client ?? _heyApiClient).get({
652
+ security: [
653
+ {
654
+ name: 'Authorization',
655
+ type: 'apiKey'
656
+ },
657
+ {
658
+ scheme: 'bearer',
659
+ type: 'http'
660
+ },
661
+ {
662
+ scheme: 'bearer',
663
+ type: 'http'
664
+ }
665
+ ],
666
+ url: '/api/support-attachments/{uuid}/',
667
+ ...options
668
+ });
669
+ };
670
+ export const supportCommentsList = (options) => {
671
+ return (options?.client ?? _heyApiClient).get({
672
+ security: [
673
+ {
674
+ name: 'Authorization',
675
+ type: 'apiKey'
676
+ },
677
+ {
678
+ scheme: 'bearer',
679
+ type: 'http'
680
+ },
681
+ {
682
+ scheme: 'bearer',
683
+ type: 'http'
684
+ }
685
+ ],
686
+ url: '/api/support-comments/',
687
+ ...options
688
+ });
689
+ };
690
+ /**
691
+ * Get number of items in the collection matching the request parameters.
692
+ */
693
+ export const supportCommentsCount = (options) => {
694
+ return (options?.client ?? _heyApiClient).head({
695
+ security: [
696
+ {
697
+ name: 'Authorization',
698
+ type: 'apiKey'
699
+ },
700
+ {
701
+ scheme: 'bearer',
702
+ type: 'http'
703
+ },
704
+ {
705
+ scheme: 'bearer',
706
+ type: 'http'
707
+ }
708
+ ],
709
+ url: '/api/support-comments/',
710
+ ...options
711
+ });
712
+ };
713
+ export const supportCommentsDestroy = (options) => {
714
+ return (options.client ?? _heyApiClient).delete({
715
+ security: [
716
+ {
717
+ name: 'Authorization',
718
+ type: 'apiKey'
719
+ },
720
+ {
721
+ scheme: 'bearer',
722
+ type: 'http'
723
+ },
724
+ {
725
+ scheme: 'bearer',
726
+ type: 'http'
727
+ }
728
+ ],
729
+ url: '/api/support-comments/{uuid}/',
730
+ ...options
731
+ });
732
+ };
733
+ export const supportCommentsRetrieve = (options) => {
734
+ return (options.client ?? _heyApiClient).get({
735
+ security: [
736
+ {
737
+ name: 'Authorization',
738
+ type: 'apiKey'
739
+ },
740
+ {
741
+ scheme: 'bearer',
742
+ type: 'http'
743
+ },
744
+ {
745
+ scheme: 'bearer',
746
+ type: 'http'
747
+ }
748
+ ],
749
+ url: '/api/support-comments/{uuid}/',
750
+ ...options
751
+ });
752
+ };
753
+ export const supportCommentsPartialUpdate = (options) => {
754
+ return (options.client ?? _heyApiClient).patch({
755
+ security: [
756
+ {
757
+ name: 'Authorization',
758
+ type: 'apiKey'
759
+ },
760
+ {
761
+ scheme: 'bearer',
762
+ type: 'http'
763
+ },
764
+ {
765
+ scheme: 'bearer',
766
+ type: 'http'
767
+ }
768
+ ],
769
+ url: '/api/support-comments/{uuid}/',
770
+ ...options,
771
+ headers: {
772
+ 'Content-Type': 'application/json',
773
+ ...options.headers
774
+ }
775
+ });
776
+ };
777
+ export const supportCommentsUpdate = (options) => {
778
+ return (options.client ?? _heyApiClient).put({
779
+ security: [
780
+ {
781
+ name: 'Authorization',
782
+ type: 'apiKey'
783
+ },
784
+ {
785
+ scheme: 'bearer',
786
+ type: 'http'
787
+ },
788
+ {
789
+ scheme: 'bearer',
790
+ type: 'http'
791
+ }
792
+ ],
793
+ url: '/api/support-comments/{uuid}/',
794
+ ...options,
795
+ headers: {
796
+ 'Content-Type': 'application/json',
797
+ ...options.headers
798
+ }
799
+ });
800
+ };
801
+ export const supportFeedbackAverageReportRetrieve = (options) => {
802
+ return (options?.client ?? _heyApiClient).get({
803
+ security: [
804
+ {
805
+ name: 'Authorization',
806
+ type: 'apiKey'
807
+ },
808
+ {
809
+ scheme: 'bearer',
810
+ type: 'http'
811
+ },
812
+ {
813
+ scheme: 'bearer',
814
+ type: 'http'
815
+ }
816
+ ],
817
+ url: '/api/support-feedback-average-report/',
818
+ ...options
819
+ });
820
+ };
821
+ export const supportFeedbackReportRetrieve = (options) => {
822
+ return (options?.client ?? _heyApiClient).get({
823
+ security: [
824
+ {
825
+ name: 'Authorization',
826
+ type: 'apiKey'
827
+ },
828
+ {
829
+ scheme: 'bearer',
830
+ type: 'http'
831
+ },
832
+ {
833
+ scheme: 'bearer',
834
+ type: 'http'
835
+ }
836
+ ],
837
+ url: '/api/support-feedback-report/',
838
+ ...options
839
+ });
840
+ };
841
+ export const supportFeedbacksList = (options) => {
842
+ return (options?.client ?? _heyApiClient).get({
843
+ security: [
844
+ {
845
+ name: 'Authorization',
846
+ type: 'apiKey'
847
+ },
848
+ {
849
+ scheme: 'bearer',
850
+ type: 'http'
851
+ },
852
+ {
853
+ scheme: 'bearer',
854
+ type: 'http'
855
+ }
856
+ ],
857
+ url: '/api/support-feedbacks/',
858
+ ...options
859
+ });
860
+ };
861
+ /**
862
+ * Get number of items in the collection matching the request parameters.
863
+ */
864
+ export const supportFeedbacksCount = (options) => {
865
+ return (options?.client ?? _heyApiClient).head({
866
+ security: [
867
+ {
868
+ name: 'Authorization',
869
+ type: 'apiKey'
870
+ },
871
+ {
872
+ scheme: 'bearer',
873
+ type: 'http'
874
+ },
875
+ {
876
+ scheme: 'bearer',
877
+ type: 'http'
878
+ }
879
+ ],
880
+ url: '/api/support-feedbacks/',
881
+ ...options
882
+ });
883
+ };
884
+ export const supportFeedbacksCreate = (options) => {
885
+ return (options.client ?? _heyApiClient).post({
886
+ security: [
887
+ {
888
+ name: 'Authorization',
889
+ type: 'apiKey'
890
+ },
891
+ {
892
+ scheme: 'bearer',
893
+ type: 'http'
894
+ },
895
+ {
896
+ scheme: 'bearer',
897
+ type: 'http'
898
+ }
899
+ ],
900
+ url: '/api/support-feedbacks/',
901
+ ...options,
902
+ headers: {
903
+ 'Content-Type': 'application/json',
904
+ ...options.headers
905
+ }
906
+ });
907
+ };
908
+ export const supportFeedbacksRetrieve = (options) => {
909
+ return (options.client ?? _heyApiClient).get({
910
+ security: [
911
+ {
912
+ name: 'Authorization',
913
+ type: 'apiKey'
914
+ },
915
+ {
916
+ scheme: 'bearer',
917
+ type: 'http'
918
+ },
919
+ {
920
+ scheme: 'bearer',
921
+ type: 'http'
922
+ }
923
+ ],
924
+ url: '/api/support-feedbacks/{uuid}/',
925
+ ...options
926
+ });
927
+ };
928
+ export const supportIssueStatusesList = (options) => {
929
+ return (options?.client ?? _heyApiClient).get({
930
+ security: [
931
+ {
932
+ name: 'Authorization',
933
+ type: 'apiKey'
934
+ },
935
+ {
936
+ scheme: 'bearer',
937
+ type: 'http'
938
+ },
939
+ {
940
+ scheme: 'bearer',
941
+ type: 'http'
942
+ }
943
+ ],
944
+ url: '/api/support-issue-statuses/',
945
+ ...options
946
+ });
947
+ };
948
+ /**
949
+ * Get number of items in the collection matching the request parameters.
950
+ */
951
+ export const supportIssueStatusesCount = (options) => {
952
+ return (options?.client ?? _heyApiClient).head({
953
+ security: [
954
+ {
955
+ name: 'Authorization',
956
+ type: 'apiKey'
957
+ },
958
+ {
959
+ scheme: 'bearer',
960
+ type: 'http'
961
+ },
962
+ {
963
+ scheme: 'bearer',
964
+ type: 'http'
965
+ }
966
+ ],
967
+ url: '/api/support-issue-statuses/',
968
+ ...options
969
+ });
970
+ };
971
+ export const supportIssueStatusesCreate = (options) => {
972
+ return (options.client ?? _heyApiClient).post({
973
+ security: [
974
+ {
975
+ name: 'Authorization',
976
+ type: 'apiKey'
977
+ },
978
+ {
979
+ scheme: 'bearer',
980
+ type: 'http'
981
+ },
982
+ {
983
+ scheme: 'bearer',
984
+ type: 'http'
985
+ }
986
+ ],
987
+ url: '/api/support-issue-statuses/',
988
+ ...options,
989
+ headers: {
990
+ 'Content-Type': 'application/json',
991
+ ...options.headers
992
+ }
993
+ });
994
+ };
995
+ export const supportIssueStatusesDestroy = (options) => {
996
+ return (options.client ?? _heyApiClient).delete({
997
+ security: [
998
+ {
999
+ name: 'Authorization',
1000
+ type: 'apiKey'
1001
+ },
1002
+ {
1003
+ scheme: 'bearer',
1004
+ type: 'http'
1005
+ },
1006
+ {
1007
+ scheme: 'bearer',
1008
+ type: 'http'
1009
+ }
1010
+ ],
1011
+ url: '/api/support-issue-statuses/{uuid}/',
1012
+ ...options
1013
+ });
1014
+ };
1015
+ export const supportIssueStatusesRetrieve = (options) => {
1016
+ return (options.client ?? _heyApiClient).get({
1017
+ security: [
1018
+ {
1019
+ name: 'Authorization',
1020
+ type: 'apiKey'
1021
+ },
1022
+ {
1023
+ scheme: 'bearer',
1024
+ type: 'http'
1025
+ },
1026
+ {
1027
+ scheme: 'bearer',
1028
+ type: 'http'
1029
+ }
1030
+ ],
1031
+ url: '/api/support-issue-statuses/{uuid}/',
1032
+ ...options
1033
+ });
1034
+ };
1035
+ export const supportIssueStatusesPartialUpdate = (options) => {
1036
+ return (options.client ?? _heyApiClient).patch({
1037
+ security: [
1038
+ {
1039
+ name: 'Authorization',
1040
+ type: 'apiKey'
1041
+ },
1042
+ {
1043
+ scheme: 'bearer',
1044
+ type: 'http'
1045
+ },
1046
+ {
1047
+ scheme: 'bearer',
1048
+ type: 'http'
1049
+ }
1050
+ ],
1051
+ url: '/api/support-issue-statuses/{uuid}/',
1052
+ ...options,
1053
+ headers: {
1054
+ 'Content-Type': 'application/json',
1055
+ ...options.headers
1056
+ }
1057
+ });
1058
+ };
1059
+ export const supportIssueStatusesUpdate = (options) => {
1060
+ return (options.client ?? _heyApiClient).put({
1061
+ security: [
1062
+ {
1063
+ name: 'Authorization',
1064
+ type: 'apiKey'
1065
+ },
1066
+ {
1067
+ scheme: 'bearer',
1068
+ type: 'http'
1069
+ },
1070
+ {
1071
+ scheme: 'bearer',
1072
+ type: 'http'
1073
+ }
1074
+ ],
1075
+ url: '/api/support-issue-statuses/{uuid}/',
1076
+ ...options,
1077
+ headers: {
1078
+ 'Content-Type': 'application/json',
1079
+ ...options.headers
1080
+ }
1081
+ });
1082
+ };
1083
+ export const supportIssuesList = (options) => {
1084
+ return (options?.client ?? _heyApiClient).get({
1085
+ security: [
1086
+ {
1087
+ name: 'Authorization',
1088
+ type: 'apiKey'
1089
+ },
1090
+ {
1091
+ scheme: 'bearer',
1092
+ type: 'http'
1093
+ },
1094
+ {
1095
+ scheme: 'bearer',
1096
+ type: 'http'
1097
+ }
1098
+ ],
1099
+ url: '/api/support-issues/',
1100
+ ...options
1101
+ });
1102
+ };
1103
+ /**
1104
+ * Get number of items in the collection matching the request parameters.
1105
+ */
1106
+ export const supportIssuesCount = (options) => {
1107
+ return (options?.client ?? _heyApiClient).head({
1108
+ security: [
1109
+ {
1110
+ name: 'Authorization',
1111
+ type: 'apiKey'
1112
+ },
1113
+ {
1114
+ scheme: 'bearer',
1115
+ type: 'http'
1116
+ },
1117
+ {
1118
+ scheme: 'bearer',
1119
+ type: 'http'
1120
+ }
1121
+ ],
1122
+ url: '/api/support-issues/',
1123
+ ...options
1124
+ });
1125
+ };
1126
+ export const supportIssuesCreate = (options) => {
1127
+ return (options.client ?? _heyApiClient).post({
1128
+ security: [
1129
+ {
1130
+ name: 'Authorization',
1131
+ type: 'apiKey'
1132
+ },
1133
+ {
1134
+ scheme: 'bearer',
1135
+ type: 'http'
1136
+ },
1137
+ {
1138
+ scheme: 'bearer',
1139
+ type: 'http'
1140
+ }
1141
+ ],
1142
+ url: '/api/support-issues/',
1143
+ ...options,
1144
+ headers: {
1145
+ 'Content-Type': 'application/json',
1146
+ ...options.headers
1147
+ }
1148
+ });
1149
+ };
1150
+ export const supportIssuesDestroy = (options) => {
1151
+ return (options.client ?? _heyApiClient).delete({
1152
+ security: [
1153
+ {
1154
+ name: 'Authorization',
1155
+ type: 'apiKey'
1156
+ },
1157
+ {
1158
+ scheme: 'bearer',
1159
+ type: 'http'
1160
+ },
1161
+ {
1162
+ scheme: 'bearer',
1163
+ type: 'http'
1164
+ }
1165
+ ],
1166
+ url: '/api/support-issues/{uuid}/',
1167
+ ...options
1168
+ });
1169
+ };
1170
+ export const supportIssuesRetrieve = (options) => {
1171
+ return (options.client ?? _heyApiClient).get({
1172
+ security: [
1173
+ {
1174
+ name: 'Authorization',
1175
+ type: 'apiKey'
1176
+ },
1177
+ {
1178
+ scheme: 'bearer',
1179
+ type: 'http'
1180
+ },
1181
+ {
1182
+ scheme: 'bearer',
1183
+ type: 'http'
1184
+ }
1185
+ ],
1186
+ url: '/api/support-issues/{uuid}/',
1187
+ ...options
1188
+ });
1189
+ };
1190
+ export const supportIssuesPartialUpdate = (options) => {
1191
+ return (options.client ?? _heyApiClient).patch({
1192
+ security: [
1193
+ {
1194
+ name: 'Authorization',
1195
+ type: 'apiKey'
1196
+ },
1197
+ {
1198
+ scheme: 'bearer',
1199
+ type: 'http'
1200
+ },
1201
+ {
1202
+ scheme: 'bearer',
1203
+ type: 'http'
1204
+ }
1205
+ ],
1206
+ url: '/api/support-issues/{uuid}/',
1207
+ ...options,
1208
+ headers: {
1209
+ 'Content-Type': 'application/json',
1210
+ ...options.headers
1211
+ }
1212
+ });
1213
+ };
1214
+ export const supportIssuesUpdate = (options) => {
1215
+ return (options.client ?? _heyApiClient).put({
1216
+ security: [
1217
+ {
1218
+ name: 'Authorization',
1219
+ type: 'apiKey'
1220
+ },
1221
+ {
1222
+ scheme: 'bearer',
1223
+ type: 'http'
1224
+ },
1225
+ {
1226
+ scheme: 'bearer',
1227
+ type: 'http'
1228
+ }
1229
+ ],
1230
+ url: '/api/support-issues/{uuid}/',
1231
+ ...options,
1232
+ headers: {
1233
+ 'Content-Type': 'application/json',
1234
+ ...options.headers
1235
+ }
1236
+ });
1237
+ };
1238
+ export const supportIssuesComment = (options) => {
1239
+ return (options.client ?? _heyApiClient).post({
1240
+ security: [
1241
+ {
1242
+ name: 'Authorization',
1243
+ type: 'apiKey'
1244
+ },
1245
+ {
1246
+ scheme: 'bearer',
1247
+ type: 'http'
1248
+ },
1249
+ {
1250
+ scheme: 'bearer',
1251
+ type: 'http'
1252
+ }
1253
+ ],
1254
+ url: '/api/support-issues/{uuid}/comment/',
1255
+ ...options,
1256
+ headers: {
1257
+ 'Content-Type': 'application/json',
1258
+ ...options.headers
1259
+ }
1260
+ });
1261
+ };
1262
+ export const supportIssuesSync = (options) => {
1263
+ return (options.client ?? _heyApiClient).post({
1264
+ security: [
1265
+ {
1266
+ name: 'Authorization',
1267
+ type: 'apiKey'
1268
+ },
1269
+ {
1270
+ scheme: 'bearer',
1271
+ type: 'http'
1272
+ },
1273
+ {
1274
+ scheme: 'bearer',
1275
+ type: 'http'
1276
+ }
1277
+ ],
1278
+ url: '/api/support-issues/{uuid}/sync/',
1279
+ ...options,
1280
+ headers: {
1281
+ 'Content-Type': 'application/json',
1282
+ ...options.headers
1283
+ }
1284
+ });
1285
+ };
1286
+ export const supportJiraWebhook = (options) => {
1287
+ return (options.client ?? _heyApiClient).post({
1288
+ url: '/api/support-jira-webhook/',
1289
+ ...options,
1290
+ headers: {
1291
+ 'Content-Type': 'application/json',
1292
+ ...options.headers
1293
+ }
1294
+ });
1295
+ };
1296
+ export const supportPrioritiesList = (options) => {
1297
+ return (options?.client ?? _heyApiClient).get({
1298
+ security: [
1299
+ {
1300
+ name: 'Authorization',
1301
+ type: 'apiKey'
1302
+ },
1303
+ {
1304
+ scheme: 'bearer',
1305
+ type: 'http'
1306
+ },
1307
+ {
1308
+ scheme: 'bearer',
1309
+ type: 'http'
1310
+ }
1311
+ ],
1312
+ url: '/api/support-priorities/',
1313
+ ...options
1314
+ });
1315
+ };
1316
+ /**
1317
+ * Get number of items in the collection matching the request parameters.
1318
+ */
1319
+ export const supportPrioritiesCount = (options) => {
1320
+ return (options?.client ?? _heyApiClient).head({
1321
+ security: [
1322
+ {
1323
+ name: 'Authorization',
1324
+ type: 'apiKey'
1325
+ },
1326
+ {
1327
+ scheme: 'bearer',
1328
+ type: 'http'
1329
+ },
1330
+ {
1331
+ scheme: 'bearer',
1332
+ type: 'http'
1333
+ }
1334
+ ],
1335
+ url: '/api/support-priorities/',
1336
+ ...options
1337
+ });
1338
+ };
1339
+ export const supportPrioritiesRetrieve = (options) => {
1340
+ return (options.client ?? _heyApiClient).get({
1341
+ security: [
1342
+ {
1343
+ name: 'Authorization',
1344
+ type: 'apiKey'
1345
+ },
1346
+ {
1347
+ scheme: 'bearer',
1348
+ type: 'http'
1349
+ },
1350
+ {
1351
+ scheme: 'bearer',
1352
+ type: 'http'
1353
+ }
1354
+ ],
1355
+ url: '/api/support-priorities/{uuid}/',
1356
+ ...options
1357
+ });
1358
+ };
1359
+ export const supportRequestTypesList = (options) => {
1360
+ return (options?.client ?? _heyApiClient).get({
1361
+ security: [
1362
+ {
1363
+ name: 'Authorization',
1364
+ type: 'apiKey'
1365
+ },
1366
+ {
1367
+ scheme: 'bearer',
1368
+ type: 'http'
1369
+ },
1370
+ {
1371
+ scheme: 'bearer',
1372
+ type: 'http'
1373
+ }
1374
+ ],
1375
+ url: '/api/support-request-types/',
1376
+ ...options
1377
+ });
1378
+ };
1379
+ /**
1380
+ * Get number of items in the collection matching the request parameters.
1381
+ */
1382
+ export const supportRequestTypesCount = (options) => {
1383
+ return (options?.client ?? _heyApiClient).head({
1384
+ security: [
1385
+ {
1386
+ name: 'Authorization',
1387
+ type: 'apiKey'
1388
+ },
1389
+ {
1390
+ scheme: 'bearer',
1391
+ type: 'http'
1392
+ },
1393
+ {
1394
+ scheme: 'bearer',
1395
+ type: 'http'
1396
+ }
1397
+ ],
1398
+ url: '/api/support-request-types/',
1399
+ ...options
1400
+ });
1401
+ };
1402
+ export const supportRequestTypesAdminList = (options) => {
1403
+ return (options?.client ?? _heyApiClient).get({
1404
+ security: [
1405
+ {
1406
+ name: 'Authorization',
1407
+ type: 'apiKey'
1408
+ },
1409
+ {
1410
+ scheme: 'bearer',
1411
+ type: 'http'
1412
+ },
1413
+ {
1414
+ scheme: 'bearer',
1415
+ type: 'http'
1416
+ }
1417
+ ],
1418
+ url: '/api/support-request-types-admin/',
1419
+ ...options
1420
+ });
1421
+ };
1422
+ /**
1423
+ * Get number of items in the collection matching the request parameters.
1424
+ */
1425
+ export const supportRequestTypesAdminCount = (options) => {
1426
+ return (options?.client ?? _heyApiClient).head({
1427
+ security: [
1428
+ {
1429
+ name: 'Authorization',
1430
+ type: 'apiKey'
1431
+ },
1432
+ {
1433
+ scheme: 'bearer',
1434
+ type: 'http'
1435
+ },
1436
+ {
1437
+ scheme: 'bearer',
1438
+ type: 'http'
1439
+ }
1440
+ ],
1441
+ url: '/api/support-request-types-admin/',
1442
+ ...options
1443
+ });
1444
+ };
1445
+ export const supportRequestTypesAdminCreate = (options) => {
1446
+ return (options.client ?? _heyApiClient).post({
1447
+ security: [
1448
+ {
1449
+ name: 'Authorization',
1450
+ type: 'apiKey'
1451
+ },
1452
+ {
1453
+ scheme: 'bearer',
1454
+ type: 'http'
1455
+ },
1456
+ {
1457
+ scheme: 'bearer',
1458
+ type: 'http'
1459
+ }
1460
+ ],
1461
+ url: '/api/support-request-types-admin/',
1462
+ ...options,
1463
+ headers: {
1464
+ 'Content-Type': 'application/json',
1465
+ ...options.headers
1466
+ }
1467
+ });
1468
+ };
1469
+ export const supportRequestTypesAdminDestroy = (options) => {
1470
+ return (options.client ?? _heyApiClient).delete({
1471
+ security: [
1472
+ {
1473
+ name: 'Authorization',
1474
+ type: 'apiKey'
1475
+ },
1476
+ {
1477
+ scheme: 'bearer',
1478
+ type: 'http'
1479
+ },
1480
+ {
1481
+ scheme: 'bearer',
1482
+ type: 'http'
1483
+ }
1484
+ ],
1485
+ url: '/api/support-request-types-admin/{uuid}/',
1486
+ ...options
1487
+ });
1488
+ };
1489
+ export const supportRequestTypesAdminRetrieve = (options) => {
1490
+ return (options.client ?? _heyApiClient).get({
1491
+ security: [
1492
+ {
1493
+ name: 'Authorization',
1494
+ type: 'apiKey'
1495
+ },
1496
+ {
1497
+ scheme: 'bearer',
1498
+ type: 'http'
1499
+ },
1500
+ {
1501
+ scheme: 'bearer',
1502
+ type: 'http'
1503
+ }
1504
+ ],
1505
+ url: '/api/support-request-types-admin/{uuid}/',
1506
+ ...options
1507
+ });
1508
+ };
1509
+ export const supportRequestTypesAdminPartialUpdate = (options) => {
1510
+ return (options.client ?? _heyApiClient).patch({
1511
+ security: [
1512
+ {
1513
+ name: 'Authorization',
1514
+ type: 'apiKey'
1515
+ },
1516
+ {
1517
+ scheme: 'bearer',
1518
+ type: 'http'
1519
+ },
1520
+ {
1521
+ scheme: 'bearer',
1522
+ type: 'http'
1523
+ }
1524
+ ],
1525
+ url: '/api/support-request-types-admin/{uuid}/',
1526
+ ...options,
1527
+ headers: {
1528
+ 'Content-Type': 'application/json',
1529
+ ...options.headers
1530
+ }
1531
+ });
1532
+ };
1533
+ export const supportRequestTypesAdminUpdate = (options) => {
1534
+ return (options.client ?? _heyApiClient).put({
1535
+ security: [
1536
+ {
1537
+ name: 'Authorization',
1538
+ type: 'apiKey'
1539
+ },
1540
+ {
1541
+ scheme: 'bearer',
1542
+ type: 'http'
1543
+ },
1544
+ {
1545
+ scheme: 'bearer',
1546
+ type: 'http'
1547
+ }
1548
+ ],
1549
+ url: '/api/support-request-types-admin/{uuid}/',
1550
+ ...options,
1551
+ headers: {
1552
+ 'Content-Type': 'application/json',
1553
+ ...options.headers
1554
+ }
1555
+ });
1556
+ };
1557
+ /**
1558
+ * Activate a request type so it appears in issue creation.
1559
+ */
1560
+ export const supportRequestTypesAdminActivate = (options) => {
1561
+ return (options.client ?? _heyApiClient).post({
1562
+ security: [
1563
+ {
1564
+ name: 'Authorization',
1565
+ type: 'apiKey'
1566
+ },
1567
+ {
1568
+ scheme: 'bearer',
1569
+ type: 'http'
1570
+ },
1571
+ {
1572
+ scheme: 'bearer',
1573
+ type: 'http'
1574
+ }
1575
+ ],
1576
+ url: '/api/support-request-types-admin/{uuid}/activate/',
1577
+ ...options,
1578
+ headers: {
1579
+ 'Content-Type': 'application/json',
1580
+ ...options.headers
1581
+ }
1582
+ });
1583
+ };
1584
+ /**
1585
+ * Deactivate a request type so it no longer appears in issue creation.
1586
+ */
1587
+ export const supportRequestTypesAdminDeactivate = (options) => {
1588
+ return (options.client ?? _heyApiClient).post({
1589
+ security: [
1590
+ {
1591
+ name: 'Authorization',
1592
+ type: 'apiKey'
1593
+ },
1594
+ {
1595
+ scheme: 'bearer',
1596
+ type: 'http'
1597
+ },
1598
+ {
1599
+ scheme: 'bearer',
1600
+ type: 'http'
1601
+ }
1602
+ ],
1603
+ url: '/api/support-request-types-admin/{uuid}/deactivate/',
1604
+ ...options,
1605
+ headers: {
1606
+ 'Content-Type': 'application/json',
1607
+ ...options.headers
1608
+ }
1609
+ });
1610
+ };
1611
+ /**
1612
+ * Bulk update order for multiple request types.
1613
+ */
1614
+ export const supportRequestTypesAdminReorder = (options) => {
1615
+ return (options.client ?? _heyApiClient).post({
1616
+ security: [
1617
+ {
1618
+ name: 'Authorization',
1619
+ type: 'apiKey'
1620
+ },
1621
+ {
1622
+ scheme: 'bearer',
1623
+ type: 'http'
1624
+ },
1625
+ {
1626
+ scheme: 'bearer',
1627
+ type: 'http'
1628
+ }
1629
+ ],
1630
+ url: '/api/support-request-types-admin/reorder/',
1631
+ ...options,
1632
+ headers: {
1633
+ 'Content-Type': 'application/json',
1634
+ ...options.headers
1635
+ }
1636
+ });
1637
+ };
1638
+ export const supportRequestTypesRetrieve = (options) => {
1639
+ return (options.client ?? _heyApiClient).get({
1640
+ security: [
1641
+ {
1642
+ name: 'Authorization',
1643
+ type: 'apiKey'
1644
+ },
1645
+ {
1646
+ scheme: 'bearer',
1647
+ type: 'http'
1648
+ },
1649
+ {
1650
+ scheme: 'bearer',
1651
+ type: 'http'
1652
+ }
1653
+ ],
1654
+ url: '/api/support-request-types/{uuid}/',
1655
+ ...options
1656
+ });
1657
+ };
1658
+ export const supportSmaxWebhook = (options) => {
1659
+ return (options.client ?? _heyApiClient).post({
1660
+ url: '/api/support-smax-webhook/',
1661
+ ...options,
1662
+ headers: {
1663
+ 'Content-Type': 'application/json',
1664
+ ...options.headers
1665
+ }
1666
+ });
1667
+ };
1668
+ export const supportStatisticsRetrieve = (options) => {
1669
+ return (options?.client ?? _heyApiClient).get({
1670
+ security: [
1671
+ {
1672
+ name: 'Authorization',
1673
+ type: 'apiKey'
1674
+ },
1675
+ {
1676
+ scheme: 'bearer',
1677
+ type: 'http'
1678
+ },
1679
+ {
1680
+ scheme: 'bearer',
1681
+ type: 'http'
1682
+ }
1683
+ ],
1684
+ url: '/api/support-statistics/',
1685
+ ...options
1686
+ });
1687
+ };
1688
+ export const supportTemplatesList = (options) => {
1689
+ return (options?.client ?? _heyApiClient).get({
1690
+ security: [
1691
+ {
1692
+ name: 'Authorization',
1693
+ type: 'apiKey'
1694
+ },
1695
+ {
1696
+ scheme: 'bearer',
1697
+ type: 'http'
1698
+ },
1699
+ {
1700
+ scheme: 'bearer',
1701
+ type: 'http'
1702
+ }
1703
+ ],
1704
+ url: '/api/support-templates/',
1705
+ ...options
1706
+ });
1707
+ };
1708
+ /**
1709
+ * Get number of items in the collection matching the request parameters.
1710
+ */
1711
+ export const supportTemplatesCount = (options) => {
1712
+ return (options?.client ?? _heyApiClient).head({
1713
+ security: [
1714
+ {
1715
+ name: 'Authorization',
1716
+ type: 'apiKey'
1717
+ },
1718
+ {
1719
+ scheme: 'bearer',
1720
+ type: 'http'
1721
+ },
1722
+ {
1723
+ scheme: 'bearer',
1724
+ type: 'http'
1725
+ }
1726
+ ],
1727
+ url: '/api/support-templates/',
1728
+ ...options
1729
+ });
1730
+ };
1731
+ export const supportTemplatesCreate = (options) => {
1732
+ return (options.client ?? _heyApiClient).post({
1733
+ security: [
1734
+ {
1735
+ name: 'Authorization',
1736
+ type: 'apiKey'
1737
+ },
1738
+ {
1739
+ scheme: 'bearer',
1740
+ type: 'http'
1741
+ },
1742
+ {
1743
+ scheme: 'bearer',
1744
+ type: 'http'
1745
+ }
1746
+ ],
1747
+ url: '/api/support-templates/',
1748
+ ...options,
1749
+ headers: {
1750
+ 'Content-Type': 'application/json',
1751
+ ...options.headers
1752
+ }
1753
+ });
1754
+ };
1755
+ export const supportTemplatesDestroy = (options) => {
1756
+ return (options.client ?? _heyApiClient).delete({
1757
+ security: [
1758
+ {
1759
+ name: 'Authorization',
1760
+ type: 'apiKey'
1761
+ },
1762
+ {
1763
+ scheme: 'bearer',
1764
+ type: 'http'
1765
+ },
1766
+ {
1767
+ scheme: 'bearer',
1768
+ type: 'http'
1769
+ }
1770
+ ],
1771
+ url: '/api/support-templates/{uuid}/',
1772
+ ...options
1773
+ });
1774
+ };
1775
+ export const supportTemplatesRetrieve = (options) => {
1776
+ return (options.client ?? _heyApiClient).get({
1777
+ security: [
1778
+ {
1779
+ name: 'Authorization',
1780
+ type: 'apiKey'
1781
+ },
1782
+ {
1783
+ scheme: 'bearer',
1784
+ type: 'http'
1785
+ },
1786
+ {
1787
+ scheme: 'bearer',
1788
+ type: 'http'
1789
+ }
1790
+ ],
1791
+ url: '/api/support-templates/{uuid}/',
1792
+ ...options
1793
+ });
1794
+ };
1795
+ export const supportTemplatesPartialUpdate = (options) => {
1796
+ return (options.client ?? _heyApiClient).patch({
1797
+ security: [
1798
+ {
1799
+ name: 'Authorization',
1800
+ type: 'apiKey'
1801
+ },
1802
+ {
1803
+ scheme: 'bearer',
1804
+ type: 'http'
1805
+ },
1806
+ {
1807
+ scheme: 'bearer',
1808
+ type: 'http'
1809
+ }
1810
+ ],
1811
+ url: '/api/support-templates/{uuid}/',
1812
+ ...options,
1813
+ headers: {
1814
+ 'Content-Type': 'application/json',
1815
+ ...options.headers
1816
+ }
1817
+ });
1818
+ };
1819
+ export const supportTemplatesUpdate = (options) => {
1820
+ return (options.client ?? _heyApiClient).put({
1821
+ security: [
1822
+ {
1823
+ name: 'Authorization',
1824
+ type: 'apiKey'
1825
+ },
1826
+ {
1827
+ scheme: 'bearer',
1828
+ type: 'http'
1829
+ },
1830
+ {
1831
+ scheme: 'bearer',
1832
+ type: 'http'
1833
+ }
1834
+ ],
1835
+ url: '/api/support-templates/{uuid}/',
1836
+ ...options,
1837
+ headers: {
1838
+ 'Content-Type': 'application/json',
1839
+ ...options.headers
1840
+ }
1841
+ });
1842
+ };
1843
+ /**
1844
+ * This view attaches documents to template.
1845
+ */
1846
+ export const supportTemplatesCreateAttachments = (options) => {
1847
+ return (options.client ?? _heyApiClient).post({
1848
+ security: [
1849
+ {
1850
+ name: 'Authorization',
1851
+ type: 'apiKey'
1852
+ },
1853
+ {
1854
+ scheme: 'bearer',
1855
+ type: 'http'
1856
+ },
1857
+ {
1858
+ scheme: 'bearer',
1859
+ type: 'http'
1860
+ }
1861
+ ],
1862
+ url: '/api/support-templates/{uuid}/create_attachments/',
1863
+ ...options,
1864
+ headers: {
1865
+ 'Content-Type': 'application/json',
1866
+ ...options.headers
1867
+ }
1868
+ });
1869
+ };
1870
+ export const supportTemplatesDeleteAttachments = (options) => {
1871
+ return (options.client ?? _heyApiClient).post({
1872
+ security: [
1873
+ {
1874
+ name: 'Authorization',
1875
+ type: 'apiKey'
1876
+ },
1877
+ {
1878
+ scheme: 'bearer',
1879
+ type: 'http'
1880
+ },
1881
+ {
1882
+ scheme: 'bearer',
1883
+ type: 'http'
1884
+ }
1885
+ ],
1886
+ url: '/api/support-templates/{uuid}/delete_attachments/',
1887
+ ...options,
1888
+ headers: {
1889
+ 'Content-Type': 'application/json',
1890
+ ...options.headers
1891
+ }
1892
+ });
1893
+ };
1894
+ export const supportUsersList = (options) => {
1895
+ return (options?.client ?? _heyApiClient).get({
1896
+ security: [
1897
+ {
1898
+ name: 'Authorization',
1899
+ type: 'apiKey'
1900
+ },
1901
+ {
1902
+ scheme: 'bearer',
1903
+ type: 'http'
1904
+ },
1905
+ {
1906
+ scheme: 'bearer',
1907
+ type: 'http'
1908
+ }
1909
+ ],
1910
+ url: '/api/support-users/',
1911
+ ...options
1912
+ });
1913
+ };
1914
+ /**
1915
+ * Get number of items in the collection matching the request parameters.
1916
+ */
1917
+ export const supportUsersCount = (options) => {
1918
+ return (options?.client ?? _heyApiClient).head({
1919
+ security: [
1920
+ {
1921
+ name: 'Authorization',
1922
+ type: 'apiKey'
1923
+ },
1924
+ {
1925
+ scheme: 'bearer',
1926
+ type: 'http'
1927
+ },
1928
+ {
1929
+ scheme: 'bearer',
1930
+ type: 'http'
1931
+ }
1932
+ ],
1933
+ url: '/api/support-users/',
1934
+ ...options
1935
+ });
1936
+ };
1937
+ export const supportUsersRetrieve = (options) => {
1938
+ return (options.client ?? _heyApiClient).get({
1939
+ security: [
1940
+ {
1941
+ name: 'Authorization',
1942
+ type: 'apiKey'
1943
+ },
1944
+ {
1945
+ scheme: 'bearer',
1946
+ type: 'http'
1947
+ },
1948
+ {
1949
+ scheme: 'bearer',
1950
+ type: 'http'
1951
+ }
1952
+ ],
1953
+ url: '/api/support-users/{uuid}/',
1954
+ ...options
1955
+ });
1956
+ };
1957
+ export const supportZammadWebhook = (options) => {
1958
+ return (options?.client ?? _heyApiClient).post({
1959
+ url: '/api/support-zammad-webhook/',
1960
+ ...options
1961
+ });
1962
+ };
1963
+ export const supportSettingsAtlassianList = (options) => {
1964
+ return (options?.client ?? _heyApiClient).get({
1965
+ security: [
1966
+ {
1967
+ name: 'Authorization',
1968
+ type: 'apiKey'
1969
+ },
1970
+ {
1971
+ scheme: 'bearer',
1972
+ type: 'http'
1973
+ },
1974
+ {
1975
+ scheme: 'bearer',
1976
+ type: 'http'
1977
+ }
1978
+ ],
1979
+ url: '/api/support/settings/atlassian/',
1980
+ ...options
1981
+ });
1982
+ };
1983
+ export const supportSettingsAtlassianCreate = (options) => {
1984
+ return (options?.client ?? _heyApiClient).post({
1985
+ security: [
1986
+ {
1987
+ name: 'Authorization',
1988
+ type: 'apiKey'
1989
+ },
1990
+ {
1991
+ scheme: 'bearer',
1992
+ type: 'http'
1993
+ },
1994
+ {
1995
+ scheme: 'bearer',
1996
+ type: 'http'
1997
+ }
1998
+ ],
1999
+ url: '/api/support/settings/atlassian/',
2000
+ ...options
2001
+ });
2002
+ };
2003
+ export const supportSettingsAtlassianDestroy = (options) => {
2004
+ return (options.client ?? _heyApiClient).delete({
2005
+ security: [
2006
+ {
2007
+ name: 'Authorization',
2008
+ type: 'apiKey'
2009
+ },
2010
+ {
2011
+ scheme: 'bearer',
2012
+ type: 'http'
2013
+ },
2014
+ {
2015
+ scheme: 'bearer',
2016
+ type: 'http'
2017
+ }
2018
+ ],
2019
+ url: '/api/support/settings/atlassian/{id}/',
2020
+ ...options
2021
+ });
2022
+ };
2023
+ export const supportSettingsAtlassianRetrieve = (options) => {
2024
+ return (options.client ?? _heyApiClient).get({
2025
+ security: [
2026
+ {
2027
+ name: 'Authorization',
2028
+ type: 'apiKey'
2029
+ },
2030
+ {
2031
+ scheme: 'bearer',
2032
+ type: 'http'
2033
+ },
2034
+ {
2035
+ scheme: 'bearer',
2036
+ type: 'http'
2037
+ }
2038
+ ],
2039
+ url: '/api/support/settings/atlassian/{id}/',
2040
+ ...options
2041
+ });
2042
+ };
2043
+ export const supportSettingsAtlassianPartialUpdate = (options) => {
2044
+ return (options.client ?? _heyApiClient).patch({
2045
+ security: [
2046
+ {
2047
+ name: 'Authorization',
2048
+ type: 'apiKey'
2049
+ },
2050
+ {
2051
+ scheme: 'bearer',
2052
+ type: 'http'
2053
+ },
2054
+ {
2055
+ scheme: 'bearer',
2056
+ type: 'http'
2057
+ }
2058
+ ],
2059
+ url: '/api/support/settings/atlassian/{id}/',
2060
+ ...options
2061
+ });
2062
+ };
2063
+ export const supportSettingsAtlassianUpdate = (options) => {
2064
+ return (options.client ?? _heyApiClient).put({
2065
+ security: [
2066
+ {
2067
+ name: 'Authorization',
2068
+ type: 'apiKey'
2069
+ },
2070
+ {
2071
+ scheme: 'bearer',
2072
+ type: 'http'
2073
+ },
2074
+ {
2075
+ scheme: 'bearer',
2076
+ type: 'http'
2077
+ }
2078
+ ],
2079
+ url: '/api/support/settings/atlassian/{id}/',
2080
+ ...options
2081
+ });
2082
+ };
2083
+ /**
2084
+ * Get current Atlassian settings (masked secrets).
2085
+ */
2086
+ export const supportSettingsAtlassianCurrentSettingsRetrieve = (options) => {
2087
+ return (options?.client ?? _heyApiClient).get({
2088
+ security: [
2089
+ {
2090
+ name: 'Authorization',
2091
+ type: 'apiKey'
2092
+ },
2093
+ {
2094
+ scheme: 'bearer',
2095
+ type: 'http'
2096
+ },
2097
+ {
2098
+ scheme: 'bearer',
2099
+ type: 'http'
2100
+ }
2101
+ ],
2102
+ url: '/api/support/settings/atlassian/current_settings/',
2103
+ ...options
2104
+ });
2105
+ };
2106
+ /**
2107
+ * Discover available custom fields.
2108
+ */
2109
+ export const supportSettingsAtlassianDiscoverCustomFields = (options) => {
2110
+ return (options.client ?? _heyApiClient).post({
2111
+ security: [
2112
+ {
2113
+ name: 'Authorization',
2114
+ type: 'apiKey'
2115
+ },
2116
+ {
2117
+ scheme: 'bearer',
2118
+ type: 'http'
2119
+ },
2120
+ {
2121
+ scheme: 'bearer',
2122
+ type: 'http'
2123
+ }
2124
+ ],
2125
+ url: '/api/support/settings/atlassian/discover_custom_fields/',
2126
+ ...options,
2127
+ headers: {
2128
+ 'Content-Type': 'application/json',
2129
+ ...options.headers
2130
+ }
2131
+ });
2132
+ };
2133
+ /**
2134
+ * Discover available priorities.
2135
+ */
2136
+ export const supportSettingsAtlassianDiscoverPriorities = (options) => {
2137
+ return (options.client ?? _heyApiClient).post({
2138
+ security: [
2139
+ {
2140
+ name: 'Authorization',
2141
+ type: 'apiKey'
2142
+ },
2143
+ {
2144
+ scheme: 'bearer',
2145
+ type: 'http'
2146
+ },
2147
+ {
2148
+ scheme: 'bearer',
2149
+ type: 'http'
2150
+ }
2151
+ ],
2152
+ url: '/api/support/settings/atlassian/discover_priorities/',
2153
+ ...options,
2154
+ headers: {
2155
+ 'Content-Type': 'application/json',
2156
+ ...options.headers
2157
+ }
2158
+ });
2159
+ };
2160
+ /**
2161
+ * Discover available Service Desk projects.
2162
+ */
2163
+ export const supportSettingsAtlassianDiscoverProjects = (options) => {
2164
+ return (options.client ?? _heyApiClient).post({
2165
+ security: [
2166
+ {
2167
+ name: 'Authorization',
2168
+ type: 'apiKey'
2169
+ },
2170
+ {
2171
+ scheme: 'bearer',
2172
+ type: 'http'
2173
+ },
2174
+ {
2175
+ scheme: 'bearer',
2176
+ type: 'http'
2177
+ }
2178
+ ],
2179
+ url: '/api/support/settings/atlassian/discover_projects/',
2180
+ ...options,
2181
+ headers: {
2182
+ 'Content-Type': 'application/json',
2183
+ ...options.headers
2184
+ }
2185
+ });
2186
+ };
2187
+ /**
2188
+ * Discover request types for a selected project.
2189
+ */
2190
+ export const supportSettingsAtlassianDiscoverRequestTypes = (options) => {
2191
+ return (options.client ?? _heyApiClient).post({
2192
+ security: [
2193
+ {
2194
+ name: 'Authorization',
2195
+ type: 'apiKey'
2196
+ },
2197
+ {
2198
+ scheme: 'bearer',
2199
+ type: 'http'
2200
+ },
2201
+ {
2202
+ scheme: 'bearer',
2203
+ type: 'http'
2204
+ }
2205
+ ],
2206
+ url: '/api/support/settings/atlassian/discover_request_types/',
2207
+ ...options,
2208
+ headers: {
2209
+ 'Content-Type': 'application/json',
2210
+ ...options.headers
2211
+ }
2212
+ });
2213
+ };
2214
+ /**
2215
+ * Generate preview of settings to be saved.
2216
+ */
2217
+ export const supportSettingsAtlassianPreviewSettings = (options) => {
2218
+ return (options.client ?? _heyApiClient).post({
2219
+ security: [
2220
+ {
2221
+ name: 'Authorization',
2222
+ type: 'apiKey'
2223
+ },
2224
+ {
2225
+ scheme: 'bearer',
2226
+ type: 'http'
2227
+ },
2228
+ {
2229
+ scheme: 'bearer',
2230
+ type: 'http'
2231
+ }
2232
+ ],
2233
+ url: '/api/support/settings/atlassian/preview_settings/',
2234
+ ...options,
2235
+ headers: {
2236
+ 'Content-Type': 'application/json',
2237
+ ...options.headers
2238
+ }
2239
+ });
2240
+ };
2241
+ /**
2242
+ * Save selected settings to constance.
2243
+ */
2244
+ export const supportSettingsAtlassianSaveSettings = (options) => {
2245
+ return (options.client ?? _heyApiClient).post({
2246
+ security: [
2247
+ {
2248
+ name: 'Authorization',
2249
+ type: 'apiKey'
2250
+ },
2251
+ {
2252
+ scheme: 'bearer',
2253
+ type: 'http'
2254
+ },
2255
+ {
2256
+ scheme: 'bearer',
2257
+ type: 'http'
2258
+ }
2259
+ ],
2260
+ url: '/api/support/settings/atlassian/save_settings/',
2261
+ ...options,
2262
+ headers: {
2263
+ 'Content-Type': 'application/json',
2264
+ ...options.headers
2265
+ }
2266
+ });
2267
+ };
2268
+ /**
2269
+ * Validate Atlassian credentials without saving them.
2270
+ */
2271
+ export const supportSettingsAtlassianValidateCredentials = (options) => {
2272
+ return (options.client ?? _heyApiClient).post({
2273
+ security: [
2274
+ {
2275
+ name: 'Authorization',
2276
+ type: 'apiKey'
2277
+ },
2278
+ {
2279
+ scheme: 'bearer',
2280
+ type: 'http'
2281
+ },
2282
+ {
2283
+ scheme: 'bearer',
2284
+ type: 'http'
2285
+ }
2286
+ ],
2287
+ url: '/api/support/settings/atlassian/validate_credentials/',
2288
+ ...options,
2289
+ headers: {
2290
+ 'Content-Type': 'application/json',
2291
+ ...options.headers
2292
+ }
2293
+ });
2294
+ };
2295
+ /**
2296
+ * This view triggers synchronization of issues from backend.
2297
+ */
2298
+ export const syncIssuesRetrieve = (options) => {
2299
+ return (options?.client ?? _heyApiClient).get({
2300
+ security: [
2301
+ {
2302
+ name: 'Authorization',
2303
+ type: 'apiKey'
2304
+ },
2305
+ {
2306
+ scheme: 'bearer',
2307
+ type: 'http'
2308
+ },
2309
+ {
2310
+ scheme: 'bearer',
2311
+ type: 'http'
2312
+ }
2313
+ ],
2314
+ url: '/api/sync-issues/',
2315
+ ...options
2316
+ });
2317
+ };
2318
+ /**
2319
+ * This view triggers synchronization of issues from backend.
2320
+ */
2321
+ export const syncIssues = (options) => {
2322
+ return (options?.client ?? _heyApiClient).post({
2323
+ security: [
2324
+ {
2325
+ name: 'Authorization',
2326
+ type: 'apiKey'
2327
+ },
2328
+ {
2329
+ scheme: 'bearer',
2330
+ type: 'http'
2331
+ },
2332
+ {
2333
+ scheme: 'bearer',
2334
+ type: 'http'
2335
+ }
2336
+ ],
2337
+ url: '/api/sync-issues/',
2338
+ ...options
2339
+ });
2340
+ };