commandbar 1.6.11 → 1.6.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. package/build/commandbar-js/src/index.js +1 -1
  2. package/build/internal/src/client/AddContextOptions.d.ts +5 -0
  3. package/build/internal/src/client/CommandBarClientSDK.d.ts +55 -5
  4. package/build/internal/src/client/CommandBarProxySDK.d.ts +4 -4
  5. package/build/internal/src/client/CommandBarSDK.d.ts +4 -7
  6. package/build/internal/src/client/EventHandler.d.ts +3 -3
  7. package/build/internal/src/client/OrgConfig.d.ts +5 -0
  8. package/build/internal/src/client/SentryReporter.d.ts +24 -3
  9. package/build/internal/src/client/symbols.d.ts +1 -0
  10. package/build/internal/src/middleware/CommandFromClientV.d.ts +47 -3
  11. package/build/internal/src/middleware/OrganizationV.d.ts +16 -0
  12. package/build/internal/src/middleware/ResourceSettingsV.d.ts +4 -0
  13. package/build/internal/src/middleware/command.d.ts +1632 -213
  14. package/build/internal/src/middleware/commandCategory.d.ts +16 -0
  15. package/build/internal/src/middleware/detailPreview.d.ts +4 -2
  16. package/build/internal/src/middleware/generics.d.ts +10 -10
  17. package/build/internal/src/middleware/helpers/argument.d.ts +156 -0
  18. package/build/internal/src/middleware/helpers/commandTemplate.d.ts +34 -0
  19. package/build/internal/src/middleware/helpers/rules.d.ts +29 -26
  20. package/build/internal/src/middleware/nudge.d.ts +189 -0
  21. package/build/internal/src/middleware/organization.d.ts +164 -13
  22. package/build/internal/src/middleware/releases.d.ts +1 -1
  23. package/build/internal/src/middleware/types.d.ts +90 -10
  24. package/build/internal/src/middleware/user.d.ts +3 -1
  25. package/package.json +2 -4
  26. package/src/init.ts +6 -2
