samva 0.25.0 → 0.27.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,271 @@
1
+ import { AgentDefinition, AgentName, ApiKeySecurityMiddleware, ConflictError, Cursor, ForbiddenError, GatewayTimeoutError, InternalError, NamespaceId, ResourceNotFoundError, UnauthorizedError, ValidationError, VersionCursor } from "./shared.js";
2
+ import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
3
+ import * as Schema from "effect/Schema";
4
+ //#region src/effect/generated/agents.ts
5
+ const AgentId = /* @__PURE__ */ Schema.String.check(Schema.isPattern(/* @__PURE__ */ new RegExp("^agt_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
6
+ expected: "a string matching the RegExp ^agt_[0-9a-hjkmnp-tv-z]{16,24}$",
7
+ identifier: "AgentId"
8
+ })).pipe(Schema.brand("AgentId"));
9
+ const DeleteAgentResponse = /* @__PURE__ */ Schema.Struct({
10
+ id: AgentId,
11
+ deleted: Schema.Literal(true)
12
+ }).annotate({ identifier: "DeleteAgentResponse" });
13
+ const AgentVersionSummary = /* @__PURE__ */ Schema.Struct({
14
+ agentId: AgentId,
15
+ version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
16
+ publishedAt: Schema.String
17
+ }).annotate({ identifier: "AgentVersionSummary" });
18
+ const AgentListItem = /* @__PURE__ */ Schema.Struct({
19
+ id: AgentId,
20
+ name: Schema.String,
21
+ namespaceId: Schema.Union([NamespaceId, Schema.Null]),
22
+ publishedVersion: Schema.Union([Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })), Schema.Null]),
23
+ publishedAt: Schema.Union([Schema.String, Schema.Null]),
24
+ createdAt: Schema.String,
25
+ updatedAt: Schema.String
26
+ }).annotate({ identifier: "AgentListItem" });
27
+ const AgentVersionPage = /* @__PURE__ */ Schema.Struct({
28
+ items: Schema.Array(AgentVersionSummary),
29
+ nextCursor: Schema.Union([Schema.String, Schema.Null])
30
+ }).annotate({ identifier: "AgentVersionPage" });
31
+ const AgentPage = /* @__PURE__ */ Schema.Struct({
32
+ items: Schema.Array(AgentListItem),
33
+ nextCursor: Schema.Union([Schema.String, Schema.Null])
34
+ }).annotate({ identifier: "AgentPage" });
35
+ const Agent = /* @__PURE__ */ Schema.Struct({
36
+ id: AgentId,
37
+ name: Schema.String,
38
+ namespaceId: Schema.Union([NamespaceId, Schema.Null]),
39
+ revision: Schema.String,
40
+ draft: AgentDefinition,
41
+ publishedVersion: Schema.Union([Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })), Schema.Null]),
42
+ publishedAt: Schema.Union([Schema.String, Schema.Null]),
43
+ createdAt: Schema.String,
44
+ updatedAt: Schema.String
45
+ }).annotate({ identifier: "Agent" });
46
+ const AgentVersion = /* @__PURE__ */ Schema.Struct({
47
+ agentId: AgentId,
48
+ version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
49
+ definition: AgentDefinition,
50
+ publishedAt: Schema.String
51
+ }).annotate({ identifier: "AgentVersion" });
52
+ const PublishAgentResponse = /* @__PURE__ */ Schema.Struct({
53
+ agent: Agent,
54
+ version: AgentVersion,
55
+ published: Schema.Boolean
56
+ }).annotate({ identifier: "PublishAgentResponse" });
57
+ const AgentsListQuery = /* @__PURE__ */ Schema.Struct({
58
+ limit: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
59
+ cursor: Schema.optionalKey(Schema.Union([Cursor, Schema.Null]))
60
+ });
61
+ const AgentsList200 = AgentPage;
62
+ const AgentsList401 = UnauthorizedError;
63
+ const AgentsList403 = ForbiddenError;
64
+ const AgentsList422 = ValidationError;
65
+ const AgentsList500 = InternalError;
66
+ const AgentsList504 = GatewayTimeoutError;
67
+ const AgentsCreateRequestJson = /* @__PURE__ */ Schema.Struct({
68
+ name: AgentName,
69
+ namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null]).annotate({ description: "The namespace the agent belongs to; it cannot move later. Omit for an organization-level agent. A namespace-scoped key always creates in its own namespace." })),
70
+ definition: Schema.optionalKey(Schema.Union([AgentDefinition, Schema.Null]).annotate({
71
+ description: "The first draft. Defaults to an agent with no instructions, knowledge, or endpoints, in supervised mode on the standard model.",
72
+ default: {
73
+ instructions: "",
74
+ knowledge: "",
75
+ endpointIds: [],
76
+ integrationIds: [],
77
+ mode: "supervised",
78
+ model: "standard",
79
+ approvalPolicy: "toolActions",
80
+ workingHours: null,
81
+ takeoverTimeoutMinutes: 30
82
+ }
83
+ }))
84
+ });
85
+ const AgentsCreate201 = Agent;
86
+ const AgentsCreate401 = UnauthorizedError;
87
+ const AgentsCreate403 = ForbiddenError;
88
+ const AgentsCreate404 = ResourceNotFoundError;
89
+ const AgentsCreate422 = ValidationError;
90
+ const AgentsCreate500 = InternalError;
91
+ const AgentsCreate504 = GatewayTimeoutError;
92
+ const AgentsGetPathParams = /* @__PURE__ */ Schema.Struct({ id: AgentId });
93
+ const AgentsGet200 = Agent;
94
+ const AgentsGet401 = UnauthorizedError;
95
+ const AgentsGet403 = ForbiddenError;
96
+ const AgentsGet404 = ResourceNotFoundError;
97
+ const AgentsGet422 = ValidationError;
98
+ const AgentsGet500 = InternalError;
99
+ const AgentsGet504 = GatewayTimeoutError;
100
+ const AgentsRemovePathParams = /* @__PURE__ */ Schema.Struct({ id: AgentId });
101
+ const AgentsRemove200 = DeleteAgentResponse;
102
+ const AgentsRemove401 = UnauthorizedError;
103
+ const AgentsRemove403 = ForbiddenError;
104
+ const AgentsRemove404 = ResourceNotFoundError;
105
+ const AgentsRemove422 = ValidationError;
106
+ const AgentsRemove500 = InternalError;
107
+ const AgentsRemove504 = GatewayTimeoutError;
108
+ const AgentsUpdatePathParams = /* @__PURE__ */ Schema.Struct({ id: AgentId });
109
+ const AgentsUpdateRequestJson = /* @__PURE__ */ Schema.Struct({ name: AgentName });
110
+ const AgentsUpdate200 = Agent;
111
+ const AgentsUpdate401 = UnauthorizedError;
112
+ const AgentsUpdate403 = ForbiddenError;
113
+ const AgentsUpdate404 = ResourceNotFoundError;
114
+ const AgentsUpdate422 = ValidationError;
115
+ const AgentsUpdate500 = InternalError;
116
+ const AgentsUpdate504 = GatewayTimeoutError;
117
+ const AgentsReplaceDraftPathParams = /* @__PURE__ */ Schema.Struct({ id: AgentId });
118
+ const AgentsReplaceDraftRequestJson = /* @__PURE__ */ Schema.Struct({
119
+ revision: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
120
+ definition: AgentDefinition
121
+ });
122
+ const AgentsReplaceDraft200 = Agent;
123
+ const AgentsReplaceDraft401 = UnauthorizedError;
124
+ const AgentsReplaceDraft403 = ForbiddenError;
125
+ const AgentsReplaceDraft404 = ResourceNotFoundError;
126
+ const AgentsReplaceDraft409 = ConflictError;
127
+ const AgentsReplaceDraft422 = ValidationError;
128
+ const AgentsReplaceDraft500 = InternalError;
129
+ const AgentsReplaceDraft504 = GatewayTimeoutError;
130
+ const AgentsPublishPathParams = /* @__PURE__ */ Schema.Struct({ id: AgentId });
131
+ const AgentsPublishRequestJson = /* @__PURE__ */ Schema.Struct({ revision: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })) });
132
+ const AgentsPublish200 = PublishAgentResponse;
133
+ const AgentsPublish401 = UnauthorizedError;
134
+ const AgentsPublish403 = ForbiddenError;
135
+ const AgentsPublish404 = ResourceNotFoundError;
136
+ const AgentsPublish409 = ConflictError;
137
+ const AgentsPublish422 = ValidationError;
138
+ const AgentsPublish500 = InternalError;
139
+ const AgentsPublish504 = GatewayTimeoutError;
140
+ const AgentsListVersionsPathParams = /* @__PURE__ */ Schema.Struct({ id: AgentId });
141
+ const AgentsListVersionsQuery = /* @__PURE__ */ Schema.Struct({
142
+ limit: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
143
+ cursor: Schema.optionalKey(Schema.Union([VersionCursor, Schema.Null]))
144
+ });
145
+ const AgentsListVersions200 = AgentVersionPage;
146
+ const AgentsListVersions401 = UnauthorizedError;
147
+ const AgentsListVersions403 = ForbiddenError;
148
+ const AgentsListVersions404 = ResourceNotFoundError;
149
+ const AgentsListVersions422 = ValidationError;
150
+ const AgentsListVersions500 = InternalError;
151
+ const AgentsListVersions504 = GatewayTimeoutError;
152
+ const AgentsGetVersionPathParams = /* @__PURE__ */ Schema.Struct({
153
+ id: AgentId,
154
+ version: Schema.String
155
+ });
156
+ const AgentsGetVersion200 = AgentVersion;
157
+ const AgentsGetVersion401 = UnauthorizedError;
158
+ const AgentsGetVersion403 = ForbiddenError;
159
+ const AgentsGetVersion404 = ResourceNotFoundError;
160
+ const AgentsGetVersion422 = ValidationError;
161
+ const AgentsGetVersion500 = InternalError;
162
+ const AgentsGetVersion504 = GatewayTimeoutError;
163
+ var AgentsGroup = class extends HttpApiGroup.make("Agents").add(HttpApiEndpoint.get("agentsList", "/v1/agents", {
164
+ query: AgentsListQuery,
165
+ success: AgentsList200,
166
+ error: [
167
+ AgentsList401.pipe(HttpApiSchema.status(401)),
168
+ AgentsList403.pipe(HttpApiSchema.status(403)),
169
+ AgentsList422.pipe(HttpApiSchema.status(422)),
170
+ AgentsList500,
171
+ AgentsList504.pipe(HttpApiSchema.status(504))
172
+ ]
173
+ }).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.list").annotate(OpenApi.Summary, "List agents").annotate(OpenApi.Description, "Returns the agents the caller can reach, newest first, without their drafts. Pass nextCursor back as cursor for the next page."), HttpApiEndpoint.post("agentsCreate", "/v1/agents", {
174
+ payload: AgentsCreateRequestJson,
175
+ success: AgentsCreate201.pipe(HttpApiSchema.status(201)),
176
+ error: [
177
+ AgentsCreate401.pipe(HttpApiSchema.status(401)),
178
+ AgentsCreate403.pipe(HttpApiSchema.status(403)),
179
+ AgentsCreate404.pipe(HttpApiSchema.status(404)),
180
+ AgentsCreate422.pipe(HttpApiSchema.status(422)),
181
+ AgentsCreate500,
182
+ AgentsCreate504.pipe(HttpApiSchema.status(504))
183
+ ]
184
+ }).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.create").annotate(OpenApi.Summary, "Create an agent").annotate(OpenApi.Description, "Creates an agent with a draft and returns it with status 201. The agent answers nothing until its draft is published. A new agent starts in supervised mode, so each reply waits for a person to approve it. The namespace is set at creation and cannot change."), HttpApiEndpoint.get("agentsGet", "/v1/agents/:id", {
185
+ params: AgentsGetPathParams,
186
+ success: AgentsGet200,
187
+ error: [
188
+ AgentsGet401.pipe(HttpApiSchema.status(401)),
189
+ AgentsGet403.pipe(HttpApiSchema.status(403)),
190
+ AgentsGet404.pipe(HttpApiSchema.status(404)),
191
+ AgentsGet422.pipe(HttpApiSchema.status(422)),
192
+ AgentsGet500,
193
+ AgentsGet504.pipe(HttpApiSchema.status(504))
194
+ ]
195
+ }).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.get").annotate(OpenApi.Summary, "Get an agent").annotate(OpenApi.Description, "Returns an agent with its draft, its current revision, and its newest published version number."), HttpApiEndpoint.delete("agentsRemove", "/v1/agents/:id", {
196
+ params: AgentsRemovePathParams,
197
+ success: AgentsRemove200,
198
+ error: [
199
+ AgentsRemove401.pipe(HttpApiSchema.status(401)),
200
+ AgentsRemove403.pipe(HttpApiSchema.status(403)),
201
+ AgentsRemove404.pipe(HttpApiSchema.status(404)),
202
+ AgentsRemove422.pipe(HttpApiSchema.status(422)),
203
+ AgentsRemove500,
204
+ AgentsRemove504.pipe(HttpApiSchema.status(504))
205
+ ]
206
+ }).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.remove").annotate(OpenApi.Summary, "Delete an agent").annotate(OpenApi.Description, "Deletes an agent with its draft and published versions. The endpoints it answered on stop being answered by an agent. A reply already running finishes on the version it started on."), HttpApiEndpoint.patch("agentsUpdate", "/v1/agents/:id", {
207
+ params: AgentsUpdatePathParams,
208
+ payload: AgentsUpdateRequestJson,
209
+ success: AgentsUpdate200,
210
+ error: [
211
+ AgentsUpdate401.pipe(HttpApiSchema.status(401)),
212
+ AgentsUpdate403.pipe(HttpApiSchema.status(403)),
213
+ AgentsUpdate404.pipe(HttpApiSchema.status(404)),
214
+ AgentsUpdate422.pipe(HttpApiSchema.status(422)),
215
+ AgentsUpdate500,
216
+ AgentsUpdate504.pipe(HttpApiSchema.status(504))
217
+ ]
218
+ }).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.update").annotate(OpenApi.Summary, "Rename an agent").annotate(OpenApi.Description, "Renames an agent."), HttpApiEndpoint.put("agentsReplaceDraft", "/v1/agents/:id/draft", {
219
+ params: AgentsReplaceDraftPathParams,
220
+ payload: AgentsReplaceDraftRequestJson,
221
+ success: AgentsReplaceDraft200,
222
+ error: [
223
+ AgentsReplaceDraft401.pipe(HttpApiSchema.status(401)),
224
+ AgentsReplaceDraft403.pipe(HttpApiSchema.status(403)),
225
+ AgentsReplaceDraft404.pipe(HttpApiSchema.status(404)),
226
+ AgentsReplaceDraft409.pipe(HttpApiSchema.status(409)),
227
+ AgentsReplaceDraft422.pipe(HttpApiSchema.status(422)),
228
+ AgentsReplaceDraft500,
229
+ AgentsReplaceDraft504.pipe(HttpApiSchema.status(504))
230
+ ]
231
+ }).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.replaceDraft").annotate(OpenApi.Summary, "Replace an agent draft").annotate(OpenApi.Description, "Replaces the whole draft and returns the agent with a new revision. The request names the revision it read; a stale revision returns 409. Published versions, and the conversations answered on them, do not change. An endpoint answers for one agent at a time: a draft that names an endpoint another agent answers on returns 409."), HttpApiEndpoint.post("agentsPublish", "/v1/agents/:id/publish", {
232
+ params: AgentsPublishPathParams,
233
+ payload: AgentsPublishRequestJson,
234
+ success: AgentsPublish200,
235
+ error: [
236
+ AgentsPublish401.pipe(HttpApiSchema.status(401)),
237
+ AgentsPublish403.pipe(HttpApiSchema.status(403)),
238
+ AgentsPublish404.pipe(HttpApiSchema.status(404)),
239
+ AgentsPublish409.pipe(HttpApiSchema.status(409)),
240
+ AgentsPublish422.pipe(HttpApiSchema.status(422)),
241
+ AgentsPublish500,
242
+ AgentsPublish504.pipe(HttpApiSchema.status(504))
243
+ ]
244
+ }).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.publish").annotate(OpenApi.Summary, "Publish an agent").annotate(OpenApi.Description, "Publishes the draft as the next immutable version. Each conversation moves to it from its next agent reply; a reply already running finishes on the version it started on. The request names the revision it read; a stale revision returns 409. Publishing a draft identical to the newest version changes nothing and answers published false. An endpoint answers for one agent at a time: publishing a draft whose endpoint another agent answers on returns 409. In supervised mode each reply waits for a person to approve it."), HttpApiEndpoint.get("agentsListVersions", "/v1/agents/:id/versions", {
245
+ params: AgentsListVersionsPathParams,
246
+ query: AgentsListVersionsQuery,
247
+ success: AgentsListVersions200,
248
+ error: [
249
+ AgentsListVersions401.pipe(HttpApiSchema.status(401)),
250
+ AgentsListVersions403.pipe(HttpApiSchema.status(403)),
251
+ AgentsListVersions404.pipe(HttpApiSchema.status(404)),
252
+ AgentsListVersions422.pipe(HttpApiSchema.status(422)),
253
+ AgentsListVersions500,
254
+ AgentsListVersions504.pipe(HttpApiSchema.status(504))
255
+ ]
256
+ }).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.listVersions").annotate(OpenApi.Summary, "List published agent versions").annotate(OpenApi.Description, "Returns an agent's published versions, newest first, without their definitions. Pass nextCursor back as cursor for the next page."), HttpApiEndpoint.get("agentsGetVersion", "/v1/agents/:id/versions/:version", {
257
+ params: AgentsGetVersionPathParams,
258
+ success: AgentsGetVersion200,
259
+ error: [
260
+ AgentsGetVersion401.pipe(HttpApiSchema.status(401)),
261
+ AgentsGetVersion403.pipe(HttpApiSchema.status(403)),
262
+ AgentsGetVersion404.pipe(HttpApiSchema.status(404)),
263
+ AgentsGetVersion422.pipe(HttpApiSchema.status(422)),
264
+ AgentsGetVersion500,
265
+ AgentsGetVersion504.pipe(HttpApiSchema.status(504))
266
+ ]
267
+ }).middleware(ApiKeySecurityMiddleware).annotate(OpenApi.Identifier, "agents.getVersion").annotate(OpenApi.Summary, "Get a published agent version").annotate(OpenApi.Description, "Returns the immutable definition of one published version.")).annotate(OpenApi.Description, "Agents that answer conversations on your mailbox endpoints, with a draft, published versions, and rules for supervision, hours, and staff takeover") {};
268
+ //#endregion
269
+ export { Agent, AgentId, AgentListItem, AgentPage, AgentVersion, AgentVersionPage, AgentVersionSummary, AgentsCreate201, AgentsCreate401, AgentsCreate403, AgentsCreate404, AgentsCreate422, AgentsCreate500, AgentsCreate504, AgentsCreateRequestJson, AgentsGet200, AgentsGet401, AgentsGet403, AgentsGet404, AgentsGet422, AgentsGet500, AgentsGet504, AgentsGetPathParams, AgentsGetVersion200, AgentsGetVersion401, AgentsGetVersion403, AgentsGetVersion404, AgentsGetVersion422, AgentsGetVersion500, AgentsGetVersion504, AgentsGetVersionPathParams, AgentsGroup, AgentsList200, AgentsList401, AgentsList403, AgentsList422, AgentsList500, AgentsList504, AgentsListQuery, AgentsListVersions200, AgentsListVersions401, AgentsListVersions403, AgentsListVersions404, AgentsListVersions422, AgentsListVersions500, AgentsListVersions504, AgentsListVersionsPathParams, AgentsListVersionsQuery, AgentsPublish200, AgentsPublish401, AgentsPublish403, AgentsPublish404, AgentsPublish409, AgentsPublish422, AgentsPublish500, AgentsPublish504, AgentsPublishPathParams, AgentsPublishRequestJson, AgentsRemove200, AgentsRemove401, AgentsRemove403, AgentsRemove404, AgentsRemove422, AgentsRemove500, AgentsRemove504, AgentsRemovePathParams, AgentsReplaceDraft200, AgentsReplaceDraft401, AgentsReplaceDraft403, AgentsReplaceDraft404, AgentsReplaceDraft409, AgentsReplaceDraft422, AgentsReplaceDraft500, AgentsReplaceDraft504, AgentsReplaceDraftPathParams, AgentsReplaceDraftRequestJson, AgentsUpdate200, AgentsUpdate401, AgentsUpdate403, AgentsUpdate404, AgentsUpdate422, AgentsUpdate500, AgentsUpdate504, AgentsUpdatePathParams, AgentsUpdateRequestJson, DeleteAgentResponse, PublishAgentResponse };
270
+
271
+ //# sourceMappingURL=agents.js.map
@@ -138,6 +138,7 @@ export declare const CampaignContent: Schema.Struct<{
138
138
  readonly footer: Schema.optionalKey<Schema.Struct<{
139
139
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
140
140
  }>>;
141
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
141
142
  }>;
