@wix/auto_sdk_feedback_comments 1.0.1 → 1.0.2
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 +82 -519
- package/build/cjs/index.js +108 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +764 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -1
- package/build/es/index.d.mts +82 -519
- package/build/es/index.mjs +105 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +764 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -1
- package/build/internal/cjs/index.d.ts +13 -18
- package/build/internal/cjs/index.typings.d.ts +98 -8
- package/build/internal/es/index.d.mts +13 -18
- package/build/internal/es/index.typings.d.mts +98 -8
- package/package.json +2 -2
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
-
import { Comment, CursorQuery, QueryCommentsResponse, StatusWithLiterals, UpdateCommentStatusOptions, UpdateCommentStatusResponse, CommentReply, CreateCommentReplyOptions, CreateCommentReplyResponse, UpdateCommentReplyIdentifiers, UpdateCommentReplyOptions, UpdateCommentReplyResponse, DeleteCommentReplyIdentifiers, DeleteCommentReplyResponse } from './index.typings.mjs';
|
|
3
|
-
export { AccountInfo, ActionEvent, Breakpoint, CommentLocation, CreateCommentReplyRequest, CreateCommentRequest, CreateCommentResponse, CursorPaging, CursorPagingMetadata, CursorQueryPagingMethodOneOf, Cursors, DeleteCommentReplyRequest, DeleteCommentRequest, DeleteCommentResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, GetCommentRequest, GetCommentResponse, IdentificationData, IdentificationDataIdOneOf, MessageEnvelope, Position, QueryCommentsRequest, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, Status, UpdateCommentReplyRequest, UpdateCommentRequest, UpdateCommentResponse, UpdateCommentStatusRequest, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
1
|
+
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { Comment, CursorQuery, QueryCommentsResponse, StatusWithLiterals, UpdateCommentStatusOptions, UpdateCommentStatusResponse, CommentReply, CreateCommentReplyOptions, CreateCommentReplyResponse, UpdateCommentReplyIdentifiers, UpdateCommentReplyOptions, UpdateCommentReplyResponse, DeleteCommentReplyIdentifiers, DeleteCommentReplyResponse, CommentCreatedEnvelope, CommentDeletedEnvelope, CommentUpdatedEnvelope } from './index.typings.mjs';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, BaseEventMetadata, Breakpoint, CommentLocation, CreateCommentReplyRequest, CreateCommentRequest, CreateCommentResponse, CursorPaging, CursorPagingMetadata, CursorQueryPagingMethodOneOf, Cursors, DeleteCommentReplyRequest, DeleteCommentRequest, DeleteCommentResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, GetCommentRequest, GetCommentResponse, IdentificationData, IdentificationDataIdOneOf, MessageEnvelope, Position, QueryCommentsRequest, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, Status, UpdateCommentReplyRequest, UpdateCommentRequest, UpdateCommentResponse, UpdateCommentStatusRequest, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs';
|
|
4
4
|
|
|
5
|
-
/** @internal */
|
|
6
5
|
declare function getComment$1(httpClient: HttpClient): GetCommentSignature;
|
|
7
6
|
interface GetCommentSignature {
|
|
8
7
|
/**
|
|
@@ -12,7 +11,6 @@ interface GetCommentSignature {
|
|
|
12
11
|
*/
|
|
13
12
|
(commentId: string): Promise<NonNullablePaths<Comment, `_id` | `feedbackId` | `metaSiteId` | `commenterId` | `message` | `status` | `commentLocation.pageId` | `commentLocation.x` | `commentLocation.y` | `commentLocation.breakpoint._id` | `commentLocation.breakpoint.minWidth` | `commentLocation.breakpoint.maxWidth` | `commentLocation.innerPath` | `commentLocation.position.selector` | `commentLocation.position.offsetXPct` | `commentLocation.position.offsetYPct` | `commentLocation.position.innerPath` | `replies` | `replies.${number}.replierId` | `replies.${number}.message`, 2>>;
|
|
14
13
|
}
|
|
15
|
-
/** @internal */
|
|
16
14
|
declare function queryComments$1(httpClient: HttpClient): QueryCommentsSignature;
|
|
17
15
|
interface QueryCommentsSignature {
|
|
18
16
|
/**
|
|
@@ -28,7 +26,6 @@ interface QueryCommentsSignature {
|
|
|
28
26
|
*/
|
|
29
27
|
(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>>;
|
|
30
28
|
}
|
|
31
|
-
/** @internal */
|
|
32
29
|
declare function updateCommentStatus$1(httpClient: HttpClient): UpdateCommentStatusSignature;
|
|
33
30
|
interface UpdateCommentStatusSignature {
|
|
34
31
|
/**
|
|
@@ -45,7 +42,6 @@ interface UpdateCommentStatusSignature {
|
|
|
45
42
|
*/
|
|
46
43
|
(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>>;
|
|
47
44
|
}
|
|
48
|
-
/** @internal */
|
|
49
45
|
declare function deleteComment$1(httpClient: HttpClient): DeleteCommentSignature;
|
|
50
46
|
interface DeleteCommentSignature {
|
|
51
47
|
/**
|
|
@@ -56,7 +52,6 @@ interface DeleteCommentSignature {
|
|
|
56
52
|
*/
|
|
57
53
|
(commentId: string): Promise<void>;
|
|
58
54
|
}
|
|
59
|
-
/** @internal */
|
|
60
55
|
declare function createCommentReply$1(httpClient: HttpClient): CreateCommentReplySignature;
|
|
61
56
|
interface CreateCommentReplySignature {
|
|
62
57
|
/**
|
|
@@ -69,7 +64,6 @@ interface CreateCommentReplySignature {
|
|
|
69
64
|
*/
|
|
70
65
|
(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>>;
|
|
71
66
|
}
|
|
72
|
-
/** @internal */
|
|
73
67
|
declare function updateCommentReply$1(httpClient: HttpClient): UpdateCommentReplySignature;
|
|
74
68
|
interface UpdateCommentReplySignature {
|
|
75
69
|
/**
|
|
@@ -82,7 +76,6 @@ interface UpdateCommentReplySignature {
|
|
|
82
76
|
*/
|
|
83
77
|
(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>>;
|
|
84
78
|
}
|
|
85
|
-
/** @internal */
|
|
86
79
|
declare function deleteCommentReply$1(httpClient: HttpClient): DeleteCommentReplySignature;
|
|
87
80
|
interface DeleteCommentReplySignature {
|
|
88
81
|
/**
|
|
@@ -97,20 +90,22 @@ interface DeleteCommentReplySignature {
|
|
|
97
90
|
*/
|
|
98
91
|
(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>>;
|
|
99
92
|
}
|
|
93
|
+
declare const onCommentCreated$1: EventDefinition<CommentCreatedEnvelope, "wix.partners.feedback.v1.comment_created">;
|
|
94
|
+
declare const onCommentDeleted$1: EventDefinition<CommentDeletedEnvelope, "wix.partners.feedback.v1.comment_deleted">;
|
|
95
|
+
declare const onCommentUpdated$1: EventDefinition<CommentUpdatedEnvelope, "wix.partners.feedback.v1.comment_updated">;
|
|
100
96
|
|
|
101
|
-
/** @internal */
|
|
102
97
|
declare const getComment: MaybeContext<BuildRESTFunction<typeof getComment$1> & typeof getComment$1>;
|
|
103
|
-
/** @internal */
|
|
104
98
|
declare const queryComments: MaybeContext<BuildRESTFunction<typeof queryComments$1> & typeof queryComments$1>;
|
|
105
|
-
/** @internal */
|
|
106
99
|
declare const updateCommentStatus: MaybeContext<BuildRESTFunction<typeof updateCommentStatus$1> & typeof updateCommentStatus$1>;
|
|
107
|
-
/** @internal */
|
|
108
100
|
declare const deleteComment: MaybeContext<BuildRESTFunction<typeof deleteComment$1> & typeof deleteComment$1>;
|
|
109
|
-
/** @internal */
|
|
110
101
|
declare const createCommentReply: MaybeContext<BuildRESTFunction<typeof createCommentReply$1> & typeof createCommentReply$1>;
|
|
111
|
-
/** @internal */
|
|
112
102
|
declare const updateCommentReply: MaybeContext<BuildRESTFunction<typeof updateCommentReply$1> & typeof updateCommentReply$1>;
|
|
113
|
-
/** @internal */
|
|
114
103
|
declare const deleteCommentReply: MaybeContext<BuildRESTFunction<typeof deleteCommentReply$1> & typeof deleteCommentReply$1>;
|
|
104
|
+
/** */
|
|
105
|
+
declare const onCommentCreated: BuildEventDefinition<typeof onCommentCreated$1> & typeof onCommentCreated$1;
|
|
106
|
+
/** */
|
|
107
|
+
declare const onCommentDeleted: BuildEventDefinition<typeof onCommentDeleted$1> & typeof onCommentDeleted$1;
|
|
108
|
+
/** */
|
|
109
|
+
declare const onCommentUpdated: BuildEventDefinition<typeof onCommentUpdated$1> & typeof onCommentUpdated$1;
|
|
115
110
|
|
|
116
|
-
export { Comment, CommentReply, CreateCommentReplyOptions, CreateCommentReplyResponse, CursorQuery, DeleteCommentReplyIdentifiers, DeleteCommentReplyResponse, QueryCommentsResponse, StatusWithLiterals, UpdateCommentReplyIdentifiers, UpdateCommentReplyOptions, UpdateCommentReplyResponse, UpdateCommentStatusOptions, UpdateCommentStatusResponse, createCommentReply, deleteComment, deleteCommentReply, getComment, queryComments, updateCommentReply, updateCommentStatus };
|
|
111
|
+
export { Comment, CommentCreatedEnvelope, CommentDeletedEnvelope, CommentReply, CommentUpdatedEnvelope, CreateCommentReplyOptions, CreateCommentReplyResponse, CursorQuery, DeleteCommentReplyIdentifiers, DeleteCommentReplyResponse, QueryCommentsResponse, StatusWithLiterals, UpdateCommentReplyIdentifiers, UpdateCommentReplyOptions, UpdateCommentReplyResponse, UpdateCommentStatusOptions, UpdateCommentStatusResponse, createCommentReply, deleteComment, deleteCommentReply, getComment, onCommentCreated, onCommentDeleted, onCommentUpdated, queryComments, updateCommentReply, updateCommentStatus };
|
|
@@ -527,10 +527,100 @@ interface UpdateCommentResponse {
|
|
|
527
527
|
/** The updated Comment. */
|
|
528
528
|
comment?: Comment;
|
|
529
529
|
}
|
|
530
|
+
interface BaseEventMetadata {
|
|
531
|
+
/**
|
|
532
|
+
* App instance ID.
|
|
533
|
+
* @format GUID
|
|
534
|
+
*/
|
|
535
|
+
instanceId?: string | null;
|
|
536
|
+
/**
|
|
537
|
+
* Event type.
|
|
538
|
+
* @maxLength 150
|
|
539
|
+
*/
|
|
540
|
+
eventType?: string;
|
|
541
|
+
/** The identification type and identity data. */
|
|
542
|
+
identity?: IdentificationData;
|
|
543
|
+
/** Details related to the account */
|
|
544
|
+
accountInfo?: AccountInfo;
|
|
545
|
+
}
|
|
546
|
+
interface EventMetadata extends BaseEventMetadata {
|
|
547
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
548
|
+
_id?: string;
|
|
549
|
+
/**
|
|
550
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
551
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
552
|
+
*/
|
|
553
|
+
entityFqdn?: string;
|
|
554
|
+
/**
|
|
555
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
556
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
557
|
+
*/
|
|
558
|
+
slug?: string;
|
|
559
|
+
/** ID of the entity associated with the event. */
|
|
560
|
+
entityId?: string;
|
|
561
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
562
|
+
eventTime?: Date | null;
|
|
563
|
+
/**
|
|
564
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
565
|
+
* (for example, GDPR).
|
|
566
|
+
*/
|
|
567
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
568
|
+
/** If present, indicates the action that triggered the event. */
|
|
569
|
+
originatedFrom?: string | null;
|
|
570
|
+
/**
|
|
571
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number.
|
|
572
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
573
|
+
*/
|
|
574
|
+
entityEventSequence?: string | null;
|
|
575
|
+
accountInfo?: AccountInfoMetadata;
|
|
576
|
+
}
|
|
577
|
+
interface AccountInfoMetadata {
|
|
578
|
+
/** ID of the Wix account associated with the event */
|
|
579
|
+
accountId: string;
|
|
580
|
+
/** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
|
|
581
|
+
siteId?: string;
|
|
582
|
+
/** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
|
|
583
|
+
parentAccountId?: string;
|
|
584
|
+
}
|
|
585
|
+
interface CommentCreatedEnvelope {
|
|
586
|
+
entity: Comment;
|
|
587
|
+
metadata: EventMetadata;
|
|
588
|
+
}
|
|
589
|
+
/** @permissionId partners:feedback:v1:comment:read_events
|
|
590
|
+
* @webhook
|
|
591
|
+
* @eventType wix.partners.feedback.v1.comment_created
|
|
592
|
+
* @slug created
|
|
593
|
+
* @documentationMaturity preview
|
|
594
|
+
*/
|
|
595
|
+
declare function onCommentCreated(handler: (event: CommentCreatedEnvelope) => void | Promise<void>): void;
|
|
596
|
+
interface CommentDeletedEnvelope {
|
|
597
|
+
entity: Comment;
|
|
598
|
+
metadata: EventMetadata;
|
|
599
|
+
}
|
|
600
|
+
/** @permissionId partners:feedback:v1:comment:read_events
|
|
601
|
+
* @webhook
|
|
602
|
+
* @eventType wix.partners.feedback.v1.comment_deleted
|
|
603
|
+
* @slug deleted
|
|
604
|
+
* @documentationMaturity preview
|
|
605
|
+
*/
|
|
606
|
+
declare function onCommentDeleted(handler: (event: CommentDeletedEnvelope) => void | Promise<void>): void;
|
|
607
|
+
interface CommentUpdatedEnvelope {
|
|
608
|
+
entity: Comment;
|
|
609
|
+
metadata: EventMetadata;
|
|
610
|
+
/** @hidden */
|
|
611
|
+
modifiedFields: Record<string, any>;
|
|
612
|
+
}
|
|
613
|
+
/** @permissionId partners:feedback:v1:comment:read_events
|
|
614
|
+
* @webhook
|
|
615
|
+
* @eventType wix.partners.feedback.v1.comment_updated
|
|
616
|
+
* @slug updated
|
|
617
|
+
* @documentationMaturity preview
|
|
618
|
+
*/
|
|
619
|
+
declare function onCommentUpdated(handler: (event: CommentUpdatedEnvelope) => void | Promise<void>): void;
|
|
530
620
|
/**
|
|
531
621
|
* Retrieves a Comment.
|
|
532
622
|
* @param commentId - ID of the Comment to retrieve.
|
|
533
|
-
* @
|
|
623
|
+
* @public
|
|
534
624
|
* @documentationMaturity preview
|
|
535
625
|
* @requiredField commentId
|
|
536
626
|
* @permissionId partners:feedback:v1:comment:get_comment
|
|
@@ -549,7 +639,7 @@ declare function getComment(commentId: string): Promise<NonNullablePaths<Comment
|
|
|
549
639
|
* [1]: https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging
|
|
550
640
|
* [2]: https://dev.wix.com/docs/rest/articles/getting-started/api-query-language
|
|
551
641
|
* @param query - Query options.
|
|
552
|
-
* @
|
|
642
|
+
* @public
|
|
553
643
|
* @documentationMaturity preview
|
|
554
644
|
* @requiredField query
|
|
555
645
|
* @permissionId partners:feedback:v1:comment:query_comments
|
|
@@ -568,7 +658,7 @@ declare function queryComments(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
568
658
|
* overwrites.
|
|
569
659
|
* @param commentId - ID of the Comment to triage.
|
|
570
660
|
* @param status - Status to set on the Comment.
|
|
571
|
-
* @
|
|
661
|
+
* @public
|
|
572
662
|
* @documentationMaturity preview
|
|
573
663
|
* @requiredField commentId
|
|
574
664
|
* @requiredField options
|
|
@@ -588,7 +678,7 @@ interface UpdateCommentStatusOptions {
|
|
|
588
678
|
*
|
|
589
679
|
* Deleting a Comment also deletes its replies.
|
|
590
680
|
* @param commentId - ID of the Comment to delete.
|
|
591
|
-
* @
|
|
681
|
+
* @public
|
|
592
682
|
* @documentationMaturity preview
|
|
593
683
|
* @requiredField commentId
|
|
594
684
|
* @permissionId partners:feedback:v1:comment:delete_comment
|
|
@@ -603,7 +693,7 @@ declare function deleteComment(commentId: string): Promise<void>;
|
|
|
603
693
|
* user identity.
|
|
604
694
|
* @param commentId - ID of the Comment to reply to.
|
|
605
695
|
* @param reply - The reply to add. Only `message` is honored.
|
|
606
|
-
* @
|
|
696
|
+
* @public
|
|
607
697
|
* @documentationMaturity preview
|
|
608
698
|
* @requiredField commentId
|
|
609
699
|
* @requiredField options
|
|
@@ -626,7 +716,7 @@ interface CreateCommentReplyOptions {
|
|
|
626
716
|
* indexes shift when a reply is deleted, the Comment's current `revision` must be passed; a stale
|
|
627
717
|
* `revision` is rejected rather than applied to whichever reply now sits at that index.
|
|
628
718
|
* @param message - New text for the reply.
|
|
629
|
-
* @
|
|
719
|
+
* @public
|
|
630
720
|
* @documentationMaturity preview
|
|
631
721
|
* @requiredField identifiers
|
|
632
722
|
* @requiredField identifiers.commentId
|
|
@@ -661,7 +751,7 @@ interface UpdateCommentReplyOptions {
|
|
|
661
751
|
* indexes shift when a reply is deleted, the Comment's current `revision` must be passed; a stale
|
|
662
752
|
* `revision` is rejected rather than applied to whichever reply now sits at that index.
|
|
663
753
|
* @param revision - Current revision of the Comment.
|
|
664
|
-
* @
|
|
754
|
+
* @public
|
|
665
755
|
* @documentationMaturity preview
|
|
666
756
|
* @requiredField identifiers
|
|
667
757
|
* @requiredField identifiers.commentId
|
|
@@ -682,4 +772,4 @@ interface DeleteCommentReplyIdentifiers {
|
|
|
682
772
|
replyIndex: number;
|
|
683
773
|
}
|
|
684
774
|
|
|
685
|
-
export { type AccountInfo, type ActionEvent, type Breakpoint, type Comment, type CommentLocation, type CommentReply, type CreateCommentReplyOptions, type CreateCommentReplyRequest, type CreateCommentReplyResponse, type CreateCommentRequest, type CreateCommentResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeleteCommentReplyIdentifiers, type DeleteCommentReplyRequest, type DeleteCommentReplyResponse, type DeleteCommentRequest, type DeleteCommentResponse, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type GetCommentRequest, type GetCommentResponse, type IdentificationData, type IdentificationDataIdOneOf, type MessageEnvelope, type Position, type QueryCommentsRequest, type QueryCommentsResponse, type RestoreInfo, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type UpdateCommentReplyIdentifiers, type UpdateCommentReplyOptions, type UpdateCommentReplyRequest, type UpdateCommentReplyResponse, type UpdateCommentRequest, type UpdateCommentResponse, type UpdateCommentStatusOptions, type UpdateCommentStatusRequest, type UpdateCommentStatusResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, createCommentReply, deleteComment, deleteCommentReply, getComment, queryComments, updateCommentReply, updateCommentStatus };
|
|
775
|
+
export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, type BaseEventMetadata, type Breakpoint, type Comment, type CommentCreatedEnvelope, type CommentDeletedEnvelope, type CommentLocation, type CommentReply, type CommentUpdatedEnvelope, type CreateCommentReplyOptions, type CreateCommentReplyRequest, type CreateCommentReplyResponse, type CreateCommentRequest, type CreateCommentResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DeleteCommentReplyIdentifiers, type DeleteCommentReplyRequest, type DeleteCommentReplyResponse, type DeleteCommentRequest, type DeleteCommentResponse, type DomainEvent, type DomainEventBodyOneOf, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type GetCommentRequest, type GetCommentResponse, type IdentificationData, type IdentificationDataIdOneOf, type MessageEnvelope, type Position, type QueryCommentsRequest, type QueryCommentsResponse, type RestoreInfo, SortOrder, type SortOrderWithLiterals, type Sorting, Status, type StatusWithLiterals, type UpdateCommentReplyIdentifiers, type UpdateCommentReplyOptions, type UpdateCommentReplyRequest, type UpdateCommentReplyResponse, type UpdateCommentRequest, type UpdateCommentResponse, type UpdateCommentStatusOptions, type UpdateCommentStatusRequest, type UpdateCommentStatusResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, createCommentReply, deleteComment, deleteCommentReply, getComment, onCommentCreated, onCommentDeleted, onCommentUpdated, queryComments, updateCommentReply, updateCommentStatus };
|
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.2",
|
|
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": "50d854e74f152b188cb05d5695a80eec09865f0acbe5167623ab6842"
|
|
54
54
|
}
|