@supernova-studio/client 1.18.2 → 1.19.1

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/index.mjs CHANGED
@@ -9056,11 +9056,153 @@ var DTOForgeArtifactGetResponse = z309.object({
9056
9056
  artifact: DTOForgeArtifact.nullable()
9057
9057
  });
9058
9058
 
9059
- // src/api/dto/forge/iteration-message.ts
9060
- import { z as z311 } from "zod";
9059
+ // src/api/dto/forge/feature-messages.ts
9060
+ import z310 from "zod";
9061
+ var DTOFeatureMessageUserSender = z310.object({
9062
+ type: z310.literal("User"),
9063
+ userId: z310.string()
9064
+ });
9065
+ var DTOFeatureMessageAgentSender = z310.object({
9066
+ type: z310.literal("Agent"),
9067
+ agentType: z310.enum(["Cody"])
9068
+ });
9069
+ var DTOFeatureMessageSystemSender = z310.object({
9070
+ type: z310.literal("System"),
9071
+ onBehalfOfUserId: z310.string()
9072
+ });
9073
+ var DTOFeatureMessageSender = z310.discriminatedUnion("type", [
9074
+ DTOFeatureMessageUserSender,
9075
+ DTOFeatureMessageAgentSender,
9076
+ DTOFeatureMessageSystemSender
9077
+ ]);
9078
+ var DTOFeatureMessageReaction = z310.object({
9079
+ messageId: Id,
9080
+ userId: z310.string(),
9081
+ emoji: z310.string(),
9082
+ createdAt: z310.coerce.date()
9083
+ });
9084
+ var DTOFeatureMessage = z310.object({
9085
+ id: Id,
9086
+ /**
9087
+ * Describes where the message came from
9088
+ */
9089
+ sender: DTOFeatureMessageSender,
9090
+ /**
9091
+ * Content of the message
9092
+ */
9093
+ body: z310.string(),
9094
+ /**
9095
+ * Indicates if the message was sent in the agentic mode,
9096
+ */
9097
+ isPrompt: z310.boolean().optional(),
9098
+ /**
9099
+ * Indicates if the sender requested agent to reply in a thread
9100
+ */
9101
+ startsNewThread: z310.boolean().optional(),
9102
+ /**
9103
+ * If defined, this message is considered to be a reply in a thread under parent message id
9104
+ */
9105
+ parentMessageId: Id.optional(),
9106
+ /**
9107
+ * Link agent response object describing current state of
9108
+ */
9109
+ agentResponseTrackerId: Id.optional(),
9110
+ /**
9111
+ * If the message started a thread, this indicates the current iteration within that thread
9112
+ */
9113
+ currentIterationId: Id.optional(),
9114
+ attachments: z310.object({
9115
+ iterationId: z310.string().optional()
9116
+ // TODO Artem: files, etc
9117
+ }).optional(),
9118
+ createdAt: z310.coerce.date(),
9119
+ updatedAt: z310.coerce.date().optional()
9120
+ });
9121
+ var DTOFeatureAgentResponseTracker = z310.object({
9122
+ id: Id,
9123
+ currentBody: z310.string().optional()
9124
+ });
9125
+ var DTOFeatureArtifact = z310.object({
9126
+ id: Id,
9127
+ url: z310.string()
9128
+ // Implied:
9129
+ // type: z.literal("Build"),
9130
+ });
9131
+ var DTOFeatureIteration = z310.object({
9132
+ id: Id,
9133
+ /**
9134
+ * Message ID that triggered creation of the iteration
9135
+ */
9136
+ startedFromMessageId: z310.string(),
9137
+ /**
9138
+ * Indicates whether the iteration is currently being generated by an agent
9139
+ */
9140
+ isInProgress: z310.boolean().optional(),
9141
+ /**
9142
+ * Artifacts that the iteration is built from
9143
+ */
9144
+ artifactIds: Id.array().optional(),
9145
+ /**
9146
+ * URL of a static preview of the feature
9147
+ */
9148
+ staticPreviewUrl: z310.string().optional(),
9149
+ createdAt: z310.coerce.date(),
9150
+ updatedAt: z310.coerce.date().optional()
9151
+ });
9152
+ var DTOFeatureMessageCreateInput = DTOFeatureMessage.pick({
9153
+ id: true,
9154
+ body: true,
9155
+ isPrompt: true,
9156
+ startsNewThread: true,
9157
+ parentMessageId: true
9158
+ });
9159
+ var DTOFeatureMessageReactionCreateInput = z310.object({
9160
+ messageId: Id,
9161
+ emoji: z310.string()
9162
+ });
9163
+ var DTOFeatureMessageReactionDeleteInput = z310.object({
9164
+ messageId: Id,
9165
+ emoji: z310.string()
9166
+ });
9167
+ var DTOFeatureMessageResponse = z310.object({
9168
+ message: DTOFeatureMessage
9169
+ });
9170
+ var DTOFeatureMessageReactionResponse = z310.object({
9171
+ reaction: DTOFeatureMessageReaction
9172
+ });
9173
+ var DTOFeatureMessageListResponse = z310.object({
9174
+ messages: DTOFeatureMessage.array(),
9175
+ reactions: DTOFeatureMessageReaction.array(),
9176
+ lastSeenMessageId: z310.string().optional()
9177
+ });
9178
+ var DTOFeatureEventMessagesSent = z310.object({
9179
+ type: z310.literal("MessagesSent"),
9180
+ data: DTOFeatureMessage.array()
9181
+ });
9182
+ var DTOFeatureEventReactionsSent = z310.object({
9183
+ type: z310.literal("ReactionsSent"),
9184
+ data: DTOFeatureMessageReaction.array()
9185
+ });
9186
+ var DTOFeatureEventReactionsDeleted = z310.object({
9187
+ type: z310.literal("ReactionsDeleted"),
9188
+ data: DTOFeatureMessageReaction
9189
+ });
9190
+ var DTOFeatureEventAgentResponseFinished = z310.object({
9191
+ type: z310.literal("AgentResponseFinished"),
9192
+ data: DTOFeatureMessage
9193
+ });
9194
+ var DTOFeatureEvent = z310.discriminatedUnion("type", [
9195
+ DTOFeatureEventMessagesSent,
9196
+ DTOFeatureEventReactionsSent,
9197
+ DTOFeatureEventReactionsDeleted,
9198
+ DTOFeatureEventAgentResponseFinished
9199
+ ]);
9200
+
9201
+ // src/api/dto/forge/iteration-message-old.ts
9202
+ import { z as z312 } from "zod";
9061
9203
 
9062
9204
  // src/api/dto/forge/participant.ts