142
143
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
143
144
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -178,6 +179,7 @@ export declare const CampaignContentInput: Schema.Struct<{
178
179
  readonly footer: Schema.optionalKey<Schema.Struct<{
179
180
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
180
181
  }>>;
182
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
181
183
  }>;
182
184
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
183
185
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -232,6 +234,7 @@ export declare const CampaignListItem: Schema.Struct<{
232
234
  readonly footer: Schema.optionalKey<Schema.Struct<{
233
235
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
234
236
  }>>;
237
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
235
238
  }>;
236
239
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
237
240
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -318,6 +321,7 @@ export declare const Campaign: Schema.Struct<{
318
321
  readonly footer: Schema.optionalKey<Schema.Struct<{
319
322
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
320
323
  }>>;
324
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
321
325
  }>;
322
326
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
323
327
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -422,6 +426,7 @@ export declare const CampaignRun: Schema.Struct<{
422
426
  readonly footer: Schema.optionalKey<Schema.Struct<{
423
427
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
424
428
  }>>;
429
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
425
430
  }>;
426
431
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
427
432
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -497,6 +502,7 @@ export declare const CampaignPage: Schema.Struct<{
497
502
  readonly footer: Schema.optionalKey<Schema.Struct<{
498
503
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
499
504
  }>>;
505
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
500
506
  }>;
