@supernova-studio/client 1.83.0 → 1.84.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -8067,7 +8067,12 @@ var DTOLoginScreenSettings = z249.object({
8067
8067
  // Flag for SSO login
8068
8068
  });
8069
8069
  var DTOLoginScreenSettingsUpdate = DTOLoginScreenSettings.extend({
8070
- logoFileId: z249.string().nullish()
8070
+ logoFileId: z249.string().nullish(),
8071
+ title: z249.string().nullish(),
8072
+ color: z249.string().refine(
8073
+ (val) => val === null || /^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/.test(val),
8074
+ "Must be a valid hex color (e.g. #FF0000) or null"
8075
+ ).nullish()
8071
8076
  }).omit({ logoUrl: true }).partial();
8072
8077
  var DTOLoginScreenSettingsResponse = z249.object({
8073
8078
  loginScreenSettings: DTOLoginScreenSettings
@@ -13059,14 +13064,10 @@ var DesignSystemCodeSnapshotsEndpoint = class {
13059
13064
  });
13060
13065
  }
13061
13066
  finalize(snapshotId, body) {
13062
- return this.requestExecutor.json(
13063
- `/code-snapshots/${snapshotId}/finalize`,
13064
- DTOCodeSnapshotFinalizeResponse,
13065
- {
13066
- method: "POST",
13067
- body
13068
- }
13069
- );
13067
+ return this.requestExecutor.json(`/code-snapshots/${snapshotId}/finalize`, DTOCodeSnapshotFinalizeResponse, {
13068
+ method: "POST",
13069
+ body
13070
+ });
13070
13071
  }
13071
13072
  startProcessingRun(body) {
13072
13073
  return this.requestExecutor.json(`/code-snapshots/process-run`, DTOCodeSnapshotProcessingRunResponse, {