@supernova-studio/client 1.76.2 → 1.77.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.d.mts CHANGED
@@ -9440,22 +9440,22 @@ declare const Collection: z.ZodObject<{
9440
9440
  type Collection = z.infer<typeof Collection>;
9441
9441
  declare const VariablesMapping: z.ZodObject<{
9442
9442
  variableCollections: z.ZodArray<z.ZodString, "many">;
9443
- variableCollectionKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9443
+ variableCollectionKeys: z.ZodArray<z.ZodString, "many">;
9444
9444
  variableMode: z.ZodString;
9445
9445
  supernovaBrand: z.ZodString;
9446
9446
  supernovaTheme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9447
9447
  }, "strip", z.ZodTypeAny, {
9448
9448
  supernovaBrand: string;
9449
9449
  variableCollections: string[];
9450
+ variableCollectionKeys: string[];
9450
9451
  variableMode: string;
9451
9452
  supernovaTheme?: string | null | undefined;
9452
- variableCollectionKeys?: string[] | undefined;
9453
9453
  }, {
9454
9454
  supernovaBrand: string;
9455
9455
  variableCollections: string[];
9456
+ variableCollectionKeys: string[];
9456
9457
  variableMode: string;
9457
9458
  supernovaTheme?: string | null | undefined;
9458
- variableCollectionKeys?: string[] | undefined;
9459
9459
  }>;
9460
9460
  type VariablesMapping = z.infer<typeof VariablesMapping>;
9461
9461
  type VariableCollections = z.infer<typeof VariableCollectionsSchema>;
@@ -9873,22 +9873,22 @@ declare const FormattedCollections: z.ZodObject<{
9873
9873
  variablesOrder: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9874
9874
  mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
9875
9875
  variableCollections: z.ZodArray<z.ZodString, "many">;
9876
- variableCollectionKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9876
+ variableCollectionKeys: z.ZodArray<z.ZodString, "many">;
9877
9877
  variableMode: z.ZodString;
9878
9878
  supernovaBrand: z.ZodString;
9879
9879
  supernovaTheme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9880
9880
  }, "strip", z.ZodTypeAny, {
9881
9881
  supernovaBrand: string;
9882
9882
  variableCollections: string[];
9883
+ variableCollectionKeys: string[];
9883
9884
  variableMode: string;
9884
9885
  supernovaTheme?: string | null | undefined;
9885
- variableCollectionKeys?: string[] | undefined;
9886
9886
  }, {
9887
9887
  supernovaBrand: string;
9888
9888
  variableCollections: string[];
9889
+ variableCollectionKeys: string[];
9889
9890
  variableMode: string;
9890
9891
  supernovaTheme?: string | null | undefined;
9891
- variableCollectionKeys?: string[] | undefined;
9892
9892
  }>, "many">>;
9893
9893
  }, "strip", z.ZodTypeAny, {
9894
9894
  variableCollections: Record<string, {
@@ -9978,9 +9978,9 @@ declare const FormattedCollections: z.ZodObject<{
9978
9978
  mappings?: {
9979
9979
  supernovaBrand: string;
9980
9980
  variableCollections: string[];
9981
+ variableCollectionKeys: string[];
9981
9982
  variableMode: string;
9982
9983
  supernovaTheme?: string | null | undefined;
9983
- variableCollectionKeys?: string[] | undefined;
9984
9984
  }[] | undefined;
9985
9985
  }, {
9986
9986
  variableCollections: Record<string, {
@@ -10070,9 +10070,9 @@ declare const FormattedCollections: z.ZodObject<{
10070
10070
  mappings?: {
10071
10071
  supernovaBrand: string;
10072
10072
  variableCollections: string[];
10073
+ variableCollectionKeys: string[];
10073
10074
  variableMode: string;
10074
10075
  supernovaTheme?: string | null | undefined;
10075
- variableCollectionKeys?: string[] | undefined;
10076
10076
  }[] | undefined;
10077
10077
  }>;
10078
10078
  type FormattedCollections = z.infer<typeof FormattedCollections>;
@@ -318513,18 +318513,46 @@ declare const DTOSandboxTemplateBuildCreateInput: z$1.ZodObject<{
318513
318513
  name: z$1.ZodString;
318514
318514
  version: z$1.ZodString;
318515
318515
  isExistingVersionUpdateAllowed: z$1.ZodBoolean;
318516
+ templates: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
318517
+ id: z$1.ZodString;
318518
+ name: z$1.ZodString;
318519
+ description: z$1.ZodString;
318520
+ thumbnailUrl: z$1.ZodOptional<z$1.ZodString>;
318521
+ }, "strip", z$1.ZodTypeAny, {
318522
+ id: string;
318523
+ name: string;
318524
+ description: string;
318525
+ thumbnailUrl?: string | undefined;
318526
+ }, {
318527
+ id: string;
318528
+ name: string;
318529
+ description: string;
318530
+ thumbnailUrl?: string | undefined;
318531
+ }>, "many">>;
318516
318532
  }, "strip", z$1.ZodTypeAny, {
318517
318533
  name: string;
318518
318534
  designSystemId: string;
318519
318535
  workspaceId: string;
318520
318536
  version: string;
318521
318537
  isExistingVersionUpdateAllowed: boolean;
318538
+ templates?: {
318539
+ id: string;
318540
+ name: string;
318541
+ description: string;
318542
+ thumbnailUrl?: string | undefined;
318543
+ }[] | undefined;
318522
318544
  }, {
318523
318545
  name: string;
318524
318546
  designSystemId: string;
318525
318547
  workspaceId: string;
318526
318548
  version: string;
318527
318549
  isExistingVersionUpdateAllowed: boolean;
318550
+ templates?: {
318551
+ id: string;
318552
+ name: string;
318553
+ description: string;
318554
+ thumbnailUrl?: string | undefined;
318555
+ }[] | undefined;
318528
318556
  }>;
318529
318557
  type DTOSandboxTemplateBuildCreateInput = z$1.infer<typeof DTOSandboxTemplateBuildCreateInput>;
318530
318558
  declare const DTOSandboxTemplateBuildCreateResponse: z$1.ZodObject<{
package/dist/index.d.ts CHANGED
@@ -9440,22 +9440,22 @@ declare const Collection: z.ZodObject<{
9440
9440
  type Collection = z.infer<typeof Collection>;
9441
9441
  declare const VariablesMapping: z.ZodObject<{
9442
9442
  variableCollections: z.ZodArray<z.ZodString, "many">;
9443
- variableCollectionKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9443
+ variableCollectionKeys: z.ZodArray<z.ZodString, "many">;
9444
9444
  variableMode: z.ZodString;
9445
9445
  supernovaBrand: z.ZodString;
9446
9446
  supernovaTheme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9447
9447
  }, "strip", z.ZodTypeAny, {
9448
9448
  supernovaBrand: string;
9449
9449
  variableCollections: string[];
9450
+ variableCollectionKeys: string[];
9450
9451
  variableMode: string;
9451
9452
  supernovaTheme?: string | null | undefined;
9452
- variableCollectionKeys?: string[] | undefined;
9453
9453
  }, {
9454
9454
  supernovaBrand: string;
9455
9455
  variableCollections: string[];
9456
+ variableCollectionKeys: string[];
9456
9457
  variableMode: string;
9457
9458
  supernovaTheme?: string | null | undefined;
9458
- variableCollectionKeys?: string[] | undefined;
9459
9459
  }>;
9460
9460
  type VariablesMapping = z.infer<typeof VariablesMapping>;
9461
9461
  type VariableCollections = z.infer<typeof VariableCollectionsSchema>;
@@ -9873,22 +9873,22 @@ declare const FormattedCollections: z.ZodObject<{
9873
9873
  variablesOrder: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9874
9874
  mappings: z.ZodOptional<z.ZodArray<z.ZodObject<{
9875
9875
  variableCollections: z.ZodArray<z.ZodString, "many">;
9876
- variableCollectionKeys: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9876
+ variableCollectionKeys: z.ZodArray<z.ZodString, "many">;
9877
9877
  variableMode: z.ZodString;
9878
9878
  supernovaBrand: z.ZodString;
9879
9879
  supernovaTheme: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9880
9880
  }, "strip", z.ZodTypeAny, {
9881
9881
  supernovaBrand: string;
9882
9882
  variableCollections: string[];
9883
+ variableCollectionKeys: string[];
9883
9884
  variableMode: string;
9884
9885
  supernovaTheme?: string | null | undefined;
9885
- variableCollectionKeys?: string[] | undefined;
9886
9886
  }, {
9887
9887
  supernovaBrand: string;
9888
9888
  variableCollections: string[];
9889
+ variableCollectionKeys: string[];
9889
9890
  variableMode: string;
9890
9891
  supernovaTheme?: string | null | undefined;
9891
- variableCollectionKeys?: string[] | undefined;
9892
9892
  }>, "many">>;
9893
9893
  }, "strip", z.ZodTypeAny, {
9894
9894
  variableCollections: Record<string, {
@@ -9978,9 +9978,9 @@ declare const FormattedCollections: z.ZodObject<{
9978
9978
  mappings?: {
9979
9979
  supernovaBrand: string;
9980
9980
  variableCollections: string[];
9981
+ variableCollectionKeys: string[];
9981
9982
  variableMode: string;
9982
9983
  supernovaTheme?: string | null | undefined;
9983
- variableCollectionKeys?: string[] | undefined;
9984
9984
  }[] | undefined;
9985
9985
  }, {
9986
9986
  variableCollections: Record<string, {
@@ -10070,9 +10070,9 @@ declare const FormattedCollections: z.ZodObject<{
10070
10070
  mappings?: {
10071
10071
  supernovaBrand: string;
10072
10072
  variableCollections: string[];
10073
+ variableCollectionKeys: string[];
10073
10074
  variableMode: string;
10074
10075
  supernovaTheme?: string | null | undefined;
10075
- variableCollectionKeys?: string[] | undefined;
10076
10076
  }[] | undefined;
10077
10077
  }>;
10078
10078
  type FormattedCollections = z.infer<typeof FormattedCollections>;
@@ -318513,18 +318513,46 @@ declare const DTOSandboxTemplateBuildCreateInput: z$1.ZodObject<{
318513
318513
  name: z$1.ZodString;
318514
318514
  version: z$1.ZodString;
318515
318515
  isExistingVersionUpdateAllowed: z$1.ZodBoolean;
318516
+ templates: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
318517
+ id: z$1.ZodString;
318518
+ name: z$1.ZodString;
318519
+ description: z$1.ZodString;
318520
+ thumbnailUrl: z$1.ZodOptional<z$1.ZodString>;
318521
+ }, "strip", z$1.ZodTypeAny, {
318522
+ id: string;
318523
+ name: string;
318524
+ description: string;
318525
+ thumbnailUrl?: string | undefined;
318526
+ }, {
318527
+ id: string;
318528
+ name: string;
318529
+ description: string;
318530
+ thumbnailUrl?: string | undefined;
318531
+ }>, "many">>;
318516
318532
  }, "strip", z$1.ZodTypeAny, {
318517
318533
  name: string;
318518
318534
  designSystemId: string;
318519
318535
  workspaceId: string;
318520
318536
  version: string;
318521
318537
  isExistingVersionUpdateAllowed: boolean;
318538
+ templates?: {
318539
+ id: string;
318540
+ name: string;
318541
+ description: string;
318542
+ thumbnailUrl?: string | undefined;
318543
+ }[] | undefined;
318522
318544
  }, {
318523
318545
  name: string;
318524
318546
  designSystemId: string;
318525
318547
  workspaceId: string;
318526
318548
  version: string;
318527
318549
  isExistingVersionUpdateAllowed: boolean;
318550
+ templates?: {
318551
+ id: string;
318552
+ name: string;
318553
+ description: string;
318554
+ thumbnailUrl?: string | undefined;
318555
+ }[] | undefined;
318528
318556
  }>;
318529
318557
  type DTOSandboxTemplateBuildCreateInput = z$1.infer<typeof DTOSandboxTemplateBuildCreateInput>;
318530
318558
  declare const DTOSandboxTemplateBuildCreateResponse: z$1.ZodObject<{
package/dist/index.js CHANGED
@@ -3723,15 +3723,13 @@ var CollectionImportModelInput = _zod.z.object({
3723
3723
  id: _zod.z.string(),
3724
3724
  name: _zod.z.string(),
3725
3725
  parentId: _zod.z.string().optional(),
3726
- parentPersistentId: _zod.z.string().optional(),
3727
3726
  collectionKeyMigrated: _zod.z.boolean()
3728
3727
  });
3729
3728
  var CollectionImportModel = _zod.z.object({
3730
3729
  id: _zod.z.string(),
3731
3730
  parentId: _zod.z.string().optional(),
3732
3731
  name: _zod.z.string(),
3733
- origin: CollectionOrigin,
3734
- parentPersistentId: _zod.z.string().optional()
3732
+ origin: CollectionOrigin
3735
3733
  });
3736
3734
  var ImportModelBase = _zod.z.object({
3737
3735
  id: _zod.z.string(),
@@ -7080,7 +7078,7 @@ var Collection2 = _zod.z.object({
7080
7078
  });
7081
7079
  var VariablesMapping = _zod.z.object({
7082
7080
  variableCollections: _zod.z.array(_zod.z.string()).min(1),
7083
- variableCollectionKeys: _zod.z.array(_zod.z.string()).optional(),
7081
+ variableCollectionKeys: _zod.z.array(_zod.z.string()),
7084
7082
  variableMode: _zod.z.string().min(1),
7085
7083
  supernovaBrand: _zod.z.string().min(1),
7086
7084
  supernovaTheme: _zod.z.string().min(1).nullable().optional()
@@ -11458,7 +11456,13 @@ var DTOSandboxTemplateBuildCreateInput = _zod2.default.object({
11458
11456
  designSystemId: _zod2.default.string(),
11459
11457
  name: _zod2.default.string(),
11460
11458
  version: _zod2.default.string(),
11461
- isExistingVersionUpdateAllowed: _zod2.default.boolean()
11459
+ isExistingVersionUpdateAllowed: _zod2.default.boolean(),
11460
+ templates: _zod2.default.object({
11461
+ id: _zod2.default.string(),
11462
+ name: _zod2.default.string(),
11463
+ description: _zod2.default.string(),
11464
+ thumbnailUrl: _zod2.default.string().optional()
11465
+ }).array().optional()
11462
11466
  });
11463
11467
  var DTOSandboxTemplateBuildCreateResponse = _zod2.default.object({
11464
11468
  /** @deprecated use domain + build.dockerImagePath */