@socotra/ec-react-schemas 2.15.5 → 2.15.7-demo.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.ts CHANGED
@@ -12184,6 +12184,8 @@ export declare const DocumentInstanceResponseSchema: z.ZodObject<z.objectUtil.ex
12184
12184
  createdBy: z.ZodString;
12185
12185
  readyAt: z.ZodOptional<z.ZodString>;
12186
12186
  renderingData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
12187
+ consolidatedFrom: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12188
+ consolidatedTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12187
12189
  }>, "strip", z.ZodTypeAny, {
12188
12190
  locator: string;
12189
12191
  createdBy: string;
@@ -12192,8 +12194,6 @@ export declare const DocumentInstanceResponseSchema: z.ZodObject<z.objectUtil.ex
12192
12194
  referenceLocator: string;
12193
12195
  createdAt: string;
12194
12196
  external: boolean;
12195
- consolidatedFrom: string[];
12196
- consolidatedTo: string[];
12197
12197
  category?: string | undefined;
12198
12198
  metadata?: Record<string, any> | undefined;
12199
12199
  staticName?: string | undefined;
@@ -12207,6 +12207,8 @@ export declare const DocumentInstanceResponseSchema: z.ZodObject<z.objectUtil.ex
12207
12207
  documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
12208
12208
  processingErrors?: string | undefined;
12209
12209
  readyAt?: string | undefined;
12210
+ consolidatedFrom?: string[] | undefined;
12211
+ consolidatedTo?: string[] | undefined;
12210
12212
  }, {
12211
12213
  locator: string;
12212
12214
  createdBy: string;
@@ -12215,8 +12217,6 @@ export declare const DocumentInstanceResponseSchema: z.ZodObject<z.objectUtil.ex
12215
12217
  referenceLocator: string;
12216
12218
  createdAt: string;
12217
12219
  external: boolean;
12218
- consolidatedFrom: string[];
12219
- consolidatedTo: string[];
12220
12220
  category?: string | undefined;
12221
12221
  metadata?: Record<string, any> | undefined;
12222
12222
  staticName?: string | undefined;
@@ -12230,6 +12230,8 @@ export declare const DocumentInstanceResponseSchema: z.ZodObject<z.objectUtil.ex
12230
12230
  documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
12231
12231
  processingErrors?: string | undefined;
12232
12232
  readyAt?: string | undefined;
12233
+ consolidatedFrom?: string[] | undefined;
12234
+ consolidatedTo?: string[] | undefined;
12233
12235
  }>;
12234
12236
 
12235
12237
  export declare const documentInstanceResponseSchema: z.ZodObject<{
@@ -12330,6 +12332,8 @@ export declare const DocumentInstanceSchema: z.ZodObject<z.objectUtil.extendShap
12330
12332
  createdBy: z.ZodString;
12331
12333
  readyAt: z.ZodOptional<z.ZodString>;
12332
12334
  renderingData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
12335
+ consolidatedFrom: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12336
+ consolidatedTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12333
12337
  }>, "strip", z.ZodTypeAny, {
12334
12338
  locator: string;
12335
12339
  createdBy: string;
@@ -12338,8 +12342,6 @@ export declare const DocumentInstanceSchema: z.ZodObject<z.objectUtil.extendShap
12338
12342
  referenceLocator: string;
12339
12343
  createdAt: string;
12340
12344
  external: boolean;
12341
- consolidatedFrom: string[];
12342
- consolidatedTo: string[];
12343
12345
  category?: string | undefined;
12344
12346
  metadata?: Record<string, any> | undefined;
12345
12347
  staticName?: string | undefined;
@@ -12353,6 +12355,8 @@ export declare const DocumentInstanceSchema: z.ZodObject<z.objectUtil.extendShap
12353
12355
  documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
12354
12356
  processingErrors?: string | undefined;
12355
12357
  readyAt?: string | undefined;
12358
+ consolidatedFrom?: string[] | undefined;
12359
+ consolidatedTo?: string[] | undefined;
12356
12360
  }, {
12357
12361
  locator: string;
12358
12362
  createdBy: string;
@@ -12361,8 +12365,6 @@ export declare const DocumentInstanceSchema: z.ZodObject<z.objectUtil.extendShap
12361
12365
  referenceLocator: string;
12362
12366
  createdAt: string;
12363
12367
  external: boolean;
12364
- consolidatedFrom: string[];
12365
- consolidatedTo: string[];
12366
12368
  category?: string | undefined;
12367
12369
  metadata?: Record<string, any> | undefined;
12368
12370
  staticName?: string | undefined;
@@ -12376,6 +12378,8 @@ export declare const DocumentInstanceSchema: z.ZodObject<z.objectUtil.extendShap
12376
12378
  documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
12377
12379
  processingErrors?: string | undefined;
12378
12380
  readyAt?: string | undefined;
12381
+ consolidatedFrom?: string[] | undefined;
12382
+ consolidatedTo?: string[] | undefined;
12379
12383
  }>;
