@wix/auto_sdk_comments_comments 1.0.6 → 1.0.8

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.
Files changed (134) hide show
  1. package/build/{es/src/comments-v2-comment-comments.types.d.ts → comments-v2-comment-comments.universal-DjW1a70o.d.mts} +554 -736
  2. package/build/{internal/cjs/src/comments-v2-comment-comments.types.d.ts → comments-v2-comment-comments.universal-DjW1a70o.d.ts} +554 -736
  3. package/build/index.d.mts +249 -0
  4. package/build/index.d.ts +249 -0
  5. package/build/index.js +5231 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +5144 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/{cjs/src/comments-v2-comment-comments.types.d.ts → internal/comments-v2-comment-comments.universal-DjW1a70o.d.mts} +554 -736
  10. package/build/internal/{es/src/comments-v2-comment-comments.types.d.ts → comments-v2-comment-comments.universal-DjW1a70o.d.ts} +554 -736
  11. package/build/internal/index.d.mts +249 -0
  12. package/build/internal/index.d.ts +249 -0
  13. package/build/internal/index.js +5231 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +5144 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +2384 -0
  18. package/build/internal/meta.d.ts +2384 -0
  19. package/build/internal/meta.js +2832 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +2788 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +2384 -0
  24. package/build/meta.d.ts +2384 -0
  25. package/build/meta.js +2832 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +2788 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/comments-v2-comment-comments.context.d.ts +0 -68
  40. package/build/cjs/src/comments-v2-comment-comments.context.js +0 -109
  41. package/build/cjs/src/comments-v2-comment-comments.context.js.map +0 -1
  42. package/build/cjs/src/comments-v2-comment-comments.http.d.ts +0 -90
  43. package/build/cjs/src/comments-v2-comment-comments.http.js +0 -2533
  44. package/build/cjs/src/comments-v2-comment-comments.http.js.map +0 -1
  45. package/build/cjs/src/comments-v2-comment-comments.meta.d.ts +0 -48
  46. package/build/cjs/src/comments-v2-comment-comments.meta.js +0 -370
  47. package/build/cjs/src/comments-v2-comment-comments.meta.js.map +0 -1
  48. package/build/cjs/src/comments-v2-comment-comments.public.d.ts +0 -202
  49. package/build/cjs/src/comments-v2-comment-comments.public.js +0 -1341
  50. package/build/cjs/src/comments-v2-comment-comments.public.js.map +0 -1
  51. package/build/cjs/src/comments-v2-comment-comments.types.js +0 -385
  52. package/build/cjs/src/comments-v2-comment-comments.types.js.map +0 -1
  53. package/build/cjs/src/comments-v2-comment-comments.universal.d.ts +0 -3626
  54. package/build/cjs/src/comments-v2-comment-comments.universal.js +0 -1598
  55. package/build/cjs/src/comments-v2-comment-comments.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/comments-v2-comment-comments.context.d.ts +0 -68
  67. package/build/es/src/comments-v2-comment-comments.context.js +0 -68
  68. package/build/es/src/comments-v2-comment-comments.context.js.map +0 -1
  69. package/build/es/src/comments-v2-comment-comments.http.d.ts +0 -90
  70. package/build/es/src/comments-v2-comment-comments.http.js +0 -2512
  71. package/build/es/src/comments-v2-comment-comments.http.js.map +0 -1
  72. package/build/es/src/comments-v2-comment-comments.meta.d.ts +0 -48
  73. package/build/es/src/comments-v2-comment-comments.meta.js +0 -326
  74. package/build/es/src/comments-v2-comment-comments.meta.js.map +0 -1
  75. package/build/es/src/comments-v2-comment-comments.public.d.ts +0 -202
  76. package/build/es/src/comments-v2-comment-comments.public.js +0 -1282
  77. package/build/es/src/comments-v2-comment-comments.public.js.map +0 -1
  78. package/build/es/src/comments-v2-comment-comments.types.js +0 -382
  79. package/build/es/src/comments-v2-comment-comments.types.js.map +0 -1
  80. package/build/es/src/comments-v2-comment-comments.universal.d.ts +0 -3626
  81. package/build/es/src/comments-v2-comment-comments.universal.js +0 -1553
  82. package/build/es/src/comments-v2-comment-comments.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/comments-v2-comment-comments.context.d.ts +0 -68
  93. package/build/internal/cjs/src/comments-v2-comment-comments.context.js +0 -109
  94. package/build/internal/cjs/src/comments-v2-comment-comments.context.js.map +0 -1
  95. package/build/internal/cjs/src/comments-v2-comment-comments.http.d.ts +0 -90
  96. package/build/internal/cjs/src/comments-v2-comment-comments.http.js +0 -2533
  97. package/build/internal/cjs/src/comments-v2-comment-comments.http.js.map +0 -1
  98. package/build/internal/cjs/src/comments-v2-comment-comments.meta.d.ts +0 -48
  99. package/build/internal/cjs/src/comments-v2-comment-comments.meta.js +0 -370
  100. package/build/internal/cjs/src/comments-v2-comment-comments.meta.js.map +0 -1
  101. package/build/internal/cjs/src/comments-v2-comment-comments.public.d.ts +0 -202
  102. package/build/internal/cjs/src/comments-v2-comment-comments.public.js +0 -1341
  103. package/build/internal/cjs/src/comments-v2-comment-comments.public.js.map +0 -1
  104. package/build/internal/cjs/src/comments-v2-comment-comments.types.js +0 -385
  105. package/build/internal/cjs/src/comments-v2-comment-comments.types.js.map +0 -1
  106. package/build/internal/cjs/src/comments-v2-comment-comments.universal.d.ts +0 -3626
  107. package/build/internal/cjs/src/comments-v2-comment-comments.universal.js +0 -1598
  108. package/build/internal/cjs/src/comments-v2-comment-comments.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/comments-v2-comment-comments.context.d.ts +0 -68
  119. package/build/internal/es/src/comments-v2-comment-comments.context.js +0 -68
  120. package/build/internal/es/src/comments-v2-comment-comments.context.js.map +0 -1
  121. package/build/internal/es/src/comments-v2-comment-comments.http.d.ts +0 -90
  122. package/build/internal/es/src/comments-v2-comment-comments.http.js +0 -2512
  123. package/build/internal/es/src/comments-v2-comment-comments.http.js.map +0 -1
  124. package/build/internal/es/src/comments-v2-comment-comments.meta.d.ts +0 -48
  125. package/build/internal/es/src/comments-v2-comment-comments.meta.js +0 -326
  126. package/build/internal/es/src/comments-v2-comment-comments.meta.js.map +0 -1
  127. package/build/internal/es/src/comments-v2-comment-comments.public.d.ts +0 -202
  128. package/build/internal/es/src/comments-v2-comment-comments.public.js +0 -1282
  129. package/build/internal/es/src/comments-v2-comment-comments.public.js.map +0 -1
  130. package/build/internal/es/src/comments-v2-comment-comments.types.js +0 -382
  131. package/build/internal/es/src/comments-v2-comment-comments.types.js.map +0 -1
  132. package/build/internal/es/src/comments-v2-comment-comments.universal.d.ts +0 -3626
  133. package/build/internal/es/src/comments-v2-comment-comments.universal.js +0 -1553
  134. package/build/internal/es/src/comments-v2-comment-comments.universal.js.map +0 -1
