@wix/auto_sdk_data_collections 1.0.112 → 1.0.113
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/build/cjs/index.d.ts +31 -31
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +157 -32
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +115 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +31 -31
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +157 -32
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +115 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +31 -31
- package/build/internal/cjs/index.typings.d.ts +86 -253
- package/build/internal/cjs/meta.d.ts +52 -209
- package/build/internal/es/index.d.mts +31 -31
- package/build/internal/es/index.typings.d.mts +86 -253
- package/build/internal/es/meta.d.mts +52 -209
- package/package.json +2 -2
|
@@ -104,7 +104,6 @@ interface DataCollection {
|
|
|
104
104
|
dataPermissions?: DataPermissions;
|
|
105
105
|
/**
|
|
106
106
|
* Actual data operations permitted for the caller. Included only if requested by `includeAllowedDataPermissions`
|
|
107
|
-
* @internal
|
|
108
107
|
* @readonly
|
|
109
108
|
*/
|
|
110
109
|
allowedDataPermissions?: AllowedDataPermissions;
|
|
@@ -421,7 +420,6 @@ declare enum Type {
|
|
|
421
420
|
/**
|
|
422
421
|
* Secured media object with digital file metadata.
|
|
423
422
|
* @documentationMaturity preview
|
|
424
|
-
* @internal
|
|
425
423
|
*/
|
|
426
424
|
SECURED_MEDIA = "SECURED_MEDIA",
|
|
427
425
|
/**
|
|
@@ -436,7 +434,7 @@ declare enum Type {
|
|
|
436
434
|
MEDIA_VECTOR_ART = "MEDIA_VECTOR_ART"
|
|
437
435
|
}
|
|
438
436
|
/** @enumType */
|
|
439
|
-
type TypeWithLiterals = Type | 'TEXT' | 'NUMBER' | 'DATE' | 'DATETIME' | 'IMAGE' | 'BOOLEAN' | 'DOCUMENT' | 'URL' | 'RICH_TEXT' | 'VIDEO' | 'ANY' | 'ARRAY_STRING' | 'ARRAY_DOCUMENT' | 'AUDIO' | 'TIME' | 'LANGUAGE' | 'RICH_CONTENT' | 'MEDIA_GALLERY' | 'ADDRESS' | 'PAGE_LINK' | 'REFERENCE' | 'MULTI_REFERENCE' | 'OBJECT' | 'ARRAY' | 'LEGACY_TIME' | 'LEGACY_BOOK' | 'LEGACY_EXTERNAL_URL' | 'LEGACY_BROKEN_REFERENCE' | 'LEGACY_IMAGE' | 'LEGACY_COLOR' | 'LEGACY_EXTERNAL_VIDEO' | 'SLUG' | 'EMAIL' | 'MEDIA_IMAGE' | 'MEDIA_VECTOR_ART';
|
|
437
|
+
type TypeWithLiterals = Type | 'TEXT' | 'NUMBER' | 'DATE' | 'DATETIME' | 'IMAGE' | 'BOOLEAN' | 'DOCUMENT' | 'URL' | 'RICH_TEXT' | 'VIDEO' | 'ANY' | 'ARRAY_STRING' | 'ARRAY_DOCUMENT' | 'AUDIO' | 'TIME' | 'LANGUAGE' | 'RICH_CONTENT' | 'MEDIA_GALLERY' | 'ADDRESS' | 'PAGE_LINK' | 'REFERENCE' | 'MULTI_REFERENCE' | 'OBJECT' | 'ARRAY' | 'LEGACY_TIME' | 'LEGACY_BOOK' | 'LEGACY_EXTERNAL_URL' | 'LEGACY_BROKEN_REFERENCE' | 'LEGACY_IMAGE' | 'LEGACY_COLOR' | 'LEGACY_EXTERNAL_VIDEO' | 'SLUG' | 'EMAIL' | 'SECURED_MEDIA' | 'MEDIA_IMAGE' | 'MEDIA_VECTOR_ART';
|
|
440
438
|
interface TypeMetadata extends TypeMetadataMetadataOneOf {
|
|
441
439
|
/** Metadata for a reference field. */
|
|
442
440
|
reference?: Reference;
|
|
@@ -448,110 +446,47 @@ interface TypeMetadata extends TypeMetadataMetadataOneOf {
|
|
|
448
446
|
array?: _Array;
|
|
449
447
|
/** Metadata for a page link field. */
|
|
450
448
|
pageLink?: PageLink;
|
|
451
|
-
/**
|
|
452
|
-
* Metadata for a slug field.
|
|
453
|
-
* @internal
|
|
454
|
-
*/
|
|
449
|
+
/** Metadata for a slug field. */
|
|
455
450
|
slug?: Slug;
|
|
456
|
-
/**
|
|
457
|
-
* Metadata for TEXT.
|
|
458
|
-
* @internal
|
|
459
|
-
*/
|
|
451
|
+
/** Metadata for TEXT. */
|
|
460
452
|
text?: Text;
|
|
461
|
-
/**
|
|
462
|
-
* Metadata for NUMBER.
|
|
463
|
-
* @internal
|
|
464
|
-
*/
|
|
453
|
+
/** Metadata for NUMBER. */
|
|
465
454
|
number?: _Number;
|
|
466
|
-
/**
|
|
467
|
-
* Metadata for DATE.
|
|
468
|
-
* @internal
|
|
469
|
-
*/
|
|
455
|
+
/** Metadata for DATE. */
|
|
470
456
|
date?: _Date;
|
|
471
|
-
/**
|
|
472
|
-
* Metadata for DATETIME.
|
|
473
|
-
* @internal
|
|
474
|
-
*/
|
|
457
|
+
/** Metadata for DATETIME. */
|
|
475
458
|
datetime?: Datetime;
|
|
476
|
-
/**
|
|
477
|
-
* Metadata for IMAGE.
|
|
478
|
-
* @internal
|
|
479
|
-
*/
|
|
459
|
+
/** Metadata for IMAGE. */
|
|
480
460
|
image?: Image;
|
|
481
|
-
/**
|
|
482
|
-
* Metadata for BOOLEAN.
|
|
483
|
-
* @internal
|
|
484
|
-
*/
|
|
461
|
+
/** Metadata for BOOLEAN. */
|
|
485
462
|
boolean?: _Boolean;
|
|
486
|
-
/**
|
|
487
|
-
* Metadata for DOCUMENT.
|
|
488
|
-
* @internal
|
|
489
|
-
*/
|
|
463
|
+
/** Metadata for DOCUMENT. */
|
|
490
464
|
document?: Document;
|
|
491
|
-
/**
|
|
492
|
-
* Metadata for URL.
|
|
493
|
-
* @internal
|
|
494
|
-
*/
|
|
465
|
+
/** Metadata for URL. */
|
|
495
466
|
url?: Url;
|
|
496
|
-
/**
|
|
497
|
-
* Metadata for RICH_TEXT.
|
|
498
|
-
* @internal
|
|
499
|
-
*/
|
|
467
|
+
/** Metadata for RICH_TEXT. */
|
|
500
468
|
richText?: RichText;
|
|
501
|
-
/**
|
|
502
|
-
* Metadata for VIDEO.
|
|
503
|
-
* @internal
|
|
504
|
-
*/
|
|
469
|
+
/** Metadata for VIDEO. */
|
|
505
470
|
video?: Video;
|
|
506
|
-
/**
|
|
507
|
-
* Metadata for ARRAY_STRING.
|
|
508
|
-
* @internal
|
|
509
|
-
*/
|
|
471
|
+
/** Metadata for ARRAY_STRING. */
|
|
510
472
|
arrayString?: ArrayString;
|
|
511
|
-
/**
|
|
512
|
-
* Metadata for ARRAY_DOCUMENT.
|
|
513
|
-
* @internal
|
|
514
|
-
*/
|
|
473
|
+
/** Metadata for ARRAY_DOCUMENT. */
|
|
515
474
|
arrayDocument?: ArrayDocument;
|
|
516
|
-
/**
|
|
517
|
-
* Metadata for AUDIO.
|
|
518
|
-
* @internal
|
|
519
|
-
*/
|
|
475
|
+
/** Metadata for AUDIO. */
|
|
520
476
|
audio?: Audio;
|
|
521
|
-
/**
|
|
522
|
-
* Metadata for TIME.
|
|
523
|
-
* @internal
|
|
524
|
-
*/
|
|
477
|
+
/** Metadata for TIME. */
|
|
525
478
|
time?: Time;
|
|
526
|
-
/**
|
|
527
|
-
* Metadata for RICH_CONTENT.
|
|
528
|
-
* @internal
|
|
529
|
-
*/
|
|
479
|
+
/** Metadata for RICH_CONTENT. */
|
|
530
480
|
richContent?: RichContent;
|
|
531
|
-
/**
|
|
532
|
-
* Metadata for MEDIA_GALLERY.
|
|
533
|
-
* @internal
|
|
534
|
-
*/
|
|
481
|
+
/** Metadata for MEDIA_GALLERY. */
|
|
535
482
|
mediaGallery?: MediaGallery;
|
|
536
|
-
/**
|
|
537
|
-
* Metadata for ADDRESS.
|
|
538
|
-
* @internal
|
|
539
|
-
*/
|
|
483
|
+
/** Metadata for ADDRESS. */
|
|
540
484
|
address?: Address;
|
|
541
|
-
/**
|
|
542
|
-
* Metadata for EMAIL.
|
|
543
|
-
* @internal
|
|
544
|
-
*/
|
|
485
|
+
/** Metadata for EMAIL. */
|
|
545
486
|
email?: Email;
|
|
546
|
-
/**
|
|
547
|
-
* Metadata for LEGACY_COLOR.
|
|
548
|
-
* @internal
|
|
549
|
-
*/
|
|
487
|
+
/** Metadata for LEGACY_COLOR. */
|
|
550
488
|
legacyColor?: LegacyColor;
|
|
551
|
-
/**
|
|
552
|
-
* Metadata for MEDIA_IMAGE.
|
|
553
|
-
* @internal
|
|
554
|
-
*/
|
|
489
|
+
/** Metadata for MEDIA_IMAGE. */
|
|
555
490
|
mediaImage?: MediaImage;
|
|
556
491
|
}
|
|
557
492
|
/** @oneof */
|
|
@@ -566,110 +501,47 @@ interface TypeMetadataMetadataOneOf {
|
|
|
566
501
|
array?: _Array;
|
|
567
502
|
/** Metadata for a page link field. */
|
|
568
503
|
pageLink?: PageLink;
|
|
569
|
-
/**
|
|
570
|
-
* Metadata for a slug field.
|
|
571
|
-
* @internal
|
|
572
|
-
*/
|
|
504
|
+
/** Metadata for a slug field. */
|
|
573
505
|
slug?: Slug;
|
|
574
|
-
/**
|
|
575
|
-
* Metadata for TEXT.
|
|
576
|
-
* @internal
|
|
577
|
-
*/
|
|
506
|
+
/** Metadata for TEXT. */
|
|
578
507
|
text?: Text;
|
|
579
|
-
/**
|
|
580
|
-
* Metadata for NUMBER.
|
|
581
|
-
* @internal
|
|
582
|
-
*/
|
|
508
|
+
/** Metadata for NUMBER. */
|
|
583
509
|
number?: _Number;
|
|
584
|
-
/**
|
|
585
|
-
* Metadata for DATE.
|
|
586
|
-
* @internal
|
|
587
|
-
*/
|
|
510
|
+
/** Metadata for DATE. */
|
|
588
511
|
date?: _Date;
|
|
589
|
-
/**
|
|
590
|
-
* Metadata for DATETIME.
|
|
591
|
-
* @internal
|
|
592
|
-
*/
|
|
512
|
+
/** Metadata for DATETIME. */
|
|
593
513
|
datetime?: Datetime;
|
|
594
|
-
/**
|
|
595
|
-
* Metadata for IMAGE.
|
|
596
|
-
* @internal
|
|
597
|
-
*/
|
|
514
|
+
/** Metadata for IMAGE. */
|
|
598
515
|
image?: Image;
|
|
599
|
-
/**
|
|
600
|
-
* Metadata for BOOLEAN.
|
|
601
|
-
* @internal
|
|
602
|
-
*/
|
|
516
|
+
/** Metadata for BOOLEAN. */
|
|
603
517
|
boolean?: _Boolean;
|
|
604
|
-
/**
|
|
605
|
-
* Metadata for DOCUMENT.
|
|
606
|
-
* @internal
|
|
607
|
-
*/
|
|
518
|
+
/** Metadata for DOCUMENT. */
|
|
608
519
|
document?: Document;
|
|
609
|
-
/**
|
|
610
|
-
* Metadata for URL.
|
|
611
|
-
* @internal
|
|
612
|
-
*/
|
|
520
|
+
/** Metadata for URL. */
|
|
613
521
|
url?: Url;
|
|
614
|
-
/**
|
|
615
|
-
* Metadata for RICH_TEXT.
|
|
616
|
-
* @internal
|
|
617
|
-
*/
|
|
522
|
+
/** Metadata for RICH_TEXT. */
|
|
618
523
|
richText?: RichText;
|
|
619
|
-
/**
|
|
620
|
-
* Metadata for VIDEO.
|
|
621
|
-
* @internal
|
|
622
|
-
*/
|
|
524
|
+
/** Metadata for VIDEO. */
|
|
623
525
|
video?: Video;
|
|
624
|
-
/**
|
|
625
|
-
* Metadata for ARRAY_STRING.
|
|
626
|
-
* @internal
|
|
627
|
-
*/
|
|
526
|
+
/** Metadata for ARRAY_STRING. */
|
|
628
527
|
arrayString?: ArrayString;
|
|
629
|
-
/**
|
|
630
|
-
* Metadata for ARRAY_DOCUMENT.
|
|
631
|
-
* @internal
|
|
632
|
-
*/
|
|
528
|
+
/** Metadata for ARRAY_DOCUMENT. */
|
|
633
529
|
arrayDocument?: ArrayDocument;
|
|
634
|
-
/**
|
|
635
|
-
* Metadata for AUDIO.
|
|
636
|
-
* @internal
|
|
637
|
-
*/
|
|
530
|
+
/** Metadata for AUDIO. */
|
|
638
531
|
audio?: Audio;
|
|
639
|
-
/**
|
|
640
|
-
* Metadata for TIME.
|
|
641
|
-
* @internal
|
|
642
|
-
*/
|
|
532
|
+
/** Metadata for TIME. */
|
|
643
533
|
time?: Time;
|
|
644
|
-
/**
|
|
645
|
-
* Metadata for RICH_CONTENT.
|
|
646
|
-
* @internal
|
|
647
|
-
*/
|
|
534
|
+
/** Metadata for RICH_CONTENT. */
|
|
648
535
|
richContent?: RichContent;
|
|
649
|
-
/**
|
|
650
|
-
* Metadata for MEDIA_GALLERY.
|
|
651
|
-
* @internal
|
|
652
|
-
*/
|
|
536
|
+
/** Metadata for MEDIA_GALLERY. */
|
|
653
537
|
mediaGallery?: MediaGallery;
|
|
654
|
-
/**
|
|
655
|
-
* Metadata for ADDRESS.
|
|
656
|
-
* @internal
|
|
657
|
-
*/
|
|
538
|
+
/** Metadata for ADDRESS. */
|
|
658
539
|
address?: Address;
|
|
659
|
-
/**
|
|
660
|
-
* Metadata for EMAIL.
|
|
661
|
-
* @internal
|
|
662
|
-
*/
|
|
540
|
+
/** Metadata for EMAIL. */
|
|
663
541
|
email?: Email;
|
|
664
|
-
/**
|
|
665
|
-
* Metadata for LEGACY_COLOR.
|
|
666
|
-
* @internal
|
|
667
|
-
*/
|
|
542
|
+
/** Metadata for LEGACY_COLOR. */
|
|
668
543
|
legacyColor?: LegacyColor;
|
|
669
|
-
/**
|
|
670
|
-
* Metadata for MEDIA_IMAGE.
|
|
671
|
-
* @internal
|
|
672
|
-
*/
|
|
544
|
+
/** Metadata for MEDIA_IMAGE. */
|
|
673
545
|
mediaImage?: MediaImage;
|
|
674
546
|
}
|
|
675
547
|
interface FieldCapabilities {
|
|
@@ -805,10 +677,7 @@ interface _Object {
|
|
|
805
677
|
* @maxSize 1000
|
|
806
678
|
*/
|
|
807
679
|
fields?: ObjectField[];
|
|
808
|
-
/**
|
|
809
|
-
* Value assigned when a data item omits this field.
|
|
810
|
-
* @internal
|
|
811
|
-
*/
|
|
680
|
+
/** Value assigned when a data item omits this field. */
|
|
812
681
|
defaultValue?: Record<string, any> | null;
|
|
813
682
|
}
|
|
814
683
|
interface _Array {
|
|
@@ -816,17 +685,10 @@ interface _Array {
|
|
|
816
685
|
elementType?: TypeWithLiterals;
|
|
817
686
|
/** Type-specific configuration, such as the referenced collection for a reference field or the calculation pattern for a page link. */
|
|
818
687
|
typeMetadata?: TypeMetadata;
|
|
819
|
-
/**
|
|
820
|
-
* Minimum permitted number of items in an array field.
|
|
821
|
-
* @internal
|
|
822
|
-
*/
|
|
688
|
+
/** Minimum permitted number of items in an array field. */
|
|
823
689
|
minSize?: number | null;
|
|
824
|
-
/**
|
|
825
|
-
* Maximum permitted number of items in an array field.
|
|
826
|
-
* @internal
|
|
827
|
-
*/
|
|
690
|
+
/** Maximum permitted number of items in an array field. */
|
|
828
691
|
maxSize?: number | null;
|
|
829
|
-
/** @internal */
|
|
830
692
|
defaultValue?: any[];
|
|
831
693
|
}
|
|
832
694
|
interface PageLink {
|
|
@@ -837,10 +699,7 @@ interface PageLink {
|
|
|
837
699
|
* @maxLength 1000
|
|
838
700
|
*/
|
|
839
701
|
linkedRouterPage?: string | null;
|
|
840
|
-
/**
|
|
841
|
-
* Defines the type of the page link.
|
|
842
|
-
* @internal
|
|
843
|
-
*/
|
|
702
|
+
/** Defines the type of the page link. */
|
|
844
703
|
pageLinkType?: PageLinkTypeWithLiterals;
|
|
845
704
|
}
|
|
846
705
|
interface Slug {
|
|
@@ -850,17 +709,10 @@ interface Slug {
|
|
|
850
709
|
* @maxLength 1000
|
|
851
710
|
*/
|
|
852
711
|
pattern?: string;
|
|
853
|
-
/**
|
|
854
|
-
* Minimum permitted length for a string field.
|
|
855
|
-
* @internal
|
|
856
|
-
*/
|
|
712
|
+
/** Minimum permitted length for a string field. */
|
|
857
713
|
minLength?: number | null;
|
|
858
|
-
/**
|
|
859
|
-
* Maximum permitted length for a string field.
|
|
860
|
-
* @internal
|
|
861
|
-
*/
|
|
714
|
+
/** Maximum permitted length for a string field. */
|
|
862
715
|
maxLength?: number | null;
|
|
863
|
-
/** @internal */
|
|
864
716
|
defaultValue?: string | null;
|
|
865
717
|
}
|
|
866
718
|
interface Text extends TextValidationOneOf {
|
|
@@ -1767,10 +1619,7 @@ interface GetDataCollectionRequest {
|
|
|
1767
1619
|
* @internal
|
|
1768
1620
|
*/
|
|
1769
1621
|
includeDeletedFields?: boolean;
|
|
1770
|
-
/**
|
|
1771
|
-
* If set allowed for caller data permissions would be included in the response
|
|
1772
|
-
* @internal
|
|
1773
|
-
*/
|
|
1622
|
+
/** If set allowed for caller data permissions would be included in the response */
|
|
1774
1623
|
includeAllowedDataPermissions?: boolean;
|
|
1775
1624
|
/**
|
|
1776
1625
|
* Segment: PUBLIC or DEV.
|
|
@@ -1827,10 +1676,7 @@ interface ListDataCollectionsRequest {
|
|
|
1827
1676
|
* Default: `false`
|
|
1828
1677
|
*/
|
|
1829
1678
|
consistentRead?: boolean;
|
|
1830
|
-
/**
|
|
1831
|
-
* If set allowed for caller data permissions would be included in the response
|
|
1832
|
-
* @internal
|
|
1833
|
-
*/
|
|
1679
|
+
/** If set allowed for caller data permissions would be included in the response */
|
|
1834
1680
|
includeAllowedDataPermissions?: boolean;
|
|
1835
1681
|
/**
|
|
1836
1682
|
* Segment: PUBLIC or DEV.
|
|
@@ -1928,10 +1774,7 @@ interface BulkGetDataCollectionsRequest {
|
|
|
1928
1774
|
* Default: `false`
|
|
1929
1775
|
*/
|
|
1930
1776
|
consistentRead?: boolean;
|
|
1931
|
-
/**
|
|
1932
|
-
* If set allowed for caller data permissions would be included in the response
|
|
1933
|
-
* @internal
|
|
1934
|
-
*/
|
|
1777
|
+
/** If set allowed for caller data permissions would be included in the response */
|
|
1935
1778
|
includeAllowedDataPermissions?: boolean;
|
|
1936
1779
|
/**
|
|
1937
1780
|
* Segment: PUBLIC or DEV.
|