501
507
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
502
508
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -579,6 +585,7 @@ export declare const CampaignRunPage: Schema.Struct<{
579
585
  readonly footer: Schema.optionalKey<Schema.Struct<{
580
586
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
581
587
  }>>;
588
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
582
589
  }>;
583
590
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
584
591
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -661,6 +668,7 @@ export declare const CampaignRunAction: Schema.Struct<{
661
668
  readonly footer: Schema.optionalKey<Schema.Struct<{
662
669
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
663
670
  }>>;
671
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
664
672
  }>;
665
673
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
666
674
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -744,6 +752,7 @@ export declare const CampaignsList200: Schema.Struct<{
744
752
  readonly footer: Schema.optionalKey<Schema.Struct<{
745
753
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
746
754
  }>>;
755
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
747
756
  }>;
748
757
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
749
758
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -833,6 +842,7 @@ export declare const CampaignsCreateRequestJson: Schema.Struct<{
833
842
  readonly footer: Schema.optionalKey<Schema.Struct<{
834
843
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
835
844
  }>>;
845
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
836
846
  }>;
837
847
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
838
848
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -883,6 +893,7 @@ export declare const CampaignsCreate201: Schema.Struct<{
883
893
  readonly footer: Schema.optionalKey<Schema.Struct<{
884
894
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
885
895
  }>>;
896
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
886
897
  }>;
