@wix/auto_sdk_data_collections 1.0.104 → 1.0.106
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 +188 -3
- package/build/cjs/index.js +335 -66
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +283 -1
- package/build/cjs/index.typings.js +327 -66
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +3 -2
- package/build/cjs/meta.js +306 -66
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +188 -3
- package/build/es/index.mjs +334 -66
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +283 -1
- package/build/es/index.typings.mjs +326 -66
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +3 -2
- package/build/es/meta.mjs +305 -66
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +17 -39
- package/build/internal/cjs/index.typings.d.ts +77 -19
- package/build/internal/cjs/meta.d.ts +3 -2
- package/build/internal/es/index.d.mts +17 -39
- package/build/internal/es/index.typings.d.mts +77 -19
- 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" },
|
|
@@ -108,6 +138,66 @@ var TRANSFORM_PATHS_10 = [
|
|
|
108
138
|
];
|
|
109
139
|
function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl(opts) {
|
|
110
140
|
const domainToMappings = {
|
|
141
|
+
"editor._base_domain_": [
|
|
142
|
+
{
|
|
143
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
144
|
+
destPath: "/v1/schemas"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
148
|
+
destPath: "/v2/collections"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
152
|
+
destPath: "/v2/bulk/collections"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"blocks._base_domain_": [
|
|
156
|
+
{
|
|
157
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
158
|
+
destPath: "/v1/schemas"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
162
|
+
destPath: "/v2/collections"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
166
|
+
destPath: "/v2/bulk/collections"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"create.editorx": [
|
|
170
|
+
{
|
|
171
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
172
|
+
destPath: "/v1/schemas"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
176
|
+
destPath: "/v2/collections"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
180
|
+
destPath: "/v2/bulk/collections"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"www.wixapis.com": [
|
|
184
|
+
{
|
|
185
|
+
srcPath: "/data/v2/collections",
|
|
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"
|
|
199
|
+
}
|
|
200
|
+
],
|
|
111
201
|
"bo._base_domain_": [
|
|
112
202
|
{
|
|
113
203
|
srcPath: "/_api/cloud-data/v1/schemas",
|
|
@@ -116,6 +206,10 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
|
|
|
116
206
|
{
|
|
117
207
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
118
208
|
destPath: "/v2/collections"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
212
|
+
destPath: "/v2/bulk/collections"
|
|
119
213
|
}
|
|
120
214
|
],
|
|
121
215
|
"wixbo.ai": [
|
|
@@ -126,6 +220,10 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
|
|
|
126
220
|
{
|
|
127
221
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
128
222
|
destPath: "/v2/collections"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
226
|
+
destPath: "/v2/bulk/collections"
|
|
129
227
|
}
|
|
130
228
|
],
|
|
131
229
|
"wix-bo.com": [
|
|
@@ -136,6 +234,90 @@ function resolveComWixpressCloudDataApiCollectionserviceDataCollectionServiceUrl
|
|
|
136
234
|
{
|
|
137
235
|
srcPath: "/_api/cloud-data/v2/collections",
|
|
138
236
|
destPath: "/v2/collections"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
240
|
+
destPath: "/v2/bulk/collections"
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"cloud-data.wix-code.com": [
|
|
244
|
+
{
|
|
245
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
246
|
+
destPath: "/v1/schemas"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
250
|
+
destPath: "/v2/collections"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
254
|
+
destPath: "/v2/bulk/collections"
|
|
255
|
+
}
|
|
256
|
+
],
|
|
257
|
+
"dev._base_domain_": [
|
|
258
|
+
{
|
|
259
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
260
|
+
destPath: "/v1/schemas"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
264
|
+
destPath: "/v2/collections"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
268
|
+
destPath: "/v2/bulk/collections"
|
|
269
|
+
}
|
|
270
|
+
],
|
|
271
|
+
_: [
|
|
272
|
+
{
|
|
273
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
274
|
+
destPath: "/v1/schemas"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
278
|
+
destPath: "/v2/collections"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
srcPath: "/_api/cloud-data/v2/bulk/collections",
|
|
282
|
+
destPath: "/v2/bulk/collections"
|
|
283
|
+
}
|
|
284
|
+
],
|
|
285
|
+
"manage._base_domain_": [
|
|
286
|
+
{
|
|
287
|
+
srcPath: "/_api/cloud-data/v1/schemas",
|
|
288
|
+
destPath: "/v1/schemas"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
srcPath: "/_api/cloud-data/v2/collections",
|
|
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"
|
|
139
321
|
}
|
|
140
322
|
]
|
|
141
323
|
};
|
|
@@ -239,6 +421,44 @@ function listDataCollections(payload) {
|
|
|
239
421
|
}
|
|
240
422
|
return __listDataCollections;
|
|
241
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
|
+
}
|
|
242
462
|
function updateDataCollection(payload) {
|
|
243
463
|
function __updateDataCollection({ host }) {
|
|
244
464
|
const serializedData = transformPaths(payload, [
|
|
@@ -318,11 +538,11 @@ function restoreDataCollection(payload) {
|
|
|
318
538
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
319
539
|
{
|
|
320
540
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
321
|
-
paths:
|
|
541
|
+
paths: TRANSFORM_PATHS_8
|
|
322
542
|
},
|
|
323
543
|
{
|
|
324
544
|
transformFn: transformRESTFloatToSDKFloat,
|
|
325
|
-
paths:
|
|
545
|
+
paths: TRANSFORM_PATHS_9
|
|
326
546
|
}
|
|
327
547
|
])
|
|
328
548
|
};
|
|
@@ -335,15 +555,15 @@ function patchDataCollection(payload) {
|
|
|
335
555
|
const serializedData = transformPaths(payload, [
|
|
336
556
|
{
|
|
337
557
|
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
338
|
-
paths:
|
|
558
|
+
paths: TRANSFORM_PATHS_10
|
|
339
559
|
},
|
|
340
560
|
{
|
|
341
561
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
342
|
-
paths:
|
|
562
|
+
paths: TRANSFORM_PATHS_8
|
|
343
563
|
},
|
|
344
564
|
{
|
|
345
565
|
transformFn: transformSDKFloatToRESTFloat,
|
|
346
|
-
paths:
|
|
566
|
+
paths: TRANSFORM_PATHS_9
|
|
347
567
|
}
|
|
348
568
|
]);
|
|
349
569
|
const metadata = {
|
|
@@ -365,11 +585,11 @@ function patchDataCollection(payload) {
|
|
|
365
585
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
366
586
|
{
|
|
367
587
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
368
|
-
paths:
|
|
588
|
+
paths: TRANSFORM_PATHS_8
|
|
369
589
|
},
|
|
370
590
|
{
|
|
371
591
|
transformFn: transformRESTFloatToSDKFloat,
|
|
372
|
-
paths:
|
|
592
|
+
paths: TRANSFORM_PATHS_9
|
|
373
593
|
}
|
|
374
594
|
])
|
|
375
595
|
};
|
|
@@ -382,11 +602,11 @@ function createDataCollectionField(payload) {
|
|
|
382
602
|
const serializedData = transformPaths(payload, [
|
|
383
603
|
{
|
|
384
604
|
transformFn: transformSDKFloatToRESTFloat,
|
|
385
|
-
paths:
|
|
605
|
+
paths: TRANSFORM_PATHS_11
|
|
386
606
|
},
|
|
387
607
|
{
|
|
388
608
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
389
|
-
paths:
|
|
609
|
+
paths: TRANSFORM_PATHS_12
|
|
390
610
|
}
|
|
391
611
|
]);
|
|
392
612
|
const metadata = {
|
|
@@ -408,11 +628,11 @@ function createDataCollectionField(payload) {
|
|
|
408
628
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
409
629
|
{
|
|
410
630
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
411
|
-
paths:
|
|
631
|
+
paths: TRANSFORM_PATHS_8
|
|
412
632
|
},
|
|
413
633
|
{
|
|
414
634
|
transformFn: transformRESTFloatToSDKFloat,
|
|
415
|
-
paths:
|
|
635
|
+
paths: TRANSFORM_PATHS_9
|
|
416
636
|
}
|
|
417
637
|
])
|
|
418
638
|
};
|
|
@@ -425,11 +645,11 @@ function updateDataCollectionField(payload) {
|
|
|
425
645
|
const serializedData = transformPaths(payload, [
|
|
426
646
|
{
|
|
427
647
|
transformFn: transformSDKFloatToRESTFloat,
|
|
428
|
-
paths:
|
|
648
|
+
paths: TRANSFORM_PATHS_11
|
|
429
649
|
},
|
|
430
650
|
{
|
|
431
651
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
432
|
-
paths:
|
|
652
|
+
paths: TRANSFORM_PATHS_12
|
|
433
653
|
}
|
|
434
654
|
]);
|
|
435
655
|
const metadata = {
|
|
@@ -451,11 +671,11 @@ function updateDataCollectionField(payload) {
|
|
|
451
671
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
452
672
|
{
|
|
453
673
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
454
|
-
paths:
|
|
674
|
+
paths: TRANSFORM_PATHS_8
|
|
455
675
|
},
|
|
456
676
|
{
|
|
457
677
|
transformFn: transformRESTFloatToSDKFloat,
|
|
458
|
-
paths:
|
|
678
|
+
paths: TRANSFORM_PATHS_9
|
|
459
679
|
}
|
|
460
680
|
])
|
|
461
681
|
};
|
|
@@ -480,11 +700,11 @@ function deleteDataCollectionField(payload) {
|
|
|
480
700
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
481
701
|
{
|
|
482
702
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
483
|
-
paths:
|
|
703
|
+
paths: TRANSFORM_PATHS_8
|
|
484
704
|
},
|
|
485
705
|
{
|
|
486
706
|
transformFn: transformRESTFloatToSDKFloat,
|
|
487
|
-
paths:
|
|
707
|
+
paths: TRANSFORM_PATHS_9
|
|
488
708
|
}
|
|
489
709
|
])
|
|
490
710
|
};
|
|
@@ -509,11 +729,11 @@ function addDataCollectionPlugin(payload) {
|
|
|
509
729
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
510
730
|
{
|
|
511
731
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
512
|
-
paths:
|
|
732
|
+
paths: TRANSFORM_PATHS_8
|
|
513
733
|
},
|
|
514
734
|
{
|
|
515
735
|
transformFn: transformRESTFloatToSDKFloat,
|
|
516
|
-
paths:
|
|
736
|
+
paths: TRANSFORM_PATHS_9
|
|
517
737
|
}
|
|
518
738
|
])
|
|
519
739
|
};
|
|
@@ -538,11 +758,11 @@ function deleteDataCollectionPlugin(payload) {
|
|
|
538
758
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
539
759
|
{
|
|
540
760
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
541
|
-
paths:
|
|
761
|
+
paths: TRANSFORM_PATHS_8
|
|
542
762
|
},
|
|
543
763
|
{
|
|
544
764
|
transformFn: transformRESTFloatToSDKFloat,
|
|
545
|
-
paths:
|
|
765
|
+
paths: TRANSFORM_PATHS_9
|
|
546
766
|
}
|
|
547
767
|
])
|
|
548
768
|
};
|
|
@@ -567,11 +787,11 @@ function addPublishPlugin(payload) {
|
|
|
567
787
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
568
788
|
{
|
|
569
789
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
570
|
-
paths:
|
|
790
|
+
paths: TRANSFORM_PATHS_8
|
|
571
791
|
},
|
|
572
792
|
{
|
|
573
793
|
transformFn: transformRESTFloatToSDKFloat,
|
|
574
|
-
paths:
|
|
794
|
+
paths: TRANSFORM_PATHS_9
|
|
575
795
|
}
|
|
576
796
|
])
|
|
577
797
|
};
|
|
@@ -600,11 +820,11 @@ function deletePublishPlugin(payload) {
|
|
|
600
820
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
601
821
|
{
|
|
602
822
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
603
|
-
paths:
|
|
823
|
+
paths: TRANSFORM_PATHS_8
|
|
604
824
|
},
|
|
605
825
|
{
|
|
606
826
|
transformFn: transformRESTFloatToSDKFloat,
|
|
607
|
-
paths:
|
|
827
|
+
paths: TRANSFORM_PATHS_9
|
|
608
828
|
}
|
|
609
829
|
])
|
|
610
830
|
};
|
|
@@ -633,11 +853,11 @@ function updatePublishPlugin(payload) {
|
|
|
633
853
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
634
854
|
{
|
|
635
855
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
636
|
-
paths:
|
|
856
|
+
paths: TRANSFORM_PATHS_8
|
|
637
857
|
},
|
|
638
858
|
{
|
|
639
859
|
transformFn: transformRESTFloatToSDKFloat,
|
|
640
|
-
paths:
|
|
860
|
+
paths: TRANSFORM_PATHS_9
|
|
641
861
|
}
|
|
642
862
|
])
|
|
643
863
|
};
|
|
@@ -662,11 +882,11 @@ function addUrlizedPlugin(payload) {
|
|
|
662
882
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
663
883
|
{
|
|
664
884
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
665
|
-
paths:
|
|
885
|
+
paths: TRANSFORM_PATHS_8
|
|
666
886
|
},
|
|
667
887
|
{
|
|
668
888
|
transformFn: transformRESTFloatToSDKFloat,
|
|
669
|
-
paths:
|
|
889
|
+
paths: TRANSFORM_PATHS_9
|
|
670
890
|
}
|
|
671
891
|
])
|
|
672
892
|
};
|
|
@@ -695,11 +915,11 @@ function deleteUrlizedPlugin(payload) {
|
|
|
695
915
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
696
916
|
{
|
|
697
917
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
698
|
-
paths:
|
|
918
|
+
paths: TRANSFORM_PATHS_8
|
|
699
919
|
},
|
|
700
920
|
{
|
|
701
921
|
transformFn: transformRESTFloatToSDKFloat,
|
|
702
|
-
paths:
|
|
922
|
+
paths: TRANSFORM_PATHS_9
|
|
703
923
|
}
|
|
704
924
|
])
|
|
705
925
|
};
|
|
@@ -728,11 +948,11 @@ function updateUrlizedPlugin(payload) {
|
|
|
728
948
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
729
949
|
{
|
|
730
950
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
731
|
-
paths:
|
|
951
|
+
paths: TRANSFORM_PATHS_8
|
|
732
952
|
},
|
|
733
953
|
{
|
|
734
954
|
transformFn: transformRESTFloatToSDKFloat,
|
|
735
|
-
paths:
|
|
955
|
+
paths: TRANSFORM_PATHS_9
|
|
736
956
|
}
|
|
737
957
|
])
|
|
738
958
|
};
|
|
@@ -761,11 +981,11 @@ function addMultilingualPlugin(payload) {
|
|
|
761
981
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
762
982
|
{
|
|
763
983
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
764
|
-
paths:
|
|
984
|
+
paths: TRANSFORM_PATHS_8
|
|
765
985
|
},
|
|
766
986
|
{
|
|
767
987
|
transformFn: transformRESTFloatToSDKFloat,
|
|
768
|
-
paths:
|
|
988
|
+
paths: TRANSFORM_PATHS_9
|
|
769
989
|
}
|
|
770
990
|
])
|
|
771
991
|
};
|
|
@@ -794,11 +1014,11 @@ function deleteMultilingualPlugin(payload) {
|
|
|
794
1014
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
795
1015
|
{
|
|
796
1016
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
797
|
-
paths:
|
|
1017
|
+
paths: TRANSFORM_PATHS_8
|
|
798
1018
|
},
|
|
799
1019
|
{
|
|
800
1020
|
transformFn: transformRESTFloatToSDKFloat,
|
|
801
|
-
paths:
|
|
1021
|
+
paths: TRANSFORM_PATHS_9
|
|
802
1022
|
}
|
|
803
1023
|
])
|
|
804
1024
|
};
|
|
@@ -827,11 +1047,11 @@ function updateMultilingualPlugin(payload) {
|
|
|
827
1047
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
828
1048
|
{
|
|
829
1049
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
830
|
-
paths:
|
|
1050
|
+
paths: TRANSFORM_PATHS_8
|
|
831
1051
|
},
|
|
832
1052
|
{
|
|
833
1053
|
transformFn: transformRESTFloatToSDKFloat,
|
|
834
|
-
paths:
|
|
1054
|
+
paths: TRANSFORM_PATHS_9
|
|
835
1055
|
}
|
|
836
1056
|
])
|
|
837
1057
|
};
|
|
@@ -856,11 +1076,11 @@ function addCmsPlugin(payload) {
|
|
|
856
1076
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
857
1077
|
{
|
|
858
1078
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
859
|
-
paths:
|
|
1079
|
+
paths: TRANSFORM_PATHS_8
|
|
860
1080
|
},
|
|
861
1081
|
{
|
|
862
1082
|
transformFn: transformRESTFloatToSDKFloat,
|
|
863
|
-
paths:
|
|
1083
|
+
paths: TRANSFORM_PATHS_9
|
|
864
1084
|
}
|
|
865
1085
|
])
|
|
866
1086
|
};
|
|
@@ -885,11 +1105,11 @@ function deleteCmsPlugin(payload) {
|
|
|
885
1105
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
886
1106
|
{
|
|
887
1107
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
888
|
-
paths:
|
|
1108
|
+
paths: TRANSFORM_PATHS_8
|
|
889
1109
|
},
|
|
890
1110
|
{
|
|
891
1111
|
transformFn: transformRESTFloatToSDKFloat,
|
|
892
|
-
paths:
|
|
1112
|
+
paths: TRANSFORM_PATHS_9
|
|
893
1113
|
}
|
|
894
1114
|
])
|
|
895
1115
|
};
|
|
@@ -914,11 +1134,11 @@ function updateCmsPlugin(payload) {
|
|
|
914
1134
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
915
1135
|
{
|
|
916
1136
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
917
|
-
paths:
|
|
1137
|
+
paths: TRANSFORM_PATHS_8
|
|
918
1138
|
},
|
|
919
1139
|
{
|
|
920
1140
|
transformFn: transformRESTFloatToSDKFloat,
|
|
921
|
-
paths:
|
|
1141
|
+
paths: TRANSFORM_PATHS_9
|
|
922
1142
|
}
|
|
923
1143
|
])
|
|
924
1144
|
};
|
|
@@ -943,11 +1163,11 @@ function addCatalogPlugin(payload) {
|
|
|
943
1163
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
944
1164
|
{
|
|
945
1165
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
946
|
-
paths:
|
|
1166
|
+
paths: TRANSFORM_PATHS_8
|
|
947
1167
|
},
|
|
948
1168
|
{
|
|
949
1169
|
transformFn: transformRESTFloatToSDKFloat,
|
|
950
|
-
paths:
|
|
1170
|
+
paths: TRANSFORM_PATHS_9
|
|
951
1171
|
}
|
|
952
1172
|
])
|
|
953
1173
|
};
|
|
@@ -976,11 +1196,11 @@ function deleteCatalogPlugin(payload) {
|
|
|
976
1196
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
977
1197
|
{
|
|
978
1198
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
979
|
-
paths:
|
|
1199
|
+
paths: TRANSFORM_PATHS_8
|
|
980
1200
|
},
|
|
981
1201
|
{
|
|
982
1202
|
transformFn: transformRESTFloatToSDKFloat,
|
|
983
|
-
paths:
|
|
1203
|
+
paths: TRANSFORM_PATHS_9
|
|
984
1204
|
}
|
|
985
1205
|
])
|
|
986
1206
|
};
|
|
@@ -1009,11 +1229,11 @@ function updateCatalogPlugin(payload) {
|
|
|
1009
1229
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1010
1230
|
{
|
|
1011
1231
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1012
|
-
paths:
|
|
1232
|
+
paths: TRANSFORM_PATHS_8
|
|
1013
1233
|
},
|
|
1014
1234
|
{
|
|
1015
1235
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1016
|
-
paths:
|
|
1236
|
+
paths: TRANSFORM_PATHS_9
|
|
1017
1237
|
}
|
|
1018
1238
|
])
|
|
1019
1239
|
};
|
|
@@ -1042,11 +1262,11 @@ function addDraftItemsPlugin(payload) {
|
|
|
1042
1262
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1043
1263
|
{
|
|
1044
1264
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1045
|
-
paths:
|
|
1265
|
+
paths: TRANSFORM_PATHS_8
|
|
1046
1266
|
},
|
|
1047
1267
|
{
|
|
1048
1268
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1049
|
-
paths:
|
|
1269
|
+
paths: TRANSFORM_PATHS_9
|
|
1050
1270
|
}
|
|
1051
1271
|
])
|
|
1052
1272
|
};
|
|
@@ -1075,11 +1295,11 @@ function deleteDraftItemsPlugin(payload) {
|
|
|
1075
1295
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1076
1296
|
{
|
|
1077
1297
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1078
|
-
paths:
|
|
1298
|
+
paths: TRANSFORM_PATHS_8
|
|
1079
1299
|
},
|
|
1080
1300
|
{
|
|
1081
1301
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1082
|
-
paths:
|
|
1302
|
+
paths: TRANSFORM_PATHS_9
|
|
1083
1303
|
}
|
|
1084
1304
|
])
|
|
1085
1305
|
};
|
|
@@ -1108,11 +1328,11 @@ function updateDraftItemsPlugin(payload) {
|
|
|
1108
1328
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1109
1329
|
{
|
|
1110
1330
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1111
|
-
paths:
|
|
1331
|
+
paths: TRANSFORM_PATHS_8
|
|
1112
1332
|
},
|
|
1113
1333
|
{
|
|
1114
1334
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1115
|
-
paths:
|
|
1335
|
+
paths: TRANSFORM_PATHS_9
|
|
1116
1336
|
}
|
|
1117
1337
|
])
|
|
1118
1338
|
};
|
|
@@ -1125,15 +1345,15 @@ function patchDataCollectionField(payload) {
|
|
|
1125
1345
|
const serializedData = transformPaths(payload, [
|
|
1126
1346
|
{
|
|
1127
1347
|
transformFn: transformSDKFieldMaskToRESTFieldMask,
|
|
1128
|
-
paths:
|
|
1348
|
+
paths: TRANSFORM_PATHS_10
|
|
1129
1349
|
},
|
|
1130
1350
|
{
|
|
1131
1351
|
transformFn: transformSDKFloatToRESTFloat,
|
|
1132
|
-
paths:
|
|
1352
|
+
paths: TRANSFORM_PATHS_11
|
|
1133
1353
|
},
|
|
1134
1354
|
{
|
|
1135
1355
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
1136
|
-
paths:
|
|
1356
|
+
paths: TRANSFORM_PATHS_12
|
|
1137
1357
|
}
|
|
1138
1358
|
]);
|
|
1139
1359
|
const metadata = {
|
|
@@ -1155,11 +1375,11 @@ function patchDataCollectionField(payload) {
|
|
|
1155
1375
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1156
1376
|
{
|
|
1157
1377
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1158
|
-
paths:
|
|
1378
|
+
paths: TRANSFORM_PATHS_8
|
|
1159
1379
|
},
|
|
1160
1380
|
{
|
|
1161
1381
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1162
|
-
paths:
|
|
1382
|
+
paths: TRANSFORM_PATHS_9
|
|
1163
1383
|
}
|
|
1164
1384
|
])
|
|
1165
1385
|
};
|
|
@@ -1452,6 +1672,24 @@ function listDataCollections2() {
|
|
|
1452
1672
|
__originalResponseType: null
|
|
1453
1673
|
};
|
|
1454
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
|
+
}
|
|
1455
1693
|
function updateDataCollection2() {
|
|
1456
1694
|
const payload = {};
|
|
1457
1695
|
const getRequestOptions = updateDataCollection(payload);
|
|
@@ -1990,6 +2228,7 @@ export {
|
|
|
1990
2228
|
addMultilingualPlugin2 as addMultilingualPlugin,
|
|
1991
2229
|
addPublishPlugin2 as addPublishPlugin,
|
|
1992
2230
|
addUrlizedPlugin2 as addUrlizedPlugin,
|
|
2231
|
+
bulkGetDataCollections2 as bulkGetDataCollections,
|
|
1993
2232
|
createDataCollection2 as createDataCollection,
|
|
1994
2233
|
createDataCollectionField2 as createDataCollectionField,
|
|
1995
2234
|
deleteCatalogPlugin2 as deleteCatalogPlugin,
|