@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.mjs';
|
|
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.mjs';
|
|
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.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createDataCollection$1(httpClient: HttpClient): CreateDataCollectionSignature;
|
|
6
6
|
interface CreateDataCollectionSignature {
|
|
@@ -379,14 +379,23 @@ function createDataCollection(payload) {
|
|
|
379
379
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
380
380
|
paths: [
|
|
381
381
|
{ path: "collection.createdDate" },
|
|
382
|
-
{ path: "collection.updatedDate" }
|
|
382
|
+
{ path: "collection.updatedDate" },
|
|
383
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
384
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
385
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
386
|
+
{ path: "collection.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
387
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
388
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
383
389
|
]
|
|
384
390
|
},
|
|
385
391
|
{
|
|
386
392
|
transformFn: transformSDKFloatToRESTFloat,
|
|
387
393
|
paths: [
|
|
388
394
|
{ path: "collection.fields.numberRange.min" },
|
|
389
|
-
{ path: "collection.fields.numberRange.max" }
|
|
395
|
+
{ path: "collection.fields.numberRange.max" },
|
|
396
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
397
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
398
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
390
399
|
]
|
|
391
400
|
}
|
|
392
401
|
]);
|
|
@@ -407,14 +416,25 @@ function createDataCollection(payload) {
|
|
|
407
416
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
408
417
|
paths: [
|
|
409
418
|
{ path: "collection.createdDate" },
|
|
410
|
-
{ path: "collection.updatedDate" }
|
|
419
|
+
{ path: "collection.updatedDate" },
|
|
420
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
421
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
422
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
423
|
+
{
|
|
424
|
+
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
425
|
+
},
|
|
426
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
427
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
411
428
|
]
|
|
412
429
|
},
|
|
413
430
|
{
|
|
414
431
|
transformFn: transformRESTFloatToSDKFloat,
|
|
415
432
|
paths: [
|
|
416
433
|
{ path: "collection.fields.numberRange.min" },
|
|
417
|
-
{ path: "collection.fields.numberRange.max" }
|
|
434
|
+
{ path: "collection.fields.numberRange.max" },
|
|
435
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
436
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
437
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
418
438
|
]
|
|
419
439
|
}
|
|
420
440
|
])
|
|
@@ -443,8 +463,34 @@ function getDataCollection(payload) {
|
|
|
443
463
|
paths: [
|
|
444
464
|
{ path: "collection.createdDate" },
|
|
445
465
|
{ path: "collection.updatedDate" },
|
|
466
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
467
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
468
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
469
|
+
{
|
|
470
|
+
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
471
|
+
},
|
|
472
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
473
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" },
|
|
446
474
|
{ path: "referencedCollections.createdDate" },
|
|
447
|
-
{ path: "referencedCollections.updatedDate" }
|
|
475
|
+
{ path: "referencedCollections.updatedDate" },
|
|
476
|
+
{
|
|
477
|
+
path: "referencedCollections.fields.typeMetadata.date.defaultValueFixed"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
path: "referencedCollections.fields.typeMetadata.date.minDateFixed"
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
path: "referencedCollections.fields.typeMetadata.date.maxDateFixed"
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
path: "referencedCollections.fields.typeMetadata.datetime.defaultValueFixed"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
path: "referencedCollections.fields.typeMetadata.datetime.minDateFixed"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
path: "referencedCollections.fields.typeMetadata.datetime.maxDateFixed"
|
|
493
|
+
}
|
|
448
494
|
]
|
|
449
495
|
},
|
|
450
496
|
{
|
|
@@ -452,8 +498,16 @@ function getDataCollection(payload) {
|
|
|
452
498
|
paths: [
|
|
453
499
|
{ path: "collection.fields.numberRange.min" },
|
|
454
500
|
{ path: "collection.fields.numberRange.max" },
|
|
501
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
502
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
503
|
+
{ path: "collection.fields.typeMetadata.number.max" },
|
|
455
504
|
{ path: "referencedCollections.fields.numberRange.min" },
|
|
456
|
-
{ path: "referencedCollections.fields.numberRange.max" }
|
|
505
|
+
{ path: "referencedCollections.fields.numberRange.max" },
|
|
506
|
+
{
|
|
507
|
+
path: "referencedCollections.fields.typeMetadata.number.defaultValue"
|
|
508
|
+
},
|
|
509
|
+
{ path: "referencedCollections.fields.typeMetadata.number.min" },
|
|
510
|
+
{ path: "referencedCollections.fields.typeMetadata.number.max" }
|
|
457
511
|
]
|
|
458
512
|
}
|
|
459
513
|
])
|
|
@@ -481,14 +535,27 @@ function listDataCollections(payload) {
|
|
|
481
535
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
482
536
|
paths: [
|
|
483
537
|
{ path: "collections.createdDate" },
|
|
484
|
-
{ path: "collections.updatedDate" }
|
|
538
|
+
{ path: "collections.updatedDate" },
|
|
539
|
+
{
|
|
540
|
+
path: "collections.fields.typeMetadata.date.defaultValueFixed"
|
|
541
|
+
},
|
|
542
|
+
{ path: "collections.fields.typeMetadata.date.minDateFixed" },
|
|
543
|
+
{ path: "collections.fields.typeMetadata.date.maxDateFixed" },
|
|
544
|
+
{
|
|
545
|
+
path: "collections.fields.typeMetadata.datetime.defaultValueFixed"
|
|
546
|
+
},
|
|
547
|
+
{ path: "collections.fields.typeMetadata.datetime.minDateFixed" },
|
|
548
|
+
{ path: "collections.fields.typeMetadata.datetime.maxDateFixed" }
|
|
485
549
|
]
|
|
486
550
|
},
|
|
487
551
|
{
|
|
488
552
|
transformFn: transformRESTFloatToSDKFloat,
|
|
489
553
|
paths: [
|
|
490
554
|
{ path: "collections.fields.numberRange.min" },
|
|
491
|
-
{ path: "collections.fields.numberRange.max" }
|
|
555
|
+
{ path: "collections.fields.numberRange.max" },
|
|
556
|
+
{ path: "collections.fields.typeMetadata.number.defaultValue" },
|
|
557
|
+
{ path: "collections.fields.typeMetadata.number.min" },
|
|
558
|
+
{ path: "collections.fields.typeMetadata.number.max" }
|
|
492
559
|
]
|
|
493
560
|
}
|
|
494
561
|
])
|
|
@@ -504,14 +571,23 @@ function updateDataCollection(payload) {
|
|
|
504
571
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
505
572
|
paths: [
|
|
506
573
|
{ path: "collection.createdDate" },
|
|
507
|
-
{ path: "collection.updatedDate" }
|
|
574
|
+
{ path: "collection.updatedDate" },
|
|
575
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
576
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
577
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
578
|
+
{ path: "collection.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
579
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
580
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
508
581
|
]
|
|
509
582
|
},
|
|
510
583
|
{
|
|
511
584
|
transformFn: transformSDKFloatToRESTFloat,
|
|
512
585
|
paths: [
|
|
513
586
|
{ path: "collection.fields.numberRange.min" },
|
|
514
|
-
{ path: "collection.fields.numberRange.max" }
|
|
587
|
+
{ path: "collection.fields.numberRange.max" },
|
|
588
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
589
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
590
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
515
591
|
]
|
|
516
592
|
}
|
|
517
593
|
]);
|
|
@@ -532,14 +608,25 @@ function updateDataCollection(payload) {
|
|
|
532
608
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
533
609
|
paths: [
|
|
534
610
|
{ path: "collection.createdDate" },
|
|
535
|
-
{ path: "collection.updatedDate" }
|
|
611
|
+
{ path: "collection.updatedDate" },
|
|
612
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
613
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
614
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
615
|
+
{
|
|
616
|
+
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
617
|
+
},
|
|
618
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
619
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
536
620
|
]
|
|
537
621
|
},
|
|
538
622
|
{
|
|
539
623
|
transformFn: transformRESTFloatToSDKFloat,
|
|
540
624
|
paths: [
|
|
541
625
|
{ path: "collection.fields.numberRange.min" },
|
|
542
|
-
{ path: "collection.fields.numberRange.max" }
|
|
626
|
+
{ path: "collection.fields.numberRange.max" },
|
|
627
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
628
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
629
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
543
630
|
]
|
|
544
631
|
}
|
|
545
632
|
])
|
|
@@ -590,14 +677,33 @@ function restoreDataCollection(payload) {
|
|
|
590
677
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
591
678
|
paths: [
|
|
592
679
|
{ path: "dataCollection.createdDate" },
|
|
593
|
-
{ path: "dataCollection.updatedDate" }
|
|
680
|
+
{ path: "dataCollection.updatedDate" },
|
|
681
|
+
{
|
|
682
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
683
|
+
},
|
|
684
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
685
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
686
|
+
{
|
|
687
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
694
|
+
}
|
|
594
695
|
]
|
|
595
696
|
},
|
|
596
697
|
{
|
|
597
698
|
transformFn: transformRESTFloatToSDKFloat,
|
|
598
699
|
paths: [
|
|
599
700
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
600
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
701
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
702
|
+
{
|
|
703
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
704
|
+
},
|
|
705
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
706
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
601
707
|
]
|
|
602
708
|
}
|
|
603
709
|
])
|
|
@@ -617,14 +723,25 @@ function patchDataCollection(payload) {
|
|
|
617
723
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
618
724
|
paths: [
|
|
619
725
|
{ path: "dataCollection.createdDate" },
|
|
620
|
-
{ path: "dataCollection.updatedDate" }
|
|
726
|
+
{ path: "dataCollection.updatedDate" },
|
|
727
|
+
{ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed" },
|
|
728
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
729
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
730
|
+
{
|
|
731
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
732
|
+
},
|
|
733
|
+
{ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed" },
|
|
734
|
+
{ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
621
735
|
]
|
|
622
736
|
},
|
|
623
737
|
{
|
|
624
738
|
transformFn: transformSDKFloatToRESTFloat,
|
|
625
739
|
paths: [
|
|
626
740
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
627
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
741
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
742
|
+
{ path: "dataCollection.fields.typeMetadata.number.defaultValue" },
|
|
743
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
744
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
628
745
|
]
|
|
629
746
|
}
|
|
630
747
|
]);
|
|
@@ -649,14 +766,33 @@ function patchDataCollection(payload) {
|
|
|
649
766
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
650
767
|
paths: [
|
|
651
768
|
{ path: "dataCollection.createdDate" },
|
|
652
|
-
{ path: "dataCollection.updatedDate" }
|
|
769
|
+
{ path: "dataCollection.updatedDate" },
|
|
770
|
+
{
|
|
771
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
772
|
+
},
|
|
773
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
774
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
775
|
+
{
|
|
776
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
780
|
+
},
|
|
781
|
+
{
|
|
782
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
783
|
+
}
|
|
653
784
|
]
|
|
654
785
|
},
|
|
655
786
|
{
|
|
656
787
|
transformFn: transformRESTFloatToSDKFloat,
|
|
657
788
|
paths: [
|
|
658
789
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
659
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
790
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
791
|
+
{
|
|
792
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
793
|
+
},
|
|
794
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
795
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
660
796
|
]
|
|
661
797
|
}
|
|
662
798
|
])
|
|
@@ -672,7 +808,21 @@ function createDataCollectionField(payload) {
|
|
|
672
808
|
transformFn: transformSDKFloatToRESTFloat,
|
|
673
809
|
paths: [
|
|
674
810
|
{ path: "field.numberRange.min" },
|
|
675
|
-
{ path: "field.numberRange.max" }
|
|
811
|
+
{ path: "field.numberRange.max" },
|
|
812
|
+
{ path: "field.typeMetadata.number.defaultValue" },
|
|
813
|
+
{ path: "field.typeMetadata.number.min" },
|
|
814
|
+
{ path: "field.typeMetadata.number.max" }
|
|
815
|
+
]
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
819
|
+
paths: [
|
|
820
|
+
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
821
|
+
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
822
|
+
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
823
|
+
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
824
|
+
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
825
|
+
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
676
826
|
]
|
|
677
827
|
}
|
|
678
828
|
]);
|
|
@@ -697,14 +847,33 @@ function createDataCollectionField(payload) {
|
|
|
697
847
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
698
848
|
paths: [
|
|
699
849
|
{ path: "dataCollection.createdDate" },
|
|
700
|
-
{ path: "dataCollection.updatedDate" }
|
|
850
|
+
{ path: "dataCollection.updatedDate" },
|
|
851
|
+
{
|
|
852
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
853
|
+
},
|
|
854
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
855
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
856
|
+
{
|
|
857
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
864
|
+
}
|
|
701
865
|
]
|
|
702
866
|
},
|
|
703
867
|
{
|
|
704
868
|
transformFn: transformRESTFloatToSDKFloat,
|
|
705
869
|
paths: [
|
|
706
870
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
707
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
871
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
872
|
+
{
|
|
873
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
874
|
+
},
|
|
875
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
876
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
708
877
|
]
|
|
709
878
|
}
|
|
710
879
|
])
|
|
@@ -720,7 +889,21 @@ function updateDataCollectionField(payload) {
|
|
|
720
889
|
transformFn: transformSDKFloatToRESTFloat,
|
|
721
890
|
paths: [
|
|
722
891
|
{ path: "field.numberRange.min" },
|
|
723
|
-
{ path: "field.numberRange.max" }
|
|
892
|
+
{ path: "field.numberRange.max" },
|
|
893
|
+
{ path: "field.typeMetadata.number.defaultValue" },
|
|
894
|
+
{ path: "field.typeMetadata.number.min" },
|
|
895
|
+
{ path: "field.typeMetadata.number.max" }
|
|
896
|
+
]
|
|
897
|
+
},
|
|
898
|
+
{
|
|
899
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
900
|
+
paths: [
|
|
901
|
+
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
902
|
+
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
903
|
+
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
904
|
+
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
905
|
+
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
906
|
+
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
724
907
|
]
|
|
725
908
|
}
|
|
726
909
|
]);
|
|
@@ -745,14 +928,33 @@ function updateDataCollectionField(payload) {
|
|
|
745
928
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
746
929
|
paths: [
|
|
747
930
|
{ path: "dataCollection.createdDate" },
|
|
748
|
-
{ path: "dataCollection.updatedDate" }
|
|
931
|
+
{ path: "dataCollection.updatedDate" },
|
|
932
|
+
{
|
|
933
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
934
|
+
},
|
|
935
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
936
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
937
|
+
{
|
|
938
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
945
|
+
}
|
|
749
946
|
]
|
|
750
947
|
},
|
|
751
948
|
{
|
|
752
949
|
transformFn: transformRESTFloatToSDKFloat,
|
|
753
950
|
paths: [
|
|
754
951
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
755
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
952
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
953
|
+
{
|
|
954
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
955
|
+
},
|
|
956
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
957
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
756
958
|
]
|
|
757
959
|
}
|
|
758
960
|
])
|
|
@@ -780,14 +982,33 @@ function deleteDataCollectionField(payload) {
|
|
|
780
982
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
781
983
|
paths: [
|
|
782
984
|
{ path: "dataCollection.createdDate" },
|
|
783
|
-
{ path: "dataCollection.updatedDate" }
|
|
985
|
+
{ path: "dataCollection.updatedDate" },
|
|
986
|
+
{
|
|
987
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
988
|
+
},
|
|
989
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
990
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
991
|
+
{
|
|
992
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
999
|
+
}
|
|
784
1000
|
]
|
|
785
1001
|
},
|
|
786
1002
|
{
|
|
787
1003
|
transformFn: transformRESTFloatToSDKFloat,
|
|
788
1004
|
paths: [
|
|
789
1005
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
790
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1006
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1007
|
+
{
|
|
1008
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1009
|
+
},
|
|
1010
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1011
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
791
1012
|
]
|
|
792
1013
|
}
|
|
793
1014
|
])
|
|
@@ -815,14 +1036,33 @@ function addDataCollectionPlugin(payload) {
|
|
|
815
1036
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
816
1037
|
paths: [
|
|
817
1038
|
{ path: "dataCollection.createdDate" },
|
|
818
|
-
{ path: "dataCollection.updatedDate" }
|
|
1039
|
+
{ path: "dataCollection.updatedDate" },
|
|
1040
|
+
{
|
|
1041
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1042
|
+
},
|
|
1043
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1044
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1045
|
+
{
|
|
1046
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1047
|
+
},
|
|
1048
|
+
{
|
|
1049
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1053
|
+
}
|
|
819
1054
|
]
|
|
820
1055
|
},
|
|
821
1056
|
{
|
|
822
1057
|
transformFn: transformRESTFloatToSDKFloat,
|
|
823
1058
|
paths: [
|
|
824
1059
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
825
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1060
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1061
|
+
{
|
|
1062
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1063
|
+
},
|
|
1064
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1065
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
826
1066
|
]
|
|
827
1067
|
}
|
|
828
1068
|
])
|
|
@@ -850,14 +1090,33 @@ function deleteDataCollectionPlugin(payload) {
|
|
|
850
1090
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
851
1091
|
paths: [
|
|
852
1092
|
{ path: "dataCollection.createdDate" },
|
|
853
|
-
{ path: "dataCollection.updatedDate" }
|
|
1093
|
+
{ path: "dataCollection.updatedDate" },
|
|
1094
|
+
{
|
|
1095
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1096
|
+
},
|
|
1097
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1098
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1099
|
+
{
|
|
1100
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1107
|
+
}
|
|
854
1108
|
]
|
|
855
1109
|
},
|
|
856
1110
|
{
|
|
857
1111
|
transformFn: transformRESTFloatToSDKFloat,
|
|
858
1112
|
paths: [
|
|
859
1113
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
860
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1114
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1115
|
+
{
|
|
1116
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1117
|
+
},
|
|
1118
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1119
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
861
1120
|
]
|
|
862
1121
|
}
|
|
863
1122
|
])
|
|
@@ -877,7 +1136,21 @@ function patchDataCollectionField(payload) {
|
|
|
877
1136
|
transformFn: transformSDKFloatToRESTFloat,
|
|
878
1137
|
paths: [
|
|
879
1138
|
{ path: "field.numberRange.min" },
|
|
880
|
-
{ path: "field.numberRange.max" }
|
|
1139
|
+
{ path: "field.numberRange.max" },
|
|
1140
|
+
{ path: "field.typeMetadata.number.defaultValue" },
|
|
1141
|
+
{ path: "field.typeMetadata.number.min" },
|
|
1142
|
+
{ path: "field.typeMetadata.number.max" }
|
|
1143
|
+
]
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
1147
|
+
paths: [
|
|
1148
|
+
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
1149
|
+
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
1150
|
+
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
1151
|
+
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
1152
|
+
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
1153
|
+
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
881
1154
|
]
|
|
882
1155
|
}
|
|
883
1156
|
]);
|
|
@@ -902,14 +1175,33 @@ function patchDataCollectionField(payload) {
|
|
|
902
1175
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
903
1176
|
paths: [
|
|
904
1177
|
{ path: "dataCollection.createdDate" },
|
|
905
|
-
{ path: "dataCollection.updatedDate" }
|
|
1178
|
+
{ path: "dataCollection.updatedDate" },
|
|
1179
|
+
{
|
|
1180
|
+
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1181
|
+
},
|
|
1182
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1183
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1184
|
+
{
|
|
1185
|
+
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1192
|
+
}
|
|
906
1193
|
]
|
|
907
1194
|
},
|
|
908
1195
|
{
|
|
909
1196
|
transformFn: transformRESTFloatToSDKFloat,
|
|
910
1197
|
paths: [
|
|
911
1198
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
912
|
-
{ path: "dataCollection.fields.numberRange.max" }
|
|
1199
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
1200
|
+
{
|
|
1201
|
+
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1202
|
+
},
|
|
1203
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1204
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
913
1205
|
]
|
|
914
1206
|
}
|
|
915
1207
|
])
|