@@ -0,0 +1,189 @@
1
+ import * as t from 'io-ts';
2
+ export declare const NudgeV: t.IntersectionC<[t.TypeC<{
3
+ id: t.NumberC;
4
+ organization: t.StringC;
5
+ slug: t.StringC;
6
+ content: t.StringC;
7
+ show_expression: t.Type<import("./helpers/rules").RuleExpression, import("./helpers/rules").RuleExpression, unknown>;
8
+ trigger: t.UnionC<[t.TypeC<{
9
+ type: t.LiteralC<"when_conditions_pass">;
10
+ }>, t.TypeC<{
11
+ type: t.LiteralC<"on_command_execution">;
12
+ meta: t.TypeC<{
13
+ command: t.StringC;
14
+ }>;
15
+ }>]>;
16
+ on_select: t.TypeC<{
17
+ type: t.LiteralC<"execute_command">;
18
+ meta: t.TypeC<{
19
+ command: t.StringC;
20
+ }>;
21
+ }>;
22
+ timeout_ms: t.UnionC<[t.NumberC, t.NullC]>;
23
+ frequency_limit: t.UnionC<[t.LiteralC<"no_limit">, t.LiteralC<"once_per_session">, t.LiteralC<"once_per_user">]>;
24
+ }>, t.PartialC<{}>]>;
25
+ export declare class Nudge {
26
+ static decode: (data: any) => {
27
+ id: number;
28
+ organization: string;
29
+ slug: string;
30
+ content: string;
31
+ show_expression: import("./helpers/rules").RuleExpression;
32
+ trigger: {
33
+ type: "when_conditions_pass";
34
+ } | {
35
+ type: "on_command_execution";
36
+ meta: {
37
+ command: string;
38
+ };
39
+ };
40
+ on_select: {
41
+ type: "execute_command";
42
+ meta: {
43
+ command: string;
44
+ };
45
+ };
46
+ timeout_ms: number | null;
47
+ frequency_limit: "no_limit" | "once_per_session" | "once_per_user";
48
+ } & {};
49
+ static create: (object: {
50
+ id: number;
51
+ organization: string;
52
+ slug: string;
53
+ content: string;
54
+ show_expression: import("./helpers/rules").RuleExpression;
55
+ trigger: {
56
+ type: "when_conditions_pass";
57
+ } | {
58
+ type: "on_command_execution";
59
+ meta: {
60
+ command: string;
61
+ };
62
+ };
63
+ on_select: {
64
+ type: "execute_command";
65
+ meta: {
66
+ command: string;
67
+ };
68
+ };
69
+ timeout_ms: number | null;
70
+ frequency_limit: "no_limit" | "once_per_session" | "once_per_user";
71
+ } & {}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
72
+ id: number;
73
+ organization: string;
74
+ slug: string;
75
+ content: string;
76
+ show_expression: import("./helpers/rules").RuleExpression;
77
+ trigger: {
78
+ type: "when_conditions_pass";
79
+ } | {
80
+ type: "on_command_execution";
81
+ meta: {
82
+ command: string;
83
+ };
84
+ };
85
+ on_select: {
86
+ type: "execute_command";
87
+ meta: {
88
+ command: string;
89
+ };
90
+ };
91
+ timeout_ms: number | null;
92
+ frequency_limit: "no_limit" | "once_per_session" | "once_per_user";
93
+ } & {}>;
94
+ static update: (object: {
95
+ id: number;
96
+ organization: string;
97
+ slug: string;
98
+ content: string;
99
+ show_expression: import("./helpers/rules").RuleExpression;
100
+ trigger: {
101
+ type: "when_conditions_pass";
102
+ } | {
103
+ type: "on_command_execution";
104
+ meta: {
105
+ command: string;
106
+ };
107
+ };
108
+ on_select: {
109
+ type: "execute_command";
110
+ meta: {
111
+ command: string;
112
+ };
113
+ };
114
+ timeout_ms: number | null;
115
+ frequency_limit: "no_limit" | "once_per_session" | "once_per_user";
116
+ } & {}, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
117
+ id: number;
118
+ organization: string;
119
+ slug: string;
120
+ content: string;
121
+ show_expression: import("./helpers/rules").RuleExpression;
122
+ trigger: {
123
+ type: "when_conditions_pass";
124
+ } | {
125
+ type: "on_command_execution";
126
+ meta: {
127
+ command: string;
128
+ };
129
+ };
130
+ on_select: {
131
+ type: "execute_command";
132
+ meta: {
133
+ command: string;
134
+ };
135
+ };
136
+ timeout_ms: number | null;
137
+ frequency_limit: "no_limit" | "once_per_session" | "once_per_user";
138
+ } & {}>;
139
+ static delete: (id: string | number, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<void>;
140
+ static list: (onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<({
141
+ id: number;
142
+ organization: string;
143
+ slug: string;
144
+ content: string;
145
+ show_expression: import("./helpers/rules").RuleExpression;
146
+ trigger: {
147
+ type: "when_conditions_pass";
148
+ } | {
149
+ type: "on_command_execution";
150
+ meta: {
151
+ command: string;
152
+ };
153
+ };
154
+ on_select: {
155
+ type: "execute_command";
156
+ meta: {
157
+ command: string;
158
+ };
159
+ };
160
+ timeout_ms: number | null;
161
+ frequency_limit: "no_limit" | "once_per_session" | "once_per_user";
162
+ } & {})[]>;
163
+ static read: (arg0: string, params?: Record<string, string> | undefined, callbacks?: {
164
+ onSuccess?: (() => void) | undefined;
165
+ onError?: ((err: string) => void) | undefined;
166
+ } | undefined) => Promise<{
167
+ id: number;
168
+ organization: string;
169
+ slug: string;
170
+ content: string;
171
+ show_expression: import("./helpers/rules").RuleExpression;
172
+ trigger: {
173
+ type: "when_conditions_pass";
174
+ } | {
175
+ type: "on_command_execution";
176
+ meta: {
177
+ command: string;
178
+ };
179
+ };
180
+ on_select: {
181
+ type: "execute_command";
182
+ meta: {
183
+ command: string;
184
+ };
185
+ };
186
+ timeout_ms: number | null;
187
+ frequency_limit: "no_limit" | "once_per_session" | "once_per_user";
188
+ } & {}>;
189
+ }
@@ -34,6 +34,13 @@ export declare const OrganizationSettingsV: t.TypeC<{
34
34
  end_user_shortcuts_enabled: t.BooleanC;
35
35
  fallback_commands: t.ArrayC<t.NumberC>;
36
36
  end_user_recents_enabled: t.BooleanC;
37
+ tab_direction: t.UnionC<[t.LiteralC<"horizontal">, t.LiteralC<"vertical">]>;
38
+ recommended_tab_enabled: t.BooleanC;
39
+ recents_tab_enabled: t.BooleanC;
40
+ recommended_tab_instruction: t.StringC;
41
+ recents_tab_instruction: t.StringC;
42
+ hotload_help_docs: t.BooleanC;
43
+ slash_filters_enabled: t.BooleanC;
37
44
  }>;
38
45
  export declare class Organization {
39
46
  static read: (arg0: string, params?: Record<string, string> | undefined, callbacks?: {
@@ -78,6 +85,8 @@ export declare class Organization {
78
85
  show_with_no_results?: boolean | undefined;
79
86
  search_tab_enabled?: boolean | undefined;
80
87
  search_tab_name?: string | null | undefined;
88
+ slash_filter_enabled?: boolean | undefined;
89
+ slash_filter_keyword?: string | null | undefined;
81
90
  search_tab_instruction?: string | null | undefined;
82
91
  setting_pin_to_bottom?: boolean | undefined;
83
92
  track_recents?: boolean | undefined;
@@ -100,6 +109,12 @@ export declare class Organization {
100
109
  releases_enabled: boolean;
101
110
  fallback_commands: number[];
102
111
  tab_direction: "horizontal" | "vertical";
112
+ recommended_tab_enabled: boolean;
113
+ recents_tab_enabled: boolean;
114
+ recommended_tab_instruction: string;
115
+ recents_tab_instruction: string;
116
+ hotload_help_docs: boolean;
117
+ slash_filters_enabled: boolean;
103
118
  }>;
104
119
  static update: (object: {
105
120
  id: string | number;
@@ -140,6 +155,8 @@ export declare class Organization {
140
155
  show_with_no_results?: boolean | undefined;
141
156
  search_tab_enabled?: boolean | undefined;
142
157
  search_tab_name?: string | null | undefined;
158
+ slash_filter_enabled?: boolean | undefined;
159
+ slash_filter_keyword?: string | null | undefined;
143
160
  search_tab_instruction?: string | null | undefined;
144
161
  setting_pin_to_bottom?: boolean | undefined;
145
162
  track_recents?: boolean | undefined;
@@ -162,6 +179,12 @@ export declare class Organization {
162
179
  releases_enabled: boolean;
163
180
  fallback_commands: number[];
164
181
  tab_direction: "horizontal" | "vertical";
182
+ recommended_tab_enabled: boolean;
183
+ recents_tab_enabled: boolean;
184
+ recommended_tab_instruction: string;
185
+ recents_tab_instruction: string;
186
+ hotload_help_docs: boolean;
187
+ slash_filters_enabled: boolean;
165
188
  }, onSuccess?: (() => void) | undefined, onError?: ((err: string) => void) | undefined) => Promise<{
166
189
  id: string | number;
167
190
  name: string;
@@ -201,6 +224,8 @@ export declare class Organization {
201
224
  show_with_no_results?: boolean | undefined;
202
225
  search_tab_enabled?: boolean | undefined;
203
226
  search_tab_name?: string | null | undefined;
227
+ slash_filter_enabled?: boolean | undefined;
228
+ slash_filter_keyword?: string | null | undefined;
204
229
  search_tab_instruction?: string | null | undefined;
205
230
  setting_pin_to_bottom?: boolean | undefined;
206
231
  track_recents?: boolean | undefined;
@@ -223,6 +248,12 @@ export declare class Organization {
223
248
  releases_enabled: boolean;
224
249
  fallback_commands: number[];
225
250
  tab_direction: "horizontal" | "vertical";
251
+ recommended_tab_enabled: boolean;
252
+ recents_tab_enabled: boolean;
253
+ recommended_tab_instruction: string;
254
+ recents_tab_instruction: string;
255
+ hotload_help_docs: boolean;
256
+ slash_filters_enabled: boolean;
226
257
  }>;
227
258
  static listCommands: (orgUID: string) => Promise<({
228
259
  id: number;
@@ -313,6 +344,22 @@ export declare class Organization {
313
344
  object?: string | undefined;
314
345
  hoverTooltip?: boolean | undefined;
315
346
  operation?: "self" | "router" | "blank" | undefined;
347
+ }) | ({
348
+ type: "video";
349
+ value: string;
350
+ } & {} & {
351
+ commandType?: "object" | "independent" | "help" | undefined;
352
+ object?: string | undefined;
353
+ hoverTooltip?: boolean | undefined;
354
+ operation?: "self" | "router" | "blank" | undefined;
355
+ }) | ({
356
+ type: "helpdoc";
357
+ value: string;
358
+ } & {} & {
359
+ commandType?: "object" | "independent" | "help" | undefined;
360
+ object?: string | undefined;
361
+ hoverTooltip?: boolean | undefined;
362
+ operation?: "self" | "router" | "blank" | undefined;
316
363
  });
317
364
  } & {
318
365
  disabledReason?: string | undefined;
@@ -343,6 +390,8 @@ export declare class Organization {
343
390
  allow_create_label?: string | undefined;
344
391
  show_in_record_action_list?: boolean | undefined;
345
392
  show_in_default_list?: boolean | undefined;
393
+ auto_choose?: boolean | undefined;
394
+ is_private?: boolean | undefined;
346
395
  }) | ({
347
396
  type: "set";
348
397
  value: string[] | number[] | {
@@ -364,6 +413,8 @@ export declare class Organization {
364
413
  loaded?: any[] | undefined;
365
414
  allow_create?: boolean | undefined;
366
415
  allow_create_label?: string | undefined;
416
+ auto_choose?: boolean | undefined;
417
+ is_private?: boolean | undefined;
367
418
  }) | ({
368
419
  type: "provided";
369
420
  value: "time" | "text";
@@ -384,6 +435,8 @@ export declare class Organization {
384
435
  dateTimeArgumentTypeId?: number | undefined;
385
436
  allow_create?: boolean | undefined;
386
437
  allow_create_label?: string | undefined;
438
+ auto_choose?: boolean | undefined;
439
+ is_private?: boolean | undefined;
387
440
  }) | ({
388
441
  type: "dependent";
389
442
  value: string;
@@ -403,6 +456,8 @@ export declare class Organization {
403
456
  loaded?: any[] | undefined;
404
457
  allow_create?: boolean | undefined;
405
458
  allow_create_label?: string | undefined;
459
+ auto_choose?: boolean | undefined;
460
+ is_private?: boolean | undefined;
406
461
  }) | ({
407
462
  type: "function";
408
463
  value: string;
@@ -422,6 +477,35 @@ export declare class Organization {
422
477
  loaded?: any[] | undefined;
423
478
  allow_create?: boolean | undefined;
424
479
  allow_create_label?: string | undefined;
480
+ auto_choose?: boolean | undefined;
481
+ is_private?: boolean | undefined;
482
+ }) | ({
483
+ type: "html" | "video";
484
+ value: {
485
+ source: string;
486
+ } & {
487
+ title?: string | undefined;
488
+ description?: string | undefined;
489
+ url?: string | undefined;
490
+ };
491
+ order_key: number;
492
+ } & {
493
+ label?: string | undefined;
494
+ chosen?: string | number | undefined;
495
+ selected?: any[] | undefined;
496
+ input_type?: string | undefined;
497
+ preselected_key?: string | undefined;
498
+ label_field?: string | undefined;
499
+ availability_condition?: {
500
+ field: string;
501
+ operator: "==" | "!=" | "isTruthy" | "isFalsy";
502
+ value: string | undefined;
503
+ }[] | undefined;
504
+ loaded?: any[] | undefined;
505
+ allow_create?: boolean | undefined;
506
+ allow_create_label?: string | undefined;
507
+ is_private?: boolean | undefined;
508
+ auto_choose?: boolean | undefined;
425
509
  });
426
510
  };
427
511
  tags: string[];
@@ -432,25 +516,60 @@ export declare class Organization {
432
516
  field?: string | undefined;
433
517
  value?: string | undefined;
434
518
  reason?: string | undefined;
435
- })[];
519
+ })[] | (({
520
+ type: "url" | "context" | "element";
521
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
522
+ } & {
523
+ field?: string | undefined;
524
+ value?: string | undefined;
525
+ reason?: string | undefined;
526
+ }) | ({
527
+ type: "named_rule";
528
+ rule_id: number;
529
+ } & {
530
+ reason?: string | undefined;
531
+ }))[];
436
532
  recommend_rules: (({
533
+ type: "url" | "context" | "element";
534
+ operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
535
+ } & {
536
+ field?: string | undefined;
537
+ value?: string | undefined;
538
+ reason?: string | undefined;
539
+ }) | ({
437
540
  type: "always";
438
541
  } & {
439
542
  operator?: null | undefined;
440
543
  field?: null | undefined;
441
544
  value?: null | undefined;
442
545
  reason?: null | undefined;
443
- }) | ({
546
+ }))[] | (({
444
547
  type: "url" | "context" | "element";
445
548
  operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
446
549
  } & {
447
550
  field?: string | undefined;
448
551
  value?: string | undefined;
449
552
  reason?: string | undefined;
553
+ }) | ({
554
+ type: "named_rule";
555
+ rule_id: number;
556
+ } & {
557
+ reason?: string | undefined;
558
+ }) | ({
559
+ type: "always";
560
+ } & {
561
+ operator?: null | undefined;
562
+ field?: null | undefined;
563
+ value?: null | undefined;
564
+ reason?: null | undefined;
450
565
  }))[];
566
+ availability_expression: import("./helpers/rules").RuleExpression;
567
+ recommend_expression: import("./helpers/rules").RuleExpression;
568
+ always_recommend: boolean;
451
569
  confirm: string;
452
570
  shortcut: string[];
453
571
  explanation: string;
572
+ heading: string;
454
573
  is_live: boolean;
455
574
  category: number | null;
456
575
  sort_key: number | null;
@@ -474,13 +593,21 @@ export declare class Organization {
474
593
  shortcut_win: string[];
475
594
  hotkey_mac: string;
476
595
  hotkey_win: string;
477
- detail: string | {
596
+ detail: string | ({
478
597
  type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
479
598
  value: string;
480
- } | (string | {
599
+ } & {
600
+ position?: "inline" | "popover" | undefined;
601
+ }) | (string | ({
481
602
  type: "html" | "video" | "plaintext" | "markdown" | "react" | null;
482
603
  value: string;
483
- })[] | null;
604
+ } & {
605
+ position?: "inline" | "popover" | undefined;
606
+ }))[] | null;
607
+ next_steps: (string | number)[];
608
+ } & {
609
+ third_party_source?: string | null | undefined;
610
+ third_party_id?: string | null | undefined;
484
611
  })[]>;
485
612
  static listCommandCategories: (orgUID: string) => Promise<({
486
613
  id: number;
@@ -495,6 +622,8 @@ export declare class Organization {
495
622
  setting_pin_to_bottom: boolean;
496
623
  search_tab_enabled: boolean;
497
624
  search_tab_name: string;
625
+ slash_filter_enabled: boolean;
626
+ slash_filter_keyword: string | null;
498
627
  search_tab_instruction: string;
499
628
  track_recents: boolean;
500
629
  })[]>;
@@ -522,14 +651,7 @@ export declare class Organization {
522
651
  static listRules: (orgUID: string) => Promise<{
523
652
  id: number;
524
653
  name: string;
525
- conditions: ({
526
- type: "url" | "context" | "element";
527
- operator: "includes" | "endsWith" | "startsWith" | "is" | "isTruthy" | "isFalsy" | "isNot" | "isTrue" | "isFalse" | "doesNotInclude" | "matchesRegex" | "isGreaterThan" | "isLessThan" | "isDefined" | "isNotDefined" | "classnameOnPage" | "idOnPage";
528
- } & {
529
- field?: string | undefined;
530
- value?: string | undefined;
531
- reason?: string | undefined;
532
- })[];
654
+ expression: import("./helpers/rules").RuleExpression;
533
655
  }[]>;
534
656
  static userHasAccess: (uuid: string, user: string) => Promise<{
535
657
  username: string;
@@ -600,6 +722,13 @@ export declare class Organization {
600
722
  end_user_shortcuts_enabled: boolean;
601
723
  fallback_commands: number[];
602
724
  end_user_recents_enabled: boolean;
725
+ tab_direction: "horizontal" | "vertical";
726
+ recommended_tab_enabled: boolean;
727
+ recents_tab_enabled: boolean;
728
+ recommended_tab_instruction: string;
729
+ recents_tab_instruction: string;
730
+ hotload_help_docs: boolean;
731
+ slash_filters_enabled: boolean;
603
732
  }>;
604
733
  static updateSetting: (object: {
605
734
  end_user_limit?: number | undefined;
@@ -621,6 +750,13 @@ export declare class Organization {
621
750
  end_user_shortcuts_enabled?: boolean | undefined;
622
751
  fallback_commands?: number[] | undefined;
623
752
  end_user_recents_enabled?: boolean | undefined;
753
+ tab_direction?: "horizontal" | "vertical" | undefined;
754
+ recommended_tab_enabled?: boolean | undefined;
755
+ recents_tab_enabled?: boolean | undefined;
756
+ recommended_tab_instruction?: string | undefined;
757
+ recents_tab_instruction?: string | undefined;
758
+ hotload_help_docs?: boolean | undefined;
759
+ slash_filters_enabled?: boolean | undefined;
624
760
  }, params?: Record<string, string> | undefined, callbacks?: {
625
761
  onSuccess?: (() => void) | undefined;
626
762
  onError?: ((err: string) => void) | undefined;
@@ -644,6 +780,13 @@ export declare class Organization {
644
780
  end_user_shortcuts_enabled: boolean;
645
781
  fallback_commands: number[];
646
782
  end_user_recents_enabled: boolean;
783
+ tab_direction: "horizontal" | "vertical";
784
+ recommended_tab_enabled: boolean;
785
+ recents_tab_enabled: boolean;
786
+ recommended_tab_instruction: string;
787
+ recents_tab_instruction: string;
788
+ hotload_help_docs: boolean;
789
+ slash_filters_enabled: boolean;
647
790
  }>;
648
791
  static decode: (data: any) => {
649
792
  id: string | number;
@@ -684,6 +827,8 @@ export declare class Organization {
684
827
  show_with_no_results?: boolean | undefined;
685
828
  search_tab_enabled?: boolean | undefined;
686
829
  search_tab_name?: string | null | undefined;
830
+ slash_filter_enabled?: boolean | undefined;
831
+ slash_filter_keyword?: string | null | undefined;
687
832
  search_tab_instruction?: string | null | undefined;
688
833
  setting_pin_to_bottom?: boolean | undefined;
689
834
  track_recents?: boolean | undefined;
@@ -706,5 +851,11 @@ export declare class Organization {
706
851
  releases_enabled: boolean;
707
852
  fallback_commands: number[];
708
853
  tab_direction: "horizontal" | "vertical";
854
+ recommended_tab_enabled: boolean;
855
+ recents_tab_enabled: boolean;
856
+ recommended_tab_instruction: string;
857
+ recents_tab_instruction: string;
858
+ hotload_help_docs: boolean;
859
+ slash_filters_enabled: boolean;
709
860
  };
710
861
  }
@@ -224,7 +224,7 @@ export declare class Releases {
224
224
  tags: string[];
225
225
  };
226
226
  }>;
227
- static readDiff: (fromId: string, toId: string) => Promise<any>;
227
+ static readDiff: (fromId: string, toId: string) => Promise<unknown>;
228
228
  static promoteReleaseStep: (releaseStepId: number) => Promise<any>;
229
229
  static promoteReleaseToFirstEnv: (releaseId: number) => Promise<{
230
230
  created_by: string;