@bid-scents/shared-sdk 1.0.4 → 1.0.6
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/README.md +1 -1
- package/dist/api/index.d.ts +66 -1
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +17 -0
- package/dist/api/models/ActionContent.d.ts +12 -0
- package/dist/api/models/ActionContent.d.ts.map +1 -0
- package/dist/api/models/Auction.d.ts +16 -0
- package/dist/api/models/Auction.d.ts.map +1 -0
- package/dist/api/models/Auction.js +1 -0
- package/dist/api/models/AuctionDetails.d.ts +36 -0
- package/dist/api/models/AuctionDetails.d.ts.map +1 -0
- package/dist/api/models/AuctionDetails.js +1 -0
- package/dist/api/models/AuctionStatus.d.ts +7 -0
- package/dist/api/models/AuctionStatus.d.ts.map +1 -0
- package/dist/api/models/AuctionStatus.js +11 -0
- package/dist/api/models/Bid.d.ts +9 -0
- package/dist/api/models/Bid.d.ts.map +1 -0
- package/dist/api/models/Bid.js +1 -0
- package/dist/api/models/BidDetails.d.ts +23 -0
- package/dist/api/models/BidDetails.d.ts.map +1 -0
- package/dist/api/models/BidDetails.js +1 -0
- package/dist/api/models/BidRequest.d.ts +10 -0
- package/dist/api/models/BidRequest.d.ts.map +1 -0
- package/dist/api/models/BidRequest.js +1 -0
- package/dist/api/models/BidResponse.d.ts +26 -0
- package/dist/api/models/BidResponse.d.ts.map +1 -0
- package/dist/api/models/BidResponse.js +1 -0
- package/dist/api/models/CommentDetails.d.ts +23 -0
- package/dist/api/models/CommentDetails.d.ts.map +1 -0
- package/dist/api/models/CommentDetails.js +1 -0
- package/dist/api/models/CommentRequest.d.ts +10 -0
- package/dist/api/models/CommentRequest.d.ts.map +1 -0
- package/dist/api/models/CommentRequest.js +1 -0
- package/dist/api/models/CommentResponse.d.ts +18 -0
- package/dist/api/models/CommentResponse.d.ts.map +1 -0
- package/dist/api/models/CommentResponse.js +1 -0
- package/dist/api/models/ConversationResponse.d.ts +30 -0
- package/dist/api/models/ConversationResponse.d.ts.map +1 -0
- package/dist/api/models/ConversationResponse.js +1 -0
- package/dist/api/models/ConversationSummary.d.ts +34 -0
- package/dist/api/models/ConversationSummary.d.ts.map +1 -0
- package/dist/api/models/ConversationSummary.js +1 -0
- package/dist/api/models/ConversationType.d.ts +6 -0
- package/dist/api/models/ConversationType.d.ts.map +1 -0
- package/dist/api/models/ConversationType.js +10 -0
- package/dist/api/models/CreateListingRequest.d.ts +85 -0
- package/dist/api/models/CreateListingRequest.d.ts.map +1 -0
- package/dist/api/models/CreateListingRequest.js +1 -0
- package/dist/api/models/EditProfileRequest.d.ts +31 -0
- package/dist/api/models/EditProfileRequest.d.ts.map +1 -0
- package/dist/api/models/EditProfileRequest.js +1 -0
- package/dist/api/models/ErrorResData.d.ts +12 -0
- package/dist/api/models/ErrorResData.d.ts.map +1 -0
- package/dist/api/models/ErrorResData.js +1 -0
- package/dist/api/models/FavoriteResponse.d.ts +14 -0
- package/dist/api/models/FavoriteResponse.d.ts.map +1 -0
- package/dist/api/models/FavoriteResponse.js +1 -0
- package/dist/api/models/FileContent.d.ts +19 -0
- package/dist/api/models/FileContent.d.ts.map +1 -0
- package/dist/api/models/FileContent.js +1 -0
- package/dist/api/models/FilterParameter.d.ts +41 -0
- package/dist/api/models/FilterParameter.d.ts.map +1 -0
- package/dist/api/models/FilterParameter.js +1 -0
- package/dist/api/models/Listing.d.ts +25 -0
- package/dist/api/models/Listing.d.ts.map +1 -0
- package/dist/api/models/Listing.js +1 -0
- package/dist/api/models/ListingBoxCondition.d.ts +6 -0
- package/dist/api/models/ListingBoxCondition.d.ts.map +1 -0
- package/dist/api/models/ListingBoxCondition.js +10 -0
- package/dist/api/models/ListingCard.d.ts +4 -4
- package/dist/api/models/ListingCard.d.ts.map +1 -1
- package/dist/api/models/ListingCategory.d.ts +7 -0
- package/dist/api/models/ListingCategory.d.ts.map +1 -0
- package/dist/api/models/ListingCategory.js +11 -0
- package/dist/api/models/ListingDetails.d.ts +59 -0
- package/dist/api/models/ListingDetails.d.ts.map +1 -0
- package/dist/api/models/ListingDetails.js +1 -0
- package/dist/api/models/ListingDetailsResponse.d.ts +42 -0
- package/dist/api/models/ListingDetailsResponse.d.ts.map +1 -0
- package/dist/api/models/ListingDetailsResponse.js +1 -0
- package/dist/api/models/ListingPreview.d.ts +7 -0
- package/dist/api/models/ListingPreview.d.ts.map +1 -0
- package/dist/api/models/ListingPreview.js +1 -0
- package/dist/api/models/ListingResponse.d.ts +16 -0
- package/dist/api/models/ListingResponse.d.ts.map +1 -0
- package/dist/api/models/ListingResponse.js +1 -0
- package/dist/api/models/ListingSearchRequest.d.ts +30 -0
- package/dist/api/models/ListingSearchRequest.d.ts.map +1 -0
- package/dist/api/models/ListingSearchRequest.js +1 -0
- package/dist/api/models/ListingSortField.d.ts +12 -0
- package/dist/api/models/ListingSortField.d.ts.map +1 -0
- package/dist/api/models/ListingSortField.js +16 -0
- package/dist/api/models/ListingStatus.d.ts +8 -0
- package/dist/api/models/ListingStatus.d.ts.map +1 -0
- package/dist/api/models/ListingStatus.js +12 -0
- package/dist/api/models/ListingTab.d.ts +13 -0
- package/dist/api/models/ListingTab.d.ts.map +1 -0
- package/dist/api/models/ListingTab.js +1 -0
- package/dist/api/models/LoginResponse.d.ts +4 -0
- package/dist/api/models/LoginResponse.d.ts.map +1 -1
- package/dist/api/models/Message.d.ts +28 -0
- package/dist/api/models/Message.d.ts.map +1 -0
- package/dist/api/models/Message.js +1 -0
- package/dist/api/models/MessageActionType.d.ts +5 -0
- package/dist/api/models/MessageActionType.d.ts.map +1 -0
- package/dist/api/models/MessageActionType.js +9 -0
- package/dist/api/models/MessageReqData.d.ts +19 -0
- package/dist/api/models/MessageReqData.d.ts.map +1 -0
- package/dist/api/models/MessageReqData.js +1 -0
- package/dist/api/models/MessageResData.d.ts +32 -0
- package/dist/api/models/MessageResData.d.ts.map +1 -0
- package/dist/api/models/MessageResData.js +1 -0
- package/dist/api/models/MessageType.d.ts +7 -0
- package/dist/api/models/MessageType.d.ts.map +1 -0
- package/dist/api/models/MessageType.js +11 -0
- package/dist/api/models/MessagesSummary.d.ts +12 -0
- package/dist/api/models/MessagesSummary.d.ts.map +1 -0
- package/dist/api/models/MessagesSummary.js +1 -0
- package/dist/api/models/PaginationDetails.d.ts +19 -0
- package/dist/api/models/PaginationDetails.d.ts.map +1 -0
- package/dist/api/models/PaginationDetails.js +1 -0
- package/dist/api/models/Participant.d.ts +12 -0
- package/dist/api/models/Participant.d.ts.map +1 -0
- package/dist/api/models/Participant.js +1 -0
- package/dist/api/models/ProfileDetails.d.ts +51 -0
- package/dist/api/models/ProfileDetails.d.ts.map +1 -0
- package/dist/api/models/ProfileDetails.js +1 -0
- package/dist/api/models/ProfileResponse.d.ts +26 -0
- package/dist/api/models/ProfileResponse.d.ts.map +1 -0
- package/dist/api/models/ProfileResponse.js +1 -0
- package/dist/api/models/ProfileTab.d.ts +6 -0
- package/dist/api/models/ProfileTab.d.ts.map +1 -0
- package/dist/api/models/ProfileTab.js +10 -0
- package/dist/api/models/ReviewDetails.d.ts +28 -0
- package/dist/api/models/ReviewDetails.d.ts.map +1 -0
- package/dist/api/models/ReviewDetails.js +1 -0
- package/dist/api/models/ReviewSearchRequest.d.ts +24 -0
- package/dist/api/models/ReviewSearchRequest.d.ts.map +1 -0
- package/dist/api/models/ReviewSearchRequest.js +1 -0
- package/dist/api/models/ReviewSortField.d.ts +8 -0
- package/dist/api/models/ReviewSortField.d.ts.map +1 -0
- package/dist/api/models/ReviewSortField.js +12 -0
- package/dist/api/models/ReviewsTab.d.ts +25 -0
- package/dist/api/models/ReviewsTab.d.ts.map +1 -0
- package/dist/api/models/ReviewsTab.js +1 -0
- package/dist/api/models/RichActionContent.d.ts +13 -0
- package/dist/api/models/RichActionContent.d.ts.map +1 -0
- package/dist/api/models/RichActionContent.js +1 -0
- package/dist/api/models/RichTextContent.d.ts +12 -0
- package/dist/api/models/RichTextContent.d.ts.map +1 -0
- package/dist/api/models/RichTextContent.js +1 -0
- package/dist/api/models/SearchRequest.d.ts +28 -0
- package/dist/api/models/SearchRequest.d.ts.map +1 -0
- package/dist/api/models/SearchRequest.js +1 -0
- package/dist/api/models/SearchResponse.d.ts +13 -0
- package/dist/api/models/SearchResponse.d.ts.map +1 -0
- package/dist/api/models/SearchResponse.js +1 -0
- package/dist/api/models/SortParameter.d.ts +15 -0
- package/dist/api/models/SortParameter.d.ts.map +1 -0
- package/dist/api/models/SortParameter.js +1 -0
- package/dist/api/models/TextContent.d.ts +11 -0
- package/dist/api/models/TextContent.d.ts.map +1 -0
- package/dist/api/models/TextContent.js +1 -0
- package/dist/api/models/TypingReqData.d.ts +11 -0
- package/dist/api/models/TypingReqData.d.ts.map +1 -0
- package/dist/api/models/TypingReqData.js +1 -0
- package/dist/api/models/TypingResData.d.ts +16 -0
- package/dist/api/models/TypingResData.d.ts.map +1 -0
- package/dist/api/models/TypingResData.js +1 -0
- package/dist/api/models/UpdateLastReadData.d.ts +15 -0
- package/dist/api/models/UpdateLastReadData.d.ts.map +1 -0
- package/dist/api/models/UpdateLastReadData.js +1 -0
- package/dist/api/models/UpdateListingRequest.d.ts +80 -0
- package/dist/api/models/UpdateListingRequest.d.ts.map +1 -0
- package/dist/api/models/UpdateListingRequest.js +1 -0
- package/dist/api/models/User.d.ts +1 -1
- package/dist/api/models/User.d.ts.map +1 -1
- package/dist/api/models/UserPreview.d.ts +6 -0
- package/dist/api/models/UserPreview.d.ts.map +1 -0
- package/dist/api/models/UserPreview.js +1 -0
- package/dist/api/models/WSErrorCode.d.ts +9 -0
- package/dist/api/models/WSErrorCode.d.ts.map +1 -0
- package/dist/api/models/WSErrorCode.js +13 -0
- package/dist/api/models/WSMessageRequest.d.ts +14 -0
- package/dist/api/models/WSMessageRequest.d.ts.map +1 -0
- package/dist/api/models/WSMessageRequest.js +1 -0
- package/dist/api/models/WSMessageResponse.d.ts +16 -0
- package/dist/api/models/WSMessageResponse.d.ts.map +1 -0
- package/dist/api/models/WSMessageResponse.js +1 -0
- package/dist/api/models/WSType.d.ts +10 -0
- package/dist/api/models/WSType.d.ts.map +1 -0
- package/dist/api/models/WSType.js +14 -0
- package/dist/api/services/AuctionsService.d.ts +15 -0
- package/dist/api/services/AuctionsService.d.ts.map +1 -0
- package/dist/api/services/AuctionsService.js +26 -0
- package/dist/api/services/AuthService.d.ts +1 -1
- package/dist/api/services/AuthService.js +1 -1
- package/dist/api/services/DashboardService.d.ts +37 -0
- package/dist/api/services/DashboardService.d.ts.map +1 -0
- package/dist/api/services/DashboardService.js +79 -0
- package/dist/api/services/ListingService.d.ts +93 -0
- package/dist/api/services/ListingService.d.ts.map +1 -0
- package/dist/api/services/ListingService.js +196 -0
- package/dist/api/services/MessageService.d.ts +65 -0
- package/dist/api/services/MessageService.d.ts.map +1 -0
- package/dist/api/services/MessageService.js +128 -0
- package/dist/api/services/ProfileService.d.ts +74 -0
- package/dist/api/services/ProfileService.d.ts.map +1 -0
- package/dist/api/services/ProfileService.js +149 -0
- package/dist/utils/validation/create-listing-schema.d.ts +391 -0
- package/dist/utils/validation/create-listing-schema.d.ts.map +1 -0
- package/dist/utils/validation/create-listing-schema.js +125 -0
- package/package.json +1 -1
- package/dist/api/models/Seller.d.ts +0 -11
- package/dist/api/models/Seller.d.ts.map +0 -1
- /package/dist/api/models/{Seller.js → ActionContent.js} +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { ActionContent } from './ActionContent';
|
|
2
|
+
import type { FileContent } from './FileContent';
|
|
3
|
+
import type { MessageType } from './MessageType';
|
|
4
|
+
import type { TextContent } from './TextContent';
|
|
5
|
+
export type MessageReqData = {
|
|
6
|
+
/**
|
|
7
|
+
* ID of the conversation
|
|
8
|
+
*/
|
|
9
|
+
conversation_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* Type of the message content
|
|
12
|
+
*/
|
|
13
|
+
content_type: MessageType;
|
|
14
|
+
/**
|
|
15
|
+
* Content of the message
|
|
16
|
+
*/
|
|
17
|
+
content: (TextContent | FileContent | ActionContent);
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=MessageReqData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageReqData.d.ts","sourceRoot":"","sources":["../../../src/api/models/MessageReqData.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,OAAO,EAAE,CAAC,WAAW,GAAG,WAAW,GAAG,aAAa,CAAC,CAAC;CACxD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { FileContent } from './FileContent';
|
|
2
|
+
import type { MessageType } from './MessageType';
|
|
3
|
+
import type { RichActionContent } from './RichActionContent';
|
|
4
|
+
import type { RichTextContent } from './RichTextContent';
|
|
5
|
+
import type { UserPreview } from './UserPreview';
|
|
6
|
+
export type MessageResData = {
|
|
7
|
+
/**
|
|
8
|
+
* Unique identifier for the message
|
|
9
|
+
*/
|
|
10
|
+
id: string;
|
|
11
|
+
/**
|
|
12
|
+
* ID of the conversation
|
|
13
|
+
*/
|
|
14
|
+
conversation_id: string;
|
|
15
|
+
/**
|
|
16
|
+
* Type of the message content
|
|
17
|
+
*/
|
|
18
|
+
content_type: MessageType;
|
|
19
|
+
/**
|
|
20
|
+
* Content of the message
|
|
21
|
+
*/
|
|
22
|
+
content: (RichTextContent | FileContent | RichActionContent);
|
|
23
|
+
/**
|
|
24
|
+
* Information about the user who sent the message
|
|
25
|
+
*/
|
|
26
|
+
sender: UserPreview;
|
|
27
|
+
/**
|
|
28
|
+
* Timestamp of when the message was sent, in ISO 8601 format
|
|
29
|
+
*/
|
|
30
|
+
created_at: string;
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=MessageResData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageResData.d.ts","sourceRoot":"","sources":["../../../src/api/models/MessageResData.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,OAAO,EAAE,CAAC,eAAe,GAAG,WAAW,GAAG,iBAAiB,CAAC,CAAC;IAC7D;;OAEG;IACH,MAAM,EAAE,WAAW,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageType.d.ts","sourceRoot":"","sources":["../../../src/api/models/MessageType.ts"],"names":[],"mappings":"AAIA,oBAAY,WAAW;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,MAAM,WAAW;CACpB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export var MessageType;
|
|
6
|
+
(function (MessageType) {
|
|
7
|
+
MessageType["TEXT"] = "TEXT";
|
|
8
|
+
MessageType["ACTION"] = "ACTION";
|
|
9
|
+
MessageType["FILE"] = "FILE";
|
|
10
|
+
MessageType["SYSTEM"] = "SYSTEM";
|
|
11
|
+
})(MessageType || (MessageType = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ConversationSummary } from './ConversationSummary';
|
|
2
|
+
export type MessagesSummary = {
|
|
3
|
+
/**
|
|
4
|
+
* Total number of unread messages across all conversations
|
|
5
|
+
*/
|
|
6
|
+
total_unread: number;
|
|
7
|
+
/**
|
|
8
|
+
* List of conversations with their summaries in order of recency
|
|
9
|
+
*/
|
|
10
|
+
conversations: Array<ConversationSummary>;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=MessagesSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessagesSummary.d.ts","sourceRoot":"","sources":["../../../src/api/models/MessagesSummary.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,MAAM,MAAM,eAAe,GAAG;IAC1B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,aAAa,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;CAC7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export type PaginationDetails = {
|
|
2
|
+
/**
|
|
3
|
+
* Page number of the result
|
|
4
|
+
*/
|
|
5
|
+
page: number;
|
|
6
|
+
/**
|
|
7
|
+
* Total number of results found for the query
|
|
8
|
+
*/
|
|
9
|
+
found: number;
|
|
10
|
+
/**
|
|
11
|
+
* Total number of pages for this query
|
|
12
|
+
*/
|
|
13
|
+
total_pages: number;
|
|
14
|
+
/**
|
|
15
|
+
* Number of results per page
|
|
16
|
+
*/
|
|
17
|
+
per_page: number;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=PaginationDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaginationDetails.d.ts","sourceRoot":"","sources":["../../../src/api/models/PaginationDetails.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,iBAAiB,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { UserPreview } from './UserPreview';
|
|
2
|
+
export type Participant = {
|
|
3
|
+
/**
|
|
4
|
+
* Preview of the participant's user information
|
|
5
|
+
*/
|
|
6
|
+
user: UserPreview;
|
|
7
|
+
/**
|
|
8
|
+
* Timestamp when the participant last read the conversation, in ISO 8601 format
|
|
9
|
+
*/
|
|
10
|
+
last_read_at?: (string | null);
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=Participant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Participant.d.ts","sourceRoot":"","sources":["../../../src/api/models/Participant.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,WAAW,GAAG;IACtB;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;IAClB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAClC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export type ProfileDetails = {
|
|
2
|
+
/**
|
|
3
|
+
* Unique identifier for the user
|
|
4
|
+
*/
|
|
5
|
+
id: string;
|
|
6
|
+
/**
|
|
7
|
+
* Name of the user
|
|
8
|
+
*/
|
|
9
|
+
name: string;
|
|
10
|
+
/**
|
|
11
|
+
* Username of the user
|
|
12
|
+
*/
|
|
13
|
+
username: string;
|
|
14
|
+
/**
|
|
15
|
+
* URL to the user's profile picture
|
|
16
|
+
*/
|
|
17
|
+
profile_picture?: (string | null);
|
|
18
|
+
/**
|
|
19
|
+
* URL to the user's cover image
|
|
20
|
+
*/
|
|
21
|
+
cover_image?: (string | null);
|
|
22
|
+
/**
|
|
23
|
+
* Short biography of the user
|
|
24
|
+
*/
|
|
25
|
+
bio?: (string | null);
|
|
26
|
+
/**
|
|
27
|
+
* Location of the user
|
|
28
|
+
*/
|
|
29
|
+
location?: (string | null);
|
|
30
|
+
/**
|
|
31
|
+
* Date when the user joined the platform, in ISO format
|
|
32
|
+
*/
|
|
33
|
+
joined_at: string;
|
|
34
|
+
/**
|
|
35
|
+
* Average rating of the user based on reviews
|
|
36
|
+
*/
|
|
37
|
+
average_rating?: (number | null);
|
|
38
|
+
/**
|
|
39
|
+
* Number of followers the user has
|
|
40
|
+
*/
|
|
41
|
+
follower_count: number;
|
|
42
|
+
/**
|
|
43
|
+
* Number of users the user is following
|
|
44
|
+
*/
|
|
45
|
+
following_count: number;
|
|
46
|
+
/**
|
|
47
|
+
* Indicates whether the current user is following this user
|
|
48
|
+
*/
|
|
49
|
+
is_following: boolean;
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=ProfileDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileDetails.d.ts","sourceRoot":"","sources":["../../../src/api/models/ProfileDetails.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC9B;;OAEG;IACH,GAAG,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC3B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACjC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;CACzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ListingTab } from './ListingTab';
|
|
2
|
+
import type { ProfileDetails } from './ProfileDetails';
|
|
3
|
+
import type { ReviewsTab } from './ReviewsTab';
|
|
4
|
+
export type ProfileResponse = {
|
|
5
|
+
/**
|
|
6
|
+
* Profile details of the user
|
|
7
|
+
*/
|
|
8
|
+
profile: ProfileDetails;
|
|
9
|
+
/**
|
|
10
|
+
* Active listings of the user
|
|
11
|
+
*/
|
|
12
|
+
active_listings?: (ListingTab | null);
|
|
13
|
+
/**
|
|
14
|
+
* Featured listings of the user
|
|
15
|
+
*/
|
|
16
|
+
featured_listings?: (ListingTab | null);
|
|
17
|
+
/**
|
|
18
|
+
* Sold listings of the user
|
|
19
|
+
*/
|
|
20
|
+
sold_listings?: (ListingTab | null);
|
|
21
|
+
/**
|
|
22
|
+
* Reviews received by the user
|
|
23
|
+
*/
|
|
24
|
+
reviews?: (ReviewsTab | null);
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=ProfileResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/ProfileResponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,MAAM,MAAM,eAAe,GAAG;IAC1B;;OAEG;IACH,OAAO,EAAE,cAAc,CAAC;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IACtC;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IACxC;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;CACjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileTab.d.ts","sourceRoot":"","sources":["../../../src/api/models/ProfileTab.ts"],"names":[],"mappings":"AAIA,oBAAY,UAAU;IAClB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,IAAI,SAAS;CAChB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export var ProfileTab;
|
|
6
|
+
(function (ProfileTab) {
|
|
7
|
+
ProfileTab["ACTIVE"] = "active";
|
|
8
|
+
ProfileTab["FEATURED"] = "featured";
|
|
9
|
+
ProfileTab["SOLD"] = "sold";
|
|
10
|
+
})(ProfileTab || (ProfileTab = {}));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { UserPreview } from './UserPreview';
|
|
2
|
+
export type ReviewDetails = {
|
|
3
|
+
/**
|
|
4
|
+
* Unique identifier for the review
|
|
5
|
+
*/
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* ID of the listing being reviewed. None if deleted
|
|
9
|
+
*/
|
|
10
|
+
listing_id?: (string | null);
|
|
11
|
+
/**
|
|
12
|
+
* Content of the review
|
|
13
|
+
*/
|
|
14
|
+
comment: string;
|
|
15
|
+
/**
|
|
16
|
+
* Rating given in the review, from 0 to 5
|
|
17
|
+
*/
|
|
18
|
+
rating: number;
|
|
19
|
+
/**
|
|
20
|
+
* User who wrote the review
|
|
21
|
+
*/
|
|
22
|
+
reviewer: (UserPreview | null);
|
|
23
|
+
/**
|
|
24
|
+
* Date when the review was written, in ISO format
|
|
25
|
+
*/
|
|
26
|
+
reviewed_at: string;
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=ReviewDetails.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReviewDetails.d.ts","sourceRoot":"","sources":["../../../src/api/models/ReviewDetails.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC7B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC;IAC/B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { ReviewSortField } from './ReviewSortField';
|
|
2
|
+
export type ReviewSearchRequest = {
|
|
3
|
+
/**
|
|
4
|
+
* Minimum rating to filter reviews by
|
|
5
|
+
*/
|
|
6
|
+
min_rating?: number;
|
|
7
|
+
/**
|
|
8
|
+
* Field to sort the reviews by
|
|
9
|
+
*/
|
|
10
|
+
sort?: ReviewSortField;
|
|
11
|
+
/**
|
|
12
|
+
* Whether to sort in descending order
|
|
13
|
+
*/
|
|
14
|
+
descending?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Number of reviews to return per page
|
|
17
|
+
*/
|
|
18
|
+
per_page?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Page number for pagination
|
|
21
|
+
*/
|
|
22
|
+
page?: number;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=ReviewSearchRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReviewSearchRequest.d.ts","sourceRoot":"","sources":["../../../src/api/models/ReviewSearchRequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,MAAM,MAAM,mBAAmB,GAAG;IAC9B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReviewSortField.d.ts","sourceRoot":"","sources":["../../../src/api/models/ReviewSortField.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,oBAAY,eAAe;IACvB,MAAM,WAAW;IACjB,UAAU,eAAe;CAC5B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* Enum for sorting fields in review search queries.
|
|
7
|
+
*/
|
|
8
|
+
export var ReviewSortField;
|
|
9
|
+
(function (ReviewSortField) {
|
|
10
|
+
ReviewSortField["RATING"] = "rating";
|
|
11
|
+
ReviewSortField["CREATED_AT"] = "created_at";
|
|
12
|
+
})(ReviewSortField || (ReviewSortField = {}));
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { PaginationDetails } from './PaginationDetails';
|
|
2
|
+
import type { ReviewDetails } from './ReviewDetails';
|
|
3
|
+
export type ReviewsTab = {
|
|
4
|
+
/**
|
|
5
|
+
* Average rating of the user based on reviews
|
|
6
|
+
*/
|
|
7
|
+
average_rating: number;
|
|
8
|
+
/**
|
|
9
|
+
* Total number of reviews received by the user
|
|
10
|
+
*/
|
|
11
|
+
total_reviews: number;
|
|
12
|
+
/**
|
|
13
|
+
* List of review counts for different rating levels. Start with 0 stars and end with 5 stars
|
|
14
|
+
*/
|
|
15
|
+
review_counts: Array<number>;
|
|
16
|
+
/**
|
|
17
|
+
* List of reviews for the user
|
|
18
|
+
*/
|
|
19
|
+
reviews: Array<ReviewDetails>;
|
|
20
|
+
/**
|
|
21
|
+
* Pagination details for the reviews
|
|
22
|
+
*/
|
|
23
|
+
pagination_data: PaginationDetails;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=ReviewsTab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReviewsTab.d.ts","sourceRoot":"","sources":["../../../src/api/models/ReviewsTab.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,MAAM,MAAM,UAAU,GAAG;IACrB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,aAAa,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,OAAO,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAC9B;;OAEG;IACH,eAAe,EAAE,iBAAiB,CAAC;CACtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ListingPreview } from './ListingPreview';
|
|
2
|
+
import type { MessageActionType } from './MessageActionType';
|
|
3
|
+
export type RichActionContent = {
|
|
4
|
+
/**
|
|
5
|
+
* Type of the action
|
|
6
|
+
*/
|
|
7
|
+
action_type: MessageActionType;
|
|
8
|
+
/**
|
|
9
|
+
* Listing associated with the action
|
|
10
|
+
*/
|
|
11
|
+
listing?: (ListingPreview | null);
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=RichActionContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RichActionContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/RichActionContent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,MAAM,MAAM,iBAAiB,GAAG;IAC5B;;OAEG;IACH,WAAW,EAAE,iBAAiB,CAAC;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CACrC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ListingPreview } from './ListingPreview';
|
|
2
|
+
export type RichTextContent = {
|
|
3
|
+
/**
|
|
4
|
+
* Rich text content of the message
|
|
5
|
+
*/
|
|
6
|
+
text: string;
|
|
7
|
+
/**
|
|
8
|
+
* Listing associated with the message if applicable
|
|
9
|
+
*/
|
|
10
|
+
listing?: (ListingPreview | null);
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=RichTextContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RichTextContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/RichTextContent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,MAAM,MAAM,eAAe,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CACrC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { FilterParameter } from './FilterParameter';
|
|
2
|
+
import type { SortParameter } from './SortParameter';
|
|
3
|
+
/**
|
|
4
|
+
* Request model for searching listings.
|
|
5
|
+
*/
|
|
6
|
+
export type SearchRequest = {
|
|
7
|
+
/**
|
|
8
|
+
* Search query string
|
|
9
|
+
*/
|
|
10
|
+
'q'?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Filter parameters for the search
|
|
13
|
+
*/
|
|
14
|
+
filters?: (FilterParameter | null);
|
|
15
|
+
/**
|
|
16
|
+
* Sorting parameters for the search results
|
|
17
|
+
*/
|
|
18
|
+
sort?: SortParameter;
|
|
19
|
+
/**
|
|
20
|
+
* Number of results per page
|
|
21
|
+
*/
|
|
22
|
+
per_page?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Page number for pagination
|
|
25
|
+
*/
|
|
26
|
+
page?: number;
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=SearchRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchRequest.d.ts","sourceRoot":"","sources":["../../../src/api/models/SearchRequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IACnC;;OAEG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ListingCard } from './ListingCard';
|
|
2
|
+
import type { PaginationDetails } from './PaginationDetails';
|
|
3
|
+
export type SearchResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* List for the data for the listing cards in the result
|
|
6
|
+
*/
|
|
7
|
+
listings: Array<ListingCard>;
|
|
8
|
+
/**
|
|
9
|
+
* Pagination metadata for the results
|
|
10
|
+
*/
|
|
11
|
+
pagination_data: PaginationDetails;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=SearchResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/SearchResponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAC7B;;OAEG;IACH,eAAe,EAAE,iBAAiB,CAAC;CACtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ListingSortField } from './ListingSortField';
|
|
2
|
+
/**
|
|
3
|
+
* Model representing a sort parameter for search queries.
|
|
4
|
+
*/
|
|
5
|
+
export type SortParameter = {
|
|
6
|
+
/**
|
|
7
|
+
* Field to sort by
|
|
8
|
+
*/
|
|
9
|
+
field?: ListingSortField;
|
|
10
|
+
/**
|
|
11
|
+
* Whether to sort in descending order
|
|
12
|
+
*/
|
|
13
|
+
descending?: boolean;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=SortParameter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SortParameter.d.ts","sourceRoot":"","sources":["../../../src/api/models/SortParameter.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/TextContent.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG;IACtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAChC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypingReqData.d.ts","sourceRoot":"","sources":["../../../src/api/models/TypingReqData.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { UserPreview } from './UserPreview';
|
|
2
|
+
export type TypingResData = {
|
|
3
|
+
/**
|
|
4
|
+
* ID of the conversation
|
|
5
|
+
*/
|
|
6
|
+
conversation_id: string;
|
|
7
|
+
/**
|
|
8
|
+
* Indicates if the user is typing or stopped typing
|
|
9
|
+
*/
|
|
10
|
+
is_typing: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Information about the user who is typing
|
|
13
|
+
*/
|
|
14
|
+
user: UserPreview;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=TypingResData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypingResData.d.ts","sourceRoot":"","sources":["../../../src/api/models/TypingResData.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type UpdateLastReadData = {
|
|
2
|
+
/**
|
|
3
|
+
* ID of the conversation
|
|
4
|
+
*/
|
|
5
|
+
conversation_id: string;
|
|
6
|
+
/**
|
|
7
|
+
* ID of the user updating the last read timestamp
|
|
8
|
+
*/
|
|
9
|
+
user_id: string;
|
|
10
|
+
/**
|
|
11
|
+
* Timestamp of the last read, in ISO 8601 format
|
|
12
|
+
*/
|
|
13
|
+
last_read_at: string;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=UpdateLastReadData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateLastReadData.d.ts","sourceRoot":"","sources":["../../../src/api/models/UpdateLastReadData.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,kBAAkB,GAAG;IAC7B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|