@wix/auto_sdk_comments_comments 1.0.37 → 1.0.39
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 +7 -7
- package/build/cjs/index.js +305 -171
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +294 -165
- package/build/cjs/index.typings.js +21 -14
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +163 -151
- package/build/cjs/meta.js +21 -14
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +7 -7
- package/build/es/index.mjs +304 -171
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +294 -165
- package/build/es/index.typings.mjs +20 -14
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +163 -151
- package/build/es/meta.mjs +20 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +7 -7
- package/build/internal/cjs/index.js +305 -171
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +294 -165
- package/build/internal/cjs/index.typings.js +21 -14
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +163 -151
- package/build/internal/cjs/meta.js +21 -14
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +7 -7
- package/build/internal/es/index.mjs +304 -171
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +294 -165
- package/build/internal/es/index.typings.mjs +20 -14
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +163 -151
- package/build/internal/es/meta.mjs +20 -14
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
package/build/es/index.mjs
CHANGED
|
@@ -2995,6 +2995,11 @@ var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
|
|
|
2995
2995
|
ResponsivenessBehaviour2["WRAP"] = "WRAP";
|
|
2996
2996
|
return ResponsivenessBehaviour2;
|
|
2997
2997
|
})(ResponsivenessBehaviour || {});
|
|
2998
|
+
var DesignTarget = /* @__PURE__ */ ((DesignTarget2) => {
|
|
2999
|
+
DesignTarget2["LAYOUT"] = "LAYOUT";
|
|
3000
|
+
DesignTarget2["CELL"] = "CELL";
|
|
3001
|
+
return DesignTarget2;
|
|
3002
|
+
})(DesignTarget || {});
|
|
2998
3003
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
2999
3004
|
Status2["UNKNOWN"] = "UNKNOWN";
|
|
3000
3005
|
Status2["PUBLISHED"] = "PUBLISHED";
|
|
@@ -3003,18 +3008,26 @@ var Status = /* @__PURE__ */ ((Status2) => {
|
|
|
3003
3008
|
Status2["HIDDEN"] = "HIDDEN";
|
|
3004
3009
|
return Status2;
|
|
3005
3010
|
})(Status || {});
|
|
3006
|
-
var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
|
|
3007
|
-
VersioningMode2["DEFAULT"] = "DEFAULT";
|
|
3008
|
-
VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
|
|
3009
|
-
VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
|
|
3010
|
-
return VersioningMode2;
|
|
3011
|
-
})(VersioningMode || {});
|
|
3012
3011
|
var Action = /* @__PURE__ */ ((Action2) => {
|
|
3013
3012
|
Action2["UNKNOWN"] = "UNKNOWN";
|
|
3014
3013
|
Action2["APPROVE"] = "APPROVE";
|
|
3015
3014
|
Action2["REJECT"] = "REJECT";
|
|
3016
3015
|
return Action2;
|
|
3017
3016
|
})(Action || {});
|
|
3017
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
3018
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
3019
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
3020
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
3021
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
3022
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
3023
|
+
return WebhookIdentityType2;
|
|
3024
|
+
})(WebhookIdentityType || {});
|
|
3025
|
+
var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
|
|
3026
|
+
VersioningMode2["DEFAULT"] = "DEFAULT";
|
|
3027
|
+
VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
|
|
3028
|
+
VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
|
|
3029
|
+
return VersioningMode2;
|
|
3030
|
+
})(VersioningMode || {});
|
|
3018
3031
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
3019
3032
|
SortOrder2["ASC"] = "ASC";
|
|
3020
3033
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -3038,14 +3051,6 @@ var ReplySortOrder = /* @__PURE__ */ ((ReplySortOrder2) => {
|
|
|
3038
3051
|
ReplySortOrder2["REACTION_COUNT"] = "REACTION_COUNT";
|
|
3039
3052
|
return ReplySortOrder2;
|
|
3040
3053
|
})(ReplySortOrder || {});
|
|
3041
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
3042
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
3043
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
3044
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
3045
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
3046
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
3047
|
-
return WebhookIdentityType2;
|
|
3048
|
-
})(WebhookIdentityType || {});
|
|
3049
3054
|
async function createComment2(comment) {
|
|
3050
3055
|
const { httpClient, sideEffects } = arguments[1];
|
|
3051
3056
|
const payload = transformPaths2(
|
|
@@ -4222,6 +4227,168 @@ function bulkMoveCommentByFilter3(httpClient) {
|
|
|
4222
4227
|
{ httpClient }
|
|
4223
4228
|
);
|
|
4224
4229
|
}
|
|
4230
|
+
var onCommentDeleted = EventDefinition(
|
|
4231
|
+
"wix.comments.v2.comment_deleted",
|
|
4232
|
+
true,
|
|
4233
|
+
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
4234
|
+
transformPaths3(event, [
|
|
4235
|
+
{
|
|
4236
|
+
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
4237
|
+
paths: [
|
|
4238
|
+
{ path: "undefined.createdDate" },
|
|
4239
|
+
{ path: "undefined.updatedDate" },
|
|
4240
|
+
{ path: "undefined.commentDate" },
|
|
4241
|
+
{ path: "undefined.content.commentDate" },
|
|
4242
|
+
{ path: "undefined.content.richContent.metadata.createdTimestamp" },
|
|
4243
|
+
{ path: "undefined.content.richContent.metadata.updatedTimestamp" },
|
|
4244
|
+
{ path: "undefined.draftContent.commentDate" },
|
|
4245
|
+
{
|
|
4246
|
+
path: "undefined.draftContent.richContent.metadata.createdTimestamp"
|
|
4247
|
+
},
|
|
4248
|
+
{
|
|
4249
|
+
path: "undefined.draftContent.richContent.metadata.updatedTimestamp"
|
|
4250
|
+
},
|
|
4251
|
+
{ path: "metadata.eventTime" }
|
|
4252
|
+
]
|
|
4253
|
+
},
|
|
4254
|
+
{
|
|
4255
|
+
transformFn: transformRESTFloatToSDKFloat2,
|
|
4256
|
+
paths: [
|
|
4257
|
+
{
|
|
4258
|
+
path: "undefined.content.richContent.nodes.galleryData.items.image.media.duration"
|
|
4259
|
+
},
|
|
4260
|
+
{
|
|
4261
|
+
path: "undefined.content.richContent.nodes.galleryData.items.video.media.duration"
|
|
4262
|
+
},
|
|
4263
|
+
{
|
|
4264
|
+
path: "undefined.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
4265
|
+
},
|
|
4266
|
+
{
|
|
4267
|
+
path: "undefined.content.richContent.nodes.galleryData.options.item.ratio"
|
|
4268
|
+
},
|
|
4269
|
+
{
|
|
4270
|
+
path: "undefined.content.richContent.nodes.imageData.image.duration"
|
|
4271
|
+
},
|
|
4272
|
+
{
|
|
4273
|
+
path: "undefined.content.richContent.nodes.mapData.mapSettings.lat"
|
|
4274
|
+
},
|
|
4275
|
+
{
|
|
4276
|
+
path: "undefined.content.richContent.nodes.mapData.mapSettings.lng"
|
|
4277
|
+
},
|
|
4278
|
+
{
|
|
4279
|
+
path: "undefined.content.richContent.nodes.pollData.poll.image.duration"
|
|
4280
|
+
},
|
|
4281
|
+
{
|
|
4282
|
+
path: "undefined.content.richContent.nodes.pollData.poll.options.image.duration"
|
|
4283
|
+
},
|
|
4284
|
+
{
|
|
4285
|
+
path: "undefined.content.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
4286
|
+
},
|
|
4287
|
+
{
|
|
4288
|
+
path: "undefined.content.richContent.nodes.appEmbedData.image.duration"
|
|
4289
|
+
},
|
|
4290
|
+
{
|
|
4291
|
+
path: "undefined.content.richContent.nodes.videoData.video.duration"
|
|
4292
|
+
},
|
|
4293
|
+
{
|
|
4294
|
+
path: "undefined.content.richContent.nodes.videoData.thumbnail.duration"
|
|
4295
|
+
},
|
|
4296
|
+
{
|
|
4297
|
+
path: "undefined.content.richContent.nodes.audioData.audio.duration"
|
|
4298
|
+
},
|
|
4299
|
+
{
|
|
4300
|
+
path: "undefined.content.richContent.nodes.audioData.coverImage.duration"
|
|
4301
|
+
},
|
|
4302
|
+
{
|
|
4303
|
+
path: "undefined.content.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
4304
|
+
},
|
|
4305
|
+
{
|
|
4306
|
+
path: "undefined.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
4307
|
+
},
|
|
4308
|
+
{
|
|
4309
|
+
path: "undefined.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
4310
|
+
},
|
|
4311
|
+
{
|
|
4312
|
+
path: "undefined.draftContent.richContent.nodes.galleryData.items.video.media.duration"
|
|
4313
|
+
},
|
|
4314
|
+
{
|
|
4315
|
+
path: "undefined.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
4316
|
+
},
|
|
4317
|
+
{
|
|
4318
|
+
path: "undefined.draftContent.richContent.nodes.galleryData.options.item.ratio"
|
|
4319
|
+
},
|
|
4320
|
+
{
|
|
4321
|
+
path: "undefined.draftContent.richContent.nodes.imageData.image.duration"
|
|
4322
|
+
},
|
|
4323
|
+
{
|
|
4324
|
+
path: "undefined.draftContent.richContent.nodes.mapData.mapSettings.lat"
|
|
4325
|
+
},
|
|
4326
|
+
{
|
|
4327
|
+
path: "undefined.draftContent.richContent.nodes.mapData.mapSettings.lng"
|
|
4328
|
+
},
|
|
4329
|
+
{
|
|
4330
|
+
path: "undefined.draftContent.richContent.nodes.pollData.poll.image.duration"
|
|
4331
|
+
},
|
|
4332
|
+
{
|
|
4333
|
+
path: "undefined.draftContent.richContent.nodes.pollData.poll.options.image.duration"
|
|
4334
|
+
},
|
|
4335
|
+
{
|
|
4336
|
+
path: "undefined.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
4337
|
+
},
|
|
4338
|
+
{
|
|
4339
|
+
path: "undefined.draftContent.richContent.nodes.appEmbedData.image.duration"
|
|
4340
|
+
},
|
|
4341
|
+
{
|
|
4342
|
+
path: "undefined.draftContent.richContent.nodes.videoData.video.duration"
|
|
4343
|
+
},
|
|
4344
|
+
{
|
|
4345
|
+
path: "undefined.draftContent.richContent.nodes.videoData.thumbnail.duration"
|
|
4346
|
+
},
|
|
4347
|
+
{
|
|
4348
|
+
path: "undefined.draftContent.richContent.nodes.audioData.audio.duration"
|
|
4349
|
+
},
|
|
4350
|
+
{
|
|
4351
|
+
path: "undefined.draftContent.richContent.nodes.audioData.coverImage.duration"
|
|
4352
|
+
},
|
|
4353
|
+
{
|
|
4354
|
+
path: "undefined.draftContent.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
4355
|
+
},
|
|
4356
|
+
{
|
|
4357
|
+
path: "undefined.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
4358
|
+
}
|
|
4359
|
+
]
|
|
4360
|
+
},
|
|
4361
|
+
{
|
|
4362
|
+
transformFn: transformRESTImageToSDKImage2,
|
|
4363
|
+
paths: [
|
|
4364
|
+
{ path: "undefined.content.attachments.image" },
|
|
4365
|
+
{ path: "undefined.draftContent.attachments.image" }
|
|
4366
|
+
]
|
|
4367
|
+
},
|
|
4368
|
+
{
|
|
4369
|
+
transformFn: transformRESTVideoV2ToSDKVideoV22,
|
|
4370
|
+
paths: [
|
|
4371
|
+
{ path: "undefined.content.attachments.video" },
|
|
4372
|
+
{ path: "undefined.draftContent.attachments.video" }
|
|
4373
|
+
]
|
|
4374
|
+
},
|
|
4375
|
+
{
|
|
4376
|
+
transformFn: transformRESTAudioToSDKAudio2,
|
|
4377
|
+
paths: [
|
|
4378
|
+
{ path: "undefined.content.attachments.audio" },
|
|
4379
|
+
{ path: "undefined.draftContent.attachments.audio" }
|
|
4380
|
+
]
|
|
4381
|
+
},
|
|
4382
|
+
{
|
|
4383
|
+
transformFn: transformRESTDocumentToSDKDocument2,
|
|
4384
|
+
paths: [
|
|
4385
|
+
{ path: "undefined.content.attachments.document" },
|
|
4386
|
+
{ path: "undefined.draftContent.attachments.document" }
|
|
4387
|
+
]
|
|
4388
|
+
}
|
|
4389
|
+
])
|
|
4390
|
+
)
|
|
4391
|
+
)();
|
|
4225
4392
|
var onCommentContentChanged = EventDefinition(
|
|
4226
4393
|
"wix.comments.v2.comment_comment_content_changed",
|
|
4227
4394
|
true,
|
|
@@ -5377,308 +5544,265 @@ var onCommentCreated = EventDefinition(
|
|
|
5377
5544
|
])
|
|
5378
5545
|
)
|
|
5379
5546
|
)();
|
|
5380
|
-
var
|
|
5381
|
-
"wix.comments.v2.
|
|
5547
|
+
var onCommentResourceCommentCountChanged = EventDefinition(
|
|
5548
|
+
"wix.comments.v2.comment_resource_comment_count_changed",
|
|
5549
|
+
true,
|
|
5550
|
+
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
5551
|
+
transformPaths3(event, [
|
|
5552
|
+
{
|
|
5553
|
+
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
5554
|
+
paths: [{ path: "metadata.eventTime" }]
|
|
5555
|
+
}
|
|
5556
|
+
])
|
|
5557
|
+
)
|
|
5558
|
+
)();
|
|
5559
|
+
var onCommentUpdated = EventDefinition(
|
|
5560
|
+
"wix.comments.v2.comment_updated",
|
|
5382
5561
|
true,
|
|
5383
5562
|
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
5384
5563
|
transformPaths3(event, [
|
|
5385
5564
|
{
|
|
5386
5565
|
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
5387
5566
|
paths: [
|
|
5388
|
-
{ path: "
|
|
5389
|
-
{ path: "
|
|
5390
|
-
{ path: "
|
|
5391
|
-
{ path: "
|
|
5392
|
-
{ path: "
|
|
5393
|
-
{ path: "
|
|
5394
|
-
{ path: "
|
|
5567
|
+
{ path: "entity.createdDate" },
|
|
5568
|
+
{ path: "entity.updatedDate" },
|
|
5569
|
+
{ path: "entity.commentDate" },
|
|
5570
|
+
{ path: "entity.content.commentDate" },
|
|
5571
|
+
{ path: "entity.content.richContent.metadata.createdTimestamp" },
|
|
5572
|
+
{ path: "entity.content.richContent.metadata.updatedTimestamp" },
|
|
5573
|
+
{ path: "entity.draftContent.commentDate" },
|
|
5395
5574
|
{
|
|
5396
|
-
path: "
|
|
5575
|
+
path: "entity.draftContent.richContent.metadata.createdTimestamp"
|
|
5397
5576
|
},
|
|
5398
5577
|
{
|
|
5399
|
-
path: "
|
|
5578
|
+
path: "entity.draftContent.richContent.metadata.updatedTimestamp"
|
|
5400
5579
|
},
|
|
5401
|
-
{ path: "metadata.eventTime" }
|
|
5580
|
+
{ path: "metadata.eventTime" },
|
|
5581
|
+
{ path: "modifiedFields.createdDate" },
|
|
5582
|
+
{ path: "modifiedFields.updatedDate" },
|
|
5583
|
+
{ path: "modifiedFields.commentDate" },
|
|
5584
|
+
{ path: "modifiedFields.content.commentDate" },
|
|
5585
|
+
{
|
|
5586
|
+
path: "modifiedFields.content.richContent.metadata.createdTimestamp"
|
|
5587
|
+
},
|
|
5588
|
+
{
|
|
5589
|
+
path: "modifiedFields.content.richContent.metadata.updatedTimestamp"
|
|
5590
|
+
},
|
|
5591
|
+
{ path: "modifiedFields.draftContent.commentDate" },
|
|
5592
|
+
{
|
|
5593
|
+
path: "modifiedFields.draftContent.richContent.metadata.createdTimestamp"
|
|
5594
|
+
},
|
|
5595
|
+
{
|
|
5596
|
+
path: "modifiedFields.draftContent.richContent.metadata.updatedTimestamp"
|
|
5597
|
+
}
|
|
5402
5598
|
]
|
|
5403
5599
|
},
|
|
5404
5600
|
{
|
|
5405
5601
|
transformFn: transformRESTFloatToSDKFloat2,
|
|
5406
5602
|
paths: [
|
|
5407
5603
|
{
|
|
5408
|
-
path: "
|
|
5409
|
-
},
|
|
5410
|
-
{
|
|
5411
|
-
path: "undefined.content.richContent.nodes.galleryData.items.video.media.duration"
|
|
5604
|
+
path: "entity.content.richContent.nodes.galleryData.items.image.media.duration"
|
|
5412
5605
|
},
|
|
5413
5606
|
{
|
|
5414
|
-
path: "
|
|
5607
|
+
path: "entity.content.richContent.nodes.galleryData.items.video.media.duration"
|
|
5415
5608
|
},
|
|
5416
5609
|
{
|
|
5417
|
-
path: "
|
|
5610
|
+
path: "entity.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
5418
5611
|
},
|
|
5419
5612
|
{
|
|
5420
|
-
path: "
|
|
5613
|
+
path: "entity.content.richContent.nodes.galleryData.options.item.ratio"
|
|
5421
5614
|
},
|
|
5422
5615
|
{
|
|
5423
|
-
path: "
|
|
5616
|
+
path: "entity.content.richContent.nodes.imageData.image.duration"
|
|
5424
5617
|
},
|
|
5425
5618
|
{
|
|
5426
|
-
path: "
|
|
5619
|
+
path: "entity.content.richContent.nodes.mapData.mapSettings.lat"
|
|
5427
5620
|
},
|
|
5428
5621
|
{
|
|
5429
|
-
path: "
|
|
5622
|
+
path: "entity.content.richContent.nodes.mapData.mapSettings.lng"
|
|
5430
5623
|
},
|
|
5431
5624
|
{
|
|
5432
|
-
path: "
|
|
5625
|
+
path: "entity.content.richContent.nodes.pollData.poll.image.duration"
|
|
5433
5626
|
},
|
|
5434
5627
|
{
|
|
5435
|
-
path: "
|
|
5628
|
+
path: "entity.content.richContent.nodes.pollData.poll.options.image.duration"
|
|
5436
5629
|
},
|
|
5437
5630
|
{
|
|
5438
|
-
path: "
|
|
5631
|
+
path: "entity.content.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
5439
5632
|
},
|
|
5440
5633
|
{
|
|
5441
|
-
path: "
|
|
5634
|
+
path: "entity.content.richContent.nodes.appEmbedData.image.duration"
|
|
5442
5635
|
},
|
|
5443
5636
|
{
|
|
5444
|
-
path: "
|
|
5637
|
+
path: "entity.content.richContent.nodes.videoData.video.duration"
|
|
5445
5638
|
},
|
|
5446
5639
|
{
|
|
5447
|
-
path: "
|
|
5640
|
+
path: "entity.content.richContent.nodes.videoData.thumbnail.duration"
|
|
5448
5641
|
},
|
|
5449
5642
|
{
|
|
5450
|
-
path: "
|
|
5643
|
+
path: "entity.content.richContent.nodes.audioData.audio.duration"
|
|
5451
5644
|
},
|
|
5452
5645
|
{
|
|
5453
|
-
path: "
|
|
5646
|
+
path: "entity.content.richContent.nodes.audioData.coverImage.duration"
|
|
5454
5647
|
},
|
|
5455
5648
|
{
|
|
5456
|
-
path: "
|
|
5649
|
+
path: "entity.content.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
5457
5650
|
},
|
|
5458
5651
|
{
|
|
5459
|
-
path: "
|
|
5652
|
+
path: "entity.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
5460
5653
|
},
|
|
5461
5654
|
{
|
|
5462
|
-
path: "
|
|
5655
|
+
path: "entity.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
5463
5656
|
},
|
|
5464
5657
|
{
|
|
5465
|
-
path: "
|
|
5658
|
+
path: "entity.draftContent.richContent.nodes.galleryData.items.video.media.duration"
|
|
5466
5659
|
},
|
|
5467
5660
|
{
|
|
5468
|
-
path: "
|
|
5661
|
+
path: "entity.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
5469
5662
|
},
|
|
5470
5663
|
{
|
|
5471
|
-
path: "
|
|
5664
|
+
path: "entity.draftContent.richContent.nodes.galleryData.options.item.ratio"
|
|
5472
5665
|
},
|
|
5473
5666
|
{
|
|
5474
|
-
path: "
|
|
5667
|
+
path: "entity.draftContent.richContent.nodes.imageData.image.duration"
|
|
5475
5668
|
},
|
|
5476
5669
|
{
|
|
5477
|
-
path: "
|
|
5670
|
+
path: "entity.draftContent.richContent.nodes.mapData.mapSettings.lat"
|
|
5478
5671
|
},
|
|
5479
5672
|
{
|
|
5480
|
-
path: "
|
|
5673
|
+
path: "entity.draftContent.richContent.nodes.mapData.mapSettings.lng"
|
|
5481
5674
|
},
|
|
5482
5675
|
{
|
|
5483
|
-
path: "
|
|
5676
|
+
path: "entity.draftContent.richContent.nodes.pollData.poll.image.duration"
|
|
5484
5677
|
},
|
|
5485
5678
|
{
|
|
5486
|
-
path: "
|
|
5679
|
+
path: "entity.draftContent.richContent.nodes.pollData.poll.options.image.duration"
|
|
5487
5680
|
},
|
|
5488
5681
|
{
|
|
5489
|
-
path: "
|
|
5682
|
+
path: "entity.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
5490
5683
|
},
|
|
5491
5684
|
{
|
|
5492
|
-
path: "
|
|
5685
|
+
path: "entity.draftContent.richContent.nodes.appEmbedData.image.duration"
|
|
5493
5686
|
},
|
|
5494
5687
|
{
|
|
5495
|
-
path: "
|
|
5688
|
+
path: "entity.draftContent.richContent.nodes.videoData.video.duration"
|
|
5496
5689
|
},
|
|
5497
5690
|
{
|
|
5498
|
-
path: "
|
|
5691
|
+
path: "entity.draftContent.richContent.nodes.videoData.thumbnail.duration"
|
|
5499
5692
|
},
|
|
5500
5693
|
{
|
|
5501
|
-
path: "
|
|
5694
|
+
path: "entity.draftContent.richContent.nodes.audioData.audio.duration"
|
|
5502
5695
|
},
|
|
5503
5696
|
{
|
|
5504
|
-
path: "
|
|
5697
|
+
path: "entity.draftContent.richContent.nodes.audioData.coverImage.duration"
|
|
5505
5698
|
},
|
|
5506
5699
|
{
|
|
5507
|
-
path: "
|
|
5508
|
-
}
|
|
5509
|
-
]
|
|
5510
|
-
},
|
|
5511
|
-
{
|
|
5512
|
-
transformFn: transformRESTImageToSDKImage2,
|
|
5513
|
-
paths: [
|
|
5514
|
-
{ path: "undefined.content.attachments.image" },
|
|
5515
|
-
{ path: "undefined.draftContent.attachments.image" }
|
|
5516
|
-
]
|
|
5517
|
-
},
|
|
5518
|
-
{
|
|
5519
|
-
transformFn: transformRESTVideoV2ToSDKVideoV22,
|
|
5520
|
-
paths: [
|
|
5521
|
-
{ path: "undefined.content.attachments.video" },
|
|
5522
|
-
{ path: "undefined.draftContent.attachments.video" }
|
|
5523
|
-
]
|
|
5524
|
-
},
|
|
5525
|
-
{
|
|
5526
|
-
transformFn: transformRESTAudioToSDKAudio2,
|
|
5527
|
-
paths: [
|
|
5528
|
-
{ path: "undefined.content.attachments.audio" },
|
|
5529
|
-
{ path: "undefined.draftContent.attachments.audio" }
|
|
5530
|
-
]
|
|
5531
|
-
},
|
|
5532
|
-
{
|
|
5533
|
-
transformFn: transformRESTDocumentToSDKDocument2,
|
|
5534
|
-
paths: [
|
|
5535
|
-
{ path: "undefined.content.attachments.document" },
|
|
5536
|
-
{ path: "undefined.draftContent.attachments.document" }
|
|
5537
|
-
]
|
|
5538
|
-
}
|
|
5539
|
-
])
|
|
5540
|
-
)
|
|
5541
|
-
)();
|
|
5542
|
-
var onCommentResourceCommentCountChanged = EventDefinition(
|
|
5543
|
-
"wix.comments.v2.comment_resource_comment_count_changed",
|
|
5544
|
-
true,
|
|
5545
|
-
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
5546
|
-
transformPaths3(event, [
|
|
5547
|
-
{
|
|
5548
|
-
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
5549
|
-
paths: [{ path: "metadata.eventTime" }]
|
|
5550
|
-
}
|
|
5551
|
-
])
|
|
5552
|
-
)
|
|
5553
|
-
)();
|
|
5554
|
-
var onCommentUpdated = EventDefinition(
|
|
5555
|
-
"wix.comments.v2.comment_updated",
|
|
5556
|
-
true,
|
|
5557
|
-
(event) => renameKeysFromRESTResponseToSDKResponse2(
|
|
5558
|
-
transformPaths3(event, [
|
|
5559
|
-
{
|
|
5560
|
-
transformFn: transformRESTTimestampToSDKTimestamp2,
|
|
5561
|
-
paths: [
|
|
5562
|
-
{ path: "entity.createdDate" },
|
|
5563
|
-
{ path: "entity.updatedDate" },
|
|
5564
|
-
{ path: "entity.commentDate" },
|
|
5565
|
-
{ path: "entity.content.commentDate" },
|
|
5566
|
-
{ path: "entity.content.richContent.metadata.createdTimestamp" },
|
|
5567
|
-
{ path: "entity.content.richContent.metadata.updatedTimestamp" },
|
|
5568
|
-
{ path: "entity.draftContent.commentDate" },
|
|
5569
|
-
{
|
|
5570
|
-
path: "entity.draftContent.richContent.metadata.createdTimestamp"
|
|
5700
|
+
path: "entity.draftContent.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
5571
5701
|
},
|
|
5572
5702
|
{
|
|
5573
|
-
path: "entity.draftContent.richContent.
|
|
5703
|
+
path: "entity.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
5574
5704
|
},
|
|
5575
|
-
{ path: "metadata.eventTime" }
|
|
5576
|
-
]
|
|
5577
|
-
},
|
|
5578
|
-
{
|
|
5579
|
-
transformFn: transformRESTFloatToSDKFloat2,
|
|
5580
|
-
paths: [
|
|
5581
5705
|
{
|
|
5582
|
-
path: "
|
|
5706
|
+
path: "modifiedFields.content.richContent.nodes.galleryData.items.image.media.duration"
|
|
5583
5707
|
},
|
|
5584
5708
|
{
|
|
5585
|
-
path: "
|
|
5709
|
+
path: "modifiedFields.content.richContent.nodes.galleryData.items.video.media.duration"
|
|
5586
5710
|
},
|
|
5587
5711
|
{
|
|
5588
|
-
path: "
|
|
5712
|
+
path: "modifiedFields.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
5589
5713
|
},
|
|
5590
5714
|
{
|
|
5591
|
-
path: "
|
|
5715
|
+
path: "modifiedFields.content.richContent.nodes.galleryData.options.item.ratio"
|
|
5592
5716
|
},
|
|
5593
5717
|
{
|
|
5594
|
-
path: "
|
|
5718
|
+
path: "modifiedFields.content.richContent.nodes.imageData.image.duration"
|
|
5595
5719
|
},
|
|
5596
5720
|
{
|
|
5597
|
-
path: "
|
|
5721
|
+
path: "modifiedFields.content.richContent.nodes.mapData.mapSettings.lat"
|
|
5598
5722
|
},
|
|
5599
5723
|
{
|
|
5600
|
-
path: "
|
|
5724
|
+
path: "modifiedFields.content.richContent.nodes.mapData.mapSettings.lng"
|
|
5601
5725
|
},
|
|
5602
5726
|
{
|
|
5603
|
-
path: "
|
|
5727
|
+
path: "modifiedFields.content.richContent.nodes.pollData.poll.image.duration"
|
|
5604
5728
|
},
|
|
5605
5729
|
{
|
|
5606
|
-
path: "
|
|
5730
|
+
path: "modifiedFields.content.richContent.nodes.pollData.poll.options.image.duration"
|
|
5607
5731
|
},
|
|
5608
5732
|
{
|
|
5609
|
-
path: "
|
|
5733
|
+
path: "modifiedFields.content.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
5610
5734
|
},
|
|
5611
5735
|
{
|
|
5612
|
-
path: "
|
|
5736
|
+
path: "modifiedFields.content.richContent.nodes.appEmbedData.image.duration"
|
|
5613
5737
|
},
|
|
5614
5738
|
{
|
|
5615
|
-
path: "
|
|
5739
|
+
path: "modifiedFields.content.richContent.nodes.videoData.video.duration"
|
|
5616
5740
|
},
|
|
5617
5741
|
{
|
|
5618
|
-
path: "
|
|
5742
|
+
path: "modifiedFields.content.richContent.nodes.videoData.thumbnail.duration"
|
|
5619
5743
|
},
|
|
5620
5744
|
{
|
|
5621
|
-
path: "
|
|
5745
|
+
path: "modifiedFields.content.richContent.nodes.audioData.audio.duration"
|
|
5622
5746
|
},
|
|
5623
5747
|
{
|
|
5624
|
-
path: "
|
|
5748
|
+
path: "modifiedFields.content.richContent.nodes.audioData.coverImage.duration"
|
|
5625
5749
|
},
|
|
5626
5750
|
{
|
|
5627
|
-
path: "
|
|
5751
|
+
path: "modifiedFields.content.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
5628
5752
|
},
|
|
5629
5753
|
{
|
|
5630
|
-
path: "
|
|
5754
|
+
path: "modifiedFields.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
5631
5755
|
},
|
|
5632
5756
|
{
|
|
5633
|
-
path: "
|
|
5757
|
+
path: "modifiedFields.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
5634
5758
|
},
|
|
5635
5759
|
{
|
|
5636
|
-
path: "
|
|
5760
|
+
path: "modifiedFields.draftContent.richContent.nodes.galleryData.items.video.media.duration"
|
|
5637
5761
|
},
|
|
5638
5762
|
{
|
|
5639
|
-
path: "
|
|
5763
|
+
path: "modifiedFields.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
5640
5764
|
},
|
|
5641
5765
|
{
|
|
5642
|
-
path: "
|
|
5766
|
+
path: "modifiedFields.draftContent.richContent.nodes.galleryData.options.item.ratio"
|
|
5643
5767
|
},
|
|
5644
5768
|
{
|
|
5645
|
-
path: "
|
|
5769
|
+
path: "modifiedFields.draftContent.richContent.nodes.imageData.image.duration"
|
|
5646
5770
|
},
|
|
5647
5771
|
{
|
|
5648
|
-
path: "
|
|
5772
|
+
path: "modifiedFields.draftContent.richContent.nodes.mapData.mapSettings.lat"
|
|
5649
5773
|
},
|
|
5650
5774
|
{
|
|
5651
|
-
path: "
|
|
5775
|
+
path: "modifiedFields.draftContent.richContent.nodes.mapData.mapSettings.lng"
|
|
5652
5776
|
},
|
|
5653
5777
|
{
|
|
5654
|
-
path: "
|
|
5778
|
+
path: "modifiedFields.draftContent.richContent.nodes.pollData.poll.image.duration"
|
|
5655
5779
|
},
|
|
5656
5780
|
{
|
|
5657
|
-
path: "
|
|
5781
|
+
path: "modifiedFields.draftContent.richContent.nodes.pollData.poll.options.image.duration"
|
|
5658
5782
|
},
|
|
5659
5783
|
{
|
|
5660
|
-
path: "
|
|
5784
|
+
path: "modifiedFields.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
5661
5785
|
},
|
|
5662
5786
|
{
|
|
5663
|
-
path: "
|
|
5787
|
+
path: "modifiedFields.draftContent.richContent.nodes.appEmbedData.image.duration"
|
|
5664
5788
|
},
|
|
5665
5789
|
{
|
|
5666
|
-
path: "
|
|
5790
|
+
path: "modifiedFields.draftContent.richContent.nodes.videoData.video.duration"
|
|
5667
5791
|
},
|
|
5668
5792
|
{
|
|
5669
|
-
path: "
|
|
5793
|
+
path: "modifiedFields.draftContent.richContent.nodes.videoData.thumbnail.duration"
|
|
5670
5794
|
},
|
|
5671
5795
|
{
|
|
5672
|
-
path: "
|
|
5796
|
+
path: "modifiedFields.draftContent.richContent.nodes.audioData.audio.duration"
|
|
5673
5797
|
},
|
|
5674
5798
|
{
|
|
5675
|
-
path: "
|
|
5799
|
+
path: "modifiedFields.draftContent.richContent.nodes.audioData.coverImage.duration"
|
|
5676
5800
|
},
|
|
5677
5801
|
{
|
|
5678
|
-
path: "
|
|
5802
|
+
path: "modifiedFields.draftContent.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
5679
5803
|
},
|
|
5680
5804
|
{
|
|
5681
|
-
path: "
|
|
5805
|
+
path: "modifiedFields.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
5682
5806
|
}
|
|
5683
5807
|
]
|
|
5684
5808
|
},
|
|
@@ -5686,28 +5810,36 @@ var onCommentUpdated = EventDefinition(
|
|
|
5686
5810
|
transformFn: transformRESTImageToSDKImage2,
|
|
5687
5811
|
paths: [
|
|
5688
5812
|
{ path: "entity.content.attachments.image" },
|
|
5689
|
-
{ path: "entity.draftContent.attachments.image" }
|
|
5813
|
+
{ path: "entity.draftContent.attachments.image" },
|
|
5814
|
+
{ path: "modifiedFields.content.attachments.image" },
|
|
5815
|
+
{ path: "modifiedFields.draftContent.attachments.image" }
|
|
5690
5816
|
]
|
|
5691
5817
|
},
|
|
5692
5818
|
{
|
|
5693
5819
|
transformFn: transformRESTVideoV2ToSDKVideoV22,
|
|
5694
5820
|
paths: [
|
|
5695
5821
|
{ path: "entity.content.attachments.video" },
|
|
5696
|
-
{ path: "entity.draftContent.attachments.video" }
|
|
5822
|
+
{ path: "entity.draftContent.attachments.video" },
|
|
5823
|
+
{ path: "modifiedFields.content.attachments.video" },
|
|
5824
|
+
{ path: "modifiedFields.draftContent.attachments.video" }
|
|
5697
5825
|
]
|
|
5698
5826
|
},
|
|
5699
5827
|
{
|
|
5700
5828
|
transformFn: transformRESTAudioToSDKAudio2,
|
|
5701
5829
|
paths: [
|
|
5702
5830
|
{ path: "entity.content.attachments.audio" },
|
|
5703
|
-
{ path: "entity.draftContent.attachments.audio" }
|
|
5831
|
+
{ path: "entity.draftContent.attachments.audio" },
|
|
5832
|
+
{ path: "modifiedFields.content.attachments.audio" },
|
|
5833
|
+
{ path: "modifiedFields.draftContent.attachments.audio" }
|
|
5704
5834
|
]
|
|
5705
5835
|
},
|
|
5706
5836
|
{
|
|
5707
5837
|
transformFn: transformRESTDocumentToSDKDocument2,
|
|
5708
5838
|
paths: [
|
|
5709
5839
|
{ path: "entity.content.attachments.document" },
|
|
5710
|
-
{ path: "entity.draftContent.attachments.document" }
|
|
5840
|
+
{ path: "entity.draftContent.attachments.document" },
|
|
5841
|
+
{ path: "modifiedFields.content.attachments.document" },
|
|
5842
|
+
{ path: "modifiedFields.draftContent.attachments.document" }
|
|
5711
5843
|
]
|
|
5712
5844
|
}
|
|
5713
5845
|
])
|
|
@@ -5747,6 +5879,7 @@ var bulkDeleteComment4 = /* @__PURE__ */ createRESTModule(bulkDeleteComment3);
|
|
|
5747
5879
|
var bulkModerateDraftContent4 = /* @__PURE__ */ createRESTModule(bulkModerateDraftContent3);
|
|
5748
5880
|
var bulkMoveCommentByFilter4 = /* @__PURE__ */ createRESTModule(bulkMoveCommentByFilter3);
|
|
5749
5881
|
var queryComments4 = /* @__PURE__ */ createRESTModule(customQueryComments);
|
|
5882
|
+
var onCommentDeleted2 = createEventModule(onCommentDeleted);
|
|
5750
5883
|
var onCommentContentChanged2 = createEventModule(
|
|
5751
5884
|
onCommentContentChanged
|
|
5752
5885
|
);
|
|
@@ -5756,7 +5889,6 @@ var onCommentMoved2 = createEventModule(onCommentMoved);
|
|
|
5756
5889
|
var onCommentPublished2 = createEventModule(onCommentPublished);
|
|
5757
5890
|
var onCommentUnmarked2 = createEventModule(onCommentUnmarked);
|
|
5758
5891
|
var onCommentCreated2 = createEventModule(onCommentCreated);
|
|
5759
|
-
var onCommentDeleted2 = createEventModule(onCommentDeleted);
|
|
5760
5892
|
var onCommentResourceCommentCountChanged2 = createEventModule(
|
|
5761
5893
|
onCommentResourceCommentCountChanged
|
|
5762
5894
|
);
|
|
@@ -5770,6 +5902,7 @@ export {
|
|
|
5770
5902
|
ButtonDataType,
|
|
5771
5903
|
Crop,
|
|
5772
5904
|
DecorationType,
|
|
5905
|
+
DesignTarget,
|
|
5773
5906
|
Direction,
|
|
5774
5907
|
DividerDataAlignment,
|
|
5775
5908
|
FontType,
|