@supernova-studio/client 1.40.8 → 1.40.10

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
@@ -68719,7 +68719,7 @@ declare const DTOFeatureArtifact: z__default.ZodObject<{
68719
68719
  /**
68720
68720
  * Id of the project file that holds content of this artifact
68721
68721
  */
68722
- fileId: z__default.ZodString;
68722
+ fileId: z__default.ZodOptional<z__default.ZodString>;
68723
68723
  /**
68724
68724
  * Id of the Iteration that this artifact belongs to
68725
68725
  */
@@ -68728,6 +68728,10 @@ declare const DTOFeatureArtifact: z__default.ZodObject<{
68728
68728
  * URL of the feature artifact's contents
68729
68729
  */
68730
68730
  url: z__default.ZodString;
68731
+ /**
68732
+ * Relative file path of the artifact (without domain/base URL)
68733
+ */
68734
+ filePath: z__default.ZodOptional<z__default.ZodString>;
68731
68735
  createdAt: z__default.ZodString;
68732
68736
  updatedAt: z__default.ZodString;
68733
68737
  }, "strip", z__default.ZodTypeAny, {
@@ -68735,17 +68739,19 @@ declare const DTOFeatureArtifact: z__default.ZodObject<{
68735
68739
  createdAt: string;
68736
68740
  url: string;
68737
68741
  updatedAt: string;
68738
- fileId: string;
68739
68742
  key: string;
68743
+ fileId?: string | undefined;
68740
68744
  iterationId?: string | undefined;
68745
+ filePath?: string | undefined;
68741
68746
  }, {
68742
68747
  id: string;
68743
68748
  createdAt: string;
68744
68749
  url: string;
68745
68750
  updatedAt: string;
68746
- fileId: string;
68747
68751
  key: string;
68752
+ fileId?: string | undefined;
68748
68753
  iterationId?: string | undefined;
68754
+ filePath?: string | undefined;
68749
68755
  }>;
68750
68756
  type DTOFeatureArtifact = z__default.infer<typeof DTOFeatureArtifact>;
68751
68757
  declare const DTOFeatureIteration: z__default.ZodObject<{
@@ -68857,16 +68863,19 @@ declare const DTOFeatureSandbox: z__default.ZodObject<{
68857
68863
  staticPreviewUrl: z__default.ZodOptional<z__default.ZodString>;
68858
68864
  parentMessageId: z__default.ZodOptional<z__default.ZodString>;
68859
68865
  currentIterationId: z__default.ZodString;
68866
+ expiresAt: z__default.ZodOptional<z__default.ZodString>;
68860
68867
  }, "strip", z__default.ZodTypeAny, {
68861
68868
  id: string;
68862
68869
  url: string;
68863
68870
  currentIterationId: string;
68871
+ expiresAt?: string | undefined;
68864
68872
  parentMessageId?: string | undefined;
68865
68873
  staticPreviewUrl?: string | undefined;
68866
68874
  }, {
68867
68875
  id: string;
68868
68876
  url: string;
68869
68877
  currentIterationId: string;
68878
+ expiresAt?: string | undefined;
68870
68879
  parentMessageId?: string | undefined;
68871
68880
  staticPreviewUrl?: string | undefined;
68872
68881
  }>;
@@ -69655,7 +69664,7 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69655
69664
  /**
69656
69665
  * Id of the project file that holds content of this artifact
69657
69666
  */
69658
- fileId: z__default.ZodString;
69667
+ fileId: z__default.ZodOptional<z__default.ZodString>;
69659
69668
  /**
69660
69669
  * Id of the Iteration that this artifact belongs to
69661
69670
  */
@@ -69664,6 +69673,10 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69664
69673
  * URL of the feature artifact's contents
69665
69674
  */
69666
69675
  url: z__default.ZodString;
69676
+ /**
69677
+ * Relative file path of the artifact (without domain/base URL)
69678
+ */
69679
+ filePath: z__default.ZodOptional<z__default.ZodString>;
69667
69680
  createdAt: z__default.ZodString;
69668
69681
  updatedAt: z__default.ZodString;
69669
69682
  }, "strip", z__default.ZodTypeAny, {
@@ -69671,17 +69684,19 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69671
69684
  createdAt: string;
69672
69685
  url: string;
69673
69686
  updatedAt: string;
69674
- fileId: string;
69675
69687
  key: string;
69688
+ fileId?: string | undefined;
69676
69689
  iterationId?: string | undefined;
69690
+ filePath?: string | undefined;
69677
69691
  }, {
69678
69692
  id: string;
69679
69693
  createdAt: string;
69680
69694
  url: string;
69681
69695
  updatedAt: string;
69682
- fileId: string;
69683
69696
  key: string;
69697
+ fileId?: string | undefined;
69684
69698
  iterationId?: string | undefined;
69699
+ filePath?: string | undefined;
69685
69700
  }>;
69686
69701
  }, "strip", z__default.ZodTypeAny, {
69687
69702
  artifact: {
@@ -69689,9 +69704,10 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69689
69704
  createdAt: string;
69690
69705
  url: string;
69691
69706
  updatedAt: string;
69692
- fileId: string;
69693
69707
  key: string;
69708
+ fileId?: string | undefined;
69694
69709
  iterationId?: string | undefined;
69710
+ filePath?: string | undefined;
69695
69711
  };
69696
69712
  }, {
69697
69713
  artifact: {
@@ -69699,9 +69715,10 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69699
69715
  createdAt: string;
69700
69716
  url: string;
69701
69717
  updatedAt: string;
69702
- fileId: string;
69703
69718
  key: string;
69719
+ fileId?: string | undefined;
69704
69720
  iterationId?: string | undefined;
69721
+ filePath?: string | undefined;
69705
69722
  };
69706
69723
  }>;
69707
69724
  type DTOFeatureArtifactResponse = z__default.infer<typeof DTOFeatureArtifactResponse>;
@@ -69715,7 +69732,7 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69715
69732
  /**
69716
69733
  * Id of the project file that holds content of this artifact
69717
69734
  */
69718
- fileId: z__default.ZodString;
69735
+ fileId: z__default.ZodOptional<z__default.ZodString>;
69719
69736
  /**
69720
69737
  * Id of the Iteration that this artifact belongs to
69721
69738
  */
@@ -69724,6 +69741,10 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69724
69741
  * URL of the feature artifact's contents
69725
69742
  */
69726
69743
  url: z__default.ZodString;
69744
+ /**
69745
+ * Relative file path of the artifact (without domain/base URL)
69746
+ */
69747
+ filePath: z__default.ZodOptional<z__default.ZodString>;
69727
69748
  createdAt: z__default.ZodString;
69728
69749
  updatedAt: z__default.ZodString;
69729
69750
  }, "strip", z__default.ZodTypeAny, {
@@ -69731,17 +69752,19 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69731
69752
  createdAt: string;
69732
69753
  url: string;
69733
69754
  updatedAt: string;
69734
- fileId: string;
69735
69755
  key: string;
69756
+ fileId?: string | undefined;
69736
69757
  iterationId?: string | undefined;
69758
+ filePath?: string | undefined;
69737
69759
  }, {
69738
69760
  id: string;
69739
69761
  createdAt: string;
69740
69762
  url: string;
69741
69763
  updatedAt: string;
69742
- fileId: string;
69743
69764
  key: string;
69765
+ fileId?: string | undefined;
69744
69766
  iterationId?: string | undefined;
69767
+ filePath?: string | undefined;
69745
69768
  }>, "many">;