9063
- import { z as z310 } from "zod";
9205
+ import { z as z311 } from "zod";
9064
9206
  var DTOForgeParticipant = ForgeParticipant.omit({ agent: true, user: true }).extend({
9065
9207
  agent: DTOForgeAgent.optional(),
9066
9208
  user: DTOUser.optional()
@@ -9070,24 +9212,24 @@ var DTOCreateForgeParticipant = DTOForgeParticipant.omit({
9070
9212
  agent: true,
9071
9213
  user: true
9072
9214
  });
9073
- var DTOUpdateForgeParticipant = DTOCreateForgeParticipant.extend({ id: z310.string() });
9074
- var DTOCreateForgeParticipantResponse = z310.object({
9215
+ var DTOUpdateForgeParticipant = DTOCreateForgeParticipant.extend({ id: z311.string() });
9216
+ var DTOCreateForgeParticipantResponse = z311.object({
9075
9217
  participant: DTOForgeParticipant
9076
9218
  });
9077
- var DTOUpdateForgeParticipantResponse = z310.object({
9219
+ var DTOUpdateForgeParticipantResponse = z311.object({
9078
9220
  participant: DTOForgeParticipant.nullable()
9079
9221
  });
9080
- var DTODeleteForgeParticipantResponse = z310.object({
9081
- ok: z310.literal(true)
9222
+ var DTODeleteForgeParticipantResponse = z311.object({
9223
+ ok: z311.literal(true)
9082
9224
  });
9083
- var DTOForgeParticipantsListResponse = z310.object({
9084
- participants: z310.array(DTOForgeParticipant)
9225
+ var DTOForgeParticipantsListResponse = z311.object({
9226
+ participants: z311.array(DTOForgeParticipant)
9085
9227
  });
9086
- var DTOForgeParticipantGetResponse = z310.object({
9228
+ var DTOForgeParticipantGetResponse = z311.object({
9087
9229
  participant: DTOForgeParticipant.nullable()
9088
9230
  });
9089
9231
 
9090
- // src/api/dto/forge/iteration-message.ts
9232
+ // src/api/dto/forge/iteration-message-old.ts
9091
9233
  var DTOForgeIterationMessage = ForgeIterationMessage.omit({ participant: true }).extend({
9092
9234
  participant: DTOForgeParticipant
9093
9235
  });
@@ -9095,32 +9237,32 @@ var DTOCreateForgeIterationMessage = DTOForgeIterationMessage.omit({
9095
9237
  projectIterationId: true,
9096
9238
  participant: true
9097
9239
  });
9098
- var DTOGetForgeIterationMessageResponse = z311.object({
9240
+ var DTOGetForgeIterationMessageResponse = z312.object({
9099
9241
  message: DTOForgeIterationMessage.nullable()
9100
9242
  });
9101
- var DTOForgeIterationMessagesListResponse = z311.object({
9102
- messages: z311.array(DTOForgeIterationMessage)
9243
+ var DTOForgeIterationMessagesListResponse = z312.object({
9244
+ messages: z312.array(DTOForgeIterationMessage)
9103
9245
  });
9104
- var DTOUpdateForgeIterationMessage = DTOCreateForgeIterationMessage.extend({ id: z311.string() });
9105
- var DTOCreateForgeIterationMessageResponse = z311.object({
9246
+ var DTOUpdateForgeIterationMessage = DTOCreateForgeIterationMessage.extend({ id: z312.string() });
9247
+ var DTOCreateForgeIterationMessageResponse = z312.object({
9106
9248
  message: DTOForgeIterationMessage
9107
9249
  });
9108
- var DTOUpdateForgeIterationMessageResponse = z311.object({
9250
+ var DTOUpdateForgeIterationMessageResponse = z312.object({
9109
9251
  message: DTOForgeIterationMessage.nullable()
9110
9252
  });
9111
- var DTODeleteForgeIterationMessageResponse = z311.object({
9112
- ok: z311.literal(true)
9253
+ var DTODeleteForgeIterationMessageResponse = z312.object({
9254
+ ok: z312.literal(true)
9113
9255
  });
9114
9256
 
9115
9257
  // src/api/dto/forge/project-action.ts
9116
- import z315 from "zod";
9258
+ import z316 from "zod";
9117
9259
 
9118
9260
  // src/api/dto/forge/project-artifact.ts
9119
- import { z as z313 } from "zod";
9261
+ import { z as z314 } from "zod";
9120
9262
 
9121
9263
  // src/api/dto/forge/project-section.ts
9122
- import z312 from "zod";
9123
- var AfterSectionId = z312.string().uuid().nullish().optional();
9264
+ import z313 from "zod";
9265
+ var AfterSectionId = z313.string().uuid().nullish().optional();
9124
9266
  var DTOForgeSection = ForgeSection;
9125
9267
  var DTOForgeSectionCreateInput = DTOForgeSection.pick({
9126
9268
  id: true,
@@ -9131,12 +9273,12 @@ var DTOForgeSectionCreateInput = DTOForgeSection.pick({
9131
9273
  });
9132
9274
  var DTOForgeSectionUpdateInput = DTOForgeSection.pick({ id: true, name: true });
9133
9275
  var DTOForgeSectionDeleteInput = DTOForgeSection.pick({ id: true }).extend({
9134
- deleteChildren: z312.boolean().default(false)
9276
+ deleteChildren: z313.boolean().default(false)
9135
9277
  });
9136
9278
  var DTOForgeSectionMoveInput = DTOForgeSection.pick({ id: true }).extend({
9137
9279
  afterSectionId: AfterSectionId
9138
9280
  });
9139
- var DTOForgeSectionItemMoveInput = z312.object({
9281
+ var DTOForgeSectionItemMoveInput = z313.object({
9140
9282
  id: Id,
9141
9283
  sectionId: Id.nullish().optional(),
9142
9284
  // undefined=stay, null=no section, string=move to section
@@ -9146,117 +9288,117 @@ var DTOForgeSectionItemMoveInput = z312.object({
9146
9288
 
9147
9289
  // src/api/dto/forge/project-artifact.ts
9148
9290
  var DTOForgeProjectArtifact = ForgeProjectArtifact;
9149
- var DTOForgeProjectArtifactUpdateInput = z313.object({
9150
- id: z313.string(),
9151
- title: z313.string().optional()
9291
+ var DTOForgeProjectArtifactUpdateInput = z314.object({
9292
+ id: z314.string(),
9293
+ title: z314.string().optional()
9152
9294
  });
9153
- var DTOForgeProjectArtifactCreateInput = z313.object({
9154
- id: z313.string(),
9155
- title: z313.string(),
9156
- sectionId: z313.string().optional(),
9157
- afterArtifactId: z313.string().optional().nullable()
9295
+ var DTOForgeProjectArtifactCreateInput = z314.object({
9296
+ id: z314.string(),
9297
+ title: z314.string(),
9298
+ sectionId: z314.string().optional(),
9299
+ afterArtifactId: z314.string().optional().nullable()
9158
9300
  });
9159
- var DTOForgeProjectArtifactDeleteInput = z313.object({
9301
+ var DTOForgeProjectArtifactDeleteInput = z314.object({
9160
9302
  id: Id
9161
9303
  });
9162
9304
  var DTOForgeProjectArtifactMoveInput = DTOForgeSectionItemMoveInput;
9163
- var DTOForgeProjectArtifactGetResponse = z313.object({
9305
+ var DTOForgeProjectArtifactGetResponse = z314.object({
9164
9306
  artifact: DTOForgeProjectArtifact
9165
9307
  });
9166
- var DTOForgeProjectArtifactCreateResponse = z313.object({
9308
+ var DTOForgeProjectArtifactCreateResponse = z314.object({
9167
9309
  artifact: DTOForgeProjectArtifact
9168
9310
  });
9169
- var DTOForgeProjectArtifactUpdateResponse = z313.object({
9311
+ var DTOForgeProjectArtifactUpdateResponse = z314.object({
9170
9312
  artifact: DTOForgeProjectArtifact
9171
9313
  });
9172
- var DTOForgeProjectArtifactDeleteResponse = z313.object({
9173
- ok: z313.literal(true)
9314
+ var DTOForgeProjectArtifactDeleteResponse = z314.object({
9315
+ ok: z314.literal(true)
9174
9316
  });
9175
- var DTOForgeProjectArtifactMoveResponse = z313.object({
9317
+ var DTOForgeProjectArtifactMoveResponse = z314.object({
9176
9318
  artifact: DTOForgeProjectArtifact
9177
9319
  });
9178
- var DTOForgeProjectArtifactsListResponse = z313.object({
9179
- artifacts: z313.array(DTOForgeProjectArtifact)
9320
+ var DTOForgeProjectArtifactsListResponse = z314.object({
9321
+ artifacts: z314.array(DTOForgeProjectArtifact)
9180
9322
  });
9181
9323
 
9182
9324
  // src/api/dto/forge/project-feature.ts
9183
- import z314 from "zod";
9325
+ import z315 from "zod";
9184
9326
  var DTOForgeProjectFeature = ProjectFeature;
9185
- var DTOForgeProjectFeatureListResponse = z314.object({
9327
+ var DTOForgeProjectFeatureListResponse = z315.object({
9186
9328
  features: DTOForgeProjectFeature.array()
9187
9329
  });
9188
- var DTOForgeProjectFeatureGetResponse = z314.object({
9330
+ var DTOForgeProjectFeatureGetResponse = z315.object({
9189
9331
  feature: DTOForgeProjectFeature
9190
9332
  });
9191
- var DTOForgeProjectFeatureCreateInput = z314.object({
9333
+ var DTOForgeProjectFeatureCreateInput = z315.object({
9192
9334
  id: Id,
9193
- name: z314.string(),
9194
- description: z314.string(),
9335
+ name: z315.string(),
9336
+ description: z315.string(),
9195
9337
  sectionId: Id.optional(),
9196
9338
  afterFeatureId: Id.nullable().optional()
9197
9339
  });
9198
- var DTOForgeProjectFeatureUpdateInput = z314.object({
9340
+ var DTOForgeProjectFeatureUpdateInput = z315.object({
9199
9341
  id: Id,
9200
- name: z314.string().optional(),
9201
- description: z314.string().optional(),
9202
- isArchived: z314.boolean().optional(),
9342
+ name: z315.string().optional(),
9343
+ description: z315.string().optional(),
9344
+ isArchived: z315.boolean().optional(),
9203
9345
  status: ProjectFeatureStatus.optional()
9204
9346
  });
9205
- var DTOForgeProjectFeatureDeleteInput = z314.object({
9347
+ var DTOForgeProjectFeatureDeleteInput = z315.object({
9206
9348
  id: Id
9207
9349
  });
9208
9350
  var DTOForgeProjectFeatureMoveInput = DTOForgeSectionItemMoveInput;
9209
9351
 
9210
9352
  // src/api/dto/forge/project-action.ts
9211
- var DTOForgeProjectActionFeatureCreate = z315.object({
9212
- type: z315.literal("FeatureCreate"),
9353
+ var DTOForgeProjectActionFeatureCreate = z316.object({
9354
+ type: z316.literal("FeatureCreate"),
9213
9355
  input: DTOForgeProjectFeatureCreateInput
9214
9356
  });
9215
- var DTOForgeProjectActionFeatureUpdate = z315.object({
9216
- type: z315.literal("FeatureUpdate"),
9357
+ var DTOForgeProjectActionFeatureUpdate = z316.object({
9358
+ type: z316.literal("FeatureUpdate"),
9217
9359
  input: DTOForgeProjectFeatureUpdateInput
9218
9360
  });
9219
- var DTOForgeProjectActionFeatureMove = z315.object({
9220
- type: z315.literal("FeatureMove"),
9361
+ var DTOForgeProjectActionFeatureMove = z316.object({
9362
+ type: z316.literal("FeatureMove"),
9221
9363
  input: DTOForgeProjectFeatureMoveInput
9222
9364
  });
9223
- var DTOForgeProjectActionFeatureDelete = z315.object({
9224
- type: z315.literal("FeatureDelete"),
9365
+ var DTOForgeProjectActionFeatureDelete = z316.object({
9366
+ type: z316.literal("FeatureDelete"),
9225
9367
  input: DTOForgeProjectFeatureDeleteInput
9226
9368
  });
9227
- var DTOForgeProjectActionArtifactCreate = z315.object({
9228
- type: z315.literal("ArtifactCreate"),
9369
+ var DTOForgeProjectActionArtifactCreate = z316.object({
9370
+ type: z316.literal("ArtifactCreate"),
9229
9371
  input: DTOForgeProjectArtifactCreateInput
9230
9372
  });
9231
- var DTOForgeProjectActionArtifactUpdate = z315.object({
9232
- type: z315.literal("ArtifactUpdate"),
9373
+ var DTOForgeProjectActionArtifactUpdate = z316.object({
9374
+ type: z316.literal("ArtifactUpdate"),
9233
9375
  input: DTOForgeProjectArtifactUpdateInput
9234
9376
  });
9235
- var DTOForgeProjectActionArtifactDelete = z315.object({
9236
- type: z315.literal("ArtifactDelete"),
9377
+ var DTOForgeProjectActionArtifactDelete = z316.object({
9378
+ type: z316.literal("ArtifactDelete"),
9237
9379
  input: DTOForgeProjectArtifactDeleteInput
9238
9380
  });
9239
- var DTOForgeProjectActionArtifactMove = z315.object({
9240
- type: z315.literal("ArtifactMove"),
9381
+ var DTOForgeProjectActionArtifactMove = z316.object({
9382
+ type: z316.literal("ArtifactMove"),
9241
9383
  input: DTOForgeProjectArtifactMoveInput
9242
9384
  });
9243
- var DTOForgeProjectActionSectionCreate = z315.object({
9244
- type: z315.literal("SectionCreate"),
9385
+ var DTOForgeProjectActionSectionCreate = z316.object({
9386
+ type: z316.literal("SectionCreate"),
9245
9387
  input: DTOForgeSectionCreateInput
9246
9388
  });
9247
- var DTOForgeProjectActionSectionUpdate = z315.object({
9248
- type: z315.literal("SectionUpdate"),
9389
+ var DTOForgeProjectActionSectionUpdate = z316.object({
9390
+ type: z316.literal("SectionUpdate"),
9249
9391
  input: DTOForgeSectionUpdateInput
9250
9392
  });
9251
- var DTOForgeProjectActionSectionDelete = z315.object({
9252
- type: z315.literal("SectionDelete"),
9393
+ var DTOForgeProjectActionSectionDelete = z316.object({
9394
+ type: z316.literal("SectionDelete"),
9253
9395
  input: DTOForgeSectionDeleteInput
9254
9396
  });
9255
- var DTOForgeProjectActionSectionMove = z315.object({
9256
- type: z315.literal("SectionMove"),
9397
+ var DTOForgeProjectActionSectionMove = z316.object({
9398
+ type: z316.literal("SectionMove"),
9257
9399
  input: DTOForgeSectionMoveInput
9258
9400
  });
9259
- var DTOForgeProjectAction = z315.discriminatedUnion("type", [
9401
+ var DTOForgeProjectAction = z316.discriminatedUnion("type", [
9260
9402
  //features
9261
9403
  DTOForgeProjectActionFeatureCreate,
9262
9404
  DTOForgeProjectActionFeatureUpdate,
@@ -9273,22 +9415,22 @@ var DTOForgeProjectAction = z315.discriminatedUnion("type", [
9273
9415
  DTOForgeProjectActionSectionDelete,
9274
9416
  DTOForgeProjectActionSectionMove
9275
9417
  ]).and(
9276
- z315.object({
9277
- tId: z315.string().optional()
9418
+ z316.object({
9419
+ tId: z316.string().optional()
9278
9420
  })
9279
9421
  );
9280
9422
 
9281
9423
  // src/api/dto/forge/project-artifact-room.ts
9282
- import { z as z316 } from "zod";
9283
- var DTOForgeProjectArtifactRoom = z316.object({
9284
- id: z316.string()
9424
+ import { z as z317 } from "zod";
9425
+ var DTOForgeProjectArtifactRoom = z317.object({
9426
+ id: z317.string()
9285
9427
  });
9286
- var DTOForgeProjectArtifactRoomResponse = z316.object({
9428
+ var DTOForgeProjectArtifactRoomResponse = z317.object({
9287
9429
  room: DTOForgeProjectArtifactRoom
9288
9430
  });
9289
9431
 
9290
9432
  // src/api/dto/forge/project-context.ts
9291
- import { z as z317 } from "zod";
9433
+ import { z as z318 } from "zod";
9292
9434
  var DTOForgeProjectContext = ForgeProjectContext;
9293
9435
  var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
9294
9436
  definition: true,
@@ -9300,13 +9442,13 @@ var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
9300
9442
  tailwindConfig: true,
9301
9443
  styling: true
9302
9444
  }).extend({ npmProxySettings: DTONpmRegistryConfig });
9303
- var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id: z317.string() });
9304
- var DTOForgeProjectContextGetResponse = z317.object({ context: DTOForgeProjectContext });
9305
- var DTOForgeProjectContextListResponse = z317.object({ contexts: z317.array(DTOForgeProjectContext) });
9306
- var DTOForgeProjectContextCreateResponse = z317.object({ context: DTOForgeProjectContext });
9307
- var DTOForgeProjectContextUpdateResponse = z317.object({ context: DTOForgeProjectContext });
9308
- var DTOForgeProjectContextRemoveResponse = z317.object({
9309
- ok: z317.literal(true)
9445
+ var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id: z318.string() });
9446
+ var DTOForgeProjectContextGetResponse = z318.object({ context: DTOForgeProjectContext });
9447
+ var DTOForgeProjectContextListResponse = z318.object({ contexts: z318.array(DTOForgeProjectContext) });
9448
+ var DTOForgeProjectContextCreateResponse = z318.object({ context: DTOForgeProjectContext });
9449
+ var DTOForgeProjectContextUpdateResponse = z318.object({ context: DTOForgeProjectContext });
9450
+ var DTOForgeProjectContextRemoveResponse = z318.object({
9451
+ ok: z318.literal(true)
9310
9452
  });
9311
9453
 
9312
9454
  // src/api/dto/forge/project-figma-node.ts
@@ -9314,7 +9456,7 @@ var DTOForgeProjectFigmaNode = ForgeProjectFigmaNode;
9314
9456
  var DTOForgeProjectFigmaNodeRenderInput = ForgeProjectFigmaNodeRenderInput;
9315
9457
 
9316
9458
  // src/api/dto/forge/project-invitation.ts
9317
- import { z as z318 } from "zod";
9459
+ import { z as z319 } from "zod";
9318
9460
  var DTOForgeProjectInvitation = ForgeProjectInvitation;
9319
9461
  var DTOCreateForgeProjectInvitation = DTOForgeProjectInvitation.pick({
9320
9462
  email: true,
@@ -9329,24 +9471,24 @@ var DTOUpdateForgeProjectInvitation = DTOCreateForgeProjectInvitation.omit({
9329
9471
  var DTORemoveForgeProjectInvitation = DTOCreateForgeProjectInvitation.pick({
9330
9472
  email: true
9331
9473
  });
9332
- var DTOForgeProjectInvitationsListResponse = z318.object({
9333
- invitations: z318.array(DTOForgeProjectInvitation)
9474
+ var DTOForgeProjectInvitationsListResponse = z319.object({
9475
+ invitations: z319.array(DTOForgeProjectInvitation)
9334
9476
  });
9335
- var DTOForgeProjectInvitationGetResponse = z318.object({
9477
+ var DTOForgeProjectInvitationGetResponse = z319.object({
9336
9478
  invitation: DTOForgeProjectInvitation
9337
9479
  });
9338
- var DTOForgeProjectInvitationCreateResponse = z318.object({
9480
+ var DTOForgeProjectInvitationCreateResponse = z319.object({
9339
9481
  invitation: DTOForgeProjectInvitation
9340
9482
  });
9341
- var DTOForgeProjectInvitationUpdateResponse = z318.object({
9483
+ var DTOForgeProjectInvitationUpdateResponse = z319.object({
9342
9484
  invitation: DTOForgeProjectInvitation.nullable()
9343
9485
  });
9344
- var DTOForgeProjectInvitationRemoveResponse = z318.object({
9345
- ok: z318.literal(true)
9486
+ var DTOForgeProjectInvitationRemoveResponse = z319.object({
9487
+ ok: z319.literal(true)
9346
9488
  });
9347
9489
 
9348
- // src/api/dto/forge/project-iteration.ts
9349
- import { z as z319 } from "zod";
9490
+ // src/api/dto/forge/project-iteration-old.ts
9491
+ import { z as z320 } from "zod";
9350
9492
  var DTOForgeProjectIterationMergeMeta = ForgeProjectIterationMergeMeta;
9351
9493
  var DTOForgeProjectIteration = ForgeProjectIteration.omit({
9352
9494
  artifacts: true,
@@ -9357,7 +9499,7 @@ var DTOForgeProjectIteration = ForgeProjectIteration.omit({
9357
9499
  messages: DTOForgeIterationMessage.array(),
9358
9500
  mergeMeta: DTOForgeProjectIterationMergeMeta.optional()
9359
9501
  });
9360
- var DTOGetForgeProjectIterationResponse = z319.object({
9502
+ var DTOGetForgeProjectIterationResponse = z320.object({
9361
9503
  iteration: DTOForgeProjectIteration.nullable()
9362
9504
  });
9363
9505
  var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
@@ -9367,20 +9509,20 @@ var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
9367
9509
  mergeMeta: true,
9368
9510
  createdAt: true
9369
9511
  });
9370
- var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z319.string() });
9371
- var DTOCreateForgeProjectIterationResponse = z319.object({
9512
+ var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z320.string() });
9513
+ var DTOCreateForgeProjectIterationResponse = z320.object({
9372
9514
  iteration: DTOForgeProjectIteration
9373
9515
  });
9374
- var DTOUpdateForgeProjectIterationResponse = z319.object({
9516
+ var DTOUpdateForgeProjectIterationResponse = z320.object({
9375
9517
  iteration: DTOForgeProjectIteration.nullable()
9376
9518
  });
9377
- var DTODeleteForgeProjectIterationResponse = z319.object({
9378
- ok: z319.literal(true)
9519
+ var DTODeleteForgeProjectIterationResponse = z320.object({
9520
+ ok: z320.literal(true)
9379
9521
  });
9380
- var DTOForgeProjectIterationListResponse = z319.object({ iterations: z319.array(DTOForgeProjectIteration) });
9522
+ var DTOForgeProjectIterationListResponse = z320.object({ iterations: z320.array(DTOForgeProjectIteration) });
9381
9523
 
9382
9524
  // src/api/dto/forge/project-member.ts
9383
- import { z as z320 } from "zod";
9525
+ import { z as z321 } from "zod";
9384
9526
  var DTOForgeProjectMemberRole = ForgeProjectRole;
9385
9527
  var DTOForgeProjectMember = ForgeProjectMembership.extend({
9386
9528
  user: DTOUser,
@@ -9394,41 +9536,41 @@ var DTOUpdateForgeProjectMember = DTOCreateForgeProjectMember.omit({ userId: tru
9394
9536
  var DTORemoveForgeProjectMember = DTOForgeProjectMember.pick({
9395
9537
  userId: true
9396
9538
  });
9397
- var DTOForgeProjectMembersListResponse = z320.object({
9398
- members: z320.array(DTOForgeProjectMember),
9399
- invitations: z320.array(DTOForgeProjectInvitation)
9539
+ var DTOForgeProjectMembersListResponse = z321.object({
9540
+ members: z321.array(DTOForgeProjectMember),
9541
+ invitations: z321.array(DTOForgeProjectInvitation)
9400
9542
  });
9401
- var DTOForgeProjectMemberGetResponse = z320.object({
9543
+ var DTOForgeProjectMemberGetResponse = z321.object({
9402
9544
  member: DTOForgeProjectMember
9403
9545
  });
9404
- var DTOForgeProjectMemberCreateResponse = z320.object({
9546
+ var DTOForgeProjectMemberCreateResponse = z321.object({
9405
9547
  member: DTOForgeProjectMember
9406
9548
  });
9407
- var DTOForgeProjectMemberUpdateResponse = z320.object({
9549
+ var DTOForgeProjectMemberUpdateResponse = z321.object({
9408
9550
  member: DTOForgeProjectMember.nullable()
9409
9551
  });
9410
- var DTOForgeProjectMemberRemoveResponse = z320.object({
9411
- ok: z320.literal(true)
9552
+ var DTOForgeProjectMemberRemoveResponse = z321.object({
9553
+ ok: z321.literal(true)
9412
9554
  });
9413
- var DTOAddMembersToForgeProject = z320.object({
9555
+ var DTOAddMembersToForgeProject = z321.object({
9414
9556
  membersToInvite: DTOCreateForgeProjectInvitation.array().min(1)
9415
9557
  });
9416
9558
 
9417
9559
  // src/api/dto/forge/project-room.ts
9418
- import { z as z321 } from "zod";
9419
- var DTOForgeProjectRoom = z321.object({
9420
- id: z321.string()
9560
+ import { z as z322 } from "zod";
9561
+ var DTOForgeProjectRoom = z322.object({
9562
+ id: z322.string()
9421
9563
  });
9422
- var DTOForgeProjectRoomResponse = z321.object({
9564
+ var DTOForgeProjectRoomResponse = z322.object({
9423
9565
  room: DTOForgeProjectRoom
9424
9566
  });
9425
9567
 
9426
9568
  // src/api/dto/forge/project.ts
9427
- import { z as z322 } from "zod";
9569
+ import { z as z323 } from "zod";
9428
9570
  var DTOForgeProject = ForgeProject.omit({ fpContextId: true }).extend({
9429
9571
  context: ForgeProjectContext,
9430
- members: z322.array(DTOForgeProjectMember),
9431
- invitations: z322.array(DTOForgeProjectInvitation)
9572
+ members: z323.array(DTOForgeProjectMember),
9573
+ invitations: z323.array(DTOForgeProjectInvitation)
9432
9574
  });
9433
9575
  var DTOCreateForgeProject = ForgeProject.pick({
9434
9576
  instruction: true,
@@ -9441,156 +9583,156 @@ var DTOCreateForgeProject = ForgeProject.pick({
9441
9583
  emoji: true
9442
9584
  }).extend({ membersToInvite: DTOCreateForgeProjectInvitation.array().min(1).optional() });
9443
9585
  var DTOUpdateForgeProject = DTOCreateForgeProject.omit({ membersToInvite: true }).partial().extend({
9444
- id: z322.string(),
9445
- membersToRetain: z322.string().array().min(1).optional()
9586
+ id: z323.string(),
9587
+ membersToRetain: z323.string().array().min(1).optional()
9446
9588
  });
9447
- var DTOForgeProjectGetResponse = z322.object({ project: DTOForgeProject.nullable() });
9448
- var DTOForgeProjectsListResponse = z322.object({ projects: z322.array(DTOForgeProject) });
9449
- var DTOCreateForgeProjectResponse = z322.object({
9589
+ var DTOForgeProjectGetResponse = z323.object({ project: DTOForgeProject.nullable() });
9590
+ var DTOForgeProjectsListResponse = z323.object({ projects: z323.array(DTOForgeProject) });
9591
+ var DTOCreateForgeProjectResponse = z323.object({
9450
9592
  project: DTOForgeProject
9451
9593
  });
9452
- var DTOUpdateForgeProjectResponse = z322.object({
9594
+ var DTOUpdateForgeProjectResponse = z323.object({
9453
9595
  project: DTOForgeProject
9454
9596
  });
9455
- var DTOUGetForgeProjectResponse = z322.object({
9597
+ var DTOUGetForgeProjectResponse = z323.object({
9456
9598
  project: DTOForgeProject
9457
9599
  });
9458
- var DTORemoveForgeProjectResponse = z322.object({ ok: z322.literal(true) });
9600
+ var DTORemoveForgeProjectResponse = z323.object({ ok: z323.literal(true) });
9459
9601
 
9460
9602
  // src/api/dto/forge/threads.ts
9461
- import { z as z323 } from "zod";
9603
+ import { z as z324 } from "zod";
9462
9604
  var DTOForgeChatMessage = ForgeChatMessage;
9463
9605
  var DTOForgeChatThread = ForgeChatThread;
9464
9606
  var DTOForgeChatMessageSenderType = ForgeChatMessageSenderType;
9465
9607
  var DTOForgeChatMessageSender = ForgeChatMessageSender;
9466
- var DTOForgeChatThreadCreateInput = z323.object({
9467
- title: z323.string().optional()
9608
+ var DTOForgeChatThreadCreateInput = z324.object({
9609
+ title: z324.string().optional()
9468
9610
  });
9469
- var DTOForgeChatThreadCreateResponse = z323.object({
9611
+ var DTOForgeChatThreadCreateResponse = z324.object({
9470
9612
  thread: DTOForgeChatThread
9471
9613
  });
9472
- var DTOForgeChatThreadUpdateInput = z323.object({
9473
- title: z323.string()
9614
+ var DTOForgeChatThreadUpdateInput = z324.object({
9615
+ title: z324.string()
9474
9616
  });
9475
- var DTOForgeChatThreadUpdateResponse = z323.object({
9617
+ var DTOForgeChatThreadUpdateResponse = z324.object({
9476
9618
  thread: DTOForgeChatThread
9477
9619
  });
9478
- var DTOForgeChatThreadDeleteResponse = z323.object({
9479
- success: z323.boolean()
9620
+ var DTOForgeChatThreadDeleteResponse = z324.object({
9621
+ success: z324.boolean()
9480
9622
  });
9481
- var DTOForgeChatThreadListQuery = z323.object({
9482
- limit: z323.number().optional(),
9483
- offset: z323.number().optional()
9623
+ var DTOForgeChatThreadListQuery = z324.object({
9624
+ limit: z324.number().optional(),
9625
+ offset: z324.number().optional()
9484
9626
  });
9485
- var DTOForgeChatThreadListResponse = z323.object({
9486
- threads: z323.array(DTOForgeChatThread),
9487
- pagination: z323.object({
9488
- offset: z323.number(),
9489
- limit: z323.number(),
9490
- total: z323.number()
9627
+ var DTOForgeChatThreadListResponse = z324.object({
9628
+ threads: z324.array(DTOForgeChatThread),
9629
+ pagination: z324.object({
9630
+ offset: z324.number(),
9631
+ limit: z324.number(),
9632
+ total: z324.number()
9491
9633
  })
9492
9634
  });
9493
- var DTOForgeChatMessageCreateInput = z323.object({
9494
- payload: z323.string(),
9635
+ var DTOForgeChatMessageCreateInput = z324.object({
9636
+ payload: z324.string(),
9495
9637
  sender: DTOForgeChatMessageSender.optional(),
9496
- opikTraceId: z323.string().optional()
9638
+ opikTraceId: z324.string().optional()
9497
9639
  });
9498
- var DTOForgeChatMessageCreateResponse = z323.object({
9640
+ var DTOForgeChatMessageCreateResponse = z324.object({
9499
9641
  message: DTOForgeChatMessage
9500
9642
  });
9501
- var DTOForgeChatMessageListQuery = z323.object({
9502
- limit: z323.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
9503
- offset: z323.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
9643
+ var DTOForgeChatMessageListQuery = z324.object({
9644
+ limit: z324.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
9645
+ offset: z324.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
9504
9646
  });
9505
- var DTOForgeChatMessageListResponse = z323.object({
9506
- messages: z323.array(DTOForgeChatMessage),
9507
- totalCount: z323.number(),
9508
- hasMore: z323.boolean()
9647
+ var DTOForgeChatMessageListResponse = z324.object({
9648
+ messages: z324.array(DTOForgeChatMessage),
9649
+ totalCount: z324.number(),
9650
+ hasMore: z324.boolean()
9509
9651
  });
9510
- var DTOForgeChatMessageScoreInput = z323.object({
9511
- messageId: z323.string(),
9512
- name: z323.string(),
9513
- value: z323.number(),
9514
- categoryName: z323.string().optional(),
9515
- reason: z323.string().optional()
9652
+ var DTOForgeChatMessageScoreInput = z324.object({
9653
+ messageId: z324.string(),
9654
+ name: z324.string(),
9655
+ value: z324.number(),
9656
+ categoryName: z324.string().optional(),
9657
+ reason: z324.string().optional()
9516
9658
  });
9517
- var DTOForgeChatMessageTagInput = z323.object({
9518
- messageId: z323.string(),
9519
- tags: z323.array(z323.string())
9659
+ var DTOForgeChatMessageTagInput = z324.object({
9660
+ messageId: z324.string(),
9661
+ tags: z324.array(z324.string())
9520
9662
  });
9521
- var DTOForgeChatMessageScoreRequest = z323.object({
9663
+ var DTOForgeChatMessageScoreRequest = z324.object({
9522
9664
  scores: DTOForgeChatMessageScoreInput.array(),
9523
9665
  tags: DTOForgeChatMessageTagInput.array().optional().default([])
9524
9666
  });
9525
9667
 
9526
9668
  // src/api/dto/liveblocks/auth-response.ts
9527
- import { z as z324 } from "zod";
9528
- var DTOLiveblocksAuthResponse = z324.object({
9529
- token: z324.string()
9669
+ import { z as z325 } from "zod";
9670
+ var DTOLiveblocksAuthResponse = z325.object({
9671
+ token: z325.string()
9530
9672
  });
9531
9673
 
9532
9674
  // src/api/dto/portal/portal-settings.ts
9533
- import { z as z325 } from "zod";
9675
+ import { z as z326 } from "zod";
9534
9676
  var DTOPortalSettingsTheme = PortalSettingsTheme;
9535
9677
  var DTOPortalSettingsSidebarLink = PortalSettingsSidebarLink;
9536
9678
  var DTOPortalSettingsSidebarSection = PortalSettingsSidebarSection;
9537
9679
  var DTOPortalSettingsSidebar = PortalSettingsSidebar;
9538
- var DTOPortalSettings = z325.object({
9539
- id: z325.string(),
9540
- workspaceId: z325.string(),
9541
- enabledDesignSystemIds: z325.array(z325.string()),
9542
- enabledBrandPersistentIds: z325.array(z325.string()),
9680
+ var DTOPortalSettings = z326.object({
9681
+ id: z326.string(),
9682
+ workspaceId: z326.string(),
9683
+ enabledDesignSystemIds: z326.array(z326.string()),
9684
+ enabledBrandPersistentIds: z326.array(z326.string()),
9543
9685
  theme: DTOPortalSettingsTheme.nullish(),
9544
9686
  sidebar: DTOPortalSettingsSidebar.nullish(),
9545
- createdAt: z325.coerce.date(),
9546
- updatedAt: z325.coerce.date()
9687
+ createdAt: z326.coerce.date(),
9688
+ updatedAt: z326.coerce.date()
9547
9689
  });
9548
- var DTOPortalSettingsGetResponse = z325.object({
9690
+ var DTOPortalSettingsGetResponse = z326.object({
9549
9691
  portalSettings: DTOPortalSettings
9550
9692
  });
9551
- var DTOPortalSettingsUpdatePayload = z325.object({
9552
- enabledDesignSystemIds: z325.array(z325.string()).optional(),
9553
- enabledBrandPersistentIds: z325.array(z325.string()).optional(),
9693
+ var DTOPortalSettingsUpdatePayload = z326.object({
9694
+ enabledDesignSystemIds: z326.array(z326.string()).optional(),
9695
+ enabledBrandPersistentIds: z326.array(z326.string()).optional(),
9554
9696
  theme: DTOPortalSettingsTheme.nullish(),
9555
9697
  sidebar: DTOPortalSettingsSidebar.nullish()
9556
9698
  });
9557
9699
 
9558
9700
  // src/api/dto/themes/override.ts
9559
- import { z as z326 } from "zod";
9701
+ import { z as z327 } from "zod";
9560
9702
  var DTOThemeOverride = DesignTokenTypedData.and(
9561
- z326.object({
9562
- tokenPersistentId: z326.string(),
9703
+ z327.object({
9704
+ tokenPersistentId: z327.string(),
9563
9705
  origin: ThemeOverrideOrigin.optional()
9564
9706
  })
9565
9707
  );
9566
9708
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
9567
- z326.object({
9568
- tokenPersistentId: z326.string()
9709
+ z327.object({
9710
+ tokenPersistentId: z327.string()
9569
9711
  })
9570
9712
  );
9571
9713
 
9572
9714
  // src/api/dto/themes/theme.ts
9573
- import { z as z327 } from "zod";
9574
- var DTOTheme = z327.object({
9575
- id: z327.string(),
9576
- persistentId: z327.string(),
9577
- designSystemVersionId: z327.string(),
9578
- brandId: z327.string(),
9715
+ import { z as z328 } from "zod";
9716
+ var DTOTheme = z328.object({
9717
+ id: z328.string(),
9718
+ persistentId: z328.string(),
9719
+ designSystemVersionId: z328.string(),
9720
+ brandId: z328.string(),
9579
9721
  meta: ObjectMeta,
9580
- codeName: z327.string(),
9722
+ codeName: z328.string(),
9581
9723
  overrides: DTOThemeOverride.array()
9582
9724
  });
9583
- var DTOThemeResponse = z327.object({
9725
+ var DTOThemeResponse = z328.object({
9584
9726
  theme: DTOTheme
9585
9727
  });
9586
- var DTOThemeListResponse = z327.object({
9728
+ var DTOThemeListResponse = z328.object({
9587
9729
  themes: DTOTheme.array()
9588
9730
  });
9589
- var DTOThemeCreatePayload = z327.object({
9731
+ var DTOThemeCreatePayload = z328.object({
9590
9732
  meta: ObjectMeta,
9591
- persistentId: z327.string(),
9592
- brandId: z327.string(),
9593
- codeName: z327.string(),
9733
+ persistentId: z328.string(),
9734
+ brandId: z328.string(),
9735
+ codeName: z328.string(),
9594
9736
  overrides: DTOThemeOverride.array()
9595
9737
  });
9596
9738
 
@@ -9826,13 +9968,13 @@ var ExportersEndpoint = class {
9826
9968
  };
9827
9969
 
9828
9970
  // src/api/endpoints/codegen/jobs.ts
9829
- import { z as z328 } from "zod";
9971
+ import { z as z329 } from "zod";
9830
9972
  var ExporterJobsEndpoint = class {
9831
9973
  constructor(requestExecutor) {
9832
9974
  this.requestExecutor = requestExecutor;
9833
9975
  }
9834
9976
  list(workspaceId) {
9835
- return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z328.any());
9977
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z329.any());
9836
9978
  }
9837
9979
  get(workspaceId, jobId) {
9838
9980
  return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
@@ -9890,7 +10032,7 @@ var CodegenEndpoint = class {
9890
10032
  };
9891
10033
 
9892
10034
  // src/api/endpoints/design-system/versions/brands.ts
9893
- import { z as z329 } from "zod";
10035
+ import { z as z330 } from "zod";
9894
10036
  var BrandsEndpoint = class {
9895
10037
  constructor(requestExecutor) {
9896
10038
  this.requestExecutor = requestExecutor;
@@ -9924,7 +10066,7 @@ var BrandsEndpoint = class {
9924
10066
  });
9925
10067
  }
9926
10068
  delete(dsId, vId, brandId) {
9927
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z329.any(), {
10069
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z330.any(), {
9928
10070
  method: "DELETE"
9929
10071
  });
9930
10072
  }
@@ -10191,7 +10333,7 @@ var ImportJobsEndpoint = class {
10191
10333
  };
10192
10334
 
10193
10335
  // src/api/endpoints/design-system/versions/overrides.ts
10194
- import { z as z330 } from "zod";
10336
+ import { z as z331 } from "zod";
10195
10337
  var OverridesEndpoint = class {
10196
10338
  constructor(requestExecutor) {
10197
10339
  this.requestExecutor = requestExecutor;
@@ -10199,7 +10341,7 @@ var OverridesEndpoint = class {
10199
10341
  create(dsId, versionId, themeId, body) {
10200
10342
  return this.requestExecutor.json(
10201
10343
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
10202
- z330.any(),
10344
+ z331.any(),
10203
10345
  {
10204
10346
  method: "POST",
10205
10347
  body
@@ -10209,7 +10351,7 @@ var OverridesEndpoint = class {
10209
10351
  };
10210
10352
 
10211
10353
  // src/api/endpoints/design-system/versions/property-definitions.ts
10212
- import { z as z331 } from "zod";
10354
+ import { z as z332 } from "zod";
10213
10355
  var ElementPropertyDefinitionsEndpoint = class {
10214
10356
  constructor(requestExecutor) {
10215
10357
  this.requestExecutor = requestExecutor;
@@ -10237,7 +10379,7 @@ var ElementPropertyDefinitionsEndpoint = class {
10237
10379
  delete(designSystemId, versionId, defId) {
10238
10380
  return this.requestExecutor.json(
10239
10381
  `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
10240
- z331.any(),
10382
+ z332.any(),
10241
10383
  { method: "DELETE" }
10242
10384
  );
10243
10385
  }
@@ -10276,7 +10418,7 @@ var VersionStatsEndpoint = class {
10276
10418
  };
10277
10419
 
10278
10420
  // src/api/endpoints/design-system/versions/themes.ts
10279
- import { z as z332 } from "zod";
10421
+ import { z as z333 } from "zod";
10280
10422
  var ThemesEndpoint = class {
10281
10423
  constructor(requestExecutor) {
10282
10424
  this.requestExecutor = requestExecutor;
@@ -10299,7 +10441,7 @@ var ThemesEndpoint = class {
10299
10441
  });
10300
10442
  }
10301
10443
  delete(dsId, versionId, themeId) {
10302
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z332.any(), {
10444
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z333.any(), {
10303
10445
  method: "DELETE"
10304
10446
  });
10305
10447
  }
@@ -10470,7 +10612,7 @@ var DesignSystemContactsEndpoint = class {
10470
10612
  };
10471
10613
 
10472
10614
  // src/api/endpoints/design-system/design-systems.ts
10473
- import { z as z336 } from "zod";
10615
+ import { z as z337 } from "zod";
10474
10616
 
10475
10617
  // src/api/endpoints/design-system/figma-node-structures.ts
10476
10618
  var FigmaNodeStructuresEndpoint = class {
@@ -10547,7 +10689,7 @@ var DesignSystemPageRedirectsEndpoint = class {
10547
10689
  };
10548
10690
 
10549
10691
  // src/api/endpoints/design-system/sources.ts
10550
- import { z as z333 } from "zod";
10692
+ import { z as z334 } from "zod";
10551
10693
  var DesignSystemSourcesEndpoint = class {
10552
10694
  constructor(requestExecutor) {
10553
10695
  this.requestExecutor = requestExecutor;
@@ -10565,7 +10707,7 @@ var DesignSystemSourcesEndpoint = class {
10565
10707
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
10566
10708
  }
10567
10709
  delete(dsId, sourceId) {
10568
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z333.any(), { method: "DELETE" });
10710
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z334.any(), { method: "DELETE" });
10569
10711
  }
10570
10712
  updateFigmaSource(dsId, sourceId, payload) {
10571
10713
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse, {
@@ -10608,7 +10750,7 @@ var DesignSystemSourcesEndpoint = class {
10608
10750
  };
10609
10751
 
10610
10752
  // src/api/endpoints/design-system/storybook.ts
10611
- import { z as z334 } from "zod";
10753
+ import { z as z335 } from "zod";
10612
10754
  var StorybookEntriesEndpoint = class {
10613
10755
  constructor(requestExecutor) {
10614
10756
  this.requestExecutor = requestExecutor;
@@ -10624,14 +10766,14 @@ var StorybookEntriesEndpoint = class {
10624
10766
  );
10625
10767
  }
10626
10768
  delete(dsId, entryId) {
10627
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z334.any(), {
10769
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z335.any(), {
10628
10770
  method: "DELETE"
10629
10771
  });
10630
10772
  }
10631
10773
  };
10632
10774
 
10633
10775
  // src/api/endpoints/design-system/storybook-hosting.ts
10634
- import { z as z335 } from "zod";
10776
+ import { z as z336 } from "zod";
10635
10777
  var StorybookHostingEndpoint = class {
10636
10778
  constructor(requestExecutor) {
10637
10779
  this.requestExecutor = requestExecutor;
@@ -10645,7 +10787,7 @@ var StorybookHostingEndpoint = class {
10645
10787
  delete(dsId, storybookUploadId) {
10646
10788
  return this.requestExecutor.json(
10647
10789
  `/design-systems/${dsId}/storybook/${storybookUploadId}`,
10648
- z335.object({ ok: z335.boolean() }),
10790
+ z336.object({ ok: z336.boolean() }),
10649
10791
  {
10650
10792
  method: "DELETE"
10651
10793
  }
@@ -10703,7 +10845,7 @@ var DesignSystemsEndpoint = class {
10703
10845
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
10704
10846
  }
10705
10847
  delete(dsId) {
10706
- return this.requestExecutor.json(`/design-systems/${dsId}`, z336.any(), { method: "DELETE" });
10848
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z337.any(), { method: "DELETE" });
10707
10849
  }
10708
10850
  update(dsId, body) {
10709
10851
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -10924,7 +11066,7 @@ var ForgeProjectContextsEndpoint = class {
10924
11066
  };
10925
11067
 
10926
11068
  // src/api/endpoints/forge/project-members.ts
10927
- import { z as z337 } from "zod";
11069
+ import { z as z338 } from "zod";
10928
11070
  var ForgeProjectMembersEndpoint = class {
10929
11071
  constructor(requestExecutor) {
10930
11072
  this.requestExecutor = requestExecutor;
@@ -10953,7 +11095,7 @@ var ForgeProjectMembersEndpoint = class {
10953
11095
  delete(projectId, userId) {
10954
11096
  return this.requestExecutor.json(
10955
11097
  `/forge/projects/${projectId}/members/${userId}`,
10956
- z337.object({ ok: z337.literal(true) }),
11098
+ z338.object({ ok: z338.literal(true) }),
10957
11099
  {
10958
11100
  method: "DELETE"
10959
11101
  }
@@ -11107,7 +11249,7 @@ var ForgeProjectIterationsEndpoint = class {
11107
11249
  };
11108
11250
 
11109
11251
  // src/api/endpoints/forge/project-invitations.ts
11110
- import { z as z338 } from "zod";
11252
+ import { z as z339 } from "zod";
11111
11253
  var ForgeProjectInvitationsEndpoint = class {
11112
11254
  constructor(requestExecutor) {
11113
11255
  this.requestExecutor = requestExecutor;
@@ -11136,7 +11278,7 @@ var ForgeProjectInvitationsEndpoint = class {
11136
11278
  delete(projectId, email) {
11137
11279
  return this.requestExecutor.json(
11138
11280
  `/forge/projects/${projectId}/members/${encodeURI(btoa(email))}`,
11139
- z338.object({ ok: z338.literal(true) }),
11281
+ z339.object({ ok: z339.literal(true) }),
11140
11282
  {
11141
11283
  method: "DELETE"
11142
11284
  }
@@ -11194,7 +11336,7 @@ var ForgesEndpoint = class {
11194
11336
  };
11195
11337
 
11196
11338
  // src/api/endpoints/workspaces/chat-threads.ts
11197
- import { z as z339 } from "zod";
11339
+ import { z as z340 } from "zod";
11198
11340
  var WorkspaceChatThreadsEndpoint = class {
11199
11341
  constructor(requestExecutor) {
11200
11342
  this.requestExecutor = requestExecutor;
@@ -11226,7 +11368,7 @@ var WorkspaceChatThreadsEndpoint = class {
11226
11368
  );
11227
11369
  }
11228
11370
  delete(workspaceId, threadId) {
11229
- return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z339.any(), {
11371
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z340.any(), {
11230
11372
  method: "DELETE"
11231
11373
  });
11232
11374
  }
@@ -11258,7 +11400,7 @@ var ChatThreadMessagesEndpoint = class {
11258
11400
  );
11259
11401
  }
11260
11402
  score(workspaceId, threadId, body) {
11261
- return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z339.any(), {
11403
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z340.any(), {
11262
11404
  method: "POST",
11263
11405
  body
11264
11406
  });
@@ -11266,7 +11408,7 @@ var ChatThreadMessagesEndpoint = class {
11266
11408
  };
11267
11409
 
11268
11410
  // src/api/endpoints/workspaces/integrations.ts
11269
- import { z as z340 } from "zod";
11411
+ import { z as z341 } from "zod";
11270
11412
  var WorkspaceIntegrationsEndpoint = class {
11271
11413
  constructor(requestExecutor) {
11272
11414
  this.requestExecutor = requestExecutor;
@@ -11275,7 +11417,7 @@ var WorkspaceIntegrationsEndpoint = class {
11275
11417
  return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
11276
11418
  }
11277
11419
  delete(wsId, iId) {
11278
- return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z340.unknown(), { method: "DELETE" });
11420
+ return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z341.unknown(), { method: "DELETE" });
11279
11421
  }
11280
11422
  };
11281
11423
 
@@ -11307,7 +11449,7 @@ var WorkspaceInvitationsEndpoint = class {
11307
11449
  };
11308
11450
 
11309
11451
  // src/api/endpoints/workspaces/members.ts
11310
- import { z as z341 } from "zod";
11452
+ import { z as z342 } from "zod";
11311
11453
  var WorkspaceMembersEndpoint = class {
11312
11454
  constructor(requestExecutor) {
11313
11455
  this.requestExecutor = requestExecutor;
@@ -11324,7 +11466,7 @@ var WorkspaceMembersEndpoint = class {
11324
11466
  });
11325
11467
  }
11326
11468
  invite(workspaceId, body) {
11327
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z341.any(), { method: "POST", body });
11469
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z342.any(), { method: "POST", body });
11328
11470
  }
11329
11471
  delete(workspaceId, userId) {
11330
11472
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -11353,7 +11495,7 @@ var WorkspaceNpmRegistryEndpoint = class {
11353
11495
  };
11354
11496
 
11355
11497
  // src/api/endpoints/workspaces/workspaces.ts
11356
- import { z as z342 } from "zod";
11498
+ import { z as z343 } from "zod";
11357
11499
  var WorkspacesEndpoint = class {
11358
11500
  constructor(requestExecutor) {
11359
11501
  this.requestExecutor = requestExecutor;
@@ -11385,10 +11527,10 @@ var WorkspacesEndpoint = class {
11385
11527
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
11386
11528
  }
11387
11529
  delete(workspaceId) {
11388
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z342.any(), { method: "DELETE" });
11530
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z343.any(), { method: "DELETE" });
11389
11531
  }
11390
11532
  subscription(workspaceId) {
11391
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z342.any(), { method: "GET" });
11533
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z343.any(), { method: "GET" });
11392
11534
  }
11393
11535
  getPortalSettings(workspaceId) {
11394
11536
  return this.requestExecutor.json(`/workspaces/${workspaceId}/portal/settings`, DTOPortalSettingsGetResponse, {
@@ -11499,9 +11641,9 @@ ${bodyText}`,
11499
11641
 
11500
11642
  // src/api/transport/request-executor.ts
11501
11643
  import fetch from "node-fetch";
11502
- import { z as z343 } from "zod";
11503
- var ResponseWrapper = z343.object({
11504
- result: z343.record(z343.any())
11644
+ import { z as z344 } from "zod";
11645
+ var ResponseWrapper = z344.object({
11646
+ result: z344.record(z344.any())
11505
11647
  });
11506
11648
  var RequestExecutor = class {
11507
11649
  constructor(testServerConfig) {
@@ -11578,25 +11720,25 @@ var SupernovaApiClient = class {
11578
11720
  };
11579
11721
 
11580
11722
  // src/events/design-system.ts
11581
- import { z as z344 } from "zod";
11582
- var DTOEventFigmaNodesRendered = z344.object({
11583
- type: z344.literal("DesignSystem.FigmaNodesRendered"),
11584
- designSystemId: z344.string(),
11585
- versionId: z344.string(),
11586
- figmaNodePersistentIds: z344.string().array()
11587
- });
11588
- var DTOEventDataSourcesImported = z344.object({
11589
- type: z344.literal("DesignSystem.ImportJobFinished"),
11590
- designSystemId: z344.string(),
11591
- versionId: z344.string(),
11592
- importJobId: z344.string(),
11723
+ import { z as z345 } from "zod";
11724
+ var DTOEventFigmaNodesRendered = z345.object({
11725
+ type: z345.literal("DesignSystem.FigmaNodesRendered"),
11726
+ designSystemId: z345.string(),
11727
+ versionId: z345.string(),
11728
+ figmaNodePersistentIds: z345.string().array()
11729
+ });
11730
+ var DTOEventDataSourcesImported = z345.object({
11731
+ type: z345.literal("DesignSystem.ImportJobFinished"),
11732
+ designSystemId: z345.string(),
11733
+ versionId: z345.string(),
11734
+ importJobId: z345.string(),
11593
11735
  dataSourceType: DataSourceRemoteType,
11594
- dataSourceIds: z344.string().array()
11736
+ dataSourceIds: z345.string().array()
11595
11737
  });
11596
11738
 
11597
11739
  // src/events/event.ts
11598
- import { z as z345 } from "zod";
11599
- var DTOEvent = z345.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
11740
+ import { z as z346 } from "zod";
11741
+ var DTOEvent = z346.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
11600
11742
 
11601
11743
  // src/sync/docs-local-action-executor.ts
11602
11744
  function applyActionsLocally(input) {
@@ -11892,7 +12034,7 @@ var LocalDocsElementActionExecutor = class {
11892
12034
  import PQueue from "p-queue";
11893
12035
 
11894
12036
  // src/yjs/design-system-content/documentation-hierarchy.ts
11895
- import { z as z346 } from "zod";
12037
+ import { z as z347 } from "zod";
11896
12038
 
11897
12039
  // src/yjs/version-room/base.ts
11898
12040
  var VersionRoomBaseYDoc = class {
@@ -12442,24 +12584,24 @@ var FrontendVersionRoomYDoc = class {
12442
12584
  };
12443
12585
 
12444
12586
  // src/yjs/design-system-content/documentation-hierarchy.ts
12445
- var DocumentationHierarchySettings = z346.object({
12446
- routingVersion: z346.string(),
12447
- isDraftFeatureAdopted: z346.boolean(),
12448
- isApprovalFeatureEnabled: z346.boolean(),
12449
- approvalRequiredForPublishing: z346.boolean()
12587
+ var DocumentationHierarchySettings = z347.object({
12588
+ routingVersion: z347.string(),
12589
+ isDraftFeatureAdopted: z347.boolean(),
12590
+ isApprovalFeatureEnabled: z347.boolean(),
12591
+ approvalRequiredForPublishing: z347.boolean()
12450
12592
  });
12451
12593
  function yjsToDocumentationHierarchy(doc) {
12452
12594
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
12453
12595
  }
12454
12596
 
12455
12597
  // src/yjs/design-system-content/item-configuration.ts
12456
- import { z as z347 } from "zod";
12457
- var DTODocumentationPageRoomHeaderData = z347.object({
12458
- title: z347.string(),
12598
+ import { z as z348 } from "zod";
12599
+ var DTODocumentationPageRoomHeaderData = z348.object({
12600
+ title: z348.string(),
12459
12601
  configuration: DTODocumentationItemConfigurationV2
12460
12602
  });
12461
- var DTODocumentationPageRoomHeaderDataUpdate = z347.object({
12462
- title: z347.string().optional(),
12603
+ var DTODocumentationPageRoomHeaderDataUpdate = z348.object({
12604
+ title: z348.string().optional(),
12463
12605
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
12464
12606
  });
12465
12607
  function itemConfigurationToYjs(yDoc, item) {
@@ -12494,9 +12636,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
12494
12636
  var PageSectionEditorModel = PageSectionEditorModelV2;
12495
12637
 
12496
12638
  // src/yjs/docs-editor/model/page.ts
12497
- import { z as z348 } from "zod";
12498
- var DocumentationPageEditorModel = z348.object({
12499
- blocks: z348.array(DocumentationPageContentItem)
12639
+ import { z as z349 } from "zod";
12640
+ var DocumentationPageEditorModel = z349.object({
12641
+ blocks: z349.array(DocumentationPageContentItem)
12500
12642
  });
12501
12643
 
12502
12644
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -16173,7 +16315,7 @@ var blocks = [
16173
16315
 
16174
16316
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
16175
16317
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
16176
- import { z as z349 } from "zod";
16318
+ import { z as z350 } from "zod";
16177
16319
  function yDocToPage(yDoc, definitions) {
16178
16320
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
16179
16321
  }
@@ -16249,7 +16391,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
16249
16391
  if (!id) return null;
16250
16392
  return {
16251
16393
  id,
16252
- title: getProsemirrorAttribute(prosemirrorNode, "title", z349.string()) ?? "",
16394
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z350.string()) ?? "",
16253
16395
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
16254
16396
  };
16255
16397
  }
@@ -16283,7 +16425,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
16283
16425
  });
16284
16426
  }
16285
16427
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
16286
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z349.string());
16428
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z350.string());
16287
16429
  if (!definitionId) {
16288
16430
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
16289
16431
  return [];
@@ -16324,7 +16466,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
16324
16466
  const id = getProsemirrorBlockId(prosemirrorNode);
16325
16467
  if (!id) return null;
16326
16468
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
16327
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z349.string().optional()));
16469
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z350.string().optional()));
16328
16470
  return {
16329
16471
  id,
16330
16472
  type: "Block",
@@ -16447,9 +16589,9 @@ function parseRichTextAttribute(mark) {
16447
16589
  return null;
16448
16590
  }
16449
16591
  function parseProsemirrorLink(mark) {
16450
- const href = getProsemirrorAttribute(mark, "href", z349.string().optional());
16592
+ const href = getProsemirrorAttribute(mark, "href", z350.string().optional());
16451
16593
  if (!href) return null;
16452
- const target = getProsemirrorAttribute(mark, "target", z349.string().optional());
16594
+ const target = getProsemirrorAttribute(mark, "target", z350.string().optional());
16453
16595
  const openInNewTab = target === "_blank";
16454
16596
  if (href.startsWith("@")) {
16455
16597
  return {
@@ -16468,9 +16610,9 @@ function parseProsemirrorLink(mark) {
16468
16610
  }
16469
16611
  }
16470
16612
  function parseProsemirrorCommentHighlight(mark) {
16471
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z349.string().optional());
16613
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z350.string().optional());
16472
16614
  if (!highlightId) return null;
16473
- const isResolved = getProsemirrorAttribute(mark, "resolved", z349.boolean().optional()) ?? false;
16615
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z350.boolean().optional()) ?? false;
16474
16616
  return {
16475
16617
  type: "Comment",
16476
16618
  commentHighlightId: highlightId,
@@ -16481,7 +16623,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
16481
16623
  const id = getProsemirrorBlockId(prosemirrorNode);
16482
16624
  if (!id) return null;
16483
16625
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
16484
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z349.boolean().optional()) !== false;
16626
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z350.boolean().optional()) !== false;
16485
16627
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
16486
16628
  if (!tableChild) {
16487
16629
  return emptyTable(id, variantId, 0);
@@ -16527,9 +16669,9 @@ function parseAsTable(prosemirrorNode, definition, property) {
16527
16669
  function parseAsTableCell(prosemirrorNode) {
16528
16670
  const id = getProsemirrorBlockId(prosemirrorNode);
16529
16671
  if (!id) return null;
16530
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z349.string().optional());
16672
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z350.string().optional());
16531
16673
  let columnWidth;
16532
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z349.array(z349.number()).nullish());
16674
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z350.array(z350.number()).nullish());
16533
16675
  if (columnWidthArray) {
16534
16676
  columnWidth = roundDimension(columnWidthArray[0]);
16535
16677
  }
@@ -16565,7 +16707,7 @@ function parseAsTableNode(prosemirrorNode) {
16565
16707
  value: parseRichText(prosemirrorNode.content ?? [])
16566
16708
  };
16567
16709
  case "image":
16568
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z349.string());
16710
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z350.string());
16569
16711
  if (!items) return null;
16570
16712
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
16571
16713
  if (!parsedItems.success) return null;
@@ -16679,7 +16821,7 @@ function definitionExpectsPlaceholderItem(definition) {
16679
16821
  );
16680
16822
  }
16681
16823
  function parseBlockItems(prosemirrorNode, definition) {
16682
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z349.string());
16824
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z350.string());
16683
16825
  if (!itemsString) return null;
16684
16826
  const itemsJson = JSON.parse(itemsString);
16685
16827
  if (!Array.isArray(itemsJson)) {
@@ -16690,18 +16832,18 @@ function parseBlockItems(prosemirrorNode, definition) {
16690
16832
  }
16691
16833
  function parseAppearance(prosemirrorNode) {
16692
16834
  let appearance = {};
16693
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z349.string().optional());
16835
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z350.string().optional());
16694
16836
  if (rawAppearanceString) {
16695
16837
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
16696
16838
  if (parsedAppearance.success) {
16697
16839
  appearance = parsedAppearance.data;
16698
16840
  }
16699
16841
  }
16700
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z349.number().optional());
16842
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z350.number().optional());
16701
16843
  if (columns) {
16702
16844
  appearance.numberOfColumns = columns;
16703
16845
  }
16704
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z349.string().optional());
16846
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z350.string().optional());
16705
16847
  if (backgroundColor) {
16706
16848
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
16707
16849
  if (parsedColor.success) {
@@ -16802,12 +16944,12 @@ function valueSchemaForPropertyType(type) {
16802
16944
  }
16803
16945
  }
16804
16946
  function getProsemirrorBlockId(prosemirrorNode) {
16805
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z349.string());
16947
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z350.string());
16806
16948
  if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
16807
16949
  return id;
16808
16950
  }
16809
16951
  function getProsemirrorBlockVariantId(prosemirrorNode) {
16810
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z349.string()));
16952
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z350.string()));
16811
16953
  }
16812
16954
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
16813
16955
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
@@ -17897,6 +18039,26 @@ export {
17897
18039
  DTOExporterSource,
17898
18040
  DTOExporterType,
17899
18041
  DTOExporterUpdateInput,
18042
+ DTOFeatureAgentResponseTracker,
18043
+ DTOFeatureArtifact,
18044
+ DTOFeatureEvent,
18045
+ DTOFeatureEventAgentResponseFinished,
18046
+ DTOFeatureEventMessagesSent,
18047
+ DTOFeatureEventReactionsDeleted,
18048
+ DTOFeatureEventReactionsSent,
18049
+ DTOFeatureIteration,
18050
+ DTOFeatureMessage,
18051
+ DTOFeatureMessageAgentSender,
18052
+ DTOFeatureMessageCreateInput,
18053
+ DTOFeatureMessageListResponse,
18054
+ DTOFeatureMessageReaction,
18055
+ DTOFeatureMessageReactionCreateInput,
18056
+ DTOFeatureMessageReactionDeleteInput,
18057
+ DTOFeatureMessageReactionResponse,
18058
+ DTOFeatureMessageResponse,
18059
+ DTOFeatureMessageSender,
18060
+ DTOFeatureMessageSystemSender,
18061
+ DTOFeatureMessageUserSender,
17900
18062
  DTOFigmaComponent,
17901
18063
  DTOFigmaComponentGroup,
17902
18064
  DTOFigmaComponentGroupListResponse,