@waldur/support 1.0.1-dev.0

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,2902 @@
1
+ // This file is auto-generated by split-sdk script
2
+
3
+ import type { CoreStates, NullEnum } from '@waldur/core';
4
+
5
+ export type ActionTakenEnum = 'allow' | 'flag' | 'warn' | 'redact' | 'block';
6
+
7
+ export type AtlassianCredentialsRequest = {
8
+ /**
9
+ * Atlassian API URL (e.g., https://your-domain.atlassian.net)
10
+ */
11
+ api_url: string;
12
+ /**
13
+ * Authentication method to use
14
+ */
15
+ auth_method: AuthMethodEnum;
16
+ email?: string;
17
+ token?: string;
18
+ personal_access_token?: string;
19
+ username?: string;
20
+ password?: string;
21
+ verify_ssl?: boolean;
22
+ };
23
+
24
+ export type AtlassianCustomFieldResponse = {
25
+ id: string;
26
+ name: string;
27
+ clause_names?: Array<string>;
28
+ field_type?: string;
29
+ required?: boolean;
30
+ };
31
+
32
+ export type AtlassianPriorityResponse = {
33
+ id: string;
34
+ name: string;
35
+ description?: string;
36
+ icon_url?: string;
37
+ };
38
+
39
+ export type AtlassianProjectResponse = {
40
+ id: string;
41
+ key: string;
42
+ name: string;
43
+ description?: string;
44
+ };
45
+
46
+ export type AtlassianRequestTypeResponse = {
47
+ id: string;
48
+ name: string;
49
+ description?: string;
50
+ issue_type_id?: string;
51
+ };
52
+
53
+ export type AtlassianSettingsPreviewRequest = {
54
+ api_url: string;
55
+ auth_method: AuthMethodEnum;
56
+ email?: string;
57
+ token?: string;
58
+ personal_access_token?: string;
59
+ username?: string;
60
+ password?: string;
61
+ verify_ssl?: boolean;
62
+ project_id: string;
63
+ issue_types?: Array<string>;
64
+ /**
65
+ * Mapping from frontend types to backend request types
66
+ */
67
+ support_type_mapping?: {
68
+ [key: string]: string;
69
+ };
70
+ reporter_field?: string;
71
+ impact_field?: string;
72
+ organisation_field?: string;
73
+ project_field?: string;
74
+ affected_resource_field?: string;
75
+ caller_field?: string;
76
+ template_field?: string;
77
+ sla_field?: string;
78
+ resolution_sla_field?: string;
79
+ satisfaction_field?: string;
80
+ request_feedback_field?: string;
81
+ waldur_backend_id_field?: string;
82
+ /**
83
+ * Default issue type for marketplace request-based orders
84
+ */
85
+ default_offering_issue_type?: string;
86
+ use_old_api?: boolean;
87
+ custom_field_mapping_enabled?: boolean;
88
+ };
89
+
90
+ export type AtlassianSettingsSaveRequest = {
91
+ api_url: string;
92
+ auth_method: AuthMethodEnum;
93
+ email?: string;
94
+ token?: string;
95
+ personal_access_token?: string;
96
+ username?: string;
97
+ password?: string;
98
+ verify_ssl?: boolean;
99
+ project_id: string;
100
+ issue_types?: Array<string>;
101
+ /**
102
+ * Mapping from frontend types to backend request types
103
+ */
104
+ support_type_mapping?: {
105
+ [key: string]: string;
106
+ };
107
+ reporter_field?: string;
108
+ impact_field?: string;
109
+ organisation_field?: string;
110
+ project_field?: string;
111
+ affected_resource_field?: string;
112
+ caller_field?: string;
113
+ template_field?: string;
114
+ sla_field?: string;
115
+ resolution_sla_field?: string;
116
+ satisfaction_field?: string;
117
+ request_feedback_field?: string;
118
+ waldur_backend_id_field?: string;
119
+ /**
120
+ * Default issue type for marketplace request-based orders
121
+ */
122
+ default_offering_issue_type?: string;
123
+ use_old_api?: boolean;
124
+ custom_field_mapping_enabled?: boolean;
125
+ /**
126
+ * Must be True to confirm saving settings
127
+ */
128
+ confirm_save: boolean;
129
+ };
130
+
131
+ export type Attachment = {
132
+ readonly url?: string;
133
+ readonly uuid?: string;
134
+ issue?: string;
135
+ readonly issue_key?: string;
136
+ readonly created?: string;
137
+ file?: string;
138
+ readonly mime_type?: string;
139
+ readonly file_size?: number;
140
+ readonly file_name?: string;
141
+ readonly backend_id?: string;
142
+ readonly destroy_is_available?: boolean;
143
+ };
144
+
145
+ export type AttachmentRequest = {
146
+ issue: string;
147
+ file: Blob | File;
148
+ };
149
+
150
+ export type AuthMethodEnum = 'api_token' | 'personal_access_token' | 'basic';
151
+
152
+ export type ChatRequestModeEnum = 'reload' | 'edit';
153
+
154
+ export type ChatRequestRequest = {
155
+ /**
156
+ * User input text for the chat model.
157
+ */
158
+ input: string;
159
+ /**
160
+ * Existing thread UUID. If omitted, a new thread is created.
161
+ */
162
+ thread_uuid?: string | null;
163
+ /**
164
+ * 'reload': replace the last assistant response. 'edit': edit a user message and re-stream. Omit for normal new-message behavior.
165
+ */
166
+ mode?: ChatRequestModeEnum | NullEnum | null;
167
+ /**
168
+ * UUID of the user message to edit. Required when mode='edit'.
169
+ */
170
+ edit_message_uuid?: string | null;
171
+ };
172
+
173
+ export type ChatResponse = {
174
+ /**
175
+ * Component key (e.g. 'markdown', 'code', 'vm_order', 'resource_list').
176
+ */
177
+ k?: string;
178
+ /**
179
+ * Content payload.
180
+ */
181
+ c?: string;
182
+ /**
183
+ * Tag or language for dynamic blocks.
184
+ */
185
+ t?: string;
186
+ /**
187
+ * Error message.
188
+ */
189
+ e?: string;
190
+ /**
191
+ * System metadata (thread_uuid, message UUIDs).
192
+ */
193
+ m?: {
194
+ [key: string]: unknown;
195
+ };
196
+ /**
197
+ * PII detection warning message.
198
+ */
199
+ w?: string;
200
+ /**
201
+ * vm_order status: 'form' | 'project_form' | 'preview' | 'success' | 'error'.
202
+ */
203
+ status?: string;
204
+ /**
205
+ * VM name.
206
+ */
207
+ name?: string;
208
+ /**
209
+ * Flavor display string (e.g. 'm1.small (2 vCPU, 4GB RAM)').
210
+ */
211
+ flavor?: string;
212
+ /**
213
+ * Image name.
214
+ */
215
+ image?: string;
216
+ /**
217
+ * Intro text or form instructions.
218
+ */
219
+ content?: string;
220
+ /**
221
+ * Project name.
222
+ */
223
+ project?: string;
224
+ /**
225
+ * Organization/customer name.
226
+ */
227
+ organization?: string;
228
+ /**
229
+ * Project UUID. Present when k='vm_order' or k='resource_list'.
230
+ */
231
+ project_uuid?: string;
232
+ /**
233
+ * Order UUID (present on success).
234
+ */
235
+ order_id?: string;
236
+ /**
237
+ * Success message (present on success).
238
+ */
239
+ message?: string;
240
+ /**
241
+ * Error detail (present on error).
242
+ */
243
+ error?: string;
244
+ /**
245
+ * Available flavor options [{name, cores, ram}]. Present when status='form'.
246
+ */
247
+ flavors?: Array<unknown>;
248
+ /**
249
+ * Available image options [{name, min_disk, min_ram}]. Present when status='form'.
250
+ */
251
+ images?: Array<unknown>;
252
+ /**
253
+ * Available project options [{name, organization, uuid}]. Present when status='project_form'.
254
+ */
255
+ projects?: Array<unknown>;
256
+ /**
257
+ * Available offering options [{uuid, name}]. Present when status='offering_form'.
258
+ */
259
+ offerings?: Array<unknown>;
260
+ /**
261
+ * Customer/organization UUID filter hint. Present when k='resource_list'.
262
+ */
263
+ customer_uuid?: string;
264
+ /**
265
+ * Category UUID filter hint. Present when k='resource_list'.
266
+ */
267
+ category_uuid?: string;
268
+ /**
269
+ * State display name filters (e.g. ['OK', 'Erred']). Present when k='resource_list'.
270
+ */
271
+ state?: Array<unknown>;
272
+ };
273
+
274
+ export type ChatSession = {
275
+ readonly uuid?: string;
276
+ readonly user?: string;
277
+ readonly user_username?: string;
278
+ readonly user_full_name?: string;
279
+ readonly created?: string;
280
+ readonly modified?: string;
281
+ };
282
+
283
+ export type Comment = {
284
+ readonly url: string;
285
+ readonly uuid: string;
286
+ readonly issue: string;
287
+ readonly issue_key: string;
288
+ description: string;
289
+ is_public?: boolean;
290
+ readonly author_name: string;
291
+ readonly author_uuid: string;
292
+ readonly author_user: string;
293
+ /**
294
+ * Email address
295
+ */
296
+ readonly author_email: string;
297
+ readonly backend_id: string | null;
298
+ remote_id?: string | null;
299
+ readonly created: string;
300
+ readonly update_is_available: boolean;
301
+ readonly destroy_is_available: boolean;
302
+ };
303
+
304
+ export type CommentRequest = {
305
+ description: string;
306
+ is_public?: boolean;
307
+ };
308
+
309
+ export type CreateAttachmentsRequest = {
310
+ /**
311
+ * List of files to attach
312
+ */
313
+ attachments: Array<Blob | File>;
314
+ };
315
+
316
+ export type CreateFeedback = {
317
+ readonly uuid: string;
318
+ readonly issue: string;
319
+ comment?: string;
320
+ evaluation: number;
321
+ };
322
+
323
+ export type CreateFeedbackRequest = {
324
+ comment?: string;
325
+ evaluation: number;
326
+ token: string;
327
+ };
328
+
329
+ export type DeleteAttachmentsRequest = {
330
+ attachment_ids: Array<string>;
331
+ };
332
+
333
+ export type DiscoverCustomFieldsRequestRequest = {
334
+ /**
335
+ * Atlassian API URL (e.g., https://your-domain.atlassian.net)
336
+ */
337
+ api_url: string;
338
+ /**
339
+ * Authentication method to use
340
+ */
341
+ auth_method: AuthMethodEnum;
342
+ email?: string;
343
+ token?: string;
344
+ personal_access_token?: string;
345
+ username?: string;
346
+ password?: string;
347
+ verify_ssl?: boolean;
348
+ project_id?: string;
349
+ /**
350
+ * Optional: Filter fields by request type
351
+ */
352
+ request_type_id?: string;
353
+ };
354
+
355
+ export type DiscoverPrioritiesRequestRequest = {
356
+ /**
357
+ * Atlassian API URL (e.g., https://your-domain.atlassian.net)
358
+ */
359
+ api_url: string;
360
+ /**
361
+ * Authentication method to use
362
+ */
363
+ auth_method: AuthMethodEnum;
364
+ email?: string;
365
+ token?: string;
366
+ personal_access_token?: string;
367
+ username?: string;
368
+ password?: string;
369
+ verify_ssl?: boolean;
370
+ };
371
+
372
+ export type DiscoverProjectsRequestRequest = {
373
+ /**
374
+ * Atlassian API URL (e.g., https://your-domain.atlassian.net)
375
+ */
376
+ api_url: string;
377
+ /**
378
+ * Authentication method to use
379
+ */
380
+ auth_method: AuthMethodEnum;
381
+ email?: string;
382
+ token?: string;
383
+ personal_access_token?: string;
384
+ username?: string;
385
+ password?: string;
386
+ verify_ssl?: boolean;
387
+ };
388
+
389
+ export type DiscoverRequestTypesRequestRequest = {
390
+ /**
391
+ * Atlassian API URL (e.g., https://your-domain.atlassian.net)
392
+ */
393
+ api_url: string;
394
+ /**
395
+ * Authentication method to use
396
+ */
397
+ auth_method: AuthMethodEnum;
398
+ email?: string;
399
+ token?: string;
400
+ personal_access_token?: string;
401
+ username?: string;
402
+ password?: string;
403
+ verify_ssl?: boolean;
404
+ /**
405
+ * Service Desk project ID or key
406
+ */
407
+ project_id: string;
408
+ };
409
+
410
+ export type Feedback = {
411
+ readonly uuid: string;
412
+ readonly created: string;
413
+ readonly modified: string;
414
+ state: CoreStates;
415
+ evaluation: number;
416
+ comment?: string;
417
+ readonly issue_uuid: string;
418
+ readonly user_full_name: string;
419
+ readonly issue_key: string;
420
+ readonly issue_summary: string;
421
+ };
422
+
423
+ export type FeedbackCategoryEnum = 'inaccurate' | 'incomplete' | 'misunderstood' | 'slow_or_failed' | 'other';
424
+
425
+ export type InjectionSeverityEnum = 'none' | 'low' | 'medium' | 'high' | 'critical';
426
+
427
+ export type Issue = {
428
+ readonly url: string;
429
+ readonly uuid: string;
430
+ type: string;
431
+ readonly key: string;
432
+ readonly backend_id: string | null;
433
+ readonly backend_name: string | null;
434
+ remote_id?: string | null;
435
+ /**
436
+ * Link to issue in support system.
437
+ */
438
+ readonly link: string;
439
+ summary: string;
440
+ description?: string;
441
+ readonly status: string;
442
+ readonly resolution: string;
443
+ priority?: string;
444
+ caller?: string | null;
445
+ readonly caller_uuid: string | null;
446
+ readonly caller_full_name: string | null;
447
+ readonly reporter: string;
448
+ readonly reporter_uuid: string | null;
449
+ readonly reporter_name: string | null;
450
+ assignee?: string | null;
451
+ readonly assignee_uuid: string | null;
452
+ readonly assignee_name: string | null;
453
+ /**
454
+ * Organization
455
+ */
456
+ customer?: string | null;
457
+ readonly customer_uuid: string | null;
458
+ readonly customer_name: string | null;
459
+ project?: string | null;
460
+ readonly project_uuid: string | null;
461
+ readonly project_name: string | null;
462
+ resource?: string;
463
+ readonly resource_type: string;
464
+ readonly resource_name: string;
465
+ readonly created: string;
466
+ readonly modified: string;
467
+ template?: string | null;
468
+ feedback: NestedFeedback | null;
469
+ readonly resolved: boolean | null;
470
+ readonly update_is_available: boolean;
471
+ readonly destroy_is_available: boolean;
472
+ readonly add_comment_is_available: boolean;
473
+ readonly add_attachment_is_available: boolean;
474
+ /**
475
+ * Internal processing log for debugging order lifecycle events. Visible only to staff.
476
+ */
477
+ readonly processing_log: unknown;
478
+ /**
479
+ * Return order UUID if the issue's resource is an Order.
480
+ */
481
+ readonly order_uuid: string | null;
482
+ /**
483
+ * Return order's project UUID if the issue's resource is an Order.
484
+ */
485
+ readonly order_project_uuid: string | null;
486
+ /**
487
+ * Return order's customer UUID if the issue's resource is an Order.
488
+ */
489
+ readonly order_customer_uuid: string | null;
490
+ /**
491
+ * Return order's resource name if the issue's resource is an Order.
492
+ */
493
+ readonly order_resource_name: string | null;
494
+ };
495
+
496
+ export type IssueRequest = {
497
+ type: string;
498
+ remote_id?: string | null;
499
+ summary: string;
500
+ description?: string;
501
+ priority?: string;
502
+ caller?: string | null;
503
+ assignee?: string | null;
504
+ /**
505
+ * Organization
506
+ */
507
+ customer?: string | null;
508
+ project?: string | null;
509
+ resource?: string;
510
+ /**
511
+ * Set true if issue is created by regular user via portal.
512
+ */
513
+ is_reported_manually?: boolean;
514
+ template?: string | null;
515
+ };
516
+
517
+ export type IssueStatus = {
518
+ readonly url: string;
519
+ readonly uuid: string;
520
+ /**
521
+ * Status name in Jira.
522
+ */
523
+ name: string;
524
+ type?: IssueStatusType;
525
+ readonly type_display: string;
526
+ };
527
+
528
+ export type IssueStatusCreate = {
529
+ /**
530
+ * Status name in Jira.
531
+ */
532
+ name: string;
533
+ type?: IssueStatusType;
534
+ };
535
+
536
+ export type IssueStatusCreateRequest = {
537
+ /**
538
+ * Status name in Jira.
539
+ */
540
+ name: string;
541
+ type?: IssueStatusType;
542
+ };
543
+
544
+ export type IssueStatusType = 0 | 1;
545
+
546
+ export type IssueTypeEnum = 'INFORMATIONAL' | 'SERVICE_REQUEST' | 'CHANGE_REQUEST' | 'INCIDENT';
547
+
548
+ export type JiraChangelog = {
549
+ /**
550
+ * List of changelog items
551
+ */
552
+ items: Array<unknown>;
553
+ };
554
+
555
+ export type JiraChangelogRequest = {
556
+ /**
557
+ * List of changelog items
558
+ */
559
+ items: Array<unknown>;
560
+ };
561
+
562
+ export type JiraComment = {
563
+ /**
564
+ * Jira comment ID
565
+ */
566
+ id: string;
567
+ };
568
+
569
+ export type JiraCommentRequest = {
570
+ /**
571
+ * Jira comment ID
572
+ */
573
+ id: string;
574
+ };
575
+
576
+ export type JiraIssue = {
577
+ /**
578
+ * Jira issue key
579
+ */
580
+ key: string;
581
+ fields: JiraIssueFields;
582
+ };
583
+
584
+ export type JiraIssueFields = {
585
+ project: JiraIssueProject;
586
+ comment?: {
587
+ [key: string]: unknown;
588
+ };
589
+ };
590
+
591
+ export type JiraIssueFieldsRequest = {
592
+ project: JiraIssueProjectRequest;
593
+ comment?: {
594
+ [key: string]: unknown;
595
+ };
596
+ };
597
+
598
+ export type JiraIssueProject = {
599
+ /**
600
+ * Jira field ID
601
+ */
602
+ id: string;
603
+ /**
604
+ * Jira field name
605
+ */
606
+ name: string;
607
+ /**
608
+ * Jira project key
609
+ */
610
+ key: string;
611
+ };
612
+
613
+ export type JiraIssueProjectRequest = {
614
+ /**
615
+ * Jira field ID
616
+ */
617
+ id: string;
618
+ /**
619
+ * Jira field name
620
+ */
621
+ name: string;
622
+ /**
623
+ * Jira project key
624
+ */
625
+ key: string;
626
+ };
627
+
628
+ export type JiraIssueRequest = {
629
+ /**
630
+ * Jira issue key
631
+ */
632
+ key: string;
633
+ fields: JiraIssueFieldsRequest;
634
+ };
635
+
636
+ export type Message = {
637
+ readonly uuid: string;
638
+ readonly thread: string;
639
+ role: MessageRoleEnum;
640
+ readonly blocks: Array<{
641
+ id: string;
642
+ key: 'markdown' | 'code' | 'mermaid' | 'vm_order' | 'resource_list' | 'homeport_nav' | 'tool';
643
+ status: string;
644
+ [key: string]: unknown | string | ('markdown' | 'code' | 'mermaid' | 'vm_order' | 'resource_list' | 'homeport_nav' | 'tool');
645
+ }>;
646
+ readonly warning: string;
647
+ readonly sequence_index: number;
648
+ readonly replaces: string | null;
649
+ readonly created: string;
650
+ readonly input_tokens: number | null;
651
+ readonly output_tokens: number | null;
652
+ readonly is_flagged: boolean;
653
+ severity: InjectionSeverityEnum;
654
+ readonly injection_categories: unknown;
655
+ readonly pii_categories: unknown;
656
+ action_taken: ActionTakenEnum;
657
+ /**
658
+ * User feedback: True=thumbs up, False=thumbs down, None=no feedback.
659
+ */
660
+ readonly feedback_score: boolean | null;
661
+ /**
662
+ * Optional user comment accompanying feedback.
663
+ */
664
+ readonly feedback_comment: string | null;
665
+ /**
666
+ * Category tag when feedback_score is False (thumbs down); null otherwise.
667
+ */
668
+ feedback_category: FeedbackCategoryEnum | NullEnum | null;
669
+ /**
670
+ * Timestamp of the most recent feedback submission; overwritten on resubmit.
671
+ */
672
+ readonly feedback_submitted_at: string | null;
673
+ };
674
+
675
+ export type MessageFeedbackRequest = {
676
+ /**
677
+ * Feedback score: true=thumbs up, false=thumbs down.
678
+ */
679
+ score: boolean;
680
+ /**
681
+ * Optional comment.
682
+ */
683
+ comment?: string | null;
684
+ /**
685
+ * Optional category tag (only accepted when score=false).
686
+ */
687
+ category?: FeedbackCategoryEnum | NullEnum | null;
688
+ };
689
+
690
+ export type MessageRoleEnum = 'user' | 'assistant';
691
+
692
+ export type NestedFeedback = {
693
+ /**
694
+ * Customer satisfaction rating (1-5 stars)
695
+ */
696
+ readonly evaluation: number;
697
+ /**
698
+ * Numeric value of the rating
699
+ */
700
+ readonly evaluation_number: number;
701
+ comment?: string;
702
+ /**
703
+ * Current state of the feedback
704
+ */
705
+ readonly state: string;
706
+ };
707
+
708
+ export type PatchedCommentRequest = {
709
+ description?: string;
710
+ is_public?: boolean;
711
+ };
712
+
713
+ export type PatchedIssueRequest = {
714
+ summary?: string;
715
+ description?: string;
716
+ assignee?: string | null;
717
+ /**
718
+ * Set true if issue is created by regular user via portal.
719
+ */
720
+ is_reported_manually?: boolean;
721
+ };
722
+
723
+ export type PatchedIssueStatusRequest = {
724
+ /**
725
+ * Status name in Jira.
726
+ */
727
+ name?: string;
728
+ type?: IssueStatusType;
729
+ };
730
+
731
+ export type PatchedRequestTypeAdminRequest = {
732
+ name?: string;
733
+ issue_type_name?: string;
734
+ /**
735
+ * Whether this request type is available for issue creation.
736
+ */
737
+ is_active?: boolean;
738
+ /**
739
+ * Display order. First type (lowest order) is the default.
740
+ */
741
+ order?: number;
742
+ };
743
+
744
+ export type PatchedSystemPromptRequest = {
745
+ name?: string;
746
+ description?: string;
747
+ /**
748
+ * Additional instructions injected into the system prompt. Use this for organisation-specific context, terminology, FAQ content, or behavioural guidelines. Supports {assistant_name} and {organization} placeholders.
749
+ */
750
+ custom_instructions?: string;
751
+ };
752
+
753
+ export type PatchedTemplateRequest = {
754
+ name?: string;
755
+ description?: string;
756
+ issue_type?: IssueTypeEnum;
757
+ };
758
+
759
+ export type Priority = {
760
+ readonly url: string;
761
+ readonly uuid: string;
762
+ name: string;
763
+ description?: string;
764
+ icon_url?: string;
765
+ };
766
+
767
+ export type RequestType = {
768
+ readonly url: string;
769
+ readonly uuid: string;
770
+ name: string;
771
+ issue_type_name: string;
772
+ /**
773
+ * Display order. First type (lowest order) is the default.
774
+ */
775
+ order?: number;
776
+ };
777
+
778
+ export type RequestTypeAdmin = {
779
+ readonly url: string;
780
+ readonly uuid: string;
781
+ name: string;
782
+ issue_type_name: string;
783
+ /**
784
+ * Backend ID for synced types. Null for manually created types.
785
+ */
786
+ readonly backend_id: number | null;
787
+ readonly backend_name: string | null;
788
+ /**
789
+ * Whether this request type is available for issue creation.
790
+ */
791
+ is_active?: boolean;
792
+ /**
793
+ * Display order. First type (lowest order) is the default.
794
+ */
795
+ order?: number;
796
+ /**
797
+ * Returns True if the request type was synced from a backend.
798
+ */
799
+ readonly is_synced: boolean;
800
+ };
801
+
802
+ export type RequestTypeAdminRequest = {
803
+ name: string;
804
+ issue_type_name: string;
805
+ /**
806
+ * Whether this request type is available for issue creation.
807
+ */
808
+ is_active?: boolean;
809
+ /**
810
+ * Display order. First type (lowest order) is the default.
811
+ */
812
+ order?: number;
813
+ };
814
+
815
+ export type SetTokenQuotaRequest = {
816
+ /**
817
+ * UUID of the user to set quota for.
818
+ */
819
+ user_uuid: string;
820
+ /**
821
+ * Daily token limit. Omit or null = system default, -1 = unlimited.
822
+ */
823
+ daily_limit?: number | null;
824
+ /**
825
+ * Weekly token limit. Omit or null = system default, -1 = unlimited.
826
+ */
827
+ weekly_limit?: number | null;
828
+ /**
829
+ * Monthly token limit. Omit or null = system default, -1 = unlimited.
830
+ */
831
+ monthly_limit?: number | null;
832
+ };
833
+
834
+ export type SmaxWebHookReceiver = {
835
+ id: string;
836
+ };
837
+
838
+ export type SmaxWebHookReceiverRequest = {
839
+ id: string;
840
+ };
841
+
842
+ export type SupportStats = {
843
+ readonly open_issues_count: number;
844
+ readonly closed_this_month_count: number;
845
+ readonly recent_broadcasts_count: number;
846
+ };
847
+
848
+ export type SupportUser = {
849
+ readonly url: string;
850
+ readonly uuid: string;
851
+ name: string;
852
+ backend_id?: string | null;
853
+ user?: string | null;
854
+ backend_name?: string | null;
855
+ };
856
+
857
+ export type SystemPrompt = {
858
+ readonly uuid: string;
859
+ name: string;
860
+ description?: string;
861
+ /**
862
+ * Additional instructions injected into the system prompt. Use this for organisation-specific context, terminology, FAQ content, or behavioural guidelines. Supports {assistant_name} and {organization} placeholders.
863
+ */
864
+ custom_instructions?: string;
865
+ /**
866
+ * Whether this prompt is currently used by the AI Assistant. Only one prompt can be active.
867
+ */
868
+ readonly is_active: boolean;
869
+ readonly created: string;
870
+ readonly modified: string;
871
+ };
872
+
873
+ export type SystemPromptRequest = {
874
+ name: string;
875
+ description?: string;
876
+ /**
877
+ * Additional instructions injected into the system prompt. Use this for organisation-specific context, terminology, FAQ content, or behavioural guidelines. Supports {assistant_name} and {organization} placeholders.
878
+ */
879
+ custom_instructions?: string;
880
+ };
881
+
882
+ export type Template = {
883
+ readonly url: string;
884
+ readonly uuid: string;
885
+ name: string;
886
+ description: string;
887
+ issue_type?: IssueTypeEnum;
888
+ readonly attachments: Array<TemplateAttachment>;
889
+ };
890
+
891
+ export type TemplateAttachment = {
892
+ readonly uuid: string;
893
+ name: string;
894
+ file: string;
895
+ readonly mime_type: string;
896
+ readonly file_size: number;
897
+ readonly created: string;
898
+ };
899
+
900
+ export type TemplateRequest = {
901
+ name: string;
902
+ description: string;
903
+ issue_type?: IssueTypeEnum;
904
+ };
905
+
906
+ export type ThreadSession = {
907
+ readonly uuid?: string;
908
+ name?: string;
909
+ readonly chat_session?: string;
910
+ readonly flags?: unknown;
911
+ is_archived?: boolean;
912
+ readonly message_count?: number;
913
+ readonly input_tokens?: number | null;
914
+ readonly output_tokens?: number | null;
915
+ readonly total_tokens?: number | null;
916
+ readonly title_gen_input_tokens?: number | null;
917
+ readonly title_gen_output_tokens?: number | null;
918
+ readonly is_flagged?: boolean;
919
+ max_severity?: InjectionSeverityEnum;
920
+ readonly has_feedback?: boolean;
921
+ readonly user_username?: string;
922
+ readonly user_full_name?: string;
923
+ readonly created?: string;
924
+ readonly modified?: string;
925
+ };
926
+
927
+ export type ThreadSessionRequest = {
928
+ name?: string;
929
+ is_archived?: boolean;
930
+ };
931
+
932
+ export type TokenQuotaUsageResponse = {
933
+ /**
934
+ * Daily token limit (non-negative integer). Null uses system default. -1 means unlimited.
935
+ */
936
+ daily_limit?: number | null;
937
+ daily_usage?: number;
938
+ /**
939
+ * Get remaining daily tokens.
940
+ */
941
+ readonly daily_remaining: number | null;
942
+ /**
943
+ * Calculate next midnight (00:00:00).
944
+ */
945
+ readonly daily_reset_at: string;
946
+ /**
947
+ * Get system default daily token limit from constance config.
948
+ */
949
+ readonly daily_system_default: number;
950
+ /**
951
+ * Weekly token limit (non-negative integer). Null uses system default. -1 means unlimited.
952
+ */
953
+ weekly_limit?: number | null;
954
+ weekly_usage?: number;
955
+ /**
956
+ * Get remaining weekly tokens.
957
+ */
958
+ readonly weekly_remaining: number | null;
959
+ /**
960
+ * Calculate next Monday at midnight.
961
+ */
962
+ readonly weekly_reset_at: string;
963
+ /**
964
+ * Get system default weekly token limit from constance config.
965
+ */
966
+ readonly weekly_system_default: number;
967
+ /**
968
+ * Monthly token limit (non-negative integer). Null uses system default. -1 means unlimited.
969
+ */
970
+ monthly_limit?: number | null;
971
+ monthly_usage?: number;
972
+ /**
973
+ * Get remaining monthly tokens.
974
+ */
975
+ readonly monthly_remaining: number | null;
976
+ /**
977
+ * Calculate first day of next month at midnight.
978
+ */
979
+ readonly monthly_reset_at: string;
980
+ /**
981
+ * Get system default monthly token limit from constance config.
982
+ */
983
+ readonly monthly_system_default: number;
984
+ };
985
+
986
+ export type ToolExecuteRequest = {
987
+ /**
988
+ * Name of the tool to execute.
989
+ */
990
+ tool: string;
991
+ /**
992
+ * Tool arguments.
993
+ */
994
+ arguments?: unknown;
995
+ };
996
+
997
+ export type WebHookReceiver = {
998
+ webhookEvent: string;
999
+ issue: JiraIssue;
1000
+ comment?: JiraComment;
1001
+ changelog?: JiraChangelog;
1002
+ issue_event_type_name?: string;
1003
+ };
1004
+
1005
+ export type WebHookReceiverRequest = {
1006
+ webhookEvent: string;
1007
+ issue: JiraIssueRequest;
1008
+ comment?: JiraCommentRequest;
1009
+ changelog?: JiraChangelogRequest;
1010
+ issue_event_type_name?: string;
1011
+ };
1012
+
1013
+ export type ChatSessionFieldEnum = 'created' | 'modified' | 'user' | 'user_full_name' | 'user_username' | 'uuid';
1014
+
1015
+ export type ThreadSessionFieldEnum = 'chat_session' | 'created' | 'flags' | 'has_feedback' | 'input_tokens' | 'is_archived' | 'is_flagged' | 'max_severity' | 'message_count' | 'modified' | 'name' | 'output_tokens' | 'title_gen_input_tokens' | 'title_gen_output_tokens' | 'total_tokens' | 'user_full_name' | 'user_username' | 'uuid';
1016
+
1017
+ export type ThreadSessionOEnum = '-created' | '-input_tokens' | '-modified' | '-output_tokens' | '-total_tokens' | 'created' | 'input_tokens' | 'modified' | 'output_tokens' | 'total_tokens';
1018
+
1019
+ export type ThreadSessionScopeEnum = 'own';
1020
+
1021
+ export type AttachmentFieldEnum = 'backend_id' | 'created' | 'destroy_is_available' | 'file' | 'file_name' | 'file_size' | 'issue' | 'issue_key' | 'mime_type' | 'url' | 'uuid';
1022
+
1023
+ export type CommentOEnum = '-created' | '-modified' | 'created' | 'modified';
1024
+
1025
+ export type IssueOEnum = '-assignee_name' | '-caller_first_name' | '-caller_last_name' | '-created' | '-customer_name' | '-key' | '-modified' | '-priority' | '-project_name' | '-remote_id' | '-reporter_name' | '-status' | '-summary' | '-type' | 'assignee_name' | 'caller_first_name' | 'caller_last_name' | 'created' | 'customer_name' | 'key' | 'modified' | 'priority' | 'project_name' | 'remote_id' | 'reporter_name' | 'status' | 'summary' | 'type';
1026
+
1027
+ export type ChatMessagesListData = {
1028
+ body?: never;
1029
+ path?: never;
1030
+ query?: {
1031
+ feedback_score?: boolean;
1032
+ include_history?: boolean;
1033
+ is_flagged?: boolean;
1034
+ thread?: string;
1035
+ };
1036
+ url: '/api/chat-messages/';
1037
+ };
1038
+
1039
+ export type ChatMessagesListResponses = {
1040
+ 200: Array<Message>;
1041
+ };
1042
+
1043
+ export type ChatMessagesFeedbackData = {
1044
+ body: MessageFeedbackRequest;
1045
+ path: {
1046
+ uuid: string;
1047
+ };
1048
+ query?: never;
1049
+ url: '/api/chat-messages/{uuid}/feedback/';
1050
+ };
1051
+
1052
+ export type ChatMessagesFeedbackResponses = {
1053
+ 200: Message;
1054
+ };
1055
+
1056
+ export type ChatQuotaSetQuotaData = {
1057
+ body: SetTokenQuotaRequest;
1058
+ path?: never;
1059
+ query?: never;
1060
+ url: '/api/chat-quota/set_quota/';
1061
+ };
1062
+
1063
+ export type ChatQuotaSetQuotaResponses = {
1064
+ /**
1065
+ * No response body
1066
+ */
1067
+ 200: unknown;
1068
+ };
1069
+
1070
+ export type ChatQuotaUsageRetrieveData = {
1071
+ body?: never;
1072
+ path?: never;
1073
+ query: {
1074
+ /**
1075
+ * UUID of user to view quota for (staff/support only). Omit to view your own quota.
1076
+ */
1077
+ user_uuid: string;
1078
+ };
1079
+ url: '/api/chat-quota/usage/';
1080
+ };
1081
+
1082
+ export type ChatQuotaUsageRetrieveResponses = {
1083
+ 200: TokenQuotaUsageResponse;
1084
+ };
1085
+
1086
+ export type ChatSessionsListData = {
1087
+ body?: never;
1088
+ path?: never;
1089
+ query?: {
1090
+ field?: Array<ChatSessionFieldEnum>;
1091
+ /**
1092
+ * A page number within the paginated result set.
1093
+ */
1094
+ page?: number;
1095
+ /**
1096
+ * Number of results to return per page.
1097
+ */
1098
+ page_size?: number;
1099
+ };
1100
+ url: '/api/chat-sessions/';
1101
+ };
1102
+
1103
+ export type ChatSessionsListResponses = {
1104
+ 200: Array<ChatSession>;
1105
+ };
1106
+
1107
+ export type ChatSessionsRetrieveData = {
1108
+ body?: never;
1109
+ path: {
1110
+ uuid: string;
1111
+ };
1112
+ query?: {
1113
+ field?: Array<ChatSessionFieldEnum>;
1114
+ };
1115
+ url: '/api/chat-sessions/{uuid}/';
1116
+ };
1117
+
1118
+ export type ChatSessionsRetrieveResponses = {
1119
+ 200: ChatSession;
1120
+ };
1121
+
1122
+ export type ChatSessionsCurrentRetrieveData = {
1123
+ body?: never;
1124
+ path?: never;
1125
+ query?: never;
1126
+ url: '/api/chat-sessions/current/';
1127
+ };
1128
+
1129
+ export type ChatSessionsCurrentRetrieveResponses = {
1130
+ 200: ChatSession;
1131
+ };
1132
+
1133
+ export type ChatSystemPromptsListData = {
1134
+ body?: never;
1135
+ path?: never;
1136
+ query?: {
1137
+ /**
1138
+ * A page number within the paginated result set.
1139
+ */
1140
+ page?: number;
1141
+ /**
1142
+ * Number of results to return per page.
1143
+ */
1144
+ page_size?: number;
1145
+ };
1146
+ url: '/api/chat-system-prompts/';
1147
+ };
1148
+
1149
+ export type ChatSystemPromptsListResponses = {
1150
+ 200: Array<SystemPrompt>;
1151
+ };
1152
+
1153
+ export type ChatSystemPromptsCountData = {
1154
+ body?: never;
1155
+ path?: never;
1156
+ query?: {
1157
+ /**
1158
+ * A page number within the paginated result set.
1159
+ */
1160
+ page?: number;
1161
+ /**
1162
+ * Number of results to return per page.
1163
+ */
1164
+ page_size?: number;
1165
+ };
1166
+ url: '/api/chat-system-prompts/';
1167
+ };
1168
+
1169
+ export type ChatSystemPromptsCountResponses = {
1170
+ /**
1171
+ * No response body
1172
+ */
1173
+ 200: unknown;
1174
+ };
1175
+
1176
+ export type ChatSystemPromptsCreateData = {
1177
+ body: SystemPromptRequest;
1178
+ path?: never;
1179
+ query?: never;
1180
+ url: '/api/chat-system-prompts/';
1181
+ };
1182
+
1183
+ export type ChatSystemPromptsCreateResponses = {
1184
+ 201: SystemPrompt;
1185
+ };
1186
+
1187
+ export type ChatSystemPromptsDestroyData = {
1188
+ body?: never;
1189
+ path: {
1190
+ uuid: string;
1191
+ };
1192
+ query?: never;
1193
+ url: '/api/chat-system-prompts/{uuid}/';
1194
+ };
1195
+
1196
+ export type ChatSystemPromptsDestroyResponses = {
1197
+ /**
1198
+ * No response body
1199
+ */
1200
+ 204: void;
1201
+ };
1202
+
1203
+ export type ChatSystemPromptsRetrieveData = {
1204
+ body?: never;
1205
+ path: {
1206
+ uuid: string;
1207
+ };
1208
+ query?: never;
1209
+ url: '/api/chat-system-prompts/{uuid}/';
1210
+ };
1211
+
1212
+ export type ChatSystemPromptsRetrieveResponses = {
1213
+ 200: SystemPrompt;
1214
+ };
1215
+
1216
+ export type ChatSystemPromptsPartialUpdateData = {
1217
+ body?: PatchedSystemPromptRequest;
1218
+ path: {
1219
+ uuid: string;
1220
+ };
1221
+ query?: never;
1222
+ url: '/api/chat-system-prompts/{uuid}/';
1223
+ };
1224
+
1225
+ export type ChatSystemPromptsPartialUpdateResponses = {
1226
+ 200: SystemPrompt;
1227
+ };
1228
+
1229
+ export type ChatSystemPromptsUpdateData = {
1230
+ body: SystemPromptRequest;
1231
+ path: {
1232
+ uuid: string;
1233
+ };
1234
+ query?: never;
1235
+ url: '/api/chat-system-prompts/{uuid}/';
1236
+ };
1237
+
1238
+ export type ChatSystemPromptsUpdateResponses = {
1239
+ 200: SystemPrompt;
1240
+ };
1241
+
1242
+ export type ChatSystemPromptsActivateData = {
1243
+ body: SystemPromptRequest;
1244
+ path: {
1245
+ uuid: string;
1246
+ };
1247
+ query?: never;
1248
+ url: '/api/chat-system-prompts/{uuid}/activate/';
1249
+ };
1250
+
1251
+ export type ChatSystemPromptsActivateResponses = {
1252
+ 200: SystemPrompt;
1253
+ };
1254
+
1255
+ export type ChatSystemPromptsDeactivateData = {
1256
+ body: SystemPromptRequest;
1257
+ path: {
1258
+ uuid: string;
1259
+ };
1260
+ query?: never;
1261
+ url: '/api/chat-system-prompts/{uuid}/deactivate/';
1262
+ };
1263
+
1264
+ export type ChatSystemPromptsDeactivateResponses = {
1265
+ 200: SystemPrompt;
1266
+ };
1267
+
1268
+ export type ChatThreadsListData = {
1269
+ body?: never;
1270
+ path?: never;
1271
+ query?: {
1272
+ created?: string;
1273
+ field?: Array<ThreadSessionFieldEnum>;
1274
+ has_feedback?: boolean;
1275
+ input_tokens_max?: number;
1276
+ input_tokens_min?: number;
1277
+ is_archived?: boolean;
1278
+ is_flagged?: boolean;
1279
+ max_severity?: InjectionSeverityEnum;
1280
+ modified?: string;
1281
+ /**
1282
+ * Ordering
1283
+ *
1284
+ *
1285
+ */
1286
+ o?: Array<ThreadSessionOEnum>;
1287
+ output_tokens_max?: number;
1288
+ output_tokens_min?: number;
1289
+ /**
1290
+ * A page number within the paginated result set.
1291
+ */
1292
+ page?: number;
1293
+ /**
1294
+ * Number of results to return per page.
1295
+ */
1296
+ page_size?: number;
1297
+ query?: string;
1298
+ scope?: ThreadSessionScopeEnum;
1299
+ total_tokens_max?: number;
1300
+ total_tokens_min?: number;
1301
+ user?: string;
1302
+ };
1303
+ url: '/api/chat-threads/';
1304
+ };
1305
+
1306
+ export type ChatThreadsListResponses = {
1307
+ 200: Array<ThreadSession>;
1308
+ };
1309
+
1310
+ export type ChatThreadsRetrieveData = {
1311
+ body?: never;
1312
+ path: {
1313
+ uuid: string;
1314
+ };
1315
+ query?: {
1316
+ field?: Array<ThreadSessionFieldEnum>;
1317
+ };
1318
+ url: '/api/chat-threads/{uuid}/';
1319
+ };
1320
+
1321
+ export type ChatThreadsRetrieveResponses = {
1322
+ 200: ThreadSession;
1323
+ };
1324
+
1325
+ export type ChatThreadsArchiveData = {
1326
+ body?: ThreadSessionRequest;
1327
+ path: {
1328
+ uuid: string;
1329
+ };
1330
+ query?: never;
1331
+ url: '/api/chat-threads/{uuid}/archive/';
1332
+ };
1333
+
1334
+ export type ChatThreadsArchiveResponses = {
1335
+ /**
1336
+ * No response body
1337
+ */
1338
+ 204: void;
1339
+ };
1340
+
1341
+ export type ChatThreadsCancelData = {
1342
+ body?: ThreadSessionRequest;
1343
+ path: {
1344
+ uuid: string;
1345
+ };
1346
+ query?: never;
1347
+ url: '/api/chat-threads/{uuid}/cancel/';
1348
+ };
1349
+
1350
+ export type ChatThreadsCancelResponses = {
1351
+ /**
1352
+ * No response body
1353
+ */
1354
+ 200: unknown;
1355
+ };
1356
+
1357
+ export type ChatThreadsUnarchiveData = {
1358
+ body?: ThreadSessionRequest;
1359
+ path: {
1360
+ uuid: string;
1361
+ };
1362
+ query?: never;
1363
+ url: '/api/chat-threads/{uuid}/unarchive/';
1364
+ };
1365
+
1366
+ export type ChatThreadsUnarchiveResponses = {
1367
+ /**
1368
+ * No response body
1369
+ */
1370
+ 204: void;
1371
+ };
1372
+
1373
+ export type ChatToolsExecuteData = {
1374
+ body: ToolExecuteRequest;
1375
+ path?: never;
1376
+ query?: never;
1377
+ url: '/api/chat-tools/execute/';
1378
+ };
1379
+
1380
+ export type ChatToolsExecuteResponses = {
1381
+ 200: {
1382
+ [key: string]: unknown;
1383
+ };
1384
+ };
1385
+
1386
+ export type ChatStreamData = {
1387
+ body: ChatRequestRequest;
1388
+ path?: never;
1389
+ query?: never;
1390
+ url: '/api/chat/stream/';
1391
+ };
1392
+
1393
+ export type ChatStreamResponses = {
1394
+ 200: ChatResponse;
1395
+ };
1396
+
1397
+ export type SupportAttachmentsListData = {
1398
+ body?: never;
1399
+ path?: never;
1400
+ query?: {
1401
+ field?: Array<AttachmentFieldEnum>;
1402
+ issue?: string;
1403
+ issue_uuid?: string;
1404
+ /**
1405
+ * A page number within the paginated result set.
1406
+ */
1407
+ page?: number;
1408
+ /**
1409
+ * Number of results to return per page.
1410
+ */
1411
+ page_size?: number;
1412
+ };
1413
+ url: '/api/support-attachments/';
1414
+ };
1415
+
1416
+ export type SupportAttachmentsListResponses = {
1417
+ 200: Array<Attachment>;
1418
+ };
1419
+
1420
+ export type SupportAttachmentsCountData = {
1421
+ body?: never;
1422
+ path?: never;
1423
+ query?: {
1424
+ issue?: string;
1425
+ issue_uuid?: string;
1426
+ /**
1427
+ * A page number within the paginated result set.
1428
+ */
1429
+ page?: number;
1430
+ /**
1431
+ * Number of results to return per page.
1432
+ */
1433
+ page_size?: number;
1434
+ };
1435
+ url: '/api/support-attachments/';
1436
+ };
1437
+
1438
+ export type SupportAttachmentsCountResponses = {
1439
+ /**
1440
+ * No response body
1441
+ */
1442
+ 200: unknown;
1443
+ };
1444
+
1445
+ export type SupportAttachmentsCreateData = {
1446
+ body: AttachmentRequest;
1447
+ path?: never;
1448
+ query?: never;
1449
+ url: '/api/support-attachments/';
1450
+ };
1451
+
1452
+ export type SupportAttachmentsCreateResponses = {
1453
+ 201: Attachment;
1454
+ };
1455
+
1456
+ export type SupportAttachmentsDestroyData = {
1457
+ body?: never;
1458
+ path: {
1459
+ uuid: string;
1460
+ };
1461
+ query?: never;
1462
+ url: '/api/support-attachments/{uuid}/';
1463
+ };
1464
+
1465
+ export type SupportAttachmentsDestroyResponses = {
1466
+ /**
1467
+ * No response body
1468
+ */
1469
+ 204: void;
1470
+ };
1471
+
1472
+ export type SupportAttachmentsRetrieveData = {
1473
+ body?: never;
1474
+ path: {
1475
+ uuid: string;
1476
+ };
1477
+ query?: {
1478
+ field?: Array<AttachmentFieldEnum>;
1479
+ };
1480
+ url: '/api/support-attachments/{uuid}/';
1481
+ };
1482
+
1483
+ export type SupportAttachmentsRetrieveResponses = {
1484
+ 200: Attachment;
1485
+ };
1486
+
1487
+ export type SupportCommentsListData = {
1488
+ body?: never;
1489
+ path?: never;
1490
+ query?: {
1491
+ author_name?: string;
1492
+ author_user?: string;
1493
+ description?: string;
1494
+ is_public?: boolean;
1495
+ issue?: string;
1496
+ issue_uuid?: string;
1497
+ /**
1498
+ * Ordering
1499
+ *
1500
+ *
1501
+ */
1502
+ o?: Array<CommentOEnum>;
1503
+ /**
1504
+ * A page number within the paginated result set.
1505
+ */
1506
+ page?: number;
1507
+ /**
1508
+ * Number of results to return per page.
1509
+ */
1510
+ page_size?: number;
1511
+ /**
1512
+ * Remote ID is set.
1513
+ */
1514
+ remote_id_is_set?: boolean;
1515
+ /**
1516
+ * Filter by resource URL.
1517
+ */
1518
+ resource?: string;
1519
+ };
1520
+ url: '/api/support-comments/';
1521
+ };
1522
+
1523
+ export type SupportCommentsListResponses = {
1524
+ 200: Array<Comment>;
1525
+ };
1526
+
1527
+ export type SupportCommentsCountData = {
1528
+ body?: never;
1529
+ path?: never;
1530
+ query?: {
1531
+ author_name?: string;
1532
+ author_user?: string;
1533
+ description?: string;
1534
+ is_public?: boolean;
1535
+ issue?: string;
1536
+ issue_uuid?: string;
1537
+ /**
1538
+ * Ordering
1539
+ *
1540
+ *
1541
+ */
1542
+ o?: Array<CommentOEnum>;
1543
+ /**
1544
+ * A page number within the paginated result set.
1545
+ */
1546
+ page?: number;
1547
+ /**
1548
+ * Number of results to return per page.
1549
+ */
1550
+ page_size?: number;
1551
+ /**
1552
+ * Remote ID is set.
1553
+ */
1554
+ remote_id_is_set?: boolean;
1555
+ /**
1556
+ * Filter by resource URL.
1557
+ */
1558
+ resource?: string;
1559
+ };
1560
+ url: '/api/support-comments/';
1561
+ };
1562
+
1563
+ export type SupportCommentsCountResponses = {
1564
+ /**
1565
+ * No response body
1566
+ */
1567
+ 200: unknown;
1568
+ };
1569
+
1570
+ export type SupportCommentsDestroyData = {
1571
+ body?: never;
1572
+ path: {
1573
+ uuid: string;
1574
+ };
1575
+ query?: never;
1576
+ url: '/api/support-comments/{uuid}/';
1577
+ };
1578
+
1579
+ export type SupportCommentsDestroyResponses = {
1580
+ /**
1581
+ * No response body
1582
+ */
1583
+ 204: void;
1584
+ };
1585
+
1586
+ export type SupportCommentsRetrieveData = {
1587
+ body?: never;
1588
+ path: {
1589
+ uuid: string;
1590
+ };
1591
+ query?: never;
1592
+ url: '/api/support-comments/{uuid}/';
1593
+ };
1594
+
1595
+ export type SupportCommentsRetrieveResponses = {
1596
+ 200: Comment;
1597
+ };
1598
+
1599
+ export type SupportCommentsPartialUpdateData = {
1600
+ body?: PatchedCommentRequest;
1601
+ path: {
1602
+ uuid: string;
1603
+ };
1604
+ query?: never;
1605
+ url: '/api/support-comments/{uuid}/';
1606
+ };
1607
+
1608
+ export type SupportCommentsPartialUpdateResponses = {
1609
+ 200: Comment;
1610
+ };
1611
+
1612
+ export type SupportCommentsUpdateData = {
1613
+ body: CommentRequest;
1614
+ path: {
1615
+ uuid: string;
1616
+ };
1617
+ query?: never;
1618
+ url: '/api/support-comments/{uuid}/';
1619
+ };
1620
+
1621
+ export type SupportCommentsUpdateResponses = {
1622
+ 200: Comment;
1623
+ };
1624
+
1625
+ export type SupportFeedbackAverageReportRetrieveData = {
1626
+ body?: never;
1627
+ path?: never;
1628
+ query?: never;
1629
+ url: '/api/support-feedback-average-report/';
1630
+ };
1631
+
1632
+ export type SupportFeedbackAverageReportRetrieveResponses = {
1633
+ /**
1634
+ * No response body
1635
+ */
1636
+ 200: unknown;
1637
+ };
1638
+
1639
+ export type SupportFeedbackReportRetrieveData = {
1640
+ body?: never;
1641
+ path?: never;
1642
+ query?: never;
1643
+ url: '/api/support-feedback-report/';
1644
+ };
1645
+
1646
+ export type SupportFeedbackReportRetrieveResponses = {
1647
+ /**
1648
+ * No response body
1649
+ */
1650
+ 200: unknown;
1651
+ };
1652
+
1653
+ export type SupportFeedbacksListData = {
1654
+ body?: never;
1655
+ path?: never;
1656
+ query?: {
1657
+ created_after?: string;
1658
+ created_before?: string;
1659
+ evaluation?: number;
1660
+ issue?: string;
1661
+ issue_key?: string;
1662
+ issue_uuid?: string;
1663
+ /**
1664
+ * A page number within the paginated result set.
1665
+ */
1666
+ page?: number;
1667
+ /**
1668
+ * Number of results to return per page.
1669
+ */
1670
+ page_size?: number;
1671
+ user?: string;
1672
+ /**
1673
+ * User full name contains
1674
+ */
1675
+ user_full_name?: string;
1676
+ user_uuid?: string;
1677
+ };
1678
+ url: '/api/support-feedbacks/';
1679
+ };
1680
+
1681
+ export type SupportFeedbacksListResponses = {
1682
+ 200: Array<Feedback>;
1683
+ };
1684
+
1685
+ export type SupportFeedbacksCountData = {
1686
+ body?: never;
1687
+ path?: never;
1688
+ query?: {
1689
+ created_after?: string;
1690
+ created_before?: string;
1691
+ evaluation?: number;
1692
+ issue?: string;
1693
+ issue_key?: string;
1694
+ issue_uuid?: string;
1695
+ /**
1696
+ * A page number within the paginated result set.
1697
+ */
1698
+ page?: number;
1699
+ /**
1700
+ * Number of results to return per page.
1701
+ */
1702
+ page_size?: number;
1703
+ user?: string;
1704
+ /**
1705
+ * User full name contains
1706
+ */
1707
+ user_full_name?: string;
1708
+ user_uuid?: string;
1709
+ };
1710
+ url: '/api/support-feedbacks/';
1711
+ };
1712
+
1713
+ export type SupportFeedbacksCountResponses = {
1714
+ /**
1715
+ * No response body
1716
+ */
1717
+ 200: unknown;
1718
+ };
1719
+
1720
+ export type SupportFeedbacksCreateData = {
1721
+ body: CreateFeedbackRequest;
1722
+ path?: never;
1723
+ query?: never;
1724
+ url: '/api/support-feedbacks/';
1725
+ };
1726
+
1727
+ export type SupportFeedbacksCreateResponses = {
1728
+ 201: CreateFeedback;
1729
+ };
1730
+
1731
+ export type SupportFeedbacksRetrieveData = {
1732
+ body?: never;
1733
+ path: {
1734
+ uuid: string;
1735
+ };
1736
+ query?: never;
1737
+ url: '/api/support-feedbacks/{uuid}/';
1738
+ };
1739
+
1740
+ export type SupportFeedbacksRetrieveResponses = {
1741
+ 200: Feedback;
1742
+ };
1743
+
1744
+ export type SupportIssueStatusesListData = {
1745
+ body?: never;
1746
+ path?: never;
1747
+ query?: {
1748
+ /**
1749
+ * A page number within the paginated result set.
1750
+ */
1751
+ page?: number;
1752
+ /**
1753
+ * Number of results to return per page.
1754
+ */
1755
+ page_size?: number;
1756
+ };
1757
+ url: '/api/support-issue-statuses/';
1758
+ };
1759
+
1760
+ export type SupportIssueStatusesListResponses = {
1761
+ 200: Array<IssueStatus>;
1762
+ };
1763
+
1764
+ export type SupportIssueStatusesCountData = {
1765
+ body?: never;
1766
+ path?: never;
1767
+ query?: {
1768
+ /**
1769
+ * A page number within the paginated result set.
1770
+ */
1771
+ page?: number;
1772
+ /**
1773
+ * Number of results to return per page.
1774
+ */
1775
+ page_size?: number;
1776
+ };
1777
+ url: '/api/support-issue-statuses/';
1778
+ };
1779
+
1780
+ export type SupportIssueStatusesCountResponses = {
1781
+ /**
1782
+ * No response body
1783
+ */
1784
+ 200: unknown;
1785
+ };
1786
+
1787
+ export type SupportIssueStatusesCreateData = {
1788
+ body: IssueStatusCreateRequest;
1789
+ path?: never;
1790
+ query?: never;
1791
+ url: '/api/support-issue-statuses/';
1792
+ };
1793
+
1794
+ export type SupportIssueStatusesCreateResponses = {
1795
+ 201: IssueStatusCreate;
1796
+ };
1797
+
1798
+ export type SupportIssueStatusesDestroyData = {
1799
+ body?: never;
1800
+ path: {
1801
+ uuid: string;
1802
+ };
1803
+ query?: never;
1804
+ url: '/api/support-issue-statuses/{uuid}/';
1805
+ };
1806
+
1807
+ export type SupportIssueStatusesDestroyResponses = {
1808
+ /**
1809
+ * No response body
1810
+ */
1811
+ 204: void;
1812
+ };
1813
+
1814
+ export type SupportIssueStatusesRetrieveData = {
1815
+ body?: never;
1816
+ path: {
1817
+ uuid: string;
1818
+ };
1819
+ query?: never;
1820
+ url: '/api/support-issue-statuses/{uuid}/';
1821
+ };
1822
+
1823
+ export type SupportIssueStatusesRetrieveResponses = {
1824
+ 200: IssueStatus;
1825
+ };
1826
+
1827
+ export type SupportIssueStatusesPartialUpdateData = {
1828
+ body?: PatchedIssueStatusRequest;
1829
+ path: {
1830
+ uuid: string;
1831
+ };
1832
+ query?: never;
1833
+ url: '/api/support-issue-statuses/{uuid}/';
1834
+ };
1835
+
1836
+ export type SupportIssueStatusesPartialUpdateResponses = {
1837
+ 200: IssueStatus;
1838
+ };
1839
+
1840
+ export type SupportIssueStatusesUpdateData = {
1841
+ body: IssueStatusCreateRequest;
1842
+ path: {
1843
+ uuid: string;
1844
+ };
1845
+ query?: never;
1846
+ url: '/api/support-issue-statuses/{uuid}/';
1847
+ };
1848
+
1849
+ export type SupportIssueStatusesUpdateResponses = {
1850
+ 200: IssueStatusCreate;
1851
+ };
1852
+
1853
+ export type SupportIssuesListData = {
1854
+ body?: never;
1855
+ path?: never;
1856
+ query?: {
1857
+ assignee?: string;
1858
+ assignee_name?: string;
1859
+ caller?: string;
1860
+ /**
1861
+ * Caller full name contains
1862
+ */
1863
+ caller_full_name?: string;
1864
+ customer?: string;
1865
+ customer_uuid?: string;
1866
+ key?: string;
1867
+ /**
1868
+ * Ordering
1869
+ *
1870
+ *
1871
+ */
1872
+ o?: Array<IssueOEnum>;
1873
+ /**
1874
+ * A page number within the paginated result set.
1875
+ */
1876
+ page?: number;
1877
+ /**
1878
+ * Number of results to return per page.
1879
+ */
1880
+ page_size?: number;
1881
+ project?: string;
1882
+ project_uuid?: string;
1883
+ /**
1884
+ * Summary or key contains
1885
+ */
1886
+ query?: string;
1887
+ remote_id?: string;
1888
+ reporter?: string;
1889
+ reporter_name?: string;
1890
+ resolution_year_month?: string;
1891
+ /**
1892
+ * Filter by resource URL.
1893
+ */
1894
+ resource?: string;
1895
+ /**
1896
+ * Resource external IP
1897
+ */
1898
+ resource_external_ip?: string;
1899
+ /**
1900
+ * Resource internal IP
1901
+ */
1902
+ resource_internal_ip?: string;
1903
+ /**
1904
+ * Resource UUID
1905
+ */
1906
+ resource_uuid?: string;
1907
+ status?: string;
1908
+ summary?: string;
1909
+ type?: string;
1910
+ };
1911
+ url: '/api/support-issues/';
1912
+ };
1913
+
1914
+ export type SupportIssuesListResponses = {
1915
+ 200: Array<Issue>;
1916
+ };
1917
+
1918
+ export type SupportIssuesCountData = {
1919
+ body?: never;
1920
+ path?: never;
1921
+ query?: {
1922
+ assignee?: string;
1923
+ assignee_name?: string;
1924
+ caller?: string;
1925
+ /**
1926
+ * Caller full name contains
1927
+ */
1928
+ caller_full_name?: string;
1929
+ customer?: string;
1930
+ customer_uuid?: string;
1931
+ key?: string;
1932
+ /**
1933
+ * Ordering
1934
+ *
1935
+ *
1936
+ */
1937
+ o?: Array<IssueOEnum>;
1938
+ /**
1939
+ * A page number within the paginated result set.
1940
+ */
1941
+ page?: number;
1942
+ /**
1943
+ * Number of results to return per page.
1944
+ */
1945
+ page_size?: number;
1946
+ project?: string;
1947
+ project_uuid?: string;
1948
+ /**
1949
+ * Summary or key contains
1950
+ */
1951
+ query?: string;
1952
+ remote_id?: string;
1953
+ reporter?: string;
1954
+ reporter_name?: string;
1955
+ resolution_year_month?: string;
1956
+ /**
1957
+ * Filter by resource URL.
1958
+ */
1959
+ resource?: string;
1960
+ /**
1961
+ * Resource external IP
1962
+ */
1963
+ resource_external_ip?: string;
1964
+ /**
1965
+ * Resource internal IP
1966
+ */
1967
+ resource_internal_ip?: string;
1968
+ /**
1969
+ * Resource UUID
1970
+ */
1971
+ resource_uuid?: string;
1972
+ status?: string;
1973
+ summary?: string;
1974
+ type?: string;
1975
+ };
1976
+ url: '/api/support-issues/';
1977
+ };
1978
+
1979
+ export type SupportIssuesCountResponses = {
1980
+ /**
1981
+ * No response body
1982
+ */
1983
+ 200: unknown;
1984
+ };
1985
+
1986
+ export type SupportIssuesCreateData = {
1987
+ body: IssueRequest;
1988
+ path?: never;
1989
+ query?: never;
1990
+ url: '/api/support-issues/';
1991
+ };
1992
+
1993
+ export type SupportIssuesCreateResponses = {
1994
+ 201: Issue;
1995
+ };
1996
+
1997
+ export type SupportIssuesDestroyData = {
1998
+ body?: never;
1999
+ path: {
2000
+ uuid: string;
2001
+ };
2002
+ query?: never;
2003
+ url: '/api/support-issues/{uuid}/';
2004
+ };
2005
+
2006
+ export type SupportIssuesDestroyResponses = {
2007
+ /**
2008
+ * No response body
2009
+ */
2010
+ 204: void;
2011
+ };
2012
+
2013
+ export type SupportIssuesRetrieveData = {
2014
+ body?: never;
2015
+ path: {
2016
+ uuid: string;
2017
+ };
2018
+ query?: never;
2019
+ url: '/api/support-issues/{uuid}/';
2020
+ };
2021
+
2022
+ export type SupportIssuesRetrieveResponses = {
2023
+ 200: Issue;
2024
+ };
2025
+
2026
+ export type SupportIssuesPartialUpdateData = {
2027
+ body?: PatchedIssueRequest;
2028
+ path: {
2029
+ uuid: string;
2030
+ };
2031
+ query?: never;
2032
+ url: '/api/support-issues/{uuid}/';
2033
+ };
2034
+
2035
+ export type SupportIssuesPartialUpdateResponses = {
2036
+ 200: Issue;
2037
+ };
2038
+
2039
+ export type SupportIssuesUpdateData = {
2040
+ body: IssueRequest;
2041
+ path: {
2042
+ uuid: string;
2043
+ };
2044
+ query?: never;
2045
+ url: '/api/support-issues/{uuid}/';
2046
+ };
2047
+
2048
+ export type SupportIssuesUpdateResponses = {
2049
+ 200: Issue;
2050
+ };
2051
+
2052
+ export type SupportIssuesCommentData = {
2053
+ body: CommentRequest;
2054
+ path: {
2055
+ uuid: string;
2056
+ };
2057
+ query?: never;
2058
+ url: '/api/support-issues/{uuid}/comment/';
2059
+ };
2060
+
2061
+ export type SupportIssuesCommentResponses = {
2062
+ 200: Comment;
2063
+ };
2064
+
2065
+ export type SupportIssuesSyncData = {
2066
+ body: IssueRequest;
2067
+ path: {
2068
+ uuid: string;
2069
+ };
2070
+ query?: never;
2071
+ url: '/api/support-issues/{uuid}/sync/';
2072
+ };
2073
+
2074
+ export type SupportIssuesSyncResponses = {
2075
+ 200: Issue;
2076
+ };
2077
+
2078
+ export type SupportJiraWebhookData = {
2079
+ body: WebHookReceiverRequest;
2080
+ path?: never;
2081
+ query?: never;
2082
+ url: '/api/support-jira-webhook/';
2083
+ };
2084
+
2085
+ export type SupportJiraWebhookResponses = {
2086
+ 200: WebHookReceiver;
2087
+ };
2088
+
2089
+ export type SupportPrioritiesListData = {
2090
+ body?: never;
2091
+ path?: never;
2092
+ query?: {
2093
+ /**
2094
+ * Name
2095
+ */
2096
+ name?: string;
2097
+ /**
2098
+ * Name (exact)
2099
+ */
2100
+ name_exact?: string;
2101
+ /**
2102
+ * A page number within the paginated result set.
2103
+ */
2104
+ page?: number;
2105
+ /**
2106
+ * Number of results to return per page.
2107
+ */
2108
+ page_size?: number;
2109
+ };
2110
+ url: '/api/support-priorities/';
2111
+ };
2112
+
2113
+ export type SupportPrioritiesListResponses = {
2114
+ 200: Array<Priority>;
2115
+ };
2116
+
2117
+ export type SupportPrioritiesCountData = {
2118
+ body?: never;
2119
+ path?: never;
2120
+ query?: {
2121
+ /**
2122
+ * Name
2123
+ */
2124
+ name?: string;
2125
+ /**
2126
+ * Name (exact)
2127
+ */
2128
+ name_exact?: string;
2129
+ /**
2130
+ * A page number within the paginated result set.
2131
+ */
2132
+ page?: number;
2133
+ /**
2134
+ * Number of results to return per page.
2135
+ */
2136
+ page_size?: number;
2137
+ };
2138
+ url: '/api/support-priorities/';
2139
+ };
2140
+
2141
+ export type SupportPrioritiesCountResponses = {
2142
+ /**
2143
+ * No response body
2144
+ */
2145
+ 200: unknown;
2146
+ };
2147
+
2148
+ export type SupportPrioritiesRetrieveData = {
2149
+ body?: never;
2150
+ path: {
2151
+ uuid: string;
2152
+ };
2153
+ query?: never;
2154
+ url: '/api/support-priorities/{uuid}/';
2155
+ };
2156
+
2157
+ export type SupportPrioritiesRetrieveResponses = {
2158
+ 200: Priority;
2159
+ };
2160
+
2161
+ export type SupportRequestTypesListData = {
2162
+ body?: never;
2163
+ path?: never;
2164
+ query?: {
2165
+ /**
2166
+ * A page number within the paginated result set.
2167
+ */
2168
+ page?: number;
2169
+ /**
2170
+ * Number of results to return per page.
2171
+ */
2172
+ page_size?: number;
2173
+ };
2174
+ url: '/api/support-request-types/';
2175
+ };
2176
+
2177
+ export type SupportRequestTypesListResponses = {
2178
+ 200: Array<RequestType>;
2179
+ };
2180
+
2181
+ export type SupportRequestTypesCountData = {
2182
+ body?: never;
2183
+ path?: never;
2184
+ query?: {
2185
+ /**
2186
+ * A page number within the paginated result set.
2187
+ */
2188
+ page?: number;
2189
+ /**
2190
+ * Number of results to return per page.
2191
+ */
2192
+ page_size?: number;
2193
+ };
2194
+ url: '/api/support-request-types/';
2195
+ };
2196
+
2197
+ export type SupportRequestTypesCountResponses = {
2198
+ /**
2199
+ * No response body
2200
+ */
2201
+ 200: unknown;
2202
+ };
2203
+
2204
+ export type SupportRequestTypesAdminListData = {
2205
+ body?: never;
2206
+ path?: never;
2207
+ query?: {
2208
+ is_active?: boolean;
2209
+ name?: string;
2210
+ /**
2211
+ * A page number within the paginated result set.
2212
+ */
2213
+ page?: number;
2214
+ /**
2215
+ * Number of results to return per page.
2216
+ */
2217
+ page_size?: number;
2218
+ };
2219
+ url: '/api/support-request-types-admin/';
2220
+ };
2221
+
2222
+ export type SupportRequestTypesAdminListResponses = {
2223
+ 200: Array<RequestTypeAdmin>;
2224
+ };
2225
+
2226
+ export type SupportRequestTypesAdminCountData = {
2227
+ body?: never;
2228
+ path?: never;
2229
+ query?: {
2230
+ is_active?: boolean;
2231
+ name?: string;
2232
+ /**
2233
+ * A page number within the paginated result set.
2234
+ */
2235
+ page?: number;
2236
+ /**
2237
+ * Number of results to return per page.
2238
+ */
2239
+ page_size?: number;
2240
+ };
2241
+ url: '/api/support-request-types-admin/';
2242
+ };
2243
+
2244
+ export type SupportRequestTypesAdminCountResponses = {
2245
+ /**
2246
+ * No response body
2247
+ */
2248
+ 200: unknown;
2249
+ };
2250
+
2251
+ export type SupportRequestTypesAdminCreateData = {
2252
+ body: RequestTypeAdminRequest;
2253
+ path?: never;
2254
+ query?: never;
2255
+ url: '/api/support-request-types-admin/';
2256
+ };
2257
+
2258
+ export type SupportRequestTypesAdminCreateResponses = {
2259
+ 201: RequestTypeAdmin;
2260
+ };
2261
+
2262
+ export type SupportRequestTypesAdminDestroyData = {
2263
+ body?: never;
2264
+ path: {
2265
+ uuid: string;
2266
+ };
2267
+ query?: never;
2268
+ url: '/api/support-request-types-admin/{uuid}/';
2269
+ };
2270
+
2271
+ export type SupportRequestTypesAdminDestroyResponses = {
2272
+ /**
2273
+ * No response body
2274
+ */
2275
+ 204: void;
2276
+ };
2277
+
2278
+ export type SupportRequestTypesAdminRetrieveData = {
2279
+ body?: never;
2280
+ path: {
2281
+ uuid: string;
2282
+ };
2283
+ query?: never;
2284
+ url: '/api/support-request-types-admin/{uuid}/';
2285
+ };
2286
+
2287
+ export type SupportRequestTypesAdminRetrieveResponses = {
2288
+ 200: RequestTypeAdmin;
2289
+ };
2290
+
2291
+ export type SupportRequestTypesAdminPartialUpdateData = {
2292
+ body?: PatchedRequestTypeAdminRequest;
2293
+ path: {
2294
+ uuid: string;
2295
+ };
2296
+ query?: never;
2297
+ url: '/api/support-request-types-admin/{uuid}/';
2298
+ };
2299
+
2300
+ export type SupportRequestTypesAdminPartialUpdateResponses = {
2301
+ 200: RequestTypeAdmin;
2302
+ };
2303
+
2304
+ export type SupportRequestTypesAdminUpdateData = {
2305
+ body: RequestTypeAdminRequest;
2306
+ path: {
2307
+ uuid: string;
2308
+ };
2309
+ query?: never;
2310
+ url: '/api/support-request-types-admin/{uuid}/';
2311
+ };
2312
+
2313
+ export type SupportRequestTypesAdminUpdateResponses = {
2314
+ 200: RequestTypeAdmin;
2315
+ };
2316
+
2317
+ export type SupportRequestTypesAdminActivateData = {
2318
+ body: RequestTypeAdminRequest;
2319
+ path: {
2320
+ uuid: string;
2321
+ };
2322
+ query?: never;
2323
+ url: '/api/support-request-types-admin/{uuid}/activate/';
2324
+ };
2325
+
2326
+ export type SupportRequestTypesAdminActivateResponses = {
2327
+ 200: RequestTypeAdmin;
2328
+ };
2329
+
2330
+ export type SupportRequestTypesAdminDeactivateData = {
2331
+ body: RequestTypeAdminRequest;
2332
+ path: {
2333
+ uuid: string;
2334
+ };
2335
+ query?: never;
2336
+ url: '/api/support-request-types-admin/{uuid}/deactivate/';
2337
+ };
2338
+
2339
+ export type SupportRequestTypesAdminDeactivateResponses = {
2340
+ 200: RequestTypeAdmin;
2341
+ };
2342
+
2343
+ export type SupportRequestTypesAdminReorderData = {
2344
+ body: RequestTypeAdminRequest;
2345
+ path?: never;
2346
+ query?: never;
2347
+ url: '/api/support-request-types-admin/reorder/';
2348
+ };
2349
+
2350
+ export type SupportRequestTypesAdminReorderResponses = {
2351
+ 200: RequestTypeAdmin;
2352
+ };
2353
+
2354
+ export type SupportRequestTypesRetrieveData = {
2355
+ body?: never;
2356
+ path: {
2357
+ uuid: string;
2358
+ };
2359
+ query?: never;
2360
+ url: '/api/support-request-types/{uuid}/';
2361
+ };
2362
+
2363
+ export type SupportRequestTypesRetrieveResponses = {
2364
+ 200: RequestType;
2365
+ };
2366
+
2367
+ export type SupportSmaxWebhookData = {
2368
+ body: SmaxWebHookReceiverRequest;
2369
+ path?: never;
2370
+ query?: never;
2371
+ url: '/api/support-smax-webhook/';
2372
+ };
2373
+
2374
+ export type SupportSmaxWebhookResponses = {
2375
+ 200: SmaxWebHookReceiver;
2376
+ };
2377
+
2378
+ export type SupportStatisticsRetrieveData = {
2379
+ body?: never;
2380
+ path?: never;
2381
+ query?: never;
2382
+ url: '/api/support-statistics/';
2383
+ };
2384
+
2385
+ export type SupportStatisticsRetrieveResponses = {
2386
+ 200: SupportStats;
2387
+ };
2388
+
2389
+ export type SupportTemplatesListData = {
2390
+ body?: never;
2391
+ path?: never;
2392
+ query?: {
2393
+ /**
2394
+ * A page number within the paginated result set.
2395
+ */
2396
+ page?: number;
2397
+ /**
2398
+ * Number of results to return per page.
2399
+ */
2400
+ page_size?: number;
2401
+ };
2402
+ url: '/api/support-templates/';
2403
+ };
2404
+
2405
+ export type SupportTemplatesListResponses = {
2406
+ 200: Array<Template>;
2407
+ };
2408
+
2409
+ export type SupportTemplatesCountData = {
2410
+ body?: never;
2411
+ path?: never;
2412
+ query?: {
2413
+ /**
2414
+ * A page number within the paginated result set.
2415
+ */
2416
+ page?: number;
2417
+ /**
2418
+ * Number of results to return per page.
2419
+ */
2420
+ page_size?: number;
2421
+ };
2422
+ url: '/api/support-templates/';
2423
+ };
2424
+
2425
+ export type SupportTemplatesCountResponses = {
2426
+ /**
2427
+ * No response body
2428
+ */
2429
+ 200: unknown;
2430
+ };
2431
+
2432
+ export type SupportTemplatesCreateData = {
2433
+ body: TemplateRequest;
2434
+ path?: never;
2435
+ query?: never;
2436
+ url: '/api/support-templates/';
2437
+ };
2438
+
2439
+ export type SupportTemplatesCreateResponses = {
2440
+ 201: Template;
2441
+ };
2442
+
2443
+ export type SupportTemplatesDestroyData = {
2444
+ body?: never;
2445
+ path: {
2446
+ uuid: string;
2447
+ };
2448
+ query?: never;
2449
+ url: '/api/support-templates/{uuid}/';
2450
+ };
2451
+
2452
+ export type SupportTemplatesDestroyResponses = {
2453
+ /**
2454
+ * No response body
2455
+ */
2456
+ 204: void;
2457
+ };
2458
+
2459
+ export type SupportTemplatesRetrieveData = {
2460
+ body?: never;
2461
+ path: {
2462
+ uuid: string;
2463
+ };
2464
+ query?: never;
2465
+ url: '/api/support-templates/{uuid}/';
2466
+ };
2467
+
2468
+ export type SupportTemplatesRetrieveResponses = {
2469
+ 200: Template;
2470
+ };
2471
+
2472
+ export type SupportTemplatesPartialUpdateData = {
2473
+ body?: PatchedTemplateRequest;
2474
+ path: {
2475
+ uuid: string;
2476
+ };
2477
+ query?: never;
2478
+ url: '/api/support-templates/{uuid}/';
2479
+ };
2480
+
2481
+ export type SupportTemplatesPartialUpdateResponses = {
2482
+ 200: Template;
2483
+ };
2484
+
2485
+ export type SupportTemplatesUpdateData = {
2486
+ body: TemplateRequest;
2487
+ path: {
2488
+ uuid: string;
2489
+ };
2490
+ query?: never;
2491
+ url: '/api/support-templates/{uuid}/';
2492
+ };
2493
+
2494
+ export type SupportTemplatesUpdateResponses = {
2495
+ 200: Template;
2496
+ };
2497
+
2498
+ export type SupportTemplatesCreateAttachmentsData = {
2499
+ body: CreateAttachmentsRequest;
2500
+ path: {
2501
+ uuid: string;
2502
+ };
2503
+ query?: never;
2504
+ url: '/api/support-templates/{uuid}/create_attachments/';
2505
+ };
2506
+
2507
+ export type SupportTemplatesCreateAttachmentsErrors = {
2508
+ /**
2509
+ * No response body
2510
+ */
2511
+ 400: unknown;
2512
+ };
2513
+
2514
+ export type SupportTemplatesCreateAttachmentsResponses = {
2515
+ /**
2516
+ * No response body
2517
+ */
2518
+ 201: unknown;
2519
+ };
2520
+
2521
+ export type SupportTemplatesDeleteAttachmentsData = {
2522
+ body: DeleteAttachmentsRequest;
2523
+ path: {
2524
+ uuid: string;
2525
+ };
2526
+ query?: never;
2527
+ url: '/api/support-templates/{uuid}/delete_attachments/';
2528
+ };
2529
+
2530
+ export type SupportTemplatesDeleteAttachmentsResponses = {
2531
+ /**
2532
+ * No response body
2533
+ */
2534
+ 200: unknown;
2535
+ };
2536
+
2537
+ export type SupportUsersListData = {
2538
+ body?: never;
2539
+ path?: never;
2540
+ query?: {
2541
+ backend_id?: string;
2542
+ name?: string;
2543
+ /**
2544
+ * A page number within the paginated result set.
2545
+ */
2546
+ page?: number;
2547
+ /**
2548
+ * Number of results to return per page.
2549
+ */
2550
+ page_size?: number;
2551
+ user?: number;
2552
+ };
2553
+ url: '/api/support-users/';
2554
+ };
2555
+
2556
+ export type SupportUsersListResponses = {
2557
+ 200: Array<SupportUser>;
2558
+ };
2559
+
2560
+ export type SupportUsersCountData = {
2561
+ body?: never;
2562
+ path?: never;
2563
+ query?: {
2564
+ backend_id?: string;
2565
+ name?: string;
2566
+ /**
2567
+ * A page number within the paginated result set.
2568
+ */
2569
+ page?: number;
2570
+ /**
2571
+ * Number of results to return per page.
2572
+ */
2573
+ page_size?: number;
2574
+ user?: number;
2575
+ };
2576
+ url: '/api/support-users/';
2577
+ };
2578
+
2579
+ export type SupportUsersCountResponses = {
2580
+ /**
2581
+ * No response body
2582
+ */
2583
+ 200: unknown;
2584
+ };
2585
+
2586
+ export type SupportUsersRetrieveData = {
2587
+ body?: never;
2588
+ path: {
2589
+ uuid: string;
2590
+ };
2591
+ query?: never;
2592
+ url: '/api/support-users/{uuid}/';
2593
+ };
2594
+
2595
+ export type SupportUsersRetrieveResponses = {
2596
+ 200: SupportUser;
2597
+ };
2598
+
2599
+ export type SupportZammadWebhookData = {
2600
+ body?: never;
2601
+ path?: never;
2602
+ query?: never;
2603
+ url: '/api/support-zammad-webhook/';
2604
+ };
2605
+
2606
+ export type SupportZammadWebhookResponses = {
2607
+ /**
2608
+ * No response body
2609
+ */
2610
+ 200: unknown;
2611
+ };
2612
+
2613
+ export type SupportSettingsAtlassianListData = {
2614
+ body?: never;
2615
+ path?: never;
2616
+ query?: {
2617
+ /**
2618
+ * A page number within the paginated result set.
2619
+ */
2620
+ page?: number;
2621
+ /**
2622
+ * Number of results to return per page.
2623
+ */
2624
+ page_size?: number;
2625
+ };
2626
+ url: '/api/support/settings/atlassian/';
2627
+ };
2628
+
2629
+ export type SupportSettingsAtlassianListResponses = {
2630
+ /**
2631
+ * No response body
2632
+ */
2633
+ 200: unknown;
2634
+ };
2635
+
2636
+ export type SupportSettingsAtlassianCreateData = {
2637
+ body?: never;
2638
+ path?: never;
2639
+ query?: never;
2640
+ url: '/api/support/settings/atlassian/';
2641
+ };
2642
+
2643
+ export type SupportSettingsAtlassianCreateResponses = {
2644
+ /**
2645
+ * No response body
2646
+ */
2647
+ 201: unknown;
2648
+ };
2649
+
2650
+ export type SupportSettingsAtlassianDestroyData = {
2651
+ body?: never;
2652
+ path: {
2653
+ /**
2654
+ * A unique integer value identifying this issue.
2655
+ */
2656
+ id: number;
2657
+ };
2658
+ query?: never;
2659
+ url: '/api/support/settings/atlassian/{id}/';
2660
+ };
2661
+
2662
+ export type SupportSettingsAtlassianDestroyResponses = {
2663
+ /**
2664
+ * No response body
2665
+ */
2666
+ 204: void;
2667
+ };
2668
+
2669
+ export type SupportSettingsAtlassianRetrieveData = {
2670
+ body?: never;
2671
+ path: {
2672
+ /**
2673
+ * A unique integer value identifying this issue.
2674
+ */
2675
+ id: number;
2676
+ };
2677
+ query?: never;
2678
+ url: '/api/support/settings/atlassian/{id}/';
2679
+ };
2680
+
2681
+ export type SupportSettingsAtlassianRetrieveResponses = {
2682
+ /**
2683
+ * No response body
2684
+ */
2685
+ 200: unknown;
2686
+ };
2687
+
2688
+ export type SupportSettingsAtlassianPartialUpdateData = {
2689
+ body?: never;
2690
+ path: {
2691
+ /**
2692
+ * A unique integer value identifying this issue.
2693
+ */
2694
+ id: number;
2695
+ };
2696
+ query?: never;
2697
+ url: '/api/support/settings/atlassian/{id}/';
2698
+ };
2699
+
2700
+ export type SupportSettingsAtlassianPartialUpdateResponses = {
2701
+ /**
2702
+ * No response body
2703
+ */
2704
+ 200: unknown;
2705
+ };
2706
+
2707
+ export type SupportSettingsAtlassianUpdateData = {
2708
+ body?: never;
2709
+ path: {
2710
+ /**
2711
+ * A unique integer value identifying this issue.
2712
+ */
2713
+ id: number;
2714
+ };
2715
+ query?: never;
2716
+ url: '/api/support/settings/atlassian/{id}/';
2717
+ };
2718
+
2719
+ export type SupportSettingsAtlassianUpdateResponses = {
2720
+ /**
2721
+ * No response body
2722
+ */
2723
+ 200: unknown;
2724
+ };
2725
+
2726
+ export type SupportSettingsAtlassianCurrentSettingsRetrieveData = {
2727
+ body?: never;
2728
+ path?: never;
2729
+ query?: never;
2730
+ url: '/api/support/settings/atlassian/current_settings/';
2731
+ };
2732
+
2733
+ export type SupportSettingsAtlassianCurrentSettingsRetrieveResponses = {
2734
+ /**
2735
+ * No response body
2736
+ */
2737
+ 200: unknown;
2738
+ };
2739
+
2740
+ export type SupportSettingsAtlassianDiscoverCustomFieldsData = {
2741
+ body: DiscoverCustomFieldsRequestRequest;
2742
+ path?: never;
2743
+ query?: {
2744
+ /**
2745
+ * A page number within the paginated result set.
2746
+ */
2747
+ page?: number;
2748
+ /**
2749
+ * Number of results to return per page.
2750
+ */
2751
+ page_size?: number;
2752
+ };
2753
+ url: '/api/support/settings/atlassian/discover_custom_fields/';
2754
+ };
2755
+
2756
+ export type SupportSettingsAtlassianDiscoverCustomFieldsResponses = {
2757
+ 200: Array<AtlassianCustomFieldResponse>;
2758
+ };
2759
+
2760
+ export type SupportSettingsAtlassianDiscoverPrioritiesData = {
2761
+ body: DiscoverPrioritiesRequestRequest;
2762
+ path?: never;
2763
+ query?: {
2764
+ /**
2765
+ * A page number within the paginated result set.
2766
+ */
2767
+ page?: number;
2768
+ /**
2769
+ * Number of results to return per page.
2770
+ */
2771
+ page_size?: number;
2772
+ };
2773
+ url: '/api/support/settings/atlassian/discover_priorities/';
2774
+ };
2775
+
2776
+ export type SupportSettingsAtlassianDiscoverPrioritiesResponses = {
2777
+ 200: Array<AtlassianPriorityResponse>;
2778
+ };
2779
+
2780
+ export type SupportSettingsAtlassianDiscoverProjectsData = {
2781
+ body: DiscoverProjectsRequestRequest;
2782
+ path?: never;
2783
+ query?: {
2784
+ /**
2785
+ * A page number within the paginated result set.
2786
+ */
2787
+ page?: number;
2788
+ /**
2789
+ * Number of results to return per page.
2790
+ */
2791
+ page_size?: number;
2792
+ };
2793
+ url: '/api/support/settings/atlassian/discover_projects/';
2794
+ };
2795
+
2796
+ export type SupportSettingsAtlassianDiscoverProjectsResponses = {
2797
+ 200: Array<AtlassianProjectResponse>;
2798
+ };
2799
+
2800
+ export type SupportSettingsAtlassianDiscoverRequestTypesData = {
2801
+ body: DiscoverRequestTypesRequestRequest;
2802
+ path?: never;
2803
+ query?: {
2804
+ /**
2805
+ * A page number within the paginated result set.
2806
+ */
2807
+ page?: number;
2808
+ /**
2809
+ * Number of results to return per page.
2810
+ */
2811
+ page_size?: number;
2812
+ };
2813
+ url: '/api/support/settings/atlassian/discover_request_types/';
2814
+ };
2815
+
2816
+ export type SupportSettingsAtlassianDiscoverRequestTypesResponses = {
2817
+ 200: Array<AtlassianRequestTypeResponse>;
2818
+ };
2819
+
2820
+ export type SupportSettingsAtlassianPreviewSettingsData = {
2821
+ body: AtlassianSettingsPreviewRequest;
2822
+ path?: never;
2823
+ query?: never;
2824
+ url: '/api/support/settings/atlassian/preview_settings/';
2825
+ };
2826
+
2827
+ export type SupportSettingsAtlassianPreviewSettingsResponses = {
2828
+ /**
2829
+ * No response body
2830
+ */
2831
+ 200: unknown;
2832
+ };
2833
+
2834
+ export type SupportSettingsAtlassianSaveSettingsData = {
2835
+ body: AtlassianSettingsSaveRequest;
2836
+ path?: never;
2837
+ query?: never;
2838
+ url: '/api/support/settings/atlassian/save_settings/';
2839
+ };
2840
+
2841
+ export type SupportSettingsAtlassianSaveSettingsResponses = {
2842
+ /**
2843
+ * No response body
2844
+ */
2845
+ 200: unknown;
2846
+ };
2847
+
2848
+ export type SupportSettingsAtlassianValidateCredentialsData = {
2849
+ body: AtlassianCredentialsRequest;
2850
+ path?: never;
2851
+ query?: never;
2852
+ url: '/api/support/settings/atlassian/validate_credentials/';
2853
+ };
2854
+
2855
+ export type SupportSettingsAtlassianValidateCredentialsResponses = {
2856
+ /**
2857
+ * No response body
2858
+ */
2859
+ 200: unknown;
2860
+ };
2861
+
2862
+ export type SyncIssuesRetrieveData = {
2863
+ body?: never;
2864
+ path?: never;
2865
+ query?: never;
2866
+ url: '/api/sync-issues/';
2867
+ };
2868
+
2869
+ export type SyncIssuesRetrieveErrors = {
2870
+ /**
2871
+ * No response body
2872
+ */
2873
+ 403: unknown;
2874
+ };
2875
+
2876
+ export type SyncIssuesRetrieveResponses = {
2877
+ /**
2878
+ * No response body
2879
+ */
2880
+ 202: unknown;
2881
+ };
2882
+
2883
+ export type SyncIssuesData = {
2884
+ body?: never;
2885
+ path?: never;
2886
+ query?: never;
2887
+ url: '/api/sync-issues/';
2888
+ };
2889
+
2890
+ export type SyncIssuesErrors = {
2891
+ /**
2892
+ * No response body
2893
+ */
2894
+ 403: unknown;
2895
+ };
2896
+
2897
+ export type SyncIssuesResponses = {
2898
+ /**
2899
+ * No response body
2900
+ */
2901
+ 202: unknown;
2902
+ };