@wix/auto_sdk_data_collections 1.0.99 → 1.0.101
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 +597 -747
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +103 -1
- package/build/cjs/index.typings.js +543 -747
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +86 -2
- package/build/cjs/meta.js +477 -747
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +590 -746
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +103 -1
- package/build/es/index.typings.mjs +536 -746
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +86 -2
- package/build/es/meta.mjs +470 -746
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +69 -3
- package/build/internal/cjs/index.typings.d.ts +193 -1
- package/build/internal/cjs/meta.d.ts +86 -2
- package/build/internal/es/index.d.mts +69 -3
- package/build/internal/es/index.typings.d.mts +193 -1
- package/build/internal/es/meta.d.mts +86 -2
- package/package.json +2 -2
package/build/cjs/meta.js
CHANGED
|
@@ -69,8 +69,14 @@ __export(meta_exports, {
|
|
|
69
69
|
patchDataCollection: () => patchDataCollection2,
|
|
70
70
|
patchDataCollectionField: () => patchDataCollectionField2,
|
|
71
71
|
restoreDataCollection: () => restoreDataCollection2,
|
|
72
|
+
updateCatalogPlugin: () => updateCatalogPlugin2,
|
|
73
|
+
updateCmsPlugin: () => updateCmsPlugin2,
|
|
72
74
|
updateDataCollection: () => updateDataCollection2,
|
|
73
|
-
updateDataCollectionField: () => updateDataCollectionField2
|
|
75
|
+
updateDataCollectionField: () => updateDataCollectionField2,
|
|
76
|
+
updateDraftItemsPlugin: () => updateDraftItemsPlugin2,
|
|
77
|
+
updateMultilingualPlugin: () => updateMultilingualPlugin2,
|
|
78
|
+
updatePublishPlugin: () => updatePublishPlugin2,
|
|
79
|
+
updateUrlizedPlugin: () => updateUrlizedPlugin2
|
|
74
80
|
});
|
|
75
81
|
module.exports = __toCommonJS(meta_exports);
|
|
76
82
|
|
|
@@ -83,6 +89,105 @@ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
83
89
|
var import_field_mask = require("@wix/sdk-runtime/transformations/field-mask");
|
|
84
90
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
85
91
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
92
|
+
var TRANSFORM_PATHS_0 = [
|
|
93
|
+
{ path: "collection.createdDate" },
|
|
94
|
+
{ path: "collection.updatedDate" },
|
|
95
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
96
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
97
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
98
|
+
{ path: "collection.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
99
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
100
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
101
|
+
];
|
|
102
|
+
var TRANSFORM_PATHS_1 = [
|
|
103
|
+
{ path: "collection.fields.numberRange.min" },
|
|
104
|
+
{ path: "collection.fields.numberRange.max" },
|
|
105
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
106
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
107
|
+
{ path: "collection.fields.typeMetadata.number.max" }
|
|
108
|
+
];
|
|
109
|
+
var TRANSFORM_PATHS_2 = [
|
|
110
|
+
{ path: "collection.createdDate" },
|
|
111
|
+
{ path: "collection.updatedDate" },
|
|
112
|
+
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
113
|
+
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
114
|
+
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
115
|
+
{ path: "collection.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
116
|
+
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
117
|
+
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" },
|
|
118
|
+
{ path: "referencedCollections.createdDate" },
|
|
119
|
+
{ path: "referencedCollections.updatedDate" },
|
|
120
|
+
{ path: "referencedCollections.fields.typeMetadata.date.defaultValueFixed" },
|
|
121
|
+
{ path: "referencedCollections.fields.typeMetadata.date.minDateFixed" },
|
|
122
|
+
{ path: "referencedCollections.fields.typeMetadata.date.maxDateFixed" },
|
|
123
|
+
{
|
|
124
|
+
path: "referencedCollections.fields.typeMetadata.datetime.defaultValueFixed"
|
|
125
|
+
},
|
|
126
|
+
{ path: "referencedCollections.fields.typeMetadata.datetime.minDateFixed" },
|
|
127
|
+
{ path: "referencedCollections.fields.typeMetadata.datetime.maxDateFixed" }
|
|
128
|
+
];
|
|
129
|
+
var TRANSFORM_PATHS_3 = [
|
|
130
|
+
{ path: "collection.fields.numberRange.min" },
|
|
131
|
+
{ path: "collection.fields.numberRange.max" },
|
|
132
|
+
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
133
|
+
{ path: "collection.fields.typeMetadata.number.min" },
|
|
134
|
+
{ path: "collection.fields.typeMetadata.number.max" },
|
|
135
|
+
{ path: "referencedCollections.fields.numberRange.min" },
|
|
136
|
+
{ path: "referencedCollections.fields.numberRange.max" },
|
|
137
|
+
{ path: "referencedCollections.fields.typeMetadata.number.defaultValue" },
|
|
138
|
+
{ path: "referencedCollections.fields.typeMetadata.number.min" },
|
|
139
|
+
{ path: "referencedCollections.fields.typeMetadata.number.max" }
|
|
140
|
+
];
|
|
141
|
+
var TRANSFORM_PATHS_4 = [
|
|
142
|
+
{ path: "collections.createdDate" },
|
|
143
|
+
{ path: "collections.updatedDate" },
|
|
144
|
+
{ path: "collections.fields.typeMetadata.date.defaultValueFixed" },
|
|
145
|
+
{ path: "collections.fields.typeMetadata.date.minDateFixed" },
|
|
146
|
+
{ path: "collections.fields.typeMetadata.date.maxDateFixed" },
|
|
147
|
+
{ path: "collections.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
148
|
+
{ path: "collections.fields.typeMetadata.datetime.minDateFixed" },
|
|
149
|
+
{ path: "collections.fields.typeMetadata.datetime.maxDateFixed" }
|
|
150
|
+
];
|
|
151
|
+
var TRANSFORM_PATHS_5 = [
|
|
152
|
+
{ path: "collections.fields.numberRange.min" },
|
|
153
|
+
{ path: "collections.fields.numberRange.max" },
|
|
154
|
+
{ path: "collections.fields.typeMetadata.number.defaultValue" },
|
|
155
|
+
{ path: "collections.fields.typeMetadata.number.min" },
|
|
156
|
+
{ path: "collections.fields.typeMetadata.number.max" }
|
|
157
|
+
];
|
|
158
|
+
var TRANSFORM_PATHS_6 = [
|
|
159
|
+
{ path: "dataCollection.createdDate" },
|
|
160
|
+
{ path: "dataCollection.updatedDate" },
|
|
161
|
+
{ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed" },
|
|
162
|
+
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
163
|
+
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
164
|
+
{ path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
165
|
+
{ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed" },
|
|
166
|
+
{ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
167
|
+
];
|
|
168
|
+
var TRANSFORM_PATHS_7 = [
|
|
169
|
+
{ path: "dataCollection.fields.numberRange.min" },
|
|
170
|
+
{ path: "dataCollection.fields.numberRange.max" },
|
|
171
|
+
{ path: "dataCollection.fields.typeMetadata.number.defaultValue" },
|
|
172
|
+
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
173
|
+
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
174
|
+
];
|
|
175
|
+
var TRANSFORM_PATHS_8 = [{ path: "fieldMask" }];
|
|
176
|
+
var TRANSFORM_PATHS_9 = [
|
|
177
|
+
{ path: "field.numberRange.min" },
|
|
178
|
+
{ path: "field.numberRange.max" },
|
|
179
|
+
{ path: "field.typeMetadata.number.defaultValue" },
|
|
180
|
+
{ path: "field.typeMetadata.number.min" },
|
|
181
|
+
{ path: "field.typeMetadata.number.max" }
|
|
182
|
+
];
|
|
183
|
+
var TRANSFORM_PATHS_10 = [
|
|
184
|
+
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
185
|
+
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
186
|
+
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
187
|
+
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
188
|
+
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
189
|
+
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
190
|
+
];
|
|
86
191
|
function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(opts) {
|
|
87
192
|
const domainToMappings = {
|
|
88
193
|
"api._api_base_domain_": [
|
|
@@ -446,26 +551,11 @@ function createDataCollection(payload) {
|
|
|
446
551
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
447
552
|
{
|
|
448
553
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
449
|
-
paths:
|
|
450
|
-
{ path: "collection.createdDate" },
|
|
451
|
-
{ path: "collection.updatedDate" },
|
|
452
|
-
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
453
|
-
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
454
|
-
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
455
|
-
{ path: "collection.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
456
|
-
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
457
|
-
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
458
|
-
]
|
|
554
|
+
paths: TRANSFORM_PATHS_0
|
|
459
555
|
},
|
|
460
556
|
{
|
|
461
557
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
462
|
-
paths:
|
|
463
|
-
{ path: "collection.fields.numberRange.min" },
|
|
464
|
-
{ path: "collection.fields.numberRange.max" },
|
|
465
|
-
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
466
|
-
{ path: "collection.fields.typeMetadata.number.min" },
|
|
467
|
-
{ path: "collection.fields.typeMetadata.number.max" }
|
|
468
|
-
]
|
|
558
|
+
paths: TRANSFORM_PATHS_1
|
|
469
559
|
}
|
|
470
560
|
]);
|
|
471
561
|
const metadata = {
|
|
@@ -483,28 +573,11 @@ function createDataCollection(payload) {
|
|
|
483
573
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
484
574
|
{
|
|
485
575
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
486
|
-
paths:
|
|
487
|
-
{ path: "collection.createdDate" },
|
|
488
|
-
{ path: "collection.updatedDate" },
|
|
489
|
-
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
490
|
-
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
491
|
-
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
492
|
-
{
|
|
493
|
-
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
494
|
-
},
|
|
495
|
-
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
496
|
-
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
497
|
-
]
|
|
576
|
+
paths: TRANSFORM_PATHS_0
|
|
498
577
|
},
|
|
499
578
|
{
|
|
500
579
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
501
|
-
paths:
|
|
502
|
-
{ path: "collection.fields.numberRange.min" },
|
|
503
|
-
{ path: "collection.fields.numberRange.max" },
|
|
504
|
-
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
505
|
-
{ path: "collection.fields.typeMetadata.number.min" },
|
|
506
|
-
{ path: "collection.fields.typeMetadata.number.max" }
|
|
507
|
-
]
|
|
580
|
+
paths: TRANSFORM_PATHS_1
|
|
508
581
|
}
|
|
509
582
|
])
|
|
510
583
|
};
|
|
@@ -529,55 +602,11 @@ function getDataCollection(payload) {
|
|
|
529
602
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
530
603
|
{
|
|
531
604
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
532
|
-
paths:
|
|
533
|
-
{ path: "collection.createdDate" },
|
|
534
|
-
{ path: "collection.updatedDate" },
|
|
535
|
-
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
536
|
-
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
537
|
-
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
538
|
-
{
|
|
539
|
-
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
540
|
-
},
|
|
541
|
-
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
542
|
-
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" },
|
|
543
|
-
{ path: "referencedCollections.createdDate" },
|
|
544
|
-
{ path: "referencedCollections.updatedDate" },
|
|
545
|
-
{
|
|
546
|
-
path: "referencedCollections.fields.typeMetadata.date.defaultValueFixed"
|
|
547
|
-
},
|
|
548
|
-
{
|
|
549
|
-
path: "referencedCollections.fields.typeMetadata.date.minDateFixed"
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
path: "referencedCollections.fields.typeMetadata.date.maxDateFixed"
|
|
553
|
-
},
|
|
554
|
-
{
|
|
555
|
-
path: "referencedCollections.fields.typeMetadata.datetime.defaultValueFixed"
|
|
556
|
-
},
|
|
557
|
-
{
|
|
558
|
-
path: "referencedCollections.fields.typeMetadata.datetime.minDateFixed"
|
|
559
|
-
},
|
|
560
|
-
{
|
|
561
|
-
path: "referencedCollections.fields.typeMetadata.datetime.maxDateFixed"
|
|
562
|
-
}
|
|
563
|
-
]
|
|
605
|
+
paths: TRANSFORM_PATHS_2
|
|
564
606
|
},
|
|
565
607
|
{
|
|
566
608
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
567
|
-
paths:
|
|
568
|
-
{ path: "collection.fields.numberRange.min" },
|
|
569
|
-
{ path: "collection.fields.numberRange.max" },
|
|
570
|
-
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
571
|
-
{ path: "collection.fields.typeMetadata.number.min" },
|
|
572
|
-
{ path: "collection.fields.typeMetadata.number.max" },
|
|
573
|
-
{ path: "referencedCollections.fields.numberRange.min" },
|
|
574
|
-
{ path: "referencedCollections.fields.numberRange.max" },
|
|
575
|
-
{
|
|
576
|
-
path: "referencedCollections.fields.typeMetadata.number.defaultValue"
|
|
577
|
-
},
|
|
578
|
-
{ path: "referencedCollections.fields.typeMetadata.number.min" },
|
|
579
|
-
{ path: "referencedCollections.fields.typeMetadata.number.max" }
|
|
580
|
-
]
|
|
609
|
+
paths: TRANSFORM_PATHS_3
|
|
581
610
|
}
|
|
582
611
|
])
|
|
583
612
|
};
|
|
@@ -602,30 +631,11 @@ function listDataCollections(payload) {
|
|
|
602
631
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
603
632
|
{
|
|
604
633
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
605
|
-
paths:
|
|
606
|
-
{ path: "collections.createdDate" },
|
|
607
|
-
{ path: "collections.updatedDate" },
|
|
608
|
-
{
|
|
609
|
-
path: "collections.fields.typeMetadata.date.defaultValueFixed"
|
|
610
|
-
},
|
|
611
|
-
{ path: "collections.fields.typeMetadata.date.minDateFixed" },
|
|
612
|
-
{ path: "collections.fields.typeMetadata.date.maxDateFixed" },
|
|
613
|
-
{
|
|
614
|
-
path: "collections.fields.typeMetadata.datetime.defaultValueFixed"
|
|
615
|
-
},
|
|
616
|
-
{ path: "collections.fields.typeMetadata.datetime.minDateFixed" },
|
|
617
|
-
{ path: "collections.fields.typeMetadata.datetime.maxDateFixed" }
|
|
618
|
-
]
|
|
634
|
+
paths: TRANSFORM_PATHS_4
|
|
619
635
|
},
|
|
620
636
|
{
|
|
621
637
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
622
|
-
paths:
|
|
623
|
-
{ path: "collections.fields.numberRange.min" },
|
|
624
|
-
{ path: "collections.fields.numberRange.max" },
|
|
625
|
-
{ path: "collections.fields.typeMetadata.number.defaultValue" },
|
|
626
|
-
{ path: "collections.fields.typeMetadata.number.min" },
|
|
627
|
-
{ path: "collections.fields.typeMetadata.number.max" }
|
|
628
|
-
]
|
|
638
|
+
paths: TRANSFORM_PATHS_5
|
|
629
639
|
}
|
|
630
640
|
])
|
|
631
641
|
};
|
|
@@ -638,26 +648,11 @@ function updateDataCollection(payload) {
|
|
|
638
648
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
639
649
|
{
|
|
640
650
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
641
|
-
paths:
|
|
642
|
-
{ path: "collection.createdDate" },
|
|
643
|
-
{ path: "collection.updatedDate" },
|
|
644
|
-
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
645
|
-
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
646
|
-
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
647
|
-
{ path: "collection.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
648
|
-
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
649
|
-
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
650
|
-
]
|
|
651
|
+
paths: TRANSFORM_PATHS_0
|
|
651
652
|
},
|
|
652
653
|
{
|
|
653
654
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
654
|
-
paths:
|
|
655
|
-
{ path: "collection.fields.numberRange.min" },
|
|
656
|
-
{ path: "collection.fields.numberRange.max" },
|
|
657
|
-
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
658
|
-
{ path: "collection.fields.typeMetadata.number.min" },
|
|
659
|
-
{ path: "collection.fields.typeMetadata.number.max" }
|
|
660
|
-
]
|
|
655
|
+
paths: TRANSFORM_PATHS_1
|
|
661
656
|
}
|
|
662
657
|
]);
|
|
663
658
|
const metadata = {
|
|
@@ -675,28 +670,11 @@ function updateDataCollection(payload) {
|
|
|
675
670
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
676
671
|
{
|
|
677
672
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
678
|
-
paths:
|
|
679
|
-
{ path: "collection.createdDate" },
|
|
680
|
-
{ path: "collection.updatedDate" },
|
|
681
|
-
{ path: "collection.fields.typeMetadata.date.defaultValueFixed" },
|
|
682
|
-
{ path: "collection.fields.typeMetadata.date.minDateFixed" },
|
|
683
|
-
{ path: "collection.fields.typeMetadata.date.maxDateFixed" },
|
|
684
|
-
{
|
|
685
|
-
path: "collection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
686
|
-
},
|
|
687
|
-
{ path: "collection.fields.typeMetadata.datetime.minDateFixed" },
|
|
688
|
-
{ path: "collection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
689
|
-
]
|
|
673
|
+
paths: TRANSFORM_PATHS_0
|
|
690
674
|
},
|
|
691
675
|
{
|
|
692
676
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
693
|
-
paths:
|
|
694
|
-
{ path: "collection.fields.numberRange.min" },
|
|
695
|
-
{ path: "collection.fields.numberRange.max" },
|
|
696
|
-
{ path: "collection.fields.typeMetadata.number.defaultValue" },
|
|
697
|
-
{ path: "collection.fields.typeMetadata.number.min" },
|
|
698
|
-
{ path: "collection.fields.typeMetadata.number.max" }
|
|
699
|
-
]
|
|
677
|
+
paths: TRANSFORM_PATHS_1
|
|
700
678
|
}
|
|
701
679
|
])
|
|
702
680
|
};
|
|
@@ -744,36 +722,11 @@ function restoreDataCollection(payload) {
|
|
|
744
722
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
745
723
|
{
|
|
746
724
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
747
|
-
paths:
|
|
748
|
-
{ path: "dataCollection.createdDate" },
|
|
749
|
-
{ path: "dataCollection.updatedDate" },
|
|
750
|
-
{
|
|
751
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
752
|
-
},
|
|
753
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
754
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
755
|
-
{
|
|
756
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
757
|
-
},
|
|
758
|
-
{
|
|
759
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
760
|
-
},
|
|
761
|
-
{
|
|
762
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
763
|
-
}
|
|
764
|
-
]
|
|
725
|
+
paths: TRANSFORM_PATHS_6
|
|
765
726
|
},
|
|
766
727
|
{
|
|
767
728
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
768
|
-
paths:
|
|
769
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
770
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
771
|
-
{
|
|
772
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
773
|
-
},
|
|
774
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
775
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
776
|
-
]
|
|
729
|
+
paths: TRANSFORM_PATHS_7
|
|
777
730
|
}
|
|
778
731
|
])
|
|
779
732
|
};
|
|
@@ -786,32 +739,15 @@ function patchDataCollection(payload) {
|
|
|
786
739
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
787
740
|
{
|
|
788
741
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
789
|
-
paths:
|
|
742
|
+
paths: TRANSFORM_PATHS_8
|
|
790
743
|
},
|
|
791
744
|
{
|
|
792
745
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
793
|
-
paths:
|
|
794
|
-
{ path: "dataCollection.createdDate" },
|
|
795
|
-
{ path: "dataCollection.updatedDate" },
|
|
796
|
-
{ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed" },
|
|
797
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
798
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
799
|
-
{
|
|
800
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
801
|
-
},
|
|
802
|
-
{ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed" },
|
|
803
|
-
{ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
804
|
-
]
|
|
746
|
+
paths: TRANSFORM_PATHS_6
|
|
805
747
|
},
|
|
806
748
|
{
|
|
807
749
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
808
|
-
paths:
|
|
809
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
810
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
811
|
-
{ path: "dataCollection.fields.typeMetadata.number.defaultValue" },
|
|
812
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
813
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
814
|
-
]
|
|
750
|
+
paths: TRANSFORM_PATHS_7
|
|
815
751
|
}
|
|
816
752
|
]);
|
|
817
753
|
const metadata = {
|
|
@@ -833,36 +769,11 @@ function patchDataCollection(payload) {
|
|
|
833
769
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
834
770
|
{
|
|
835
771
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
836
|
-
paths:
|
|
837
|
-
{ path: "dataCollection.createdDate" },
|
|
838
|
-
{ path: "dataCollection.updatedDate" },
|
|
839
|
-
{
|
|
840
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
841
|
-
},
|
|
842
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
843
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
844
|
-
{
|
|
845
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
852
|
-
}
|
|
853
|
-
]
|
|
772
|
+
paths: TRANSFORM_PATHS_6
|
|
854
773
|
},
|
|
855
774
|
{
|
|
856
775
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
857
|
-
paths:
|
|
858
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
859
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
860
|
-
{
|
|
861
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
862
|
-
},
|
|
863
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
864
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
865
|
-
]
|
|
776
|
+
paths: TRANSFORM_PATHS_7
|
|
866
777
|
}
|
|
867
778
|
])
|
|
868
779
|
};
|
|
@@ -875,24 +786,11 @@ function createDataCollectionField(payload) {
|
|
|
875
786
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
876
787
|
{
|
|
877
788
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
878
|
-
paths:
|
|
879
|
-
{ path: "field.numberRange.min" },
|
|
880
|
-
{ path: "field.numberRange.max" },
|
|
881
|
-
{ path: "field.typeMetadata.number.defaultValue" },
|
|
882
|
-
{ path: "field.typeMetadata.number.min" },
|
|
883
|
-
{ path: "field.typeMetadata.number.max" }
|
|
884
|
-
]
|
|
789
|
+
paths: TRANSFORM_PATHS_9
|
|
885
790
|
},
|
|
886
791
|
{
|
|
887
792
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
888
|
-
paths:
|
|
889
|
-
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
890
|
-
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
891
|
-
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
892
|
-
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
893
|
-
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
894
|
-
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
895
|
-
]
|
|
793
|
+
paths: TRANSFORM_PATHS_10
|
|
896
794
|
}
|
|
897
795
|
]);
|
|
898
796
|
const metadata = {
|
|
@@ -914,36 +812,11 @@ function createDataCollectionField(payload) {
|
|
|
914
812
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
915
813
|
{
|
|
916
814
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
917
|
-
paths:
|
|
918
|
-
{ path: "dataCollection.createdDate" },
|
|
919
|
-
{ path: "dataCollection.updatedDate" },
|
|
920
|
-
{
|
|
921
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
922
|
-
},
|
|
923
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
924
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
925
|
-
{
|
|
926
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
927
|
-
},
|
|
928
|
-
{
|
|
929
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
930
|
-
},
|
|
931
|
-
{
|
|
932
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
933
|
-
}
|
|
934
|
-
]
|
|
815
|
+
paths: TRANSFORM_PATHS_6
|
|
935
816
|
},
|
|
936
817
|
{
|
|
937
818
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
938
|
-
paths:
|
|
939
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
940
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
941
|
-
{
|
|
942
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
943
|
-
},
|
|
944
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
945
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
946
|
-
]
|
|
819
|
+
paths: TRANSFORM_PATHS_7
|
|
947
820
|
}
|
|
948
821
|
])
|
|
949
822
|
};
|
|
@@ -956,24 +829,11 @@ function updateDataCollectionField(payload) {
|
|
|
956
829
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
957
830
|
{
|
|
958
831
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
959
|
-
paths:
|
|
960
|
-
{ path: "field.numberRange.min" },
|
|
961
|
-
{ path: "field.numberRange.max" },
|
|
962
|
-
{ path: "field.typeMetadata.number.defaultValue" },
|
|
963
|
-
{ path: "field.typeMetadata.number.min" },
|
|
964
|
-
{ path: "field.typeMetadata.number.max" }
|
|
965
|
-
]
|
|
832
|
+
paths: TRANSFORM_PATHS_9
|
|
966
833
|
},
|
|
967
834
|
{
|
|
968
835
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
969
|
-
paths:
|
|
970
|
-
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
971
|
-
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
972
|
-
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
973
|
-
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
974
|
-
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
975
|
-
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
976
|
-
]
|
|
836
|
+
paths: TRANSFORM_PATHS_10
|
|
977
837
|
}
|
|
978
838
|
]);
|
|
979
839
|
const metadata = {
|
|
@@ -995,36 +855,11 @@ function updateDataCollectionField(payload) {
|
|
|
995
855
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
996
856
|
{
|
|
997
857
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
998
|
-
paths:
|
|
999
|
-
{ path: "dataCollection.createdDate" },
|
|
1000
|
-
{ path: "dataCollection.updatedDate" },
|
|
1001
|
-
{
|
|
1002
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1003
|
-
},
|
|
1004
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1005
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1006
|
-
{
|
|
1007
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1008
|
-
},
|
|
1009
|
-
{
|
|
1010
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1011
|
-
},
|
|
1012
|
-
{
|
|
1013
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1014
|
-
}
|
|
1015
|
-
]
|
|
858
|
+
paths: TRANSFORM_PATHS_6
|
|
1016
859
|
},
|
|
1017
860
|
{
|
|
1018
861
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1019
|
-
paths:
|
|
1020
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1021
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1022
|
-
{
|
|
1023
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1024
|
-
},
|
|
1025
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1026
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1027
|
-
]
|
|
862
|
+
paths: TRANSFORM_PATHS_7
|
|
1028
863
|
}
|
|
1029
864
|
])
|
|
1030
865
|
};
|
|
@@ -1049,36 +884,11 @@ function deleteDataCollectionField(payload) {
|
|
|
1049
884
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1050
885
|
{
|
|
1051
886
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1052
|
-
paths:
|
|
1053
|
-
{ path: "dataCollection.createdDate" },
|
|
1054
|
-
{ path: "dataCollection.updatedDate" },
|
|
1055
|
-
{
|
|
1056
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1057
|
-
},
|
|
1058
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1059
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1060
|
-
{
|
|
1061
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1065
|
-
},
|
|
1066
|
-
{
|
|
1067
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1068
|
-
}
|
|
1069
|
-
]
|
|
887
|
+
paths: TRANSFORM_PATHS_6
|
|
1070
888
|
},
|
|
1071
889
|
{
|
|
1072
890
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1073
|
-
paths:
|
|
1074
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1075
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1076
|
-
{
|
|
1077
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1078
|
-
},
|
|
1079
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1080
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1081
|
-
]
|
|
891
|
+
paths: TRANSFORM_PATHS_7
|
|
1082
892
|
}
|
|
1083
893
|
])
|
|
1084
894
|
};
|
|
@@ -1103,36 +913,11 @@ function addDataCollectionPlugin(payload) {
|
|
|
1103
913
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1104
914
|
{
|
|
1105
915
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1106
|
-
paths:
|
|
1107
|
-
{ path: "dataCollection.createdDate" },
|
|
1108
|
-
{ path: "dataCollection.updatedDate" },
|
|
1109
|
-
{
|
|
1110
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1111
|
-
},
|
|
1112
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1113
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1114
|
-
{
|
|
1115
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1116
|
-
},
|
|
1117
|
-
{
|
|
1118
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1119
|
-
},
|
|
1120
|
-
{
|
|
1121
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1122
|
-
}
|
|
1123
|
-
]
|
|
916
|
+
paths: TRANSFORM_PATHS_6
|
|
1124
917
|
},
|
|
1125
918
|
{
|
|
1126
919
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1127
|
-
paths:
|
|
1128
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1129
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1130
|
-
{
|
|
1131
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1132
|
-
},
|
|
1133
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1134
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1135
|
-
]
|
|
920
|
+
paths: TRANSFORM_PATHS_7
|
|
1136
921
|
}
|
|
1137
922
|
])
|
|
1138
923
|
};
|
|
@@ -1157,36 +942,11 @@ function deleteDataCollectionPlugin(payload) {
|
|
|
1157
942
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1158
943
|
{
|
|
1159
944
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1160
|
-
paths:
|
|
1161
|
-
{ path: "dataCollection.createdDate" },
|
|
1162
|
-
{ path: "dataCollection.updatedDate" },
|
|
1163
|
-
{
|
|
1164
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1165
|
-
},
|
|
1166
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1167
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1168
|
-
{
|
|
1169
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1170
|
-
},
|
|
1171
|
-
{
|
|
1172
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1173
|
-
},
|
|
1174
|
-
{
|
|
1175
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1176
|
-
}
|
|
1177
|
-
]
|
|
945
|
+
paths: TRANSFORM_PATHS_6
|
|
1178
946
|
},
|
|
1179
947
|
{
|
|
1180
948
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1181
|
-
paths:
|
|
1182
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1183
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1184
|
-
{
|
|
1185
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1186
|
-
},
|
|
1187
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1188
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1189
|
-
]
|
|
949
|
+
paths: TRANSFORM_PATHS_7
|
|
1190
950
|
}
|
|
1191
951
|
])
|
|
1192
952
|
};
|
|
@@ -1211,36 +971,11 @@ function addPublishPlugin(payload) {
|
|
|
1211
971
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1212
972
|
{
|
|
1213
973
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1214
|
-
paths:
|
|
1215
|
-
{ path: "dataCollection.createdDate" },
|
|
1216
|
-
{ path: "dataCollection.updatedDate" },
|
|
1217
|
-
{
|
|
1218
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1219
|
-
},
|
|
1220
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1221
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1222
|
-
{
|
|
1223
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1224
|
-
},
|
|
1225
|
-
{
|
|
1226
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1227
|
-
},
|
|
1228
|
-
{
|
|
1229
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1230
|
-
}
|
|
1231
|
-
]
|
|
974
|
+
paths: TRANSFORM_PATHS_6
|
|
1232
975
|
},
|
|
1233
976
|
{
|
|
1234
977
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1235
|
-
paths:
|
|
1236
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1237
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1238
|
-
{
|
|
1239
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1240
|
-
},
|
|
1241
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1242
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1243
|
-
]
|
|
978
|
+
paths: TRANSFORM_PATHS_7
|
|
1244
979
|
}
|
|
1245
980
|
])
|
|
1246
981
|
};
|
|
@@ -1269,36 +1004,11 @@ function deletePublishPlugin(payload) {
|
|
|
1269
1004
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1270
1005
|
{
|
|
1271
1006
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1272
|
-
paths:
|
|
1273
|
-
{ path: "dataCollection.createdDate" },
|
|
1274
|
-
{ path: "dataCollection.updatedDate" },
|
|
1275
|
-
{
|
|
1276
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1277
|
-
},
|
|
1278
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1279
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1280
|
-
{
|
|
1281
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1282
|
-
},
|
|
1283
|
-
{
|
|
1284
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1285
|
-
},
|
|
1286
|
-
{
|
|
1287
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1288
|
-
}
|
|
1289
|
-
]
|
|
1007
|
+
paths: TRANSFORM_PATHS_6
|
|
1290
1008
|
},
|
|
1291
1009
|
{
|
|
1292
1010
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1293
|
-
paths:
|
|
1294
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1295
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1296
|
-
{
|
|
1297
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1298
|
-
},
|
|
1299
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1300
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1301
|
-
]
|
|
1011
|
+
paths: TRANSFORM_PATHS_7
|
|
1302
1012
|
}
|
|
1303
1013
|
])
|
|
1304
1014
|
};
|
|
@@ -1306,6 +1016,39 @@ function deletePublishPlugin(payload) {
|
|
|
1306
1016
|
}
|
|
1307
1017
|
return __deletePublishPlugin;
|
|
1308
1018
|
}
|
|
1019
|
+
function updatePublishPlugin(payload) {
|
|
1020
|
+
function __updatePublishPlugin({ host }) {
|
|
1021
|
+
const metadata = {
|
|
1022
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1023
|
+
method: "POST",
|
|
1024
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.UpdatePublishPlugin",
|
|
1025
|
+
packageName: PACKAGE_NAME,
|
|
1026
|
+
migrationOptions: {
|
|
1027
|
+
optInTransformResponse: true
|
|
1028
|
+
},
|
|
1029
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1030
|
+
{
|
|
1031
|
+
protoPath: "/v2/collections/update-publish-plugin",
|
|
1032
|
+
data: payload,
|
|
1033
|
+
host
|
|
1034
|
+
}
|
|
1035
|
+
),
|
|
1036
|
+
data: payload,
|
|
1037
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1038
|
+
{
|
|
1039
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1040
|
+
paths: TRANSFORM_PATHS_6
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1044
|
+
paths: TRANSFORM_PATHS_7
|
|
1045
|
+
}
|
|
1046
|
+
])
|
|
1047
|
+
};
|
|
1048
|
+
return metadata;
|
|
1049
|
+
}
|
|
1050
|
+
return __updatePublishPlugin;
|
|
1051
|
+
}
|
|
1309
1052
|
function addUrlizedPlugin(payload) {
|
|
1310
1053
|
function __addUrlizedPlugin({ host }) {
|
|
1311
1054
|
const metadata = {
|
|
@@ -1323,36 +1066,11 @@ function addUrlizedPlugin(payload) {
|
|
|
1323
1066
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1324
1067
|
{
|
|
1325
1068
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1326
|
-
paths:
|
|
1327
|
-
{ path: "dataCollection.createdDate" },
|
|
1328
|
-
{ path: "dataCollection.updatedDate" },
|
|
1329
|
-
{
|
|
1330
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1331
|
-
},
|
|
1332
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1333
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1334
|
-
{
|
|
1335
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1336
|
-
},
|
|
1337
|
-
{
|
|
1338
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1339
|
-
},
|
|
1340
|
-
{
|
|
1341
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1342
|
-
}
|
|
1343
|
-
]
|
|
1069
|
+
paths: TRANSFORM_PATHS_6
|
|
1344
1070
|
},
|
|
1345
1071
|
{
|
|
1346
1072
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1347
|
-
paths:
|
|
1348
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1349
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1350
|
-
{
|
|
1351
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1352
|
-
},
|
|
1353
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1354
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1355
|
-
]
|
|
1073
|
+
paths: TRANSFORM_PATHS_7
|
|
1356
1074
|
}
|
|
1357
1075
|
])
|
|
1358
1076
|
};
|
|
@@ -1381,36 +1099,11 @@ function deleteUrlizedPlugin(payload) {
|
|
|
1381
1099
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1382
1100
|
{
|
|
1383
1101
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1384
|
-
paths:
|
|
1385
|
-
{ path: "dataCollection.createdDate" },
|
|
1386
|
-
{ path: "dataCollection.updatedDate" },
|
|
1387
|
-
{
|
|
1388
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1389
|
-
},
|
|
1390
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1391
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1392
|
-
{
|
|
1393
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1394
|
-
},
|
|
1395
|
-
{
|
|
1396
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1397
|
-
},
|
|
1398
|
-
{
|
|
1399
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1400
|
-
}
|
|
1401
|
-
]
|
|
1102
|
+
paths: TRANSFORM_PATHS_6
|
|
1402
1103
|
},
|
|
1403
1104
|
{
|
|
1404
1105
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1405
|
-
paths:
|
|
1406
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1407
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1408
|
-
{
|
|
1409
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1410
|
-
},
|
|
1411
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1412
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1413
|
-
]
|
|
1106
|
+
paths: TRANSFORM_PATHS_7
|
|
1414
1107
|
}
|
|
1415
1108
|
])
|
|
1416
1109
|
};
|
|
@@ -1418,6 +1111,39 @@ function deleteUrlizedPlugin(payload) {
|
|
|
1418
1111
|
}
|
|
1419
1112
|
return __deleteUrlizedPlugin;
|
|
1420
1113
|
}
|
|
1114
|
+
function updateUrlizedPlugin(payload) {
|
|
1115
|
+
function __updateUrlizedPlugin({ host }) {
|
|
1116
|
+
const metadata = {
|
|
1117
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1118
|
+
method: "POST",
|
|
1119
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.UpdateUrlizedPlugin",
|
|
1120
|
+
packageName: PACKAGE_NAME,
|
|
1121
|
+
migrationOptions: {
|
|
1122
|
+
optInTransformResponse: true
|
|
1123
|
+
},
|
|
1124
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1125
|
+
{
|
|
1126
|
+
protoPath: "/v2/collections/update-urlized-plugin",
|
|
1127
|
+
data: payload,
|
|
1128
|
+
host
|
|
1129
|
+
}
|
|
1130
|
+
),
|
|
1131
|
+
data: payload,
|
|
1132
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1133
|
+
{
|
|
1134
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1135
|
+
paths: TRANSFORM_PATHS_6
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1139
|
+
paths: TRANSFORM_PATHS_7
|
|
1140
|
+
}
|
|
1141
|
+
])
|
|
1142
|
+
};
|
|
1143
|
+
return metadata;
|
|
1144
|
+
}
|
|
1145
|
+
return __updateUrlizedPlugin;
|
|
1146
|
+
}
|
|
1421
1147
|
function addMultilingualPlugin(payload) {
|
|
1422
1148
|
function __addMultilingualPlugin({ host }) {
|
|
1423
1149
|
const metadata = {
|
|
@@ -1439,36 +1165,11 @@ function addMultilingualPlugin(payload) {
|
|
|
1439
1165
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1440
1166
|
{
|
|
1441
1167
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1442
|
-
paths:
|
|
1443
|
-
{ path: "dataCollection.createdDate" },
|
|
1444
|
-
{ path: "dataCollection.updatedDate" },
|
|
1445
|
-
{
|
|
1446
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1447
|
-
},
|
|
1448
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1449
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1450
|
-
{
|
|
1451
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1452
|
-
},
|
|
1453
|
-
{
|
|
1454
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1455
|
-
},
|
|
1456
|
-
{
|
|
1457
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1458
|
-
}
|
|
1459
|
-
]
|
|
1168
|
+
paths: TRANSFORM_PATHS_6
|
|
1460
1169
|
},
|
|
1461
1170
|
{
|
|
1462
1171
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1463
|
-
paths:
|
|
1464
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1465
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1466
|
-
{
|
|
1467
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1468
|
-
},
|
|
1469
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1470
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1471
|
-
]
|
|
1172
|
+
paths: TRANSFORM_PATHS_7
|
|
1472
1173
|
}
|
|
1473
1174
|
])
|
|
1474
1175
|
};
|
|
@@ -1497,36 +1198,11 @@ function deleteMultilingualPlugin(payload) {
|
|
|
1497
1198
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1498
1199
|
{
|
|
1499
1200
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1500
|
-
paths:
|
|
1501
|
-
{ path: "dataCollection.createdDate" },
|
|
1502
|
-
{ path: "dataCollection.updatedDate" },
|
|
1503
|
-
{
|
|
1504
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1505
|
-
},
|
|
1506
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1507
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1508
|
-
{
|
|
1509
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1510
|
-
},
|
|
1511
|
-
{
|
|
1512
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1513
|
-
},
|
|
1514
|
-
{
|
|
1515
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1516
|
-
}
|
|
1517
|
-
]
|
|
1201
|
+
paths: TRANSFORM_PATHS_6
|
|
1518
1202
|
},
|
|
1519
1203
|
{
|
|
1520
1204
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1521
|
-
paths:
|
|
1522
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1523
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1524
|
-
{
|
|
1525
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1526
|
-
},
|
|
1527
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1528
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1529
|
-
]
|
|
1205
|
+
paths: TRANSFORM_PATHS_7
|
|
1530
1206
|
}
|
|
1531
1207
|
])
|
|
1532
1208
|
};
|
|
@@ -1534,6 +1210,39 @@ function deleteMultilingualPlugin(payload) {
|
|
|
1534
1210
|
}
|
|
1535
1211
|
return __deleteMultilingualPlugin;
|
|
1536
1212
|
}
|
|
1213
|
+
function updateMultilingualPlugin(payload) {
|
|
1214
|
+
function __updateMultilingualPlugin({ host }) {
|
|
1215
|
+
const metadata = {
|
|
1216
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1217
|
+
method: "POST",
|
|
1218
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.UpdateMultilingualPlugin",
|
|
1219
|
+
packageName: PACKAGE_NAME,
|
|
1220
|
+
migrationOptions: {
|
|
1221
|
+
optInTransformResponse: true
|
|
1222
|
+
},
|
|
1223
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1224
|
+
{
|
|
1225
|
+
protoPath: "/v2/collections/update-multilingual-plugin",
|
|
1226
|
+
data: payload,
|
|
1227
|
+
host
|
|
1228
|
+
}
|
|
1229
|
+
),
|
|
1230
|
+
data: payload,
|
|
1231
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1232
|
+
{
|
|
1233
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1234
|
+
paths: TRANSFORM_PATHS_6
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1238
|
+
paths: TRANSFORM_PATHS_7
|
|
1239
|
+
}
|
|
1240
|
+
])
|
|
1241
|
+
};
|
|
1242
|
+
return metadata;
|
|
1243
|
+
}
|
|
1244
|
+
return __updateMultilingualPlugin;
|
|
1245
|
+
}
|
|
1537
1246
|
function addCmsPlugin(payload) {
|
|
1538
1247
|
function __addCmsPlugin({ host }) {
|
|
1539
1248
|
const metadata = {
|
|
@@ -1551,36 +1260,11 @@ function addCmsPlugin(payload) {
|
|
|
1551
1260
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1552
1261
|
{
|
|
1553
1262
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1554
|
-
paths:
|
|
1555
|
-
{ path: "dataCollection.createdDate" },
|
|
1556
|
-
{ path: "dataCollection.updatedDate" },
|
|
1557
|
-
{
|
|
1558
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1559
|
-
},
|
|
1560
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1561
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1562
|
-
{
|
|
1563
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1564
|
-
},
|
|
1565
|
-
{
|
|
1566
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1567
|
-
},
|
|
1568
|
-
{
|
|
1569
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1570
|
-
}
|
|
1571
|
-
]
|
|
1263
|
+
paths: TRANSFORM_PATHS_6
|
|
1572
1264
|
},
|
|
1573
1265
|
{
|
|
1574
1266
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1575
|
-
paths:
|
|
1576
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1577
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1578
|
-
{
|
|
1579
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1580
|
-
},
|
|
1581
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1582
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1583
|
-
]
|
|
1267
|
+
paths: TRANSFORM_PATHS_7
|
|
1584
1268
|
}
|
|
1585
1269
|
])
|
|
1586
1270
|
};
|
|
@@ -1605,36 +1289,11 @@ function deleteCmsPlugin(payload) {
|
|
|
1605
1289
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1606
1290
|
{
|
|
1607
1291
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1608
|
-
paths:
|
|
1609
|
-
{ path: "dataCollection.createdDate" },
|
|
1610
|
-
{ path: "dataCollection.updatedDate" },
|
|
1611
|
-
{
|
|
1612
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1613
|
-
},
|
|
1614
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1615
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1616
|
-
{
|
|
1617
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1618
|
-
},
|
|
1619
|
-
{
|
|
1620
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1621
|
-
},
|
|
1622
|
-
{
|
|
1623
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1624
|
-
}
|
|
1625
|
-
]
|
|
1292
|
+
paths: TRANSFORM_PATHS_6
|
|
1626
1293
|
},
|
|
1627
1294
|
{
|
|
1628
1295
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1629
|
-
paths:
|
|
1630
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1631
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1632
|
-
{
|
|
1633
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1634
|
-
},
|
|
1635
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1636
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1637
|
-
]
|
|
1296
|
+
paths: TRANSFORM_PATHS_7
|
|
1638
1297
|
}
|
|
1639
1298
|
])
|
|
1640
1299
|
};
|
|
@@ -1642,6 +1301,35 @@ function deleteCmsPlugin(payload) {
|
|
|
1642
1301
|
}
|
|
1643
1302
|
return __deleteCmsPlugin;
|
|
1644
1303
|
}
|
|
1304
|
+
function updateCmsPlugin(payload) {
|
|
1305
|
+
function __updateCmsPlugin({ host }) {
|
|
1306
|
+
const metadata = {
|
|
1307
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1308
|
+
method: "POST",
|
|
1309
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.UpdateCmsPlugin",
|
|
1310
|
+
packageName: PACKAGE_NAME,
|
|
1311
|
+
migrationOptions: {
|
|
1312
|
+
optInTransformResponse: true
|
|
1313
|
+
},
|
|
1314
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1315
|
+
{ protoPath: "/v2/collections/update-cms-plugin", data: payload, host }
|
|
1316
|
+
),
|
|
1317
|
+
data: payload,
|
|
1318
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1319
|
+
{
|
|
1320
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1321
|
+
paths: TRANSFORM_PATHS_6
|
|
1322
|
+
},
|
|
1323
|
+
{
|
|
1324
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1325
|
+
paths: TRANSFORM_PATHS_7
|
|
1326
|
+
}
|
|
1327
|
+
])
|
|
1328
|
+
};
|
|
1329
|
+
return metadata;
|
|
1330
|
+
}
|
|
1331
|
+
return __updateCmsPlugin;
|
|
1332
|
+
}
|
|
1645
1333
|
function addCatalogPlugin(payload) {
|
|
1646
1334
|
function __addCatalogPlugin({ host }) {
|
|
1647
1335
|
const metadata = {
|
|
@@ -1659,36 +1347,11 @@ function addCatalogPlugin(payload) {
|
|
|
1659
1347
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1660
1348
|
{
|
|
1661
1349
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1662
|
-
paths:
|
|
1663
|
-
{ path: "dataCollection.createdDate" },
|
|
1664
|
-
{ path: "dataCollection.updatedDate" },
|
|
1665
|
-
{
|
|
1666
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1667
|
-
},
|
|
1668
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1669
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1670
|
-
{
|
|
1671
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1672
|
-
},
|
|
1673
|
-
{
|
|
1674
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1675
|
-
},
|
|
1676
|
-
{
|
|
1677
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1678
|
-
}
|
|
1679
|
-
]
|
|
1350
|
+
paths: TRANSFORM_PATHS_6
|
|
1680
1351
|
},
|
|
1681
1352
|
{
|
|
1682
1353
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1683
|
-
paths:
|
|
1684
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1685
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1686
|
-
{
|
|
1687
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1688
|
-
},
|
|
1689
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1690
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1691
|
-
]
|
|
1354
|
+
paths: TRANSFORM_PATHS_7
|
|
1692
1355
|
}
|
|
1693
1356
|
])
|
|
1694
1357
|
};
|
|
@@ -1717,36 +1380,11 @@ function deleteCatalogPlugin(payload) {
|
|
|
1717
1380
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1718
1381
|
{
|
|
1719
1382
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1720
|
-
paths:
|
|
1721
|
-
{ path: "dataCollection.createdDate" },
|
|
1722
|
-
{ path: "dataCollection.updatedDate" },
|
|
1723
|
-
{
|
|
1724
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1725
|
-
},
|
|
1726
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1727
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1728
|
-
{
|
|
1729
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1730
|
-
},
|
|
1731
|
-
{
|
|
1732
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1733
|
-
},
|
|
1734
|
-
{
|
|
1735
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1736
|
-
}
|
|
1737
|
-
]
|
|
1383
|
+
paths: TRANSFORM_PATHS_6
|
|
1738
1384
|
},
|
|
1739
1385
|
{
|
|
1740
1386
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1741
|
-
paths:
|
|
1742
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1743
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1744
|
-
{
|
|
1745
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1746
|
-
},
|
|
1747
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1748
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1749
|
-
]
|
|
1387
|
+
paths: TRANSFORM_PATHS_7
|
|
1750
1388
|
}
|
|
1751
1389
|
])
|
|
1752
1390
|
};
|
|
@@ -1754,6 +1392,39 @@ function deleteCatalogPlugin(payload) {
|
|
|
1754
1392
|
}
|
|
1755
1393
|
return __deleteCatalogPlugin;
|
|
1756
1394
|
}
|
|
1395
|
+
function updateCatalogPlugin(payload) {
|
|
1396
|
+
function __updateCatalogPlugin({ host }) {
|
|
1397
|
+
const metadata = {
|
|
1398
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1399
|
+
method: "POST",
|
|
1400
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.UpdateCatalogPlugin",
|
|
1401
|
+
packageName: PACKAGE_NAME,
|
|
1402
|
+
migrationOptions: {
|
|
1403
|
+
optInTransformResponse: true
|
|
1404
|
+
},
|
|
1405
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1406
|
+
{
|
|
1407
|
+
protoPath: "/v2/collections/update-catalog-plugin",
|
|
1408
|
+
data: payload,
|
|
1409
|
+
host
|
|
1410
|
+
}
|
|
1411
|
+
),
|
|
1412
|
+
data: payload,
|
|
1413
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1414
|
+
{
|
|
1415
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1416
|
+
paths: TRANSFORM_PATHS_6
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1420
|
+
paths: TRANSFORM_PATHS_7
|
|
1421
|
+
}
|
|
1422
|
+
])
|
|
1423
|
+
};
|
|
1424
|
+
return metadata;
|
|
1425
|
+
}
|
|
1426
|
+
return __updateCatalogPlugin;
|
|
1427
|
+
}
|
|
1757
1428
|
function addDraftItemsPlugin(payload) {
|
|
1758
1429
|
function __addDraftItemsPlugin({ host }) {
|
|
1759
1430
|
const metadata = {
|
|
@@ -1775,36 +1446,11 @@ function addDraftItemsPlugin(payload) {
|
|
|
1775
1446
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1776
1447
|
{
|
|
1777
1448
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1778
|
-
paths:
|
|
1779
|
-
{ path: "dataCollection.createdDate" },
|
|
1780
|
-
{ path: "dataCollection.updatedDate" },
|
|
1781
|
-
{
|
|
1782
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1783
|
-
},
|
|
1784
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1785
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1786
|
-
{
|
|
1787
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1788
|
-
},
|
|
1789
|
-
{
|
|
1790
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1791
|
-
},
|
|
1792
|
-
{
|
|
1793
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1794
|
-
}
|
|
1795
|
-
]
|
|
1449
|
+
paths: TRANSFORM_PATHS_6
|
|
1796
1450
|
},
|
|
1797
1451
|
{
|
|
1798
1452
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1799
|
-
paths:
|
|
1800
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1801
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1802
|
-
{
|
|
1803
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1804
|
-
},
|
|
1805
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1806
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1807
|
-
]
|
|
1453
|
+
paths: TRANSFORM_PATHS_7
|
|
1808
1454
|
}
|
|
1809
1455
|
])
|
|
1810
1456
|
};
|
|
@@ -1833,36 +1479,11 @@ function deleteDraftItemsPlugin(payload) {
|
|
|
1833
1479
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1834
1480
|
{
|
|
1835
1481
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1836
|
-
paths:
|
|
1837
|
-
{ path: "dataCollection.createdDate" },
|
|
1838
|
-
{ path: "dataCollection.updatedDate" },
|
|
1839
|
-
{
|
|
1840
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1841
|
-
},
|
|
1842
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1843
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1844
|
-
{
|
|
1845
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1846
|
-
},
|
|
1847
|
-
{
|
|
1848
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1849
|
-
},
|
|
1850
|
-
{
|
|
1851
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1852
|
-
}
|
|
1853
|
-
]
|
|
1482
|
+
paths: TRANSFORM_PATHS_6
|
|
1854
1483
|
},
|
|
1855
1484
|
{
|
|
1856
1485
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1857
|
-
paths:
|
|
1858
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1859
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1860
|
-
{
|
|
1861
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1862
|
-
},
|
|
1863
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1864
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1865
|
-
]
|
|
1486
|
+
paths: TRANSFORM_PATHS_7
|
|
1866
1487
|
}
|
|
1867
1488
|
])
|
|
1868
1489
|
};
|
|
@@ -1870,33 +1491,53 @@ function deleteDraftItemsPlugin(payload) {
|
|
|
1870
1491
|
}
|
|
1871
1492
|
return __deleteDraftItemsPlugin;
|
|
1872
1493
|
}
|
|
1494
|
+
function updateDraftItemsPlugin(payload) {
|
|
1495
|
+
function __updateDraftItemsPlugin({ host }) {
|
|
1496
|
+
const metadata = {
|
|
1497
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
1498
|
+
method: "POST",
|
|
1499
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.UpdateDraftItemsPlugin",
|
|
1500
|
+
packageName: PACKAGE_NAME,
|
|
1501
|
+
migrationOptions: {
|
|
1502
|
+
optInTransformResponse: true
|
|
1503
|
+
},
|
|
1504
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
1505
|
+
{
|
|
1506
|
+
protoPath: "/v2/collections/update-draft-items-plugin",
|
|
1507
|
+
data: payload,
|
|
1508
|
+
host
|
|
1509
|
+
}
|
|
1510
|
+
),
|
|
1511
|
+
data: payload,
|
|
1512
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1513
|
+
{
|
|
1514
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1515
|
+
paths: TRANSFORM_PATHS_6
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1519
|
+
paths: TRANSFORM_PATHS_7
|
|
1520
|
+
}
|
|
1521
|
+
])
|
|
1522
|
+
};
|
|
1523
|
+
return metadata;
|
|
1524
|
+
}
|
|
1525
|
+
return __updateDraftItemsPlugin;
|
|
1526
|
+
}
|
|
1873
1527
|
function patchDataCollectionField(payload) {
|
|
1874
1528
|
function __patchDataCollectionField({ host }) {
|
|
1875
1529
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
1876
1530
|
{
|
|
1877
1531
|
transformFn: import_field_mask.transformSDKFieldMaskToRESTFieldMask,
|
|
1878
|
-
paths:
|
|
1532
|
+
paths: TRANSFORM_PATHS_8
|
|
1879
1533
|
},
|
|
1880
1534
|
{
|
|
1881
1535
|
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
1882
|
-
paths:
|
|
1883
|
-
{ path: "field.numberRange.min" },
|
|
1884
|
-
{ path: "field.numberRange.max" },
|
|
1885
|
-
{ path: "field.typeMetadata.number.defaultValue" },
|
|
1886
|
-
{ path: "field.typeMetadata.number.min" },
|
|
1887
|
-
{ path: "field.typeMetadata.number.max" }
|
|
1888
|
-
]
|
|
1536
|
+
paths: TRANSFORM_PATHS_9
|
|
1889
1537
|
},
|
|
1890
1538
|
{
|
|
1891
1539
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
1892
|
-
paths:
|
|
1893
|
-
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
1894
|
-
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
1895
|
-
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
1896
|
-
{ path: "field.typeMetadata.datetime.defaultValueFixed" },
|
|
1897
|
-
{ path: "field.typeMetadata.datetime.minDateFixed" },
|
|
1898
|
-
{ path: "field.typeMetadata.datetime.maxDateFixed" }
|
|
1899
|
-
]
|
|
1540
|
+
paths: TRANSFORM_PATHS_10
|
|
1900
1541
|
}
|
|
1901
1542
|
]);
|
|
1902
1543
|
const metadata = {
|
|
@@ -1918,36 +1559,11 @@ function patchDataCollectionField(payload) {
|
|
|
1918
1559
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1919
1560
|
{
|
|
1920
1561
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1921
|
-
paths:
|
|
1922
|
-
{ path: "dataCollection.createdDate" },
|
|
1923
|
-
{ path: "dataCollection.updatedDate" },
|
|
1924
|
-
{
|
|
1925
|
-
path: "dataCollection.fields.typeMetadata.date.defaultValueFixed"
|
|
1926
|
-
},
|
|
1927
|
-
{ path: "dataCollection.fields.typeMetadata.date.minDateFixed" },
|
|
1928
|
-
{ path: "dataCollection.fields.typeMetadata.date.maxDateFixed" },
|
|
1929
|
-
{
|
|
1930
|
-
path: "dataCollection.fields.typeMetadata.datetime.defaultValueFixed"
|
|
1931
|
-
},
|
|
1932
|
-
{
|
|
1933
|
-
path: "dataCollection.fields.typeMetadata.datetime.minDateFixed"
|
|
1934
|
-
},
|
|
1935
|
-
{
|
|
1936
|
-
path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed"
|
|
1937
|
-
}
|
|
1938
|
-
]
|
|
1562
|
+
paths: TRANSFORM_PATHS_6
|
|
1939
1563
|
},
|
|
1940
1564
|
{
|
|
1941
1565
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1942
|
-
paths:
|
|
1943
|
-
{ path: "dataCollection.fields.numberRange.min" },
|
|
1944
|
-
{ path: "dataCollection.fields.numberRange.max" },
|
|
1945
|
-
{
|
|
1946
|
-
path: "dataCollection.fields.typeMetadata.number.defaultValue"
|
|
1947
|
-
},
|
|
1948
|
-
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
1949
|
-
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
1950
|
-
]
|
|
1566
|
+
paths: TRANSFORM_PATHS_7
|
|
1951
1567
|
}
|
|
1952
1568
|
])
|
|
1953
1569
|
};
|
|
@@ -2438,6 +2054,24 @@ function deletePublishPlugin2() {
|
|
|
2438
2054
|
__originalResponseType: null
|
|
2439
2055
|
};
|
|
2440
2056
|
}
|
|
2057
|
+
function updatePublishPlugin2() {
|
|
2058
|
+
const payload = {};
|
|
2059
|
+
const getRequestOptions = updatePublishPlugin(payload);
|
|
2060
|
+
const getUrl = (context) => {
|
|
2061
|
+
const { url } = getRequestOptions(context);
|
|
2062
|
+
return url;
|
|
2063
|
+
};
|
|
2064
|
+
return {
|
|
2065
|
+
getUrl,
|
|
2066
|
+
httpMethod: "POST",
|
|
2067
|
+
path: "/v2/collections/update-publish-plugin",
|
|
2068
|
+
pathParams: {},
|
|
2069
|
+
__requestType: null,
|
|
2070
|
+
__originalRequestType: null,
|
|
2071
|
+
__responseType: null,
|
|
2072
|
+
__originalResponseType: null
|
|
2073
|
+
};
|
|
2074
|
+
}
|
|
2441
2075
|
function addUrlizedPlugin2() {
|
|
2442
2076
|
const payload = {};
|
|
2443
2077
|
const getRequestOptions = addUrlizedPlugin(payload);
|
|
@@ -2474,6 +2108,24 @@ function deleteUrlizedPlugin2() {
|
|
|
2474
2108
|
__originalResponseType: null
|
|
2475
2109
|
};
|
|
2476
2110
|
}
|
|
2111
|
+
function updateUrlizedPlugin2() {
|
|
2112
|
+
const payload = {};
|
|
2113
|
+
const getRequestOptions = updateUrlizedPlugin(payload);
|
|
2114
|
+
const getUrl = (context) => {
|
|
2115
|
+
const { url } = getRequestOptions(context);
|
|
2116
|
+
return url;
|
|
2117
|
+
};
|
|
2118
|
+
return {
|
|
2119
|
+
getUrl,
|
|
2120
|
+
httpMethod: "POST",
|
|
2121
|
+
path: "/v2/collections/update-urlized-plugin",
|
|
2122
|
+
pathParams: {},
|
|
2123
|
+
__requestType: null,
|
|
2124
|
+
__originalRequestType: null,
|
|
2125
|
+
__responseType: null,
|
|
2126
|
+
__originalResponseType: null
|
|
2127
|
+
};
|
|
2128
|
+
}
|
|
2477
2129
|
function addMultilingualPlugin2() {
|
|
2478
2130
|
const payload = {};
|
|
2479
2131
|
const getRequestOptions = addMultilingualPlugin(payload);
|
|
@@ -2510,6 +2162,24 @@ function deleteMultilingualPlugin2() {
|
|
|
2510
2162
|
__originalResponseType: null
|
|
2511
2163
|
};
|
|
2512
2164
|
}
|
|
2165
|
+
function updateMultilingualPlugin2() {
|
|
2166
|
+
const payload = {};
|
|
2167
|
+
const getRequestOptions = updateMultilingualPlugin(payload);
|
|
2168
|
+
const getUrl = (context) => {
|
|
2169
|
+
const { url } = getRequestOptions(context);
|
|
2170
|
+
return url;
|
|
2171
|
+
};
|
|
2172
|
+
return {
|
|
2173
|
+
getUrl,
|
|
2174
|
+
httpMethod: "POST",
|
|
2175
|
+
path: "/v2/collections/update-multilingual-plugin",
|
|
2176
|
+
pathParams: {},
|
|
2177
|
+
__requestType: null,
|
|
2178
|
+
__originalRequestType: null,
|
|
2179
|
+
__responseType: null,
|
|
2180
|
+
__originalResponseType: null
|
|
2181
|
+
};
|
|
2182
|
+
}
|
|
2513
2183
|
function addCmsPlugin2() {
|
|
2514
2184
|
const payload = {};
|
|
2515
2185
|
const getRequestOptions = addCmsPlugin(payload);
|
|
@@ -2546,6 +2216,24 @@ function deleteCmsPlugin2() {
|
|
|
2546
2216
|
__originalResponseType: null
|
|
2547
2217
|
};
|
|
2548
2218
|
}
|
|
2219
|
+
function updateCmsPlugin2() {
|
|
2220
|
+
const payload = {};
|
|
2221
|
+
const getRequestOptions = updateCmsPlugin(payload);
|
|
2222
|
+
const getUrl = (context) => {
|
|
2223
|
+
const { url } = getRequestOptions(context);
|
|
2224
|
+
return url;
|
|
2225
|
+
};
|
|
2226
|
+
return {
|
|
2227
|
+
getUrl,
|
|
2228
|
+
httpMethod: "POST",
|
|
2229
|
+
path: "/v2/collections/update-cms-plugin",
|
|
2230
|
+
pathParams: {},
|
|
2231
|
+
__requestType: null,
|
|
2232
|
+
__originalRequestType: null,
|
|
2233
|
+
__responseType: null,
|
|
2234
|
+
__originalResponseType: null
|
|
2235
|
+
};
|
|
2236
|
+
}
|
|
2549
2237
|
function addCatalogPlugin2() {
|
|
2550
2238
|
const payload = {};
|
|
2551
2239
|
const getRequestOptions = addCatalogPlugin(payload);
|
|
@@ -2582,6 +2270,24 @@ function deleteCatalogPlugin2() {
|
|
|
2582
2270
|
__originalResponseType: null
|
|
2583
2271
|
};
|
|
2584
2272
|
}
|
|
2273
|
+
function updateCatalogPlugin2() {
|
|
2274
|
+
const payload = {};
|
|
2275
|
+
const getRequestOptions = updateCatalogPlugin(payload);
|
|
2276
|
+
const getUrl = (context) => {
|
|
2277
|
+
const { url } = getRequestOptions(context);
|
|
2278
|
+
return url;
|
|
2279
|
+
};
|
|
2280
|
+
return {
|
|
2281
|
+
getUrl,
|
|
2282
|
+
httpMethod: "POST",
|
|
2283
|
+
path: "/v2/collections/update-catalog-plugin",
|
|
2284
|
+
pathParams: {},
|
|
2285
|
+
__requestType: null,
|
|
2286
|
+
__originalRequestType: null,
|
|
2287
|
+
__responseType: null,
|
|
2288
|
+
__originalResponseType: null
|
|
2289
|
+
};
|
|
2290
|
+
}
|
|
2585
2291
|
function addDraftItemsPlugin2() {
|
|
2586
2292
|
const payload = {};
|
|
2587
2293
|
const getRequestOptions = addDraftItemsPlugin(payload);
|
|
@@ -2618,6 +2324,24 @@ function deleteDraftItemsPlugin2() {
|
|
|
2618
2324
|
__originalResponseType: null
|
|
2619
2325
|
};
|
|
2620
2326
|
}
|
|
2327
|
+
function updateDraftItemsPlugin2() {
|
|
2328
|
+
const payload = {};
|
|
2329
|
+
const getRequestOptions = updateDraftItemsPlugin(payload);
|
|
2330
|
+
const getUrl = (context) => {
|
|
2331
|
+
const { url } = getRequestOptions(context);
|
|
2332
|
+
return url;
|
|
2333
|
+
};
|
|
2334
|
+
return {
|
|
2335
|
+
getUrl,
|
|
2336
|
+
httpMethod: "POST",
|
|
2337
|
+
path: "/v2/collections/update-draft-items-plugin",
|
|
2338
|
+
pathParams: {},
|
|
2339
|
+
__requestType: null,
|
|
2340
|
+
__originalRequestType: null,
|
|
2341
|
+
__responseType: null,
|
|
2342
|
+
__originalResponseType: null
|
|
2343
|
+
};
|
|
2344
|
+
}
|
|
2621
2345
|
function patchDataCollectionField2() {
|
|
2622
2346
|
const payload = { dataCollectionId: ":dataCollectionId" };
|
|
2623
2347
|
const getRequestOptions = patchDataCollectionField(payload);
|
|
@@ -2687,7 +2411,13 @@ function patchDataCollectionField2() {
|
|
|
2687
2411
|
patchDataCollection,
|
|
2688
2412
|
patchDataCollectionField,
|
|
2689
2413
|
restoreDataCollection,
|
|
2414
|
+
updateCatalogPlugin,
|
|
2415
|
+
updateCmsPlugin,
|
|
2690
2416
|
updateDataCollection,
|
|
2691
|
-
updateDataCollectionField
|
|
2417
|
+
updateDataCollectionField,
|
|
2418
|
+
updateDraftItemsPlugin,
|
|
2419
|
+
updateMultilingualPlugin,
|
|
2420
|
+
updatePublishPlugin,
|
|
2421
|
+
updateUrlizedPlugin
|
|
2692
2422
|
});
|
|
2693
2423
|
//# sourceMappingURL=meta.js.map
|