@supernova-studio/client 1.9.14 → 1.9.15

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
@@ -10329,7 +10329,7 @@ declare const DTOFileUploadFinalizeResponse: z.ZodObject<{
10329
10329
  ok: true;
10330
10330
  }>;
10331
10331
  type DTOFileUploadFinalizeResponse = z.infer<typeof DTOFileUploadFinalizeResponse>;
10332
- declare const DTOFileResponseItem: z.ZodObject<Omit<{
10332
+ declare const DTOFileResponseItem: z.ZodObject<{
10333
10333
  fileId: z.ZodString;
10334
10334
  referencePersistentId: z.ZodString;
10335
10335
  name: z.ZodString;
@@ -10337,13 +10337,14 @@ declare const DTOFileResponseItem: z.ZodObject<Omit<{
10337
10337
  pendingUpload: z.ZodOptional<z.ZodBoolean>;
10338
10338
  url: z.ZodString;
10339
10339
  size: z.ZodNumber;
10340
- }, "pendingUpload">, "strip", z.ZodTypeAny, {
10340
+ }, "strip", z.ZodTypeAny, {
10341
10341
  name: string;
10342
10342
  url: string;
10343
10343
  fileId: string;
10344
10344
  size: number;
10345
10345
  checksum: string;
10346
10346
  referencePersistentId: string;
10347
+ pendingUpload?: boolean | undefined;
10347
10348
  }, {
10348
10349
  name: string;
10349
10350
  url: string;
@@ -10351,6 +10352,7 @@ declare const DTOFileResponseItem: z.ZodObject<Omit<{
10351
10352
  size: number;
10352
10353
  checksum: string;
10353
10354
  referencePersistentId: string;
10355
+ pendingUpload?: boolean | undefined;
10354
10356
  }>;
10355
10357
  type DTOFileResponseItem = z.infer<typeof DTOFileResponseItem>;
10356
10358
  /**
@@ -10365,7 +10367,7 @@ declare const DTOFilesGetPayload: z.ZodObject<{
10365
10367
  }>;
10366
10368
  type DTOFilesGetPayload = z.infer<typeof DTOFilesGetPayload>;
10367
10369
  declare const DTOFilesResponse: z.ZodObject<{
10368
- files: z.ZodArray<z.ZodObject<Omit<{
10370
+ files: z.ZodArray<z.ZodObject<{
10369
10371
  fileId: z.ZodString;
10370
10372
  referencePersistentId: z.ZodString;
10371
10373
  name: z.ZodString;
@@ -10373,13 +10375,14 @@ declare const DTOFilesResponse: z.ZodObject<{
10373
10375
  pendingUpload: z.ZodOptional<z.ZodBoolean>;
10374
10376
  url: z.ZodString;
10375
10377
  size: z.ZodNumber;
10376
- }, "pendingUpload">, "strip", z.ZodTypeAny, {
10378
+ }, "strip", z.ZodTypeAny, {
10377
10379
  name: string;
10378
10380
  url: string;
10379
10381
  fileId: string;
10380
10382
  size: number;
10381
10383
  checksum: string;
10382
10384
  referencePersistentId: string;
10385
+ pendingUpload?: boolean | undefined;
10383
10386
  }, {
10384
10387
  name: string;
10385
10388
  url: string;
@@ -10387,6 +10390,7 @@ declare const DTOFilesResponse: z.ZodObject<{
10387
10390
  size: number;
10388
10391
  checksum: string;
10389
10392
  referencePersistentId: string;
10393
+ pendingUpload?: boolean | undefined;
10390
10394
  }>, "many">;
10391
10395
  }, "strip", z.ZodTypeAny, {
10392
10396
  files: {
@@ -10396,6 +10400,7 @@ declare const DTOFilesResponse: z.ZodObject<{
10396
10400
  size: number;
10397
10401
  checksum: string;
10398
10402
  referencePersistentId: string;
10403
+ pendingUpload?: boolean | undefined;
10399
10404
  }[];
10400
10405
  }, {
10401
10406
  files: {
@@ -10405,6 +10410,7 @@ declare const DTOFilesResponse: z.ZodObject<{
10405
10410
  size: number;
10406
10411
  checksum: string;
10407
10412
  referencePersistentId: string;
10413
+ pendingUpload?: boolean | undefined;
10408
10414
  }[];
10409
10415
  }>;
10410
10416
  type DTOFilesResponse = z.infer<typeof DTOFilesResponse>;
@@ -105681,6 +105687,7 @@ declare class FilesEndpoint {
105681
105687
  size: number;
105682
105688
  checksum: string;
105683
105689
  referencePersistentId: string;
105690
+ pendingUpload?: boolean | undefined;
105684
105691
  }[];
105685
105692
  }>;
105686
105693
  }
package/dist/index.d.ts CHANGED
@@ -10329,7 +10329,7 @@ declare const DTOFileUploadFinalizeResponse: z.ZodObject<{
10329
10329
  ok: true;
10330
10330
  }>;
10331
10331
  type DTOFileUploadFinalizeResponse = z.infer<typeof DTOFileUploadFinalizeResponse>;
10332
- declare const DTOFileResponseItem: z.ZodObject<Omit<{
10332
+ declare const DTOFileResponseItem: z.ZodObject<{
10333
10333
  fileId: z.ZodString;
10334
10334
  referencePersistentId: z.ZodString;
10335
10335
  name: z.ZodString;
@@ -10337,13 +10337,14 @@ declare const DTOFileResponseItem: z.ZodObject<Omit<{
10337
10337
  pendingUpload: z.ZodOptional<z.ZodBoolean>;
10338
10338
  url: z.ZodString;
10339
10339
  size: z.ZodNumber;
10340
- }, "pendingUpload">, "strip", z.ZodTypeAny, {
10340
+ }, "strip", z.ZodTypeAny, {
10341
10341
  name: string;
10342
10342
  url: string;
10343
10343
  fileId: string;
10344
10344
  size: number;
10345
10345
  checksum: string;
10346
10346
  referencePersistentId: string;
10347
+ pendingUpload?: boolean | undefined;
10347
10348
  }, {
10348
10349
  name: string;
10349
10350
  url: string;
@@ -10351,6 +10352,7 @@ declare const DTOFileResponseItem: z.ZodObject<Omit<{
10351
10352
  size: number;
10352
10353
  checksum: string;
10353
10354
  referencePersistentId: string;
10355
+ pendingUpload?: boolean | undefined;
10354
10356
  }>;
10355
10357
  type DTOFileResponseItem = z.infer<typeof DTOFileResponseItem>;
10356
10358
  /**
@@ -10365,7 +10367,7 @@ declare const DTOFilesGetPayload: z.ZodObject<{
10365
10367
  }>;
10366
10368
  type DTOFilesGetPayload = z.infer<typeof DTOFilesGetPayload>;
10367
10369
  declare const DTOFilesResponse: z.ZodObject<{
10368
- files: z.ZodArray<z.ZodObject<Omit<{
10370
+ files: z.ZodArray<z.ZodObject<{
10369
10371
  fileId: z.ZodString;
10370
10372
  referencePersistentId: z.ZodString;
10371
10373
  name: z.ZodString;
@@ -10373,13 +10375,14 @@ declare const DTOFilesResponse: z.ZodObject<{
10373
10375
  pendingUpload: z.ZodOptional<z.ZodBoolean>;
10374
10376
  url: z.ZodString;
10375
10377
  size: z.ZodNumber;
10376
- }, "pendingUpload">, "strip", z.ZodTypeAny, {
10378
+ }, "strip", z.ZodTypeAny, {
10377
10379
  name: string;
10378
10380
  url: string;
10379
10381
  fileId: string;
10380
10382
  size: number;
10381
10383
  checksum: string;
10382
10384
  referencePersistentId: string;
10385
+ pendingUpload?: boolean | undefined;
10383
10386
  }, {
10384
10387
  name: string;
10385
10388
  url: string;
@@ -10387,6 +10390,7 @@ declare const DTOFilesResponse: z.ZodObject<{
10387
10390
  size: number;
10388
10391
  checksum: string;
10389
10392
  referencePersistentId: string;
10393
+ pendingUpload?: boolean | undefined;
10390
10394
  }>, "many">;
10391
10395
  }, "strip", z.ZodTypeAny, {
10392
10396
  files: {
@@ -10396,6 +10400,7 @@ declare const DTOFilesResponse: z.ZodObject<{
10396
10400
  size: number;
10397
10401
  checksum: string;
10398
10402
  referencePersistentId: string;
10403
+ pendingUpload?: boolean | undefined;
10399
10404
  }[];
10400
10405
  }, {
10401
10406
  files: {
@@ -10405,6 +10410,7 @@ declare const DTOFilesResponse: z.ZodObject<{
10405
10410
  size: number;
10406
10411
  checksum: string;
10407
10412
  referencePersistentId: string;
10413
+ pendingUpload?: boolean | undefined;
10408
10414
  }[];
10409
10415
  }>;
10410
10416
  type DTOFilesResponse = z.infer<typeof DTOFilesResponse>;
@@ -105681,6 +105687,7 @@ declare class FilesEndpoint {
105681
105687
  size: number;
105682
105688
  checksum: string;
105683
105689
  referencePersistentId: string;
105690
+ pendingUpload?: boolean | undefined;
105684
105691
  }[];
105685
105692
  }>;
105686
105693
  }
package/dist/index.js CHANGED
@@ -6569,7 +6569,7 @@ var DTOFileUploadResponseItem = _zod.z.object({
6569
6569
  url: _zod.z.string(),
6570
6570
  size: _zod.z.number()
6571
6571
  });
6572
- var DTOFileResponseItem = DTOFileUploadResponseItem.omit({ pendingUpload: true });
6572
+ var DTOFileResponseItem = DTOFileUploadResponseItem;
6573
6573
  var DTOUploadUrlItem = _zod.z.object({
6574
6574
  fileId: _zod.z.string(),
6575
6575
  uploadUrl: _zod.z.string()