@wix/auto_sdk_data_collections 1.0.105 → 1.0.107
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 +28 -3
- package/build/cjs/index.js +259 -66
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +67 -1
- package/build/cjs/index.typings.js +251 -66
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +3 -2
- package/build/cjs/meta.js +230 -66
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +28 -3
- package/build/es/index.mjs +258 -66
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +67 -1
- package/build/es/index.typings.mjs +250 -66
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +3 -2
- package/build/es/meta.mjs +229 -66
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +17 -5
- package/build/internal/cjs/index.typings.d.ts +60 -2
- package/build/internal/cjs/meta.d.ts +3 -2
- package/build/internal/es/index.d.mts +17 -5
- package/build/internal/es/index.typings.d.mts +60 -2
- package/build/internal/es/meta.d.mts +3 -2
- package/package.json +2 -2
package/build/es/meta.mjs
CHANGED
|
@@ -74,6 +74,36 @@ var TRANSFORM_PATHS_5 = [
|
|
|
74
74
|
{ path: "collections.fields.typeMetadata.number.max" }
|
|
75
75
|
];
|
|
76
76
|
var TRANSFORM_PATHS_6 = [
|
|
77
|
+
{ path: "activeCollections.createdDate" },
|
|
78
|
+
{ path: "activeCollections.updatedDate" },
|
|
79
|
+
{ path: "activeCollections.fields.typeMetadata.date.defaultValueFixed" },
|
|
80
|
+
{ path: "activeCollections.fields.typeMetadata.date.minDateFixed" },
|
|
81
|
+
{ path: "activeCollections.fields.typeMetadata.date.maxDateFixed" },
|
|
82
|
+
{ path: "activeCollections.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
83
|
+
{ path: "activeCollections.fields.typeMetadata.datetime.minDateFixed" },
|
|
84
|
+
{ path: "activeCollections.fields.typeMetadata.datetime.maxDateFixed" },
|
|
85
|
+
{ path: "deletedCollections.createdDate" },
|
|
86
|
+
{ path: "deletedCollections.updatedDate" },
|
|
87
|
+
{ path: "deletedCollections.fields.typeMetadata.date.defaultValueFixed" },
|
|
88
|
+
{ path: "deletedCollections.fields.typeMetadata.date.minDateFixed" },
|
|
89
|
+
{ path: "deletedCollections.fields.typeMetadata.date.maxDateFixed" },
|
|
90
|
+
{ path: "deletedCollections.fields.typeMetadata.datetime.defaultValueFixed" },
|
|
91
|
+
{ path: "deletedCollections.fields.typeMetadata.datetime.minDateFixed" },
|
|
92
|
+
{ path: "deletedCollections.fields.typeMetadata.datetime.maxDateFixed" }
|
|
93
|
+
];
|
|
94
|
+
var TRANSFORM_PATHS_7 = [
|
|
95
|
+
{ path: "activeCollections.fields.numberRange.min" },
|
|
96
|
+
{ path: "activeCollections.fields.numberRange.max" },
|
|
97
|
+
{ path: "activeCollections.fields.typeMetadata.number.defaultValue" },
|
|
98
|
+
{ path: "activeCollections.fields.typeMetadata.number.min" },
|
|
99
|
+
{ path: "activeCollections.fields.typeMetadata.number.max" },
|
|
100
|
+
{ path: "deletedCollections.fields.numberRange.min" },
|
|
101
|
+
{ path: "deletedCollections.fields.numberRange.max" },
|
|
102
|
+
{ path: "deletedCollections.fields.typeMetadata.number.defaultValue" },
|
|
103
|
+
{ path: "deletedCollections.fields.typeMetadata.number.min" },
|
|
104
|
+
{ path: "deletedCollections.fields.typeMetadata.number.max" }
|
|
105
|
+
];
|
|
106
|
+
var TRANSFORM_PATHS_8 = [
|
|
77
107
|
{ path: "dataCollection.createdDate" },
|
|
78
108
|
{ path: "dataCollection.updatedDate" },
|
|
79
109
|
{ path: "dataCollection.fields.typeMetadata.date.defaultValueFixed" },
|
|
@@ -83,22 +113,22 @@ var TRANSFORM_PATHS_6 = [
|
|
|
83
113
|
{ path: "dataCollection.fields.typeMetadata.datetime.minDateFixed" },
|
|
84
114
|
{ path: "dataCollection.fields.typeMetadata.datetime.maxDateFixed" }
|
|
85
115
|
];
|
|
86
|
-
var
|
|
116
|
+
var TRANSFORM_PATHS_9 = [
|
|
87
117
|
{ path: "dataCollection.fields.numberRange.min" },
|
|
88
118
|
{ path: "dataCollection.fields.numberRange.max" },
|
|
89
119
|
{ path: "dataCollection.fields.typeMetadata.number.defaultValue" },
|
|
90
120
|
{ path: "dataCollection.fields.typeMetadata.number.min" },
|
|
91
121
|
{ path: "dataCollection.fields.typeMetadata.number.max" }
|
|
92
122
|
];
|
|
93
|
-
var
|
|
94
|
-
var
|
|
123
|
+
var TRANSFORM_PATHS_10 = [{ path: "fieldMask" }];
|
|
124
|
+
var TRANSFORM_PATHS_11 = [
|
|
95
125
|
{ path: "field.numberRange.min" },
|
|
96
126
|
{ path: "field.numberRange.max" },
|
|
97
127
|
{ path: "field.typeMetadata.number.defaultValue" },
|
|
98
128
|
{ path: "field.typeMetadata.number.min" },
|
|
99
129
|
{ path: "field.typeMetadata.number.max" }
|
|
100
130
|
];
|
|
101
|
-
var
|
|
131
|
+
var TRANSFORM_PATHS_12 = [
|
|
102
132
|
{ path: "field.typeMetadata.date.defaultValueFixed" },
|
|
103
133
|
{ path: "field.typeMetadata.date.minDateFixed" },
|
|
104
134
|
{ path: "field.typeMetadata.date.maxDateFixed" },
|
|
@@ -116,6 +146,10 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
|
|
|
116
146
|
{
|
|
117
147
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
118
148
|
destPath: "/v2/collections"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
152
|
+
destPath: "/v2/bulk/collections"
|
|
119
153
|
}
|
|
120
154
|
],
|
|
121
155
|
"blocks._base_domain_": [
|
|
@@ -126,6 +160,10 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
|
|
|
126
160
|
{
|
|
127
161
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
128
162
|
destPath: "/v2/collections"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
166
|
+
destPath: "/v2/bulk/collections"
|
|
129
167
|
}
|
|
130
168
|
],
|
|
131
169
|
"create.editorx": [
|
|
@@ -136,12 +174,28 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
|
|
|
136
174
|
{
|
|
137
175
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
138
176
|
destPath: "/v2/collections"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
180
|
+
destPath: "/v2/bulk/collections"
|
|
139
181
|
}
|
|
140
182
|
],
|
|
141
183
|
"www.wixapis.com": [
|
|
142
184
|
{
|
|
143
185
|
srcPath: "/data/v2/collections",
|
|
144
186
|
destPath: "/v2/collections"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
srcPath: "/data/v2/bulk/collections",
|
|
190
|
+
destPath: "/v2/bulk/collections"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
srcPath: "/wix-data/v2/collections",
|
|
194
|
+
destPath: "/v2/collections"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
srcPath: "/wix-data/v2/bulk/collections",
|
|
198
|
+
destPath: "/v2/bulk/collections"
|
|
145
199
|
}
|
|
146
200
|
],
|
|
147
201
|
"bo._base_domain_": [
|
|
@@ -152,6 +206,10 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
|
|
|
152
206
|
{
|
|
153
207
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
154
208
|
destPath: "/v2/collections"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
212
|
+
destPath: "/v2/bulk/collections"
|
|
155
213
|
}
|
|
156
214
|
],
|
|
157
215
|
"wixbo.ai": [
|
|
@@ -162,6 +220,10 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
|
|
|
162
220
|
{
|
|
163
221
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
164
222
|
destPath: "/v2/collections"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
226
|
+
destPath: "/v2/bulk/collections"
|
|
165
227
|
}
|
|
166
228
|
],
|
|
167
229
|
"wix-bo.com": [
|
|
@@ -172,6 +234,10 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
|
|
|
172
234
|
{
|
|
173
235
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
174
236
|
destPath: "/v2/collections"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
240
|
+
destPath: "/v2/bulk/collections"
|
|
175
241
|
}
|
|
176
242
|
],
|
|
177
243
|
"cloud-data.wix-code.com": [
|
|
@@ -182,6 +248,10 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
|
|
|
182
248
|
{
|
|
183
249
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
184
250
|
destPath: "/v2/collections"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
254
|
+
destPath: "/v2/bulk/collections"
|
|
185
255
|
}
|
|
186
256
|
],
|
|
187
257
|
"dev._base_domain_": [
|
|
@@ -192,6 +262,10 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
|
|
|
192
262
|
{
|
|
193
263
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
194
264
|
destPath: "/v2/collections"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
268
|
+
destPath: "/v2/bulk/collections"
|
|
195
269
|
}
|
|
196
270
|
],
|
|
197
271
|
_: [
|
|
@@ -202,6 +276,10 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
|
|
|
202
276
|
{
|
|
203
277
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
204
278
|
destPath: "/v2/collections"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
282
|
+
destPath: "/v2/bulk/collections"
|
|
205
283
|
}
|
|
206
284
|
],
|
|
207
285
|
"manage._base_domain_": [
|
|
@@ -212,6 +290,34 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
|
|
|
212
290
|
{
|
|
213
291
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
214
292
|
destPath: "/v2/collections"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
296
|
+
destPath: "/v2/bulk/collections"
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
"*.dev.wix-code.com": [
|
|
300
|
+
{
|
|
301
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
302
|
+
destPath: "/v2/collections"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
306
|
+
destPath: "/v2/bulk/collections"
|
|
307
|
+
}
|
|
308
|
+
],
|
|
309
|
+
"www._base_domain_": [
|
|
310
|
+
{
|
|
311
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
312
|
+
destPath: "/v1/schemas"
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
316
|
+
destPath: "/v2/collections"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
320
|
+
destPath: "/v2/bulk/collections"
|
|
215
321
|
}
|
|
216
322
|
]
|
|
217
323
|
};
|
|
@@ -315,6 +421,44 @@ function listDataCollections(payload) {
|
|
|
315
421
|
}
|
|
316
422
|
return __listDataCollections;
|
|
317
423
|
}
|
|
424
|
+
function bulkGetDataCollections(payload) {
|
|
425
|
+
function __bulkGetDataCollections({ host }) {
|
|
426
|
+
const metadata = {
|
|
427
|
+
entityFqdn: "wix.data.v2.data_collection",
|
|
428
|
+
method: "GET",
|
|
429
|
+
methodFqn: "com.wixpress.cloud.data.api.collectionservice.DataCollectionService.BulkGetDataCollections",
|
|
430
|
+
packageName: PACKAGE_NAME,
|
|
431
|
+
migrationOptions: {
|
|
432
|
+
optInTransformResponse: true
|
|
433
|
+
},
|
|
434
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
435
|
+
{ protoPath: "/v2/bulk/collections/get", data: payload, host }
|
|
436
|
+
),
|
|
437
|
+
params: toURLSearchParams(payload),
|
|
438
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
439
|
+
{
|
|
440
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
441
|
+
paths: TRANSFORM_PATHS_6
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
transformFn: transformRESTFloatToSDKFloat,
|
|
445
|
+
paths: TRANSFORM_PATHS_7
|
|
446
|
+
}
|
|
447
|
+
]),
|
|
448
|
+
fallback: [
|
|
449
|
+
{
|
|
450
|
+
method: "POST",
|
|
451
|
+
url: resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(
|
|
452
|
+
{ protoPath: "/v2/bulk/collections/get", data: payload, host }
|
|
453
|
+
),
|
|
454
|
+
data: payload
|
|
455
|
+
}
|
|
456
|
+
]
|
|
457
|
+
};
|
|
458
|
+
return metadata;
|
|
459
|
+
}
|
|
460
|
+
return __bulkGetDataCollections;
|
|
461
|
+
}
|
|
318
462
|
function updateDataCollection(payload) {
|
|
319
463
|
function __updateDataCollection({ host }) {
|
|
320
464
|
const serializedData = transformPaths(payload, [
|
|
@@ -394,11 +538,11 @@ function restoreDataCollection(payload) {
|
|
|
394
538
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
395
539
|
{
|
|
396
540
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
397
|
-
paths:
|
|
541
|
+
paths: TRANSFORM_PATHS_8
|
|
398
542
|
},
|
|
399
543
|
{
|
|
400
544
|
transformFn: transformRESTFloatToSDKFloat,
|
|
401
|
-
paths:
|
|
545
|
+
paths: TRANSFORM_PATHS_9
|
|
402
546
|
}
|
|
403
547
|
])
|
|
404
548
|
};
|
|
@@ -411,15 +555,15 @@ function patchDataCollection(payload) {
|
|
|
411
555
|
const serializedData = transformPaths(payload, [
|
|
412
556
|
{
|
|
413
557
|
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
414
|
-
paths:
|
|
558
|
+
paths: TRANSFORM_PATHS_10
|
|
415
559
|
},
|
|
416
560
|
{
|
|
417
561
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
418
|
-
paths:
|
|
562
|
+
paths: TRANSFORM_PATHS_8
|
|
419
563
|
},
|
|
420
564
|
{
|
|
421
565
|
transformFn: transformSDKFloatToRESTFloat,
|
|
422
|
-
paths:
|
|
566
|
+
paths: TRANSFORM_PATHS_9
|
|
423
567
|
}
|
|
424
568
|
]);
|
|
425
569
|
const metadata = {
|
|
@@ -441,11 +585,11 @@ function patchDataCollection(payload) {
|
|
|
441
585
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
442
586
|
{
|
|
443
587
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
444
|
-
paths:
|
|
588
|
+
paths: TRANSFORM_PATHS_8
|
|
445
589
|
},
|
|
446
590
|
{
|
|
447
591
|
transformFn: transformRESTFloatToSDKFloat,
|
|
448
|
-
paths:
|
|
592
|
+
paths: TRANSFORM_PATHS_9
|
|
449
593
|
}
|
|
450
594
|
])
|
|
451
595
|
};
|
|
@@ -458,11 +602,11 @@ function createDataCollectionField(payload) {
|
|
|
458
602
|
const serializedData = transformPaths(payload, [
|
|
459
603
|
{
|
|
460
604
|
transformFn: transformSDKFloatToRESTFloat,
|
|
461
|
-
paths:
|
|
605
|
+
paths: TRANSFORM_PATHS_11
|
|
462
606
|
},
|
|
463
607
|
{
|
|
464
608
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
465
|
-
paths:
|
|
609
|
+
paths: TRANSFORM_PATHS_12
|
|
466
610
|
}
|
|
467
611
|
]);
|
|
468
612
|
const metadata = {
|
|
@@ -484,11 +628,11 @@ function createDataCollectionField(payload) {
|
|
|
484
628
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
485
629
|
{
|
|
486
630
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
487
|
-
paths:
|
|
631
|
+
paths: TRANSFORM_PATHS_8
|
|
488
632
|
},
|
|
489
633
|
{
|
|
490
634
|
transformFn: transformRESTFloatToSDKFloat,
|
|
491
|
-
paths:
|
|
635
|
+
paths: TRANSFORM_PATHS_9
|
|
492
636
|
}
|
|
493
637
|
])
|
|
494
638
|
};
|
|
@@ -501,11 +645,11 @@ function updateDataCollectionField(payload) {
|
|
|
501
645
|
const serializedData = transformPaths(payload, [
|
|
502
646
|
{
|
|
503
647
|
transformFn: transformSDKFloatToRESTFloat,
|
|
504
|
-
paths:
|
|
648
|
+
paths: TRANSFORM_PATHS_11
|
|
505
649
|
},
|
|
506
650
|
{
|
|
507
651
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
508
|
-
paths:
|
|
652
|
+
paths: TRANSFORM_PATHS_12
|
|
509
653
|
}
|
|
510
654
|
]);
|
|
511
655
|
const metadata = {
|
|
@@ -527,11 +671,11 @@ function updateDataCollectionField(payload) {
|
|
|
527
671
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
528
672
|
{
|
|
529
673
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
530
|
-
paths:
|
|
674
|
+
paths: TRANSFORM_PATHS_8
|
|
531
675
|
},
|
|
532
676
|
{
|
|
533
677
|
transformFn: transformRESTFloatToSDKFloat,
|
|
534
|
-
paths:
|
|
678
|
+
paths: TRANSFORM_PATHS_9
|
|
535
679
|
}
|
|
536
680
|
])
|
|
537
681
|
};
|
|
@@ -556,11 +700,11 @@ function deleteDataCollectionField(payload) {
|
|
|
556
700
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
557
701
|
{
|
|
558
702
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
559
|
-
paths:
|
|
703
|
+
paths: TRANSFORM_PATHS_8
|
|
560
704
|
},
|
|
561
705
|
{
|
|
562
706
|
transformFn: transformRESTFloatToSDKFloat,
|
|
563
|
-
paths:
|
|
707
|
+
paths: TRANSFORM_PATHS_9
|
|
564
708
|
}
|
|
565
709
|
])
|
|
566
710
|
};
|
|
@@ -585,11 +729,11 @@ function addDataCollectionPlugin(payload) {
|
|
|
585
729
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
586
730
|
{
|
|
587
731
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
588
|
-
paths:
|
|
732
|
+
paths: TRANSFORM_PATHS_8
|
|
589
733
|
},
|
|
590
734
|
{
|
|
591
735
|
transformFn: transformRESTFloatToSDKFloat,
|
|
592
|
-
paths:
|
|
736
|
+
paths: TRANSFORM_PATHS_9
|
|
593
737
|
}
|
|
594
738
|
])
|
|
595
739
|
};
|
|
@@ -614,11 +758,11 @@ function deleteDataCollectionPlugin(payload) {
|
|
|
614
758
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
615
759
|
{
|
|
616
760
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
617
|
-
paths:
|
|
761
|
+
paths: TRANSFORM_PATHS_8
|
|
618
762
|
},
|
|
619
763
|
{
|
|
620
764
|
transformFn: transformRESTFloatToSDKFloat,
|
|
621
|
-
paths:
|
|
765
|
+
paths: TRANSFORM_PATHS_9
|
|
622
766
|
}
|
|
623
767
|
])
|
|
624
768
|
};
|
|
@@ -643,11 +787,11 @@ function addPublishPlugin(payload) {
|
|
|
643
787
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
644
788
|
{
|
|
645
789
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
646
|
-
paths:
|
|
790
|
+
paths: TRANSFORM_PATHS_8
|
|
647
791
|
},
|
|
648
792
|
{
|
|
649
793
|
transformFn: transformRESTFloatToSDKFloat,
|
|
650
|
-
paths:
|
|
794
|
+
paths: TRANSFORM_PATHS_9
|
|
651
795
|
}
|
|
652
796
|
])
|
|
653
797
|
};
|
|
@@ -676,11 +820,11 @@ function deletePublishPlugin(payload) {
|
|
|
676
820
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
677
821
|
{
|
|
678
822
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
679
|
-
paths:
|
|
823
|
+
paths: TRANSFORM_PATHS_8
|
|
680
824
|
},
|
|
681
825
|
{
|
|
682
826
|
transformFn: transformRESTFloatToSDKFloat,
|
|
683
|
-
paths:
|
|
827
|
+
paths: TRANSFORM_PATHS_9
|
|
684
828
|
}
|
|
685
829
|
])
|
|
686
830
|
};
|
|
@@ -709,11 +853,11 @@ function updatePublishPlugin(payload) {
|
|
|
709
853
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
710
854
|
{
|
|
711
855
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
712
|
-
paths:
|
|
856
|
+
paths: TRANSFORM_PATHS_8
|
|
713
857
|
},
|
|
714
858
|
{
|
|
715
859
|
transformFn: transformRESTFloatToSDKFloat,
|
|
716
|
-
paths:
|
|
860
|
+
paths: TRANSFORM_PATHS_9
|
|
717
861
|
}
|
|
718
862
|
])
|
|
719
863
|
};
|
|
@@ -738,11 +882,11 @@ function addUrlizedPlugin(payload) {
|
|
|
738
882
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
739
883
|
{
|
|
740
884
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
741
|
-
paths:
|
|
885
|
+
paths: TRANSFORM_PATHS_8
|
|
742
886
|
},
|
|
743
887
|
{
|
|
744
888
|
transformFn: transformRESTFloatToSDKFloat,
|
|
745
|
-
paths:
|
|
889
|
+
paths: TRANSFORM_PATHS_9
|
|
746
890
|
}
|
|
747
891
|
])
|
|
748
892
|
};
|
|
@@ -771,11 +915,11 @@ function deleteUrlizedPlugin(payload) {
|
|
|
771
915
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
772
916
|
{
|
|
773
917
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
774
|
-
paths:
|
|
918
|
+
paths: TRANSFORM_PATHS_8
|
|
775
919
|
},
|
|
776
920
|
{
|
|
777
921
|
transformFn: transformRESTFloatToSDKFloat,
|
|
778
|
-
paths:
|
|
922
|
+
paths: TRANSFORM_PATHS_9
|
|
779
923
|
}
|
|
780
924
|
])
|
|
781
925
|
};
|
|
@@ -804,11 +948,11 @@ function updateUrlizedPlugin(payload) {
|
|
|
804
948
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
805
949
|
{
|
|
806
950
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
807
|
-
paths:
|
|
951
|
+
paths: TRANSFORM_PATHS_8
|
|
808
952
|
},
|
|
809
953
|
{
|
|
810
954
|
transformFn: transformRESTFloatToSDKFloat,
|
|
811
|
-
paths:
|
|
955
|
+
paths: TRANSFORM_PATHS_9
|
|
812
956
|
}
|
|
813
957
|
])
|
|
814
958
|
};
|
|
@@ -837,11 +981,11 @@ function addMultilingualPlugin(payload) {
|
|
|
837
981
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
838
982
|
{
|
|
839
983
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
840
|
-
paths:
|
|
984
|
+
paths: TRANSFORM_PATHS_8
|
|
841
985
|
},
|
|
842
986
|
{
|
|
843
987
|
transformFn: transformRESTFloatToSDKFloat,
|
|
844
|
-
paths:
|
|
988
|
+
paths: TRANSFORM_PATHS_9
|
|
845
989
|
}
|
|
846
990
|
])
|
|
847
991
|
};
|
|
@@ -870,11 +1014,11 @@ function deleteMultilingualPlugin(payload) {
|
|
|
870
1014
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
871
1015
|
{
|
|
872
1016
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
873
|
-
paths:
|
|
1017
|
+
paths: TRANSFORM_PATHS_8
|
|
874
1018
|
},
|
|
875
1019
|
{
|
|
876
1020
|
transformFn: transformRESTFloatToSDKFloat,
|
|
877
|
-
paths:
|
|
1021
|
+
paths: TRANSFORM_PATHS_9
|
|
878
1022
|
}
|
|
879
1023
|
])
|
|
880
1024
|
};
|
|
@@ -903,11 +1047,11 @@ function updateMultilingualPlugin(payload) {
|
|
|
903
1047
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
904
1048
|
{
|
|
905
1049
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
906
|
-
paths:
|
|
1050
|
+
paths: TRANSFORM_PATHS_8
|
|
907
1051
|
},
|
|
908
1052
|
{
|
|
909
1053
|
transformFn: transformRESTFloatToSDKFloat,
|
|
910
|
-
paths:
|
|
1054
|
+
paths: TRANSFORM_PATHS_9
|
|
911
1055
|
}
|
|
912
1056
|
])
|
|
913
1057
|
};
|
|
@@ -932,11 +1076,11 @@ function addCmsPlugin(payload) {
|
|
|
932
1076
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
933
1077
|
{
|
|
934
1078
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
935
|
-
paths:
|
|
1079
|
+
paths: TRANSFORM_PATHS_8
|
|
936
1080
|
},
|
|
937
1081
|
{
|
|
938
1082
|
transformFn: transformRESTFloatToSDKFloat,
|
|
939
|
-
paths:
|
|
1083
|
+
paths: TRANSFORM_PATHS_9
|
|
940
1084
|
}
|
|
941
1085
|
])
|
|
942
1086
|
};
|
|
@@ -961,11 +1105,11 @@ function deleteCmsPlugin(payload) {
|
|
|
961
1105
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
962
1106
|
{
|
|
963
1107
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
964
|
-
paths:
|
|
1108
|
+
paths: TRANSFORM_PATHS_8
|
|
965
1109
|
},
|
|
966
1110
|
{
|
|
967
1111
|
transformFn: transformRESTFloatToSDKFloat,
|
|
968
|
-
paths:
|
|
1112
|
+
paths: TRANSFORM_PATHS_9
|
|
969
1113
|
}
|
|
970
1114
|
])
|
|
971
1115
|
};
|
|
@@ -990,11 +1134,11 @@ function updateCmsPlugin(payload) {
|
|
|
990
1134
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
991
1135
|
{
|
|
992
1136
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
993
|
-
paths:
|
|
1137
|
+
paths: TRANSFORM_PATHS_8
|
|
994
1138
|
},
|
|
995
1139
|
{
|
|
996
1140
|
transformFn: transformRESTFloatToSDKFloat,
|
|
997
|
-
paths:
|
|
1141
|
+
paths: TRANSFORM_PATHS_9
|
|
998
1142
|
}
|
|
999
1143
|
])
|
|
1000
1144
|
};
|
|
@@ -1019,11 +1163,11 @@ function addCatalogPlugin(payload) {
|
|
|
1019
1163
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1020
1164
|
{
|
|
1021
1165
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1022
|
-
paths:
|
|
1166
|
+
paths: TRANSFORM_PATHS_8
|
|
1023
1167
|
},
|
|
1024
1168
|
{
|
|
1025
1169
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1026
|
-
paths:
|
|
1170
|
+
paths: TRANSFORM_PATHS_9
|
|
1027
1171
|
}
|
|
1028
1172
|
])
|
|
1029
1173
|
};
|
|
@@ -1052,11 +1196,11 @@ function deleteCatalogPlugin(payload) {
|
|
|
1052
1196
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1053
1197
|
{
|
|
1054
1198
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1055
|
-
paths:
|
|
1199
|
+
paths: TRANSFORM_PATHS_8
|
|
1056
1200
|
},
|
|
1057
1201
|
{
|
|
1058
1202
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1059
|
-
paths:
|
|
1203
|
+
paths: TRANSFORM_PATHS_9
|
|
1060
1204
|
}
|
|
1061
1205
|
])
|
|
1062
1206
|
};
|
|
@@ -1085,11 +1229,11 @@ function updateCatalogPlugin(payload) {
|
|
|
1085
1229
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1086
1230
|
{
|
|
1087
1231
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1088
|
-
paths:
|
|
1232
|
+
paths: TRANSFORM_PATHS_8
|
|
1089
1233
|
},
|
|
1090
1234
|
{
|
|
1091
1235
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1092
|
-
paths:
|
|
1236
|
+
paths: TRANSFORM_PATHS_9
|
|
1093
1237
|
}
|
|
1094
1238
|
])
|
|
1095
1239
|
};
|
|
@@ -1118,11 +1262,11 @@ function addDraftItemsPlugin(payload) {
|
|
|
1118
1262
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1119
1263
|
{
|
|
1120
1264
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1121
|
-
paths:
|
|
1265
|
+
paths: TRANSFORM_PATHS_8
|
|
1122
1266
|
},
|
|
1123
1267
|
{
|
|
1124
1268
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1125
|
-
paths:
|
|
1269
|
+
paths: TRANSFORM_PATHS_9
|
|
1126
1270
|
}
|
|
1127
1271
|
])
|
|
1128
1272
|
};
|
|
@@ -1151,11 +1295,11 @@ function deleteDraftItemsPlugin(payload) {
|
|
|
1151
1295
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1152
1296
|
{
|
|
1153
1297
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1154
|
-
paths:
|
|
1298
|
+
paths: TRANSFORM_PATHS_8
|
|
1155
1299
|
},
|
|
1156
1300
|
{
|
|
1157
1301
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1158
|
-
paths:
|
|
1302
|
+
paths: TRANSFORM_PATHS_9
|
|
1159
1303
|
}
|
|
1160
1304
|
])
|
|
1161
1305
|
};
|
|
@@ -1184,11 +1328,11 @@ function updateDraftItemsPlugin(payload) {
|
|
|
1184
1328
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1185
1329
|
{
|
|
1186
1330
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1187
|
-
paths:
|
|
1331
|
+
paths: TRANSFORM_PATHS_8
|
|
1188
1332
|
},
|
|
1189
1333
|
{
|
|
1190
1334
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1191
|
-
paths:
|
|
1335
|
+
paths: TRANSFORM_PATHS_9
|
|
1192
1336
|
}
|
|
1193
1337
|
])
|
|
1194
1338
|
};
|
|
@@ -1201,15 +1345,15 @@ function patchDataCollectionField(payload) {
|
|
|
1201
1345
|
const serializedData = transformPaths(payload, [
|
|
1202
1346
|
{
|
|
1203
1347
|
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
1204
|
-
paths:
|
|
1348
|
+
paths: TRANSFORM_PATHS_10
|
|
1205
1349
|
},
|
|
1206
1350
|
{
|
|
1207
1351
|
transformFn: transformSDKFloatToRESTFloat,
|
|
1208
|
-
paths:
|
|
1352
|
+
paths: TRANSFORM_PATHS_11
|
|
1209
1353
|
},
|
|
1210
1354
|
{
|
|
1211
1355
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
1212
|
-
paths:
|
|
1356
|
+
paths: TRANSFORM_PATHS_12
|
|
1213
1357
|
}
|
|
1214
1358
|
]);
|
|
1215
1359
|
const metadata = {
|
|
@@ -1231,11 +1375,11 @@ function patchDataCollectionField(payload) {
|
|
|
1231
1375
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1232
1376
|
{
|
|
1233
1377
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1234
|
-
paths:
|
|
1378
|
+
paths: TRANSFORM_PATHS_8
|
|
1235
1379
|
},
|
|
1236
1380
|
{
|
|
1237
1381
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1238
|
-
paths:
|
|
1382
|
+
paths: TRANSFORM_PATHS_9
|
|
1239
1383
|
}
|
|
1240
1384
|
])
|
|
1241
1385
|
};
|
|
@@ -1528,6 +1672,24 @@ function listDataCollections2() {
|
|
|
1528
1672
|
__originalResponseType: null
|
|
1529
1673
|
};
|
|
1530
1674
|
}
|
|
1675
|
+
function bulkGetDataCollections2() {
|
|
1676
|
+
const payload = {};
|
|
1677
|
+
const getRequestOptions = bulkGetDataCollections(payload);
|
|
1678
|
+
const getUrl = (context) => {
|
|
1679
|
+
const { url } = getRequestOptions(context);
|
|
1680
|
+
return url;
|
|
1681
|
+
};
|
|
1682
|
+
return {
|
|
1683
|
+
getUrl,
|
|
1684
|
+
httpMethod: "GET",
|
|
1685
|
+
path: "/v2/bulk/collections/get",
|
|
1686
|
+
pathParams: {},
|
|
1687
|
+
__requestType: null,
|
|
1688
|
+
__originalRequestType: null,
|
|
1689
|
+
__responseType: null,
|
|
1690
|
+
__originalResponseType: null
|
|
1691
|
+
};
|
|
1692
|
+
}
|
|
1531
1693
|
function updateDataCollection2() {
|
|
1532
1694
|
const payload = {};
|
|
1533
1695
|
const getRequestOptions = updateDataCollection(payload);
|
|
@@ -2066,6 +2228,7 @@ export {
|
|
|
2066
2228
|
addMultilingualPlugin2 as addMultilingualPlugin,
|
|
2067
2229
|
addPublishPlugin2 as addPublishPlugin,
|
|
2068
2230
|
addUrlizedPlugin2 as addUrlizedPlugin,
|
|
2231
|
+
bulkGetDataCollections2 as bulkGetDataCollections,
|
|
2069
2232
|
createDataCollection2 as createDataCollection,
|
|
2070
2233
|
createDataCollectionField2 as createDataCollectionField,
|
|
2071
2234
|
deleteCatalogPlugin2 as deleteCatalogPlugin,
|