@supernova-studio/client 1.25.0 → 1.27.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
@@ -68538,13 +68538,17 @@ type DTOFeatureMessage = z__default.infer<typeof DTOFeatureMessage>;
68538
68538
  declare const DTOFeatureArtifact: z__default.ZodObject<{
68539
68539
  id: z__default.ZodString;
68540
68540
  /**
68541
- * Name of the artifact, can include path like `src/components/button.tsx`
68541
+ * Key of the artifact, can include path like `src/components/button.tsx`
68542
68542
  */
68543
- name: z__default.ZodString;
68543
+ key: z__default.ZodString;
68544
68544
  /**
68545
68545
  * Id of the project file that holds content of this artifact
68546
68546
  */
68547
68547
  fileId: z__default.ZodString;
68548
+ /**
68549
+ * Id of the Iteration that this artifact belongs to
68550
+ */
68551
+ iterationId: z__default.ZodOptional<z__default.ZodString>;
68548
68552
  /**
68549
68553
  * URL of the feature artifact's contents
68550
68554
  */
@@ -68554,17 +68558,19 @@ declare const DTOFeatureArtifact: z__default.ZodObject<{
68554
68558
  }, "strip", z__default.ZodTypeAny, {
68555
68559
  id: string;
68556
68560
  createdAt: string;
68557
- name: string;
68558
68561
  url: string;
68559
68562
  updatedAt: string;
68560
68563
  fileId: string;
68564
+ key: string;
68565
+ iterationId?: string | undefined;
68561
68566
  }, {
68562
68567
  id: string;
68563
68568
  createdAt: string;
68564
- name: string;
68565
68569
  url: string;
68566
68570
  updatedAt: string;
68567
68571
  fileId: string;
68572
+ key: string;
68573
+ iterationId?: string | undefined;
68568
68574
  }>;
68569
68575
  type DTOFeatureArtifact = z__default.infer<typeof DTOFeatureArtifact>;
68570
68576
  declare const DTOFeatureIteration: z__default.ZodObject<{
@@ -68725,16 +68731,19 @@ declare const DTOFeatureMessageReactionCreateInput: z__default.ZodObject<{
68725
68731
  type DTOFeatureMessageReactionCreateInput = z__default.infer<typeof DTOFeatureMessageReactionCreateInput>;
68726
68732
  declare const DTOFeatureArtifactCreateInput: z__default.ZodObject<{
68727
68733
  id: z__default.ZodString;
68728
- name: z__default.ZodString;
68734
+ key: z__default.ZodString;
68729
68735
  fileId: z__default.ZodString;
68736
+ iterationId: z__default.ZodOptional<z__default.ZodString>;
68730
68737
  }, "strip", z__default.ZodTypeAny, {
68731
68738
  id: string;
68732
- name: string;
68733
68739
  fileId: string;
68740
+ key: string;
68741
+ iterationId?: string | undefined;
68734
68742
  }, {
68735
68743
  id: string;
68736
- name: string;
68737
68744
  fileId: string;
68745
+ key: string;
68746
+ iterationId?: string | undefined;
68738
68747
  }>;
68739
68748
  type DTOFeatureArtifactCreateInput = z__default.infer<typeof DTOFeatureArtifactCreateInput>;
68740
68749
  declare const DTOFeatureArtifactDeleteInput: z__default.ZodObject<{
@@ -69252,13 +69261,17 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69252
69261
  artifact: z__default.ZodObject<{
69253
69262
  id: z__default.ZodString;
69254
69263
  /**
69255
- * Name of the artifact, can include path like `src/components/button.tsx`
69264
+ * Key of the artifact, can include path like `src/components/button.tsx`
69256
69265
  */
69257
- name: z__default.ZodString;
69266
+ key: z__default.ZodString;
69258
69267
  /**
69259
69268
  * Id of the project file that holds content of this artifact
69260
69269
  */
69261
69270
  fileId: z__default.ZodString;
69271
+ /**
69272
+ * Id of the Iteration that this artifact belongs to
69273
+ */
69274
+ iterationId: z__default.ZodOptional<z__default.ZodString>;
69262
69275
  /**
69263
69276
  * URL of the feature artifact's contents
69264
69277
  */
@@ -69268,35 +69281,39 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69268
69281
  }, "strip", z__default.ZodTypeAny, {
69269
69282
  id: string;
69270
69283
  createdAt: string;
69271
- name: string;
69272
69284
  url: string;
69273
69285
  updatedAt: string;
69274
69286
  fileId: string;
69287
+ key: string;
69288
+ iterationId?: string | undefined;
69275
69289
  }, {
69276
69290
  id: string;
69277
69291
  createdAt: string;
69278
- name: string;
69279
69292
  url: string;
69280
69293
  updatedAt: string;
69281
69294
  fileId: string;
69295
+ key: string;
69296
+ iterationId?: string | undefined;
69282
69297
  }>;
69283
69298
  }, "strip", z__default.ZodTypeAny, {
69284
69299
  artifact: {
69285
69300
  id: string;
69286
69301
  createdAt: string;
69287
- name: string;
69288
69302
  url: string;
69289
69303
  updatedAt: string;
69290
69304
  fileId: string;
69305
+ key: string;
69306
+ iterationId?: string | undefined;
69291
69307
  };
69292
69308
  }, {
69293
69309
  artifact: {
69294
69310
  id: string;
69295
69311
  createdAt: string;
69296
- name: string;
69297
69312
  url: string;
69298
69313
  updatedAt: string;
69299
69314
  fileId: string;
69315
+ key: string;
69316
+ iterationId?: string | undefined;
69300
69317
  };
69301
69318
  }>;
69302
69319
  type DTOFeatureArtifactResponse = z__default.infer<typeof DTOFeatureArtifactResponse>;
@@ -69304,13 +69321,17 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69304
69321
  artifacts: z__default.ZodArray<z__default.ZodObject<{
69305
69322
  id: z__default.ZodString;
69306
69323
  /**
69307
- * Name of the artifact, can include path like `src/components/button.tsx`
69324
+ * Key of the artifact, can include path like `src/components/button.tsx`
69308
69325
  */
69309
- name: z__default.ZodString;
69326
+ key: z__default.ZodString;
69310
69327
  /**
69311
69328
  * Id of the project file that holds content of this artifact
69312
69329
  */
69313
69330
  fileId: z__default.ZodString;
69331
+ /**
69332
+ * Id of the Iteration that this artifact belongs to
69333
+ */
69334
+ iterationId: z__default.ZodOptional<z__default.ZodString>;
69314
69335
  /**
69315
69336
  * URL of the feature artifact's contents
69316
69337
  */
@@ -69320,35 +69341,39 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69320
69341
  }, "strip", z__default.ZodTypeAny, {
69321
69342
  id: string;
69322
69343
  createdAt: string;
69323
- name: string;
69324
69344
  url: string;
69325
69345
  updatedAt: string;
69326
69346
  fileId: string;
69347
+ key: string;
69348
+ iterationId?: string | undefined;
69327
69349
  }, {
69328
69350
  id: string;
69329
69351
  createdAt: string;
69330
- name: string;
69331
69352
  url: string;
69332
69353
  updatedAt: string;
69333
69354
  fileId: string;
69355
+ key: string;
69356
+ iterationId?: string | undefined;
69334
69357
  }>, "many">;
69335
69358
  }, "strip", z__default.ZodTypeAny, {
69336
69359
  artifacts: {
69337
69360
  id: string;
69338
69361
  createdAt: string;
69339
- name: string;
69340
69362
  url: string;
69341
69363
  updatedAt: string;
69342
69364
  fileId: string;
69365
+ key: string;
69366
+ iterationId?: string | undefined;
69343
69367
  }[];
69344
69368
  }, {
69345
69369
  artifacts: {
69346
69370
  id: string;
69347
69371
  createdAt: string;
69348
- name: string;
69349
69372
  url: string;
69350
69373
  updatedAt: string;
69351
69374
  fileId: string;
69375
+ key: string;
69376
+ iterationId?: string | undefined;
69352
69377
  }[];
69353
69378
  }>;
69354
69379
  type DTOFeatureArtifactListResponse = z__default.infer<typeof DTOFeatureArtifactListResponse>;
package/dist/index.d.ts CHANGED
@@ -68538,13 +68538,17 @@ type DTOFeatureMessage = z__default.infer<typeof DTOFeatureMessage>;
68538
68538
  declare const DTOFeatureArtifact: z__default.ZodObject<{
68539
68539
  id: z__default.ZodString;
68540
68540
  /**
68541
- * Name of the artifact, can include path like `src/components/button.tsx`
68541
+ * Key of the artifact, can include path like `src/components/button.tsx`
68542
68542
  */
68543
- name: z__default.ZodString;
68543
+ key: z__default.ZodString;
68544
68544
  /**
68545
68545
  * Id of the project file that holds content of this artifact
68546
68546
  */
68547
68547
  fileId: z__default.ZodString;
68548
+ /**
68549
+ * Id of the Iteration that this artifact belongs to
68550
+ */
68551
+ iterationId: z__default.ZodOptional<z__default.ZodString>;
68548
68552
  /**
68549
68553
  * URL of the feature artifact's contents
68550
68554
  */
@@ -68554,17 +68558,19 @@ declare const DTOFeatureArtifact: z__default.ZodObject<{
68554
68558
  }, "strip", z__default.ZodTypeAny, {
68555
68559
  id: string;
68556
68560
  createdAt: string;
68557
- name: string;
68558
68561
  url: string;
68559
68562
  updatedAt: string;
68560
68563
  fileId: string;
68564
+ key: string;
68565
+ iterationId?: string | undefined;
68561
68566
  }, {
68562
68567
  id: string;
68563
68568
  createdAt: string;
68564
- name: string;
68565
68569
  url: string;
68566
68570
  updatedAt: string;
68567
68571
  fileId: string;
68572
+ key: string;
68573
+ iterationId?: string | undefined;
68568
68574
  }>;
68569
68575
  type DTOFeatureArtifact = z__default.infer<typeof DTOFeatureArtifact>;
68570
68576
  declare const DTOFeatureIteration: z__default.ZodObject<{
@@ -68725,16 +68731,19 @@ declare const DTOFeatureMessageReactionCreateInput: z__default.ZodObject<{
68725
68731
  type DTOFeatureMessageReactionCreateInput = z__default.infer<typeof DTOFeatureMessageReactionCreateInput>;
68726
68732
  declare const DTOFeatureArtifactCreateInput: z__default.ZodObject<{
68727
68733
  id: z__default.ZodString;
68728
- name: z__default.ZodString;
68734
+ key: z__default.ZodString;
68729
68735
  fileId: z__default.ZodString;
68736
+ iterationId: z__default.ZodOptional<z__default.ZodString>;
68730
68737
  }, "strip", z__default.ZodTypeAny, {
68731
68738
  id: string;
68732
- name: string;
68733
68739
  fileId: string;
68740
+ key: string;
68741
+ iterationId?: string | undefined;
68734
68742
  }, {
68735
68743
  id: string;
68736
- name: string;
68737
68744
  fileId: string;
68745
+ key: string;
68746
+ iterationId?: string | undefined;
68738
68747
  }>;
68739
68748
  type DTOFeatureArtifactCreateInput = z__default.infer<typeof DTOFeatureArtifactCreateInput>;
68740
68749
  declare const DTOFeatureArtifactDeleteInput: z__default.ZodObject<{
@@ -69252,13 +69261,17 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69252
69261
  artifact: z__default.ZodObject<{
69253
69262
  id: z__default.ZodString;
69254
69263
  /**
69255
- * Name of the artifact, can include path like `src/components/button.tsx`
69264
+ * Key of the artifact, can include path like `src/components/button.tsx`
69256
69265
  */
69257
- name: z__default.ZodString;
69266
+ key: z__default.ZodString;
69258
69267
  /**
69259
69268
  * Id of the project file that holds content of this artifact
69260
69269
  */
69261
69270
  fileId: z__default.ZodString;
69271
+ /**
69272
+ * Id of the Iteration that this artifact belongs to
69273
+ */
69274
+ iterationId: z__default.ZodOptional<z__default.ZodString>;
69262
69275
  /**
69263
69276
  * URL of the feature artifact's contents
69264
69277
  */
@@ -69268,35 +69281,39 @@ declare const DTOFeatureArtifactResponse: z__default.ZodObject<{
69268
69281
  }, "strip", z__default.ZodTypeAny, {
69269
69282
  id: string;
69270
69283
  createdAt: string;
69271
- name: string;
69272
69284
  url: string;
69273
69285
  updatedAt: string;
69274
69286
  fileId: string;
69287
+ key: string;
69288
+ iterationId?: string | undefined;
69275
69289
  }, {
69276
69290
  id: string;
69277
69291
  createdAt: string;
69278
- name: string;
69279
69292
  url: string;
69280
69293
  updatedAt: string;
69281
69294
  fileId: string;
69295
+ key: string;
69296
+ iterationId?: string | undefined;
69282
69297
  }>;
69283
69298
  }, "strip", z__default.ZodTypeAny, {
69284
69299
  artifact: {
69285
69300
  id: string;
69286
69301
  createdAt: string;
69287
- name: string;
69288
69302
  url: string;
69289
69303
  updatedAt: string;
69290
69304
  fileId: string;
69305
+ key: string;
69306
+ iterationId?: string | undefined;
69291
69307
  };
69292
69308
  }, {
69293
69309
  artifact: {
69294
69310
  id: string;
69295
69311
  createdAt: string;
69296
- name: string;
69297
69312
  url: string;
69298
69313
  updatedAt: string;
69299
69314
  fileId: string;
69315
+ key: string;
69316
+ iterationId?: string | undefined;
69300
69317
  };
69301
69318
  }>;
69302
69319
  type DTOFeatureArtifactResponse = z__default.infer<typeof DTOFeatureArtifactResponse>;
@@ -69304,13 +69321,17 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69304
69321
  artifacts: z__default.ZodArray<z__default.ZodObject<{
69305
69322
  id: z__default.ZodString;
69306
69323
  /**
69307
- * Name of the artifact, can include path like `src/components/button.tsx`
69324
+ * Key of the artifact, can include path like `src/components/button.tsx`
69308
69325
  */
69309
- name: z__default.ZodString;
69326
+ key: z__default.ZodString;
69310
69327
  /**
69311
69328
  * Id of the project file that holds content of this artifact
69312
69329
  */
69313
69330
  fileId: z__default.ZodString;
69331
+ /**
69332
+ * Id of the Iteration that this artifact belongs to
69333
+ */
69334
+ iterationId: z__default.ZodOptional<z__default.ZodString>;
69314
69335
  /**
69315
69336
  * URL of the feature artifact's contents
69316
69337
  */
@@ -69320,35 +69341,39 @@ declare const DTOFeatureArtifactListResponse: z__default.ZodObject<{
69320
69341
  }, "strip", z__default.ZodTypeAny, {
69321
69342
  id: string;
69322
69343
  createdAt: string;
69323
- name: string;
69324
69344
  url: string;
69325
69345
  updatedAt: string;
69326
69346
  fileId: string;
69347
+ key: string;
69348
+ iterationId?: string | undefined;
69327
69349
  }, {
69328
69350
  id: string;
69329
69351
  createdAt: string;
69330
- name: string;
69331
69352
  url: string;
69332
69353
  updatedAt: string;
69333
69354
  fileId: string;
69355
+ key: string;
69356
+ iterationId?: string | undefined;
69334
69357
  }>, "many">;
69335
69358
  }, "strip", z__default.ZodTypeAny, {
69336
69359
  artifacts: {
69337
69360
  id: string;
69338
69361
  createdAt: string;
69339
- name: string;
69340
69362
  url: string;
69341
69363
  updatedAt: string;
69342
69364
  fileId: string;
69365
+ key: string;
69366
+ iterationId?: string | undefined;
69343
69367
  }[];
69344
69368
  }, {
69345
69369
  artifacts: {
69346
69370
  id: string;
69347
69371
  createdAt: string;
69348
- name: string;
69349
69372
  url: string;
69350
69373
  updatedAt: string;
69351
69374
  fileId: string;
69375
+ key: string;
69376
+ iterationId?: string | undefined;
69352
69377
  }[];
69353
69378
  }>;
69354
69379
  type DTOFeatureArtifactListResponse = z__default.infer<typeof DTOFeatureArtifactListResponse>;
package/dist/index.js CHANGED
@@ -9149,13 +9149,17 @@ var DTOFeatureAgentResponseTracker = _zod2.default.object({
9149
9149
  var DTOFeatureArtifact = _zod2.default.object({
9150
9150
  id: Id,
9151
9151
  /**
9152
- * Name of the artifact, can include path like `src/components/button.tsx`
9152
+ * Key of the artifact, can include path like `src/components/button.tsx`
9153
9153
  */
9154
- name: _zod2.default.string(),
9154
+ key: _zod2.default.string(),
9155
9155
  /**
9156
9156
  * Id of the project file that holds content of this artifact
9157
9157
  */
9158
9158
  fileId: _zod2.default.string(),
9159
+ /**
9160
+ * Id of the Iteration that this artifact belongs to
9161
+ */
9162
+ iterationId: Id.optional(),
9159
9163
  /**
9160
9164
  * URL of the feature artifact's contents
9161
9165
  */
@@ -9202,8 +9206,9 @@ var DTOFeatureMessageReactionDeleteInput = _zod2.default.object({
9202
9206
  });
9203
9207
  var DTOFeatureArtifactCreateInput = _zod2.default.object({
9204
9208
  id: Id,
9205
- name: _zod2.default.string(),
9206
- fileId: _zod2.default.string()
9209
+ key: _zod2.default.string(),
9210
+ fileId: _zod2.default.string(),
9211
+ iterationId: Id.optional()
9207
9212
  });
9208
9213
  var DTOFeatureArtifactDeleteInput = _zod2.default.object({
9209
9214
  id: Id