887
898
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
888
899
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -970,6 +981,7 @@ export declare const CampaignsGet200: Schema.Struct<{
970
981
  readonly footer: Schema.optionalKey<Schema.Struct<{
971
982
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
972
983
  }>>;
984
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
973
985
  }>;
974
986
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
975
987
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1062,6 +1074,7 @@ export declare const CampaignsUpdateRequestJson: Schema.Struct<{
1062
1074
  readonly footer: Schema.optionalKey<Schema.Struct<{
1063
1075
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1064
1076
  }>>;
1077
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1065
1078
  }>;
1066
1079
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1067
1080
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1112,6 +1125,7 @@ export declare const CampaignsUpdate200: Schema.Struct<{
1112
1125
  readonly footer: Schema.optionalKey<Schema.Struct<{
1113
1126
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1114
1127
  }>>;
1128
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1115
1129
  }>;
1116
1130
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1117
1131
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1203,6 +1217,7 @@ export declare const CampaignsArchive200: Schema.Struct<{
1203
1217
  readonly footer: Schema.optionalKey<Schema.Struct<{
1204
1218
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1205
1219
  }>>;
1220
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1206
1221
  }>;
1207
1222
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1208
1223
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1309,6 +1324,7 @@ export declare const CampaignsListRuns200: Schema.Struct<{
1309
1324
  readonly footer: Schema.optionalKey<Schema.Struct<{
1310
1325
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1311
1326
  }>>;
1327
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1312
1328
  }>;