69746
69769
  }, "strip", z__default.ZodTypeAny, {
69747
69770
  artifacts: {
@@ -69749,9 +69772,10 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69749
69772
  createdAt: string;
69750
69773
  url: string;
69751
69774
  updatedAt: string;
69752
- fileId: string;
69753
69775
  key: string;
69776
+ fileId?: string | undefined;
69754
69777
  iterationId?: string | undefined;
69778
+ filePath?: string | undefined;
69755
69779
  }[];
69756
69780
  }, {
69757
69781
  artifacts: {
@@ -69759,9 +69783,10 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69759
69783
  createdAt: string;
69760
69784
  url: string;
69761
69785
  updatedAt: string;
69762
- fileId: string;
69763
69786
  key: string;
69787
+ fileId?: string | undefined;
69764
69788
  iterationId?: string | undefined;
69789
+ filePath?: string | undefined;
69765
69790
  }[];
69766
69791
  }>;
69767
69792
  type DTOFeatureArtifactListResponse = z__default.infer<typeof DTOFeatureArtifactListResponse>;
@@ -255255,9 +255280,10 @@ declare class ForgeFeatureArtifactsEndpoint {
255255
255280
  createdAt: string;
255256
255281
  url: string;
255257
255282
  updatedAt: string;
255258
- fileId: string;
255259
255283
  key: string;
255284
+ fileId?: string | undefined;
255260
255285
  iterationId?: string | undefined;
255286
+ filePath?: string | undefined;
255261
255287
  }[];
