@wix/auto_sdk_data_collections 1.0.54 → 1.0.56
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 +1 -1
- package/build/cjs/index.js +325 -33
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +161 -1
- package/build/cjs/index.typings.js +325 -33
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +161 -1
- package/build/cjs/meta.js +325 -33
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +325 -33
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +161 -1
- package/build/es/index.typings.mjs +325 -33
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +161 -1
- package/build/es/meta.mjs +325 -33
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +325 -33
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +161 -1
- package/build/internal/cjs/index.typings.js +325 -33
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +161 -1
- package/build/internal/cjs/meta.js +325 -33
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +325 -33
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +161 -1
- package/build/internal/es/index.typings.mjs +325 -33
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +161 -1
- package/build/internal/es/meta.mjs +325 -33
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -431,14 +431,23 @@ function createDataCollection(payload) {
|
|
|
431
431
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
432
432
|
paths: [
|
|
433
433
|
{ path: "collection.createdDate" },
|
|
434
|
-
{ path: "collection.updatedDate" }
|
|
434
|
+
{ path: "collection.updatedDate" },
|
|
435
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
436
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
437
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
438
|
+
{ path: "collection.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
439
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
440
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
435
441
|
]
|
|
436
442
|
},
|
|
437
443
|
{
|
|
438
444
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
439
445
|
paths: [
|
|
440
446
|
{ path: "collection.fields.numberRange.min" },
|
|
441
|
-
{ path: "collection.fields.numberRange.max" }
|
|
447
|
+
{ path: "collection.fields.numberRange.max" },
|
|
448
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
449
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
450
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
442
451
|
]
|
|
443
452
|
}
|
|
444
453
|
]);
|
|
@@ -459,14 +468,25 @@ function createDataCollection(payload) {
|
|
|
459
468
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
460
469
|
paths: [
|
|
461
470
|
{ path: "collection.createdDate" },
|
|
462
|
-
{ path: "collection.updatedDate" }
|
|
471
|
+
{ path: "collection.updatedDate" },
|
|
472
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
473
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
474
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
475
|
+
{
|
|
476
|
+
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
477
|
+
},
|
|
478
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
479
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
463
480
|
]
|
|
464
481
|
},
|
|
465
482
|
{
|
|
466
483
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
467
484
|
paths: [
|
|
468
485
|
{ path: "collection.fields.numberRange.min" },
|
|
469
|
-
{ path: "collection.fields.numberRange.max" }
|
|
486
|
+
{ path: "collection.fields.numberRange.max" },
|
|
487
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
488
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
489
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
470
490
|
]
|
|
471
491
|
}
|
|
472
492
|
])
|
|
@@ -495,8 +515,34 @@ function getDataCollection(payload) {
|
|
|
495
515
|
paths: [
|
|
496
516
|
{ path: "collection.createdDate" },
|
|
497
517
|
{ path: "collection.updatedDate" },
|
|
518
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
519
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
520
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
521
|
+
{
|
|
522
|
+
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
523
|
+
},
|
|
524
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
525
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" },
|
|
498
526
|
{ path: "referencedCollections.createdDate" },
|
|
499
|
-
{ path: "referencedCollections.updatedDate" }
|
|
527
|
+
{ path: "referencedCollections.updatedDate" },
|
|
528
|
+
{
|
|
529
|
+
path: "referencedCollections.fields.typeMetadata.date.defaultValueFixed"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
path: "referencedCollections.fields.typeMetadata.date.minDateFixed"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
path: "referencedCollections.fields.typeMetadata.date.maxDateFixed"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
path: "referencedCollections.fields.typeMetadata.datetime.defaultValueFixed"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
path: "referencedCollections.fields.typeMetadata.datetime.minDateFixed"
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
path: "referencedCollections.fields.typeMetadata.datetime.maxDateFixed"
|
|
545
|
+
}
|
|
500
546
|
]
|
|
501
547
|
},
|
|
502
548
|
{
|
|
@@ -504,8 +550,16 @@ function getDataCollection(payload) {
|
|
|
504
550
|
paths: [
|
|
505
551
|
{ path: "collection.fields.numberRange.min" },
|
|
506
552
|
{ path: "collection.fields.numberRange.max" },
|
|
553
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
554
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
555
|
+
{ path: "collection.fields.typeMetadata.number.max" },
|
|
507
556
|
{ path: "referencedCollections.fields.numberRange.min" },
|
|
508
|
-
{ path: "referencedCollections.fields.numberRange.max" }
|
|
557
|
+
{ path: "referencedCollections.fields.numberRange.max" },
|
|
558
|
+
{
|
|
559
|
+
path: "referencedCollections.fields.typeMetadata.number.defaultValue"
|
|
560
|
+
},
|
|
561
|
+
{ path: "referencedCollections.fields.typeMetadata.number.min" },
|
|
562
|
+
{ path: "referencedCollections.fields.typeMetadata.number.max" }
|
|
509
563
|
]
|
|
510
564
|
}
|
|
511
565
|
])
|
|
@@ -533,14 +587,27 @@ function listDataCollections(payload) {
|
|
|
533
587
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
534
588
|
paths: [
|
|
535
589
|
{ path: "collections.createdDate" },
|
|
536
|
-
{ path: "collections.updatedDate" }
|
|
590
|
+
{ path: "collections.updatedDate" },
|
|
591
|
+
{
|
|
592
|
+
path: "collections.fields.typeMetadata.date.defaultValueFixed"
|
|
593
|
+
},
|
|
594
|
+
{ path: "collections.fields.typeMetadata.date.minDateFixed" },
|
|
595
|
+
{ path: "collections.fields.typeMetadata.date.maxDateFixed" },
|
|
596
|
+
{
|
|
597
|
+
path: "collections.fields.typeMetadata.datetime.defaultValueFixed"
|
|
598
|
+
},
|
|
599
|
+
{ path: "collections.fields.typeMetadata.datetime.minDateFixed" },
|
|
600
|
+
{ path: "collections.fields.typeMetadata.datetime.maxDateFixed" }
|
|
537
601
|
]
|
|
538
602
|
},
|
|
539
603
|
{
|
|
540
604
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
541
605
|
paths: [
|
|
542
606
|
{ path: "collections.fields.numberRange.min" },
|
|
543
|
-
{ path: "collections.fields.numberRange.max" }
|
|
607
|
+
{ path: "collections.fields.numberRange.max" },
|
|
608
|
+
{ path: "collections.fields.typeMetadata.number.defaultValue" },
|
|
609
|
+
{ path: "collections.fields.typeMetadata.number.min" },
|
|
610
|
+
{ path: "collections.fields.typeMetadata.number.max" }
|
|
544
611
|
]
|
|
545
612
|
}
|
|
546
613
|
])
|
|
@@ -556,14 +623,23 @@ function updateDataCollection(payload) {
|
|
|
556
623
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
557
624
|
paths: [
|
|
558
625
|
{ path: "collection.createdDate" },
|
|
559
|
-
{ path: "collection.updatedDate" }
|
|
626
|
+
{ path: "collection.updatedDate" },
|
|
627
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
628
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
629
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
630
|
+
{ path: "collection.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
631
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
632
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
560
633
|
]
|
|
561
634
|
},
|
|
562
635
|
{
|
|
563
636
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
564
637
|
paths: [
|
|
565
638
|
{ path: "collection.fields.numberRange.min" },
|
|
566
|
-
{ path: "collection.fields.numberRange.max" }
|
|
639
|
+
{ path: "collection.fields.numberRange.max" },
|
|
640
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
641
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
642
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
567
643
|
]
|
|
568
644
|
}
|
|
569
645
|
]);
|
|
@@ -584,14 +660,25 @@ function updateDataCollection(payload) {
|
|
|
584
660
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
585
661
|
paths: [
|
|
586
662
|
{ path: "collection.createdDate" },
|
|
587
|
-
{ path: "collection.updatedDate" }
|
|
663
|
+
{ path: "collection.updatedDate" },
|
|
664
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
665
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
666
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
667
|
+
{
|
|
668
|
+
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
669
|
+
},
|
|
670
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
671
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
588
672
|
]
|
|
589
673
|
},
|
|
590
674
|
{
|
|
591
675
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
592
676
|
paths: [
|
|
593
677
|
{ path: "collection.fields.numberRange.min" },
|
|
594
|
-
{ path: "collection.fields.numberRange.max" }
|
|
678
|
+
{ path: "collection.fields.numberRange.max" },
|
|
679
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
680
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
681
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
595
682
|
]
|
|
596
683
|
}
|
|
597
684
|
])
|
|
@@ -642,14 +729,33 @@ function restoreDataCollection(payload) {
|
|
|
642
729
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
643
730
|
paths: [
|
|
644
731
|
{ path: "dataCollection.createdDate" },
|
|
645
|
-
{ path: "dataCollection.updatedDate" }
|
|
732
|
+
{ path: "dataCollection.updatedDate" },
|
|
733
|
+
{
|
|
734
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
735
|
+
},
|
|
736
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
737
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
738
|
+
{
|
|
739
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
746
|
+
}
|
|
646
747
|
]
|
|
647
748
|
},
|
|
648
749
|
{
|
|
649
750
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
650
751
|
paths: [
|
|
651
752
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
652
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
753
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
754
|
+
{
|
|
755
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
756
|
+
},
|
|
757
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
758
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
653
759
|
]
|
|
654
760
|
}
|
|
655
761
|
])
|
|
@@ -669,14 +775,25 @@ function patchDataCollection(payload) {
|
|
|
669
775
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
670
776
|
paths: [
|
|
671
777
|
{ path: "dataCollection.createdDate" },
|
|
672
|
-
{ path: "dataCollection.updatedDate" }
|
|
778
|
+
{ path: "dataCollection.updatedDate" },
|
|
779
|
+
{ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed" },
|
|
780
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
781
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
782
|
+
{
|
|
783
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
784
|
+
},
|
|
785
|
+
{ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed" },
|
|
786
|
+
{ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
673
787
|
]
|
|
674
788
|
},
|
|
675
789
|
{
|
|
676
790
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
677
791
|
paths: [
|
|
678
792
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
679
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
793
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
794
|
+
{ path: "dataCollection.fields.typeMetadata.number.defaultValue" },
|
|
795
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
796
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
680
797
|
]
|
|
681
798
|
}
|
|
682
799
|
]);
|
|
@@ -701,14 +818,33 @@ function patchDataCollection(payload) {
|
|
|
701
818
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
702
819
|
paths: [
|
|
703
820
|
{ path: "dataCollection.createdDate" },
|
|
704
|
-
{ path: "dataCollection.updatedDate" }
|
|
821
|
+
{ path: "dataCollection.updatedDate" },
|
|
822
|
+
{
|
|
823
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
824
|
+
},
|
|
825
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
826
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
827
|
+
{
|
|
828
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
832
|
+
},
|
|
833
|
+
{
|
|
834
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
835
|
+
}
|
|
705
836
|
]
|
|
706
837
|
},
|
|
707
838
|
{
|
|
708
839
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
709
840
|
paths: [
|
|
710
841
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
711
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
842
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
843
|
+
{
|
|
844
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
845
|
+
},
|
|
846
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
847
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
712
848
|
]
|
|
713
849
|
}
|
|
714
850
|
])
|
|
@@ -724,7 +860,21 @@ function createDataCollectionField(payload) {
|
|
|
724
860
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
725
861
|
paths: [
|
|
726
862
|
{ path: "field.numberRange.min" },
|
|
727
|
-
{ path: "field.numberRange.max" }
|
|
863
|
+
{ path: "field.numberRange.max" },
|
|
864
|
+
{ path: "field.typeMetadata.number.defaultValue" },
|
|
865
|
+
{ path: "field.typeMetadata.number.min" },
|
|
866
|
+
{ path: "field.typeMetadata.number.max" }
|
|
867
|
+
]
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
871
|
+
paths: [
|
|
872
|
+
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
873
|
+
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
874
|
+
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
875
|
+
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
876
|
+
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
877
|
+
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
728
878
|
]
|
|
729
879
|
}
|
|
730
880
|
]);
|
|
@@ -749,14 +899,33 @@ function createDataCollectionField(payload) {
|
|
|
749
899
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
750
900
|
paths: [
|
|
751
901
|
{ path: "dataCollection.createdDate" },
|
|
752
|
-
{ path: "dataCollection.updatedDate" }
|
|
902
|
+
{ path: "dataCollection.updatedDate" },
|
|
903
|
+
{
|
|
904
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
905
|
+
},
|
|
906
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
907
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
908
|
+
{
|
|
909
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
916
|
+
}
|
|
753
917
|
]
|
|
754
918
|
},
|
|
755
919
|
{
|
|
756
920
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
757
921
|
paths: [
|
|
758
922
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
759
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
923
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
924
|
+
{
|
|
925
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
926
|
+
},
|
|
927
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
928
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
760
929
|
]
|
|
761
930
|
}
|
|
762
931
|
])
|
|
@@ -772,7 +941,21 @@ function updateDataCollectionField(payload) {
|
|
|
772
941
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
773
942
|
paths: [
|
|
774
943
|
{ path: "field.numberRange.min" },
|
|
775
|
-
{ path: "field.numberRange.max" }
|
|
944
|
+
{ path: "field.numberRange.max" },
|
|
945
|
+
{ path: "field.typeMetadata.number.defaultValue" },
|
|
946
|
+
{ path: "field.typeMetadata.number.min" },
|
|
947
|
+
{ path: "field.typeMetadata.number.max" }
|
|
948
|
+
]
|
|
949
|
+
},
|
|
950
|
+
{
|
|
951
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
952
|
+
paths: [
|
|
953
|
+
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
954
|
+
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
955
|
+
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
956
|
+
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
957
|
+
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
958
|
+
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
776
959
|
]
|
|
777
960
|
}
|
|
778
961
|
]);
|
|
@@ -797,14 +980,33 @@ function updateDataCollectionField(payload) {
|
|
|
797
980
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
798
981
|
paths: [
|
|
799
982
|
{ path: "dataCollection.createdDate" },
|
|
800
|
-
{ path: "dataCollection.updatedDate" }
|
|
983
|
+
{ path: "dataCollection.updatedDate" },
|
|
984
|
+
{
|
|
985
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
986
|
+
},
|
|
987
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
988
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
989
|
+
{
|
|
990
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
997
|
+
}
|
|
801
998
|
]
|
|
802
999
|
},
|
|
803
1000
|
{
|
|
804
1001
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
805
1002
|
paths: [
|
|
806
1003
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
807
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1004
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1005
|
+
{
|
|
1006
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1007
|
+
},
|
|
1008
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1009
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
808
1010
|
]
|
|
809
1011
|
}
|
|
810
1012
|
])
|
|
@@ -832,14 +1034,33 @@ function deleteDataCollectionField(payload) {
|
|
|
832
1034
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
833
1035
|
paths: [
|
|
834
1036
|
{ path: "dataCollection.createdDate" },
|
|
835
|
-
{ path: "dataCollection.updatedDate" }
|
|
1037
|
+
{ path: "dataCollection.updatedDate" },
|
|
1038
|
+
{
|
|
1039
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1040
|
+
},
|
|
1041
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1042
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1043
|
+
{
|
|
1044
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1051
|
+
}
|
|
836
1052
|
]
|
|
837
1053
|
},
|
|
838
1054
|
{
|
|
839
1055
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
840
1056
|
paths: [
|
|
841
1057
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
842
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1058
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1059
|
+
{
|
|
1060
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1061
|
+
},
|
|
1062
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1063
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
843
1064
|
]
|
|
844
1065
|
}
|
|
845
1066
|
])
|
|
@@ -867,14 +1088,33 @@ function addDataCollectionPlugin(payload) {
|
|
|
867
1088
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
868
1089
|
paths: [
|
|
869
1090
|
{ path: "dataCollection.createdDate" },
|
|
870
|
-
{ path: "dataCollection.updatedDate" }
|
|
1091
|
+
{ path: "dataCollection.updatedDate" },
|
|
1092
|
+
{
|
|
1093
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1094
|
+
},
|
|
1095
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1096
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1097
|
+
{
|
|
1098
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1105
|
+
}
|
|
871
1106
|
]
|
|
872
1107
|
},
|
|
873
1108
|
{
|
|
874
1109
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
875
1110
|
paths: [
|
|
876
1111
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
877
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1112
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1113
|
+
{
|
|
1114
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1115
|
+
},
|
|
1116
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1117
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
878
1118
|
]
|
|
879
1119
|
}
|
|
880
1120
|
])
|
|
@@ -902,14 +1142,33 @@ function deleteDataCollectionPlugin(payload) {
|
|
|
902
1142
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
903
1143
|
paths: [
|
|
904
1144
|
{ path: "dataCollection.createdDate" },
|
|
905
|
-
{ path: "dataCollection.updatedDate" }
|
|
1145
|
+
{ path: "dataCollection.updatedDate" },
|
|
1146
|
+
{
|
|
1147
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1148
|
+
},
|
|
1149
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1150
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1151
|
+
{
|
|
1152
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1159
|
+
}
|
|
906
1160
|
]
|
|
907
1161
|
},
|
|
908
1162
|
{
|
|
909
1163
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
910
1164
|
paths: [
|
|
911
1165
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
912
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1166
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1167
|
+
{
|
|
1168
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1169
|
+
},
|
|
1170
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1171
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
913
1172
|
]
|
|
914
1173
|
}
|
|
915
1174
|
])
|
|
@@ -929,7 +1188,21 @@ function patchDataCollectionField(payload) {
|
|
|
929
1188
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
930
1189
|
paths: [
|
|
931
1190
|
{ path: "field.numberRange.min" },
|
|
932
|
-
{ path: "field.numberRange.max" }
|
|
1191
|
+
{ path: "field.numberRange.max" },
|
|
1192
|
+
{ path: "field.typeMetadata.number.defaultValue" },
|
|
1193
|
+
{ path: "field.typeMetadata.number.min" },
|
|
1194
|
+
{ path: "field.typeMetadata.number.max" }
|
|
1195
|
+
]
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
1199
|
+
paths: [
|
|
1200
|
+
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
1201
|
+
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
1202
|
+
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
1203
|
+
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
1204
|
+
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
1205
|
+
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
933
1206
|
]
|
|
934
1207
|
}
|
|
935
1208
|
]);
|
|
@@ -954,14 +1227,33 @@ function patchDataCollectionField(payload) {
|
|
|
954
1227
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
955
1228
|
paths: [
|
|
956
1229
|
{ path: "dataCollection.createdDate" },
|
|
957
|
-
{ path: "dataCollection.updatedDate" }
|
|
1230
|
+
{ path: "dataCollection.updatedDate" },
|
|
1231
|
+
{
|
|
1232
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1233
|
+
},
|
|
1234
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1235
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1236
|
+
{
|
|
1237
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1244
|
+
}
|
|
958
1245
|
]
|
|
959
1246
|
},
|
|
960
1247
|
{
|
|
961
1248
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
962
1249
|
paths: [
|
|
963
1250
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
964
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1251
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1252
|
+
{
|
|
1253
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1254
|
+
},
|
|
1255
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1256
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
965
1257
|
]
|
|
966
1258
|
}
|
|
967
1259
|
])
|