1313
1329
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1314
1330
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1412,6 +1428,7 @@ export declare const CampaignsScheduleRun201: Schema.Struct<{
1412
1428
  readonly footer: Schema.optionalKey<Schema.Struct<{
1413
1429
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1414
1430
  }>>;
1431
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1415
1432
  }>;
1416
1433
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1417
1434
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1513,6 +1530,7 @@ export declare const CampaignsGetRun200: Schema.Struct<{
1513
1530
  readonly footer: Schema.optionalKey<Schema.Struct<{
1514
1531
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1515
1532
  }>>;
1533
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1516
1534
  }>;
1517
1535
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1518
1536
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1610,6 +1628,7 @@ export declare const CampaignsCancelRun200: Schema.Struct<{
1610
1628
  readonly footer: Schema.optionalKey<Schema.Struct<{
1611
1629
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1612
1630
  }>>;
1631
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1613
1632
  }>;
1614
1633
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1615
1634
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1712,6 +1731,7 @@ export declare const CampaignsPauseRun200: Schema.Struct<{
1712
1731
  readonly footer: Schema.optionalKey<Schema.Struct<{
1713
1732
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1714
1733
  }>>;
1734
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1715
1735
  }>;
1716
1736
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1717
1737
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1859,6 +1879,7 @@ export declare const CampaignsResumeRun200: Schema.Struct<{
1859
1879
  readonly footer: Schema.optionalKey<Schema.Struct<{
1860
1880
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1861
1881
  }>>;
1882
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1862
1883
  }>;
