@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
|
@@ -372,14 +372,23 @@ function createDataCollection(payload) {
|
|
|
372
372
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
373
373
|
paths: [
|
|
374
374
|
{ path: "collection.createdDate" },
|
|
375
|
-
{ path: "collection.updatedDate" }
|
|
375
|
+
{ path: "collection.updatedDate" },
|
|
376
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
377
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
378
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
379
|
+
{ path: "collection.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
380
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
381
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
376
382
|
]
|
|
377
383
|
},
|
|
378
384
|
{
|
|
379
385
|
transformFn: transformSDKFloatToRESTFloat,
|
|
380
386
|
paths: [
|
|
381
387
|
{ path: "collection.fields.numberRange.min" },
|
|
382
|
-
{ path: "collection.fields.numberRange.max" }
|
|
388
|
+
{ path: "collection.fields.numberRange.max" },
|
|
389
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
390
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
391
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
383
392
|
]
|
|
384
393
|
}
|
|
385
394
|
]);
|
|
@@ -400,14 +409,25 @@ function createDataCollection(payload) {
|
|
|
400
409
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
401
410
|
paths: [
|
|
402
411
|
{ path: "collection.createdDate" },
|
|
403
|
-
{ path: "collection.updatedDate" }
|
|
412
|
+
{ path: "collection.updatedDate" },
|
|
413
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
414
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
415
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
416
|
+
{
|
|
417
|
+
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
418
|
+
},
|
|
419
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
420
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
404
421
|
]
|
|
405
422
|
},
|
|
406
423
|
{
|
|
407
424
|
transformFn: transformRESTFloatToSDKFloat,
|
|
408
425
|
paths: [
|
|
409
426
|
{ path: "collection.fields.numberRange.min" },
|
|
410
|
-
{ path: "collection.fields.numberRange.max" }
|
|
427
|
+
{ path: "collection.fields.numberRange.max" },
|
|
428
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
429
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
430
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
411
431
|
]
|
|
412
432
|
}
|
|
413
433
|
])
|
|
@@ -436,8 +456,34 @@ function getDataCollection(payload) {
|
|
|
436
456
|
paths: [
|
|
437
457
|
{ path: "collection.createdDate" },
|
|
438
458
|
{ path: "collection.updatedDate" },
|
|
459
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
460
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
461
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
462
|
+
{
|
|
463
|
+
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
464
|
+
},
|
|
465
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
466
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" },
|
|
439
467
|
{ path: "referencedCollections.createdDate" },
|
|
440
|
-
{ path: "referencedCollections.updatedDate" }
|
|
468
|
+
{ path: "referencedCollections.updatedDate" },
|
|
469
|
+
{
|
|
470
|
+
path: "referencedCollections.fields.typeMetadata.date.defaultValueFixed"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
path: "referencedCollections.fields.typeMetadata.date.minDateFixed"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
path: "referencedCollections.fields.typeMetadata.date.maxDateFixed"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
path: "referencedCollections.fields.typeMetadata.datetime.defaultValueFixed"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
path: "referencedCollections.fields.typeMetadata.datetime.minDateFixed"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
path: "referencedCollections.fields.typeMetadata.datetime.maxDateFixed"
|
|
486
|
+
}
|
|
441
487
|
]
|
|
442
488
|
},
|
|
443
489
|
{
|
|
@@ -445,8 +491,16 @@ function getDataCollection(payload) {
|
|
|
445
491
|
paths: [
|
|
446
492
|
{ path: "collection.fields.numberRange.min" },
|
|
447
493
|
{ path: "collection.fields.numberRange.max" },
|
|
494
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
495
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
496
|
+
{ path: "collection.fields.typeMetadata.number.max" },
|
|
448
497
|
{ path: "referencedCollections.fields.numberRange.min" },
|
|
449
|
-
{ path: "referencedCollections.fields.numberRange.max" }
|
|
498
|
+
{ path: "referencedCollections.fields.numberRange.max" },
|
|
499
|
+
{
|
|
500
|
+
path: "referencedCollections.fields.typeMetadata.number.defaultValue"
|
|
501
|
+
},
|
|
502
|
+
{ path: "referencedCollections.fields.typeMetadata.number.min" },
|
|
503
|
+
{ path: "referencedCollections.fields.typeMetadata.number.max" }
|
|
450
504
|
]
|
|
451
505
|
}
|
|
452
506
|
])
|
|
@@ -474,14 +528,27 @@ function listDataCollections(payload) {
|
|
|
474
528
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
475
529
|
paths: [
|
|
476
530
|
{ path: "collections.createdDate" },
|
|
477
|
-
{ path: "collections.updatedDate" }
|
|
531
|
+
{ path: "collections.updatedDate" },
|
|
532
|
+
{
|
|
533
|
+
path: "collections.fields.typeMetadata.date.defaultValueFixed"
|
|
534
|
+
},
|
|
535
|
+
{ path: "collections.fields.typeMetadata.date.minDateFixed" },
|
|
536
|
+
{ path: "collections.fields.typeMetadata.date.maxDateFixed" },
|
|
537
|
+
{
|
|
538
|
+
path: "collections.fields.typeMetadata.datetime.defaultValueFixed"
|
|
539
|
+
},
|
|
540
|
+
{ path: "collections.fields.typeMetadata.datetime.minDateFixed" },
|
|
541
|
+
{ path: "collections.fields.typeMetadata.datetime.maxDateFixed" }
|
|
478
542
|
]
|
|
479
543
|
},
|
|
480
544
|
{
|
|
481
545
|
transformFn: transformRESTFloatToSDKFloat,
|
|
482
546
|
paths: [
|
|
483
547
|
{ path: "collections.fields.numberRange.min" },
|
|
484
|
-
{ path: "collections.fields.numberRange.max" }
|
|
548
|
+
{ path: "collections.fields.numberRange.max" },
|
|
549
|
+
{ path: "collections.fields.typeMetadata.number.defaultValue" },
|
|
550
|
+
{ path: "collections.fields.typeMetadata.number.min" },
|
|
551
|
+
{ path: "collections.fields.typeMetadata.number.max" }
|
|
485
552
|
]
|
|
486
553
|
}
|
|
487
554
|
])
|
|
@@ -497,14 +564,23 @@ function updateDataCollection(payload) {
|
|
|
497
564
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
498
565
|
paths: [
|
|
499
566
|
{ path: "collection.createdDate" },
|
|
500
|
-
{ path: "collection.updatedDate" }
|
|
567
|
+
{ path: "collection.updatedDate" },
|
|
568
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
569
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
570
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
571
|
+
{ path: "collection.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
572
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
573
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
501
574
|
]
|
|
502
575
|
},
|
|
503
576
|
{
|
|
504
577
|
transformFn: transformSDKFloatToRESTFloat,
|
|
505
578
|
paths: [
|
|
506
579
|
{ path: "collection.fields.numberRange.min" },
|
|
507
|
-
{ path: "collection.fields.numberRange.max" }
|
|
580
|
+
{ path: "collection.fields.numberRange.max" },
|
|
581
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
582
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
583
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
508
584
|
]
|
|
509
585
|
}
|
|
510
586
|
]);
|
|
@@ -525,14 +601,25 @@ function updateDataCollection(payload) {
|
|
|
525
601
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
526
602
|
paths: [
|
|
527
603
|
{ path: "collection.createdDate" },
|
|
528
|
-
{ path: "collection.updatedDate" }
|
|
604
|
+
{ path: "collection.updatedDate" },
|
|
605
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
606
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
607
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
608
|
+
{
|
|
609
|
+
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
610
|
+
},
|
|
611
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
612
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
529
613
|
]
|
|
530
614
|
},
|
|
531
615
|
{
|
|
532
616
|
transformFn: transformRESTFloatToSDKFloat,
|
|
533
617
|
paths: [
|
|
534
618
|
{ path: "collection.fields.numberRange.min" },
|
|
535
|
-
{ path: "collection.fields.numberRange.max" }
|
|
619
|
+
{ path: "collection.fields.numberRange.max" },
|
|
620
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
621
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
622
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
536
623
|
]
|
|
537
624
|
}
|
|
538
625
|
])
|
|
@@ -583,14 +670,33 @@ function restoreDataCollection(payload) {
|
|
|
583
670
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
584
671
|
paths: [
|
|
585
672
|
{ path: "dataCollection.createdDate" },
|
|
586
|
-
{ path: "dataCollection.updatedDate" }
|
|
673
|
+
{ path: "dataCollection.updatedDate" },
|
|
674
|
+
{
|
|
675
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
676
|
+
},
|
|
677
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
678
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
679
|
+
{
|
|
680
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
687
|
+
}
|
|
587
688
|
]
|
|
588
689
|
},
|
|
589
690
|
{
|
|
590
691
|
transformFn: transformRESTFloatToSDKFloat,
|
|
591
692
|
paths: [
|
|
592
693
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
593
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
694
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
695
|
+
{
|
|
696
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
697
|
+
},
|
|
698
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
699
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
594
700
|
]
|
|
595
701
|
}
|
|
596
702
|
])
|
|
@@ -610,14 +716,25 @@ function patchDataCollection(payload) {
|
|
|
610
716
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
611
717
|
paths: [
|
|
612
718
|
{ path: "dataCollection.createdDate" },
|
|
613
|
-
{ path: "dataCollection.updatedDate" }
|
|
719
|
+
{ path: "dataCollection.updatedDate" },
|
|
720
|
+
{ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed" },
|
|
721
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
722
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
723
|
+
{
|
|
724
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
725
|
+
},
|
|
726
|
+
{ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed" },
|
|
727
|
+
{ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
614
728
|
]
|
|
615
729
|
},
|
|
616
730
|
{
|
|
617
731
|
transformFn: transformSDKFloatToRESTFloat,
|
|
618
732
|
paths: [
|
|
619
733
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
620
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
734
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
735
|
+
{ path: "dataCollection.fields.typeMetadata.number.defaultValue" },
|
|
736
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
737
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
621
738
|
]
|
|
622
739
|
}
|
|
623
740
|
]);
|
|
@@ -642,14 +759,33 @@ function patchDataCollection(payload) {
|
|
|
642
759
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
643
760
|
paths: [
|
|
644
761
|
{ path: "dataCollection.createdDate" },
|
|
645
|
-
{ path: "dataCollection.updatedDate" }
|
|
762
|
+
{ path: "dataCollection.updatedDate" },
|
|
763
|
+
{
|
|
764
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
765
|
+
},
|
|
766
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
767
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
768
|
+
{
|
|
769
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
776
|
+
}
|
|
646
777
|
]
|
|
647
778
|
},
|
|
648
779
|
{
|
|
649
780
|
transformFn: transformRESTFloatToSDKFloat,
|
|
650
781
|
paths: [
|
|
651
782
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
652
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
783
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
784
|
+
{
|
|
785
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
786
|
+
},
|
|
787
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
788
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
653
789
|
]
|
|
654
790
|
}
|
|
655
791
|
])
|
|
@@ -665,7 +801,21 @@ function createDataCollectionField(payload) {
|
|
|
665
801
|
transformFn: transformSDKFloatToRESTFloat,
|
|
666
802
|
paths: [
|
|
667
803
|
{ path: "field.numberRange.min" },
|
|
668
|
-
{ path: "field.numberRange.max" }
|
|
804
|
+
{ path: "field.numberRange.max" },
|
|
805
|
+
{ path: "field.typeMetadata.number.defaultValue" },
|
|
806
|
+
{ path: "field.typeMetadata.number.min" },
|
|
807
|
+
{ path: "field.typeMetadata.number.max" }
|
|
808
|
+
]
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
812
|
+
paths: [
|
|
813
|
+
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
814
|
+
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
815
|
+
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
816
|
+
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
817
|
+
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
818
|
+
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
669
819
|
]
|
|
670
820
|
}
|
|
671
821
|
]);
|
|
@@ -690,14 +840,33 @@ function createDataCollectionField(payload) {
|
|
|
690
840
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
691
841
|
paths: [
|
|
692
842
|
{ path: "dataCollection.createdDate" },
|
|
693
|
-
{ path: "dataCollection.updatedDate" }
|
|
843
|
+
{ path: "dataCollection.updatedDate" },
|
|
844
|
+
{
|
|
845
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
846
|
+
},
|
|
847
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
848
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
849
|
+
{
|
|
850
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
851
|
+
},
|
|
852
|
+
{
|
|
853
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
857
|
+
}
|
|
694
858
|
]
|
|
695
859
|
},
|
|
696
860
|
{
|
|
697
861
|
transformFn: transformRESTFloatToSDKFloat,
|
|
698
862
|
paths: [
|
|
699
863
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
700
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
864
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
865
|
+
{
|
|
866
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
867
|
+
},
|
|
868
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
869
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
701
870
|
]
|
|
702
871
|
}
|
|
703
872
|
])
|
|
@@ -713,7 +882,21 @@ function updateDataCollectionField(payload) {
|
|
|
713
882
|
transformFn: transformSDKFloatToRESTFloat,
|
|
714
883
|
paths: [
|
|
715
884
|
{ path: "field.numberRange.min" },
|
|
716
|
-
{ path: "field.numberRange.max" }
|
|
885
|
+
{ path: "field.numberRange.max" },
|
|
886
|
+
{ path: "field.typeMetadata.number.defaultValue" },
|
|
887
|
+
{ path: "field.typeMetadata.number.min" },
|
|
888
|
+
{ path: "field.typeMetadata.number.max" }
|
|
889
|
+
]
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
893
|
+
paths: [
|
|
894
|
+
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
895
|
+
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
896
|
+
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
897
|
+
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
898
|
+
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
899
|
+
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
717
900
|
]
|
|
718
901
|
}
|
|
719
902
|
]);
|
|
@@ -738,14 +921,33 @@ function updateDataCollectionField(payload) {
|
|
|
738
921
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
739
922
|
paths: [
|
|
740
923
|
{ path: "dataCollection.createdDate" },
|
|
741
|
-
{ path: "dataCollection.updatedDate" }
|
|
924
|
+
{ path: "dataCollection.updatedDate" },
|
|
925
|
+
{
|
|
926
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
927
|
+
},
|
|
928
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
929
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
930
|
+
{
|
|
931
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
932
|
+
},
|
|
933
|
+
{
|
|
934
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
938
|
+
}
|
|
742
939
|
]
|
|
743
940
|
},
|
|
744
941
|
{
|
|
745
942
|
transformFn: transformRESTFloatToSDKFloat,
|
|
746
943
|
paths: [
|
|
747
944
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
748
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
945
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
946
|
+
{
|
|
947
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
948
|
+
},
|
|
949
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
950
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
749
951
|
]
|
|
750
952
|
}
|
|
751
953
|
])
|
|
@@ -773,14 +975,33 @@ function deleteDataCollectionField(payload) {
|
|
|
773
975
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
774
976
|
paths: [
|
|
775
977
|
{ path: "dataCollection.createdDate" },
|
|
776
|
-
{ path: "dataCollection.updatedDate" }
|
|
978
|
+
{ path: "dataCollection.updatedDate" },
|
|
979
|
+
{
|
|
980
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
981
|
+
},
|
|
982
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
983
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
984
|
+
{
|
|
985
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
989
|
+
},
|
|
990
|
+
{
|
|
991
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
992
|
+
}
|
|
777
993
|
]
|
|
778
994
|
},
|
|
779
995
|
{
|
|
780
996
|
transformFn: transformRESTFloatToSDKFloat,
|
|
781
997
|
paths: [
|
|
782
998
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
783
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
999
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1000
|
+
{
|
|
1001
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1002
|
+
},
|
|
1003
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1004
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
784
1005
|
]
|
|
785
1006
|
}
|
|
786
1007
|
])
|
|
@@ -808,14 +1029,33 @@ function addDataCollectionPlugin(payload) {
|
|
|
808
1029
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
809
1030
|
paths: [
|
|
810
1031
|
{ path: "dataCollection.createdDate" },
|
|
811
|
-
{ path: "dataCollection.updatedDate" }
|
|
1032
|
+
{ path: "dataCollection.updatedDate" },
|
|
1033
|
+
{
|
|
1034
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1035
|
+
},
|
|
1036
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1037
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1038
|
+
{
|
|
1039
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1046
|
+
}
|
|
812
1047
|
]
|
|
813
1048
|
},
|
|
814
1049
|
{
|
|
815
1050
|
transformFn: transformRESTFloatToSDKFloat,
|
|
816
1051
|
paths: [
|
|
817
1052
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
818
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1053
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1054
|
+
{
|
|
1055
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1056
|
+
},
|
|
1057
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1058
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
819
1059
|
]
|
|
820
1060
|
}
|
|
821
1061
|
])
|
|
@@ -843,14 +1083,33 @@ function deleteDataCollectionPlugin(payload) {
|
|
|
843
1083
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
844
1084
|
paths: [
|
|
845
1085
|
{ path: "dataCollection.createdDate" },
|
|
846
|
-
{ path: "dataCollection.updatedDate" }
|
|
1086
|
+
{ path: "dataCollection.updatedDate" },
|
|
1087
|
+
{
|
|
1088
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1089
|
+
},
|
|
1090
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1091
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1092
|
+
{
|
|
1093
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1100
|
+
}
|
|
847
1101
|
]
|
|
848
1102
|
},
|
|
849
1103
|
{
|
|
850
1104
|
transformFn: transformRESTFloatToSDKFloat,
|
|
851
1105
|
paths: [
|
|
852
1106
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
853
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1107
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1108
|
+
{
|
|
1109
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1110
|
+
},
|
|
1111
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1112
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
854
1113
|
]
|
|
855
1114
|
}
|
|
856
1115
|
])
|
|
@@ -870,7 +1129,21 @@ function patchDataCollectionField(payload) {
|
|
|
870
1129
|
transformFn: transformSDKFloatToRESTFloat,
|
|
871
1130
|
paths: [
|
|
872
1131
|
{ path: "field.numberRange.min" },
|
|
873
|
-
{ path: "field.numberRange.max" }
|
|
1132
|
+
{ path: "field.numberRange.max" },
|
|
1133
|
+
{ path: "field.typeMetadata.number.defaultValue" },
|
|
1134
|
+
{ path: "field.typeMetadata.number.min" },
|
|
1135
|
+
{ path: "field.typeMetadata.number.max" }
|
|
1136
|
+
]
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
1140
|
+
paths: [
|
|
1141
|
+
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
1142
|
+
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
1143
|
+
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
1144
|
+
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
1145
|
+
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
1146
|
+
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
874
1147
|
]
|
|
875
1148
|
}
|
|
876
1149
|
]);
|
|
@@ -895,14 +1168,33 @@ function patchDataCollectionField(payload) {
|
|
|
895
1168
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
896
1169
|
paths: [
|
|
897
1170
|
{ path: "dataCollection.createdDate" },
|
|
898
|
-
{ path: "dataCollection.updatedDate" }
|
|
1171
|
+
{ path: "dataCollection.updatedDate" },
|
|
1172
|
+
{
|
|
1173
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1174
|
+
},
|
|
1175
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1176
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1177
|
+
{
|
|
1178
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1185
|
+
}
|
|
899
1186
|
]
|
|
900
1187
|
},
|
|
901
1188
|
{
|
|
902
1189
|
transformFn: transformRESTFloatToSDKFloat,
|
|
903
1190
|
paths: [
|
|
904
1191
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
905
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1192
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1193
|
+
{
|
|
1194
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1195
|
+
},
|
|
1196
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1197
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
906
1198
|
]
|
|
907
1199
|
}
|
|
908
1200
|
])
|