@supernova-studio/client 1.16.1 → 1.16.2

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
@@ -4401,6 +4401,7 @@ var WorkspaceUntypedData = z131.object({
4401
4401
  });
4402
4402
  var WorkspaceRoleSchema = z132.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
4403
4403
  var WorkspaceRole = WorkspaceRoleSchema.enum;
4404
+ var WorkspaceSeatType = z132.enum(["Full", "Builder", "None"]);
4404
4405
  var MAX_MEMBERS_COUNT = 100;
4405
4406
  var UserInvite = z133.object({
4406
4407
  email: z133.string().email().trim().transform((value) => value.toLowerCase()),
@@ -4471,6 +4472,7 @@ var WorkspaceInvitation = z138.object({
4471
4472
  createdAt: z138.coerce.date(),
4472
4473
  resentAt: z138.coerce.date().nullish(),
4473
4474
  role: z138.nativeEnum(WorkspaceRole),
4475
+ seatType: WorkspaceSeatType,
4474
4476
  workspaceId: z138.string(),
4475
4477
  invitedBy: z138.string()
4476
4478
  });
@@ -4596,6 +4598,7 @@ var WorkspaceMembership = z147.object({
4596
4598
  userId: z147.string(),
4597
4599
  workspaceId: z147.string(),
4598
4600
  workspaceRole: z147.nativeEnum(WorkspaceRole),
4601
+ seatType: WorkspaceSeatType,
4599
4602
  notificationSettings: UserNotificationSettings,
4600
4603
  isPrimaryOwner: z147.boolean().nullish()
4601
4604
  });
@@ -4604,6 +4607,7 @@ var UpdateMembershipRolesInput = z147.object({
4604
4607
  z147.object({
4605
4608
  userId: z147.string(),
4606
4609
  role: z147.nativeEnum(WorkspaceRole),
4610
+ seatType: WorkspaceSeatType.optional(),
4607
4611
  isPrimaryOwner: z147.boolean().optional()
4608
4612
  })
4609
4613
  )
@@ -6351,7 +6355,7 @@ var DTOPagination = z218.object({
6351
6355
  });
6352
6356
 
6353
6357
  // src/api/dto/bff/app-bootstrap-data.ts
6354
- import { z as z262 } from "zod";
6358
+ import { z as z263 } from "zod";
6355
6359
 
6356
6360
  // src/api/dto/design-systems/brand.ts
6357
6361
  import { z as z219 } from "zod";
@@ -7007,7 +7011,7 @@ var DTOStorybookEntryListResponse = z236.object({ entries: z236.array(DTOStorybo
7007
7011
  var DTOStorybookEntryResponse = z236.object({ entry: DTOStorybookEntry });
7008
7012
 
7009
7013
  // src/api/dto/design-systems/user-design-systems.ts
7010
- import { z as z246 } from "zod";
7014
+ import { z as z248 } from "zod";
7011
7015
 
7012
7016
  // src/api/dto/workspaces/billing.ts
7013
7017
  import z237 from "zod";
@@ -7018,250 +7022,268 @@ var DTOBillingCreditsSpendResponse = z237.object({
7018
7022
  hasSpentCredits: z237.boolean()
7019
7023
  });
7020
7024
 
7025
+ // src/api/dto/workspaces/enums.ts
7026
+ import z238 from "zod";
7027
+ var DTOWorkspaceRole = z238.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
7028
+ var DTOWorkspaceSeatType = z238.enum(["Full", "Builder", "None"]);
7029
+
7021
7030
  // src/api/dto/workspaces/git.ts
7022
- import { z as z238 } from "zod";
7023
- var DTOGitOrganization = z238.object({
7024
- id: z238.string(),
7025
- name: z238.string(),
7026
- url: z238.string(),
7027
- slug: z238.string()
7028
- });
7029
- var DTOGitProject = z238.object({
7030
- id: z238.string(),
7031
- name: z238.string(),
7032
- url: z238.string(),
7033
- slug: z238.string()
7034
- });
7035
- var DTOGitRepository = z238.object({
7036
- id: z238.string(),
7037
- name: z238.string(),
7038
- url: z238.string(),
7039
- slug: z238.string(),
7040
- defaultBranch: z238.string().optional()
7041
- });
7042
- var DTOGitBranch = z238.object({
7043
- name: z238.string(),
7044
- lastCommitId: z238.string()
7031
+ import { z as z239 } from "zod";
7032
+ var DTOGitOrganization = z239.object({
7033
+ id: z239.string(),
7034
+ name: z239.string(),
7035
+ url: z239.string(),
7036
+ slug: z239.string()
7037
+ });
7038
+ var DTOGitProject = z239.object({
7039
+ id: z239.string(),
7040
+ name: z239.string(),
7041
+ url: z239.string(),
7042
+ slug: z239.string()
7043
+ });
7044
+ var DTOGitRepository = z239.object({
7045
+ id: z239.string(),
7046
+ name: z239.string(),
7047
+ url: z239.string(),
7048
+ slug: z239.string(),
7049
+ defaultBranch: z239.string().optional()
7050
+ });
7051
+ var DTOGitBranch = z239.object({
7052
+ name: z239.string(),
7053
+ lastCommitId: z239.string()
7045
7054
  });
7046
7055
 
7047
7056
  // src/api/dto/workspaces/integrations.ts
7048
- import { z as z239 } from "zod";
7057
+ import { z as z240 } from "zod";
7049
7058
  var DTOIntegrationCredentials = IntegrationCredentials.omit({
7050
7059
  accessToken: true,
7051
7060
  refreshToken: true
7052
7061
  });
7053
- var DTOIntegration = z239.object({
7054
- id: z239.string(),
7055
- workspaceId: z239.string(),
7062
+ var DTOIntegration = z240.object({
7063
+ id: z240.string(),
7064
+ workspaceId: z240.string(),
7056
7065
  type: ExtendedIntegrationType,
7057
- createdAt: z239.coerce.date(),
7058
- integrationCredentials: z239.array(DTOIntegrationCredentials).optional(),
7059
- integrationDesignSystems: z239.array(IntegrationDesignSystem).optional()
7066
+ createdAt: z240.coerce.date(),
7067
+ integrationCredentials: z240.array(DTOIntegrationCredentials).optional(),
7068
+ integrationDesignSystems: z240.array(IntegrationDesignSystem).optional()
7060
7069
  });
7061
- var DTOIntegrationOAuthGetResponse = z239.object({
7062
- url: z239.string()
7070
+ var DTOIntegrationOAuthGetResponse = z240.object({
7071
+ url: z240.string()
7063
7072
  });
7064
- var DTOIntegrationPostResponse = z239.object({
7073
+ var DTOIntegrationPostResponse = z240.object({
7065
7074
  integration: DTOIntegration
7066
7075
  });
7067
- var DTOIntegrationsGetListResponse = z239.object({
7076
+ var DTOIntegrationsGetListResponse = z240.object({
7068
7077
  integrations: DTOIntegration.array()
7069
7078
  });
7070
7079
 
7071
7080
  // src/api/dto/workspaces/invitations.ts
7072
- import { z as z240 } from "zod";
7073
- var DTOWorkspaceInvitationInput = z240.object({
7074
- email: z240.string().email(),
7075
- role: WorkspaceRoleSchema
7081
+ import { z as z241 } from "zod";
7082
+ var DTOWorkspaceInvitationInput = z241.object({
7083
+ email: z241.string().email(),
7084
+ role: WorkspaceRoleSchema,
7085
+ seatType: DTOWorkspaceSeatType.optional()
7076
7086
  });
7077
- var DTOWorkspaceInvitationsListInput = z240.object({
7087
+ var DTOWorkspaceInvitationsListInput = z241.object({
7078
7088
  invites: DTOWorkspaceInvitationInput.array().max(100),
7079
- designSystemId: z240.string().optional()
7089
+ designSystemId: z241.string().optional()
7080
7090
  });
7081
- var DTOWorkspaceInvitationsResponse = z240.object({
7091
+ var DTOWorkspaceInvitationsResponse = z241.object({
7082
7092
  invitations: WorkspaceInvitation.array()
7083
7093
  });
7084
- var DTOWorkspaceInviteUpdate = z240.object({
7085
- role: WorkspaceRoleSchema
7094
+ var DTOWorkspaceInviteUpdate = z241.object({
7095
+ role: WorkspaceRoleSchema,
7096
+ seatType: DTOWorkspaceSeatType.optional()
7086
7097
  });
7087
- var DTOWorkspaceInvitationUpdateResponse = z240.object({
7098
+ var DTOWorkspaceInvitationUpdateResponse = z241.object({
7088
7099
  invitation: WorkspaceInvitation
7089
7100
  });
7090
7101
 
7091
7102
  // src/api/dto/workspaces/membership.ts
7092
- import { z as z243 } from "zod";
7103
+ import { z as z244 } from "zod";
7093
7104
 
7094
7105
  // src/api/dto/workspaces/workspace.ts
7095
- import { z as z242 } from "zod";
7106
+ import { z as z243 } from "zod";
7096
7107
 
7097
7108
  // src/api/dto/workspaces/npm-registry.ts
7098
- import { z as z241 } from "zod";
7109
+ import { z as z242 } from "zod";
7099
7110
  var DTONpmRegistryConfigConstants = {
7100
7111
  passwordPlaceholder: "redacted"
7101
7112
  };
7102
- var DTONpmRegistryConfig = z241.object({
7113
+ var DTONpmRegistryConfig = z242.object({
7103
7114
  // Registry basic configuration
7104
7115
  registryType: NpmRegistryType,
7105
- registryUrl: z241.string(),
7106
- customRegistryUrl: z241.string().optional(),
7116
+ registryUrl: z242.string(),
7117
+ customRegistryUrl: z242.string().optional(),
7107
7118
  // URL of Supernova NPM packages proxy
7108
- proxyUrl: z241.string(),
7119
+ proxyUrl: z242.string(),
7109
7120
  // Auth configuration
7110
7121
  authType: NpmRegistryAuthType,
7111
- accessToken: z241.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
7112
- username: z241.string().optional(),
7113
- password: z241.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
7122
+ accessToken: z242.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
7123
+ username: z242.string().optional(),
7124
+ password: z242.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
7114
7125
  // NPM package scopes for whih the proxy should be enabled
7115
- enabledScopes: z241.array(z241.string()),
7126
+ enabledScopes: z242.array(z242.string()),
7116
7127
  // True if client should bypass Supernova proxy and connect directly to the registry
7117
7128
  // (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
7118
- bypassProxy: z241.boolean()
7129
+ bypassProxy: z242.boolean()
7119
7130
  });
7120
- var DTONpmRegistryAccessTokenResponse = z241.object({
7121
- version: z241.number(),
7122
- accessToken: z241.string().optional(),
7123
- registryUrl: z241.string()
7131
+ var DTONpmRegistryAccessTokenResponse = z242.object({
7132
+ version: z242.number(),
7133
+ accessToken: z242.string().optional(),
7134
+ registryUrl: z242.string()
7124
7135
  });
7125
- var DTOUpdateRegistryInput = z241.object({
7136
+ var DTOUpdateRegistryInput = z242.object({
7126
7137
  registryType: nullishToOptional(NpmRegistryType),
7127
7138
  authType: nullishToOptional(NpmRegistryAuthType),
7128
- enabledScopes: nullishToOptional(z241.array(z241.string())),
7129
- customRegistryUrl: nullishToOptional(z241.string()),
7130
- bypassProxy: nullishToOptional(z241.boolean()),
7131
- npmProxyVersion: nullishToOptional(z241.number()),
7132
- authHeaderName: nullishToOptional(z241.string()),
7133
- authHeaderValue: nullishToOptional(z241.string()),
7134
- accessToken: nullishToOptional(z241.string()),
7135
- username: nullishToOptional(z241.string()),
7136
- password: nullishToOptional(z241.string())
7137
- });
7138
- var DTOUpdateRegistryOutput = z241.object({
7139
+ enabledScopes: nullishToOptional(z242.array(z242.string())),
7140
+ customRegistryUrl: nullishToOptional(z242.string()),
7141
+ bypassProxy: nullishToOptional(z242.boolean()),
7142
+ npmProxyVersion: nullishToOptional(z242.number()),
7143
+ authHeaderName: nullishToOptional(z242.string()),
7144
+ authHeaderValue: nullishToOptional(z242.string()),
7145
+ accessToken: nullishToOptional(z242.string()),
7146
+ username: nullishToOptional(z242.string()),
7147
+ password: nullishToOptional(z242.string())
7148
+ });
7149
+ var DTOUpdateRegistryOutput = z242.object({
7139
7150
  npmRegistrySettings: DTONpmRegistryConfig
7140
7151
  });
7141
7152
 
7142
7153
  // src/api/dto/workspaces/workspace.ts
7143
7154
  var DTOWorkspaceProfile = WorkspaceProfile;
7144
- var DTOWorkspace = z242.object({
7145
- id: z242.string(),
7155
+ var DTOWorkspace = z243.object({
7156
+ id: z243.string(),
7146
7157
  profile: DTOWorkspaceProfile,
7147
7158
  subscription: Subscription,
7148
7159
  npmRegistry: DTONpmRegistryConfig.optional()
7149
7160
  });
7150
- var DTOWorkspaceCreateInput = z242.object({
7151
- name: z242.string()
7161
+ var DTOWorkspaceCreateInput = z243.object({
7162
+ name: z243.string()
7152
7163
  });
7153
- var DTOWorkspaceResponse = z242.object({
7164
+ var DTOWorkspaceResponse = z243.object({
7154
7165
  workspace: DTOWorkspace
7155
7166
  });
7156
7167
 
7157
7168
  // src/api/dto/workspaces/membership.ts
7158
- var DTOWorkspaceRole = z243.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
7159
- var DTOUserWorkspaceMembership = z243.object({
7169
+ var DTOUserWorkspaceMembership = z244.object({
7160
7170
  // Workspace the user is a member of
7161
7171
  workspace: DTOWorkspace,
7162
- // Assigned role the user has in the workspace
7172
+ // Assigned and stored role the user has in the workspace
7163
7173
  role: DTOWorkspaceRole,
7164
7174
  // Role that determines actual permissions the user has in the workspace
7165
7175
  // E.g. this is different from the default role when editors are downgraded to viewers
7166
7176
  // when a workspace's subscription is downgraded to free tier
7167
- effectiveRole: DTOWorkspaceRole
7177
+ effectiveRole: DTOWorkspaceRole,
7178
+ // Assigned and stored seat type the user has in the workspace
7179
+ seatType: DTOWorkspaceSeatType,
7180
+ // Seat type that determines actual permissions the user has in the workspace.
7181
+ effectiveSeatType: DTOWorkspaceSeatType
7168
7182
  });
7169
- var DTOWorkspaceMember = z243.object({
7183
+ var DTOWorkspaceMember = z244.object({
7170
7184
  user: User,
7171
- role: WorkspaceRoleSchema,
7172
- effectiveRole: WorkspaceRoleSchema
7185
+ role: DTOWorkspaceRole,
7186
+ effectiveRole: DTOWorkspaceRole,
7187
+ seatType: DTOWorkspaceSeatType,
7188
+ effectiveSeatType: DTOWorkspaceSeatType
7173
7189
  });
7174
- var DTOUserWorkspaceMembershipsResponse = z243.object({
7175
- membership: z243.array(DTOUserWorkspaceMembership)
7190
+ var DTOUserWorkspaceMembershipsResponse = z244.object({
7191
+ membership: z244.array(DTOUserWorkspaceMembership)
7176
7192
  });
7177
- var DTOWorkspaceMembersListResponse = z243.object({
7178
- members: z243.array(DTOWorkspaceMember)
7193
+ var DTOWorkspaceMembersListResponse = z244.object({
7194
+ members: z244.array(DTOWorkspaceMember)
7179
7195
  });
7180
7196
 
7181
7197
  // src/api/dto/workspaces/subscription.ts
7182
- import z244 from "zod";
7183
- var DTOSubscription = z244.object({
7184
- stripeSubscriptionId: z244.string().optional(),
7185
- stripeCustomerId: z244.string().optional(),
7198
+ import z245 from "zod";
7199
+ var DTOSubscription = z245.object({
7200
+ stripeSubscriptionId: z245.string().optional(),
7201
+ stripeCustomerId: z245.string().optional(),
7186
7202
  status: InternalStatusSchema.optional(),
7187
7203
  subscriptionStatus: StripeSubscriptionStatusSchema.optional(),
7188
7204
  internalStatus: InternalStatusSchema.optional(),
7189
7205
  product: ProductCodeSchema,
7190
7206
  featuresSummary: FeaturesSummary.optional(),
7191
- stripeProductDescription: z244.string().optional(),
7192
- stripeProductFeatures: z244.array(z244.string()).optional(),
7193
- stripeProductAdditionalFeatures: z244.array(z244.string()).optional(),
7194
- stripeSubscriptionMainItemId: z244.string().optional(),
7195
- planPriceId: z244.string(),
7207
+ stripeProductDescription: z245.string().optional(),
7208
+ stripeProductFeatures: z245.array(z245.string()).optional(),
7209
+ stripeProductAdditionalFeatures: z245.array(z245.string()).optional(),
7210
+ stripeSubscriptionMainItemId: z245.string().optional(),
7211
+ planPriceId: z245.string(),
7196
7212
  planInterval: BillingIntervalSchema,
7197
- isPricePerCreator: z244.boolean().optional(),
7198
- legacyVersion: z244.string().optional(),
7199
- seats: z244.number(),
7200
- seatLimit: z244.number(),
7201
- currentPeriodStart: z244.string().optional(),
7202
- currentPeriodEnd: z244.string().optional(),
7203
- subscriptionStatusUpdatedAt: z244.string().optional(),
7204
- cancelAt: z244.string().nullish(),
7213
+ isPricePerCreator: z245.boolean().optional(),
7214
+ legacyVersion: z245.string().optional(),
7215
+ seats: z245.number(),
7216
+ seatLimit: z245.number(),
7217
+ currentPeriodStart: z245.string().optional(),
7218
+ currentPeriodEnd: z245.string().optional(),
7219
+ subscriptionStatusUpdatedAt: z245.string().optional(),
7220
+ cancelAt: z245.string().nullish(),
7205
7221
  card: CardSchema.optional(),
7206
7222
  // New
7207
- amount: z244.number(),
7208
- isTrial: z244.boolean(),
7223
+ amount: z245.number(),
7224
+ isTrial: z245.boolean(),
7209
7225
  billingType: BillingTypeSchema.optional(),
7210
- daysUntilDue: z244.number().optional(),
7211
- creditBalance: z244.object({
7212
- oneTime: z244.object({
7213
- total: z244.number(),
7214
- used: z244.number(),
7215
- balance: z244.number()
7226
+ daysUntilDue: z245.number().optional(),
7227
+ creditBalance: z245.object({
7228
+ oneTime: z245.object({
7229
+ total: z245.number(),
7230
+ used: z245.number(),
7231
+ balance: z245.number()
7216
7232
  }),
7217
- recurring: z244.object({
7218
- total: z244.number(),
7219
- used: z244.number(),
7220
- balance: z244.number(),
7221
- resetAt: z244.string().optional()
7233
+ recurring: z245.object({
7234
+ total: z245.number(),
7235
+ used: z245.number(),
7236
+ balance: z245.number(),
7237
+ resetAt: z245.string().optional()
7222
7238
  })
7223
7239
  }).optional()
7224
7240
  });
7225
- var DTOSubscriptionResponse = z244.object({
7241
+ var DTOSubscriptionResponse = z245.object({
7226
7242
  subscription: DTOSubscription
7227
7243
  });
7228
7244
 
7245
+ // src/api/dto/workspaces/transfer-ownership.ts
7246
+ import { z as z246 } from "zod";
7247
+ var DTOTransferOwnershipPayload = z246.object({
7248
+ newOwnerId: z246.string()
7249
+ });
7250
+
7229
7251
  // src/api/dto/workspaces/untyped-data.ts
7230
- import { z as z245 } from "zod";
7252
+ import { z as z247 } from "zod";
7231
7253
  var DTOWorkspaceUntypedData = WorkspaceUntypedData;
7232
- var DTOWorkspaceUntypedDataListResponse = z245.object({
7254
+ var DTOWorkspaceUntypedDataListResponse = z247.object({
7233
7255
  data: DTOWorkspaceUntypedData.array()
7234
7256
  });
7235
- var DTOWorkspaceUntypedDataResponse = z245.object({
7257
+ var DTOWorkspaceUntypedDataResponse = z247.object({
7236
7258
  data: DTOWorkspaceUntypedData
7237
7259
  });
7238
- var DTOWorkspaceUntypedDataCreatePayload = z245.object({
7239
- value: z245.unknown()
7260
+ var DTOWorkspaceUntypedDataCreatePayload = z247.object({
7261
+ value: z247.unknown()
7240
7262
  });
7241
- var DTOWorkspaceUntypedDataUpdatePayload = z245.object({
7242
- value: z245.unknown()
7263
+ var DTOWorkspaceUntypedDataUpdatePayload = z247.object({
7264
+ value: z247.unknown()
7243
7265
  });
7244
7266
 
7245
7267
  // src/api/dto/design-systems/user-design-systems.ts
7246
- var DTOUserDesignSystemsResponse = z246.object({
7268
+ var DTOUserDesignSystemsResponse = z248.object({
7247
7269
  designSystems: DTODesignSystem.array(),
7248
7270
  workspaces: DTOWorkspace.array()
7249
7271
  });
7250
7272
 
7251
7273
  // src/api/dto/design-systems/version-room.ts
7252
- import { z as z247 } from "zod";
7253
- var DTODesignSystemVersionRoom = z247.object({
7254
- id: z247.string()
7274
+ import { z as z249 } from "zod";
7275
+ var DTODesignSystemVersionRoom = z249.object({
7276
+ id: z249.string()
7255
7277
  });
7256
- var DTODesignSystemVersionRoomResponse = z247.object({
7278
+ var DTODesignSystemVersionRoomResponse = z249.object({
7257
7279
  room: DTODesignSystemVersionRoom
7258
7280
  });
7259
7281
 
7260
7282
  // src/api/dto/design-systems/version.ts
7261
- import { z as z260 } from "zod";
7283
+ import { z as z261 } from "zod";
7262
7284
 
7263
7285
  // src/api/payloads/design-systems/update-design-system.ts
7264
- import { z as z248 } from "zod";
7286
+ import { z as z250 } from "zod";
7265
7287
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
7266
7288
  id: true,
7267
7289
  workspaceId: true,
@@ -7273,56 +7295,56 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
7273
7295
  }).extend({
7274
7296
  meta: ObjectMeta.partial().optional()
7275
7297
  });
7276
- var DTODesignSystemUpdateAccessModeInput = z248.object({
7298
+ var DTODesignSystemUpdateAccessModeInput = z250.object({
7277
7299
  accessMode: DesignSystemAccessMode,
7278
- retain: z248.object({
7279
- userIds: z248.string().array(),
7280
- inviteIds: z248.string().array()
7300
+ retain: z250.object({
7301
+ userIds: z250.string().array(),
7302
+ inviteIds: z250.string().array()
7281
7303
  }).optional()
7282
7304
  });
7283
7305
 
7284
7306
  // src/api/payloads/design-systems/version.ts
7285
- import { z as z249 } from "zod";
7286
- var ObjectMeta2 = z249.object({
7287
- name: z249.string().max(150).optional(),
7288
- description: z249.string().max(2e3).optional()
7307
+ import { z as z251 } from "zod";
7308
+ var ObjectMeta2 = z251.object({
7309
+ name: z251.string().max(150).optional(),
7310
+ description: z251.string().max(2e3).optional()
7289
7311
  });
7290
7312
  function validateDesignSystemVersion(version) {
7291
7313
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
7292
7314
  return urlCompliantRegex.test(version);
7293
7315
  }
7294
- var DTOCreateVersionInput = z249.object({
7316
+ var DTOCreateVersionInput = z251.object({
7295
7317
  meta: ObjectMeta2,
7296
- version: z249.string().refine(validateDesignSystemVersion, {
7318
+ version: z251.string().refine(validateDesignSystemVersion, {
7297
7319
  message: "Invalid semantic versioning format"
7298
7320
  }),
7299
- changeLog: z249.string().optional()
7321
+ changeLog: z251.string().optional()
7300
7322
  });
7301
- var DTOUpdateVersionInput = z249.object({
7323
+ var DTOUpdateVersionInput = z251.object({
7302
7324
  meta: ObjectMeta2,
7303
- version: z249.string(),
7325
+ version: z251.string(),
7304
7326
  // required for PUT, but not editable
7305
- changeLog: z249.string()
7327
+ changeLog: z251.string()
7306
7328
  });
7307
7329
 
7308
7330
  // src/api/payloads/documentation/analytics.ts
7309
- import { z as z250 } from "zod";
7310
- var DTODocumentationAnalyticsTimeFrameComparison = z250.object({
7311
- referencePeriod: z250.object({
7312
- start: z250.coerce.date(),
7313
- end: z250.coerce.date().optional()
7331
+ import { z as z252 } from "zod";
7332
+ var DTODocumentationAnalyticsTimeFrameComparison = z252.object({
7333
+ referencePeriod: z252.object({
7334
+ start: z252.coerce.date(),
7335
+ end: z252.coerce.date().optional()
7314
7336
  }),
7315
- baselinePeriod: z250.object({
7316
- start: z250.coerce.date(),
7317
- end: z250.coerce.date().optional()
7337
+ baselinePeriod: z252.object({
7338
+ start: z252.coerce.date(),
7339
+ end: z252.coerce.date().optional()
7318
7340
  })
7319
7341
  });
7320
- var DTODocumentationAnalyticsDiffPayload = z250.object({
7321
- timeFrames: z250.array(DTODocumentationAnalyticsTimeFrameComparison)
7342
+ var DTODocumentationAnalyticsDiffPayload = z252.object({
7343
+ timeFrames: z252.array(DTODocumentationAnalyticsTimeFrameComparison)
7322
7344
  });
7323
7345
 
7324
7346
  // src/api/payloads/documentation/block-definitions.ts
7325
- import { z as z251 } from "zod";
7347
+ import { z as z253 } from "zod";
7326
7348
 
7327
7349
  // src/api/dto/documentation/block-definition.ts
7328
7350
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -7334,79 +7356,79 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
7334
7356
  var DTOPageBlockDefinition = PageBlockDefinition;
7335
7357
 
7336
7358
  // src/api/payloads/documentation/block-definitions.ts
7337
- var DTOGetBlockDefinitionsQuery = z251.object({
7338
- files: z251.coerce.boolean().optional()
7359
+ var DTOGetBlockDefinitionsQuery = z253.object({
7360
+ files: z253.coerce.boolean().optional()
7339
7361
  });
7340
- var DTOGetBlockDefinitionsOutput = z251.object({
7341
- definitions: z251.array(DTOPageBlockDefinition)
7362
+ var DTOGetBlockDefinitionsOutput = z253.object({
7363
+ definitions: z253.array(DTOPageBlockDefinition)
7342
7364
  });
7343
7365
 
7344
7366
  // src/api/payloads/documentation/design-data-doc-diff.ts
7345
- import { z as z252 } from "zod";
7346
- var DTODocumentationPublishTypeQueryParams = z252.object({
7347
- environment: z252.enum(["Live", "Preview"])
7367
+ import { z as z254 } from "zod";
7368
+ var DTODocumentationPublishTypeQueryParams = z254.object({
7369
+ environment: z254.enum(["Live", "Preview"])
7348
7370
  });
7349
7371
 
7350
7372
  // src/api/payloads/export/pipeline.ts
7351
- import { z as z254 } from "zod";
7373
+ import { z as z256 } from "zod";
7352
7374
 
7353
7375
  // src/api/dto/export/exporter-property.ts
7354
- import { z as z253 } from "zod";
7355
- var PrimitiveValue2 = z253.number().or(z253.boolean()).or(z253.string());
7356
- var ArrayValue2 = z253.array(z253.string());
7357
- var ObjectValue2 = z253.record(z253.string());
7376
+ import { z as z255 } from "zod";
7377
+ var PrimitiveValue2 = z255.number().or(z255.boolean()).or(z255.string());
7378
+ var ArrayValue2 = z255.array(z255.string());
7379
+ var ObjectValue2 = z255.record(z255.string());
7358
7380
  var DTOExporterPropertyValue = PrimitiveValue2.or(ArrayValue2).or(ObjectValue2);
7359
- var DTOExporterPropertyType = z253.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
7360
- var PropertyDefinitionBase2 = z253.object({
7361
- key: z253.string(),
7362
- title: z253.string(),
7363
- description: z253.string(),
7364
- category: z253.string().optional(),
7365
- dependsOn: z253.record(z253.boolean()).optional()
7366
- });
7367
- var DTOExporterPropertyDefinitionEnumOption = z253.object({
7368
- label: z253.string(),
7369
- description: z253.string()
7381
+ var DTOExporterPropertyType = z255.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
7382
+ var PropertyDefinitionBase2 = z255.object({
7383
+ key: z255.string(),
7384
+ title: z255.string(),
7385
+ description: z255.string(),
7386
+ category: z255.string().optional(),
7387
+ dependsOn: z255.record(z255.boolean()).optional()
7388
+ });
7389
+ var DTOExporterPropertyDefinitionEnumOption = z255.object({
7390
+ label: z255.string(),
7391
+ description: z255.string()
7370
7392
  });
7371
7393
  var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase2.extend({
7372
- type: z253.literal(DTOExporterPropertyType.Enum.Enum),
7373
- options: z253.record(DTOExporterPropertyDefinitionEnumOption),
7374
- default: z253.string()
7394
+ type: z255.literal(DTOExporterPropertyType.Enum.Enum),
7395
+ options: z255.record(DTOExporterPropertyDefinitionEnumOption),
7396
+ default: z255.string()
7375
7397
  });
7376
7398
  var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase2.extend({
7377
- type: z253.literal(DTOExporterPropertyType.Enum.Boolean),
7378
- default: z253.boolean()
7399
+ type: z255.literal(DTOExporterPropertyType.Enum.Boolean),
7400
+ default: z255.boolean()
7379
7401
  });
7380
7402
  var DTOExporterPropertyDefinitionString = PropertyDefinitionBase2.extend({
7381
- type: z253.literal(DTOExporterPropertyType.Enum.String),
7382
- default: z253.string(),
7383
- isMultiline: z253.boolean().optional()
7403
+ type: z255.literal(DTOExporterPropertyType.Enum.String),
7404
+ default: z255.string(),
7405
+ isMultiline: z255.boolean().optional()
7384
7406
  });
7385
7407
  var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase2.extend({
7386
- type: z253.literal(DTOExporterPropertyType.Enum.Number),
7387
- default: z253.number()
7408
+ type: z255.literal(DTOExporterPropertyType.Enum.Number),
7409
+ default: z255.number()
7388
7410
  });
7389
7411
  var DTOExporterPropertyDefinitionArray = PropertyDefinitionBase2.extend({
7390
- type: z253.literal(DTOExporterPropertyType.Enum.Array),
7412
+ type: z255.literal(DTOExporterPropertyType.Enum.Array),
7391
7413
  default: ArrayValue2
7392
7414
  });
7393
7415
  var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase2.extend({
7394
- type: z253.literal(DTOExporterPropertyType.Enum.Object),
7416
+ type: z255.literal(DTOExporterPropertyType.Enum.Object),
7395
7417
  default: ObjectValue2,
7396
- allowedKeys: z253.object({
7397
- options: z253.string().array(),
7398
- type: z253.string()
7418
+ allowedKeys: z255.object({
7419
+ options: z255.string().array(),
7420
+ type: z255.string()
7399
7421
  }).optional(),
7400
- allowedValues: z253.object({
7401
- type: z253.string()
7422
+ allowedValues: z255.object({
7423
+ type: z255.string()
7402
7424
  }).optional()
7403
7425
  });
7404
7426
  var DTOExporterPropertyDefinitionCode = PropertyDefinitionBase2.extend({
7405
- type: z253.literal(DTOExporterPropertyType.Enum.Code),
7406
- language: z253.string(),
7407
- default: z253.string()
7427
+ type: z255.literal(DTOExporterPropertyType.Enum.Code),
7428
+ language: z255.string(),
7429
+ default: z255.string()
7408
7430
  });
7409
- var DTOExporterPropertyDefinition = z253.discriminatedUnion("type", [
7431
+ var DTOExporterPropertyDefinition = z255.discriminatedUnion("type", [
7410
7432
  DTOExporterPropertyDefinitionEnum,
7411
7433
  DTOExporterPropertyDefinitionBoolean,
7412
7434
  DTOExporterPropertyDefinitionString,
@@ -7415,98 +7437,92 @@ var DTOExporterPropertyDefinition = z253.discriminatedUnion("type", [
7415
7437
  DTOExporterPropertyDefinitionObject,
7416
7438
  DTOExporterPropertyDefinitionCode
7417
7439
  ]);
7418
- var DTOExporterPropertyDefinitionsResponse = z253.object({
7440
+ var DTOExporterPropertyDefinitionsResponse = z255.object({
7419
7441
  properties: DTOExporterPropertyDefinition.array()
7420
7442
  });
7421
- var DTOExporterPropertyValueMap = z253.record(DTOExporterPropertyValue);
7443
+ var DTOExporterPropertyValueMap = z255.record(DTOExporterPropertyValue);
7422
7444
 
7423
7445
  // src/api/payloads/export/pipeline.ts
7424
- var GitDestinationOptions = z254.object({
7425
- branch: z254.string().min(1).nullish(),
7426
- commitMessage: z254.string().min(1).nullish(),
7427
- commitAuthorName: z254.string().min(1).nullish(),
7428
- commitAuthorEmail: z254.string().email().nullish(),
7429
- pullRequestTitle: z254.string().min(1).nullish(),
7430
- pullRequestDescription: z254.string().min(1).nullish(),
7431
- relativePath: z254.string().nullish(),
7432
- purgeDirectory: z254.boolean().nullish()
7433
- });
7434
- var DTOPipelineCreateBody = z254.object({
7435
- name: z254.string(),
7436
- exporterId: z254.string(),
7437
- designSystemId: z254.string(),
7438
- isEnabled: z254.boolean(),
7446
+ var GitDestinationOptions = z256.object({
7447
+ branch: z256.string().min(1).nullish(),
7448
+ commitMessage: z256.string().min(1).nullish(),
7449
+ commitAuthorName: z256.string().min(1).nullish(),
7450
+ commitAuthorEmail: z256.string().email().nullish(),
7451
+ pullRequestTitle: z256.string().min(1).nullish(),
7452
+ pullRequestDescription: z256.string().min(1).nullish(),
7453
+ relativePath: z256.string().nullish(),
7454
+ purgeDirectory: z256.boolean().nullish()
7455
+ });
7456
+ var DTOPipelineCreateBody = z256.object({
7457
+ name: z256.string(),
7458
+ exporterId: z256.string(),
7459
+ designSystemId: z256.string(),
7460
+ isEnabled: z256.boolean(),
7439
7461
  eventType: PipelineEventType,
7440
- brandPersistentId: z254.string().optional(),
7441
- themePersistentId: z254.string().optional(),
7442
- themePersistentIds: z254.string().array().optional(),
7462
+ brandPersistentId: z256.string().optional(),
7463
+ themePersistentId: z256.string().optional(),
7464
+ themePersistentIds: z256.string().array().optional(),
7443
7465
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7444
7466
  destination: PipelineDestinationType.optional(),
7445
7467
  gitQuery: GitObjectsQuery,
7446
- destinations: z254.object({
7468
+ destinations: z256.object({
7447
7469
  s3: ExporterDestinationS3.nullish(),
7448
7470
  azure: ExporterDestinationAzure.nullish(),
7449
7471
  bitbucket: ExporterDestinationBitbucket.nullish(),
7450
7472
  github: ExporterDestinationGithub.nullish(),
7451
7473
  gitlab: ExporterDestinationGitlab.nullish(),
7452
7474
  documentation: ExporterDestinationDocs.nullish(),
7453
- webhookUrl: z254.string().nullish()
7475
+ webhookUrl: z256.string().nullish()
7454
7476
  })
7455
7477
  });
7456
- var DTOPipelineUpdateBody = z254.object({
7457
- exporterId: z254.string().optional(),
7458
- name: z254.string().optional(),
7459
- isEnabled: z254.boolean().optional(),
7478
+ var DTOPipelineUpdateBody = z256.object({
7479
+ exporterId: z256.string().optional(),
7480
+ name: z256.string().optional(),
7481
+ isEnabled: z256.boolean().optional(),
7460
7482
  eventType: PipelineEventType.optional(),
7461
- brandPersistentId: z254.string().optional(),
7462
- themePersistentId: z254.string().optional(),
7463
- themePersistentIds: z254.string().array().optional(),
7483
+ brandPersistentId: z256.string().optional(),
7484
+ themePersistentId: z256.string().optional(),
7485
+ themePersistentIds: z256.string().array().optional(),
7464
7486
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7465
7487
  destination: PipelineDestinationType.optional(),
7466
7488
  gitQuery: GitObjectsQuery.optional(),
7467
- destinations: z254.object({
7489
+ destinations: z256.object({
7468
7490
  s3: ExporterDestinationS3.nullish(),
7469
7491
  azure: ExporterDestinationAzure.nullish(),
7470
7492
  bitbucket: ExporterDestinationBitbucket.nullish(),
7471
7493
  github: ExporterDestinationGithub.nullish(),
7472
7494
  gitlab: ExporterDestinationGitlab.nullish(),
7473
7495
  documentation: ExporterDestinationDocs.nullish(),
7474
- webhookUrl: z254.string().nullish()
7496
+ webhookUrl: z256.string().nullish()
7475
7497
  }).optional(),
7476
7498
  gitDestinationOptions: GitDestinationOptions.partial().optional()
7477
7499
  });
7478
- var DTOPipelineTriggerBody = z254.object({
7479
- designSystemVersionId: z254.string()
7500
+ var DTOPipelineTriggerBody = z256.object({
7501
+ designSystemVersionId: z256.string()
7480
7502
  });
7481
7503
 
7482
7504
  // src/api/payloads/liveblocks/auth.ts
7483
- import { z as z255 } from "zod";
7484
- var DTOLiveblocksAuthRequest = z255.object({
7485
- room: z255.string().optional()
7505
+ import { z as z257 } from "zod";
7506
+ var DTOLiveblocksAuthRequest = z257.object({
7507
+ room: z257.string().optional()
7486
7508
  });
7487
7509
 
7488
7510
  // src/api/payloads/users/notifications/notification-settings.ts
7489
- import { z as z256 } from "zod";
7490
- var DTOUpdateUserNotificationSettingsPayload = z256.object({
7511
+ import { z as z258 } from "zod";
7512
+ var DTOUpdateUserNotificationSettingsPayload = z258.object({
7491
7513
  notificationSettings: UserNotificationSettings
7492
7514
  });
7493
- var DTOUserNotificationSettingsResponse = z256.object({
7494
- userId: z256.string(),
7495
- workspaceId: z256.string(),
7515
+ var DTOUserNotificationSettingsResponse = z258.object({
7516
+ userId: z258.string(),
7517
+ workspaceId: z258.string(),
7496
7518
  notificationSettings: UserNotificationSettings
7497
7519
  });
7498
7520
 
7499
7521
  // src/api/payloads/users/profile/update.ts
7500
7522
  var DTOUserProfileUpdatePayload = UserProfileUpdate;
7501
7523
 
7502
- // src/api/payloads/workspaces/transfer-ownership.ts
7503
- import { z as z257 } from "zod";
7504
- var DTOTransferOwnershipPayload = z257.object({
7505
- newOwnerId: z257.string()
7506
- });
7507
-
7508
7524
  // src/api/payloads/workspaces/workspace-configuration.ts
7509
- import { z as z258 } from "zod";
7525
+ import { z as z259 } from "zod";
7510
7526
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
7511
7527
  function validateSsoPayload(ssoPayload) {
7512
7528
  const keys = [];
@@ -7529,21 +7545,21 @@ function validateSsoPayload(ssoPayload) {
7529
7545
  keys
7530
7546
  };
7531
7547
  }
7532
- var NpmRegistryInput = z258.object({
7533
- enabledScopes: z258.array(z258.string()),
7534
- customRegistryUrl: z258.string().optional(),
7535
- bypassProxy: z258.boolean().optional(),
7536
- npmProxyRegistryConfigId: z258.string().optional(),
7537
- npmProxyVersion: z258.number().optional(),
7538
- registryType: z258.string(),
7539
- authType: z258.string(),
7540
- authHeaderName: z258.string(),
7541
- authHeaderValue: z258.string(),
7542
- accessToken: z258.string(),
7543
- username: z258.string(),
7544
- password: z258.string()
7545
- });
7546
- var WorkspaceConfigurationPayload = z258.object({
7548
+ var NpmRegistryInput = z259.object({
7549
+ enabledScopes: z259.array(z259.string()),
7550
+ customRegistryUrl: z259.string().optional(),
7551
+ bypassProxy: z259.boolean().optional(),
7552
+ npmProxyRegistryConfigId: z259.string().optional(),
7553
+ npmProxyVersion: z259.number().optional(),
7554
+ registryType: z259.string(),
7555
+ authType: z259.string(),
7556
+ authHeaderName: z259.string(),
7557
+ authHeaderValue: z259.string(),
7558
+ accessToken: z259.string(),
7559
+ username: z259.string(),
7560
+ password: z259.string()
7561
+ });
7562
+ var WorkspaceConfigurationPayload = z259.object({
7547
7563
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
7548
7564
  sso: SsoProvider.partial().optional(),
7549
7565
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
@@ -7551,107 +7567,107 @@ var WorkspaceConfigurationPayload = z258.object({
7551
7567
  });
7552
7568
 
7553
7569
  // src/api/payloads/workspaces/workspace-integrations.ts
7554
- import { z as z259 } from "zod";
7555
- var DTOWorkspaceIntegrationOauthInput = z259.object({
7570
+ import { z as z260 } from "zod";
7571
+ var DTOWorkspaceIntegrationOauthInput = z260.object({
7556
7572
  type: IntegrationType
7557
7573
  });
7558
- var DTOWorkspaceIntegrationPATInput = z259.object({
7574
+ var DTOWorkspaceIntegrationPATInput = z260.object({
7559
7575
  type: IntegrationType,
7560
7576
  token: IntegrationToken
7561
7577
  });
7562
- var DTOWorkspaceIntegrationGetGitObjectsInput = z259.object({
7563
- organization: z259.string().optional(),
7578
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z260.object({
7579
+ organization: z260.string().optional(),
7564
7580
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
7565
- project: z259.string().optional(),
7581
+ project: z260.string().optional(),
7566
7582
  // Only for Bitbucket and Azure
7567
- repository: z259.string().optional(),
7583
+ repository: z260.string().optional(),
7568
7584
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
7569
- branch: z259.string().optional(),
7585
+ branch: z260.string().optional(),
7570
7586
  // For all providers, useful for PR creations.
7571
- user: z259.string().optional()
7587
+ user: z260.string().optional()
7572
7588
  // Only for Gitlab User Repositories
7573
7589
  });
7574
7590
 
7575
7591
  // src/api/dto/design-systems/version.ts
7576
- var DTODesignSystemVersion = z260.object({
7577
- id: z260.string(),
7578
- createdAt: z260.coerce.date(),
7592
+ var DTODesignSystemVersion = z261.object({
7593
+ id: z261.string(),
7594
+ createdAt: z261.coerce.date(),
7579
7595
  meta: ObjectMeta,
7580
- version: z260.string(),
7581
- isReadonly: z260.boolean(),
7582
- changeLog: z260.string(),
7583
- designSystemId: z260.string()
7596
+ version: z261.string(),
7597
+ isReadonly: z261.boolean(),
7598
+ changeLog: z261.string(),
7599
+ designSystemId: z261.string()
7584
7600
  });
7585
- var DTODesignSystemVersionsListResponse = z260.object({
7586
- designSystemVersions: z260.array(DTODesignSystemVersion)
7601
+ var DTODesignSystemVersionsListResponse = z261.object({
7602
+ designSystemVersions: z261.array(DTODesignSystemVersion)
7587
7603
  });
7588
- var DTODesignSystemVersionGetResponse = z260.object({
7604
+ var DTODesignSystemVersionGetResponse = z261.object({
7589
7605
  designSystemVersion: DTODesignSystemVersion
7590
7606
  });
7591
- var DTODesignSystemVersionCreationResponse = z260.object({
7607
+ var DTODesignSystemVersionCreationResponse = z261.object({
7592
7608
  meta: ObjectMeta,
7593
- version: z260.string(),
7594
- changeLog: z260.string(),
7595
- isReadOnly: z260.boolean(),
7596
- designSystemId: z260.string(),
7597
- jobId: z260.string()
7598
- });
7599
- var VersionSQSPayload = z260.object({
7600
- jobId: z260.string(),
7601
- designSystemId: z260.string(),
7609
+ version: z261.string(),
7610
+ changeLog: z261.string(),
7611
+ isReadOnly: z261.boolean(),
7612
+ designSystemId: z261.string(),
7613
+ jobId: z261.string()
7614
+ });
7615
+ var VersionSQSPayload = z261.object({
7616
+ jobId: z261.string(),
7617
+ designSystemId: z261.string(),
7602
7618
  input: DTOCreateVersionInput
7603
7619
  });
7604
- var DTODesignSystemVersionJobsResponse = z260.object({
7605
- jobs: z260.array(VersionCreationJob)
7620
+ var DTODesignSystemVersionJobsResponse = z261.object({
7621
+ jobs: z261.array(VersionCreationJob)
7606
7622
  });
7607
- var DTODesignSystemVersionJobStatusResponse = z260.object({
7623
+ var DTODesignSystemVersionJobStatusResponse = z261.object({
7608
7624
  job: VersionCreationJob
7609
7625
  });
7610
7626
 
7611
7627
  // src/api/dto/design-systems/view.ts
7612
- import { z as z261 } from "zod";
7613
- var DTOElementViewColumnSharedAttributes = z261.object({
7614
- id: z261.string(),
7615
- persistentId: z261.string(),
7616
- width: z261.number()
7628
+ import { z as z262 } from "zod";
7629
+ var DTOElementViewColumnSharedAttributes = z262.object({
7630
+ id: z262.string(),
7631
+ persistentId: z262.string(),
7632
+ width: z262.number()
7617
7633
  });
7618
7634
  var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
7619
- type: z261.literal("BaseProperty"),
7635
+ type: z262.literal("BaseProperty"),
7620
7636
  basePropertyType: ElementViewBaseColumnType
7621
7637
  });
7622
7638
  var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
7623
- type: z261.literal("PropertyDefinition"),
7624
- propertyDefinitionId: z261.string()
7639
+ type: z262.literal("PropertyDefinition"),
7640
+ propertyDefinitionId: z262.string()
7625
7641
  });
7626
7642
  var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
7627
- type: z261.literal("Theme"),
7628
- themeId: z261.string()
7643
+ type: z262.literal("Theme"),
7644
+ themeId: z262.string()
7629
7645
  });
7630
- var DTOElementViewColumn = z261.discriminatedUnion("type", [
7646
+ var DTOElementViewColumn = z262.discriminatedUnion("type", [
7631
7647
  DTOElementViewBasePropertyColumn,
7632
7648
  DTOElementViewPropertyDefinitionColumn,
7633
7649
  DTOElementViewThemeColumn
7634
7650
  ]);
7635
- var DTOElementView = z261.object({
7651
+ var DTOElementView = z262.object({
7636
7652
  meta: ObjectMeta,
7637
- persistentId: z261.string(),
7653
+ persistentId: z262.string(),
7638
7654
  targetElementType: ElementPropertyTargetType,
7639
- id: z261.string(),
7640
- isDefault: z261.boolean(),
7641
- columns: z261.array(DTOElementViewColumn)
7655
+ id: z262.string(),
7656
+ isDefault: z262.boolean(),
7657
+ columns: z262.array(DTOElementViewColumn)
7642
7658
  });
7643
- var DTOElementViewsListResponse = z261.object({
7644
- elementDataViews: z261.array(DTOElementView)
7659
+ var DTOElementViewsListResponse = z262.object({
7660
+ elementDataViews: z262.array(DTOElementView)
7645
7661
  });
7646
7662
 
7647
7663
  // src/api/dto/bff/app-bootstrap-data.ts
7648
- var DTOAppBootstrapDataQuery = z262.object({
7649
- preferredWorkspaceId: z262.string().optional(),
7650
- preferredDesignSystemId: z262.string().optional(),
7651
- preferredVersionId: z262.string().optional(),
7652
- preferredBrandId: z262.string().optional()
7664
+ var DTOAppBootstrapDataQuery = z263.object({
7665
+ preferredWorkspaceId: z263.string().optional(),
7666
+ preferredDesignSystemId: z263.string().optional(),
7667
+ preferredVersionId: z263.string().optional(),
7668
+ preferredBrandId: z263.string().optional()
7653
7669
  });
7654
- var DTOAppBootstrapDataResponse = z262.object({
7670
+ var DTOAppBootstrapDataResponse = z263.object({
7655
7671
  workspaceMembership: DTOUserWorkspaceMembership.optional(),
7656
7672
  designSystem: DTODesignSystem.optional(),
7657
7673
  version: DTODesignSystemVersion.optional(),
@@ -7659,92 +7675,92 @@ var DTOAppBootstrapDataResponse = z262.object({
7659
7675
  });
7660
7676
 
7661
7677
  // src/api/dto/collections/token-collection.ts
7662
- import { z as z263 } from "zod";
7663
- var DTOTokenCollection = z263.object({
7664
- id: z263.string(),
7665
- persistentId: z263.string(),
7666
- designSystemVersionId: z263.string(),
7678
+ import { z as z264 } from "zod";
7679
+ var DTOTokenCollection = z264.object({
7680
+ id: z264.string(),
7681
+ persistentId: z264.string(),
7682
+ designSystemVersionId: z264.string(),
7667
7683
  meta: ObjectMeta,
7668
7684
  backgroundColor: ColorTokenInlineData.optional(),
7669
- elementPropertyOptionId: z263.string(),
7670
- createdAt: z263.coerce.date(),
7671
- updatedAt: z263.coerce.date(),
7685
+ elementPropertyOptionId: z264.string(),
7686
+ createdAt: z264.coerce.date(),
7687
+ updatedAt: z264.coerce.date(),
7672
7688
  origin: CollectionOrigin.optional()
7673
7689
  });
7674
- var DTOTokenCollectionsListReponse = z263.object({
7690
+ var DTOTokenCollectionsListReponse = z264.object({
7675
7691
  collections: DTOTokenCollection.array()
7676
7692
  });
7677
7693
 
7678
7694
  // src/api/dto/design-tokens/design-token.ts
7679
- import { z as z264 } from "zod";
7695
+ import { z as z265 } from "zod";
7680
7696
  var DTODesignToken = DesignTokenTypedData.and(
7681
- z264.object({
7682
- id: z264.string(),
7683
- persistentId: z264.string(),
7684
- designSystemVersionId: z264.string(),
7697
+ z265.object({
7698
+ id: z265.string(),
7699
+ persistentId: z265.string(),
7700
+ designSystemVersionId: z265.string(),
7685
7701
  meta: ObjectMeta,
7686
7702
  originStyle: DesignTokenOrigin.optional(),
7687
- brandId: z264.string(),
7688
- collectionId: z264.string().optional(),
7689
- updatedAt: z264.coerce.date()
7703
+ brandId: z265.string(),
7704
+ collectionId: z265.string().optional(),
7705
+ updatedAt: z265.coerce.date()
7690
7706
  })
7691
7707
  );
7692
- var DTODesignTokenListResponse = z264.object({
7708
+ var DTODesignTokenListResponse = z265.object({
7693
7709
  tokens: DTODesignToken.array()
7694
7710
  });
7695
- var DTODesignTokenResponse = z264.object({
7711
+ var DTODesignTokenResponse = z265.object({
7696
7712
  token: DTODesignToken
7697
7713
  });
7698
- var DTODesignTokenGroup = z264.object({
7699
- id: z264.string(),
7714
+ var DTODesignTokenGroup = z265.object({
7715
+ id: z265.string(),
7700
7716
  tokenType: DesignTokenType,
7701
- persistentId: z264.string(),
7702
- isRoot: z264.boolean(),
7703
- brandId: z264.string(),
7717
+ persistentId: z265.string(),
7718
+ isRoot: z265.boolean(),
7719
+ brandId: z265.string(),
7704
7720
  meta: ObjectMeta,
7705
- childrenIds: z264.string().array()
7721
+ childrenIds: z265.string().array()
7706
7722
  });
7707
- var DTODesignTokenGroupListResponse = z264.object({
7723
+ var DTODesignTokenGroupListResponse = z265.object({
7708
7724
  groups: DTODesignTokenGroup.array()
7709
7725
  });
7710
- var DTODesignTokenGroupResponse = z264.object({
7726
+ var DTODesignTokenGroupResponse = z265.object({
7711
7727
  group: DTODesignTokenGroup
7712
7728
  });
7713
7729
  var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
7714
- z264.object({
7715
- persistentId: z264.string(),
7730
+ z265.object({
7731
+ persistentId: z265.string(),
7716
7732
  meta: ObjectMeta,
7717
- brandId: z264.string(),
7718
- groupPersistentId: z264.string().optional()
7733
+ brandId: z265.string(),
7734
+ groupPersistentId: z265.string().optional()
7719
7735
  })
7720
7736
  );
7721
- var DTODesignTokenGroupCreatePayload = z264.object({
7722
- persistentId: z264.string(),
7737
+ var DTODesignTokenGroupCreatePayload = z265.object({
7738
+ persistentId: z265.string(),
7723
7739
  meta: ObjectMeta,
7724
- brandId: z264.string(),
7725
- parentId: z264.string().optional(),
7740
+ brandId: z265.string(),
7741
+ parentId: z265.string().optional(),
7726
7742
  tokenType: DesignTokenType,
7727
- childrenIds: z264.string().array()
7743
+ childrenIds: z265.string().array()
7728
7744
  });
7729
7745
 
7730
7746
  // src/api/dto/documentation/analytics-v2.ts
7731
- import { z as z265 } from "zod";
7732
- var DTODocumentationAnalyticsTimeFrame = z265.object({
7733
- start: z265.coerce.date(),
7734
- end: z265.coerce.date().optional()
7747
+ import { z as z266 } from "zod";
7748
+ var DTODocumentationAnalyticsTimeFrame = z266.object({
7749
+ start: z266.coerce.date(),
7750
+ end: z266.coerce.date().optional()
7735
7751
  });
7736
- var DTOPublishedDocVisitData = z265.object({
7737
- timestamp: z265.coerce.date(),
7738
- versionId: z265.string(),
7739
- locale: z265.string().optional(),
7740
- visits: z265.number(),
7741
- sessions: z265.number()
7752
+ var DTOPublishedDocVisitData = z266.object({
7753
+ timestamp: z266.coerce.date(),
7754
+ versionId: z266.string(),
7755
+ locale: z266.string().optional(),
7756
+ visits: z266.number(),
7757
+ sessions: z266.number()
7742
7758
  });
7743
7759
  var DTOPublishedDocPageVisitData = DTOPublishedDocVisitData.extend({
7744
- pagePersistentId: z265.string()
7760
+ pagePersistentId: z266.string()
7745
7761
  });
7746
- var DTOPublishedDocVisitHeatMapDay = z265.number().array().length(12);
7747
- var DTOPublishedDocVisitHeatMapWeek = z265.object({
7762
+ var DTOPublishedDocVisitHeatMapDay = z266.number().array().length(12);
7763
+ var DTOPublishedDocVisitHeatMapWeek = z266.object({
7748
7764
  /**
7749
7765
  * For which timeframe it was calculated
7750
7766
  */
@@ -7757,65 +7773,65 @@ var DTOPublishedDocVisitHeatMapWeek = z265.object({
7757
7773
  sat: DTOPublishedDocVisitHeatMapDay,
7758
7774
  sun: DTOPublishedDocVisitHeatMapDay
7759
7775
  });
7760
- var DTOPublishedDocAnalyticsComparisonData = z265.object({
7776
+ var DTOPublishedDocAnalyticsComparisonData = z266.object({
7761
7777
  /**
7762
7778
  * For which timeframe it was calculated
7763
7779
  */
7764
7780
  timeFrame: DTODocumentationAnalyticsTimeFrame,
7765
- priorVisitCount: z265.number(),
7766
- priorSessionCount: z265.number(),
7767
- currentVisitCount: z265.number(),
7768
- currentSessionCount: z265.number()
7781
+ priorVisitCount: z266.number(),
7782
+ priorSessionCount: z266.number(),
7783
+ currentVisitCount: z266.number(),
7784
+ currentSessionCount: z266.number()
7769
7785
  });
7770
7786
  var DTOPublishedDocPageAnalyticsComparisonData = DTOPublishedDocAnalyticsComparisonData.extend({
7771
- pagePersistentId: z265.string()
7787
+ pagePersistentId: z266.string()
7772
7788
  });
7773
- var DTODocumentationPageAnalyticsResponse = z265.object({
7789
+ var DTODocumentationPageAnalyticsResponse = z266.object({
7774
7790
  globalAnalytics: DTOPublishedDocVisitData.array(),
7775
7791
  pageAnalytics: DTOPublishedDocPageVisitData.array(),
7776
7792
  heatMapData: DTOPublishedDocVisitHeatMapWeek.array(),
7777
7793
  comparisonData: DTOPublishedDocAnalyticsComparisonData.array(),
7778
7794
  pageComparisonData: DTOPublishedDocPageAnalyticsComparisonData.array()
7779
7795
  });
7780
- var DTODocumentationAnalyticsRequest = z265.object({
7781
- timeFrames: z265.array(DTODocumentationAnalyticsTimeFrame)
7796
+ var DTODocumentationAnalyticsRequest = z266.object({
7797
+ timeFrames: z266.array(DTODocumentationAnalyticsTimeFrame)
7782
7798
  });
7783
7799
 
7784
7800
  // src/api/dto/documentation/analytics.ts
7785
- import { z as z266 } from "zod";
7786
- var DTODocumentationPageAnalyticsDifference = z266.object({
7787
- startDate: z266.coerce.date(),
7788
- endDate: z266.coerce.date().optional(),
7789
- currentVisitCount: z266.number(),
7790
- currentSessionCount: z266.number(),
7791
- priorVisitCount: z266.number(),
7792
- priorSessionCount: z266.number()
7801
+ import { z as z267 } from "zod";
7802
+ var DTODocumentationPageAnalyticsDifference = z267.object({
7803
+ startDate: z267.coerce.date(),
7804
+ endDate: z267.coerce.date().optional(),
7805
+ currentVisitCount: z267.number(),
7806
+ currentSessionCount: z267.number(),
7807
+ priorVisitCount: z267.number(),
7808
+ priorSessionCount: z267.number()
7793
7809
  });
7794
- var DTODocumentationPageIntervalDifferenceResponse = z266.object({
7795
- differences: z266.array(DTODocumentationPageAnalyticsDifference)
7810
+ var DTODocumentationPageIntervalDifferenceResponse = z267.object({
7811
+ differences: z267.array(DTODocumentationPageAnalyticsDifference)
7796
7812
  });
7797
7813
 
7798
7814
  // src/api/dto/documentation/anchor.ts
7799
- import { z as z267 } from "zod";
7815
+ import { z as z268 } from "zod";
7800
7816
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
7801
- var DTOGetDocumentationPageAnchorsResponse = z267.object({
7802
- anchors: z267.array(DTODocumentationPageAnchor)
7817
+ var DTOGetDocumentationPageAnchorsResponse = z268.object({
7818
+ anchors: z268.array(DTODocumentationPageAnchor)
7803
7819
  });
7804
7820
 
7805
7821
  // src/api/dto/documentation/approvals.ts
7806
- import { z as z268 } from "zod";
7807
- var DTODocumentationPageApprovalState = z268.object({
7822
+ import { z as z269 } from "zod";
7823
+ var DTODocumentationPageApprovalState = z269.object({
7808
7824
  approvalState: DocumentationPageApprovalState,
7809
- pagePersistentId: z268.string(),
7810
- updatedByUserId: z268.string(),
7811
- designSystemVersionId: z268.string(),
7812
- updatedAt: z268.coerce.date(),
7813
- createdAt: z268.coerce.date()
7814
- });
7815
- var DTODocumentationGroupApprovalState = z268.object({
7816
- persistentId: z268.string(),
7817
- groupPersistentId: z268.string(),
7818
- designSystemVersionId: z268.string(),
7825
+ pagePersistentId: z269.string(),
7826
+ updatedByUserId: z269.string(),
7827
+ designSystemVersionId: z269.string(),
7828
+ updatedAt: z269.coerce.date(),
7829
+ createdAt: z269.coerce.date()
7830
+ });
7831
+ var DTODocumentationGroupApprovalState = z269.object({
7832
+ persistentId: z269.string(),
7833
+ groupPersistentId: z269.string(),
7834
+ designSystemVersionId: z269.string(),
7819
7835
  approvalState: DocumentationPageApprovalState
7820
7836
  });
7821
7837
 
@@ -7823,68 +7839,68 @@ var DTODocumentationGroupApprovalState = z268.object({
7823
7839
  var DTOPageBlockItemV2 = PageBlockItemV2;
7824
7840
 
7825
7841
  // src/api/dto/documentation/documentation-page-snapshot.ts
7826
- import { z as z273 } from "zod";
7842
+ import { z as z274 } from "zod";
7827
7843
 
7828
7844
  // src/api/dto/elements/documentation/page-v2.ts
7829
- import { z as z272 } from "zod";
7845
+ import { z as z273 } from "zod";
7830
7846
 
7831
7847
  // src/api/dto/elements/documentation/draft-state.ts
7832
- import { z as z270 } from "zod";
7848
+ import { z as z271 } from "zod";
7833
7849
 
7834
7850
  // src/api/dto/elements/documentation/item-configuration-v2.ts
7835
- import { z as z269 } from "zod";
7851
+ import { z as z270 } from "zod";
7836
7852
  var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
7837
- var DTODocumentationItemConfigurationV2 = z269.object({
7838
- showSidebar: z269.boolean(),
7839
- isPrivate: z269.boolean(),
7840
- isHidden: z269.boolean(),
7853
+ var DTODocumentationItemConfigurationV2 = z270.object({
7854
+ showSidebar: z270.boolean(),
7855
+ isPrivate: z270.boolean(),
7856
+ isHidden: z270.boolean(),
7841
7857
  header: DTODocumentationItemHeaderV2
7842
7858
  });
7843
7859
 
7844
7860
  // src/api/dto/elements/documentation/draft-state.ts
7845
- var DTODocumentationDraftChangeType = z270.enum(["Created", "Updated", "Deleted"]);
7846
- var DTODocumentationDraftStateCreated = z270.object({
7847
- changeType: z270.literal(DTODocumentationDraftChangeType.enum.Created)
7848
- });
7849
- var DTODocumentationDraftStateUpdated = z270.object({
7850
- changeType: z270.literal(DTODocumentationDraftChangeType.enum.Updated),
7851
- changes: z270.object({
7852
- previousTitle: z270.string().optional(),
7861
+ var DTODocumentationDraftChangeType = z271.enum(["Created", "Updated", "Deleted"]);
7862
+ var DTODocumentationDraftStateCreated = z271.object({
7863
+ changeType: z271.literal(DTODocumentationDraftChangeType.enum.Created)
7864
+ });
7865
+ var DTODocumentationDraftStateUpdated = z271.object({
7866
+ changeType: z271.literal(DTODocumentationDraftChangeType.enum.Updated),
7867
+ changes: z271.object({
7868
+ previousTitle: z271.string().optional(),
7853
7869
  previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
7854
- previousContentHash: z270.string().optional()
7870
+ previousContentHash: z271.string().optional()
7855
7871
  })
7856
7872
  });
7857
- var DTODocumentationDraftStateDeleted = z270.object({
7858
- changeType: z270.literal(DTODocumentationDraftChangeType.enum.Deleted),
7859
- deletedAt: z270.coerce.date(),
7860
- deletedByUserId: z270.string()
7873
+ var DTODocumentationDraftStateDeleted = z271.object({
7874
+ changeType: z271.literal(DTODocumentationDraftChangeType.enum.Deleted),
7875
+ deletedAt: z271.coerce.date(),
7876
+ deletedByUserId: z271.string()
7861
7877
  });
7862
- var DTODocumentationDraftState = z270.discriminatedUnion("changeType", [
7878
+ var DTODocumentationDraftState = z271.discriminatedUnion("changeType", [
7863
7879
  DTODocumentationDraftStateCreated,
7864
7880
  DTODocumentationDraftStateUpdated,
7865
7881
  DTODocumentationDraftStateDeleted
7866
7882
  ]);
7867
7883
 
7868
7884
  // src/api/dto/elements/documentation/metadata.ts
7869
- import { z as z271 } from "zod";
7870
- var DTODocumentationPublishMetadata = z271.object({
7871
- lastPublishedByUserId: z271.string(),
7872
- lastPublishedAt: z271.coerce.date()
7885
+ import { z as z272 } from "zod";
7886
+ var DTODocumentationPublishMetadata = z272.object({
7887
+ lastPublishedByUserId: z272.string(),
7888
+ lastPublishedAt: z272.coerce.date()
7873
7889
  });
7874
7890
 
7875
7891
  // src/api/dto/elements/documentation/page-v2.ts
7876
- var DTODocumentationPageV2 = z272.object({
7877
- id: z272.string(),
7878
- persistentId: z272.string(),
7879
- designSystemVersionId: z272.string(),
7880
- title: z272.string(),
7892
+ var DTODocumentationPageV2 = z273.object({
7893
+ id: z273.string(),
7894
+ persistentId: z273.string(),
7895
+ designSystemVersionId: z273.string(),
7896
+ title: z273.string(),
7881
7897
  configuration: DTODocumentationItemConfigurationV2,
7882
- shortPersistentId: z272.string(),
7883
- slug: z272.string().optional(),
7884
- userSlug: z272.string().optional(),
7885
- createdAt: z272.coerce.date(),
7886
- updatedAt: z272.coerce.date(),
7887
- path: z272.string(),
7898
+ shortPersistentId: z273.string(),
7899
+ slug: z273.string().optional(),
7900
+ userSlug: z273.string().optional(),
7901
+ createdAt: z273.coerce.date(),
7902
+ updatedAt: z273.coerce.date(),
7903
+ path: z273.string(),
7888
7904
  /** Defined when a page has changed since last publish and can be included into a partial publish */
7889
7905
  draftState: DTODocumentationDraftState.optional(),
7890
7906
  /** Defined if a page was published at least once and contains metadata about last publish */
@@ -7892,278 +7908,278 @@ var DTODocumentationPageV2 = z272.object({
7892
7908
  /** Defines the approval state of the documentation page */
7893
7909
  approvalState: DTODocumentationPageApprovalState.optional(),
7894
7910
  /** Id of the page document room */
7895
- liveblocksRoomId: z272.string().optional(),
7911
+ liveblocksRoomId: z273.string().optional(),
7896
7912
  // Backward compatibility
7897
- type: z272.literal("Page")
7913
+ type: z273.literal("Page")
7898
7914
  });
7899
- var DTOCreateDocumentationPageInputV2 = z272.object({
7915
+ var DTOCreateDocumentationPageInputV2 = z273.object({
7900
7916
  // Identifier
7901
- persistentId: z272.string(),
7917
+ persistentId: z273.string(),
7902
7918
  // Page properties
7903
- title: z272.string(),
7919
+ title: z273.string(),
7904
7920
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
7905
7921
  // Page placement properties
7906
- parentPersistentId: z272.string(),
7907
- afterPersistentId: z272.string().nullish()
7922
+ parentPersistentId: z273.string(),
7923
+ afterPersistentId: z273.string().nullish()
7908
7924
  });
7909
- var DTOUpdateDocumentationPageInputV2 = z272.object({
7925
+ var DTOUpdateDocumentationPageInputV2 = z273.object({
7910
7926
  // Identifier of the page to update
7911
- id: z272.string(),
7927
+ id: z273.string(),
7912
7928
  // Page properties
7913
- title: z272.string().optional(),
7929
+ title: z273.string().optional(),
7914
7930
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
7915
7931
  });
7916
- var DTOUpdateDocumentationPageDocumentInputV2 = z272.object({
7932
+ var DTOUpdateDocumentationPageDocumentInputV2 = z273.object({
7917
7933
  // Identifier of the page to update
7918
- id: z272.string(),
7934
+ id: z273.string(),
7919
7935
  // Page properties
7920
- documentItems: z272.array(DocumentationPageContentItem)
7936
+ documentItems: z273.array(DocumentationPageContentItem)
7921
7937
  });
7922
- var DTOMoveDocumentationPageInputV2 = z272.object({
7938
+ var DTOMoveDocumentationPageInputV2 = z273.object({
7923
7939
  // Identifier of the group to update
7924
- id: z272.string(),
7940
+ id: z273.string(),
7925
7941
  // Page placement properties
7926
- parentPersistentId: z272.string(),
7927
- afterPersistentId: z272.string().nullish()
7942
+ parentPersistentId: z273.string(),
7943
+ afterPersistentId: z273.string().nullish()
7928
7944
  });
7929
- var DTODuplicateDocumentationPageInputV2 = z272.object({
7945
+ var DTODuplicateDocumentationPageInputV2 = z273.object({
7930
7946
  // Identifier of the page to duplicate from
7931
- id: z272.string(),
7947
+ id: z273.string(),
7932
7948
  // New page persistent id
7933
- persistentId: z272.string(),
7949
+ persistentId: z273.string(),
7934
7950
  // Page placement properties
7935
- parentPersistentId: z272.string(),
7936
- afterPersistentId: z272.string().nullish()
7951
+ parentPersistentId: z273.string(),
7952
+ afterPersistentId: z273.string().nullish()
7937
7953
  });
7938
- var DTODeleteDocumentationPageInputV2 = z272.object({
7954
+ var DTODeleteDocumentationPageInputV2 = z273.object({
7939
7955
  // Identifier
7940
- id: z272.string()
7956
+ id: z273.string()
7941
7957
  });
7942
- var DTORestoreDocumentationPageInput = z272.object({
7943
- persistentId: z272.string(),
7944
- snapshotId: z272.string().optional()
7958
+ var DTORestoreDocumentationPageInput = z273.object({
7959
+ persistentId: z273.string(),
7960
+ snapshotId: z273.string().optional()
7945
7961
  });
7946
- var DTORestoreDocumentationGroupInput = z272.object({
7947
- persistentId: z272.string(),
7948
- snapshotId: z272.string().optional()
7962
+ var DTORestoreDocumentationGroupInput = z273.object({
7963
+ persistentId: z273.string(),
7964
+ snapshotId: z273.string().optional()
7949
7965
  });
7950
- var DTODocumentationPageApprovalStateChangeInput = z272.object({
7951
- persistentId: z272.string(),
7966
+ var DTODocumentationPageApprovalStateChangeInput = z273.object({
7967
+ persistentId: z273.string(),
7952
7968
  approvalState: DocumentationPageApprovalState.optional()
7953
7969
  });
7954
7970
 
7955
7971
  // src/api/dto/documentation/documentation-page-snapshot.ts
7956
- var DTODocumentationPageSnapshot = z273.object({
7957
- id: z273.string(),
7958
- designSystemVersionId: z273.string(),
7959
- createdAt: z273.string(),
7960
- updatedAt: z273.string(),
7972
+ var DTODocumentationPageSnapshot = z274.object({
7973
+ id: z274.string(),
7974
+ designSystemVersionId: z274.string(),
7975
+ createdAt: z274.string(),
7976
+ updatedAt: z274.string(),
7961
7977
  documentationPage: DTODocumentationPageV2,
7962
- pageContentHash: z273.string(),
7978
+ pageContentHash: z274.string(),
7963
7979
  reason: DesignElementSnapshotReason
7964
7980
  });
7965
7981
 
7966
7982
  // src/api/dto/documentation/link-preview.ts
7967
- import { z as z274 } from "zod";
7968
- var DTODocumentationLinkPreviewResponse = z274.object({
7983
+ import { z as z275 } from "zod";
7984
+ var DTODocumentationLinkPreviewResponse = z275.object({
7969
7985
  linkPreview: DocumentationLinkPreview
7970
7986
  });
7971
- var DTODocumentationLinkPreviewRequest = z274.object({
7972
- url: z274.string().optional(),
7973
- documentationItemPersistentId: z274.string().optional()
7987
+ var DTODocumentationLinkPreviewRequest = z275.object({
7988
+ url: z275.string().optional(),
7989
+ documentationItemPersistentId: z275.string().optional()
7974
7990
  });
7975
7991
 
7976
7992
  // src/api/dto/documentation/publish.ts
7977
- import { z as z279 } from "zod";
7993
+ import { z as z280 } from "zod";
7978
7994
 
7979
7995
  // src/api/dto/export/exporter.ts
7980
- import { z as z275 } from "zod";
7981
- var DTOExporterType = z275.enum(["documentation", "code"]);
7982
- var DTOExporterSource = z275.enum(["git", "upload"]);
7983
- var DTOExporterMembershipRole = z275.enum(["Owner", "OwnerArchived", "User"]);
7984
- var DTOExporterListQuery = z275.object({
7985
- limit: z275.coerce.number().optional(),
7986
- offset: z275.coerce.number().optional(),
7996
+ import { z as z276 } from "zod";
7997
+ var DTOExporterType = z276.enum(["documentation", "code"]);
7998
+ var DTOExporterSource = z276.enum(["git", "upload"]);
7999
+ var DTOExporterMembershipRole = z276.enum(["Owner", "OwnerArchived", "User"]);
8000
+ var DTOExporterListQuery = z276.object({
8001
+ limit: z276.coerce.number().optional(),
8002
+ offset: z276.coerce.number().optional(),
7987
8003
  type: DTOExporterType.optional(),
7988
- search: z275.string().optional()
8004
+ search: z276.string().optional()
7989
8005
  });
7990
- var DTOExporter = z275.object({
7991
- id: z275.string(),
7992
- name: z275.string(),
7993
- isPrivate: z275.boolean(),
8006
+ var DTOExporter = z276.object({
8007
+ id: z276.string(),
8008
+ name: z276.string(),
8009
+ isPrivate: z276.boolean(),
7994
8010
  exporterType: DTOExporterType,
7995
- isDefaultDocumentationExporter: z275.boolean(),
7996
- iconURL: z275.string().optional(),
8011
+ isDefaultDocumentationExporter: z276.boolean(),
8012
+ iconURL: z276.string().optional(),
7997
8013
  configurationProperties: PulsarContributionConfigurationProperty.array(),
7998
8014
  properties: DTOExporterPropertyDefinition.array().optional(),
7999
8015
  customBlocks: PulsarCustomBlock.array(),
8000
- blockVariants: z275.record(z275.string(), PulsarContributionVariant.array()),
8001
- homepage: z275.string().optional(),
8002
- organization: z275.string().optional(),
8003
- packageId: z275.string().optional(),
8004
- tags: z275.array(z275.string()),
8005
- author: z275.string().optional(),
8006
- version: z275.string(),
8007
- description: z275.string(),
8008
- usesLocale: z275.boolean(),
8009
- usesBrands: z275.boolean(),
8010
- usesThemes: z275.boolean(),
8011
- readme: z275.string().optional(),
8012
- routingVersion: z275.string().optional(),
8016
+ blockVariants: z276.record(z276.string(), PulsarContributionVariant.array()),
8017
+ homepage: z276.string().optional(),
8018
+ organization: z276.string().optional(),
8019
+ packageId: z276.string().optional(),
8020
+ tags: z276.array(z276.string()),
8021
+ author: z276.string().optional(),
8022
+ version: z276.string(),
8023
+ description: z276.string(),
8024
+ usesLocale: z276.boolean(),
8025
+ usesBrands: z276.boolean(),
8026
+ usesThemes: z276.boolean(),
8027
+ readme: z276.string().optional(),
8028
+ routingVersion: z276.string().optional(),
8013
8029
  source: DTOExporterSource,
8014
- gitProvider: z275.string().optional(),
8015
- gitUrl: nullishToOptional(z275.string()),
8016
- gitBranch: nullishToOptional(z275.string()),
8017
- gitDirectory: nullishToOptional(z275.string()),
8018
- isDeprecated: z275.boolean(),
8019
- deprecationNote: z275.string().optional(),
8020
- replacementExporterId: z275.string().optional()
8021
- });
8022
- var DTOExporterMembership = z275.object({
8023
- workspaceId: z275.string(),
8024
- exporterId: z275.string(),
8030
+ gitProvider: z276.string().optional(),
8031
+ gitUrl: nullishToOptional(z276.string()),
8032
+ gitBranch: nullishToOptional(z276.string()),
8033
+ gitDirectory: nullishToOptional(z276.string()),
8034
+ isDeprecated: z276.boolean(),
8035
+ deprecationNote: z276.string().optional(),
8036
+ replacementExporterId: z276.string().optional()
8037
+ });
8038
+ var DTOExporterMembership = z276.object({
8039
+ workspaceId: z276.string(),
8040
+ exporterId: z276.string(),
8025
8041
  role: DTOExporterMembershipRole
8026
8042
  });
8027
- var DTOExporterResponse = z275.object({
8043
+ var DTOExporterResponse = z276.object({
8028
8044
  exporter: DTOExporter,
8029
8045
  membership: DTOExporterMembership
8030
8046
  });
8031
- var DTOExporterListResponse = z275.object({
8047
+ var DTOExporterListResponse = z276.object({
8032
8048
  exporters: DTOExporter.array(),
8033
8049
  membership: DTOExporterMembership.array(),
8034
- total: z275.number()
8050
+ total: z276.number()
8035
8051
  });
8036
- var DTOExporterGitProviderEnum = z275.enum(["github", "gitlab", "bitbucket", "azure"]);
8037
- var DTOExporterCreateInput = z275.object({
8038
- url: z275.string(),
8052
+ var DTOExporterGitProviderEnum = z276.enum(["github", "gitlab", "bitbucket", "azure"]);
8053
+ var DTOExporterCreateInput = z276.object({
8054
+ url: z276.string(),
8039
8055
  provider: DTOExporterGitProviderEnum
8040
8056
  });
8041
- var DTOExporterUpdateInput = z275.object({
8042
- url: z275.string().optional()
8057
+ var DTOExporterUpdateInput = z276.object({
8058
+ url: z276.string().optional()
8043
8059
  });
8044
- var DTOExporterDeprecationInput = z275.object({
8045
- isDeprecated: z275.boolean(),
8046
- deprecationNote: z275.string().optional(),
8047
- replacementExporterId: z275.string().optional()
8060
+ var DTOExporterDeprecationInput = z276.object({
8061
+ isDeprecated: z276.boolean(),
8062
+ deprecationNote: z276.string().optional(),
8063
+ replacementExporterId: z276.string().optional()
8048
8064
  });
8049
8065
 
8050
8066
  // src/api/dto/export/filter.ts
8051
- import { z as z276 } from "zod";
8052
- var DTOExportJobsListFilter = z276.object({
8053
- exporterId: z276.string().optional(),
8054
- designSystemVersionId: z276.string().optional(),
8055
- createdByUserId: z276.string().optional(),
8067
+ import { z as z277 } from "zod";
8068
+ var DTOExportJobsListFilter = z277.object({
8069
+ exporterId: z277.string().optional(),
8070
+ designSystemVersionId: z277.string().optional(),
8071
+ createdByUserId: z277.string().optional(),
8056
8072
  status: ExportJobStatus.optional(),
8057
- scheduleId: z276.string().optional(),
8058
- designSystemId: z276.string().optional(),
8059
- themeId: z276.string().optional(),
8060
- brandId: z276.string().optional(),
8061
- destinations: z276.string().transform((s) => s.split(",").map((p) => ExportJobDestinationType.parse(p))).optional()
8073
+ scheduleId: z277.string().optional(),
8074
+ designSystemId: z277.string().optional(),
8075
+ themeId: z277.string().optional(),
8076
+ brandId: z277.string().optional(),
8077
+ destinations: z277.string().transform((s) => s.split(",").map((p) => ExportJobDestinationType.parse(p))).optional()
8062
8078
  });
8063
8079
 
8064
8080
  // src/api/dto/export/job.ts
8065
- import { z as z277 } from "zod";
8066
- var DTOExportJobCreatedBy = z277.object({
8067
- userId: z277.string(),
8068
- userName: z277.string()
8081
+ import { z as z278 } from "zod";
8082
+ var DTOExportJobCreatedBy = z278.object({
8083
+ userId: z278.string(),
8084
+ userName: z278.string()
8069
8085
  });
8070
- var DTOExportJobDesignSystemPreview = z277.object({
8071
- id: z277.string(),
8086
+ var DTOExportJobDesignSystemPreview = z278.object({
8087
+ id: z278.string(),
8072
8088
  meta: ObjectMeta
8073
8089
  });
8074
- var DTOExportJobDesignSystemVersionPreview = z277.object({
8075
- id: z277.string(),
8090
+ var DTOExportJobDesignSystemVersionPreview = z278.object({
8091
+ id: z278.string(),
8076
8092
  meta: ObjectMeta,
8077
- version: z277.string(),
8078
- isReadonly: z277.boolean()
8093
+ version: z278.string(),
8094
+ isReadonly: z278.boolean()
8079
8095
  });
8080
- var DTOExportJobDestinations = z277.object({
8096
+ var DTOExportJobDestinations = z278.object({
8081
8097
  s3: ExporterDestinationS3.optional(),
8082
8098
  azure: ExporterDestinationAzure.optional(),
8083
8099
  bitbucket: ExporterDestinationBitbucket.optional(),
8084
8100
  github: ExporterDestinationGithub.optional(),
8085
8101
  gitlab: ExporterDestinationGitlab.optional(),
8086
8102
  documentation: ExporterDestinationDocs.optional(),
8087
- webhookUrl: z277.string().optional()
8103
+ webhookUrl: z278.string().optional()
8088
8104
  });
8089
8105
  var DTOExportJobResult = ExportJobResult.omit({
8090
8106
  sndocs: true
8091
8107
  }).extend({
8092
8108
  documentation: ExportJobDocsDestinationResult.optional()
8093
8109
  });
8094
- var DTOExportJob = z277.object({
8095
- id: z277.string(),
8096
- createdAt: z277.coerce.date(),
8097
- finishedAt: z277.coerce.date().optional(),
8098
- index: z277.number().optional(),
8110
+ var DTOExportJob = z278.object({
8111
+ id: z278.string(),
8112
+ createdAt: z278.coerce.date(),
8113
+ finishedAt: z278.coerce.date().optional(),
8114
+ index: z278.number().optional(),
8099
8115
  status: ExportJobStatus,
8100
- estimatedExecutionTime: z277.number().optional(),
8116
+ estimatedExecutionTime: z278.number().optional(),
8101
8117
  createdBy: DTOExportJobCreatedBy.optional(),
8102
8118
  designSystem: DTOExportJobDesignSystemPreview,
8103
8119
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
8104
8120
  destinations: DTOExportJobDestinations,
8105
- exporterId: z277.string(),
8106
- scheduleId: z277.string().optional(),
8121
+ exporterId: z278.string(),
8122
+ scheduleId: z278.string().optional(),
8107
8123
  result: DTOExportJobResult.optional(),
8108
- brandPersistentId: z277.string().optional(),
8109
- themePersistentId: z277.string().optional(),
8110
- themePersistentIds: z277.string().array().optional(),
8124
+ brandPersistentId: z278.string().optional(),
8125
+ themePersistentId: z278.string().optional(),
8126
+ themePersistentIds: z278.string().array().optional(),
8111
8127
  exporterPropertyValues: DTOExporterPropertyValueMap.optional()
8112
8128
  });
8113
- var DTOExportJobResponse = z277.object({
8129
+ var DTOExportJobResponse = z278.object({
8114
8130
  job: DTOExportJob
8115
8131
  });
8116
- var DTOExportJobResponseLegacy = z277.object({
8117
- job: z277.object({
8118
- id: z277.string(),
8132
+ var DTOExportJobResponseLegacy = z278.object({
8133
+ job: z278.object({
8134
+ id: z278.string(),
8119
8135
  status: ExportJobStatus
8120
8136
  })
8121
8137
  });
8122
- var DTOExportJobCreateInput = z277.object({
8123
- designSystemId: z277.string(),
8124
- designSystemVersionId: z277.string(),
8125
- exporterId: z277.string(),
8126
- brandId: z277.string().optional(),
8127
- themeId: z277.string().optional(),
8128
- themePersistentIds: z277.string().array().optional(),
8138
+ var DTOExportJobCreateInput = z278.object({
8139
+ designSystemId: z278.string(),
8140
+ designSystemVersionId: z278.string(),
8141
+ exporterId: z278.string(),
8142
+ brandId: z278.string().optional(),
8143
+ themeId: z278.string().optional(),
8144
+ themePersistentIds: z278.string().array().optional(),
8129
8145
  destinations: DTOExportJobDestinations,
8130
8146
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
8131
- previewMode: z277.boolean().optional()
8147
+ previewMode: z278.boolean().optional()
8132
8148
  });
8133
8149
 
8134
8150
  // src/api/dto/export/pipeline.ts
8135
- import { z as z278 } from "zod";
8136
- var DTOPipelineListQuery = z278.object({
8137
- designSystemId: z278.string().optional(),
8138
- exporterId: z278.string().optional(),
8139
- latestJobsLimit: z278.coerce.number().optional()
8140
- });
8141
- var DTOPipeline = z278.object({
8142
- id: z278.string(),
8143
- name: z278.string(),
8151
+ import { z as z279 } from "zod";
8152
+ var DTOPipelineListQuery = z279.object({
8153
+ designSystemId: z279.string().optional(),
8154
+ exporterId: z279.string().optional(),
8155
+ latestJobsLimit: z279.coerce.number().optional()
8156
+ });
8157
+ var DTOPipeline = z279.object({
8158
+ id: z279.string(),
8159
+ name: z279.string(),
8144
8160
  eventType: PipelineEventType,
8145
- isEnabled: z278.boolean(),
8146
- workspaceId: z278.string(),
8147
- designSystemId: z278.string(),
8148
- exporterId: z278.string(),
8149
- brandPersistentId: z278.string().optional(),
8150
- themePersistentId: z278.string().optional(),
8151
- themePersistentIds: z278.string().array().optional(),
8161
+ isEnabled: z279.boolean(),
8162
+ workspaceId: z279.string(),
8163
+ designSystemId: z279.string(),
8164
+ exporterId: z279.string(),
8165
+ brandPersistentId: z279.string().optional(),
8166
+ themePersistentId: z279.string().optional(),
8167
+ themePersistentIds: z279.string().array().optional(),
8152
8168
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
8153
8169
  ...ExportDestinationsMap.shape,
8154
8170
  latestJobs: DTOExportJob.array(),
8155
- isExporterDeprecated: z278.boolean()
8171
+ isExporterDeprecated: z279.boolean()
8156
8172
  });
8157
- var DTOPipelineListResponse = z278.object({
8173
+ var DTOPipelineListResponse = z279.object({
8158
8174
  pipelines: DTOPipeline.array()
8159
8175
  });
8160
- var DTOPipelineResponse = z278.object({
8176
+ var DTOPipelineResponse = z279.object({
8161
8177
  pipeline: DTOPipeline
8162
8178
  });
8163
8179
 
8164
8180
  // src/api/dto/documentation/publish.ts
8165
8181
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
8166
- var DTOPublishDocumentationRequest = z279.object({
8182
+ var DTOPublishDocumentationRequest = z280.object({
8167
8183
  environment: PublishedDocEnvironment,
8168
8184
  /**
8169
8185
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -8171,66 +8187,66 @@ var DTOPublishDocumentationRequest = z279.object({
8171
8187
  */
8172
8188
  changes: DTOPublishDocumentationChanges.optional()
8173
8189
  });
8174
- var DTOPublishDocumentationResponse = z279.object({
8190
+ var DTOPublishDocumentationResponse = z280.object({
8175
8191
  job: DTOExportJob
8176
8192
  });
8177
8193
 
8178
8194
  // src/api/dto/documentation/room.ts
8179
- import { z as z280 } from "zod";
8180
- var DTODocumentationPageRoom = z280.object({
8181
- id: z280.string()
8195
+ import { z as z281 } from "zod";
8196
+ var DTODocumentationPageRoom = z281.object({
8197
+ id: z281.string()
8182
8198
  });
8183
- var DTODocumentationPageRoomResponse = z280.object({
8199
+ var DTODocumentationPageRoomResponse = z281.object({
8184
8200
  room: DTODocumentationPageRoom
8185
8201
  });
8186
8202
 
8187
8203
  // src/api/dto/elements/components/figma-component-group.ts
8188
- import z281 from "zod";
8189
- var DTOFigmaComponentGroup = z281.object({
8190
- id: z281.string(),
8191
- designSystemVersionId: z281.string(),
8192
- persistentId: z281.string(),
8193
- isRoot: z281.boolean(),
8194
- brandId: z281.string(),
8204
+ import z282 from "zod";
8205
+ var DTOFigmaComponentGroup = z282.object({
8206
+ id: z282.string(),
8207
+ designSystemVersionId: z282.string(),
8208
+ persistentId: z282.string(),
8209
+ isRoot: z282.boolean(),
8210
+ brandId: z282.string(),
8195
8211
  meta: DTOObjectMeta,
8196
- childrenIds: z281.string().array()
8212
+ childrenIds: z282.string().array()
8197
8213
  });
8198
- var DTOFigmaComponentGroupListResponse = z281.object({
8214
+ var DTOFigmaComponentGroupListResponse = z282.object({
8199
8215
  groups: DTOFigmaComponentGroup.array()
8200
8216
  });
8201
8217
 
8202
8218
  // src/api/dto/elements/components/figma-component.ts
8203
- import { z as z282 } from "zod";
8219
+ import { z as z283 } from "zod";
8204
8220
  var DTOFigmaComponentProperty = FigmaComponentProperty;
8205
- var DTOFigmaComponentPropertyMap = z282.record(DTOFigmaComponentProperty);
8206
- var DTOFigmaComponent = z282.object({
8207
- id: z282.string(),
8208
- persistentId: z282.string(),
8209
- designSystemVersionId: z282.string(),
8210
- brandId: z282.string(),
8211
- thumbnailUrl: z282.string().optional(),
8212
- svgUrl: z282.string().optional(),
8213
- exportProperties: z282.object({
8214
- isAsset: z282.boolean()
8221
+ var DTOFigmaComponentPropertyMap = z283.record(DTOFigmaComponentProperty);
8222
+ var DTOFigmaComponent = z283.object({
8223
+ id: z283.string(),
8224
+ persistentId: z283.string(),
8225
+ designSystemVersionId: z283.string(),
8226
+ brandId: z283.string(),
8227
+ thumbnailUrl: z283.string().optional(),
8228
+ svgUrl: z283.string().optional(),
8229
+ exportProperties: z283.object({
8230
+ isAsset: z283.boolean()
8215
8231
  }),
8216
- createdAt: z282.coerce.date(),
8217
- updatedAt: z282.coerce.date(),
8232
+ createdAt: z283.coerce.date(),
8233
+ updatedAt: z283.coerce.date(),
8218
8234
  meta: ObjectMeta,
8219
8235
  originComponent: FigmaComponentOrigin.optional(),
8220
- parentComponentPersistentId: z282.string().optional(),
8221
- childrenPersistentIds: z282.string().array().optional(),
8236
+ parentComponentPersistentId: z283.string().optional(),
8237
+ childrenPersistentIds: z283.string().array().optional(),
8222
8238
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
8223
- variantPropertyValues: z282.record(z282.string()).optional()
8239
+ variantPropertyValues: z283.record(z283.string()).optional()
8224
8240
  });
8225
- var DTOFigmaComponentListResponse = z282.object({
8241
+ var DTOFigmaComponentListResponse = z283.object({
8226
8242
  components: DTOFigmaComponent.array()
8227
8243
  });
8228
8244
 
8229
8245
  // src/api/dto/elements/documentation/group-action.ts
8230
- import { z as z284 } from "zod";
8246
+ import { z as z285 } from "zod";
8231
8247
 
8232
8248
  // src/api/dto/elements/documentation/group-v2.ts
8233
- import { z as z283 } from "zod";
8249
+ import { z as z284 } from "zod";
8234
8250
  var DTODocumentationGroupV2 = ElementGroup.omit({
8235
8251
  sortOrder: true,
8236
8252
  parentPersistentId: true,
@@ -8240,13 +8256,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
8240
8256
  data: true,
8241
8257
  shortPersistentId: true
8242
8258
  }).extend({
8243
- title: z283.string(),
8244
- isRoot: z283.boolean(),
8245
- childrenIds: z283.array(z283.string()),
8259
+ title: z284.string(),
8260
+ isRoot: z284.boolean(),
8261
+ childrenIds: z284.array(z284.string()),
8246
8262
  groupBehavior: DocumentationGroupBehavior,
8247
- shortPersistentId: z283.string(),
8263
+ shortPersistentId: z284.string(),
8248
8264
  configuration: DTODocumentationItemConfigurationV2,
8249
- type: z283.literal("Group"),
8265
+ type: z284.literal("Group"),
8250
8266
  /** Defined when a group has changed since last publish and can be included into a partial publish */
8251
8267
  draftState: DTODocumentationDraftState.optional(),
8252
8268
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -8254,127 +8270,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
8254
8270
  //** An approval state for frontend to utilize. */
8255
8271
  approvalState: DTODocumentationGroupApprovalState.optional()
8256
8272
  });
8257
- var DTOCreateDocumentationGroupInput = z283.object({
8273
+ var DTOCreateDocumentationGroupInput = z284.object({
8258
8274
  // Identifier
8259
- persistentId: z283.string(),
8275
+ persistentId: z284.string(),
8260
8276
  // Group properties
8261
- title: z283.string(),
8277
+ title: z284.string(),
8262
8278
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
8263
8279
  // Group placement properties
8264
- afterPersistentId: z283.string().nullish(),
8265
- parentPersistentId: z283.string()
8280
+ afterPersistentId: z284.string().nullish(),
8281
+ parentPersistentId: z284.string()
8266
8282
  });
8267
- var DTOUpdateDocumentationGroupInput = z283.object({
8283
+ var DTOUpdateDocumentationGroupInput = z284.object({
8268
8284
  // Identifier of the group to update
8269
- id: z283.string(),
8285
+ id: z284.string(),
8270
8286
  // Group properties
8271
- title: z283.string().optional(),
8287
+ title: z284.string().optional(),
8272
8288
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
8273
8289
  });
8274
- var DTOMoveDocumentationGroupInput = z283.object({
8290
+ var DTOMoveDocumentationGroupInput = z284.object({
8275
8291
  // Identifier of the group to update
8276
- id: z283.string(),
8292
+ id: z284.string(),
8277
8293
  // Group placement properties
8278
- parentPersistentId: z283.string(),
8279
- afterPersistentId: z283.string().nullish()
8294
+ parentPersistentId: z284.string(),
8295
+ afterPersistentId: z284.string().nullish()
8280
8296
  });
8281
- var DTODuplicateDocumentationGroupInput = z283.object({
8297
+ var DTODuplicateDocumentationGroupInput = z284.object({
8282
8298
  // Identifier of the group to duplicate from
8283
- id: z283.string(),
8299
+ id: z284.string(),
8284
8300
  // New group persistent id
8285
- persistentId: z283.string(),
8301
+ persistentId: z284.string(),
8286
8302
  // Group placement properties
8287
- afterPersistentId: z283.string().nullish(),
8288
- parentPersistentId: z283.string()
8303
+ afterPersistentId: z284.string().nullish(),
8304
+ parentPersistentId: z284.string()
8289
8305
  });
8290
- var DTOCreateDocumentationTabInput = z283.object({
8306
+ var DTOCreateDocumentationTabInput = z284.object({
8291
8307
  // New group persistent id
8292
- persistentId: z283.string(),
8308
+ persistentId: z284.string(),
8293
8309
  // If this is page, we will attempt to convert it to tab
8294
8310
  // If this is tab group, we will add a new tab to it
8295
- fromItemPersistentId: z283.string(),
8296
- tabName: z283.string()
8311
+ fromItemPersistentId: z284.string(),
8312
+ tabName: z284.string()
8297
8313
  });
8298
- var DTODeleteDocumentationTabGroupInput = z283.object({
8314
+ var DTODeleteDocumentationTabGroupInput = z284.object({
8299
8315
  // Deleted group id
8300
- id: z283.string()
8316
+ id: z284.string()
8301
8317
  });
8302
- var DTODeleteDocumentationGroupInput = z283.object({
8318
+ var DTODeleteDocumentationGroupInput = z284.object({
8303
8319
  // Identifier
8304
- id: z283.string(),
8320
+ id: z284.string(),
8305
8321
  // Deletion options
8306
- deleteSubtree: z283.boolean().default(false)
8322
+ deleteSubtree: z284.boolean().default(false)
8307
8323
  });
8308
8324
 
8309
8325
  // src/api/dto/elements/documentation/group-action.ts
8310
- var SuccessPayload = z284.object({
8311
- success: z284.literal(true)
8326
+ var SuccessPayload = z285.object({
8327
+ success: z285.literal(true)
8312
8328
  });
8313
- var DTODocumentationGroupCreateActionOutputV2 = z284.object({
8314
- type: z284.literal("DocumentationGroupCreate"),
8329
+ var DTODocumentationGroupCreateActionOutputV2 = z285.object({
8330
+ type: z285.literal("DocumentationGroupCreate"),
8315
8331
  output: SuccessPayload
8316
8332
  });
8317
- var DTODocumentationTabCreateActionOutputV2 = z284.object({
8318
- type: z284.literal("DocumentationTabCreate"),
8333
+ var DTODocumentationTabCreateActionOutputV2 = z285.object({
8334
+ type: z285.literal("DocumentationTabCreate"),
8319
8335
  output: SuccessPayload
8320
8336
  });
8321
- var DTODocumentationGroupUpdateActionOutputV2 = z284.object({
8322
- type: z284.literal("DocumentationGroupUpdate"),
8337
+ var DTODocumentationGroupUpdateActionOutputV2 = z285.object({
8338
+ type: z285.literal("DocumentationGroupUpdate"),
8323
8339
  output: SuccessPayload
8324
8340
  });
8325
- var DTODocumentationGroupMoveActionOutputV2 = z284.object({
8326
- type: z284.literal("DocumentationGroupMove"),
8341
+ var DTODocumentationGroupMoveActionOutputV2 = z285.object({
8342
+ type: z285.literal("DocumentationGroupMove"),
8327
8343
  output: SuccessPayload
8328
8344
  });
8329
- var DTODocumentationGroupDuplicateActionOutputV2 = z284.object({
8330
- type: z284.literal("DocumentationGroupDuplicate"),
8345
+ var DTODocumentationGroupDuplicateActionOutputV2 = z285.object({
8346
+ type: z285.literal("DocumentationGroupDuplicate"),
8331
8347
  output: SuccessPayload
8332
8348
  });
8333
- var DTODocumentationGroupDeleteActionOutputV2 = z284.object({
8334
- type: z284.literal("DocumentationGroupDelete"),
8349
+ var DTODocumentationGroupDeleteActionOutputV2 = z285.object({
8350
+ type: z285.literal("DocumentationGroupDelete"),
8335
8351
  output: SuccessPayload
8336
8352
  });
8337
- var DTODocumentationTabGroupDeleteActionOutputV2 = z284.object({
8338
- type: z284.literal("DocumentationTabGroupDelete"),
8353
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z285.object({
8354
+ type: z285.literal("DocumentationTabGroupDelete"),
8339
8355
  output: SuccessPayload
8340
8356
  });
8341
- var DTODocumentationGroupCreateActionInputV2 = z284.object({
8342
- type: z284.literal("DocumentationGroupCreate"),
8357
+ var DTODocumentationGroupCreateActionInputV2 = z285.object({
8358
+ type: z285.literal("DocumentationGroupCreate"),
8343
8359
  input: DTOCreateDocumentationGroupInput
8344
8360
  });
8345
- var DTODocumentationTabCreateActionInputV2 = z284.object({
8346
- type: z284.literal("DocumentationTabCreate"),
8361
+ var DTODocumentationTabCreateActionInputV2 = z285.object({
8362
+ type: z285.literal("DocumentationTabCreate"),
8347
8363
  input: DTOCreateDocumentationTabInput
8348
8364
  });
8349
- var DTODocumentationGroupUpdateActionInputV2 = z284.object({
8350
- type: z284.literal("DocumentationGroupUpdate"),
8365
+ var DTODocumentationGroupUpdateActionInputV2 = z285.object({
8366
+ type: z285.literal("DocumentationGroupUpdate"),
8351
8367
  input: DTOUpdateDocumentationGroupInput
8352
8368
  });
8353
- var DTODocumentationGroupMoveActionInputV2 = z284.object({
8354
- type: z284.literal("DocumentationGroupMove"),
8369
+ var DTODocumentationGroupMoveActionInputV2 = z285.object({
8370
+ type: z285.literal("DocumentationGroupMove"),
8355
8371
  input: DTOMoveDocumentationGroupInput
8356
8372
  });
8357
- var DTODocumentationGroupDuplicateActionInputV2 = z284.object({
8358
- type: z284.literal("DocumentationGroupDuplicate"),
8373
+ var DTODocumentationGroupDuplicateActionInputV2 = z285.object({
8374
+ type: z285.literal("DocumentationGroupDuplicate"),
8359
8375
  input: DTODuplicateDocumentationGroupInput
8360
8376
  });
8361
- var DTODocumentationGroupDeleteActionInputV2 = z284.object({
8362
- type: z284.literal("DocumentationGroupDelete"),
8377
+ var DTODocumentationGroupDeleteActionInputV2 = z285.object({
8378
+ type: z285.literal("DocumentationGroupDelete"),
8363
8379
  input: DTODeleteDocumentationGroupInput
8364
8380
  });
8365
- var DTODocumentationTabGroupDeleteActionInputV2 = z284.object({
8366
- type: z284.literal("DocumentationTabGroupDelete"),
8381
+ var DTODocumentationTabGroupDeleteActionInputV2 = z285.object({
8382
+ type: z285.literal("DocumentationTabGroupDelete"),
8367
8383
  input: DTODeleteDocumentationTabGroupInput
8368
8384
  });
8369
8385
 
8370
8386
  // src/api/dto/elements/documentation/group-v1.ts
8371
- import { z as z286 } from "zod";
8387
+ import { z as z287 } from "zod";
8372
8388
 
8373
8389
  // src/api/dto/elements/documentation/item-configuration-v1.ts
8374
- import { z as z285 } from "zod";
8375
- var DocumentationColorV1 = z285.object({
8376
- aliasTo: z285.string().optional(),
8377
- value: z285.string().optional()
8390
+ import { z as z286 } from "zod";
8391
+ var DocumentationColorV1 = z286.object({
8392
+ aliasTo: z286.string().optional(),
8393
+ value: z286.string().optional()
8378
8394
  });
8379
8395
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
8380
8396
  foregroundColor: true,
@@ -8383,10 +8399,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
8383
8399
  foregroundColor: DocumentationColorV1.optional(),
8384
8400
  backgroundColor: DocumentationColorV1.optional()
8385
8401
  });
8386
- var DTODocumentationItemConfigurationV1 = z285.object({
8387
- showSidebar: z285.boolean(),
8388
- isPrivate: z285.boolean(),
8389
- isHidden: z285.boolean(),
8402
+ var DTODocumentationItemConfigurationV1 = z286.object({
8403
+ showSidebar: z286.boolean(),
8404
+ isPrivate: z286.boolean(),
8405
+ isHidden: z286.boolean(),
8390
8406
  header: DTODocumentationItemHeaderV1
8391
8407
  });
8392
8408
 
@@ -8400,145 +8416,145 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
8400
8416
  data: true,
8401
8417
  shortPersistentId: true
8402
8418
  }).extend({
8403
- title: z286.string(),
8404
- isRoot: z286.boolean(),
8405
- childrenIds: z286.array(z286.string()),
8419
+ title: z287.string(),
8420
+ isRoot: z287.boolean(),
8421
+ childrenIds: z287.array(z287.string()),
8406
8422
  groupBehavior: DocumentationGroupBehavior,
8407
- shortPersistentId: z286.string(),
8408
- type: z286.literal("Group")
8423
+ shortPersistentId: z287.string(),
8424
+ type: z287.literal("Group")
8409
8425
  });
8410
8426
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
8411
8427
  configuration: DTODocumentationItemConfigurationV1
8412
8428
  });
8413
8429
 
8414
8430
  // src/api/dto/elements/documentation/hierarchy.ts
8415
- import { z as z287 } from "zod";
8416
- var DTODocumentationHierarchyV2 = z287.object({
8417
- pages: z287.array(
8431
+ import { z as z288 } from "zod";
8432
+ var DTODocumentationHierarchyV2 = z288.object({
8433
+ pages: z288.array(
8418
8434
  DTODocumentationPageV2.extend({
8419
8435
  /** Defined when a page has changed since last publish and can be included into a partial publish */
8420
8436
  draftState: DTODocumentationDraftState.optional()
8421
8437
  })
8422
8438
  ),
8423
- groups: z287.array(
8439
+ groups: z288.array(
8424
8440
  DTODocumentationGroupV2.extend({
8425
8441
  /** Defined when a page has changed since last publish and can be included into a partial publish */
8426
8442
  draftState: DTODocumentationDraftState.optional()
8427
8443
  })
8428
8444
  ),
8429
8445
  /** True if the documentation was already published, false otherwise. */
8430
- hasPublishedDocumentationContent: z287.boolean()
8446
+ hasPublishedDocumentationContent: z288.boolean()
8431
8447
  });
8432
8448
 
8433
8449
  // src/api/dto/elements/documentation/page-actions-v2.ts
8434
- import { z as z288 } from "zod";
8435
- var SuccessPayload2 = z288.object({
8436
- success: z288.literal(true)
8450
+ import { z as z289 } from "zod";
8451
+ var SuccessPayload2 = z289.object({
8452
+ success: z289.literal(true)
8437
8453
  });
8438
- var DTODocumentationPageCreateActionOutputV2 = z288.object({
8439
- type: z288.literal("DocumentationPageCreate"),
8454
+ var DTODocumentationPageCreateActionOutputV2 = z289.object({
8455
+ type: z289.literal("DocumentationPageCreate"),
8440
8456
  output: SuccessPayload2
8441
8457
  });
8442
- var DTODocumentationPageUpdateActionOutputV2 = z288.object({
8443
- type: z288.literal("DocumentationPageUpdate"),
8458
+ var DTODocumentationPageUpdateActionOutputV2 = z289.object({
8459
+ type: z289.literal("DocumentationPageUpdate"),
8444
8460
  output: SuccessPayload2
8445
8461
  });
8446
- var DTODocumentationPageUpdateDocumentActionOutputV2 = z288.object({
8447
- type: z288.literal("DocumentationPageUpdateDocument"),
8462
+ var DTODocumentationPageUpdateDocumentActionOutputV2 = z289.object({
8463
+ type: z289.literal("DocumentationPageUpdateDocument"),
8448
8464
  output: SuccessPayload2
8449
8465
  });
8450
- var DTODocumentationPageMoveActionOutputV2 = z288.object({
8451
- type: z288.literal("DocumentationPageMove"),
8466
+ var DTODocumentationPageMoveActionOutputV2 = z289.object({
8467
+ type: z289.literal("DocumentationPageMove"),
8452
8468
  output: SuccessPayload2
8453
8469
  });
8454
- var DTODocumentationPageDuplicateActionOutputV2 = z288.object({
8455
- type: z288.literal("DocumentationPageDuplicate"),
8470
+ var DTODocumentationPageDuplicateActionOutputV2 = z289.object({
8471
+ type: z289.literal("DocumentationPageDuplicate"),
8456
8472
  output: SuccessPayload2
8457
8473
  });
8458
- var DTODocumentationPageDeleteActionOutputV2 = z288.object({
8459
- type: z288.literal("DocumentationPageDelete"),
8474
+ var DTODocumentationPageDeleteActionOutputV2 = z289.object({
8475
+ type: z289.literal("DocumentationPageDelete"),
8460
8476
  output: SuccessPayload2
8461
8477
  });
8462
- var DTODocumentationPageRestoreActionOutput = z288.object({
8463
- type: z288.literal("DocumentationPageRestore"),
8478
+ var DTODocumentationPageRestoreActionOutput = z289.object({
8479
+ type: z289.literal("DocumentationPageRestore"),
8464
8480
  output: SuccessPayload2
8465
8481
  });
8466
- var DTODocumentationGroupRestoreActionOutput = z288.object({
8467
- type: z288.literal("DocumentationGroupRestore"),
8482
+ var DTODocumentationGroupRestoreActionOutput = z289.object({
8483
+ type: z289.literal("DocumentationGroupRestore"),
8468
8484
  output: SuccessPayload2
8469
8485
  });
8470
- var DTODocumentationPageApprovalStateChangeActionOutput = z288.object({
8471
- type: z288.literal("DocumentationPageApprovalStateChange"),
8486
+ var DTODocumentationPageApprovalStateChangeActionOutput = z289.object({
8487
+ type: z289.literal("DocumentationPageApprovalStateChange"),
8472
8488
  output: SuccessPayload2
8473
8489
  });
8474
- var DTODocumentationPageCreateActionInputV2 = z288.object({
8475
- type: z288.literal("DocumentationPageCreate"),
8490
+ var DTODocumentationPageCreateActionInputV2 = z289.object({
8491
+ type: z289.literal("DocumentationPageCreate"),
8476
8492
  input: DTOCreateDocumentationPageInputV2
8477
8493
  });
8478
- var DTODocumentationPageUpdateActionInputV2 = z288.object({
8479
- type: z288.literal("DocumentationPageUpdate"),
8494
+ var DTODocumentationPageUpdateActionInputV2 = z289.object({
8495
+ type: z289.literal("DocumentationPageUpdate"),
8480
8496
  input: DTOUpdateDocumentationPageInputV2
8481
8497
  });
8482
- var DTODocumentationPageUpdateDocumentActionInputV2 = z288.object({
8483
- type: z288.literal("DocumentationPageUpdateDocument"),
8498
+ var DTODocumentationPageUpdateDocumentActionInputV2 = z289.object({
8499
+ type: z289.literal("DocumentationPageUpdateDocument"),
8484
8500
  input: DTOUpdateDocumentationPageDocumentInputV2
8485
8501
  });
8486
- var DTODocumentationPageMoveActionInputV2 = z288.object({
8487
- type: z288.literal("DocumentationPageMove"),
8502
+ var DTODocumentationPageMoveActionInputV2 = z289.object({
8503
+ type: z289.literal("DocumentationPageMove"),
8488
8504
  input: DTOMoveDocumentationPageInputV2
8489
8505
  });
8490
- var DTODocumentationPageDuplicateActionInputV2 = z288.object({
8491
- type: z288.literal("DocumentationPageDuplicate"),
8506
+ var DTODocumentationPageDuplicateActionInputV2 = z289.object({
8507
+ type: z289.literal("DocumentationPageDuplicate"),
8492
8508
  input: DTODuplicateDocumentationPageInputV2
8493
8509
  });
8494
- var DTODocumentationPageDeleteActionInputV2 = z288.object({
8495
- type: z288.literal("DocumentationPageDelete"),
8510
+ var DTODocumentationPageDeleteActionInputV2 = z289.object({
8511
+ type: z289.literal("DocumentationPageDelete"),
8496
8512
  input: DTODeleteDocumentationPageInputV2
8497
8513
  });
8498
- var DTODocumentationPageRestoreActionInput = z288.object({
8499
- type: z288.literal("DocumentationPageRestore"),
8514
+ var DTODocumentationPageRestoreActionInput = z289.object({
8515
+ type: z289.literal("DocumentationPageRestore"),
8500
8516
  input: DTORestoreDocumentationPageInput
8501
8517
  });
8502
- var DTODocumentationGroupRestoreActionInput = z288.object({
8503
- type: z288.literal("DocumentationGroupRestore"),
8518
+ var DTODocumentationGroupRestoreActionInput = z289.object({
8519
+ type: z289.literal("DocumentationGroupRestore"),
8504
8520
  input: DTORestoreDocumentationGroupInput
8505
8521
  });
8506
- var DTODocumentationPageApprovalStateChangeActionInput = z288.object({
8507
- type: z288.literal("DocumentationPageApprovalStateChange"),
8522
+ var DTODocumentationPageApprovalStateChangeActionInput = z289.object({
8523
+ type: z289.literal("DocumentationPageApprovalStateChange"),
8508
8524
  input: DTODocumentationPageApprovalStateChangeInput
8509
8525
  });
8510
8526
 
8511
8527
  // src/api/dto/elements/documentation/page-content.ts
8512
- import { z as z289 } from "zod";
8528
+ import { z as z290 } from "zod";
8513
8529
  var DTODocumentationPageContent = DocumentationPageContent;
8514
- var DTODocumentationPageContentGetResponse = z289.object({
8530
+ var DTODocumentationPageContentGetResponse = z290.object({
8515
8531
  pageContent: DTODocumentationPageContent
8516
8532
  });
8517
8533
 
8518
8534
  // src/api/dto/elements/documentation/page-dependencies.ts
8519
- import { z as z290 } from "zod";
8520
- var DTODocumentationPageDependencies = z290.object({
8521
- id: z290.string(),
8522
- designSystemVersionId: z290.string(),
8523
- createdAt: z290.coerce.date(),
8524
- updatedAt: z290.coerce.date(),
8525
- documentationPageId: z290.string(),
8526
- tokenPersistentIds: z290.array(z290.string()),
8527
- figmaComponentPersistentIds: z290.array(z290.string()),
8528
- componentPersistentIds: z290.array(z290.string()),
8529
- figmaNodePersistentIds: z290.array(z290.string()),
8530
- groupPersistentIds: z290.array(z290.string()),
8531
- propertyPersistentIds: z290.array(z290.string()),
8532
- themePersistentIds: z290.array(z290.string()),
8533
- documentationPagePersistentIds: z290.array(z290.string()),
8534
- storybookEntriesStoryIds: z290.array(z290.string())
8535
- });
8536
- var DTODocumentationPageDependenciesGetResponse = z290.object({
8537
- dependencies: z290.array(DTODocumentationPageDependencies)
8535
+ import { z as z291 } from "zod";
8536
+ var DTODocumentationPageDependencies = z291.object({
8537
+ id: z291.string(),
8538
+ designSystemVersionId: z291.string(),
8539
+ createdAt: z291.coerce.date(),
8540
+ updatedAt: z291.coerce.date(),
8541
+ documentationPageId: z291.string(),
8542
+ tokenPersistentIds: z291.array(z291.string()),
8543
+ figmaComponentPersistentIds: z291.array(z291.string()),
8544
+ componentPersistentIds: z291.array(z291.string()),
8545
+ figmaNodePersistentIds: z291.array(z291.string()),
8546
+ groupPersistentIds: z291.array(z291.string()),
8547
+ propertyPersistentIds: z291.array(z291.string()),
8548
+ themePersistentIds: z291.array(z291.string()),
8549
+ documentationPagePersistentIds: z291.array(z291.string()),
8550
+ storybookEntriesStoryIds: z291.array(z291.string())
8551
+ });
8552
+ var DTODocumentationPageDependenciesGetResponse = z291.object({
8553
+ dependencies: z291.array(DTODocumentationPageDependencies)
8538
8554
  });
8539
8555
 
8540
8556
  // src/api/dto/elements/documentation/page-v1.ts
8541
- import { z as z291 } from "zod";
8557
+ import { z as z292 } from "zod";
8542
8558
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
8543
8559
  data: true,
8544
8560
  meta: true,
@@ -8546,81 +8562,81 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
8546
8562
  sortOrder: true
8547
8563
  }).extend({
8548
8564
  configuration: DTODocumentationItemConfigurationV1,
8549
- blocks: z291.array(PageBlockV1),
8550
- title: z291.string(),
8551
- path: z291.string()
8565
+ blocks: z292.array(PageBlockV1),
8566
+ title: z292.string(),
8567
+ path: z292.string()
8552
8568
  });
8553
8569
 
8554
8570
  // src/api/dto/elements/documentation/settings.ts
8555
- import { z as z292 } from "zod";
8556
- var DTODocumentationSettings = z292.object({
8557
- isDraftFeatureAdopted: z292.boolean(),
8558
- isApprovalsFeatureEnabled: z292.boolean(),
8559
- isApprovalRequiredForPublishing: z292.boolean()
8571
+ import { z as z293 } from "zod";
8572
+ var DTODocumentationSettings = z293.object({
8573
+ isDraftFeatureAdopted: z293.boolean(),
8574
+ isApprovalsFeatureEnabled: z293.boolean(),
8575
+ isApprovalRequiredForPublishing: z293.boolean()
8560
8576
  });
8561
8577
 
8562
8578
  // src/api/dto/elements/documentation/structure.ts
8563
- import { z as z293 } from "zod";
8564
- var DTODocumentationStructureItemType = z293.enum(["Group", "Page"]);
8565
- var DTODocumentationStructureItemBase = z293.object({
8579
+ import { z as z294 } from "zod";
8580
+ var DTODocumentationStructureItemType = z294.enum(["Group", "Page"]);
8581
+ var DTODocumentationStructureItemBase = z294.object({
8566
8582
  type: DTODocumentationStructureItemType,
8567
- id: z293.string(),
8568
- designSystemVersionId: z293.string(),
8569
- shortPersistentId: z293.string(),
8570
- persistentId: z293.string(),
8571
- title: z293.string(),
8572
- createdAt: z293.coerce.date(),
8573
- updatedAt: z293.coerce.date()
8583
+ id: z294.string(),
8584
+ designSystemVersionId: z294.string(),
8585
+ shortPersistentId: z294.string(),
8586
+ persistentId: z294.string(),
8587
+ title: z294.string(),
8588
+ createdAt: z294.coerce.date(),
8589
+ updatedAt: z294.coerce.date()
8574
8590
  });
8575
8591
  var DTODocumentationStructureGroupItem = DTODocumentationStructureItemBase.extend({
8576
- type: z293.literal(DTODocumentationStructureItemType.enum.Group),
8577
- groupBehavior: z293.string(),
8578
- childrenIds: z293.string().array(),
8579
- isRoot: z293.boolean()
8592
+ type: z294.literal(DTODocumentationStructureItemType.enum.Group),
8593
+ groupBehavior: z294.string(),
8594
+ childrenIds: z294.string().array(),
8595
+ isRoot: z294.boolean()
8580
8596
  });
8581
8597
  var DTODocumentationStructurePageItem = DTODocumentationStructureItemBase.extend({
8582
- type: z293.literal(DTODocumentationStructureItemType.enum.Page),
8583
- path: z293.string()
8598
+ type: z294.literal(DTODocumentationStructureItemType.enum.Page),
8599
+ path: z294.string()
8584
8600
  });
8585
- var DTODocumentationStructureItem = z293.discriminatedUnion("type", [
8601
+ var DTODocumentationStructureItem = z294.discriminatedUnion("type", [
8586
8602
  DTODocumentationStructureGroupItem,
8587
8603
  DTODocumentationStructurePageItem
8588
8604
  ]);
8589
- var DTODocumentationStructure = z293.object({
8590
- items: z293.array(DTODocumentationStructureItem)
8605
+ var DTODocumentationStructure = z294.object({
8606
+ items: z294.array(DTODocumentationStructureItem)
8591
8607
  });
8592
8608
 
8593
8609
  // src/api/dto/elements/figma-nodes/figma-node-structure.ts
8594
- import { z as z294 } from "zod";
8595
- var DTOFigmaNodeStructure = z294.object({
8596
- id: z294.string(),
8597
- sourceId: z294.string(),
8610
+ import { z as z295 } from "zod";
8611
+ var DTOFigmaNodeStructure = z295.object({
8612
+ id: z295.string(),
8613
+ sourceId: z295.string(),
8598
8614
  importState: FigmaNodeStructureStateV2,
8599
- createdAt: z294.coerce.date(),
8600
- updatedAt: z294.coerce.date()
8615
+ createdAt: z295.coerce.date(),
8616
+ updatedAt: z295.coerce.date()
8601
8617
  });
8602
8618
  var DTOFigmaNodeStructureDetail = DTOFigmaNodeStructure.extend({
8603
8619
  rootNode: FigmaFileStructureNode
8604
8620
  });
8605
- var DTOFigmaNodeStructureListResponse = z294.object({
8621
+ var DTOFigmaNodeStructureListResponse = z295.object({
8606
8622
  structures: DTOFigmaNodeStructure.array()
8607
8623
  });
8608
- var DTOFigmaNodeStructureDetailResponse = z294.object({
8624
+ var DTOFigmaNodeStructureDetailResponse = z295.object({
8609
8625
  structure: DTOFigmaNodeStructureDetail
8610
8626
  });
8611
8627
 
8612
8628
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
8613
- import { z as z296 } from "zod";
8629
+ import { z as z297 } from "zod";
8614
8630
 
8615
8631
  // src/api/dto/elements/figma-nodes/figma-node.ts
8616
- import { z as z295 } from "zod";
8632
+ import { z as z296 } from "zod";
8617
8633
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
8618
- var DTOFigmaNodeOrigin = z295.object({
8619
- sourceId: z295.string(),
8620
- fileId: z295.string().optional(),
8621
- parentName: z295.string().optional()
8634
+ var DTOFigmaNodeOrigin = z296.object({
8635
+ sourceId: z296.string(),
8636
+ fileId: z296.string().optional(),
8637
+ parentName: z296.string().optional()
8622
8638
  });
8623
- var DTOFigmaNodeRenderInputBase = z295.object({
8639
+ var DTOFigmaNodeRenderInputBase = z296.object({
8624
8640
  /**
8625
8641
  * Format in which the node must be rendered, png by default.
8626
8642
  */
@@ -8628,57 +8644,57 @@ var DTOFigmaNodeRenderInputBase = z295.object({
8628
8644
  /**
8629
8645
  * Scale to apply to PNG images, can be between 1 and 4. Scale is ignored for other image formats.
8630
8646
  */
8631
- scale: z295.number().optional()
8647
+ scale: z296.number().optional()
8632
8648
  });
8633
8649
  var DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderInputBase.extend({
8634
- inputType: z295.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
8650
+ inputType: z296.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
8635
8651
  /**
8636
8652
  * Id of a design system's data source representing a linked Figma file
8637
8653
  */
8638
- sourceId: z295.string(),
8654
+ sourceId: z296.string(),
8639
8655
  /**
8640
8656
  * Id of a node within the Figma file
8641
8657
  */
8642
- figmaFileNodeId: z295.string()
8658
+ figmaFileNodeId: z296.string()
8643
8659
  });
8644
8660
  var DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderInputBase.extend({
8645
- inputType: z295.literal("URL"),
8661
+ inputType: z296.literal("URL"),
8646
8662
  /**
8647
8663
  * Id of a design system's data source representing a linked Figma file
8648
8664
  */
8649
- figmaNodeUrl: z295.string(),
8665
+ figmaNodeUrl: z296.string(),
8650
8666
  /**
8651
8667
  * Brand persistent id to use in case a source has to be created for this render
8652
8668
  */
8653
- brandPersistentId: z295.string()
8669
+ brandPersistentId: z296.string()
8654
8670
  });
8655
- var DTOFigmaNodeRerenderInput = z295.object({
8656
- inputType: z295.literal("Rerender"),
8671
+ var DTOFigmaNodeRerenderInput = z296.object({
8672
+ inputType: z296.literal("Rerender"),
8657
8673
  /**
8658
8674
  * Persistent ID of an existing Figma node
8659
8675
  */
8660
- figmaNodePersistentId: z295.string()
8676
+ figmaNodePersistentId: z296.string()
8661
8677
  });
8662
- var DTOFigmaNodeRenderInput = z295.discriminatedUnion("inputType", [
8678
+ var DTOFigmaNodeRenderInput = z296.discriminatedUnion("inputType", [
8663
8679
  DTOFigmaNodeRenderIdInput,
8664
8680
  DTOFigmaNodeRenderUrlInput,
8665
8681
  DTOFigmaNodeRerenderInput
8666
8682
  ]);
8667
8683
 
8668
8684
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
8669
- var DTOFigmaNodeData = z296.object({
8685
+ var DTOFigmaNodeData = z297.object({
8670
8686
  // Id of the node in the Figma file
8671
- figmaNodeId: z296.string(),
8687
+ figmaNodeId: z297.string(),
8672
8688
  // Validity
8673
- isValid: z296.boolean(),
8689
+ isValid: z297.boolean(),
8674
8690
  // Asset data
8675
- assetId: z296.string(),
8676
- assetUrl: z296.string(),
8691
+ assetId: z297.string(),
8692
+ assetUrl: z297.string(),
8677
8693
  assetFormat: DTOFigmaNodeRenderFormat,
8678
8694
  // Asset metadata
8679
- assetScale: z296.number(),
8680
- assetWidth: z296.number().optional(),
8681
- assetHeight: z296.number().optional()
8695
+ assetScale: z297.number(),
8696
+ assetWidth: z297.number().optional(),
8697
+ assetHeight: z297.number().optional()
8682
8698
  });
8683
8699
  var DTOFigmaNode = FigmaNodeReference.omit({
8684
8700
  data: true,
@@ -8689,15 +8705,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
8689
8705
  });
8690
8706
 
8691
8707
  // src/api/dto/elements/figma-nodes/figma-node-v2.ts
8692
- import { z as z297 } from "zod";
8693
- var DTOFigmaNodeDataV2 = z297.object({
8694
- sceneNodeId: z297.string(),
8708
+ import { z as z298 } from "zod";
8709
+ var DTOFigmaNodeDataV2 = z298.object({
8710
+ sceneNodeId: z298.string(),
8695
8711
  format: FigmaNodeRenderFormat,
8696
- scale: z297.number().optional(),
8712
+ scale: z298.number().optional(),
8697
8713
  renderState: FigmaNodeRenderState,
8698
8714
  renderedImage: FigmaNodeRenderedImage.optional(),
8699
8715
  renderError: FigmaNodeRenderError.optional(),
8700
- hasSource: z297.boolean()
8716
+ hasSource: z298.boolean()
8701
8717
  });
8702
8718
  var DTOFigmaNodeV2 = FigmaNodeReference.omit({
8703
8719
  data: true,
@@ -8708,113 +8724,113 @@ var DTOFigmaNodeV2 = FigmaNodeReference.omit({
8708
8724
  });
8709
8725
 
8710
8726
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
8711
- import { z as z298 } from "zod";
8712
- var DTOFigmaNodeRenderActionOutput = z298.object({
8713
- type: z298.literal("FigmaNodeRender"),
8714
- figmaNodes: z298.array(DTOFigmaNode)
8727
+ import { z as z299 } from "zod";
8728
+ var DTOFigmaNodeRenderActionOutput = z299.object({
8729
+ type: z299.literal("FigmaNodeRender"),
8730
+ figmaNodes: z299.array(DTOFigmaNode)
8715
8731
  });
8716
- var DTOFigmaNodeRenderAsyncActionOutput = z298.object({
8717
- type: z298.literal("FigmaNodeRenderAsync"),
8718
- figmaNodes: z298.array(DTOFigmaNodeV2)
8732
+ var DTOFigmaNodeRenderAsyncActionOutput = z299.object({
8733
+ type: z299.literal("FigmaNodeRenderAsync"),
8734
+ figmaNodes: z299.array(DTOFigmaNodeV2)
8719
8735
  });
8720
- var DTOFigmaNodeRenderActionInput = z298.object({
8721
- type: z298.literal("FigmaNodeRender"),
8736
+ var DTOFigmaNodeRenderActionInput = z299.object({
8737
+ type: z299.literal("FigmaNodeRender"),
8722
8738
  input: DTOFigmaNodeRenderIdInput.array()
8723
8739
  });
8724
- var DTOFigmaNodeRenderAsyncActionInput = z298.object({
8725
- type: z298.literal("FigmaNodeRenderAsync"),
8740
+ var DTOFigmaNodeRenderAsyncActionInput = z299.object({
8741
+ type: z299.literal("FigmaNodeRenderAsync"),
8726
8742
  nodes: DTOFigmaNodeRenderInput.array()
8727
8743
  });
8728
8744
 
8729
8745
  // src/api/dto/elements/frame-node-structures/frame-node-structure.ts
8730
- import { z as z299 } from "zod";
8731
- var DTOFrameNodeStructure = z299.object({
8732
- id: z299.string(),
8733
- persistentId: z299.string(),
8734
- designSystemVersionId: z299.string(),
8746
+ import { z as z300 } from "zod";
8747
+ var DTOFrameNodeStructure = z300.object({
8748
+ id: z300.string(),
8749
+ persistentId: z300.string(),
8750
+ designSystemVersionId: z300.string(),
8735
8751
  origin: FigmaFileStructureOrigin,
8736
8752
  assetsInFile: FigmaFileStructureStatistics
8737
8753
  });
8738
- var DTOFrameNodeStructureListResponse = z299.object({
8754
+ var DTOFrameNodeStructureListResponse = z300.object({
8739
8755
  structures: DTOFrameNodeStructure.array()
8740
8756
  });
8741
8757
 
8742
8758
  // src/api/dto/elements/properties/property-definitions.ts
8743
- import { z as z300 } from "zod";
8759
+ import { z as z301 } from "zod";
8744
8760
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9-]{1,99}$/;
8745
- var DTOElementPropertyDefinitionOption = z300.object({
8746
- id: z300.string(),
8747
- name: z300.string(),
8761
+ var DTOElementPropertyDefinitionOption = z301.object({
8762
+ id: z301.string(),
8763
+ name: z301.string(),
8748
8764
  backgroundColor: DTOColorTokenInlineData.optional()
8749
8765
  });
8750
- var DTOElementPropertyDefinition = z300.object({
8751
- id: z300.string(),
8752
- designSystemVersionId: z300.string(),
8766
+ var DTOElementPropertyDefinition = z301.object({
8767
+ id: z301.string(),
8768
+ designSystemVersionId: z301.string(),
8753
8769
  meta: DTOObjectMeta,
8754
- persistentId: z300.string(),
8770
+ persistentId: z301.string(),
8755
8771
  type: ElementPropertyTypeSchema,
8756
8772
  targetElementType: ElementPropertyTargetType,
8757
- codeName: z300.string().regex(CODE_NAME_REGEX2),
8758
- options: nullishToOptional(z300.array(DTOElementPropertyDefinitionOption)),
8773
+ codeName: z301.string().regex(CODE_NAME_REGEX2),
8774
+ options: nullishToOptional(z301.array(DTOElementPropertyDefinitionOption)),
8759
8775
  linkElementType: nullishToOptional(ElementPropertyLinkType),
8760
- isImmutable: z300.boolean(),
8776
+ isImmutable: z301.boolean(),
8761
8777
  immutablePropertyType: ElementPropertyImmutableType.optional()
8762
8778
  });
8763
- var DTOElementPropertyDefinitionListResponse = z300.object({
8764
- definitions: z300.array(DTOElementPropertyDefinition)
8779
+ var DTOElementPropertyDefinitionListResponse = z301.object({
8780
+ definitions: z301.array(DTOElementPropertyDefinition)
8765
8781
  });
8766
- var DTOElementPropertyDefinitionResponse = z300.object({
8782
+ var DTOElementPropertyDefinitionResponse = z301.object({
8767
8783
  definition: DTOElementPropertyDefinition
8768
8784
  });
8769
- var DTOElementPropertyDefinitionCreatePayload = z300.object({
8785
+ var DTOElementPropertyDefinitionCreatePayload = z301.object({
8770
8786
  meta: DTOObjectMeta,
8771
- persistentId: z300.string(),
8787
+ persistentId: z301.string(),
8772
8788
  type: ElementPropertyTypeSchema,
8773
8789
  targetElementType: ElementPropertyTargetType,
8774
- codeName: z300.string().regex(CODE_NAME_REGEX2),
8775
- options: nullishToOptional(z300.array(DTOElementPropertyDefinitionOption)),
8790
+ codeName: z301.string().regex(CODE_NAME_REGEX2),
8791
+ options: nullishToOptional(z301.array(DTOElementPropertyDefinitionOption)),
8776
8792
  linkElementType: nullishToOptional(ElementPropertyLinkType),
8777
- columnWidth: z300.number().max(1024).optional()
8793
+ columnWidth: z301.number().max(1024).optional()
8778
8794
  });
8779
- var DTOElementPropertyDefinitionUpdatePayload = z300.object({
8795
+ var DTOElementPropertyDefinitionUpdatePayload = z301.object({
8780
8796
  meta: DTOObjectMeta.optional(),
8781
- codeName: z300.string().regex(CODE_NAME_REGEX2).optional(),
8782
- options: z300.array(DTOElementPropertyDefinitionOption).optional()
8797
+ codeName: z301.string().regex(CODE_NAME_REGEX2).optional(),
8798
+ options: z301.array(DTOElementPropertyDefinitionOption).optional()
8783
8799
  });
8784
8800
 
8785
8801
  // src/api/dto/elements/properties/property-values.ts
8786
- import { z as z301 } from "zod";
8787
- var DTOElementPropertyValue = z301.object({
8788
- id: z301.string(),
8789
- designSystemVersionId: z301.string(),
8790
- definitionId: z301.string(),
8791
- targetElementId: z301.string(),
8792
- value: z301.union([z301.string(), z301.number(), z301.boolean()]).optional(),
8793
- valuePreview: z301.string().optional()
8794
- });
8795
- var DTOElementPropertyValueListResponse = z301.object({
8796
- values: z301.array(DTOElementPropertyValue)
8797
- });
8798
- var DTOElementPropertyValueResponse = z301.object({
8802
+ import { z as z302 } from "zod";
8803
+ var DTOElementPropertyValue = z302.object({
8804
+ id: z302.string(),
8805
+ designSystemVersionId: z302.string(),
8806
+ definitionId: z302.string(),
8807
+ targetElementId: z302.string(),
8808
+ value: z302.union([z302.string(), z302.number(), z302.boolean()]).optional(),
8809
+ valuePreview: z302.string().optional()
8810
+ });
8811
+ var DTOElementPropertyValueListResponse = z302.object({
8812
+ values: z302.array(DTOElementPropertyValue)
8813
+ });
8814
+ var DTOElementPropertyValueResponse = z302.object({
8799
8815
  value: DTOElementPropertyValue
8800
8816
  });
8801
- var DTOElementPropertyValuesEditActionOutput = z301.object({
8802
- type: z301.literal("ElementPropertyValuesEdit"),
8803
- output: z301.object({ success: z301.literal(true) })
8817
+ var DTOElementPropertyValuesEditActionOutput = z302.object({
8818
+ type: z302.literal("ElementPropertyValuesEdit"),
8819
+ output: z302.object({ success: z302.literal(true) })
8804
8820
  });
8805
- var DTOElementPropertyValueUpsertPaylod = z301.object({
8806
- definitionId: z301.string(),
8807
- targetElementId: z301.string(),
8808
- value: z301.string().or(z301.number()).or(z301.boolean()).nullable()
8821
+ var DTOElementPropertyValueUpsertPaylod = z302.object({
8822
+ definitionId: z302.string(),
8823
+ targetElementId: z302.string(),
8824
+ value: z302.string().or(z302.number()).or(z302.boolean()).nullable()
8809
8825
  });
8810
- var DTOElementPropertyValuesEditActionInput = z301.object({
8811
- type: z301.literal("ElementPropertyValuesEdit"),
8826
+ var DTOElementPropertyValuesEditActionInput = z302.object({
8827
+ type: z302.literal("ElementPropertyValuesEdit"),
8812
8828
  values: DTOElementPropertyValueUpsertPaylod.array()
8813
8829
  });
8814
8830
 
8815
8831
  // src/api/dto/elements/elements-action-v2.ts
8816
- import { z as z302 } from "zod";
8817
- var DTOElementActionOutput = z302.discriminatedUnion("type", [
8832
+ import { z as z303 } from "zod";
8833
+ var DTOElementActionOutput = z303.discriminatedUnion("type", [
8818
8834
  // Documentation pages
8819
8835
  DTODocumentationPageCreateActionOutputV2,
8820
8836
  DTODocumentationPageUpdateActionOutputV2,
@@ -8841,7 +8857,7 @@ var DTOElementActionOutput = z302.discriminatedUnion("type", [
8841
8857
  // Element properties
8842
8858
  DTOElementPropertyValuesEditActionOutput
8843
8859
  ]);
8844
- var DTOElementActionInput = z302.discriminatedUnion("type", [
8860
+ var DTOElementActionInput = z303.discriminatedUnion("type", [
8845
8861
  // Documentation pages
8846
8862
  DTODocumentationPageCreateActionInputV2,
8847
8863
  DTODocumentationPageUpdateActionInputV2,
@@ -8868,78 +8884,78 @@ var DTOElementActionInput = z302.discriminatedUnion("type", [
8868
8884
  // Element properties
8869
8885
  DTOElementPropertyValuesEditActionInput
8870
8886
  ]).and(
8871
- z302.object({
8872
- tId: z302.string().optional()
8887
+ z303.object({
8888
+ tId: z303.string().optional()
8873
8889
  })
8874
8890
  );
8875
8891
 
8876
8892
  // src/api/dto/elements/get-elements-v2.ts
8877
- import { z as z303 } from "zod";
8878
- var DTOElementsGetTypeFilter = z303.enum(["FigmaNode"]);
8879
- var DTOElementsGetQuerySchema = z303.object({
8880
- types: z303.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
8881
- responseVersion: z303.coerce.number().default(1)
8893
+ import { z as z304 } from "zod";
8894
+ var DTOElementsGetTypeFilter = z304.enum(["FigmaNode"]);
8895
+ var DTOElementsGetQuerySchema = z304.object({
8896
+ types: z304.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
8897
+ responseVersion: z304.coerce.number().default(1)
8882
8898
  });
8883
- var DTOElementsGetOutput = z303.object({
8884
- figmaNodes: z303.array(DTOFigmaNode).optional()
8899
+ var DTOElementsGetOutput = z304.object({
8900
+ figmaNodes: z304.array(DTOFigmaNode).optional()
8885
8901
  });
8886
- var DTOElementsGetOutputV2 = z303.object({
8887
- figmaNodes: z303.array(DTOFigmaNodeV2).optional()
8902
+ var DTOElementsGetOutputV2 = z304.object({
8903
+ figmaNodes: z304.array(DTOFigmaNodeV2).optional()
8888
8904
  });
8889
8905
 
8890
8906
  // src/api/dto/figma-components/assets/download.ts
8891
- import { z as z304 } from "zod";
8892
- var DTOAssetRenderConfiguration = z304.object({
8893
- prefix: z304.string().optional(),
8894
- suffix: z304.string().optional(),
8895
- scale: z304.enum(["x1", "x2", "x3", "x4"]),
8896
- format: z304.enum(["png", "pdf", "svg"])
8897
- });
8898
- var DTORenderedAssetFile = z304.object({
8899
- assetId: z304.string(),
8900
- fileName: z304.string(),
8901
- sourceUrl: z304.string(),
8907
+ import { z as z305 } from "zod";
8908
+ var DTOAssetRenderConfiguration = z305.object({
8909
+ prefix: z305.string().optional(),
8910
+ suffix: z305.string().optional(),
8911
+ scale: z305.enum(["x1", "x2", "x3", "x4"]),
8912
+ format: z305.enum(["png", "pdf", "svg"])
8913
+ });
8914
+ var DTORenderedAssetFile = z305.object({
8915
+ assetId: z305.string(),
8916
+ fileName: z305.string(),
8917
+ sourceUrl: z305.string(),
8902
8918
  settings: DTOAssetRenderConfiguration,
8903
- originalName: z304.string()
8919
+ originalName: z305.string()
8904
8920
  });
8905
- var DTODownloadAssetsRequest = z304.object({
8906
- persistentIds: z304.array(z304.string().uuid()).optional(),
8921
+ var DTODownloadAssetsRequest = z305.object({
8922
+ persistentIds: z305.array(z305.string().uuid()).optional(),
8907
8923
  settings: DTOAssetRenderConfiguration.array()
8908
8924
  });
8909
- var DTODownloadAssetsResponse = z304.object({
8925
+ var DTODownloadAssetsResponse = z305.object({
8910
8926
  items: DTORenderedAssetFile.array()
8911
8927
  });
8912
8928
 
8913
8929
  // src/api/dto/figma-exporter/figma-node.ts
8914
- import { z as z305 } from "zod";
8915
- var DTOFigmaNodeResponse = z305.object({
8930
+ import { z as z306 } from "zod";
8931
+ var DTOFigmaNodeResponse = z306.object({
8916
8932
  nodes: FigmaExporterAnyDesignNodeSchema
8917
8933
  });
8918
8934
 
8919
8935
  // src/api/dto/forge/agent.ts
8920
- import { z as z306 } from "zod";
8936
+ import { z as z307 } from "zod";
8921
8937
  var DTOForgeAgent = ForgeAgent;
8922
8938
  var DTOForgeAvatarBuilder = ForgeAvatarBuilder;
8923
8939
  var DTOCreateForgeAgent = DTOForgeAgent.omit({ projectId: true });
8924
- var DTOUpdateForgeAgent = DTOCreateForgeAgent.extend({ id: z306.string() });
8925
- var DTOCreateForgeAgentResponse = z306.object({
8940
+ var DTOUpdateForgeAgent = DTOCreateForgeAgent.extend({ id: z307.string() });
8941
+ var DTOCreateForgeAgentResponse = z307.object({
8926
8942
  agent: DTOForgeAgent
8927
8943
  });
8928
- var DTOUGetForgeAgentResponse = z306.object({
8944
+ var DTOUGetForgeAgentResponse = z307.object({
8929
8945
  agent: DTOForgeAgent.nullable()
8930
8946
  });
8931
- var DTOUpdateForgeAgentResponse = z306.object({
8947
+ var DTOUpdateForgeAgentResponse = z307.object({
8932
8948
  agent: DTOForgeAgent.nullable()
8933
8949
  });
8934
- var DTOForgeAgentsListResponse = z306.object({
8935
- agents: z306.array(DTOForgeAgent)
8950
+ var DTOForgeAgentsListResponse = z307.object({
8951
+ agents: z307.array(DTOForgeAgent)
8936
8952
  });
8937
- var DTODeleteForgeAgentResponse = z306.object({
8938
- ok: z306.literal(true)
8953
+ var DTODeleteForgeAgentResponse = z307.object({
8954
+ ok: z307.literal(true)
8939
8955
  });
8940
8956
 
8941
8957
  // src/api/dto/forge/artifact.ts
8942
- import { z as z307 } from "zod";
8958
+ import { z as z308 } from "zod";
8943
8959
  var DTOCreateForgeBuildArtifact = ForgeBuildArtifact.omit({
8944
8960
  id: true,
8945
8961
  createdAt: true,
@@ -8960,48 +8976,48 @@ var DTOCreateForgeSpecArtifact = ForgeSpecArtifact.omit({
8960
8976
  createdAt: true,
8961
8977
  projectIterationId: true
8962
8978
  });
8963
- var DTOUpdateForgeBuildArtifact = DTOCreateForgeBuildArtifact.extend({ id: z307.string() });
8964
- var DTOUpdateForgeFileArtifact = DTOCreateForgeFileArtifact.extend({ id: z307.string() });
8965
- var DTOUpdateForgeFigmaArtifact = DTOCreateForgeFigmaArtifact.extend({ id: z307.string() });
8966
- var DTOUpdateForgeSpecArtifact = DTOCreateForgeSpecArtifact.extend({ id: z307.string() });
8979
+ var DTOUpdateForgeBuildArtifact = DTOCreateForgeBuildArtifact.extend({ id: z308.string() });
8980
+ var DTOUpdateForgeFileArtifact = DTOCreateForgeFileArtifact.extend({ id: z308.string() });
8981
+ var DTOUpdateForgeFigmaArtifact = DTOCreateForgeFigmaArtifact.extend({ id: z308.string() });
8982
+ var DTOUpdateForgeSpecArtifact = DTOCreateForgeSpecArtifact.extend({ id: z308.string() });
8967
8983
  var DTOForgeArtifact = ForgeArtifact;
8968
8984
  var DTOForgeBuildArtifact = ForgeBuildArtifact;
8969
8985
  var DTOForgeFileArtifact = ForgeFileArtifact;
8970
8986
  var DTOForgeFigmaArtifact = ForgeFigmaArtifact;
8971
8987
  var DTOForgeSpecArtifact = ForgeSpecArtifact;
8972
- var DTOCreateForgeArtifact = z307.union([
8988
+ var DTOCreateForgeArtifact = z308.union([
8973
8989
  DTOCreateForgeBuildArtifact,
8974
8990
  DTOCreateForgeFileArtifact,
8975
8991
  DTOCreateForgeFigmaArtifact,
8976
8992
  DTOCreateForgeSpecArtifact
8977
8993
  ]);
8978
- var DTOUpdateForgeArtifact = z307.union([
8994
+ var DTOUpdateForgeArtifact = z308.union([
8979
8995
  DTOUpdateForgeFileArtifact,
8980
8996
  DTOUpdateForgeBuildArtifact,
8981
8997
  DTOUpdateForgeSpecArtifact,
8982
8998
  DTOUpdateForgeFigmaArtifact
8983
8999
  ]);
8984
- var DTOCreateForgeArtifactResponse = z307.object({
9000
+ var DTOCreateForgeArtifactResponse = z308.object({
8985
9001
  artifact: DTOForgeArtifact
8986
9002
  });
8987
- var DTOUpdateForgeArtifactResponse = z307.object({
9003
+ var DTOUpdateForgeArtifactResponse = z308.object({
8988
9004
  artifact: DTOForgeArtifact.nullable()
8989
9005
  });
8990
- var DTODeleteForgeArtifactResponse = z307.object({
8991
- ok: z307.literal(true)
9006
+ var DTODeleteForgeArtifactResponse = z308.object({
9007
+ ok: z308.literal(true)
8992
9008
  });
8993
- var DTOForgeArtifactsListResponse = z307.object({
8994
- artifacts: z307.array(DTOForgeArtifact)
9009
+ var DTOForgeArtifactsListResponse = z308.object({
9010
+ artifacts: z308.array(DTOForgeArtifact)
8995
9011
  });
8996
- var DTOForgeArtifactGetResponse = z307.object({
9012
+ var DTOForgeArtifactGetResponse = z308.object({
8997
9013
  artifact: DTOForgeArtifact.nullable()
8998
9014
  });
8999
9015
 
9000
9016
  // src/api/dto/forge/iteration-message.ts
9001
- import { z as z309 } from "zod";
9017
+ import { z as z310 } from "zod";
9002
9018
 
9003
9019
  // src/api/dto/forge/participant.ts
9004
- import { z as z308 } from "zod";
9020
+ import { z as z309 } from "zod";
9005
9021
  var DTOForgeParticipant = ForgeParticipant.omit({ agent: true, user: true }).extend({
9006
9022
  agent: DTOForgeAgent.optional(),
9007
9023
  user: DTOUser.optional()
@@ -9011,20 +9027,20 @@ var DTOCreateForgeParticipant = DTOForgeParticipant.omit({
9011
9027
  agent: true,
9012
9028
  user: true
9013
9029
  });
9014
- var DTOUpdateForgeParticipant = DTOCreateForgeParticipant.extend({ id: z308.string() });
9015
- var DTOCreateForgeParticipantResponse = z308.object({
9030
+ var DTOUpdateForgeParticipant = DTOCreateForgeParticipant.extend({ id: z309.string() });
9031
+ var DTOCreateForgeParticipantResponse = z309.object({
9016
9032
  participant: DTOForgeParticipant
9017
9033
  });
9018
- var DTOUpdateForgeParticipantResponse = z308.object({
9034
+ var DTOUpdateForgeParticipantResponse = z309.object({
9019
9035
  participant: DTOForgeParticipant.nullable()
9020
9036
  });
9021
- var DTODeleteForgeParticipantResponse = z308.object({
9022
- ok: z308.literal(true)
9037
+ var DTODeleteForgeParticipantResponse = z309.object({
9038
+ ok: z309.literal(true)
9023
9039
  });
9024
- var DTOForgeParticipantsListResponse = z308.object({
9025
- participants: z308.array(DTOForgeParticipant)
9040
+ var DTOForgeParticipantsListResponse = z309.object({
9041
+ participants: z309.array(DTOForgeParticipant)
9026
9042
  });
9027
- var DTOForgeParticipantGetResponse = z308.object({
9043
+ var DTOForgeParticipantGetResponse = z309.object({
9028
9044
  participant: DTOForgeParticipant.nullable()
9029
9045
  });
9030
9046
 
@@ -9036,32 +9052,32 @@ var DTOCreateForgeIterationMessage = DTOForgeIterationMessage.omit({
9036
9052
  projectIterationId: true,
9037
9053
  participant: true
9038
9054
  });
9039
- var DTOGetForgeIterationMessageResponse = z309.object({
9055
+ var DTOGetForgeIterationMessageResponse = z310.object({
9040
9056
  message: DTOForgeIterationMessage.nullable()
9041
9057
  });
9042
- var DTOForgeIterationMessagesListResponse = z309.object({
9043
- messages: z309.array(DTOForgeIterationMessage)
9058
+ var DTOForgeIterationMessagesListResponse = z310.object({
9059
+ messages: z310.array(DTOForgeIterationMessage)
9044
9060
  });
9045
- var DTOUpdateForgeIterationMessage = DTOCreateForgeIterationMessage.extend({ id: z309.string() });
9046
- var DTOCreateForgeIterationMessageResponse = z309.object({
9061
+ var DTOUpdateForgeIterationMessage = DTOCreateForgeIterationMessage.extend({ id: z310.string() });
9062
+ var DTOCreateForgeIterationMessageResponse = z310.object({
9047
9063
  message: DTOForgeIterationMessage
9048
9064
  });
9049
- var DTOUpdateForgeIterationMessageResponse = z309.object({
9065
+ var DTOUpdateForgeIterationMessageResponse = z310.object({
9050
9066
  message: DTOForgeIterationMessage.nullable()
9051
9067
  });
9052
- var DTODeleteForgeIterationMessageResponse = z309.object({
9053
- ok: z309.literal(true)
9068
+ var DTODeleteForgeIterationMessageResponse = z310.object({
9069
+ ok: z310.literal(true)
9054
9070
  });
9055
9071
 
9056
9072
  // src/api/dto/forge/project-action.ts
9057
- import z313 from "zod";
9073
+ import z314 from "zod";
9058
9074
 
9059
9075
  // src/api/dto/forge/project-artifact.ts
9060
- import { z as z311 } from "zod";
9076
+ import { z as z312 } from "zod";
9061
9077
 
9062
9078
  // src/api/dto/forge/project-section.ts
9063
- import z310 from "zod";
9064
- var AfterSectionId = z310.string().uuid().nullish().optional();
9079
+ import z311 from "zod";
9080
+ var AfterSectionId = z311.string().uuid().nullish().optional();
9065
9081
  var DTOForgeSection = ForgeSection;
9066
9082
  var DTOForgeSectionCreateInput = DTOForgeSection.pick({
9067
9083
  id: true,
@@ -9072,12 +9088,12 @@ var DTOForgeSectionCreateInput = DTOForgeSection.pick({
9072
9088
  });
9073
9089
  var DTOForgeSectionUpdateInput = DTOForgeSection.pick({ id: true, name: true });
9074
9090
  var DTOForgeSectionDeleteInput = DTOForgeSection.pick({ id: true }).extend({
9075
- deleteChildren: z310.boolean().default(false)
9091
+ deleteChildren: z311.boolean().default(false)
9076
9092
  });
9077
9093
  var DTOForgeSectionMoveInput = DTOForgeSection.pick({ id: true }).extend({
9078
9094
  afterSectionId: AfterSectionId
9079
9095
  });
9080
- var DTOForgeSectionItemMoveInput = z310.object({
9096
+ var DTOForgeSectionItemMoveInput = z311.object({
9081
9097
  id: Id,
9082
9098
  sectionId: Id.nullish().optional(),
9083
9099
  // undefined=stay, null=no section, string=move to section
@@ -9087,116 +9103,116 @@ var DTOForgeSectionItemMoveInput = z310.object({
9087
9103
 
9088
9104
  // src/api/dto/forge/project-artifact.ts
9089
9105
  var DTOForgeProjectArtifact = ForgeProjectArtifact;
9090
- var DTOForgeProjectArtifactUpdateInput = z311.object({
9091
- id: z311.string(),
9092
- title: z311.string().optional()
9106
+ var DTOForgeProjectArtifactUpdateInput = z312.object({
9107
+ id: z312.string(),
9108
+ title: z312.string().optional()
9093
9109
  });
9094
- var DTOForgeProjectArtifactCreateInput = z311.object({
9095
- id: z311.string(),
9096
- title: z311.string(),
9097
- sectionId: z311.string().optional(),
9098
- afterArtifactId: z311.string().optional().nullable()
9110
+ var DTOForgeProjectArtifactCreateInput = z312.object({
9111
+ id: z312.string(),
9112
+ title: z312.string(),
9113
+ sectionId: z312.string().optional(),
9114
+ afterArtifactId: z312.string().optional().nullable()
9099
9115
  });
9100
- var DTOForgeProjectArtifactDeleteInput = z311.object({
9116
+ var DTOForgeProjectArtifactDeleteInput = z312.object({
9101
9117
  id: Id
9102
9118
  });
9103
9119
  var DTOForgeProjectArtifactMoveInput = DTOForgeSectionItemMoveInput;
9104
- var DTOForgeProjectArtifactGetResponse = z311.object({
9120
+ var DTOForgeProjectArtifactGetResponse = z312.object({
9105
9121
  artifact: DTOForgeProjectArtifact
9106
9122
  });
9107
- var DTOForgeProjectArtifactCreateResponse = z311.object({
9123
+ var DTOForgeProjectArtifactCreateResponse = z312.object({
9108
9124
  artifact: DTOForgeProjectArtifact
9109
9125
  });
9110
- var DTOForgeProjectArtifactUpdateResponse = z311.object({
9126
+ var DTOForgeProjectArtifactUpdateResponse = z312.object({
9111
9127
  artifact: DTOForgeProjectArtifact
9112
9128
  });
9113
- var DTOForgeProjectArtifactDeleteResponse = z311.object({
9114
- ok: z311.literal(true)
9129
+ var DTOForgeProjectArtifactDeleteResponse = z312.object({
9130
+ ok: z312.literal(true)
9115
9131
  });
9116
- var DTOForgeProjectArtifactMoveResponse = z311.object({
9132
+ var DTOForgeProjectArtifactMoveResponse = z312.object({
9117
9133
  artifact: DTOForgeProjectArtifact
9118
9134
  });
9119
- var DTOForgeProjectArtifactsListResponse = z311.object({
9120
- artifacts: z311.array(DTOForgeProjectArtifact)
9135
+ var DTOForgeProjectArtifactsListResponse = z312.object({
9136
+ artifacts: z312.array(DTOForgeProjectArtifact)
9121
9137
  });
9122
9138
 
9123
9139
  // src/api/dto/forge/project-feature.ts
9124
- import z312 from "zod";
9140
+ import z313 from "zod";
9125
9141
  var DTOForgeProjectFeature = ProjectFeature;
9126
- var DTOForgeProjectFeatureListResponse = z312.object({
9142
+ var DTOForgeProjectFeatureListResponse = z313.object({
9127
9143
  features: DTOForgeProjectFeature.array()
9128
9144
  });
9129
- var DTOForgeProjectFeatureGetResponse = z312.object({
9145
+ var DTOForgeProjectFeatureGetResponse = z313.object({
9130
9146
  feature: DTOForgeProjectFeature
9131
9147
  });
9132
- var DTOForgeProjectFeatureCreateInput = z312.object({
9148
+ var DTOForgeProjectFeatureCreateInput = z313.object({
9133
9149
  id: Id,
9134
- name: z312.string(),
9135
- description: z312.string(),
9150
+ name: z313.string(),
9151
+ description: z313.string(),
9136
9152
  sectionId: Id.optional(),
9137
9153
  afterFeatureId: Id.nullable().optional()
9138
9154
  });
9139
- var DTOForgeProjectFeatureUpdateInput = z312.object({
9155
+ var DTOForgeProjectFeatureUpdateInput = z313.object({
9140
9156
  id: Id,
9141
- name: z312.string().optional(),
9142
- description: z312.string().optional(),
9143
- isArchived: z312.boolean().optional()
9157
+ name: z313.string().optional(),
9158
+ description: z313.string().optional(),
9159
+ isArchived: z313.boolean().optional()
9144
9160
  });
9145
- var DTOForgeProjectFeatureDeleteInput = z312.object({
9161
+ var DTOForgeProjectFeatureDeleteInput = z313.object({
9146
9162
  id: Id
9147
9163
  });
9148
9164
  var DTOForgeProjectFeatureMoveInput = DTOForgeSectionItemMoveInput;
9149
9165
 
9150
9166
  // src/api/dto/forge/project-action.ts
9151
- var DTOForgeProjectActionFeatureCreate = z313.object({
9152
- type: z313.literal("FeatureCreate"),
9167
+ var DTOForgeProjectActionFeatureCreate = z314.object({
9168
+ type: z314.literal("FeatureCreate"),
9153
9169
  input: DTOForgeProjectFeatureCreateInput
9154
9170
  });
9155
- var DTOForgeProjectActionFeatureUpdate = z313.object({
9156
- type: z313.literal("FeatureUpdate"),
9171
+ var DTOForgeProjectActionFeatureUpdate = z314.object({
9172
+ type: z314.literal("FeatureUpdate"),
9157
9173
  input: DTOForgeProjectFeatureUpdateInput
9158
9174
  });
9159
- var DTOForgeProjectActionFeatureMove = z313.object({
9160
- type: z313.literal("FeatureMove"),
9175
+ var DTOForgeProjectActionFeatureMove = z314.object({
9176
+ type: z314.literal("FeatureMove"),
9161
9177
  input: DTOForgeProjectFeatureMoveInput
9162
9178
  });
9163
- var DTOForgeProjectActionFeatureDelete = z313.object({
9164
- type: z313.literal("FeatureDelete"),
9179
+ var DTOForgeProjectActionFeatureDelete = z314.object({
9180
+ type: z314.literal("FeatureDelete"),
9165
9181
  input: DTOForgeProjectFeatureDeleteInput
9166
9182
  });
9167
- var DTOForgeProjectActionArtifactCreate = z313.object({
9168
- type: z313.literal("ArtifactCreate"),
9183
+ var DTOForgeProjectActionArtifactCreate = z314.object({
9184
+ type: z314.literal("ArtifactCreate"),
9169
9185
  input: DTOForgeProjectArtifactCreateInput
9170
9186
  });
9171
- var DTOForgeProjectActionArtifactUpdate = z313.object({
9172
- type: z313.literal("ArtifactUpdate"),
9187
+ var DTOForgeProjectActionArtifactUpdate = z314.object({
9188
+ type: z314.literal("ArtifactUpdate"),
9173
9189
  input: DTOForgeProjectArtifactUpdateInput
9174
9190
  });
9175
- var DTOForgeProjectActionArtifactDelete = z313.object({
9176
- type: z313.literal("ArtifactDelete"),
9191
+ var DTOForgeProjectActionArtifactDelete = z314.object({
9192
+ type: z314.literal("ArtifactDelete"),
9177
9193
  input: DTOForgeProjectArtifactDeleteInput
9178
9194
  });
9179
- var DTOForgeProjectActionArtifactMove = z313.object({
9180
- type: z313.literal("ArtifactMove"),
9195
+ var DTOForgeProjectActionArtifactMove = z314.object({
9196
+ type: z314.literal("ArtifactMove"),
9181
9197
  input: DTOForgeProjectArtifactMoveInput
9182
9198
  });
9183
- var DTOForgeProjectActionSectionCreate = z313.object({
9184
- type: z313.literal("SectionCreate"),
9199
+ var DTOForgeProjectActionSectionCreate = z314.object({
9200
+ type: z314.literal("SectionCreate"),
9185
9201
  input: DTOForgeSectionCreateInput
9186
9202
  });
9187
- var DTOForgeProjectActionSectionUpdate = z313.object({
9188
- type: z313.literal("SectionUpdate"),
9203
+ var DTOForgeProjectActionSectionUpdate = z314.object({
9204
+ type: z314.literal("SectionUpdate"),
9189
9205
  input: DTOForgeSectionUpdateInput
9190
9206
  });
9191
- var DTOForgeProjectActionSectionDelete = z313.object({
9192
- type: z313.literal("SectionDelete"),
9207
+ var DTOForgeProjectActionSectionDelete = z314.object({
9208
+ type: z314.literal("SectionDelete"),
9193
9209
  input: DTOForgeSectionDeleteInput
9194
9210
  });
9195
- var DTOForgeProjectActionSectionMove = z313.object({
9196
- type: z313.literal("SectionMove"),
9211
+ var DTOForgeProjectActionSectionMove = z314.object({
9212
+ type: z314.literal("SectionMove"),
9197
9213
  input: DTOForgeSectionMoveInput
9198
9214
  });
9199
- var DTOForgeProjectAction = z313.discriminatedUnion("type", [
9215
+ var DTOForgeProjectAction = z314.discriminatedUnion("type", [
9200
9216
  //features
9201
9217
  DTOForgeProjectActionFeatureCreate,
9202
9218
  DTOForgeProjectActionFeatureUpdate,
@@ -9213,22 +9229,22 @@ var DTOForgeProjectAction = z313.discriminatedUnion("type", [
9213
9229
  DTOForgeProjectActionSectionDelete,
9214
9230
  DTOForgeProjectActionSectionMove
9215
9231
  ]).and(
9216
- z313.object({
9217
- tId: z313.string().optional()
9232
+ z314.object({
9233
+ tId: z314.string().optional()
9218
9234
  })
9219
9235
  );
9220
9236
 
9221
9237
  // src/api/dto/forge/project-artifact-room.ts
9222
- import { z as z314 } from "zod";
9223
- var DTOForgeProjectArtifactRoom = z314.object({
9224
- id: z314.string()
9238
+ import { z as z315 } from "zod";
9239
+ var DTOForgeProjectArtifactRoom = z315.object({
9240
+ id: z315.string()
9225
9241
  });
9226
- var DTOForgeProjectArtifactRoomResponse = z314.object({
9242
+ var DTOForgeProjectArtifactRoomResponse = z315.object({
9227
9243
  room: DTOForgeProjectArtifactRoom
9228
9244
  });
9229
9245
 
9230
9246
  // src/api/dto/forge/project-context.ts
9231
- import { z as z315 } from "zod";
9247
+ import { z as z316 } from "zod";
9232
9248
  var DTOForgeProjectContext = ForgeProjectContext;
9233
9249
  var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
9234
9250
  definition: true,
@@ -9240,17 +9256,17 @@ var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
9240
9256
  tailwindConfig: true,
9241
9257
  styling: true
9242
9258
  }).extend({ npmProxySettings: DTONpmRegistryConfig });
9243
- var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id: z315.string() });
9244
- var DTOForgeProjectContextGetResponse = z315.object({ context: DTOForgeProjectContext });
9245
- var DTOForgeProjectContextListResponse = z315.object({ contexts: z315.array(DTOForgeProjectContext) });
9246
- var DTOForgeProjectContextCreateResponse = z315.object({ context: DTOForgeProjectContext });
9247
- var DTOForgeProjectContextUpdateResponse = z315.object({ context: DTOForgeProjectContext });
9248
- var DTOForgeProjectContextRemoveResponse = z315.object({
9249
- ok: z315.literal(true)
9259
+ var DTOUpdateForgeProjectContext = DTOCreateForgeProjectContext.partial().extend({ id: z316.string() });
9260
+ var DTOForgeProjectContextGetResponse = z316.object({ context: DTOForgeProjectContext });
9261
+ var DTOForgeProjectContextListResponse = z316.object({ contexts: z316.array(DTOForgeProjectContext) });
9262
+ var DTOForgeProjectContextCreateResponse = z316.object({ context: DTOForgeProjectContext });
9263
+ var DTOForgeProjectContextUpdateResponse = z316.object({ context: DTOForgeProjectContext });
9264
+ var DTOForgeProjectContextRemoveResponse = z316.object({
9265
+ ok: z316.literal(true)
9250
9266
  });
9251
9267
 
9252
9268
  // src/api/dto/forge/project-invitation.ts
9253
- import { z as z316 } from "zod";
9269
+ import { z as z317 } from "zod";
9254
9270
  var DTOForgeProjectInvitation = ForgeProjectInvitation;
9255
9271
  var DTOCreateForgeProjectInvitation = DTOForgeProjectInvitation.pick({
9256
9272
  email: true,
@@ -9265,24 +9281,24 @@ var DTOUpdateForgeProjectInvitation = DTOCreateForgeProjectInvitation.omit({
9265
9281
  var DTORemoveForgeProjectInvitation = DTOCreateForgeProjectInvitation.pick({
9266
9282
  email: true
9267
9283
  });
9268
- var DTOForgeProjectInvitationsListResponse = z316.object({
9269
- invitations: z316.array(DTOForgeProjectInvitation)
9284
+ var DTOForgeProjectInvitationsListResponse = z317.object({
9285
+ invitations: z317.array(DTOForgeProjectInvitation)
9270
9286
  });
9271
- var DTOForgeProjectInvitationGetResponse = z316.object({
9287
+ var DTOForgeProjectInvitationGetResponse = z317.object({
9272
9288
  invitation: DTOForgeProjectInvitation
9273
9289
  });
9274
- var DTOForgeProjectInvitationCreateResponse = z316.object({
9290
+ var DTOForgeProjectInvitationCreateResponse = z317.object({
9275
9291
  invitation: DTOForgeProjectInvitation
9276
9292
  });
9277
- var DTOForgeProjectInvitationUpdateResponse = z316.object({
9293
+ var DTOForgeProjectInvitationUpdateResponse = z317.object({
9278
9294
  invitation: DTOForgeProjectInvitation.nullable()
9279
9295
  });
9280
- var DTOForgeProjectInvitationRemoveResponse = z316.object({
9281
- ok: z316.literal(true)
9296
+ var DTOForgeProjectInvitationRemoveResponse = z317.object({
9297
+ ok: z317.literal(true)
9282
9298
  });
9283
9299
 
9284
9300
  // src/api/dto/forge/project-iteration.ts
9285
- import { z as z317 } from "zod";
9301
+ import { z as z318 } from "zod";
9286
9302
  var DTOForgeProjectIterationMergeMeta = ForgeProjectIterationMergeMeta;
9287
9303
  var DTOForgeProjectIteration = ForgeProjectIteration.omit({
9288
9304
  artifacts: true,
@@ -9293,7 +9309,7 @@ var DTOForgeProjectIteration = ForgeProjectIteration.omit({
9293
9309
  messages: DTOForgeIterationMessage.array(),
9294
9310
  mergeMeta: DTOForgeProjectIterationMergeMeta.optional()
9295
9311
  });
9296
- var DTOGetForgeProjectIterationResponse = z317.object({
9312
+ var DTOGetForgeProjectIterationResponse = z318.object({
9297
9313
  iteration: DTOForgeProjectIteration.nullable()
9298
9314
  });
9299
9315
  var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
@@ -9303,20 +9319,20 @@ var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
9303
9319
  mergeMeta: true,
9304
9320
  createdAt: true
9305
9321
  });
9306
- var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z317.string() });
9307
- var DTOCreateForgeProjectIterationResponse = z317.object({
9322
+ var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z318.string() });
9323
+ var DTOCreateForgeProjectIterationResponse = z318.object({
9308
9324
  iteration: DTOForgeProjectIteration
9309
9325
  });
9310
- var DTOUpdateForgeProjectIterationResponse = z317.object({
9326
+ var DTOUpdateForgeProjectIterationResponse = z318.object({
9311
9327
  iteration: DTOForgeProjectIteration.nullable()
9312
9328
  });
9313
- var DTODeleteForgeProjectIterationResponse = z317.object({
9314
- ok: z317.literal(true)
9329
+ var DTODeleteForgeProjectIterationResponse = z318.object({
9330
+ ok: z318.literal(true)
9315
9331
  });
9316
- var DTOForgeProjectIterationListResponse = z317.object({ iterations: z317.array(DTOForgeProjectIteration) });
9332
+ var DTOForgeProjectIterationListResponse = z318.object({ iterations: z318.array(DTOForgeProjectIteration) });
9317
9333
 
9318
9334
  // src/api/dto/forge/project-member.ts
9319
- import { z as z318 } from "zod";
9335
+ import { z as z319 } from "zod";
9320
9336
  var DTOForgeProjectMemberRole = ForgeProjectRole;
9321
9337
  var DTOForgeProjectMember = ForgeProjectMembership.extend({
9322
9338
  user: DTOUser,
@@ -9330,41 +9346,41 @@ var DTOUpdateForgeProjectMember = DTOCreateForgeProjectMember.omit({ userId: tru
9330
9346
  var DTORemoveForgeProjectMember = DTOForgeProjectMember.pick({
9331
9347
  userId: true
9332
9348
  });
9333
- var DTOForgeProjectMembersListResponse = z318.object({
9334
- members: z318.array(DTOForgeProjectMember),
9335
- invitations: z318.array(DTOForgeProjectInvitation)
9349
+ var DTOForgeProjectMembersListResponse = z319.object({
9350
+ members: z319.array(DTOForgeProjectMember),
9351
+ invitations: z319.array(DTOForgeProjectInvitation)
9336
9352
  });
9337
- var DTOForgeProjectMemberGetResponse = z318.object({
9353
+ var DTOForgeProjectMemberGetResponse = z319.object({
9338
9354
  member: DTOForgeProjectMember
9339
9355
  });
9340
- var DTOForgeProjectMemberCreateResponse = z318.object({
9356
+ var DTOForgeProjectMemberCreateResponse = z319.object({
9341
9357
  member: DTOForgeProjectMember
9342
9358
  });
9343
- var DTOForgeProjectMemberUpdateResponse = z318.object({
9359
+ var DTOForgeProjectMemberUpdateResponse = z319.object({
9344
9360
  member: DTOForgeProjectMember.nullable()
9345
9361
  });
9346
- var DTOForgeProjectMemberRemoveResponse = z318.object({
9347
- ok: z318.literal(true)
9362
+ var DTOForgeProjectMemberRemoveResponse = z319.object({
9363
+ ok: z319.literal(true)
9348
9364
  });
9349
- var DTOAddMembersToForgeProject = z318.object({
9365
+ var DTOAddMembersToForgeProject = z319.object({
9350
9366
  membersToInvite: DTOCreateForgeProjectInvitation.array().min(1)
9351
9367
  });
9352
9368
 
9353
9369
  // src/api/dto/forge/project-room.ts
9354
- import { z as z319 } from "zod";
9355
- var DTOForgeProjectRoom = z319.object({
9356
- id: z319.string()
9370
+ import { z as z320 } from "zod";
9371
+ var DTOForgeProjectRoom = z320.object({
9372
+ id: z320.string()
9357
9373
  });
9358
- var DTOForgeProjectRoomResponse = z319.object({
9374
+ var DTOForgeProjectRoomResponse = z320.object({
9359
9375
  room: DTOForgeProjectRoom
9360
9376
  });
9361
9377
 
9362
9378
  // src/api/dto/forge/project.ts
9363
- import { z as z320 } from "zod";
9379
+ import { z as z321 } from "zod";
9364
9380
  var DTOForgeProject = ForgeProject.omit({ fpContextId: true }).extend({
9365
9381
  context: ForgeProjectContext,
9366
- members: z320.array(DTOForgeProjectMember),
9367
- invitations: z320.array(DTOForgeProjectInvitation)
9382
+ members: z321.array(DTOForgeProjectMember),
9383
+ invitations: z321.array(DTOForgeProjectInvitation)
9368
9384
  });
9369
9385
  var DTOCreateForgeProject = ForgeProject.pick({
9370
9386
  instruction: true,
@@ -9377,156 +9393,156 @@ var DTOCreateForgeProject = ForgeProject.pick({
9377
9393
  emoji: true
9378
9394
  }).extend({ membersToInvite: DTOCreateForgeProjectInvitation.array().min(1).optional() });
9379
9395
  var DTOUpdateForgeProject = DTOCreateForgeProject.omit({ membersToInvite: true }).partial().extend({
9380
- id: z320.string(),
9381
- membersToRetain: z320.string().array().min(1).optional()
9396
+ id: z321.string(),
9397
+ membersToRetain: z321.string().array().min(1).optional()
9382
9398
  });
9383
- var DTOForgeProjectGetResponse = z320.object({ project: DTOForgeProject.nullable() });
9384
- var DTOForgeProjectsListResponse = z320.object({ projects: z320.array(DTOForgeProject) });
9385
- var DTOCreateForgeProjectResponse = z320.object({
9399
+ var DTOForgeProjectGetResponse = z321.object({ project: DTOForgeProject.nullable() });
9400
+ var DTOForgeProjectsListResponse = z321.object({ projects: z321.array(DTOForgeProject) });
9401
+ var DTOCreateForgeProjectResponse = z321.object({
9386
9402
  project: DTOForgeProject
9387
9403
  });
9388
- var DTOUpdateForgeProjectResponse = z320.object({
9404
+ var DTOUpdateForgeProjectResponse = z321.object({
9389
9405
  project: DTOForgeProject
9390
9406
  });
9391
- var DTOUGetForgeProjectResponse = z320.object({
9407
+ var DTOUGetForgeProjectResponse = z321.object({
9392
9408
  project: DTOForgeProject
9393
9409
  });
9394
- var DTORemoveForgeProjectResponse = z320.object({ ok: z320.literal(true) });
9410
+ var DTORemoveForgeProjectResponse = z321.object({ ok: z321.literal(true) });
9395
9411
 
9396
9412
  // src/api/dto/forge/threads.ts
9397
- import { z as z321 } from "zod";
9413
+ import { z as z322 } from "zod";
9398
9414
  var DTOForgeChatMessage = ForgeChatMessage;
9399
9415
  var DTOForgeChatThread = ForgeChatThread;
9400
9416
  var DTOForgeChatMessageSenderType = ForgeChatMessageSenderType;
9401
9417
  var DTOForgeChatMessageSender = ForgeChatMessageSender;
9402
- var DTOForgeChatThreadCreateInput = z321.object({
9403
- title: z321.string().optional()
9418
+ var DTOForgeChatThreadCreateInput = z322.object({
9419
+ title: z322.string().optional()
9404
9420
  });
9405
- var DTOForgeChatThreadCreateResponse = z321.object({
9421
+ var DTOForgeChatThreadCreateResponse = z322.object({
9406
9422
  thread: DTOForgeChatThread
9407
9423
  });
9408
- var DTOForgeChatThreadUpdateInput = z321.object({
9409
- title: z321.string()
9424
+ var DTOForgeChatThreadUpdateInput = z322.object({
9425
+ title: z322.string()
9410
9426
  });
9411
- var DTOForgeChatThreadUpdateResponse = z321.object({
9427
+ var DTOForgeChatThreadUpdateResponse = z322.object({
9412
9428
  thread: DTOForgeChatThread
9413
9429
  });
9414
- var DTOForgeChatThreadDeleteResponse = z321.object({
9415
- success: z321.boolean()
9430
+ var DTOForgeChatThreadDeleteResponse = z322.object({
9431
+ success: z322.boolean()
9416
9432
  });
9417
- var DTOForgeChatThreadListQuery = z321.object({
9418
- limit: z321.number().optional(),
9419
- offset: z321.number().optional()
9433
+ var DTOForgeChatThreadListQuery = z322.object({
9434
+ limit: z322.number().optional(),
9435
+ offset: z322.number().optional()
9420
9436
  });
9421
- var DTOForgeChatThreadListResponse = z321.object({
9422
- threads: z321.array(DTOForgeChatThread),
9423
- pagination: z321.object({
9424
- offset: z321.number(),
9425
- limit: z321.number(),
9426
- total: z321.number()
9437
+ var DTOForgeChatThreadListResponse = z322.object({
9438
+ threads: z322.array(DTOForgeChatThread),
9439
+ pagination: z322.object({
9440
+ offset: z322.number(),
9441
+ limit: z322.number(),
9442
+ total: z322.number()
9427
9443
  })
9428
9444
  });
9429
- var DTOForgeChatMessageCreateInput = z321.object({
9430
- payload: z321.string(),
9445
+ var DTOForgeChatMessageCreateInput = z322.object({
9446
+ payload: z322.string(),
9431
9447
  sender: DTOForgeChatMessageSender.optional(),
9432
- opikTraceId: z321.string().optional()
9448
+ opikTraceId: z322.string().optional()
9433
9449
  });
9434
- var DTOForgeChatMessageCreateResponse = z321.object({
9450
+ var DTOForgeChatMessageCreateResponse = z322.object({
9435
9451
  message: DTOForgeChatMessage
9436
9452
  });
9437
- var DTOForgeChatMessageListQuery = z321.object({
9438
- limit: z321.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
9439
- offset: z321.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
9453
+ var DTOForgeChatMessageListQuery = z322.object({
9454
+ limit: z322.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
9455
+ offset: z322.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
9440
9456
  });
9441
- var DTOForgeChatMessageListResponse = z321.object({
9442
- messages: z321.array(DTOForgeChatMessage),
9443
- totalCount: z321.number(),
9444
- hasMore: z321.boolean()
9457
+ var DTOForgeChatMessageListResponse = z322.object({
9458
+ messages: z322.array(DTOForgeChatMessage),
9459
+ totalCount: z322.number(),
9460
+ hasMore: z322.boolean()
9445
9461
  });
9446
- var DTOForgeChatMessageScoreInput = z321.object({
9447
- messageId: z321.string(),
9448
- name: z321.string(),
9449
- value: z321.number(),
9450
- categoryName: z321.string().optional(),
9451
- reason: z321.string().optional()
9462
+ var DTOForgeChatMessageScoreInput = z322.object({
9463
+ messageId: z322.string(),
9464
+ name: z322.string(),
9465
+ value: z322.number(),
9466
+ categoryName: z322.string().optional(),
9467
+ reason: z322.string().optional()
9452
9468
  });
9453
- var DTOForgeChatMessageTagInput = z321.object({
9454
- messageId: z321.string(),
9455
- tags: z321.array(z321.string())
9469
+ var DTOForgeChatMessageTagInput = z322.object({
9470
+ messageId: z322.string(),
9471
+ tags: z322.array(z322.string())
9456
9472
  });
9457
- var DTOForgeChatMessageScoreRequest = z321.object({
9473
+ var DTOForgeChatMessageScoreRequest = z322.object({
9458
9474
  scores: DTOForgeChatMessageScoreInput.array(),
9459
9475
  tags: DTOForgeChatMessageTagInput.array().optional().default([])
9460
9476
  });
9461
9477
 
9462
9478
  // src/api/dto/liveblocks/auth-response.ts
9463
- import { z as z322 } from "zod";
9464
- var DTOLiveblocksAuthResponse = z322.object({
9465
- token: z322.string()
9479
+ import { z as z323 } from "zod";
9480
+ var DTOLiveblocksAuthResponse = z323.object({
9481
+ token: z323.string()
9466
9482
  });
9467
9483
 
9468
9484
  // src/api/dto/portal/portal-settings.ts
9469
- import { z as z323 } from "zod";
9485
+ import { z as z324 } from "zod";
9470
9486
  var DTOPortalSettingsTheme = PortalSettingsTheme;
9471
9487
  var DTOPortalSettingsSidebarLink = PortalSettingsSidebarLink;
9472
9488
  var DTOPortalSettingsSidebarSection = PortalSettingsSidebarSection;
9473
9489
  var DTOPortalSettingsSidebar = PortalSettingsSidebar;
9474
- var DTOPortalSettings = z323.object({
9475
- id: z323.string(),
9476
- workspaceId: z323.string(),
9477
- enabledDesignSystemIds: z323.array(z323.string()),
9478
- enabledBrandPersistentIds: z323.array(z323.string()),
9490
+ var DTOPortalSettings = z324.object({
9491
+ id: z324.string(),
9492
+ workspaceId: z324.string(),
9493
+ enabledDesignSystemIds: z324.array(z324.string()),
9494
+ enabledBrandPersistentIds: z324.array(z324.string()),
9479
9495
  theme: DTOPortalSettingsTheme.nullish(),
9480
9496
  sidebar: DTOPortalSettingsSidebar.nullish(),
9481
- createdAt: z323.coerce.date(),
9482
- updatedAt: z323.coerce.date()
9497
+ createdAt: z324.coerce.date(),
9498
+ updatedAt: z324.coerce.date()
9483
9499
  });
9484
- var DTOPortalSettingsGetResponse = z323.object({
9500
+ var DTOPortalSettingsGetResponse = z324.object({
9485
9501
  portalSettings: DTOPortalSettings
9486
9502
  });
9487
- var DTOPortalSettingsUpdatePayload = z323.object({
9488
- enabledDesignSystemIds: z323.array(z323.string()).optional(),
9489
- enabledBrandPersistentIds: z323.array(z323.string()).optional(),
9503
+ var DTOPortalSettingsUpdatePayload = z324.object({
9504
+ enabledDesignSystemIds: z324.array(z324.string()).optional(),
9505
+ enabledBrandPersistentIds: z324.array(z324.string()).optional(),
9490
9506
  theme: DTOPortalSettingsTheme.nullish(),
9491
9507
  sidebar: DTOPortalSettingsSidebar.nullish()
9492
9508
  });
9493
9509
 
9494
9510
  // src/api/dto/themes/override.ts
9495
- import { z as z324 } from "zod";
9511
+ import { z as z325 } from "zod";
9496
9512
  var DTOThemeOverride = DesignTokenTypedData.and(
9497
- z324.object({
9498
- tokenPersistentId: z324.string(),
9513
+ z325.object({
9514
+ tokenPersistentId: z325.string(),
9499
9515
  origin: ThemeOverrideOrigin.optional()
9500
9516
  })
9501
9517
  );
9502
9518
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
9503
- z324.object({
9504
- tokenPersistentId: z324.string()
9519
+ z325.object({
9520
+ tokenPersistentId: z325.string()
9505
9521
  })
9506
9522
  );
9507
9523
 
9508
9524
  // src/api/dto/themes/theme.ts
9509
- import { z as z325 } from "zod";
9510
- var DTOTheme = z325.object({
9511
- id: z325.string(),
9512
- persistentId: z325.string(),
9513
- designSystemVersionId: z325.string(),
9514
- brandId: z325.string(),
9525
+ import { z as z326 } from "zod";
9526
+ var DTOTheme = z326.object({
9527
+ id: z326.string(),
9528
+ persistentId: z326.string(),
9529
+ designSystemVersionId: z326.string(),
9530
+ brandId: z326.string(),
9515
9531
  meta: ObjectMeta,
9516
- codeName: z325.string(),
9532
+ codeName: z326.string(),
9517
9533
  overrides: DTOThemeOverride.array()
9518
9534
  });
9519
- var DTOThemeResponse = z325.object({
9535
+ var DTOThemeResponse = z326.object({
9520
9536
  theme: DTOTheme
9521
9537
  });
9522
- var DTOThemeListResponse = z325.object({
9538
+ var DTOThemeListResponse = z326.object({
9523
9539
  themes: DTOTheme.array()
9524
9540
  });
9525
- var DTOThemeCreatePayload = z325.object({
9541
+ var DTOThemeCreatePayload = z326.object({
9526
9542
  meta: ObjectMeta,
9527
- persistentId: z325.string(),
9528
- brandId: z325.string(),
9529
- codeName: z325.string(),
9543
+ persistentId: z326.string(),
9544
+ brandId: z326.string(),
9545
+ codeName: z326.string(),
9530
9546
  overrides: DTOThemeOverride.array()
9531
9547
  });
9532
9548
 
@@ -9762,13 +9778,13 @@ var ExportersEndpoint = class {
9762
9778
  };
9763
9779
 
9764
9780
  // src/api/endpoints/codegen/jobs.ts
9765
- import { z as z326 } from "zod";
9781
+ import { z as z327 } from "zod";
9766
9782
  var ExporterJobsEndpoint = class {
9767
9783
  constructor(requestExecutor) {
9768
9784
  this.requestExecutor = requestExecutor;
9769
9785
  }
9770
9786
  list(workspaceId) {
9771
- return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z326.any());
9787
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z327.any());
9772
9788
  }
9773
9789
  get(workspaceId, jobId) {
9774
9790
  return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
@@ -9826,7 +9842,7 @@ var CodegenEndpoint = class {
9826
9842
  };
9827
9843
 
9828
9844
  // src/api/endpoints/design-system/versions/brands.ts
9829
- import { z as z327 } from "zod";
9845
+ import { z as z328 } from "zod";
9830
9846
  var BrandsEndpoint = class {
9831
9847
  constructor(requestExecutor) {
9832
9848
  this.requestExecutor = requestExecutor;
@@ -9860,7 +9876,7 @@ var BrandsEndpoint = class {
9860
9876
  });
9861
9877
  }
9862
9878
  delete(dsId, vId, brandId) {
9863
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z327.any(), {
9879
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z328.any(), {
9864
9880
  method: "DELETE"
9865
9881
  });
9866
9882
  }
@@ -10127,7 +10143,7 @@ var ImportJobsEndpoint = class {
10127
10143
  };
10128
10144
 
10129
10145
  // src/api/endpoints/design-system/versions/overrides.ts
10130
- import { z as z328 } from "zod";
10146
+ import { z as z329 } from "zod";
10131
10147
  var OverridesEndpoint = class {
10132
10148
  constructor(requestExecutor) {
10133
10149
  this.requestExecutor = requestExecutor;
@@ -10135,7 +10151,7 @@ var OverridesEndpoint = class {
10135
10151
  create(dsId, versionId, themeId, body) {
10136
10152
  return this.requestExecutor.json(
10137
10153
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
10138
- z328.any(),
10154
+ z329.any(),
10139
10155
  {
10140
10156
  method: "POST",
10141
10157
  body
@@ -10145,7 +10161,7 @@ var OverridesEndpoint = class {
10145
10161
  };
10146
10162
 
10147
10163
  // src/api/endpoints/design-system/versions/property-definitions.ts
10148
- import { z as z329 } from "zod";
10164
+ import { z as z330 } from "zod";
10149
10165
  var ElementPropertyDefinitionsEndpoint = class {
10150
10166
  constructor(requestExecutor) {
10151
10167
  this.requestExecutor = requestExecutor;
@@ -10173,7 +10189,7 @@ var ElementPropertyDefinitionsEndpoint = class {
10173
10189
  delete(designSystemId, versionId, defId) {
10174
10190
  return this.requestExecutor.json(
10175
10191
  `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
10176
- z329.any(),
10192
+ z330.any(),
10177
10193
  { method: "DELETE" }
10178
10194
  );
10179
10195
  }
@@ -10212,7 +10228,7 @@ var VersionStatsEndpoint = class {
10212
10228
  };
10213
10229
 
10214
10230
  // src/api/endpoints/design-system/versions/themes.ts
10215
- import { z as z330 } from "zod";
10231
+ import { z as z331 } from "zod";
10216
10232
  var ThemesEndpoint = class {
10217
10233
  constructor(requestExecutor) {
10218
10234
  this.requestExecutor = requestExecutor;
@@ -10235,7 +10251,7 @@ var ThemesEndpoint = class {
10235
10251
  });
10236
10252
  }
10237
10253
  delete(dsId, versionId, themeId) {
10238
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z330.any(), {
10254
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z331.any(), {
10239
10255
  method: "DELETE"
10240
10256
  });
10241
10257
  }
@@ -10406,7 +10422,7 @@ var DesignSystemContactsEndpoint = class {
10406
10422
  };
10407
10423
 
10408
10424
  // src/api/endpoints/design-system/design-systems.ts
10409
- import { z as z334 } from "zod";
10425
+ import { z as z335 } from "zod";
10410
10426
 
10411
10427
  // src/api/endpoints/design-system/figma-node-structures.ts
10412
10428
  var FigmaNodeStructuresEndpoint = class {
@@ -10483,7 +10499,7 @@ var DesignSystemPageRedirectsEndpoint = class {
10483
10499
  };
10484
10500
 
10485
10501
  // src/api/endpoints/design-system/sources.ts
10486
- import { z as z331 } from "zod";
10502
+ import { z as z332 } from "zod";
10487
10503
  var DesignSystemSourcesEndpoint = class {
10488
10504
  constructor(requestExecutor) {
10489
10505
  this.requestExecutor = requestExecutor;
@@ -10501,7 +10517,7 @@ var DesignSystemSourcesEndpoint = class {
10501
10517
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
10502
10518
  }
10503
10519
  delete(dsId, sourceId) {
10504
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z331.any(), { method: "DELETE" });
10520
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z332.any(), { method: "DELETE" });
10505
10521
  }
10506
10522
  updateFigmaSource(dsId, sourceId, payload) {
10507
10523
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse, {
@@ -10544,7 +10560,7 @@ var DesignSystemSourcesEndpoint = class {
10544
10560
  };
10545
10561
 
10546
10562
  // src/api/endpoints/design-system/storybook.ts
10547
- import { z as z332 } from "zod";
10563
+ import { z as z333 } from "zod";
10548
10564
  var StorybookEntriesEndpoint = class {
10549
10565
  constructor(requestExecutor) {
10550
10566
  this.requestExecutor = requestExecutor;
@@ -10560,14 +10576,14 @@ var StorybookEntriesEndpoint = class {
10560
10576
  );
10561
10577
  }
10562
10578
  delete(dsId, entryId) {
10563
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z332.any(), {
10579
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z333.any(), {
10564
10580
  method: "DELETE"
10565
10581
  });
10566
10582
  }
10567
10583
  };
10568
10584
 
10569
10585
  // src/api/endpoints/design-system/storybook-hosting.ts
10570
- import { z as z333 } from "zod";
10586
+ import { z as z334 } from "zod";
10571
10587
  var StorybookHostingEndpoint = class {
10572
10588
  constructor(requestExecutor) {
10573
10589
  this.requestExecutor = requestExecutor;
@@ -10581,7 +10597,7 @@ var StorybookHostingEndpoint = class {
10581
10597
  delete(dsId, storybookUploadId) {
10582
10598
  return this.requestExecutor.json(
10583
10599
  `/design-systems/${dsId}/storybook/${storybookUploadId}`,
10584
- z333.object({ ok: z333.boolean() }),
10600
+ z334.object({ ok: z334.boolean() }),
10585
10601
  {
10586
10602
  method: "DELETE"
10587
10603
  }
@@ -10639,7 +10655,7 @@ var DesignSystemsEndpoint = class {
10639
10655
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
10640
10656
  }
10641
10657
  delete(dsId) {
10642
- return this.requestExecutor.json(`/design-systems/${dsId}`, z334.any(), { method: "DELETE" });
10658
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z335.any(), { method: "DELETE" });
10643
10659
  }
10644
10660
  update(dsId, body) {
10645
10661
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -10860,7 +10876,7 @@ var ForgeProjectContextsEndpoint = class {
10860
10876
  };
10861
10877
 
10862
10878
  // src/api/endpoints/forge/project-members.ts
10863
- import { z as z335 } from "zod";
10879
+ import { z as z336 } from "zod";
10864
10880
  var ForgeProjectMembersEndpoint = class {
10865
10881
  constructor(requestExecutor) {
10866
10882
  this.requestExecutor = requestExecutor;
@@ -10889,7 +10905,7 @@ var ForgeProjectMembersEndpoint = class {
10889
10905
  delete(projectId, userId) {
10890
10906
  return this.requestExecutor.json(
10891
10907
  `/forge/projects/${projectId}/members/${userId}`,
10892
- z335.object({ ok: z335.literal(true) }),
10908
+ z336.object({ ok: z336.literal(true) }),
10893
10909
  {
10894
10910
  method: "DELETE"
10895
10911
  }
@@ -11043,7 +11059,7 @@ var ForgeProjectIterationsEndpoint = class {
11043
11059
  };
11044
11060
 
11045
11061
  // src/api/endpoints/forge/project-invitations.ts
11046
- import { z as z336 } from "zod";
11062
+ import { z as z337 } from "zod";
11047
11063
  var ForgeProjectInvitationsEndpoint = class {
11048
11064
  constructor(requestExecutor) {
11049
11065
  this.requestExecutor = requestExecutor;
@@ -11072,7 +11088,7 @@ var ForgeProjectInvitationsEndpoint = class {
11072
11088
  delete(projectId, email) {
11073
11089
  return this.requestExecutor.json(
11074
11090
  `/forge/projects/${projectId}/members/${encodeURI(btoa(email))}`,
11075
- z336.object({ ok: z336.literal(true) }),
11091
+ z337.object({ ok: z337.literal(true) }),
11076
11092
  {
11077
11093
  method: "DELETE"
11078
11094
  }
@@ -11130,7 +11146,7 @@ var ForgesEndpoint = class {
11130
11146
  };
11131
11147
 
11132
11148
  // src/api/endpoints/workspaces/chat-threads.ts
11133
- import { z as z337 } from "zod";
11149
+ import { z as z338 } from "zod";
11134
11150
  var WorkspaceChatThreadsEndpoint = class {
11135
11151
  constructor(requestExecutor) {
11136
11152
  this.requestExecutor = requestExecutor;
@@ -11162,7 +11178,7 @@ var WorkspaceChatThreadsEndpoint = class {
11162
11178
  );
11163
11179
  }
11164
11180
  delete(workspaceId, threadId) {
11165
- return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z337.any(), {
11181
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}`, z338.any(), {
11166
11182
  method: "DELETE"
11167
11183
  });
11168
11184
  }
@@ -11194,7 +11210,7 @@ var ChatThreadMessagesEndpoint = class {
11194
11210
  );
11195
11211
  }
11196
11212
  score(workspaceId, threadId, body) {
11197
- return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z337.any(), {
11213
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z338.any(), {
11198
11214
  method: "POST",
11199
11215
  body
11200
11216
  });
@@ -11202,7 +11218,7 @@ var ChatThreadMessagesEndpoint = class {
11202
11218
  };
11203
11219
 
11204
11220
  // src/api/endpoints/workspaces/integrations.ts
11205
- import { z as z338 } from "zod";
11221
+ import { z as z339 } from "zod";
11206
11222
  var WorkspaceIntegrationsEndpoint = class {
11207
11223
  constructor(requestExecutor) {
11208
11224
  this.requestExecutor = requestExecutor;
@@ -11211,7 +11227,7 @@ var WorkspaceIntegrationsEndpoint = class {
11211
11227
  return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
11212
11228
  }
11213
11229
  delete(wsId, iId) {
11214
- return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z338.unknown(), { method: "DELETE" });
11230
+ return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z339.unknown(), { method: "DELETE" });
11215
11231
  }
11216
11232
  };
11217
11233
 
@@ -11243,7 +11259,7 @@ var WorkspaceInvitationsEndpoint = class {
11243
11259
  };
11244
11260
 
11245
11261
  // src/api/endpoints/workspaces/members.ts
11246
- import { z as z339 } from "zod";
11262
+ import { z as z340 } from "zod";
11247
11263
  var WorkspaceMembersEndpoint = class {
11248
11264
  constructor(requestExecutor) {
11249
11265
  this.requestExecutor = requestExecutor;
@@ -11260,7 +11276,7 @@ var WorkspaceMembersEndpoint = class {
11260
11276
  });
11261
11277
  }
11262
11278
  invite(workspaceId, body) {
11263
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z339.any(), { method: "POST", body });
11279
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z340.any(), { method: "POST", body });
11264
11280
  }
11265
11281
  delete(workspaceId, userId) {
11266
11282
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -11289,7 +11305,7 @@ var WorkspaceNpmRegistryEndpoint = class {
11289
11305
  };
11290
11306
 
11291
11307
  // src/api/endpoints/workspaces/workspaces.ts
11292
- import { z as z340 } from "zod";
11308
+ import { z as z341 } from "zod";
11293
11309
  var WorkspacesEndpoint = class {
11294
11310
  constructor(requestExecutor) {
11295
11311
  this.requestExecutor = requestExecutor;
@@ -11321,10 +11337,10 @@ var WorkspacesEndpoint = class {
11321
11337
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
11322
11338
  }
11323
11339
  delete(workspaceId) {
11324
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z340.any(), { method: "DELETE" });
11340
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z341.any(), { method: "DELETE" });
11325
11341
  }
11326
11342
  subscription(workspaceId) {
11327
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z340.any(), { method: "GET" });
11343
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z341.any(), { method: "GET" });
11328
11344
  }
11329
11345
  getPortalSettings(workspaceId) {
11330
11346
  return this.requestExecutor.json(`/workspaces/${workspaceId}/portal/settings`, DTOPortalSettingsGetResponse, {
@@ -11435,9 +11451,9 @@ ${bodyText}`,
11435
11451
 
11436
11452
  // src/api/transport/request-executor.ts
11437
11453
  import fetch from "node-fetch";
11438
- import { z as z341 } from "zod";
11439
- var ResponseWrapper = z341.object({
11440
- result: z341.record(z341.any())
11454
+ import { z as z342 } from "zod";
11455
+ var ResponseWrapper = z342.object({
11456
+ result: z342.record(z342.any())
11441
11457
  });
11442
11458
  var RequestExecutor = class {
11443
11459
  constructor(testServerConfig) {
@@ -11514,25 +11530,25 @@ var SupernovaApiClient = class {
11514
11530
  };
11515
11531
 
11516
11532
  // src/events/design-system.ts
11517
- import { z as z342 } from "zod";
11518
- var DTOEventFigmaNodesRendered = z342.object({
11519
- type: z342.literal("DesignSystem.FigmaNodesRendered"),
11520
- designSystemId: z342.string(),
11521
- versionId: z342.string(),
11522
- figmaNodePersistentIds: z342.string().array()
11523
- });
11524
- var DTOEventDataSourcesImported = z342.object({
11525
- type: z342.literal("DesignSystem.ImportJobFinished"),
11526
- designSystemId: z342.string(),
11527
- versionId: z342.string(),
11528
- importJobId: z342.string(),
11533
+ import { z as z343 } from "zod";
11534
+ var DTOEventFigmaNodesRendered = z343.object({
11535
+ type: z343.literal("DesignSystem.FigmaNodesRendered"),
11536
+ designSystemId: z343.string(),
11537
+ versionId: z343.string(),
11538
+ figmaNodePersistentIds: z343.string().array()
11539
+ });
11540
+ var DTOEventDataSourcesImported = z343.object({
11541
+ type: z343.literal("DesignSystem.ImportJobFinished"),
11542
+ designSystemId: z343.string(),
11543
+ versionId: z343.string(),
11544
+ importJobId: z343.string(),
11529
11545
  dataSourceType: DataSourceRemoteType,
11530
- dataSourceIds: z342.string().array()
11546
+ dataSourceIds: z343.string().array()
11531
11547
  });
11532
11548
 
11533
11549
  // src/events/event.ts
11534
- import { z as z343 } from "zod";
11535
- var DTOEvent = z343.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
11550
+ import { z as z344 } from "zod";
11551
+ var DTOEvent = z344.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
11536
11552
 
11537
11553
  // src/sync/docs-local-action-executor.ts
11538
11554
  function applyActionsLocally(input) {
@@ -11828,7 +11844,7 @@ var LocalDocsElementActionExecutor = class {
11828
11844
  import PQueue from "p-queue";
11829
11845
 
11830
11846
  // src/yjs/design-system-content/documentation-hierarchy.ts
11831
- import { z as z344 } from "zod";
11847
+ import { z as z345 } from "zod";
11832
11848
 
11833
11849
  // src/yjs/version-room/base.ts
11834
11850
  var VersionRoomBaseYDoc = class {
@@ -12378,24 +12394,24 @@ var FrontendVersionRoomYDoc = class {
12378
12394
  };
12379
12395
 
12380
12396
  // src/yjs/design-system-content/documentation-hierarchy.ts
12381
- var DocumentationHierarchySettings = z344.object({
12382
- routingVersion: z344.string(),
12383
- isDraftFeatureAdopted: z344.boolean(),
12384
- isApprovalFeatureEnabled: z344.boolean(),
12385
- approvalRequiredForPublishing: z344.boolean()
12397
+ var DocumentationHierarchySettings = z345.object({
12398
+ routingVersion: z345.string(),
12399
+ isDraftFeatureAdopted: z345.boolean(),
12400
+ isApprovalFeatureEnabled: z345.boolean(),
12401
+ approvalRequiredForPublishing: z345.boolean()
12386
12402
  });
12387
12403
  function yjsToDocumentationHierarchy(doc) {
12388
12404
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
12389
12405
  }
12390
12406
 
12391
12407
  // src/yjs/design-system-content/item-configuration.ts
12392
- import { z as z345 } from "zod";
12393
- var DTODocumentationPageRoomHeaderData = z345.object({
12394
- title: z345.string(),
12408
+ import { z as z346 } from "zod";
12409
+ var DTODocumentationPageRoomHeaderData = z346.object({
12410
+ title: z346.string(),
12395
12411
  configuration: DTODocumentationItemConfigurationV2
12396
12412
  });
12397
- var DTODocumentationPageRoomHeaderDataUpdate = z345.object({
12398
- title: z345.string().optional(),
12413
+ var DTODocumentationPageRoomHeaderDataUpdate = z346.object({
12414
+ title: z346.string().optional(),
12399
12415
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
12400
12416
  });
12401
12417
  function itemConfigurationToYjs(yDoc, item) {
@@ -12430,9 +12446,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
12430
12446
  var PageSectionEditorModel = PageSectionEditorModelV2;
12431
12447
 
12432
12448
  // src/yjs/docs-editor/model/page.ts
12433
- import { z as z346 } from "zod";
12434
- var DocumentationPageEditorModel = z346.object({
12435
- blocks: z346.array(DocumentationPageContentItem)
12449
+ import { z as z347 } from "zod";
12450
+ var DocumentationPageEditorModel = z347.object({
12451
+ blocks: z347.array(DocumentationPageContentItem)
12436
12452
  });
12437
12453
 
12438
12454
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -16109,7 +16125,7 @@ var blocks = [
16109
16125
 
16110
16126
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
16111
16127
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
16112
- import { z as z347 } from "zod";
16128
+ import { z as z348 } from "zod";
16113
16129
  function yDocToPage(yDoc, definitions) {
16114
16130
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
16115
16131
  }
@@ -16185,7 +16201,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
16185
16201
  if (!id) return null;
16186
16202
  return {
16187
16203
  id,
16188
- title: getProsemirrorAttribute(prosemirrorNode, "title", z347.string()) ?? "",
16204
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z348.string()) ?? "",
16189
16205
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
16190
16206
  };
16191
16207
  }
@@ -16219,7 +16235,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
16219
16235
  });
16220
16236
  }
16221
16237
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
16222
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z347.string());
16238
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z348.string());
16223
16239
  if (!definitionId) {
16224
16240
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
16225
16241
  return [];
@@ -16260,7 +16276,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
16260
16276
  const id = getProsemirrorBlockId(prosemirrorNode);
16261
16277
  if (!id) return null;
16262
16278
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
16263
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z347.string().optional()));
16279
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z348.string().optional()));
16264
16280
  return {
16265
16281
  id,
16266
16282
  type: "Block",
@@ -16383,9 +16399,9 @@ function parseRichTextAttribute(mark) {
16383
16399
  return null;
16384
16400
  }
16385
16401
  function parseProsemirrorLink(mark) {
16386
- const href = getProsemirrorAttribute(mark, "href", z347.string().optional());
16402
+ const href = getProsemirrorAttribute(mark, "href", z348.string().optional());
16387
16403
  if (!href) return null;
16388
- const target = getProsemirrorAttribute(mark, "target", z347.string().optional());
16404
+ const target = getProsemirrorAttribute(mark, "target", z348.string().optional());
16389
16405
  const openInNewTab = target === "_blank";
16390
16406
  if (href.startsWith("@")) {
16391
16407
  return {
@@ -16404,9 +16420,9 @@ function parseProsemirrorLink(mark) {
16404
16420
  }
16405
16421
  }
16406
16422
  function parseProsemirrorCommentHighlight(mark) {
16407
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z347.string().optional());
16423
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z348.string().optional());
16408
16424
  if (!highlightId) return null;
16409
- const isResolved = getProsemirrorAttribute(mark, "resolved", z347.boolean().optional()) ?? false;
16425
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z348.boolean().optional()) ?? false;
16410
16426
  return {
16411
16427
  type: "Comment",
16412
16428
  commentHighlightId: highlightId,
@@ -16417,7 +16433,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
16417
16433
  const id = getProsemirrorBlockId(prosemirrorNode);
16418
16434
  if (!id) return null;
16419
16435
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
16420
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z347.boolean().optional()) !== false;
16436
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z348.boolean().optional()) !== false;
16421
16437
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
16422
16438
  if (!tableChild) {
16423
16439
  return emptyTable(id, variantId, 0);
@@ -16463,9 +16479,9 @@ function parseAsTable(prosemirrorNode, definition, property) {
16463
16479
  function parseAsTableCell(prosemirrorNode) {
16464
16480
  const id = getProsemirrorBlockId(prosemirrorNode);
16465
16481
  if (!id) return null;
16466
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z347.string().optional());
16482
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z348.string().optional());
16467
16483
  let columnWidth;
16468
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z347.array(z347.number()).nullish());
16484
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z348.array(z348.number()).nullish());
16469
16485
  if (columnWidthArray) {
16470
16486
  columnWidth = roundDimension(columnWidthArray[0]);
16471
16487
  }
@@ -16501,7 +16517,7 @@ function parseAsTableNode(prosemirrorNode) {
16501
16517
  value: parseRichText(prosemirrorNode.content ?? [])
16502
16518
  };
16503
16519
  case "image":
16504
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z347.string());
16520
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z348.string());
16505
16521
  if (!items) return null;
16506
16522
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
16507
16523
  if (!parsedItems.success) return null;
@@ -16615,7 +16631,7 @@ function definitionExpectsPlaceholderItem(definition) {
16615
16631
  );
16616
16632
  }
16617
16633
  function parseBlockItems(prosemirrorNode, definition) {
16618
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z347.string());
16634
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z348.string());
16619
16635
  if (!itemsString) return null;
16620
16636
  const itemsJson = JSON.parse(itemsString);
16621
16637
  if (!Array.isArray(itemsJson)) {
@@ -16626,18 +16642,18 @@ function parseBlockItems(prosemirrorNode, definition) {
16626
16642
  }
16627
16643
  function parseAppearance(prosemirrorNode) {
16628
16644
  let appearance = {};
16629
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z347.string().optional());
16645
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z348.string().optional());
16630
16646
  if (rawAppearanceString) {
16631
16647
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
16632
16648
  if (parsedAppearance.success) {
16633
16649
  appearance = parsedAppearance.data;
16634
16650
  }
16635
16651
  }
16636
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z347.number().optional());
16652
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z348.number().optional());
16637
16653
  if (columns) {
16638
16654
  appearance.numberOfColumns = columns;
16639
16655
  }
16640
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z347.string().optional());
16656
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z348.string().optional());
16641
16657
  if (backgroundColor) {
16642
16658
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
16643
16659
  if (parsedColor.success) {
@@ -16738,12 +16754,12 @@ function valueSchemaForPropertyType(type) {
16738
16754
  }
16739
16755
  }
16740
16756
  function getProsemirrorBlockId(prosemirrorNode) {
16741
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z347.string());
16757
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z348.string());
16742
16758
  if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
16743
16759
  return id;
16744
16760
  }
16745
16761
  function getProsemirrorBlockVariantId(prosemirrorNode) {
16746
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z347.string()));
16762
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z348.string()));
16747
16763
  }
16748
16764
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
16749
16765
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
@@ -17917,6 +17933,7 @@ export {
17917
17933
  DTOWorkspaceProfile,
17918
17934
  DTOWorkspaceResponse,
17919
17935
  DTOWorkspaceRole,
17936
+ DTOWorkspaceSeatType,
17920
17937
  DTOWorkspaceUntypedData,
17921
17938
  DTOWorkspaceUntypedDataCreatePayload,
17922
17939
  DTOWorkspaceUntypedDataListResponse,
@@ -17970,6 +17987,7 @@ export {
17970
17987
  ListTreeBuilder,
17971
17988
  LiveblocksEndpoint,
17972
17989
  LocalDocsElementActionExecutor,
17990
+ LocalProjectActionExecutor,
17973
17991
  NpmRegistryInput,
17974
17992
  ObjectMeta2 as ObjectMeta,
17975
17993
  OverridesEndpoint,
@@ -18008,6 +18026,7 @@ export {
18008
18026
  WorkspacesEndpoint,
18009
18027
  applyActionsLocally,
18010
18028
  applyPrivacyConfigurationToNestedItems,
18029
+ applyProjectActionsLocally,
18011
18030
  blockToProsemirrorNode,
18012
18031
  buildDocPagePublishPaths,
18013
18032
  calculateElementParentChain,