@supernova-studio/client 1.40.9 → 1.40.11

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<{
@@ -68854,7 +68860,6 @@ type DTOFeatureIterationTag = z__default.infer<typeof DTOFeatureIterationTag>;
68854
68860
  declare const DTOFeatureSandbox: z__default.ZodObject<{
68855
68861
  id: z__default.ZodString;
68856
68862
  url: z__default.ZodString;
68857
- staticPreviewUrl: z__default.ZodOptional<z__default.ZodString>;
68858
68863
  parentMessageId: z__default.ZodOptional<z__default.ZodString>;
68859
68864
  currentIterationId: z__default.ZodString;
68860
68865
  expiresAt: z__default.ZodOptional<z__default.ZodString>;
@@ -68864,14 +68869,12 @@ declare const DTOFeatureSandbox: z__default.ZodObject<{
68864
68869
  currentIterationId: string;
68865
68870
  expiresAt?: string | undefined;
68866
68871
  parentMessageId?: string | undefined;
68867
- staticPreviewUrl?: string | undefined;
68868
68872
  }, {
68869
68873
  id: string;
68870
68874
  url: string;
68871
68875
  currentIterationId: string;
68872
68876
  expiresAt?: string | undefined;
68873
68877
  parentMessageId?: string | undefined;
68874
- staticPreviewUrl?: string | undefined;
68875
68878
  }>;
68876
68879
  type DTOFeatureSandbox = z__default.infer<typeof DTOFeatureSandbox>;
68877
68880
  declare const DTOFeatureMessageAttachments: z__default.ZodObject<{
@@ -69658,7 +69661,7 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69658
69661
  /**
69659
69662
  * Id of the project file that holds content of this artifact
69660
69663
  */
69661
- fileId: z__default.ZodString;
69664
+ fileId: z__default.ZodOptional<z__default.ZodString>;
69662
69665
  /**
69663
69666
  * Id of the Iteration that this artifact belongs to
69664
69667
  */
@@ -69667,6 +69670,10 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69667
69670
  * URL of the feature artifact's contents
69668
69671
  */
69669
69672
  url: z__default.ZodString;
69673
+ /**
69674
+ * Relative file path of the artifact (without domain/base URL)
69675
+ */
69676
+ filePath: z__default.ZodOptional<z__default.ZodString>;
69670
69677
  createdAt: z__default.ZodString;
69671
69678
  updatedAt: z__default.ZodString;
69672
69679
  }, "strip", z__default.ZodTypeAny, {
@@ -69674,17 +69681,19 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69674
69681
  createdAt: string;
69675
69682
  url: string;
69676
69683
  updatedAt: string;
69677
- fileId: string;
69678
69684
  key: string;
69685
+ fileId?: string | undefined;
69679
69686
  iterationId?: string | undefined;
69687
+ filePath?: string | undefined;
69680
69688
  }, {
69681
69689
  id: string;
69682
69690
  createdAt: string;
69683
69691
  url: string;
69684
69692
  updatedAt: string;
69685
- fileId: string;
69686
69693
  key: string;
69694
+ fileId?: string | undefined;
69687
69695
  iterationId?: string | undefined;
69696
+ filePath?: string | undefined;
69688
69697
  }>;
69689
69698
  }, "strip", z__default.ZodTypeAny, {
69690
69699
  artifact: {
@@ -69692,9 +69701,10 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69692
69701
  createdAt: string;
69693
69702
  url: string;
69694
69703
  updatedAt: string;
69695
- fileId: string;
69696
69704
  key: string;
69705
+ fileId?: string | undefined;
69697
69706
  iterationId?: string | undefined;
69707
+ filePath?: string | undefined;
69698
69708
  };
69699
69709
  }, {
69700
69710
  artifact: {
@@ -69702,9 +69712,10 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69702
69712
  createdAt: string;
69703
69713
  url: string;
69704
69714
  updatedAt: string;
69705
- fileId: string;
69706
69715
  key: string;
69716
+ fileId?: string | undefined;
69707
69717
  iterationId?: string | undefined;
69718
+ filePath?: string | undefined;
69708
69719
  };
69709
69720
  }>;
69710
69721
  type DTOFeatureArtifactResponse = z__default.infer<typeof DTOFeatureArtifactResponse>;
@@ -69718,7 +69729,7 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69718
69729
  /**
69719
69730
  * Id of the project file that holds content of this artifact
69720
69731
  */
69721
- fileId: z__default.ZodString;
69732
+ fileId: z__default.ZodOptional<z__default.ZodString>;
69722
69733
  /**
69723
69734
  * Id of the Iteration that this artifact belongs to
69724
69735
  */
@@ -69727,6 +69738,10 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69727
69738
  * URL of the feature artifact's contents
69728
69739
  */
69729
69740
  url: z__default.ZodString;
69741
+ /**
69742
+ * Relative file path of the artifact (without domain/base URL)
69743
+ */
69744
+ filePath: z__default.ZodOptional<z__default.ZodString>;
69730
69745
  createdAt: z__default.ZodString;
69731
69746
  updatedAt: z__default.ZodString;
69732
69747
  }, "strip", z__default.ZodTypeAny, {
@@ -69734,17 +69749,19 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69734
69749
  createdAt: string;
69735
69750
  url: string;
69736
69751
  updatedAt: string;
69737
- fileId: string;
69738
69752
  key: string;
69753
+ fileId?: string | undefined;
69739
69754
  iterationId?: string | undefined;
69755
+ filePath?: string | undefined;
69740
69756
  }, {
69741
69757
  id: string;
69742
69758
  createdAt: string;
69743
69759
  url: string;
69744
69760
  updatedAt: string;
69745
- fileId: string;
69746
69761
  key: string;
69762
+ fileId?: string | undefined;
69747
69763
  iterationId?: string | undefined;
69764
+ filePath?: string | undefined;
69748
69765
  }>, "many">;