1863
1884
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1864
1885
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -1948,6 +1969,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
1948
1969
  readonly footer: Schema.optionalKey<Schema.Struct<{
1949
1970
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
1950
1971
  }>>;
1972
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
1951
1973
  }>;
1952
1974
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
1953
1975
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -2126,6 +2148,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
2126
2148
  readonly footer: Schema.optionalKey<Schema.Struct<{
2127
2149
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
2128
2150
  }>>;
2151
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
2129
2152
  }>;
2130
2153
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
2131
2154
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -2307,6 +2330,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
2307
2330
  readonly footer: Schema.optionalKey<Schema.Struct<{
2308
2331
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
2309
2332
  }>>;
2333
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
2310
2334
  }>;
2311
2335
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
2312
2336
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -2355,6 +2379,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
2355
2379
  readonly footer: Schema.optionalKey<Schema.Struct<{
2356
2380
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
2357
2381
  }>>;
2382
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
2358
2383
  }>;
2359
2384
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
2360
2385
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -2474,6 +2499,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
2474
2499
  readonly footer: Schema.optionalKey<Schema.Struct<{
2475
2500
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
2476
2501
  }>>;
2502
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
2477
2503
  }>;
2478
2504
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
2479
2505
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -2630,6 +2656,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
2630
2656
  readonly footer: Schema.optionalKey<Schema.Struct<{
2631
2657
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
2632
2658
  }>>;
