@supernova-studio/client 1.10.1 → 1.10.3

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
@@ -458,6 +458,7 @@ var ForgeChatMessage = z14.object({
458
458
  payload: z14.string(),
459
459
  createdAt: z14.coerce.date(),
460
460
  updatedAt: z14.coerce.date(),
461
+ opikSpanId: z14.string().optional(),
461
462
  sender: ForgeChatMessageSender
462
463
  });
463
464
  var ForgeChatThread = z15.object({
@@ -6239,7 +6240,7 @@ var DTOPagination = z210.object({
6239
6240
  });
6240
6241
 
6241
6242
  // src/api/dto/bff/app-bootstrap-data.ts
6242
- import { z as z253 } from "zod";
6243
+ import { z as z252 } from "zod";
6243
6244
 
6244
6245
  // src/api/dto/design-systems/brand.ts
6245
6246
  import { z as z211 } from "zod";
@@ -6888,197 +6889,147 @@ var DTOStorybookEntryListResponse = z228.object({ entries: z228.array(DTOStorybo
6888
6889
  var DTOStorybookEntryResponse = z228.object({ entry: DTOStorybookEntry });
6889
6890
 
6890
6891
  // src/api/dto/design-systems/user-design-systems.ts
6891
- import { z as z237 } from "zod";
6892
-
6893
- // src/api/dto/workspaces/chat-threads.ts
6894
- import { z as z229 } from "zod";
6895
- var DTOForgeChatMessage = ForgeChatMessage;
6896
- var DTOForgeChatThread = ForgeChatThread;
6897
- var DTOForgeChatMessageSenderType = ForgeChatMessageSenderType;
6898
- var DTOForgeChatMessageSender = ForgeChatMessageSender;
6899
- var DTOForgeChatThreadCreateInput = z229.object({
6900
- title: z229.string().optional()
6901
- });
6902
- var DTOForgeChatThreadCreateResponse = z229.object({
6903
- thread: DTOForgeChatThread
6904
- });
6905
- var DTOForgeChatThreadUpdateInput = z229.object({
6906
- title: z229.string()
6907
- });
6908
- var DTOForgeChatThreadUpdateResponse = z229.object({
6909
- thread: DTOForgeChatThread
6910
- });
6911
- var DTOForgeChatThreadDeleteResponse = z229.object({
6912
- success: z229.boolean()
6913
- });
6914
- var DTOForgeChatThreadListQuery = z229.object({
6915
- limit: z229.number().optional(),
6916
- offset: z229.number().optional()
6917
- });
6918
- var DTOForgeChatThreadListResponse = z229.object({
6919
- threads: z229.array(DTOForgeChatThread),
6920
- pagination: z229.object({
6921
- offset: z229.number(),
6922
- limit: z229.number(),
6923
- total: z229.number()
6924
- })
6925
- });
6926
- var DTOForgeChatMessageCreateInput = z229.object({
6927
- payload: z229.string(),
6928
- sender: DTOForgeChatMessageSender.optional()
6929
- });
6930
- var DTOForgeChatMessageCreateResponse = z229.object({
6931
- message: DTOForgeChatMessage
6932
- });
6933
- var DTOForgeChatMessageListQuery = z229.object({
6934
- limit: z229.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
6935
- offset: z229.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
6936
- });
6937
- var DTOForgeChatMessageListResponse = z229.object({
6938
- messages: z229.array(DTOForgeChatMessage),
6939
- totalCount: z229.number(),
6940
- hasMore: z229.boolean()
6941
- });
6892
+ import { z as z236 } from "zod";
6942
6893
 
6943
6894
  // src/api/dto/workspaces/git.ts
6944
- import { z as z230 } from "zod";
6945
- var DTOGitOrganization = z230.object({
6946
- id: z230.string(),
6947
- name: z230.string(),
6948
- url: z230.string(),
6949
- slug: z230.string()
6950
- });
6951
- var DTOGitProject = z230.object({
6952
- id: z230.string(),
6953
- name: z230.string(),
6954
- url: z230.string(),
6955
- slug: z230.string()
6956
- });
6957
- var DTOGitRepository = z230.object({
6958
- id: z230.string(),
6959
- name: z230.string(),
6960
- url: z230.string(),
6961
- slug: z230.string(),
6962
- defaultBranch: z230.string().optional()
6963
- });
6964
- var DTOGitBranch = z230.object({
6965
- name: z230.string(),
6966
- lastCommitId: z230.string()
6895
+ import { z as z229 } from "zod";
6896
+ var DTOGitOrganization = z229.object({
6897
+ id: z229.string(),
6898
+ name: z229.string(),
6899
+ url: z229.string(),
6900
+ slug: z229.string()
6901
+ });
6902
+ var DTOGitProject = z229.object({
6903
+ id: z229.string(),
6904
+ name: z229.string(),
6905
+ url: z229.string(),
6906
+ slug: z229.string()
6907
+ });
6908
+ var DTOGitRepository = z229.object({
6909
+ id: z229.string(),
6910
+ name: z229.string(),
6911
+ url: z229.string(),
6912
+ slug: z229.string(),
6913
+ defaultBranch: z229.string().optional()
6914
+ });
6915
+ var DTOGitBranch = z229.object({
6916
+ name: z229.string(),
6917
+ lastCommitId: z229.string()
6967
6918
  });
6968
6919
 
6969
6920
  // src/api/dto/workspaces/integrations.ts
6970
- import { z as z231 } from "zod";
6921
+ import { z as z230 } from "zod";
6971
6922
  var DTOIntegrationCredentials = IntegrationCredentials.omit({
6972
6923
  accessToken: true,
6973
6924
  refreshToken: true
6974
6925
  });
6975
- var DTOIntegration = z231.object({
6976
- id: z231.string(),
6977
- workspaceId: z231.string(),
6926
+ var DTOIntegration = z230.object({
6927
+ id: z230.string(),
6928
+ workspaceId: z230.string(),
6978
6929
  type: ExtendedIntegrationType,
6979
- createdAt: z231.coerce.date(),
6980
- integrationCredentials: z231.array(DTOIntegrationCredentials).optional(),
6981
- integrationDesignSystems: z231.array(IntegrationDesignSystem).optional()
6930
+ createdAt: z230.coerce.date(),
6931
+ integrationCredentials: z230.array(DTOIntegrationCredentials).optional(),
6932
+ integrationDesignSystems: z230.array(IntegrationDesignSystem).optional()
6982
6933
  });
6983
- var DTOIntegrationOAuthGetResponse = z231.object({
6984
- url: z231.string()
6934
+ var DTOIntegrationOAuthGetResponse = z230.object({
6935
+ url: z230.string()
6985
6936
  });
6986
- var DTOIntegrationPostResponse = z231.object({
6937
+ var DTOIntegrationPostResponse = z230.object({
6987
6938
  integration: DTOIntegration
6988
6939
  });
6989
- var DTOIntegrationsGetListResponse = z231.object({
6940
+ var DTOIntegrationsGetListResponse = z230.object({
6990
6941
  integrations: DTOIntegration.array()
6991
6942
  });
6992
6943
 
6993
6944
  // src/api/dto/workspaces/invitations.ts
6994
- import { z as z232 } from "zod";
6995
- var DTOWorkspaceInvitationInput = z232.object({
6996
- email: z232.string().email(),
6945
+ import { z as z231 } from "zod";
6946
+ var DTOWorkspaceInvitationInput = z231.object({
6947
+ email: z231.string().email(),
6997
6948
  role: WorkspaceRoleSchema
6998
6949
  });
6999
- var DTOWorkspaceInvitationsListInput = z232.object({
6950
+ var DTOWorkspaceInvitationsListInput = z231.object({
7000
6951
  invites: DTOWorkspaceInvitationInput.array().max(100),
7001
- designSystemId: z232.string().optional()
6952
+ designSystemId: z231.string().optional()
7002
6953
  });
7003
- var DTOWorkspaceInvitationsResponse = z232.object({
6954
+ var DTOWorkspaceInvitationsResponse = z231.object({
7004
6955
  invitations: WorkspaceInvitation.array()
7005
6956
  });
7006
- var DTOWorkspaceInviteUpdate = z232.object({
6957
+ var DTOWorkspaceInviteUpdate = z231.object({
7007
6958
  role: WorkspaceRoleSchema
7008
6959
  });
7009
- var DTOWorkspaceInvitationUpdateResponse = z232.object({
6960
+ var DTOWorkspaceInvitationUpdateResponse = z231.object({
7010
6961
  invitation: WorkspaceInvitation
7011
6962
  });
7012
6963
 
7013
6964
  // src/api/dto/workspaces/membership.ts
7014
- import { z as z235 } from "zod";
6965
+ import { z as z234 } from "zod";
7015
6966
 
7016
6967
  // src/api/dto/workspaces/workspace.ts
7017
- import { z as z234 } from "zod";
6968
+ import { z as z233 } from "zod";
7018
6969
 
7019
6970
  // src/api/dto/workspaces/npm-registry.ts
7020
- import { z as z233 } from "zod";
6971
+ import { z as z232 } from "zod";
7021
6972
  var DTONpmRegistryConfigConstants = {
7022
6973
  passwordPlaceholder: "redacted"
7023
6974
  };
7024
- var DTONpmRegistryConfig = z233.object({
6975
+ var DTONpmRegistryConfig = z232.object({
7025
6976
  // Registry basic configuration
7026
6977
  registryType: NpmRegistryType,
7027
- registryUrl: z233.string(),
7028
- customRegistryUrl: z233.string().optional(),
6978
+ registryUrl: z232.string(),
6979
+ customRegistryUrl: z232.string().optional(),
7029
6980
  // URL of Supernova NPM packages proxy
7030
- proxyUrl: z233.string(),
6981
+ proxyUrl: z232.string(),
7031
6982
  // Auth configuration
7032
6983
  authType: NpmRegistryAuthType,
7033
- accessToken: z233.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
7034
- username: z233.string().optional(),
7035
- password: z233.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6984
+ accessToken: z232.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6985
+ username: z232.string().optional(),
6986
+ password: z232.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
7036
6987
  // NPM package scopes for whih the proxy should be enabled
7037
- enabledScopes: z233.array(z233.string()),
6988
+ enabledScopes: z232.array(z232.string()),
7038
6989
  // True if client should bypass Supernova proxy and connect directly to the registry
7039
6990
  // (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
7040
- bypassProxy: z233.boolean()
6991
+ bypassProxy: z232.boolean()
7041
6992
  });
7042
- var DTONpmRegistryAccessTokenResponse = z233.object({
7043
- version: z233.number(),
7044
- accessToken: z233.string().optional(),
7045
- registryUrl: z233.string()
6993
+ var DTONpmRegistryAccessTokenResponse = z232.object({
6994
+ version: z232.number(),
6995
+ accessToken: z232.string().optional(),
6996
+ registryUrl: z232.string()
7046
6997
  });
7047
- var DTOUpdateRegistryInput = z233.object({
6998
+ var DTOUpdateRegistryInput = z232.object({
7048
6999
  registryType: nullishToOptional(NpmRegistryType),
7049
7000
  authType: nullishToOptional(NpmRegistryAuthType),
7050
- enabledScopes: nullishToOptional(z233.array(z233.string())),
7051
- customRegistryUrl: nullishToOptional(z233.string()),
7052
- bypassProxy: nullishToOptional(z233.boolean()),
7053
- npmProxyVersion: nullishToOptional(z233.number()),
7054
- authHeaderName: nullishToOptional(z233.string()),
7055
- authHeaderValue: nullishToOptional(z233.string()),
7056
- accessToken: nullishToOptional(z233.string()),
7057
- username: nullishToOptional(z233.string()),
7058
- password: nullishToOptional(z233.string())
7059
- });
7060
- var DTOUpdateRegistryOutput = z233.object({
7001
+ enabledScopes: nullishToOptional(z232.array(z232.string())),
7002
+ customRegistryUrl: nullishToOptional(z232.string()),
7003
+ bypassProxy: nullishToOptional(z232.boolean()),
7004
+ npmProxyVersion: nullishToOptional(z232.number()),
7005
+ authHeaderName: nullishToOptional(z232.string()),
7006
+ authHeaderValue: nullishToOptional(z232.string()),
7007
+ accessToken: nullishToOptional(z232.string()),
7008
+ username: nullishToOptional(z232.string()),
7009
+ password: nullishToOptional(z232.string())
7010
+ });
7011
+ var DTOUpdateRegistryOutput = z232.object({
7061
7012
  npmRegistrySettings: DTONpmRegistryConfig
7062
7013
  });
7063
7014
 
7064
7015
  // src/api/dto/workspaces/workspace.ts
7065
7016
  var DTOWorkspaceProfile = WorkspaceProfile;
7066
- var DTOWorkspace = z234.object({
7067
- id: z234.string(),
7017
+ var DTOWorkspace = z233.object({
7018
+ id: z233.string(),
7068
7019
  profile: DTOWorkspaceProfile,
7069
7020
  subscription: Subscription,
7070
7021
  npmRegistry: DTONpmRegistryConfig.optional()
7071
7022
  });
7072
- var DTOWorkspaceCreateInput = z234.object({
7073
- name: z234.string()
7023
+ var DTOWorkspaceCreateInput = z233.object({
7024
+ name: z233.string()
7074
7025
  });
7075
- var DTOWorkspaceResponse = z234.object({
7026
+ var DTOWorkspaceResponse = z233.object({
7076
7027
  workspace: DTOWorkspace
7077
7028
  });
7078
7029
 
7079
7030
  // src/api/dto/workspaces/membership.ts
7080
- var DTOWorkspaceRole = z235.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
7081
- var DTOUserWorkspaceMembership = z235.object({
7031
+ var DTOWorkspaceRole = z234.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
7032
+ var DTOUserWorkspaceMembership = z234.object({
7082
7033
  // Workspace the user is a member of
7083
7034
  workspace: DTOWorkspace,
7084
7035
  // Assigned role the user has in the workspace
@@ -7088,54 +7039,54 @@ var DTOUserWorkspaceMembership = z235.object({
7088
7039
  // when a workspace's subscription is downgraded to free tier
7089
7040
  effectiveRole: DTOWorkspaceRole
7090
7041
  });
7091
- var DTOWorkspaceMember = z235.object({
7042
+ var DTOWorkspaceMember = z234.object({
7092
7043
  user: User,
7093
7044
  role: WorkspaceRoleSchema,
7094
7045
  effectiveRole: WorkspaceRoleSchema
7095
7046
  });
7096
- var DTOUserWorkspaceMembershipsResponse = z235.object({
7097
- membership: z235.array(DTOUserWorkspaceMembership)
7047
+ var DTOUserWorkspaceMembershipsResponse = z234.object({
7048
+ membership: z234.array(DTOUserWorkspaceMembership)
7098
7049
  });
7099
- var DTOWorkspaceMembersListResponse = z235.object({
7100
- members: z235.array(DTOWorkspaceMember)
7050
+ var DTOWorkspaceMembersListResponse = z234.object({
7051
+ members: z234.array(DTOWorkspaceMember)
7101
7052
  });
7102
7053
 
7103
7054
  // src/api/dto/workspaces/untyped-data.ts
7104
- import { z as z236 } from "zod";
7055
+ import { z as z235 } from "zod";
7105
7056
  var DTOWorkspaceUntypedData = WorkspaceUntypedData;
7106
- var DTOWorkspaceUntypedDataListResponse = z236.object({
7057
+ var DTOWorkspaceUntypedDataListResponse = z235.object({
7107
7058
  data: DTOWorkspaceUntypedData.array()
7108
7059
  });
7109
- var DTOWorkspaceUntypedDataResponse = z236.object({
7060
+ var DTOWorkspaceUntypedDataResponse = z235.object({
7110
7061
  data: DTOWorkspaceUntypedData
7111
7062
  });
7112
- var DTOWorkspaceUntypedDataCreatePayload = z236.object({
7113
- value: z236.unknown()
7063
+ var DTOWorkspaceUntypedDataCreatePayload = z235.object({
7064
+ value: z235.unknown()
7114
7065
  });
7115
- var DTOWorkspaceUntypedDataUpdatePayload = z236.object({
7116
- value: z236.unknown()
7066
+ var DTOWorkspaceUntypedDataUpdatePayload = z235.object({
7067
+ value: z235.unknown()
7117
7068
  });
7118
7069
 
7119
7070
  // src/api/dto/design-systems/user-design-systems.ts
7120
- var DTOUserDesignSystemsResponse = z237.object({
7071
+ var DTOUserDesignSystemsResponse = z236.object({
7121
7072
  designSystems: DTODesignSystem.array(),
7122
7073
  workspaces: DTOWorkspace.array()
7123
7074
  });
7124
7075
 
7125
7076
  // src/api/dto/design-systems/version-room.ts
7126
- import { z as z238 } from "zod";
7127
- var DTODesignSystemVersionRoom = z238.object({
7128
- id: z238.string()
7077
+ import { z as z237 } from "zod";
7078
+ var DTODesignSystemVersionRoom = z237.object({
7079
+ id: z237.string()
7129
7080
  });
7130
- var DTODesignSystemVersionRoomResponse = z238.object({
7081
+ var DTODesignSystemVersionRoomResponse = z237.object({
7131
7082
  room: DTODesignSystemVersionRoom
7132
7083
  });
7133
7084
 
7134
7085
  // src/api/dto/design-systems/version.ts
7135
- import { z as z251 } from "zod";
7086
+ import { z as z250 } from "zod";
7136
7087
 
7137
7088
  // src/api/payloads/design-systems/update-design-system.ts
7138
- import { z as z239 } from "zod";
7089
+ import { z as z238 } from "zod";
7139
7090
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
7140
7091
  id: true,
7141
7092
  workspaceId: true,
@@ -7147,56 +7098,56 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
7147
7098
  }).extend({
7148
7099
  meta: ObjectMeta.partial().optional()
7149
7100
  });
7150
- var DTODesignSystemUpdateAccessModeInput = z239.object({
7101
+ var DTODesignSystemUpdateAccessModeInput = z238.object({
7151
7102
  accessMode: DesignSystemAccessMode,
7152
- retain: z239.object({
7153
- userIds: z239.string().array(),
7154
- inviteIds: z239.string().array()
7103
+ retain: z238.object({
7104
+ userIds: z238.string().array(),
7105
+ inviteIds: z238.string().array()
7155
7106
  }).optional()
7156
7107
  });
7157
7108
 
7158
7109
  // src/api/payloads/design-systems/version.ts
7159
- import { z as z240 } from "zod";
7160
- var ObjectMeta2 = z240.object({
7161
- name: z240.string().max(150).optional(),
7162
- description: z240.string().max(2e3).optional()
7110
+ import { z as z239 } from "zod";
7111
+ var ObjectMeta2 = z239.object({
7112
+ name: z239.string().max(150).optional(),
7113
+ description: z239.string().max(2e3).optional()
7163
7114
  });
7164
7115
  function validateDesignSystemVersion(version) {
7165
7116
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
7166
7117
  return urlCompliantRegex.test(version);
7167
7118
  }
7168
- var DTOCreateVersionInput = z240.object({
7119
+ var DTOCreateVersionInput = z239.object({
7169
7120
  meta: ObjectMeta2,
7170
- version: z240.string().refine(validateDesignSystemVersion, {
7121
+ version: z239.string().refine(validateDesignSystemVersion, {
7171
7122
  message: "Invalid semantic versioning format"
7172
7123
  }),
7173
- changeLog: z240.string().optional()
7124
+ changeLog: z239.string().optional()
7174
7125
  });
7175
- var DTOUpdateVersionInput = z240.object({
7126
+ var DTOUpdateVersionInput = z239.object({
7176
7127
  meta: ObjectMeta2,
7177
- version: z240.string(),
7128
+ version: z239.string(),
7178
7129
  // required for PUT, but not editable
7179
- changeLog: z240.string()
7130
+ changeLog: z239.string()
7180
7131
  });
7181
7132
 
7182
7133
  // src/api/payloads/documentation/analytics.ts
7183
- import { z as z241 } from "zod";
7184
- var DTODocumentationAnalyticsTimeFrameComparison = z241.object({
7185
- referencePeriod: z241.object({
7186
- start: z241.coerce.date(),
7187
- end: z241.coerce.date().optional()
7134
+ import { z as z240 } from "zod";
7135
+ var DTODocumentationAnalyticsTimeFrameComparison = z240.object({
7136
+ referencePeriod: z240.object({
7137
+ start: z240.coerce.date(),
7138
+ end: z240.coerce.date().optional()
7188
7139
  }),
7189
- baselinePeriod: z241.object({
7190
- start: z241.coerce.date(),
7191
- end: z241.coerce.date().optional()
7140
+ baselinePeriod: z240.object({
7141
+ start: z240.coerce.date(),
7142
+ end: z240.coerce.date().optional()
7192
7143
  })
7193
7144
  });
7194
- var DTODocumentationAnalyticsDiffPayload = z241.object({
7195
- timeFrames: z241.array(DTODocumentationAnalyticsTimeFrameComparison)
7145
+ var DTODocumentationAnalyticsDiffPayload = z240.object({
7146
+ timeFrames: z240.array(DTODocumentationAnalyticsTimeFrameComparison)
7196
7147
  });
7197
7148
 
7198
7149
  // src/api/payloads/documentation/block-definitions.ts
7199
- import { z as z242 } from "zod";
7150
+ import { z as z241 } from "zod";
7200
7151
 
7201
7152
  // src/api/dto/documentation/block-definition.ts
7202
7153
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -7208,79 +7159,79 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
7208
7159
  var DTOPageBlockDefinition = PageBlockDefinition;
7209
7160
 
7210
7161
  // src/api/payloads/documentation/block-definitions.ts
7211
- var DTOGetBlockDefinitionsQuery = z242.object({
7212
- files: z242.coerce.boolean().optional()
7162
+ var DTOGetBlockDefinitionsQuery = z241.object({
7163
+ files: z241.coerce.boolean().optional()
7213
7164
  });
7214
- var DTOGetBlockDefinitionsOutput = z242.object({
7215
- definitions: z242.array(DTOPageBlockDefinition)
7165
+ var DTOGetBlockDefinitionsOutput = z241.object({
7166
+ definitions: z241.array(DTOPageBlockDefinition)
7216
7167
  });
7217
7168
 
7218
7169
  // src/api/payloads/documentation/design-data-doc-diff.ts
7219
- import { z as z243 } from "zod";
7220
- var DTODocumentationPublishTypeQueryParams = z243.object({
7221
- environment: z243.enum(["Live", "Preview"])
7170
+ import { z as z242 } from "zod";
7171
+ var DTODocumentationPublishTypeQueryParams = z242.object({
7172
+ environment: z242.enum(["Live", "Preview"])
7222
7173
  });
7223
7174
 
7224
7175
  // src/api/payloads/export/pipeline.ts
7225
- import { z as z245 } from "zod";
7176
+ import { z as z244 } from "zod";
7226
7177
 
7227
7178
  // src/api/dto/export/exporter-property.ts
7228
- import { z as z244 } from "zod";
7229
- var PrimitiveValue2 = z244.number().or(z244.boolean()).or(z244.string());
7230
- var ArrayValue2 = z244.array(z244.string());
7231
- var ObjectValue2 = z244.record(z244.string());
7179
+ import { z as z243 } from "zod";
7180
+ var PrimitiveValue2 = z243.number().or(z243.boolean()).or(z243.string());
7181
+ var ArrayValue2 = z243.array(z243.string());
7182
+ var ObjectValue2 = z243.record(z243.string());
7232
7183
  var DTOExporterPropertyValue = PrimitiveValue2.or(ArrayValue2).or(ObjectValue2);
7233
- var DTOExporterPropertyType = z244.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
7234
- var PropertyDefinitionBase2 = z244.object({
7235
- key: z244.string(),
7236
- title: z244.string(),
7237
- description: z244.string(),
7238
- category: z244.string().optional(),
7239
- dependsOn: z244.record(z244.boolean()).optional()
7240
- });
7241
- var DTOExporterPropertyDefinitionEnumOption = z244.object({
7242
- label: z244.string(),
7243
- description: z244.string()
7184
+ var DTOExporterPropertyType = z243.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
7185
+ var PropertyDefinitionBase2 = z243.object({
7186
+ key: z243.string(),
7187
+ title: z243.string(),
7188
+ description: z243.string(),
7189
+ category: z243.string().optional(),
7190
+ dependsOn: z243.record(z243.boolean()).optional()
7191
+ });
7192
+ var DTOExporterPropertyDefinitionEnumOption = z243.object({
7193
+ label: z243.string(),
7194
+ description: z243.string()
7244
7195
  });
7245
7196
  var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase2.extend({
7246
- type: z244.literal(DTOExporterPropertyType.Enum.Enum),
7247
- options: z244.record(DTOExporterPropertyDefinitionEnumOption),
7248
- default: z244.string()
7197
+ type: z243.literal(DTOExporterPropertyType.Enum.Enum),
7198
+ options: z243.record(DTOExporterPropertyDefinitionEnumOption),
7199
+ default: z243.string()
7249
7200
  });
7250
7201
  var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase2.extend({
7251
- type: z244.literal(DTOExporterPropertyType.Enum.Boolean),
7252
- default: z244.boolean()
7202
+ type: z243.literal(DTOExporterPropertyType.Enum.Boolean),
7203
+ default: z243.boolean()
7253
7204
  });
7254
7205
  var DTOExporterPropertyDefinitionString = PropertyDefinitionBase2.extend({
7255
- type: z244.literal(DTOExporterPropertyType.Enum.String),
7256
- default: z244.string(),
7257
- isMultiline: z244.boolean().optional()
7206
+ type: z243.literal(DTOExporterPropertyType.Enum.String),
7207
+ default: z243.string(),
7208
+ isMultiline: z243.boolean().optional()
7258
7209
  });
7259
7210
  var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase2.extend({
7260
- type: z244.literal(DTOExporterPropertyType.Enum.Number),
7261
- default: z244.number()
7211
+ type: z243.literal(DTOExporterPropertyType.Enum.Number),
7212
+ default: z243.number()
7262
7213
  });
7263
7214
  var DTOExporterPropertyDefinitionArray = PropertyDefinitionBase2.extend({
7264
- type: z244.literal(DTOExporterPropertyType.Enum.Array),
7215
+ type: z243.literal(DTOExporterPropertyType.Enum.Array),
7265
7216
  default: ArrayValue2
7266
7217
  });
7267
7218
  var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase2.extend({
7268
- type: z244.literal(DTOExporterPropertyType.Enum.Object),
7219
+ type: z243.literal(DTOExporterPropertyType.Enum.Object),
7269
7220
  default: ObjectValue2,
7270
- allowedKeys: z244.object({
7271
- options: z244.string().array(),
7272
- type: z244.string()
7221
+ allowedKeys: z243.object({
7222
+ options: z243.string().array(),
7223
+ type: z243.string()
7273
7224
  }).optional(),
7274
- allowedValues: z244.object({
7275
- type: z244.string()
7225
+ allowedValues: z243.object({
7226
+ type: z243.string()
7276
7227
  }).optional()
7277
7228
  });
7278
7229
  var DTOExporterPropertyDefinitionCode = PropertyDefinitionBase2.extend({
7279
- type: z244.literal(DTOExporterPropertyType.Enum.Code),
7280
- language: z244.string(),
7281
- default: z244.string()
7230
+ type: z243.literal(DTOExporterPropertyType.Enum.Code),
7231
+ language: z243.string(),
7232
+ default: z243.string()
7282
7233
  });
7283
- var DTOExporterPropertyDefinition = z244.discriminatedUnion("type", [
7234
+ var DTOExporterPropertyDefinition = z243.discriminatedUnion("type", [
7284
7235
  DTOExporterPropertyDefinitionEnum,
7285
7236
  DTOExporterPropertyDefinitionBoolean,
7286
7237
  DTOExporterPropertyDefinitionString,
@@ -7289,84 +7240,84 @@ var DTOExporterPropertyDefinition = z244.discriminatedUnion("type", [
7289
7240
  DTOExporterPropertyDefinitionObject,
7290
7241
  DTOExporterPropertyDefinitionCode
7291
7242
  ]);
7292
- var DTOExporterPropertyDefinitionsResponse = z244.object({
7243
+ var DTOExporterPropertyDefinitionsResponse = z243.object({
7293
7244
  properties: DTOExporterPropertyDefinition.array()
7294
7245
  });
7295
- var DTOExporterPropertyValueMap = z244.record(DTOExporterPropertyValue);
7246
+ var DTOExporterPropertyValueMap = z243.record(DTOExporterPropertyValue);
7296
7247
 
7297
7248
  // src/api/payloads/export/pipeline.ts
7298
- var GitDestinationOptions = z245.object({
7299
- branch: z245.string().min(1).nullish(),
7300
- commitMessage: z245.string().min(1).nullish(),
7301
- commitAuthorName: z245.string().min(1).nullish(),
7302
- commitAuthorEmail: z245.string().email().nullish(),
7303
- pullRequestTitle: z245.string().min(1).nullish(),
7304
- pullRequestDescription: z245.string().min(1).nullish(),
7305
- relativePath: z245.string().nullish(),
7306
- purgeDirectory: z245.boolean().nullish()
7307
- });
7308
- var DTOPipelineCreateBody = z245.object({
7309
- name: z245.string(),
7310
- exporterId: z245.string(),
7311
- designSystemId: z245.string(),
7312
- isEnabled: z245.boolean(),
7249
+ var GitDestinationOptions = z244.object({
7250
+ branch: z244.string().min(1).nullish(),
7251
+ commitMessage: z244.string().min(1).nullish(),
7252
+ commitAuthorName: z244.string().min(1).nullish(),
7253
+ commitAuthorEmail: z244.string().email().nullish(),
7254
+ pullRequestTitle: z244.string().min(1).nullish(),
7255
+ pullRequestDescription: z244.string().min(1).nullish(),
7256
+ relativePath: z244.string().nullish(),
7257
+ purgeDirectory: z244.boolean().nullish()
7258
+ });
7259
+ var DTOPipelineCreateBody = z244.object({
7260
+ name: z244.string(),
7261
+ exporterId: z244.string(),
7262
+ designSystemId: z244.string(),
7263
+ isEnabled: z244.boolean(),
7313
7264
  eventType: PipelineEventType,
7314
- brandPersistentId: z245.string().optional(),
7315
- themePersistentId: z245.string().optional(),
7316
- themePersistentIds: z245.string().array().optional(),
7265
+ brandPersistentId: z244.string().optional(),
7266
+ themePersistentId: z244.string().optional(),
7267
+ themePersistentIds: z244.string().array().optional(),
7317
7268
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7318
7269
  destination: PipelineDestinationType.optional(),
7319
7270
  gitQuery: GitObjectsQuery,
7320
- destinations: z245.object({
7271
+ destinations: z244.object({
7321
7272
  s3: ExporterDestinationS3.nullish(),
7322
7273
  azure: ExporterDestinationAzure.nullish(),
7323
7274
  bitbucket: ExporterDestinationBitbucket.nullish(),
7324
7275
  github: ExporterDestinationGithub.nullish(),
7325
7276
  gitlab: ExporterDestinationGitlab.nullish(),
7326
7277
  documentation: ExporterDestinationDocs.nullish(),
7327
- webhookUrl: z245.string().nullish()
7278
+ webhookUrl: z244.string().nullish()
7328
7279
  })
7329
7280
  });
7330
- var DTOPipelineUpdateBody = z245.object({
7331
- exporterId: z245.string().optional(),
7332
- name: z245.string().optional(),
7333
- isEnabled: z245.boolean().optional(),
7281
+ var DTOPipelineUpdateBody = z244.object({
7282
+ exporterId: z244.string().optional(),
7283
+ name: z244.string().optional(),
7284
+ isEnabled: z244.boolean().optional(),
7334
7285
  eventType: PipelineEventType.optional(),
7335
- brandPersistentId: z245.string().optional(),
7336
- themePersistentId: z245.string().optional(),
7337
- themePersistentIds: z245.string().array().optional(),
7286
+ brandPersistentId: z244.string().optional(),
7287
+ themePersistentId: z244.string().optional(),
7288
+ themePersistentIds: z244.string().array().optional(),
7338
7289
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7339
7290
  destination: PipelineDestinationType.optional(),
7340
7291
  gitQuery: GitObjectsQuery.optional(),
7341
- destinations: z245.object({
7292
+ destinations: z244.object({
7342
7293
  s3: ExporterDestinationS3.nullish(),
7343
7294
  azure: ExporterDestinationAzure.nullish(),
7344
7295
  bitbucket: ExporterDestinationBitbucket.nullish(),
7345
7296
  github: ExporterDestinationGithub.nullish(),
7346
7297
  gitlab: ExporterDestinationGitlab.nullish(),
7347
7298
  documentation: ExporterDestinationDocs.nullish(),
7348
- webhookUrl: z245.string().nullish()
7299
+ webhookUrl: z244.string().nullish()
7349
7300
  }).optional(),
7350
7301
  gitDestinationOptions: GitDestinationOptions.partial().optional()
7351
7302
  });
7352
- var DTOPipelineTriggerBody = z245.object({
7353
- designSystemVersionId: z245.string()
7303
+ var DTOPipelineTriggerBody = z244.object({
7304
+ designSystemVersionId: z244.string()
7354
7305
  });
7355
7306
 
7356
7307
  // src/api/payloads/liveblocks/auth.ts
7357
- import { z as z246 } from "zod";
7358
- var DTOLiveblocksAuthRequest = z246.object({
7359
- room: z246.string().optional()
7308
+ import { z as z245 } from "zod";
7309
+ var DTOLiveblocksAuthRequest = z245.object({
7310
+ room: z245.string().optional()
7360
7311
  });
7361
7312
 
7362
7313
  // src/api/payloads/users/notifications/notification-settings.ts
7363
- import { z as z247 } from "zod";
7364
- var DTOUpdateUserNotificationSettingsPayload = z247.object({
7314
+ import { z as z246 } from "zod";
7315
+ var DTOUpdateUserNotificationSettingsPayload = z246.object({
7365
7316
  notificationSettings: UserNotificationSettings
7366
7317
  });
7367
- var DTOUserNotificationSettingsResponse = z247.object({
7368
- userId: z247.string(),
7369
- workspaceId: z247.string(),
7318
+ var DTOUserNotificationSettingsResponse = z246.object({
7319
+ userId: z246.string(),
7320
+ workspaceId: z246.string(),
7370
7321
  notificationSettings: UserNotificationSettings
7371
7322
  });
7372
7323
 
@@ -7374,13 +7325,13 @@ var DTOUserNotificationSettingsResponse = z247.object({
7374
7325
  var DTOUserProfileUpdatePayload = UserProfileUpdate;
7375
7326
 
7376
7327
  // src/api/payloads/workspaces/transfer-ownership.ts
7377
- import { z as z248 } from "zod";
7378
- var DTOTransferOwnershipPayload = z248.object({
7379
- newOwnerId: z248.string()
7328
+ import { z as z247 } from "zod";
7329
+ var DTOTransferOwnershipPayload = z247.object({
7330
+ newOwnerId: z247.string()
7380
7331
  });
7381
7332
 
7382
7333
  // src/api/payloads/workspaces/workspace-configuration.ts
7383
- import { z as z249 } from "zod";
7334
+ import { z as z248 } from "zod";
7384
7335
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
7385
7336
  function validateSsoPayload(ssoPayload) {
7386
7337
  const keys = [];
@@ -7403,21 +7354,21 @@ function validateSsoPayload(ssoPayload) {
7403
7354
  keys
7404
7355
  };
7405
7356
  }
7406
- var NpmRegistryInput = z249.object({
7407
- enabledScopes: z249.array(z249.string()),
7408
- customRegistryUrl: z249.string().optional(),
7409
- bypassProxy: z249.boolean().optional(),
7410
- npmProxyRegistryConfigId: z249.string().optional(),
7411
- npmProxyVersion: z249.number().optional(),
7412
- registryType: z249.string(),
7413
- authType: z249.string(),
7414
- authHeaderName: z249.string(),
7415
- authHeaderValue: z249.string(),
7416
- accessToken: z249.string(),
7417
- username: z249.string(),
7418
- password: z249.string()
7419
- });
7420
- var WorkspaceConfigurationPayload = z249.object({
7357
+ var NpmRegistryInput = z248.object({
7358
+ enabledScopes: z248.array(z248.string()),
7359
+ customRegistryUrl: z248.string().optional(),
7360
+ bypassProxy: z248.boolean().optional(),
7361
+ npmProxyRegistryConfigId: z248.string().optional(),
7362
+ npmProxyVersion: z248.number().optional(),
7363
+ registryType: z248.string(),
7364
+ authType: z248.string(),
7365
+ authHeaderName: z248.string(),
7366
+ authHeaderValue: z248.string(),
7367
+ accessToken: z248.string(),
7368
+ username: z248.string(),
7369
+ password: z248.string()
7370
+ });
7371
+ var WorkspaceConfigurationPayload = z248.object({
7421
7372
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
7422
7373
  sso: SsoProvider.partial().optional(),
7423
7374
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
@@ -7425,107 +7376,107 @@ var WorkspaceConfigurationPayload = z249.object({
7425
7376
  });
7426
7377
 
7427
7378
  // src/api/payloads/workspaces/workspace-integrations.ts
7428
- import { z as z250 } from "zod";
7429
- var DTOWorkspaceIntegrationOauthInput = z250.object({
7379
+ import { z as z249 } from "zod";
7380
+ var DTOWorkspaceIntegrationOauthInput = z249.object({
7430
7381
  type: IntegrationType
7431
7382
  });
7432
- var DTOWorkspaceIntegrationPATInput = z250.object({
7383
+ var DTOWorkspaceIntegrationPATInput = z249.object({
7433
7384
  type: IntegrationType,
7434
7385
  token: IntegrationToken
7435
7386
  });
7436
- var DTOWorkspaceIntegrationGetGitObjectsInput = z250.object({
7437
- organization: z250.string().optional(),
7387
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z249.object({
7388
+ organization: z249.string().optional(),
7438
7389
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
7439
- project: z250.string().optional(),
7390
+ project: z249.string().optional(),
7440
7391
  // Only for Bitbucket and Azure
7441
- repository: z250.string().optional(),
7392
+ repository: z249.string().optional(),
7442
7393
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
7443
- branch: z250.string().optional(),
7394
+ branch: z249.string().optional(),
7444
7395
  // For all providers, useful for PR creations.
7445
- user: z250.string().optional()
7396
+ user: z249.string().optional()
7446
7397
  // Only for Gitlab User Repositories
7447
7398
  });
7448
7399
 
7449
7400
  // src/api/dto/design-systems/version.ts
7450
- var DTODesignSystemVersion = z251.object({
7451
- id: z251.string(),
7452
- createdAt: z251.coerce.date(),
7401
+ var DTODesignSystemVersion = z250.object({
7402
+ id: z250.string(),
7403
+ createdAt: z250.coerce.date(),
7453
7404
  meta: ObjectMeta,
7454
- version: z251.string(),
7455
- isReadonly: z251.boolean(),
7456
- changeLog: z251.string(),
7457
- designSystemId: z251.string()
7405
+ version: z250.string(),
7406
+ isReadonly: z250.boolean(),
7407
+ changeLog: z250.string(),
7408
+ designSystemId: z250.string()
7458
7409
  });
7459
- var DTODesignSystemVersionsListResponse = z251.object({
7460
- designSystemVersions: z251.array(DTODesignSystemVersion)
7410
+ var DTODesignSystemVersionsListResponse = z250.object({
7411
+ designSystemVersions: z250.array(DTODesignSystemVersion)
7461
7412
  });
7462
- var DTODesignSystemVersionGetResponse = z251.object({
7413
+ var DTODesignSystemVersionGetResponse = z250.object({
7463
7414
  designSystemVersion: DTODesignSystemVersion
7464
7415
  });
7465
- var DTODesignSystemVersionCreationResponse = z251.object({
7416
+ var DTODesignSystemVersionCreationResponse = z250.object({
7466
7417
  meta: ObjectMeta,
7467
- version: z251.string(),
7468
- changeLog: z251.string(),
7469
- isReadOnly: z251.boolean(),
7470
- designSystemId: z251.string(),
7471
- jobId: z251.string()
7472
- });
7473
- var VersionSQSPayload = z251.object({
7474
- jobId: z251.string(),
7475
- designSystemId: z251.string(),
7418
+ version: z250.string(),
7419
+ changeLog: z250.string(),
7420
+ isReadOnly: z250.boolean(),
7421
+ designSystemId: z250.string(),
7422
+ jobId: z250.string()
7423
+ });
7424
+ var VersionSQSPayload = z250.object({
7425
+ jobId: z250.string(),
7426
+ designSystemId: z250.string(),
7476
7427
  input: DTOCreateVersionInput
7477
7428
  });
7478
- var DTODesignSystemVersionJobsResponse = z251.object({
7479
- jobs: z251.array(VersionCreationJob)
7429
+ var DTODesignSystemVersionJobsResponse = z250.object({
7430
+ jobs: z250.array(VersionCreationJob)
7480
7431
  });
7481
- var DTODesignSystemVersionJobStatusResponse = z251.object({
7432
+ var DTODesignSystemVersionJobStatusResponse = z250.object({
7482
7433
  job: VersionCreationJob
7483
7434
  });
7484
7435
 
7485
7436
  // src/api/dto/design-systems/view.ts
7486
- import { z as z252 } from "zod";
7487
- var DTOElementViewColumnSharedAttributes = z252.object({
7488
- id: z252.string(),
7489
- persistentId: z252.string(),
7490
- width: z252.number()
7437
+ import { z as z251 } from "zod";
7438
+ var DTOElementViewColumnSharedAttributes = z251.object({
7439
+ id: z251.string(),
7440
+ persistentId: z251.string(),
7441
+ width: z251.number()
7491
7442
  });
7492
7443
  var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
7493
- type: z252.literal("BaseProperty"),
7444
+ type: z251.literal("BaseProperty"),
7494
7445
  basePropertyType: ElementViewBaseColumnType
7495
7446
  });
7496
7447
  var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
7497
- type: z252.literal("PropertyDefinition"),
7498
- propertyDefinitionId: z252.string()
7448
+ type: z251.literal("PropertyDefinition"),
7449
+ propertyDefinitionId: z251.string()
7499
7450
  });
7500
7451
  var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
7501
- type: z252.literal("Theme"),
7502
- themeId: z252.string()
7452
+ type: z251.literal("Theme"),
7453
+ themeId: z251.string()
7503
7454
  });
7504
- var DTOElementViewColumn = z252.discriminatedUnion("type", [
7455
+ var DTOElementViewColumn = z251.discriminatedUnion("type", [
7505
7456
  DTOElementViewBasePropertyColumn,
7506
7457
  DTOElementViewPropertyDefinitionColumn,
7507
7458
  DTOElementViewThemeColumn
7508
7459
  ]);
7509
- var DTOElementView = z252.object({
7460
+ var DTOElementView = z251.object({
7510
7461
  meta: ObjectMeta,
7511
- persistentId: z252.string(),
7462
+ persistentId: z251.string(),
7512
7463
  targetElementType: ElementPropertyTargetType,
7513
- id: z252.string(),
7514
- isDefault: z252.boolean(),
7515
- columns: z252.array(DTOElementViewColumn)
7464
+ id: z251.string(),
7465
+ isDefault: z251.boolean(),
7466
+ columns: z251.array(DTOElementViewColumn)
7516
7467
  });
7517
- var DTOElementViewsListResponse = z252.object({
7518
- elementDataViews: z252.array(DTOElementView)
7468
+ var DTOElementViewsListResponse = z251.object({
7469
+ elementDataViews: z251.array(DTOElementView)
7519
7470
  });
7520
7471
 
7521
7472
  // src/api/dto/bff/app-bootstrap-data.ts
7522
- var DTOAppBootstrapDataQuery = z253.object({
7523
- preferredWorkspaceId: z253.string().optional(),
7524
- preferredDesignSystemId: z253.string().optional(),
7525
- preferredVersionId: z253.string().optional(),
7526
- preferredBrandId: z253.string().optional()
7473
+ var DTOAppBootstrapDataQuery = z252.object({
7474
+ preferredWorkspaceId: z252.string().optional(),
7475
+ preferredDesignSystemId: z252.string().optional(),
7476
+ preferredVersionId: z252.string().optional(),
7477
+ preferredBrandId: z252.string().optional()
7527
7478
  });
7528
- var DTOAppBootstrapDataResponse = z253.object({
7479
+ var DTOAppBootstrapDataResponse = z252.object({
7529
7480
  workspaceMembership: DTOUserWorkspaceMembership.optional(),
7530
7481
  designSystem: DTODesignSystem.optional(),
7531
7482
  version: DTODesignSystemVersion.optional(),
@@ -7533,92 +7484,92 @@ var DTOAppBootstrapDataResponse = z253.object({
7533
7484
  });
7534
7485
 
7535
7486
  // src/api/dto/collections/token-collection.ts
7536
- import { z as z254 } from "zod";
7537
- var DTOTokenCollection = z254.object({
7538
- id: z254.string(),
7539
- persistentId: z254.string(),
7540
- designSystemVersionId: z254.string(),
7487
+ import { z as z253 } from "zod";
7488
+ var DTOTokenCollection = z253.object({
7489
+ id: z253.string(),
7490
+ persistentId: z253.string(),
7491
+ designSystemVersionId: z253.string(),
7541
7492
  meta: ObjectMeta,
7542
7493
  backgroundColor: ColorTokenInlineData.optional(),
7543
- elementPropertyOptionId: z254.string(),
7544
- createdAt: z254.coerce.date(),
7545
- updatedAt: z254.coerce.date(),
7494
+ elementPropertyOptionId: z253.string(),
7495
+ createdAt: z253.coerce.date(),
7496
+ updatedAt: z253.coerce.date(),
7546
7497
  origin: CollectionOrigin.optional()
7547
7498
  });
7548
- var DTOTokenCollectionsListReponse = z254.object({
7499
+ var DTOTokenCollectionsListReponse = z253.object({
7549
7500
  collections: DTOTokenCollection.array()
7550
7501
  });
7551
7502
 
7552
7503
  // src/api/dto/design-tokens/design-token.ts
7553
- import { z as z255 } from "zod";
7504
+ import { z as z254 } from "zod";
7554
7505
  var DTODesignToken = DesignTokenTypedData.and(
7555
- z255.object({
7556
- id: z255.string(),
7557
- persistentId: z255.string(),
7558
- designSystemVersionId: z255.string(),
7506
+ z254.object({
7507
+ id: z254.string(),
7508
+ persistentId: z254.string(),
7509
+ designSystemVersionId: z254.string(),
7559
7510
  meta: ObjectMeta,
7560
7511
  originStyle: DesignTokenOrigin.optional(),
7561
- brandId: z255.string(),
7562
- collectionId: z255.string().optional(),
7563
- updatedAt: z255.coerce.date()
7512
+ brandId: z254.string(),
7513
+ collectionId: z254.string().optional(),
7514
+ updatedAt: z254.coerce.date()
7564
7515
  })
7565
7516
  );
7566
- var DTODesignTokenListResponse = z255.object({
7517
+ var DTODesignTokenListResponse = z254.object({
7567
7518
  tokens: DTODesignToken.array()
7568
7519
  });
7569
- var DTODesignTokenResponse = z255.object({
7520
+ var DTODesignTokenResponse = z254.object({
7570
7521
  token: DTODesignToken
7571
7522
  });
7572
- var DTODesignTokenGroup = z255.object({
7573
- id: z255.string(),
7523
+ var DTODesignTokenGroup = z254.object({
7524
+ id: z254.string(),
7574
7525
  tokenType: DesignTokenType,
7575
- persistentId: z255.string(),
7576
- isRoot: z255.boolean(),
7577
- brandId: z255.string(),
7526
+ persistentId: z254.string(),
7527
+ isRoot: z254.boolean(),
7528
+ brandId: z254.string(),
7578
7529
  meta: ObjectMeta,
7579
- childrenIds: z255.string().array()
7530
+ childrenIds: z254.string().array()
7580
7531
  });
7581
- var DTODesignTokenGroupListResponse = z255.object({
7532
+ var DTODesignTokenGroupListResponse = z254.object({
7582
7533
  groups: DTODesignTokenGroup.array()
7583
7534
  });
7584
- var DTODesignTokenGroupResponse = z255.object({
7535
+ var DTODesignTokenGroupResponse = z254.object({
7585
7536
  group: DTODesignTokenGroup
7586
7537
  });
7587
7538
  var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
7588
- z255.object({
7589
- persistentId: z255.string(),
7539
+ z254.object({
7540
+ persistentId: z254.string(),
7590
7541
  meta: ObjectMeta,
7591
- brandId: z255.string(),
7592
- groupPersistentId: z255.string().optional()
7542
+ brandId: z254.string(),
7543
+ groupPersistentId: z254.string().optional()
7593
7544
  })
7594
7545
  );
7595
- var DTODesignTokenGroupCreatePayload = z255.object({
7596
- persistentId: z255.string(),
7546
+ var DTODesignTokenGroupCreatePayload = z254.object({
7547
+ persistentId: z254.string(),
7597
7548
  meta: ObjectMeta,
7598
- brandId: z255.string(),
7599
- parentId: z255.string().optional(),
7549
+ brandId: z254.string(),
7550
+ parentId: z254.string().optional(),
7600
7551
  tokenType: DesignTokenType,
7601
- childrenIds: z255.string().array()
7552
+ childrenIds: z254.string().array()
7602
7553
  });
7603
7554
 
7604
7555
  // src/api/dto/documentation/analytics-v2.ts
7605
- import { z as z256 } from "zod";
7606
- var DTODocumentationAnalyticsTimeFrame = z256.object({
7607
- start: z256.coerce.date(),
7608
- end: z256.coerce.date().optional()
7556
+ import { z as z255 } from "zod";
7557
+ var DTODocumentationAnalyticsTimeFrame = z255.object({
7558
+ start: z255.coerce.date(),
7559
+ end: z255.coerce.date().optional()
7609
7560
  });
7610
- var DTOPublishedDocVisitData = z256.object({
7611
- timestamp: z256.coerce.date(),
7612
- versionId: z256.string(),
7613
- locale: z256.string().optional(),
7614
- visits: z256.number(),
7615
- sessions: z256.number()
7561
+ var DTOPublishedDocVisitData = z255.object({
7562
+ timestamp: z255.coerce.date(),
7563
+ versionId: z255.string(),
7564
+ locale: z255.string().optional(),
7565
+ visits: z255.number(),
7566
+ sessions: z255.number()
7616
7567
  });
7617
7568
  var DTOPublishedDocPageVisitData = DTOPublishedDocVisitData.extend({
7618
- pagePersistentId: z256.string()
7569
+ pagePersistentId: z255.string()
7619
7570
  });
7620
- var DTOPublishedDocVisitHeatMapDay = z256.number().array().length(12);
7621
- var DTOPublishedDocVisitHeatMapWeek = z256.object({
7571
+ var DTOPublishedDocVisitHeatMapDay = z255.number().array().length(12);
7572
+ var DTOPublishedDocVisitHeatMapWeek = z255.object({
7622
7573
  /**
7623
7574
  * For which timeframe it was calculated
7624
7575
  */
@@ -7631,65 +7582,65 @@ var DTOPublishedDocVisitHeatMapWeek = z256.object({
7631
7582
  sat: DTOPublishedDocVisitHeatMapDay,
7632
7583
  sun: DTOPublishedDocVisitHeatMapDay
7633
7584
  });
7634
- var DTOPublishedDocAnalyticsComparisonData = z256.object({
7585
+ var DTOPublishedDocAnalyticsComparisonData = z255.object({
7635
7586
  /**
7636
7587
  * For which timeframe it was calculated
7637
7588
  */
7638
7589
  timeFrame: DTODocumentationAnalyticsTimeFrame,
7639
- priorVisitCount: z256.number(),
7640
- priorSessionCount: z256.number(),
7641
- currentVisitCount: z256.number(),
7642
- currentSessionCount: z256.number()
7590
+ priorVisitCount: z255.number(),
7591
+ priorSessionCount: z255.number(),
7592
+ currentVisitCount: z255.number(),
7593
+ currentSessionCount: z255.number()
7643
7594
  });
7644
7595
  var DTOPublishedDocPageAnalyticsComparisonData = DTOPublishedDocAnalyticsComparisonData.extend({
7645
- pagePersistentId: z256.string()
7596
+ pagePersistentId: z255.string()
7646
7597
  });
7647
- var DTODocumentationPageAnalyticsResponse = z256.object({
7598
+ var DTODocumentationPageAnalyticsResponse = z255.object({
7648
7599
  globalAnalytics: DTOPublishedDocVisitData.array(),
7649
7600
  pageAnalytics: DTOPublishedDocPageVisitData.array(),
7650
7601
  heatMapData: DTOPublishedDocVisitHeatMapWeek.array(),
7651
7602
  comparisonData: DTOPublishedDocAnalyticsComparisonData.array(),
7652
7603
  pageComparisonData: DTOPublishedDocPageAnalyticsComparisonData.array()
7653
7604
  });
7654
- var DTODocumentationAnalyticsRequest = z256.object({
7655
- timeFrames: z256.array(DTODocumentationAnalyticsTimeFrame)
7605
+ var DTODocumentationAnalyticsRequest = z255.object({
7606
+ timeFrames: z255.array(DTODocumentationAnalyticsTimeFrame)
7656
7607
  });
7657
7608
 
7658
7609
  // src/api/dto/documentation/analytics.ts
7659
- import { z as z257 } from "zod";
7660
- var DTODocumentationPageAnalyticsDifference = z257.object({
7661
- startDate: z257.coerce.date(),
7662
- endDate: z257.coerce.date().optional(),
7663
- currentVisitCount: z257.number(),
7664
- currentSessionCount: z257.number(),
7665
- priorVisitCount: z257.number(),
7666
- priorSessionCount: z257.number()
7610
+ import { z as z256 } from "zod";
7611
+ var DTODocumentationPageAnalyticsDifference = z256.object({
7612
+ startDate: z256.coerce.date(),
7613
+ endDate: z256.coerce.date().optional(),
7614
+ currentVisitCount: z256.number(),
7615
+ currentSessionCount: z256.number(),
7616
+ priorVisitCount: z256.number(),
7617
+ priorSessionCount: z256.number()
7667
7618
  });
7668
- var DTODocumentationPageIntervalDifferenceResponse = z257.object({
7669
- differences: z257.array(DTODocumentationPageAnalyticsDifference)
7619
+ var DTODocumentationPageIntervalDifferenceResponse = z256.object({
7620
+ differences: z256.array(DTODocumentationPageAnalyticsDifference)
7670
7621
  });
7671
7622
 
7672
7623
  // src/api/dto/documentation/anchor.ts
7673
- import { z as z258 } from "zod";
7624
+ import { z as z257 } from "zod";
7674
7625
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
7675
- var DTOGetDocumentationPageAnchorsResponse = z258.object({
7676
- anchors: z258.array(DTODocumentationPageAnchor)
7626
+ var DTOGetDocumentationPageAnchorsResponse = z257.object({
7627
+ anchors: z257.array(DTODocumentationPageAnchor)
7677
7628
  });
7678
7629
 
7679
7630
  // src/api/dto/documentation/approvals.ts
7680
- import { z as z259 } from "zod";
7681
- var DTODocumentationPageApprovalState = z259.object({
7631
+ import { z as z258 } from "zod";
7632
+ var DTODocumentationPageApprovalState = z258.object({
7682
7633
  approvalState: DocumentationPageApprovalState,
7683
- pagePersistentId: z259.string(),
7684
- updatedByUserId: z259.string(),
7685
- designSystemVersionId: z259.string(),
7686
- updatedAt: z259.coerce.date(),
7687
- createdAt: z259.coerce.date()
7688
- });
7689
- var DTODocumentationGroupApprovalState = z259.object({
7690
- persistentId: z259.string(),
7691
- groupPersistentId: z259.string(),
7692
- designSystemVersionId: z259.string(),
7634
+ pagePersistentId: z258.string(),
7635
+ updatedByUserId: z258.string(),
7636
+ designSystemVersionId: z258.string(),
7637
+ updatedAt: z258.coerce.date(),
7638
+ createdAt: z258.coerce.date()
7639
+ });
7640
+ var DTODocumentationGroupApprovalState = z258.object({
7641
+ persistentId: z258.string(),
7642
+ groupPersistentId: z258.string(),
7643
+ designSystemVersionId: z258.string(),
7693
7644
  approvalState: DocumentationPageApprovalState
7694
7645
  });
7695
7646
 
@@ -7697,68 +7648,68 @@ var DTODocumentationGroupApprovalState = z259.object({
7697
7648
  var DTOPageBlockItemV2 = PageBlockItemV2;
7698
7649
 
7699
7650
  // src/api/dto/documentation/documentation-page-snapshot.ts
7700
- import { z as z264 } from "zod";
7651
+ import { z as z263 } from "zod";
7701
7652
 
7702
7653
  // src/api/dto/elements/documentation/page-v2.ts
7703
- import { z as z263 } from "zod";
7654
+ import { z as z262 } from "zod";
7704
7655
 
7705
7656
  // src/api/dto/elements/documentation/draft-state.ts
7706
- import { z as z261 } from "zod";
7657
+ import { z as z260 } from "zod";
7707
7658
 
7708
7659
  // src/api/dto/elements/documentation/item-configuration-v2.ts
7709
- import { z as z260 } from "zod";
7660
+ import { z as z259 } from "zod";
7710
7661
  var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
7711
- var DTODocumentationItemConfigurationV2 = z260.object({
7712
- showSidebar: z260.boolean(),
7713
- isPrivate: z260.boolean(),
7714
- isHidden: z260.boolean(),
7662
+ var DTODocumentationItemConfigurationV2 = z259.object({
7663
+ showSidebar: z259.boolean(),
7664
+ isPrivate: z259.boolean(),
7665
+ isHidden: z259.boolean(),
7715
7666
  header: DTODocumentationItemHeaderV2
7716
7667
  });
7717
7668
 
7718
7669
  // src/api/dto/elements/documentation/draft-state.ts
7719
- var DTODocumentationDraftChangeType = z261.enum(["Created", "Updated", "Deleted"]);
7720
- var DTODocumentationDraftStateCreated = z261.object({
7721
- changeType: z261.literal(DTODocumentationDraftChangeType.enum.Created)
7722
- });
7723
- var DTODocumentationDraftStateUpdated = z261.object({
7724
- changeType: z261.literal(DTODocumentationDraftChangeType.enum.Updated),
7725
- changes: z261.object({
7726
- previousTitle: z261.string().optional(),
7670
+ var DTODocumentationDraftChangeType = z260.enum(["Created", "Updated", "Deleted"]);
7671
+ var DTODocumentationDraftStateCreated = z260.object({
7672
+ changeType: z260.literal(DTODocumentationDraftChangeType.enum.Created)
7673
+ });
7674
+ var DTODocumentationDraftStateUpdated = z260.object({
7675
+ changeType: z260.literal(DTODocumentationDraftChangeType.enum.Updated),
7676
+ changes: z260.object({
7677
+ previousTitle: z260.string().optional(),
7727
7678
  previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
7728
- previousContentHash: z261.string().optional()
7679
+ previousContentHash: z260.string().optional()
7729
7680
  })
7730
7681
  });
7731
- var DTODocumentationDraftStateDeleted = z261.object({
7732
- changeType: z261.literal(DTODocumentationDraftChangeType.enum.Deleted),
7733
- deletedAt: z261.coerce.date(),
7734
- deletedByUserId: z261.string()
7682
+ var DTODocumentationDraftStateDeleted = z260.object({
7683
+ changeType: z260.literal(DTODocumentationDraftChangeType.enum.Deleted),
7684
+ deletedAt: z260.coerce.date(),
7685
+ deletedByUserId: z260.string()
7735
7686
  });
7736
- var DTODocumentationDraftState = z261.discriminatedUnion("changeType", [
7687
+ var DTODocumentationDraftState = z260.discriminatedUnion("changeType", [
7737
7688
  DTODocumentationDraftStateCreated,
7738
7689
  DTODocumentationDraftStateUpdated,
7739
7690
  DTODocumentationDraftStateDeleted
7740
7691
  ]);
7741
7692
 
7742
7693
  // src/api/dto/elements/documentation/metadata.ts
7743
- import { z as z262 } from "zod";
7744
- var DTODocumentationPublishMetadata = z262.object({
7745
- lastPublishedByUserId: z262.string(),
7746
- lastPublishedAt: z262.coerce.date()
7694
+ import { z as z261 } from "zod";
7695
+ var DTODocumentationPublishMetadata = z261.object({
7696
+ lastPublishedByUserId: z261.string(),
7697
+ lastPublishedAt: z261.coerce.date()
7747
7698
  });
7748
7699
 
7749
7700
  // src/api/dto/elements/documentation/page-v2.ts
7750
- var DTODocumentationPageV2 = z263.object({
7751
- id: z263.string(),
7752
- persistentId: z263.string(),
7753
- designSystemVersionId: z263.string(),
7754
- title: z263.string(),
7701
+ var DTODocumentationPageV2 = z262.object({
7702
+ id: z262.string(),
7703
+ persistentId: z262.string(),
7704
+ designSystemVersionId: z262.string(),
7705
+ title: z262.string(),
7755
7706
  configuration: DTODocumentationItemConfigurationV2,
7756
- shortPersistentId: z263.string(),
7757
- slug: z263.string().optional(),
7758
- userSlug: z263.string().optional(),
7759
- createdAt: z263.coerce.date(),
7760
- updatedAt: z263.coerce.date(),
7761
- path: z263.string(),
7707
+ shortPersistentId: z262.string(),
7708
+ slug: z262.string().optional(),
7709
+ userSlug: z262.string().optional(),
7710
+ createdAt: z262.coerce.date(),
7711
+ updatedAt: z262.coerce.date(),
7712
+ path: z262.string(),
7762
7713
  /** Defined when a page has changed since last publish and can be included into a partial publish */
7763
7714
  draftState: DTODocumentationDraftState.optional(),
7764
7715
  /** Defined if a page was published at least once and contains metadata about last publish */
@@ -7766,267 +7717,267 @@ var DTODocumentationPageV2 = z263.object({
7766
7717
  /** Defines the approval state of the documentation page */
7767
7718
  approvalState: DTODocumentationPageApprovalState.optional(),
7768
7719
  /** Id of the page document room */
7769
- liveblocksRoomId: z263.string().optional(),
7720
+ liveblocksRoomId: z262.string().optional(),
7770
7721
  // Backward compatibility
7771
- type: z263.literal("Page")
7722
+ type: z262.literal("Page")
7772
7723
  });
7773
- var DTOCreateDocumentationPageInputV2 = z263.object({
7724
+ var DTOCreateDocumentationPageInputV2 = z262.object({
7774
7725
  // Identifier
7775
- persistentId: z263.string(),
7726
+ persistentId: z262.string(),
7776
7727
  // Page properties
7777
- title: z263.string(),
7728
+ title: z262.string(),
7778
7729
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
7779
7730
  // Page placement properties
7780
- parentPersistentId: z263.string(),
7781
- afterPersistentId: z263.string().nullish()
7731
+ parentPersistentId: z262.string(),
7732
+ afterPersistentId: z262.string().nullish()
7782
7733
  });
7783
- var DTOUpdateDocumentationPageInputV2 = z263.object({
7734
+ var DTOUpdateDocumentationPageInputV2 = z262.object({
7784
7735
  // Identifier of the page to update
7785
- id: z263.string(),
7736
+ id: z262.string(),
7786
7737
  // Page properties
7787
- title: z263.string().optional(),
7738
+ title: z262.string().optional(),
7788
7739
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
7789
7740
  });
7790
- var DTOUpdateDocumentationPageDocumentInputV2 = z263.object({
7741
+ var DTOUpdateDocumentationPageDocumentInputV2 = z262.object({
7791
7742
  // Identifier of the page to update
7792
- id: z263.string(),
7743
+ id: z262.string(),
7793
7744
  // Page properties
7794
- documentItems: z263.array(DocumentationPageContentItem)
7745
+ documentItems: z262.array(DocumentationPageContentItem)
7795
7746
  });
7796
- var DTOMoveDocumentationPageInputV2 = z263.object({
7747
+ var DTOMoveDocumentationPageInputV2 = z262.object({
7797
7748
  // Identifier of the group to update
7798
- id: z263.string(),
7749
+ id: z262.string(),
7799
7750
  // Page placement properties
7800
- parentPersistentId: z263.string(),
7801
- afterPersistentId: z263.string().nullish()
7751
+ parentPersistentId: z262.string(),
7752
+ afterPersistentId: z262.string().nullish()
7802
7753
  });
7803
- var DTODuplicateDocumentationPageInputV2 = z263.object({
7754
+ var DTODuplicateDocumentationPageInputV2 = z262.object({
7804
7755
  // Identifier of the page to duplicate from
7805
- id: z263.string(),
7756
+ id: z262.string(),
7806
7757
  // New page persistent id
7807
- persistentId: z263.string(),
7758
+ persistentId: z262.string(),
7808
7759
  // Page placement properties
7809
- parentPersistentId: z263.string(),
7810
- afterPersistentId: z263.string().nullish()
7760
+ parentPersistentId: z262.string(),
7761
+ afterPersistentId: z262.string().nullish()
7811
7762
  });
7812
- var DTODeleteDocumentationPageInputV2 = z263.object({
7763
+ var DTODeleteDocumentationPageInputV2 = z262.object({
7813
7764
  // Identifier
7814
- id: z263.string()
7765
+ id: z262.string()
7815
7766
  });
7816
- var DTORestoreDocumentationPageInput = z263.object({
7817
- persistentId: z263.string(),
7818
- snapshotId: z263.string().optional()
7767
+ var DTORestoreDocumentationPageInput = z262.object({
7768
+ persistentId: z262.string(),
7769
+ snapshotId: z262.string().optional()
7819
7770
  });
7820
- var DTORestoreDocumentationGroupInput = z263.object({
7821
- persistentId: z263.string(),
7822
- snapshotId: z263.string().optional()
7771
+ var DTORestoreDocumentationGroupInput = z262.object({
7772
+ persistentId: z262.string(),
7773
+ snapshotId: z262.string().optional()
7823
7774
  });
7824
- var DTODocumentationPageApprovalStateChangeInput = z263.object({
7825
- persistentId: z263.string(),
7775
+ var DTODocumentationPageApprovalStateChangeInput = z262.object({
7776
+ persistentId: z262.string(),
7826
7777
  approvalState: DocumentationPageApprovalState.optional()
7827
7778
  });
7828
7779
 
7829
7780
  // src/api/dto/documentation/documentation-page-snapshot.ts
7830
- var DTODocumentationPageSnapshot = z264.object({
7831
- id: z264.string(),
7832
- designSystemVersionId: z264.string(),
7833
- createdAt: z264.string(),
7834
- updatedAt: z264.string(),
7781
+ var DTODocumentationPageSnapshot = z263.object({
7782
+ id: z263.string(),
7783
+ designSystemVersionId: z263.string(),
7784
+ createdAt: z263.string(),
7785
+ updatedAt: z263.string(),
7835
7786
  documentationPage: DTODocumentationPageV2,
7836
- pageContentHash: z264.string(),
7787
+ pageContentHash: z263.string(),
7837
7788
  reason: DesignElementSnapshotReason
7838
7789
  });
7839
7790
 
7840
7791
  // src/api/dto/documentation/link-preview.ts
7841
- import { z as z265 } from "zod";
7842
- var DTODocumentationLinkPreviewResponse = z265.object({
7792
+ import { z as z264 } from "zod";
7793
+ var DTODocumentationLinkPreviewResponse = z264.object({
7843
7794
  linkPreview: DocumentationLinkPreview
7844
7795
  });
7845
- var DTODocumentationLinkPreviewRequest = z265.object({
7846
- url: z265.string().optional(),
7847
- documentationItemPersistentId: z265.string().optional()
7796
+ var DTODocumentationLinkPreviewRequest = z264.object({
7797
+ url: z264.string().optional(),
7798
+ documentationItemPersistentId: z264.string().optional()
7848
7799
  });
7849
7800
 
7850
7801
  // src/api/dto/documentation/publish.ts
7851
- import { z as z269 } from "zod";
7802
+ import { z as z268 } from "zod";
7852
7803
 
7853
7804
  // src/api/dto/export/exporter.ts
7854
- import { z as z266 } from "zod";
7855
- var DTOExporterType = z266.enum(["documentation", "code"]);
7856
- var DTOExporterSource = z266.enum(["git", "upload"]);
7857
- var DTOExporterMembershipRole = z266.enum(["Owner", "OwnerArchived", "User"]);
7858
- var DTOExporterListQuery = z266.object({
7859
- limit: z266.coerce.number().optional(),
7860
- offset: z266.coerce.number().optional(),
7805
+ import { z as z265 } from "zod";
7806
+ var DTOExporterType = z265.enum(["documentation", "code"]);
7807
+ var DTOExporterSource = z265.enum(["git", "upload"]);
7808
+ var DTOExporterMembershipRole = z265.enum(["Owner", "OwnerArchived", "User"]);
7809
+ var DTOExporterListQuery = z265.object({
7810
+ limit: z265.coerce.number().optional(),
7811
+ offset: z265.coerce.number().optional(),
7861
7812
  type: DTOExporterType.optional(),
7862
- search: z266.string().optional()
7813
+ search: z265.string().optional()
7863
7814
  });
7864
- var DTOExporter = z266.object({
7865
- id: z266.string(),
7866
- name: z266.string(),
7867
- isPrivate: z266.boolean(),
7815
+ var DTOExporter = z265.object({
7816
+ id: z265.string(),
7817
+ name: z265.string(),
7818
+ isPrivate: z265.boolean(),
7868
7819
  exporterType: DTOExporterType,
7869
- isDefaultDocumentationExporter: z266.boolean(),
7870
- iconURL: z266.string().optional(),
7820
+ isDefaultDocumentationExporter: z265.boolean(),
7821
+ iconURL: z265.string().optional(),
7871
7822
  configurationProperties: PulsarContributionConfigurationProperty.array(),
7872
7823
  properties: DTOExporterPropertyDefinition.array().optional(),
7873
7824
  customBlocks: PulsarCustomBlock.array(),
7874
- blockVariants: z266.record(z266.string(), PulsarContributionVariant.array()),
7875
- homepage: z266.string().optional(),
7876
- organization: z266.string().optional(),
7877
- packageId: z266.string().optional(),
7878
- tags: z266.array(z266.string()),
7879
- author: z266.string().optional(),
7880
- version: z266.string(),
7881
- description: z266.string(),
7882
- usesLocale: z266.boolean(),
7883
- usesBrands: z266.boolean(),
7884
- usesThemes: z266.boolean(),
7885
- readme: z266.string().optional(),
7886
- routingVersion: z266.string().optional(),
7825
+ blockVariants: z265.record(z265.string(), PulsarContributionVariant.array()),
7826
+ homepage: z265.string().optional(),
7827
+ organization: z265.string().optional(),
7828
+ packageId: z265.string().optional(),
7829
+ tags: z265.array(z265.string()),
7830
+ author: z265.string().optional(),
7831
+ version: z265.string(),
7832
+ description: z265.string(),
7833
+ usesLocale: z265.boolean(),
7834
+ usesBrands: z265.boolean(),
7835
+ usesThemes: z265.boolean(),
7836
+ readme: z265.string().optional(),
7837
+ routingVersion: z265.string().optional(),
7887
7838
  source: DTOExporterSource,
7888
- gitProvider: z266.string().optional(),
7889
- gitUrl: nullishToOptional(z266.string()),
7890
- gitBranch: nullishToOptional(z266.string()),
7891
- gitDirectory: nullishToOptional(z266.string()),
7892
- isDeprecated: z266.boolean(),
7893
- deprecationNote: z266.string().optional(),
7894
- replacementExporterId: z266.string().optional()
7895
- });
7896
- var DTOExporterMembership = z266.object({
7897
- workspaceId: z266.string(),
7898
- exporterId: z266.string(),
7839
+ gitProvider: z265.string().optional(),
7840
+ gitUrl: nullishToOptional(z265.string()),
7841
+ gitBranch: nullishToOptional(z265.string()),
7842
+ gitDirectory: nullishToOptional(z265.string()),
7843
+ isDeprecated: z265.boolean(),
7844
+ deprecationNote: z265.string().optional(),
7845
+ replacementExporterId: z265.string().optional()
7846
+ });
7847
+ var DTOExporterMembership = z265.object({
7848
+ workspaceId: z265.string(),
7849
+ exporterId: z265.string(),
7899
7850
  role: DTOExporterMembershipRole
7900
7851
  });
7901
- var DTOExporterResponse = z266.object({
7852
+ var DTOExporterResponse = z265.object({
7902
7853
  exporter: DTOExporter,
7903
7854
  membership: DTOExporterMembership
7904
7855
  });
7905
- var DTOExporterListResponse = z266.object({
7856
+ var DTOExporterListResponse = z265.object({
7906
7857
  exporters: DTOExporter.array(),
7907
7858
  membership: DTOExporterMembership.array(),
7908
- total: z266.number()
7859
+ total: z265.number()
7909
7860
  });
7910
- var DTOExporterGitProviderEnum = z266.enum(["github", "gitlab", "bitbucket", "azure"]);
7911
- var DTOExporterCreateInput = z266.object({
7912
- url: z266.string(),
7861
+ var DTOExporterGitProviderEnum = z265.enum(["github", "gitlab", "bitbucket", "azure"]);
7862
+ var DTOExporterCreateInput = z265.object({
7863
+ url: z265.string(),
7913
7864
  provider: DTOExporterGitProviderEnum
7914
7865
  });
7915
- var DTOExporterUpdateInput = z266.object({
7916
- url: z266.string().optional()
7866
+ var DTOExporterUpdateInput = z265.object({
7867
+ url: z265.string().optional()
7917
7868
  });
7918
- var DTOExporterDeprecationInput = z266.object({
7919
- isDeprecated: z266.boolean(),
7920
- deprecationNote: z266.string().optional(),
7921
- replacementExporterId: z266.string().optional()
7869
+ var DTOExporterDeprecationInput = z265.object({
7870
+ isDeprecated: z265.boolean(),
7871
+ deprecationNote: z265.string().optional(),
7872
+ replacementExporterId: z265.string().optional()
7922
7873
  });
7923
7874
 
7924
7875
  // src/api/dto/export/filter.ts
7925
7876
  var DTOExportJobsListFilter = ExportJobFindByFilter;
7926
7877
 
7927
7878
  // src/api/dto/export/job.ts
7928
- import { z as z267 } from "zod";
7929
- var DTOExportJobCreatedBy = z267.object({
7930
- userId: z267.string(),
7931
- userName: z267.string()
7879
+ import { z as z266 } from "zod";
7880
+ var DTOExportJobCreatedBy = z266.object({
7881
+ userId: z266.string(),
7882
+ userName: z266.string()
7932
7883
  });
7933
- var DTOExportJobDesignSystemPreview = z267.object({
7934
- id: z267.string(),
7884
+ var DTOExportJobDesignSystemPreview = z266.object({
7885
+ id: z266.string(),
7935
7886
  meta: ObjectMeta
7936
7887
  });
7937
- var DTOExportJobDesignSystemVersionPreview = z267.object({
7938
- id: z267.string(),
7888
+ var DTOExportJobDesignSystemVersionPreview = z266.object({
7889
+ id: z266.string(),
7939
7890
  meta: ObjectMeta,
7940
- version: z267.string(),
7941
- isReadonly: z267.boolean()
7891
+ version: z266.string(),
7892
+ isReadonly: z266.boolean()
7942
7893
  });
7943
- var DTOExportJobDestinations = z267.object({
7894
+ var DTOExportJobDestinations = z266.object({
7944
7895
  s3: ExporterDestinationS3.optional(),
7945
7896
  azure: ExporterDestinationAzure.optional(),
7946
7897
  bitbucket: ExporterDestinationBitbucket.optional(),
7947
7898
  github: ExporterDestinationGithub.optional(),
7948
7899
  gitlab: ExporterDestinationGitlab.optional(),
7949
7900
  documentation: ExporterDestinationDocs.optional(),
7950
- webhookUrl: z267.string().optional()
7901
+ webhookUrl: z266.string().optional()
7951
7902
  });
7952
7903
  var DTOExportJobResult = ExportJobResult.omit({
7953
7904
  sndocs: true
7954
7905
  }).extend({
7955
7906
  documentation: ExportJobDocsDestinationResult.optional()
7956
7907
  });
7957
- var DTOExportJob = z267.object({
7958
- id: z267.string(),
7959
- createdAt: z267.coerce.date(),
7960
- finishedAt: z267.coerce.date().optional(),
7961
- index: z267.number().optional(),
7908
+ var DTOExportJob = z266.object({
7909
+ id: z266.string(),
7910
+ createdAt: z266.coerce.date(),
7911
+ finishedAt: z266.coerce.date().optional(),
7912
+ index: z266.number().optional(),
7962
7913
  status: ExportJobStatus,
7963
- estimatedExecutionTime: z267.number().optional(),
7914
+ estimatedExecutionTime: z266.number().optional(),
7964
7915
  createdBy: DTOExportJobCreatedBy.optional(),
7965
7916
  designSystem: DTOExportJobDesignSystemPreview,
7966
7917
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
7967
7918
  destinations: DTOExportJobDestinations,
7968
- exporterId: z267.string(),
7969
- scheduleId: z267.string().optional(),
7919
+ exporterId: z266.string(),
7920
+ scheduleId: z266.string().optional(),
7970
7921
  result: DTOExportJobResult.optional(),
7971
- brandPersistentId: z267.string().optional(),
7972
- themePersistentId: z267.string().optional(),
7973
- themePersistentIds: z267.string().array().optional(),
7922
+ brandPersistentId: z266.string().optional(),
7923
+ themePersistentId: z266.string().optional(),
7924
+ themePersistentIds: z266.string().array().optional(),
7974
7925
  exporterPropertyValues: DTOExporterPropertyValueMap.optional()
7975
7926
  });
7976
- var DTOExportJobResponse = z267.object({
7927
+ var DTOExportJobResponse = z266.object({
7977
7928
  job: DTOExportJob
7978
7929
  });
7979
- var DTOExportJobResponseLegacy = z267.object({
7980
- job: z267.object({
7981
- id: z267.string(),
7930
+ var DTOExportJobResponseLegacy = z266.object({
7931
+ job: z266.object({
7932
+ id: z266.string(),
7982
7933
  status: ExportJobStatus
7983
7934
  })
7984
7935
  });
7985
- var DTOExportJobCreateInput = z267.object({
7986
- designSystemId: z267.string(),
7987
- designSystemVersionId: z267.string(),
7988
- exporterId: z267.string(),
7989
- brandId: z267.string().optional(),
7990
- themeId: z267.string().optional(),
7991
- themePersistentIds: z267.string().array().optional(),
7936
+ var DTOExportJobCreateInput = z266.object({
7937
+ designSystemId: z266.string(),
7938
+ designSystemVersionId: z266.string(),
7939
+ exporterId: z266.string(),
7940
+ brandId: z266.string().optional(),
7941
+ themeId: z266.string().optional(),
7942
+ themePersistentIds: z266.string().array().optional(),
7992
7943
  destinations: DTOExportJobDestinations,
7993
7944
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7994
- previewMode: z267.boolean().optional()
7945
+ previewMode: z266.boolean().optional()
7995
7946
  });
7996
7947
 
7997
7948
  // src/api/dto/export/pipeline.ts
7998
- import { z as z268 } from "zod";
7999
- var DTOPipelineListQuery = z268.object({
8000
- designSystemId: z268.string().optional(),
8001
- exporterId: z268.string().optional(),
8002
- latestJobsLimit: z268.coerce.number().optional()
8003
- });
8004
- var DTOPipeline = z268.object({
8005
- id: z268.string(),
8006
- name: z268.string(),
7949
+ import { z as z267 } from "zod";
7950
+ var DTOPipelineListQuery = z267.object({
7951
+ designSystemId: z267.string().optional(),
7952
+ exporterId: z267.string().optional(),
7953
+ latestJobsLimit: z267.coerce.number().optional()
7954
+ });
7955
+ var DTOPipeline = z267.object({
7956
+ id: z267.string(),
7957
+ name: z267.string(),
8007
7958
  eventType: PipelineEventType,
8008
- isEnabled: z268.boolean(),
8009
- workspaceId: z268.string(),
8010
- designSystemId: z268.string(),
8011
- exporterId: z268.string(),
8012
- brandPersistentId: z268.string().optional(),
8013
- themePersistentId: z268.string().optional(),
8014
- themePersistentIds: z268.string().array().optional(),
7959
+ isEnabled: z267.boolean(),
7960
+ workspaceId: z267.string(),
7961
+ designSystemId: z267.string(),
7962
+ exporterId: z267.string(),
7963
+ brandPersistentId: z267.string().optional(),
7964
+ themePersistentId: z267.string().optional(),
7965
+ themePersistentIds: z267.string().array().optional(),
8015
7966
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
8016
7967
  ...ExportDestinationsMap.shape,
8017
7968
  latestJobs: DTOExportJob.array(),
8018
- isExporterDeprecated: z268.boolean()
7969
+ isExporterDeprecated: z267.boolean()
8019
7970
  });
8020
- var DTOPipelineListResponse = z268.object({
7971
+ var DTOPipelineListResponse = z267.object({
8021
7972
  pipelines: DTOPipeline.array()
8022
7973
  });
8023
- var DTOPipelineResponse = z268.object({
7974
+ var DTOPipelineResponse = z267.object({
8024
7975
  pipeline: DTOPipeline
8025
7976
  });
8026
7977
 
8027
7978
  // src/api/dto/documentation/publish.ts
8028
7979
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
8029
- var DTOPublishDocumentationRequest = z269.object({
7980
+ var DTOPublishDocumentationRequest = z268.object({
8030
7981
  environment: PublishedDocEnvironment,
8031
7982
  /**
8032
7983
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -8034,66 +7985,66 @@ var DTOPublishDocumentationRequest = z269.object({
8034
7985
  */
8035
7986
  changes: DTOPublishDocumentationChanges.optional()
8036
7987
  });
8037
- var DTOPublishDocumentationResponse = z269.object({
7988
+ var DTOPublishDocumentationResponse = z268.object({
8038
7989
  job: DTOExportJob
8039
7990
  });
8040
7991
 
8041
7992
  // src/api/dto/documentation/room.ts
8042
- import { z as z270 } from "zod";
8043
- var DTODocumentationPageRoom = z270.object({
8044
- id: z270.string()
7993
+ import { z as z269 } from "zod";
7994
+ var DTODocumentationPageRoom = z269.object({
7995
+ id: z269.string()
8045
7996
  });
8046
- var DTODocumentationPageRoomResponse = z270.object({
7997
+ var DTODocumentationPageRoomResponse = z269.object({
8047
7998
  room: DTODocumentationPageRoom
8048
7999
  });
8049
8000
 
8050
8001
  // src/api/dto/elements/components/figma-component-group.ts
8051
- import z271 from "zod";
8052
- var DTOFigmaComponentGroup = z271.object({
8053
- id: z271.string(),
8054
- designSystemVersionId: z271.string(),
8055
- persistentId: z271.string(),
8056
- isRoot: z271.boolean(),
8057
- brandId: z271.string(),
8002
+ import z270 from "zod";
8003
+ var DTOFigmaComponentGroup = z270.object({
8004
+ id: z270.string(),
8005
+ designSystemVersionId: z270.string(),
8006
+ persistentId: z270.string(),
8007
+ isRoot: z270.boolean(),
8008
+ brandId: z270.string(),
8058
8009
  meta: DTOObjectMeta,
8059
- childrenIds: z271.string().array()
8010
+ childrenIds: z270.string().array()
8060
8011
  });
8061
- var DTOFigmaComponentGroupListResponse = z271.object({
8012
+ var DTOFigmaComponentGroupListResponse = z270.object({
8062
8013
  groups: DTOFigmaComponentGroup.array()
8063
8014
  });
8064
8015
 
8065
8016
  // src/api/dto/elements/components/figma-component.ts
8066
- import { z as z272 } from "zod";
8017
+ import { z as z271 } from "zod";
8067
8018
  var DTOFigmaComponentProperty = FigmaComponentProperty;
8068
- var DTOFigmaComponentPropertyMap = z272.record(DTOFigmaComponentProperty);
8069
- var DTOFigmaComponent = z272.object({
8070
- id: z272.string(),
8071
- persistentId: z272.string(),
8072
- designSystemVersionId: z272.string(),
8073
- brandId: z272.string(),
8074
- thumbnailUrl: z272.string().optional(),
8075
- svgUrl: z272.string().optional(),
8076
- exportProperties: z272.object({
8077
- isAsset: z272.boolean()
8019
+ var DTOFigmaComponentPropertyMap = z271.record(DTOFigmaComponentProperty);
8020
+ var DTOFigmaComponent = z271.object({
8021
+ id: z271.string(),
8022
+ persistentId: z271.string(),
8023
+ designSystemVersionId: z271.string(),
8024
+ brandId: z271.string(),
8025
+ thumbnailUrl: z271.string().optional(),
8026
+ svgUrl: z271.string().optional(),
8027
+ exportProperties: z271.object({
8028
+ isAsset: z271.boolean()
8078
8029
  }),
8079
- createdAt: z272.coerce.date(),
8080
- updatedAt: z272.coerce.date(),
8030
+ createdAt: z271.coerce.date(),
8031
+ updatedAt: z271.coerce.date(),
8081
8032
  meta: ObjectMeta,
8082
8033
  originComponent: FigmaComponentOrigin.optional(),
8083
- parentComponentPersistentId: z272.string().optional(),
8084
- childrenPersistentIds: z272.string().array().optional(),
8034
+ parentComponentPersistentId: z271.string().optional(),
8035
+ childrenPersistentIds: z271.string().array().optional(),
8085
8036
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
8086
- variantPropertyValues: z272.record(z272.string()).optional()
8037
+ variantPropertyValues: z271.record(z271.string()).optional()
8087
8038
  });
8088
- var DTOFigmaComponentListResponse = z272.object({
8039
+ var DTOFigmaComponentListResponse = z271.object({
8089
8040
  components: DTOFigmaComponent.array()
8090
8041
  });
8091
8042
 
8092
8043
  // src/api/dto/elements/documentation/group-action.ts
8093
- import { z as z274 } from "zod";
8044
+ import { z as z273 } from "zod";
8094
8045
 
8095
8046
  // src/api/dto/elements/documentation/group-v2.ts
8096
- import { z as z273 } from "zod";
8047
+ import { z as z272 } from "zod";
8097
8048
  var DTODocumentationGroupV2 = ElementGroup.omit({
8098
8049
  sortOrder: true,
8099
8050
  parentPersistentId: true,
@@ -8103,13 +8054,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
8103
8054
  data: true,
8104
8055
  shortPersistentId: true
8105
8056
  }).extend({
8106
- title: z273.string(),
8107
- isRoot: z273.boolean(),
8108
- childrenIds: z273.array(z273.string()),
8057
+ title: z272.string(),
8058
+ isRoot: z272.boolean(),
8059
+ childrenIds: z272.array(z272.string()),
8109
8060
  groupBehavior: DocumentationGroupBehavior,
8110
- shortPersistentId: z273.string(),
8061
+ shortPersistentId: z272.string(),
8111
8062
  configuration: DTODocumentationItemConfigurationV2,
8112
- type: z273.literal("Group"),
8063
+ type: z272.literal("Group"),
8113
8064
  /** Defined when a group has changed since last publish and can be included into a partial publish */
8114
8065
  draftState: DTODocumentationDraftState.optional(),
8115
8066
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -8117,127 +8068,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
8117
8068
  //** An approval state for frontend to utilize. */
8118
8069
  approvalState: DTODocumentationGroupApprovalState.optional()
8119
8070
  });
8120
- var DTOCreateDocumentationGroupInput = z273.object({
8071
+ var DTOCreateDocumentationGroupInput = z272.object({
8121
8072
  // Identifier
8122
- persistentId: z273.string(),
8073
+ persistentId: z272.string(),
8123
8074
  // Group properties
8124
- title: z273.string(),
8075
+ title: z272.string(),
8125
8076
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
8126
8077
  // Group placement properties
8127
- afterPersistentId: z273.string().nullish(),
8128
- parentPersistentId: z273.string()
8078
+ afterPersistentId: z272.string().nullish(),
8079
+ parentPersistentId: z272.string()
8129
8080
  });
8130
- var DTOUpdateDocumentationGroupInput = z273.object({
8081
+ var DTOUpdateDocumentationGroupInput = z272.object({
8131
8082
  // Identifier of the group to update
8132
- id: z273.string(),
8083
+ id: z272.string(),
8133
8084
  // Group properties
8134
- title: z273.string().optional(),
8085
+ title: z272.string().optional(),
8135
8086
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
8136
8087
  });
8137
- var DTOMoveDocumentationGroupInput = z273.object({
8088
+ var DTOMoveDocumentationGroupInput = z272.object({
8138
8089
  // Identifier of the group to update
8139
- id: z273.string(),
8090
+ id: z272.string(),
8140
8091
  // Group placement properties
8141
- parentPersistentId: z273.string(),
8142
- afterPersistentId: z273.string().nullish()
8092
+ parentPersistentId: z272.string(),
8093
+ afterPersistentId: z272.string().nullish()
8143
8094
  });
8144
- var DTODuplicateDocumentationGroupInput = z273.object({
8095
+ var DTODuplicateDocumentationGroupInput = z272.object({
8145
8096
  // Identifier of the group to duplicate from
8146
- id: z273.string(),
8097
+ id: z272.string(),
8147
8098
  // New group persistent id
8148
- persistentId: z273.string(),
8099
+ persistentId: z272.string(),
8149
8100
  // Group placement properties
8150
- afterPersistentId: z273.string().nullish(),
8151
- parentPersistentId: z273.string()
8101
+ afterPersistentId: z272.string().nullish(),
8102
+ parentPersistentId: z272.string()
8152
8103
  });
8153
- var DTOCreateDocumentationTabInput = z273.object({
8104
+ var DTOCreateDocumentationTabInput = z272.object({
8154
8105
  // New group persistent id
8155
- persistentId: z273.string(),
8106
+ persistentId: z272.string(),
8156
8107
  // If this is page, we will attempt to convert it to tab
8157
8108
  // If this is tab group, we will add a new tab to it
8158
- fromItemPersistentId: z273.string(),
8159
- tabName: z273.string()
8109
+ fromItemPersistentId: z272.string(),
8110
+ tabName: z272.string()
8160
8111
  });
8161
- var DTODeleteDocumentationTabGroupInput = z273.object({
8112
+ var DTODeleteDocumentationTabGroupInput = z272.object({
8162
8113
  // Deleted group id
8163
- id: z273.string()
8114
+ id: z272.string()
8164
8115
  });
8165
- var DTODeleteDocumentationGroupInput = z273.object({
8116
+ var DTODeleteDocumentationGroupInput = z272.object({
8166
8117
  // Identifier
8167
- id: z273.string(),
8118
+ id: z272.string(),
8168
8119
  // Deletion options
8169
- deleteSubtree: z273.boolean().default(false)
8120
+ deleteSubtree: z272.boolean().default(false)
8170
8121
  });
8171
8122
 
8172
8123
  // src/api/dto/elements/documentation/group-action.ts
8173
- var SuccessPayload = z274.object({
8174
- success: z274.literal(true)
8124
+ var SuccessPayload = z273.object({
8125
+ success: z273.literal(true)
8175
8126
  });
8176
- var DTODocumentationGroupCreateActionOutputV2 = z274.object({
8177
- type: z274.literal("DocumentationGroupCreate"),
8127
+ var DTODocumentationGroupCreateActionOutputV2 = z273.object({
8128
+ type: z273.literal("DocumentationGroupCreate"),
8178
8129
  output: SuccessPayload
8179
8130
  });
8180
- var DTODocumentationTabCreateActionOutputV2 = z274.object({
8181
- type: z274.literal("DocumentationTabCreate"),
8131
+ var DTODocumentationTabCreateActionOutputV2 = z273.object({
8132
+ type: z273.literal("DocumentationTabCreate"),
8182
8133
  output: SuccessPayload
8183
8134
  });
8184
- var DTODocumentationGroupUpdateActionOutputV2 = z274.object({
8185
- type: z274.literal("DocumentationGroupUpdate"),
8135
+ var DTODocumentationGroupUpdateActionOutputV2 = z273.object({
8136
+ type: z273.literal("DocumentationGroupUpdate"),
8186
8137
  output: SuccessPayload
8187
8138
  });
8188
- var DTODocumentationGroupMoveActionOutputV2 = z274.object({
8189
- type: z274.literal("DocumentationGroupMove"),
8139
+ var DTODocumentationGroupMoveActionOutputV2 = z273.object({
8140
+ type: z273.literal("DocumentationGroupMove"),
8190
8141
  output: SuccessPayload
8191
8142
  });
8192
- var DTODocumentationGroupDuplicateActionOutputV2 = z274.object({
8193
- type: z274.literal("DocumentationGroupDuplicate"),
8143
+ var DTODocumentationGroupDuplicateActionOutputV2 = z273.object({
8144
+ type: z273.literal("DocumentationGroupDuplicate"),
8194
8145
  output: SuccessPayload
8195
8146
  });
8196
- var DTODocumentationGroupDeleteActionOutputV2 = z274.object({
8197
- type: z274.literal("DocumentationGroupDelete"),
8147
+ var DTODocumentationGroupDeleteActionOutputV2 = z273.object({
8148
+ type: z273.literal("DocumentationGroupDelete"),
8198
8149
  output: SuccessPayload
8199
8150
  });
8200
- var DTODocumentationTabGroupDeleteActionOutputV2 = z274.object({
8201
- type: z274.literal("DocumentationTabGroupDelete"),
8151
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z273.object({
8152
+ type: z273.literal("DocumentationTabGroupDelete"),
8202
8153
  output: SuccessPayload
8203
8154
  });
8204
- var DTODocumentationGroupCreateActionInputV2 = z274.object({
8205
- type: z274.literal("DocumentationGroupCreate"),
8155
+ var DTODocumentationGroupCreateActionInputV2 = z273.object({
8156
+ type: z273.literal("DocumentationGroupCreate"),
8206
8157
  input: DTOCreateDocumentationGroupInput
8207
8158
  });
8208
- var DTODocumentationTabCreateActionInputV2 = z274.object({
8209
- type: z274.literal("DocumentationTabCreate"),
8159
+ var DTODocumentationTabCreateActionInputV2 = z273.object({
8160
+ type: z273.literal("DocumentationTabCreate"),
8210
8161
  input: DTOCreateDocumentationTabInput
8211
8162
  });
8212
- var DTODocumentationGroupUpdateActionInputV2 = z274.object({
8213
- type: z274.literal("DocumentationGroupUpdate"),
8163
+ var DTODocumentationGroupUpdateActionInputV2 = z273.object({
8164
+ type: z273.literal("DocumentationGroupUpdate"),
8214
8165
  input: DTOUpdateDocumentationGroupInput
8215
8166
  });
8216
- var DTODocumentationGroupMoveActionInputV2 = z274.object({
8217
- type: z274.literal("DocumentationGroupMove"),
8167
+ var DTODocumentationGroupMoveActionInputV2 = z273.object({
8168
+ type: z273.literal("DocumentationGroupMove"),
8218
8169
  input: DTOMoveDocumentationGroupInput
8219
8170
  });
8220
- var DTODocumentationGroupDuplicateActionInputV2 = z274.object({
8221
- type: z274.literal("DocumentationGroupDuplicate"),
8171
+ var DTODocumentationGroupDuplicateActionInputV2 = z273.object({
8172
+ type: z273.literal("DocumentationGroupDuplicate"),
8222
8173
  input: DTODuplicateDocumentationGroupInput
8223
8174
  });
8224
- var DTODocumentationGroupDeleteActionInputV2 = z274.object({
8225
- type: z274.literal("DocumentationGroupDelete"),
8175
+ var DTODocumentationGroupDeleteActionInputV2 = z273.object({
8176
+ type: z273.literal("DocumentationGroupDelete"),
8226
8177
  input: DTODeleteDocumentationGroupInput
8227
8178
  });
8228
- var DTODocumentationTabGroupDeleteActionInputV2 = z274.object({
8229
- type: z274.literal("DocumentationTabGroupDelete"),
8179
+ var DTODocumentationTabGroupDeleteActionInputV2 = z273.object({
8180
+ type: z273.literal("DocumentationTabGroupDelete"),
8230
8181
  input: DTODeleteDocumentationTabGroupInput
8231
8182
  });
8232
8183
 
8233
8184
  // src/api/dto/elements/documentation/group-v1.ts
8234
- import { z as z276 } from "zod";
8185
+ import { z as z275 } from "zod";
8235
8186
 
8236
8187
  // src/api/dto/elements/documentation/item-configuration-v1.ts
8237
- import { z as z275 } from "zod";
8238
- var DocumentationColorV1 = z275.object({
8239
- aliasTo: z275.string().optional(),
8240
- value: z275.string().optional()
8188
+ import { z as z274 } from "zod";
8189
+ var DocumentationColorV1 = z274.object({
8190
+ aliasTo: z274.string().optional(),
8191
+ value: z274.string().optional()
8241
8192
  });
8242
8193
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
8243
8194
  foregroundColor: true,
@@ -8246,10 +8197,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
8246
8197
  foregroundColor: DocumentationColorV1.optional(),
8247
8198
  backgroundColor: DocumentationColorV1.optional()
8248
8199
  });
8249
- var DTODocumentationItemConfigurationV1 = z275.object({
8250
- showSidebar: z275.boolean(),
8251
- isPrivate: z275.boolean(),
8252
- isHidden: z275.boolean(),
8200
+ var DTODocumentationItemConfigurationV1 = z274.object({
8201
+ showSidebar: z274.boolean(),
8202
+ isPrivate: z274.boolean(),
8203
+ isHidden: z274.boolean(),
8253
8204
  header: DTODocumentationItemHeaderV1
8254
8205
  });
8255
8206
 
@@ -8263,145 +8214,145 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
8263
8214
  data: true,
8264
8215
  shortPersistentId: true
8265
8216
  }).extend({
8266
- title: z276.string(),
8267
- isRoot: z276.boolean(),
8268
- childrenIds: z276.array(z276.string()),
8217
+ title: z275.string(),
8218
+ isRoot: z275.boolean(),
8219
+ childrenIds: z275.array(z275.string()),
8269
8220
  groupBehavior: DocumentationGroupBehavior,
8270
- shortPersistentId: z276.string(),
8271
- type: z276.literal("Group")
8221
+ shortPersistentId: z275.string(),
8222
+ type: z275.literal("Group")
8272
8223
  });
8273
8224
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
8274
8225
  configuration: DTODocumentationItemConfigurationV1
8275
8226
  });
8276
8227
 
8277
8228
  // src/api/dto/elements/documentation/hierarchy.ts
8278
- import { z as z277 } from "zod";
8279
- var DTODocumentationHierarchyV2 = z277.object({
8280
- pages: z277.array(
8229
+ import { z as z276 } from "zod";
8230
+ var DTODocumentationHierarchyV2 = z276.object({
8231
+ pages: z276.array(
8281
8232
  DTODocumentationPageV2.extend({
8282
8233
  /** Defined when a page has changed since last publish and can be included into a partial publish */
8283
8234
  draftState: DTODocumentationDraftState.optional()
8284
8235
  })
8285
8236
  ),
8286
- groups: z277.array(
8237
+ groups: z276.array(
8287
8238
  DTODocumentationGroupV2.extend({
8288
8239
  /** Defined when a page has changed since last publish and can be included into a partial publish */
8289
8240
  draftState: DTODocumentationDraftState.optional()
8290
8241
  })
8291
8242
  ),
8292
8243
  /** True if the documentation was already published, false otherwise. */
8293
- hasPublishedDocumentationContent: z277.boolean()
8244
+ hasPublishedDocumentationContent: z276.boolean()
8294
8245
  });
8295
8246
 
8296
8247
  // src/api/dto/elements/documentation/page-actions-v2.ts
8297
- import { z as z278 } from "zod";
8298
- var SuccessPayload2 = z278.object({
8299
- success: z278.literal(true)
8248
+ import { z as z277 } from "zod";
8249
+ var SuccessPayload2 = z277.object({
8250
+ success: z277.literal(true)
8300
8251
  });
8301
- var DTODocumentationPageCreateActionOutputV2 = z278.object({
8302
- type: z278.literal("DocumentationPageCreate"),
8252
+ var DTODocumentationPageCreateActionOutputV2 = z277.object({
8253
+ type: z277.literal("DocumentationPageCreate"),
8303
8254
  output: SuccessPayload2
8304
8255
  });
8305
- var DTODocumentationPageUpdateActionOutputV2 = z278.object({
8306
- type: z278.literal("DocumentationPageUpdate"),
8256
+ var DTODocumentationPageUpdateActionOutputV2 = z277.object({
8257
+ type: z277.literal("DocumentationPageUpdate"),
8307
8258
  output: SuccessPayload2
8308
8259
  });
8309
- var DTODocumentationPageUpdateDocumentActionOutputV2 = z278.object({
8310
- type: z278.literal("DocumentationPageUpdateDocument"),
8260
+ var DTODocumentationPageUpdateDocumentActionOutputV2 = z277.object({
8261
+ type: z277.literal("DocumentationPageUpdateDocument"),
8311
8262
  output: SuccessPayload2
8312
8263
  });
8313
- var DTODocumentationPageMoveActionOutputV2 = z278.object({
8314
- type: z278.literal("DocumentationPageMove"),
8264
+ var DTODocumentationPageMoveActionOutputV2 = z277.object({
8265
+ type: z277.literal("DocumentationPageMove"),
8315
8266
  output: SuccessPayload2
8316
8267
  });
8317
- var DTODocumentationPageDuplicateActionOutputV2 = z278.object({
8318
- type: z278.literal("DocumentationPageDuplicate"),
8268
+ var DTODocumentationPageDuplicateActionOutputV2 = z277.object({
8269
+ type: z277.literal("DocumentationPageDuplicate"),
8319
8270
  output: SuccessPayload2
8320
8271
  });
8321
- var DTODocumentationPageDeleteActionOutputV2 = z278.object({
8322
- type: z278.literal("DocumentationPageDelete"),
8272
+ var DTODocumentationPageDeleteActionOutputV2 = z277.object({
8273
+ type: z277.literal("DocumentationPageDelete"),
8323
8274
  output: SuccessPayload2
8324
8275
  });
8325
- var DTODocumentationPageRestoreActionOutput = z278.object({
8326
- type: z278.literal("DocumentationPageRestore"),
8276
+ var DTODocumentationPageRestoreActionOutput = z277.object({
8277
+ type: z277.literal("DocumentationPageRestore"),
8327
8278
  output: SuccessPayload2
8328
8279
  });
8329
- var DTODocumentationGroupRestoreActionOutput = z278.object({
8330
- type: z278.literal("DocumentationGroupRestore"),
8280
+ var DTODocumentationGroupRestoreActionOutput = z277.object({
8281
+ type: z277.literal("DocumentationGroupRestore"),
8331
8282
  output: SuccessPayload2
8332
8283
  });
8333
- var DTODocumentationPageApprovalStateChangeActionOutput = z278.object({
8334
- type: z278.literal("DocumentationPageApprovalStateChange"),
8284
+ var DTODocumentationPageApprovalStateChangeActionOutput = z277.object({
8285
+ type: z277.literal("DocumentationPageApprovalStateChange"),
8335
8286
  output: SuccessPayload2
8336
8287
  });
8337
- var DTODocumentationPageCreateActionInputV2 = z278.object({
8338
- type: z278.literal("DocumentationPageCreate"),
8288
+ var DTODocumentationPageCreateActionInputV2 = z277.object({
8289
+ type: z277.literal("DocumentationPageCreate"),
8339
8290
  input: DTOCreateDocumentationPageInputV2
8340
8291
  });
8341
- var DTODocumentationPageUpdateActionInputV2 = z278.object({
8342
- type: z278.literal("DocumentationPageUpdate"),
8292
+ var DTODocumentationPageUpdateActionInputV2 = z277.object({
8293
+ type: z277.literal("DocumentationPageUpdate"),
8343
8294
  input: DTOUpdateDocumentationPageInputV2
8344
8295
  });
8345
- var DTODocumentationPageUpdateDocumentActionInputV2 = z278.object({
8346
- type: z278.literal("DocumentationPageUpdateDocument"),
8296
+ var DTODocumentationPageUpdateDocumentActionInputV2 = z277.object({
8297
+ type: z277.literal("DocumentationPageUpdateDocument"),
8347
8298
  input: DTOUpdateDocumentationPageDocumentInputV2
8348
8299
  });
8349
- var DTODocumentationPageMoveActionInputV2 = z278.object({
8350
- type: z278.literal("DocumentationPageMove"),
8300
+ var DTODocumentationPageMoveActionInputV2 = z277.object({
8301
+ type: z277.literal("DocumentationPageMove"),
8351
8302
  input: DTOMoveDocumentationPageInputV2
8352
8303
  });
8353
- var DTODocumentationPageDuplicateActionInputV2 = z278.object({
8354
- type: z278.literal("DocumentationPageDuplicate"),
8304
+ var DTODocumentationPageDuplicateActionInputV2 = z277.object({
8305
+ type: z277.literal("DocumentationPageDuplicate"),
8355
8306
  input: DTODuplicateDocumentationPageInputV2
8356
8307
  });
8357
- var DTODocumentationPageDeleteActionInputV2 = z278.object({
8358
- type: z278.literal("DocumentationPageDelete"),
8308
+ var DTODocumentationPageDeleteActionInputV2 = z277.object({
8309
+ type: z277.literal("DocumentationPageDelete"),
8359
8310
  input: DTODeleteDocumentationPageInputV2
8360
8311
  });
8361
- var DTODocumentationPageRestoreActionInput = z278.object({
8362
- type: z278.literal("DocumentationPageRestore"),
8312
+ var DTODocumentationPageRestoreActionInput = z277.object({
8313
+ type: z277.literal("DocumentationPageRestore"),
8363
8314
  input: DTORestoreDocumentationPageInput
8364
8315
  });
8365
- var DTODocumentationGroupRestoreActionInput = z278.object({
8366
- type: z278.literal("DocumentationGroupRestore"),
8316
+ var DTODocumentationGroupRestoreActionInput = z277.object({
8317
+ type: z277.literal("DocumentationGroupRestore"),
8367
8318
  input: DTORestoreDocumentationGroupInput
8368
8319
  });
8369
- var DTODocumentationPageApprovalStateChangeActionInput = z278.object({
8370
- type: z278.literal("DocumentationPageApprovalStateChange"),
8320
+ var DTODocumentationPageApprovalStateChangeActionInput = z277.object({
8321
+ type: z277.literal("DocumentationPageApprovalStateChange"),
8371
8322
  input: DTODocumentationPageApprovalStateChangeInput
8372
8323
  });
8373
8324
 
8374
8325
  // src/api/dto/elements/documentation/page-content.ts
8375
- import { z as z279 } from "zod";
8326
+ import { z as z278 } from "zod";
8376
8327
  var DTODocumentationPageContent = DocumentationPageContent;
8377
- var DTODocumentationPageContentGetResponse = z279.object({
8328
+ var DTODocumentationPageContentGetResponse = z278.object({
8378
8329
  pageContent: DTODocumentationPageContent
8379
8330
  });
8380
8331
 
8381
8332
  // src/api/dto/elements/documentation/page-dependencies.ts
8382
- import { z as z280 } from "zod";
8383
- var DTODocumentationPageDependencies = z280.object({
8384
- id: z280.string(),
8385
- designSystemVersionId: z280.string(),
8386
- createdAt: z280.coerce.date(),
8387
- updatedAt: z280.coerce.date(),
8388
- documentationPageId: z280.string(),
8389
- tokenPersistentIds: z280.array(z280.string()),
8390
- figmaComponentPersistentIds: z280.array(z280.string()),
8391
- componentPersistentIds: z280.array(z280.string()),
8392
- figmaNodePersistentIds: z280.array(z280.string()),
8393
- groupPersistentIds: z280.array(z280.string()),
8394
- propertyPersistentIds: z280.array(z280.string()),
8395
- themePersistentIds: z280.array(z280.string()),
8396
- documentationPagePersistentIds: z280.array(z280.string()),
8397
- storybookEntriesStoryIds: z280.array(z280.string())
8398
- });
8399
- var DTODocumentationPageDependenciesGetResponse = z280.object({
8400
- dependencies: z280.array(DTODocumentationPageDependencies)
8333
+ import { z as z279 } from "zod";
8334
+ var DTODocumentationPageDependencies = z279.object({
8335
+ id: z279.string(),
8336
+ designSystemVersionId: z279.string(),
8337
+ createdAt: z279.coerce.date(),
8338
+ updatedAt: z279.coerce.date(),
8339
+ documentationPageId: z279.string(),
8340
+ tokenPersistentIds: z279.array(z279.string()),
8341
+ figmaComponentPersistentIds: z279.array(z279.string()),
8342
+ componentPersistentIds: z279.array(z279.string()),
8343
+ figmaNodePersistentIds: z279.array(z279.string()),
8344
+ groupPersistentIds: z279.array(z279.string()),
8345
+ propertyPersistentIds: z279.array(z279.string()),
8346
+ themePersistentIds: z279.array(z279.string()),
8347
+ documentationPagePersistentIds: z279.array(z279.string()),
8348
+ storybookEntriesStoryIds: z279.array(z279.string())
8349
+ });
8350
+ var DTODocumentationPageDependenciesGetResponse = z279.object({
8351
+ dependencies: z279.array(DTODocumentationPageDependencies)
8401
8352
  });
8402
8353
 
8403
8354
  // src/api/dto/elements/documentation/page-v1.ts
8404
- import { z as z281 } from "zod";
8355
+ import { z as z280 } from "zod";
8405
8356
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
8406
8357
  data: true,
8407
8358
  meta: true,
@@ -8409,81 +8360,81 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
8409
8360
  sortOrder: true
8410
8361
  }).extend({
8411
8362
  configuration: DTODocumentationItemConfigurationV1,
8412
- blocks: z281.array(PageBlockV1),
8413
- title: z281.string(),
8414
- path: z281.string()
8363
+ blocks: z280.array(PageBlockV1),
8364
+ title: z280.string(),
8365
+ path: z280.string()
8415
8366
  });
8416
8367
 
8417
8368
  // src/api/dto/elements/documentation/settings.ts
8418
- import { z as z282 } from "zod";
8419
- var DTODocumentationSettings = z282.object({
8420
- isDraftFeatureAdopted: z282.boolean(),
8421
- isApprovalsFeatureEnabled: z282.boolean(),
8422
- isApprovalRequiredForPublishing: z282.boolean()
8369
+ import { z as z281 } from "zod";
8370
+ var DTODocumentationSettings = z281.object({
8371
+ isDraftFeatureAdopted: z281.boolean(),
8372
+ isApprovalsFeatureEnabled: z281.boolean(),
8373
+ isApprovalRequiredForPublishing: z281.boolean()
8423
8374
  });
8424
8375
 
8425
8376
  // src/api/dto/elements/documentation/structure.ts
8426
- import { z as z283 } from "zod";
8427
- var DTODocumentationStructureItemType = z283.enum(["Group", "Page"]);
8428
- var DTODocumentationStructureItemBase = z283.object({
8377
+ import { z as z282 } from "zod";
8378
+ var DTODocumentationStructureItemType = z282.enum(["Group", "Page"]);
8379
+ var DTODocumentationStructureItemBase = z282.object({
8429
8380
  type: DTODocumentationStructureItemType,
8430
- id: z283.string(),
8431
- designSystemVersionId: z283.string(),
8432
- shortPersistentId: z283.string(),
8433
- persistentId: z283.string(),
8434
- title: z283.string(),
8435
- createdAt: z283.coerce.date(),
8436
- updatedAt: z283.coerce.date()
8381
+ id: z282.string(),
8382
+ designSystemVersionId: z282.string(),
8383
+ shortPersistentId: z282.string(),
8384
+ persistentId: z282.string(),
8385
+ title: z282.string(),
8386
+ createdAt: z282.coerce.date(),
8387
+ updatedAt: z282.coerce.date()
8437
8388
  });
8438
8389
  var DTODocumentationStructureGroupItem = DTODocumentationStructureItemBase.extend({
8439
- type: z283.literal(DTODocumentationStructureItemType.enum.Group),
8440
- groupBehavior: z283.string(),
8441
- childrenIds: z283.string().array(),
8442
- isRoot: z283.boolean()
8390
+ type: z282.literal(DTODocumentationStructureItemType.enum.Group),
8391
+ groupBehavior: z282.string(),
8392
+ childrenIds: z282.string().array(),
8393
+ isRoot: z282.boolean()
8443
8394
  });
8444
8395
  var DTODocumentationStructurePageItem = DTODocumentationStructureItemBase.extend({
8445
- type: z283.literal(DTODocumentationStructureItemType.enum.Page),
8446
- path: z283.string()
8396
+ type: z282.literal(DTODocumentationStructureItemType.enum.Page),
8397
+ path: z282.string()
8447
8398
  });
8448
- var DTODocumentationStructureItem = z283.discriminatedUnion("type", [
8399
+ var DTODocumentationStructureItem = z282.discriminatedUnion("type", [
8449
8400
  DTODocumentationStructureGroupItem,
8450
8401
  DTODocumentationStructurePageItem
8451
8402
  ]);
8452
- var DTODocumentationStructure = z283.object({
8453
- items: z283.array(DTODocumentationStructureItem)
8403
+ var DTODocumentationStructure = z282.object({
8404
+ items: z282.array(DTODocumentationStructureItem)
8454
8405
  });
8455
8406
 
8456
8407
  // src/api/dto/elements/figma-nodes/figma-node-structure.ts
8457
- import { z as z284 } from "zod";
8458
- var DTOFigmaNodeStructure = z284.object({
8459
- id: z284.string(),
8460
- sourceId: z284.string(),
8408
+ import { z as z283 } from "zod";
8409
+ var DTOFigmaNodeStructure = z283.object({
8410
+ id: z283.string(),
8411
+ sourceId: z283.string(),
8461
8412
  importState: FigmaNodeStructureStateV2,
8462
- createdAt: z284.coerce.date(),
8463
- updatedAt: z284.coerce.date()
8413
+ createdAt: z283.coerce.date(),
8414
+ updatedAt: z283.coerce.date()
8464
8415
  });
8465
8416
  var DTOFigmaNodeStructureDetail = DTOFigmaNodeStructure.extend({
8466
8417
  rootNode: FigmaFileStructureNode
8467
8418
  });
8468
- var DTOFigmaNodeStructureListResponse = z284.object({
8419
+ var DTOFigmaNodeStructureListResponse = z283.object({
8469
8420
  structures: DTOFigmaNodeStructure.array()
8470
8421
  });
8471
- var DTOFigmaNodeStructureDetailResponse = z284.object({
8422
+ var DTOFigmaNodeStructureDetailResponse = z283.object({
8472
8423
  structure: DTOFigmaNodeStructureDetail
8473
8424
  });
8474
8425
 
8475
8426
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
8476
- import { z as z286 } from "zod";
8427
+ import { z as z285 } from "zod";
8477
8428
 
8478
8429
  // src/api/dto/elements/figma-nodes/figma-node.ts
8479
- import { z as z285 } from "zod";
8430
+ import { z as z284 } from "zod";
8480
8431
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
8481
- var DTOFigmaNodeOrigin = z285.object({
8482
- sourceId: z285.string(),
8483
- fileId: z285.string().optional(),
8484
- parentName: z285.string().optional()
8432
+ var DTOFigmaNodeOrigin = z284.object({
8433
+ sourceId: z284.string(),
8434
+ fileId: z284.string().optional(),
8435
+ parentName: z284.string().optional()
8485
8436
  });
8486
- var DTOFigmaNodeRenderInputBase = z285.object({
8437
+ var DTOFigmaNodeRenderInputBase = z284.object({
8487
8438
  /**
8488
8439
  * Format in which the node must be rendered, png by default.
8489
8440
  */
@@ -8491,57 +8442,57 @@ var DTOFigmaNodeRenderInputBase = z285.object({
8491
8442
  /**
8492
8443
  * Scale to apply to PNG images, can be between 1 and 4. Scale is ignored for other image formats.
8493
8444
  */
8494
- scale: z285.number().optional()
8445
+ scale: z284.number().optional()
8495
8446
  });
8496
8447
  var DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderInputBase.extend({
8497
- inputType: z285.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
8448
+ inputType: z284.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
8498
8449
  /**
8499
8450
  * Id of a design system's data source representing a linked Figma file
8500
8451
  */
8501
- sourceId: z285.string(),
8452
+ sourceId: z284.string(),
8502
8453
  /**
8503
8454
  * Id of a node within the Figma file
8504
8455
  */
8505
- figmaFileNodeId: z285.string()
8456
+ figmaFileNodeId: z284.string()
8506
8457
  });
8507
8458
  var DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderInputBase.extend({
8508
- inputType: z285.literal("URL"),
8459
+ inputType: z284.literal("URL"),
8509
8460
  /**
8510
8461
  * Id of a design system's data source representing a linked Figma file
8511
8462
  */
8512
- figmaNodeUrl: z285.string(),
8463
+ figmaNodeUrl: z284.string(),
8513
8464
  /**
8514
8465
  * Brand persistent id to use in case a source has to be created for this render
8515
8466
  */
8516
- brandPersistentId: z285.string()
8467
+ brandPersistentId: z284.string()
8517
8468
  });
8518
- var DTOFigmaNodeRerenderInput = z285.object({
8519
- inputType: z285.literal("Rerender"),
8469
+ var DTOFigmaNodeRerenderInput = z284.object({
8470
+ inputType: z284.literal("Rerender"),
8520
8471
  /**
8521
8472
  * Persistent ID of an existing Figma node
8522
8473
  */
8523
- figmaNodePersistentId: z285.string()
8474
+ figmaNodePersistentId: z284.string()
8524
8475
  });
8525
- var DTOFigmaNodeRenderInput = z285.discriminatedUnion("inputType", [
8476
+ var DTOFigmaNodeRenderInput = z284.discriminatedUnion("inputType", [
8526
8477
  DTOFigmaNodeRenderIdInput,
8527
8478
  DTOFigmaNodeRenderUrlInput,
8528
8479
  DTOFigmaNodeRerenderInput
8529
8480
  ]);
8530
8481
 
8531
8482
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
8532
- var DTOFigmaNodeData = z286.object({
8483
+ var DTOFigmaNodeData = z285.object({
8533
8484
  // Id of the node in the Figma file
8534
- figmaNodeId: z286.string(),
8485
+ figmaNodeId: z285.string(),
8535
8486
  // Validity
8536
- isValid: z286.boolean(),
8487
+ isValid: z285.boolean(),
8537
8488
  // Asset data
8538
- assetId: z286.string(),
8539
- assetUrl: z286.string(),
8489
+ assetId: z285.string(),
8490
+ assetUrl: z285.string(),
8540
8491
  assetFormat: DTOFigmaNodeRenderFormat,
8541
8492
  // Asset metadata
8542
- assetScale: z286.number(),
8543
- assetWidth: z286.number().optional(),
8544
- assetHeight: z286.number().optional()
8493
+ assetScale: z285.number(),
8494
+ assetWidth: z285.number().optional(),
8495
+ assetHeight: z285.number().optional()
8545
8496
  });
8546
8497
  var DTOFigmaNode = FigmaNodeReference.omit({
8547
8498
  data: true,
@@ -8552,15 +8503,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
8552
8503
  });
8553
8504
 
8554
8505
  // src/api/dto/elements/figma-nodes/figma-node-v2.ts
8555
- import { z as z287 } from "zod";
8556
- var DTOFigmaNodeDataV2 = z287.object({
8557
- sceneNodeId: z287.string(),
8506
+ import { z as z286 } from "zod";
8507
+ var DTOFigmaNodeDataV2 = z286.object({
8508
+ sceneNodeId: z286.string(),
8558
8509
  format: FigmaNodeRenderFormat,
8559
- scale: z287.number().optional(),
8510
+ scale: z286.number().optional(),
8560
8511
  renderState: FigmaNodeRenderState,
8561
8512
  renderedImage: FigmaNodeRenderedImage.optional(),
8562
8513
  renderError: FigmaNodeRenderError.optional(),
8563
- hasSource: z287.boolean()
8514
+ hasSource: z286.boolean()
8564
8515
  });
8565
8516
  var DTOFigmaNodeV2 = FigmaNodeReference.omit({
8566
8517
  data: true,
@@ -8571,113 +8522,113 @@ var DTOFigmaNodeV2 = FigmaNodeReference.omit({
8571
8522
  });
8572
8523
 
8573
8524
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
8574
- import { z as z288 } from "zod";
8575
- var DTOFigmaNodeRenderActionOutput = z288.object({
8576
- type: z288.literal("FigmaNodeRender"),
8577
- figmaNodes: z288.array(DTOFigmaNode)
8525
+ import { z as z287 } from "zod";
8526
+ var DTOFigmaNodeRenderActionOutput = z287.object({
8527
+ type: z287.literal("FigmaNodeRender"),
8528
+ figmaNodes: z287.array(DTOFigmaNode)
8578
8529
  });
8579
- var DTOFigmaNodeRenderAsyncActionOutput = z288.object({
8580
- type: z288.literal("FigmaNodeRenderAsync"),
8581
- figmaNodes: z288.array(DTOFigmaNodeV2)
8530
+ var DTOFigmaNodeRenderAsyncActionOutput = z287.object({
8531
+ type: z287.literal("FigmaNodeRenderAsync"),
8532
+ figmaNodes: z287.array(DTOFigmaNodeV2)
8582
8533
  });
8583
- var DTOFigmaNodeRenderActionInput = z288.object({
8584
- type: z288.literal("FigmaNodeRender"),
8534
+ var DTOFigmaNodeRenderActionInput = z287.object({
8535
+ type: z287.literal("FigmaNodeRender"),
8585
8536
  input: DTOFigmaNodeRenderIdInput.array()
8586
8537
  });
8587
- var DTOFigmaNodeRenderAsyncActionInput = z288.object({
8588
- type: z288.literal("FigmaNodeRenderAsync"),
8538
+ var DTOFigmaNodeRenderAsyncActionInput = z287.object({
8539
+ type: z287.literal("FigmaNodeRenderAsync"),
8589
8540
  nodes: DTOFigmaNodeRenderInput.array()
8590
8541
  });
8591
8542
 
8592
8543
  // src/api/dto/elements/frame-node-structures/frame-node-structure.ts
8593
- import { z as z289 } from "zod";
8594
- var DTOFrameNodeStructure = z289.object({
8595
- id: z289.string(),
8596
- persistentId: z289.string(),
8597
- designSystemVersionId: z289.string(),
8544
+ import { z as z288 } from "zod";
8545
+ var DTOFrameNodeStructure = z288.object({
8546
+ id: z288.string(),
8547
+ persistentId: z288.string(),
8548
+ designSystemVersionId: z288.string(),
8598
8549
  origin: FigmaFileStructureOrigin,
8599
8550
  assetsInFile: FigmaFileStructureStatistics
8600
8551
  });
8601
- var DTOFrameNodeStructureListResponse = z289.object({
8552
+ var DTOFrameNodeStructureListResponse = z288.object({
8602
8553
  structures: DTOFrameNodeStructure.array()
8603
8554
  });
8604
8555
 
8605
8556
  // src/api/dto/elements/properties/property-definitions.ts
8606
- import { z as z290 } from "zod";
8557
+ import { z as z289 } from "zod";
8607
8558
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9-]{1,99}$/;
8608
- var DTOElementPropertyDefinitionOption = z290.object({
8609
- id: z290.string(),
8610
- name: z290.string(),
8559
+ var DTOElementPropertyDefinitionOption = z289.object({
8560
+ id: z289.string(),
8561
+ name: z289.string(),
8611
8562
  backgroundColor: DTOColorTokenInlineData.optional()
8612
8563
  });
8613
- var DTOElementPropertyDefinition = z290.object({
8614
- id: z290.string(),
8615
- designSystemVersionId: z290.string(),
8564
+ var DTOElementPropertyDefinition = z289.object({
8565
+ id: z289.string(),
8566
+ designSystemVersionId: z289.string(),
8616
8567
  meta: DTOObjectMeta,
8617
- persistentId: z290.string(),
8568
+ persistentId: z289.string(),
8618
8569
  type: ElementPropertyTypeSchema,
8619
8570
  targetElementType: ElementPropertyTargetType,
8620
- codeName: z290.string().regex(CODE_NAME_REGEX2),
8621
- options: nullishToOptional(z290.array(DTOElementPropertyDefinitionOption)),
8571
+ codeName: z289.string().regex(CODE_NAME_REGEX2),
8572
+ options: nullishToOptional(z289.array(DTOElementPropertyDefinitionOption)),
8622
8573
  linkElementType: nullishToOptional(ElementPropertyLinkType),
8623
- isImmutable: z290.boolean(),
8574
+ isImmutable: z289.boolean(),
8624
8575
  immutablePropertyType: ElementPropertyImmutableType.optional()
8625
8576
  });
8626
- var DTOElementPropertyDefinitionListResponse = z290.object({
8627
- definitions: z290.array(DTOElementPropertyDefinition)
8577
+ var DTOElementPropertyDefinitionListResponse = z289.object({
8578
+ definitions: z289.array(DTOElementPropertyDefinition)
8628
8579
  });
8629
- var DTOElementPropertyDefinitionResponse = z290.object({
8580
+ var DTOElementPropertyDefinitionResponse = z289.object({
8630
8581
  definition: DTOElementPropertyDefinition
8631
8582
  });
8632
- var DTOElementPropertyDefinitionCreatePayload = z290.object({
8583
+ var DTOElementPropertyDefinitionCreatePayload = z289.object({
8633
8584
  meta: DTOObjectMeta,
8634
- persistentId: z290.string(),
8585
+ persistentId: z289.string(),
8635
8586
  type: ElementPropertyTypeSchema,
8636
8587
  targetElementType: ElementPropertyTargetType,
8637
- codeName: z290.string().regex(CODE_NAME_REGEX2),
8638
- options: nullishToOptional(z290.array(DTOElementPropertyDefinitionOption)),
8588
+ codeName: z289.string().regex(CODE_NAME_REGEX2),
8589
+ options: nullishToOptional(z289.array(DTOElementPropertyDefinitionOption)),
8639
8590
  linkElementType: nullishToOptional(ElementPropertyLinkType),
8640
- columnWidth: z290.number().max(1024).optional()
8591
+ columnWidth: z289.number().max(1024).optional()
8641
8592
  });
8642
- var DTOElementPropertyDefinitionUpdatePayload = z290.object({
8593
+ var DTOElementPropertyDefinitionUpdatePayload = z289.object({
8643
8594
  meta: DTOObjectMeta.optional(),
8644
- codeName: z290.string().regex(CODE_NAME_REGEX2).optional(),
8645
- options: z290.array(DTOElementPropertyDefinitionOption).optional()
8595
+ codeName: z289.string().regex(CODE_NAME_REGEX2).optional(),
8596
+ options: z289.array(DTOElementPropertyDefinitionOption).optional()
8646
8597
  });
8647
8598
 
8648
8599
  // src/api/dto/elements/properties/property-values.ts
8649
- import { z as z291 } from "zod";
8650
- var DTOElementPropertyValue = z291.object({
8651
- id: z291.string(),
8652
- designSystemVersionId: z291.string(),
8653
- definitionId: z291.string(),
8654
- targetElementId: z291.string(),
8655
- value: z291.union([z291.string(), z291.number(), z291.boolean()]).optional(),
8656
- valuePreview: z291.string().optional()
8657
- });
8658
- var DTOElementPropertyValueListResponse = z291.object({
8659
- values: z291.array(DTOElementPropertyValue)
8660
- });
8661
- var DTOElementPropertyValueResponse = z291.object({
8600
+ import { z as z290 } from "zod";
8601
+ var DTOElementPropertyValue = z290.object({
8602
+ id: z290.string(),
8603
+ designSystemVersionId: z290.string(),
8604
+ definitionId: z290.string(),
8605
+ targetElementId: z290.string(),
8606
+ value: z290.union([z290.string(), z290.number(), z290.boolean()]).optional(),
8607
+ valuePreview: z290.string().optional()
8608
+ });
8609
+ var DTOElementPropertyValueListResponse = z290.object({
8610
+ values: z290.array(DTOElementPropertyValue)
8611
+ });
8612
+ var DTOElementPropertyValueResponse = z290.object({
8662
8613
  value: DTOElementPropertyValue
8663
8614
  });
8664
- var DTOElementPropertyValuesEditActionOutput = z291.object({
8665
- type: z291.literal("ElementPropertyValuesEdit"),
8666
- output: z291.object({ success: z291.literal(true) })
8615
+ var DTOElementPropertyValuesEditActionOutput = z290.object({
8616
+ type: z290.literal("ElementPropertyValuesEdit"),
8617
+ output: z290.object({ success: z290.literal(true) })
8667
8618
  });
8668
- var DTOElementPropertyValueUpsertPaylod = z291.object({
8669
- definitionId: z291.string(),
8670
- targetElementId: z291.string(),
8671
- value: z291.string().or(z291.number()).or(z291.boolean()).nullable()
8619
+ var DTOElementPropertyValueUpsertPaylod = z290.object({
8620
+ definitionId: z290.string(),
8621
+ targetElementId: z290.string(),
8622
+ value: z290.string().or(z290.number()).or(z290.boolean()).nullable()
8672
8623
  });
8673
- var DTOElementPropertyValuesEditActionInput = z291.object({
8674
- type: z291.literal("ElementPropertyValuesEdit"),
8624
+ var DTOElementPropertyValuesEditActionInput = z290.object({
8625
+ type: z290.literal("ElementPropertyValuesEdit"),
8675
8626
  values: DTOElementPropertyValueUpsertPaylod.array()
8676
8627
  });
8677
8628
 
8678
8629
  // src/api/dto/elements/elements-action-v2.ts
8679
- import { z as z292 } from "zod";
8680
- var DTOElementActionOutput = z292.discriminatedUnion("type", [
8630
+ import { z as z291 } from "zod";
8631
+ var DTOElementActionOutput = z291.discriminatedUnion("type", [
8681
8632
  // Documentation pages
8682
8633
  DTODocumentationPageCreateActionOutputV2,
8683
8634
  DTODocumentationPageUpdateActionOutputV2,
@@ -8704,7 +8655,7 @@ var DTOElementActionOutput = z292.discriminatedUnion("type", [
8704
8655
  // Element properties
8705
8656
  DTOElementPropertyValuesEditActionOutput
8706
8657
  ]);
8707
- var DTOElementActionInput = z292.discriminatedUnion("type", [
8658
+ var DTOElementActionInput = z291.discriminatedUnion("type", [
8708
8659
  // Documentation pages
8709
8660
  DTODocumentationPageCreateActionInputV2,
8710
8661
  DTODocumentationPageUpdateActionInputV2,
@@ -8731,78 +8682,78 @@ var DTOElementActionInput = z292.discriminatedUnion("type", [
8731
8682
  // Element properties
8732
8683
  DTOElementPropertyValuesEditActionInput
8733
8684
  ]).and(
8734
- z292.object({
8735
- tId: z292.string().optional()
8685
+ z291.object({
8686
+ tId: z291.string().optional()
8736
8687
  })
8737
8688
  );
8738
8689
 
8739
8690
  // src/api/dto/elements/get-elements-v2.ts
8740
- import { z as z293 } from "zod";
8741
- var DTOElementsGetTypeFilter = z293.enum(["FigmaNode"]);
8742
- var DTOElementsGetQuerySchema = z293.object({
8743
- types: z293.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
8744
- responseVersion: z293.coerce.number().default(1)
8691
+ import { z as z292 } from "zod";
8692
+ var DTOElementsGetTypeFilter = z292.enum(["FigmaNode"]);
8693
+ var DTOElementsGetQuerySchema = z292.object({
8694
+ types: z292.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
8695
+ responseVersion: z292.coerce.number().default(1)
8745
8696
  });
8746
- var DTOElementsGetOutput = z293.object({
8747
- figmaNodes: z293.array(DTOFigmaNode).optional()
8697
+ var DTOElementsGetOutput = z292.object({
8698
+ figmaNodes: z292.array(DTOFigmaNode).optional()
8748
8699
  });
8749
- var DTOElementsGetOutputV2 = z293.object({
8750
- figmaNodes: z293.array(DTOFigmaNodeV2).optional()
8700
+ var DTOElementsGetOutputV2 = z292.object({
8701
+ figmaNodes: z292.array(DTOFigmaNodeV2).optional()
8751
8702
  });
8752
8703
 
8753
8704
  // src/api/dto/figma-components/assets/download.ts
8754
- import { z as z294 } from "zod";
8755
- var DTOAssetRenderConfiguration = z294.object({
8756
- prefix: z294.string().optional(),
8757
- suffix: z294.string().optional(),
8758
- scale: z294.enum(["x1", "x2", "x3", "x4"]),
8759
- format: z294.enum(["png", "pdf", "svg"])
8760
- });
8761
- var DTORenderedAssetFile = z294.object({
8762
- assetId: z294.string(),
8763
- fileName: z294.string(),
8764
- sourceUrl: z294.string(),
8705
+ import { z as z293 } from "zod";
8706
+ var DTOAssetRenderConfiguration = z293.object({
8707
+ prefix: z293.string().optional(),
8708
+ suffix: z293.string().optional(),
8709
+ scale: z293.enum(["x1", "x2", "x3", "x4"]),
8710
+ format: z293.enum(["png", "pdf", "svg"])
8711
+ });
8712
+ var DTORenderedAssetFile = z293.object({
8713
+ assetId: z293.string(),
8714
+ fileName: z293.string(),
8715
+ sourceUrl: z293.string(),
8765
8716
  settings: DTOAssetRenderConfiguration,
8766
- originalName: z294.string()
8717
+ originalName: z293.string()
8767
8718
  });
8768
- var DTODownloadAssetsRequest = z294.object({
8769
- persistentIds: z294.array(z294.string().uuid()).optional(),
8719
+ var DTODownloadAssetsRequest = z293.object({
8720
+ persistentIds: z293.array(z293.string().uuid()).optional(),
8770
8721
  settings: DTOAssetRenderConfiguration.array()
8771
8722
  });
8772
- var DTODownloadAssetsResponse = z294.object({
8723
+ var DTODownloadAssetsResponse = z293.object({
8773
8724
  items: DTORenderedAssetFile.array()
8774
8725
  });
8775
8726
 
8776
8727
  // src/api/dto/figma-exporter/figma-node.ts
8777
- import { z as z295 } from "zod";
8778
- var DTOFigmaNodeResponse = z295.object({
8728
+ import { z as z294 } from "zod";
8729
+ var DTOFigmaNodeResponse = z294.object({
8779
8730
  nodes: FigmaExporterAnyDesignNodeSchema
8780
8731
  });
8781
8732
 
8782
8733
  // src/api/dto/forge/agent.ts
8783
- import { z as z296 } from "zod";
8734
+ import { z as z295 } from "zod";
8784
8735
  var DTOForgeAgent = ForgeAgent;
8785
8736
  var DTOForgeAvatarBuilder = ForgeAvatarBuilder;
8786
8737
  var DTOCreateForgeAgent = DTOForgeAgent.omit({ projectId: true });
8787
- var DTOUpdateForgeAgent = DTOCreateForgeAgent.extend({ id: z296.string() });
8788
- var DTOCreateForgeAgentResponse = z296.object({
8738
+ var DTOUpdateForgeAgent = DTOCreateForgeAgent.extend({ id: z295.string() });
8739
+ var DTOCreateForgeAgentResponse = z295.object({
8789
8740
  agent: DTOForgeAgent
8790
8741
  });
8791
- var DTOUGetForgeAgentResponse = z296.object({
8742
+ var DTOUGetForgeAgentResponse = z295.object({
8792
8743
  agent: DTOForgeAgent.nullable()
8793
8744
  });
8794
- var DTOUpdateForgeAgentResponse = z296.object({
8745
+ var DTOUpdateForgeAgentResponse = z295.object({
8795
8746
  agent: DTOForgeAgent.nullable()
8796
8747
  });
8797
- var DTOForgeAgentsListResponse = z296.object({
8798
- agents: z296.array(DTOForgeAgent)
8748
+ var DTOForgeAgentsListResponse = z295.object({
8749
+ agents: z295.array(DTOForgeAgent)
8799
8750
  });
8800
- var DTODeleteForgeAgentResponse = z296.object({
8801
- ok: z296.literal(true)
8751
+ var DTODeleteForgeAgentResponse = z295.object({
8752
+ ok: z295.literal(true)
8802
8753
  });
8803
8754
 
8804
8755
  // src/api/dto/forge/artifact.ts
8805
- import { z as z297 } from "zod";
8756
+ import { z as z296 } from "zod";
8806
8757
  var DTOCreateForgeBuildArtifact = ForgeBuildArtifact.omit({
8807
8758
  id: true,
8808
8759
  createdAt: true,
@@ -8823,48 +8774,48 @@ var DTOCreateForgeSpecArtifact = ForgeSpecArtifact.omit({
8823
8774
  createdAt: true,
8824
8775
  projectIterationId: true
8825
8776
  });
8826
- var DTOUpdateForgeBuildArtifact = DTOCreateForgeBuildArtifact.extend({ id: z297.string() });
8827
- var DTOUpdateForgeFileArtifact = DTOCreateForgeFileArtifact.extend({ id: z297.string() });
8828
- var DTOUpdateForgeFigmaArtifact = DTOCreateForgeFigmaArtifact.extend({ id: z297.string() });
8829
- var DTOUpdateForgeSpecArtifact = DTOCreateForgeSpecArtifact.extend({ id: z297.string() });
8777
+ var DTOUpdateForgeBuildArtifact = DTOCreateForgeBuildArtifact.extend({ id: z296.string() });
8778
+ var DTOUpdateForgeFileArtifact = DTOCreateForgeFileArtifact.extend({ id: z296.string() });
8779
+ var DTOUpdateForgeFigmaArtifact = DTOCreateForgeFigmaArtifact.extend({ id: z296.string() });
8780
+ var DTOUpdateForgeSpecArtifact = DTOCreateForgeSpecArtifact.extend({ id: z296.string() });
8830
8781
  var DTOForgeArtifact = ForgeArtifact;
8831
8782
  var DTOForgeBuildArtifact = ForgeBuildArtifact;
8832
8783
  var DTOForgeFileArtifact = ForgeFileArtifact;
8833
8784
  var DTOForgeFigmaArtifact = ForgeFigmaArtifact;
8834
8785
  var DTOForgeSpecArtifact = ForgeSpecArtifact;
8835
- var DTOCreateForgeArtifact = z297.union([
8786
+ var DTOCreateForgeArtifact = z296.union([
8836
8787
  DTOCreateForgeBuildArtifact,
8837
8788
  DTOCreateForgeFileArtifact,
8838
8789
  DTOCreateForgeFigmaArtifact,
8839
8790
  DTOCreateForgeSpecArtifact
8840
8791
  ]);
8841
- var DTOUpdateForgeArtifact = z297.union([
8792
+ var DTOUpdateForgeArtifact = z296.union([
8842
8793
  DTOUpdateForgeFileArtifact,
8843
8794
  DTOUpdateForgeBuildArtifact,
8844
8795
  DTOUpdateForgeSpecArtifact,
8845
8796
  DTOUpdateForgeFigmaArtifact
8846
8797
  ]);
8847
- var DTOCreateForgeArtifactResponse = z297.object({
8798
+ var DTOCreateForgeArtifactResponse = z296.object({
8848
8799
  artifact: DTOForgeArtifact
8849
8800
  });
8850
- var DTOUpdateForgeArtifactResponse = z297.object({
8801
+ var DTOUpdateForgeArtifactResponse = z296.object({
8851
8802
  artifact: DTOForgeArtifact.nullable()
8852
8803
  });
8853
- var DTODeleteForgeArtifactResponse = z297.object({
8854
- ok: z297.literal(true)
8804
+ var DTODeleteForgeArtifactResponse = z296.object({
8805
+ ok: z296.literal(true)
8855
8806
  });
8856
- var DTOForgeArtifactsListResponse = z297.object({
8857
- artifacts: z297.array(DTOForgeArtifact)
8807
+ var DTOForgeArtifactsListResponse = z296.object({
8808
+ artifacts: z296.array(DTOForgeArtifact)
8858
8809
  });
8859
- var DTOForgeArtifactGetResponse = z297.object({
8810
+ var DTOForgeArtifactGetResponse = z296.object({
8860
8811
  artifact: DTOForgeArtifact.nullable()
8861
8812
  });
8862
8813
 
8863
8814
  // src/api/dto/forge/iteration-message.ts
8864
- import { z as z299 } from "zod";
8815
+ import { z as z298 } from "zod";
8865
8816
 
8866
8817
  // src/api/dto/forge/participant.ts
8867
- import { z as z298 } from "zod";
8818
+ import { z as z297 } from "zod";
8868
8819
  var DTOForgeParticipant = ForgeParticipant.omit({ agent: true, user: true }).extend({
8869
8820
  agent: DTOForgeAgent.optional(),
8870
8821
  user: DTOUser.optional()
@@ -8874,20 +8825,20 @@ var DTOCreateForgeParticipant = DTOForgeParticipant.omit({
8874
8825
  agent: true,
8875
8826
  user: true
8876
8827
  });
8877
- var DTOUpdateForgeParticipant = DTOCreateForgeParticipant.extend({ id: z298.string() });
8878
- var DTOCreateForgeParticipantResponse = z298.object({
8828
+ var DTOUpdateForgeParticipant = DTOCreateForgeParticipant.extend({ id: z297.string() });
8829
+ var DTOCreateForgeParticipantResponse = z297.object({
8879
8830
  participant: DTOForgeParticipant
8880
8831
  });
8881
- var DTOUpdateForgeParticipantResponse = z298.object({
8832
+ var DTOUpdateForgeParticipantResponse = z297.object({
8882
8833
  participant: DTOForgeParticipant.nullable()
8883
8834
  });
8884
- var DTODeleteForgeParticipantResponse = z298.object({
8885
- ok: z298.literal(true)
8835
+ var DTODeleteForgeParticipantResponse = z297.object({
8836
+ ok: z297.literal(true)
8886
8837
  });
8887
- var DTOForgeParticipantsListResponse = z298.object({
8888
- participants: z298.array(DTOForgeParticipant)
8838
+ var DTOForgeParticipantsListResponse = z297.object({
8839
+ participants: z297.array(DTOForgeParticipant)
8889
8840
  });
8890
- var DTOForgeParticipantGetResponse = z298.object({
8841
+ var DTOForgeParticipantGetResponse = z297.object({
8891
8842
  participant: DTOForgeParticipant.nullable()
8892
8843
  });
8893
8844
 
@@ -8899,25 +8850,25 @@ var DTOCreateForgeIterationMessage = DTOForgeIterationMessage.omit({
8899
8850
  projectIterationId: true,
8900
8851
  participant: true
8901
8852
  });
8902
- var DTOGetForgeIterationMessageResponse = z299.object({
8853
+ var DTOGetForgeIterationMessageResponse = z298.object({
8903
8854
  message: DTOForgeIterationMessage.nullable()
8904
8855
  });
8905
- var DTOForgeIterationMessagesListResponse = z299.object({
8906
- messages: z299.array(DTOForgeIterationMessage)
8856
+ var DTOForgeIterationMessagesListResponse = z298.object({
8857
+ messages: z298.array(DTOForgeIterationMessage)
8907
8858
  });
8908
- var DTOUpdateForgeIterationMessage = DTOCreateForgeIterationMessage.extend({ id: z299.string() });
8909
- var DTOCreateForgeIterationMessageResponse = z299.object({
8859
+ var DTOUpdateForgeIterationMessage = DTOCreateForgeIterationMessage.extend({ id: z298.string() });
8860
+ var DTOCreateForgeIterationMessageResponse = z298.object({
8910
8861
  message: DTOForgeIterationMessage
8911
8862
  });
8912
- var DTOUpdateForgeIterationMessageResponse = z299.object({
8863
+ var DTOUpdateForgeIterationMessageResponse = z298.object({
8913
8864
  message: DTOForgeIterationMessage.nullable()
8914
8865
  });
8915
- var DTODeleteForgeIterationMessageResponse = z299.object({
8916
- ok: z299.literal(true)
8866
+ var DTODeleteForgeIterationMessageResponse = z298.object({
8867
+ ok: z298.literal(true)
8917
8868
  });
8918
8869
 
8919
8870
  // src/api/dto/forge/project-context.ts
8920
- import { z as z300 } from "zod";
8871
+ import { z as z299 } from "zod";
8921
8872
  var DTOForgeProjectContext = ForgeProjectContext;
8922
8873
  var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
8923
8874
  definition: true,
@@ -8929,17 +8880,17 @@ var DTOCreateForgeProjectContext = DTOForgeProjectContext.pick({
8929
8880
  tailwindConfig: true,
8930
8881
  styling: true
8931
8882
  }).extend({ npmProxySettings: DTONpmRegistryConfig });
8932
- var DTOUpdateForgeProjectContext = DTOForgeProjectContext.extend({ id: z300.string() });
8933
- var DTOForgeProjectContextGetResponse = z300.object({ context: DTOForgeProjectContext.nullable() });
8934
- var DTOForgeProjectContextListResponse = z300.object({ contexts: z300.array(DTOForgeProjectContext) });
8935
- var DTOForgeProjectContextCreateResponse = z300.object({ context: DTOForgeProjectContext });
8936
- var DTOForgeProjectContextUpdateResponse = z300.object({ context: DTOForgeProjectContext.nullable() });
8937
- var DTOForgeProjectContextRemoveResponse = z300.object({
8938
- ok: z300.literal(true)
8883
+ var DTOUpdateForgeProjectContext = DTOForgeProjectContext.extend({ id: z299.string() });
8884
+ var DTOForgeProjectContextGetResponse = z299.object({ context: DTOForgeProjectContext.nullable() });
8885
+ var DTOForgeProjectContextListResponse = z299.object({ contexts: z299.array(DTOForgeProjectContext) });
8886
+ var DTOForgeProjectContextCreateResponse = z299.object({ context: DTOForgeProjectContext });
8887
+ var DTOForgeProjectContextUpdateResponse = z299.object({ context: DTOForgeProjectContext.nullable() });
8888
+ var DTOForgeProjectContextRemoveResponse = z299.object({
8889
+ ok: z299.literal(true)
8939
8890
  });
8940
8891
 
8941
8892
  // src/api/dto/forge/project-iteration.ts
8942
- import { z as z301 } from "zod";
8893
+ import { z as z300 } from "zod";
8943
8894
  var DTOForgeProjectIterationMergeMeta = ForgeProjectIterationMergeMeta;
8944
8895
  var DTOForgeProjectIteration = ForgeProjectIteration.omit({
8945
8896
  artifacts: true,
@@ -8950,7 +8901,7 @@ var DTOForgeProjectIteration = ForgeProjectIteration.omit({
8950
8901
  messages: DTOForgeIterationMessage.array(),
8951
8902
  mergeMeta: DTOForgeProjectIterationMergeMeta.optional()
8952
8903
  });
8953
- var DTOGetForgeProjectIterationResponse = z301.object({
8904
+ var DTOGetForgeProjectIterationResponse = z300.object({
8954
8905
  iteration: DTOForgeProjectIteration.nullable()
8955
8906
  });
8956
8907
  var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
@@ -8960,55 +8911,55 @@ var DTOCreateForgeProjectIteration = DTOForgeProjectIteration.omit({
8960
8911
  mergeMeta: true,
8961
8912
  createdAt: true
8962
8913
  });
8963
- var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z301.string() });
8964
- var DTOCreateForgeProjectIterationResponse = z301.object({
8914
+ var DTOUpdateForgeProjectIteration = DTOCreateForgeProjectIteration.extend({ id: z300.string() });
8915
+ var DTOCreateForgeProjectIterationResponse = z300.object({
8965
8916
  iteration: DTOForgeProjectIteration
8966
8917
  });
8967
- var DTOUpdateForgeProjectIterationResponse = z301.object({
8918
+ var DTOUpdateForgeProjectIterationResponse = z300.object({
8968
8919
  iteration: DTOForgeProjectIteration.nullable()
8969
8920
  });
8970
- var DTODeleteForgeProjectIterationResponse = z301.object({
8971
- ok: z301.literal(true)
8921
+ var DTODeleteForgeProjectIterationResponse = z300.object({
8922
+ ok: z300.literal(true)
8972
8923
  });
8973
- var DTOForgeProjectIterationListResponse = z301.object({ iterations: z301.array(DTOForgeProjectIteration) });
8924
+ var DTOForgeProjectIterationListResponse = z300.object({ iterations: z300.array(DTOForgeProjectIteration) });
8974
8925
 
8975
8926
  // src/api/dto/forge/project-member.ts
8976
- import { z as z302 } from "zod";
8977
- var DTOForgeProjectMember = z302.object({
8927
+ import { z as z301 } from "zod";
8928
+ var DTOForgeProjectMember = z301.object({
8978
8929
  user: DTOUser,
8979
- role: z302.string()
8930
+ role: z301.string()
8980
8931
  // TODO: RCT-5287 Define enum for role
8981
8932
  });
8982
- var DTOCreateForgeProjectMember = z302.object({
8983
- userId: z302.string(),
8984
- role: z302.string()
8933
+ var DTOCreateForgeProjectMember = z301.object({
8934
+ userId: z301.string(),
8935
+ role: z301.string()
8985
8936
  // TODO: RCT-5287 Define enum for role
8986
8937
  });
8987
8938
  var DTOUpdateForgeProjectMember = DTOCreateForgeProjectMember;
8988
- var DTORemoveForgeProjectMember = z302.object({
8989
- userId: z302.string()
8939
+ var DTORemoveForgeProjectMember = z301.object({
8940
+ userId: z301.string()
8990
8941
  });
8991
- var DTOForgeProjectMembersListResponse = z302.object({
8992
- members: z302.array(DTOForgeProjectMember)
8942
+ var DTOForgeProjectMembersListResponse = z301.object({
8943
+ members: z301.array(DTOForgeProjectMember)
8993
8944
  });
8994
- var DTOForgeProjectMemberGetResponse = z302.object({
8945
+ var DTOForgeProjectMemberGetResponse = z301.object({
8995
8946
  member: DTOForgeProjectMember.nullable()
8996
8947
  });
8997
- var DTOForgeProjectMemberCreateResponse = z302.object({
8948
+ var DTOForgeProjectMemberCreateResponse = z301.object({
8998
8949
  member: DTOForgeProjectMember
8999
8950
  });
9000
- var DTOForgeProjectMemberUpdateResponse = z302.object({
8951
+ var DTOForgeProjectMemberUpdateResponse = z301.object({
9001
8952
  member: DTOForgeProjectMember.nullable()
9002
8953
  });
9003
- var DTOForgeProjectMemberRemoveResponse = z302.object({
9004
- ok: z302.literal(true)
8954
+ var DTOForgeProjectMemberRemoveResponse = z301.object({
8955
+ ok: z301.literal(true)
9005
8956
  });
9006
8957
 
9007
8958
  // src/api/dto/forge/project.ts
9008
- import { z as z303 } from "zod";
8959
+ import { z as z302 } from "zod";
9009
8960
  var DTOForgeProject = ForgeProject.omit({ fpContextId: true }).extend({
9010
8961
  context: ForgeProjectContext,
9011
- members: z303.array(DTOForgeProjectMember)
8962
+ members: z302.array(DTOForgeProjectMember)
9012
8963
  });
9013
8964
  var DTOCreateForgeProject = ForgeProject.pick({
9014
8965
  instruction: true,
@@ -9016,16 +8967,77 @@ var DTOCreateForgeProject = ForgeProject.pick({
9016
8967
  meta: true,
9017
8968
  fpContextId: true
9018
8969
  });
9019
- var DTOUpdateForgeProject = DTOCreateForgeProject.extend({ id: z303.string() });
9020
- var DTOForgeProjectGetResponse = z303.object({ project: DTOForgeProject.nullable() });
9021
- var DTOForgeProjectsListResponse = z303.object({ projects: z303.array(DTOForgeProject) });
9022
- var DTOCreateForgeProjectResponse = z303.object({
8970
+ var DTOUpdateForgeProject = DTOCreateForgeProject.extend({ id: z302.string() });
8971
+ var DTOForgeProjectGetResponse = z302.object({ project: DTOForgeProject.nullable() });
8972
+ var DTOForgeProjectsListResponse = z302.object({ projects: z302.array(DTOForgeProject) });
8973
+ var DTOCreateForgeProjectResponse = z302.object({
9023
8974
  project: DTOForgeProject
9024
8975
  });
9025
- var DTOUpdateForgeProjectResponse = z303.object({
8976
+ var DTOUpdateForgeProjectResponse = z302.object({
9026
8977
  project: DTOForgeProject.nullable()
9027
8978
  });
9028
- var DTORemoveForgeProjectResponse = z303.object({ ok: z303.literal(true) });
8979
+ var DTORemoveForgeProjectResponse = z302.object({ ok: z302.literal(true) });
8980
+
8981
+ // src/api/dto/forge/threads.ts
8982
+ import { z as z303 } from "zod";
8983
+ var DTOForgeChatMessage = ForgeChatMessage;
8984
+ var DTOForgeChatThread = ForgeChatThread;
8985
+ var DTOForgeChatMessageSenderType = ForgeChatMessageSenderType;
8986
+ var DTOForgeChatMessageSender = ForgeChatMessageSender;
8987
+ var DTOForgeChatThreadCreateInput = z303.object({
8988
+ title: z303.string().optional()
8989
+ });
8990
+ var DTOForgeChatThreadCreateResponse = z303.object({
8991
+ thread: DTOForgeChatThread
8992
+ });
8993
+ var DTOForgeChatThreadUpdateInput = z303.object({
8994
+ title: z303.string()
8995
+ });
8996
+ var DTOForgeChatThreadUpdateResponse = z303.object({
8997
+ thread: DTOForgeChatThread
8998
+ });
8999
+ var DTOForgeChatThreadDeleteResponse = z303.object({
9000
+ success: z303.boolean()
9001
+ });
9002
+ var DTOForgeChatThreadListQuery = z303.object({
9003
+ limit: z303.number().optional(),
9004
+ offset: z303.number().optional()
9005
+ });
9006
+ var DTOForgeChatThreadListResponse = z303.object({
9007
+ threads: z303.array(DTOForgeChatThread),
9008
+ pagination: z303.object({
9009
+ offset: z303.number(),
9010
+ limit: z303.number(),
9011
+ total: z303.number()
9012
+ })
9013
+ });
9014
+ var DTOForgeChatMessageCreateInput = z303.object({
9015
+ payload: z303.string(),
9016
+ sender: DTOForgeChatMessageSender.optional(),
9017
+ opikSpanId: z303.string().optional()
9018
+ });
9019
+ var DTOForgeChatMessageCreateResponse = z303.object({
9020
+ message: DTOForgeChatMessage
9021
+ });
9022
+ var DTOForgeChatMessageListQuery = z303.object({
9023
+ limit: z303.string().optional().transform((val) => val ? parseInt(val, 10) : void 0),
9024
+ offset: z303.string().optional().transform((val) => val ? parseInt(val, 10) : void 0)
9025
+ });
9026
+ var DTOForgeChatMessageListResponse = z303.object({
9027
+ messages: z303.array(DTOForgeChatMessage),
9028
+ totalCount: z303.number(),
9029
+ hasMore: z303.boolean()
9030
+ });
9031
+ var DTOForgeChatMessageScoreInput = z303.object({
9032
+ messageId: z303.string(),
9033
+ name: z303.string(),
9034
+ value: z303.number(),
9035
+ categoryName: z303.string().optional(),
9036
+ reason: z303.string().optional()
9037
+ });
9038
+ var DTOForgeChatMessageScoreRequest = z303.object({
9039
+ scores: DTOForgeChatMessageScoreInput.array()
9040
+ });
9029
9041
 
9030
9042
  // src/api/dto/liveblocks/auth-response.ts
9031
9043
  import { z as z304 } from "zod";
@@ -10670,6 +10682,12 @@ var ChatThreadMessagesEndpoint = class {
10670
10682
  }
10671
10683
  );
10672
10684
  }
10685
+ score(workspaceId, threadId, body) {
10686
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads/${threadId}/scores`, z318.any(), {
10687
+ method: "POST",
10688
+ body
10689
+ });
10690
+ }
10673
10691
  };
10674
10692
 
10675
10693
  // src/api/endpoints/workspaces/integrations.ts
@@ -10797,6 +10815,17 @@ var WorkspacesEndpoint = class {
10797
10815
  subscription(workspaceId) {
10798
10816
  return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z321.any(), { method: "GET" });
10799
10817
  }
10818
+ getPortalSettings(workspaceId) {
10819
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/portal/settings`, DTOPortalSettingsGetResponse, {
10820
+ method: "GET"
10821
+ });
10822
+ }
10823
+ updatePortalSettings(workspaceId, body) {
10824
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/portal/settings`, DTOPortalSettingsGetResponse, {
10825
+ method: "PUT",
10826
+ body
10827
+ });
10828
+ }
10800
10829
  transferOwnership(workspaceId, body) {
10801
10830
  return this.requestExecutor.json(`/workspaces/${workspaceId}/ownership`, DTOWorkspaceResponse, {
10802
10831
  method: "PUT",
@@ -16759,6 +16788,8 @@ export {
16759
16788
  DTOForgeChatMessageCreateResponse,
16760
16789
  DTOForgeChatMessageListQuery,
16761
16790
  DTOForgeChatMessageListResponse,
16791
+ DTOForgeChatMessageScoreInput,
16792
+ DTOForgeChatMessageScoreRequest,
16762
16793
  DTOForgeChatMessageSender,
16763
16794
  DTOForgeChatMessageSenderType,
16764
16795
  DTOForgeChatThread,