12380
12384
 
12381
12385
  export declare const DocumentInstanceStateEnumSchema: z.ZodEnum<["draft", "dataReady", "ready", "dataError", "renderError", "conversionError"]>;
@@ -12423,6 +12427,8 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
12423
12427
  createdBy: z.ZodString;
12424
12428
  readyAt: z.ZodOptional<z.ZodString>;
12425
12429
  renderingData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
12430
+ consolidatedFrom: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12431
+ consolidatedTo: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
12426
12432
  }>, "strip", z.ZodTypeAny, {
12427
12433
  locator: string;
12428
12434
  createdBy: string;
@@ -12431,8 +12437,6 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
12431
12437
  referenceLocator: string;
12432
12438
  createdAt: string;
12433
12439
  external: boolean;
12434
- consolidatedFrom: string[];
12435
- consolidatedTo: string[];
12436
12440
  category?: string | undefined;
12437
12441
  metadata?: Record<string, any> | undefined;
12438
12442
  staticName?: string | undefined;
@@ -12446,6 +12450,8 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
12446
12450
  documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
12447
12451
  processingErrors?: string | undefined;
12448
12452
  readyAt?: string | undefined;
12453
+ consolidatedFrom?: string[] | undefined;
12454
+ consolidatedTo?: string[] | undefined;
12449
12455
  }, {
12450
12456
  locator: string;
12451
12457
  createdBy: string;
@@ -12454,8 +12460,6 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
12454
12460
  referenceLocator: string;
12455
12461
  createdAt: string;
12456
12462
  external: boolean;
12457
- consolidatedFrom: string[];
12458
- consolidatedTo: string[];
12459
12463
  category?: string | undefined;
12460
12464
  metadata?: Record<string, any> | undefined;
12461
12465
  staticName?: string | undefined;
@@ -12469,6 +12473,8 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
12469
12473
  documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
12470
12474
  processingErrors?: string | undefined;
12471
12475
  readyAt?: string | undefined;
12476
+ consolidatedFrom?: string[] | undefined;
12477
+ consolidatedTo?: string[] | undefined;
12472
12478
  }>, "many">;
12473
12479
  }, "strip", z.ZodTypeAny, {
12474
12480
  items: {
@@ -12479,8 +12485,6 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
12479
12485
  referenceLocator: string;
12480
12486
  createdAt: string;
12481
12487
  external: boolean;
12482
- consolidatedFrom: string[];
12483
- consolidatedTo: string[];
12484
12488
  category?: string | undefined;
12485
12489
  metadata?: Record<string, any> | undefined;
12486
12490
  staticName?: string | undefined;
@@ -12494,6 +12498,8 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
12494
12498
  documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
12495
12499
  processingErrors?: string | undefined;
12496
12500
  readyAt?: string | undefined;
12501
+ consolidatedFrom?: string[] | undefined;
12502
+ consolidatedTo?: string[] | undefined;
12497
12503
  }[];
12498
12504
  listCompleted: boolean;
12499
12505
  }, {
@@ -12505,8 +12511,6 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
12505
12511
  referenceLocator: string;
12506
12512
  createdAt: string;
12507
12513
  external: boolean;
12508
- consolidatedFrom: string[];
12509
- consolidatedTo: string[];
12510
12514
  category?: string | undefined;
12511
12515
  metadata?: Record<string, any> | undefined;
12512
12516
  staticName?: string | undefined;
@@ -12520,6 +12524,8 @@ export declare const DocumentListResponseSchema: z.ZodObject<{
12520
12524
  documentFormat?: "text" | "html" | "pdf" | "jpg" | "jpeg" | "doc" | "docx" | "xls" | "xlsx" | "csv" | "txt" | "zip" | undefined;
12521
12525
  processingErrors?: string | undefined;
12522
12526
  readyAt?: string | undefined;
12527
+ consolidatedFrom?: string[] | undefined;
12528
+ consolidatedTo?: string[] | undefined;
12523
12529
  }[];
12524
12530
  listCompleted: boolean;
12525
12531
  }>;
package/dist/index.es.js CHANGED
@@ -9070,7 +9070,9 @@ const rr = bc.merge(
9070
9070
  createdAt: g,
9071
9071
  createdBy: _,
9072
9072
  readyAt: g.optional(),
9073
- renderingData: w.optional()
9073
+ renderingData: w.optional(),
9074
+ consolidatedFrom: e.array(e.string()).optional(),
9075
+ consolidatedTo: e.array(e.string()).optional()
9074
9076
  })
9075
9077
  ), Rm = x(rr), Em = e.object({
9076
9078
  tenantLocator: ke