@@ -0,0 +1,2832 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // meta.ts
21
+ var meta_exports = {};
22
+ __export(meta_exports, {
23
+ bulkDeleteComment: () => bulkDeleteComment2,
24
+ bulkHideComment: () => bulkHideComment2,
25
+ bulkModerateDraftContent: () => bulkModerateDraftContent2,
26
+ bulkMoveCommentByFilter: () => bulkMoveCommentByFilter2,
27
+ bulkPublishComment: () => bulkPublishComment2,
28
+ countComments: () => countComments2,
29
+ createComment: () => createComment2,
30
+ deleteComment: () => deleteComment2,
31
+ getComment: () => getComment2,
32
+ getCommentThread: () => getCommentThread2,
33
+ hideComment: () => hideComment2,
34
+ listCommentsByResource: () => listCommentsByResource2,
35
+ markComment: () => markComment2,
36
+ moderateDraftContent: () => moderateDraftContent2,
37
+ publishComment: () => publishComment2,
38
+ queryComments: () => queryComments2,
39
+ unmarkComment: () => unmarkComment2,
40
+ updateComment: () => updateComment2
41
+ });
42
+ module.exports = __toCommonJS(meta_exports);
43
+
44
+ // src/comments-v2-comment-comments.http.ts
45
+ var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
46
+ var import_float = require("@wix/sdk-runtime/transformations/float");
47
+ var import_float2 = require("@wix/sdk-runtime/transformations/float");
48
+ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
49
+ var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
50
+ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
51
+ var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
52
+ function resolveWixCommentsNgV1CommentsNgUrl(opts) {
53
+ const domainToMappings = {
54
+ "www.wixapis.com": [
55
+ {
56
+ srcPath: "/comments/v1/comments",
57
+ destPath: "/v1/comments"
58
+ },
59
+ {
60
+ srcPath: "/comments/v1/bulk/comments",
61
+ destPath: "/v1/bulk/comments"
62
+ }
63
+ ],
64
+ _: [
65
+ {
66
+ srcPath: "/_api/comments-ng/v1",
67
+ destPath: "/v1"
68
+ }
69
+ ],
70
+ "manage._base_domain_": [
71
+ {
72
+ srcPath: "/_api/comments-ng/v1",
73
+ destPath: "/v1"
74
+ }
75
+ ],
76
+ "www._base_domain_": [
77
+ {
78
+ srcPath: "/_api/comments-ng/v1",
79
+ destPath: "/v1"
80
+ }
81
+ ],
82
+ "*.dev.wix-code.com": [
83
+ {
84
+ srcPath: "/_api/comments-ng",
85
+ destPath: ""
86
+ }
87
+ ]
88
+ };
89
+ return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
90
+ }
91
+ var PACKAGE_NAME = "@wix/auto_sdk_comments_comments";
92
+ function createComment(payload) {
93
+ function __createComment({ host }) {
94
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
95
+ {
96
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
97
+ paths: [
98
+ { path: "comment.createdDate" },
99
+ { path: "comment.updatedDate" },
100
+ { path: "comment.commentDate" },
101
+ { path: "comment.content.commentDate" },
102
+ { path: "comment.content.richContent.metadata.createdTimestamp" },
103
+ { path: "comment.content.richContent.metadata.updatedTimestamp" },
104
+ { path: "comment.content.attachments.image.urlExpirationDate" },
105
+ { path: "comment.content.attachments.video.urlExpirationDate" },
106
+ {
107
+ path: "comment.content.attachments.video.posters.urlExpirationDate"
108
+ },
109
+ { path: "comment.content.attachments.audio.urlExpirationDate" },
110
+ { path: "comment.content.attachments.document.urlExpirationDate" },
111
+ { path: "comment.draftContent.commentDate" },
112
+ {
113
+ path: "comment.draftContent.richContent.metadata.createdTimestamp"
114
+ },
115
+ {
116
+ path: "comment.draftContent.richContent.metadata.updatedTimestamp"
117
+ },
118
+ { path: "comment.draftContent.attachments.image.urlExpirationDate" },
119
+ { path: "comment.draftContent.attachments.video.urlExpirationDate" },
120
+ {
121
+ path: "comment.draftContent.attachments.video.posters.urlExpirationDate"
122
+ },
123
+ { path: "comment.draftContent.attachments.audio.urlExpirationDate" },
124
+ {
125
+ path: "comment.draftContent.attachments.document.urlExpirationDate"
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ transformFn: import_float.transformSDKFloatToRESTFloat,
131
+ paths: [
132
+ {
133
+ path: "comment.content.richContent.nodes.galleryData.items.image.media.duration"
134
+ },
135
+ {
136
+ path: "comment.content.richContent.nodes.galleryData.items.video.media.duration"
137
+ },
138
+ {
139
+ path: "comment.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
140
+ },
141
+ {
142
+ path: "comment.content.richContent.nodes.galleryData.options.item.ratio"
143
+ },
144
+ {
145
+ path: "comment.content.richContent.nodes.imageData.image.duration"
146
+ },
147
+ { path: "comment.content.richContent.nodes.mapData.mapSettings.lat" },
148
+ { path: "comment.content.richContent.nodes.mapData.mapSettings.lng" },
149
+ {
150
+ path: "comment.content.richContent.nodes.pollData.poll.image.duration"
151
+ },
152
+ {
153
+ path: "comment.content.richContent.nodes.pollData.poll.options.image.duration"
154
+ },
155
+ {
156
+ path: "comment.content.richContent.nodes.pollData.design.poll.background.image.duration"
157
+ },
158
+ {
159
+ path: "comment.content.richContent.nodes.appEmbedData.image.duration"
160
+ },
161
+ {
162
+ path: "comment.content.richContent.nodes.videoData.video.duration"
163
+ },
164
+ {
165
+ path: "comment.content.richContent.nodes.videoData.thumbnail.duration"
166
+ },
167
+ {
168
+ path: "comment.content.richContent.nodes.audioData.audio.duration"
169
+ },
170
+ {
171
+ path: "comment.content.richContent.nodes.audioData.coverImage.duration"
172
+ },
173
+ {
174
+ path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
175
+ },
176
+ {
177
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.media.duration"
178
+ },
179
+ {
180
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
181
+ },
182
+ {
183
+ path: "comment.draftContent.richContent.nodes.galleryData.options.item.ratio"
184
+ },
185
+ {
186
+ path: "comment.draftContent.richContent.nodes.imageData.image.duration"
187
+ },
188
+ {
189
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lat"
190
+ },
191
+ {
192
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lng"
193
+ },
194
+ {
195
+ path: "comment.draftContent.richContent.nodes.pollData.poll.image.duration"
196
+ },
197
+ {
198
+ path: "comment.draftContent.richContent.nodes.pollData.poll.options.image.duration"
199
+ },
200
+ {
201
+ path: "comment.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
202
+ },
203
+ {
204
+ path: "comment.draftContent.richContent.nodes.appEmbedData.image.duration"
205
+ },
206
+ {
207
+ path: "comment.draftContent.richContent.nodes.videoData.video.duration"
208
+ },
209
+ {
210
+ path: "comment.draftContent.richContent.nodes.videoData.thumbnail.duration"
211
+ },
212
+ {
213
+ path: "comment.draftContent.richContent.nodes.audioData.audio.duration"
214
+ },
215
+ {
216
+ path: "comment.draftContent.richContent.nodes.audioData.coverImage.duration"
217
+ }
218
+ ]
219
+ }
220
+ ]);
221
+ const metadata = {
222
+ entityFqdn: "wix.comments.v2.comment",
223
+ method: "POST",
224
+ methodFqn: "wix.comments.ng.v1.CommentsNg.CreateComment",
225
+ packageName: PACKAGE_NAME,
226
+ url: resolveWixCommentsNgV1CommentsNgUrl({
227
+ protoPath: "/v1/comments",
228
+ data: serializedData,
229
+ host
230
+ }),
231
+ data: serializedData,
232
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
233
+ {
234
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
235
+ paths: [
236
+ { path: "comment.createdDate" },
237
+ { path: "comment.updatedDate" },
238
+ { path: "comment.commentDate" },
239
+ { path: "comment.content.commentDate" },
240
+ { path: "comment.content.richContent.metadata.createdTimestamp" },
241
+ { path: "comment.content.richContent.metadata.updatedTimestamp" },
242
+ { path: "comment.content.attachments.image.urlExpirationDate" },
243
+ { path: "comment.content.attachments.video.urlExpirationDate" },
244
+ {
245
+ path: "comment.content.attachments.video.posters.urlExpirationDate"
246
+ },
247
+ { path: "comment.content.attachments.audio.urlExpirationDate" },
248
+ {
249
+ path: "comment.content.attachments.document.urlExpirationDate"
250
+ },
251
+ { path: "comment.draftContent.commentDate" },
252
+ {
253
+ path: "comment.draftContent.richContent.metadata.createdTimestamp"
254
+ },
255
+ {
256
+ path: "comment.draftContent.richContent.metadata.updatedTimestamp"
257
+ },
258
+ {
259
+ path: "comment.draftContent.attachments.image.urlExpirationDate"
260
+ },
261
+ {
262
+ path: "comment.draftContent.attachments.video.urlExpirationDate"
263
+ },
264
+ {
265
+ path: "comment.draftContent.attachments.video.posters.urlExpirationDate"
266
+ },
267
+ {
268
+ path: "comment.draftContent.attachments.audio.urlExpirationDate"
269
+ },
270
+ {
271
+ path: "comment.draftContent.attachments.document.urlExpirationDate"
272
+ }
273
+ ]
274
+ },
275
+ {
276
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
277
+ paths: [
278
+ {
279
+ path: "comment.content.richContent.nodes.galleryData.items.image.media.duration"
280
+ },
281
+ {
282
+ path: "comment.content.richContent.nodes.galleryData.items.video.media.duration"
283
+ },
284
+ {
285
+ path: "comment.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
286
+ },
287
+ {
288
+ path: "comment.content.richContent.nodes.galleryData.options.item.ratio"
289
+ },
290
+ {
291
+ path: "comment.content.richContent.nodes.imageData.image.duration"
292
+ },
293
+ {
294
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lat"
295
+ },
296
+ {
297
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lng"
298
+ },
299
+ {
300
+ path: "comment.content.richContent.nodes.pollData.poll.image.duration"
301
+ },
302
+ {
303
+ path: "comment.content.richContent.nodes.pollData.poll.options.image.duration"
304
+ },
305
+ {
306
+ path: "comment.content.richContent.nodes.pollData.design.poll.background.image.duration"
307
+ },
308
+ {
309
+ path: "comment.content.richContent.nodes.appEmbedData.image.duration"
310
+ },
311
+ {
312
+ path: "comment.content.richContent.nodes.videoData.video.duration"
313
+ },
314
+ {
315
+ path: "comment.content.richContent.nodes.videoData.thumbnail.duration"
316
+ },
317
+ {
318
+ path: "comment.content.richContent.nodes.audioData.audio.duration"
319
+ },
320
+ {
321
+ path: "comment.content.richContent.nodes.audioData.coverImage.duration"
322
+ },
323
+ {
324
+ path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
325
+ },
326
+ {
327
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.media.duration"
328
+ },
329
+ {
330
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
331
+ },
332
+ {
333
+ path: "comment.draftContent.richContent.nodes.galleryData.options.item.ratio"
334
+ },
335
+ {
336
+ path: "comment.draftContent.richContent.nodes.imageData.image.duration"
337
+ },
338
+ {
339
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lat"
340
+ },
341
+ {
342
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lng"
343
+ },
344
+ {
345
+ path: "comment.draftContent.richContent.nodes.pollData.poll.image.duration"
346
+ },
347
+ {
348
+ path: "comment.draftContent.richContent.nodes.pollData.poll.options.image.duration"
349
+ },
350
+ {
351
+ path: "comment.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
352
+ },
353
+ {
354
+ path: "comment.draftContent.richContent.nodes.appEmbedData.image.duration"
355
+ },
356
+ {
357
+ path: "comment.draftContent.richContent.nodes.videoData.video.duration"
358
+ },
359
+ {
360
+ path: "comment.draftContent.richContent.nodes.videoData.thumbnail.duration"
361
+ },
362
+ {
363
+ path: "comment.draftContent.richContent.nodes.audioData.audio.duration"
364
+ },
365
+ {
366
+ path: "comment.draftContent.richContent.nodes.audioData.coverImage.duration"
367
+ }
368
+ ]
369
+ }
370
+ ])
371
+ };
372
+ return metadata;
373
+ }
374
+ return __createComment;
375
+ }
376
+ function getComment(payload) {
377
+ function __getComment({ host }) {
378
+ const metadata = {
379
+ entityFqdn: "wix.comments.v2.comment",
380
+ method: "GET",
381
+ methodFqn: "wix.comments.ng.v1.CommentsNg.GetComment",
382
+ packageName: PACKAGE_NAME,
383
+ url: resolveWixCommentsNgV1CommentsNgUrl({
384
+ protoPath: "/v1/comments/{commentId}",
385
+ data: payload,
386
+ host
387
+ }),
388
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
389
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
390
+ {
391
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
392
+ paths: [
393
+ { path: "comment.createdDate" },
394
+ { path: "comment.updatedDate" },
395
+ { path: "comment.commentDate" },
396
+ { path: "comment.content.commentDate" },
397
+ { path: "comment.content.richContent.metadata.createdTimestamp" },
398
+ { path: "comment.content.richContent.metadata.updatedTimestamp" },
399
+ { path: "comment.content.attachments.image.urlExpirationDate" },
400
+ { path: "comment.content.attachments.video.urlExpirationDate" },
401
+ {
402
+ path: "comment.content.attachments.video.posters.urlExpirationDate"
403
+ },
404
+ { path: "comment.content.attachments.audio.urlExpirationDate" },
405
+ {
406
+ path: "comment.content.attachments.document.urlExpirationDate"
407
+ },
408
+ { path: "comment.draftContent.commentDate" },
409
+ {
410
+ path: "comment.draftContent.richContent.metadata.createdTimestamp"
411
+ },
412
+ {
413
+ path: "comment.draftContent.richContent.metadata.updatedTimestamp"
414
+ },
415
+ {
416
+ path: "comment.draftContent.attachments.image.urlExpirationDate"
417
+ },
418
+ {
419
+ path: "comment.draftContent.attachments.video.urlExpirationDate"
420
+ },
421
+ {
422
+ path: "comment.draftContent.attachments.video.posters.urlExpirationDate"
423
+ },
424
+ {
425
+ path: "comment.draftContent.attachments.audio.urlExpirationDate"
426
+ },
427
+ {
428
+ path: "comment.draftContent.attachments.document.urlExpirationDate"
429
+ }
430
+ ]
431
+ },
432
+ {
433
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
434
+ paths: [
435
+ {
436
+ path: "comment.content.richContent.nodes.galleryData.items.image.media.duration"
437
+ },
438
+ {
439
+ path: "comment.content.richContent.nodes.galleryData.items.video.media.duration"
440
+ },
441
+ {
442
+ path: "comment.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
443
+ },
444
+ {
445
+ path: "comment.content.richContent.nodes.galleryData.options.item.ratio"
446
+ },
447
+ {
448
+ path: "comment.content.richContent.nodes.imageData.image.duration"
449
+ },
450
+ {
451
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lat"
452
+ },
453
+ {
454
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lng"
455
+ },
456
+ {
457
+ path: "comment.content.richContent.nodes.pollData.poll.image.duration"
458
+ },
459
+ {
460
+ path: "comment.content.richContent.nodes.pollData.poll.options.image.duration"
461
+ },
462
+ {
463
+ path: "comment.content.richContent.nodes.pollData.design.poll.background.image.duration"
464
+ },
465
+ {
466
+ path: "comment.content.richContent.nodes.appEmbedData.image.duration"
467
+ },
468
+ {
469
+ path: "comment.content.richContent.nodes.videoData.video.duration"
470
+ },
471
+ {
472
+ path: "comment.content.richContent.nodes.videoData.thumbnail.duration"
473
+ },
474
+ {
475
+ path: "comment.content.richContent.nodes.audioData.audio.duration"
476
+ },
477
+ {
478
+ path: "comment.content.richContent.nodes.audioData.coverImage.duration"
479
+ },
480
+ {
481
+ path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
482
+ },
483
+ {
484
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.media.duration"
485
+ },
486
+ {
487
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
488
+ },
489
+ {
490
+ path: "comment.draftContent.richContent.nodes.galleryData.options.item.ratio"
491
+ },
492
+ {
493
+ path: "comment.draftContent.richContent.nodes.imageData.image.duration"
494
+ },
495
+ {
496
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lat"
497
+ },
498
+ {
499
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lng"
500
+ },
501
+ {
502
+ path: "comment.draftContent.richContent.nodes.pollData.poll.image.duration"
503
+ },
504
+ {
505
+ path: "comment.draftContent.richContent.nodes.pollData.poll.options.image.duration"
506
+ },
507
+ {
508
+ path: "comment.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
509
+ },
510
+ {
511
+ path: "comment.draftContent.richContent.nodes.appEmbedData.image.duration"
512
+ },
513
+ {
514
+ path: "comment.draftContent.richContent.nodes.videoData.video.duration"
515
+ },
516
+ {
517
+ path: "comment.draftContent.richContent.nodes.videoData.thumbnail.duration"
518
+ },
519
+ {
520
+ path: "comment.draftContent.richContent.nodes.audioData.audio.duration"
521
+ },
522
+ {
523
+ path: "comment.draftContent.richContent.nodes.audioData.coverImage.duration"
524
+ }
525
+ ]
526
+ }
527
+ ])
528
+ };
529
+ return metadata;
530
+ }
531
+ return __getComment;
532
+ }
533
+ function updateComment(payload) {
534
+ function __updateComment({ host }) {
535
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
536
+ {
537
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
538
+ paths: [
539
+ { path: "comment.createdDate" },
540
+ { path: "comment.updatedDate" },
541
+ { path: "comment.commentDate" },
542
+ { path: "comment.content.commentDate" },
543
+ { path: "comment.content.richContent.metadata.createdTimestamp" },
544
+ { path: "comment.content.richContent.metadata.updatedTimestamp" },
545
+ { path: "comment.content.attachments.image.urlExpirationDate" },
546
+ { path: "comment.content.attachments.video.urlExpirationDate" },
547
+ {
548
+ path: "comment.content.attachments.video.posters.urlExpirationDate"
549
+ },
550
+ { path: "comment.content.attachments.audio.urlExpirationDate" },
551
+ { path: "comment.content.attachments.document.urlExpirationDate" },
552
+ { path: "comment.draftContent.commentDate" },
553
+ {
554
+ path: "comment.draftContent.richContent.metadata.createdTimestamp"
555
+ },
556
+ {
557
+ path: "comment.draftContent.richContent.metadata.updatedTimestamp"
558
+ },
559
+ { path: "comment.draftContent.attachments.image.urlExpirationDate" },
560
+ { path: "comment.draftContent.attachments.video.urlExpirationDate" },
561
+ {
562
+ path: "comment.draftContent.attachments.video.posters.urlExpirationDate"
563
+ },
564
+ { path: "comment.draftContent.attachments.audio.urlExpirationDate" },
565
+ {
566
+ path: "comment.draftContent.attachments.document.urlExpirationDate"
567
+ }
568
+ ]
569
+ },
570
+ {
571
+ transformFn: import_float.transformSDKFloatToRESTFloat,
572
+ paths: [
573
+ {
574
+ path: "comment.content.richContent.nodes.galleryData.items.image.media.duration"
575
+ },
576
+ {
577
+ path: "comment.content.richContent.nodes.galleryData.items.video.media.duration"
578
+ },
579
+ {
580
+ path: "comment.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
581
+ },
582
+ {
583
+ path: "comment.content.richContent.nodes.galleryData.options.item.ratio"
584
+ },
585
+ {
586
+ path: "comment.content.richContent.nodes.imageData.image.duration"
587
+ },
588
+ { path: "comment.content.richContent.nodes.mapData.mapSettings.lat" },
589
+ { path: "comment.content.richContent.nodes.mapData.mapSettings.lng" },
590
+ {
591
+ path: "comment.content.richContent.nodes.pollData.poll.image.duration"
592
+ },
593
+ {
594
+ path: "comment.content.richContent.nodes.pollData.poll.options.image.duration"
595
+ },
596
+ {
597
+ path: "comment.content.richContent.nodes.pollData.design.poll.background.image.duration"
598
+ },
599
+ {
600
+ path: "comment.content.richContent.nodes.appEmbedData.image.duration"
601
+ },
602
+ {
603
+ path: "comment.content.richContent.nodes.videoData.video.duration"
604
+ },
605
+ {
606
+ path: "comment.content.richContent.nodes.videoData.thumbnail.duration"
607
+ },
608
+ {
609
+ path: "comment.content.richContent.nodes.audioData.audio.duration"
610
+ },
611
+ {
612
+ path: "comment.content.richContent.nodes.audioData.coverImage.duration"
613
+ },
614
+ {
615
+ path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
616
+ },
617
+ {
618
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.media.duration"
619
+ },
620
+ {
621
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
622
+ },
623
+ {
624
+ path: "comment.draftContent.richContent.nodes.galleryData.options.item.ratio"
625
+ },
626
+ {
627
+ path: "comment.draftContent.richContent.nodes.imageData.image.duration"
628
+ },
629
+ {
630
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lat"
631
+ },
632
+ {
633
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lng"
634
+ },
635
+ {
636
+ path: "comment.draftContent.richContent.nodes.pollData.poll.image.duration"
637
+ },
638
+ {
639
+ path: "comment.draftContent.richContent.nodes.pollData.poll.options.image.duration"
640
+ },
641
+ {
642
+ path: "comment.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
643
+ },
644
+ {
645
+ path: "comment.draftContent.richContent.nodes.appEmbedData.image.duration"
646
+ },
647
+ {
648
+ path: "comment.draftContent.richContent.nodes.videoData.video.duration"
649
+ },
650
+ {
651
+ path: "comment.draftContent.richContent.nodes.videoData.thumbnail.duration"
652
+ },
653
+ {
654
+ path: "comment.draftContent.richContent.nodes.audioData.audio.duration"
655
+ },
656
+ {
657
+ path: "comment.draftContent.richContent.nodes.audioData.coverImage.duration"
658
+ }
659
+ ]
660
+ }
661
+ ]);
662
+ const metadata = {
663
+ entityFqdn: "wix.comments.v2.comment",
664
+ method: "PATCH",
665
+ methodFqn: "wix.comments.ng.v1.CommentsNg.UpdateComment",
666
+ packageName: PACKAGE_NAME,
667
+ url: resolveWixCommentsNgV1CommentsNgUrl({
668
+ protoPath: "/v1/comments/{comment.id}",
669
+ data: serializedData,
670
+ host
671
+ }),
672
+ data: serializedData,
673
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
674
+ {
675
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
676
+ paths: [
677
+ { path: "comment.createdDate" },
678
+ { path: "comment.updatedDate" },
679
+ { path: "comment.commentDate" },
680
+ { path: "comment.content.commentDate" },
681
+ { path: "comment.content.richContent.metadata.createdTimestamp" },
682
+ { path: "comment.content.richContent.metadata.updatedTimestamp" },
683
+ { path: "comment.content.attachments.image.urlExpirationDate" },
684
+ { path: "comment.content.attachments.video.urlExpirationDate" },
685
+ {
686
+ path: "comment.content.attachments.video.posters.urlExpirationDate"
687
+ },
688
+ { path: "comment.content.attachments.audio.urlExpirationDate" },
689
+ {
690
+ path: "comment.content.attachments.document.urlExpirationDate"
691
+ },
692
+ { path: "comment.draftContent.commentDate" },
693
+ {
694
+ path: "comment.draftContent.richContent.metadata.createdTimestamp"
695
+ },
696
+ {
697
+ path: "comment.draftContent.richContent.metadata.updatedTimestamp"
698
+ },
699
+ {
700
+ path: "comment.draftContent.attachments.image.urlExpirationDate"
701
+ },
702
+ {
703
+ path: "comment.draftContent.attachments.video.urlExpirationDate"
704
+ },
705
+ {
706
+ path: "comment.draftContent.attachments.video.posters.urlExpirationDate"
707
+ },
708
+ {
709
+ path: "comment.draftContent.attachments.audio.urlExpirationDate"
710
+ },
711
+ {
712
+ path: "comment.draftContent.attachments.document.urlExpirationDate"
713
+ }
714
+ ]
715
+ },
716
+ {
717
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
718
+ paths: [
719
+ {
720
+ path: "comment.content.richContent.nodes.galleryData.items.image.media.duration"
721
+ },
722
+ {
723
+ path: "comment.content.richContent.nodes.galleryData.items.video.media.duration"
724
+ },
725
+ {
726
+ path: "comment.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
727
+ },
728
+ {
729
+ path: "comment.content.richContent.nodes.galleryData.options.item.ratio"
730
+ },
731
+ {
732
+ path: "comment.content.richContent.nodes.imageData.image.duration"
733
+ },
734
+ {
735
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lat"
736
+ },
737
+ {
738
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lng"
739
+ },
740
+ {
741
+ path: "comment.content.richContent.nodes.pollData.poll.image.duration"
742
+ },
743
+ {
744
+ path: "comment.content.richContent.nodes.pollData.poll.options.image.duration"
745
+ },
746
+ {
747
+ path: "comment.content.richContent.nodes.pollData.design.poll.background.image.duration"
748
+ },
749
+ {
750
+ path: "comment.content.richContent.nodes.appEmbedData.image.duration"
751
+ },
752
+ {
753
+ path: "comment.content.richContent.nodes.videoData.video.duration"
754
+ },
755
+ {
756
+ path: "comment.content.richContent.nodes.videoData.thumbnail.duration"
757
+ },
758
+ {
759
+ path: "comment.content.richContent.nodes.audioData.audio.duration"
760
+ },
761
+ {
762
+ path: "comment.content.richContent.nodes.audioData.coverImage.duration"
763
+ },
764
+ {
765
+ path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
766
+ },
767
+ {
768
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.media.duration"
769
+ },
770
+ {
771
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
772
+ },
773
+ {
774
+ path: "comment.draftContent.richContent.nodes.galleryData.options.item.ratio"
775
+ },
776
+ {
777
+ path: "comment.draftContent.richContent.nodes.imageData.image.duration"
778
+ },
779
+ {
780
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lat"
781
+ },
782
+ {
783
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lng"
784
+ },
785
+ {
786
+ path: "comment.draftContent.richContent.nodes.pollData.poll.image.duration"
787
+ },
788
+ {
789
+ path: "comment.draftContent.richContent.nodes.pollData.poll.options.image.duration"
790
+ },
791
+ {
792
+ path: "comment.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
793
+ },
794
+ {
795
+ path: "comment.draftContent.richContent.nodes.appEmbedData.image.duration"
796
+ },
797
+ {
798
+ path: "comment.draftContent.richContent.nodes.videoData.video.duration"
799
+ },
800
+ {
801
+ path: "comment.draftContent.richContent.nodes.videoData.thumbnail.duration"
802
+ },
803
+ {
804
+ path: "comment.draftContent.richContent.nodes.audioData.audio.duration"
805
+ },
806
+ {
807
+ path: "comment.draftContent.richContent.nodes.audioData.coverImage.duration"
808
+ }
809
+ ]
810
+ }
811
+ ])
812
+ };
813
+ return metadata;
814
+ }
815
+ return __updateComment;
816
+ }
817
+ function deleteComment(payload) {
818
+ function __deleteComment({ host }) {
819
+ const metadata = {
820
+ entityFqdn: "wix.comments.v2.comment",
821
+ method: "DELETE",
822
+ methodFqn: "wix.comments.ng.v1.CommentsNg.DeleteComment",
823
+ packageName: PACKAGE_NAME,
824
+ url: resolveWixCommentsNgV1CommentsNgUrl({
825
+ protoPath: "/v1/comments/{commentId}",
826
+ data: payload,
827
+ host
828
+ }),
829
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
830
+ };
831
+ return metadata;
832
+ }
833
+ return __deleteComment;
834
+ }
835
+ function moderateDraftContent(payload) {
836
+ function __moderateDraftContent({ host }) {
837
+ const metadata = {
838
+ entityFqdn: "wix.comments.v2.comment",
839
+ method: "POST",
840
+ methodFqn: "wix.comments.ng.v1.CommentsNg.ModerateDraftContent",
841
+ packageName: PACKAGE_NAME,
842
+ url: resolveWixCommentsNgV1CommentsNgUrl({
843
+ protoPath: "/v1/comments/{commentId}/moderate",
844
+ data: payload,
845
+ host
846
+ }),
847
+ data: payload,
848
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
849
+ {
850
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
851
+ paths: [
852
+ { path: "comment.createdDate" },
853
+ { path: "comment.updatedDate" },
854
+ { path: "comment.commentDate" },
855
+ { path: "comment.content.commentDate" },
856
+ { path: "comment.content.richContent.metadata.createdTimestamp" },
857
+ { path: "comment.content.richContent.metadata.updatedTimestamp" },
858
+ { path: "comment.content.attachments.image.urlExpirationDate" },
859
+ { path: "comment.content.attachments.video.urlExpirationDate" },
860
+ {
861
+ path: "comment.content.attachments.video.posters.urlExpirationDate"
862
+ },
863
+ { path: "comment.content.attachments.audio.urlExpirationDate" },
864
+ {
865
+ path: "comment.content.attachments.document.urlExpirationDate"
866
+ },
867
+ { path: "comment.draftContent.commentDate" },
868
+ {
869
+ path: "comment.draftContent.richContent.metadata.createdTimestamp"
870
+ },
871
+ {
872
+ path: "comment.draftContent.richContent.metadata.updatedTimestamp"
873
+ },
874
+ {
875
+ path: "comment.draftContent.attachments.image.urlExpirationDate"
876
+ },
877
+ {
878
+ path: "comment.draftContent.attachments.video.urlExpirationDate"
879
+ },
880
+ {
881
+ path: "comment.draftContent.attachments.video.posters.urlExpirationDate"
882
+ },
883
+ {
884
+ path: "comment.draftContent.attachments.audio.urlExpirationDate"
885
+ },
886
+ {
887
+ path: "comment.draftContent.attachments.document.urlExpirationDate"
888
+ }
889
+ ]
890
+ },
891
+ {
892
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
893
+ paths: [
894
+ {
895
+ path: "comment.content.richContent.nodes.galleryData.items.image.media.duration"
896
+ },
897
+ {
898
+ path: "comment.content.richContent.nodes.galleryData.items.video.media.duration"
899
+ },
900
+ {
901
+ path: "comment.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
902
+ },
903
+ {
904
+ path: "comment.content.richContent.nodes.galleryData.options.item.ratio"
905
+ },
906
+ {
907
+ path: "comment.content.richContent.nodes.imageData.image.duration"
908
+ },
909
+ {
910
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lat"
911
+ },
912
+ {
913
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lng"
914
+ },
915
+ {
916
+ path: "comment.content.richContent.nodes.pollData.poll.image.duration"
917
+ },
918
+ {
919
+ path: "comment.content.richContent.nodes.pollData.poll.options.image.duration"
920
+ },
921
+ {
922
+ path: "comment.content.richContent.nodes.pollData.design.poll.background.image.duration"
923
+ },
924
+ {
925
+ path: "comment.content.richContent.nodes.appEmbedData.image.duration"
926
+ },
927
+ {
928
+ path: "comment.content.richContent.nodes.videoData.video.duration"
929
+ },
930
+ {
931
+ path: "comment.content.richContent.nodes.videoData.thumbnail.duration"
932
+ },
933
+ {
934
+ path: "comment.content.richContent.nodes.audioData.audio.duration"
935
+ },
936
+ {
937
+ path: "comment.content.richContent.nodes.audioData.coverImage.duration"
938
+ },
939
+ {
940
+ path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
941
+ },
942
+ {
943
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.media.duration"
944
+ },
945
+ {
946
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
947
+ },
948
+ {
949
+ path: "comment.draftContent.richContent.nodes.galleryData.options.item.ratio"
950
+ },
951
+ {
952
+ path: "comment.draftContent.richContent.nodes.imageData.image.duration"
953
+ },
954
+ {
955
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lat"
956
+ },
957
+ {
958
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lng"
959
+ },
960
+ {
961
+ path: "comment.draftContent.richContent.nodes.pollData.poll.image.duration"
962
+ },
963
+ {
964
+ path: "comment.draftContent.richContent.nodes.pollData.poll.options.image.duration"
965
+ },
966
+ {
967
+ path: "comment.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
968
+ },
969
+ {
970
+ path: "comment.draftContent.richContent.nodes.appEmbedData.image.duration"
971
+ },
972
+ {
973
+ path: "comment.draftContent.richContent.nodes.videoData.video.duration"
974
+ },
975
+ {
976
+ path: "comment.draftContent.richContent.nodes.videoData.thumbnail.duration"
977
+ },
978
+ {
979
+ path: "comment.draftContent.richContent.nodes.audioData.audio.duration"
980
+ },
981
+ {
982
+ path: "comment.draftContent.richContent.nodes.audioData.coverImage.duration"
983
+ }
984
+ ]
985
+ }
986
+ ])
987
+ };
988
+ return metadata;
989
+ }
990
+ return __moderateDraftContent;
991
+ }
992
+ function queryComments(payload) {
993
+ function __queryComments({ host }) {
994
+ const metadata = {
995
+ entityFqdn: "wix.comments.v2.comment",
996
+ method: "POST",
997
+ methodFqn: "wix.comments.ng.v1.CommentsNg.QueryComments",
998
+ packageName: PACKAGE_NAME,
999
+ url: resolveWixCommentsNgV1CommentsNgUrl({
1000
+ protoPath: "/v1/comments/query-cursor",
1001
+ data: payload,
1002
+ host
1003
+ }),
1004
+ data: payload,
1005
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1006
+ {
1007
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1008
+ paths: [
1009
+ { path: "comments.createdDate" },
1010
+ { path: "comments.updatedDate" },
1011
+ { path: "comments.commentDate" },
1012
+ { path: "comments.content.commentDate" },
1013
+ {
1014
+ path: "comments.content.richContent.metadata.createdTimestamp"
1015
+ },
1016
+ {
1017
+ path: "comments.content.richContent.metadata.updatedTimestamp"
1018
+ },
1019
+ { path: "comments.content.attachments.image.urlExpirationDate" },
1020
+ { path: "comments.content.attachments.video.urlExpirationDate" },
1021
+ {
1022
+ path: "comments.content.attachments.video.posters.urlExpirationDate"
1023
+ },
1024
+ { path: "comments.content.attachments.audio.urlExpirationDate" },
1025
+ {
1026
+ path: "comments.content.attachments.document.urlExpirationDate"
1027
+ },
1028
+ { path: "comments.draftContent.commentDate" },
1029
+ {
1030
+ path: "comments.draftContent.richContent.metadata.createdTimestamp"
1031
+ },
1032
+ {
1033
+ path: "comments.draftContent.richContent.metadata.updatedTimestamp"
1034
+ },
1035
+ {
1036
+ path: "comments.draftContent.attachments.image.urlExpirationDate"
1037
+ },
1038
+ {
1039
+ path: "comments.draftContent.attachments.video.urlExpirationDate"
1040
+ },
1041
+ {
1042
+ path: "comments.draftContent.attachments.video.posters.urlExpirationDate"
1043
+ },
1044
+ {
1045
+ path: "comments.draftContent.attachments.audio.urlExpirationDate"
1046
+ },
1047
+ {
1048
+ path: "comments.draftContent.attachments.document.urlExpirationDate"
1049
+ }
1050
+ ]
1051
+ },
1052
+ {
1053
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1054
+ paths: [
1055
+ {
1056
+ path: "comments.content.richContent.nodes.galleryData.items.image.media.duration"
1057
+ },
1058
+ {
1059
+ path: "comments.content.richContent.nodes.galleryData.items.video.media.duration"
1060
+ },
1061
+ {
1062
+ path: "comments.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
1063
+ },
1064
+ {
1065
+ path: "comments.content.richContent.nodes.galleryData.options.item.ratio"
1066
+ },
1067
+ {
1068
+ path: "comments.content.richContent.nodes.imageData.image.duration"
1069
+ },
1070
+ {
1071
+ path: "comments.content.richContent.nodes.mapData.mapSettings.lat"
1072
+ },
1073
+ {
1074
+ path: "comments.content.richContent.nodes.mapData.mapSettings.lng"
1075
+ },
1076
+ {
1077
+ path: "comments.content.richContent.nodes.pollData.poll.image.duration"
1078
+ },
1079
+ {
1080
+ path: "comments.content.richContent.nodes.pollData.poll.options.image.duration"
1081
+ },
1082
+ {
1083
+ path: "comments.content.richContent.nodes.pollData.design.poll.background.image.duration"
1084
+ },
1085
+ {
1086
+ path: "comments.content.richContent.nodes.appEmbedData.image.duration"
1087
+ },
1088
+ {
1089
+ path: "comments.content.richContent.nodes.videoData.video.duration"
1090
+ },
1091
+ {
1092
+ path: "comments.content.richContent.nodes.videoData.thumbnail.duration"
1093
+ },
1094
+ {
1095
+ path: "comments.content.richContent.nodes.audioData.audio.duration"
1096
+ },
1097
+ {
1098
+ path: "comments.content.richContent.nodes.audioData.coverImage.duration"
1099
+ },
1100
+ {
1101
+ path: "comments.draftContent.richContent.nodes.galleryData.items.image.media.duration"
1102
+ },
1103
+ {
1104
+ path: "comments.draftContent.richContent.nodes.galleryData.items.video.media.duration"
1105
+ },
1106
+ {
1107
+ path: "comments.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
1108
+ },
1109
+ {
1110
+ path: "comments.draftContent.richContent.nodes.galleryData.options.item.ratio"
1111
+ },
1112
+ {
1113
+ path: "comments.draftContent.richContent.nodes.imageData.image.duration"
1114
+ },
1115
+ {
1116
+ path: "comments.draftContent.richContent.nodes.mapData.mapSettings.lat"
1117
+ },
1118
+ {
1119
+ path: "comments.draftContent.richContent.nodes.mapData.mapSettings.lng"
1120
+ },
1121
+ {
1122
+ path: "comments.draftContent.richContent.nodes.pollData.poll.image.duration"
1123
+ },
1124
+ {
1125
+ path: "comments.draftContent.richContent.nodes.pollData.poll.options.image.duration"
1126
+ },
1127
+ {
1128
+ path: "comments.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
1129
+ },
1130
+ {
1131
+ path: "comments.draftContent.richContent.nodes.appEmbedData.image.duration"
1132
+ },
1133
+ {
1134
+ path: "comments.draftContent.richContent.nodes.videoData.video.duration"
1135
+ },
1136
+ {
1137
+ path: "comments.draftContent.richContent.nodes.videoData.thumbnail.duration"
1138
+ },
1139
+ {
1140
+ path: "comments.draftContent.richContent.nodes.audioData.audio.duration"
1141
+ },
1142
+ {
1143
+ path: "comments.draftContent.richContent.nodes.audioData.coverImage.duration"
1144
+ }
1145
+ ]
1146
+ }
1147
+ ])
1148
+ };
1149
+ return metadata;
1150
+ }
1151
+ return __queryComments;
1152
+ }
1153
+ function markComment(payload) {
1154
+ function __markComment({ host }) {
1155
+ const metadata = {
1156
+ entityFqdn: "wix.comments.v2.comment",
1157
+ method: "PUT",
1158
+ methodFqn: "wix.comments.ng.v1.CommentsNg.MarkComment",
1159
+ packageName: PACKAGE_NAME,
1160
+ url: resolveWixCommentsNgV1CommentsNgUrl({
1161
+ protoPath: "/v1/comments/{commentId}/mark",
1162
+ data: payload,
1163
+ host
1164
+ }),
1165
+ data: payload,
1166
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1167
+ {
1168
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1169
+ paths: [
1170
+ { path: "comment.createdDate" },
1171
+ { path: "comment.updatedDate" },
1172
+ { path: "comment.commentDate" },
1173
+ { path: "comment.content.commentDate" },
1174
+ { path: "comment.content.richContent.metadata.createdTimestamp" },
1175
+ { path: "comment.content.richContent.metadata.updatedTimestamp" },
1176
+ { path: "comment.content.attachments.image.urlExpirationDate" },
1177
+ { path: "comment.content.attachments.video.urlExpirationDate" },
1178
+ {
1179
+ path: "comment.content.attachments.video.posters.urlExpirationDate"
1180
+ },
1181
+ { path: "comment.content.attachments.audio.urlExpirationDate" },
1182
+ {
1183
+ path: "comment.content.attachments.document.urlExpirationDate"
1184
+ },
1185
+ { path: "comment.draftContent.commentDate" },
1186
+ {
1187
+ path: "comment.draftContent.richContent.metadata.createdTimestamp"
1188
+ },
1189
+ {
1190
+ path: "comment.draftContent.richContent.metadata.updatedTimestamp"
1191
+ },
1192
+ {
1193
+ path: "comment.draftContent.attachments.image.urlExpirationDate"
1194
+ },
1195
+ {
1196
+ path: "comment.draftContent.attachments.video.urlExpirationDate"
1197
+ },
1198
+ {
1199
+ path: "comment.draftContent.attachments.video.posters.urlExpirationDate"
1200
+ },
1201
+ {
1202
+ path: "comment.draftContent.attachments.audio.urlExpirationDate"
1203
+ },
1204
+ {
1205
+ path: "comment.draftContent.attachments.document.urlExpirationDate"
1206
+ }
1207
+ ]
1208
+ },
1209
+ {
1210
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1211
+ paths: [
1212
+ {
1213
+ path: "comment.content.richContent.nodes.galleryData.items.image.media.duration"
1214
+ },
1215
+ {
1216
+ path: "comment.content.richContent.nodes.galleryData.items.video.media.duration"
1217
+ },
1218
+ {
1219
+ path: "comment.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
1220
+ },
1221
+ {
1222
+ path: "comment.content.richContent.nodes.galleryData.options.item.ratio"
1223
+ },
1224
+ {
1225
+ path: "comment.content.richContent.nodes.imageData.image.duration"
1226
+ },
1227
+ {
1228
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lat"
1229
+ },
1230
+ {
1231
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lng"
1232
+ },
1233
+ {
1234
+ path: "comment.content.richContent.nodes.pollData.poll.image.duration"
1235
+ },
1236
+ {
1237
+ path: "comment.content.richContent.nodes.pollData.poll.options.image.duration"
1238
+ },
1239
+ {
1240
+ path: "comment.content.richContent.nodes.pollData.design.poll.background.image.duration"
1241
+ },
1242
+ {
1243
+ path: "comment.content.richContent.nodes.appEmbedData.image.duration"
1244
+ },
1245
+ {
1246
+ path: "comment.content.richContent.nodes.videoData.video.duration"
1247
+ },
1248
+ {
1249
+ path: "comment.content.richContent.nodes.videoData.thumbnail.duration"
1250
+ },
1251
+ {
1252
+ path: "comment.content.richContent.nodes.audioData.audio.duration"
1253
+ },
1254
+ {
1255
+ path: "comment.content.richContent.nodes.audioData.coverImage.duration"
1256
+ },
1257
+ {
1258
+ path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
1259
+ },
1260
+ {
1261
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.media.duration"
1262
+ },
1263
+ {
1264
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
1265
+ },
1266
+ {
1267
+ path: "comment.draftContent.richContent.nodes.galleryData.options.item.ratio"
1268
+ },
1269
+ {
1270
+ path: "comment.draftContent.richContent.nodes.imageData.image.duration"
1271
+ },
1272
+ {
1273
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lat"
1274
+ },
1275
+ {
1276
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lng"
1277
+ },
1278
+ {
1279
+ path: "comment.draftContent.richContent.nodes.pollData.poll.image.duration"
1280
+ },
1281
+ {
1282
+ path: "comment.draftContent.richContent.nodes.pollData.poll.options.image.duration"
1283
+ },
1284
+ {
1285
+ path: "comment.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
1286
+ },
1287
+ {
1288
+ path: "comment.draftContent.richContent.nodes.appEmbedData.image.duration"
1289
+ },
1290
+ {
1291
+ path: "comment.draftContent.richContent.nodes.videoData.video.duration"
1292
+ },
1293
+ {
1294
+ path: "comment.draftContent.richContent.nodes.videoData.thumbnail.duration"
1295
+ },
1296
+ {
1297
+ path: "comment.draftContent.richContent.nodes.audioData.audio.duration"
1298
+ },
1299
+ {
1300
+ path: "comment.draftContent.richContent.nodes.audioData.coverImage.duration"
1301
+ }
1302
+ ]
1303
+ }
1304
+ ])
1305
+ };
1306
+ return metadata;
1307
+ }
1308
+ return __markComment;
1309
+ }
1310
+ function unmarkComment(payload) {
1311
+ function __unmarkComment({ host }) {
1312
+ const metadata = {
1313
+ entityFqdn: "wix.comments.v2.comment",
1314
+ method: "PUT",
1315
+ methodFqn: "wix.comments.ng.v1.CommentsNg.UnmarkComment",
1316
+ packageName: PACKAGE_NAME,
1317
+ url: resolveWixCommentsNgV1CommentsNgUrl({
1318
+ protoPath: "/v1/comments/{commentId}/unmark",
1319
+ data: payload,
1320
+ host
1321
+ }),
1322
+ data: payload,
1323
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1324
+ {
1325
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1326
+ paths: [
1327
+ { path: "comment.createdDate" },
1328
+ { path: "comment.updatedDate" },
1329
+ { path: "comment.commentDate" },
1330
+ { path: "comment.content.commentDate" },
1331
+ { path: "comment.content.richContent.metadata.createdTimestamp" },
1332
+ { path: "comment.content.richContent.metadata.updatedTimestamp" },
1333
+ { path: "comment.content.attachments.image.urlExpirationDate" },
1334
+ { path: "comment.content.attachments.video.urlExpirationDate" },
1335
+ {
1336
+ path: "comment.content.attachments.video.posters.urlExpirationDate"
1337
+ },
1338
+ { path: "comment.content.attachments.audio.urlExpirationDate" },
1339
+ {
1340
+ path: "comment.content.attachments.document.urlExpirationDate"
1341
+ },
1342
+ { path: "comment.draftContent.commentDate" },
1343
+ {
1344
+ path: "comment.draftContent.richContent.metadata.createdTimestamp"
1345
+ },
1346
+ {
1347
+ path: "comment.draftContent.richContent.metadata.updatedTimestamp"
1348
+ },
1349
+ {
1350
+ path: "comment.draftContent.attachments.image.urlExpirationDate"
1351
+ },
1352
+ {
1353
+ path: "comment.draftContent.attachments.video.urlExpirationDate"
1354
+ },
1355
+ {
1356
+ path: "comment.draftContent.attachments.video.posters.urlExpirationDate"
1357
+ },
1358
+ {
1359
+ path: "comment.draftContent.attachments.audio.urlExpirationDate"
1360
+ },
1361
+ {
1362
+ path: "comment.draftContent.attachments.document.urlExpirationDate"
1363
+ }
1364
+ ]
1365
+ },
1366
+ {
1367
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1368
+ paths: [
1369
+ {
1370
+ path: "comment.content.richContent.nodes.galleryData.items.image.media.duration"
1371
+ },
1372
+ {
1373
+ path: "comment.content.richContent.nodes.galleryData.items.video.media.duration"
1374
+ },
1375
+ {
1376
+ path: "comment.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
1377
+ },
1378
+ {
1379
+ path: "comment.content.richContent.nodes.galleryData.options.item.ratio"
1380
+ },
1381
+ {
1382
+ path: "comment.content.richContent.nodes.imageData.image.duration"
1383
+ },
1384
+ {
1385
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lat"
1386
+ },
1387
+ {
1388
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lng"
1389
+ },
1390
+ {
1391
+ path: "comment.content.richContent.nodes.pollData.poll.image.duration"
1392
+ },
1393
+ {
1394
+ path: "comment.content.richContent.nodes.pollData.poll.options.image.duration"
1395
+ },
1396
+ {
1397
+ path: "comment.content.richContent.nodes.pollData.design.poll.background.image.duration"
1398
+ },
1399
+ {
1400
+ path: "comment.content.richContent.nodes.appEmbedData.image.duration"
1401
+ },
1402
+ {
1403
+ path: "comment.content.richContent.nodes.videoData.video.duration"
1404
+ },
1405
+ {
1406
+ path: "comment.content.richContent.nodes.videoData.thumbnail.duration"
1407
+ },
1408
+ {
1409
+ path: "comment.content.richContent.nodes.audioData.audio.duration"
1410
+ },
1411
+ {
1412
+ path: "comment.content.richContent.nodes.audioData.coverImage.duration"
1413
+ },
1414
+ {
1415
+ path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
1416
+ },
1417
+ {
1418
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.media.duration"
1419
+ },
1420
+ {
1421
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
1422
+ },
1423
+ {
1424
+ path: "comment.draftContent.richContent.nodes.galleryData.options.item.ratio"
1425
+ },
1426
+ {
1427
+ path: "comment.draftContent.richContent.nodes.imageData.image.duration"
1428
+ },
1429
+ {
1430
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lat"
1431
+ },
1432
+ {
1433
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lng"
1434
+ },
1435
+ {
1436
+ path: "comment.draftContent.richContent.nodes.pollData.poll.image.duration"
1437
+ },
1438
+ {
1439
+ path: "comment.draftContent.richContent.nodes.pollData.poll.options.image.duration"
1440
+ },
1441
+ {
1442
+ path: "comment.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
1443
+ },
1444
+ {
1445
+ path: "comment.draftContent.richContent.nodes.appEmbedData.image.duration"
1446
+ },
1447
+ {
1448
+ path: "comment.draftContent.richContent.nodes.videoData.video.duration"
1449
+ },
1450
+ {
1451
+ path: "comment.draftContent.richContent.nodes.videoData.thumbnail.duration"
1452
+ },
1453
+ {
1454
+ path: "comment.draftContent.richContent.nodes.audioData.audio.duration"
1455
+ },
1456
+ {
1457
+ path: "comment.draftContent.richContent.nodes.audioData.coverImage.duration"
1458
+ }
1459
+ ]
1460
+ }
1461
+ ])
1462
+ };
1463
+ return metadata;
1464
+ }
1465
+ return __unmarkComment;
1466
+ }
1467
+ function hideComment(payload) {
1468
+ function __hideComment({ host }) {
1469
+ const metadata = {
1470
+ entityFqdn: "wix.comments.v2.comment",
1471
+ method: "PUT",
1472
+ methodFqn: "wix.comments.ng.v1.CommentsNg.HideComment",
1473
+ packageName: PACKAGE_NAME,
1474
+ url: resolveWixCommentsNgV1CommentsNgUrl({
1475
+ protoPath: "/v1/comments/{commentId}/hide",
1476
+ data: payload,
1477
+ host
1478
+ }),
1479
+ data: payload,
1480
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1481
+ {
1482
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1483
+ paths: [
1484
+ { path: "comment.createdDate" },
1485
+ { path: "comment.updatedDate" },
1486
+ { path: "comment.commentDate" },
1487
+ { path: "comment.content.commentDate" },
1488
+ { path: "comment.content.richContent.metadata.createdTimestamp" },
1489
+ { path: "comment.content.richContent.metadata.updatedTimestamp" },
1490
+ { path: "comment.content.attachments.image.urlExpirationDate" },
1491
+ { path: "comment.content.attachments.video.urlExpirationDate" },
1492
+ {
1493
+ path: "comment.content.attachments.video.posters.urlExpirationDate"
1494
+ },
1495
+ { path: "comment.content.attachments.audio.urlExpirationDate" },
1496
+ {
1497
+ path: "comment.content.attachments.document.urlExpirationDate"
1498
+ },
1499
+ { path: "comment.draftContent.commentDate" },
1500
+ {
1501
+ path: "comment.draftContent.richContent.metadata.createdTimestamp"
1502
+ },
1503
+ {
1504
+ path: "comment.draftContent.richContent.metadata.updatedTimestamp"
1505
+ },
1506
+ {
1507
+ path: "comment.draftContent.attachments.image.urlExpirationDate"
1508
+ },
1509
+ {
1510
+ path: "comment.draftContent.attachments.video.urlExpirationDate"
1511
+ },
1512
+ {
1513
+ path: "comment.draftContent.attachments.video.posters.urlExpirationDate"
1514
+ },
1515
+ {
1516
+ path: "comment.draftContent.attachments.audio.urlExpirationDate"
1517
+ },
1518
+ {
1519
+ path: "comment.draftContent.attachments.document.urlExpirationDate"
1520
+ }
1521
+ ]
1522
+ },
1523
+ {
1524
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1525
+ paths: [
1526
+ {
1527
+ path: "comment.content.richContent.nodes.galleryData.items.image.media.duration"
1528
+ },
1529
+ {
1530
+ path: "comment.content.richContent.nodes.galleryData.items.video.media.duration"
1531
+ },
1532
+ {
1533
+ path: "comment.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
1534
+ },
1535
+ {
1536
+ path: "comment.content.richContent.nodes.galleryData.options.item.ratio"
1537
+ },
1538
+ {
1539
+ path: "comment.content.richContent.nodes.imageData.image.duration"
1540
+ },
1541
+ {
1542
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lat"
1543
+ },
1544
+ {
1545
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lng"
1546
+ },
1547
+ {
1548
+ path: "comment.content.richContent.nodes.pollData.poll.image.duration"
1549
+ },
1550
+ {
1551
+ path: "comment.content.richContent.nodes.pollData.poll.options.image.duration"
1552
+ },
1553
+ {
1554
+ path: "comment.content.richContent.nodes.pollData.design.poll.background.image.duration"
1555
+ },
1556
+ {
1557
+ path: "comment.content.richContent.nodes.appEmbedData.image.duration"
1558
+ },
1559
+ {
1560
+ path: "comment.content.richContent.nodes.videoData.video.duration"
1561
+ },
1562
+ {
1563
+ path: "comment.content.richContent.nodes.videoData.thumbnail.duration"
1564
+ },
1565
+ {
1566
+ path: "comment.content.richContent.nodes.audioData.audio.duration"
1567
+ },
1568
+ {
1569
+ path: "comment.content.richContent.nodes.audioData.coverImage.duration"
1570
+ },
1571
+ {
1572
+ path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
1573
+ },
1574
+ {
1575
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.media.duration"
1576
+ },
1577
+ {
1578
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
1579
+ },
1580
+ {
1581
+ path: "comment.draftContent.richContent.nodes.galleryData.options.item.ratio"
1582
+ },
1583
+ {
1584
+ path: "comment.draftContent.richContent.nodes.imageData.image.duration"
1585
+ },
1586
+ {
1587
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lat"
1588
+ },
1589
+ {
1590
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lng"
1591
+ },
1592
+ {
1593
+ path: "comment.draftContent.richContent.nodes.pollData.poll.image.duration"
1594
+ },
1595
+ {
1596
+ path: "comment.draftContent.richContent.nodes.pollData.poll.options.image.duration"
1597
+ },
1598
+ {
1599
+ path: "comment.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
1600
+ },
1601
+ {
1602
+ path: "comment.draftContent.richContent.nodes.appEmbedData.image.duration"
1603
+ },
1604
+ {
1605
+ path: "comment.draftContent.richContent.nodes.videoData.video.duration"
1606
+ },
1607
+ {
1608
+ path: "comment.draftContent.richContent.nodes.videoData.thumbnail.duration"
1609
+ },
1610
+ {
1611
+ path: "comment.draftContent.richContent.nodes.audioData.audio.duration"
1612
+ },
1613
+ {
1614
+ path: "comment.draftContent.richContent.nodes.audioData.coverImage.duration"
1615
+ }
1616
+ ]
1617
+ }
1618
+ ])
1619
+ };
1620
+ return metadata;
1621
+ }
1622
+ return __hideComment;
1623
+ }
1624
+ function publishComment(payload) {
1625
+ function __publishComment({ host }) {
1626
+ const metadata = {
1627
+ entityFqdn: "wix.comments.v2.comment",
1628
+ method: "PUT",
1629
+ methodFqn: "wix.comments.ng.v1.CommentsNg.PublishComment",
1630
+ packageName: PACKAGE_NAME,
1631
+ url: resolveWixCommentsNgV1CommentsNgUrl({
1632
+ protoPath: "/v1/comments/{commentId}/publish",
1633
+ data: payload,
1634
+ host
1635
+ }),
1636
+ data: payload,
1637
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1638
+ {
1639
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1640
+ paths: [
1641
+ { path: "comment.createdDate" },
1642
+ { path: "comment.updatedDate" },
1643
+ { path: "comment.commentDate" },
1644
+ { path: "comment.content.commentDate" },
1645
+ { path: "comment.content.richContent.metadata.createdTimestamp" },
1646
+ { path: "comment.content.richContent.metadata.updatedTimestamp" },
1647
+ { path: "comment.content.attachments.image.urlExpirationDate" },
1648
+ { path: "comment.content.attachments.video.urlExpirationDate" },
1649
+ {
1650
+ path: "comment.content.attachments.video.posters.urlExpirationDate"
1651
+ },
1652
+ { path: "comment.content.attachments.audio.urlExpirationDate" },
1653
+ {
1654
+ path: "comment.content.attachments.document.urlExpirationDate"
1655
+ },
1656
+ { path: "comment.draftContent.commentDate" },
1657
+ {
1658
+ path: "comment.draftContent.richContent.metadata.createdTimestamp"
1659
+ },
1660
+ {
1661
+ path: "comment.draftContent.richContent.metadata.updatedTimestamp"
1662
+ },
1663
+ {
1664
+ path: "comment.draftContent.attachments.image.urlExpirationDate"
1665
+ },
1666
+ {
1667
+ path: "comment.draftContent.attachments.video.urlExpirationDate"
1668
+ },
1669
+ {
1670
+ path: "comment.draftContent.attachments.video.posters.urlExpirationDate"
1671
+ },
1672
+ {
1673
+ path: "comment.draftContent.attachments.audio.urlExpirationDate"
1674
+ },
1675
+ {
1676
+ path: "comment.draftContent.attachments.document.urlExpirationDate"
1677
+ }
1678
+ ]
1679
+ },
1680
+ {
1681
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1682
+ paths: [
1683
+ {
1684
+ path: "comment.content.richContent.nodes.galleryData.items.image.media.duration"
1685
+ },
1686
+ {
1687
+ path: "comment.content.richContent.nodes.galleryData.items.video.media.duration"
1688
+ },
1689
+ {
1690
+ path: "comment.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
1691
+ },
1692
+ {
1693
+ path: "comment.content.richContent.nodes.galleryData.options.item.ratio"
1694
+ },
1695
+ {
1696
+ path: "comment.content.richContent.nodes.imageData.image.duration"
1697
+ },
1698
+ {
1699
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lat"
1700
+ },
1701
+ {
1702
+ path: "comment.content.richContent.nodes.mapData.mapSettings.lng"
1703
+ },
1704
+ {
1705
+ path: "comment.content.richContent.nodes.pollData.poll.image.duration"
1706
+ },
1707
+ {
1708
+ path: "comment.content.richContent.nodes.pollData.poll.options.image.duration"
1709
+ },
1710
+ {
1711
+ path: "comment.content.richContent.nodes.pollData.design.poll.background.image.duration"
1712
+ },
1713
+ {
1714
+ path: "comment.content.richContent.nodes.appEmbedData.image.duration"
1715
+ },
1716
+ {
1717
+ path: "comment.content.richContent.nodes.videoData.video.duration"
1718
+ },
1719
+ {
1720
+ path: "comment.content.richContent.nodes.videoData.thumbnail.duration"
1721
+ },
1722
+ {
1723
+ path: "comment.content.richContent.nodes.audioData.audio.duration"
1724
+ },
1725
+ {
1726
+ path: "comment.content.richContent.nodes.audioData.coverImage.duration"
1727
+ },
1728
+ {
1729
+ path: "comment.draftContent.richContent.nodes.galleryData.items.image.media.duration"
1730
+ },
1731
+ {
1732
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.media.duration"
1733
+ },
1734
+ {
1735
+ path: "comment.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
1736
+ },
1737
+ {
1738
+ path: "comment.draftContent.richContent.nodes.galleryData.options.item.ratio"
1739
+ },
1740
+ {
1741
+ path: "comment.draftContent.richContent.nodes.imageData.image.duration"
1742
+ },
1743
+ {
1744
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lat"
1745
+ },
1746
+ {
1747
+ path: "comment.draftContent.richContent.nodes.mapData.mapSettings.lng"
1748
+ },
1749
+ {
1750
+ path: "comment.draftContent.richContent.nodes.pollData.poll.image.duration"
1751
+ },
1752
+ {
1753
+ path: "comment.draftContent.richContent.nodes.pollData.poll.options.image.duration"
1754
+ },
1755
+ {
1756
+ path: "comment.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
1757
+ },
1758
+ {
1759
+ path: "comment.draftContent.richContent.nodes.appEmbedData.image.duration"
1760
+ },
1761
+ {
1762
+ path: "comment.draftContent.richContent.nodes.videoData.video.duration"
1763
+ },
1764
+ {
1765
+ path: "comment.draftContent.richContent.nodes.videoData.thumbnail.duration"
1766
+ },
1767
+ {
1768
+ path: "comment.draftContent.richContent.nodes.audioData.audio.duration"
1769
+ },
1770
+ {
1771
+ path: "comment.draftContent.richContent.nodes.audioData.coverImage.duration"
1772
+ }
1773
+ ]
1774
+ }
1775
+ ])
1776
+ };
1777
+ return metadata;
1778
+ }
1779
+ return __publishComment;
1780
+ }
1781
+ function countComments(payload) {
1782
+ function __countComments({ host }) {
1783
+ const metadata = {
1784
+ entityFqdn: "wix.comments.v2.comment",
1785
+ method: "POST",
1786
+ methodFqn: "wix.comments.ng.v1.CommentsNg.CountComments",
1787
+ packageName: PACKAGE_NAME,
1788
+ url: resolveWixCommentsNgV1CommentsNgUrl({
1789
+ protoPath: "/v1/comments/count",
1790
+ data: payload,
1791
+ host
1792
+ }),
1793
+ data: payload
1794
+ };
1795
+ return metadata;
1796
+ }
1797
+ return __countComments;
1798
+ }
1799
+ function listCommentsByResource(payload) {
1800
+ function __listCommentsByResource({ host }) {
1801
+ const metadata = {
1802
+ entityFqdn: "wix.comments.v2.comment",
1803
+ method: "GET",
1804
+ methodFqn: "wix.comments.ng.v1.CommentsNg.ListCommentsByResource",
1805
+ packageName: PACKAGE_NAME,
1806
+ url: resolveWixCommentsNgV1CommentsNgUrl({
1807
+ protoPath: "/v1/comments/list-by-resource",
1808
+ data: payload,
1809
+ host
1810
+ }),
1811
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
1812
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
1813
+ {
1814
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
1815
+ paths: [
1816
+ { path: "comments.createdDate" },
1817
+ { path: "comments.updatedDate" },
1818
+ { path: "comments.commentDate" },
1819
+ { path: "comments.content.commentDate" },
1820
+ {
1821
+ path: "comments.content.richContent.metadata.createdTimestamp"
1822
+ },
1823
+ {
1824
+ path: "comments.content.richContent.metadata.updatedTimestamp"
1825
+ },
1826
+ { path: "comments.content.attachments.image.urlExpirationDate" },
1827
+ { path: "comments.content.attachments.video.urlExpirationDate" },
1828
+ {
1829
+ path: "comments.content.attachments.video.posters.urlExpirationDate"
1830
+ },
1831
+ { path: "comments.content.attachments.audio.urlExpirationDate" },
1832
+ {
1833
+ path: "comments.content.attachments.document.urlExpirationDate"
1834
+ },
1835
+ { path: "comments.draftContent.commentDate" },
1836
+ {
1837
+ path: "comments.draftContent.richContent.metadata.createdTimestamp"
1838
+ },
1839
+ {
1840
+ path: "comments.draftContent.richContent.metadata.updatedTimestamp"
1841
+ },
1842
+ {
1843
+ path: "comments.draftContent.attachments.image.urlExpirationDate"
1844
+ },
1845
+ {
1846
+ path: "comments.draftContent.attachments.video.urlExpirationDate"
1847
+ },
1848
+ {
1849
+ path: "comments.draftContent.attachments.video.posters.urlExpirationDate"
1850
+ },
1851
+ {
1852
+ path: "comments.draftContent.attachments.audio.urlExpirationDate"
1853
+ },
1854
+ {
1855
+ path: "comments.draftContent.attachments.document.urlExpirationDate"
1856
+ },
1857
+ { path: "commentReplies.*.replies.createdDate" },
1858
+ { path: "commentReplies.*.replies.updatedDate" },
1859
+ { path: "commentReplies.*.replies.commentDate" },
1860
+ { path: "commentReplies.*.replies.content.commentDate" },
1861
+ {
1862
+ path: "commentReplies.*.replies.content.richContent.metadata.createdTimestamp"
1863
+ },
1864
+ {
1865
+ path: "commentReplies.*.replies.content.richContent.metadata.updatedTimestamp"
1866
+ },
1867
+ {
1868
+ path: "commentReplies.*.replies.content.attachments.image.urlExpirationDate"
1869
+ },
1870
+ {
1871
+ path: "commentReplies.*.replies.content.attachments.video.urlExpirationDate"
1872
+ },
1873
+ {
1874
+ path: "commentReplies.*.replies.content.attachments.video.posters.urlExpirationDate"
1875
+ },
1876
+ {
1877
+ path: "commentReplies.*.replies.content.attachments.audio.urlExpirationDate"
1878
+ },
1879
+ {
1880
+ path: "commentReplies.*.replies.content.attachments.document.urlExpirationDate"
1881
+ },
1882
+ { path: "commentReplies.*.replies.draftContent.commentDate" },
1883
+ {
1884
+ path: "commentReplies.*.replies.draftContent.richContent.metadata.createdTimestamp"
1885
+ },
1886
+ {
1887
+ path: "commentReplies.*.replies.draftContent.richContent.metadata.updatedTimestamp"
1888
+ },
1889
+ {
1890
+ path: "commentReplies.*.replies.draftContent.attachments.image.urlExpirationDate"
1891
+ },
1892
+ {
1893
+ path: "commentReplies.*.replies.draftContent.attachments.video.urlExpirationDate"
1894
+ },
1895
+ {
1896
+ path: "commentReplies.*.replies.draftContent.attachments.video.posters.urlExpirationDate"
1897
+ },
1898
+ {
1899
+ path: "commentReplies.*.replies.draftContent.attachments.audio.urlExpirationDate"
1900
+ },
1901
+ {
1902
+ path: "commentReplies.*.replies.draftContent.attachments.document.urlExpirationDate"
1903
+ }
1904
+ ]
1905
+ },
1906
+ {
1907
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
1908
+ paths: [
1909
+ {
1910
+ path: "comments.content.richContent.nodes.galleryData.items.image.media.duration"
1911
+ },
1912
+ {
1913
+ path: "comments.content.richContent.nodes.galleryData.items.video.media.duration"
1914
+ },
1915
+ {
1916
+ path: "comments.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
1917
+ },
1918
+ {
1919
+ path: "comments.content.richContent.nodes.galleryData.options.item.ratio"
1920
+ },
1921
+ {
1922
+ path: "comments.content.richContent.nodes.imageData.image.duration"
1923
+ },
1924
+ {
1925
+ path: "comments.content.richContent.nodes.mapData.mapSettings.lat"
1926
+ },
1927
+ {
1928
+ path: "comments.content.richContent.nodes.mapData.mapSettings.lng"
1929
+ },
1930
+ {
1931
+ path: "comments.content.richContent.nodes.pollData.poll.image.duration"
1932
+ },
1933
+ {
1934
+ path: "comments.content.richContent.nodes.pollData.poll.options.image.duration"
1935
+ },
1936
+ {
1937
+ path: "comments.content.richContent.nodes.pollData.design.poll.background.image.duration"
1938
+ },
1939
+ {
1940
+ path: "comments.content.richContent.nodes.appEmbedData.image.duration"
1941
+ },
1942
+ {
1943
+ path: "comments.content.richContent.nodes.videoData.video.duration"
1944
+ },
1945
+ {
1946
+ path: "comments.content.richContent.nodes.videoData.thumbnail.duration"
1947
+ },
1948
+ {
1949
+ path: "comments.content.richContent.nodes.audioData.audio.duration"
1950
+ },
1951
+ {
1952
+ path: "comments.content.richContent.nodes.audioData.coverImage.duration"
1953
+ },
1954
+ {
1955
+ path: "comments.draftContent.richContent.nodes.galleryData.items.image.media.duration"
1956
+ },
1957
+ {
1958
+ path: "comments.draftContent.richContent.nodes.galleryData.items.video.media.duration"
1959
+ },
1960
+ {
1961
+ path: "comments.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
1962
+ },
1963
+ {
1964
+ path: "comments.draftContent.richContent.nodes.galleryData.options.item.ratio"
1965
+ },
1966
+ {
1967
+ path: "comments.draftContent.richContent.nodes.imageData.image.duration"
1968
+ },
1969
+ {
1970
+ path: "comments.draftContent.richContent.nodes.mapData.mapSettings.lat"
1971
+ },
1972
+ {
1973
+ path: "comments.draftContent.richContent.nodes.mapData.mapSettings.lng"
1974
+ },
1975
+ {
1976
+ path: "comments.draftContent.richContent.nodes.pollData.poll.image.duration"
1977
+ },
1978
+ {
1979
+ path: "comments.draftContent.richContent.nodes.pollData.poll.options.image.duration"
1980
+ },
1981
+ {
1982
+ path: "comments.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
1983
+ },
1984
+ {
1985
+ path: "comments.draftContent.richContent.nodes.appEmbedData.image.duration"
1986
+ },
1987
+ {
1988
+ path: "comments.draftContent.richContent.nodes.videoData.video.duration"
1989
+ },
1990
+ {
1991
+ path: "comments.draftContent.richContent.nodes.videoData.thumbnail.duration"
1992
+ },
1993
+ {
1994
+ path: "comments.draftContent.richContent.nodes.audioData.audio.duration"
1995
+ },
1996
+ {
1997
+ path: "comments.draftContent.richContent.nodes.audioData.coverImage.duration"
1998
+ },
1999
+ {
2000
+ path: "commentReplies.*.replies.content.richContent.nodes.galleryData.items.image.media.duration"
2001
+ },
2002
+ {
2003
+ path: "commentReplies.*.replies.content.richContent.nodes.galleryData.items.video.media.duration"
2004
+ },
2005
+ {
2006
+ path: "commentReplies.*.replies.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
2007
+ },
2008
+ {
2009
+ path: "commentReplies.*.replies.content.richContent.nodes.galleryData.options.item.ratio"
2010
+ },
2011
+ {
2012
+ path: "commentReplies.*.replies.content.richContent.nodes.imageData.image.duration"
2013
+ },
2014
+ {
2015
+ path: "commentReplies.*.replies.content.richContent.nodes.mapData.mapSettings.lat"
2016
+ },
2017
+ {
2018
+ path: "commentReplies.*.replies.content.richContent.nodes.mapData.mapSettings.lng"
2019
+ },
2020
+ {
2021
+ path: "commentReplies.*.replies.content.richContent.nodes.pollData.poll.image.duration"
2022
+ },
2023
+ {
2024
+ path: "commentReplies.*.replies.content.richContent.nodes.pollData.poll.options.image.duration"
2025
+ },
2026
+ {
2027
+ path: "commentReplies.*.replies.content.richContent.nodes.pollData.design.poll.background.image.duration"
2028
+ },
2029
+ {
2030
+ path: "commentReplies.*.replies.content.richContent.nodes.appEmbedData.image.duration"
2031
+ },
2032
+ {
2033
+ path: "commentReplies.*.replies.content.richContent.nodes.videoData.video.duration"
2034
+ },
2035
+ {
2036
+ path: "commentReplies.*.replies.content.richContent.nodes.videoData.thumbnail.duration"
2037
+ },
2038
+ {
2039
+ path: "commentReplies.*.replies.content.richContent.nodes.audioData.audio.duration"
2040
+ },
2041
+ {
2042
+ path: "commentReplies.*.replies.content.richContent.nodes.audioData.coverImage.duration"
2043
+ },
2044
+ {
2045
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.galleryData.items.image.media.duration"
2046
+ },
2047
+ {
2048
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.galleryData.items.video.media.duration"
2049
+ },
2050
+ {
2051
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
2052
+ },
2053
+ {
2054
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.galleryData.options.item.ratio"
2055
+ },
2056
+ {
2057
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.imageData.image.duration"
2058
+ },
2059
+ {
2060
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.mapData.mapSettings.lat"
2061
+ },
2062
+ {
2063
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.mapData.mapSettings.lng"
2064
+ },
2065
+ {
2066
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.pollData.poll.image.duration"
2067
+ },
2068
+ {
2069
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.pollData.poll.options.image.duration"
2070
+ },
2071
+ {
2072
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
2073
+ },
2074
+ {
2075
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.appEmbedData.image.duration"
2076
+ },
2077
+ {
2078
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.videoData.video.duration"
2079
+ },
2080
+ {
2081
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.videoData.thumbnail.duration"
2082
+ },
2083
+ {
2084
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.audioData.audio.duration"
2085
+ },
2086
+ {
2087
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.audioData.coverImage.duration"
2088
+ }
2089
+ ]
2090
+ }
2091
+ ])
2092
+ };
2093
+ return metadata;
2094
+ }
2095
+ return __listCommentsByResource;
2096
+ }
2097
+ function getCommentThread(payload) {
2098
+ function __getCommentThread({ host }) {
2099
+ const metadata = {
2100
+ entityFqdn: "wix.comments.v2.comment",
2101
+ method: "GET",
2102
+ methodFqn: "wix.comments.ng.v1.CommentsNg.GetCommentThread",
2103
+ packageName: PACKAGE_NAME,
2104
+ url: resolveWixCommentsNgV1CommentsNgUrl({
2105
+ protoPath: "/v1/comments/{commentId}/thread",
2106
+ data: payload,
2107
+ host
2108
+ }),
2109
+ params: (0, import_rest_modules.toURLSearchParams)(payload),
2110
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
2111
+ {
2112
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
2113
+ paths: [
2114
+ { path: "comments.createdDate" },
2115
+ { path: "comments.updatedDate" },
2116
+ { path: "comments.commentDate" },
2117
+ { path: "comments.content.commentDate" },
2118
+ {
2119
+ path: "comments.content.richContent.metadata.createdTimestamp"
2120
+ },
2121
+ {
2122
+ path: "comments.content.richContent.metadata.updatedTimestamp"
2123
+ },
2124
+ { path: "comments.content.attachments.image.urlExpirationDate" },
2125
+ { path: "comments.content.attachments.video.urlExpirationDate" },
2126
+ {
2127
+ path: "comments.content.attachments.video.posters.urlExpirationDate"
2128
+ },
2129
+ { path: "comments.content.attachments.audio.urlExpirationDate" },
2130
+ {
2131
+ path: "comments.content.attachments.document.urlExpirationDate"
2132
+ },
2133
+ { path: "comments.draftContent.commentDate" },
2134
+ {
2135
+ path: "comments.draftContent.richContent.metadata.createdTimestamp"
2136
+ },
2137
+ {
2138
+ path: "comments.draftContent.richContent.metadata.updatedTimestamp"
2139
+ },
2140
+ {
2141
+ path: "comments.draftContent.attachments.image.urlExpirationDate"
2142
+ },
2143
+ {
2144
+ path: "comments.draftContent.attachments.video.urlExpirationDate"
2145
+ },
2146
+ {
2147
+ path: "comments.draftContent.attachments.video.posters.urlExpirationDate"
2148
+ },
2149
+ {
2150
+ path: "comments.draftContent.attachments.audio.urlExpirationDate"
2151
+ },
2152
+ {
2153
+ path: "comments.draftContent.attachments.document.urlExpirationDate"
2154
+ },
2155
+ { path: "commentReplies.*.replies.createdDate" },
2156
+ { path: "commentReplies.*.replies.updatedDate" },
2157
+ { path: "commentReplies.*.replies.commentDate" },
2158
+ { path: "commentReplies.*.replies.content.commentDate" },
2159
+ {
2160
+ path: "commentReplies.*.replies.content.richContent.metadata.createdTimestamp"
2161
+ },
2162
+ {
2163
+ path: "commentReplies.*.replies.content.richContent.metadata.updatedTimestamp"
2164
+ },
2165
+ {
2166
+ path: "commentReplies.*.replies.content.attachments.image.urlExpirationDate"
2167
+ },
2168
+ {
2169
+ path: "commentReplies.*.replies.content.attachments.video.urlExpirationDate"
2170
+ },
2171
+ {
2172
+ path: "commentReplies.*.replies.content.attachments.video.posters.urlExpirationDate"
2173
+ },
2174
+ {
2175
+ path: "commentReplies.*.replies.content.attachments.audio.urlExpirationDate"
2176
+ },
2177
+ {
2178
+ path: "commentReplies.*.replies.content.attachments.document.urlExpirationDate"
2179
+ },
2180
+ { path: "commentReplies.*.replies.draftContent.commentDate" },
2181
+ {
2182
+ path: "commentReplies.*.replies.draftContent.richContent.metadata.createdTimestamp"
2183
+ },
2184
+ {
2185
+ path: "commentReplies.*.replies.draftContent.richContent.metadata.updatedTimestamp"
2186
+ },
2187
+ {
2188
+ path: "commentReplies.*.replies.draftContent.attachments.image.urlExpirationDate"
2189
+ },
2190
+ {
2191
+ path: "commentReplies.*.replies.draftContent.attachments.video.urlExpirationDate"
2192
+ },
2193
+ {
2194
+ path: "commentReplies.*.replies.draftContent.attachments.video.posters.urlExpirationDate"
2195
+ },
2196
+ {
2197
+ path: "commentReplies.*.replies.draftContent.attachments.audio.urlExpirationDate"
2198
+ },
2199
+ {
2200
+ path: "commentReplies.*.replies.draftContent.attachments.document.urlExpirationDate"
2201
+ }
2202
+ ]
2203
+ },
2204
+ {
2205
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
2206
+ paths: [
2207
+ {
2208
+ path: "comments.content.richContent.nodes.galleryData.items.image.media.duration"
2209
+ },
2210
+ {
2211
+ path: "comments.content.richContent.nodes.galleryData.items.video.media.duration"
2212
+ },
2213
+ {
2214
+ path: "comments.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
2215
+ },
2216
+ {
2217
+ path: "comments.content.richContent.nodes.galleryData.options.item.ratio"
2218
+ },
2219
+ {
2220
+ path: "comments.content.richContent.nodes.imageData.image.duration"
2221
+ },
2222
+ {
2223
+ path: "comments.content.richContent.nodes.mapData.mapSettings.lat"
2224
+ },
2225
+ {
2226
+ path: "comments.content.richContent.nodes.mapData.mapSettings.lng"
2227
+ },
2228
+ {
2229
+ path: "comments.content.richContent.nodes.pollData.poll.image.duration"
2230
+ },
2231
+ {
2232
+ path: "comments.content.richContent.nodes.pollData.poll.options.image.duration"
2233
+ },
2234
+ {
2235
+ path: "comments.content.richContent.nodes.pollData.design.poll.background.image.duration"
2236
+ },
2237
+ {
2238
+ path: "comments.content.richContent.nodes.appEmbedData.image.duration"
2239
+ },
2240
+ {
2241
+ path: "comments.content.richContent.nodes.videoData.video.duration"
2242
+ },
2243
+ {
2244
+ path: "comments.content.richContent.nodes.videoData.thumbnail.duration"
2245
+ },
2246
+ {
2247
+ path: "comments.content.richContent.nodes.audioData.audio.duration"
2248
+ },
2249
+ {
2250
+ path: "comments.content.richContent.nodes.audioData.coverImage.duration"
2251
+ },
2252
+ {
2253
+ path: "comments.draftContent.richContent.nodes.galleryData.items.image.media.duration"
2254
+ },
2255
+ {
2256
+ path: "comments.draftContent.richContent.nodes.galleryData.items.video.media.duration"
2257
+ },
2258
+ {
2259
+ path: "comments.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
2260
+ },
2261
+ {
2262
+ path: "comments.draftContent.richContent.nodes.galleryData.options.item.ratio"
2263
+ },
2264
+ {
2265
+ path: "comments.draftContent.richContent.nodes.imageData.image.duration"
2266
+ },
2267
+ {
2268
+ path: "comments.draftContent.richContent.nodes.mapData.mapSettings.lat"
2269
+ },
2270
+ {
2271
+ path: "comments.draftContent.richContent.nodes.mapData.mapSettings.lng"
2272
+ },
2273
+ {
2274
+ path: "comments.draftContent.richContent.nodes.pollData.poll.image.duration"
2275
+ },
2276
+ {
2277
+ path: "comments.draftContent.richContent.nodes.pollData.poll.options.image.duration"
2278
+ },
2279
+ {
2280
+ path: "comments.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
2281
+ },
2282
+ {
2283
+ path: "comments.draftContent.richContent.nodes.appEmbedData.image.duration"
2284
+ },
2285
+ {
2286
+ path: "comments.draftContent.richContent.nodes.videoData.video.duration"
2287
+ },
2288
+ {
2289
+ path: "comments.draftContent.richContent.nodes.videoData.thumbnail.duration"
2290
+ },
2291
+ {
2292
+ path: "comments.draftContent.richContent.nodes.audioData.audio.duration"
2293
+ },
2294
+ {
2295
+ path: "comments.draftContent.richContent.nodes.audioData.coverImage.duration"
2296
+ },
2297
+ {
2298
+ path: "commentReplies.*.replies.content.richContent.nodes.galleryData.items.image.media.duration"
2299
+ },
2300
+ {
2301
+ path: "commentReplies.*.replies.content.richContent.nodes.galleryData.items.video.media.duration"
2302
+ },
2303
+ {
2304
+ path: "commentReplies.*.replies.content.richContent.nodes.galleryData.items.video.thumbnail.duration"
2305
+ },
2306
+ {
2307
+ path: "commentReplies.*.replies.content.richContent.nodes.galleryData.options.item.ratio"
2308
+ },
2309
+ {
2310
+ path: "commentReplies.*.replies.content.richContent.nodes.imageData.image.duration"
2311
+ },
2312
+ {
2313
+ path: "commentReplies.*.replies.content.richContent.nodes.mapData.mapSettings.lat"
2314
+ },
2315
+ {
2316
+ path: "commentReplies.*.replies.content.richContent.nodes.mapData.mapSettings.lng"
2317
+ },
2318
+ {
2319
+ path: "commentReplies.*.replies.content.richContent.nodes.pollData.poll.image.duration"
2320
+ },
2321
+ {
2322
+ path: "commentReplies.*.replies.content.richContent.nodes.pollData.poll.options.image.duration"
2323
+ },
2324
+ {
2325
+ path: "commentReplies.*.replies.content.richContent.nodes.pollData.design.poll.background.image.duration"
2326
+ },
2327
+ {
2328
+ path: "commentReplies.*.replies.content.richContent.nodes.appEmbedData.image.duration"
2329
+ },
2330
+ {
2331
+ path: "commentReplies.*.replies.content.richContent.nodes.videoData.video.duration"
2332
+ },
2333
+ {
2334
+ path: "commentReplies.*.replies.content.richContent.nodes.videoData.thumbnail.duration"
2335
+ },
2336
+ {
2337
+ path: "commentReplies.*.replies.content.richContent.nodes.audioData.audio.duration"
2338
+ },
2339
+ {
2340
+ path: "commentReplies.*.replies.content.richContent.nodes.audioData.coverImage.duration"
2341
+ },
2342
+ {
2343
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.galleryData.items.image.media.duration"
2344
+ },
2345
+ {
2346
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.galleryData.items.video.media.duration"
2347
+ },
2348
+ {
2349
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.galleryData.items.video.thumbnail.duration"
2350
+ },
2351
+ {
2352
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.galleryData.options.item.ratio"
2353
+ },
2354
+ {
2355
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.imageData.image.duration"
2356
+ },
2357
+ {
2358
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.mapData.mapSettings.lat"
2359
+ },
2360
+ {
2361
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.mapData.mapSettings.lng"
2362
+ },
2363
+ {
2364
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.pollData.poll.image.duration"
2365
+ },
2366
+ {
2367
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.pollData.poll.options.image.duration"
2368
+ },
2369
+ {
2370
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.pollData.design.poll.background.image.duration"
2371
+ },
2372
+ {
2373
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.appEmbedData.image.duration"
2374
+ },
2375
+ {
2376
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.videoData.video.duration"
2377
+ },
2378
+ {
2379
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.videoData.thumbnail.duration"
2380
+ },
2381
+ {
2382
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.audioData.audio.duration"
2383
+ },
2384
+ {
2385
+ path: "commentReplies.*.replies.draftContent.richContent.nodes.audioData.coverImage.duration"
2386
+ }
2387
+ ]
2388
+ }
2389
+ ])
2390
+ };
2391
+ return metadata;
2392
+ }
2393
+ return __getCommentThread;
2394
+ }
2395
+ function bulkPublishComment(payload) {
2396
+ function __bulkPublishComment({ host }) {
2397
+ const metadata = {
2398
+ entityFqdn: "wix.comments.v2.comment",
2399
+ method: "POST",
2400
+ methodFqn: "wix.comments.ng.v1.CommentsNg.BulkPublishComment",
2401
+ packageName: PACKAGE_NAME,
2402
+ url: resolveWixCommentsNgV1CommentsNgUrl({
2403
+ protoPath: "/v1/bulk/comments/publish-by-filter",
2404
+ data: payload,
2405
+ host
2406
+ }),
2407
+ data: payload
2408
+ };
2409
+ return metadata;
2410
+ }
2411
+ return __bulkPublishComment;
2412
+ }
2413
+ function bulkHideComment(payload) {
2414
+ function __bulkHideComment({ host }) {
2415
+ const metadata = {
2416
+ entityFqdn: "wix.comments.v2.comment",
2417
+ method: "PUT",
2418
+ methodFqn: "wix.comments.ng.v1.CommentsNg.BulkHideComment",
2419
+ packageName: PACKAGE_NAME,
2420
+ url: resolveWixCommentsNgV1CommentsNgUrl({
2421
+ protoPath: "/v1/bulk/comments/hide-by-filter",
2422
+ data: payload,
2423
+ host
2424
+ }),
2425
+ data: payload
2426
+ };
2427
+ return metadata;
2428
+ }
2429
+ return __bulkHideComment;
2430
+ }
2431
+ function bulkDeleteComment(payload) {
2432
+ function __bulkDeleteComment({ host }) {
2433
+ const metadata = {
2434
+ entityFqdn: "wix.comments.v2.comment",
2435
+ method: "PUT",
2436
+ methodFqn: "wix.comments.ng.v1.CommentsNg.BulkDeleteComment",
2437
+ packageName: PACKAGE_NAME,
2438
+ url: resolveWixCommentsNgV1CommentsNgUrl({
2439
+ protoPath: "/v1/bulk/comments/delete-by-filter",
2440
+ data: payload,
2441
+ host
2442
+ }),
2443
+ data: payload
2444
+ };
2445
+ return metadata;
2446
+ }
2447
+ return __bulkDeleteComment;
2448
+ }
2449
+ function bulkModerateDraftContent(payload) {
2450
+ function __bulkModerateDraftContent({ host }) {
2451
+ const metadata = {
2452
+ entityFqdn: "wix.comments.v2.comment",
2453
+ method: "POST",
2454
+ methodFqn: "wix.comments.ng.v1.CommentsNg.BulkModerateDraftContent",
2455
+ packageName: PACKAGE_NAME,
2456
+ url: resolveWixCommentsNgV1CommentsNgUrl({
2457
+ protoPath: "/v1/bulk/comments/moderate-by-filter",
2458
+ data: payload,
2459
+ host
2460
+ }),
2461
+ data: payload
2462
+ };
2463
+ return metadata;
2464
+ }
2465
+ return __bulkModerateDraftContent;
2466
+ }
2467
+ function bulkMoveCommentByFilter(payload) {
2468
+ function __bulkMoveCommentByFilter({ host }) {
2469
+ const metadata = {
2470
+ entityFqdn: "wix.comments.v2.comment",
2471
+ method: "PUT",
2472
+ methodFqn: "wix.comments.ng.v1.CommentsNg.BulkMoveCommentByFilter",
2473
+ packageName: PACKAGE_NAME,
2474
+ url: resolveWixCommentsNgV1CommentsNgUrl({
2475
+ protoPath: "/v1/bulk/comments/move-by-filter",
2476
+ data: payload,
2477
+ host
2478
+ }),
2479
+ data: payload
2480
+ };
2481
+ return metadata;
2482
+ }
2483
+ return __bulkMoveCommentByFilter;
2484
+ }
2485
+
2486
+ // src/comments-v2-comment-comments.meta.ts
2487
+ function createComment2() {
2488
+ const payload = {};
2489
+ const getRequestOptions = createComment(payload);
2490
+ const getUrl = (context) => {
2491
+ const { url } = getRequestOptions(context);
2492
+ return url;
2493
+ };
2494
+ return {
2495
+ getUrl,
2496
+ httpMethod: "POST",
2497
+ path: "/v1/comments",
2498
+ pathParams: {},
2499
+ __requestType: null,
2500
+ __originalRequestType: null,
2501
+ __responseType: null,
2502
+ __originalResponseType: null
2503
+ };
2504
+ }
2505
+ function getComment2() {
2506
+ const payload = { commentId: ":commentId" };
2507
+ const getRequestOptions = getComment(payload);
2508
+ const getUrl = (context) => {
2509
+ const { url } = getRequestOptions(context);
2510
+ return url;
2511
+ };
2512
+ return {
2513
+ getUrl,
2514
+ httpMethod: "GET",
2515
+ path: "/v1/comments/{commentId}",
2516
+ pathParams: { commentId: "commentId" },
2517
+ __requestType: null,
2518
+ __originalRequestType: null,
2519
+ __responseType: null,
2520
+ __originalResponseType: null
2521
+ };
2522
+ }
2523
+ function updateComment2() {
2524
+ const payload = { comment: { id: ":commentId" } };
2525
+ const getRequestOptions = updateComment(payload);
2526
+ const getUrl = (context) => {
2527
+ const { url } = getRequestOptions(context);
2528
+ return url;
2529
+ };
2530
+ return {
2531
+ getUrl,
2532
+ httpMethod: "PATCH",
2533
+ path: "/v1/comments/{comment.id}",
2534
+ pathParams: { commentId: "commentId" },
2535
+ __requestType: null,
2536
+ __originalRequestType: null,
2537
+ __responseType: null,
2538
+ __originalResponseType: null
2539
+ };
2540
+ }
2541
+ function deleteComment2() {
2542
+ const payload = { commentId: ":commentId" };
2543
+ const getRequestOptions = deleteComment(payload);
2544
+ const getUrl = (context) => {
2545
+ const { url } = getRequestOptions(context);
2546
+ return url;
2547
+ };
2548
+ return {
2549
+ getUrl,
2550
+ httpMethod: "DELETE",
2551
+ path: "/v1/comments/{commentId}",
2552
+ pathParams: { commentId: "commentId" },
2553
+ __requestType: null,
2554
+ __originalRequestType: null,
2555
+ __responseType: null,
2556
+ __originalResponseType: null
2557
+ };
2558
+ }
2559
+ function moderateDraftContent2() {
2560
+ const payload = { commentId: ":commentId" };
2561
+ const getRequestOptions = moderateDraftContent(payload);
2562
+ const getUrl = (context) => {
2563
+ const { url } = getRequestOptions(context);
2564
+ return url;
2565
+ };
2566
+ return {
2567
+ getUrl,
2568
+ httpMethod: "POST",
2569
+ path: "/v1/comments/{commentId}/moderate",
2570
+ pathParams: { commentId: "commentId" },
2571
+ __requestType: null,
2572
+ __originalRequestType: null,
2573
+ __responseType: null,
2574
+ __originalResponseType: null
2575
+ };
2576
+ }
2577
+ function queryComments2() {
2578
+ const payload = {};
2579
+ const getRequestOptions = queryComments(payload);
2580
+ const getUrl = (context) => {
2581
+ const { url } = getRequestOptions(context);
2582
+ return url;
2583
+ };
2584
+ return {
2585
+ getUrl,
2586
+ httpMethod: "POST",
2587
+ path: "/v1/comments/query-cursor",
2588
+ pathParams: {},
2589
+ __requestType: null,
2590
+ __originalRequestType: null,
2591
+ __responseType: null,
2592
+ __originalResponseType: null
2593
+ };
2594
+ }
2595
+ function markComment2() {
2596
+ const payload = { commentId: ":commentId" };
2597
+ const getRequestOptions = markComment(payload);
2598
+ const getUrl = (context) => {
2599
+ const { url } = getRequestOptions(context);
2600
+ return url;
2601
+ };
2602
+ return {
2603
+ getUrl,
2604
+ httpMethod: "PUT",
2605
+ path: "/v1/comments/{commentId}/mark",
2606
+ pathParams: { commentId: "commentId" },
2607
+ __requestType: null,
2608
+ __originalRequestType: null,
2609
+ __responseType: null,
2610
+ __originalResponseType: null
2611
+ };
2612
+ }
2613
+ function unmarkComment2() {
2614
+ const payload = { commentId: ":commentId" };
2615
+ const getRequestOptions = unmarkComment(payload);
2616
+ const getUrl = (context) => {
2617
+ const { url } = getRequestOptions(context);
2618
+ return url;
2619
+ };
2620
+ return {
2621
+ getUrl,
2622
+ httpMethod: "PUT",
2623
+ path: "/v1/comments/{commentId}/unmark",
2624
+ pathParams: { commentId: "commentId" },
2625
+ __requestType: null,
2626
+ __originalRequestType: null,
2627
+ __responseType: null,
2628
+ __originalResponseType: null
2629
+ };
2630
+ }
2631
+ function hideComment2() {
2632
+ const payload = { commentId: ":commentId" };
2633
+ const getRequestOptions = hideComment(payload);
2634
+ const getUrl = (context) => {
2635
+ const { url } = getRequestOptions(context);
2636
+ return url;
2637
+ };
2638
+ return {
2639
+ getUrl,
2640
+ httpMethod: "PUT",
2641
+ path: "/v1/comments/{commentId}/hide",
2642
+ pathParams: { commentId: "commentId" },
2643
+ __requestType: null,
2644
+ __originalRequestType: null,
2645
+ __responseType: null,
2646
+ __originalResponseType: null
2647
+ };
2648
+ }
2649
+ function publishComment2() {
2650
+ const payload = { commentId: ":commentId" };
2651
+ const getRequestOptions = publishComment(payload);
2652
+ const getUrl = (context) => {
2653
+ const { url } = getRequestOptions(context);
2654
+ return url;
2655
+ };
2656
+ return {
2657
+ getUrl,
2658
+ httpMethod: "PUT",
2659
+ path: "/v1/comments/{commentId}/publish",
2660
+ pathParams: { commentId: "commentId" },
2661
+ __requestType: null,
2662
+ __originalRequestType: null,
2663
+ __responseType: null,
2664
+ __originalResponseType: null
2665
+ };
2666
+ }
2667
+ function countComments2() {
2668
+ const payload = {};
2669
+ const getRequestOptions = countComments(payload);
2670
+ const getUrl = (context) => {
2671
+ const { url } = getRequestOptions(context);
2672
+ return url;
2673
+ };
2674
+ return {
2675
+ getUrl,
2676
+ httpMethod: "POST",
2677
+ path: "/v1/comments/count",
2678
+ pathParams: {},
2679
+ __requestType: null,
2680
+ __originalRequestType: null,
2681
+ __responseType: null,
2682
+ __originalResponseType: null
2683
+ };
2684
+ }
2685
+ function listCommentsByResource2() {
2686
+ const payload = {};
2687
+ const getRequestOptions = listCommentsByResource(payload);
2688
+ const getUrl = (context) => {
2689
+ const { url } = getRequestOptions(context);
2690
+ return url;
2691
+ };
2692
+ return {
2693
+ getUrl,
2694
+ httpMethod: "GET",
2695
+ path: "/v1/comments/list-by-resource",
2696
+ pathParams: {},
2697
+ __requestType: null,
2698
+ __originalRequestType: null,
2699
+ __responseType: null,
2700
+ __originalResponseType: null
2701
+ };
2702
+ }
2703
+ function getCommentThread2() {
2704
+ const payload = { commentId: ":commentId" };
2705
+ const getRequestOptions = getCommentThread(payload);
2706
+ const getUrl = (context) => {
2707
+ const { url } = getRequestOptions(context);
2708
+ return url;
2709
+ };
2710
+ return {
2711
+ getUrl,
2712
+ httpMethod: "GET",
2713
+ path: "/v1/comments/{commentId}/thread",
2714
+ pathParams: { commentId: "commentId" },
2715
+ __requestType: null,
2716
+ __originalRequestType: null,
2717
+ __responseType: null,
2718
+ __originalResponseType: null
2719
+ };
2720
+ }
2721
+ function bulkPublishComment2() {
2722
+ const payload = {};
2723
+ const getRequestOptions = bulkPublishComment(payload);
2724
+ const getUrl = (context) => {
2725
+ const { url } = getRequestOptions(context);
2726
+ return url;
2727
+ };
2728
+ return {
2729
+ getUrl,
2730
+ httpMethod: "POST",
2731
+ path: "/v1/bulk/comments/publish-by-filter",
2732
+ pathParams: {},
2733
+ __requestType: null,
2734
+ __originalRequestType: null,
2735
+ __responseType: null,
2736
+ __originalResponseType: null
2737
+ };
2738
+ }
2739
+ function bulkHideComment2() {
2740
+ const payload = {};
2741
+ const getRequestOptions = bulkHideComment(payload);
2742
+ const getUrl = (context) => {
2743
+ const { url } = getRequestOptions(context);
2744
+ return url;
2745
+ };
2746
+ return {
2747
+ getUrl,
2748
+ httpMethod: "PUT",
2749
+ path: "/v1/bulk/comments/hide-by-filter",
2750
+ pathParams: {},
2751
+ __requestType: null,
2752
+ __originalRequestType: null,
2753
+ __responseType: null,
2754
+ __originalResponseType: null
2755
+ };
2756
+ }
2757
+ function bulkDeleteComment2() {
2758
+ const payload = {};
2759
+ const getRequestOptions = bulkDeleteComment(payload);
2760
+ const getUrl = (context) => {
2761
+ const { url } = getRequestOptions(context);
2762
+ return url;
2763
+ };
2764
+ return {
2765
+ getUrl,
2766
+ httpMethod: "PUT",
2767
+ path: "/v1/bulk/comments/delete-by-filter",
2768
+ pathParams: {},
2769
+ __requestType: null,
2770
+ __originalRequestType: null,
2771
+ __responseType: null,
2772
+ __originalResponseType: null
2773
+ };
2774
+ }
2775
+ function bulkModerateDraftContent2() {
2776
+ const payload = {};
2777
+ const getRequestOptions = bulkModerateDraftContent(payload);
2778
+ const getUrl = (context) => {
2779
+ const { url } = getRequestOptions(context);
2780
+ return url;
2781
+ };
2782
+ return {
2783
+ getUrl,
2784
+ httpMethod: "POST",
2785
+ path: "/v1/bulk/comments/moderate-by-filter",
2786
+ pathParams: {},
2787
+ __requestType: null,
2788
+ __originalRequestType: null,
2789
+ __responseType: null,
2790
+ __originalResponseType: null
2791
+ };
2792
+ }
2793
+ function bulkMoveCommentByFilter2() {
2794
+ const payload = {};
2795
+ const getRequestOptions = bulkMoveCommentByFilter(payload);
2796
+ const getUrl = (context) => {
2797
+ const { url } = getRequestOptions(context);
2798
+ return url;
2799
+ };
2800
+ return {
2801
+ getUrl,
2802
+ httpMethod: "PUT",
2803
+ path: "/v1/bulk/comments/move-by-filter",
2804
+ pathParams: {},
2805
+ __requestType: null,
2806
+ __originalRequestType: null,
2807
+ __responseType: null,
2808
+ __originalResponseType: null
2809
+ };
2810
+ }
2811
+ // Annotate the CommonJS export names for ESM import in node:
2812
+ 0 && (module.exports = {
2813
+ bulkDeleteComment,
2814
+ bulkHideComment,
2815
+ bulkModerateDraftContent,
2816
+ bulkMoveCommentByFilter,
2817
+ bulkPublishComment,
2818
+ countComments,
2819
+ createComment,
2820
+ deleteComment,
2821
+ getComment,
2822
+ getCommentThread,
2823
+ hideComment,
2824
+ listCommentsByResource,
2825
+ markComment,
2826
+ moderateDraftContent,
2827
+ publishComment,
2828
+ queryComments,
2829
+ unmarkComment,
2830
+ updateComment
2831
+ });
2832
+ //# sourceMappingURL=meta.js.map