|
810 | 810 | "description": [], |
811 | 811 | "source": { |
812 | 812 | "path": "x-pack/plugins/alerting/server/alerts_client/alerts_client.ts", |
813 | | - "lineNumber": 132 |
| 813 | + "lineNumber": 133 |
814 | 814 | } |
815 | 815 | }, |
816 | 816 | { |
|
821 | 821 | "description": [], |
822 | 822 | "source": { |
823 | 823 | "path": "x-pack/plugins/alerting/server/alerts_client/alerts_client.ts", |
824 | | - "lineNumber": 133 |
| 824 | + "lineNumber": 134 |
825 | 825 | } |
826 | 826 | }, |
827 | 827 | { |
|
832 | 832 | "description": [], |
833 | 833 | "source": { |
834 | 834 | "path": "x-pack/plugins/alerting/server/alerts_client/alerts_client.ts", |
835 | | - "lineNumber": 134 |
| 835 | + "lineNumber": 135 |
836 | 836 | } |
837 | 837 | }, |
838 | 838 | { |
|
843 | 843 | "description": [], |
844 | 844 | "source": { |
845 | 845 | "path": "x-pack/plugins/alerting/server/alerts_client/alerts_client.ts", |
846 | | - "lineNumber": 135 |
| 846 | + "lineNumber": 136 |
847 | 847 | }, |
848 | 848 | "signature": [ |
849 | 849 | "Pick<", |
|
860 | 860 | ], |
861 | 861 | "source": { |
862 | 862 | "path": "x-pack/plugins/alerting/server/alerts_client/alerts_client.ts", |
863 | | - "lineNumber": 131 |
| 863 | + "lineNumber": 132 |
864 | 864 | }, |
865 | 865 | "initialIsOpen": false |
866 | 866 | }, |
|
905 | 905 | "description": [], |
906 | 906 | "source": { |
907 | 907 | "path": "x-pack/plugins/alerting/server/plugin.ts", |
908 | | - "lineNumber": 111 |
| 908 | + "lineNumber": 93 |
909 | 909 | } |
910 | 910 | } |
911 | 911 | ], |
912 | 912 | "tags": [], |
913 | 913 | "returnComment": [], |
914 | 914 | "source": { |
915 | 915 | "path": "x-pack/plugins/alerting/server/plugin.ts", |
916 | | - "lineNumber": 103 |
| 916 | + "lineNumber": 85 |
917 | 917 | } |
918 | 918 | } |
919 | 919 | ], |
920 | 920 | "source": { |
921 | 921 | "path": "x-pack/plugins/alerting/server/plugin.ts", |
922 | | - "lineNumber": 102 |
| 922 | + "lineNumber": 84 |
923 | 923 | }, |
924 | 924 | "initialIsOpen": false |
925 | 925 | }, |
|
938 | 938 | "description": [], |
939 | 939 | "source": { |
940 | 940 | "path": "x-pack/plugins/alerting/server/plugin.ts", |
941 | | - "lineNumber": 123 |
| 941 | + "lineNumber": 105 |
942 | 942 | }, |
943 | 943 | "signature": [ |
944 | 944 | "() => Set<", |
|
994 | 994 | "description": [], |
995 | 995 | "source": { |
996 | 996 | "path": "x-pack/plugins/alerting/server/plugin.ts", |
997 | | - "lineNumber": 124 |
| 997 | + "lineNumber": 106 |
998 | 998 | } |
999 | 999 | } |
1000 | 1000 | ], |
1001 | 1001 | "tags": [], |
1002 | 1002 | "returnComment": [], |
1003 | 1003 | "source": { |
1004 | 1004 | "path": "x-pack/plugins/alerting/server/plugin.ts", |
1005 | | - "lineNumber": 124 |
| 1005 | + "lineNumber": 106 |
1006 | 1006 | } |
1007 | 1007 | }, |
1008 | 1008 | { |
|
1013 | 1013 | "description": [], |
1014 | 1014 | "source": { |
1015 | 1015 | "path": "x-pack/plugins/alerting/server/plugin.ts", |
1016 | | - "lineNumber": 125 |
| 1016 | + "lineNumber": 107 |
1017 | 1017 | }, |
1018 | 1018 | "signature": [ |
1019 | 1019 | "() => Promise<", |
|
1030 | 1030 | ], |
1031 | 1031 | "source": { |
1032 | 1032 | "path": "x-pack/plugins/alerting/server/plugin.ts", |
1033 | | - "lineNumber": 122 |
| 1033 | + "lineNumber": 104 |
1034 | 1034 | }, |
1035 | 1035 | "initialIsOpen": false |
1036 | 1036 | } |
|
1118 | 1118 | }, |
1119 | 1119 | "<Params>, \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"muteAll\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"throttle\" | \"notifyWhen\" | \"mutedInstanceIds\" | \"executionStatus\">>; delete: ({ id }: { id: string; }) => Promise<{}>; create: <Params extends Record<string, unknown> = never>({ data, options, }: ", |
1120 | 1120 | "CreateOptions", |
1121 | | - "<Params>) => Promise<", |
| 1121 | + "<Params>) => Promise<Pick<", |
1122 | 1122 | { |
1123 | 1123 | "pluginId": "alerting", |
1124 | 1124 | "scope": "common", |
1125 | 1125 | "docId": "kibAlertingPluginApi", |
1126 | 1126 | "section": "def-common.Alert", |
1127 | 1127 | "text": "Alert" |
1128 | 1128 | }, |
1129 | | - "<Params>>; find: <Params>({ options: { fields, ...options }, }?: { options?: ", |
| 1129 | + "<Params>, \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"muteAll\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"throttle\" | \"notifyWhen\" | \"mutedInstanceIds\" | \"executionStatus\">>; find: <Params>({ options: { fields, ...options }, }?: { options?: ", |
1130 | 1130 | "FindOptions", |
1131 | 1131 | " | undefined; }) => Promise<", |
1132 | 1132 | { |
|
2922 | 2922 | "description": [], |
2923 | 2923 | "source": { |
2924 | 2924 | "path": "x-pack/plugins/alerting/common/index.ts", |
2925 | | - "lineNumber": 28 |
| 2925 | + "lineNumber": 30 |
2926 | 2926 | }, |
2927 | 2927 | "signature": [ |
2928 | 2928 | "\"alerts\"" |
|
3006 | 3006 | }, |
3007 | 3007 | { |
3008 | 3008 | "tags": [], |
3009 | | - "id": "def-common.BASE_ALERT_API_PATH", |
| 3009 | + "id": "def-common.BASE_ALERTING_API_PATH", |
3010 | 3010 | "type": "string", |
3011 | | - "label": "BASE_ALERT_API_PATH", |
| 3011 | + "label": "BASE_ALERTING_API_PATH", |
3012 | 3012 | "description": [], |
3013 | 3013 | "source": { |
3014 | 3014 | "path": "x-pack/plugins/alerting/common/index.ts", |
3015 | | - "lineNumber": 27 |
| 3015 | + "lineNumber": 28 |
3016 | 3016 | }, |
3017 | 3017 | "signature": [ |
3018 | | - "\"/api/alerts\"" |
| 3018 | + "\"/api/alerting\"" |
3019 | 3019 | ], |
3020 | 3020 | "initialIsOpen": false |
3021 | 3021 | }, |
|
3034 | 3034 | ], |
3035 | 3035 | "initialIsOpen": false |
3036 | 3036 | }, |
| 3037 | + { |
| 3038 | + "tags": [], |
| 3039 | + "id": "def-common.INTERNAL_BASE_ALERTING_API_PATH", |
| 3040 | + "type": "string", |
| 3041 | + "label": "INTERNAL_BASE_ALERTING_API_PATH", |
| 3042 | + "description": [], |
| 3043 | + "source": { |
| 3044 | + "path": "x-pack/plugins/alerting/common/index.ts", |
| 3045 | + "lineNumber": 29 |
| 3046 | + }, |
| 3047 | + "signature": [ |
| 3048 | + "\"/internal/alerting\"" |
| 3049 | + ], |
| 3050 | + "initialIsOpen": false |
| 3051 | + }, |
| 3052 | + { |
| 3053 | + "tags": [], |
| 3054 | + "id": "def-common.LEGACY_BASE_ALERT_API_PATH", |
| 3055 | + "type": "string", |
| 3056 | + "label": "LEGACY_BASE_ALERT_API_PATH", |
| 3057 | + "description": [], |
| 3058 | + "source": { |
| 3059 | + "path": "x-pack/plugins/alerting/common/index.ts", |
| 3060 | + "lineNumber": 27 |
| 3061 | + }, |
| 3062 | + "signature": [ |
| 3063 | + "\"/api/alerts\"" |
| 3064 | + ], |
| 3065 | + "initialIsOpen": false |
| 3066 | + }, |
3037 | 3067 | { |
3038 | 3068 | "id": "def-common.RawAlertInstance", |
3039 | 3069 | "type": "Type", |
|
0 commit comments