255262
255288
  }>;
255263
255289
  }
package/dist/index.d.ts CHANGED
@@ -68719,7 +68719,7 @@ declare const DTOFeatureArtifact: z__default.ZodObject<{
68719
68719
  /**
68720
68720
  * Id of the project file that holds content of this artifact
68721
68721
  */
68722
- fileId: z__default.ZodString;
68722
+ fileId: z__default.ZodOptional<z__default.ZodString>;
68723
68723
  /**
68724
68724
  * Id of the Iteration that this artifact belongs to
68725
68725
  */
@@ -68728,6 +68728,10 @@ declare const DTOFeatureArtifact: z__default.ZodObject<{
68728
68728
  * URL of the feature artifact's contents
68729
68729
  */
68730
68730
  url: z__default.ZodString;
68731
+ /**
68732
+ * Relative file path of the artifact (without domain/base URL)
68733
+ */
68734
+ filePath: z__default.ZodOptional<z__default.ZodString>;
68731
68735
  createdAt: z__default.ZodString;
68732
68736
  updatedAt: z__default.ZodString;
68733
68737
  }, "strip", z__default.ZodTypeAny, {
@@ -68735,17 +68739,19 @@ declare const DTOFeatureArtifact: z__default.ZodObject<{
68735
68739
  createdAt: string;
68736
68740
  url: string;
68737
68741
  updatedAt: string;
68738
- fileId: string;
68739
68742
  key: string;
68743
+ fileId?: string | undefined;
68740
68744
  iterationId?: string | undefined;
68745
+ filePath?: string | undefined;
68741
68746
  }, {
68742
68747
  id: string;
68743
68748
  createdAt: string;
68744
68749
  url: string;
68745
68750
  updatedAt: string;
68746
- fileId: string;
68747
68751
  key: string;
68752
+ fileId?: string | undefined;
68748
68753
  iterationId?: string | undefined;
68754
+ filePath?: string | undefined;
68749
68755
  }>;
68750
68756
  type DTOFeatureArtifact = z__default.infer<typeof DTOFeatureArtifact>;
68751
68757
  declare const DTOFeatureIteration: z__default.ZodObject<{
@@ -68857,16 +68863,19 @@ declare const DTOFeatureSandbox: z__default.ZodObject<{
68857
68863
  staticPreviewUrl: z__default.ZodOptional<z__default.ZodString>;
68858
68864
  parentMessageId: z__default.ZodOptional<z__default.ZodString>;
68859
68865
  currentIterationId: z__default.ZodString;
68866
+ expiresAt: z__default.ZodOptional<z__default.ZodString>;
68860
68867
  }, "strip", z__default.ZodTypeAny, {
68861
68868
  id: string;
68862
68869
  url: string;
68863
68870
  currentIterationId: string;
68871
+ expiresAt?: string | undefined;
68864
68872
  parentMessageId?: string | undefined;
68865
68873
  staticPreviewUrl?: string | undefined;
68866
68874
  }, {
68867
68875
  id: string;
68868
68876
  url: string;
68869
68877
  currentIterationId: string;
68878
+ expiresAt?: string | undefined;
68870
68879
  parentMessageId?: string | undefined;
68871
68880
  staticPreviewUrl?: string | undefined;
68872
68881
  }>;
@@ -69655,7 +69664,7 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69655
69664
  /**
69656
69665
  * Id of the project file that holds content of this artifact
69657
69666
  */
69658
- fileId: z__default.ZodString;
69667
+ fileId: z__default.ZodOptional<z__default.ZodString>;
69659
69668
  /**
69660
69669
  * Id of the Iteration that this artifact belongs to
69661
69670
  */
@@ -69664,6 +69673,10 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69664
69673
  * URL of the feature artifact's contents
69665
69674
  */
69666
69675
  url: z__default.ZodString;
69676
+ /**
69677
+ * Relative file path of the artifact (without domain/base URL)
69678
+ */
69679
+ filePath: z__default.ZodOptional<z__default.ZodString>;
69667
69680
  createdAt: z__default.ZodString;
69668
69681
  updatedAt: z__default.ZodString;
69669
69682
  }, "strip", z__default.ZodTypeAny, {
@@ -69671,17 +69684,19 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69671
69684
  createdAt: string;
69672
69685
  url: string;
69673
69686
  updatedAt: string;
69674
- fileId: string;
69675
69687
  key: string;
69688
+ fileId?: string | undefined;
69676
69689
  iterationId?: string | undefined;
69690
+ filePath?: string | undefined;
69677
69691
  }, {
69678
69692
  id: string;
69679
69693
  createdAt: string;
69680
69694
  url: string;
69681
69695
  updatedAt: string;
69682
- fileId: string;
69683
69696
  key: string;
69697
+ fileId?: string | undefined;
69684
69698
  iterationId?: string | undefined;
69699
+ filePath?: string | undefined;
69685
69700
  }>;
69686
69701
  }, "strip", z__default.ZodTypeAny, {
69687
69702
  artifact: {
@@ -69689,9 +69704,10 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69689
69704
  createdAt: string;
69690
69705
  url: string;
69691
69706
  updatedAt: string;
69692
- fileId: string;
69693
69707
  key: string;
69708
+ fileId?: string | undefined;
69694
69709
  iterationId?: string | undefined;
69710
+ filePath?: string | undefined;
69695
69711
  };
69696
69712
  }, {
69697
69713
  artifact: {
@@ -69699,9 +69715,10 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69699
69715
  createdAt: string;
69700
69716
  url: string;
69701
69717
  updatedAt: string;
69702
- fileId: string;
69703
69718
  key: string;
69719
+ fileId?: string | undefined;
69704
69720
  iterationId?: string | undefined;
69721
+ filePath?: string | undefined;
69705
69722
  };
69706
69723
  }>;
69707
69724
  type DTOFeatureArtifactResponse = z__default.infer<typeof DTOFeatureArtifactResponse>;
@@ -69715,7 +69732,7 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69715
69732
  /**
69716
69733
  * Id of the project file that holds content of this artifact
69717
69734
  */
69718
- fileId: z__default.ZodString;
69735
+ fileId: z__default.ZodOptional<z__default.ZodString>;
69719
69736
  /**
69720
69737
  * Id of the Iteration that this artifact belongs to
69721
69738
  */
@@ -69724,6 +69741,10 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69724
69741
  * URL of the feature artifact's contents
69725
69742
  */
69726
69743
  url: z__default.ZodString;
69744
+ /**
69745
+ * Relative file path of the artifact (without domain/base URL)
69746
+ */
69747
+ filePath: z__default.ZodOptional<z__default.ZodString>;
69727
69748
  createdAt: z__default.ZodString;
69728
69749
  updatedAt: z__default.ZodString;
69729
69750
  }, "strip", z__default.ZodTypeAny, {
@@ -69731,17 +69752,19 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69731
69752
  createdAt: string;
69732
69753
  url: string;
69733
69754
  updatedAt: string;
69734
- fileId: string;
69735
69755
  key: string;
69756
+ fileId?: string | undefined;
69736
69757
  iterationId?: string | undefined;
69758
+ filePath?: string | undefined;
69737
69759
  }, {
69738
69760
  id: string;
69739
69761
  createdAt: string;
69740
69762
  url: string;
69741
69763
  updatedAt: string;
69742
- fileId: string;
69743
69764
  key: string;
69765
+ fileId?: string | undefined;
69744
69766
  iterationId?: string | undefined;
69767
+ filePath?: string | undefined;
69745
69768
  }>, "many">;
