@bid-scents/shared-sdk 1.0.8 → 1.1.0
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/dist/api/index.d.ts +22 -2
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +4 -0
- package/dist/api/models/AddTokenRequest.d.ts +7 -0
- package/dist/api/models/AddTokenRequest.d.ts.map +1 -0
- package/dist/api/models/AuctionExpiryContent.d.ts +20 -0
- package/dist/api/models/AuctionExpiryContent.d.ts.map +1 -0
- package/dist/api/models/BidResData.d.ts +24 -0
- package/dist/api/models/BidResData.d.ts.map +1 -0
- package/dist/api/models/BidResData.js +1 -0
- package/dist/api/models/BidResponse.d.ts +0 -4
- package/dist/api/models/BidResponse.d.ts.map +1 -1
- package/dist/api/models/CommentContent.d.ts +13 -0
- package/dist/api/models/CommentContent.d.ts.map +1 -0
- package/dist/api/models/CommentContent.js +1 -0
- package/dist/api/models/EditPreferencesRequest.d.ts +39 -0
- package/dist/api/models/EditPreferencesRequest.d.ts.map +1 -0
- package/dist/api/models/EditPreferencesRequest.js +1 -0
- package/dist/api/models/FollowedSellerListingContent.d.ts +13 -0
- package/dist/api/models/FollowedSellerListingContent.d.ts.map +1 -0
- package/dist/api/models/FollowedSellerListingContent.js +1 -0
- package/dist/api/models/FollowerContent.d.ts +8 -0
- package/dist/api/models/FollowerContent.d.ts.map +1 -0
- package/dist/api/models/FollowerContent.js +1 -0
- package/dist/api/models/ListingContent.d.ts +8 -0
- package/dist/api/models/ListingContent.d.ts.map +1 -0
- package/dist/api/models/ListingContent.js +1 -0
- package/dist/api/models/ListingDetails.d.ts +4 -0
- package/dist/api/models/ListingDetails.d.ts.map +1 -1
- package/dist/api/models/ListingPreview.d.ts +1 -0
- package/dist/api/models/ListingPreview.d.ts.map +1 -1
- package/dist/api/models/MessageContent.d.ts +20 -0
- package/dist/api/models/MessageContent.d.ts.map +1 -0
- package/dist/api/models/MessageContent.js +1 -0
- package/dist/api/models/{MessageReqData.d.ts → MessageRequest.d.ts} +3 -7
- package/dist/api/models/MessageRequest.d.ts.map +1 -0
- package/dist/api/models/MessageRequest.js +1 -0
- package/dist/api/models/NotificationData.d.ts +44 -0
- package/dist/api/models/NotificationData.d.ts.map +1 -0
- package/dist/api/models/NotificationData.js +1 -0
- package/dist/api/models/NotificationPriority.d.ts +6 -0
- package/dist/api/models/NotificationPriority.d.ts.map +1 -0
- package/dist/api/models/NotificationPriority.js +10 -0
- package/dist/api/models/NotificationResponse.d.ts +12 -0
- package/dist/api/models/NotificationResponse.d.ts.map +1 -0
- package/dist/api/models/NotificationResponse.js +1 -0
- package/dist/api/models/NotificationType.d.ts +16 -0
- package/dist/api/models/NotificationType.d.ts.map +1 -0
- package/dist/api/models/NotificationType.js +20 -0
- package/dist/api/models/OutbidContent.d.ts +16 -0
- package/dist/api/models/OutbidContent.d.ts.map +1 -0
- package/dist/api/models/OutbidContent.js +1 -0
- package/dist/api/models/PreferencesResponse.d.ts +39 -0
- package/dist/api/models/PreferencesResponse.d.ts.map +1 -0
- package/dist/api/models/PreferencesResponse.js +1 -0
- package/dist/api/models/WSBidResponse.d.ts +13 -0
- package/dist/api/models/WSBidResponse.d.ts.map +1 -0
- package/dist/api/models/WSBidResponse.js +1 -0
- package/dist/api/models/WSErrorCode.d.ts +0 -2
- package/dist/api/models/WSErrorCode.d.ts.map +1 -1
- package/dist/api/models/WSErrorCode.js +0 -2
- package/dist/api/models/WSExtensionResponse.d.ts +12 -0
- package/dist/api/models/WSExtensionResponse.d.ts.map +1 -0
- package/dist/api/models/WSExtensionResponse.js +1 -0
- package/dist/api/models/WSJoinResponse.d.ts +12 -0
- package/dist/api/models/WSJoinResponse.d.ts.map +1 -0
- package/dist/api/models/WSJoinResponse.js +1 -0
- package/dist/api/models/WSType.d.ts +2 -1
- package/dist/api/models/WSType.d.ts.map +1 -1
- package/dist/api/models/WSType.js +1 -0
- package/dist/api/models/{WSMessageRequest.d.ts → WSTypingRequest.d.ts} +3 -4
- package/dist/api/models/WSTypingRequest.d.ts.map +1 -0
- package/dist/api/models/WSTypingRequest.js +1 -0
- package/dist/api/services/AuctionsService.d.ts +10 -0
- package/dist/api/services/AuctionsService.d.ts.map +1 -1
- package/dist/api/services/AuctionsService.js +12 -0
- package/dist/api/services/MessageService.d.ts +12 -9
- package/dist/api/services/MessageService.d.ts.map +1 -1
- package/dist/api/services/MessageService.js +21 -12
- package/dist/api/services/NotificationsService.d.ts +47 -0
- package/dist/api/services/NotificationsService.d.ts.map +1 -0
- package/dist/api/services/NotificationsService.js +85 -0
- package/dist/api/services/PaymentsService.d.ts +12 -0
- package/dist/api/services/PaymentsService.d.ts.map +1 -0
- package/dist/api/services/PaymentsService.js +17 -0
- package/package.json +1 -1
- package/dist/api/models/MessageReqData.d.ts.map +0 -1
- package/dist/api/models/WSMessageRequest.d.ts.map +0 -1
- /package/dist/api/models/{MessageReqData.js → AddTokenRequest.js} +0 -0
- /package/dist/api/models/{WSMessageRequest.js → AuctionExpiryContent.js} +0 -0
package/dist/api/index.d.ts
CHANGED
|
@@ -3,14 +3,18 @@ export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
|
3
3
|
export { OpenAPI } from './core/OpenAPI';
|
|
4
4
|
export type { OpenAPIConfig } from './core/OpenAPI';
|
|
5
5
|
export type { ActionContent } from './models/ActionContent';
|
|
6
|
+
export type { AddTokenRequest } from './models/AddTokenRequest';
|
|
6
7
|
export type { Auction } from './models/Auction';
|
|
7
8
|
export type { AuctionDetails } from './models/AuctionDetails';
|
|
9
|
+
export type { AuctionExpiryContent } from './models/AuctionExpiryContent';
|
|
8
10
|
export { AuctionStatus } from './models/AuctionStatus';
|
|
9
11
|
export type { Bid } from './models/Bid';
|
|
10
12
|
export type { BidDetails } from './models/BidDetails';
|
|
11
13
|
export type { BidRequest } from './models/BidRequest';
|
|
14
|
+
export type { BidResData } from './models/BidResData';
|
|
12
15
|
export type { BidResponse } from './models/BidResponse';
|
|
13
16
|
export type { CheckUniqueUsernameResponse } from './models/CheckUniqueUsernameResponse';
|
|
17
|
+
export type { CommentContent } from './models/CommentContent';
|
|
14
18
|
export type { CommentDetails } from './models/CommentDetails';
|
|
15
19
|
export type { CommentRequest } from './models/CommentRequest';
|
|
16
20
|
export type { CommentResponse } from './models/CommentResponse';
|
|
@@ -18,17 +22,21 @@ export type { ConversationResponse } from './models/ConversationResponse';
|
|
|
18
22
|
export type { ConversationSummary } from './models/ConversationSummary';
|
|
19
23
|
export { ConversationType } from './models/ConversationType';
|
|
20
24
|
export type { CreateListingRequest } from './models/CreateListingRequest';
|
|
25
|
+
export type { EditPreferencesRequest } from './models/EditPreferencesRequest';
|
|
21
26
|
export type { EditProfileRequest } from './models/EditProfileRequest';
|
|
22
27
|
export type { ErrorResData } from './models/ErrorResData';
|
|
23
28
|
export type { FavoriteResponse } from './models/FavoriteResponse';
|
|
24
29
|
export type { FileContent } from './models/FileContent';
|
|
25
30
|
export type { FilterParameter } from './models/FilterParameter';
|
|
31
|
+
export type { FollowedSellerListingContent } from './models/FollowedSellerListingContent';
|
|
32
|
+
export type { FollowerContent } from './models/FollowerContent';
|
|
26
33
|
export type { HomepageResponse } from './models/HomepageResponse';
|
|
27
34
|
export type { HTTPValidationError } from './models/HTTPValidationError';
|
|
28
35
|
export type { Listing } from './models/Listing';
|
|
29
36
|
export { ListingBoxCondition } from './models/ListingBoxCondition';
|
|
30
37
|
export type { ListingCard } from './models/ListingCard';
|
|
31
38
|
export { ListingCategory } from './models/ListingCategory';
|
|
39
|
+
export type { ListingContent } from './models/ListingContent';
|
|
32
40
|
export type { ListingDetails } from './models/ListingDetails';
|
|
33
41
|
export type { ListingDetailsResponse } from './models/ListingDetailsResponse';
|
|
34
42
|
export type { ListingPreview } from './models/ListingPreview';
|
|
@@ -41,14 +49,21 @@ export { ListingType } from './models/ListingType';
|
|
|
41
49
|
export type { LoginResponse } from './models/LoginResponse';
|
|
42
50
|
export type { Message } from './models/Message';
|
|
43
51
|
export { MessageActionType } from './models/MessageActionType';
|
|
44
|
-
export type {
|
|
52
|
+
export type { MessageContent } from './models/MessageContent';
|
|
53
|
+
export type { MessageRequest } from './models/MessageRequest';
|
|
45
54
|
export type { MessageResData } from './models/MessageResData';
|
|
46
55
|
export type { MessagesSummary } from './models/MessagesSummary';
|
|
47
56
|
export { MessageType } from './models/MessageType';
|
|
57
|
+
export type { NotificationData } from './models/NotificationData';
|
|
58
|
+
export { NotificationPriority } from './models/NotificationPriority';
|
|
59
|
+
export type { NotificationResponse } from './models/NotificationResponse';
|
|
60
|
+
export { NotificationType } from './models/NotificationType';
|
|
48
61
|
export type { OnboardRequest } from './models/OnboardRequest';
|
|
49
62
|
export type { OnboardResponse } from './models/OnboardResponse';
|
|
63
|
+
export type { OutbidContent } from './models/OutbidContent';
|
|
50
64
|
export type { PaginationDetails } from './models/PaginationDetails';
|
|
51
65
|
export type { Participant } from './models/Participant';
|
|
66
|
+
export type { PreferencesResponse } from './models/PreferencesResponse';
|
|
52
67
|
export type { ProfileDetails } from './models/ProfileDetails';
|
|
53
68
|
export type { ProfileResponse } from './models/ProfileResponse';
|
|
54
69
|
export { ProfileTab } from './models/ProfileTab';
|
|
@@ -69,10 +84,13 @@ export type { UpdateListingRequest } from './models/UpdateListingRequest';
|
|
|
69
84
|
export type { User } from './models/User';
|
|
70
85
|
export type { UserPreview } from './models/UserPreview';
|
|
71
86
|
export type { ValidationError } from './models/ValidationError';
|
|
87
|
+
export type { WSBidResponse } from './models/WSBidResponse';
|
|
72
88
|
export { WSErrorCode } from './models/WSErrorCode';
|
|
73
|
-
export type {
|
|
89
|
+
export type { WSExtensionResponse } from './models/WSExtensionResponse';
|
|
90
|
+
export type { WSJoinResponse } from './models/WSJoinResponse';
|
|
74
91
|
export type { WSMessageResponse } from './models/WSMessageResponse';
|
|
75
92
|
export { WSType } from './models/WSType';
|
|
93
|
+
export type { WSTypingRequest } from './models/WSTypingRequest';
|
|
76
94
|
export { AuctionsService } from './services/AuctionsService';
|
|
77
95
|
export { AuthService } from './services/AuthService';
|
|
78
96
|
export { DashboardService } from './services/DashboardService';
|
|
@@ -80,5 +98,7 @@ export { DefaultService } from './services/DefaultService';
|
|
|
80
98
|
export { HomepageService } from './services/HomepageService';
|
|
81
99
|
export { ListingService } from './services/ListingService';
|
|
82
100
|
export { MessageService } from './services/MessageService';
|
|
101
|
+
export { NotificationsService } from './services/NotificationsService';
|
|
102
|
+
export { PaymentsService } from './services/PaymentsService';
|
|
83
103
|
export { ProfileService } from './services/ProfileService';
|
|
84
104
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/api/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/api/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC1E,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,YAAY,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAChD,YAAY,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,YAAY,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AACxC,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACxF,YAAY,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,YAAY,EAAE,cAAc,EAAE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1E,YAAY,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,YAAY,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,YAAY,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,YAAY,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,YAAY,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,YAAY,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,YAAY,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEhE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC"}
|
package/dist/api/index.js
CHANGED
|
@@ -14,6 +14,8 @@ export { ListingStatus } from './models/ListingStatus';
|
|
|
14
14
|
export { ListingType } from './models/ListingType';
|
|
15
15
|
export { MessageActionType } from './models/MessageActionType';
|
|
16
16
|
export { MessageType } from './models/MessageType';
|
|
17
|
+
export { NotificationPriority } from './models/NotificationPriority';
|
|
18
|
+
export { NotificationType } from './models/NotificationType';
|
|
17
19
|
export { ProfileTab } from './models/ProfileTab';
|
|
18
20
|
export { ReviewSortField } from './models/ReviewSortField';
|
|
19
21
|
export { WSErrorCode } from './models/WSErrorCode';
|
|
@@ -25,4 +27,6 @@ export { DefaultService } from './services/DefaultService';
|
|
|
25
27
|
export { HomepageService } from './services/HomepageService';
|
|
26
28
|
export { ListingService } from './services/ListingService';
|
|
27
29
|
export { MessageService } from './services/MessageService';
|
|
30
|
+
export { NotificationsService } from './services/NotificationsService';
|
|
31
|
+
export { PaymentsService } from './services/PaymentsService';
|
|
28
32
|
export { ProfileService } from './services/ProfileService';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddTokenRequest.d.ts","sourceRoot":"","sources":["../../../src/api/models/AddTokenRequest.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,eAAe,GAAG;IAC1B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ListingPreview } from './ListingPreview';
|
|
2
|
+
export type AuctionExpiryContent = {
|
|
3
|
+
/**
|
|
4
|
+
* Whether the user won the auction
|
|
5
|
+
*/
|
|
6
|
+
winner: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Whether the user is the seller of the listing
|
|
9
|
+
*/
|
|
10
|
+
seller?: (boolean | null);
|
|
11
|
+
/**
|
|
12
|
+
* Details of the listing that has expired
|
|
13
|
+
*/
|
|
14
|
+
listing: ListingPreview;
|
|
15
|
+
/**
|
|
16
|
+
* Winning bid amount if exists
|
|
17
|
+
*/
|
|
18
|
+
winning_bid?: (number | null);
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=AuctionExpiryContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuctionExpiryContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/AuctionExpiryContent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,MAAM,MAAM,oBAAoB,GAAG;IAC/B;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAC1B;;OAEG;IACH,OAAO,EAAE,cAAc,CAAC;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CACjC,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { UserPreview } from './UserPreview';
|
|
2
|
+
export type BidResData = {
|
|
3
|
+
/**
|
|
4
|
+
* Unique identifier for the bid
|
|
5
|
+
*/
|
|
6
|
+
id: string;
|
|
7
|
+
/**
|
|
8
|
+
* Amount of the bid
|
|
9
|
+
*/
|
|
10
|
+
amount: number;
|
|
11
|
+
/**
|
|
12
|
+
* Information about the user who placed the bid
|
|
13
|
+
*/
|
|
14
|
+
bidder: UserPreview;
|
|
15
|
+
/**
|
|
16
|
+
* Timestamp when the bid was placed, in ISO 8601 format
|
|
17
|
+
*/
|
|
18
|
+
created_at: string;
|
|
19
|
+
/**
|
|
20
|
+
* Total number of bids placed in the auction
|
|
21
|
+
*/
|
|
22
|
+
bid_count: number;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=BidResData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BidResData.d.ts","sourceRoot":"","sources":["../../../src/api/models/BidResData.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,UAAU,GAAG;IACrB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,WAAW,CAAC;IACpB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BidResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/BidResponse.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"BidResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/BidResponse.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACtB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ListingPreview } from './ListingPreview';
|
|
2
|
+
import type { UserPreview } from './UserPreview';
|
|
3
|
+
export type CommentContent = {
|
|
4
|
+
/**
|
|
5
|
+
* Details of the listing that received a comment
|
|
6
|
+
*/
|
|
7
|
+
listing: ListingPreview;
|
|
8
|
+
/**
|
|
9
|
+
* Details of the user who commented
|
|
10
|
+
*/
|
|
11
|
+
commenter: UserPreview;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=CommentContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommentContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/CommentContent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,OAAO,EAAE,cAAc,CAAC;IACxB;;OAEG;IACH,SAAS,EAAE,WAAW,CAAC;CAC1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export type EditPreferencesRequest = {
|
|
2
|
+
/**
|
|
3
|
+
* Someone favorites the user's listings
|
|
4
|
+
*/
|
|
5
|
+
listing_favorited?: (boolean | null);
|
|
6
|
+
/**
|
|
7
|
+
* User's favorite listing is edited
|
|
8
|
+
*/
|
|
9
|
+
favorite_listing_edited?: (boolean | null);
|
|
10
|
+
/**
|
|
11
|
+
* Someone bids on the user's listings
|
|
12
|
+
*/
|
|
13
|
+
listing_bid?: (boolean | null);
|
|
14
|
+
/**
|
|
15
|
+
* User has been outbid on an auction
|
|
16
|
+
*/
|
|
17
|
+
outbid?: (boolean | null);
|
|
18
|
+
/**
|
|
19
|
+
* Auction the user has bid in is 5 mins to expiry or has expired
|
|
20
|
+
*/
|
|
21
|
+
auction_expiry?: (boolean | null);
|
|
22
|
+
/**
|
|
23
|
+
* Auction user has bid on is extended
|
|
24
|
+
*/
|
|
25
|
+
auction_extension?: (boolean | null);
|
|
26
|
+
/**
|
|
27
|
+
* User gets a new follower
|
|
28
|
+
*/
|
|
29
|
+
new_follower?: (boolean | null);
|
|
30
|
+
/**
|
|
31
|
+
* User's listing gets a comment
|
|
32
|
+
*/
|
|
33
|
+
listing_comment?: (boolean | null);
|
|
34
|
+
/**
|
|
35
|
+
* User receives a message
|
|
36
|
+
*/
|
|
37
|
+
message?: (boolean | null);
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=EditPreferencesRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditPreferencesRequest.d.ts","sourceRoot":"","sources":["../../../src/api/models/EditPreferencesRequest.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,sBAAsB,GAAG;IACjC;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IACrC;;OAEG;IACH,uBAAuB,CAAC,EAAE,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAC3C;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAC/B;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAC1B;;OAEG;IACH,cAAc,CAAC,EAAE,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAClC;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAChC;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;CAC9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ListingPreview } from './ListingPreview';
|
|
2
|
+
import type { UserPreview } from './UserPreview';
|
|
3
|
+
export type FollowedSellerListingContent = {
|
|
4
|
+
/**
|
|
5
|
+
* Details of the listing from a followed seller
|
|
6
|
+
*/
|
|
7
|
+
listing: ListingPreview;
|
|
8
|
+
/**
|
|
9
|
+
* Details of the seller who posted the listing
|
|
10
|
+
*/
|
|
11
|
+
seller: UserPreview;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=FollowedSellerListingContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FollowedSellerListingContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/FollowedSellerListingContent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,4BAA4B,GAAG;IACvC;;OAEG;IACH,OAAO,EAAE,cAAc,CAAC;IACxB;;OAEG;IACH,MAAM,EAAE,WAAW,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FollowerContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/FollowerContent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,eAAe,GAAG;IAC1B;;OAEG;IACH,QAAQ,EAAE,WAAW,CAAC;CACzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ListingContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/ListingContent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,OAAO,EAAE,cAAc,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListingDetails.d.ts","sourceRoot":"","sources":["../../../src/api/models/ListingDetails.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,MAAM,EAAE,aAAa,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,eAAe,CAAC;IAC1B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,aAAa,EAAE,mBAAmB,CAAC;IACnC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,YAAY,EAAE,WAAW,CAAC;CAC7B,CAAC"}
|
|
1
|
+
{"version":3,"file":"ListingDetails.d.ts","sourceRoot":"","sources":["../../../src/api/models/ListingDetails.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,MAAM,EAAE,aAAa,CAAC;IACtB;;OAEG;IACH,QAAQ,EAAE,eAAe,CAAC;IAC1B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,aAAa,EAAE,mBAAmB,CAAC;IACnC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC7B;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,YAAY,EAAE,WAAW,CAAC;CAC7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListingPreview.d.ts","sourceRoot":"","sources":["../../../src/api/models/ListingPreview.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,cAAc,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAC/B,CAAC"}
|
|
1
|
+
{"version":3,"file":"ListingPreview.d.ts","sourceRoot":"","sources":["../../../src/api/models/ListingPreview.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,cAAc,GAAG;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAC/B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { UserPreview } from './UserPreview';
|
|
2
|
+
export type MessageContent = {
|
|
3
|
+
/**
|
|
4
|
+
* ID of the message
|
|
5
|
+
*/
|
|
6
|
+
message_id: string;
|
|
7
|
+
/**
|
|
8
|
+
* ID of the conversation
|
|
9
|
+
*/
|
|
10
|
+
conversation_id: string;
|
|
11
|
+
/**
|
|
12
|
+
* Details of the user who sent the message
|
|
13
|
+
*/
|
|
14
|
+
sender: UserPreview;
|
|
15
|
+
/**
|
|
16
|
+
* Timestamp when the message was sent
|
|
17
|
+
*/
|
|
18
|
+
sent_at: string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=MessageContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/MessageContent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,MAAM,EAAE,WAAW,CAAC;IACpB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,13 +2,9 @@ import type { ActionContent } from './ActionContent';
|
|
|
2
2
|
import type { FileContent } from './FileContent';
|
|
3
3
|
import type { MessageType } from './MessageType';
|
|
4
4
|
import type { TextContent } from './TextContent';
|
|
5
|
-
export type
|
|
5
|
+
export type MessageRequest = {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
conversation_id: string;
|
|
10
|
-
/**
|
|
11
|
-
* Type of the message content
|
|
7
|
+
* Type of message
|
|
12
8
|
*/
|
|
13
9
|
content_type: MessageType;
|
|
14
10
|
/**
|
|
@@ -16,4 +12,4 @@ export type MessageReqData = {
|
|
|
16
12
|
*/
|
|
17
13
|
content: (TextContent | FileContent | ActionContent);
|
|
18
14
|
};
|
|
19
|
-
//# sourceMappingURL=
|
|
15
|
+
//# sourceMappingURL=MessageRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageRequest.d.ts","sourceRoot":"","sources":["../../../src/api/models/MessageRequest.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,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,44 @@
|
|
|
1
|
+
import type { AuctionExpiryContent } from './AuctionExpiryContent';
|
|
2
|
+
import type { CommentContent } from './CommentContent';
|
|
3
|
+
import type { FollowedSellerListingContent } from './FollowedSellerListingContent';
|
|
4
|
+
import type { FollowerContent } from './FollowerContent';
|
|
5
|
+
import type { ListingContent } from './ListingContent';
|
|
6
|
+
import type { MessageContent } from './MessageContent';
|
|
7
|
+
import type { NotificationPriority } from './NotificationPriority';
|
|
8
|
+
import type { NotificationType } from './NotificationType';
|
|
9
|
+
import type { OutbidContent } from './OutbidContent';
|
|
10
|
+
export type NotificationData = {
|
|
11
|
+
/**
|
|
12
|
+
* The unique identifier of the notification
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
/**
|
|
16
|
+
* The type of notification
|
|
17
|
+
*/
|
|
18
|
+
type: NotificationType;
|
|
19
|
+
/**
|
|
20
|
+
* The title of the notification
|
|
21
|
+
*/
|
|
22
|
+
title: string;
|
|
23
|
+
/**
|
|
24
|
+
* The body text of the notification
|
|
25
|
+
*/
|
|
26
|
+
body: string;
|
|
27
|
+
/**
|
|
28
|
+
* The data associated with the notification
|
|
29
|
+
*/
|
|
30
|
+
content: (OutbidContent | MessageContent | FollowerContent | ListingContent | AuctionExpiryContent | CommentContent | FollowedSellerListingContent);
|
|
31
|
+
/**
|
|
32
|
+
* Whether the notification has been seen
|
|
33
|
+
*/
|
|
34
|
+
seen: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* The priority of the notification
|
|
37
|
+
*/
|
|
38
|
+
priority: NotificationPriority;
|
|
39
|
+
/**
|
|
40
|
+
* The timestamp when the notification was created
|
|
41
|
+
*/
|
|
42
|
+
created_at: string;
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=NotificationData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationData.d.ts","sourceRoot":"","sources":["../../../src/api/models/NotificationData.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,MAAM,MAAM,gBAAgB,GAAG;IAC3B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,gBAAgB,CAAC;IACvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,OAAO,EAAE,CAAC,aAAa,GAAG,cAAc,GAAG,eAAe,GAAG,cAAc,GAAG,oBAAoB,GAAG,cAAc,GAAG,4BAA4B,CAAC,CAAC;IACpJ;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IACd;;OAEG;IACH,QAAQ,EAAE,oBAAoB,CAAC;IAC/B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationPriority.d.ts","sourceRoot":"","sources":["../../../src/api/models/NotificationPriority.ts"],"names":[],"mappings":"AAIA,oBAAY,oBAAoB;IAC5B,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,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 NotificationPriority;
|
|
6
|
+
(function (NotificationPriority) {
|
|
7
|
+
NotificationPriority["LOW"] = "LOW";
|
|
8
|
+
NotificationPriority["MEDIUM"] = "MEDIUM";
|
|
9
|
+
NotificationPriority["HIGH"] = "HIGH";
|
|
10
|
+
})(NotificationPriority || (NotificationPriority = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { NotificationData } from './NotificationData';
|
|
2
|
+
export type NotificationResponse = {
|
|
3
|
+
/**
|
|
4
|
+
* List of notifications for the user
|
|
5
|
+
*/
|
|
6
|
+
notifications: Array<NotificationData>;
|
|
7
|
+
/**
|
|
8
|
+
* Count of unread notifications
|
|
9
|
+
*/
|
|
10
|
+
unseen_count: number;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=NotificationResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/NotificationResponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,MAAM,MAAM,oBAAoB,GAAG;IAC/B;;OAEG;IACH,aAAa,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACvC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare enum NotificationType {
|
|
2
|
+
LISTING_FAVORITED = "listing_favorited",
|
|
3
|
+
FAVORITE_LISTING_EDITED = "favorite_listing_edited",
|
|
4
|
+
LISTING_BID = "listing_bid",
|
|
5
|
+
OUTBID = "outbid",
|
|
6
|
+
AUCTION_EXPIRY = "auction_expiry",
|
|
7
|
+
AUCTION_EXTENSION = "auction_extension",
|
|
8
|
+
NEW_FOLLOWER = "new_follower",
|
|
9
|
+
FOLLOWED_SELLER_LISTING = "followed_seller_listing",
|
|
10
|
+
LISTING_COMMENT = "listing_comment",
|
|
11
|
+
PAYMENT_MADE = "payment_made",
|
|
12
|
+
RECEIPT_CONFIRMED = "receipt_confirmed",
|
|
13
|
+
MESSAGE = "message",
|
|
14
|
+
OVERRIDE = "override"
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=NotificationType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationType.d.ts","sourceRoot":"","sources":["../../../src/api/models/NotificationType.ts"],"names":[],"mappings":"AAIA,oBAAY,gBAAgB;IACxB,iBAAiB,sBAAsB;IACvC,uBAAuB,4BAA4B;IACnD,WAAW,gBAAgB;IAC3B,MAAM,WAAW;IACjB,cAAc,mBAAmB;IACjC,iBAAiB,sBAAsB;IACvC,YAAY,iBAAiB;IAC7B,uBAAuB,4BAA4B;IACnD,eAAe,oBAAoB;IACnC,YAAY,iBAAiB;IAC7B,iBAAiB,sBAAsB;IACvC,OAAO,YAAY;IACnB,QAAQ,aAAa;CACxB"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export var NotificationType;
|
|
6
|
+
(function (NotificationType) {
|
|
7
|
+
NotificationType["LISTING_FAVORITED"] = "listing_favorited";
|
|
8
|
+
NotificationType["FAVORITE_LISTING_EDITED"] = "favorite_listing_edited";
|
|
9
|
+
NotificationType["LISTING_BID"] = "listing_bid";
|
|
10
|
+
NotificationType["OUTBID"] = "outbid";
|
|
11
|
+
NotificationType["AUCTION_EXPIRY"] = "auction_expiry";
|
|
12
|
+
NotificationType["AUCTION_EXTENSION"] = "auction_extension";
|
|
13
|
+
NotificationType["NEW_FOLLOWER"] = "new_follower";
|
|
14
|
+
NotificationType["FOLLOWED_SELLER_LISTING"] = "followed_seller_listing";
|
|
15
|
+
NotificationType["LISTING_COMMENT"] = "listing_comment";
|
|
16
|
+
NotificationType["PAYMENT_MADE"] = "payment_made";
|
|
17
|
+
NotificationType["RECEIPT_CONFIRMED"] = "receipt_confirmed";
|
|
18
|
+
NotificationType["MESSAGE"] = "message";
|
|
19
|
+
NotificationType["OVERRIDE"] = "override";
|
|
20
|
+
})(NotificationType || (NotificationType = {}));
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ListingPreview } from './ListingPreview';
|
|
2
|
+
export type OutbidContent = {
|
|
3
|
+
/**
|
|
4
|
+
* ID of the new bid
|
|
5
|
+
*/
|
|
6
|
+
bid_id: string;
|
|
7
|
+
/**
|
|
8
|
+
* Amount of the new bid
|
|
9
|
+
*/
|
|
10
|
+
amount: number;
|
|
11
|
+
/**
|
|
12
|
+
* Details of the listing on which the user was outbid
|
|
13
|
+
*/
|
|
14
|
+
listing: ListingPreview;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=OutbidContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutbidContent.d.ts","sourceRoot":"","sources":["../../../src/api/models/OutbidContent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,cAAc,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export type PreferencesResponse = {
|
|
2
|
+
/**
|
|
3
|
+
* Someone favorites the user's listings
|
|
4
|
+
*/
|
|
5
|
+
listing_favorited: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* User's favorite listing is edited
|
|
8
|
+
*/
|
|
9
|
+
favorite_listing_edited: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Someone bids on the user's listings
|
|
12
|
+
*/
|
|
13
|
+
listing_bid: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* User has been outbid on an auction
|
|
16
|
+
*/
|
|
17
|
+
outbid: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Auction the user has bid in is 5 mins to expiry or has expired
|
|
20
|
+
*/
|
|
21
|
+
auction_expiry: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Auction user has bid on is extended
|
|
24
|
+
*/
|
|
25
|
+
auction_extension: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* User gets a new follower
|
|
28
|
+
*/
|
|
29
|
+
new_follower: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* User's listing gets a comment
|
|
32
|
+
*/
|
|
33
|
+
listing_comment: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* User receives a message
|
|
36
|
+
*/
|
|
37
|
+
message: boolean;
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=PreferencesResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PreferencesResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/PreferencesResponse.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,mBAAmB,GAAG;IAC9B;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,uBAAuB,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,YAAY,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { BidResData } from './BidResData';
|
|
2
|
+
import type { WSType } from './WSType';
|
|
3
|
+
export type WSBidResponse = {
|
|
4
|
+
/**
|
|
5
|
+
* Type of the WebSocket response
|
|
6
|
+
*/
|
|
7
|
+
type: WSType;
|
|
8
|
+
/**
|
|
9
|
+
* Data associated with the WebSocket response
|
|
10
|
+
*/
|
|
11
|
+
data: BidResData;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=WSBidResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WSBidResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/WSBidResponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC/C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,8 +2,6 @@ export declare enum WSErrorCode {
|
|
|
2
2
|
CONVERSATION_NOT_FOUND = "CONVERSATION_NOT_FOUND",
|
|
3
3
|
UNAUTHORIZED = "UNAUTHORIZED",
|
|
4
4
|
INVALID_STRUCTURE = "INVALID_STRUCTURE",
|
|
5
|
-
BID_NOT_ACCEPTED = "BID_NOT_ACCEPTED",
|
|
6
|
-
AUCTION_NOT_FOUND = "AUCTION_NOT_FOUND",
|
|
7
5
|
UNEXPECTED_ERROR = "UNEXPECTED_ERROR"
|
|
8
6
|
}
|
|
9
7
|
//# sourceMappingURL=WSErrorCode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WSErrorCode.d.ts","sourceRoot":"","sources":["../../../src/api/models/WSErrorCode.ts"],"names":[],"mappings":"AAIA,oBAAY,WAAW;IACnB,sBAAsB,2BAA2B;IACjD,YAAY,iBAAiB;IAC7B,iBAAiB,sBAAsB;IACvC,gBAAgB,qBAAqB;
|
|
1
|
+
{"version":3,"file":"WSErrorCode.d.ts","sourceRoot":"","sources":["../../../src/api/models/WSErrorCode.ts"],"names":[],"mappings":"AAIA,oBAAY,WAAW;IACnB,sBAAsB,2BAA2B;IACjD,YAAY,iBAAiB;IAC7B,iBAAiB,sBAAsB;IACvC,gBAAgB,qBAAqB;CACxC"}
|
|
@@ -7,7 +7,5 @@ export var WSErrorCode;
|
|
|
7
7
|
WSErrorCode["CONVERSATION_NOT_FOUND"] = "CONVERSATION_NOT_FOUND";
|
|
8
8
|
WSErrorCode["UNAUTHORIZED"] = "UNAUTHORIZED";
|
|
9
9
|
WSErrorCode["INVALID_STRUCTURE"] = "INVALID_STRUCTURE";
|
|
10
|
-
WSErrorCode["BID_NOT_ACCEPTED"] = "BID_NOT_ACCEPTED";
|
|
11
|
-
WSErrorCode["AUCTION_NOT_FOUND"] = "AUCTION_NOT_FOUND";
|
|
12
10
|
WSErrorCode["UNEXPECTED_ERROR"] = "UNEXPECTED_ERROR";
|
|
13
11
|
})(WSErrorCode || (WSErrorCode = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { WSType } from './WSType';
|
|
2
|
+
export type WSExtensionResponse = {
|
|
3
|
+
/**
|
|
4
|
+
* Type of the Websocket response
|
|
5
|
+
*/
|
|
6
|
+
type?: WSType;
|
|
7
|
+
/**
|
|
8
|
+
* New end time of the auction after extension, in ISO 8601 format
|
|
9
|
+
*/
|
|
10
|
+
new_end_time: string;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=WSExtensionResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WSExtensionResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/WSExtensionResponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,MAAM,MAAM,mBAAmB,GAAG;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { WSType } from './WSType';
|
|
2
|
+
export type WSJoinResponse = {
|
|
3
|
+
/**
|
|
4
|
+
* Type of the WebSocket response
|
|
5
|
+
*/
|
|
6
|
+
type?: WSType;
|
|
7
|
+
/**
|
|
8
|
+
* Current number of viewers in the auction
|
|
9
|
+
*/
|
|
10
|
+
current_viewers: number;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=WSJoinResponse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WSJoinResponse.d.ts","sourceRoot":"","sources":["../../../src/api/models/WSJoinResponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WSType.d.ts","sourceRoot":"","sources":["../../../src/api/models/WSType.ts"],"names":[],"mappings":"AAIA,oBAAY,MAAM;IACd,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,gBAAgB,qBAAqB;IACrC,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,YAAY,iBAAiB;
|
|
1
|
+
{"version":3,"file":"WSType.d.ts","sourceRoot":"","sources":["../../../src/api/models/WSType.ts"],"names":[],"mappings":"AAIA,oBAAY,MAAM;IACd,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,gBAAgB,qBAAqB;IACrC,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;CACxC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { MessageReqData } from './MessageReqData';
|
|
2
1
|
import type { TypingReqData } from './TypingReqData';
|
|
3
2
|
import type { WSType } from './WSType';
|
|
4
|
-
export type
|
|
3
|
+
export type WSTypingRequest = {
|
|
5
4
|
/**
|
|
6
5
|
* Type of the WebSocket request
|
|
7
6
|
*/
|
|
@@ -9,6 +8,6 @@ export type WSMessageRequest = {
|
|
|
9
8
|
/**
|
|
10
9
|
* Data associated with the WebSocket message
|
|
11
10
|
*/
|
|
12
|
-
data:
|
|
11
|
+
data: TypingReqData;
|
|
13
12
|
};
|
|
14
|
-
//# sourceMappingURL=
|
|
13
|
+
//# sourceMappingURL=WSTypingRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WSTypingRequest.d.ts","sourceRoot":"","sources":["../../../src/api/models/WSTypingRequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,MAAM,MAAM,eAAe,GAAG;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,aAAa,CAAC;CACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { BidRequest } from '../models/BidRequest';
|
|
2
2
|
import type { BidResponse } from '../models/BidResponse';
|
|
3
|
+
import type { WSBidResponse } from '../models/WSBidResponse';
|
|
4
|
+
import type { WSExtensionResponse } from '../models/WSExtensionResponse';
|
|
5
|
+
import type { WSJoinResponse } from '../models/WSJoinResponse';
|
|
3
6
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
4
7
|
export declare class AuctionsService {
|
|
5
8
|
/**
|
|
@@ -11,5 +14,12 @@ export declare class AuctionsService {
|
|
|
11
14
|
* @throws ApiError
|
|
12
15
|
*/
|
|
13
16
|
static placeBidV1AuctionsListingIdBidPost(listingId: string, requestBody: BidRequest): CancelablePromise<BidResponse>;
|
|
17
|
+
/**
|
|
18
|
+
* Get Ws Types
|
|
19
|
+
* Dummy endpoint so openapi codegen can generate the WebSocket types.
|
|
20
|
+
* @returns any Successful Response
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
static getWsTypesV1AuctionsWsTypesGet(): CancelablePromise<(WSBidResponse | WSJoinResponse | WSExtensionResponse)>;
|
|
14
24
|
}
|
|
15
25
|
//# sourceMappingURL=AuctionsService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuctionsService.d.ts","sourceRoot":"","sources":["../../../src/api/services/AuctionsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,eAAe;IACxB;;;;;;;OAOG;WACW,kCAAkC,CAC5C,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,UAAU,GACxB,iBAAiB,CAAC,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"AuctionsService.d.ts","sourceRoot":"","sources":["../../../src/api/services/AuctionsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,eAAe;IACxB;;;;;;;OAOG;WACW,kCAAkC,CAC5C,SAAS,EAAE,MAAM,EACjB,WAAW,EAAE,UAAU,GACxB,iBAAiB,CAAC,WAAW,CAAC;IAcjC;;;;;OAKG;WACW,8BAA8B,IAAI,iBAAiB,CAAC,CAAC,aAAa,GAAG,cAAc,GAAG,mBAAmB,CAAC,CAAC;CAM5H"}
|
|
@@ -23,4 +23,16 @@ export class AuctionsService {
|
|
|
23
23
|
},
|
|
24
24
|
});
|
|
25
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Get Ws Types
|
|
28
|
+
* Dummy endpoint so openapi codegen can generate the WebSocket types.
|
|
29
|
+
* @returns any Successful Response
|
|
30
|
+
* @throws ApiError
|
|
31
|
+
*/
|
|
32
|
+
static getWsTypesV1AuctionsWsTypesGet() {
|
|
33
|
+
return __request(OpenAPI, {
|
|
34
|
+
method: 'GET',
|
|
35
|
+
url: '/v1/auctions/ws-types',
|
|
36
|
+
});
|
|
37
|
+
}
|
|
26
38
|
}
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import type { ConversationResponse } from '../models/ConversationResponse';
|
|
2
2
|
import type { Message } from '../models/Message';
|
|
3
|
+
import type { MessageRequest } from '../models/MessageRequest';
|
|
4
|
+
import type { MessageResData } from '../models/MessageResData';
|
|
3
5
|
import type { MessagesSummary } from '../models/MessagesSummary';
|
|
4
|
-
import type { WSMessageRequest } from '../models/WSMessageRequest';
|
|
5
6
|
import type { WSMessageResponse } from '../models/WSMessageResponse';
|
|
7
|
+
import type { WSTypingRequest } from '../models/WSTypingRequest';
|
|
6
8
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
7
9
|
export declare class MessageService {
|
|
10
|
+
/**
|
|
11
|
+
* Send Message
|
|
12
|
+
* @param conversationId
|
|
13
|
+
* @param requestBody
|
|
14
|
+
* @returns MessageResData Successful Response
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
static sendMessageV1MessageConversationIdPost(conversationId: string, requestBody: MessageRequest): CancelablePromise<MessageResData>;
|
|
8
18
|
/**
|
|
9
19
|
* Contact Seller
|
|
10
20
|
* Endpoint to initiate contact or get existing conversation with a seller.
|
|
@@ -53,13 +63,6 @@ export declare class MessageService {
|
|
|
53
63
|
* @returns WSMessageResponse Successful Response
|
|
54
64
|
* @throws ApiError
|
|
55
65
|
*/
|
|
56
|
-
static getWsTypesV1MessageWsTypesGet(requestBody: (
|
|
57
|
-
/**
|
|
58
|
-
* Get Connected Users
|
|
59
|
-
* Get a list of currently connected users.
|
|
60
|
-
* @returns string Successful Response
|
|
61
|
-
* @throws ApiError
|
|
62
|
-
*/
|
|
63
|
-
static getConnectedUsersV1MessageConnectedUsersGet(): CancelablePromise<Array<string>>;
|
|
66
|
+
static getWsTypesV1MessageWsTypesGet(requestBody: (WSTypingRequest | null)): CancelablePromise<WSMessageResponse>;
|
|
64
67
|
}
|
|
65
68
|
//# sourceMappingURL=MessageService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageService.d.ts","sourceRoot":"","sources":["../../../src/api/services/MessageService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"MessageService.d.ts","sourceRoot":"","sources":["../../../src/api/services/MessageService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,cAAc;IACvB;;;;;;OAMG;WACW,sCAAsC,CAChD,cAAc,EAAE,MAAM,EACtB,WAAW,EAAE,cAAc,GAC5B,iBAAiB,CAAC,cAAc,CAAC;IAcpC;;;;;;OAMG;WACW,8CAA8C,CACxD,QAAQ,EAAE,MAAM,GACjB,iBAAiB,CAAC,oBAAoB,CAAC;IAY1C;;;;;;OAMG;WACW,0CAA0C,CACpD,cAAc,EAAE,MAAM,GACvB,iBAAiB,CAAC,IAAI,CAAC;IAY1B;;;;;;OAMG;WACW,qDAAqD,CAC/D,cAAc,EAAE,MAAM,GACvB,iBAAiB,CAAC,oBAAoB,CAAC;IAY1C;;;;;OAKG;WACW,yCAAyC,IAAI,iBAAiB,CAAC,eAAe,CAAC;IAM7F;;;;;;;;OAQG;WACW,6CAA6C,CACvD,cAAc,EAAE,MAAM,EACtB,MAAM,EAAE,MAAM,EACd,KAAK,GAAE,MAAW,GACnB,iBAAiB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAgBpC;;;;;;OAMG;WACW,6BAA6B,CACvC,WAAW,EAAE,CAAC,eAAe,GAAG,IAAI,CAAC,GACtC,iBAAiB,CAAC,iBAAiB,CAAC;CAW1C"}
|
|
@@ -1,6 +1,27 @@
|
|
|
1
1
|
import { OpenAPI } from '../core/OpenAPI';
|
|
2
2
|
import { request as __request } from '../core/request';
|
|
3
3
|
export class MessageService {
|
|
4
|
+
/**
|
|
5
|
+
* Send Message
|
|
6
|
+
* @param conversationId
|
|
7
|
+
* @param requestBody
|
|
8
|
+
* @returns MessageResData Successful Response
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static sendMessageV1MessageConversationIdPost(conversationId, requestBody) {
|
|
12
|
+
return __request(OpenAPI, {
|
|
13
|
+
method: 'POST',
|
|
14
|
+
url: '/v1/message/{conversation_id}',
|
|
15
|
+
path: {
|
|
16
|
+
'conversation_id': conversationId,
|
|
17
|
+
},
|
|
18
|
+
body: requestBody,
|
|
19
|
+
mediaType: 'application/json',
|
|
20
|
+
errors: {
|
|
21
|
+
422: `Validation Error`,
|
|
22
|
+
},
|
|
23
|
+
});
|
|
24
|
+
}
|
|
4
25
|
/**
|
|
5
26
|
* Contact Seller
|
|
6
27
|
* Endpoint to initiate contact or get existing conversation with a seller.
|
|
@@ -113,16 +134,4 @@ export class MessageService {
|
|
|
113
134
|
},
|
|
114
135
|
});
|
|
115
136
|
}
|
|
116
|
-
/**
|
|
117
|
-
* Get Connected Users
|
|
118
|
-
* Get a list of currently connected users.
|
|
119
|
-
* @returns string Successful Response
|
|
120
|
-
* @throws ApiError
|
|
121
|
-
*/
|
|
122
|
-
static getConnectedUsersV1MessageConnectedUsersGet() {
|
|
123
|
-
return __request(OpenAPI, {
|
|
124
|
-
method: 'GET',
|
|
125
|
-
url: '/v1/message/connected-users',
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
137
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import type { AddTokenRequest } from '../models/AddTokenRequest';
|
|
2
|
+
import type { EditPreferencesRequest } from '../models/EditPreferencesRequest';
|
|
3
|
+
import type { NotificationResponse } from '../models/NotificationResponse';
|
|
4
|
+
import type { PreferencesResponse } from '../models/PreferencesResponse';
|
|
5
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
6
|
+
export declare class NotificationsService {
|
|
7
|
+
/**
|
|
8
|
+
* Add Device Token
|
|
9
|
+
* Registers a device token for push notifications.
|
|
10
|
+
* @param requestBody
|
|
11
|
+
* @returns void
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
static addDeviceTokenV1NotificationsDeviceTokenPost(requestBody: AddTokenRequest): CancelablePromise<void>;
|
|
15
|
+
/**
|
|
16
|
+
* Get Notification Preferences
|
|
17
|
+
* Retrieves the user's notification preferences.
|
|
18
|
+
* @returns PreferencesResponse Successful Response
|
|
19
|
+
* @throws ApiError
|
|
20
|
+
*/
|
|
21
|
+
static getNotificationPreferencesV1NotificationsNotificationPreferencesGet(): CancelablePromise<PreferencesResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Edit Notification Preferences
|
|
24
|
+
* Updates notification preferences for the user.
|
|
25
|
+
* @param requestBody
|
|
26
|
+
* @returns any Successful Response
|
|
27
|
+
* @throws ApiError
|
|
28
|
+
*/
|
|
29
|
+
static editNotificationPreferencesV1NotificationsNotificationPreferencesPatch(requestBody: EditPreferencesRequest): CancelablePromise<any>;
|
|
30
|
+
/**
|
|
31
|
+
* Mark Notifications Seen
|
|
32
|
+
* Marks all notifications as seen.
|
|
33
|
+
* @returns void
|
|
34
|
+
* @throws ApiError
|
|
35
|
+
*/
|
|
36
|
+
static markNotificationsSeenV1NotificationsMarkSeenPatch(): CancelablePromise<void>;
|
|
37
|
+
/**
|
|
38
|
+
* Get Notifications
|
|
39
|
+
* Retrieves notifications for the user.
|
|
40
|
+
* @param cursor Timestamp of last notification in ISO format
|
|
41
|
+
* @param limit
|
|
42
|
+
* @returns NotificationResponse Successful Response
|
|
43
|
+
* @throws ApiError
|
|
44
|
+
*/
|
|
45
|
+
static getNotificationsV1NotificationsGet(cursor?: string, limit?: number): CancelablePromise<NotificationResponse>;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=NotificationsService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsService.d.ts","sourceRoot":"","sources":["../../../src/api/services/NotificationsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kCAAkC,CAAC;AAC/E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,oBAAoB;IAC7B;;;;;;OAMG;WACW,4CAA4C,CACtD,WAAW,EAAE,eAAe,GAC7B,iBAAiB,CAAC,IAAI,CAAC;IAW1B;;;;;OAKG;WACW,mEAAmE,IAAI,iBAAiB,CAAC,mBAAmB,CAAC;IAM3H;;;;;;OAMG;WACW,sEAAsE,CAChF,WAAW,EAAE,sBAAsB,GACpC,iBAAiB,CAAC,GAAG,CAAC;IAWzB;;;;;OAKG;WACW,iDAAiD,IAAI,iBAAiB,CAAC,IAAI,CAAC;IAM1F;;;;;;;OAOG;WACW,kCAAkC,CAC5C,MAAM,GAAE,MAA2C,EACnD,KAAK,GAAE,MAAW,GACnB,iBAAiB,CAAC,oBAAoB,CAAC;CAa7C"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
+
import { request as __request } from '../core/request';
|
|
3
|
+
export class NotificationsService {
|
|
4
|
+
/**
|
|
5
|
+
* Add Device Token
|
|
6
|
+
* Registers a device token for push notifications.
|
|
7
|
+
* @param requestBody
|
|
8
|
+
* @returns void
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static addDeviceTokenV1NotificationsDeviceTokenPost(requestBody) {
|
|
12
|
+
return __request(OpenAPI, {
|
|
13
|
+
method: 'POST',
|
|
14
|
+
url: '/v1/notifications/device-token',
|
|
15
|
+
body: requestBody,
|
|
16
|
+
mediaType: 'application/json',
|
|
17
|
+
errors: {
|
|
18
|
+
422: `Validation Error`,
|
|
19
|
+
},
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Get Notification Preferences
|
|
24
|
+
* Retrieves the user's notification preferences.
|
|
25
|
+
* @returns PreferencesResponse Successful Response
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static getNotificationPreferencesV1NotificationsNotificationPreferencesGet() {
|
|
29
|
+
return __request(OpenAPI, {
|
|
30
|
+
method: 'GET',
|
|
31
|
+
url: '/v1/notifications/notification-preferences',
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Edit Notification Preferences
|
|
36
|
+
* Updates notification preferences for the user.
|
|
37
|
+
* @param requestBody
|
|
38
|
+
* @returns any Successful Response
|
|
39
|
+
* @throws ApiError
|
|
40
|
+
*/
|
|
41
|
+
static editNotificationPreferencesV1NotificationsNotificationPreferencesPatch(requestBody) {
|
|
42
|
+
return __request(OpenAPI, {
|
|
43
|
+
method: 'PATCH',
|
|
44
|
+
url: '/v1/notifications/notification-preferences',
|
|
45
|
+
body: requestBody,
|
|
46
|
+
mediaType: 'application/json',
|
|
47
|
+
errors: {
|
|
48
|
+
422: `Validation Error`,
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Mark Notifications Seen
|
|
54
|
+
* Marks all notifications as seen.
|
|
55
|
+
* @returns void
|
|
56
|
+
* @throws ApiError
|
|
57
|
+
*/
|
|
58
|
+
static markNotificationsSeenV1NotificationsMarkSeenPatch() {
|
|
59
|
+
return __request(OpenAPI, {
|
|
60
|
+
method: 'PATCH',
|
|
61
|
+
url: '/v1/notifications/mark-seen',
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Get Notifications
|
|
66
|
+
* Retrieves notifications for the user.
|
|
67
|
+
* @param cursor Timestamp of last notification in ISO format
|
|
68
|
+
* @param limit
|
|
69
|
+
* @returns NotificationResponse Successful Response
|
|
70
|
+
* @throws ApiError
|
|
71
|
+
*/
|
|
72
|
+
static getNotificationsV1NotificationsGet(cursor = '2025-08-08T16:58:11.346051+00:00', limit = 20) {
|
|
73
|
+
return __request(OpenAPI, {
|
|
74
|
+
method: 'GET',
|
|
75
|
+
url: '/v1/notifications/',
|
|
76
|
+
query: {
|
|
77
|
+
'cursor': cursor,
|
|
78
|
+
'limit': limit,
|
|
79
|
+
},
|
|
80
|
+
errors: {
|
|
81
|
+
422: `Validation Error`,
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
2
|
+
export declare class PaymentsService {
|
|
3
|
+
/**
|
|
4
|
+
* Stripe Webhook
|
|
5
|
+
* Handle Stripe webhook events.
|
|
6
|
+
* This endpoint is used to process events sent by Stripe, such as payment success or failure.
|
|
7
|
+
* @returns any Successful Response
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static stripeWebhookV1PaymentsWebhookPost(): CancelablePromise<any>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=PaymentsService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PaymentsService.d.ts","sourceRoot":"","sources":["../../../src/api/services/PaymentsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,eAAe;IACxB;;;;;;OAMG;WACW,kCAAkC,IAAI,iBAAiB,CAAC,GAAG,CAAC;CAM7E"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
+
import { request as __request } from '../core/request';
|
|
3
|
+
export class PaymentsService {
|
|
4
|
+
/**
|
|
5
|
+
* Stripe Webhook
|
|
6
|
+
* Handle Stripe webhook events.
|
|
7
|
+
* This endpoint is used to process events sent by Stripe, such as payment success or failure.
|
|
8
|
+
* @returns any Successful Response
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static stripeWebhookV1PaymentsWebhookPost() {
|
|
12
|
+
return __request(OpenAPI, {
|
|
13
|
+
method: 'POST',
|
|
14
|
+
url: '/v1/payments/webhook',
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"WSMessageRequest.d.ts","sourceRoot":"","sources":["../../../src/api/models/WSMessageRequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,MAAM,MAAM,gBAAgB,GAAG;IAC3B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,CAAC,cAAc,GAAG,aAAa,CAAC,CAAC;CAC1C,CAAC"}
|
|
File without changes
|
|
File without changes
|