@supernova-studio/client 1.74.3 → 1.75.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.
package/dist/index.mjs CHANGED
@@ -7173,6 +7173,7 @@ var DTOBffUploadImportRequestBody = z237.object({
7173
7173
  sourceName: z237.string().optional(),
7174
7174
  remoteId: z237.string(),
7175
7175
  isTokenTypeSplitEnabled: z237.boolean().optional(),
7176
+ version: z237.string().optional(),
7176
7177
  payload: z237.any()
7177
7178
  });
7178
7179
  var DTOBffImportRequestBody = z237.discriminatedUnion("type", [
@@ -9414,7 +9415,7 @@ var DTOElementsGetOutputV2 = z311.object({
9414
9415
  });
9415
9416
 
9416
9417
  // src/api/dto/events/forge-project.ts
9417
- import z337 from "zod";
9418
+ import z338 from "zod";
9418
9419
 
9419
9420
  // src/api/dto/forge/agent.ts
9420
9421
  import { z as z312 } from "zod";
@@ -9910,11 +9911,71 @@ var DTOForgeFeatureRoomResponse = z316.object({
9910
9911
  room: DTOForgeFeatureRoom
9911
9912
  });
9912
9913
 
9914
+ // src/api/dto/forge/figma-node.ts
9915
+ import z317 from "zod";
9916
+ var DTOForgeFigmaNodeState = z317.enum(["Optimizing", "Success", "Failed"]);
9917
+ var DTOForgeFigmaNodeOrigin = z317.object({
9918
+ /**
9919
+ * Figma file ID that was passed into the create request as a part of the Figma node URL
9920
+ */
9921
+ fileId: z317.string(),
9922
+ /**
9923
+ * Timestamp of the last edit to the file, can be used for reusing nodes
9924
+ * if the file has not changed since
9925
+ */
9926
+ fileLastEditedAt: z317.string(),
9927
+ /**
9928
+ * Figma node ID that was passed into the create request as a part of the Figma node URL
9929
+ */
9930
+ nodeId: z317.string()
9931
+ });
9932
+ var DTOForgeFigmaNode = z317.object({
9933
+ id: z317.string().uuid(),
9934
+ state: DTOForgeFigmaNodeState,
9935
+ /**
9936
+ * Describes where the frame is coming from
9937
+ */
9938
+ origin: DTOForgeFigmaNodeOrigin,
9939
+ /**
9940
+ * An image of the node rendered by Figma using render image API.
9941
+ */
9942
+ thumbnail: DTOFileReference,
9943
+ /**
9944
+ * JSON representation of the Figma node, downloaded from Figma API
9945
+ */
9946
+ json: DTOFileReference,
9947
+ /**
9948
+ * HTML representation of the Figma node, converted from JSON
9949
+ */
9950
+ html: DTOFileReference,
9951
+ /**
9952
+ * Code representation of the Figma node. Code gets produced during "Optimizing" phase,
9953
+ * it's available when the node reaches "Success" state.
9954
+ */
9955
+ code: DTOFileReference.optional()
9956
+ });
9957
+ var DTOForgeFigmaNodeCreateRequest = z317.object({
9958
+ /**
9959
+ * Workspace ID that will own the node. Figma API keys will be used from this workspace.
9960
+ */
9961
+ workspaceId: z317.string(),
9962
+ /**
9963
+ * URL that points to a Figma file and a node within the file.
9964
+ * Example: https://www.figma.com/design/If4RI8SKtO2azWx8ytfp03/Child-File?node-id=0-1
9965
+ *
9966
+ * Note that the file must contain `node-id` query param, otherwise the request will be rejected
9967
+ */
9968
+ figmaNodeUrl: z317.string().url()
9969
+ });
9970
+ var DTOForgeFigmaNodeResponse = z317.object({
9971
+ figmaNode: DTOForgeFigmaNode
9972
+ });
9973
+
9913
9974
  // src/api/dto/forge/iteration-message-old.ts
9914
- import { z as z318 } from "zod";
9975
+ import { z as z319 } from "zod";
9915
9976
 
9916
9977
  // src/api/dto/forge/participant.ts
9917
- import { z as z317 } from "zod";
9978
+ import { z as z318 } from "zod";
9918
9979
  var DTOForgeParticipant = ForgeParticipant.omit({ agent: true, user: true }).extend({
9919
9980
  agent: DTOForgeAgent.optional(),
9920
9981
  user: DTOUser.optional()
@@ -9924,20 +9985,20 @@ var DTOCreateForgeParticipant = DTOForgeParticipant.omit({
9924
9985
  agent: true,
9925
9986
  user: true
9926
9987
  });
9927
- var DTOUpdateForgeParticipant = DTOCreateForgeParticipant.extend({ id: z317.string() });
9928
- var DTOCreateForgeParticipantResponse = z317.object({
9988
+ var DTOUpdateForgeParticipant = DTOCreateForgeParticipant.extend({ id: z318.string() });
9989
+ var DTOCreateForgeParticipantResponse = z318.object({
9929
9990
  participant: DTOForgeParticipant
9930
9991
  });
9931
- var DTOUpdateForgeParticipantResponse = z317.object({
9992
+ var DTOUpdateForgeParticipantResponse = z318.object({
9932
9993
  participant: DTOForgeParticipant.nullable()
9933
9994
  });
9934
- var DTODeleteForgeParticipantResponse = z317.object({
9935
- ok: z317.literal(true)
9995
+ var DTODeleteForgeParticipantResponse = z318.object({
9996
+ ok: z318.literal(true)
9936
9997
  });
9937
- var DTOForgeParticipantsListResponse = z317.object({
9938
- participants: z317.array(DTOForgeParticipant)
9998
+ var DTOForgeParticipantsListResponse = z318.object({
9999
+ participants: z318.array(DTOForgeParticipant)
9939
10000
  });
9940
- var DTOForgeParticipantGetResponse = z317.object({
10001
+ var DTOForgeParticipantGetResponse = z318.object({
9941
10002
  participant: DTOForgeParticipant.nullable()
9942
10003
  });
9943
10004
 
@@ -9949,109 +10010,109 @@ var DTOCreateForgeIterationMessage = DTOForgeIterationMessage.omit({
9949
10010
  projectIterationId: true,
9950
10011
  participant: true
9951
10012
  });
9952
- var DTOGetForgeIterationMessageResponse = z318.object({
10013
+ var DTOGetForgeIterationMessageResponse = z319.object({
9953
10014
  message: DTOForgeIterationMessage.nullable()
9954
10015
  });
9955
- var DTOForgeIterationMessagesListResponse = z318.object({
9956
- messages: z318.array(DTOForgeIterationMessage)
10016
+ var DTOForgeIterationMessagesListResponse = z319.object({
10017
+ messages: z319.array(DTOForgeIterationMessage)
9957
10018
  });
9958
- var DTOUpdateForgeIterationMessage = DTOCreateForgeIterationMessage.extend({ id: z318.string() });
9959
- var DTOCreateForgeIterationMessageResponse = z318.object({
10019
+ var DTOUpdateForgeIterationMessage = DTOCreateForgeIterationMessage.extend({ id: z319.string() });
10020
+ var DTOCreateForgeIterationMessageResponse = z319.object({
9960
10021
  message: DTOForgeIterationMessage
9961
10022
  });
9962
- var DTOUpdateForgeIterationMessageResponse = z318.object({
10023
+ var DTOUpdateForgeIterationMessageResponse = z319.object({
9963
10024
  message: DTOForgeIterationMessage.nullable()
9964
10025
  });
9965
- var DTODeleteForgeIterationMessageResponse = z318.object({
9966
- ok: z318.literal(true)
10026
+ var DTODeleteForgeIterationMessageResponse = z319.object({
10027
+ ok: z319.literal(true)
9967
10028
  });
9968
10029
 
9969
10030
  // src/api/dto/forge/memory.ts
9970
- import z319 from "zod";
9971
- var DTOForgeMemoryEntry = z319.object({
9972
- id: z319.string().uuid(),
9973
- projectId: z319.string(),
9974
- text: z319.string(),
9975
- category: z319.string(),
9976
- createdAt: z319.string(),
9977
- updatedAt: z319.string(),
9978
- metadata: z319.record(z319.string()).optional()
9979
- });
9980
- var DTOForgeMemoryCreateInput = z319.object({
9981
- projectId: z319.string(),
9982
- text: z319.string(),
9983
- category: z319.string(),
9984
- metadata: z319.record(z319.string()).optional()
9985
- });
9986
- var DTOForgeMemoryUpdateInput = z319.object({
9987
- id: z319.string().uuid(),
9988
- text: z319.string().optional(),
9989
- category: z319.string(),
9990
- metadata: z319.record(z319.string()).nullish()
9991
- });
9992
- var DTOForgeMemoryDeleteInput = z319.object({
9993
- id: z319.string().uuid()
9994
- });
9995
- var DTOForgeMemoryEntryListResponse = z319.object({
10031
+ import z320 from "zod";
10032
+ var DTOForgeMemoryEntry = z320.object({
10033
+ id: z320.string().uuid(),
10034
+ projectId: z320.string(),
10035
+ text: z320.string(),
10036
+ category: z320.string(),
10037
+ createdAt: z320.string(),
10038
+ updatedAt: z320.string(),
10039
+ metadata: z320.record(z320.string()).optional()
10040
+ });
10041
+ var DTOForgeMemoryCreateInput = z320.object({
10042
+ projectId: z320.string(),
10043
+ text: z320.string(),
10044
+ category: z320.string(),
10045
+ metadata: z320.record(z320.string()).optional()
10046
+ });
10047
+ var DTOForgeMemoryUpdateInput = z320.object({
10048
+ id: z320.string().uuid(),
10049
+ text: z320.string().optional(),
10050
+ category: z320.string(),
10051
+ metadata: z320.record(z320.string()).nullish()
10052
+ });
10053
+ var DTOForgeMemoryDeleteInput = z320.object({
10054
+ id: z320.string().uuid()
10055
+ });
10056
+ var DTOForgeMemoryEntryListResponse = z320.object({
9996
10057
  memoryEntries: DTOForgeMemoryEntry.array()
9997
10058
  });
9998
- var DTOForgeMemoryEntryResponse = z319.object({
10059
+ var DTOForgeMemoryEntryResponse = z320.object({
9999
10060
  memoryEntry: DTOForgeMemoryEntry
10000
10061
  });
10001
- var DTOForgeMemoryEntryListQuery = z319.object({
10002
- projectId: z319.string()
10062
+ var DTOForgeMemoryEntryListQuery = z320.object({
10063
+ projectId: z320.string()
10003
10064
  });
10004
10065
 
10005
10066
  // src/api/dto/forge/project-action.ts
10006
- import z324 from "zod";
10067
+ import z325 from "zod";
10007
10068
 
10008
10069
  // src/api/dto/forge/project-artifact.ts
10009
- import { z as z322 } from "zod";
10070
+ import { z as z323 } from "zod";
10010
10071
 
10011
10072
  // src/api/dto/threads/threads.ts
10012
- import z320 from "zod";
10013
- var DTOThreadSubjectType = z320.enum(["ForgeDocument", "ForgeFeature"]);
10014
- var DTOThreadAgentType = z320.enum(["Ask", "Document", "Prototype", "ReleaseNotes"]);
10015
- var DTOThreadPromptState = z320.enum(["Success", "Timeout", "Error"]);
10016
- var DTOThread = z320.object({
10017
- id: z320.string(),
10018
- liveblocksRoomId: z320.string(),
10073
+ import z321 from "zod";
10074
+ var DTOThreadSubjectType = z321.enum(["ForgeDocument", "ForgeFeature"]);
10075
+ var DTOThreadAgentType = z321.enum(["Ask", "Document", "Prototype", "ReleaseNotes"]);
10076
+ var DTOThreadPromptState = z321.enum(["Success", "Timeout", "Error"]);
10077
+ var DTOThread = z321.object({
10078
+ id: z321.string(),
10079
+ liveblocksRoomId: z321.string(),
10019
10080
  defaultAgentType: DTOThreadAgentType,
10020
- subjectId: z320.string(),
10081
+ subjectId: z321.string(),
10021
10082
  subjectType: DTOThreadSubjectType,
10022
- createdAt: z320.string(),
10023
- updatedAt: z320.string()
10083
+ createdAt: z321.string(),
10084
+ updatedAt: z321.string()
10024
10085
  });
10025
- var DTOThreadMessageUserSender = z320.object({
10026
- type: z320.literal("User"),
10027
- userId: z320.string()
10086
+ var DTOThreadMessageUserSender = z321.object({
10087
+ type: z321.literal("User"),
10088
+ userId: z321.string()
10028
10089
  });
10029
- var DTOThreadMessageAgentSender = z320.object({
10030
- type: z320.literal("Agent"),
10090
+ var DTOThreadMessageAgentSender = z321.object({
10091
+ type: z321.literal("Agent"),
10031
10092
  agentType: DTOThreadAgentType
10032
10093
  });
10033
- var DTOThreadMessageSystemSender = z320.object({
10034
- type: z320.literal("System"),
10035
- onBehalfOfUserId: z320.string()
10094
+ var DTOThreadMessageSystemSender = z321.object({
10095
+ type: z321.literal("System"),
10096
+ onBehalfOfUserId: z321.string()
10036
10097
  });
10037
- var DTOThreadMessageSender = z320.discriminatedUnion("type", [
10098
+ var DTOThreadMessageSender = z321.discriminatedUnion("type", [
10038
10099
  DTOThreadMessageUserSender,
10039
10100
  DTOThreadMessageAgentSender,
10040
10101
  DTOThreadMessageSystemSender
10041
10102
  ]);
10042
- var DTOThreadReaction = z320.object({
10103
+ var DTOThreadReaction = z321.object({
10043
10104
  messageId: Id,
10044
- userId: z320.string(),
10045
- emoji: z320.string(),
10046
- createdAt: z320.string()
10105
+ userId: z321.string(),
10106
+ emoji: z321.string(),
10107
+ createdAt: z321.string()
10047
10108
  });
10048
- var DTOThreadMessageAttachments = z320.object({
10109
+ var DTOThreadMessageAttachments = z321.object({
10049
10110
  iterationId: Id.optional(),
10050
10111
  files: DTOFileReference.array().optional()
10051
10112
  });
10052
- var DTOThreadMessage = z320.object({
10113
+ var DTOThreadMessage = z321.object({
10053
10114
  id: Id,
10054
- threadId: z320.string(),
10115
+ threadId: z321.string(),
10055
10116
  /**
10056
10117
  * Describes where the message came from
10057
10118
  */
@@ -10059,20 +10120,20 @@ var DTOThreadMessage = z320.object({
10059
10120
  /**
10060
10121
  * Content of the message
10061
10122
  */
10062
- body: z320.string(),
10123
+ body: z321.string(),
10063
10124
  /**
10064
10125
  * Indicates if the message was sent in the agentic mode, if so this message will cause an
10065
10126
  * AI agent to generate a response and perform an action within the feature
10066
10127
  */
10067
- isPrompt: z320.boolean().optional(),
10128
+ isPrompt: z321.boolean().optional(),
10068
10129
  /**
10069
10130
  * Indicates if the message is an attempt to retry agent message. Only available for agent messages.
10070
10131
  */
10071
- isRetry: z320.boolean().optional(),
10132
+ isRetry: z321.boolean().optional(),
10072
10133
  /**
10073
10134
  * Indicates if the sender requested agent to reply in a thread
10074
10135
  */
10075
- startsNewThread: z320.boolean().optional(),
10136
+ startsNewThread: z321.boolean().optional(),
10076
10137
  /**
10077
10138
  * If defined, this message is considered to be a reply in a thread under parent message id
10078
10139
  */
@@ -10086,17 +10147,17 @@ var DTOThreadMessage = z320.object({
10086
10147
  * If defined, this message is considered to be a reply to different message
10087
10148
  */
10088
10149
  replyToMessageId: Id.optional(),
10089
- promptMetadata: z320.record(z320.string(), z320.any()).optional(),
10090
- createdAt: z320.string(),
10091
- updatedAt: z320.string().optional()
10150
+ promptMetadata: z321.record(z321.string(), z321.any()).optional(),
10151
+ createdAt: z321.string(),
10152
+ updatedAt: z321.string().optional()
10092
10153
  });
10093
- var DTOThreadAgentResponseTracker = z320.object({
10154
+ var DTOThreadAgentResponseTracker = z321.object({
10094
10155
  id: Id,
10095
- currentBody: z320.string().default("")
10156
+ currentBody: z321.string().default("")
10096
10157
  });
10097
- var DTOThreadMessageAttachmentsCreateInput = z320.object({
10158
+ var DTOThreadMessageAttachmentsCreateInput = z321.object({
10098
10159
  iterationId: Id.optional(),
10099
- fileIds: z320.string().array().optional()
10160
+ fileIds: z321.string().array().optional()
10100
10161
  });
10101
10162
  var DTOThreadMessageCreateInput = DTOThreadMessage.pick({
10102
10163
  id: true,
@@ -10108,67 +10169,67 @@ var DTOThreadMessageCreateInput = DTOThreadMessage.pick({
10108
10169
  }).extend({
10109
10170
  attachments: DTOThreadMessageAttachmentsCreateInput.optional()
10110
10171
  });
10111
- var DTOThreadMessageFinalizeInput = z320.object({
10172
+ var DTOThreadMessageFinalizeInput = z321.object({
10112
10173
  messageId: Id,
10113
- agentMessageBody: z320.string().optional(),
10174
+ agentMessageBody: z321.string().optional(),
10114
10175
  promptState: DTOThreadPromptState.optional(),
10115
10176
  creditsSpend: DTOBillingCreditsSpendInput.optional()
10116
10177
  });
10117
- var DTOThreadMessageRetryInput = z320.object({
10178
+ var DTOThreadMessageRetryInput = z321.object({
10118
10179
  agentMessageId: Id,
10119
- runtimeError: z320.string().optional(),
10180
+ runtimeError: z321.string().optional(),
10120
10181
  /**
10121
10182
  * When `true`, the retry message will be sent to a thread started by the user's message
10122
10183
  * Useful when user retries a message created in the main thread, but expects the retry to be sent as a thread reply
10123
10184
  */
10124
- shouldReplyInThread: z320.boolean().optional(),
10185
+ shouldReplyInThread: z321.boolean().optional(),
10125
10186
  message: DTOThreadMessage.pick({ id: true, body: true }).optional()
10126
10187
  });
10127
10188
  var DTOThreadMessageUpdateInput = DTOThreadMessage.pick({
10128
10189
  id: true
10129
10190
  }).merge(
10130
- z320.object({
10191
+ z321.object({
10131
10192
  body: DTOThreadMessage.shape.body,
10132
10193
  attachments: DTOThreadMessage.shape.attachments,
10133
10194
  agentResponseTrackerId: DTOThreadMessage.shape.agentResponseTrackerId.nullable()
10134
10195
  }).partial()
10135
10196
  );
10136
- var DTOThreadReactionCreateInput = z320.object({
10197
+ var DTOThreadReactionCreateInput = z321.object({
10137
10198
  messageId: Id,
10138
- emoji: z320.string()
10199
+ emoji: z321.string()
10139
10200
  });
10140
- var DTOThreadReactionDeleteInput = z320.object({
10201
+ var DTOThreadReactionDeleteInput = z321.object({
10141
10202
  messageId: Id,
10142
- emoji: z320.string()
10203
+ emoji: z321.string()
10143
10204
  });
10144
- var DTOThreadMessageResponse = z320.object({
10205
+ var DTOThreadMessageResponse = z321.object({
10145
10206
  message: DTOThreadMessage
10146
10207
  });
10147
- var DTOThreadReactionResponse = z320.object({
10208
+ var DTOThreadReactionResponse = z321.object({
10148
10209
  reaction: DTOThreadReaction
10149
10210
  });
10150
- var DTOThreadMessageListResponse = z320.object({
10211
+ var DTOThreadMessageListResponse = z321.object({
10151
10212
  messages: DTOThreadMessage.array(),
10152
10213
  reactions: DTOThreadReaction.array(),
10153
- lastSeenMessageId: z320.string().optional()
10214
+ lastSeenMessageId: z321.string().optional()
10154
10215
  });
10155
- var DTOThreadEventMessagesSent = z320.object({
10156
- type: z320.literal("MessagesSent"),
10216
+ var DTOThreadEventMessagesSent = z321.object({
10217
+ type: z321.literal("MessagesSent"),
10157
10218
  data: DTOThreadMessage.array()
10158
10219
  });
10159
- var DTOThreadEventMessagesUpdated = z320.object({
10160
- type: z320.literal("MessagesUpdated"),
10220
+ var DTOThreadEventMessagesUpdated = z321.object({
10221
+ type: z321.literal("MessagesUpdated"),
10161
10222
  data: DTOThreadMessage.array()
10162
10223
  });
10163
- var DTOThreadEventReactionsSent = z320.object({
10164
- type: z320.literal("ReactionsSent"),
10224
+ var DTOThreadEventReactionsSent = z321.object({
10225
+ type: z321.literal("ReactionsSent"),
10165
10226
  data: DTOThreadReaction.array()
10166
10227
  });
10167
- var DTOThreadEventReactionsDeleted = z320.object({
10168
- type: z320.literal("ReactionsDeleted"),
10228
+ var DTOThreadEventReactionsDeleted = z321.object({
10229
+ type: z321.literal("ReactionsDeleted"),
10169
10230
  data: DTOThreadReaction.array()
10170
10231
  });
10171
- var DTOThreadEvent = z320.discriminatedUnion("type", [
10232
+ var DTOThreadEvent = z321.discriminatedUnion("type", [
10172
10233
  DTOThreadEventMessagesSent,
10173
10234
  DTOThreadEventMessagesUpdated,
10174
10235
  DTOThreadEventReactionsSent,
@@ -10176,8 +10237,8 @@ var DTOThreadEvent = z320.discriminatedUnion("type", [
10176
10237
  ]);
10177
10238
 
10178
10239
  // src/api/dto/forge/project-section.ts
10179
- import z321 from "zod";
10180
- var AfterSectionId = z321.string().uuid().nullish().optional();
10240
+ import z322 from "zod";
10241
+ var AfterSectionId = z322.string().uuid().nullish().optional();
10181
10242
  var DTOForgeSection = ForgeSection;
10182
10243
  var DTOForgeSectionCreateInput = DTOForgeSection.pick({
10183
10244
  id: true,
@@ -10188,12 +10249,12 @@ var DTOForgeSectionCreateInput = DTOForgeSection.pick({
10188
10249
  });
10189
10250
  var DTOForgeSectionUpdateInput = DTOForgeSection.pick({ id: true, name: true });
10190
10251
  var DTOForgeSectionDeleteInput = DTOForgeSection.pick({ id: true }).extend({
10191
- deleteChildren: z321.boolean().default(false)
10252
+ deleteChildren: z322.boolean().default(false)
10192
10253
  });
10193
10254
  var DTOForgeSectionMoveInput = DTOForgeSection.pick({ id: true }).extend({
10194
10255
  afterSectionId: AfterSectionId
10195
10256
  });
10196
- var DTOForgeSectionItemMoveInput = z321.object({
10257
+ var DTOForgeSectionItemMoveInput = z322.object({
10197
10258
  id: Id,
10198
10259
  sectionId: Id.nullish().optional(),
10199
10260
  // undefined=stay, null=no section, string=move to section
@@ -10203,160 +10264,160 @@ var DTOForgeSectionItemMoveInput = z321.object({
10203
10264
 
10204
10265
  // src/api/dto/forge/project-artifact.ts
10205
10266
  var DTOForgeProjectArtifact = ForgeProjectArtifact;
10206
- var DTOForgeProjectArtifactUpdateInput = z322.object({
10207
- id: z322.string(),
10208
- title: z322.string().optional(),
10209
- isArchived: z322.boolean().optional()
10210
- });
10211
- var DTOForgeProjectArtifactCreateInput = z322.object({
10212
- id: z322.string(),
10213
- title: z322.string(),
10214
- sectionId: z322.string().optional(),
10215
- afterArtifactId: z322.string().optional().nullable(),
10267
+ var DTOForgeProjectArtifactUpdateInput = z323.object({
10268
+ id: z323.string(),
10269
+ title: z323.string().optional(),
10270
+ isArchived: z323.boolean().optional()
10271
+ });
10272
+ var DTOForgeProjectArtifactCreateInput = z323.object({
10273
+ id: z323.string(),
10274
+ title: z323.string(),
10275
+ sectionId: z323.string().optional(),
10276
+ afterArtifactId: z323.string().optional().nullable(),
10216
10277
  initialMessage: DTOThreadMessageCreateInput.optional()
10217
10278
  });
10218
- var DTOForgeProjectArtifactDeleteInput = z322.object({
10279
+ var DTOForgeProjectArtifactDeleteInput = z323.object({
10219
10280
  id: Id
10220
10281
  });
10221
10282
  var DTOForgeProjectArtifactMoveInput = DTOForgeSectionItemMoveInput;
10222
- var DTOForgeDocumentGetByIdParam = z322.object({
10283
+ var DTOForgeDocumentGetByIdParam = z323.object({
10223
10284
  id: Id
10224
10285
  });
10225
- var DTOForgeProjectArtifactGetResponse = z322.object({
10286
+ var DTOForgeProjectArtifactGetResponse = z323.object({
10226
10287
  artifact: DTOForgeProjectArtifact
10227
10288
  });
10228
- var DTOForgeDocumentGetResponse = z322.object({
10289
+ var DTOForgeDocumentGetResponse = z323.object({
10229
10290
  document: DTOForgeProjectArtifact
10230
10291
  });
10231
- var DTOForgeProjectArtifactCreateResponse = z322.object({
10292
+ var DTOForgeProjectArtifactCreateResponse = z323.object({
10232
10293
  artifact: DTOForgeProjectArtifact
10233
10294
  });
10234
- var DTOForgeProjectArtifactUpdateResponse = z322.object({
10295
+ var DTOForgeProjectArtifactUpdateResponse = z323.object({
10235
10296
  artifact: DTOForgeProjectArtifact
10236
10297
  });
10237
- var DTOForgeProjectArtifactDeleteResponse = z322.object({
10238
- ok: z322.literal(true)
10298
+ var DTOForgeProjectArtifactDeleteResponse = z323.object({
10299
+ ok: z323.literal(true)
10239
10300
  });
10240
- var DTOForgeProjectArtifactMoveResponse = z322.object({
10301
+ var DTOForgeProjectArtifactMoveResponse = z323.object({
10241
10302
  artifact: DTOForgeProjectArtifact
10242
10303
  });
10243
- var DTOForgeProjectArtifactsListResponse = z322.object({
10244
- artifacts: z322.array(DTOForgeProjectArtifact)
10304
+ var DTOForgeProjectArtifactsListResponse = z323.object({
10305
+ artifacts: z323.array(DTOForgeProjectArtifact)
10245
10306
  });
10246
- var DTOForgeProjectArtifactContentResponse = z322.object({
10247
- artifactId: z322.string(),
10307
+ var DTOForgeProjectArtifactContentResponse = z323.object({
10308
+ artifactId: z323.string(),
10248
10309
  content: ForgeProjectArtifactContentData
10249
10310
  });
10250
10311
 
10251
10312
  // src/api/dto/forge/project-feature.ts
10252
- import z323 from "zod";
10313
+ import z324 from "zod";
10253
10314
  var DTOFeaturePublishedStateUpdateInput = FeaturePublishedState.pick({
10254
10315
  iterationId: true,
10255
10316
  hideSupernovaUI: true,
10256
10317
  visibility: true
10257
10318
  });
10258
10319
  var DTOForgeProjectFeature = ProjectFeature;
10259
- var DTOForgeProjectPublishedFeature = z323.object({
10260
- featureName: z323.string(),
10261
- iterationName: z323.string(),
10262
- hideSupernovaUI: z323.boolean(),
10263
- thumbnailUrl: z323.string().optional(),
10264
- staticPreviewUrl: z323.string().optional(),
10320
+ var DTOForgeProjectPublishedFeature = z324.object({
10321
+ featureName: z324.string(),
10322
+ iterationName: z324.string(),
10323
+ hideSupernovaUI: z324.boolean(),
10324
+ thumbnailUrl: z324.string().optional(),
10325
+ staticPreviewUrl: z324.string().optional(),
10265
10326
  // These are only included when authenticated user has access to the project (for both public & private published features)
10266
- projectId: z323.string().optional(),
10267
- projectName: z323.string().optional(),
10268
- workspaceId: z323.string().optional()
10327
+ projectId: z324.string().optional(),
10328
+ projectName: z324.string().optional(),
10329
+ workspaceId: z324.string().optional()
10269
10330
  });
10270
- var DTOForgeProjectPublishedFeatureGetResponse = z323.object({
10331
+ var DTOForgeProjectPublishedFeatureGetResponse = z324.object({
10271
10332
  publishedFeature: DTOForgeProjectPublishedFeature
10272
10333
  });
10273
- var DTOForgeProjectFeatureListResponse = z323.object({
10334
+ var DTOForgeProjectFeatureListResponse = z324.object({
10274
10335
  features: DTOForgeProjectFeature.array()
10275
10336
  });
10276
- var DTOForgeProjectFeatureGetResponse = z323.object({
10337
+ var DTOForgeProjectFeatureGetResponse = z324.object({
10277
10338
  feature: DTOForgeProjectFeature
10278
10339
  });
10279
- var DTOForgeProjectFeatureCreateInput = z323.object({
10340
+ var DTOForgeProjectFeatureCreateInput = z324.object({
10280
10341
  id: Id,
10281
- name: z323.string().optional(),
10282
- description: z323.string(),
10342
+ name: z324.string().optional(),
10343
+ description: z324.string(),
10283
10344
  sectionId: Id.optional(),
10284
10345
  afterFeatureId: Id.nullable().optional(),
10285
10346
  initialMessage: DTOThreadMessageCreateInput
10286
10347
  });
10287
- var DTOForgeProjectFeatureUpdateInput = z323.object({
10348
+ var DTOForgeProjectFeatureUpdateInput = z324.object({
10288
10349
  id: Id,
10289
- name: z323.string().optional(),
10290
- description: z323.string().optional(),
10291
- isArchived: z323.boolean().optional(),
10350
+ name: z324.string().optional(),
10351
+ description: z324.string().optional(),
10352
+ isArchived: z324.boolean().optional(),
10292
10353
  status: ProjectFeatureStatus.optional(),
10293
10354
  /**
10294
10355
  * Sending null will result in feature unpublish
10295
10356
  */
10296
10357
  publishedState: DTOFeaturePublishedStateUpdateInput.nullish()
10297
10358
  });
10298
- var DTOForgeProjectFeatureDeleteInput = z323.object({
10359
+ var DTOForgeProjectFeatureDeleteInput = z324.object({
10299
10360
  id: Id
10300
10361
  });
10301
- var DTOForgeProjectFeatureGetByIdParam = z323.object({
10362
+ var DTOForgeProjectFeatureGetByIdParam = z324.object({
10302
10363
  id: Id
10303
10364
  });
10304
- var DTOFeatureArtifactListQuery = z323.object({
10305
- messageId: z323.string().optional(),
10306
- iterationId: z323.string().optional()
10365
+ var DTOFeatureArtifactListQuery = z324.object({
10366
+ messageId: z324.string().optional(),
10367
+ iterationId: z324.string().optional()
10307
10368
  });
10308
10369
  var DTOForgeProjectFeatureMoveInput = DTOForgeSectionItemMoveInput;
10309
10370
 
10310
10371
  // src/api/dto/forge/project-action.ts
10311
- var DTOForgeProjectActionFeatureCreate = z324.object({
10312
- type: z324.literal("FeatureCreate"),
10372
+ var DTOForgeProjectActionFeatureCreate = z325.object({
10373
+ type: z325.literal("FeatureCreate"),
10313
10374
  input: DTOForgeProjectFeatureCreateInput
10314
10375
  });
10315
- var DTOForgeProjectActionFeatureUpdate = z324.object({
10316
- type: z324.literal("FeatureUpdate"),
10376
+ var DTOForgeProjectActionFeatureUpdate = z325.object({
10377
+ type: z325.literal("FeatureUpdate"),
10317
10378
  input: DTOForgeProjectFeatureUpdateInput
10318
10379
  });
10319
- var DTOForgeProjectActionFeatureMove = z324.object({
10320
- type: z324.literal("FeatureMove"),
10380
+ var DTOForgeProjectActionFeatureMove = z325.object({
10381
+ type: z325.literal("FeatureMove"),
10321
10382
  input: DTOForgeProjectFeatureMoveInput
10322
10383
  });
10323
- var DTOForgeProjectActionFeatureDelete = z324.object({
10324
- type: z324.literal("FeatureDelete"),
10384
+ var DTOForgeProjectActionFeatureDelete = z325.object({
10385
+ type: z325.literal("FeatureDelete"),
10325
10386
  input: DTOForgeProjectFeatureDeleteInput
10326
10387
  });
10327
- var DTOForgeProjectActionArtifactCreate = z324.object({
10328
- type: z324.literal("ArtifactCreate"),
10388
+ var DTOForgeProjectActionArtifactCreate = z325.object({
10389
+ type: z325.literal("ArtifactCreate"),
10329
10390
  input: DTOForgeProjectArtifactCreateInput
10330
10391
  });
10331
- var DTOForgeProjectActionArtifactUpdate = z324.object({
10332
- type: z324.literal("ArtifactUpdate"),
10392
+ var DTOForgeProjectActionArtifactUpdate = z325.object({
10393
+ type: z325.literal("ArtifactUpdate"),
10333
10394
  input: DTOForgeProjectArtifactUpdateInput
10334
10395
  });
10335
- var DTOForgeProjectActionArtifactDelete = z324.object({
10336
- type: z324.literal("ArtifactDelete"),
10396
+ var DTOForgeProjectActionArtifactDelete = z325.object({
10397
+ type: z325.literal("ArtifactDelete"),
10337
10398
  input: DTOForgeProjectArtifactDeleteInput
10338
10399
  });
10339
- var DTOForgeProjectActionArtifactMove = z324.object({
10340
- type: z324.literal("ArtifactMove"),
10400
+ var DTOForgeProjectActionArtifactMove = z325.object({
10401
+ type: z325.literal("ArtifactMove"),
10341
10402
  input: DTOForgeProjectArtifactMoveInput
10342
10403
  });
10343
- var DTOForgeProjectActionSectionCreate = z324.object({
10344
- type: z324.literal("SectionCreate"),
10404
+ var DTOForgeProjectActionSectionCreate = z325.object({
10405
+ type: z325.literal("SectionCreate"),
10345
10406
  input: DTOForgeSectionCreateInput
10346
10407
  });
10347
- var DTOForgeProjectActionSectionUpdate = z324.object({
10348
- type: z324.literal("SectionUpdate"),
10408
+ var DTOForgeProjectActionSectionUpdate = z325.object({
10409
+ type: z325.literal("SectionUpdate"),
10349
10410
  input: DTOForgeSectionUpdateInput
10350
10411
  });
10351
- var DTOForgeProjectActionSectionDelete = z324.object({
10352
- type: z324.literal("SectionDelete"),
10412
+ var DTOForgeProjectActionSectionDelete = z325.object({
10413
+ type: z325.literal("SectionDelete"),
10353
10414
  input: DTOForgeSectionDeleteInput
10354
10415
  });
10355
- var DTOForgeProjectActionSectionMove = z324.object({
10356
- type: z324.literal("SectionMove"),
10416
+ var DTOForgeProjectActionSectionMove = z325.object({
10417
+ type: z325.literal("SectionMove"),
10357
10418
  input: DTOForgeSectionMoveInput
10358
10419
  });
10359
- var DTOForgeProjectAction = z324.discriminatedUnion("type", [
10420
+ var DTOForgeProjectAction = z325.discriminatedUnion("type", [
10360
10421
  //features
10361
10422
  DTOForgeProjectActionFeatureCreate,
10362
10423
  DTOForgeProjectActionFeatureUpdate,
@@ -10373,41 +10434,41 @@ var DTOForgeProjectAction = z324.discriminatedUnion("type", [
10373
10434
  DTOForgeProjectActionSectionDelete,
10374
10435
  DTOForgeProjectActionSectionMove
10375
10436
  ]).and(
10376
- z324.object({
10377
- tId: z324.string().optional()
10437
+ z325.object({
10438
+ tId: z325.string().optional()
10378
10439
  })
10379
10440
  );
10380
10441
 
10381
10442
  // src/api/dto/forge/project-artifact-room.ts
10382
- import { z as z325 } from "zod";
10383
- var DTOForgeProjectArtifactRoom = z325.object({
10384
- id: z325.string()
10443
+ import { z as z326 } from "zod";
10444
+ var DTOForgeProjectArtifactRoom = z326.object({
10445
+ id: z326.string()
10385
10446
  });
10386
- var DTOForgeProjectArtifactRoomResponse = z325.object({
10447
+ var DTOForgeProjectArtifactRoomResponse = z326.object({
10387
10448
  room: DTOForgeProjectArtifactRoom
10388
10449
  });
10389
10450
 
10390
10451
  // src/api/dto/forge/project-context-override.ts
10391
- import z327 from "zod";
10452
+ import z328 from "zod";
10392
10453
 
10393
10454
  // src/api/dto/forge/project-context-v2.ts
10394
- import { z as z326 } from "zod";
10395
- var DTOForgeComponentSetTypeV2 = z326.enum(["Shadcn"]);
10396
- var DTOForgeComponentSet = z326.object({
10455
+ import { z as z327 } from "zod";
10456
+ var DTOForgeComponentSetTypeV2 = z327.enum(["Shadcn"]);
10457
+ var DTOForgeComponentSet = z327.object({
10397
10458
  type: DTOForgeComponentSetTypeV2
10398
10459
  });
10399
- var DTOForgeIconSetTypeV2 = z326.enum(["Phosphor", "Lucide", "Tabler"]);
10400
- var DTOForgeThemeKnownPreset = z326.enum(["Default", "Airbnb", "Spotify", "Windows98"]);
10401
- var DTOForgeIconSet = z326.object({
10460
+ var DTOForgeIconSetTypeV2 = z327.enum(["Phosphor", "Lucide", "Tabler"]);
10461
+ var DTOForgeThemeKnownPreset = z327.enum(["Default", "Airbnb", "Spotify", "Windows98"]);
10462
+ var DTOForgeIconSet = z327.object({
10402
10463
  type: DTOForgeIconSetTypeV2,
10403
- variant: z326.string().optional()
10464
+ variant: z327.string().optional()
10404
10465
  });
10405
- var DTOForgeTokenThemeSet = z326.object({
10406
- id: z326.string(),
10407
- name: z326.string(),
10408
- tokenThemeIds: z326.array(z326.string())
10466
+ var DTOForgeTokenThemeSet = z327.object({
10467
+ id: z327.string(),
10468
+ name: z327.string(),
10469
+ tokenThemeIds: z327.array(z327.string())
10409
10470
  });
10410
- var DTOForgeProjectTheme = z326.object({
10471
+ var DTOForgeProjectTheme = z327.object({
10411
10472
  // Colors
10412
10473
  background: ColorTokenData,
10413
10474
  foreground: ColorTokenData,
@@ -10492,28 +10553,28 @@ var DTOForgeProjectTheme = z326.object({
10492
10553
  shadowXl: ShadowTokenData,
10493
10554
  shadow2xl: ShadowTokenData
10494
10555
  });
10495
- var DTOForgeProjectContextV2 = z326.object({
10496
- id: z326.string(),
10497
- name: z326.string(),
10498
- workspaceId: z326.string(),
10499
- designSystemId: z326.string().optional(),
10500
- brandId: z326.string().optional(),
10501
- defaultTokenThemeSetId: z326.string().optional(),
10502
- description: z326.string().optional(),
10503
- productContext: z326.string().optional(),
10504
- additionalContext: z326.string().optional(),
10505
- isArchived: z326.boolean(),
10506
- themePreset: z326.string().optional(),
10507
- tokenThemeSets: z326.array(DTOForgeTokenThemeSet).optional(),
10556
+ var DTOForgeProjectContextV2 = z327.object({
10557
+ id: z327.string(),
10558
+ name: z327.string(),
10559
+ workspaceId: z327.string(),
10560
+ designSystemId: z327.string().optional(),
10561
+ brandId: z327.string().optional(),
10562
+ defaultTokenThemeSetId: z327.string().optional(),
10563
+ description: z327.string().optional(),
10564
+ productContext: z327.string().optional(),
10565
+ additionalContext: z327.string().optional(),
10566
+ isArchived: z327.boolean(),
10567
+ themePreset: z327.string().optional(),
10568
+ tokenThemeSets: z327.array(DTOForgeTokenThemeSet).optional(),
10508
10569
  componentSet: DTOForgeComponentSet,
10509
10570
  iconSet: DTOForgeIconSet,
10510
10571
  theme: DTOForgeProjectTheme,
10511
- createdAt: z326.coerce.date(),
10512
- updatedAt: z326.coerce.date(),
10572
+ createdAt: z327.coerce.date(),
10573
+ updatedAt: z327.coerce.date(),
10513
10574
  thumbnail: DTOFileReference.optional(),
10514
- sandboxTemplate: z326.object({
10515
- id: z326.string(),
10516
- version: z326.string()
10575
+ sandboxTemplate: z327.object({
10576
+ id: z327.string(),
10577
+ version: z327.string()
10517
10578
  }).optional()
10518
10579
  });
10519
10580
  var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2.omit({
@@ -10523,7 +10584,7 @@ var DTOForgeProjectContextCreateV2 = DTOForgeProjectContextV2.omit({
10523
10584
  isArchived: true,
10524
10585
  thumbnail: true
10525
10586
  }).extend({
10526
- thumbnailFileId: z326.string().optional()
10587
+ thumbnailFileId: z327.string().optional()
10527
10588
  });
10528
10589
  var DTOForgeProjectContextUpdateV2 = DTOForgeProjectContextV2.omit({
10529
10590
  id: true,
@@ -10532,60 +10593,60 @@ var DTOForgeProjectContextUpdateV2 = DTOForgeProjectContextV2.omit({
10532
10593
  updatedAt: true,
10533
10594
  thumbnail: true
10534
10595
  }).partial().extend({
10535
- thumbnailFileId: z326.string().nullish()
10596
+ thumbnailFileId: z327.string().nullish()
10536
10597
  });
10537
- var DTOForgeProjectContextResponseV2 = z326.object({ context: DTOForgeProjectContextV2 });
10538
- var DTOForgeProjectContextListQueryV2 = z326.object({
10539
- workspaceId: z326.string(),
10598
+ var DTOForgeProjectContextResponseV2 = z327.object({ context: DTOForgeProjectContextV2 });
10599
+ var DTOForgeProjectContextListQueryV2 = z327.object({
10600
+ workspaceId: z327.string(),
10540
10601
  isArchived: zodQueryBoolean()
10541
10602
  });
10542
- var DTOForgeProjectContextListResponseV2 = z326.object({ contexts: z326.array(DTOForgeProjectContextV2) });
10603
+ var DTOForgeProjectContextListResponseV2 = z327.object({ contexts: z327.array(DTOForgeProjectContextV2) });
10543
10604
 
10544
10605
  // src/api/dto/forge/project-context-override.ts
10545
- var DTOProjectContextOverride = z327.object({
10546
- projectId: z327.string(),
10606
+ var DTOProjectContextOverride = z328.object({
10607
+ projectId: z328.string(),
10547
10608
  theme: DTOForgeProjectTheme.partial(),
10548
- themePreset: z327.string().optional()
10609
+ themePreset: z328.string().optional()
10549
10610
  });
10550
- var DTOProjectContextOverrideInput = z327.object({
10551
- updateSharedContext: z327.boolean().optional(),
10611
+ var DTOProjectContextOverrideInput = z328.object({
10612
+ updateSharedContext: z328.boolean().optional(),
10552
10613
  theme: DTOForgeProjectTheme.partial(),
10553
- themePreset: z327.string().optional()
10614
+ themePreset: z328.string().optional()
10554
10615
  });
10555
- var DTOProjectContextOverrideResponse = z327.object({
10616
+ var DTOProjectContextOverrideResponse = z328.object({
10556
10617
  override: DTOProjectContextOverride,
10557
10618
  originalContext: DTOForgeProjectContextV2,
10558
10619
  resolvedContext: DTOForgeProjectContextV2
10559
10620
  });
10560
10621
 
10561
10622
  // src/api/dto/forge/project-context.ts
10562
- import { z as z328 } from "zod";
10563
- var DTOForgeProjectContext = z328.object({
10564
- definition: z328.string(),
10565
- dependencies: z328.array(
10566
- z328.object({
10567
- packageName: z328.string(),
10568
- type: z328.literal("npm"),
10569
- version: z328.string().default("latest")
10623
+ import { z as z329 } from "zod";
10624
+ var DTOForgeProjectContext = z329.object({
10625
+ definition: z329.string(),
10626
+ dependencies: z329.array(
10627
+ z329.object({
10628
+ packageName: z329.string(),
10629
+ type: z329.literal("npm"),
10630
+ version: z329.string().default("latest")
10570
10631
  })
10571
10632
  ),
10572
- designSystemId: z328.string(),
10573
- id: z328.string(),
10574
- meta: z328.object({
10575
- name: z328.string(),
10576
- description: z328.string().optional()
10633
+ designSystemId: z329.string(),
10634
+ id: z329.string(),
10635
+ meta: z329.object({
10636
+ name: z329.string(),
10637
+ description: z329.string().optional()
10577
10638
  }),
10578
- name: z328.string(),
10639
+ name: z329.string(),
10579
10640
  npmProxySettings: DTONpmRegistryConfig.optional(),
10580
- platform: z328.enum(["React", "Vue", "Angular"]),
10581
- styling: z328.enum(["CSS", "Tailwind"]),
10582
- tailwindConfig: z328.object({
10583
- content: z328.string(),
10584
- version: z328.string()
10641
+ platform: z329.enum(["React", "Vue", "Angular"]),
10642
+ styling: z329.enum(["CSS", "Tailwind"]),
10643
+ tailwindConfig: z329.object({
10644
+ content: z329.string(),
10645
+ version: z329.string()
10585
10646
  }).optional(),
10586
- createdAt: z328.coerce.date(),
10587
- updatedAt: z328.coerce.date(),
10588
- workspaceId: z328.string()
10647
+ createdAt: z329.coerce.date(),
10648
+ updatedAt: z329.coerce.date(),
10649
+ workspaceId: z329.string()
10589
10650
  });
10590
10651
  var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
10591
10652
  definition: true,
@@ -10597,13 +10658,13 @@ var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
10597
10658
  tailwindConfig: true,
10598
10659
  styling: true
10599
10660
  }).extend({ npmProxySettings: DTONpmRegistryConfig });
10600
- var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id: z328.string() });
10601
- var DTOForgeProjectContextGetResponse = z328.object({ context: DTOForgeProjectContext });
10602
- var DTOForgeProjectContextListResponse = z328.object({ contexts: z328.array(DTOForgeProjectContext) });
10603
- var DTOForgeProjectContextCreateResponse = z328.object({ context: DTOForgeProjectContext });
10604
- var DTOForgeProjectContextUpdateResponse = z328.object({ context: DTOForgeProjectContext });
10605
- var DTOForgeProjectContextRemoveResponse = z328.object({
10606
- ok: z328.literal(true)
10661
+ var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id: z329.string() });
10662
+ var DTOForgeProjectContextGetResponse = z329.object({ context: DTOForgeProjectContext });
10663
+ var DTOForgeProjectContextListResponse = z329.object({ contexts: z329.array(DTOForgeProjectContext) });
10664
+ var DTOForgeProjectContextCreateResponse = z329.object({ context: DTOForgeProjectContext });
10665
+ var DTOForgeProjectContextUpdateResponse = z329.object({ context: DTOForgeProjectContext });
10666
+ var DTOForgeProjectContextRemoveResponse = z329.object({
10667
+ ok: z329.literal(true)
10607
10668
  });
10608
10669
 
10609
10670
  // src/api/dto/forge/project-figma-node.ts
@@ -10611,42 +10672,42 @@ var DTOForgeProjectFigmaNode = ForgeProjectFigmaNode;
10611
10672
  var DTOForgeProjectFigmaNodeRenderInput = ForgeProjectFigmaNodeRenderInput;
10612
10673
 
10613
10674
  // src/api/dto/forge/project-file.ts
10614
- import { z as z329 } from "zod";
10615
- var DTOForgeProjectFile = z329.object({
10616
- id: z329.string(),
10617
- name: z329.string(),
10618
- checksum: z329.string(),
10619
- pendingUpload: z329.boolean().optional(),
10620
- url: z329.string(),
10621
- size: z329.number()
10622
- });
10623
- var DTOForgeProjectFileListResponse = z329.object({
10624
- files: z329.array(DTOForgeProjectFile)
10625
- });
10626
- var DTOForgeProjectFileUploadPayloadItem = z329.object({
10627
- size: z329.number(),
10628
- name: z329.string(),
10629
- checksum: z329.string()
10630
- });
10631
- var DTOForgeProjectFileUploadPayload = z329.object({
10632
- files: z329.array(DTOForgeProjectFileUploadPayloadItem)
10633
- });
10634
- var DTOForgeProjectFileUploadResponse = z329.object({
10635
- files: z329.array(DTOForgeProjectFile),
10636
- uploadUrls: z329.array(
10637
- z329.object({
10638
- fileId: z329.string(),
10639
- uploadUrl: z329.string()
10675
+ import { z as z330 } from "zod";
10676
+ var DTOForgeProjectFile = z330.object({
10677
+ id: z330.string(),
10678
+ name: z330.string(),
10679
+ checksum: z330.string(),
10680
+ pendingUpload: z330.boolean().optional(),
10681
+ url: z330.string(),
10682
+ size: z330.number()
10683
+ });
10684
+ var DTOForgeProjectFileListResponse = z330.object({
10685
+ files: z330.array(DTOForgeProjectFile)
10686
+ });
10687
+ var DTOForgeProjectFileUploadPayloadItem = z330.object({
10688
+ size: z330.number(),
10689
+ name: z330.string(),
10690
+ checksum: z330.string()
10691
+ });
10692
+ var DTOForgeProjectFileUploadPayload = z330.object({
10693
+ files: z330.array(DTOForgeProjectFileUploadPayloadItem)
10694
+ });
10695
+ var DTOForgeProjectFileUploadResponse = z330.object({
10696
+ files: z330.array(DTOForgeProjectFile),
10697
+ uploadUrls: z330.array(
10698
+ z330.object({
10699
+ fileId: z330.string(),
10700
+ uploadUrl: z330.string()
10640
10701
  })
10641
10702
  )
10642
10703
  });
10643
- var DTOForgeProjectFileUploadFinalizePayload = z329.object({
10644
- fileIds: z329.array(z329.string())
10704
+ var DTOForgeProjectFileUploadFinalizePayload = z330.object({
10705
+ fileIds: z330.array(z330.string())
10645
10706
  });
10646
- var DTOForgeProjectFileUploadFinalizeResponse = z329.object({ ok: z329.literal(true) });
10707
+ var DTOForgeProjectFileUploadFinalizeResponse = z330.object({ ok: z330.literal(true) });
10647
10708
 
10648
10709
  // src/api/dto/forge/project-invitation.ts
10649
- import { z as z330 } from "zod";
10710
+ import { z as z331 } from "zod";
10650
10711
  var DTOForgeProjectInvitation = ForgeProjectInvitation;
10651
10712
  var DTOCreateForgeProjectInvitation = DTOForgeProjectInvitation.pick({
10652
10713
  email: true,
@@ -10656,24 +10717,24 @@ var DTOUpdateForgeProjectInvitation = DTOCreateForgeProjectInvitation;
10656
10717
  var DTORemoveForgeProjectInvitation = DTOCreateForgeProjectInvitation.pick({
10657
10718
  email: true
10658
10719
  });
10659
- var DTOForgeProjectInvitationsListResponse = z330.object({
10660
- invitations: z330.array(DTOForgeProjectInvitation)
10720
+ var DTOForgeProjectInvitationsListResponse = z331.object({
10721
+ invitations: z331.array(DTOForgeProjectInvitation)
10661
10722
  });
10662
- var DTOForgeProjectInvitationGetResponse = z330.object({
10723
+ var DTOForgeProjectInvitationGetResponse = z331.object({
10663
10724
  invitation: DTOForgeProjectInvitation
10664
10725
  });
10665
- var DTOForgeProjectInvitationCreateResponse = z330.object({
10726
+ var DTOForgeProjectInvitationCreateResponse = z331.object({
10666
10727
  invitation: DTOForgeProjectInvitation
10667
10728
  });
10668
- var DTOForgeProjectInvitationUpdateResponse = z330.object({
10729
+ var DTOForgeProjectInvitationUpdateResponse = z331.object({
10669
10730
  invitation: DTOForgeProjectInvitation.nullable()
10670
10731
  });
10671
- var DTOForgeProjectInvitationRemoveResponse = z330.object({
10672
- ok: z330.literal(true)
10732
+ var DTOForgeProjectInvitationRemoveResponse = z331.object({
10733
+ ok: z331.literal(true)
10673
10734
  });
10674
10735
 
10675
10736
  // src/api/dto/forge/project-iteration-old.ts
10676
- import { z as z331 } from "zod";
10737
+ import { z as z332 } from "zod";
10677
10738
  var DTOForgeProjectIterationMergeMeta = ForgeProjectIterationMergeMeta;
10678
10739
  var DTOForgeProjectIteration = ForgeProjectIteration.omit({
10679
10740
  artifacts: true,
@@ -10684,7 +10745,7 @@ var DTOForgeProjectIteration = ForgeProjectIteration.omit({
10684
10745
  messages: DTOForgeIterationMessage.array(),
10685
10746
  mergeMeta: DTOForgeProjectIterationMergeMeta.optional()
10686
10747
  });
10687
- var DTOGetForgeProjectIterationResponse = z331.object({
10748
+ var DTOGetForgeProjectIterationResponse = z332.object({
10688
10749
  iteration: DTOForgeProjectIteration.nullable()
10689
10750
  });
10690
10751
  var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
@@ -10694,20 +10755,20 @@ var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
10694
10755
  mergeMeta: true,
10695
10756
  createdAt: true
10696
10757
  });
10697
- var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z331.string() });
10698
- var DTOCreateForgeProjectIterationResponse = z331.object({
10758
+ var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z332.string() });
10759
+ var DTOCreateForgeProjectIterationResponse = z332.object({
10699
10760
  iteration: DTOForgeProjectIteration
10700
10761
  });
10701
- var DTOUpdateForgeProjectIterationResponse = z331.object({
10762
+ var DTOUpdateForgeProjectIterationResponse = z332.object({
10702
10763
  iteration: DTOForgeProjectIteration.nullable()
10703
10764
  });
10704
- var DTODeleteForgeProjectIterationResponse = z331.object({
10705
- ok: z331.literal(true)
10765
+ var DTODeleteForgeProjectIterationResponse = z332.object({
10766
+ ok: z332.literal(true)
10706
10767
  });
10707
- var DTOForgeProjectIterationListResponse = z331.object({ iterations: z331.array(DTOForgeProjectIteration) });
10768
+ var DTOForgeProjectIterationListResponse = z332.object({ iterations: z332.array(DTOForgeProjectIteration) });
10708
10769
 
10709
10770
  // src/api/dto/forge/project-member.ts
10710
- import { z as z332 } from "zod";
10771
+ import { z as z333 } from "zod";
10711
10772
 
10712
10773
  // src/utils/figma.ts
10713
10774
  var figmaFileIdRegex = /^[0-9a-zA-Z]{22,128}$/;
@@ -10890,7 +10951,7 @@ var DTOForgeProjectMemberRole = ForgeProjectRole;
10890
10951
  var DTOForgeProjectMember = ForgeProjectMembership.extend({
10891
10952
  user: DTOUser,
10892
10953
  effectiveRole: DTOForgeProjectMemberRole,
10893
- isDeactivated: z332.boolean()
10954
+ isDeactivated: z333.boolean()
10894
10955
  });
10895
10956
  var DTOCreateForgeProjectMember = DTOForgeProjectMember.pick({
10896
10957
  userId: true,
@@ -10900,93 +10961,93 @@ var DTOUpdateForgeProjectMember = DTOCreateForgeProjectMember;
10900
10961
  var DTORemoveForgeProjectMember = DTOForgeProjectMember.pick({
10901
10962
  userId: true
10902
10963
  });
10903
- var DTOForgeProjectMemberListQuery = z332.object({
10964
+ var DTOForgeProjectMemberListQuery = z333.object({
10904
10965
  includeImplicitMembers: zodQueryBoolean().optional()
10905
10966
  });
10906
- var DTOForgeProjectMembersListResponse = z332.object({
10907
- members: z332.array(DTOForgeProjectMember),
10908
- invitations: z332.array(DTOForgeProjectInvitation)
10967
+ var DTOForgeProjectMembersListResponse = z333.object({
10968
+ members: z333.array(DTOForgeProjectMember),
10969
+ invitations: z333.array(DTOForgeProjectInvitation)
10909
10970
  });
10910
- var DTOForgeProjectMemberGetResponse = z332.object({
10971
+ var DTOForgeProjectMemberGetResponse = z333.object({
10911
10972
  member: DTOForgeProjectMember
10912
10973
  });
10913
- var DTOForgeProjectMemberCreateResponse = z332.object({
10974
+ var DTOForgeProjectMemberCreateResponse = z333.object({
10914
10975
  member: DTOForgeProjectMember
10915
10976
  });
10916
- var DTOForgeProjectMemberUpdateResponse = z332.object({
10977
+ var DTOForgeProjectMemberUpdateResponse = z333.object({
10917
10978
  member: DTOForgeProjectMember.nullable()
10918
10979
  });
10919
- var DTOForgeProjectMemberRemoveResponse = z332.object({
10920
- ok: z332.literal(true)
10980
+ var DTOForgeProjectMemberRemoveResponse = z333.object({
10981
+ ok: z333.literal(true)
10921
10982
  });
10922
- var DTOAddMembersToForgeProject = z332.object({
10983
+ var DTOAddMembersToForgeProject = z333.object({
10923
10984
  membersToInvite: DTOCreateForgeProjectInvitation.array().min(1),
10924
- featureId: z332.string().optional()
10985
+ featureId: z333.string().optional()
10925
10986
  });
10926
10987
 
10927
10988
  // src/api/dto/forge/project-room.ts
10928
- import { z as z333 } from "zod";
10929
- var DTOForgeProjectRoom = z333.object({
10930
- id: z333.string()
10989
+ import { z as z334 } from "zod";
10990
+ var DTOForgeProjectRoom = z334.object({
10991
+ id: z334.string()
10931
10992
  });
10932
- var DTOForgeProjectRoomResponse = z333.object({
10993
+ var DTOForgeProjectRoomResponse = z334.object({
10933
10994
  room: DTOForgeProjectRoom
10934
10995
  });
10935
10996
 
10936
10997
  // src/api/dto/forge/project.ts
10937
- import { z as z334 } from "zod";
10998
+ import { z as z335 } from "zod";
10938
10999
  var DTOForgeProjectRole = ForgeProjectRole;
10939
11000
  var DTOForgeProjectAccessMode = ForgeProjectAccessMode;
10940
11001
  var DTOForgeProjectDefaultRole = ForgeDefaultProjectRole;
10941
- var DTOForgeProjectDocumentPreview = z334.object({
10942
- id: z334.string(),
10943
- title: z334.string(),
11002
+ var DTOForgeProjectDocumentPreview = z335.object({
11003
+ id: z335.string(),
11004
+ title: z335.string(),
10944
11005
  thumbnail: DTOFileReference.optional(),
10945
- createdAt: z334.string(),
10946
- updatedAt: z334.string()
11006
+ createdAt: z335.string(),
11007
+ updatedAt: z335.string()
10947
11008
  });
10948
- var DTOForgeProjectFeaturePreview = z334.object({
10949
- id: z334.string(),
10950
- name: z334.string(),
11009
+ var DTOForgeProjectFeaturePreview = z335.object({
11010
+ id: z335.string(),
11011
+ name: z335.string(),
10951
11012
  thumbnail: DTOFileReference.optional(),
10952
- isPublished: z334.boolean().optional(),
10953
- isArchived: z334.boolean().optional(),
10954
- createdAt: z334.string(),
10955
- updatedAt: z334.string()
10956
- });
10957
- var DTOForgeProject = z334.object({
10958
- id: z334.string(),
10959
- workspaceId: z334.string(),
10960
- projectContextId: z334.string(),
10961
- name: z334.string(),
10962
- description: z334.string().optional(),
10963
- instruction: z334.string().nullable(),
10964
- tags: z334.array(z334.string()).default([]),
11013
+ isPublished: z335.boolean().optional(),
11014
+ isArchived: z335.boolean().optional(),
11015
+ createdAt: z335.string(),
11016
+ updatedAt: z335.string()
11017
+ });
11018
+ var DTOForgeProject = z335.object({
11019
+ id: z335.string(),
11020
+ workspaceId: z335.string(),
11021
+ projectContextId: z335.string(),
11022
+ name: z335.string(),
11023
+ description: z335.string().optional(),
11024
+ instruction: z335.string().nullable(),
11025
+ tags: z335.array(z335.string()).default([]),
10965
11026
  accessMode: DTOForgeProjectAccessMode,
10966
11027
  defaultRole: DTOForgeProjectDefaultRole,
10967
- isArchived: z334.boolean(),
10968
- emoji: z334.string().optional(),
10969
- tokenThemeSetId: z334.string().optional(),
10970
- createdAt: z334.coerce.date(),
10971
- createdByUserId: z334.string().optional(),
10972
- lastUserActivityAt: z334.coerce.date().optional(),
10973
- updatedAt: z334.coerce.date(),
11028
+ isArchived: z335.boolean(),
11029
+ emoji: z335.string().optional(),
11030
+ tokenThemeSetId: z335.string().optional(),
11031
+ createdAt: z335.coerce.date(),
11032
+ createdByUserId: z335.string().optional(),
11033
+ lastUserActivityAt: z335.coerce.date().optional(),
11034
+ updatedAt: z335.coerce.date(),
10974
11035
  documents: DTOForgeProjectDocumentPreview.array(),
10975
11036
  features: DTOForgeProjectFeaturePreview.array(),
10976
11037
  /** @deprecated use `projectContextId` */
10977
- fpContextId: z334.string(),
11038
+ fpContextId: z335.string(),
10978
11039
  /** @deprecated use `name` and `description` properties on project */
10979
- meta: z334.object({
10980
- name: z334.string(),
10981
- description: z334.string().optional()
11040
+ meta: z335.object({
11041
+ name: z335.string(),
11042
+ description: z335.string().optional()
10982
11043
  }),
10983
11044
  /** @deprecated use features.length */
10984
- numberOfFeatures: z334.number().int().nonnegative(),
11045
+ numberOfFeatures: z335.number().int().nonnegative(),
10985
11046
  /** @deprecated use documents.length */
10986
- numberOfDocuments: z334.number().int().nonnegative().optional(),
11047
+ numberOfDocuments: z335.number().int().nonnegative().optional(),
10987
11048
  /** @deprecated prefer fetching from project contexts endpoint separately */
10988
11049
  context: DTOForgeProjectContextV2.optional(),
10989
- liveblocksRoomId: z334.string().optional()
11050
+ liveblocksRoomId: z335.string().optional()
10990
11051
  });
10991
11052
  var DTOForgeProjectCreate = DTOForgeProject.pick({
10992
11053
  name: true,
@@ -10999,8 +11060,8 @@ var DTOForgeProjectCreate = DTOForgeProject.pick({
10999
11060
  /** @deprecated use `name` and `description` properties on project */
11000
11061
  meta: DTOForgeProject.shape.meta.optional(),
11001
11062
  /** @deprecated use `projectContextId` */
11002
- fpContextId: z334.string().optional(),
11003
- projectContextId: z334.string().optional(),
11063
+ fpContextId: z335.string().optional(),
11064
+ projectContextId: z335.string().optional(),
11004
11065
  membersToInvite: DTOCreateForgeProjectInvitation.array().min(1).optional(),
11005
11066
  initialFeature: DTOForgeProjectFeatureCreateInput.optional(),
11006
11067
  initialArtifact: DTOForgeProjectArtifactCreateInput.optional(),
@@ -11008,136 +11069,136 @@ var DTOForgeProjectCreate = DTOForgeProject.pick({
11008
11069
  defaultRole: DTOForgeProjectDefaultRole.optional()
11009
11070
  });
11010
11071
  var DTOForgeProjectUpdate = DTOForgeProjectCreate.omit({ membersToInvite: true }).partial().extend({
11011
- id: z334.string(),
11012
- isArchived: z334.boolean().optional()
11072
+ id: z335.string(),
11073
+ isArchived: z335.boolean().optional()
11013
11074
  });
11014
- var DTOForgeProjectListResponse = z334.object({
11015
- projects: z334.array(
11075
+ var DTOForgeProjectListResponse = z335.object({
11076
+ projects: z335.array(
11016
11077
  DTOForgeProject.extend({
11017
11078
  effectiveRole: DTOForgeProjectRole
11018
11079
  })
11019
11080
  )
11020
11081
  });
11021
- var DTOForgeProjectResponse = z334.object({
11082
+ var DTOForgeProjectResponse = z335.object({
11022
11083
  project: DTOForgeProject.extend({
11023
11084
  effectiveRole: DTOForgeProjectRole
11024
11085
  })
11025
11086
  });
11026
11087
 
11027
11088
  // src/api/dto/forge/relation.ts
11028
- import z335 from "zod";
11089
+ import z336 from "zod";
11029
11090
  var DTOForgeRelationType = ForgeRelationType;
11030
11091
  var DTOForgeRelation = ForgeRelation;
11031
11092
  var DTOForgeRelationCreate = DTOForgeRelation.omit({ id: true, createdAt: true });
11032
- var DTOForgeRelationDelete = z335.object({
11033
- sourceItemId: z335.string().uuid(),
11034
- targetItemId: z335.string().uuid()
11093
+ var DTOForgeRelationDelete = z336.object({
11094
+ sourceItemId: z336.string().uuid(),
11095
+ targetItemId: z336.string().uuid()
11035
11096
  });
11036
- var DTOForgeRelationListInput = z335.object({
11037
- projectId: z335.string()
11097
+ var DTOForgeRelationListInput = z336.object({
11098
+ projectId: z336.string()
11038
11099
  });
11039
- var DTOForgeRelationListResponse = z335.object({
11040
- relations: z335.array(DTOForgeRelation)
11100
+ var DTOForgeRelationListResponse = z336.object({
11101
+ relations: z336.array(DTOForgeRelation)
11041
11102
  });
11042
- var DTOForgeEntity = z335.object({
11043
- id: z335.string().uuid(),
11103
+ var DTOForgeEntity = z336.object({
11104
+ id: z336.string().uuid(),
11044
11105
  type: DTOForgeRelationType
11045
11106
  });
11046
11107
 
11047
11108
  // src/api/dto/forge/threads.ts
11048
- import { z as z336 } from "zod";
11109
+ import { z as z337 } from "zod";
11049
11110
  var DTOForgeChatMessage = ForgeChatMessage;
11050
11111
  var DTOForgeChatThread = ForgeChatThread;
11051
11112
  var DTOForgeChatMessageSenderType = ForgeChatMessageSenderType;
11052
11113
  var DTOForgeChatMessageSender = ForgeChatMessageSender;
11053
- var DTOForgeChatThreadCreateInput = z336.object({
11054
- title: z336.string().optional()
11114
+ var DTOForgeChatThreadCreateInput = z337.object({
11115
+ title: z337.string().optional()
11055
11116
  });
11056
- var DTOForgeChatThreadCreateResponse = z336.object({
11117
+ var DTOForgeChatThreadCreateResponse = z337.object({
11057
11118
  thread: DTOForgeChatThread
11058
11119
  });
11059
- var DTOForgeChatThreadUpdateInput = z336.object({
11060
- title: z336.string()
11120
+ var DTOForgeChatThreadUpdateInput = z337.object({
11121
+ title: z337.string()
11061
11122
  });
11062
- var DTOForgeChatThreadUpdateResponse = z336.object({
11123
+ var DTOForgeChatThreadUpdateResponse = z337.object({
11063
11124
  thread: DTOForgeChatThread
11064
11125
  });
11065
- var DTOForgeChatThreadDeleteResponse = z336.object({
11066
- success: z336.boolean()
11126
+ var DTOForgeChatThreadDeleteResponse = z337.object({
11127
+ success: z337.boolean()
11067
11128
  });
11068
- var DTOForgeChatThreadListQuery = z336.object({
11069
- limit: z336.number().optional(),
11070
- offset: z336.number().optional()
11129
+ var DTOForgeChatThreadListQuery = z337.object({
11130
+ limit: z337.number().optional(),
11131
+ offset: z337.number().optional()
11071
11132
  });
11072
- var DTOForgeChatThreadListResponse = z336.object({
11073
- threads: z336.array(DTOForgeChatThread),
11074
- pagination: z336.object({
11075
- offset: z336.number(),
11076
- limit: z336.number(),
11077
- total: z336.number()
11133
+ var DTOForgeChatThreadListResponse = z337.object({
11134
+ threads: z337.array(DTOForgeChatThread),
11135
+ pagination: z337.object({
11136
+ offset: z337.number(),
11137
+ limit: z337.number(),
11138
+ total: z337.number()
11078
11139
  })
11079
11140
  });
11080
- var DTOForgeChatMessageCreateInput = z336.object({
11081
- payload: z336.string(),
11141
+ var DTOForgeChatMessageCreateInput = z337.object({
11142
+ payload: z337.string(),
11082
11143
  sender: DTOForgeChatMessageSender.optional()
11083
11144
  });
11084
- var DTOForgeChatMessageCreateResponse = z336.object({
11145
+ var DTOForgeChatMessageCreateResponse = z337.object({
11085
11146
  message: DTOForgeChatMessage
11086
11147
  });
11087
- var DTOForgeChatMessageListQuery = z336.object({
11088
- limit: z336.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
11089
- offset: z336.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
11148
+ var DTOForgeChatMessageListQuery = z337.object({
11149
+ limit: z337.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
11150
+ offset: z337.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
11090
11151
  });
11091
- var DTOForgeChatMessageListResponse = z336.object({
11092
- messages: z336.array(DTOForgeChatMessage),
11093
- totalCount: z336.number(),
11094
- hasMore: z336.boolean()
11152
+ var DTOForgeChatMessageListResponse = z337.object({
11153
+ messages: z337.array(DTOForgeChatMessage),
11154
+ totalCount: z337.number(),
11155
+ hasMore: z337.boolean()
11095
11156
  });
11096
- var DTOForgeChatExportResponse = z336.object({
11097
- csvDownloadUrl: z336.string().nullable()
11157
+ var DTOForgeChatExportResponse = z337.object({
11158
+ csvDownloadUrl: z337.string().nullable()
11098
11159
  });
11099
- var DTOForgeChatMessageScoreInput = z336.object({
11100
- messageId: z336.string(),
11101
- name: z336.string(),
11102
- value: z336.number(),
11103
- categoryName: z336.string().optional(),
11104
- reason: z336.string().optional()
11160
+ var DTOForgeChatMessageScoreInput = z337.object({
11161
+ messageId: z337.string(),
11162
+ name: z337.string(),
11163
+ value: z337.number(),
11164
+ categoryName: z337.string().optional(),
11165
+ reason: z337.string().optional()
11105
11166
  });
11106
- var DTOForgeChatMessageTagInput = z336.object({
11107
- messageId: z336.string(),
11108
- tags: z336.array(z336.string())
11167
+ var DTOForgeChatMessageTagInput = z337.object({
11168
+ messageId: z337.string(),
11169
+ tags: z337.array(z337.string())
11109
11170
  });
11110
- var DTOForgeChatMessageScoreRequest = z336.object({
11171
+ var DTOForgeChatMessageScoreRequest = z337.object({
11111
11172
  scores: DTOForgeChatMessageScoreInput.array(),
11112
11173
  tags: DTOForgeChatMessageTagInput.array().optional().default([])
11113
11174
  });
11114
11175
 
11115
11176
  // src/api/dto/events/forge-project.ts
11116
- var DTOForgeProjectMembersCreated = z337.object({
11117
- type: z337.literal("ProjectMembersCreated"),
11118
- data: z337.array(DTOForgeProjectMember)
11177
+ var DTOForgeProjectMembersCreated = z338.object({
11178
+ type: z338.literal("ProjectMembersCreated"),
11179
+ data: z338.array(DTOForgeProjectMember)
11119
11180
  });
11120
- var DTOForgeProjectMemberUpdated = z337.object({
11121
- type: z337.literal("ProjectMemberUpdated"),
11181
+ var DTOForgeProjectMemberUpdated = z338.object({
11182
+ type: z338.literal("ProjectMemberUpdated"),
11122
11183
  data: DTOForgeProjectMember
11123
11184
  });
11124
- var DTOForgeProjectMemberDeleted = z337.object({
11125
- type: z337.literal("ProjectMemberDeleted"),
11185
+ var DTOForgeProjectMemberDeleted = z338.object({
11186
+ type: z338.literal("ProjectMemberDeleted"),
11126
11187
  data: DTOForgeProjectMember.pick({ userId: true })
11127
11188
  });
11128
- var DTOForgeProjectIterationTagSet = z337.object({
11129
- type: z337.literal("ProjectIterationTagSet"),
11189
+ var DTOForgeProjectIterationTagSet = z338.object({
11190
+ type: z338.literal("ProjectIterationTagSet"),
11130
11191
  data: DTOFeatureIterationTag
11131
11192
  });
11132
- var DTOForgeProjectFeatureSandboxUpdated = z337.object({
11133
- type: z337.literal("ProjectFeatureSandboxUpdated"),
11193
+ var DTOForgeProjectFeatureSandboxUpdated = z338.object({
11194
+ type: z338.literal("ProjectFeatureSandboxUpdated"),
11134
11195
  data: DTOFeatureSandbox
11135
11196
  });
11136
- var DTOForgeProjectIterationUpdated = z337.object({
11137
- type: z337.literal("ProjectIterationUpdated"),
11197
+ var DTOForgeProjectIterationUpdated = z338.object({
11198
+ type: z338.literal("ProjectIterationUpdated"),
11138
11199
  data: DTOFeatureIteration.extend({ featureId: Id })
11139
11200
  });
11140
- var DTOForgeProjectRoomEvent = z337.discriminatedUnion("type", [
11201
+ var DTOForgeProjectRoomEvent = z338.discriminatedUnion("type", [
11141
11202
  DTOForgeProjectMembersCreated,
11142
11203
  DTOForgeProjectMemberUpdated,
11143
11204
  DTOForgeProjectMemberDeleted,
@@ -11147,50 +11208,50 @@ var DTOForgeProjectRoomEvent = z337.discriminatedUnion("type", [
11147
11208
  ]);
11148
11209
 
11149
11210
  // src/api/dto/events/workspace.ts
11150
- import z338 from "zod";
11151
- var DTOForgeProjectCreated = z338.object({
11152
- type: z338.literal("ProjectCreated"),
11153
- data: z338.object({ id: z338.string() })
11211
+ import z339 from "zod";
11212
+ var DTOForgeProjectCreated = z339.object({
11213
+ type: z339.literal("ProjectCreated"),
11214
+ data: z339.object({ id: z339.string() })
11154
11215
  });
11155
- var DTOForgeProjectUpdated = z338.object({
11156
- type: z338.literal("ProjectUpdated"),
11157
- data: z338.object({ id: z338.string() })
11216
+ var DTOForgeProjectUpdated = z339.object({
11217
+ type: z339.literal("ProjectUpdated"),
11218
+ data: z339.object({ id: z339.string() })
11158
11219
  });
11159
- var DTOForgeProjectContextCreated = z338.object({
11160
- type: z338.literal("ProjectContextCreated"),
11220
+ var DTOForgeProjectContextCreated = z339.object({
11221
+ type: z339.literal("ProjectContextCreated"),
11161
11222
  data: DTOForgeProjectContextV2
11162
11223
  });
11163
- var DTOForgeProjectContextUpdated = z338.object({
11164
- type: z338.literal("ProjectContextUpdated"),
11224
+ var DTOForgeProjectContextUpdated = z339.object({
11225
+ type: z339.literal("ProjectContextUpdated"),
11165
11226
  data: DTOForgeProjectContextV2
11166
11227
  });
11167
- var DTOForgeProjectContextDeleted = z338.object({
11168
- type: z338.literal("ProjectContextDeleted"),
11228
+ var DTOForgeProjectContextDeleted = z339.object({
11229
+ type: z339.literal("ProjectContextDeleted"),
11169
11230
  data: DTOForgeProjectContextV2.pick({ id: true })
11170
11231
  });
11171
- var DTOSandboxTemplateVersionCreated = z338.object({
11172
- type: z338.literal("SandboxTemplateVersionCreated"),
11173
- data: z338.object({
11174
- templateId: z338.string(),
11175
- version: z338.string(),
11176
- designSystemId: z338.string()
11232
+ var DTOSandboxTemplateVersionCreated = z339.object({
11233
+ type: z339.literal("SandboxTemplateVersionCreated"),
11234
+ data: z339.object({
11235
+ templateId: z339.string(),
11236
+ version: z339.string(),
11237
+ designSystemId: z339.string()
11177
11238
  })
11178
11239
  });
11179
- var DTOSandboxTemplateBuildCreated = z338.object({
11180
- type: z338.literal("SandboxTemplateBuildCreated"),
11181
- data: z338.object({
11182
- buildId: z338.string(),
11183
- templateId: z338.string().optional()
11240
+ var DTOSandboxTemplateBuildCreated = z339.object({
11241
+ type: z339.literal("SandboxTemplateBuildCreated"),
11242
+ data: z339.object({
11243
+ buildId: z339.string(),
11244
+ templateId: z339.string().optional()
11184
11245
  })
11185
11246
  });
11186
- var DTOSandboxTemplateBuildFinished = z338.object({
11187
- type: z338.literal("SandboxTemplateBuildFinished"),
11188
- data: z338.object({
11189
- buildId: z338.string(),
11190
- templateId: z338.string().optional()
11247
+ var DTOSandboxTemplateBuildFinished = z339.object({
11248
+ type: z339.literal("SandboxTemplateBuildFinished"),
11249
+ data: z339.object({
11250
+ buildId: z339.string(),
11251
+ templateId: z339.string().optional()
11191
11252
  })
11192
11253
  });
11193
- var DTOWorkspaceRoomEvent = z338.discriminatedUnion("type", [
11254
+ var DTOWorkspaceRoomEvent = z339.discriminatedUnion("type", [
11194
11255
  DTOForgeProjectUpdated,
11195
11256
  DTOForgeProjectCreated,
11196
11257
  DTOForgeProjectContextCreated,
@@ -11202,298 +11263,298 @@ var DTOWorkspaceRoomEvent = z338.discriminatedUnion("type", [
11202
11263
  ]);
11203
11264
 
11204
11265
  // src/api/dto/figma-components/assets/download.ts
11205
- import { z as z339 } from "zod";
11206
- var DTOAssetRenderConfiguration = z339.object({
11207
- prefix: z339.string().optional(),
11208
- suffix: z339.string().optional(),
11209
- scale: z339.enum(["x1", "x2", "x3", "x4"]),
11210
- format: z339.enum(["png", "pdf", "svg"])
11211
- });
11212
- var DTORenderedAssetFile = z339.object({
11213
- assetId: z339.string(),
11214
- fileName: z339.string(),
11215
- sourceUrl: z339.string(),
11266
+ import { z as z340 } from "zod";
11267
+ var DTOAssetRenderConfiguration = z340.object({
11268
+ prefix: z340.string().optional(),
11269
+ suffix: z340.string().optional(),
11270
+ scale: z340.enum(["x1", "x2", "x3", "x4"]),
11271
+ format: z340.enum(["png", "pdf", "svg"])
11272
+ });
11273
+ var DTORenderedAssetFile = z340.object({
11274
+ assetId: z340.string(),
11275
+ fileName: z340.string(),
11276
+ sourceUrl: z340.string(),
11216
11277
  settings: DTOAssetRenderConfiguration,
11217
- originalName: z339.string()
11278
+ originalName: z340.string()
11218
11279
  });
11219
- var DTODownloadAssetsRequest = z339.object({
11220
- persistentIds: z339.array(z339.string().uuid()).optional(),
11280
+ var DTODownloadAssetsRequest = z340.object({
11281
+ persistentIds: z340.array(z340.string().uuid()).optional(),
11221
11282
  settings: DTOAssetRenderConfiguration.array()
11222
11283
  });
11223
- var DTODownloadAssetsResponse = z339.object({
11284
+ var DTODownloadAssetsResponse = z340.object({
11224
11285
  items: DTORenderedAssetFile.array()
11225
11286
  });
11226
11287
 
11227
11288
  // src/api/dto/figma-exporter/figma-node.ts
11228
- import { z as z340 } from "zod";
11229
- var DTOFigmaExportNodeFormat = z340.enum(["HTML", "JSON"]);
11230
- var DTOFigmaExportNodeConfiguration = z340.object({
11289
+ import { z as z341 } from "zod";
11290
+ var DTOFigmaExportNodeFormat = z341.enum(["HTML", "JSON"]);
11291
+ var DTOFigmaExportNodeConfiguration = z341.object({
11231
11292
  format: DTOFigmaExportNodeFormat,
11232
- minifyOutput: z340.boolean().optional(),
11233
- customFontUrls: z340.string().array().optional()
11293
+ minifyOutput: z341.boolean().optional(),
11294
+ customFontUrls: z341.string().array().optional()
11234
11295
  });
11235
- var DTOFigmaExportNodePayload = z340.object({
11236
- designSystemId: z340.string(),
11237
- figmaUrl: z340.string(),
11296
+ var DTOFigmaExportNodePayload = z341.object({
11297
+ designSystemId: z341.string(),
11298
+ figmaUrl: z341.string(),
11238
11299
  configuration: DTOFigmaExportNodeConfiguration
11239
11300
  });
11240
- var DTOFigmaExportNodeResponse = z340.object({
11301
+ var DTOFigmaExportNodeResponse = z341.object({
11241
11302
  file: DTOFile,
11242
11303
  // TODO (jovanblazek): Remove sceneNodes from response when done with development
11243
- scene: z340.any().optional()
11304
+ scene: z341.any().optional()
11244
11305
  });
11245
11306
 
11246
11307
  // src/api/dto/liveblocks/auth-response.ts
11247
- import { z as z341 } from "zod";
11248
- var DTOLiveblocksAuthResponse = z341.object({
11249
- token: z341.string()
11308
+ import { z as z342 } from "zod";
11309
+ var DTOLiveblocksAuthResponse = z342.object({
11310
+ token: z342.string()
11250
11311
  });
11251
11312
 
11252
11313
  // src/api/dto/mcp/stream.ts
11253
- import z342 from "zod";
11254
- var DTOMCPStream = z342.object({
11255
- id: z342.string().uuid(),
11256
- projectFeatureId: z342.string().uuid().optional(),
11257
- projectDocumentId: z342.string().uuid().optional()
11314
+ import z343 from "zod";
11315
+ var DTOMCPStream = z343.object({
11316
+ id: z343.string().uuid(),
11317
+ projectFeatureId: z343.string().uuid().optional(),
11318
+ projectDocumentId: z343.string().uuid().optional()
11258
11319
  });
11259
11320
  var DTOMCPStreamUpdateInput = DTOMCPStream.omit({ id: true });
11260
- var DTOMCPStreamResponse = z342.object({
11321
+ var DTOMCPStreamResponse = z343.object({
11261
11322
  stream: DTOMCPStream
11262
11323
  });
11263
11324
 
11264
11325
  // src/api/dto/notifications/notifications.ts
11265
- import { z as z343 } from "zod";
11266
- var DTONotificationChatMentionPayload = z343.object({
11267
- messageAuthorId: z343.string(),
11268
- messageText: z343.string(),
11269
- messageId: z343.string(),
11270
- parentMessageId: z343.string().optional(),
11271
- workspaceId: z343.string(),
11272
- projectId: z343.string(),
11273
- subjectType: z343.string(),
11274
- threadSubjectId: z343.string(),
11275
- subjectName: z343.string()
11276
- });
11277
- var DTONotificationProjectInvitationPayload = z343.object({
11278
- workspaceId: z343.string(),
11279
- projectId: z343.string(),
11280
- projectTitle: z343.string(),
11281
- invitedByUserId: z343.string(),
11282
- invitationRole: z343.string(),
11283
- featureId: z343.string().optional()
11284
- });
11285
- var DTONotificationProjectDocumentCommentPayload = z343.object({
11286
- documentId: z343.string(),
11287
- entityTitle: z343.string(),
11288
- projectId: z343.string(),
11289
- workspaceId: z343.string(),
11290
- threadId: z343.string(),
11291
- commentId: z343.string(),
11292
- commentCreatedAt: z343.string(),
11293
- commentAuthorId: z343.string(),
11294
- commentBody: z343.string()
11295
- });
11296
- var DTONotificationBase = z343.object({
11297
- userId: z343.string(),
11298
- subjectId: z343.string(),
11299
- roomId: z343.string().optional(),
11300
- workspaceId: z343.string()
11301
- });
11302
- var DTONotificationCreateInput = z343.discriminatedUnion("type", [
11303
- z343.object({
11304
- type: z343.literal(DTONotificationType.enum.ChatMention),
11326
+ import { z as z344 } from "zod";
11327
+ var DTONotificationChatMentionPayload = z344.object({
11328
+ messageAuthorId: z344.string(),
11329
+ messageText: z344.string(),
11330
+ messageId: z344.string(),
11331
+ parentMessageId: z344.string().optional(),
11332
+ workspaceId: z344.string(),
11333
+ projectId: z344.string(),
11334
+ subjectType: z344.string(),
11335
+ threadSubjectId: z344.string(),
11336
+ subjectName: z344.string()
11337
+ });
11338
+ var DTONotificationProjectInvitationPayload = z344.object({
11339
+ workspaceId: z344.string(),
11340
+ projectId: z344.string(),
11341
+ projectTitle: z344.string(),
11342
+ invitedByUserId: z344.string(),
11343
+ invitationRole: z344.string(),
11344
+ featureId: z344.string().optional()
11345
+ });
11346
+ var DTONotificationProjectDocumentCommentPayload = z344.object({
11347
+ documentId: z344.string(),
11348
+ entityTitle: z344.string(),
11349
+ projectId: z344.string(),
11350
+ workspaceId: z344.string(),
11351
+ threadId: z344.string(),
11352
+ commentId: z344.string(),
11353
+ commentCreatedAt: z344.string(),
11354
+ commentAuthorId: z344.string(),
11355
+ commentBody: z344.string()
11356
+ });
11357
+ var DTONotificationBase = z344.object({
11358
+ userId: z344.string(),
11359
+ subjectId: z344.string(),
11360
+ roomId: z344.string().optional(),
11361
+ workspaceId: z344.string()
11362
+ });
11363
+ var DTONotificationCreateInput = z344.discriminatedUnion("type", [
11364
+ z344.object({
11365
+ type: z344.literal(DTONotificationType.enum.ChatMention),
11305
11366
  activityData: DTONotificationChatMentionPayload
11306
11367
  }),
11307
- z343.object({
11308
- type: z343.literal(DTONotificationType.enum.ProjectInvitation),
11368
+ z344.object({
11369
+ type: z344.literal(DTONotificationType.enum.ProjectInvitation),
11309
11370
  activityData: DTONotificationProjectInvitationPayload
11310
11371
  }),
11311
- z343.object({
11312
- type: z343.literal(DTONotificationType.enum.ProjectDocumentComment),
11372
+ z344.object({
11373
+ type: z344.literal(DTONotificationType.enum.ProjectDocumentComment),
11313
11374
  activityData: DTONotificationProjectDocumentCommentPayload
11314
11375
  })
11315
11376
  ]).and(DTONotificationBase);
11316
11377
 
11317
11378
  // src/api/dto/portal/portal-settings.ts
11318
- import { z as z344 } from "zod";
11379
+ import { z as z345 } from "zod";
11319
11380
  var DTOPortalSettingsTheme = PortalSettingsTheme;
11320
11381
  var DTOPortalSettingsSidebarLink = PortalSettingsSidebarLink;
11321
11382
  var DTOPortalSettingsSidebarSection = PortalSettingsSidebarSection;
11322
11383
  var DTOPortalSettingsSidebar = PortalSettingsSidebar;
11323
- var DTOPortalSettings = z344.object({
11324
- id: z344.string(),
11325
- workspaceId: z344.string(),
11326
- enabledDesignSystemIds: z344.array(z344.string()),
11327
- enabledBrandPersistentIds: z344.array(z344.string()),
11384
+ var DTOPortalSettings = z345.object({
11385
+ id: z345.string(),
11386
+ workspaceId: z345.string(),
11387
+ enabledDesignSystemIds: z345.array(z345.string()),
11388
+ enabledBrandPersistentIds: z345.array(z345.string()),
11328
11389
  theme: DTOPortalSettingsTheme.nullish(),
11329
11390
  sidebar: DTOPortalSettingsSidebar.nullish(),
11330
- createdAt: z344.coerce.date(),
11331
- updatedAt: z344.coerce.date()
11391
+ createdAt: z345.coerce.date(),
11392
+ updatedAt: z345.coerce.date()
11332
11393
  });
11333
- var DTOPortalSettingsGetResponse = z344.object({
11394
+ var DTOPortalSettingsGetResponse = z345.object({
11334
11395
  portalSettings: DTOPortalSettings
11335
11396
  });
11336
- var DTOPortalSettingsUpdatePayload = z344.object({
11337
- enabledDesignSystemIds: z344.array(z344.string()).optional(),
11338
- enabledBrandPersistentIds: z344.array(z344.string()).optional(),
11397
+ var DTOPortalSettingsUpdatePayload = z345.object({
11398
+ enabledDesignSystemIds: z345.array(z345.string()).optional(),
11399
+ enabledBrandPersistentIds: z345.array(z345.string()).optional(),
11339
11400
  theme: DTOPortalSettingsTheme.nullish(),
11340
11401
  sidebar: DTOPortalSettingsSidebar.nullish()
11341
11402
  });
11342
11403
 
11343
11404
  // src/api/dto/sandboxes/template.ts
11344
- import z345 from "zod";
11345
- var DTOSandboxTemplateVersion = z345.object({
11346
- name: z345.string(),
11347
- createdAt: z345.string(),
11348
- createdByUserId: z345.string(),
11349
- e2bTemplateId: z345.string()
11350
- });
11351
- var DTOSandboxTemplate = z345.object({
11352
- id: z345.string(),
11353
- name: z345.string(),
11354
- workspaceId: z345.string(),
11355
- designSystemId: z345.string(),
11356
- createdAt: z345.string(),
11405
+ import z346 from "zod";
11406
+ var DTOSandboxTemplateVersion = z346.object({
11407
+ name: z346.string(),
11408
+ createdAt: z346.string(),
11409
+ createdByUserId: z346.string(),
11410
+ e2bTemplateId: z346.string()
11411
+ });
11412
+ var DTOSandboxTemplate = z346.object({
11413
+ id: z346.string(),
11414
+ name: z346.string(),
11415
+ workspaceId: z346.string(),
11416
+ designSystemId: z346.string(),
11417
+ createdAt: z346.string(),
11357
11418
  versions: DTOSandboxTemplateVersion.array()
11358
11419
  });
11359
- var DTOSandboxTemplateBuild = z345.object({
11360
- id: z345.string(),
11361
- workspaceId: z345.string(),
11362
- designSystemId: z345.string(),
11363
- name: z345.string(),
11364
- version: z345.string(),
11365
- createdAt: z345.string(),
11366
- finishedAt: z345.string().optional(),
11367
- createdByUserId: z345.string(),
11368
- dockerImagePath: z345.string(),
11369
- error: z345.string().optional(),
11370
- state: z345.enum(["PendingUpload", "Building", "Success", "Failure", "Timeout"])
11371
- });
11372
- var DTOSandboxTemplateFile = z345.object({
11373
- key: z345.string(),
11374
- fileId: z345.string(),
11375
- filePath: z345.string(),
11376
- url: z345.string()
11377
- });
11378
- var DTOSandboxTemplateVersionDetail = z345.object({
11420
+ var DTOSandboxTemplateBuild = z346.object({
11421
+ id: z346.string(),
11422
+ workspaceId: z346.string(),
11423
+ designSystemId: z346.string(),
11424
+ name: z346.string(),
11425
+ version: z346.string(),
11426
+ createdAt: z346.string(),
11427
+ finishedAt: z346.string().optional(),
11428
+ createdByUserId: z346.string(),
11429
+ dockerImagePath: z346.string(),
11430
+ error: z346.string().optional(),
11431
+ state: z346.enum(["PendingUpload", "Building", "Success", "Failure", "Timeout"])
11432
+ });
11433
+ var DTOSandboxTemplateFile = z346.object({
11434
+ key: z346.string(),
11435
+ fileId: z346.string(),
11436
+ filePath: z346.string(),
11437
+ url: z346.string()
11438
+ });
11439
+ var DTOSandboxTemplateVersionDetail = z346.object({
11379
11440
  version: DTOSandboxTemplateVersion,
11380
11441
  files: DTOSandboxTemplateFile.array()
11381
11442
  });
11382
- var DTOSandboxTemplateQuery = z345.object({
11383
- workspaceId: z345.string(),
11384
- designSystemId: z345.string().optional()
11443
+ var DTOSandboxTemplateQuery = z346.object({
11444
+ workspaceId: z346.string(),
11445
+ designSystemId: z346.string().optional()
11385
11446
  });
11386
- var DTOSandboxTemplateListResponse = z345.object({
11447
+ var DTOSandboxTemplateListResponse = z346.object({
11387
11448
  templates: DTOSandboxTemplate.array()
11388
11449
  });
11389
- var DTOSandboxTemplateResponse = z345.object({
11450
+ var DTOSandboxTemplateResponse = z346.object({
11390
11451
  template: DTOSandboxTemplate
11391
11452
  });
11392
- var DTOSandboxTemplateBuildResponse = z345.object({
11453
+ var DTOSandboxTemplateBuildResponse = z346.object({
11393
11454
  build: DTOSandboxTemplateBuild
11394
11455
  });
11395
- var DTOSandboxTemplateBuildCreateInput = z345.object({
11396
- workspaceId: z345.string(),
11397
- designSystemId: z345.string(),
11398
- name: z345.string(),
11399
- version: z345.string(),
11400
- isExistingVersionUpdateAllowed: z345.boolean()
11456
+ var DTOSandboxTemplateBuildCreateInput = z346.object({
11457
+ workspaceId: z346.string(),
11458
+ designSystemId: z346.string(),
11459
+ name: z346.string(),
11460
+ version: z346.string(),
11461
+ isExistingVersionUpdateAllowed: z346.boolean()
11401
11462
  });
11402
- var DTOSandboxTemplateBuildCreateResponse = z345.object({
11463
+ var DTOSandboxTemplateBuildCreateResponse = z346.object({
11403
11464
  /** @deprecated use domain + build.dockerImagePath */
11404
- dockerUrl: z345.string().optional(),
11405
- dockerRegistryDomain: z345.string(),
11465
+ dockerUrl: z346.string().optional(),
11466
+ dockerRegistryDomain: z346.string(),
11406
11467
  /** @deprecated use docker-login endpoint */
11407
- dockerAccessToken: z345.string().optional(),
11468
+ dockerAccessToken: z346.string().optional(),
11408
11469
  build: DTOSandboxTemplateBuild
11409
11470
  });
11410
- var DTOSandboxTemplateBuildFinalizeResponse = z345.object({
11411
- ok: z345.boolean()
11471
+ var DTOSandboxTemplateBuildFinalizeResponse = z346.object({
11472
+ ok: z346.boolean()
11412
11473
  });
11413
11474
 
11414
11475
  // src/api/dto/storybook-sites/storybook-sites.ts
11415
- import { z as z346 } from "zod";
11416
- var DTOStorybookUploadStatus = z346.enum(["PendingUpload", "Failed", "InProgress", "Completed", "Timeout"]);
11417
- var DTOStorybookSiteVersion = z346.object({
11418
- id: z346.string(),
11419
- isPublic: z346.boolean(),
11420
- createdAt: z346.string(),
11476
+ import { z as z347 } from "zod";
11477
+ var DTOStorybookUploadStatus = z347.enum(["PendingUpload", "Failed", "InProgress", "Completed", "Timeout"]);
11478
+ var DTOStorybookSiteVersion = z347.object({
11479
+ id: z347.string(),
11480
+ isPublic: z347.boolean(),
11481
+ createdAt: z347.string(),
11421
11482
  uploadStatus: DTOStorybookUploadStatus
11422
11483
  });
11423
- var DTOStorybookSite = z346.object({
11424
- id: z346.string(),
11425
- designSystemId: z346.string(),
11426
- name: z346.string(),
11427
- indexPageUrl: z346.string(),
11428
- createdAt: z346.string(),
11484
+ var DTOStorybookSite = z347.object({
11485
+ id: z347.string(),
11486
+ designSystemId: z347.string(),
11487
+ name: z347.string(),
11488
+ indexPageUrl: z347.string(),
11489
+ createdAt: z347.string(),
11429
11490
  currentVersion: DTOStorybookSiteVersion
11430
11491
  });
11431
- var DTOStorybookSiteListQuery = z346.object({
11432
- designSystemId: z346.string()
11492
+ var DTOStorybookSiteListQuery = z347.object({
11493
+ designSystemId: z347.string()
11433
11494
  });
11434
- var DTOStorybookSiteListResponse = z346.object({
11495
+ var DTOStorybookSiteListResponse = z347.object({
11435
11496
  sites: DTOStorybookSite.array()
11436
11497
  });
11437
- var DTOStorybookSiteUploadPayload = z346.object({
11438
- designSystemId: z346.string(),
11439
- isPublic: z346.boolean(),
11440
- name: z346.string()
11498
+ var DTOStorybookSiteUploadPayload = z347.object({
11499
+ designSystemId: z347.string(),
11500
+ isPublic: z347.boolean(),
11501
+ name: z347.string()
11441
11502
  });
11442
- var DTOStorybookSiteUploadResponse = z346.object({
11503
+ var DTOStorybookSiteUploadResponse = z347.object({
11443
11504
  storybookSiteVersion: DTOStorybookSiteVersion,
11444
- uploadUrl: z346.string()
11505
+ uploadUrl: z347.string()
11445
11506
  });
11446
- var DTOStorybookSiteVersionResponse = z346.object({
11507
+ var DTOStorybookSiteVersionResponse = z347.object({
11447
11508
  storybookSiteVersion: DTOStorybookSiteVersion
11448
11509
  });
11449
11510
 
11450
11511
  // src/api/dto/themes/override.ts
11451
- import { z as z347 } from "zod";
11512
+ import { z as z348 } from "zod";
11452
11513
  var DTOThemeOverride = DesignTokenTypedData.and(
11453
- z347.object({
11454
- tokenPersistentId: z347.string(),
11514
+ z348.object({
11515
+ tokenPersistentId: z348.string(),
11455
11516
  origin: ThemeOverrideOrigin.optional()
11456
11517
  })
11457
11518
  );
11458
11519
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
11459
- z347.object({
11460
- tokenPersistentId: z347.string()
11520
+ z348.object({
11521
+ tokenPersistentId: z348.string()
11461
11522
  })
11462
11523
  );
11463
11524
 
11464
11525
  // src/api/dto/themes/theme.ts
11465
- import { z as z348 } from "zod";
11466
- var DTOThemesListQuery = z348.object({
11467
- brandId: z348.string().optional()
11468
- });
11469
- var DTOTheme = z348.object({
11470
- id: z348.string(),
11471
- persistentId: z348.string(),
11472
- designSystemVersionId: z348.string(),
11473
- brandId: z348.string(),
11526
+ import { z as z349 } from "zod";
11527
+ var DTOThemesListQuery = z349.object({
11528
+ brandId: z349.string().optional()
11529
+ });
11530
+ var DTOTheme = z349.object({
11531
+ id: z349.string(),
11532
+ persistentId: z349.string(),
11533
+ designSystemVersionId: z349.string(),
11534
+ brandId: z349.string(),
11474
11535
  meta: ObjectMeta,
11475
- codeName: z348.string(),
11476
- parentPersistentId: z348.string().optional(),
11477
- collectionPersistentIds: z348.string().array(),
11536
+ codeName: z349.string(),
11537
+ parentPersistentId: z349.string().optional(),
11538
+ collectionPersistentIds: z349.string().array(),
11478
11539
  overrides: DTOThemeOverride.array()
11479
11540
  });
11480
- var DTOThemeResponse = z348.object({
11541
+ var DTOThemeResponse = z349.object({
11481
11542
  theme: DTOTheme
11482
11543
  });
11483
- var DTOThemeListResponse = z348.object({
11544
+ var DTOThemeListResponse = z349.object({
11484
11545
  themes: DTOTheme.array()
11485
11546
  });
11486
- var DTOThemeCreatePayload = z348.object({
11547
+ var DTOThemeCreatePayload = z349.object({
11487
11548
  meta: ObjectMeta,
11488
- persistentId: z348.string(),
11489
- brandId: z348.string(),
11490
- codeName: z348.string(),
11549
+ persistentId: z349.string(),
11550
+ brandId: z349.string(),
11551
+ codeName: z349.string(),
11491
11552
  overrides: DTOThemeOverride.array()
11492
11553
  });
11493
11554
 
11494
11555
  // src/api/dto/trail-events/trail-events.ts
11495
- import { z as z349 } from "zod";
11496
- var DTOTrailEventType = z349.enum([
11556
+ import { z as z350 } from "zod";
11557
+ var DTOTrailEventType = z350.enum([
11497
11558
  "IterationCreated",
11498
11559
  "IterationBookmarked",
11499
11560
  "FeatureCreated",
@@ -11511,124 +11572,124 @@ var DTOTrailEventType = z349.enum([
11511
11572
  "FeaturePublished",
11512
11573
  "FeatureUnpublished"
11513
11574
  ]);
11514
- var DTOTrailEventBase = z349.object({
11515
- id: z349.string(),
11516
- projectId: z349.string(),
11517
- userId: z349.string(),
11518
- createdAt: z349.coerce.date(),
11519
- updatedAt: z349.coerce.date()
11520
- });
11521
- var DTOTrailEventIterationCreatedPayload = z349.object({
11522
- iterationName: z349.string(),
11523
- iterationId: z349.string().uuid(),
11524
- featureId: z349.string().uuid()
11525
- });
11526
- var DTOTrailEventIterationBookmarkedPayload = z349.object({
11527
- iterationId: z349.string().uuid(),
11528
- featureId: z349.string().uuid(),
11529
- iterationName: z349.string()
11530
- });
11531
- var DTOTrailEventIterationPromotedPayload = z349.object({
11532
- iterationId: z349.string().uuid(),
11533
- featureId: z349.string().uuid(),
11534
- iterationName: z349.string()
11535
- });
11536
- var DTOTrailEventFeatureCreatedPayload = z349.object({
11537
- featureId: z349.string().uuid(),
11538
- name: z349.string(),
11539
- description: z349.string().optional()
11540
- });
11541
- var DTOTrailEventFeatureDeletedPayload = z349.object({
11542
- featureId: z349.string().uuid(),
11543
- name: z349.string()
11544
- });
11545
- var DTOTrailEventFeatureArchivedPayload = z349.object({
11546
- featureId: z349.string().uuid(),
11547
- name: z349.string()
11548
- });
11549
- var DTOTrailEventDocumentCreatedPayload = z349.object({
11550
- documentId: z349.string().uuid(),
11551
- title: z349.string(),
11552
- sectionId: z349.string().uuid().optional()
11553
- });
11554
- var DTOTrailEventDocumentDeletedPayload = z349.object({
11555
- documentId: z349.string().uuid(),
11556
- title: z349.string()
11557
- });
11558
- var DTOTrailEventDocumentUpdatedPayload = z349.object({
11559
- documentId: z349.string().uuid(),
11560
- title: z349.string(),
11561
- sectionId: z349.string().uuid().optional()
11562
- });
11563
- var DTOTrailEventDocumentCommentSentPayload = z349.object({
11564
- documentId: z349.string().uuid(),
11565
- title: z349.string(),
11566
- sectionId: z349.string().uuid().optional()
11567
- });
11568
- var DTOTrailEventProjectCreatedPayload = z349.object({
11569
- name: z349.string(),
11570
- description: z349.string().optional()
11571
- });
11572
- var DTOTrailEventFeaturePublishedPayload = z349.object({
11573
- featureId: z349.string().uuid(),
11574
- featureName: z349.string(),
11575
- iterationId: z349.string().uuid().nullish(),
11576
- iterationName: z349.string().nullish()
11577
- });
11578
- var DTOTrailEventFeatureUnpublishedPayload = z349.object({
11579
- featureId: z349.string().uuid(),
11580
- featureName: z349.string(),
11581
- iterationId: z349.string().uuid().nullish(),
11582
- iterationName: z349.string().nullish()
11583
- });
11584
- var DTOTrailEventProjectArchivedPayload = z349.object({
11585
- name: z349.string()
11586
- });
11587
- var DTOTrailEventProjectContextCreatedPayload = z349.object({
11588
- contextId: z349.number(),
11589
- name: z349.string(),
11590
- description: z349.string().optional()
11591
- });
11592
- var DTOTrailEventProjectContextArchivedPayload = z349.object({
11593
- contextId: z349.number()
11594
- });
11595
- var DTOTrailEventPayload = z349.discriminatedUnion("type", [
11596
- z349.object({ type: z349.literal("IterationCreated"), payload: DTOTrailEventIterationCreatedPayload }),
11597
- z349.object({ type: z349.literal("IterationBookmarked"), payload: DTOTrailEventIterationBookmarkedPayload }),
11598
- z349.object({ type: z349.literal("FeatureCreated"), payload: DTOTrailEventFeatureCreatedPayload }),
11599
- z349.object({ type: z349.literal("FeatureDeleted"), payload: DTOTrailEventFeatureDeletedPayload }),
11600
- z349.object({ type: z349.literal("FeatureArchived"), payload: DTOTrailEventFeatureArchivedPayload }),
11601
- z349.object({ type: z349.literal("DocumentCreated"), payload: DTOTrailEventDocumentCreatedPayload }),
11602
- z349.object({ type: z349.literal("DocumentDeleted"), payload: DTOTrailEventDocumentDeletedPayload }),
11603
- z349.object({ type: z349.literal("DocumentUpdated"), payload: DTOTrailEventDocumentUpdatedPayload }),
11604
- z349.object({ type: z349.literal("DocumentCommentSent"), payload: DTOTrailEventDocumentCommentSentPayload }),
11605
- z349.object({ type: z349.literal("ProjectCreated"), payload: DTOTrailEventProjectCreatedPayload }),
11606
- z349.object({ type: z349.literal("ProjectArchived"), payload: DTOTrailEventProjectArchivedPayload }),
11607
- z349.object({ type: z349.literal("IterationPromoted"), payload: DTOTrailEventIterationPromotedPayload }),
11608
- z349.object({ type: z349.literal("ProjectContextCreated"), payload: DTOTrailEventProjectContextCreatedPayload }),
11609
- z349.object({ type: z349.literal("ProjectContextArchived"), payload: DTOTrailEventProjectContextArchivedPayload }),
11610
- z349.object({ type: z349.literal("FeaturePublished"), payload: DTOTrailEventFeaturePublishedPayload }),
11611
- z349.object({ type: z349.literal("FeatureUnpublished"), payload: DTOTrailEventFeatureUnpublishedPayload })
11575
+ var DTOTrailEventBase = z350.object({
11576
+ id: z350.string(),
11577
+ projectId: z350.string(),
11578
+ userId: z350.string(),
11579
+ createdAt: z350.coerce.date(),
11580
+ updatedAt: z350.coerce.date()
11581
+ });
11582
+ var DTOTrailEventIterationCreatedPayload = z350.object({
11583
+ iterationName: z350.string(),
11584
+ iterationId: z350.string().uuid(),
11585
+ featureId: z350.string().uuid()
11586
+ });
11587
+ var DTOTrailEventIterationBookmarkedPayload = z350.object({
11588
+ iterationId: z350.string().uuid(),
11589
+ featureId: z350.string().uuid(),
11590
+ iterationName: z350.string()
11591
+ });
11592
+ var DTOTrailEventIterationPromotedPayload = z350.object({
11593
+ iterationId: z350.string().uuid(),
11594
+ featureId: z350.string().uuid(),
11595
+ iterationName: z350.string()
11596
+ });
11597
+ var DTOTrailEventFeatureCreatedPayload = z350.object({
11598
+ featureId: z350.string().uuid(),
11599
+ name: z350.string(),
11600
+ description: z350.string().optional()
11601
+ });
11602
+ var DTOTrailEventFeatureDeletedPayload = z350.object({
11603
+ featureId: z350.string().uuid(),
11604
+ name: z350.string()
11605
+ });
11606
+ var DTOTrailEventFeatureArchivedPayload = z350.object({
11607
+ featureId: z350.string().uuid(),
11608
+ name: z350.string()
11609
+ });
11610
+ var DTOTrailEventDocumentCreatedPayload = z350.object({
11611
+ documentId: z350.string().uuid(),
11612
+ title: z350.string(),
11613
+ sectionId: z350.string().uuid().optional()
11614
+ });
11615
+ var DTOTrailEventDocumentDeletedPayload = z350.object({
11616
+ documentId: z350.string().uuid(),
11617
+ title: z350.string()
11618
+ });
11619
+ var DTOTrailEventDocumentUpdatedPayload = z350.object({
11620
+ documentId: z350.string().uuid(),
11621
+ title: z350.string(),
11622
+ sectionId: z350.string().uuid().optional()
11623
+ });
11624
+ var DTOTrailEventDocumentCommentSentPayload = z350.object({
11625
+ documentId: z350.string().uuid(),
11626
+ title: z350.string(),
11627
+ sectionId: z350.string().uuid().optional()
11628
+ });
11629
+ var DTOTrailEventProjectCreatedPayload = z350.object({
11630
+ name: z350.string(),
11631
+ description: z350.string().optional()
11632
+ });
11633
+ var DTOTrailEventFeaturePublishedPayload = z350.object({
11634
+ featureId: z350.string().uuid(),
11635
+ featureName: z350.string(),
11636
+ iterationId: z350.string().uuid().nullish(),
11637
+ iterationName: z350.string().nullish()
11638
+ });
11639
+ var DTOTrailEventFeatureUnpublishedPayload = z350.object({
11640
+ featureId: z350.string().uuid(),
11641
+ featureName: z350.string(),
11642
+ iterationId: z350.string().uuid().nullish(),
11643
+ iterationName: z350.string().nullish()
11644
+ });
11645
+ var DTOTrailEventProjectArchivedPayload = z350.object({
11646
+ name: z350.string()
11647
+ });
11648
+ var DTOTrailEventProjectContextCreatedPayload = z350.object({
11649
+ contextId: z350.number(),
11650
+ name: z350.string(),
11651
+ description: z350.string().optional()
11652
+ });
11653
+ var DTOTrailEventProjectContextArchivedPayload = z350.object({
11654
+ contextId: z350.number()
11655
+ });
11656
+ var DTOTrailEventPayload = z350.discriminatedUnion("type", [
11657
+ z350.object({ type: z350.literal("IterationCreated"), payload: DTOTrailEventIterationCreatedPayload }),
11658
+ z350.object({ type: z350.literal("IterationBookmarked"), payload: DTOTrailEventIterationBookmarkedPayload }),
11659
+ z350.object({ type: z350.literal("FeatureCreated"), payload: DTOTrailEventFeatureCreatedPayload }),
11660
+ z350.object({ type: z350.literal("FeatureDeleted"), payload: DTOTrailEventFeatureDeletedPayload }),
11661
+ z350.object({ type: z350.literal("FeatureArchived"), payload: DTOTrailEventFeatureArchivedPayload }),
11662
+ z350.object({ type: z350.literal("DocumentCreated"), payload: DTOTrailEventDocumentCreatedPayload }),
11663
+ z350.object({ type: z350.literal("DocumentDeleted"), payload: DTOTrailEventDocumentDeletedPayload }),
11664
+ z350.object({ type: z350.literal("DocumentUpdated"), payload: DTOTrailEventDocumentUpdatedPayload }),
11665
+ z350.object({ type: z350.literal("DocumentCommentSent"), payload: DTOTrailEventDocumentCommentSentPayload }),
11666
+ z350.object({ type: z350.literal("ProjectCreated"), payload: DTOTrailEventProjectCreatedPayload }),
11667
+ z350.object({ type: z350.literal("ProjectArchived"), payload: DTOTrailEventProjectArchivedPayload }),
11668
+ z350.object({ type: z350.literal("IterationPromoted"), payload: DTOTrailEventIterationPromotedPayload }),
11669
+ z350.object({ type: z350.literal("ProjectContextCreated"), payload: DTOTrailEventProjectContextCreatedPayload }),
11670
+ z350.object({ type: z350.literal("ProjectContextArchived"), payload: DTOTrailEventProjectContextArchivedPayload }),
11671
+ z350.object({ type: z350.literal("FeaturePublished"), payload: DTOTrailEventFeaturePublishedPayload }),
11672
+ z350.object({ type: z350.literal("FeatureUnpublished"), payload: DTOTrailEventFeatureUnpublishedPayload })
11612
11673
  ]);
11613
11674
  var DTOTrailEvent = DTOTrailEventPayload.and(DTOTrailEventBase);
11614
11675
  var DTOTrailEventWithDetails = DTOTrailEvent.and(
11615
- z349.object({
11616
- projectName: z349.string().optional(),
11617
- userName: z349.string().optional()
11676
+ z350.object({
11677
+ projectName: z350.string().optional(),
11678
+ userName: z350.string().optional()
11618
11679
  })
11619
11680
  );
11620
- var DTOTrailEventListInput = z349.object({
11621
- projectId: z349.string()
11681
+ var DTOTrailEventListInput = z350.object({
11682
+ projectId: z350.string()
11622
11683
  });
11623
- var DTOTrailEventListResponse = z349.object({
11624
- events: z349.array(DTOTrailEventWithDetails)
11684
+ var DTOTrailEventListResponse = z350.object({
11685
+ events: z350.array(DTOTrailEventWithDetails)
11625
11686
  });
11626
11687
  var DTOTrailEventCreate = DTOTrailEventPayload.and(
11627
11688
  DTOTrailEventBase.omit({ id: true, createdAt: true, updatedAt: true })
11628
11689
  );
11629
- var DTOTrailEventClientCreate = z349.discriminatedUnion("type", [
11630
- z349.object({ type: z349.literal("DocumentUpdated"), payload: DTOTrailEventDocumentUpdatedPayload }),
11631
- z349.object({ type: z349.literal("DocumentCommentSent"), payload: DTOTrailEventDocumentCommentSentPayload })
11690
+ var DTOTrailEventClientCreate = z350.discriminatedUnion("type", [
11691
+ z350.object({ type: z350.literal("DocumentUpdated"), payload: DTOTrailEventDocumentUpdatedPayload }),
11692
+ z350.object({ type: z350.literal("DocumentCommentSent"), payload: DTOTrailEventDocumentCommentSentPayload })
11632
11693
  ]).and(DTOTrailEventBase.omit({ id: true, createdAt: true, updatedAt: true }));
11633
11694
 
11634
11695
  // src/api/endpoints/codegen/exporters.ts
@@ -11673,13 +11734,13 @@ var ExportersEndpoint = class {
11673
11734
  };
11674
11735
 
11675
11736
  // src/api/endpoints/codegen/jobs.ts
11676
- import { z as z350 } from "zod";
11737
+ import { z as z351 } from "zod";
11677
11738
  var ExporterJobsEndpoint = class {
11678
11739
  constructor(requestExecutor) {
11679
11740
  this.requestExecutor = requestExecutor;
11680
11741
  }
11681
11742
  list(workspaceId) {
11682
- return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z350.any());
11743
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z351.any());
11683
11744
  }
11684
11745
  get(workspaceId, jobId) {
11685
11746
  return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
@@ -11737,7 +11798,7 @@ var CodegenEndpoint = class {
11737
11798
  };
11738
11799
 
11739
11800
  // src/api/endpoints/design-system/versions/brands.ts
11740
- import { z as z351 } from "zod";
11801
+ import { z as z352 } from "zod";
11741
11802
  var BrandsEndpoint = class {
11742
11803
  constructor(requestExecutor) {
11743
11804
  this.requestExecutor = requestExecutor;
@@ -11771,7 +11832,7 @@ var BrandsEndpoint = class {
11771
11832
  });
11772
11833
  }
11773
11834
  delete(dsId, vId, brandId) {
11774
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z351.any(), {
11835
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z352.any(), {
11775
11836
  method: "DELETE"
11776
11837
  });
11777
11838
  }
@@ -12047,7 +12108,7 @@ var ImportJobsEndpoint = class {
12047
12108
  };
12048
12109
 
12049
12110
  // src/api/endpoints/design-system/versions/overrides.ts
12050
- import { z as z352 } from "zod";
12111
+ import { z as z353 } from "zod";
12051
12112
  var OverridesEndpoint = class {
12052
12113
  constructor(requestExecutor) {
12053
12114
  this.requestExecutor = requestExecutor;
@@ -12055,7 +12116,7 @@ var OverridesEndpoint = class {
12055
12116
  create(dsId, versionId, themeId, body) {
12056
12117
  return this.requestExecutor.json(
12057
12118
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
12058
- z352.any(),
12119
+ z353.any(),
12059
12120
  {
12060
12121
  method: "POST",
12061
12122
  body
@@ -12065,7 +12126,7 @@ var OverridesEndpoint = class {
12065
12126
  };
12066
12127
 
12067
12128
  // src/api/endpoints/design-system/versions/property-definitions.ts
12068
- import { z as z353 } from "zod";
12129
+ import { z as z354 } from "zod";
12069
12130
  var ElementPropertyDefinitionsEndpoint = class {
12070
12131
  constructor(requestExecutor) {
12071
12132
  this.requestExecutor = requestExecutor;
@@ -12093,7 +12154,7 @@ var ElementPropertyDefinitionsEndpoint = class {
12093
12154
  delete(designSystemId, versionId, defId) {
12094
12155
  return this.requestExecutor.json(
12095
12156
  `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
12096
- z353.any(),
12157
+ z354.any(),
12097
12158
  { method: "DELETE" }
12098
12159
  );
12099
12160
  }
@@ -12132,7 +12193,7 @@ var VersionStatsEndpoint = class {
12132
12193
  };
12133
12194
 
12134
12195
  // src/api/endpoints/design-system/versions/themes.ts
12135
- import { z as z354 } from "zod";
12196
+ import { z as z355 } from "zod";
12136
12197
  var ThemesEndpoint = class {
12137
12198
  constructor(requestExecutor) {
12138
12199
  this.requestExecutor = requestExecutor;
@@ -12155,7 +12216,7 @@ var ThemesEndpoint = class {
12155
12216
  });
12156
12217
  }
12157
12218
  delete(dsId, versionId, themeId) {
12158
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z354.any(), {
12219
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z355.any(), {
12159
12220
  method: "DELETE"
12160
12221
  });
12161
12222
  }
@@ -12328,7 +12389,7 @@ var DesignSystemContactsEndpoint = class {
12328
12389
  };
12329
12390
 
12330
12391
  // src/api/endpoints/design-system/design-systems.ts
12331
- import { z as z357 } from "zod";
12392
+ import { z as z358 } from "zod";
12332
12393
 
12333
12394
  // src/api/endpoints/design-system/figma-node-structures.ts
12334
12395
  var FigmaNodeStructuresEndpoint = class {
@@ -12405,7 +12466,7 @@ var DesignSystemPageRedirectsEndpoint = class {
12405
12466
  };
12406
12467
 
12407
12468
  // src/api/endpoints/design-system/sources.ts
12408
- import { z as z355 } from "zod";
12469
+ import { z as z356 } from "zod";
12409
12470
  var DesignSystemSourcesEndpoint = class {
12410
12471
  constructor(requestExecutor) {
12411
12472
  this.requestExecutor = requestExecutor;
@@ -12423,7 +12484,7 @@ var DesignSystemSourcesEndpoint = class {
12423
12484
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
12424
12485
  }
12425
12486
  delete(dsId, sourceId) {
12426
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z355.any(), { method: "DELETE" });
12487
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z356.any(), { method: "DELETE" });
12427
12488
  }
12428
12489
  updateFigmaSource(dsId, sourceId, payload) {
12429
12490
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse, {
@@ -12466,7 +12527,7 @@ var DesignSystemSourcesEndpoint = class {
12466
12527
  };
12467
12528
 
12468
12529
  // src/api/endpoints/design-system/storybook.ts
12469
- import { z as z356 } from "zod";
12530
+ import { z as z357 } from "zod";
12470
12531
  var StorybookEntriesEndpoint = class {
12471
12532
  constructor(requestExecutor) {
12472
12533
  this.requestExecutor = requestExecutor;
@@ -12484,7 +12545,7 @@ var StorybookEntriesEndpoint = class {
12484
12545
  );
12485
12546
  }
12486
12547
  delete(dsId, entryId) {
12487
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z356.any(), {
12548
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z357.any(), {
12488
12549
  method: "DELETE"
12489
12550
  });
12490
12551
  }
@@ -12526,7 +12587,7 @@ var DesignSystemsEndpoint = class {
12526
12587
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
12527
12588
  }
12528
12589
  delete(dsId) {
12529
- return this.requestExecutor.json(`/design-systems/${dsId}`, z357.any(), { method: "DELETE" });
12590
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z358.any(), { method: "DELETE" });
12530
12591
  }
12531
12592
  update(dsId, body) {
12532
12593
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -13000,7 +13061,7 @@ var ForgeProjectMembersEndpoint = class {
13000
13061
  };
13001
13062
 
13002
13063
  // src/api/endpoints/forge/projects.ts
13003
- import z358 from "zod";
13064
+ import z359 from "zod";
13004
13065
  var ForgeProjectsEndpoint = class {
13005
13066
  constructor(requestExecutor) {
13006
13067
  this.requestExecutor = requestExecutor;
@@ -13037,7 +13098,7 @@ var ForgeProjectsEndpoint = class {
13037
13098
  );
13038
13099
  }
13039
13100
  action(workspaceId, projectId, body) {
13040
- return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/projects/${projectId}/action`, z358.any(), {
13101
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/projects/${projectId}/action`, z359.any(), {
13041
13102
  body,
13042
13103
  method: "POST"
13043
13104
  });
@@ -13209,7 +13270,7 @@ var WorkspaceBillingEndpoint = class {
13209
13270
  };
13210
13271
 
13211
13272
  // src/api/endpoints/workspaces/chat-threads.ts
13212
- import { z as z359 } from "zod";
13273
+ import { z as z360 } from "zod";
13213
13274
  var WorkspaceChatThreadsEndpoint = class {
13214
13275
  constructor(requestExecutor) {
13215
13276
  this.requestExecutor = requestExecutor;
@@ -13241,7 +13302,7 @@ var WorkspaceChatThreadsEndpoint = class {
13241
13302
  );
13242
13303
  }
13243
13304
  delete(workspaceId, threadId) {
13244
- return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z359.any(), {
13305
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z360.any(), {
13245
13306
  method: "DELETE"
13246
13307
  });
13247
13308
  }
@@ -13273,7 +13334,7 @@ var ChatThreadMessagesEndpoint = class {
13273
13334
  );
13274
13335
  }
13275
13336
  score(workspaceId, threadId, body) {
13276
- return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z359.any(), {
13337
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z360.any(), {
13277
13338
  method: "POST",
13278
13339
  body
13279
13340
  });
@@ -13281,7 +13342,7 @@ var ChatThreadMessagesEndpoint = class {
13281
13342
  };
13282
13343
 
13283
13344
  // src/api/endpoints/workspaces/integrations.ts
13284
- import { z as z360 } from "zod";
13345
+ import { z as z361 } from "zod";
13285
13346
  var WorkspaceIntegrationsEndpoint = class {
13286
13347
  constructor(requestExecutor) {
13287
13348
  this.requestExecutor = requestExecutor;
@@ -13290,7 +13351,7 @@ var WorkspaceIntegrationsEndpoint = class {
13290
13351
  return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
13291
13352
  }
13292
13353
  delete(wsId, iId) {
13293
- return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z360.unknown(), { method: "DELETE" });
13354
+ return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z361.unknown(), { method: "DELETE" });
13294
13355
  }
13295
13356
  };
13296
13357
 
@@ -13322,7 +13383,7 @@ var WorkspaceInvitationsEndpoint = class {
13322
13383
  };
13323
13384
 
13324
13385
  // src/api/endpoints/workspaces/members.ts
13325
- import { z as z361 } from "zod";
13386
+ import { z as z362 } from "zod";
13326
13387
  var WorkspaceMembersEndpoint = class {
13327
13388
  constructor(requestExecutor) {
13328
13389
  this.requestExecutor = requestExecutor;
@@ -13339,7 +13400,7 @@ var WorkspaceMembersEndpoint = class {
13339
13400
  });
13340
13401
  }
13341
13402
  invite(workspaceId, body) {
13342
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z361.any(), { method: "POST", body });
13403
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z362.any(), { method: "POST", body });
13343
13404
  }
13344
13405
  delete(workspaceId, userId) {
13345
13406
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -13368,7 +13429,7 @@ var WorkspaceNpmRegistryEndpoint = class {
13368
13429
  };
13369
13430
 
13370
13431
  // src/api/endpoints/workspaces/subscription.ts
13371
- import { z as z362 } from "zod";
13432
+ import { z as z363 } from "zod";
13372
13433
  var WorkspaceSubscriptionEndpoint = class {
13373
13434
  constructor(requestExecutor) {
13374
13435
  this.requestExecutor = requestExecutor;
@@ -13379,7 +13440,7 @@ var WorkspaceSubscriptionEndpoint = class {
13379
13440
  });
13380
13441
  }
13381
13442
  update(workspaceId, body) {
13382
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z362.any(), {
13443
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z363.any(), {
13383
13444
  method: "PUT",
13384
13445
  body
13385
13446
  });
@@ -13397,7 +13458,7 @@ var WorkspaceSubscriptionEndpoint = class {
13397
13458
  };
13398
13459
 
13399
13460
  // src/api/endpoints/workspaces/workspaces.ts
13400
- import { z as z363 } from "zod";
13461
+ import { z as z364 } from "zod";
13401
13462
  var WorkspacesEndpoint = class {
13402
13463
  constructor(requestExecutor) {
13403
13464
  this.requestExecutor = requestExecutor;
@@ -13433,7 +13494,7 @@ var WorkspacesEndpoint = class {
13433
13494
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
13434
13495
  }
13435
13496
  delete(workspaceId) {
13436
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z363.any(), { method: "DELETE" });
13497
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z364.any(), { method: "DELETE" });
13437
13498
  }
13438
13499
  getPortalSettings(workspaceId) {
13439
13500
  return this.requestExecutor.json(`/workspaces/${workspaceId}/portal/settings`, DTOPortalSettingsGetResponse, {
@@ -13487,7 +13548,7 @@ var LiveblocksEndpoint = class {
13487
13548
  };
13488
13549
 
13489
13550
  // src/api/endpoints/storybook-sites.ts
13490
- import z364 from "zod";
13551
+ import z365 from "zod";
13491
13552
  var StorybookSitesEndpoint = class {
13492
13553
  constructor(requestExecutor) {
13493
13554
  this.requestExecutor = requestExecutor;
@@ -13498,7 +13559,7 @@ var StorybookSitesEndpoint = class {
13498
13559
  });
13499
13560
  }
13500
13561
  deleteSite(siteId) {
13501
- return this.requestExecutor.json(`/storybook/sites/${siteId}`, z364.unknown(), {
13562
+ return this.requestExecutor.json(`/storybook/sites/${siteId}`, z365.unknown(), {
13502
13563
  method: "DELETE"
13503
13564
  });
13504
13565
  }
@@ -13616,9 +13677,9 @@ ${bodyText}`,
13616
13677
 
13617
13678
  // src/api/transport/request-executor.ts
13618
13679
  import fetch from "node-fetch";
13619
- import { z as z365 } from "zod";
13620
- var ResponseWrapper = z365.object({
13621
- result: z365.record(z365.any())
13680
+ import { z as z366 } from "zod";
13681
+ var ResponseWrapper = z366.object({
13682
+ result: z366.record(z366.any())
13622
13683
  });
13623
13684
  var RequestExecutor = class {
13624
13685
  constructor(testServerConfig) {
@@ -13710,25 +13771,25 @@ var SupernovaApiClient = class {
13710
13771
  };
13711
13772
 
13712
13773
  // src/events/design-system.ts
13713
- import { z as z366 } from "zod";
13714
- var DTOEventFigmaNodesRendered = z366.object({
13715
- type: z366.literal("DesignSystem.FigmaNodesRendered"),
13716
- designSystemId: z366.string(),
13717
- versionId: z366.string(),
13718
- figmaNodePersistentIds: z366.string().array()
13719
- });
13720
- var DTOEventDataSourcesImported = z366.object({
13721
- type: z366.literal("DesignSystem.ImportJobFinished"),
13722
- designSystemId: z366.string(),
13723
- versionId: z366.string(),
13724
- importJobId: z366.string(),
13774
+ import { z as z367 } from "zod";
13775
+ var DTOEventFigmaNodesRendered = z367.object({
13776
+ type: z367.literal("DesignSystem.FigmaNodesRendered"),
13777
+ designSystemId: z367.string(),
13778
+ versionId: z367.string(),
13779
+ figmaNodePersistentIds: z367.string().array()
13780
+ });
13781
+ var DTOEventDataSourcesImported = z367.object({
13782
+ type: z367.literal("DesignSystem.ImportJobFinished"),
13783
+ designSystemId: z367.string(),
13784
+ versionId: z367.string(),
13785
+ importJobId: z367.string(),
13725
13786
  dataSourceType: DataSourceRemoteType,
13726
- dataSourceIds: z366.string().array()
13787
+ dataSourceIds: z367.string().array()
13727
13788
  });
13728
13789
 
13729
13790
  // src/events/event.ts
13730
- import { z as z367 } from "zod";
13731
- var DTOEvent = z367.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
13791
+ import { z as z368 } from "zod";
13792
+ var DTOEvent = z368.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
13732
13793
 
13733
13794
  // src/sync/docs-local-action-executor.ts
13734
13795
  function applyActionsLocally(input) {
@@ -14024,7 +14085,7 @@ var LocalDocsElementActionExecutor = class {
14024
14085
  import PQueue from "p-queue";
14025
14086
 
14026
14087
  // src/yjs/design-system-content/documentation-hierarchy.ts
14027
- import { z as z368 } from "zod";
14088
+ import { z as z369 } from "zod";
14028
14089
 
14029
14090
  // src/yjs/version-room/base.ts
14030
14091
  var VersionRoomBaseYDoc = class {
@@ -14574,24 +14635,24 @@ var FrontendVersionRoomYDoc = class {
14574
14635
  };
14575
14636
 
14576
14637
  // src/yjs/design-system-content/documentation-hierarchy.ts
14577
- var DocumentationHierarchySettings = z368.object({
14578
- routingVersion: z368.string(),
14579
- isDraftFeatureAdopted: z368.boolean(),
14580
- isApprovalFeatureEnabled: z368.boolean(),
14581
- approvalRequiredForPublishing: z368.boolean()
14638
+ var DocumentationHierarchySettings = z369.object({
14639
+ routingVersion: z369.string(),
14640
+ isDraftFeatureAdopted: z369.boolean(),
14641
+ isApprovalFeatureEnabled: z369.boolean(),
14642
+ approvalRequiredForPublishing: z369.boolean()
14582
14643
  });
14583
14644
  function yjsToDocumentationHierarchy(doc) {
14584
14645
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
14585
14646
  }
14586
14647
 
14587
14648
  // src/yjs/design-system-content/item-configuration.ts
14588
- import { z as z369 } from "zod";
14589
- var DTODocumentationPageRoomHeaderData = z369.object({
14590
- title: z369.string(),
14649
+ import { z as z370 } from "zod";
14650
+ var DTODocumentationPageRoomHeaderData = z370.object({
14651
+ title: z370.string(),
14591
14652
  configuration: DTODocumentationItemConfigurationV2
14592
14653
  });
14593
- var DTODocumentationPageRoomHeaderDataUpdate = z369.object({
14594
- title: z369.string().optional(),
14654
+ var DTODocumentationPageRoomHeaderDataUpdate = z370.object({
14655
+ title: z370.string().optional(),
14595
14656
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
14596
14657
  });
14597
14658
  function itemConfigurationToYjs(yDoc, item) {
@@ -14626,9 +14687,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
14626
14687
  var PageSectionEditorModel = PageSectionEditorModelV2;
14627
14688
 
14628
14689
  // src/yjs/docs-editor/model/page.ts
14629
- import { z as z370 } from "zod";
14630
- var DocumentationPageEditorModel = z370.object({
14631
- blocks: z370.array(DocumentationPageContentItem)
14690
+ import { z as z371 } from "zod";
14691
+ var DocumentationPageEditorModel = z371.object({
14692
+ blocks: z371.array(DocumentationPageContentItem)
14632
14693
  });
14633
14694
 
14634
14695
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -18305,7 +18366,7 @@ var blocks = [
18305
18366
 
18306
18367
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
18307
18368
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
18308
- import { z as z371 } from "zod";
18369
+ import { z as z372 } from "zod";
18309
18370
  function yDocToPage(yDoc, definitions) {
18310
18371
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
18311
18372
  }
@@ -18381,7 +18442,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
18381
18442
  if (!id) return null;
18382
18443
  return {
18383
18444
  id,
18384
- title: getProsemirrorAttribute(prosemirrorNode, "title", z371.string()) ?? "",
18445
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z372.string()) ?? "",
18385
18446
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
18386
18447
  };
18387
18448
  }
@@ -18415,7 +18476,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
18415
18476
  });
18416
18477
  }
18417
18478
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
18418
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z371.string());
18479
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z372.string());
18419
18480
  if (!definitionId) {
18420
18481
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
18421
18482
  return [];
@@ -18456,7 +18517,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
18456
18517
  const id = getProsemirrorBlockId(prosemirrorNode);
18457
18518
  if (!id) return null;
18458
18519
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
18459
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z371.string().optional()));
18520
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z372.string().optional()));
18460
18521
  return {
18461
18522
  id,
18462
18523
  type: "Block",
@@ -18579,9 +18640,9 @@ function parseRichTextAttribute(mark) {
18579
18640
  return null;
18580
18641
  }
18581
18642
  function parseProsemirrorLink(mark) {
18582
- const href = getProsemirrorAttribute(mark, "href", z371.string().optional());
18643
+ const href = getProsemirrorAttribute(mark, "href", z372.string().optional());
18583
18644
  if (!href) return null;
18584
- const target = getProsemirrorAttribute(mark, "target", z371.string().optional());
18645
+ const target = getProsemirrorAttribute(mark, "target", z372.string().optional());
18585
18646
  const openInNewTab = target === "_blank";
18586
18647
  if (href.startsWith("@")) {
18587
18648
  return {
@@ -18600,9 +18661,9 @@ function parseProsemirrorLink(mark) {
18600
18661
  }
18601
18662
  }
18602
18663
  function parseProsemirrorCommentHighlight(mark) {
18603
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z371.string().optional());
18664
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z372.string().optional());
18604
18665
  if (!highlightId) return null;
18605
- const isResolved = getProsemirrorAttribute(mark, "resolved", z371.boolean().optional()) ?? false;
18666
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z372.boolean().optional()) ?? false;
18606
18667
  return {
18607
18668
  type: "Comment",
18608
18669
  commentHighlightId: highlightId,
@@ -18613,7 +18674,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
18613
18674
  const id = getProsemirrorBlockId(prosemirrorNode);
18614
18675
  if (!id) return null;
18615
18676
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
18616
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z371.boolean().optional()) !== false;
18677
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z372.boolean().optional()) !== false;
18617
18678
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
18618
18679
  if (!tableChild) {
18619
18680
  return emptyTable(id, variantId, 0);
@@ -18659,9 +18720,9 @@ function parseAsTable(prosemirrorNode, definition, property) {
18659
18720
  function parseAsTableCell(prosemirrorNode) {
18660
18721
  const id = getProsemirrorBlockId(prosemirrorNode);
18661
18722
  if (!id) return null;
18662
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z371.string().optional());
18723
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z372.string().optional());
18663
18724
  let columnWidth;
18664
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z371.array(z371.number()).nullish());
18725
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z372.array(z372.number()).nullish());
18665
18726
  if (columnWidthArray) {
18666
18727
  columnWidth = roundDimension(columnWidthArray[0]);
18667
18728
  }
@@ -18697,7 +18758,7 @@ function parseAsTableNode(prosemirrorNode) {
18697
18758
  value: parseRichText(prosemirrorNode.content ?? [])
18698
18759
  };
18699
18760
  case "image":
18700
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z371.string());
18761
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z372.string());
18701
18762
  if (!items) return null;
18702
18763
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
18703
18764
  if (!parsedItems.success) return null;
@@ -18811,7 +18872,7 @@ function definitionExpectsPlaceholderItem(definition) {
18811
18872
  );
18812
18873
  }
18813
18874
  function parseBlockItems(prosemirrorNode, definition) {
18814
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z371.string());
18875
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z372.string());
18815
18876
  if (!itemsString) return null;
18816
18877
  const itemsJson = JSON.parse(itemsString);
18817
18878
  if (!Array.isArray(itemsJson)) {
@@ -18822,18 +18883,18 @@ function parseBlockItems(prosemirrorNode, definition) {
18822
18883
  }
18823
18884
  function parseAppearance(prosemirrorNode) {
18824
18885
  let appearance = {};
18825
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z371.string().optional());
18886
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z372.string().optional());
18826
18887
  if (rawAppearanceString) {
18827
18888
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
18828
18889
  if (parsedAppearance.success) {
18829
18890
  appearance = parsedAppearance.data;
18830
18891
  }
18831
18892
  }
18832
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z371.number().optional());
18893
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z372.number().optional());
18833
18894
  if (columns) {
18834
18895
  appearance.numberOfColumns = columns;
18835
18896
  }
18836
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z371.string().optional());
18897
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z372.string().optional());
18837
18898
  if (backgroundColor) {
18838
18899
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
18839
18900
  if (parsedColor.success) {
@@ -18934,12 +18995,12 @@ function valueSchemaForPropertyType(type) {
18934
18995
  }
18935
18996
  }
18936
18997
  function getProsemirrorBlockId(prosemirrorNode) {
18937
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z371.string());
18998
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z372.string());
18938
18999
  if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
18939
19000
  return id;
18940
19001
  }
18941
19002
  function getProsemirrorBlockVariantId(prosemirrorNode) {
18942
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z371.string()));
19003
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z372.string()));
18943
19004
  }
18944
19005
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
18945
19006
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
@@ -20448,6 +20509,11 @@ export {
20448
20509
  DTOForgeFeatureRoom,
20449
20510
  DTOForgeFeatureRoomResponse,
20450
20511
  DTOForgeFigmaArtifact,
20512
+ DTOForgeFigmaNode,
20513
+ DTOForgeFigmaNodeCreateRequest,
20514
+ DTOForgeFigmaNodeOrigin,
20515
+ DTOForgeFigmaNodeResponse,
20516
+ DTOForgeFigmaNodeState,
20451
20517
  DTOForgeFileArtifact,
20452
20518
  DTOForgeIconSet,
20453
20519
  DTOForgeIconSetTypeV2,