@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
2
|
import { DataCollection, GetDataCollectionOptions, ListDataCollectionsOptions, ListDataCollectionsResponse, RestoreDataCollectionResponse, PatchDataCollection, PatchDataCollectionResponse, CreateDataCollectionFieldOptions, CreateDataCollectionFieldResponse, UpdateDataCollectionFieldOptions, UpdateDataCollectionFieldResponse, DeleteDataCollectionFieldOptions, DeleteDataCollectionFieldResponse, AddDataCollectionPluginOptions, AddDataCollectionPluginResponse, DeleteDataCollectionPluginOptions, DeleteDataCollectionPluginResponse, Field, PatchDataCollectionFieldResponse } from './index.typings.js';
|
|
3
|
-
export { AccessLevel, AccessLevelWithLiterals, AccountInfo, ActionEvent, AddDataCollectionPluginRequest, AllowedDataPermissions, AppOptions, ApplicationError, ArraySizeRange, BulkGetDataCollectionsPageBySnapshotsRequest, BulkGetDataCollectionsPageBySnapshotsRequestTenantModeOptionsOneOf, BulkGetDataCollectionsPageBySnapshotsResponse, BulkGetDataCollectionsRequest, BulkGetDataCollectionsResponse, Calculator, CalculatorPatternOneOf, CatalogOptions, CmsOptions, CollectionCapabilities, CollectionDefinition, CollectionOperation, CollectionOperationWithLiterals, CollectionType, CollectionTypeWithLiterals, CreateAppCollectionsSnapshotRequest, CreateAppCollectionsSnapshotResponse, CreateDataCollectionFieldRequest, CreateDataCollectionRequest, CreateDataCollectionResponse, CreateDataCollectionsSnapshotRequest, CreateDataCollectionsSnapshotResponse, CreateMigratedCollectionsSnapshotRequest, CreateMigratedCollectionsSnapshotResponse, DataCollectionChangedEvent, DataCollectionClonedEvent, DataCollectionEvictedEvent, DataOperation, DataOperationWithLiterals, DataPermissions, DeleteDataCollectionFieldRequest, DeleteDataCollectionPluginRequest, DeleteDataCollectionRequest, DeleteDataCollectionResponse, DeleteDataCollectionsSnapshotRequest, DeleteDataCollectionsSnapshotResponse, Destination, Direction, DirectionWithLiterals, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, FailedCollection, Failure, FieldCapabilities, FieldPlugin, FieldPluginOptionsOneOf, FieldPluginType, FieldPluginTypeWithLiterals, FieldRangeValidationsOneOf, FieldUpdate, FieldsPattern, Format, FormatWithLiterals, GetDataCollectionRequest, GetDataCollectionResponse, IdentificationData, IdentificationDataIdOneOf, Index, IndexField, IndexLimits, IndexQuotaLimits, IndexSource, IndexSourceWithLiterals, IndexStatus, IndexStatusWithLiterals, ListDataCollectionsRequest, MessageEnvelope, MultiReference, MultilingualOptions, NumberRange, ObjectField, Order, OrderWithLiterals, PageLink, PageLinkPluginOptions, PageLinkType, PageLinkTypeWithLiterals, Paging, PagingMetadataV2, PagingMode, PagingModeWithLiterals, PatchDataCollectionFieldRequest, PatchDataCollectionRequest, Permissions, Plugin, PluginCmsOptions, PluginOptionsOneOf, PluginType, PluginTypeWithLiterals, PluginUpdate, PublishPluginOptions, QueryOperator, QueryOperatorWithLiterals, Reference, RestorationCollection, RestoreDataCollectionRequest, RestoreDataCollectionsFromSnapshotRequest, RestoreDataCollectionsFromSnapshotResponse, RestoreInfo, Role, RoleWithLiterals, Segment, SegmentWithLiterals, SingleItemPluginOptions, SiteSort, Slug, SnapshotCollection, Sort, SortOrder, SortOrderWithLiterals, Sorting, Status, StatusWithLiterals, StringLengthRange, TenantMode, TenantModeWithLiterals, Type, TypeMetadata, TypeMetadataMetadataOneOf, TypeWithLiterals, UpdateDataCollectionFieldRequest, UpdateDataCollectionRequest, UpdateDataCollectionResponse, UpdateDataPermissionsRequest, UpdateDataPermissionsResponse, UrlizedOnlyPattern, UrlizedPluginOptions, WebhookIdentityType, WebhookIdentityTypeWithLiterals, _Array, _Object } from './index.typings.js';
|
|
3
|
+
export { AccessLevel, AccessLevelWithLiterals, AccountInfo, ActionEvent, AddDataCollectionPluginRequest, Address, AllowedDataPermissions, AppOptions, ApplicationError, ArrayDocument, ArraySizeRange, ArrayString, Audio, BulkGetDataCollectionsPageBySnapshotsRequest, BulkGetDataCollectionsPageBySnapshotsRequestTenantModeOptionsOneOf, BulkGetDataCollectionsPageBySnapshotsResponse, BulkGetDataCollectionsRequest, BulkGetDataCollectionsResponse, Calculator, CalculatorPatternOneOf, CatalogOptions, CmsOptions, CollectionCapabilities, CollectionDefinition, CollectionOperation, CollectionOperationWithLiterals, CollectionType, CollectionTypeWithLiterals, CreateAppCollectionsSnapshotRequest, CreateAppCollectionsSnapshotResponse, CreateDataCollectionFieldRequest, CreateDataCollectionRequest, CreateDataCollectionResponse, CreateDataCollectionsSnapshotRequest, CreateDataCollectionsSnapshotResponse, CreateMigratedCollectionsSnapshotRequest, CreateMigratedCollectionsSnapshotResponse, DataCollectionChangedEvent, DataCollectionClonedEvent, DataCollectionEvictedEvent, DataOperation, DataOperationWithLiterals, DataPermissions, Datetime, DatetimeDefaultValueOneOf, DatetimeMaxDateOneOf, DatetimeMinDateOneOf, DeleteDataCollectionFieldRequest, DeleteDataCollectionPluginRequest, DeleteDataCollectionRequest, DeleteDataCollectionResponse, DeleteDataCollectionsSnapshotRequest, DeleteDataCollectionsSnapshotResponse, Destination, Direction, DirectionWithLiterals, Document, DomainEvent, DomainEventBodyOneOf, Email, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EnumValues, FailedCollection, Failure, FieldCapabilities, FieldPlugin, FieldPluginOptionsOneOf, FieldPluginType, FieldPluginTypeWithLiterals, FieldRangeValidationsOneOf, FieldUpdate, FieldsPattern, Format, FormatWithLiterals, GetDataCollectionRequest, GetDataCollectionResponse, IdentificationData, IdentificationDataIdOneOf, Image, Index, IndexField, IndexLimits, IndexQuotaLimits, IndexSource, IndexSourceWithLiterals, IndexStatus, IndexStatusWithLiterals, ListDataCollectionsRequest, MediaGallery, MessageEnvelope, MultiReference, MultilingualOptions, NumberRange, ObjectField, Order, OrderWithLiterals, PageLink, PageLinkPluginOptions, PageLinkType, PageLinkTypeWithLiterals, Paging, PagingMetadataV2, PagingMode, PagingModeWithLiterals, PatchDataCollectionFieldRequest, PatchDataCollectionRequest, Permissions, Plugin, PluginCmsOptions, PluginOptionsOneOf, PluginType, PluginTypeWithLiterals, PluginUpdate, PublishPluginOptions, QueryOperator, QueryOperatorWithLiterals, Reference, RestorationCollection, RestoreDataCollectionRequest, RestoreDataCollectionsFromSnapshotRequest, RestoreDataCollectionsFromSnapshotResponse, RestoreInfo, RichContent, RichText, Role, RoleWithLiterals, Segment, SegmentWithLiterals, SingleItemPluginOptions, SiteSort, Slug, SnapshotCollection, Sort, SortOrder, SortOrderWithLiterals, Sorting, Status, StatusWithLiterals, StringLengthRange, TenantMode, TenantModeWithLiterals, Text, TextValidation, TextValidationOneOf, Time, Type, TypeMetadata, TypeMetadataMetadataOneOf, TypeWithLiterals, UpdateDataCollectionFieldRequest, UpdateDataCollectionRequest, UpdateDataCollectionResponse, UpdateDataPermissionsRequest, UpdateDataPermissionsResponse, Url, UrlizedOnlyPattern, UrlizedPluginOptions, Video, WebhookIdentityType, WebhookIdentityTypeWithLiterals, _Array, _Boolean, _Date, _DateDefaultValueOneOf, _DateMaxDateOneOf, _DateMinDateOneOf, _Number, _Object } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createDataCollection$1(httpClient: HttpClient): CreateDataCollectionSignature;
|
|
6
6
|
interface CreateDataCollectionSignature {
|
|
@@ -435,14 +435,23 @@ function createDataCollection(payload) {
|
|
|
435
435
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
436
436
|
paths: [
|
|
437
437
|
{ path: "collection.createdDate" },
|
|
438
|
-
{ path: "collection.updatedDate" }
|
|
438
|
+
{ path: "collection.updatedDate" },
|
|
439
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
440
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
441
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
442
|
+
{ path: "collection.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
443
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
444
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
439
445
|
]
|
|
440
446
|
},
|
|
441
447
|
{
|
|
442
448
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
443
449
|
paths: [
|
|
444
450
|
{ path: "collection.fields.numberRange.min" },
|
|
445
|
-
{ path: "collection.fields.numberRange.max" }
|
|
451
|
+
{ path: "collection.fields.numberRange.max" },
|
|
452
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
453
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
454
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
446
455
|
]
|
|
447
456
|
}
|
|
448
457
|
]);
|
|
@@ -463,14 +472,25 @@ function createDataCollection(payload) {
|
|
|
463
472
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
464
473
|
paths: [
|
|
465
474
|
{ path: "collection.createdDate" },
|
|
466
|
-
{ path: "collection.updatedDate" }
|
|
475
|
+
{ path: "collection.updatedDate" },
|
|
476
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
477
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
478
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
479
|
+
{
|
|
480
|
+
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
481
|
+
},
|
|
482
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
483
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
467
484
|
]
|
|
468
485
|
},
|
|
469
486
|
{
|
|
470
487
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
471
488
|
paths: [
|
|
472
489
|
{ path: "collection.fields.numberRange.min" },
|
|
473
|
-
{ path: "collection.fields.numberRange.max" }
|
|
490
|
+
{ path: "collection.fields.numberRange.max" },
|
|
491
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
492
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
493
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
474
494
|
]
|
|
475
495
|
}
|
|
476
496
|
])
|
|
@@ -499,8 +519,34 @@ function getDataCollection(payload) {
|
|
|
499
519
|
paths: [
|
|
500
520
|
{ path: "collection.createdDate" },
|
|
501
521
|
{ path: "collection.updatedDate" },
|
|
522
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
523
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
524
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
525
|
+
{
|
|
526
|
+
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
527
|
+
},
|
|
528
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
529
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" },
|
|
502
530
|
{ path: "referencedCollections.createdDate" },
|
|
503
|
-
{ path: "referencedCollections.updatedDate" }
|
|
531
|
+
{ path: "referencedCollections.updatedDate" },
|
|
532
|
+
{
|
|
533
|
+
path: "referencedCollections.fields.typeMetadata.date.defaultValueFixed"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
path: "referencedCollections.fields.typeMetadata.date.minDateFixed"
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
path: "referencedCollections.fields.typeMetadata.date.maxDateFixed"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
path: "referencedCollections.fields.typeMetadata.datetime.defaultValueFixed"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
path: "referencedCollections.fields.typeMetadata.datetime.minDateFixed"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
path: "referencedCollections.fields.typeMetadata.datetime.maxDateFixed"
|
|
549
|
+
}
|
|
504
550
|
]
|
|
505
551
|
},
|
|
506
552
|
{
|
|
@@ -508,8 +554,16 @@ function getDataCollection(payload) {
|
|
|
508
554
|
paths: [
|
|
509
555
|
{ path: "collection.fields.numberRange.min" },
|
|
510
556
|
{ path: "collection.fields.numberRange.max" },
|
|
557
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
558
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
559
|
+
{ path: "collection.fields.typeMetadata.number.max" },
|
|
511
560
|
{ path: "referencedCollections.fields.numberRange.min" },
|
|
512
|
-
{ path: "referencedCollections.fields.numberRange.max" }
|
|
561
|
+
{ path: "referencedCollections.fields.numberRange.max" },
|
|
562
|
+
{
|
|
563
|
+
path: "referencedCollections.fields.typeMetadata.number.defaultValue"
|
|
564
|
+
},
|
|
565
|
+
{ path: "referencedCollections.fields.typeMetadata.number.min" },
|
|
566
|
+
{ path: "referencedCollections.fields.typeMetadata.number.max" }
|
|
513
567
|
]
|
|
514
568
|
}
|
|
515
569
|
])
|
|
@@ -537,14 +591,27 @@ function listDataCollections(payload) {
|
|
|
537
591
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
538
592
|
paths: [
|
|
539
593
|
{ path: "collections.createdDate" },
|
|
540
|
-
{ path: "collections.updatedDate" }
|
|
594
|
+
{ path: "collections.updatedDate" },
|
|
595
|
+
{
|
|
596
|
+
path: "collections.fields.typeMetadata.date.defaultValueFixed"
|
|
597
|
+
},
|
|
598
|
+
{ path: "collections.fields.typeMetadata.date.minDateFixed" },
|
|
599
|
+
{ path: "collections.fields.typeMetadata.date.maxDateFixed" },
|
|
600
|
+
{
|
|
601
|
+
path: "collections.fields.typeMetadata.datetime.defaultValueFixed"
|
|
602
|
+
},
|
|
603
|
+
{ path: "collections.fields.typeMetadata.datetime.minDateFixed" },
|
|
604
|
+
{ path: "collections.fields.typeMetadata.datetime.maxDateFixed" }
|
|
541
605
|
]
|
|
542
606
|
},
|
|
543
607
|
{
|
|
544
608
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
545
609
|
paths: [
|
|
546
610
|
{ path: "collections.fields.numberRange.min" },
|
|
547
|
-
{ path: "collections.fields.numberRange.max" }
|
|
611
|
+
{ path: "collections.fields.numberRange.max" },
|
|
612
|
+
{ path: "collections.fields.typeMetadata.number.defaultValue" },
|
|
613
|
+
{ path: "collections.fields.typeMetadata.number.min" },
|
|
614
|
+
{ path: "collections.fields.typeMetadata.number.max" }
|
|
548
615
|
]
|
|
549
616
|
}
|
|
550
617
|
])
|
|
@@ -560,14 +627,23 @@ function updateDataCollection(payload) {
|
|
|
560
627
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
561
628
|
paths: [
|
|
562
629
|
{ path: "collection.createdDate" },
|
|
563
|
-
{ path: "collection.updatedDate" }
|
|
630
|
+
{ path: "collection.updatedDate" },
|
|
631
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
632
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
633
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
634
|
+
{ path: "collection.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
635
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
636
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
564
637
|
]
|
|
565
638
|
},
|
|
566
639
|
{
|
|
567
640
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
568
641
|
paths: [
|
|
569
642
|
{ path: "collection.fields.numberRange.min" },
|
|
570
|
-
{ path: "collection.fields.numberRange.max" }
|
|
643
|
+
{ path: "collection.fields.numberRange.max" },
|
|
644
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
645
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
646
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
571
647
|
]
|
|
572
648
|
}
|
|
573
649
|
]);
|
|
@@ -588,14 +664,25 @@ function updateDataCollection(payload) {
|
|
|
588
664
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
589
665
|
paths: [
|
|
590
666
|
{ path: "collection.createdDate" },
|
|
591
|
-
{ path: "collection.updatedDate" }
|
|
667
|
+
{ path: "collection.updatedDate" },
|
|
668
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
669
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
670
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
671
|
+
{
|
|
672
|
+
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
673
|
+
},
|
|
674
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
675
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
592
676
|
]
|
|
593
677
|
},
|
|
594
678
|
{
|
|
595
679
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
596
680
|
paths: [
|
|
597
681
|
{ path: "collection.fields.numberRange.min" },
|
|
598
|
-
{ path: "collection.fields.numberRange.max" }
|
|
682
|
+
{ path: "collection.fields.numberRange.max" },
|
|
683
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
684
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
685
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
599
686
|
]
|
|
600
687
|
}
|
|
601
688
|
])
|
|
@@ -646,14 +733,33 @@ function restoreDataCollection(payload) {
|
|
|
646
733
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
647
734
|
paths: [
|
|
648
735
|
{ path: "dataCollection.createdDate" },
|
|
649
|
-
{ path: "dataCollection.updatedDate" }
|
|
736
|
+
{ path: "dataCollection.updatedDate" },
|
|
737
|
+
{
|
|
738
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
739
|
+
},
|
|
740
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
741
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
742
|
+
{
|
|
743
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
750
|
+
}
|
|
650
751
|
]
|
|
651
752
|
},
|
|
652
753
|
{
|
|
653
754
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
654
755
|
paths: [
|
|
655
756
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
656
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
757
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
758
|
+
{
|
|
759
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
760
|
+
},
|
|
761
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
762
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
657
763
|
]
|
|
658
764
|
}
|
|
659
765
|
])
|
|
@@ -673,14 +779,25 @@ function patchDataCollection(payload) {
|
|
|
673
779
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
674
780
|
paths: [
|
|
675
781
|
{ path: "dataCollection.createdDate" },
|
|
676
|
-
{ path: "dataCollection.updatedDate" }
|
|
782
|
+
{ path: "dataCollection.updatedDate" },
|
|
783
|
+
{ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed" },
|
|
784
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
785
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
786
|
+
{
|
|
787
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
788
|
+
},
|
|
789
|
+
{ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed" },
|
|
790
|
+
{ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
677
791
|
]
|
|
678
792
|
},
|
|
679
793
|
{
|
|
680
794
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
681
795
|
paths: [
|
|
682
796
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
683
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
797
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
798
|
+
{ path: "dataCollection.fields.typeMetadata.number.defaultValue" },
|
|
799
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
800
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
684
801
|
]
|
|
685
802
|
}
|
|
686
803
|
]);
|
|
@@ -705,14 +822,33 @@ function patchDataCollection(payload) {
|
|
|
705
822
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
706
823
|
paths: [
|
|
707
824
|
{ path: "dataCollection.createdDate" },
|
|
708
|
-
{ path: "dataCollection.updatedDate" }
|
|
825
|
+
{ path: "dataCollection.updatedDate" },
|
|
826
|
+
{
|
|
827
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
828
|
+
},
|
|
829
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
830
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
831
|
+
{
|
|
832
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
839
|
+
}
|
|
709
840
|
]
|
|
710
841
|
},
|
|
711
842
|
{
|
|
712
843
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
713
844
|
paths: [
|
|
714
845
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
715
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
846
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
847
|
+
{
|
|
848
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
849
|
+
},
|
|
850
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
851
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
716
852
|
]
|
|
717
853
|
}
|
|
718
854
|
])
|
|
@@ -728,7 +864,21 @@ function createDataCollectionField(payload) {
|
|
|
728
864
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
729
865
|
paths: [
|
|
730
866
|
{ path: "field.numberRange.min" },
|
|
731
|
-
{ path: "field.numberRange.max" }
|
|
867
|
+
{ path: "field.numberRange.max" },
|
|
868
|
+
{ path: "field.typeMetadata.number.defaultValue" },
|
|
869
|
+
{ path: "field.typeMetadata.number.min" },
|
|
870
|
+
{ path: "field.typeMetadata.number.max" }
|
|
871
|
+
]
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
875
|
+
paths: [
|
|
876
|
+
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
877
|
+
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
878
|
+
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
879
|
+
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
880
|
+
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
881
|
+
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
732
882
|
]
|
|
733
883
|
}
|
|
734
884
|
]);
|
|
@@ -753,14 +903,33 @@ function createDataCollectionField(payload) {
|
|
|
753
903
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
754
904
|
paths: [
|
|
755
905
|
{ path: "dataCollection.createdDate" },
|
|
756
|
-
{ path: "dataCollection.updatedDate" }
|
|
906
|
+
{ path: "dataCollection.updatedDate" },
|
|
907
|
+
{
|
|
908
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
909
|
+
},
|
|
910
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
911
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
912
|
+
{
|
|
913
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
920
|
+
}
|
|
757
921
|
]
|
|
758
922
|
},
|
|
759
923
|
{
|
|
760
924
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
761
925
|
paths: [
|
|
762
926
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
763
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
927
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
928
|
+
{
|
|
929
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
930
|
+
},
|
|
931
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
932
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
764
933
|
]
|
|
765
934
|
}
|
|
766
935
|
])
|
|
@@ -776,7 +945,21 @@ function updateDataCollectionField(payload) {
|
|
|
776
945
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
777
946
|
paths: [
|
|
778
947
|
{ path: "field.numberRange.min" },
|
|
779
|
-
{ path: "field.numberRange.max" }
|
|
948
|
+
{ path: "field.numberRange.max" },
|
|
949
|
+
{ path: "field.typeMetadata.number.defaultValue" },
|
|
950
|
+
{ path: "field.typeMetadata.number.min" },
|
|
951
|
+
{ path: "field.typeMetadata.number.max" }
|
|
952
|
+
]
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
956
|
+
paths: [
|
|
957
|
+
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
958
|
+
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
959
|
+
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
960
|
+
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
961
|
+
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
962
|
+
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
780
963
|
]
|
|
781
964
|
}
|
|
782
965
|
]);
|
|
@@ -801,14 +984,33 @@ function updateDataCollectionField(payload) {
|
|
|
801
984
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
802
985
|
paths: [
|
|
803
986
|
{ path: "dataCollection.createdDate" },
|
|
804
|
-
{ path: "dataCollection.updatedDate" }
|
|
987
|
+
{ path: "dataCollection.updatedDate" },
|
|
988
|
+
{
|
|
989
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
990
|
+
},
|
|
991
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
992
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
993
|
+
{
|
|
994
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1001
|
+
}
|
|
805
1002
|
]
|
|
806
1003
|
},
|
|
807
1004
|
{
|
|
808
1005
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
809
1006
|
paths: [
|
|
810
1007
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
811
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1008
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1009
|
+
{
|
|
1010
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1011
|
+
},
|
|
1012
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1013
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
812
1014
|
]
|
|
813
1015
|
}
|
|
814
1016
|
])
|
|
@@ -836,14 +1038,33 @@ function deleteDataCollectionField(payload) {
|
|
|
836
1038
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
837
1039
|
paths: [
|
|
838
1040
|
{ path: "dataCollection.createdDate" },
|
|
839
|
-
{ path: "dataCollection.updatedDate" }
|
|
1041
|
+
{ path: "dataCollection.updatedDate" },
|
|
1042
|
+
{
|
|
1043
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1044
|
+
},
|
|
1045
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1046
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1047
|
+
{
|
|
1048
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1055
|
+
}
|
|
840
1056
|
]
|
|
841
1057
|
},
|
|
842
1058
|
{
|
|
843
1059
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
844
1060
|
paths: [
|
|
845
1061
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
846
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1062
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1063
|
+
{
|
|
1064
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1065
|
+
},
|
|
1066
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1067
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
847
1068
|
]
|
|
848
1069
|
}
|
|
849
1070
|
])
|
|
@@ -871,14 +1092,33 @@ function addDataCollectionPlugin(payload) {
|
|
|
871
1092
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
872
1093
|
paths: [
|
|
873
1094
|
{ path: "dataCollection.createdDate" },
|
|
874
|
-
{ path: "dataCollection.updatedDate" }
|
|
1095
|
+
{ path: "dataCollection.updatedDate" },
|
|
1096
|
+
{
|
|
1097
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1098
|
+
},
|
|
1099
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1100
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1101
|
+
{
|
|
1102
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1109
|
+
}
|
|
875
1110
|
]
|
|
876
1111
|
},
|
|
877
1112
|
{
|
|
878
1113
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
879
1114
|
paths: [
|
|
880
1115
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
881
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1116
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1117
|
+
{
|
|
1118
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1119
|
+
},
|
|
1120
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1121
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
882
1122
|
]
|
|
883
1123
|
}
|
|
884
1124
|
])
|
|
@@ -906,14 +1146,33 @@ function deleteDataCollectionPlugin(payload) {
|
|
|
906
1146
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
907
1147
|
paths: [
|
|
908
1148
|
{ path: "dataCollection.createdDate" },
|
|
909
|
-
{ path: "dataCollection.updatedDate" }
|
|
1149
|
+
{ path: "dataCollection.updatedDate" },
|
|
1150
|
+
{
|
|
1151
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1152
|
+
},
|
|
1153
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1154
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1155
|
+
{
|
|
1156
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1160
|
+
},
|
|
1161
|
+
{
|
|
1162
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1163
|
+
}
|
|
910
1164
|
]
|
|
911
1165
|
},
|
|
912
1166
|
{
|
|
913
1167
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
914
1168
|
paths: [
|
|
915
1169
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
916
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1170
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1171
|
+
{
|
|
1172
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1173
|
+
},
|
|
1174
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1175
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
917
1176
|
]
|
|
918
1177
|
}
|
|
919
1178
|
])
|
|
@@ -933,7 +1192,21 @@ function patchDataCollectionField(payload) {
|
|
|
933
1192
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
934
1193
|
paths: [
|
|
935
1194
|
{ path: "field.numberRange.min" },
|
|
936
|
-
{ path: "field.numberRange.max" }
|
|
1195
|
+
{ path: "field.numberRange.max" },
|
|
1196
|
+
{ path: "field.typeMetadata.number.defaultValue" },
|
|
1197
|
+
{ path: "field.typeMetadata.number.min" },
|
|
1198
|
+
{ path: "field.typeMetadata.number.max" }
|
|
1199
|
+
]
|
|
1200
|
+
},
|
|
1201
|
+
{
|
|
1202
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
1203
|
+
paths: [
|
|
1204
|
+
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
1205
|
+
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
1206
|
+
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
1207
|
+
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
1208
|
+
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
1209
|
+
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
937
1210
|
]
|
|
938
1211
|
}
|
|
939
1212
|
]);
|
|
@@ -958,14 +1231,33 @@ function patchDataCollectionField(payload) {
|
|
|
958
1231
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
959
1232
|
paths: [
|
|
960
1233
|
{ path: "dataCollection.createdDate" },
|
|
961
|
-
{ path: "dataCollection.updatedDate" }
|
|
1234
|
+
{ path: "dataCollection.updatedDate" },
|
|
1235
|
+
{
|
|
1236
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1237
|
+
},
|
|
1238
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1239
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1240
|
+
{
|
|
1241
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1248
|
+
}
|
|
962
1249
|
]
|
|
963
1250
|
},
|
|
964
1251
|
{
|
|
965
1252
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
966
1253
|
paths: [
|
|
967
1254
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
968
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1255
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1256
|
+
{
|
|
1257
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1258
|
+
},
|
|
1259
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1260
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
969
1261
|
]
|
|
970
1262
|
}
|
|
971
1263
|
])
|