@supernova-studio/client 1.85.1 → 1.86.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -129600,6 +129600,7 @@ declare const DTOExportJobsListFilter: z.ZodObject<{
129600
129600
  designSystemId: z.ZodOptional<z.ZodString>;
129601
129601
  themeId: z.ZodOptional<z.ZodString>;
129602
129602
  brandId: z.ZodOptional<z.ZodString>;
129603
+ docsEnvironment: z.ZodOptional<z.ZodEnum<["Live", "Preview"]>>;
129603
129604
  destinations: z.ZodOptional<z.ZodEffects<z.ZodString, ("documentation" | "github" | "azure" | "gitlab" | "bitbucket" | "webhookUrl" | "s3")[], string>>;
129604
129605
  }, "strip", z.ZodTypeAny, {
129605
129606
  status?: "Timeout" | "InProgress" | "Success" | "Failed" | undefined;
@@ -129611,6 +129612,7 @@ declare const DTOExportJobsListFilter: z.ZodObject<{
129611
129612
  exporterId?: string | undefined;
129612
129613
  scheduleId?: string | undefined;
129613
129614
  destinations?: ("documentation" | "github" | "azure" | "gitlab" | "bitbucket" | "webhookUrl" | "s3")[] | undefined;
129615
+ docsEnvironment?: "Live" | "Preview" | undefined;
129614
129616
  }, {
129615
129617
  status?: "Timeout" | "InProgress" | "Success" | "Failed" | undefined;
129616
129618
  designSystemId?: string | undefined;
@@ -129621,6 +129623,7 @@ declare const DTOExportJobsListFilter: z.ZodObject<{
129621
129623
  exporterId?: string | undefined;
129622
129624
  scheduleId?: string | undefined;
129623
129625
  destinations?: string | undefined;
129626
+ docsEnvironment?: "Live" | "Preview" | undefined;
129624
129627
  }>;
129625
129628
  type DTOExportJobsListFilter = z.infer<typeof DTOExportJobsListFilter>;
129626
129629
 
package/dist/index.d.ts CHANGED
@@ -129600,6 +129600,7 @@ declare const DTOExportJobsListFilter: z.ZodObject<{
129600
129600
  designSystemId: z.ZodOptional<z.ZodString>;
129601
129601
  themeId: z.ZodOptional<z.ZodString>;
129602
129602
  brandId: z.ZodOptional<z.ZodString>;
129603
+ docsEnvironment: z.ZodOptional<z.ZodEnum<["Live", "Preview"]>>;
129603
129604
  destinations: z.ZodOptional<z.ZodEffects<z.ZodString, ("documentation" | "github" | "azure" | "gitlab" | "bitbucket" | "webhookUrl" | "s3")[], string>>;
129604
129605
  }, "strip", z.ZodTypeAny, {
129605
129606
  status?: "Timeout" | "InProgress" | "Success" | "Failed" | undefined;
@@ -129611,6 +129612,7 @@ declare const DTOExportJobsListFilter: z.ZodObject<{
129611
129612
  exporterId?: string | undefined;
129612
129613
  scheduleId?: string | undefined;
129613
129614
  destinations?: ("documentation" | "github" | "azure" | "gitlab" | "bitbucket" | "webhookUrl" | "s3")[] | undefined;
129615
+ docsEnvironment?: "Live" | "Preview" | undefined;
129614
129616
  }, {
129615
129617
  status?: "Timeout" | "InProgress" | "Success" | "Failed" | undefined;
129616
129618
  designSystemId?: string | undefined;
@@ -129621,6 +129623,7 @@ declare const DTOExportJobsListFilter: z.ZodObject<{
129621
129623
  exporterId?: string | undefined;
129622
129624
  scheduleId?: string | undefined;
129623
129625
  destinations?: string | undefined;
129626
+ docsEnvironment?: "Live" | "Preview" | undefined;
129624
129627
  }>;
129625
129628
  type DTOExportJobsListFilter = z.infer<typeof DTOExportJobsListFilter>;
129626
129629
 
package/dist/index.js CHANGED
@@ -8072,8 +8072,8 @@ var DTOLoginScreenSettingsUpdate = DTOLoginScreenSettings.extend({
8072
8072
  logoFileId: _zod2.default.string().nullish(),
8073
8073
  title: _zod2.default.string().nullish(),
8074
8074
  color: _zod2.default.string().refine(
8075
- (val) => val === null || /^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/.test(val),
8076
- "Must be a valid hex color (e.g. #FF0000) or null"
8075
+ (val) => val === null || /^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6}|[0-9A-Fa-f]{8})$/.test(val),
8076
+ "Must be a valid hex color (e.g. #FF0000 or #FF000080) or null"
8077
8077
  ).nullish()
8078
8078
  }).omit({ logoUrl: true }).partial();
8079
8079
  var DTOLoginScreenSettingsResponse = _zod2.default.object({
@@ -9210,6 +9210,7 @@ var DTOExportJobsListFilter = _zod.z.object({
9210
9210
  designSystemId: _zod.z.string().optional(),
9211
9211
  themeId: _zod.z.string().optional(),
9212
9212
  brandId: _zod.z.string().optional(),
9213
+ docsEnvironment: PublishedDocEnvironment.optional(),
9213
9214
  destinations: _zod.z.string().transform((s) => s.split(",").map((p) => ExportJobDestinationType.parse(p))).optional()
9214
9215
  });
9215
9216