@renai-labs/sdk 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/@tanstack/react-query.gen.d.ts +43 -59
- package/dist/generated/@tanstack/react-query.gen.js +111 -79
- package/dist/generated/internal/types.gen.d.ts +2 -60
- package/dist/generated/sdk.gen.d.ts +31 -35
- package/dist/generated/sdk.gen.js +71 -46
- package/dist/generated/types.gen.d.ts +188 -116
- package/dist/generated/zod.gen.d.ts +138 -137
- package/dist/generated/zod.gen.js +68 -55
- package/package.json +1 -1
|
@@ -159,6 +159,8 @@ export type AgentLatestVersion = {
|
|
|
159
159
|
agentId: string;
|
|
160
160
|
version: string;
|
|
161
161
|
description: string | null;
|
|
162
|
+
prompt: string | null;
|
|
163
|
+
model: string | null;
|
|
162
164
|
skills: Array<{
|
|
163
165
|
skillId: string;
|
|
164
166
|
skillVersionId?: string | null;
|
|
@@ -257,6 +259,10 @@ export type Vault = {
|
|
|
257
259
|
export type SlackChannel = {
|
|
258
260
|
id: string;
|
|
259
261
|
name: string;
|
|
262
|
+
projectId: string | null;
|
|
263
|
+
defaultProjectAgentId: string | null;
|
|
264
|
+
fallbackSenderUserId: string | null;
|
|
265
|
+
projectName: string | null;
|
|
260
266
|
};
|
|
261
267
|
export type SlackStatus = {
|
|
262
268
|
hasInstallation: boolean;
|
|
@@ -270,18 +276,13 @@ export type SlackInstallationResponse = {
|
|
|
270
276
|
teamName: string | null;
|
|
271
277
|
botUserId: string;
|
|
272
278
|
scope: string;
|
|
273
|
-
channelMappings: {
|
|
274
|
-
[key: string]: {
|
|
275
|
-
channelName: string | null;
|
|
276
|
-
projectId: string;
|
|
277
|
-
defaultProjectAgentId: string | null;
|
|
278
|
-
fallbackSenderUserId: string | null;
|
|
279
|
-
};
|
|
280
|
-
};
|
|
281
279
|
createdAt: string;
|
|
282
280
|
updatedAt: string;
|
|
283
281
|
archivedAt: string | null;
|
|
284
282
|
};
|
|
283
|
+
export type SlackOAuthStartResult = {
|
|
284
|
+
url: string;
|
|
285
|
+
};
|
|
285
286
|
export type WebhookTriggerCreateResult = {
|
|
286
287
|
trigger: WebhookTrigger;
|
|
287
288
|
plaintextSecret: string | null;
|
|
@@ -757,6 +758,9 @@ export type GithubInstallationResponse = {
|
|
|
757
758
|
updatedAt: string;
|
|
758
759
|
archivedAt: string | null;
|
|
759
760
|
};
|
|
761
|
+
export type GithubOAuthStartResult = {
|
|
762
|
+
url: string;
|
|
763
|
+
};
|
|
760
764
|
export type StoreStartUploadResponse = {
|
|
761
765
|
url: string;
|
|
762
766
|
expiresAt: string;
|
|
@@ -2916,7 +2920,7 @@ export type FileStoreFilesFinalizeUploadResponses = {
|
|
|
2916
2920
|
200: FileStoreFile;
|
|
2917
2921
|
};
|
|
2918
2922
|
export type FileStoreFilesFinalizeUploadResponse = FileStoreFilesFinalizeUploadResponses[keyof FileStoreFilesFinalizeUploadResponses];
|
|
2919
|
-
export type
|
|
2923
|
+
export type GithubUninstallData = {
|
|
2920
2924
|
body?: never;
|
|
2921
2925
|
path?: never;
|
|
2922
2926
|
query?: {
|
|
@@ -2925,9 +2929,9 @@ export type GithubStatusData = {
|
|
|
2925
2929
|
*/
|
|
2926
2930
|
scope?: "user";
|
|
2927
2931
|
};
|
|
2928
|
-
url: "/api/github/
|
|
2932
|
+
url: "/api/github/install";
|
|
2929
2933
|
};
|
|
2930
|
-
export type
|
|
2934
|
+
export type GithubUninstallErrors = {
|
|
2931
2935
|
/**
|
|
2932
2936
|
* Unauthorized
|
|
2933
2937
|
*/
|
|
@@ -2940,16 +2944,22 @@ export type GithubStatusErrors = {
|
|
|
2940
2944
|
403: {
|
|
2941
2945
|
error: string;
|
|
2942
2946
|
};
|
|
2947
|
+
/**
|
|
2948
|
+
* Not found
|
|
2949
|
+
*/
|
|
2950
|
+
404: {
|
|
2951
|
+
error: string;
|
|
2952
|
+
};
|
|
2943
2953
|
};
|
|
2944
|
-
export type
|
|
2945
|
-
export type
|
|
2954
|
+
export type GithubUninstallError = GithubUninstallErrors[keyof GithubUninstallErrors];
|
|
2955
|
+
export type GithubUninstallResponses = {
|
|
2946
2956
|
/**
|
|
2947
|
-
*
|
|
2957
|
+
* Removed
|
|
2948
2958
|
*/
|
|
2949
|
-
|
|
2959
|
+
204: void;
|
|
2950
2960
|
};
|
|
2951
|
-
export type
|
|
2952
|
-
export type
|
|
2961
|
+
export type GithubUninstallResponse = GithubUninstallResponses[keyof GithubUninstallResponses];
|
|
2962
|
+
export type GithubInstallData = {
|
|
2953
2963
|
body?: never;
|
|
2954
2964
|
path?: never;
|
|
2955
2965
|
query?: {
|
|
@@ -2957,10 +2967,11 @@ export type GithubInstallationListData = {
|
|
|
2957
2967
|
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
2958
2968
|
*/
|
|
2959
2969
|
scope?: "user";
|
|
2970
|
+
returnTo?: string;
|
|
2960
2971
|
};
|
|
2961
|
-
url: "/api/github/
|
|
2972
|
+
url: "/api/github/install";
|
|
2962
2973
|
};
|
|
2963
|
-
export type
|
|
2974
|
+
export type GithubInstallErrors = {
|
|
2964
2975
|
/**
|
|
2965
2976
|
* Unauthorized
|
|
2966
2977
|
*/
|
|
@@ -2974,28 +2985,27 @@ export type GithubInstallationListErrors = {
|
|
|
2974
2985
|
error: string;
|
|
2975
2986
|
};
|
|
2976
2987
|
};
|
|
2977
|
-
export type
|
|
2978
|
-
export type
|
|
2988
|
+
export type GithubInstallError = GithubInstallErrors[keyof GithubInstallErrors];
|
|
2989
|
+
export type GithubInstallResponses = {
|
|
2979
2990
|
/**
|
|
2980
|
-
*
|
|
2991
|
+
* Authorization URL for the user to visit
|
|
2981
2992
|
*/
|
|
2982
|
-
200:
|
|
2993
|
+
200: GithubOAuthStartResult;
|
|
2983
2994
|
};
|
|
2984
|
-
export type
|
|
2985
|
-
export type
|
|
2995
|
+
export type GithubInstallResponse = GithubInstallResponses[keyof GithubInstallResponses];
|
|
2996
|
+
export type GithubConnectData = {
|
|
2986
2997
|
body?: never;
|
|
2987
|
-
path
|
|
2988
|
-
id: string;
|
|
2989
|
-
};
|
|
2998
|
+
path?: never;
|
|
2990
2999
|
query?: {
|
|
2991
3000
|
/**
|
|
2992
3001
|
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
2993
3002
|
*/
|
|
2994
3003
|
scope?: "user";
|
|
3004
|
+
returnTo?: string;
|
|
2995
3005
|
};
|
|
2996
|
-
url: "/api/github/
|
|
3006
|
+
url: "/api/github/connect";
|
|
2997
3007
|
};
|
|
2998
|
-
export type
|
|
3008
|
+
export type GithubConnectErrors = {
|
|
2999
3009
|
/**
|
|
3000
3010
|
* Unauthorized
|
|
3001
3011
|
*/
|
|
@@ -3008,37 +3018,27 @@ export type GithubInstallationReposListErrors = {
|
|
|
3008
3018
|
403: {
|
|
3009
3019
|
error: string;
|
|
3010
3020
|
};
|
|
3011
|
-
/**
|
|
3012
|
-
* Not found
|
|
3013
|
-
*/
|
|
3014
|
-
404: {
|
|
3015
|
-
error: string;
|
|
3016
|
-
};
|
|
3017
3021
|
};
|
|
3018
|
-
export type
|
|
3019
|
-
export type
|
|
3022
|
+
export type GithubConnectError = GithubConnectErrors[keyof GithubConnectErrors];
|
|
3023
|
+
export type GithubConnectResponses = {
|
|
3020
3024
|
/**
|
|
3021
|
-
*
|
|
3025
|
+
* Authorization URL for the user to visit
|
|
3022
3026
|
*/
|
|
3023
|
-
200:
|
|
3024
|
-
fullName: string;
|
|
3025
|
-
}>;
|
|
3027
|
+
200: GithubOAuthStartResult;
|
|
3026
3028
|
};
|
|
3027
|
-
export type
|
|
3028
|
-
export type
|
|
3029
|
+
export type GithubConnectResponse = GithubConnectResponses[keyof GithubConnectResponses];
|
|
3030
|
+
export type GithubStatusData = {
|
|
3029
3031
|
body?: never;
|
|
3030
|
-
path
|
|
3031
|
-
id: string;
|
|
3032
|
-
};
|
|
3032
|
+
path?: never;
|
|
3033
3033
|
query?: {
|
|
3034
3034
|
/**
|
|
3035
3035
|
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
3036
3036
|
*/
|
|
3037
3037
|
scope?: "user";
|
|
3038
3038
|
};
|
|
3039
|
-
url: "/api/github/
|
|
3039
|
+
url: "/api/github/status";
|
|
3040
3040
|
};
|
|
3041
|
-
export type
|
|
3041
|
+
export type GithubStatusErrors = {
|
|
3042
3042
|
/**
|
|
3043
3043
|
* Unauthorized
|
|
3044
3044
|
*/
|
|
@@ -3051,35 +3051,27 @@ export type GithubInstallationRefreshErrors = {
|
|
|
3051
3051
|
403: {
|
|
3052
3052
|
error: string;
|
|
3053
3053
|
};
|
|
3054
|
-
/**
|
|
3055
|
-
* Not found
|
|
3056
|
-
*/
|
|
3057
|
-
404: {
|
|
3058
|
-
error: string;
|
|
3059
|
-
};
|
|
3060
3054
|
};
|
|
3061
|
-
export type
|
|
3062
|
-
export type
|
|
3055
|
+
export type GithubStatusError = GithubStatusErrors[keyof GithubStatusErrors];
|
|
3056
|
+
export type GithubStatusResponses = {
|
|
3063
3057
|
/**
|
|
3064
|
-
*
|
|
3058
|
+
* GitHub configuration status
|
|
3065
3059
|
*/
|
|
3066
|
-
200:
|
|
3060
|
+
200: GithubStatus;
|
|
3067
3061
|
};
|
|
3068
|
-
export type
|
|
3069
|
-
export type
|
|
3062
|
+
export type GithubStatusResponse = GithubStatusResponses[keyof GithubStatusResponses];
|
|
3063
|
+
export type GithubReposData = {
|
|
3070
3064
|
body?: never;
|
|
3071
|
-
path
|
|
3072
|
-
id: string;
|
|
3073
|
-
};
|
|
3065
|
+
path?: never;
|
|
3074
3066
|
query?: {
|
|
3075
3067
|
/**
|
|
3076
3068
|
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
3077
3069
|
*/
|
|
3078
3070
|
scope?: "user";
|
|
3079
3071
|
};
|
|
3080
|
-
url: "/api/github/
|
|
3072
|
+
url: "/api/github/repos";
|
|
3081
3073
|
};
|
|
3082
|
-
export type
|
|
3074
|
+
export type GithubReposErrors = {
|
|
3083
3075
|
/**
|
|
3084
3076
|
* Unauthorized
|
|
3085
3077
|
*/
|
|
@@ -3099,14 +3091,16 @@ export type GithubInstallationRemoveErrors = {
|
|
|
3099
3091
|
error: string;
|
|
3100
3092
|
};
|
|
3101
3093
|
};
|
|
3102
|
-
export type
|
|
3103
|
-
export type
|
|
3094
|
+
export type GithubReposError = GithubReposErrors[keyof GithubReposErrors];
|
|
3095
|
+
export type GithubReposResponses = {
|
|
3104
3096
|
/**
|
|
3105
|
-
*
|
|
3097
|
+
* Repositories
|
|
3106
3098
|
*/
|
|
3107
|
-
|
|
3099
|
+
200: Array<{
|
|
3100
|
+
fullName: string;
|
|
3101
|
+
}>;
|
|
3108
3102
|
};
|
|
3109
|
-
export type
|
|
3103
|
+
export type GithubReposResponse = GithubReposResponses[keyof GithubReposResponses];
|
|
3110
3104
|
export type McpListData = {
|
|
3111
3105
|
body?: never;
|
|
3112
3106
|
path?: never;
|
|
@@ -5241,6 +5235,57 @@ export type ProjectAgentRemoveResponses = {
|
|
|
5241
5235
|
200: ProjectAgent;
|
|
5242
5236
|
};
|
|
5243
5237
|
export type ProjectAgentRemoveResponse = ProjectAgentRemoveResponses[keyof ProjectAgentRemoveResponses];
|
|
5238
|
+
export type ProjectAgentUpdateData = {
|
|
5239
|
+
body?: {
|
|
5240
|
+
agentVersionId?: string | null;
|
|
5241
|
+
type?: "primary" | "subagent" | "all";
|
|
5242
|
+
};
|
|
5243
|
+
path: {
|
|
5244
|
+
id: string;
|
|
5245
|
+
agentId: string;
|
|
5246
|
+
};
|
|
5247
|
+
query?: {
|
|
5248
|
+
/**
|
|
5249
|
+
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
5250
|
+
*/
|
|
5251
|
+
scope?: "user";
|
|
5252
|
+
};
|
|
5253
|
+
url: "/api/projects/{id}/agents/{agentId}";
|
|
5254
|
+
};
|
|
5255
|
+
export type ProjectAgentUpdateErrors = {
|
|
5256
|
+
/**
|
|
5257
|
+
* Bad request
|
|
5258
|
+
*/
|
|
5259
|
+
400: {
|
|
5260
|
+
error: string;
|
|
5261
|
+
};
|
|
5262
|
+
/**
|
|
5263
|
+
* Unauthorized
|
|
5264
|
+
*/
|
|
5265
|
+
401: {
|
|
5266
|
+
error: string;
|
|
5267
|
+
};
|
|
5268
|
+
/**
|
|
5269
|
+
* Forbidden
|
|
5270
|
+
*/
|
|
5271
|
+
403: {
|
|
5272
|
+
error: string;
|
|
5273
|
+
};
|
|
5274
|
+
/**
|
|
5275
|
+
* Not found
|
|
5276
|
+
*/
|
|
5277
|
+
404: {
|
|
5278
|
+
error: string;
|
|
5279
|
+
};
|
|
5280
|
+
};
|
|
5281
|
+
export type ProjectAgentUpdateError = ProjectAgentUpdateErrors[keyof ProjectAgentUpdateErrors];
|
|
5282
|
+
export type ProjectAgentUpdateResponses = {
|
|
5283
|
+
/**
|
|
5284
|
+
* Updated agent membership
|
|
5285
|
+
*/
|
|
5286
|
+
200: ProjectAgent;
|
|
5287
|
+
};
|
|
5288
|
+
export type ProjectAgentUpdateResponse = ProjectAgentUpdateResponses[keyof ProjectAgentUpdateResponses];
|
|
5244
5289
|
export type ProjectFileStoreListData = {
|
|
5245
5290
|
body?: never;
|
|
5246
5291
|
path: {
|
|
@@ -7772,7 +7817,7 @@ export type WebhookTriggerArchiveResponses = {
|
|
|
7772
7817
|
200: WebhookTrigger;
|
|
7773
7818
|
};
|
|
7774
7819
|
export type WebhookTriggerArchiveResponse = WebhookTriggerArchiveResponses[keyof WebhookTriggerArchiveResponses];
|
|
7775
|
-
export type
|
|
7820
|
+
export type SlackUninstallData = {
|
|
7776
7821
|
body?: never;
|
|
7777
7822
|
path?: never;
|
|
7778
7823
|
query?: {
|
|
@@ -7781,9 +7826,9 @@ export type SlackStatusData = {
|
|
|
7781
7826
|
*/
|
|
7782
7827
|
scope?: "user";
|
|
7783
7828
|
};
|
|
7784
|
-
url: "/api/slack/
|
|
7829
|
+
url: "/api/slack/install";
|
|
7785
7830
|
};
|
|
7786
|
-
export type
|
|
7831
|
+
export type SlackUninstallErrors = {
|
|
7787
7832
|
/**
|
|
7788
7833
|
* Unauthorized
|
|
7789
7834
|
*/
|
|
@@ -7796,29 +7841,34 @@ export type SlackStatusErrors = {
|
|
|
7796
7841
|
403: {
|
|
7797
7842
|
error: string;
|
|
7798
7843
|
};
|
|
7844
|
+
/**
|
|
7845
|
+
* Not found
|
|
7846
|
+
*/
|
|
7847
|
+
404: {
|
|
7848
|
+
error: string;
|
|
7849
|
+
};
|
|
7799
7850
|
};
|
|
7800
|
-
export type
|
|
7801
|
-
export type
|
|
7851
|
+
export type SlackUninstallError = SlackUninstallErrors[keyof SlackUninstallErrors];
|
|
7852
|
+
export type SlackUninstallResponses = {
|
|
7802
7853
|
/**
|
|
7803
|
-
*
|
|
7854
|
+
* Removed
|
|
7804
7855
|
*/
|
|
7805
|
-
|
|
7856
|
+
204: void;
|
|
7806
7857
|
};
|
|
7807
|
-
export type
|
|
7808
|
-
export type
|
|
7858
|
+
export type SlackUninstallResponse = SlackUninstallResponses[keyof SlackUninstallResponses];
|
|
7859
|
+
export type SlackInstallData = {
|
|
7809
7860
|
body?: never;
|
|
7810
|
-
path
|
|
7811
|
-
id: string;
|
|
7812
|
-
};
|
|
7861
|
+
path?: never;
|
|
7813
7862
|
query?: {
|
|
7814
7863
|
/**
|
|
7815
7864
|
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
7816
7865
|
*/
|
|
7817
7866
|
scope?: "user";
|
|
7867
|
+
returnTo?: string;
|
|
7818
7868
|
};
|
|
7819
|
-
url: "/api/slack/
|
|
7869
|
+
url: "/api/slack/install";
|
|
7820
7870
|
};
|
|
7821
|
-
export type
|
|
7871
|
+
export type SlackInstallErrors = {
|
|
7822
7872
|
/**
|
|
7823
7873
|
* Unauthorized
|
|
7824
7874
|
*/
|
|
@@ -7831,35 +7881,60 @@ export type SlackInstallationRemoveErrors = {
|
|
|
7831
7881
|
403: {
|
|
7832
7882
|
error: string;
|
|
7833
7883
|
};
|
|
7884
|
+
};
|
|
7885
|
+
export type SlackInstallError = SlackInstallErrors[keyof SlackInstallErrors];
|
|
7886
|
+
export type SlackInstallResponses = {
|
|
7834
7887
|
/**
|
|
7835
|
-
*
|
|
7888
|
+
* Authorization URL for the user to visit
|
|
7836
7889
|
*/
|
|
7837
|
-
|
|
7890
|
+
200: SlackOAuthStartResult;
|
|
7891
|
+
};
|
|
7892
|
+
export type SlackInstallResponse = SlackInstallResponses[keyof SlackInstallResponses];
|
|
7893
|
+
export type SlackStatusData = {
|
|
7894
|
+
body?: never;
|
|
7895
|
+
path?: never;
|
|
7896
|
+
query?: {
|
|
7897
|
+
/**
|
|
7898
|
+
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
7899
|
+
*/
|
|
7900
|
+
scope?: "user";
|
|
7901
|
+
};
|
|
7902
|
+
url: "/api/slack/status";
|
|
7903
|
+
};
|
|
7904
|
+
export type SlackStatusErrors = {
|
|
7905
|
+
/**
|
|
7906
|
+
* Unauthorized
|
|
7907
|
+
*/
|
|
7908
|
+
401: {
|
|
7909
|
+
error: string;
|
|
7910
|
+
};
|
|
7911
|
+
/**
|
|
7912
|
+
* Forbidden
|
|
7913
|
+
*/
|
|
7914
|
+
403: {
|
|
7838
7915
|
error: string;
|
|
7839
7916
|
};
|
|
7840
7917
|
};
|
|
7841
|
-
export type
|
|
7842
|
-
export type
|
|
7918
|
+
export type SlackStatusError = SlackStatusErrors[keyof SlackStatusErrors];
|
|
7919
|
+
export type SlackStatusResponses = {
|
|
7843
7920
|
/**
|
|
7844
|
-
*
|
|
7921
|
+
* Slack installation status
|
|
7845
7922
|
*/
|
|
7846
|
-
|
|
7923
|
+
200: SlackStatus;
|
|
7847
7924
|
};
|
|
7848
|
-
export type
|
|
7849
|
-
export type
|
|
7925
|
+
export type SlackStatusResponse = SlackStatusResponses[keyof SlackStatusResponses];
|
|
7926
|
+
export type SlackChannelListData = {
|
|
7850
7927
|
body?: never;
|
|
7851
|
-
path
|
|
7852
|
-
id: string;
|
|
7853
|
-
};
|
|
7928
|
+
path?: never;
|
|
7854
7929
|
query?: {
|
|
7855
7930
|
/**
|
|
7856
7931
|
* Pass 'user' to scope the operation to the authenticated user's private namespace. Omit for the org-wide namespace.
|
|
7857
7932
|
*/
|
|
7858
7933
|
scope?: "user";
|
|
7859
7934
|
};
|
|
7860
|
-
url: "/api/slack/
|
|
7935
|
+
url: "/api/slack/channels";
|
|
7861
7936
|
};
|
|
7862
|
-
export type
|
|
7937
|
+
export type SlackChannelListErrors = {
|
|
7863
7938
|
/**
|
|
7864
7939
|
* Unauthorized
|
|
7865
7940
|
*/
|
|
@@ -7879,18 +7954,17 @@ export type SlackInstallationChannelListErrors = {
|
|
|
7879
7954
|
error: string;
|
|
7880
7955
|
};
|
|
7881
7956
|
};
|
|
7882
|
-
export type
|
|
7883
|
-
export type
|
|
7957
|
+
export type SlackChannelListError = SlackChannelListErrors[keyof SlackChannelListErrors];
|
|
7958
|
+
export type SlackChannelListResponses = {
|
|
7884
7959
|
/**
|
|
7885
7960
|
* Channels visible to the Ren bot
|
|
7886
7961
|
*/
|
|
7887
7962
|
200: Array<SlackChannel>;
|
|
7888
7963
|
};
|
|
7889
|
-
export type
|
|
7890
|
-
export type
|
|
7964
|
+
export type SlackChannelListResponse = SlackChannelListResponses[keyof SlackChannelListResponses];
|
|
7965
|
+
export type SlackChannelUnsetData = {
|
|
7891
7966
|
body?: never;
|
|
7892
7967
|
path: {
|
|
7893
|
-
id: string;
|
|
7894
7968
|
channelId: string;
|
|
7895
7969
|
};
|
|
7896
7970
|
query?: {
|
|
@@ -7899,9 +7973,9 @@ export type SlackInstallationChannelRemoveData = {
|
|
|
7899
7973
|
*/
|
|
7900
7974
|
scope?: "user";
|
|
7901
7975
|
};
|
|
7902
|
-
url: "/api/slack/
|
|
7976
|
+
url: "/api/slack/channels/{channelId}";
|
|
7903
7977
|
};
|
|
7904
|
-
export type
|
|
7978
|
+
export type SlackChannelUnsetErrors = {
|
|
7905
7979
|
/**
|
|
7906
7980
|
* Unauthorized
|
|
7907
7981
|
*/
|
|
@@ -7921,23 +7995,21 @@ export type SlackInstallationChannelRemoveErrors = {
|
|
|
7921
7995
|
error: string;
|
|
7922
7996
|
};
|
|
7923
7997
|
};
|
|
7924
|
-
export type
|
|
7925
|
-
export type
|
|
7998
|
+
export type SlackChannelUnsetError = SlackChannelUnsetErrors[keyof SlackChannelUnsetErrors];
|
|
7999
|
+
export type SlackChannelUnsetResponses = {
|
|
7926
8000
|
/**
|
|
7927
8001
|
* Updated installation
|
|
7928
8002
|
*/
|
|
7929
8003
|
200: SlackInstallationResponse;
|
|
7930
8004
|
};
|
|
7931
|
-
export type
|
|
7932
|
-
export type
|
|
8005
|
+
export type SlackChannelUnsetResponse = SlackChannelUnsetResponses[keyof SlackChannelUnsetResponses];
|
|
8006
|
+
export type SlackChannelSetData = {
|
|
7933
8007
|
body?: {
|
|
7934
|
-
channelName: string | null;
|
|
7935
8008
|
projectId: string;
|
|
7936
8009
|
defaultProjectAgentId: string | null;
|
|
7937
8010
|
fallbackSenderUserId: string | null;
|
|
7938
8011
|
};
|
|
7939
8012
|
path: {
|
|
7940
|
-
id: string;
|
|
7941
8013
|
channelId: string;
|
|
7942
8014
|
};
|
|
7943
8015
|
query?: {
|
|
@@ -7946,9 +8018,9 @@ export type SlackInstallationChannelSetData = {
|
|
|
7946
8018
|
*/
|
|
7947
8019
|
scope?: "user";
|
|
7948
8020
|
};
|
|
7949
|
-
url: "/api/slack/
|
|
8021
|
+
url: "/api/slack/channels/{channelId}";
|
|
7950
8022
|
};
|
|
7951
|
-
export type
|
|
8023
|
+
export type SlackChannelSetErrors = {
|
|
7952
8024
|
/**
|
|
7953
8025
|
* Bad request
|
|
7954
8026
|
*/
|
|
@@ -7974,14 +8046,14 @@ export type SlackInstallationChannelSetErrors = {
|
|
|
7974
8046
|
error: string;
|
|
7975
8047
|
};
|
|
7976
8048
|
};
|
|
7977
|
-
export type
|
|
7978
|
-
export type
|
|
8049
|
+
export type SlackChannelSetError = SlackChannelSetErrors[keyof SlackChannelSetErrors];
|
|
8050
|
+
export type SlackChannelSetResponses = {
|
|
7979
8051
|
/**
|
|
7980
8052
|
* Updated installation
|
|
7981
8053
|
*/
|
|
7982
8054
|
200: SlackInstallationResponse;
|
|
7983
8055
|
};
|
|
7984
|
-
export type
|
|
8056
|
+
export type SlackChannelSetResponse = SlackChannelSetResponses[keyof SlackChannelSetResponses];
|
|
7985
8057
|
export type VaultListData = {
|
|
7986
8058
|
body?: never;
|
|
7987
8059
|
path?: never;
|