@inkeep/agents-core 0.0.0-dev-20260327002553 → 0.0.0-dev-20260327070744

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.
Files changed (46) hide show
  1. package/dist/auth/auth-schema.d.ts +108 -108
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/auth.d.ts +6 -6
  4. package/dist/auth/init.js +42 -0
  5. package/dist/auth/permissions.d.ts +13 -13
  6. package/dist/client-exports.d.ts +2 -2
  7. package/dist/client-exports.js +2 -2
  8. package/dist/data-access/index.d.ts +2 -2
  9. package/dist/data-access/index.js +2 -2
  10. package/dist/data-access/manage/agents.d.ts +10 -10
  11. package/dist/data-access/manage/artifactComponents.d.ts +4 -4
  12. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  13. package/dist/data-access/manage/functionTools.d.ts +4 -4
  14. package/dist/data-access/manage/skills.d.ts +9 -9
  15. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
  16. package/dist/data-access/manage/subAgentRelations.d.ts +2 -2
  17. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
  18. package/dist/data-access/manage/subAgents.d.ts +6 -6
  19. package/dist/data-access/manage/tools.d.ts +12 -12
  20. package/dist/data-access/manage/triggers.d.ts +2 -2
  21. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  22. package/dist/data-access/runtime/apps.d.ts +54 -9
  23. package/dist/data-access/runtime/apps.js +15 -1
  24. package/dist/data-access/runtime/conversations.d.ts +25 -25
  25. package/dist/data-access/runtime/conversations.js +1 -0
  26. package/dist/data-access/runtime/messages.d.ts +6 -6
  27. package/dist/data-access/runtime/tasks.d.ts +6 -6
  28. package/dist/db/manage/manage-schema.d.ts +4 -4
  29. package/dist/db/runtime/runtime-schema.d.ts +362 -340
  30. package/dist/index.d.ts +6 -5
  31. package/dist/index.js +5 -4
  32. package/dist/types/index.d.ts +2 -2
  33. package/dist/types/utility.d.ts +9 -3
  34. package/dist/utils/conversations.d.ts +4 -1
  35. package/dist/utils/conversations.js +10 -1
  36. package/dist/utils/error.d.ts +51 -51
  37. package/dist/utils/index.d.ts +3 -2
  38. package/dist/utils/index.js +3 -2
  39. package/dist/utils/validate-public-key.d.ts +10 -0
  40. package/dist/utils/validate-public-key.js +89 -0
  41. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  42. package/dist/validation/index.d.ts +2 -2
  43. package/dist/validation/index.js +2 -2
  44. package/dist/validation/schemas.d.ts +2284 -1881
  45. package/dist/validation/schemas.js +37 -3
  46. package/package.json +1 -1
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
40
40
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
41
  encoding: "hex" | "base64";
42
42
  signature: {
43
- source: "query" | "body" | "header";
43
+ source: "query" | "header" | "body";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "body" | "header";
49
+ source: "literal" | "header" | "body";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -8,11 +8,10 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
- id: string;
12
11
  name: string | null;
12
+ id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- expiresAt: string | null;
16
15
  agentId: string;
17
16
  projectId: string;
18
17
  tenantId: string;
@@ -20,13 +19,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
20
19
  keyHash: string;
21
20
  keyPrefix: string;
22
21
  lastUsedAt: string | null;
22
+ expiresAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
- id: string;
26
25
  name: string | null;
26
+ id: string;
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
- expiresAt: string | null;
30
29
  agentId: string;
31
30
  projectId: string;
32
31
  tenantId: string;
@@ -34,16 +33,16 @@ declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: s
34
33
  keyHash: string;
35
34
  keyPrefix: string;
36
35
  lastUsedAt: string | null;
36
+ expiresAt: string | null;
37
37
  } | undefined>;
38
38
  declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
- id: string;
43
42
  name: string | null;
43
+ id: string;
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
- expiresAt: string | null;
47
46
  agentId: string;
48
47
  projectId: string;
49
48
  tenantId: string;
@@ -51,6 +50,7 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
51
50
  keyHash: string;
52
51
  keyPrefix: string;
53
52
  lastUsedAt: string | null;
53
+ expiresAt: string | null;
54
54
  }[]>;
