@wix/auto_sdk_feedback_comments 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +3 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +3 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +3 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +3 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +10 -2
- package/build/internal/cjs/meta.d.ts +3 -2
- package/build/internal/es/index.typings.d.mts +10 -2
- package/build/internal/es/meta.d.mts +3 -2
- package/package.json +2 -2
|
@@ -45,7 +45,7 @@ interface Comment {
|
|
|
45
45
|
*/
|
|
46
46
|
metaSiteId?: string;
|
|
47
47
|
/**
|
|
48
|
-
* ID of the
|
|
48
|
+
* ID of the site visitor who left the Comment.
|
|
49
49
|
* @format GUID
|
|
50
50
|
* @readonly
|
|
51
51
|
*/
|
|
@@ -146,7 +146,8 @@ interface Position {
|
|
|
146
146
|
/** A reply to a Comment. */
|
|
147
147
|
interface CommentReply {
|
|
148
148
|
/**
|
|
149
|
-
* ID of the
|
|
149
|
+
* ID of whoever wrote the reply: the site visitor who left the Comment, a user managing the site, or
|
|
150
|
+
* the app that replied on the site's behalf.
|
|
150
151
|
* @format GUID
|
|
151
152
|
* @readonly
|
|
152
153
|
*/
|
|
@@ -533,6 +534,7 @@ interface UpdateCommentResponse {
|
|
|
533
534
|
* @documentationMaturity preview
|
|
534
535
|
* @requiredField commentId
|
|
535
536
|
* @permissionId partners:feedback:v1:comment:get_comment
|
|
537
|
+
* @applicableIdentity APP
|
|
536
538
|
* @returns The requested Comment.
|
|
537
539
|
* @fqn wix.partners.feedback.v1.Comments.GetComment
|
|
538
540
|
*/
|
|
@@ -551,6 +553,7 @@ declare function getComment(commentId: string): Promise<NonNullablePaths<Comment
|
|
|
551
553
|
* @documentationMaturity preview
|
|
552
554
|
* @requiredField query
|
|
553
555
|
* @permissionId partners:feedback:v1:comment:query_comments
|
|
556
|
+
* @applicableIdentity APP
|
|
554
557
|
* @fqn wix.partners.feedback.v1.Comments.QueryComments
|
|
555
558
|
*/
|
|
556
559
|
declare function queryComments(query: CursorQuery): Promise<NonNullablePaths<QueryCommentsResponse, `comments` | `comments.${number}._id` | `comments.${number}.feedbackId` | `comments.${number}.metaSiteId` | `comments.${number}.commenterId` | `comments.${number}.message` | `comments.${number}.status` | `comments.${number}.commentLocation.pageId` | `comments.${number}.commentLocation.x` | `comments.${number}.commentLocation.y` | `comments.${number}.commentLocation.breakpoint._id` | `comments.${number}.commentLocation.breakpoint.minWidth` | `comments.${number}.commentLocation.breakpoint.maxWidth` | `comments.${number}.commentLocation.innerPath` | `comments.${number}.commentLocation.position.selector` | `comments.${number}.commentLocation.position.offsetXPct` | `comments.${number}.commentLocation.position.offsetYPct` | `comments.${number}.commentLocation.position.innerPath`, 4>>;
|
|
@@ -572,6 +575,7 @@ declare function queryComments(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
572
575
|
* @requiredField options.revision
|
|
573
576
|
* @requiredField status
|
|
574
577
|
* @permissionId partners:feedback:v1:comment:update_comment_status
|
|
578
|
+
* @applicableIdentity APP
|
|
575
579
|
* @fqn wix.partners.feedback.v1.Comments.UpdateCommentStatus
|
|
576
580
|
*/
|
|
577
581
|
declare function updateCommentStatus(commentId: string, status: StatusWithLiterals, options: NonNullablePaths<UpdateCommentStatusOptions, `revision`, 0>): Promise<NonNullablePaths<UpdateCommentStatusResponse, `comment._id` | `comment.feedbackId` | `comment.metaSiteId` | `comment.commenterId` | `comment.message` | `comment.status` | `comment.commentLocation.pageId` | `comment.commentLocation.x` | `comment.commentLocation.y` | `comment.commentLocation.breakpoint._id` | `comment.commentLocation.breakpoint.minWidth` | `comment.commentLocation.breakpoint.maxWidth` | `comment.commentLocation.innerPath` | `comment.commentLocation.position.selector` | `comment.commentLocation.position.offsetXPct` | `comment.commentLocation.position.offsetYPct` | `comment.commentLocation.position.innerPath` | `comment.replies` | `comment.replies.${number}.replierId` | `comment.replies.${number}.message`, 3>>;
|
|
@@ -588,6 +592,7 @@ interface UpdateCommentStatusOptions {
|
|
|
588
592
|
* @documentationMaturity preview
|
|
589
593
|
* @requiredField commentId
|
|
590
594
|
* @permissionId partners:feedback:v1:comment:delete_comment
|
|
595
|
+
* @applicableIdentity APP
|
|
591
596
|
* @fqn wix.partners.feedback.v1.Comments.DeleteComment
|
|
592
597
|
*/
|
|
593
598
|
declare function deleteComment(commentId: string): Promise<void>;
|
|
@@ -606,6 +611,7 @@ declare function deleteComment(commentId: string): Promise<void>;
|
|
|
606
611
|
* @requiredField reply
|
|
607
612
|
* @requiredField reply.message
|
|
608
613
|
* @permissionId partners:feedback:v1:comment:create_comment_reply
|
|
614
|
+
* @applicableIdentity APP
|
|
609
615
|
* @fqn wix.partners.feedback.v1.Comments.CreateCommentReply
|
|
610
616
|
*/
|
|
611
617
|
declare function createCommentReply(commentId: string, reply: NonNullablePaths<CommentReply, `message`, 0>, options: NonNullablePaths<CreateCommentReplyOptions, `revision`, 0>): Promise<NonNullablePaths<CreateCommentReplyResponse, `comment._id` | `comment.feedbackId` | `comment.metaSiteId` | `comment.commenterId` | `comment.message` | `comment.status` | `comment.commentLocation.pageId` | `comment.commentLocation.x` | `comment.commentLocation.y` | `comment.commentLocation.breakpoint._id` | `comment.commentLocation.breakpoint.minWidth` | `comment.commentLocation.breakpoint.maxWidth` | `comment.commentLocation.innerPath` | `comment.commentLocation.position.selector` | `comment.commentLocation.position.offsetXPct` | `comment.commentLocation.position.offsetYPct` | `comment.commentLocation.position.innerPath` | `comment.replies` | `comment.replies.${number}.replierId` | `comment.replies.${number}.message`, 3>>;
|
|
@@ -629,6 +635,7 @@ interface CreateCommentReplyOptions {
|
|
|
629
635
|
* @requiredField options
|
|
630
636
|
* @requiredField options.revision
|
|
631
637
|
* @permissionId partners:feedback:v1:comment:update_comment_reply
|
|
638
|
+
* @applicableIdentity APP
|
|
632
639
|
* @fqn wix.partners.feedback.v1.Comments.UpdateCommentReply
|
|
633
640
|
*/
|
|
634
641
|
declare function updateCommentReply(identifiers: NonNullablePaths<UpdateCommentReplyIdentifiers, `commentId` | `replyIndex`, 0>, message: string, options: NonNullablePaths<UpdateCommentReplyOptions, `revision`, 0>): Promise<NonNullablePaths<UpdateCommentReplyResponse, `comment._id` | `comment.feedbackId` | `comment.metaSiteId` | `comment.commenterId` | `comment.message` | `comment.status` | `comment.commentLocation.pageId` | `comment.commentLocation.x` | `comment.commentLocation.y` | `comment.commentLocation.breakpoint._id` | `comment.commentLocation.breakpoint.minWidth` | `comment.commentLocation.breakpoint.maxWidth` | `comment.commentLocation.innerPath` | `comment.commentLocation.position.selector` | `comment.commentLocation.position.offsetXPct` | `comment.commentLocation.position.offsetYPct` | `comment.commentLocation.position.innerPath` | `comment.replies` | `comment.replies.${number}.replierId` | `comment.replies.${number}.message`, 3>>;
|
|
@@ -661,6 +668,7 @@ interface UpdateCommentReplyOptions {
|
|
|
661
668
|
* @requiredField identifiers.replyIndex
|
|
662
669
|
* @requiredField revision
|
|
663
670
|
* @permissionId partners:feedback:v1:comment:delete_comment_reply
|
|
671
|
+
* @applicableIdentity APP
|
|
664
672
|
* @fqn wix.partners.feedback.v1.Comments.DeleteCommentReply
|
|
665
673
|
*/
|
|
666
674
|
declare function deleteCommentReply(identifiers: NonNullablePaths<DeleteCommentReplyIdentifiers, `commentId` | `replyIndex`, 0>, revision: string): Promise<NonNullablePaths<DeleteCommentReplyResponse, `comment._id` | `comment.feedbackId` | `comment.metaSiteId` | `comment.commenterId` | `comment.message` | `comment.status` | `comment.commentLocation.pageId` | `comment.commentLocation.x` | `comment.commentLocation.y` | `comment.commentLocation.breakpoint._id` | `comment.commentLocation.breakpoint.minWidth` | `comment.commentLocation.breakpoint.maxWidth` | `comment.commentLocation.innerPath` | `comment.commentLocation.position.selector` | `comment.commentLocation.position.offsetXPct` | `comment.commentLocation.position.offsetYPct` | `comment.commentLocation.position.innerPath` | `comment.replies` | `comment.replies.${number}.replierId` | `comment.replies.${number}.message`, 3>>;
|
|
@@ -46,7 +46,7 @@ interface Comment {
|
|
|
46
46
|
*/
|
|
47
47
|
metaSiteId?: string;
|
|
48
48
|
/**
|
|
49
|
-
* ID of the
|
|
49
|
+
* ID of the site visitor who left the Comment.
|
|
50
50
|
* @format GUID
|
|
51
51
|
* @readonly
|
|
52
52
|
*/
|
|
@@ -147,7 +147,8 @@ interface Position {
|
|
|
147
147
|
/** A reply to a Comment. */
|
|
148
148
|
interface CommentReply {
|
|
149
149
|
/**
|
|
150
|
-
* ID of the
|
|
150
|
+
* ID of whoever wrote the reply: the site visitor who left the Comment, a user managing the site, or
|
|
151
|
+
* the app that replied on the site's behalf.
|
|
151
152
|
* @format GUID
|
|
152
153
|
* @readonly
|
|
153
154
|
*/
|
|
@@ -45,7 +45,7 @@ interface Comment {
|
|
|
45
45
|
*/
|
|
46
46
|
metaSiteId?: string;
|
|
47
47
|
/**
|
|
48
|
-
* ID of the
|
|
48
|
+
* ID of the site visitor who left the Comment.
|
|
49
49
|
* @format GUID
|
|
50
50
|
* @readonly
|
|
51
51
|
*/
|
|
@@ -146,7 +146,8 @@ interface Position {
|
|
|
146
146
|
/** A reply to a Comment. */
|
|
147
147
|
interface CommentReply {
|
|
148
148
|
/**
|
|
149
|
-
* ID of the
|
|
149
|
+
* ID of whoever wrote the reply: the site visitor who left the Comment, a user managing the site, or
|
|
150
|
+
* the app that replied on the site's behalf.
|
|
150
151
|
* @format GUID
|
|
151
152
|
* @readonly
|
|
152
153
|
*/
|
|
@@ -533,6 +534,7 @@ interface UpdateCommentResponse {
|
|
|
533
534
|
* @documentationMaturity preview
|
|
534
535
|
* @requiredField commentId
|
|
535
536
|
* @permissionId partners:feedback:v1:comment:get_comment
|
|
537
|
+
* @applicableIdentity APP
|
|
536
538
|
* @returns The requested Comment.
|
|
537
539
|
* @fqn wix.partners.feedback.v1.Comments.GetComment
|
|
538
540
|
*/
|
|
@@ -551,6 +553,7 @@ declare function getComment(commentId: string): Promise<NonNullablePaths<Comment
|
|
|
551
553
|
* @documentationMaturity preview
|
|
552
554
|
* @requiredField query
|
|
553
555
|
* @permissionId partners:feedback:v1:comment:query_comments
|
|
556
|
+
* @applicableIdentity APP
|
|
554
557
|
* @fqn wix.partners.feedback.v1.Comments.QueryComments
|
|
555
558
|
*/
|
|
556
559
|
declare function queryComments(query: CursorQuery): Promise<NonNullablePaths<QueryCommentsResponse, `comments` | `comments.${number}._id` | `comments.${number}.feedbackId` | `comments.${number}.metaSiteId` | `comments.${number}.commenterId` | `comments.${number}.message` | `comments.${number}.status` | `comments.${number}.commentLocation.pageId` | `comments.${number}.commentLocation.x` | `comments.${number}.commentLocation.y` | `comments.${number}.commentLocation.breakpoint._id` | `comments.${number}.commentLocation.breakpoint.minWidth` | `comments.${number}.commentLocation.breakpoint.maxWidth` | `comments.${number}.commentLocation.innerPath` | `comments.${number}.commentLocation.position.selector` | `comments.${number}.commentLocation.position.offsetXPct` | `comments.${number}.commentLocation.position.offsetYPct` | `comments.${number}.commentLocation.position.innerPath`, 4>>;
|
|
@@ -572,6 +575,7 @@ declare function queryComments(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
572
575
|
* @requiredField options.revision
|
|
573
576
|
* @requiredField status
|
|
574
577
|
* @permissionId partners:feedback:v1:comment:update_comment_status
|
|
578
|
+
* @applicableIdentity APP
|
|
575
579
|
* @fqn wix.partners.feedback.v1.Comments.UpdateCommentStatus
|
|
576
580
|
*/
|
|
577
581
|
declare function updateCommentStatus(commentId: string, status: StatusWithLiterals, options: NonNullablePaths<UpdateCommentStatusOptions, `revision`, 0>): Promise<NonNullablePaths<UpdateCommentStatusResponse, `comment._id` | `comment.feedbackId` | `comment.metaSiteId` | `comment.commenterId` | `comment.message` | `comment.status` | `comment.commentLocation.pageId` | `comment.commentLocation.x` | `comment.commentLocation.y` | `comment.commentLocation.breakpoint._id` | `comment.commentLocation.breakpoint.minWidth` | `comment.commentLocation.breakpoint.maxWidth` | `comment.commentLocation.innerPath` | `comment.commentLocation.position.selector` | `comment.commentLocation.position.offsetXPct` | `comment.commentLocation.position.offsetYPct` | `comment.commentLocation.position.innerPath` | `comment.replies` | `comment.replies.${number}.replierId` | `comment.replies.${number}.message`, 3>>;
|
|
@@ -588,6 +592,7 @@ interface UpdateCommentStatusOptions {
|
|
|
588
592
|
* @documentationMaturity preview
|
|
589
593
|
* @requiredField commentId
|
|
590
594
|
* @permissionId partners:feedback:v1:comment:delete_comment
|
|
595
|
+
* @applicableIdentity APP
|
|
591
596
|
* @fqn wix.partners.feedback.v1.Comments.DeleteComment
|
|
592
597
|
*/
|
|
593
598
|
declare function deleteComment(commentId: string): Promise<void>;
|
|
@@ -606,6 +611,7 @@ declare function deleteComment(commentId: string): Promise<void>;
|
|
|
606
611
|
* @requiredField reply
|
|
607
612
|
* @requiredField reply.message
|
|
608
613
|
* @permissionId partners:feedback:v1:comment:create_comment_reply
|
|
614
|
+
* @applicableIdentity APP
|
|
609
615
|
* @fqn wix.partners.feedback.v1.Comments.CreateCommentReply
|
|
610
616
|
*/
|
|
611
617
|
declare function createCommentReply(commentId: string, reply: NonNullablePaths<CommentReply, `message`, 0>, options: NonNullablePaths<CreateCommentReplyOptions, `revision`, 0>): Promise<NonNullablePaths<CreateCommentReplyResponse, `comment._id` | `comment.feedbackId` | `comment.metaSiteId` | `comment.commenterId` | `comment.message` | `comment.status` | `comment.commentLocation.pageId` | `comment.commentLocation.x` | `comment.commentLocation.y` | `comment.commentLocation.breakpoint._id` | `comment.commentLocation.breakpoint.minWidth` | `comment.commentLocation.breakpoint.maxWidth` | `comment.commentLocation.innerPath` | `comment.commentLocation.position.selector` | `comment.commentLocation.position.offsetXPct` | `comment.commentLocation.position.offsetYPct` | `comment.commentLocation.position.innerPath` | `comment.replies` | `comment.replies.${number}.replierId` | `comment.replies.${number}.message`, 3>>;
|
|
@@ -629,6 +635,7 @@ interface CreateCommentReplyOptions {
|
|
|
629
635
|
* @requiredField options
|
|
630
636
|
* @requiredField options.revision
|
|
631
637
|
* @permissionId partners:feedback:v1:comment:update_comment_reply
|
|
638
|
+
* @applicableIdentity APP
|
|
632
639
|
* @fqn wix.partners.feedback.v1.Comments.UpdateCommentReply
|
|
633
640
|
*/
|
|
634
641
|
declare function updateCommentReply(identifiers: NonNullablePaths<UpdateCommentReplyIdentifiers, `commentId` | `replyIndex`, 0>, message: string, options: NonNullablePaths<UpdateCommentReplyOptions, `revision`, 0>): Promise<NonNullablePaths<UpdateCommentReplyResponse, `comment._id` | `comment.feedbackId` | `comment.metaSiteId` | `comment.commenterId` | `comment.message` | `comment.status` | `comment.commentLocation.pageId` | `comment.commentLocation.x` | `comment.commentLocation.y` | `comment.commentLocation.breakpoint._id` | `comment.commentLocation.breakpoint.minWidth` | `comment.commentLocation.breakpoint.maxWidth` | `comment.commentLocation.innerPath` | `comment.commentLocation.position.selector` | `comment.commentLocation.position.offsetXPct` | `comment.commentLocation.position.offsetYPct` | `comment.commentLocation.position.innerPath` | `comment.replies` | `comment.replies.${number}.replierId` | `comment.replies.${number}.message`, 3>>;
|
|
@@ -661,6 +668,7 @@ interface UpdateCommentReplyOptions {
|
|
|
661
668
|
* @requiredField identifiers.replyIndex
|
|
662
669
|
* @requiredField revision
|
|
663
670
|
* @permissionId partners:feedback:v1:comment:delete_comment_reply
|
|
671
|
+
* @applicableIdentity APP
|
|
664
672
|
* @fqn wix.partners.feedback.v1.Comments.DeleteCommentReply
|
|
665
673
|
*/
|
|
666
674
|
declare function deleteCommentReply(identifiers: NonNullablePaths<DeleteCommentReplyIdentifiers, `commentId` | `replyIndex`, 0>, revision: string): Promise<NonNullablePaths<DeleteCommentReplyResponse, `comment._id` | `comment.feedbackId` | `comment.metaSiteId` | `comment.commenterId` | `comment.message` | `comment.status` | `comment.commentLocation.pageId` | `comment.commentLocation.x` | `comment.commentLocation.y` | `comment.commentLocation.breakpoint._id` | `comment.commentLocation.breakpoint.minWidth` | `comment.commentLocation.breakpoint.maxWidth` | `comment.commentLocation.innerPath` | `comment.commentLocation.position.selector` | `comment.commentLocation.position.offsetXPct` | `comment.commentLocation.position.offsetYPct` | `comment.commentLocation.position.innerPath` | `comment.replies` | `comment.replies.${number}.replierId` | `comment.replies.${number}.message`, 3>>;
|
|
@@ -46,7 +46,7 @@ interface Comment {
|
|
|
46
46
|
*/
|
|
47
47
|
metaSiteId?: string;
|
|
48
48
|
/**
|
|
49
|
-
* ID of the
|
|
49
|
+
* ID of the site visitor who left the Comment.
|
|
50
50
|
* @format GUID
|
|
51
51
|
* @readonly
|
|
52
52
|
*/
|
|
@@ -147,7 +147,8 @@ interface Position {
|
|
|
147
147
|
/** A reply to a Comment. */
|
|
148
148
|
interface CommentReply {
|
|
149
149
|
/**
|
|
150
|
-
* ID of the
|
|
150
|
+
* ID of whoever wrote the reply: the site visitor who left the Comment, a user managing the site, or
|
|
151
|
+
* the app that replied on the site's behalf.
|
|
151
152
|
* @format GUID
|
|
152
153
|
* @readonly
|
|
153
154
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_feedback_comments",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.partners.feedback.v1.comment"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "2af131ba8372dc933887e528d3271fe7bb0857a040c3c8b7a85107fc"
|
|
54
54
|
}
|