@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/cjs/index.js
CHANGED
|
@@ -28,6 +28,7 @@ __export(index_exports, {
|
|
|
28
28
|
ButtonDataType: () => ButtonDataType,
|
|
29
29
|
Crop: () => Crop,
|
|
30
30
|
DecorationType: () => DecorationType,
|
|
31
|
+
DesignTarget: () => DesignTarget,
|
|
31
32
|
Direction: () => Direction,
|
|
32
33
|
DividerDataAlignment: () => DividerDataAlignment,
|
|
33
34
|
FontType: () => FontType,
|
|
@@ -3093,6 +3094,11 @@ var ResponsivenessBehaviour = /* @__PURE__ */ ((ResponsivenessBehaviour2) => {
|
|
|
3093
3094
|
ResponsivenessBehaviour2["WRAP"] = "WRAP";
|
|
3094
3095
|
return ResponsivenessBehaviour2;
|
|
3095
3096
|
})(ResponsivenessBehaviour || {});
|
|
3097
|
+
var DesignTarget = /* @__PURE__ */ ((DesignTarget2) => {
|
|
3098
|
+
DesignTarget2["LAYOUT"] = "LAYOUT";
|
|
3099
|
+
DesignTarget2["CELL"] = "CELL";
|
|
3100
|
+
return DesignTarget2;
|
|
3101
|
+
})(DesignTarget || {});
|
|
3096
3102
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
3097
3103
|
Status2["UNKNOWN"] = "UNKNOWN";
|
|
3098
3104
|
Status2["PUBLISHED"] = "PUBLISHED";
|
|
@@ -3101,18 +3107,26 @@ var Status = /* @__PURE__ */ ((Status2) => {
|
|
|
3101
3107
|
Status2["HIDDEN"] = "HIDDEN";
|
|
3102
3108
|
return Status2;
|
|
3103
3109
|
})(Status || {});
|
|
3104
|
-
var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
|
|
3105
|
-
VersioningMode2["DEFAULT"] = "DEFAULT";
|
|
3106
|
-
VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
|
|
3107
|
-
VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
|
|
3108
|
-
return VersioningMode2;
|
|
3109
|
-
})(VersioningMode || {});
|
|
3110
3110
|
var Action = /* @__PURE__ */ ((Action2) => {
|
|
3111
3111
|
Action2["UNKNOWN"] = "UNKNOWN";
|
|
3112
3112
|
Action2["APPROVE"] = "APPROVE";
|
|
3113
3113
|
Action2["REJECT"] = "REJECT";
|
|
3114
3114
|
return Action2;
|
|
3115
3115
|
})(Action || {});
|
|
3116
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
3117
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
3118
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
3119
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
3120
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
3121
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
3122
|
+
return WebhookIdentityType2;
|
|
3123
|
+
})(WebhookIdentityType || {});
|
|
3124
|
+
var VersioningMode = /* @__PURE__ */ ((VersioningMode2) => {
|
|
3125
|
+
VersioningMode2["DEFAULT"] = "DEFAULT";
|
|
3126
|
+
VersioningMode2["GREATER_THAN"] = "GREATER_THAN";
|
|
3127
|
+
VersioningMode2["GREATER_OR_EQUAL"] = "GREATER_OR_EQUAL";
|
|
3128
|
+
return VersioningMode2;
|
|
3129
|
+
})(VersioningMode || {});
|
|
3116
3130
|
var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
|
|
3117
3131
|
SortOrder2["ASC"] = "ASC";
|
|
3118
3132
|
SortOrder2["DESC"] = "DESC";
|
|
@@ -3136,14 +3150,6 @@ var ReplySortOrder = /* @__PURE__ */ ((ReplySortOrder2) => {
|
|
|
3136
3150
|
ReplySortOrder2["REACTION_COUNT"] = "REACTION_COUNT";
|
|
3137
3151
|
return ReplySortOrder2;
|
|
3138
3152
|
})(ReplySortOrder || {});
|
|
3139
|
-
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
3140
|
-
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
3141
|
-
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
3142
|
-
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
3143
|
-
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
3144
|
-
WebhookIdentityType2["APP"] = "APP";
|
|
3145
|
-
return WebhookIdentityType2;
|
|
3146
|
-
})(WebhookIdentityType || {});
|
|
3147
3153
|
async function createComment2(comment) {
|
|
3148
3154
|
const { httpClient, sideEffects } = arguments[1];
|
|
3149
3155
|
const payload = (0, import_transform_paths2.transformPaths)(
|
|
@@ -4320,6 +4326,168 @@ function bulkMoveCommentByFilter3(httpClient) {
|
|
|
4320
4326
|
{ httpClient }
|
|
4321
4327
|
);
|
|
4322
4328
|
}
|
|
4329
|
+
var onCommentDeleted = (0, import_sdk_types.EventDefinition)(
|
|
4330
|
+
"wix.comments.v2.comment_deleted",
|
|
4331
|
+
true,
|
|
4332
|
+
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
4333
|
+
(0, import_transform_paths3.transformPaths)(event, [
|
|
4334
|
+
{
|
|
4335
|
+
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
4336
|
+
paths: [
|
|
4337
|
+
{ path: "undefined.createdDate" },
|
|
4338
|
+
{ path: "undefined.updatedDate" },
|
|
4339
|
+
{ path: "undefined.commentDate" },
|
|
4340
|
+
{ path: "undefined.content.commentDate" },
|
|
4341
|
+
{ path: "undefined.content.richContent.metadata.createdTimestamp" },
|
|
4342
|
+
{ path: "undefined.content.richContent.metadata.updatedTimestamp" },
|
|
4343
|
+
{ path: "undefined.draftContent.commentDate" },
|
|
4344
|
+
{
|
|
4345
|
+
path: "undefined.draftContent.richContent.metadata.createdTimestamp"
|
|
4346
|
+
},
|
|
4347
|
+
{
|
|
4348
|
+
path: "undefined.draftContent.richContent.metadata.updatedTimestamp"
|
|
4349
|
+
},
|
|
4350
|
+
{ path: "metadata.eventTime" }
|
|
4351
|
+
]
|
|
4352
|
+
},
|
|
4353
|
+
{
|
|
4354
|
+
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
4355
|
+
paths: [
|
|
4356
|
+
{
|
|
4357
|
+
path: "undefined.content.richContent.nodes.galleryData.items.image.media.duration"
|
|
4358
|
+
},
|
|
4359
|
+
{
|
|
4360
|
+
path: "undefined.content.richContent.nodes.galleryData.items.video.media.duration"
|
|
4361
|
+
},
|
|
4362
|
+
{
|
|
4363
|
+
path: "undefined.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
4364
|
+
},
|
|
4365
|
+
{
|
|
4366
|
+
path: "undefined.content.richContent.nodes.galleryData.options.item.ratio"
|
|
4367
|
+
},
|
|
4368
|
+
{
|
|
4369
|
+
path: "undefined.content.richContent.nodes.imageData.image.duration"
|
|
4370
|
+
},
|
|
4371
|
+
{
|
|
4372
|
+
path: "undefined.content.richContent.nodes.mapData.mapSettings.lat"
|
|
4373
|
+
},
|
|
4374
|
+
{
|
|
4375
|
+
path: "undefined.content.richContent.nodes.mapData.mapSettings.lng"
|
|
4376
|
+
},
|
|
4377
|
+
{
|
|
4378
|
+
path: "undefined.content.richContent.nodes.pollData.poll.image.duration"
|
|
4379
|
+
},
|
|
4380
|
+
{
|
|
4381
|
+
path: "undefined.content.richContent.nodes.pollData.poll.options.image.duration"
|
|
4382
|
+
},
|
|
4383
|
+
{
|
|
4384
|
+
path: "undefined.content.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
4385
|
+
},
|
|
4386
|
+
{
|
|
4387
|
+
path: "undefined.content.richContent.nodes.appEmbedData.image.duration"
|
|
4388
|
+
},
|
|
4389
|
+
{
|
|
4390
|
+
path: "undefined.content.richContent.nodes.videoData.video.duration"
|
|
4391
|
+
},
|
|
4392
|
+
{
|
|
4393
|
+
path: "undefined.content.richContent.nodes.videoData.thumbnail.duration"
|
|
4394
|
+
},
|
|
4395
|
+
{
|
|
4396
|
+
path: "undefined.content.richContent.nodes.audioData.audio.duration"
|
|
4397
|
+
},
|
|
4398
|
+
{
|
|
4399
|
+
path: "undefined.content.richContent.nodes.audioData.coverImage.duration"
|
|
4400
|
+
},
|
|
4401
|
+
{
|
|
4402
|
+
path: "undefined.content.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
4403
|
+
},
|
|
4404
|
+
{
|
|
4405
|
+
path: "undefined.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
4406
|
+
},
|
|
4407
|
+
{
|
|
4408
|
+
path: "undefined.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
4409
|
+
},
|
|
4410
|
+
{
|
|
4411
|
+
path: "undefined.draftContent.richContent.nodes.galleryData.items.video.media.duration"
|
|
4412
|
+
},
|
|
4413
|
+
{
|
|
4414
|
+
path: "undefined.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
4415
|
+
},
|
|
4416
|
+
{
|
|
4417
|
+
path: "undefined.draftContent.richContent.nodes.galleryData.options.item.ratio"
|
|
4418
|
+
},
|
|
4419
|
+
{
|
|
4420
|
+
path: "undefined.draftContent.richContent.nodes.imageData.image.duration"
|
|
4421
|
+
},
|
|
4422
|
+
{
|
|
4423
|
+
path: "undefined.draftContent.richContent.nodes.mapData.mapSettings.lat"
|
|
4424
|
+
},
|
|
4425
|
+
{
|
|
4426
|
+
path: "undefined.draftContent.richContent.nodes.mapData.mapSettings.lng"
|
|
4427
|
+
},
|
|
4428
|
+
{
|
|
4429
|
+
path: "undefined.draftContent.richContent.nodes.pollData.poll.image.duration"
|
|
4430
|
+
},
|
|
4431
|
+
{
|
|
4432
|
+
path: "undefined.draftContent.richContent.nodes.pollData.poll.options.image.duration"
|
|
4433
|
+
},
|
|
4434
|
+
{
|
|
4435
|
+
path: "undefined.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
4436
|
+
},
|
|
4437
|
+
{
|
|
4438
|
+
path: "undefined.draftContent.richContent.nodes.appEmbedData.image.duration"
|
|
4439
|
+
},
|
|
4440
|
+
{
|
|
4441
|
+
path: "undefined.draftContent.richContent.nodes.videoData.video.duration"
|
|
4442
|
+
},
|
|
4443
|
+
{
|
|
4444
|
+
path: "undefined.draftContent.richContent.nodes.videoData.thumbnail.duration"
|
|
4445
|
+
},
|
|
4446
|
+
{
|
|
4447
|
+
path: "undefined.draftContent.richContent.nodes.audioData.audio.duration"
|
|
4448
|
+
},
|
|
4449
|
+
{
|
|
4450
|
+
path: "undefined.draftContent.richContent.nodes.audioData.coverImage.duration"
|
|
4451
|
+
},
|
|
4452
|
+
{
|
|
4453
|
+
path: "undefined.draftContent.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
4454
|
+
},
|
|
4455
|
+
{
|
|
4456
|
+
path: "undefined.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
4457
|
+
}
|
|
4458
|
+
]
|
|
4459
|
+
},
|
|
4460
|
+
{
|
|
4461
|
+
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
4462
|
+
paths: [
|
|
4463
|
+
{ path: "undefined.content.attachments.image" },
|
|
4464
|
+
{ path: "undefined.draftContent.attachments.image" }
|
|
4465
|
+
]
|
|
4466
|
+
},
|
|
4467
|
+
{
|
|
4468
|
+
transformFn: import_video_v23.transformRESTVideoV2ToSDKVideoV2,
|
|
4469
|
+
paths: [
|
|
4470
|
+
{ path: "undefined.content.attachments.video" },
|
|
4471
|
+
{ path: "undefined.draftContent.attachments.video" }
|
|
4472
|
+
]
|
|
4473
|
+
},
|
|
4474
|
+
{
|
|
4475
|
+
transformFn: import_audio3.transformRESTAudioToSDKAudio,
|
|
4476
|
+
paths: [
|
|
4477
|
+
{ path: "undefined.content.attachments.audio" },
|
|
4478
|
+
{ path: "undefined.draftContent.attachments.audio" }
|
|
4479
|
+
]
|
|
4480
|
+
},
|
|
4481
|
+
{
|
|
4482
|
+
transformFn: import_document3.transformRESTDocumentToSDKDocument,
|
|
4483
|
+
paths: [
|
|
4484
|
+
{ path: "undefined.content.attachments.document" },
|
|
4485
|
+
{ path: "undefined.draftContent.attachments.document" }
|
|
4486
|
+
]
|
|
4487
|
+
}
|
|
4488
|
+
])
|
|
4489
|
+
)
|
|
4490
|
+
)();
|
|
4323
4491
|
var onCommentContentChanged = (0, import_sdk_types.EventDefinition)(
|
|
4324
4492
|
"wix.comments.v2.comment_comment_content_changed",
|
|
4325
4493
|
true,
|
|
@@ -5475,308 +5643,265 @@ var onCommentCreated = (0, import_sdk_types.EventDefinition)(
|
|
|
5475
5643
|
])
|
|
5476
5644
|
)
|
|
5477
5645
|
)();
|
|
5478
|
-
var
|
|
5479
|
-
"wix.comments.v2.
|
|
5646
|
+
var onCommentResourceCommentCountChanged = (0, import_sdk_types.EventDefinition)(
|
|
5647
|
+
"wix.comments.v2.comment_resource_comment_count_changed",
|
|
5648
|
+
true,
|
|
5649
|
+
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
5650
|
+
(0, import_transform_paths3.transformPaths)(event, [
|
|
5651
|
+
{
|
|
5652
|
+
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
5653
|
+
paths: [{ path: "metadata.eventTime" }]
|
|
5654
|
+
}
|
|
5655
|
+
])
|
|
5656
|
+
)
|
|
5657
|
+
)();
|
|
5658
|
+
var onCommentUpdated = (0, import_sdk_types.EventDefinition)(
|
|
5659
|
+
"wix.comments.v2.comment_updated",
|
|
5480
5660
|
true,
|
|
5481
5661
|
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
5482
5662
|
(0, import_transform_paths3.transformPaths)(event, [
|
|
5483
5663
|
{
|
|
5484
5664
|
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
5485
5665
|
paths: [
|
|
5486
|
-
{ path: "
|
|
5487
|
-
{ path: "
|
|
5488
|
-
{ path: "
|
|
5489
|
-
{ path: "
|
|
5490
|
-
{ path: "
|
|
5491
|
-
{ path: "
|
|
5492
|
-
{ path: "
|
|
5666
|
+
{ path: "entity.createdDate" },
|
|
5667
|
+
{ path: "entity.updatedDate" },
|
|
5668
|
+
{ path: "entity.commentDate" },
|
|
5669
|
+
{ path: "entity.content.commentDate" },
|
|
5670
|
+
{ path: "entity.content.richContent.metadata.createdTimestamp" },
|
|
5671
|
+
{ path: "entity.content.richContent.metadata.updatedTimestamp" },
|
|
5672
|
+
{ path: "entity.draftContent.commentDate" },
|
|
5493
5673
|
{
|
|
5494
|
-
path: "
|
|
5674
|
+
path: "entity.draftContent.richContent.metadata.createdTimestamp"
|
|
5495
5675
|
},
|
|
5496
5676
|
{
|
|
5497
|
-
path: "
|
|
5677
|
+
path: "entity.draftContent.richContent.metadata.updatedTimestamp"
|
|
5498
5678
|
},
|
|
5499
|
-
{ path: "metadata.eventTime" }
|
|
5679
|
+
{ path: "metadata.eventTime" },
|
|
5680
|
+
{ path: "modifiedFields.createdDate" },
|
|
5681
|
+
{ path: "modifiedFields.updatedDate" },
|
|
5682
|
+
{ path: "modifiedFields.commentDate" },
|
|
5683
|
+
{ path: "modifiedFields.content.commentDate" },
|
|
5684
|
+
{
|
|
5685
|
+
path: "modifiedFields.content.richContent.metadata.createdTimestamp"
|
|
5686
|
+
},
|
|
5687
|
+
{
|
|
5688
|
+
path: "modifiedFields.content.richContent.metadata.updatedTimestamp"
|
|
5689
|
+
},
|
|
5690
|
+
{ path: "modifiedFields.draftContent.commentDate" },
|
|
5691
|
+
{
|
|
5692
|
+
path: "modifiedFields.draftContent.richContent.metadata.createdTimestamp"
|
|
5693
|
+
},
|
|
5694
|
+
{
|
|
5695
|
+
path: "modifiedFields.draftContent.richContent.metadata.updatedTimestamp"
|
|
5696
|
+
}
|
|
5500
5697
|
]
|
|
5501
5698
|
},
|
|
5502
5699
|
{
|
|
5503
5700
|
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
5504
5701
|
paths: [
|
|
5505
5702
|
{
|
|
5506
|
-
path: "
|
|
5507
|
-
},
|
|
5508
|
-
{
|
|
5509
|
-
path: "undefined.content.richContent.nodes.galleryData.items.video.media.duration"
|
|
5703
|
+
path: "entity.content.richContent.nodes.galleryData.items.image.media.duration"
|
|
5510
5704
|
},
|
|
5511
5705
|
{
|
|
5512
|
-
path: "
|
|
5706
|
+
path: "entity.content.richContent.nodes.galleryData.items.video.media.duration"
|
|
5513
5707
|
},
|
|
5514
5708
|
{
|
|
5515
|
-
path: "
|
|
5709
|
+
path: "entity.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
5516
5710
|
},
|
|
5517
5711
|
{
|
|
5518
|
-
path: "
|
|
5712
|
+
path: "entity.content.richContent.nodes.galleryData.options.item.ratio"
|
|
5519
5713
|
},
|
|
5520
5714
|
{
|
|
5521
|
-
path: "
|
|
5715
|
+
path: "entity.content.richContent.nodes.imageData.image.duration"
|
|
5522
5716
|
},
|
|
5523
5717
|
{
|
|
5524
|
-
path: "
|
|
5718
|
+
path: "entity.content.richContent.nodes.mapData.mapSettings.lat"
|
|
5525
5719
|
},
|
|
5526
5720
|
{
|
|
5527
|
-
path: "
|
|
5721
|
+
path: "entity.content.richContent.nodes.mapData.mapSettings.lng"
|
|
5528
5722
|
},
|
|
5529
5723
|
{
|
|
5530
|
-
path: "
|
|
5724
|
+
path: "entity.content.richContent.nodes.pollData.poll.image.duration"
|
|
5531
5725
|
},
|
|
5532
5726
|
{
|
|
5533
|
-
path: "
|
|
5727
|
+
path: "entity.content.richContent.nodes.pollData.poll.options.image.duration"
|
|
5534
5728
|
},
|
|
5535
5729
|
{
|
|
5536
|
-
path: "
|
|
5730
|
+
path: "entity.content.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
5537
5731
|
},
|
|
5538
5732
|
{
|
|
5539
|
-
path: "
|
|
5733
|
+
path: "entity.content.richContent.nodes.appEmbedData.image.duration"
|
|
5540
5734
|
},
|
|
5541
5735
|
{
|
|
5542
|
-
path: "
|
|
5736
|
+
path: "entity.content.richContent.nodes.videoData.video.duration"
|
|
5543
5737
|
},
|
|
5544
5738
|
{
|
|
5545
|
-
path: "
|
|
5739
|
+
path: "entity.content.richContent.nodes.videoData.thumbnail.duration"
|
|
5546
5740
|
},
|
|
5547
5741
|
{
|
|
5548
|
-
path: "
|
|
5742
|
+
path: "entity.content.richContent.nodes.audioData.audio.duration"
|
|
5549
5743
|
},
|
|
5550
5744
|
{
|
|
5551
|
-
path: "
|
|
5745
|
+
path: "entity.content.richContent.nodes.audioData.coverImage.duration"
|
|
5552
5746
|
},
|
|
5553
5747
|
{
|
|
5554
|
-
path: "
|
|
5748
|
+
path: "entity.content.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
5555
5749
|
},
|
|
5556
5750
|
{
|
|
5557
|
-
path: "
|
|
5751
|
+
path: "entity.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
5558
5752
|
},
|
|
5559
5753
|
{
|
|
5560
|
-
path: "
|
|
5754
|
+
path: "entity.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
5561
5755
|
},
|
|
5562
5756
|
{
|
|
5563
|
-
path: "
|
|
5757
|
+
path: "entity.draftContent.richContent.nodes.galleryData.items.video.media.duration"
|
|
5564
5758
|
},
|
|
5565
5759
|
{
|
|
5566
|
-
path: "
|
|
5760
|
+
path: "entity.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
5567
5761
|
},
|
|
5568
5762
|
{
|
|
5569
|
-
path: "
|
|
5763
|
+
path: "entity.draftContent.richContent.nodes.galleryData.options.item.ratio"
|
|
5570
5764
|
},
|
|
5571
5765
|
{
|
|
5572
|
-
path: "
|
|
5766
|
+
path: "entity.draftContent.richContent.nodes.imageData.image.duration"
|
|
5573
5767
|
},
|
|
5574
5768
|
{
|
|
5575
|
-
path: "
|
|
5769
|
+
path: "entity.draftContent.richContent.nodes.mapData.mapSettings.lat"
|
|
5576
5770
|
},
|
|
5577
5771
|
{
|
|
5578
|
-
path: "
|
|
5772
|
+
path: "entity.draftContent.richContent.nodes.mapData.mapSettings.lng"
|
|
5579
5773
|
},
|
|
5580
5774
|
{
|
|
5581
|
-
path: "
|
|
5775
|
+
path: "entity.draftContent.richContent.nodes.pollData.poll.image.duration"
|
|
5582
5776
|
},
|
|
5583
5777
|
{
|
|
5584
|
-
path: "
|
|
5778
|
+
path: "entity.draftContent.richContent.nodes.pollData.poll.options.image.duration"
|
|
5585
5779
|
},
|
|
5586
5780
|
{
|
|
5587
|
-
path: "
|
|
5781
|
+
path: "entity.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
5588
5782
|
},
|
|
5589
5783
|
{
|
|
5590
|
-
path: "
|
|
5784
|
+
path: "entity.draftContent.richContent.nodes.appEmbedData.image.duration"
|
|
5591
5785
|
},
|
|
5592
5786
|
{
|
|
5593
|
-
path: "
|
|
5787
|
+
path: "entity.draftContent.richContent.nodes.videoData.video.duration"
|
|
5594
5788
|
},
|
|
5595
5789
|
{
|
|
5596
|
-
path: "
|
|
5790
|
+
path: "entity.draftContent.richContent.nodes.videoData.thumbnail.duration"
|
|
5597
5791
|
},
|
|
5598
5792
|
{
|
|
5599
|
-
path: "
|
|
5793
|
+
path: "entity.draftContent.richContent.nodes.audioData.audio.duration"
|
|
5600
5794
|
},
|
|
5601
5795
|
{
|
|
5602
|
-
path: "
|
|
5796
|
+
path: "entity.draftContent.richContent.nodes.audioData.coverImage.duration"
|
|
5603
5797
|
},
|
|
5604
5798
|
{
|
|
5605
|
-
path: "
|
|
5606
|
-
}
|
|
5607
|
-
]
|
|
5608
|
-
},
|
|
5609
|
-
{
|
|
5610
|
-
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
5611
|
-
paths: [
|
|
5612
|
-
{ path: "undefined.content.attachments.image" },
|
|
5613
|
-
{ path: "undefined.draftContent.attachments.image" }
|
|
5614
|
-
]
|
|
5615
|
-
},
|
|
5616
|
-
{
|
|
5617
|
-
transformFn: import_video_v23.transformRESTVideoV2ToSDKVideoV2,
|
|
5618
|
-
paths: [
|
|
5619
|
-
{ path: "undefined.content.attachments.video" },
|
|
5620
|
-
{ path: "undefined.draftContent.attachments.video" }
|
|
5621
|
-
]
|
|
5622
|
-
},
|
|
5623
|
-
{
|
|
5624
|
-
transformFn: import_audio3.transformRESTAudioToSDKAudio,
|
|
5625
|
-
paths: [
|
|
5626
|
-
{ path: "undefined.content.attachments.audio" },
|
|
5627
|
-
{ path: "undefined.draftContent.attachments.audio" }
|
|
5628
|
-
]
|
|
5629
|
-
},
|
|
5630
|
-
{
|
|
5631
|
-
transformFn: import_document3.transformRESTDocumentToSDKDocument,
|
|
5632
|
-
paths: [
|
|
5633
|
-
{ path: "undefined.content.attachments.document" },
|
|
5634
|
-
{ path: "undefined.draftContent.attachments.document" }
|
|
5635
|
-
]
|
|
5636
|
-
}
|
|
5637
|
-
])
|
|
5638
|
-
)
|
|
5639
|
-
)();
|
|
5640
|
-
var onCommentResourceCommentCountChanged = (0, import_sdk_types.EventDefinition)(
|
|
5641
|
-
"wix.comments.v2.comment_resource_comment_count_changed",
|
|
5642
|
-
true,
|
|
5643
|
-
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
5644
|
-
(0, import_transform_paths3.transformPaths)(event, [
|
|
5645
|
-
{
|
|
5646
|
-
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
5647
|
-
paths: [{ path: "metadata.eventTime" }]
|
|
5648
|
-
}
|
|
5649
|
-
])
|
|
5650
|
-
)
|
|
5651
|
-
)();
|
|
5652
|
-
var onCommentUpdated = (0, import_sdk_types.EventDefinition)(
|
|
5653
|
-
"wix.comments.v2.comment_updated",
|
|
5654
|
-
true,
|
|
5655
|
-
(event) => (0, import_rename_all_nested_keys2.renameKeysFromRESTResponseToSDKResponse)(
|
|
5656
|
-
(0, import_transform_paths3.transformPaths)(event, [
|
|
5657
|
-
{
|
|
5658
|
-
transformFn: import_timestamp3.transformRESTTimestampToSDKTimestamp,
|
|
5659
|
-
paths: [
|
|
5660
|
-
{ path: "entity.createdDate" },
|
|
5661
|
-
{ path: "entity.updatedDate" },
|
|
5662
|
-
{ path: "entity.commentDate" },
|
|
5663
|
-
{ path: "entity.content.commentDate" },
|
|
5664
|
-
{ path: "entity.content.richContent.metadata.createdTimestamp" },
|
|
5665
|
-
{ path: "entity.content.richContent.metadata.updatedTimestamp" },
|
|
5666
|
-
{ path: "entity.draftContent.commentDate" },
|
|
5667
|
-
{
|
|
5668
|
-
path: "entity.draftContent.richContent.metadata.createdTimestamp"
|
|
5799
|
+
path: "entity.draftContent.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
5669
5800
|
},
|
|
5670
5801
|
{
|
|
5671
|
-
path: "entity.draftContent.richContent.
|
|
5802
|
+
path: "entity.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
5672
5803
|
},
|
|
5673
|
-
{ path: "metadata.eventTime" }
|
|
5674
|
-
]
|
|
5675
|
-
},
|
|
5676
|
-
{
|
|
5677
|
-
transformFn: import_float3.transformRESTFloatToSDKFloat,
|
|
5678
|
-
paths: [
|
|
5679
5804
|
{
|
|
5680
|
-
path: "
|
|
5805
|
+
path: "modifiedFields.content.richContent.nodes.galleryData.items.image.media.duration"
|
|
5681
5806
|
},
|
|
5682
5807
|
{
|
|
5683
|
-
path: "
|
|
5808
|
+
path: "modifiedFields.content.richContent.nodes.galleryData.items.video.media.duration"
|
|
5684
5809
|
},
|
|
5685
5810
|
{
|
|
5686
|
-
path: "
|
|
5811
|
+
path: "modifiedFields.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
5687
5812
|
},
|
|
5688
5813
|
{
|
|
5689
|
-
path: "
|
|
5814
|
+
path: "modifiedFields.content.richContent.nodes.galleryData.options.item.ratio"
|
|
5690
5815
|
},
|
|
5691
5816
|
{
|
|
5692
|
-
path: "
|
|
5817
|
+
path: "modifiedFields.content.richContent.nodes.imageData.image.duration"
|
|
5693
5818
|
},
|
|
5694
5819
|
{
|
|
5695
|
-
path: "
|
|
5820
|
+
path: "modifiedFields.content.richContent.nodes.mapData.mapSettings.lat"
|
|
5696
5821
|
},
|
|
5697
5822
|
{
|
|
5698
|
-
path: "
|
|
5823
|
+
path: "modifiedFields.content.richContent.nodes.mapData.mapSettings.lng"
|
|
5699
5824
|
},
|
|
5700
5825
|
{
|
|
5701
|
-
path: "
|
|
5826
|
+
path: "modifiedFields.content.richContent.nodes.pollData.poll.image.duration"
|
|
5702
5827
|
},
|
|
5703
5828
|
{
|
|
5704
|
-
path: "
|
|
5829
|
+
path: "modifiedFields.content.richContent.nodes.pollData.poll.options.image.duration"
|
|
5705
5830
|
},
|
|
5706
5831
|
{
|
|
5707
|
-
path: "
|
|
5832
|
+
path: "modifiedFields.content.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
5708
5833
|
},
|
|
5709
5834
|
{
|
|
5710
|
-
path: "
|
|
5835
|
+
path: "modifiedFields.content.richContent.nodes.appEmbedData.image.duration"
|
|
5711
5836
|
},
|
|
5712
5837
|
{
|
|
5713
|
-
path: "
|
|
5838
|
+
path: "modifiedFields.content.richContent.nodes.videoData.video.duration"
|
|
5714
5839
|
},
|
|
5715
5840
|
{
|
|
5716
|
-
path: "
|
|
5841
|
+
path: "modifiedFields.content.richContent.nodes.videoData.thumbnail.duration"
|
|
5717
5842
|
},
|
|
5718
5843
|
{
|
|
5719
|
-
path: "
|
|
5844
|
+
path: "modifiedFields.content.richContent.nodes.audioData.audio.duration"
|
|
5720
5845
|
},
|
|
5721
5846
|
{
|
|
5722
|
-
path: "
|
|
5847
|
+
path: "modifiedFields.content.richContent.nodes.audioData.coverImage.duration"
|
|
5723
5848
|
},
|
|
5724
5849
|
{
|
|
5725
|
-
path: "
|
|
5850
|
+
path: "modifiedFields.content.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
5726
5851
|
},
|
|
5727
5852
|
{
|
|
5728
|
-
path: "
|
|
5853
|
+
path: "modifiedFields.content.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
5729
5854
|
},
|
|
5730
5855
|
{
|
|
5731
|
-
path: "
|
|
5856
|
+
path: "modifiedFields.draftContent.richContent.nodes.galleryData.items.image.media.duration"
|
|
5732
5857
|
},
|
|
5733
5858
|
{
|
|
5734
|
-
path: "
|
|
5859
|
+
path: "modifiedFields.draftContent.richContent.nodes.galleryData.items.video.media.duration"
|
|
5735
5860
|
},
|
|
5736
5861
|
{
|
|
5737
|
-
path: "
|
|
5862
|
+
path: "modifiedFields.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
|
|
5738
5863
|
},
|
|
5739
5864
|
{
|
|
5740
|
-
path: "
|
|
5865
|
+
path: "modifiedFields.draftContent.richContent.nodes.galleryData.options.item.ratio"
|
|
5741
5866
|
},
|
|
5742
5867
|
{
|
|
5743
|
-
path: "
|
|
5868
|
+
path: "modifiedFields.draftContent.richContent.nodes.imageData.image.duration"
|
|
5744
5869
|
},
|
|
5745
5870
|
{
|
|
5746
|
-
path: "
|
|
5871
|
+
path: "modifiedFields.draftContent.richContent.nodes.mapData.mapSettings.lat"
|
|
5747
5872
|
},
|
|
5748
5873
|
{
|
|
5749
|
-
path: "
|
|
5874
|
+
path: "modifiedFields.draftContent.richContent.nodes.mapData.mapSettings.lng"
|
|
5750
5875
|
},
|
|
5751
5876
|
{
|
|
5752
|
-
path: "
|
|
5877
|
+
path: "modifiedFields.draftContent.richContent.nodes.pollData.poll.image.duration"
|
|
5753
5878
|
},
|
|
5754
5879
|
{
|
|
5755
|
-
path: "
|
|
5880
|
+
path: "modifiedFields.draftContent.richContent.nodes.pollData.poll.options.image.duration"
|
|
5756
5881
|
},
|
|
5757
5882
|
{
|
|
5758
|
-
path: "
|
|
5883
|
+
path: "modifiedFields.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
|
|
5759
5884
|
},
|
|
5760
5885
|
{
|
|
5761
|
-
path: "
|
|
5886
|
+
path: "modifiedFields.draftContent.richContent.nodes.appEmbedData.image.duration"
|
|
5762
5887
|
},
|
|
5763
5888
|
{
|
|
5764
|
-
path: "
|
|
5889
|
+
path: "modifiedFields.draftContent.richContent.nodes.videoData.video.duration"
|
|
5765
5890
|
},
|
|
5766
5891
|
{
|
|
5767
|
-
path: "
|
|
5892
|
+
path: "modifiedFields.draftContent.richContent.nodes.videoData.thumbnail.duration"
|
|
5768
5893
|
},
|
|
5769
5894
|
{
|
|
5770
|
-
path: "
|
|
5895
|
+
path: "modifiedFields.draftContent.richContent.nodes.audioData.audio.duration"
|
|
5771
5896
|
},
|
|
5772
5897
|
{
|
|
5773
|
-
path: "
|
|
5898
|
+
path: "modifiedFields.draftContent.richContent.nodes.audioData.coverImage.duration"
|
|
5774
5899
|
},
|
|
5775
5900
|
{
|
|
5776
|
-
path: "
|
|
5901
|
+
path: "modifiedFields.draftContent.richContent.nodes.layoutData.backgroundImage.media.duration"
|
|
5777
5902
|
},
|
|
5778
5903
|
{
|
|
5779
|
-
path: "
|
|
5904
|
+
path: "modifiedFields.draftContent.richContent.nodes.layoutData.backdropImage.media.duration"
|
|
5780
5905
|
}
|
|
5781
5906
|
]
|
|
5782
5907
|
},
|
|
@@ -5784,28 +5909,36 @@ var onCommentUpdated = (0, import_sdk_types.EventDefinition)(
|
|
|
5784
5909
|
transformFn: import_image3.transformRESTImageToSDKImage,
|
|
5785
5910
|
paths: [
|
|
5786
5911
|
{ path: "entity.content.attachments.image" },
|
|
5787
|
-
{ path: "entity.draftContent.attachments.image" }
|
|
5912
|
+
{ path: "entity.draftContent.attachments.image" },
|
|
5913
|
+
{ path: "modifiedFields.content.attachments.image" },
|
|
5914
|
+
{ path: "modifiedFields.draftContent.attachments.image" }
|
|
5788
5915
|
]
|
|
5789
5916
|
},
|
|
5790
5917
|
{
|
|
5791
5918
|
transformFn: import_video_v23.transformRESTVideoV2ToSDKVideoV2,
|
|
5792
5919
|
paths: [
|
|
5793
5920
|
{ path: "entity.content.attachments.video" },
|
|
5794
|
-
{ path: "entity.draftContent.attachments.video" }
|
|
5921
|
+
{ path: "entity.draftContent.attachments.video" },
|
|
5922
|
+
{ path: "modifiedFields.content.attachments.video" },
|
|
5923
|
+
{ path: "modifiedFields.draftContent.attachments.video" }
|
|
5795
5924
|
]
|
|
5796
5925
|
},
|
|
5797
5926
|
{
|
|
5798
5927
|
transformFn: import_audio3.transformRESTAudioToSDKAudio,
|
|
5799
5928
|
paths: [
|
|
5800
5929
|
{ path: "entity.content.attachments.audio" },
|
|
5801
|
-
{ path: "entity.draftContent.attachments.audio" }
|
|
5930
|
+
{ path: "entity.draftContent.attachments.audio" },
|
|
5931
|
+
{ path: "modifiedFields.content.attachments.audio" },
|
|
5932
|
+
{ path: "modifiedFields.draftContent.attachments.audio" }
|
|
5802
5933
|
]
|
|
5803
5934
|
},
|
|
5804
5935
|
{
|
|
5805
5936
|
transformFn: import_document3.transformRESTDocumentToSDKDocument,
|
|
5806
5937
|
paths: [
|
|
5807
5938
|
{ path: "entity.content.attachments.document" },
|
|
5808
|
-
{ path: "entity.draftContent.attachments.document" }
|
|
5939
|
+
{ path: "entity.draftContent.attachments.document" },
|
|
5940
|
+
{ path: "modifiedFields.content.attachments.document" },
|
|
5941
|
+
{ path: "modifiedFields.draftContent.attachments.document" }
|
|
5809
5942
|
]
|
|
5810
5943
|
}
|
|
5811
5944
|
])
|
|
@@ -5845,6 +5978,7 @@ var bulkDeleteComment4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModu
|
|
|
5845
5978
|
var bulkModerateDraftContent4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkModerateDraftContent3);
|
|
5846
5979
|
var bulkMoveCommentByFilter4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkMoveCommentByFilter3);
|
|
5847
5980
|
var queryComments4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(customQueryComments);
|
|
5981
|
+
var onCommentDeleted2 = (0, import_event_definition_modules.createEventModule)(onCommentDeleted);
|
|
5848
5982
|
var onCommentContentChanged2 = (0, import_event_definition_modules.createEventModule)(
|
|
5849
5983
|
onCommentContentChanged
|
|
5850
5984
|
);
|
|
@@ -5854,7 +5988,6 @@ var onCommentMoved2 = (0, import_event_definition_modules.createEventModule)(onC
|
|
|
5854
5988
|
var onCommentPublished2 = (0, import_event_definition_modules.createEventModule)(onCommentPublished);
|
|
5855
5989
|
var onCommentUnmarked2 = (0, import_event_definition_modules.createEventModule)(onCommentUnmarked);
|
|
5856
5990
|
var onCommentCreated2 = (0, import_event_definition_modules.createEventModule)(onCommentCreated);
|
|
5857
|
-
var onCommentDeleted2 = (0, import_event_definition_modules.createEventModule)(onCommentDeleted);
|
|
5858
5991
|
var onCommentResourceCommentCountChanged2 = (0, import_event_definition_modules.createEventModule)(
|
|
5859
5992
|
onCommentResourceCommentCountChanged
|
|
5860
5993
|
);
|
|
@@ -5869,6 +6002,7 @@ var onCommentUpdated2 = (0, import_event_definition_modules.createEventModule)(o
|
|
|
5869
6002
|
ButtonDataType,
|
|
5870
6003
|
Crop,
|
|
5871
6004
|
DecorationType,
|
|
6005
|
+
DesignTarget,
|
|
5872
6006
|
Direction,
|
|
5873
6007
|
DividerDataAlignment,
|
|
5874
6008
|
FontType,
|