69746
69769
  }, "strip", z__default.ZodTypeAny, {
69747
69770
  artifacts: {
@@ -69749,9 +69772,10 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69749
69772
  createdAt: string;
69750
69773
  url: string;
69751
69774
  updatedAt: string;
69752
- fileId: string;
69753
69775
  key: string;
69776
+ fileId?: string | undefined;
69754
69777
  iterationId?: string | undefined;
69778
+ filePath?: string | undefined;
69755
69779
  }[];
69756
69780
  }, {
69757
69781
  artifacts: {
@@ -69759,9 +69783,10 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69759
69783
  createdAt: string;
69760
69784
  url: string;
69761
69785
  updatedAt: string;
69762
- fileId: string;
69763
69786
  key: string;
69787
+ fileId?: string | undefined;
69764
69788
  iterationId?: string | undefined;
69789
+ filePath?: string | undefined;
69765
69790
  }[];
69766
69791
  }>;
69767
69792
  type DTOFeatureArtifactListResponse = z__default.infer<typeof DTOFeatureArtifactListResponse>;
@@ -255255,9 +255280,10 @@ declare class ForgeFeatureArtifactsEndpoint {
255255
255280
  createdAt: string;
255256
255281
  url: string;
255257
255282
  updatedAt: string;
255258
- fileId: string;
255259
255283
  key: string;
255284
+ fileId?: string | undefined;
255260
255285
  iterationId?: string | undefined;
255286
+ filePath?: string | undefined;
255261
255287
  }[];