69749
69766
  }, "strip", z__default.ZodTypeAny, {
69750
69767
  artifacts: {
@@ -69752,9 +69769,10 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69752
69769
  createdAt: string;
69753
69770
  url: string;
69754
69771
  updatedAt: string;
69755
- fileId: string;
69756
69772
  key: string;
69773
+ fileId?: string | undefined;
69757
69774
  iterationId?: string | undefined;
69775
+ filePath?: string | undefined;
69758
69776
  }[];
69759
69777
  }, {
69760
69778
  artifacts: {
@@ -69762,9 +69780,10 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69762
69780
  createdAt: string;
69763
69781
  url: string;
69764
69782
  updatedAt: string;
69765
- fileId: string;
69766
69783
  key: string;
69784
+ fileId?: string | undefined;
69767
69785
  iterationId?: string | undefined;
69786
+ filePath?: string | undefined;
69768
69787
  }[];
69769
69788
  }>;
69770
69789
  type DTOFeatureArtifactListResponse = z__default.infer<typeof DTOFeatureArtifactListResponse>;
@@ -255258,9 +255277,10 @@ declare class ForgeFeatureArtifactsEndpoint {
255258
255277
  createdAt: string;
255259
255278
  url: string;
255260
255279
  updatedAt: string;
255261
- fileId: string;
255262
255280
  key: string;
255281
+ fileId?: string | undefined;
255263
255282
  iterationId?: string | undefined;
255283
+ filePath?: string | undefined;
255264
255284
  }[];
255265
255285
  }>;
