@supernova-studio/client 1.69.4 → 1.69.5

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
@@ -54258,7 +54258,7 @@ declare const DTOForgeProjectFeatureSandboxUpdated: z$1.ZodObject<{
54258
54258
  url: z$1.ZodString;
54259
54259
  parentMessageId: z$1.ZodOptional<z$1.ZodString>;
54260
54260
  currentIterationId: z$1.ZodString;
54261
- featureId: z$1.ZodString;
54261
+ featureId: z$1.ZodOptional<z$1.ZodString>;
54262
54262
  expiresAt: z$1.ZodOptional<z$1.ZodString>;
54263
54263
  error: z$1.ZodOptional<z$1.ZodObject<{
54264
54264
  stage: z$1.ZodEnum<["PackageInstall", "HealthCheck", "Build", "Unknown"]>;
@@ -54273,7 +54273,6 @@ declare const DTOForgeProjectFeatureSandboxUpdated: z$1.ZodObject<{
54273
54273
  }, "strip", z$1.ZodTypeAny, {
54274
54274
  id: string;
54275
54275
  url: string;
54276
- featureId: string;
54277
54276
  currentIterationId: string;
54278
54277
  expiresAt?: string | undefined;
54279
54278
  error?: {
@@ -54281,10 +54280,10 @@ declare const DTOForgeProjectFeatureSandboxUpdated: z$1.ZodObject<{
54281
54280
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54282
54281
  } | undefined;
54283
54282
  parentMessageId?: string | undefined;
54283
+ featureId?: string | undefined;
54284
54284
  }, {
54285
54285
  id: string;
54286
54286
  url: string;
54287
- featureId: string;
54288
54287
  currentIterationId: string;
54289
54288
  expiresAt?: string | undefined;
54290
54289
  error?: {
@@ -54292,13 +54291,13 @@ declare const DTOForgeProjectFeatureSandboxUpdated: z$1.ZodObject<{
54292
54291
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54293
54292
  } | undefined;
54294
54293
  parentMessageId?: string | undefined;
54294
+ featureId?: string | undefined;
54295
54295
  }>;
54296
54296
  }, "strip", z$1.ZodTypeAny, {
54297
54297
  type: "ProjectFeatureSandboxUpdated";
54298
54298
  data: {
54299
54299
  id: string;
54300
54300
  url: string;
54301
- featureId: string;
54302
54301
  currentIterationId: string;
54303
54302
  expiresAt?: string | undefined;
54304
54303
  error?: {
@@ -54306,13 +54305,13 @@ declare const DTOForgeProjectFeatureSandboxUpdated: z$1.ZodObject<{
54306
54305
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54307
54306
  } | undefined;
54308
54307
  parentMessageId?: string | undefined;
54308
+ featureId?: string | undefined;
54309
54309
  };
54310
54310
  }, {
54311
54311
  type: "ProjectFeatureSandboxUpdated";
54312
54312
  data: {
54313
54313
  id: string;
54314
54314
  url: string;
54315
- featureId: string;
54316
54315
  currentIterationId: string;
54317
54316
  expiresAt?: string | undefined;
54318
54317
  error?: {
@@ -54320,6 +54319,7 @@ declare const DTOForgeProjectFeatureSandboxUpdated: z$1.ZodObject<{
54320
54319
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54321
54320
  } | undefined;
54322
54321
  parentMessageId?: string | undefined;
54322
+ featureId?: string | undefined;
54323
54323
  };
54324
54324
  }>;
54325
54325
  type DTOForgeProjectFeatureSandboxUpdated = z$1.infer<typeof DTOForgeProjectFeatureSandboxUpdated>;
@@ -54414,11 +54414,14 @@ declare const DTOForgeProjectIterationUpdated: z$1.ZodObject<{
54414
54414
  updated?: string[] | undefined;
54415
54415
  deleted?: string[] | undefined;
54416
54416
  }>>>;
54417
+ } & {
54418
+ featureId: z$1.ZodString;
54417
54419
  }, "strip", z$1.ZodTypeAny, {
54418
54420
  id: string;
54419
54421
  createdAt: string;
54420
54422
  name: string;
54421
54423
  startedFromMessageId: string;
54424
+ featureId: string;
54422
54425
  updatedAt?: string | undefined;
54423
54426
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
54424
54427
  error?: {
@@ -54454,6 +54457,7 @@ declare const DTOForgeProjectIterationUpdated: z$1.ZodObject<{
54454
54457
  createdAt: string;
54455
54458
  name: string;
54456
54459
  startedFromMessageId: string;
54460
+ featureId: string;
54457
54461
  updatedAt?: string | undefined;
54458
54462
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
54459
54463
  error?: {
@@ -54492,6 +54496,7 @@ declare const DTOForgeProjectIterationUpdated: z$1.ZodObject<{
54492
54496
  createdAt: string;
54493
54497
  name: string;
54494
54498
  startedFromMessageId: string;
54499
+ featureId: string;
54495
54500
  updatedAt?: string | undefined;
54496
54501
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
54497
54502
  error?: {
@@ -54530,6 +54535,7 @@ declare const DTOForgeProjectIterationUpdated: z$1.ZodObject<{
54530
54535
  createdAt: string;
54531
54536
  name: string;
54532
54537
  startedFromMessageId: string;
54538
+ featureId: string;
54533
54539
  updatedAt?: string | undefined;
54534
54540
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
54535
54541
  error?: {
@@ -54901,7 +54907,7 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
54901
54907
  url: z$1.ZodString;
54902
54908
  parentMessageId: z$1.ZodOptional<z$1.ZodString>;
54903
54909
  currentIterationId: z$1.ZodString;
54904
- featureId: z$1.ZodString;
54910
+ featureId: z$1.ZodOptional<z$1.ZodString>;
54905
54911
  expiresAt: z$1.ZodOptional<z$1.ZodString>;
54906
54912
  error: z$1.ZodOptional<z$1.ZodObject<{
54907
54913
  stage: z$1.ZodEnum<["PackageInstall", "HealthCheck", "Build", "Unknown"]>;
@@ -54916,7 +54922,6 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
54916
54922
  }, "strip", z$1.ZodTypeAny, {
54917
54923
  id: string;
54918
54924
  url: string;
54919
- featureId: string;
54920
54925
  currentIterationId: string;
54921
54926
  expiresAt?: string | undefined;
54922
54927
  error?: {
@@ -54924,10 +54929,10 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
54924
54929
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54925
54930
  } | undefined;
54926
54931
  parentMessageId?: string | undefined;
54932
+ featureId?: string | undefined;
54927
54933
  }, {
54928
54934
  id: string;
54929
54935
  url: string;
54930
- featureId: string;
54931
54936
  currentIterationId: string;
54932
54937
  expiresAt?: string | undefined;
54933
54938
  error?: {
@@ -54935,13 +54940,13 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
54935
54940
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54936
54941
  } | undefined;
54937
54942
  parentMessageId?: string | undefined;
54943
+ featureId?: string | undefined;
54938
54944
  }>;
54939
54945
  }, "strip", z$1.ZodTypeAny, {
54940
54946
  type: "ProjectFeatureSandboxUpdated";
54941
54947
  data: {
54942
54948
  id: string;
54943
54949
  url: string;
54944
- featureId: string;
54945
54950
  currentIterationId: string;
54946
54951
  expiresAt?: string | undefined;
54947
54952
  error?: {
@@ -54949,13 +54954,13 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
54949
54954
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54950
54955
  } | undefined;
54951
54956
  parentMessageId?: string | undefined;
54957
+ featureId?: string | undefined;
54952
54958
  };
54953
54959
  }, {
54954
54960
  type: "ProjectFeatureSandboxUpdated";
54955
54961
  data: {
54956
54962
  id: string;
54957
54963
  url: string;
54958
- featureId: string;
54959
54964
  currentIterationId: string;
54960
54965
  expiresAt?: string | undefined;
54961
54966
  error?: {
@@ -54963,6 +54968,7 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
54963
54968
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54964
54969
  } | undefined;
54965
54970
  parentMessageId?: string | undefined;
54971
+ featureId?: string | undefined;
54966
54972
  };
54967
54973
  }>, z$1.ZodObject<{
54968
54974
  type: z$1.ZodLiteral<"ProjectIterationUpdated">;
@@ -55055,11 +55061,14 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
55055
55061
  updated?: string[] | undefined;
55056
55062
  deleted?: string[] | undefined;
55057
55063
  }>>>;
55064
+ } & {
55065
+ featureId: z$1.ZodString;
55058
55066
  }, "strip", z$1.ZodTypeAny, {
55059
55067
  id: string;
55060
55068
  createdAt: string;
55061
55069
  name: string;
55062
55070
  startedFromMessageId: string;
55071
+ featureId: string;
55063
55072
  updatedAt?: string | undefined;
55064
55073
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
55065
55074
  error?: {
@@ -55095,6 +55104,7 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
55095
55104
  createdAt: string;
55096
55105
  name: string;
55097
55106
  startedFromMessageId: string;
55107
+ featureId: string;
55098
55108
  updatedAt?: string | undefined;
55099
55109
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
55100
55110
  error?: {
@@ -55133,6 +55143,7 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
55133
55143
  createdAt: string;
55134
55144
  name: string;
55135
55145
  startedFromMessageId: string;
55146
+ featureId: string;
55136
55147
  updatedAt?: string | undefined;
55137
55148
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
55138
55149
  error?: {
@@ -55171,6 +55182,7 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
55171
55182
  createdAt: string;
55172
55183
  name: string;
55173
55184
  startedFromMessageId: string;
55185
+ featureId: string;
55174
55186
  updatedAt?: string | undefined;
55175
55187
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
55176
55188
  error?: {
@@ -128726,7 +128738,7 @@ declare const DTOFeatureSandbox: z$1.ZodObject<{
128726
128738
  url: z$1.ZodString;
128727
128739
  parentMessageId: z$1.ZodOptional<z$1.ZodString>;
128728
128740
  currentIterationId: z$1.ZodString;
128729
- featureId: z$1.ZodString;
128741
+ featureId: z$1.ZodOptional<z$1.ZodString>;
128730
128742
  expiresAt: z$1.ZodOptional<z$1.ZodString>;
128731
128743
  error: z$1.ZodOptional<z$1.ZodObject<{
128732
128744
  /** At what stage the error has occured */
@@ -128743,7 +128755,6 @@ declare const DTOFeatureSandbox: z$1.ZodObject<{
128743
128755
  }, "strip", z$1.ZodTypeAny, {
128744
128756
  id: string;
128745
128757
  url: string;
128746
- featureId: string;
128747
128758
  currentIterationId: string;
128748
128759
  expiresAt?: string | undefined;
128749
128760
  error?: {
@@ -128751,10 +128762,10 @@ declare const DTOFeatureSandbox: z$1.ZodObject<{
128751
128762
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
128752
128763
  } | undefined;
128753
128764
  parentMessageId?: string | undefined;
128765
+ featureId?: string | undefined;
128754
128766
  }, {
128755
128767
  id: string;
128756
128768
  url: string;
128757
- featureId: string;
128758
128769
  currentIterationId: string;
128759
128770
  expiresAt?: string | undefined;
128760
128771
  error?: {
@@ -128762,6 +128773,7 @@ declare const DTOFeatureSandbox: z$1.ZodObject<{
128762
128773
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
128763
128774
  } | undefined;
128764
128775
  parentMessageId?: string | undefined;
128776
+ featureId?: string | undefined;
128765
128777
  }>;
128766
128778
  type DTOFeatureSandbox = z$1.infer<typeof DTOFeatureSandbox>;
128767
128779
  declare const DTOCreateFeatureSandbox: z$1.ZodObject<{
@@ -128769,7 +128781,6 @@ declare const DTOCreateFeatureSandbox: z$1.ZodObject<{
128769
128781
  url: z$1.ZodString;
128770
128782
  parentMessageId: z$1.ZodOptional<z$1.ZodString>;
128771
128783
  currentIterationId: z$1.ZodString;
128772
- featureId: z$1.ZodString;
128773
128784
  expiresAt: z$1.ZodOptional<z$1.ZodString>;
128774
128785
  error: z$1.ZodOptional<z$1.ZodObject<{
128775
128786
  /** At what stage the error has occured */
@@ -128783,6 +128794,8 @@ declare const DTOCreateFeatureSandbox: z$1.ZodObject<{
128783
128794
  errorDescription: string;
128784
128795
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
128785
128796
  }>>;
128797
+ } & {
128798
+ featureId: z$1.ZodString;
128786
128799
  }, "strip", z$1.ZodTypeAny, {
128787
128800
  id: string;
128788
128801
  url: string;
@@ -128857,7 +128870,7 @@ declare const DTOFeatureSandboxListResponse: z$1.ZodObject<{
128857
128870
  url: z$1.ZodString;
128858
128871
  parentMessageId: z$1.ZodOptional<z$1.ZodString>;
128859
128872
  currentIterationId: z$1.ZodString;
128860
- featureId: z$1.ZodString;
128873
+ featureId: z$1.ZodOptional<z$1.ZodString>;
128861
128874
  expiresAt: z$1.ZodOptional<z$1.ZodString>;
128862
128875
  error: z$1.ZodOptional<z$1.ZodObject<{
128863
128876
  /** At what stage the error has occured */
@@ -128874,7 +128887,6 @@ declare const DTOFeatureSandboxListResponse: z$1.ZodObject<{
128874
128887
  }, "strip", z$1.ZodTypeAny, {
128875
128888
  id: string;
128876
128889
  url: string;
128877
- featureId: string;
128878
128890
  currentIterationId: string;
128879
128891
  expiresAt?: string | undefined;
128880
128892
  error?: {
@@ -128882,10 +128894,10 @@ declare const DTOFeatureSandboxListResponse: z$1.ZodObject<{
128882
128894
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
128883
128895
  } | undefined;
128884
128896
  parentMessageId?: string | undefined;
128897
+ featureId?: string | undefined;
128885
128898
  }, {
128886
128899
  id: string;
128887
128900
  url: string;
128888
- featureId: string;
128889
128901
  currentIterationId: string;
128890
128902
  expiresAt?: string | undefined;
128891
128903
  error?: {
@@ -128893,12 +128905,12 @@ declare const DTOFeatureSandboxListResponse: z$1.ZodObject<{
128893
128905
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
128894
128906
  } | undefined;
128895
128907
  parentMessageId?: string | undefined;
128908
+ featureId?: string | undefined;
128896
128909
  }>, "many">;
128897
128910
  }, "strip", z$1.ZodTypeAny, {
128898
128911
  sandboxes: {
128899
128912
  id: string;
128900
128913
  url: string;
128901
- featureId: string;
128902
128914
  currentIterationId: string;
128903
128915
  expiresAt?: string | undefined;
128904
128916
  error?: {
@@ -128906,12 +128918,12 @@ declare const DTOFeatureSandboxListResponse: z$1.ZodObject<{
128906
128918
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
128907
128919
  } | undefined;
128908
128920
  parentMessageId?: string | undefined;
128921
+ featureId?: string | undefined;
128909
128922
  }[];
128910
128923
  }, {
128911
128924
  sandboxes: {
128912
128925
  id: string;
128913
128926
  url: string;
128914
- featureId: string;
128915
128927
  currentIterationId: string;
128916
128928
  expiresAt?: string | undefined;
128917
128929
  error?: {
@@ -128919,6 +128931,7 @@ declare const DTOFeatureSandboxListResponse: z$1.ZodObject<{
128919
128931
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
128920
128932
  } | undefined;
128921
128933
  parentMessageId?: string | undefined;
128934
+ featureId?: string | undefined;
128922
128935
  }[];
128923
128936
  }>;
128924
128937
  type DTOFeatureSandboxListResponse = z$1.infer<typeof DTOFeatureSandboxListResponse>;
package/dist/index.d.ts CHANGED
@@ -54258,7 +54258,7 @@ declare const DTOForgeProjectFeatureSandboxUpdated: z$1.ZodObject<{
54258
54258
  url: z$1.ZodString;
54259
54259
  parentMessageId: z$1.ZodOptional<z$1.ZodString>;
54260
54260
  currentIterationId: z$1.ZodString;
54261
- featureId: z$1.ZodString;
54261
+ featureId: z$1.ZodOptional<z$1.ZodString>;
54262
54262
  expiresAt: z$1.ZodOptional<z$1.ZodString>;
54263
54263
  error: z$1.ZodOptional<z$1.ZodObject<{
54264
54264
  stage: z$1.ZodEnum<["PackageInstall", "HealthCheck", "Build", "Unknown"]>;
@@ -54273,7 +54273,6 @@ declare const DTOForgeProjectFeatureSandboxUpdated: z$1.ZodObject<{
54273
54273
  }, "strip", z$1.ZodTypeAny, {
54274
54274
  id: string;
54275
54275
  url: string;
54276
- featureId: string;
54277
54276
  currentIterationId: string;
54278
54277
  expiresAt?: string | undefined;
54279
54278
  error?: {
@@ -54281,10 +54280,10 @@ declare const DTOForgeProjectFeatureSandboxUpdated: z$1.ZodObject<{
54281
54280
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54282
54281
  } | undefined;
54283
54282
  parentMessageId?: string | undefined;
54283
+ featureId?: string | undefined;
54284
54284
  }, {
54285
54285
  id: string;
54286
54286
  url: string;
54287
- featureId: string;
54288
54287
  currentIterationId: string;
54289
54288
  expiresAt?: string | undefined;
54290
54289
  error?: {
@@ -54292,13 +54291,13 @@ declare const DTOForgeProjectFeatureSandboxUpdated: z$1.ZodObject<{
54292
54291
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54293
54292
  } | undefined;
54294
54293
  parentMessageId?: string | undefined;
54294
+ featureId?: string | undefined;
54295
54295
  }>;
54296
54296
  }, "strip", z$1.ZodTypeAny, {
54297
54297
  type: "ProjectFeatureSandboxUpdated";
54298
54298
  data: {
54299
54299
  id: string;
54300
54300
  url: string;
54301
- featureId: string;
54302
54301
  currentIterationId: string;
54303
54302
  expiresAt?: string | undefined;
54304
54303
  error?: {
@@ -54306,13 +54305,13 @@ declare const DTOForgeProjectFeatureSandboxUpdated: z$1.ZodObject<{
54306
54305
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54307
54306
  } | undefined;
54308
54307
  parentMessageId?: string | undefined;
54308
+ featureId?: string | undefined;
54309
54309
  };
54310
54310
  }, {
54311
54311
  type: "ProjectFeatureSandboxUpdated";
54312
54312
  data: {
54313
54313
  id: string;
54314
54314
  url: string;
54315
- featureId: string;
54316
54315
  currentIterationId: string;
54317
54316
  expiresAt?: string | undefined;
54318
54317
  error?: {
@@ -54320,6 +54319,7 @@ declare const DTOForgeProjectFeatureSandboxUpdated: z$1.ZodObject<{
54320
54319
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54321
54320
  } | undefined;
54322
54321
  parentMessageId?: string | undefined;
54322
+ featureId?: string | undefined;
54323
54323
  };
54324
54324
  }>;
54325
54325
  type DTOForgeProjectFeatureSandboxUpdated = z$1.infer<typeof DTOForgeProjectFeatureSandboxUpdated>;
@@ -54414,11 +54414,14 @@ declare const DTOForgeProjectIterationUpdated: z$1.ZodObject<{
54414
54414
  updated?: string[] | undefined;
54415
54415
  deleted?: string[] | undefined;
54416
54416
  }>>>;
54417
+ } & {
54418
+ featureId: z$1.ZodString;
54417
54419
  }, "strip", z$1.ZodTypeAny, {
54418
54420
  id: string;
54419
54421
  createdAt: string;
54420
54422
  name: string;
54421
54423
  startedFromMessageId: string;
54424
+ featureId: string;
54422
54425
  updatedAt?: string | undefined;
54423
54426
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
54424
54427
  error?: {
@@ -54454,6 +54457,7 @@ declare const DTOForgeProjectIterationUpdated: z$1.ZodObject<{
54454
54457
  createdAt: string;
54455
54458
  name: string;
54456
54459
  startedFromMessageId: string;
54460
+ featureId: string;
54457
54461
  updatedAt?: string | undefined;
54458
54462
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
54459
54463
  error?: {
@@ -54492,6 +54496,7 @@ declare const DTOForgeProjectIterationUpdated: z$1.ZodObject<{
54492
54496
  createdAt: string;
54493
54497
  name: string;
54494
54498
  startedFromMessageId: string;
54499
+ featureId: string;
54495
54500
  updatedAt?: string | undefined;
54496
54501
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
54497
54502
  error?: {
@@ -54530,6 +54535,7 @@ declare const DTOForgeProjectIterationUpdated: z$1.ZodObject<{
54530
54535
  createdAt: string;
54531
54536
  name: string;
54532
54537
  startedFromMessageId: string;
54538
+ featureId: string;
54533
54539
  updatedAt?: string | undefined;
54534
54540
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
54535
54541
  error?: {
@@ -54901,7 +54907,7 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
54901
54907
  url: z$1.ZodString;
54902
54908
  parentMessageId: z$1.ZodOptional<z$1.ZodString>;
54903
54909
  currentIterationId: z$1.ZodString;
54904
- featureId: z$1.ZodString;
54910
+ featureId: z$1.ZodOptional<z$1.ZodString>;
54905
54911
  expiresAt: z$1.ZodOptional<z$1.ZodString>;
54906
54912
  error: z$1.ZodOptional<z$1.ZodObject<{
54907
54913
  stage: z$1.ZodEnum<["PackageInstall", "HealthCheck", "Build", "Unknown"]>;
@@ -54916,7 +54922,6 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
54916
54922
  }, "strip", z$1.ZodTypeAny, {
54917
54923
  id: string;
54918
54924
  url: string;
54919
- featureId: string;
54920
54925
  currentIterationId: string;
54921
54926
  expiresAt?: string | undefined;
54922
54927
  error?: {
@@ -54924,10 +54929,10 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
54924
54929
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54925
54930
  } | undefined;
54926
54931
  parentMessageId?: string | undefined;
54932
+ featureId?: string | undefined;
54927
54933
  }, {
54928
54934
  id: string;
54929
54935
  url: string;
54930
- featureId: string;
54931
54936
  currentIterationId: string;
54932
54937
  expiresAt?: string | undefined;
54933
54938
  error?: {
@@ -54935,13 +54940,13 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
54935
54940
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54936
54941
  } | undefined;
54937
54942
  parentMessageId?: string | undefined;
54943
+ featureId?: string | undefined;
54938
54944
  }>;
54939
54945
  }, "strip", z$1.ZodTypeAny, {
54940
54946
  type: "ProjectFeatureSandboxUpdated";
54941
54947
  data: {
54942
54948
  id: string;
54943
54949
  url: string;
54944
- featureId: string;
54945
54950
  currentIterationId: string;
54946
54951
  expiresAt?: string | undefined;
54947
54952
  error?: {
@@ -54949,13 +54954,13 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
54949
54954
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54950
54955
  } | undefined;
54951
54956
  parentMessageId?: string | undefined;
54957
+ featureId?: string | undefined;
54952
54958
  };
54953
54959
  }, {
54954
54960
  type: "ProjectFeatureSandboxUpdated";
54955
54961
  data: {
54956
54962
  id: string;
54957
54963
  url: string;
54958
- featureId: string;
54959
54964
  currentIterationId: string;
54960
54965
  expiresAt?: string | undefined;
54961
54966
  error?: {
@@ -54963,6 +54968,7 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
54963
54968
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
54964
54969
  } | undefined;
54965
54970
  parentMessageId?: string | undefined;
54971
+ featureId?: string | undefined;
54966
54972
  };
54967
54973
  }>, z$1.ZodObject<{
54968
54974
  type: z$1.ZodLiteral<"ProjectIterationUpdated">;
@@ -55055,11 +55061,14 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
55055
55061
  updated?: string[] | undefined;
55056
55062
  deleted?: string[] | undefined;
55057
55063
  }>>>;
55064
+ } & {
55065
+ featureId: z$1.ZodString;
55058
55066
  }, "strip", z$1.ZodTypeAny, {
55059
55067
  id: string;
55060
55068
  createdAt: string;
55061
55069
  name: string;
55062
55070
  startedFromMessageId: string;
55071
+ featureId: string;
55063
55072
  updatedAt?: string | undefined;
55064
55073
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
55065
55074
  error?: {
@@ -55095,6 +55104,7 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
55095
55104
  createdAt: string;
55096
55105
  name: string;
55097
55106
  startedFromMessageId: string;
55107
+ featureId: string;
55098
55108
  updatedAt?: string | undefined;
55099
55109
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
55100
55110
  error?: {
@@ -55133,6 +55143,7 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
55133
55143
  createdAt: string;
55134
55144
  name: string;
55135
55145
  startedFromMessageId: string;
55146
+ featureId: string;
55136
55147
  updatedAt?: string | undefined;
55137
55148
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
55138
55149
  error?: {
@@ -55171,6 +55182,7 @@ declare const DTOForgeProjectRoomEvent: z$1.ZodDiscriminatedUnion<"type", [z$1.Z
55171
55182
  createdAt: string;
55172
55183
  name: string;
55173
55184
  startedFromMessageId: string;
55185
+ featureId: string;
55174
55186
  updatedAt?: string | undefined;
55175
55187
  state?: "InProgress" | "Success" | "Error" | "Timeout" | undefined;
55176
55188
  error?: {
@@ -128726,7 +128738,7 @@ declare const DTOFeatureSandbox: z$1.ZodObject<{
128726
128738
  url: z$1.ZodString;
128727
128739
  parentMessageId: z$1.ZodOptional<z$1.ZodString>;
128728
128740
  currentIterationId: z$1.ZodString;
128729
- featureId: z$1.ZodString;
128741
+ featureId: z$1.ZodOptional<z$1.ZodString>;
128730
128742
  expiresAt: z$1.ZodOptional<z$1.ZodString>;
128731
128743
  error: z$1.ZodOptional<z$1.ZodObject<{
128732
128744
  /** At what stage the error has occured */
@@ -128743,7 +128755,6 @@ declare const DTOFeatureSandbox: z$1.ZodObject<{
128743
128755
  }, "strip", z$1.ZodTypeAny, {
128744
128756
  id: string;
128745
128757
  url: string;
128746
- featureId: string;
128747
128758
  currentIterationId: string;
128748
128759
  expiresAt?: string | undefined;
128749
128760
  error?: {
@@ -128751,10 +128762,10 @@ declare const DTOFeatureSandbox: z$1.ZodObject<{
128751
128762
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
128752
128763
  } | undefined;
128753
128764
  parentMessageId?: string | undefined;
128765
+ featureId?: string | undefined;
128754
128766
  }, {
128755
128767
  id: string;
128756
128768
  url: string;
128757
- featureId: string;
128758
128769
  currentIterationId: string;
128759
128770
  expiresAt?: string | undefined;
128760
128771
  error?: {
@@ -128762,6 +128773,7 @@ declare const DTOFeatureSandbox: z$1.ZodObject<{
128762
128773
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
128763
128774
  } | undefined;
128764
128775
  parentMessageId?: string | undefined;
128776
+ featureId?: string | undefined;
128765
128777
  }>;
128766
128778
  type DTOFeatureSandbox = z$1.infer<typeof DTOFeatureSandbox>;
128767
128779
  declare const DTOCreateFeatureSandbox: z$1.ZodObject<{
@@ -128769,7 +128781,6 @@ declare const DTOCreateFeatureSandbox: z$1.ZodObject<{
128769
128781
  url: z$1.ZodString;
128770
128782
  parentMessageId: z$1.ZodOptional<z$1.ZodString>;
128771
128783
  currentIterationId: z$1.ZodString;
128772
- featureId: z$1.ZodString;
128773
128784
  expiresAt: z$1.ZodOptional<z$1.ZodString>;
128774
128785
  error: z$1.ZodOptional<z$1.ZodObject<{
128775
128786
  /** At what stage the error has occured */
@@ -128783,6 +128794,8 @@ declare const DTOCreateFeatureSandbox: z$1.ZodObject<{
128783
128794
  errorDescription: string;
128784
128795
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
128785
128796
  }>>;
128797
+ } & {
128798
+ featureId: z$1.ZodString;
128786
128799
  }, "strip", z$1.ZodTypeAny, {
128787
128800
  id: string;
128788
128801
  url: string;
@@ -128857,7 +128870,7 @@ declare const DTOFeatureSandboxListResponse: z$1.ZodObject<{
128857
128870
  url: z$1.ZodString;
128858
128871
  parentMessageId: z$1.ZodOptional<z$1.ZodString>;
128859
128872
  currentIterationId: z$1.ZodString;
128860
- featureId: z$1.ZodString;
128873
+ featureId: z$1.ZodOptional<z$1.ZodString>;
128861
128874
  expiresAt: z$1.ZodOptional<z$1.ZodString>;
128862
128875
  error: z$1.ZodOptional<z$1.ZodObject<{
128863
128876
  /** At what stage the error has occured */
@@ -128874,7 +128887,6 @@ declare const DTOFeatureSandboxListResponse: z$1.ZodObject<{
128874
128887
  }, "strip", z$1.ZodTypeAny, {
128875
128888
  id: string;
128876
128889
  url: string;
128877
- featureId: string;
128878
128890
  currentIterationId: string;
128879
128891
  expiresAt?: string | undefined;
128880
128892
  error?: {
@@ -128882,10 +128894,10 @@ declare const DTOFeatureSandboxListResponse: z$1.ZodObject<{
128882
128894
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
128883
128895
  } | undefined;
128884
128896
  parentMessageId?: string | undefined;
128897
+ featureId?: string | undefined;
128885
128898
  }, {
128886
128899
  id: string;
128887
128900
  url: string;
128888
- featureId: string;
128889
128901
  currentIterationId: string;
128890
128902
  expiresAt?: string | undefined;
128891
128903
  error?: {
@@ -128893,12 +128905,12 @@ declare const DTOFeatureSandboxListResponse: z$1.ZodObject<{
128893
128905
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
128894
128906
  } | undefined;
128895
128907
  parentMessageId?: string | undefined;
128908
+ featureId?: string | undefined;
128896
128909
  }>, "many">;
128897
128910
  }, "strip", z$1.ZodTypeAny, {
128898
128911
  sandboxes: {
128899
128912
  id: string;
128900
128913
  url: string;
128901
- featureId: string;
128902
128914
  currentIterationId: string;
128903
128915
  expiresAt?: string | undefined;
128904
128916
  error?: {
@@ -128906,12 +128918,12 @@ declare const DTOFeatureSandboxListResponse: z$1.ZodObject<{
128906
128918
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
128907
128919
  } | undefined;
128908
128920
  parentMessageId?: string | undefined;
128921
+ featureId?: string | undefined;
128909
128922
  }[];
128910
128923
  }, {
128911
128924
  sandboxes: {
128912
128925
  id: string;
128913
128926
  url: string;
128914
- featureId: string;
128915
128927
  currentIterationId: string;
128916
128928
  expiresAt?: string | undefined;
128917
128929
  error?: {
@@ -128919,6 +128931,7 @@ declare const DTOFeatureSandboxListResponse: z$1.ZodObject<{
128919
128931
  stage: "Unknown" | "Build" | "PackageInstall" | "HealthCheck";
128920
128932
  } | undefined;
128921
128933
  parentMessageId?: string | undefined;
128934
+ featureId?: string | undefined;
128922
128935
  }[];
128923
128936
  }>;
128924
128937
  type DTOFeatureSandboxListResponse = z$1.infer<typeof DTOFeatureSandboxListResponse>;
package/dist/index.js CHANGED
@@ -9707,11 +9707,12 @@ var DTOFeatureSandbox = _zod2.default.object({
9707
9707
  url: _zod2.default.string(),
9708
9708
  parentMessageId: Id.optional(),
9709
9709
  currentIterationId: Id,
9710
- featureId: Id,
9710
+ // TODO (jovanblazek): Remove optional once we remove sandboxes from feature room ydoc
9711
+ featureId: Id.optional(),
9711
9712
  expiresAt: _zod2.default.string().optional(),
9712
9713
  error: DTOSandboxError.optional()
9713
9714
  });
9714
- var DTOCreateFeatureSandbox = DTOFeatureSandbox;
9715
+ var DTOCreateFeatureSandbox = DTOFeatureSandbox.extend({ featureId: Id });
9715
9716
  var DTOUpdateFeatureSandbox = DTOCreateFeatureSandbox.partial().extend({
9716
9717
  id: _zod2.default.string(),
9717
9718
  parentMessageId: Id.nullish(),
@@ -11107,7 +11108,7 @@ var DTOForgeProjectFeatureSandboxUpdated = _zod2.default.object({
11107
11108
  });
11108
11109
  var DTOForgeProjectIterationUpdated = _zod2.default.object({
11109
11110
  type: _zod2.default.literal("ProjectIterationUpdated"),
11110
- data: DTOFeatureIteration
11111
+ data: DTOFeatureIteration.extend({ featureId: Id })
11111
11112
  });
11112
11113
  var DTOForgeProjectRoomEvent = _zod2.default.discriminatedUnion("type", [
11113
11114
  DTOForgeProjectMembersCreated,