@wix/auto_sdk_comments_comments 1.0.26 → 1.0.28
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 +10 -10
- package/build/cjs/index.js +60 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +54 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +54 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +10 -10
- package/build/es/index.mjs +60 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +54 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +54 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +10 -10
- package/build/internal/cjs/index.js +60 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.js +54 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +54 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +10 -10
- package/build/internal/es/index.mjs +60 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.mjs +54 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +54 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -241,40 +241,40 @@ declare const bulkMoveCommentByFilter: MaybeContext<BuildRESTFunction<typeof bul
|
|
|
241
241
|
/**
|
|
242
242
|
* Triggered when comment content is updated.
|
|
243
243
|
*/
|
|
244
|
-
declare const onCommentContentChanged: BuildEventDefinition<typeof onCommentContentChanged$1
|
|
244
|
+
declare const onCommentContentChanged: BuildEventDefinition<typeof onCommentContentChanged$1> & typeof onCommentContentChanged$1;
|
|
245
245
|
/**
|
|
246
246
|
* Triggered when a comment is hidden.
|
|
247
247
|
*/
|
|
248
|
-
declare const onCommentHidden: BuildEventDefinition<typeof onCommentHidden$1
|
|
248
|
+
declare const onCommentHidden: BuildEventDefinition<typeof onCommentHidden$1> & typeof onCommentHidden$1;
|
|
249
249
|
/**
|
|
250
250
|
* Triggered when a comment is marked.
|
|
251
251
|
*/
|
|
252
|
-
declare const onCommentMarked: BuildEventDefinition<typeof onCommentMarked$1
|
|
252
|
+
declare const onCommentMarked: BuildEventDefinition<typeof onCommentMarked$1> & typeof onCommentMarked$1;
|
|
253
253
|
/**
|
|
254
254
|
* Triggered when a comment is moved.
|
|
255
255
|
*/
|
|
256
|
-
declare const onCommentMoved: BuildEventDefinition<typeof onCommentMoved$1
|
|
256
|
+
declare const onCommentMoved: BuildEventDefinition<typeof onCommentMoved$1> & typeof onCommentMoved$1;
|
|
257
257
|
/**
|
|
258
258
|
* Triggered when a comment is published.
|
|
259
259
|
*/
|
|
260
|
-
declare const onCommentPublished: BuildEventDefinition<typeof onCommentPublished$1
|
|
260
|
+
declare const onCommentPublished: BuildEventDefinition<typeof onCommentPublished$1> & typeof onCommentPublished$1;
|
|
261
261
|
/**
|
|
262
262
|
* Triggered when a comment is unmarked.
|
|
263
263
|
*/
|
|
264
|
-
declare const onCommentUnmarked: BuildEventDefinition<typeof onCommentUnmarked$1
|
|
264
|
+
declare const onCommentUnmarked: BuildEventDefinition<typeof onCommentUnmarked$1> & typeof onCommentUnmarked$1;
|
|
265
265
|
/**
|
|
266
266
|
* Triggered when a comment is created.
|
|
267
267
|
*/
|
|
268
|
-
declare const onCommentCreated: BuildEventDefinition<typeof onCommentCreated$1
|
|
268
|
+
declare const onCommentCreated: BuildEventDefinition<typeof onCommentCreated$1> & typeof onCommentCreated$1;
|
|
269
269
|
/** */
|
|
270
|
-
declare const onCommentDeleted: BuildEventDefinition<typeof onCommentDeleted$1
|
|
270
|
+
declare const onCommentDeleted: BuildEventDefinition<typeof onCommentDeleted$1> & typeof onCommentDeleted$1;
|
|
271
271
|
/**
|
|
272
272
|
* Triggered when the total number of comments has changed in a resource.
|
|
273
273
|
*/
|
|
274
|
-
declare const onCommentResourceCommentCountChanged: BuildEventDefinition<typeof onCommentResourceCommentCountChanged$1
|
|
274
|
+
declare const onCommentResourceCommentCountChanged: BuildEventDefinition<typeof onCommentResourceCommentCountChanged$1> & typeof onCommentResourceCommentCountChanged$1;
|
|
275
275
|
/**
|
|
276
276
|
* Triggered when a comment is updated.
|
|
277
277
|
*/
|
|
278
|
-
declare const onCommentUpdated: BuildEventDefinition<typeof onCommentUpdated$1
|
|
278
|
+
declare const onCommentUpdated: BuildEventDefinition<typeof onCommentUpdated$1> & typeof onCommentUpdated$1;
|
|
279
279
|
|
|
280
280
|
export { BulkDeleteCommentOptions, BulkDeleteCommentResponse, BulkHideCommentOptions, BulkHideCommentResponse, BulkModerateDraftContentOptions, BulkModerateDraftContentResponse, BulkMoveCommentByFilterOptions, BulkMoveCommentByFilterResponse, BulkPublishCommentOptions, BulkPublishCommentResponse, Comment, CommentContentChangedEnvelope, CommentCreatedEnvelope, CommentDeletedEnvelope, CommentHiddenEnvelope, CommentMarkedEnvelope, CommentMovedEnvelope, CommentPublishedEnvelope, CommentResourceCommentCountChangedEnvelope, CommentUnmarkedEnvelope, CommentUpdatedEnvelope, CommentsQueryBuilder, CountCommentsApplicationErrors, CountCommentsOptions, CountCommentsResponse, CreateCommentApplicationErrors, GetCommentThreadOptions, GetCommentThreadResponse, HideCommentResponse, ListCommentsByResourceOptions, ListCommentsByResourceResponse, MarkCommentResponse, ModerateDraftContentOptions, ModerateDraftContentResponse, PublishCommentResponse, UnmarkCommentResponse, UpdateComment, UpdateCommentApplicationErrors, bulkDeleteComment, bulkHideComment, bulkModerateDraftContent, bulkMoveCommentByFilter, bulkPublishComment, countComments, createComment, deleteComment, getComment, getCommentThread, hideComment, listCommentsByResource, markComment, moderateDraftContent, onCommentContentChanged, onCommentCreated, onCommentDeleted, onCommentHidden, onCommentMarked, onCommentMoved, onCommentPublished, onCommentResourceCommentCountChanged, onCommentUnmarked, onCommentUpdated, publishComment, queryComments, unmarkComment, updateComment };
|
|
@@ -199,6 +199,9 @@ function createComment(payload) {
|
|
|
199
199
|
method: "POST",
|
|
200
200
|
methodFqn: "wix.comments.ng.v1.CommentsNg.CreateComment",
|
|
201
201
|
packageName: PACKAGE_NAME,
|
|
202
|
+
migrationOptions: {
|
|
203
|
+
optInTransformResponse: true
|
|
204
|
+
},
|
|
202
205
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
203
206
|
protoPath: "/v1/comments",
|
|
204
207
|
data: serializedData,
|
|
@@ -356,6 +359,9 @@ function getComment(payload) {
|
|
|
356
359
|
method: "GET",
|
|
357
360
|
methodFqn: "wix.comments.ng.v1.CommentsNg.GetComment",
|
|
358
361
|
packageName: PACKAGE_NAME,
|
|
362
|
+
migrationOptions: {
|
|
363
|
+
optInTransformResponse: true
|
|
364
|
+
},
|
|
359
365
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
360
366
|
protoPath: "/v1/comments/{commentId}",
|
|
361
367
|
data: payload,
|
|
@@ -640,6 +646,9 @@ function updateComment(payload) {
|
|
|
640
646
|
method: "PATCH",
|
|
641
647
|
methodFqn: "wix.comments.ng.v1.CommentsNg.UpdateComment",
|
|
642
648
|
packageName: PACKAGE_NAME,
|
|
649
|
+
migrationOptions: {
|
|
650
|
+
optInTransformResponse: true
|
|
651
|
+
},
|
|
643
652
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
644
653
|
protoPath: "/v1/comments/{comment.id}",
|
|
645
654
|
data: serializedData,
|
|
@@ -797,6 +806,9 @@ function deleteComment(payload) {
|
|
|
797
806
|
method: "DELETE",
|
|
798
807
|
methodFqn: "wix.comments.ng.v1.CommentsNg.DeleteComment",
|
|
799
808
|
packageName: PACKAGE_NAME,
|
|
809
|
+
migrationOptions: {
|
|
810
|
+
optInTransformResponse: true
|
|
811
|
+
},
|
|
800
812
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
801
813
|
protoPath: "/v1/comments/{commentId}",
|
|
802
814
|
data: payload,
|
|
@@ -815,6 +827,9 @@ function moderateDraftContent(payload) {
|
|
|
815
827
|
method: "POST",
|
|
816
828
|
methodFqn: "wix.comments.ng.v1.CommentsNg.ModerateDraftContent",
|
|
817
829
|
packageName: PACKAGE_NAME,
|
|
830
|
+
migrationOptions: {
|
|
831
|
+
optInTransformResponse: true
|
|
832
|
+
},
|
|
818
833
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
819
834
|
protoPath: "/v1/comments/{commentId}/moderate",
|
|
820
835
|
data: payload,
|
|
@@ -972,6 +987,9 @@ function queryComments(payload) {
|
|
|
972
987
|
method: "POST",
|
|
973
988
|
methodFqn: "wix.comments.ng.v1.CommentsNg.QueryComments",
|
|
974
989
|
packageName: PACKAGE_NAME,
|
|
990
|
+
migrationOptions: {
|
|
991
|
+
optInTransformResponse: true
|
|
992
|
+
},
|
|
975
993
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
976
994
|
protoPath: "/v1/comments/query-cursor",
|
|
977
995
|
data: payload,
|
|
@@ -1133,6 +1151,9 @@ function markComment(payload) {
|
|
|
1133
1151
|
method: "PUT",
|
|
1134
1152
|
methodFqn: "wix.comments.ng.v1.CommentsNg.MarkComment",
|
|
1135
1153
|
packageName: PACKAGE_NAME,
|
|
1154
|
+
migrationOptions: {
|
|
1155
|
+
optInTransformResponse: true
|
|
1156
|
+
},
|
|
1136
1157
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
1137
1158
|
protoPath: "/v1/comments/{commentId}/mark",
|
|
1138
1159
|
data: payload,
|
|
@@ -1290,6 +1311,9 @@ function unmarkComment(payload) {
|
|
|
1290
1311
|
method: "PUT",
|
|
1291
1312
|
methodFqn: "wix.comments.ng.v1.CommentsNg.UnmarkComment",
|
|
1292
1313
|
packageName: PACKAGE_NAME,
|
|
1314
|
+
migrationOptions: {
|
|
1315
|
+
optInTransformResponse: true
|
|
1316
|
+
},
|
|
1293
1317
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
1294
1318
|
protoPath: "/v1/comments/{commentId}/unmark",
|
|
1295
1319
|
data: payload,
|
|
@@ -1447,6 +1471,9 @@ function hideComment(payload) {
|
|
|
1447
1471
|
method: "PUT",
|
|
1448
1472
|
methodFqn: "wix.comments.ng.v1.CommentsNg.HideComment",
|
|
1449
1473
|
packageName: PACKAGE_NAME,
|
|
1474
|
+
migrationOptions: {
|
|
1475
|
+
optInTransformResponse: true
|
|
1476
|
+
},
|
|
1450
1477
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
1451
1478
|
protoPath: "/v1/comments/{commentId}/hide",
|
|
1452
1479
|
data: payload,
|
|
@@ -1604,6 +1631,9 @@ function publishComment(payload) {
|
|
|
1604
1631
|
method: "PUT",
|
|
1605
1632
|
methodFqn: "wix.comments.ng.v1.CommentsNg.PublishComment",
|
|
1606
1633
|
packageName: PACKAGE_NAME,
|
|
1634
|
+
migrationOptions: {
|
|
1635
|
+
optInTransformResponse: true
|
|
1636
|
+
},
|
|
1607
1637
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
1608
1638
|
protoPath: "/v1/comments/{commentId}/publish",
|
|
1609
1639
|
data: payload,
|
|
@@ -1761,6 +1791,9 @@ function countComments(payload) {
|
|
|
1761
1791
|
method: "POST",
|
|
1762
1792
|
methodFqn: "wix.comments.ng.v1.CommentsNg.CountComments",
|
|
1763
1793
|
packageName: PACKAGE_NAME,
|
|
1794
|
+
migrationOptions: {
|
|
1795
|
+
optInTransformResponse: true
|
|
1796
|
+
},
|
|
1764
1797
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
1765
1798
|
protoPath: "/v1/comments/count",
|
|
1766
1799
|
data: payload,
|
|
@@ -1779,6 +1812,9 @@ function listCommentsByResource(payload) {
|
|
|
1779
1812
|
method: "GET",
|
|
1780
1813
|
methodFqn: "wix.comments.ng.v1.CommentsNg.ListCommentsByResource",
|
|
1781
1814
|
packageName: PACKAGE_NAME,
|
|
1815
|
+
migrationOptions: {
|
|
1816
|
+
optInTransformResponse: true
|
|
1817
|
+
},
|
|
1782
1818
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
1783
1819
|
protoPath: "/v1/comments/list-by-resource",
|
|
1784
1820
|
data: payload,
|
|
@@ -2077,6 +2113,9 @@ function getCommentThread(payload) {
|
|
|
2077
2113
|
method: "GET",
|
|
2078
2114
|
methodFqn: "wix.comments.ng.v1.CommentsNg.GetCommentThread",
|
|
2079
2115
|
packageName: PACKAGE_NAME,
|
|
2116
|
+
migrationOptions: {
|
|
2117
|
+
optInTransformResponse: true
|
|
2118
|
+
},
|
|
2080
2119
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
2081
2120
|
protoPath: "/v1/comments/{commentId}/thread",
|
|
2082
2121
|
data: payload,
|
|
@@ -2375,6 +2414,9 @@ function bulkPublishComment(payload) {
|
|
|
2375
2414
|
method: "POST",
|
|
2376
2415
|
methodFqn: "wix.comments.ng.v1.CommentsNg.BulkPublishComment",
|
|
2377
2416
|
packageName: PACKAGE_NAME,
|
|
2417
|
+
migrationOptions: {
|
|
2418
|
+
optInTransformResponse: true
|
|
2419
|
+
},
|
|
2378
2420
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
2379
2421
|
protoPath: "/v1/bulk/comments/publish-by-filter",
|
|
2380
2422
|
data: payload,
|
|
@@ -2393,6 +2435,9 @@ function bulkHideComment(payload) {
|
|
|
2393
2435
|
method: "PUT",
|
|
2394
2436
|
methodFqn: "wix.comments.ng.v1.CommentsNg.BulkHideComment",
|
|
2395
2437
|
packageName: PACKAGE_NAME,
|
|
2438
|
+
migrationOptions: {
|
|
2439
|
+
optInTransformResponse: true
|
|
2440
|
+
},
|
|
2396
2441
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
2397
2442
|
protoPath: "/v1/bulk/comments/hide-by-filter",
|
|
2398
2443
|
data: payload,
|
|
@@ -2411,6 +2456,9 @@ function bulkDeleteComment(payload) {
|
|
|
2411
2456
|
method: "PUT",
|
|
2412
2457
|
methodFqn: "wix.comments.ng.v1.CommentsNg.BulkDeleteComment",
|
|
2413
2458
|
packageName: PACKAGE_NAME,
|
|
2459
|
+
migrationOptions: {
|
|
2460
|
+
optInTransformResponse: true
|
|
2461
|
+
},
|
|
2414
2462
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
2415
2463
|
protoPath: "/v1/bulk/comments/delete-by-filter",
|
|
2416
2464
|
data: payload,
|
|
@@ -2429,6 +2477,9 @@ function bulkModerateDraftContent(payload) {
|
|
|
2429
2477
|
method: "POST",
|
|
2430
2478
|
methodFqn: "wix.comments.ng.v1.CommentsNg.BulkModerateDraftContent",
|
|
2431
2479
|
packageName: PACKAGE_NAME,
|
|
2480
|
+
migrationOptions: {
|
|
2481
|
+
optInTransformResponse: true
|
|
2482
|
+
},
|
|
2432
2483
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
2433
2484
|
protoPath: "/v1/bulk/comments/moderate-by-filter",
|
|
2434
2485
|
data: payload,
|
|
@@ -2447,6 +2498,9 @@ function bulkMoveCommentByFilter(payload) {
|
|
|
2447
2498
|
method: "PUT",
|
|
2448
2499
|
methodFqn: "wix.comments.ng.v1.CommentsNg.BulkMoveCommentByFilter",
|
|
2449
2500
|
packageName: PACKAGE_NAME,
|
|
2501
|
+
migrationOptions: {
|
|
2502
|
+
optInTransformResponse: true
|
|
2503
|
+
},
|
|
2450
2504
|
url: resolveWixCommentsNgV1CommentsNgUrl({
|
|
2451
2505
|
protoPath: "/v1/bulk/comments/move-by-filter",
|
|
2452
2506
|
data: payload,
|
|
@@ -5293,7 +5347,9 @@ var bulkHideComment4 = /* @__PURE__ */ createRESTModule(bulkHideComment3);
|
|
|
5293
5347
|
var bulkDeleteComment4 = /* @__PURE__ */ createRESTModule(bulkDeleteComment3);
|
|
5294
5348
|
var bulkModerateDraftContent4 = /* @__PURE__ */ createRESTModule(bulkModerateDraftContent3);
|
|
5295
5349
|
var bulkMoveCommentByFilter4 = /* @__PURE__ */ createRESTModule(bulkMoveCommentByFilter3);
|
|
5296
|
-
var onCommentContentChanged2 = createEventModule(
|
|
5350
|
+
var onCommentContentChanged2 = createEventModule(
|
|
5351
|
+
onCommentContentChanged
|
|
5352
|
+
);
|
|
5297
5353
|
var onCommentHidden2 = createEventModule(onCommentHidden);
|
|
5298
5354
|
var onCommentMarked2 = createEventModule(onCommentMarked);
|
|
5299
5355
|
var onCommentMoved2 = createEventModule(onCommentMoved);
|
|
@@ -5301,7 +5357,9 @@ var onCommentPublished2 = createEventModule(onCommentPublished);
|
|
|
5301
5357
|
var onCommentUnmarked2 = createEventModule(onCommentUnmarked);
|
|
5302
5358
|
var onCommentCreated2 = createEventModule(onCommentCreated);
|
|
5303
5359
|
var onCommentDeleted2 = createEventModule(onCommentDeleted);
|
|
5304
|
-
var onCommentResourceCommentCountChanged2 = createEventModule(
|
|
5360
|
+
var onCommentResourceCommentCountChanged2 = createEventModule(
|
|
5361
|
+
onCommentResourceCommentCountChanged
|
|
5362
|
+
);
|
|
5305
5363
|
var onCommentUpdated2 = createEventModule(onCommentUpdated);
|
|
5306
5364
|
export {
|
|
5307
5365
|
Action,
|