55
55
  declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
56
56
  scopes: ProjectScopeConfig;
@@ -66,11 +66,10 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
- id: string;
70
69
  name: string | null;
70
+ id: string;
71
71
  createdAt: string;
72
72
  updatedAt: string;
73
- expiresAt: string | null;
74
73
  agentId: string;
75
74
  projectId: string;
76
75
  tenantId: string;
@@ -78,6 +77,7 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
78
77
  keyHash: string;
79
78
  keyPrefix: string;
80
79
  lastUsedAt: string | null;
80
+ expiresAt: string | null;
81
81
  }>;
82
82
  declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
83
83
  scopes: ProjectScopeConfig;
@@ -5,20 +5,31 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
5
5
 
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
- type: AppType;
9
- enabled: boolean;
10
- id: string;
11
8
  name: string;
9
+ id: string;
12
10
  createdAt: string;
13
11
  updatedAt: string;
14
- description: string | null;
15
12
  projectId: string | null;
16
13
  tenantId: string | null;
14
+ description: string | null;
15
+ type: AppType;
16
+ enabled: boolean;
17
17
  prompt: string | null;
18
18
  config: {
19
19
  type: "web_client";
20
20
  webClient: {
21
21
  allowedDomains: string[];
22
+ auth?: {
23
+ publicKeys: {
24
+ kid: string;
25
+ publicKey: string;
26
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
27
+ addedAt: string;
28
+ }[];
29
+ audience?: string | undefined;
30
+ validateScopeClaims?: boolean | undefined;
31
+ allowAnonymous?: boolean | undefined;
32
+ } | undefined;
22
33
  };
23
34
  } | {
24
35
  type: "api";
@@ -53,20 +64,31 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
53
64
  };
54
65
  }>;
55
66
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
56
- type: AppType;
57
- enabled: boolean;
58
- id: string;
59
67
  name: string;
68
+ id: string;
60
69
  createdAt: string;
61
70
  updatedAt: string;
62
- description: string | null;
63
71
  projectId: string | null;
64
72
  tenantId: string | null;
73
+ description: string | null;
74
+ type: AppType;
75
+ enabled: boolean;
65
76
  prompt: string | null;