255262
255288
  }>;
255263
255289
  }
package/dist/index.js CHANGED
@@ -9263,7 +9263,7 @@ var DTOFeatureArtifact = _zod2.default.object({
9263
9263
  /**
9264
9264
  * Id of the project file that holds content of this artifact
9265
9265
  */
9266
- fileId: _zod2.default.string(),
9266
+ fileId: _zod2.default.string().optional(),
9267
9267
  /**
9268
9268
  * Id of the Iteration that this artifact belongs to
9269
9269
  */
@@ -9272,6 +9272,10 @@ var DTOFeatureArtifact = _zod2.default.object({
9272
9272
  * URL of the feature artifact's contents
9273
9273
  */
9274
9274
  url: _zod2.default.string(),
9275
+ /**
9276
+ * Relative file path of the artifact (without domain/base URL)
9277
+ */
9278
+ filePath: _zod2.default.string().optional(),
9275
9279
  createdAt: _zod2.default.string(),
9276
9280
  updatedAt: _zod2.default.string()
9277
9281
  });
@@ -9332,7 +9336,8 @@ var DTOFeatureSandbox = _zod2.default.object({
9332
9336
  url: _zod2.default.string(),
9333
9337
  staticPreviewUrl: _zod2.default.string().optional(),
9334
9338
  parentMessageId: Id.optional(),
9335
- currentIterationId: Id
9339
+ currentIterationId: Id,
9340
+ expiresAt: _zod2.default.string().optional()
9336
9341
  });
9337
9342
  var DTOFeatureMessageCreateInput = DTOFeatureMessage.pick({
9338
9343
  id: true,