2659
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
2633
2660
  }>;
2634
2661
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
2635
2662
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -2784,6 +2811,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
2784
2811
  readonly footer: Schema.optionalKey<Schema.Struct<{
2785
2812
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
2786
2813
  }>>;
2814
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
2787
2815
  }>;
2788
2816
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
2789
2817
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -3027,6 +3055,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
3027
3055
  readonly footer: Schema.optionalKey<Schema.Struct<{
3028
3056
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
3029
3057
  }>>;
3058
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
3030
3059
  }>;
3031
3060
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
3032
3061
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -3187,6 +3216,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
3187
3216
  readonly footer: Schema.optionalKey<Schema.Struct<{
3188
3217
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
3189
3218
  }>>;
3219
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
3190
3220
  }>;
3191
3221
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
3192
3222
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -3378,6 +3408,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
3378
3408
  readonly footer: Schema.optionalKey<Schema.Struct<{
3379
3409
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
3380
3410
  }>>;
3411
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
3381
3412
  }>;
3382
3413
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
3383
3414
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -3569,6 +3600,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
3569
3600
  readonly footer: Schema.optionalKey<Schema.Struct<{
3570
3601
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
3571
3602
  }>>;
3603
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
3572
3604
  }>;
3573
3605
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
3574
3606
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -3738,6 +3770,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
3738
3770
  readonly footer: Schema.optionalKey<Schema.Struct<{
3739
3771
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
3740
3772
  }>>;
3773
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
3741
3774
  }>;
3742
3775
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
3743
3776
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;
@@ -3786,6 +3819,7 @@ declare const CampaignsGroup_base: HttpApiGroup.HttpApiGroup<"Campaigns", HttpAp
3786
3819
  readonly footer: Schema.optionalKey<Schema.Struct<{
3787
3820
  readonly enabled: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Null]>>;
3788
3821
  }>>;
3822
+ readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.String>, Schema.Null]>>;
3789
3823
  }>;
3790
3824
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>, Schema.Null]>>;
3791
3825
  readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<JsonValue, JsonValue, never, never>>>, Schema.Null]>>;