66
77
  config: {
67
78
  type: "web_client";
68
79
  webClient: {
69
80
  allowedDomains: string[];
81
+ auth?: {
82
+ publicKeys: {
83
+ kid: string;
84
+ publicKey: string;
85
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
86
+ addedAt: string;
87
+ }[];
88
+ audience?: string | undefined;
89
+ validateScopeClaims?: boolean | undefined;
90
+ allowAnonymous?: boolean | undefined;
91
+ } | undefined;
70
92
  };
71
93
  } | {
72
94
  type: "api";
@@ -97,6 +119,18 @@ declare const deleteAppForProject: (db: AgentsRunDatabaseClient) => (params: {
97
119
  declare const deleteAppsByProject: (db: AgentsRunDatabaseClient) => (tenantId: string, projectId: string) => Promise<number>;
98
120
  declare const clearAppDefaultsByProject: (db: AgentsRunDatabaseClient) => (tenantId: string, projectId: string) => Promise<number>;
99
121
  declare const clearAppDefaultsByAgent: (db: AgentsRunDatabaseClient) => (tenantId: string, agentId: string) => Promise<number>;
122
+ declare const getAppAuthKeysForProject: (db: AgentsRunDatabaseClient) => (params: {
123
+ scopes: ProjectScopeConfig;
124
+ id: string;
125
+ }) => Promise<{
126
+ config: AppSelect["config"];
127
+ type: AppSelect["type"];
128
+ } | undefined>;
129
+ declare const updateAppAuthKeysForProject: (db: AgentsRunDatabaseClient) => (params: {
130
+ scopes: ProjectScopeConfig;
131
+ id: string;
132
+ config: AppSelect["config"];
133
+ }) => Promise<AppSelect | undefined>;
100
134
  declare const updateApp: (db: AgentsRunDatabaseClient) => (params: {
101
135
  id: string;
102
136
  data: AppUpdate;
@@ -117,6 +151,17 @@ declare const updateApp: (db: AgentsRunDatabaseClient) => (params: {
117
151
  type: "web_client";
118
152
  webClient: {
119
153
  allowedDomains: string[];
154
+ auth?: {
155
+ publicKeys: {
156
+ kid: string;
157
+ publicKey: string;
158
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
159
+ addedAt: string;
160
+ }[];
161
+ audience?: string | undefined;
162
+ validateScopeClaims?: boolean | undefined;
163
+ allowAnonymous?: boolean | undefined;
164
+ } | undefined;
120
165
  };
121
166
  } | {
122
167
  type: "api";
@@ -126,4 +171,4 @@ declare const updateApp: (db: AgentsRunDatabaseClient) => (params: {
126
171
  }>;
127
172
  declare const deleteApp: (db: AgentsRunDatabaseClient) => (id: string) => Promise<boolean>;
128
173
  //#endregion
129
- export { clearAppDefaultsByAgent, clearAppDefaultsByProject, createApp, deleteApp, deleteAppForProject, deleteAppForTenant, deleteAppsByProject, getAppById, getAppByIdForProject, getAppByIdForTenant, listAppsPaginated, updateApp, updateAppForProject, updateAppForTenant, updateAppLastUsed };
174
+ export { clearAppDefaultsByAgent, clearAppDefaultsByProject, createApp, deleteApp, deleteAppForProject, deleteAppForTenant, deleteAppsByProject, getAppAuthKeysForProject, getAppById, getAppByIdForProject, getAppByIdForTenant, listAppsPaginated, updateApp, updateAppAuthKeysForProject, updateAppForProject, updateAppForTenant, updateAppLastUsed };
@@ -76,6 +76,20 @@ const clearAppDefaultsByAgent = (db) => async (tenantId, agentId) => {
76
76
  updatedAt: (/* @__PURE__ */ new Date()).toISOString()
77
77
  }).where(and(tenantScopedWhere(apps, { tenantId }), eq(apps.defaultAgentId, agentId))).returning()).length;
78
78
  };
79
+ const getAppAuthKeysForProject = (db) => async (params) => {
80
+ return (await db.select({
81
+ config: apps.config,
82
+ type: apps.type
83
+ }).from(apps).where(and(eq(apps.id, params.id), projectScopedWhere(apps, params.scopes))).limit(1))[0];
84
+ };
85
+ const updateAppAuthKeysForProject = (db) => async (params) => {
86
+ const now = (/* @__PURE__ */ new Date()).toISOString();
87
+ const [updated] = await db.update(apps).set({
88
+ config: params.config,
89
+ updatedAt: now
90
+ }).where(and(eq(apps.id, params.id), projectScopedWhere(apps, params.scopes))).returning();
91
+ return updated;
92
+ };
79
93
  const updateApp = (db) => async (params) => {
80
94
  const now = (/* @__PURE__ */ new Date()).toISOString();
81
95
  const [updatedApp] = await db.update(apps).set({
@@ -91,4 +105,4 @@ const deleteApp = (db) => async (id) => {
91
105
  };
92
106
 
93
107
  //#endregion
94
- export { clearAppDefaultsByAgent, clearAppDefaultsByProject, createApp, deleteApp, deleteAppForProject, deleteAppForTenant, deleteAppsByProject, getAppById, getAppByIdForProject, getAppByIdForTenant, listAppsPaginated, updateApp, updateAppForProject, updateAppForTenant, updateAppLastUsed };
108
+ export { clearAppDefaultsByAgent, clearAppDefaultsByProject, createApp, deleteApp, deleteAppForProject, deleteAppForTenant, deleteAppsByProject, getAppAuthKeysForProject, getAppById, getAppByIdForProject, getAppByIdForTenant, listAppsPaginated, updateApp, updateAppAuthKeysForProject, updateAppForProject, updateAppForTenant, updateAppLastUsed };
@@ -3,7 +3,6 @@ import { ProjectScopeConfig } from "../../db/manage/scope-definitions.js";
3
3
  import { ConversationHistoryConfig, ConversationMetadata, PaginationConfig } from "../../types/utility.js";
4
4
  import "../../types/index.js";
5
5
  import { AgentsRunDatabaseClient } from "../../db/runtime/runtime-client.js";
6
- import "../../index.js";
7
6
  import { ConversationInsert, ConversationSelect, ConversationUpdate, MessageSelect } from "../../types/entities.js";
8
7
 
9
8
  //#region src/data-access/runtime/conversations.d.ts
@@ -19,17 +18,17 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
19
18
  id: string;
20
19
  createdAt: string;
21
20
  updatedAt: string;
21
+ agentId: string | null;
22
+ projectId: string;
23
+ tenantId: string;
24
+ title: string | null;
25
+ metadata: ConversationMetadata | null;
26
+ userId: string | null;
22
27
  ref: {
23
28
  type: "commit" | "tag" | "branch";
24
29
  name: string;
25
30
  hash: string;
26
31
  } | null;
27
- userId: string | null;
28
- metadata: ConversationMetadata | null;
29
- agentId: string | null;
30
- projectId: string;
31
- tenantId: string;
32
- title: string | null;
33
32
  activeSubAgentId: string;
34
33
  lastContextResolution: string | null;
35
34
  }>;
@@ -88,17 +87,17 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
88
87
  id: string;
89
88
  createdAt: string;
90
89
  updatedAt: string;
90
+ agentId: string | null;
91
+ projectId: string;
92
+ tenantId: string;
93
+ title: string | null;
94
+ metadata: ConversationMetadata | null;
95
+ userId: string | null;
91
96
  ref: {
92
97
  type: "commit" | "tag" | "branch";
93
98
  name: string;
94
99
  hash: string;
95
100
  } | null;
96
- userId: string | null;
97
- metadata: ConversationMetadata | null;
98
- agentId: string | null;
99
- projectId: string;
100
- tenantId: string;
101
- title: string | null;
102
101
  activeSubAgentId: string;
103
102
  lastContextResolution: string | null;
104
103
  } | undefined>;
@@ -124,17 +123,17 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
124
123
  id: string;
125
124
  createdAt: string;
126
125
  updatedAt: string;
126
+ agentId: string | null;
127
+ projectId: string;
128
+ tenantId: string;
129
+ title: string | null;
130
+ metadata: ConversationMetadata | null;
131
+ userId: string | null;
127
132
  ref: {
128
133
  type: "commit" | "tag" | "branch";
129
134
  name: string;
130
135
  hash: string;
131
136
  } | null;
132
- userId: string | null;
133
- metadata: ConversationMetadata | null;
134
- agentId: string | null;
135
- projectId: string;
136
- tenantId: string;
137
- title: string | null;
138
137
  activeSubAgentId: string;
139
138
  lastContextResolution: string | null;
140
139
  }>;
@@ -156,17 +155,17 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
156
155
  id: string;
157
156
  createdAt: string;
158
157
  updatedAt: string;
158
+ agentId: string | null;
159
+ projectId: string;
160
+ tenantId: string;
161
+ title: string | null;
162
+ metadata: ConversationMetadata | null;
163
+ userId: string | null;
159
164
  ref: {
160
165
  type: "commit" | "tag" | "branch";
161
166
  name: string;
162
167
  hash: string;
163
168
  } | null;
164
- userId: string | null;
165
- metadata: ConversationMetadata | null;
166
- agentId: string | null;
167
- projectId: string;
168
- tenantId: string;
169
- title: string | null;
170
169
  activeSubAgentId: string;
171
170
  lastContextResolution: string | null;
172
171
  } | undefined>;
@@ -180,6 +179,7 @@ declare const setActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
180
179
  agentId: string;
181
180
  ref: ResolvedRef;
182
181
  userId?: string;
182
+ metadata?: ConversationMetadata;
183
183
  }) => Promise<void>;
184
184
  declare const setActiveAgentForThread: (db: AgentsRunDatabaseClient) => ({
185
185
  scopes,
@@ -175,6 +175,7 @@ const setActiveAgentForConversation = (db) => async (params) => {
175
175
  agentId: params.agentId,
176
176
  ref: params.ref,
177
177
  userId: params.userId,
178
+ metadata: params.metadata,
178
179
  createdAt: (/* @__PURE__ */ new Date()).toISOString(),
179
180
  updatedAt: (/* @__PURE__ */ new Date()).toISOString()
180
181
  }).onConflictDoUpdate({
@@ -13,10 +13,9 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
13
13
  id: string;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
- metadata: MessageMetadata | null;
17
- role: string;
18
16
  projectId: string;
19
17
  tenantId: string;
18
+ metadata: MessageMetadata | null;
20
19
  content: MessageContent;
21
20
  fromSubAgentId: string | null;
22
21
  toSubAgentId: string | null;
@@ -25,6 +24,7 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
25
24
  taskId: string | null;
26
25
  a2aTaskId: string | null;
27
26
  conversationId: string;
27
+ role: string;
28
28
  fromTeamAgentId: string | null;
29
29
  toTeamAgentId: string | null;
30
30
  visibility: string;
@@ -147,10 +147,9 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
147
147
  id: string;
148
148
  createdAt: string;
149
149
  updatedAt: string;
150
- metadata: MessageMetadata | null;
151
- role: string;
152
150
  projectId: string;
153
151
  tenantId: string;
152
+ metadata: MessageMetadata | null;
154
153
  content: MessageContent;
155
154
  fromSubAgentId: string | null;
156
155
  toSubAgentId: string | null;
@@ -159,6 +158,7 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
159
158
  taskId: string | null;
160
159
  a2aTaskId: string | null;
161
160
  conversationId: string;
161
+ role: string;
162
162
  fromTeamAgentId: string | null;
163
163
  toTeamAgentId: string | null;
164
164
  visibility: string;
@@ -200,10 +200,9 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
200
200
  id: string;
201
201
  createdAt: string;
202
202
  updatedAt: string;
203
- metadata: MessageMetadata | null;
204
- role: string;
205
203
  projectId: string;
206
204
  tenantId: string;
205
+ metadata: MessageMetadata | null;
207
206
  content: MessageContent;
208
207
  fromSubAgentId: string | null;
209
208
  toSubAgentId: string | null;
@@ -212,6 +211,7 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
212
211
  taskId: string | null;
213
212
  a2aTaskId: string | null;
214
213
  conversationId: string;
214
+ role: string;
215
215
  fromTeamAgentId: string | null;
216
216
  toTeamAgentId: string | null;
217
217
  visibility: string;
@@ -10,17 +10,17 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
10
10
  id: string;
11
11
  createdAt: string;
12
12
  updatedAt: string;
13
+ agentId: string;
14
+ projectId: string;
15
+ tenantId: string;
16
+ metadata: TaskMetadataConfig | null;
17
+ subAgentId: string;
18
+ status: string;
13
19
  ref: {
14
20
  type: "commit" | "tag" | "branch";
15
21
  name: string;
16
22
  hash: string;
17
23
  } | null;
18
- metadata: TaskMetadataConfig | null;
19
- status: string;
20
- agentId: string;
21
- projectId: string;
22
- tenantId: string;
23
- subAgentId: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
@@ -834,13 +834,13 @@ declare const triggers: drizzle_orm_pg_core1777.PgTableWithColumns<{
834
834
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
835
835
  encoding: "hex" | "base64";
836
836
  signature: {
837
- source: "query" | "body" | "header";
837
+ source: "query" | "header" | "body";
838
838
  key: string;
839
839
  prefix?: string | undefined;
840
840
  regex?: string | undefined;
841
841
  };
842
842
  signedComponents: {
843
- source: "literal" | "body" | "header";
843
+ source: "literal" | "header" | "body";
844
844
  required: boolean;
845
845
  key?: string | undefined;
846
846
  value?: string | undefined;
@@ -871,13 +871,13 @@ declare const triggers: drizzle_orm_pg_core1777.PgTableWithColumns<{
871
871
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
872
872
  encoding: "hex" | "base64";
873
873
  signature: {
874
- source: "query" | "body" | "header";
874
+ source: "query" | "header" | "body";
875
875
  key: string;
876
876
  prefix?: string | undefined;
877
877
  regex?: string | undefined;
878
878
  };
879
879
  signedComponents: {
880
- source: "literal" | "body" | "header";
880
+ source: "literal" | "header" | "body";
881
881
  required: boolean;
882
882
  key?: string | undefined;
883
883
  value?: string | undefined;