255266
255286
  }
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<{
@@ -68854,7 +68860,6 @@ type DTOFeatureIterationTag = z__default.infer<typeof DTOFeatureIterationTag>;
68854
68860
  declare const DTOFeatureSandbox: z__default.ZodObject<{
68855
68861
  id: z__default.ZodString;
68856
68862
  url: z__default.ZodString;
68857
- staticPreviewUrl: z__default.ZodOptional<z__default.ZodString>;
68858
68863
  parentMessageId: z__default.ZodOptional<z__default.ZodString>;
68859
68864
  currentIterationId: z__default.ZodString;
68860
68865
  expiresAt: z__default.ZodOptional<z__default.ZodString>;
@@ -68864,14 +68869,12 @@ declare const DTOFeatureSandbox: z__default.ZodObject<{
68864
68869
  currentIterationId: string;
68865
68870
  expiresAt?: string | undefined;
68866
68871
  parentMessageId?: string | undefined;
68867
- staticPreviewUrl?: string | undefined;
68868
68872
  }, {
68869
68873
  id: string;
68870
68874
  url: string;
68871
68875
  currentIterationId: string;
68872
68876
  expiresAt?: string | undefined;
68873
68877
  parentMessageId?: string | undefined;
68874
- staticPreviewUrl?: string | undefined;
68875
68878
  }>;
68876
68879
  type DTOFeatureSandbox = z__default.infer<typeof DTOFeatureSandbox>;
68877
68880
  declare const DTOFeatureMessageAttachments: z__default.ZodObject<{
@@ -69658,7 +69661,7 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69658
69661
  /**
69659
69662
  * Id of the project file that holds content of this artifact
69660
69663
  */
69661
- fileId: z__default.ZodString;
69664
+ fileId: z__default.ZodOptional<z__default.ZodString>;
69662
69665
  /**
69663
69666
  * Id of the Iteration that this artifact belongs to
69664
69667
  */
@@ -69667,6 +69670,10 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69667
69670
  * URL of the feature artifact's contents
69668
69671
  */
69669
69672
  url: z__default.ZodString;
69673
+ /**
69674
+ * Relative file path of the artifact (without domain/base URL)
69675
+ */
69676
+ filePath: z__default.ZodOptional<z__default.ZodString>;
69670
69677
  createdAt: z__default.ZodString;
69671
69678
  updatedAt: z__default.ZodString;
69672
69679
  }, "strip", z__default.ZodTypeAny, {
@@ -69674,17 +69681,19 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69674
69681
  createdAt: string;
69675
69682
  url: string;
69676
69683
  updatedAt: string;
69677
- fileId: string;
69678
69684
  key: string;
69685
+ fileId?: string | undefined;
69679
69686
  iterationId?: string | undefined;
69687
+ filePath?: string | undefined;
69680
69688
  }, {
69681
69689
  id: string;
69682
69690
  createdAt: string;
69683
69691
  url: string;
69684
69692
  updatedAt: string;
69685
- fileId: string;
69686
69693
  key: string;
69694
+ fileId?: string | undefined;
69687
69695
  iterationId?: string | undefined;
69696
+ filePath?: string | undefined;
69688
69697
  }>;
69689
69698
  }, "strip", z__default.ZodTypeAny, {
69690
69699
  artifact: {
@@ -69692,9 +69701,10 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69692
69701
  createdAt: string;
69693
69702
  url: string;
69694
69703
  updatedAt: string;
69695
- fileId: string;
69696
69704
  key: string;
69705
+ fileId?: string | undefined;
69697
69706
  iterationId?: string | undefined;
69707
+ filePath?: string | undefined;
69698
69708
  };
69699
69709
  }, {
69700
69710
  artifact: {
@@ -69702,9 +69712,10 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69702
69712
  createdAt: string;
69703
69713
  url: string;
69704
69714
  updatedAt: string;
69705
- fileId: string;
69706
69715
  key: string;
69716
+ fileId?: string | undefined;
69707
69717
  iterationId?: string | undefined;
69718
+ filePath?: string | undefined;
69708
69719
  };
69709
69720
  }>;
69710
69721
  type DTOFeatureArtifactResponse = z__default.infer<typeof DTOFeatureArtifactResponse>;
@@ -69718,7 +69729,7 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69718
69729
  /**
69719
69730
  * Id of the project file that holds content of this artifact
69720
69731
  */
69721
- fileId: z__default.ZodString;
69732
+ fileId: z__default.ZodOptional<z__default.ZodString>;
69722
69733
  /**
69723
69734
  * Id of the Iteration that this artifact belongs to
69724
69735
  */
@@ -69727,6 +69738,10 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69727
69738
  * URL of the feature artifact's contents
69728
69739
  */
69729
69740
  url: z__default.ZodString;
69741
+ /**
69742
+ * Relative file path of the artifact (without domain/base URL)
69743
+ */
69744
+ filePath: z__default.ZodOptional<z__default.ZodString>;
69730
69745
  createdAt: z__default.ZodString;
69731
69746
  updatedAt: z__default.ZodString;
69732
69747
  }, "strip", z__default.ZodTypeAny, {
@@ -69734,17 +69749,19 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69734
69749
  createdAt: string;
69735
69750
  url: string;
69736
69751
  updatedAt: string;
69737
- fileId: string;
69738
69752
  key: string;
69753
+ fileId?: string | undefined;
69739
69754
  iterationId?: string | undefined;
69755
+ filePath?: string | undefined;
69740
69756
  }, {
69741
69757
  id: string;
69742
69758
  createdAt: string;
69743
69759
  url: string;
69744
69760
  updatedAt: string;
69745
- fileId: string;
69746
69761
  key: string;
69762
+ fileId?: string | undefined;
69747
69763
  iterationId?: string | undefined;
69764
+ filePath?: string | undefined;
69748
69765
  }>, "many">;
69749
69766
  }, "strip", z__default.ZodTypeAny, {
69750
69767
  artifacts: {
@@ -69752,9 +69769,10 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69752
69769
  createdAt: string;
69753
69770
  url: string;
69754
69771
  updatedAt: string;
69755
- fileId: string;
69756
69772
  key: string;
69773
+ fileId?: string | undefined;
69757
69774
  iterationId?: string | undefined;
69775
+ filePath?: string | undefined;
69758
69776
  }[];
69759
69777
  }, {
69760
69778
  artifacts: {
@@ -69762,9 +69780,10 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69762
69780
  createdAt: string;
69763
69781
  url: string;
69764
69782
  updatedAt: string;
69765
- fileId: string;
69766
69783
  key: string;
69784
+ fileId?: string | undefined;
69767
69785
  iterationId?: string | undefined;
69786
+ filePath?: string | undefined;
69768
69787
  }[];
69769
69788
  }>;
69770
69789
  type DTOFeatureArtifactListResponse = z__default.infer<typeof DTOFeatureArtifactListResponse>;
@@ -255258,9 +255277,10 @@ declare class ForgeFeatureArtifactsEndpoint {
255258
255277
  createdAt: string;
255259
255278
  url: string;
255260
255279
  updatedAt: string;
255261
- fileId: string;
255262
255280
  key: string;
255281
+ fileId?: string | undefined;
255263
255282
  iterationId?: string | undefined;
255283
+ filePath?: string | undefined;
255264
255284
  }[];
255265
255285
  }>;
255266
255286
  }
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
  });
@@ -9330,7 +9334,6 @@ var DTOFeatureIterationTag = _zod2.default.object({
9330
9334
  var DTOFeatureSandbox = _zod2.default.object({
9331
9335
  id: _zod2.default.string(),
9332
9336
  url: _zod2.default.string(),
9333
- staticPreviewUrl: _zod2.default.string().optional(),
9334
9337
  parentMessageId: Id.optional(),
9335
9338
  currentIterationId: Id,
9336
9339
  expiresAt: _zod2.default.string().optional()